.m-arc {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}
.m-rsi-meter {
  min-width: 72px;
}
.m-rsi-track {
  position: relative;
  height: 6px;
  border-radius: 99px;
  background: var(--color-raised);
  overflow: hidden;
}
.m-rsi-zone {
  position: absolute;
  top: 0;
  bottom: 0;
}
.m-rsi-os {
  left: 0;
  width: 30%;
  background: color-mix(in oklab, #2dd4bf 22%, transparent); /* cycle-28 mute teal — never buy TAKE */
}
.m-rsi-ob {
  right: 0;
  width: 30%;
  background: color-mix(in oklab, #d4a574 22%, transparent); /* cycle-28 mute amber */
}
.m-rsi-needle {
  position: absolute;
  top: -3px;
  width: 2px;
  height: 12px;
  margin-left: -1px;
  background: var(--color-fg);
  border-radius: 1px;
}
.m-rsi-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--color-subtle);
}
.m-tug {
  margin-top: 10px;
}
.m-tug-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 4px;
}
.m-tug-track {
  display: flex;
  height: 6px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--color-raised);
}
/* Cycle-18: tug mute tool fills */
.m-tug-long {
  background: color-mix(in oklab, var(--color-muted) 40%, transparent);
}
.m-tug-short {
  background: color-mix(in oklab, var(--color-muted) 40%, transparent);
}
.m-agree {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: var(--color-raised);
  white-space: nowrap;
}
.m-agree-aligned {
  /* Cycle-28: mute teal process note — never mint TAKE / win-rate */
  color: color-mix(in oklab, var(--color-muted) 90%, var(--color-fg));
  background: color-mix(in oklab, var(--color-raised) 88%, #071410);
  border-color: color-mix(in oklab, var(--color-border) 75%, transparent);
  box-shadow: none;
}
.m-agree-lead { color: color-mix(in oklab, var(--color-muted) 90%, var(--color-fg)); background: color-mix(in oklab, var(--color-raised) 88%, #071410); border-color: color-mix(in oklab, var(--color-border) 75%, transparent); box-shadow: none; font-variant-numeric: tabular-nums; }
.m-agree-conflict {
  /* cycle-32: RISK amber mute tabular — never color-sell invent SELL */
  color: color-mix(in oklab, #d4a574 78%, var(--color-muted));
  background: color-mix(in oklab, #d4a574 12%, transparent);
  font-variant-numeric: tabular-nums;
}
.m-candles,
.m-pane-svg,
.m-mini {
  width: 100%;
  display: block;
  background: var(--color-chart);
  border-radius: 10px;
}
.m-candles {
  height: 168px;
  margin-top: 6px;
}
.m-mini {
  height: 40px;
  width: 120px;
}
.m-pane {
  position: relative;
  margin-top: 6px;
  background: var(--color-chart);
  border-radius: 10px;
  padding: 2px 0 0;
}
.m-pane-label {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-pane-svg {
  height: 52px;
}
.m-chart-empty {
  display: grid;
  place-items: center;
  color: var(--color-subtle);
  font-size: 12px;
  background: var(--color-chart);
  border-radius: 10px;
}
.m-setup-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.m-setup {
  flex: 0 0 220px;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 12px;
  color: inherit;
  min-height: 148px;
}
.m-setup:hover {
  background: var(--color-raised);
}
.m-tf button {
  height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted);
  font-size: 13px;
}
.m-tf button[aria-pressed="true"] {
  /* Cycle-35: teal/accent pressed inset only — never gold; tool ≠ TAKE */
  background: var(--cf-tf-pressed, color-mix(in oklab, #2dd4bf 45%, var(--color-accent)));
  color: var(--color-accent-fg);
  border-color: var(--color-accent);
  box-shadow: inset 0 1px 0 color-mix(in oklab, #2dd4bf 28%, transparent);
}
.m-tf button:hover {
  color: var(--color-fg);
}
.m-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 10px;
  vertical-align: middle;
}
.m-live-on {
  color: color-mix(in oklab, #22d3ee 75%, var(--color-fg)); /* feed-health tool — never buy-green */
}
.m-live-off {
  color: var(--color-subtle); /* stale = mute */
}
.m-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: currentColor;
}
.m-live-on .m-live-dot {
  animation: m-pulse 1.8s ease-out infinite; /* c41: ≤2s opacity-only */
}
.m-px {
  display: inline-block;
  padding: 0 4px;
  border-radius: 4px;
}
.m-tick-up {
  /* Cycle-20: market context only — mute cyan flash, never gold / never outranks stamp */
  color: var(--cf-tick-dn);
  animation: m-flash-up 0.8s ease-out;
}
.m-tick-down {
  color: color-mix(in oklab, var(--color-hold) 70%, var(--color-fg));
  animation: m-flash-down 0.8s ease-out;
}
@keyframes m-pulse {
  /* c41: opacity-only — no scale bloom; idle/reduced-motion → none */
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes m-flash-up {
  0% { background: color-mix(in oklab, var(--color-hold) 28%, transparent); }
  100% { background: transparent; }
}
@keyframes m-flash-down {
  0% { background: color-mix(in oklab, var(--color-hold) 28%, transparent); }
  100% { background: transparent; }
}
@media (max-width: 640px) {
  .m-mini { width: 88px; }
  .m-setup { flex-basis: 180px; }
}
.m-chart-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px) {
  .m-chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .m-chart-grid:not(.is-split) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.m-chart-grid.is-split { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .m-chart-grid.is-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.m-pair-card {
  text-align: left;
  padding: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 12px;
  color: inherit;
  min-height: 280px;
}
.m-pair-card:hover { background: var(--color-raised); }
.m-pair-card.is-on { border-color: color-mix(in oklab, #22d3ee 55%, var(--color-border)); }
/* Keyboard selection ring — same #22d3ee as the selected tape edge */
.m-pair-card.is-nav {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
}
.m-screen tbody tr.is-selected > td {
  box-shadow: inset 0 1px 0 #22d3ee, inset 0 -1px 0 #22d3ee;
}
.m-screen tbody tr.is-selected > td:first-child {
  box-shadow: inset 2px 0 0 #22d3ee, inset 0 1px 0 #22d3ee, inset 0 -1px 0 #22d3ee;
}
.m-screen tbody tr.is-selected > td:last-child {
  box-shadow: inset -2px 0 0 #22d3ee, inset 0 1px 0 #22d3ee, inset 0 -1px 0 #22d3ee;
}
.m-pair-card:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.m-candles-card { width: 100%; height: 188px; display: block; background: var(--color-chart); border-radius: 10px; }
.m-candles { width: 100%; height: 260px; display: block; margin-top: 6px; background: var(--color-chart); border-radius: 10px; }
.m-pair-hit {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: left;
}
.m-chart-tf { display: flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 4px; }
.m-chart-tf button {
  height: 44px;
  min-width: 40px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted);
  font-size: 12px;
}
.m-chart-tf.is-compact { flex-wrap: nowrap; overflow-x: auto; }
.m-chart-tf.is-compact button { height: 28px; min-width: 36px; font-size: 11px; padding: 0 7px; }
.m-chart-tf button[aria-pressed="true"] {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: var(--color-accent);
}
.m-chart-tf button:hover { color: var(--color-fg); }
.m-chart-wrap { position: relative; overscroll-behavior: contain; user-select: none; background: var(--color-chart); border-radius: 14px; padding: 6px 4px 4px; border: 1px solid color-mix(in oklab, var(--color-border) 70%, black); touch-action: none; }
.m-ohlc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  color: var(--color-muted);
  min-height: 18px;
}
.m-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-chart-legend .is-sma20 { color: var(--color-accent); }
.m-chart-legend .is-sma50 { color: var(--color-muted); }
.m-chart-legend .is-ema { color: var(--color-hold); }
.m-chart-legend .is-ema21 { color: #7ee8c9; }
.m-chart-legend .is-bb { color: var(--color-subtle); }
.m-chart-legend .is-sma200 { color: var(--color-subtle); }
.m-chart-legend .is-vwap { color: #2dd4bf; } /* cycle-26: teal tip — matches VWAP overlay tool */
.m-lev-chip-row { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; }
.m-lev-chip { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--color-muted); }
/* Cycle-17: lev chip mute tool — never buy-green / sell-red call */
.m-lev-chip.is-long,
.m-lev-chip.is-short { color: color-mix(in oklab, var(--color-fg) 78%, var(--color-muted)); }
.m-lev-chip span { color: var(--color-subtle); font-weight: 400; }
.m-lev-panel { padding-top: 4px; }
.m-lev-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-raised);
}
.m-lev-row.is-on.is-long,
.m-lev-row.is-on.is-short {
  /* Cycle-27: accent/teal tool — never color-buy; never lowers TAKE floor */
  border-color: color-mix(in oklab, #2dd4bf 45%, var(--color-border));
}
.m-lev-k { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-subtle); }
.m-lev-v { margin-top: 2px; font-variant-numeric: tabular-nums; font-size: 14px; }
@media (max-width: 420px) {
  .m-lev-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.m-candles-pro { width: 100%; height: min(52vh, 480px); display: block; background: var(--color-chart); border-radius: 10px; }
.m-workspace {
  scroll-margin-top: 12px;
  padding: 16px;
  border: 1px solid color-mix(in oklab, var(--color-border) 85%, var(--teal));
  border-radius: 22px;
  background: color-mix(in oklab, var(--color-surface) 88%, transparent);
  box-shadow: none; /* cycle-36: flat surface — stamp+sure+ATR own call */
}
.m-workspace .m-pro-body { overflow: visible; min-height: 0; }
.m-pro {
  position: relative;
  top: auto; right: auto; bottom: auto; left: auto;
  z-index: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: auto;
  height: auto;
  padding: 16px;
  background: transparent;
  overflow: visible;
}
.m-pro-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}
.m-pro-body { flex: 1; min-height: 0; overflow: visible; padding-bottom: 12px; }
.m-chart-hit { position: relative; }
.m-chart-hint {
  position: absolute;
  right: 8px;
  bottom: 28px;
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--color-bg) 78%, transparent);
  color: var(--color-fg);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
}
.m-chart-hit:hover .m-chart-hint,
.m-chart-hit:focus-visible .m-chart-hint { opacity: 1; }
.m-chart-zoom { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin: 0 0 8px; overflow-x: auto; }
.m-chart-zoom-k { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-subtle); margin-right: 4px; }
.m-chart-zoom button {
  height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-fg);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.m-chart-zoom button:hover:not(:disabled) { background: var(--color-raised); }
.m-chart-zoom button:disabled { opacity: 0.4; }
.m-chart-zoom button[aria-pressed="true"] {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: var(--color-accent);
}
.m-chart-zoom-meta { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--color-muted); margin-left: 4px; }
.m-chart-zoom-hint { flex: 1 1 auto; font-size: 11px; color: var(--color-subtle); white-space: nowrap; }
.m-chart-span-wrap { display: inline-flex; align-items: center; min-width: 88px; height: 44px; padding: 0 8px; }
.m-chart-span { width: 120px; height: 44px; accent-color: var(--color-accent); cursor: pointer; }
.m-chart-yaxis { cursor: ns-resize; pointer-events: auto; }
.m-chart-wrap[tabindex] .m-candles,
.m-chart-wrap[tabindex] .m-candles-pro { touch-action: none; cursor: grab; }
.m-chart-wrap.is-drag .m-candles,
.m-chart-wrap.is-drag .m-candles-pro { cursor: grabbing; }
.m-chart-nav {
  position: relative;
  height: 36px;
  margin-top: 8px;
  border: 1px solid color-mix(in oklab, var(--color-border) 70%, black);
  border-radius: 8px;
  background: var(--color-chart);
  overflow: hidden;
  touch-action: none;
}
.m-chart-nav-svg { width: 100%; height: 100%; display: block; }
.m-chart-nav-win {
  position: absolute;
  top: 0; bottom: 0;
  border: 1px solid var(--color-accent);
  background: color-mix(in oklab, var(--color-accent) 18%, transparent);
  pointer-events: none;
}
.m-chart-wrap:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
@media (max-width: 640px) {
  .m-chart-zoom-hint { display: none; }
  .m-chart-span { width: 88px; }
  .m-pro { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .m-tick-up, .m-tick-down, .m-live-on .m-live-dot { animation: none; }
}
/* cycle-23: duplicate crypto-shell gold-ambient folded — teal wallpaper lives below */
.m-topbar {
  background: color-mix(in oklab, var(--color-bg) 78%, transparent);
  backdrop-filter: blur(var(--cf-blur-chrome, 8px));
  -webkit-backdrop-filter: blur(var(--cf-blur-chrome, 8px));
  border-bottom-color: color-mix(in oklab, var(--color-accent) 28%, var(--color-border));
}
.m-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--color-accent) 40%, transparent);
}
.m-live-on {
  color: color-mix(in oklab, #22d3ee 75%, var(--color-fg));
  text-shadow: none; /* never buy-green / gold glow */
}
.m-live-on .m-live-dot {
  background: #22d3ee; /* c40: solid — no 0 0 6px bloom */
  box-shadow: none;
}
.m-pair-card {
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--color-accent) 8%, transparent), transparent 42%),
    var(--color-surface);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-accent) 16%, transparent);
}
.m-pair-card.is-on {
  /* Cycle-28: cyan/accent select ring — never buy glow; stamp+sure% own call */
  border-color: color-mix(in oklab, #22d3ee 55%, var(--color-border));
  box-shadow:
    inset 3px 0 0 #22d3ee,
    0 0 0 1px color-mix(in oklab, #22d3ee 22%, transparent);
}
.m-chart-size { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 4px; }
.m-chart-size-k { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-subtle); margin-left: 4px; margin-right: 2px; }
.m-chart-size button {
  height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted);
  font-size: 12px;
  font-family: var(--font-mono);
}
.m-chart-size.is-compact button { height: 44px; min-width: 40px; padding: 0 9px; font-size: 11px; }
.m-chart-size button[aria-pressed="true"] {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: var(--color-accent);
}
.m-chart-size button:hover { color: var(--color-fg); }
.m-candles-card.is-size-S { height: 128px; }
.m-candles-card.is-size-M { height: 188px; }
.m-candles-card.is-size-L { height: 248px; }
.m-candles-card.is-size-XL { height: 320px; }
.m-candles.is-size-S { height: 200px; }
.m-candles.is-size-M { height: 260px; }
.m-candles.is-size-L { height: 340px; }
.m-candles.is-size-XL { height: 440px; }
.m-candles-pro.is-size-S { height: min(36vh, 320px); }
.m-candles-pro.is-size-M { height: min(52vh, 480px); }
.m-candles-pro.is-size-L { height: min(64vh, 620px); }
.m-candles-pro.is-size-XL { height: min(72vh, 700px); }
.m-chart-grid[data-size="S"]:not(.is-split),
.m-chart-grid[data-size="M"]:not(.is-split),
.m-chart-grid[data-size="L"]:not(.is-split),
.m-chart-grid[data-size="XL"]:not(.is-split) { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  .m-chart-grid[data-size="S"]:not(.is-split),
  .m-chart-grid[data-size="M"]:not(.is-split),
  .m-chart-grid[data-size="L"]:not(.is-split) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .m-chart-grid[data-size="S"]:not(.is-split),
  .m-chart-grid[data-size="M"]:not(.is-split) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .m-chart-grid[data-size="L"]:not(.is-split) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-chart-grid[data-size="XL"]:not(.is-split) { grid-template-columns: minmax(0, 1fr); }
}
/* cycle-35: mid TF 0 0 16px bloom deleted — pressed inset owns tool */
.m-size-k-wrap { display: none; }
.m-alert-stack {
  /* Cycle-28: surface/accent tray — never buy wash; stamp-gated cards stay */
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid color-mix(in oklab, var(--color-accent) 28%, var(--color-border));
  border-radius: 12px;
  background: color-mix(in oklab, var(--color-surface) 92%, #071410);
}
.m-alert-card {
  position: relative;
  padding: 10px 36px 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-raised);
}
/* cycle-23: orphan .m-alert-card.is-buy/.is-sell deleted — is-stamp-* only */
.m-alert-hit {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  text-align: left;
}
.m-alert-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: var(--color-muted);
}

.m-lev-chip.is-primary {
  font-weight: 600;
}
.m-lev-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 8px;
  font-family: var(--font-display), var(--font-sans);
  font-size: 2rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.m-lev-hero-k {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.m-lev-check {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
}
.m-lev-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.m-lev-presets button {
  height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-fg);
  font-size: 13px;
  font-family: var(--font-mono);
}
.m-lev-presets button:hover {
  background: var(--color-raised);
}
.m-lev-presets button[aria-pressed="true"] {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: var(--color-accent);
}
.m-lev-presets button.is-bad {
  /* cycle-32: amber danger mute (high-alert grammar) */
  color: color-mix(in oklab, #d4a574 78%, var(--color-fg));
  border-color: color-mix(in oklab, #d4a574 40%, var(--color-border));
}
.m-lev-verdict {
  margin-top: 10px;
  font-size: 13px;
  text-wrap: pretty;
}
.m-lev-verdict.is-ok { color: color-mix(in oklab, #2dd4bf 70%, var(--color-fg)); /* cycle-27 tool */ }
.m-lev-verdict.is-bad { color: color-mix(in oklab, #d4a574 78%, var(--color-fg)); /* cycle-32 amber mute */ }
.m-lev-presets button.is-hot {
  color: var(--color-hold);
  border-color: color-mix(in oklab, var(--color-hold) 45%, var(--color-border));
}
.m-lev-verdict.is-hot { color: var(--color-hold); }

.m-active-tape {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.m-active-tape button {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-fg);
  font-size: 13px;
}
/* Cycle-16: deleted orphan .m-active-tape button.is-buy/is-sell — stamp chip tokens only */
.m-active-tape strong { font-family: var(--font-mono); letter-spacing: 0.04em; }
.m-active-tape em { font-style: normal; color: var(--color-muted); font-size: 12px; }
.m-chart-span-wrap { display: inline-flex; align-items: center; min-width: 88px; height: 44px; padding: 0 4px; }
.m-chart-span { width: min(180px, 28vw); height: 44px; accent-color: var(--color-accent); cursor: pointer; }

.m-tf-map {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.m-tf-map button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  padding: 6px 2px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-raised);
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.m-tf-map strong {
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  color: var(--color-fg);
  font-weight: 600; /* c40: TF-map strong 600 — ≠ TAKE */
}
/* Cycle-13 trim: no buy-green / sell-red fills — mute cells; active = cyan select */
.m-tf-map button.is-buy,
.m-tf-map button.is-sell,
.m-tf-map button.is-long,
.m-tf-map button.is-short,
.m-tf-map button.is-flat,
.m-tf-map button.is-watch,
.m-tf-map button.is-hold {
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent);
  background: var(--color-raised);
}
.m-tf-map button.is-buy strong,
.m-tf-map button.is-sell strong,
.m-tf-map button.is-long strong,
.m-tf-map button.is-short strong,
.m-tf-map button.is-flat strong,
.m-tf-map button.is-watch strong,
.m-tf-map button.is-hold strong {
  color: color-mix(in oklab, var(--color-fg) 88%, var(--color-muted));
  font-weight: 600; /* c40 */
}
.m-tf-map button.is-on {
  outline: 1.5px solid #22d3ee; /* cyan select — not gold Desk Call */
  outline-offset: 1px;
  border-color: color-mix(in oklab, #22d3ee 45%, var(--color-border));
}
@media (max-width: 640px) {
  .m-tf-map { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* cycle-23: 2nd early crypto-shell ambient folded into teal glass shell */
.m-topbar {
  background: color-mix(in oklab, var(--color-bg) 92%, transparent);
  backdrop-filter: none; /* cycle-18 purge */
}
.m-desk {
  max-width: 90rem;
  margin: 10px auto 40px;
  border: 1px solid color-mix(in oklab, var(--color-accent) 22%, var(--color-border));
  border-radius: 24px;
  background: color-mix(in oklab, var(--color-surface) 90%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-accent) 12%, transparent); /* c37 desk float diet */
}
.m-desk-body {
  padding: 12px 16px 28px;
}
@media (min-width: 768px) {
  .m-desk { margin: 12px auto 48px; }
  .m-desk-body { padding: 14px 24px 32px; }
}
.m-chrome {
  position: static;
  z-index: auto;
  padding: 12px 16px 8px;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
  border-radius: 0;
}
@media (min-width: 768px) {
  .m-chrome { padding: 14px 24px 14px; }
}
.m-desk-rail {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px 10px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid color-mix(in oklab, var(--color-accent) 12%, var(--color-border));
  border-radius: 14px;
  background: color-mix(in oklab, var(--color-surface) 88%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-accent) 8%, transparent);
}
.m-pair-card {
  background: color-mix(in oklab, var(--color-surface) 90%, transparent);
  border-color: color-mix(in oklab, var(--color-accent) 14%, var(--color-border));
  border-radius: 22px;
}
.m-chrome-inner {
  max-width: none;
  margin: 0;
  padding: 0;
}
.m-chrome-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.m-chrome-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.m-rail-block { min-width: 0; }
.m-rail-stamp { margin: 0; margin-left: auto; color: var(--color-subtle); }
.m-rail-k {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.m-rail-stamp { margin: 0; color: var(--color-subtle); }
.m-tf {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.m-pair-card {
  background: color-mix(in oklab, var(--color-surface) 92%, transparent);
  border-color: color-mix(in oklab, var(--color-accent) 18%, var(--color-border));
}
/* cycle-29: hover raised folded */
.m-chart-grid { scroll-margin-top: 8px; }
.m-sticky { display: contents; }
@media (max-width: 720px) {
}

.m-pick {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 14px;
}
@media (min-width: 720px) {
  .m-pick { grid-template-columns: 1fr 1fr; }
}
.m-pick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-height: 44px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid var(--color-border);
  background: color-mix(in oklab, var(--color-surface) 88%, transparent);
  color: inherit;
  text-align: left;
}
/* Cycle-21: outline twins = lean tools — mute cyan/amber, never buy-green/sell-red call */
.m-pick-card.is-long:not(.is-outline) {
  border-color: color-mix(in oklab, #22d3ee 40%, var(--color-border));
  box-shadow: none;
}
.m-pick-card.is-short:not(.is-outline) {
  border-color: color-mix(in oklab, #d4a574 42%, var(--color-border)); /* cycle-24: amber RISK — never TAKE gold */
  box-shadow: none;
}
.m-pick-card.is-empty { opacity: 0.72; box-shadow: none; }
.m-pick-card:not(:disabled):hover { background: var(--color-raised); }
.m-pick-k {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-pick-card.is-long:not(.is-outline) .m-pick-k { color: color-mix(in oklab, #22d3ee 70%, var(--color-muted)); }
.m-pick-card.is-short:not(.is-outline) .m-pick-k { color: color-mix(in oklab, #d4a574 70%, var(--color-muted)); }
.m-pick-name {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.m-pick-meta, .m-pick-px, .m-pick-empty { margin: 0; font-size: 13px; color: var(--color-muted); }
.m-pick-lev {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.m-pick-card.is-long:not(.is-outline) .m-pick-lev { color: color-mix(in oklab, #22d3ee 65%, var(--color-fg)); }
.m-pick-card.is-short:not(.is-outline) .m-pick-lev { color: color-mix(in oklab, #d4a574 65%, var(--color-fg)); }
.m-pick-lev span { color: var(--color-subtle); font-size: 13px; }

button.bg-accent {
  background-image: none; /* c37 solid teal + inset — no 90deg invent */
  background-color: var(--color-accent);
  box-shadow: inset 0 1px 0 color-mix(in oklab, #2dd4bf 28%, transparent);
  border-color: transparent;
  color: var(--color-accent-fg);
}
.m-filter button[aria-pressed="true"] {
  /* Cycle-35: pressed inset/fill only — never mint/gold bloom */
  box-shadow: inset 0 1px 0 color-mix(in oklab, #22d3ee 22%, transparent);
}
.m-pair-card {
  overflow: hidden;
}

.m-section {
  margin: 0 0 16px;
  padding: 14px 16px 16px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: color-mix(in oklab, var(--color-surface) 84%, transparent);
}
.m-section-h {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--color-border);
}
.m-section-k {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.m-section-t {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650; /* c40: section lean ≤650 — ≠ TAKE 700 */
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--color-fg);
}
@media (min-width: 768px) {
  .m-section-t { font-size: 1.65rem; }
}
/* Cycle-16: section lean headers mute — never buy/sell call paint / never gold Desk Call */
.m-section.is-buy,
.m-section.is-sell,
.m-section.is-hold,
.m-section.is-long,
.m-section.is-short {
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent);
}
.m-section.is-buy .m-section-k,
.m-section.is-sell .m-section-k,
.m-section.is-hold .m-section-k,
.m-section.is-long .m-section-k,
.m-section.is-short .m-section-k {
  color: color-mix(in oklab, #22d3ee 55%, var(--color-muted));
}
.m-section.is-accent { border-color: color-mix(in oklab, var(--color-accent) 28%, var(--color-border)); }
.m-section .m-pick,
.m-section .m-active-tape { margin: 0; }
.m-rail-block {
  padding: 8px 10px 10px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: color-mix(in oklab, var(--color-bg) 45%, var(--color-surface));
}
.m-rail-block.is-tf { border-color: color-mix(in oklab, var(--color-accent) 35%, var(--color-border)); }
.m-rail-block.is-tf .m-rail-k { color: var(--color-accent); }
.m-rail-block.is-filter { border-color: color-mix(in oklab, var(--color-muted) 25%, var(--color-border)); }
.m-rail-block.is-size { border-color: color-mix(in oklab, var(--color-hold) 28%, var(--color-border)); }
.m-rail-block.is-size .m-rail-k { color: var(--color-hold); }
/* cycle-25: orphan .m-filter is-buy/is-sell/is-hold paint deleted — cyan pressed tool stays */
.m-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 768px) {
  .m-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.m-stat {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: color-mix(in oklab, var(--color-bg) 35%, var(--color-surface));
}
/* cycle-25: orphan .m-stat is-buy/is-sell/is-hold inset deleted */
.m-candles,
.m-candles-card,
.m-candles-pro,
.m-pane-svg {
  shape-rendering: geometricPrecision;
}
@media (min-width: 1400px) {
  .m-chart-grid[data-size="S"]:not(.is-split),
  .m-chart-grid[data-size="M"]:not(.is-split) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.m-mark { overflow: hidden; object-fit: cover; }

.m-gloss-lead {
  margin: 0 0 14px;
  max-width: 46rem;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.55;
}
.m-gloss-search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 14px;
  margin: 0 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-chart);
  color: var(--color-subtle);
}
.m-gloss-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--color-fg);
  font: inherit;
  outline: none; /* shell owns cyan focus-within — never gold */
}
.m-gloss-search:focus-within {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
  border-color: color-mix(in oklab, #22d3ee 50%, var(--color-border));
}
.m-gloss-search input:focus-visible {
  outline: none; /* parent .m-gloss-search:focus-within */
}
.m-gloss-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.m-gloss-cats button {
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted);
  font-size: 13px;
}
.m-gloss-cats button span {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-subtle);
}
.m-gloss-cats button[aria-pressed="true"] {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  border-color: transparent;
}
.m-gloss-cats button[aria-pressed="true"] span { color: inherit; }
.m-gloss-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 720px) {
  .m-gloss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .m-gloss-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.m-gloss-card {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: color-mix(in oklab, var(--color-bg) 40%, var(--color-surface));
}
.m-gloss-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.m-gloss-aka {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--color-accent);
}
.m-gloss-card p:last-child {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-muted);
}
.m-track-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 12px;
}
.m-track-pick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: min(100%, 240px);
  flex: 1;
}
.m-track-pick span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-track-pick select {
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-chart);
  color: var(--color-fg);
  font: inherit;
}
.m-track-go,
.m-track-stop {
  height: 44px;
  min-width: 160px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.m-track-go {
  /* Cycle-28: accent/teal tool CTA — Start ≠ TAKE */
  background: color-mix(in oklab, #2dd4bf 55%, var(--color-accent));
  color: var(--color-accent-fg);
}
.m-track-go:disabled { opacity: 0.45; }
.m-track-stop {
  /* Cycle-28/32: amber danger mute — Start stays teal (≠ TAKE); never sell-wash */
  background: color-mix(in oklab, var(--color-raised) 88%, #071410);
  color: color-mix(in oklab, #d4a574 70%, var(--color-fg));
  border: 1px solid color-mix(in oklab, #d4a574 40%, var(--color-border));
}
.m-track-read { margin-top: 12px; }
.m-track-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 4px;
  align-items: baseline;
}
.m-track-meta strong { font-family: var(--font-display); letter-spacing: 0.06em; }
.m-track-px { margin: 0 0 8px; font-size: 13px; color: var(--color-muted); }
.m-track-pop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  background: color-mix(in oklab, var(--color-bg) 62%, transparent);
}
.m-track-panel {
  width: min(1080px, 100%);
  max-height: min(92dvh, 920px);
  overflow: auto;
  padding: 16px 18px 18px;
  border: 1px solid color-mix(in oklab, var(--color-accent) 20%, var(--color-border));
  border-radius: 22px;
  background: color-mix(in oklab, var(--color-surface) 94%, var(--color-bg));
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 10%, transparent); /* c37 track flat */
}
.m-track-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.m-track-head .m-section-t { margin: 0; }
.m-track-head .m-section-k { margin: 0 0 4px; }
.m-track-note {
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 13px;
}
.m-disclaimer {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: color-mix(in oklab, var(--color-surface) 88%, transparent);
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.5;
}
.m-disclaimer strong {
  color: var(--color-fg);
  font-weight: 650;
}
.m-gloss-page {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}
.m-gloss-page h1,
.m-gloss-page h2,
.m-gloss-page h3,
.m-gloss-page .m-section-t {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.m-gloss-page .m-section-k {
  letter-spacing: 0.08em;
  font-size: 13px;
}
.m-gloss-page .m-section-t {
  font-size: 1.45rem;
  font-weight: 650; /* c41: under desk diet — size owns hierarchy; ≠ stamp/sure% */
}
.m-gloss-page .m-gloss-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-fg);
}
.m-gloss-page .m-gloss-card h3 {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}
.m-gloss-page .m-gloss-card p:last-child {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-fg);
}
.m-gloss-page .m-gloss-aka { color: var(--color-muted); }
.m-gloss-page .m-gloss-search,
.m-gloss-page .m-gloss-cats button,
.m-gloss-page input {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}
.m-high-alert {
  height: 44px; min-width: 132px; padding: 0 16px; border-radius: 999px;
  border: 1px solid color-mix(in oklab, #d4a574 40%, var(--color-border));
  background: color-mix(in oklab, var(--color-raised) 88%, #071410);
  color: color-mix(in oklab, var(--color-muted) 75%, #d4a574);
  font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; box-shadow: none; /* c39: ≤600 */
}
.m-high-alert.is-on {
  background: color-mix(in oklab, #d4a574 18%, transparent);
  color: color-mix(in oklab, #d4a574 88%, white);
  border-color: color-mix(in oklab, #d4a574 65%, var(--color-border)); box-shadow: none;
}
.m-pair-card { position: relative; }
.m-star {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-subtle);
}
.m-star.is-on { color: var(--color-hold); }
.m-star-abs {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  background: color-mix(in oklab, var(--color-bg) 70%, transparent);
}
.m-pulse {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.m-ticker {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-chart);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.m-ticker-track {
  display: flex;
  width: max-content;
  gap: 6px;
  padding: 6px;
  animation: m-tick 42s linear infinite;
}
.m-ticker:hover .m-ticker-track { animation-play-state: paused; }
@keyframes m-tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .m-ticker { overflow-x: auto; mask-image: none; }
  .m-ticker-track { animation: none; flex-wrap: nowrap; width: max-content; }
  .m-tick.is-clone { display: none; }
}
.m-tick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--color-raised) 80%, transparent);
  font-size: 12px;
  white-space: nowrap;
}
.m-tick b { font-weight: 650; }
/* Cycle-21: ticker = breadth flash only — never gold, never outranks Pulse stamp counts */
.m-tick.is-up span:last-child { color: var(--cf-ticker-dn); }
.m-tick.is-dn span:last-child { color: color-mix(in oklab, var(--color-hold) 70%, var(--color-fg)); }
.m-tok {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--color-accent) 22%, var(--color-raised));
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.m-pulse-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 800px) {
  .m-pulse-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.m-kpi {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-chart);
}
.m-movers {
  display: grid;
  gap: 8px 16px;
}
@media (min-width: 800px) {
  .m-movers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.m-heat-cell strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.m-heat-cell span { font-family: var(--font-mono); font-size: 18px; font-weight: 550; font-variant-numeric: tabular-nums; /* cycle-34: mono owns tiles */ }
.m-heat-cell:first-child {
  grid-column: span 2;
  min-height: 110px;
}
.m-screen thead th {
  position: sticky;
  top: 0;
  background: var(--color-surface);
  z-index: 1;
}
.m-screen tbody tr:nth-child(even) {
  background: color-mix(in oklab, var(--color-chart) 55%, transparent);
}
.m-screen-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.m-pulse-k {
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-pulse-v { margin: 0; font-size: 15px; font-weight: 600; /* cycle-34: mute — stamp + sure% own the call */ }
.m-mover-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.m-mover {
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-chart);
  font-size: 12px;
  font-family: var(--font-mono);
}
/* Cycle-28: Mover outline mute — Δ% tabular only, never TAKE mint */
.m-mover.is-up,
.m-mover.is-dn {
  color: color-mix(in oklab, var(--color-fg) 88%, var(--color-muted));
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent);
  font-variant-numeric: tabular-nums;
}
.m-mover.is-vol { color: var(--color-hold); }
.m-heat-modes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.m-heat-modes button {
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 550; /* tool ≤600 — heat modes never outrank stamp */
}
.m-heat-modes button[aria-pressed="true"] {
  /* cycle-42: cyan/teal pressed inset — tool ≠ TAKE gold */
  background: color-mix(in oklab, #2dd4bf 42%, #0e7490);
  color: #ecfeff;
  border-color: color-mix(in oklab, #22d3ee 55%, var(--color-border));
  background-image: none;
  box-shadow: inset 0 1px 0 color-mix(in oklab, #2dd4bf 28%, transparent);
}
.m-heat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 720px) {
  .m-heat { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .m-heat { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.m-heat-cell {
  min-height: 88px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-chart);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.m-heat-cell strong { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.04em; }
.m-heat-cell span { font-family: var(--font-mono); font-size: 14px; }
.m-heat-cell em { font-style: normal; font-size: 12px; color: var(--color-muted); }
.m-heat-cell.is-up {
  /* intensity-only teal ramp — never mint/gold directional call */
  background: color-mix(in oklab, var(--color-hold) calc(var(--heat, 0.35) * 55%), var(--color-chart));
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
}
.m-heat-cell.is-dn {
  background: color-mix(in oklab, var(--color-hold) calc(var(--heat, 0.35) * 55%), var(--color-chart));
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
}
.m-heat-cell.is-hold { opacity: 0.9; }
.m-heat-cell.is-watch { box-shadow: inset 0 0 0 1px color-mix(in oklab, #22d3ee 55%, var(--color-border)); }
.m-screen-wrap { overflow-x: auto; }
.m-screen {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.m-screen th {
  text-align: left;
  padding: 8px 10px;
  color: var(--color-subtle);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-border);
}
.m-screen th button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 0;
}
.m-screen th button.is-on { color: color-mix(in oklab, #22d3ee 75%, var(--color-fg)); } /* c42: cyan tool — ≠ mint / ≠ TAKE gold */
.m-screen td {
  padding: 10px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.m-screen tbody tr { cursor: pointer; }
.m-screen tbody tr:hover { background: color-mix(in oklab, var(--color-raised) 70%, transparent); }
.m-screen-px { display: block; color: var(--color-muted); font-size: 12px; }
.m-rel { color: var(--color-subtle); }
.m-rel.is-hot { color: var(--color-hold); }
.m-screen-star { width: 40px; }
.m-exit {
  margin: 10px 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-chart);
}
.m-exit-k {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.m-exit-lvls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 8px;
  font-size: 13px;
}
.m-exit-lvls b { color: var(--color-fg); }
.m-exit-line {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-muted);
}
.m-exit-compact {
  margin: 4px 0 0;
  font-size: 11px;
  color: color-mix(in oklab, var(--color-muted) 85%, #67e8f9);
  font-variant-numeric: tabular-nums;
}

.m-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: min(260px, 100%);
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-raised);
  color: var(--color-muted);
}
.m-search.is-on {
  /* cycle-42: cyan tool select — never mint accent / never TAKE gold */
  border-color: color-mix(in oklab, #22d3ee 50%, var(--color-border));
  color: var(--color-fg);
}
.m-search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--color-fg);
  font: inherit;
  outline: none; /* shell owns cyan focus-within — never gold */
}
.m-search:focus-within,
.m-search.is-on:focus-within {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
  border-color: color-mix(in oklab, #22d3ee 55%, var(--color-border));
}
.m-search input:focus-visible {
  outline: none; /* parent .m-search:focus-within */
}
.m-search-list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-chart);
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 8%, transparent); /* c37 search flat */
}
.m-search-list button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  text-align: left;
}
.m-search-list button.is-hi,
.m-search-list button:hover { background: var(--color-raised); }
.m-search-list b { flex: 1; }
.m-search-list em { font-style: normal; font-size: 11px; letter-spacing: 0.08em; }
.m-sessions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.m-sess {
  display: flex;
  flex-direction: column;
  min-width: 104px;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-raised);
  opacity: 0.55;
}
.m-sess.is-on {
  opacity: 1;
  border-color: color-mix(in oklab, var(--color-accent) 55%, var(--color-border));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--color-accent) 30%, transparent);
}
.m-sess b { font-size: 13px; }
.m-hit {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  white-space: nowrap;
}
/* Cycle-27: Hit Δ% tabular only — never buy/sell success paint */
.m-hit.is-up,
.m-hit.is-dn {
  color: color-mix(in oklab, var(--color-muted) 92%, var(--color-fg));
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  font-variant-numeric: tabular-nums;
}
.m-tape-group { margin: 6px 0 18px; }
.m-tape-group-h {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
}
.m-tape-group-h strong {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600; /* lean label ≤600 — direction context, not Desk Call */
  color: inherit;
}
.m-tape-group-h em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-subtle);
}
/* Cycle-16: lean headers cyan/mute only — never gold, never outrank stamp */
.m-tape-group-h.is-buy,
.m-tape-group-h.is-sell,
.m-tape-group-h.is-long,
.m-tape-group-h.is-short,
.m-tape-group-h.is-hold {
  color: color-mix(in oklab, var(--color-fg) 82%, var(--color-muted));
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
}
.m-ret {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-raised);
}
.m-ret.is-up { border-color: color-mix(in oklab, var(--color-border) 75%, transparent); }
.m-ret.is-dn { border-color: color-mix(in oklab, #d4a574 32%, var(--color-border)); /* cycle-32 muted amber tabular */ }
.m-ret-k { margin: 0; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-subtle); }
.m-ret-v { margin: 2px 0 0; font-size: 18px; color: var(--color-fg); }
.m-ret.is-up .m-ret-v { color: color-mix(in oklab, var(--color-muted) 90%, var(--color-fg)); font-variant-numeric: tabular-nums; }
.m-ret.is-dn .m-ret-v { color: color-mix(in oklab, #d4a574 65%, var(--color-muted)); font-variant-numeric: tabular-nums; /* cycle-32 */ }
.m-ret-m { margin: 2px 0 0; font-size: 12px; color: var(--color-muted); }
.m-ret-compact { margin: 2px 0 0; font-size: 11px; }
.m-ret-compact.is-up { color: color-mix(in oklab, var(--color-muted) 90%, var(--color-fg)); font-variant-numeric: tabular-nums; }
.m-ret-compact.is-dn { color: color-mix(in oklab, #d4a574 65%, var(--color-muted)); font-variant-numeric: tabular-nums; /* cycle-32 */ }

.m-desk .m-section {
  margin: 0;
  padding: 18px 0 10px;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}
.m-desk .m-section-h {
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.m-desk .m-pulse {
  padding: 4px 0 12px;
}
.m-desk .m-kpi,
.m-desk .m-sess {
  background: color-mix(in oklab, var(--color-chart) 80%, var(--color-raised));
}

html.is-idle .m-ticker-track {
  animation-play-state: paused !important;
}
html.is-idle .m-live-dot,
html.is-idle .m-live-on .m-live-dot {
  animation: none !important; /* c41: idle kills live pulse */
}

.m-bar-clock {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  color: var(--color-muted);
}
.m-bar-clock em {
  font-style: normal;
  color: var(--color-fg);
  font-weight: 650;
}
/* Cycle-13: hot = amber/hold mute tabular — time only, never gold / never bumps sure% */
.m-bar-clock.is-hot,
.m-bar-clock.is-hot em {
  color: color-mix(in oklab, var(--color-hold) 85%, var(--color-muted));
  font-weight: 600;
}
.m-rail-stamp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  margin-left: auto;
  color: var(--color-subtle);
}
.m-rail-dot { opacity: 0.4; }
.m-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 14px 12px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted);
  font-size: 12px;
}
.m-copy-btn:hover { color: var(--color-fg); border-color: var(--color-accent); }
.m-pick-hit {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
}
.m-keys {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--color-subtle);
  letter-spacing: 0.02em;
}

.m-desk-rail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
}
/* One rail canon — cyan/mute tool chrome. Scan / Mode / View never read as Desk Call gold. */
.m-rail-row,
.m-rail-row.is-primary,
.m-rail-row.is-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px 12px;
  min-width: 0;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--color-muted);
  border-color: color-mix(in oklab, #22d3ee 28%, var(--color-border));
}
.m-rail-block {
  flex: 0 1 auto;
  width: max-content;
  max-width: 100%;
  padding: 4px 6px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--color-chart) 55%, transparent);
  border: 1px solid color-mix(in oklab, var(--color-border) 55%, transparent);
}
.m-rail-block.is-tf {
  flex: 0 0 auto;
}
.m-rail-block.is-filter,
.m-rail-block.is-size {
  flex: 0 1 auto;
}
.m-rail-stamp {
  flex: 1 1 160px;
  align-self: center;
  margin-left: 0;
  min-width: 0;
}
.m-rail-k {
  margin: 0 0 3px;
  font-size: 10px;
  font-weight: 600; /* kicker ≤600 — tool label, never TAKE / Desk Call */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.m-card-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.06em;
}
.m-card-px {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 650;
}
.m-card-chg { margin-left: 8px; font-size: 14px; font-weight: 500; }
.m-card-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--color-subtle);
}
.m-hud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 0;
}
.m-hud span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--color-chart);
  border: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.m-hud em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-subtle);
  font-family: var(--font-sans);
}
.m-tf-reads {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
}
.m-tf-chip,
.m-setup-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-raised);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}
/* cycle-25: orphan .m-tf-chip.is-buy/.is-sell deleted */
.m-setup-tag { color: var(--color-fg); }
.m-grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid var(--color-border);
}
/* cycle-26: early .m-grade.is-a buy fill stripped — letter mute in c10 + fold */
.m-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.m-pulse-sub { margin: 2px 0 0; font-size: 12px; font-family: var(--font-mono); }
.m-sess.is-on {
  background: color-mix(in oklab, var(--color-accent) 14%, var(--color-raised));
}
.m-pair-card { padding: 14px; }

.m-desk-call { display: grid; gap: 10px; margin: 0 0 4px; }
.m-call {
  padding: 14px 16px 10px;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: color-mix(in oklab, var(--color-chart) 88%, var(--color-surface));
}
/* cycle-25: dead .m-call.is-buy/.is-sell side chrome deleted — is-take-hero + stamp own call */
.m-call.is-flat {
  border-color: color-mix(in oklab, var(--color-hold) 35%, var(--color-border));
}
.m-call-k {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}
/* Cycle-24: call-k never buy-green/sell-red side heroes */
.m-call.is-buy .m-call-k { color: color-mix(in oklab, #22d3ee 55%, var(--color-muted)); }
.m-call.is-sell .m-call-k { color: color-mix(in oklab, #d4a574 60%, var(--color-muted)); }
.m-call-title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
}
.m-call-title span { font-size: 14px; color: var(--color-muted); letter-spacing: 0.04em; }
.m-call-px { margin: 6px 0 0; font-size: 14px; color: var(--color-fg); }
.m-call-steps {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 6px;
  color: var(--color-fg);
  font-size: 13px;
  line-height: 1.45;
}
.m-call-steps li::marker { color: var(--color-accent); font-weight: 600; /* c40 */ }
.m-call-why {
  margin: 10px 0 4px;
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.45;
}
.m-stamp {
  position: static;
  top: auto;
  right: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 600; /* c41: quiet default — TAKE/Desk Call alone 700 */
  border: 1px solid var(--color-border);
}
.m-stamp.is-take {
  /* Cycle-27: gold stamp at source — never color-buy */
  color: #1a1208;
  background: linear-gradient(120deg, #fef3c7, #fbbf24 52%, #f59e0b);
  border-color: transparent;
  box-shadow: none;
  font-weight: 700; /* c41: TAKE floor — never lower */
}
/* cycle-35: early WATCH one-liner folded → cyan canon + weight 600 */
.m-stamp.is-skip { color: var(--color-subtle); }
.m-stamp.is-risk {
  /* Cycle-35: muted amber RISK — weight 600 + inset chrome; never TAKE-hot */
  color: color-mix(in oklab, #d4a574 92%, white);
  background: color-mix(in oklab, #d4a574 18%, transparent);
  border: 1.5px solid color-mix(in oklab, #d4a574 65%, var(--color-border));
  box-shadow: none;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.m-pair-card.is-stamp-risk {
  border-color: color-mix(in oklab, #d4a574 42%, var(--color-border));
  box-shadow: inset 3px 0 0 #d4a574;
}
.m-risky-toggle.is-on {
  border-color: color-mix(in oklab, #d4a574 55%, var(--color-border));
  background: color-mix(in oklab, #d4a574 14%, transparent);
}
.m-risky-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: color-mix(in oklab, #d4a574 55%, var(--color-muted)); /* cycle-26 */
  line-height: 1.4;
}
.m-pick.is-risky-rail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--color-border);
}
.m-news-line {
  display: block;
  margin-top: 6px;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.35;
  color: var(--color-muted);
  text-decoration: none;
  overflow: hidden;
}
.m-news-line:hover { color: var(--color-fg); }
.m-news-line.is-quiet { opacity: 0.55; }
.m-news-meta {
  display: block;
  letter-spacing: 0.02em; /* no gold letter-spacing shout */
  text-transform: none;
  font-size: 10px;
  color: var(--color-subtle);
  font-weight: 500;
}
.m-news-title {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Cycle-18: SKIP mute OK — never opacity that empties HOLD/book */
.m-pair-card.is-stamp-skip {
  opacity: 1;
  filter: none;
}
.m-pair-card.is-stamp-skip .m-stamp.is-skip {
  opacity: 0.72;
  color: color-mix(in oklab, var(--color-muted) 88%, var(--color-fg));
}
.m-pair-card.is-hold,
.m-pair-card.is-stamp-skip.is-hold {
  opacity: 1 !important; /* HOLD stays fully readable on tape */
}
.m-pair-card.is-stamp-take {
  /* Cycle-27: gold rail inset only — never color-buy */
  box-shadow: inset 3px 0 0 var(--gold, #fbbf24);
  border-color: color-mix(in oklab, var(--gold, #fbbf24) 28%, var(--color-border));
}
.m-watch {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: color-mix(in oklab, var(--color-chart) 82%, transparent);
}
.m-watch-k {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-watch-h {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--color-fg);
}
/* cycle-24: orphan .m-watch-h.is-buy/.is-sell deleted */
.m-watch-d {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.4;
}
.m-pulse {
  gap: 10px;
}
.m-chrome-head {
  gap: 10px 14px;
}

.m-tf button[aria-pressed="true"],
.m-chart-tf button[aria-pressed="true"] {
  background: var(--cf-tf-pressed, color-mix(in oklab, #2dd4bf 45%, var(--color-accent)));
  color: var(--color-accent-fg); border-color: var(--color-accent);
  box-shadow: inset 0 1px 0 color-mix(in oklab, #2dd4bf 28%, transparent); /* c35 */
}

/* --- Hardening: laptop / 1280–1440 desk realignment --- */
.crypto-shell {
  overflow-x: clip;
  max-width: 100vw;
}
.m-desk {
  width: min(100% - 16px, 90rem);
  max-width: 90rem;
  box-sizing: border-box;
}
.m-desk-body {
  min-width: 0;
}
.m-chrome-head {
  min-width: 0;
}
.m-chrome-head > .flex {
  max-width: 100%;
}
.m-desk-rail {
  min-width: 0;
}
.m-rail-block {
  max-width: 100%;
  width: max-content;
}
.m-rail-block.is-tf .m-tf {
  flex-wrap: nowrap;
}
.m-rail-stamp {
  flex: 1 1 180px;
  margin-left: 0 !important;
  align-self: center;
}
.m-tf,
.m-filter {
  max-width: 100%;
}
.m-chart-grid {
  min-width: 0;
}
.m-pair-card {
  min-width: 0;
  max-width: 100%;
}
.m-hud {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) {
  .m-hud {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.m-screen-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
}
.m-screen {
  min-width: 640px;
  width: 100%;
}
.m-heat {
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  min-width: 0;
}
@media (min-width: 1280px) and (max-width: 1440px) {
  .m-desk {
    margin: 10px auto 36px;
  }
  .m-desk-body {
    padding: 12px 18px 28px;
  }
  .m-chrome {
    padding: 12px 18px 10px;
  }
  .m-chart-grid[data-size="S"]:not(.is-split),
  .m-chart-grid[data-size="M"]:not(.is-split) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .m-chart-grid[data-size="L"]:not(.is-split) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .m-chrome-head {
    gap: 10px 12px;
  }
  .m-rail-row.is-tools {
    gap: 8px 10px;
  }
  .m-rail-block {
    padding: 6px 8px;
  }
  .m-rail-block.is-tf .m-tf {
    flex-wrap: nowrap;
  }
  .m-tf button,
  .m-filter button {
    height: 36px;
    min-width: 40px;
    padding: 0 10px;
    font-size: 13px;
  }
}
@media (max-width: 1279px) {
  .m-rail-row.is-tools .m-rail-block.is-size {
    flex: 1 1 100%;
  }
  .m-pulse-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.m-fresh-banner {
  display: grid;
  gap: 2px;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, var(--color-hold) 40%, var(--color-border));
  background: color-mix(in oklab, var(--color-hold) 10%, var(--color-surface));
  font-size: 13px;
}
.m-fresh-banner.is-stale {
  /* cycle-32: high-alert amber mute — feed warn never blocks scan */
  border-color: color-mix(in oklab, #d4a574 42%, var(--color-border));
  background: color-mix(in oklab, #d4a574 10%, var(--color-surface));
}
.m-fresh-banner strong {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.m-fresh-banner em {
  font-style: normal;
  font-size: 12px;
  color: var(--color-subtle);
}
.m-alert-note {
  font-size: 11px;
  color: var(--color-hold);
  max-width: 220px;
  line-height: 1.3;
}
.m-track-empty {
  margin: 0 0 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed var(--color-border);
  background: color-mix(in oklab, var(--color-chart) 70%, transparent);
  text-align: center;
}
.m-gloss-page,
.m-gloss-grid {
  min-width: 0;
  max-width: 100%;
}
@media (min-width: 1280px) and (max-width: 1440px) {
  .m-gloss-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.m-gloss-desk {
  margin-top: 12px;
}
.m-gloss-desk .m-chrome {
  border-bottom: 1px solid color-mix(in oklab, var(--color-accent) 14%, var(--color-border));
}

/* —— Mentor desk (amateur coaching strip) —— */
.m-mentor-strip {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background: color-mix(in oklab, var(--color-raised) 72%, var(--color-chart));
}
.m-mentor-strip.is-trade {
  /* strip is not a selected call — mute border, no teal inset rail */
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent);
  box-shadow: none;
  background: color-mix(in oklab, var(--color-raised) 72%, var(--color-chart));
}
.m-mentor-strip.is-wait {
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent);
  box-shadow: none;
}
.m-mentor-strip.is-flat {
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent);
  box-shadow: none;
}
.m-mentor-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.m-mentor-k {
  margin: 0;
  font-size: 11px;
  font-weight: 600; /* kicker ≤600 — strip is not a TAKE call */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.m-mentor-stance {
  margin: 0;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.m-mentor-stance.is-trade { color: var(--color-muted); /* cycle-27 coach mute — ≠ stamp */ }
.m-mentor-stance.is-wait { color: var(--color-muted); }
.m-mentor-stance.is-flat { color: var(--color-hold); }
.m-mentor-why {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-fg);
}
.m-mentor-ctx {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--color-muted);
}
.m-mentor-flat {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--color-hold) 12%, transparent);
  font-size: 13px;
  color: var(--color-fg);
}
.m-mentor-rules {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.4;
}
.m-mentor-rules li::marker { color: var(--color-accent); }

.m-checklist {
  margin: 10px 0 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  background: color-mix(in oklab, var(--color-surface) 55%, transparent);
}
.m-checklist-k {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-checklist ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}
.m-checklist label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.35;
  color: var(--color-fg);
  cursor: pointer;
}
.m-checklist input {
  margin-top: 2px;
  accent-color: var(--color-accent);
}
.m-checklist li.is-warn span { color: color-mix(in oklab, #d4a574 72%, var(--color-muted)); /* cycle-32 amber mute */ }
.m-checklist li.is-on span { color: var(--color-muted); }
.m-checklist em {
  font-style: normal;
  color: var(--color-subtle);
  font-size: 11px;
}
.m-checklist-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--color-subtle);
}

.m-size-helper {
  margin: 8px 0 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: color-mix(in oklab, var(--color-chart) 80%, var(--color-surface));
}
.m-size-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: flex-end;
}
.m-size-inputs label {
  display: grid;
  gap: 4px;
  font-size: 11px;
  color: var(--color-muted);
}
.m-size-inputs input {
  width: 7.5rem;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-raised);
  color: var(--color-fg);
  font-family: var(--font-mono);
  font-size: 13px;
}
.m-size-meta {
  font-size: 11px;
  color: var(--color-subtle);
  max-width: 100%;
}
.m-size-out {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-fg);
}
.m-size-out.is-warn { color: color-mix(in oklab, #d4a574 72%, var(--color-muted)); /* cycle-32 amber mute */ }

.m-thesis {
  /* cycle-32: process geometry — never sell-wash invent / never gold Desk Call twin */
  margin: 8px 0 4px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  background: transparent;
}
.m-thesis-row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 12px;
  color: var(--color-fg);
}
.m-thesis-row em {
  font-style: normal;
  display: block;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-thesis-dead {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-muted);
}

.m-mentor-howto {
  margin: 4px 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}
.m-mentor-howto.is-compact {
  padding: 0;
}
.m-mentor-howto-line {
  margin: 0;
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.4;
}
.m-mentor-howto-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.m-mentor-howto ol {
  margin: 10px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--color-fg);
}
.m-mentor-howto-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.45;
}

.m-mentor-toggle {
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.m-mentor-toggle.is-on {
  border-color: color-mix(in oklab, var(--color-accent) 50%, var(--color-border));
  background: color-mix(in oklab, var(--color-accent) 18%, transparent);
  color: var(--color-fg);
}
.m-pick-k .m-stamp { margin-left: 8px; vertical-align: middle; }
.m-section.is-accent .m-section-t { letter-spacing: 0.04em; }

.m-score-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, var(--color-accent) 35%, var(--color-border));
  background: color-mix(in oklab, var(--color-accent) 10%, var(--color-surface));
  font-size: 13px;
  color: var(--color-muted);
}
.m-score-progress strong {
  color: var(--color-fg);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}
.m-score-bar {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent); /* teal scan — never gold TAKE chrome */
  animation: m-score-pulse 1.6s ease-in-out infinite;
}
@keyframes m-score-pulse {
  /* c41: opacity-only — feed/progress never invents TAKE */
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* —— Sure % tick + desk cleanup (2026-09-17) —— */
.m-sure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 7px 2px 4px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-border) 70%, transparent);
  background: color-mix(in oklab, var(--color-raised) 70%, transparent);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  color: var(--color-muted);
  vertical-align: middle;
}
.m-sure em {
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--color-fg);
}
.m-sure-meter {
  display: inline-block;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--color-border) 80%, transparent);
  overflow: hidden;
}
.m-sure-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--color-hold);
}
/* Cycle-13 trim: never grade-green / success fill on sure% meter */
.m-sure-meter { display: none; }
.m-sure.is-md {
  padding: 3px 9px 3px 5px;
  font-size: 12px;
}
.m-sure.is-md .m-sure-meter { width: 36px; height: 5px; }
.m-sure-legend {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--color-subtle);
  letter-spacing: 0.02em;
}
.m-pick-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.m-call-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.m-card-prime {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 4px 0 0;
}
.m-card-prime .m-card-px { margin: 0; }
.m-card-side {
  margin-left: 2px;
  padding: 1px 7px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
}
/* cycle-24: orphan .m-card-side is-buy/is-sell paint deleted — mute + is-long/is-short/is-hold tokens */
.m-hud.is-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 6px;
}
.m-mentor-rules-disclosure {
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-muted);
}
.m-mentor-rules-disclosure > summary {
  cursor: pointer;
  list-style: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--color-subtle);
}
.m-mentor-rules-disclosure > summary::-webkit-details-marker { display: none; }
.m-mentor-rules-disclosure > summary::before {
  content: "▸ ";
  color: var(--color-accent);
}
.m-mentor-rules-disclosure[open] > summary::before { content: "▾ "; }
.m-mentor-rules-disclosure .m-mentor-rules {
  margin-top: 8px;
}
.m-mentor-strip {
  padding: 10px 12px;
  border-radius: 14px;
}
.m-active-tape button {
  gap: 6px 8px;
}
.m-active-tape .m-sure {
  padding: 1px 5px 1px 3px;
  font-size: 10px;
}
.m-active-tape .m-sure-meter { width: 20px; height: 3px; }
.m-tf button,
.m-filter button {
  height: 34px;
  min-width: 36px;
  padding: 0 10px;
  font-size: 12px;
}
.m-pair-card {
  padding: 12px;
}
.m-desk-call {
  display: grid;
  gap: 10px;
}

/* —— Glass window desk + memorable brand (2026 polish) —— */
.crypto-shell {
  --glass: color-mix(in oklab, var(--color-surface) 55%, transparent);
  --glass-strong: color-mix(in oklab, var(--color-surface) 72%, transparent);
  --glass-edge: color-mix(in oklab, white 18%, transparent);
  --glass-glow: color-mix(in oklab, var(--color-accent) 12%, transparent); /* cycle-22: never gold */
}
.m-desk {
  border-radius: 28px;
  border: 1px solid color-mix(in oklab, var(--color-accent) 28%, var(--glass-edge));
  background:
    linear-gradient(165deg, color-mix(in oklab, white 8%, transparent), transparent 42%),
    var(--glass);
  backdrop-filter: none; /* cycle-18 purge dead 22–32px blur */
  -webkit-backdrop-filter: none; /* cycle-18 purge dead 22–32px blur */
  box-shadow: inset 0 1px 0 var(--glass-edge), 0 0 0 1px color-mix(in oklab, var(--color-accent) 10%, transparent); /* c37 desk float diet */
}
.m-chrome {
  padding: 16px 18px 10px;
  border-bottom: 1px solid color-mix(in oklab, white 8%, transparent);
  background:
    linear-gradient(180deg, color-mix(in oklab, white 7%, transparent), transparent);
  border-radius: 28px 28px 0 0;
}
@media (min-width: 768px) {
  .m-chrome { padding: 18px 26px 12px; }
}
.m-chrome-brand { gap: 14px; }
.m-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in oklab, var(--color-bg) 40%, transparent);
  box-shadow: 0 0 0 1px color-mix(in oklab, #22d3ee 30%, transparent);
}
.m-mark-svg { display: block; filter: none; } /* cycle-22/27: no buy glow */
.m-brand-lockup { min-width: 0; }
.m-brand-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.m-brand-title {
  margin: 0;
  font-family: var(--font-display), ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--color-fg);
  text-transform: none;
}
.m-brand-tag {
  margin: 4px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--color-fg) 78%, #2dd4bf); /* cycle-26: teal mute */
}
.m-brand-sub {
  margin: 2px 0 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  background: color-mix(in oklab, var(--color-bg) 45%, transparent);
  backdrop-filter: blur(var(--cf-blur-chrome, 8px));
  -webkit-backdrop-filter: blur(var(--cf-blur-chrome, 8px));
}
.m-desk-rail {
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, white 12%, var(--color-border));
  background: color-mix(in oklab, var(--color-bg) 35%, transparent);
  backdrop-filter: none; /* cycle-18: rail opaque */
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 10%, transparent);
}
.m-pair-card {
  border-radius: 20px;
  background:
    linear-gradient(165deg, color-mix(in oklab, white 6%, transparent), transparent 40%),
    color-mix(in oklab, var(--color-surface) 92%, #071410);
  backdrop-filter: none; /* cycle-18: cards opaque */
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 10%, transparent); /* cycle-36: hairline — drop outer float */
}

/* —— Money / crypto wallpaper depth —— */
.crypto-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 88%, color-mix(in oklab, #2dd4bf 10%, transparent), transparent 28%),
    radial-gradient(circle at 92% 18%, color-mix(in oklab, #22d3ee 12%, transparent), transparent 30%),
    linear-gradient(180deg, transparent 55%, color-mix(in oklab, var(--color-bg) 72%, transparent));
}
.crypto-shell > * { position: relative; z-index: 1; }
.m-desk::after {
  content: "₿  ·  Ξ  ·  $  ·  tape";
  position: absolute;
  right: 22px;
  bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: color-mix(in oklab, #2dd4bf 40%, var(--color-subtle)); /* cycle-23: ambient ≠ gold TAKE */
  opacity: 0.4;
  pointer-events: none;
}
/* cycle-26: brand-tag::after gold purged; content:none lives on glass brand */

/* —— Ultimate money-glass trading desk (2026-09-24) —— */
.crypto-shell {
  --glass: color-mix(in oklab, #0a1812 48%, transparent);
  --glass-strong: color-mix(in oklab, #0c1c15 68%, transparent);
  --glass-edge: color-mix(in oklab, white 22%, transparent);
  --glass-glow: color-mix(in oklab, #2dd4bf 14%, transparent); /* cycle-22: teal mute — gold only TAKE */
  --gold: #fbbf24;
  --gold-hot: #f59e0b;
  --teal: #2dd4bf;
  background-image:
    radial-gradient(1100px 560px at 12% -8%, color-mix(in oklab, #2dd4bf 10%, transparent), transparent 58%),
    radial-gradient(980px 520px at 88% 6%, color-mix(in oklab, #2dd4bf 14%, transparent), transparent 56%),
    linear-gradient(180deg, color-mix(in oklab, var(--color-bg) 18%, transparent) 0%, color-mix(in oklab, var(--color-bg) 55%, transparent) 55%, var(--color-bg) 92%),
    url("/money-mesh.svg"),
    url("/hex.svg"),
    url("/bg-crypto-money.png");
  background-size: auto, auto, auto, 380px 320px, 180px 156px, cover;
  background-position: center, center, center, 6% 78%, center, center top;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat, no-repeat;
}
.crypto-shell::before {
  background:
    radial-gradient(circle at 10% 90%, color-mix(in oklab, #2dd4bf 10%, transparent), transparent 32%),
    radial-gradient(circle at 94% 14%, color-mix(in oklab, #2dd4bf 12%, transparent), transparent 34%),
    linear-gradient(180deg, transparent 48%, color-mix(in oklab, var(--color-bg) 58%, transparent));
  opacity: 0.95;
}

.m-desk {
  margin: 14px auto 56px;
  width: min(100% - 20px, 90rem);
  border-radius: 32px;
  border: 1px solid color-mix(in oklab, var(--color-border) 85%, transparent); /* cycle-20: desk shell ≠ TAKE gold */
  background:
    linear-gradient(155deg, color-mix(in oklab, white 10%, transparent), transparent 38%),
    linear-gradient(180deg, color-mix(in oklab, var(--teal) 4%, transparent), transparent 30%),
    var(--glass);
  backdrop-filter: none; /* cycle-18 purge dead 22–32px blur */
  -webkit-backdrop-filter: none; /* cycle-18 purge dead 22–32px blur */
  box-shadow: inset 0 1px 0 var(--glass-edge); /* c37 desk float diet */
  overflow: clip;
}
.m-desk::after {
  content: "₿  ·  Ξ  ·  $  ·  tape";
  right: 28px;
  bottom: 16px;
  color: color-mix(in oklab, var(--color-subtle) 90%, var(--color-muted));
  opacity: 0.32;
}

.m-chrome.is-rail {
  position: relative;
  top: auto;
  z-index: 1;
  padding: 16px 18px 12px;
  border-bottom: 1px solid color-mix(in oklab, white 10%, transparent);
  background:
    linear-gradient(180deg, color-mix(in oklab, white 9%, transparent), color-mix(in oklab, var(--glass-strong) 88%, transparent));
  /* c39: blur path → c38 fold only */
  border-radius: 32px 32px 0 0;
}
@media (min-width: 768px) {
  .m-chrome.is-rail { padding: 18px 26px 14px; }
}

.m-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in oklab, var(--color-bg) 45%, transparent);
  box-shadow:
    0 0 0 1px color-mix(in oklab, #22d3ee 35%, transparent);
}
.m-mark-svg { filter: none; } /* cycle-22: static mute — no glow */

.m-brand-title {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem); font-weight: 650; letter-spacing: -0.025em;
  text-shadow: none; /* c40: brand ≤650 — ≠ Desk Call / ≠ win-rate */
}
.m-brand-feel {
  /* cycle-34: teal/cyan mute clip only — never #34d399 mint / win-rate green; never gold Desk Call twin */
  background: linear-gradient(115deg, #2dd4bf 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600; /* c39: brand-feel ≤600 — ≠ Desk Call / ≠ win-rate */
  filter: none;
}
.m-brand-tag {
  margin: 5px 0 0;
  font-size: 13px;
  letter-spacing: 0.035em;
  color: color-mix(in oklab, var(--color-fg) 82%, var(--color-muted));
}
.m-brand-tag::after { content: none; } /* tagline carries ₿ markets inline */
.m-brand-sub {
  color: color-mix(in oklab, var(--color-muted) 90%, var(--teal));
}

.m-live {
  border-color: color-mix(in oklab, #22d3ee 35%, var(--color-border));
  background: color-mix(in oklab, var(--color-bg) 70%, transparent);
  box-shadow: none;
}
.m-live-on {
  color: color-mix(in oklab, #22d3ee 78%, var(--color-fg));
  border-color: color-mix(in oklab, #22d3ee 50%, var(--color-border));
  text-shadow: none;
}

.m-chrome-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.m-chrome-actions-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Mentor ↔ Risky premium slider */
.m-mode-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 4px 0 12px;
}
.m-mode-slider {
  display: grid;
  grid-template-columns: auto minmax(88px, 160px) auto;
  align-items: center;
  gap: 8px 10px;
  width: min(100%, 420px);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  background: color-mix(in oklab, var(--color-surface) 88%, #071410);
  box-shadow: none;
}
.m-mode-end {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.m-mode-end:hover { color: var(--color-fg); }
.m-mode-end:focus-visible {
  outline: 2px solid #22d3ee; /* cycle-19: mode/focus ≠ TAKE gold */
  outline-offset: 2px;
}
.m-mode-end.is-mentor.is-on {
  color: color-mix(in oklab, var(--teal) 70%, var(--color-fg));
  background: color-mix(in oklab, var(--teal) 14%, transparent);
  border-color: color-mix(in oklab, var(--teal) 50%, var(--color-border));
  box-shadow: none;
}
.m-mode-end.is-risky.is-on {
  /* Cycle-26: RISK amber family — never TAKE #fbbf24 gold twin; never lowers TAKE floor */
  color: color-mix(in oklab, #d4a574 78%, var(--color-fg));
  background: color-mix(in oklab, #d4a574 12%, transparent);
  border-color: color-mix(in oklab, #d4a574 55%, var(--color-border));
  box-shadow: none;
}
.m-mode-ico { font-size: 12px; opacity: 0.85; }
/* Cycle-20: continuum dial purged — ends-only aria-pressed; no Mentor→Risky gold track */
.m-mode-track,
.m-mode-fill,
.m-mode-thumb {
  display: none !important;
}
.m-mode-hint {
  grid-column: 1 / -1;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtle);
  text-align: center;
}
.m-feed-status {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, white 10%, var(--color-border));
  background: color-mix(in oklab, var(--color-bg) 35%, transparent);
}

.m-desk-rail {
  gap: 8px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid color-mix(in oklab, white 14%, var(--color-border));
  background: color-mix(in oklab, var(--color-bg) 38%, transparent);
}
.m-desk-tools-btn {
  /* Cycle-29: cyan/teal tool chrome — never TAKE gold */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin-left: auto;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, #22d3ee 35%, var(--color-border));
  background: color-mix(in oklab, #2dd4bf 10%, transparent);
  color: var(--color-fg);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.m-desk-tools-btn:hover {
  background: color-mix(in oklab, #22d3ee 14%, transparent);
}
.m-desk-tools-btn:focus-visible {
  outline: 2px solid #22d3ee; /* cycle-19: mode/focus ≠ TAKE gold */
  outline-offset: 2px;
}
.m-desk-tools-btn.is-open {
  border-color: color-mix(in oklab, var(--teal) 45%, var(--color-border));
  background: color-mix(in oklab, var(--teal) 14%, transparent);
}
.m-desk-tools-chev { transition: transform 0.18s ease; }
.m-desk-tools-chev.is-open { transform: rotate(180deg); }
.m-desk-tools {
  display: none;
  padding-top: 8px;
  border-top: 1px solid color-mix(in oklab, white 8%, transparent);
}
.m-desk-tools.is-open {
  display: grid;
  align-self: stretch;
  width: 100%;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: 10px;
  align-items: start;
}
.m-desk-tools .m-rail-block {
  width: auto;
  max-width: none;
  height: auto;
}
@media (max-width: 979px) {
  .m-desk-tools.is-open {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .m-desk-tools.is-open {
    grid-template-columns: minmax(0, 1fr);
  }
}
.m-desk-tools[hidden] { display: none !important; }
.m-desk-tools.is-open[hidden] { display: flex !important; }

/* Pair glass tiles — scannable stamps + sure chips */
.m-pair-card {
  border-radius: 22px;
  border: 1px solid color-mix(in oklab, white 14%, var(--color-border));
  background:
    linear-gradient(165deg, color-mix(in oklab, white 8%, transparent), transparent 42%),
    color-mix(in oklab, var(--color-surface) 52%, transparent);
  backdrop-filter: none; /* cycle-18 purge pair glass */
  -webkit-backdrop-filter: none;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 12%, transparent); /* cycle-36: flat/hairline — hover teal lift stays */
  color: var(--color-fg);
  background: color-mix(in oklab, var(--color-surface) 94%, #071410);
}
.m-pair-card:hover {
  /* Cycle-29: accent/teal lift — never gold border invent TAKE */
  border-color: color-mix(in oklab, #22d3ee 28%, var(--color-border));
  background:
    linear-gradient(165deg, color-mix(in oklab, white 11%, transparent), transparent 44%),
    color-mix(in oklab, var(--color-raised) 62%, transparent);
}
.m-pair-card:focus-within {
  outline: 2px solid color-mix(in oklab, var(--teal) 70%, white);
  outline-offset: 2px;
}
.m-card-name {
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--color-fg);
  text-shadow: none; /* cycle-34: select cyan owns focus */
}
/* cycle-24: gold .m-card-side.is-buy deleted */
.m-stamp {
  min-width: 52px;
  height: 26px;
  padding: 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  box-shadow: none; /* cycle-34: kill currentColor halo — TAKE/WATCH/RISK own chrome only */
}
/* cycle-35: WATCH/RISK stamp folds → cyan/amber canon */
.m-sure {
  /* sure% ≠ gold Desk Call — tabular confidence only */
  border-color: color-mix(in oklab, var(--color-border) 75%, transparent);
  background: color-mix(in oklab, var(--color-raised) 90%, #071410);
  color: color-mix(in oklab, var(--color-fg) 88%, var(--color-muted));
  box-shadow: none;
}
.m-sure.is-high {
  /* Cycle-29: mute tabular ladder — never --gold call invent */
  border-color: color-mix(in oklab, var(--color-border) 75%, transparent);
  color: color-mix(in oklab, var(--color-fg) 90%, var(--color-muted));
  box-shadow: none;
}
.m-sure.is-mid {
  border-color: color-mix(in oklab, var(--color-border) 75%, transparent);
}
.m-sure.is-low {
  /* low lean amber-mute — never sell-red invent short */
  border-color: color-mix(in oklab, var(--color-border) 75%, transparent);
  color: color-mix(in oklab, var(--color-muted) 80%, var(--color-fg));
}
.m-sure em { color: var(--color-fg); font-weight: 600; } /* c39: ≤600 mute ladder — never gold/win-rate */

.m-news-line {
  color: color-mix(in oklab, var(--color-fg) 72%, var(--color-muted));
}
.m-news-meta { color: var(--color-subtle); letter-spacing: 0.02em; text-transform: none; } /* cycle-19: never gold */

/* Glass empty / skeleton */
/* Cycle-13 trim: empty = opaque flat (no glass/blur) — honesty empties */
.m-empty-glass,
.m-empty-flat {
  margin: 0 auto;
  max-width: 42rem;
  padding: 1.1rem 1rem;
  text-align: center;
  border-radius: 12px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  background: var(--color-surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.m-skel-card { pointer-events: none; min-height: 220px; }
/* Cycle-22: skeleton opaque flat — soft/no shimmer; quieter than stamps; no HOLD-wipe */
.m-skel-line,
.m-skel-chart {
  border-radius: 8px;
  background: color-mix(in oklab, var(--color-raised) 92%, #071410);
  background-image: none;
  animation: none;
  opacity: 0.9;
}
.m-skel-line.is-title { height: 18px; width: 42%; }
.m-skel-line.is-meta { height: 12px; width: 58%; margin-top: 10px; }
.m-skel-line.is-chip { height: 18px; width: 28%; margin-top: 12px; border-radius: 999px; }
.m-skel-chart { height: 120px; margin-top: 14px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) {
  .m-skel-line,
  .m-skel-chart,
  .m-mode-fill,
  .m-mode-thumb,
  .m-desk-tools-chev { animation: none; transition: none; background-image: none; }
}

/* Focus / contrast helpers on glass */
.m-desk button:focus-visible,
.m-desk a:focus-visible,
.m-desk [role="tab"]:focus-visible,
.m-desk [role="button"]:focus-visible {
  outline: 2px solid #22d3ee; /* cycle-18: cyan — never gold Desk Call */
  outline-offset: 2px;
}
.m-mentor-strip,
.m-pick-card,
.m-fresh-banner {
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  background: color-mix(in oklab, var(--color-surface) 94%, #071410);
  backdrop-filter: none; /* cycle-18: panels opaque */
  -webkit-backdrop-filter: none;
}

@media (max-width: 720px) {
  .m-mode-slider {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
  }
  .m-mode-hint { order: 4; }
  .m-desk-tools-btn { margin-left: 0; width: 100%; justify-content: center; }
  .m-desk { border-radius: 22px; margin: 8px auto 40px; width: min(100% - 12px, 90rem); }
  .m-chrome.is-rail { border-radius: 22px 22px 0 0; }
}

/* —— Track + Glossary prominence —— */
.m-chrome-pin {
  font-weight: 650;
  letter-spacing: 0.02em;
  border-width: 1.5px;
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, white 12%, transparent),
    0 0 0 1px color-mix(in oklab, var(--color-accent) 8%, transparent);
}
.m-chrome-pin.is-track {
  /* Cycle-25: cyan/tool mute — Tracker ≠ Desk Call; no gold wash */
  border-color: color-mix(in oklab, #22d3ee 45%, var(--color-border));
  background: color-mix(in oklab, #22d3ee 12%, transparent);
  color: color-mix(in oklab, #67e8f9 80%, var(--color-fg));
  text-shadow: none;
  box-shadow: none;
}
.m-chrome-pin.is-track:hover {
  background: color-mix(in oklab, #22d3ee 20%, transparent);
  border-color: color-mix(in oklab, #22d3ee 65%, var(--color-border));
  color: color-mix(in oklab, #a5f3fc 90%, white);
  text-shadow: none;
}
.m-chrome-pin.is-glossary {
  border-color: color-mix(in oklab, #22d3ee 50%, var(--color-border));
  background: color-mix(in oklab, #22d3ee 14%, transparent);
  color: color-mix(in oklab, #a5f3fc 90%, white);
  text-shadow: none; /* cycle-34: cyan border/fill only */
}
.m-chrome-pin.is-glossary:hover {
  background: color-mix(in oklab, #22d3ee 24%, transparent);
  border-color: color-mix(in oklab, #22d3ee 70%, var(--color-border));
  color: #fff;
}
.m-chrome-pin.is-on {
  /* cycle-33: teal/cyan pressed inset — no mint bloom / ≠ win-rate green */
  border-color: color-mix(in oklab, #2dd4bf 55%, var(--color-border));
  background: color-mix(in oklab, #2dd4bf 14%, transparent);
  color: color-mix(in oklab, #67e8f9 80%, var(--color-fg));
  text-shadow: none;
  box-shadow: inset 0 1px 0 color-mix(in oklab, #2dd4bf 28%, transparent);
}

/* —— Mock fidelity: centered brand + translucent glass + stamp accents (2026-09-24) —— */
.crypto-shell {
  --glass: color-mix(in oklab, #071410 34%, transparent);
  --glass-strong: color-mix(in oklab, #0a1812 52%, transparent);
  --glass-edge: color-mix(in oklab, white 26%, transparent);
  --glass-glow: transparent; /* cycle-22: no gold glass glow */
  background-size: auto, auto, auto, 420px 360px, 200px 174px, cover;
  background-position: center, center, center, 4% 82%, 96% 12%, center top;
}

.m-desk {
  margin: 18px auto 64px;
  width: min(100% - 28px, 90rem);
  border-radius: 34px;
  border: 1px solid color-mix(in oklab, var(--color-border) 85%, transparent); /* cycle-20 demote */
  background:
    linear-gradient(155deg, color-mix(in oklab, white 12%, transparent), transparent 40%),
    linear-gradient(200deg, color-mix(in oklab, var(--teal) 6%, transparent), transparent 36%),
    var(--glass);
  backdrop-filter: none; /* cycle-18 purge dead 22–32px blur */
  -webkit-backdrop-filter: none; /* cycle-18 purge dead 22–32px blur */
  box-shadow: inset 0 1px 0 var(--glass-edge); /* c37 desk float diet */
}


/* Centered header: flanking gold pulse marks + Live top-right */
.m-chrome-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas:
    ". brand live"
    "actions actions actions";
  align-items: start;
  gap: 10px 14px;
  margin-bottom: 10px;
}
.m-chrome-brand.is-centered {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  text-align: center;
  gap: 0;
  min-width: 0;
}
.m-chrome-brand.is-centered .m-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.m-chrome-brand.is-centered .m-brand-title-row {
  justify-content: center;
  gap: 12px 14px;
}
.m-brand-crypto { color: #fff; font-weight: 600; text-shadow: none; /* c40: ≤600 — ≠ Desk Call */ }
.m-chrome-brand.is-centered .m-brand-tag,
.m-chrome-brand.is-centered .m-brand-sub {
  text-align: center;
}
.m-chrome-brand.is-centered .m-brand-tag {
  margin-top: 6px;
  max-width: 28rem;
  font-size: 13px;
  letter-spacing: 0.045em;
  color: color-mix(in oklab, var(--color-fg) 82%, #2dd4bf);
}
.m-chrome-brand.is-centered .m-brand-sub {
  margin-top: 3px;
  opacity: 0.78;
}
.m-chrome-live {
  grid-area: live;
  justify-self: end;
  align-self: start;
  margin-top: 2px;
}
.m-chrome-actions {
  grid-area: actions;
  justify-content: center;
  gap: 10px;
  padding-top: 2px;
}

/* Cycle-21: decorative gold glass/pulse purged — brand mark mute cyan, no TAKE borrow */
.m-mark.is-flank {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px color-mix(in oklab, #22d3ee 30%, transparent);
  animation: none !important;
  opacity: 1;
  transform: none;
  background: color-mix(in oklab, var(--color-bg) 55%, transparent);
}
.m-mark.is-flank .m-mark-svg {
  filter: none !important;
}

.m-live.m-chrome-live {
  padding: 5px 12px 5px 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-color: color-mix(in oklab, #22d3ee 40%, var(--color-border));
  background: color-mix(in oklab, var(--color-bg) 70%, transparent);
  backdrop-filter: blur(var(--cf-blur-chrome, 8px));
  box-shadow: none;
}

/* Cycle-20: mode shell mute — no gold sphere continuum */
.m-mode-slider {
  width: min(100%, 460px);
  padding: 9px 14px;
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  background: color-mix(in oklab, var(--color-surface) 90%, #071410);
  box-shadow: none;
}
.m-mode-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.m-mode-end.is-mentor.is-on .m-mode-ico { color: var(--teal); }
.m-mode-end.is-risky.is-on .m-mode-ico { color: color-mix(in oklab, #d4a574 85%, var(--color-fg)); /* cycle-26 */ }

/* Pair glass tiles — BUY gold+green spark · WATCH cyan · RISK red */
.m-pair-card {
  background:
    linear-gradient(165deg, color-mix(in oklab, white 9%, transparent), transparent 44%),
    color-mix(in oklab, var(--color-surface) 44%, transparent);
  backdrop-filter: none; /* cycle-18 purge pair glass */
  -webkit-backdrop-filter: none;
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent);
  background: color-mix(in oklab, var(--color-surface) 94%, #071410);
}
.m-pair-card.is-stamp-take {
  /* cycle-36: gold inset rail only — drop outer float */
  border-color: color-mix(in oklab, var(--gold) 42%, var(--color-border));
  box-shadow: inset 3px 0 0 var(--gold);
}
.m-pair-card.is-stamp-watch {
  /* WATCH is not a selected call — mute card border, no cyan inset rail */
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent);
  box-shadow: none;
}
.m-pair-card.is-stamp-risk {
  /* cycle-36: amber inset only — never TAKE gold */
  border-color: color-mix(in oklab, #d4a574 48%, var(--color-border));
  box-shadow: inset 3px 0 0 #d4a574;
}

/* cycle-24: gold-glow .m-card-side.is-buy deleted */

/* cycle-27: dup .m-stamp.is-take folded */

.m-stamp.is-take::after { content: none; } /* cycle-27: no mint glow twin */
/* cycle-35: WATCH/RISK stamp folds → cyan/amber canon */

/* Sure% outlined pills — gold / cyan / red */
.m-sure {
  border-width: 1.5px;
  background: color-mix(in oklab, var(--color-raised) 90%, #071410);
  backdrop-filter: none;
}
/* Cycle-29: glass sure high/low gold/red folded → mute ladder */
.m-sure.is-high .m-sure-meter i,
.m-sure.is-mid .m-sure-meter i,
.m-sure.is-low .m-sure-meter i { background: transparent; }
.m-sure.is-mid {
  border-color: color-mix(in oklab, var(--color-border) 75%, transparent);
  color: color-mix(in oklab, var(--color-fg) 78%, var(--color-muted));
  box-shadow: none;
}

/* Keep Track + Glossary chrome pins loud */
.m-chrome-actions .m-chrome-pin {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 13px;
}

@media (max-width: 720px) {
  .m-chrome-head {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand live"
      "actions actions";
  }
  .m-chrome-brand.is-centered { justify-self: start; align-items: flex-start; }
  .m-chrome-brand.is-centered .m-brand-lockup,
  .m-chrome-brand.is-centered .m-brand-title-row { align-items: flex-start; justify-content: flex-start; }
  .m-chrome-brand.is-centered .m-brand-tag,
  .m-chrome-brand.is-centered .m-brand-sub { text-align: left; }
  .m-chrome-actions { justify-content: flex-start; }
  .m-desk { margin: 10px auto 44px; width: min(100% - 14px, 90rem); border-radius: 24px; }
  .m-chrome.is-rail { border-radius: 24px 24px 0 0; }
}

/* —— Fluency / FPS pass (2026-09-24) — keep gold-glass, cut stacked blurs ——
   Root cause: backdrop-filter on .m-desk + sticky chrome + rail + every .m-pair-card
   (and several chrome chips) forced N× full-scene blurs on scroll/tick. One blur on
   .m-desk; cards/chrome/rail use opaque-enough glass fills. */
.crypto-shell {
  background-attachment: scroll;
  background-size: auto, auto, auto, 320px 270px, 180px 156px, cover;
}
.crypto-shell::before {
  /* fixed overlay resamples the whole viewport on scroll — pin to the shell instead */
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.m-desk {
  /* cycle-18: desk blur debt gone — opaque shell */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background:
    linear-gradient(155deg, color-mix(in oklab, white 11%, transparent), transparent 40%),
    linear-gradient(200deg, color-mix(in oklab, var(--teal) 5%, transparent), transparent 36%),
    color-mix(in oklab, #071410 72%, transparent);
  box-shadow: inset 0 1px 0 var(--glass-edge); /* c37 desk float diet */
}


.m-desk-rail {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: transparent;
}

.m-topbar {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: color-mix(in oklab, var(--color-bg) 92%, transparent);
}

.m-live,
.m-live.m-chrome-live {
  /* c37: blur token on live chrome — panels stay 0 via late fold */
  background: color-mix(in oklab, var(--color-bg) 78%, transparent);
}

/* Pair cards: gold-glass fill without per-card backdrop-filter */
.m-pair-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background:
    linear-gradient(165deg, color-mix(in oklab, white 9%, transparent), transparent 44%),
    color-mix(in oklab, var(--color-surface) 88%, transparent);
  /* Skip paint for offscreen cards during scroll */
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
  contain: layout style paint;
}
/* cycle-29: hover lift folded → teal border fold */

.m-mentor-strip,
.m-pick-card,
.m-fresh-banner,
.m-sure {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* cycle-34: empty-glass twins folded → one empty-glass */
.m-mentor-strip,
.m-pick-card,
.m-fresh-banner {
  background: color-mix(in oklab, var(--color-surface) 90%, transparent);
}
.m-sure {
  background: color-mix(in oklab, var(--color-bg) 82%, transparent);
}

html.is-idle .m-mark.is-flank,
html.is-idle .m-skel-line,
html.is-idle .m-skel-chart,
html.is-idle .m-ticker-track {
  animation: none !important; /* live-dot → c41 idle none */
}

@media (prefers-reduced-motion: reduce) {
  .m-mark.is-flank,
  .m-skel-line,
  .m-skel-chart,
  .m-score-bar,
  .m-tick-up,
  .m-tick-down,
  .m-live-on .m-live-dot,
  .m-ticker-track {
    animation: none !important;
  }
  .m-tick.is-clone { display: none !important; }
  .m-mode-fill,
  .m-mode-thumb,
  .m-desk-tools-chev {
    transition: none !important;
  }
  .m-pair-card {
    content-visibility: visible;
  }
}

/* === Lab cycle 1: stamp hierarchy + sure opacity + mute news + ATR risk === */
/* cycle-27/33: lab1 WATCH+TAKE dups folded → cyan/gold canon */
/* cycle-35: WATCH/RISK stamp folds → cyan/amber canon */
.m-stamp.is-skip {
  color: color-mix(in oklab, var(--color-subtle) 75%, transparent);
  background: transparent;
  border-color: color-mix(in oklab, var(--color-border) 55%, transparent);
  box-shadow: none;
  opacity: 0.55;
  font-weight: 500;
}

.m-sure.is-soft {
  opacity: 0.72;
}
.m-sure.is-faint {
  opacity: 0.45;
}

.m-news-line.is-mute {
  opacity: 0.72;
  font-size: 11px;
  line-height: 1.25;
  max-width: 100%;
}
.m-news-line.is-mute .m-news-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.m-atr-risk {
  /* Cycle-29: amber stop / teal aim process — never TAKE gold */
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-top: 4px;
  font-size: 11px;
  color: color-mix(in oklab, var(--color-muted) 85%, #67e8f9);
}
.m-atr-risk > span:first-child {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
  color: color-mix(in oklab, #d4a574 70%, var(--color-subtle));
}
.m-atr-risk .font-mono,
.m-atr-risk.is-inline {
  color: color-mix(in oklab, #67e8f9 55%, var(--color-fg));
  font-variant-numeric: tabular-nums;
}

/* —— Lab cycle 2: heat intensity + Risky vol-pressure strip —— */
.m-heat-wrap { min-width: 0; }
.m-heat-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin: 0 0 10px;
}
.m-heat-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 11px;
  color: var(--color-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.m-heat-legend .is-up { color: var(--color-subtle); font-weight: 550; font-variant-numeric: tabular-nums; /* cycle-34 */ }
.m-heat-legend .is-dn { color: var(--color-subtle); font-weight: 550; font-variant-numeric: tabular-nums; /* cycle-32 tip — mono owns tiles */ }
.m-heat-legend em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-muted);
}
.m-heat-legend-track {
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    color-mix(in oklab, var(--color-hold) 55%, var(--color-chart)),
    var(--color-chart),
    color-mix(in oklab, var(--color-hold) 55%, var(--color-chart))
  );
  border: 1px solid var(--color-border);
}
.m-heat[data-mono="1"] .m-heat-cell {
  /* Mono tile size — intensity via color only, not footprint */
  min-height: 88px;
  height: 88px;
  box-sizing: border-box;
}
.m-tape-stage {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
.m-tape-main {
  flex: 1 1 auto;
  min-width: 0;
}
.m-vol-pressure {
  /* Narrow side rail — no glass blur; unmount when Risky off (not rendered) */
  flex: 0 0 34px;
  width: 34px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-chart);
  /* intentionally no backdrop-filter / blur */
}
.m-vol-pressure-k {
  margin: 0;
  padding: 2px 0;
  text-align: center;
  font-size: 9px;
  font-weight: 550; /* c39: 550/600 ladder — ≠ TAKE 700 */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-subtle);
  writing-mode: horizontal-tb;
}
.m-vol-pressure-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow-y: auto;
  max-height: min(70vh, 920px);
  padding: 0 3px 4px;
  scrollbar-width: thin;
}
.m-vol-pressure-tick {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  min-height: 18px;
  border: 0;
  border-radius: 4px;
  padding: 0;
  cursor: pointer;
  /* Neutral amber intensity — never TAKE green / stamp recolor */
  background: color-mix(
    in oklab,
    #d4a574 calc(var(--vp, 0.2) * 100%),
    var(--color-chart)
  ); /* cycle-27: intensity-only RISK amber — no TAKE gold */
  color: var(--color-fg);
  opacity: calc(0.35 + var(--vp, 0.2) * 0.65);
}
.m-vol-pressure-tick:hover {
  outline: 1px solid color-mix(in oklab, #d4a574 55%, var(--color-border)); /* cycle-33: RISK amber — never TAKE-hot */
}
.m-vol-pressure-sym {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
  overflow: hidden;
  text-overflow: clip;
  max-width: 100%;
}
@media (max-width: 720px) {
  .m-tape-stage {
    flex-direction: column;
  }
  .m-vol-pressure {
    flex: 0 0 auto;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
  }
  .m-vol-pressure-k {
    writing-mode: horizontal-tb;
    flex: 0 0 auto;
  }
  .m-vol-pressure-rail {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
    overflow: visible;
    padding: 0;
    gap: 3px;
  }
  .m-vol-pressure-tick {
    width: 28px;
    height: 22px;
  }
}

/* —— Lab cycle 3: table honesty + glass-on-chrome + coach/feed mute + mode ends —— */

/* Glass only on sticky chrome; desk shell stays opaque-enough (no stacked blur). */
.m-desk {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background:
    linear-gradient(155deg, color-mix(in oklab, white 10%, transparent), transparent 40%),
    linear-gradient(200deg, color-mix(in oklab, var(--teal) 5%, transparent), transparent 36%),
    color-mix(in oklab, #071410 88%, transparent);
}

/* Heat tiles / pressure / sure — no remaining backdrop-filter; content-visibility */
.m-heat-cell,
.m-vol-pressure,
.m-vol-pressure-tick,
.m-sure {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.m-heat {
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}
.m-heat-cell {
  content-visibility: auto;
  contain-intrinsic-size: auto 88px;
  contain: layout style paint;
}

/* cycle-34: early soft-feed twin folded → mute pill rhythm */

/* MentorRiskyControl: ends only — hide continuum track/thumb */
.m-mode-slider.is-ends-only {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.m-mode-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  background: color-mix(in oklab, var(--color-raised) 88%, #071410);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--color-fg) 82%, var(--color-muted));
}
.m-mode-slider.is-ends-only .m-mode-end:focus-visible {
  outline: 2px solid #22d3ee; /* cyan — never gold Desk Call */
  outline-offset: 2px;
}

/* View tabs keyboard focus */
.m-tf button:focus-visible,
.m-tf [role="tab"]:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
}

/* Table density + sticky symbol / stamp / sure */
.m-screen.is-dense th,
.m-screen.is-dense td {
  padding: 6px 8px;
}
.m-screen.is-dense .m-stamp {
  font-size: 10px;
  padding: 2px 6px;
  letter-spacing: 0.1em;
}
.m-screen-atr .m-atr-risk.is-inline {
  display: inline;
  margin: 0;
  font-size: 11px;
  white-space: nowrap;
}
.m-stamp:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .m-heat-cell {
    content-visibility: visible;
  }
}

/* —— Lab cycle 4: BestPick TAKE-only gold + outline twins + amber RISK + mobile density —— */

/* cycle-28: lab4 take-hero dup folded → calm Desk Call below */
.m-call.is-take-hero .m-call-title .m-stamp.is-take {
  vertical-align: middle;
  margin-right: 6px;
}

/* Flat coach — opaque cycle-3 glass ban kept */
.m-call.is-flat.m-empty-coach {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: color-mix(in oklab, var(--color-surface) 96%, #071410);
  opacity: 1;
}

/* Long/Short outline twins — never gold filled Desk Call */
.m-pick.is-outline-twins .m-pick-card.is-outline {
  background: transparent;
  box-shadow: none;
  border: 1.5px solid color-mix(in oklab, var(--color-border) 85%, var(--teal));
}
.m-pick.is-outline-twins .m-pick-card.is-outline .m-stamp.is-take {
  /* Outline twin may carry TAKE stamp — not Desk Call gold hero chrome */
  box-shadow: none;
  filter: none;
}

/* Risky rail = #d4a574 soft fill only — never #f59e0b / TAKE --gold-hot twin */
.m-pick.is-risky-rail {
  border-top: 1px dashed color-mix(in oklab, #d4a574 45%, var(--color-border));
}
.m-pick.is-risky-rail .m-pick-card.is-risky-card,
.m-pick.is-risky-rail .m-pick-card.is-risky {
  border: 1.5px solid color-mix(in oklab, #d4a574 55%, var(--color-border));
  background: color-mix(in oklab, #d4a574 8%, var(--color-chart));
  box-shadow: inset 3px 0 0 #d4a574;
}
.m-pick.is-risky-rail .m-pick-card .m-stamp.is-take {
  /* Never paint TAKE chrome on Risky rail; RISK 28–49 when Risky on; TAKE floor unchanged */
  display: none;
}

.m-risky-note {
  color: color-mix(in oklab, #d4a574 72%, var(--color-muted)); /* cycle-26 RISK amber */
}

/* Card row 1: stamp + sure + ATR — scannable */
.m-card-row1 {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.m-card-row1-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  padding-top: 2px;
}
.m-card-prime.is-stamp-sure-atr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 4px 0 0;
}
.m-card-more {
  margin-top: 8px;
  border-top: 1px solid color-mix(in oklab, var(--color-border) 70%, transparent);
  padding-top: 4px;
}
.m-card-more-sum {
  cursor: pointer;
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-subtle);
  padding: 4px 0;
  user-select: none;
}
.m-card-more-sum::-webkit-details-marker { display: none; }
.m-card-more-sum::before { content: "▸ "; }
.m-card-more[open] > .m-card-more-sum::before { content: "▾ "; }
.m-card-more-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 0 2px;
}

/* No blur on card bodies (cycle-3 glass ban extended) */
.m-pair-card,
.m-pair-card .m-card-more-body,
.m-pick-card,
.m-call {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Scan button loading clarity */
.m-scan-btn.is-scanning {
  /* Cycle-28: accent/teal wait — never Desk Call gold */
  opacity: 0.72;
  cursor: wait;
  box-shadow: inset 0 0 0 1px color-mix(in oklab, #2dd4bf 45%, transparent);
}
.m-scan-btn:disabled {
  pointer-events: none;
}

/* Soft venue/delayed chip — mute, never freezes scan (kept from c3; reinforce) */
.m-fresh-banner.is-mute.is-soft-feed {
  opacity: 0.55;
  pointer-events: none;
}

/* Chrome tools collapse */
.m-chrome-tools {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}
.m-chrome-tools-sum {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: color-mix(in oklab, var(--color-surface) 80%, transparent);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.m-chrome-tools-sum::-webkit-details-marker { display: none; }
.m-chrome-tools[open] > .m-chrome-tools-sum {
  /* Cycle-29: teal open tool — never Desk Call gold */
  border-color: color-mix(in oklab, #22d3ee 45%, var(--color-border));
  color: color-mix(in oklab, #67e8f9 70%, var(--color-fg));
  background: color-mix(in oklab, #22d3ee 10%, transparent);
}
.m-chrome-tools .m-chrome-actions-more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-raised);
  box-shadow: none;
}

/* Narrow: sticky Mentor↔Risky + View + Live; tighten chrome so cards stay scannable */
@media (max-width: 720px) {
  .m-chrome.is-rail {
    padding: 8px 10px 8px;
    gap: 6px;
  }
  .m-chrome-inner { gap: 6px; }
  .m-chrome-brand.is-centered .m-brand-tag,
  .m-chrome-brand.is-centered .m-brand-sub { display: none; }
  .m-chrome-brand.is-centered .m-brand-title { font-size: 18px; }
  .m-chrome-brand.is-centered .m-mark-svg { width: 26px; height: 26px; }
  .m-chrome-head {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand live"
      "actions actions";
    gap: 6px 8px;
    align-items: center;
  }
  .m-chrome-brand { grid-area: brand; }
  .m-chrome-live { grid-area: live; justify-self: end; }
  .m-chrome-actions {
    grid-area: actions;
    gap: 6px;
  }
  .m-mode-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 0;
  }
  .m-mode-slider.is-ends-only {
    gap: 6px;
  }
  .m-mode-end {
    height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }
  .m-feed-status {
    font-size: 10px;
    flex: 1 1 100%;
  }
  .m-desk-rail {
    gap: 6px;
  }
  .m-rail-row.is-primary {
    gap: 6px;
  }
  /* Prefer View tabs visible; denser TF */
  .m-tf button,
  .m-tf [role="tab"] {
    min-height: 30px;
    padding: 0 8px;
    font-size: 11px;
  }
  .m-pair-card {
    padding: 10px;
  }
  .m-card-more-sum {
    font-size: 10px;
  }
  .m-chrome-tools .m-chrome-actions-more {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 40;
    min-width: min(280px, 86vw);
    /* c39: raised+border only — never CTA float over WATCH/RISK */
    background: var(--color-raised);
    border: 1px solid var(--color-border);
    box-shadow: none;
  }
}

@media (min-width: 721px) {
  /* Wide: tools details still fine; actions-more lays inline when open */
  .m-chrome-tools .m-chrome-actions-more {
    position: static;
  }
}

/* —— Lab cycle 4 GUI polish: rhythm · stamp chroma · chrome contrast · hero · expand —— */

/* Clearer stamp chroma: gold TAKE / cyan WATCH / amber RISK (no blur) */
/* cycle-27: lab4 TAKE dup folded → gold canon */
.m-stamp.is-watch {
  /* Cycle-35: WATCH 600 + inset chrome; soft veto demotes stamp only */
  color: #67e8f9; background: color-mix(in oklab, #022c36 55%, transparent);
  border: 1.5px solid color-mix(in oklab, #22d3ee 70%, var(--color-border));
  box-shadow: none; font-weight: 600; letter-spacing: 0.12em;
}
/* cycle-25: .m-stamp.is-risk folded → muted amber canon */
.m-stamp.is-skip {
  color: color-mix(in oklab, var(--color-subtle) 80%, transparent);
  background: transparent;
  border-color: color-mix(in oklab, var(--color-border) 50%, transparent);
  opacity: 0.5;
  font-weight: 500;
}

/* BestPick hero weight */
.m-call.is-take-hero {
  padding: 16px 18px 12px;
}
.m-call.is-take-hero .m-call-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.m-call.is-take-hero .m-atr-risk {
  margin-top: 8px;
  font-size: 12px;
}

/* Outline twins — lighter vertical footprint */
.m-pick.is-outline-twins {
  gap: 8px;
}
.m-pick.is-outline-twins .m-pick-card {
  padding: 10px 12px;
}
.m-pick.is-outline-twins .m-pick-k {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.m-pick.is-outline-twins .m-pick-name {
  font-size: 18px;
  margin: 2px 0 0;
}

/* Empty / flat typography — honest, opaque, readable */
.m-call.is-flat .m-call-title,
.m-empty-coach .m-call-title,
.m-empty-glass h3,
.m-pick-card.is-empty .m-pick-empty {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  line-height: 1.35;
}
.m-call.is-flat .m-call-why,
.m-empty-coach .m-call-why,
.m-pick-empty {
  font-size: 13px;
  line-height: 1.45;
  color: color-mix(in oklab, var(--color-muted) 92%, var(--color-fg));
}
.m-call.is-flat .m-call-title {
  font-size: 18px;
  font-weight: 650;
  color: color-mix(in oklab, var(--color-fg) 88%, var(--color-hold));
}


/* Tighter vertical rhythm — desk stack */
.m-desk-call { gap: 8px; margin: 0 0 2px; }
.m-desk-rail { gap: 6px; }
.m-mode-row { margin: 2px 0 4px; gap: 6px 10px; }
.m-fresh-banner.is-mute.is-soft-feed { margin: 0 0 6px; padding: 3px 9px; }
.m-pair-card { padding: 10px 12px; }
.m-card-row1 { gap: 6px; }
.m-card-prime.is-stamp-sure-atr { margin: 2px 0 0; gap: 4px 8px; }
.m-card-sub { margin: 2px 0 0; }
.m-atr-risk { margin-top: 2px; gap: 4px 8px; }
.m-chart-grid { gap: 10px; }

/* Mobile card expand affordance */
.m-card-more-sum {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 10px;
  margin-top: 2px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, var(--teal));
  background: color-mix(in oklab, var(--color-surface) 88%, #071410);
  color: color-mix(in oklab, var(--color-muted) 85%, var(--teal));
  font-weight: 650;
}
.m-card-more-sum:hover {
  color: var(--color-fg);
  border-color: color-mix(in oklab, #22d3ee 45%, var(--color-border));
}
.m-card-more-sum:focus-visible {
  outline: 2px solid #22d3ee; /* cyan — never gold Desk Call */
  outline-offset: 2px;
}
.m-card-more-sum::before { content: none; } /* replaced by ico */
.m-card-more-ico {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.m-card-more[open] > .m-card-more-sum {
  border-color: color-mix(in oklab, #22d3ee 48%, var(--color-border));
  color: color-mix(in oklab, #67e8f9 70%, var(--color-fg));
  background: color-mix(in oklab, #22d3ee 10%, transparent);
}
.m-card-more[open] > .m-card-more-sum .m-card-more-ico {
  transform: rotate(180deg);
}

@media (max-width: 720px) {
  .m-desk-call { gap: 6px; }
  .m-call.is-take-hero { padding: 12px 12px 10px; }
  .m-call.is-take-hero .m-call-title { font-size: 20px; }
  .m-pick.is-outline-twins .m-pick-card { padding: 8px 10px; }
  .m-card-more-sum {
    width: 100%;
    justify-content: center;
    min-height: 36px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .m-card-more-ico { transition: none; }
}

/* —— Ship Desk cycle 5: blur diet · Desk Call calm · sure% mute · selection ≠ TAKE · Heat · mute pills —— */

/* P0 — Frost ONLY on sticky chrome + Mentor↔Risky. Kill 22–32px shell glass. */
.m-desk,
.m-desk-body,
.m-desk-rail,
.m-workspace,
.m-section,
.m-pair-card,
.m-pick-card,
.m-call,
.m-heat-wrap,
.m-heat-cell,
.m-alert-stack,
.m-alert-card,
.m-sure {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.m-desk {
  background:
    linear-gradient(155deg, color-mix(in oklab, white 8%, transparent), transparent 40%),
    linear-gradient(200deg, color-mix(in oklab, var(--teal) 4%, transparent), transparent 36%),
    color-mix(in oklab, #071410 92%, transparent);
}
.m-workspace {
  background: color-mix(in oklab, var(--color-surface) 96%, #071410);
  border-color: color-mix(in oklab, var(--color-border) 85%, var(--teal));
  box-shadow: none; /* cycle-36: never gold inset hero / never float twin Desk Call */
}
.m-pair-card {
  background:
    linear-gradient(165deg, color-mix(in oklab, white 6%, transparent), transparent 44%),
    color-mix(in oklab, var(--color-surface) 94%, #071410);
}

/* P0 — Desk Call calm: inset 3px gold rail only; stamp + sure% own the call */
.m-call.is-take-hero {
  border-color: color-mix(in oklab, var(--gold) 42%, var(--color-border));
  background:
    linear-gradient(135deg, color-mix(in oklab, #fde68a 4%, transparent), transparent 52%),
    color-mix(in oklab, var(--color-chart) 96%, #071410);
  box-shadow: inset 3px 0 0 var(--gold); /* cycle-33: drop outer 0 0 14px bloom */
}
.m-call.is-take-hero .m-call-k {
  letter-spacing: 0.14em;
  font-weight: 700;
  color: color-mix(in oklab, var(--gold) 72%, var(--color-fg));
}
/* Cycle-24: Desk Call kicker ≠ side heroes — gold or mute lean; stamp + sure% own the call */
.m-call.is-take-hero.is-buy .m-call-k {
  color: color-mix(in oklab, var(--gold) 72%, var(--color-fg));
}
.m-call.is-take-hero.is-sell .m-call-k {
  color: color-mix(in oklab, var(--gold) 72%, var(--color-fg));
}
.m-call.is-take-hero .m-call-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 650;
  letter-spacing: 0.03em;
}
.m-call.is-flat.m-empty-coach,
.m-call.is-flat {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: color-mix(in oklab, var(--color-surface) 97%, #071410);
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  box-shadow: none;
  opacity: 1;
}
.m-call.is-flat .m-call-k {
  color: var(--color-subtle);
  font-weight: 600;
}
.m-call.is-flat .m-call-title {
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in oklab, var(--color-fg) 82%, var(--color-hold));
}

/* P0 — sure% mute: tabular opacity ladder only — no green fill, no checkmark, no progress bar */
.m-sure-meter {
  display: none !important;
}
.m-stamp.is-take::after {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
}
.m-sure {
  border: 1px solid color-mix(in oklab, var(--color-border) 75%, transparent);
  background: color-mix(in oklab, var(--color-raised) 88%, #071410);
  color: color-mix(in oklab, var(--color-fg) 88%, var(--color-muted));
  box-shadow: none !important;
  font-variant-numeric: tabular-nums;
  opacity: 1;
}
.m-sure em {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: inherit;
  letter-spacing: 0.02em;
}
/* cycle-29: c5 sure ladder folded */

/* cycle-36: c5 stamp :not(.is-on) 0 8px 22px float folded → inset rail (mid+late) */
.m-pair-card:focus-visible,
.m-pair-hit:focus-visible,
.m-heat-cell:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
}

/* P1 — Heat: mono intensity, quiet borders, stamp-free (no action paint) */
.m-heat[data-mono="1"] .m-heat-cell,
.m-heat[data-mono="1"] .m-heat-cell.is-up,
.m-heat[data-mono="1"] .m-heat-cell.is-dn,
.m-heat[data-mono="1"] .m-heat-cell.is-hold {
  border: 1px solid var(--color-border);
  box-shadow: none;
}
.m-heat[data-mono="1"] .m-heat-cell.is-up {
  background: color-mix(in oklab, var(--color-hold) calc(var(--heat, 0.35) * 55%), var(--color-chart));
}
.m-heat[data-mono="1"] .m-heat-cell.is-dn {
  background: color-mix(in oklab, var(--color-hold) calc(var(--heat, 0.35) * 55%), var(--color-chart));
}
.m-heat[data-mono="1"] .m-heat-cell.is-watch {
  box-shadow: inset 0 0 0 1px color-mix(in oklab, #22d3ee 50%, var(--color-border));
}
.m-heat-legend {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
/* cycle-34: heat-legend 650 override deleted — source 550 tabular owns tip */
.m-heat-legend .is-dn,
.m-heat-legend .is-up {
  min-width: 1.5em;
  text-align: center;
}

/* P1 — Live / venue / delayed: one mute pill rhythm (24–28px), never gold, never blocks scan */
.m-live.m-chrome-live,
.m-feed-status,
.m-fresh-banner.is-mute,
.m-fresh-banner.is-mute.is-soft-feed {
  height: 26px;
  min-height: 26px;
  max-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  background: color-mix(in oklab, var(--color-raised) 88%, #071410);
  color: var(--color-subtle);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.04em;
  box-shadow: none;
  text-shadow: none;
}
.m-fresh-banner.is-mute,
.m-fresh-banner.is-mute.is-soft-feed {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.m-live.m-chrome-live,
.m-feed-status {
  backdrop-filter: blur(var(--cf-blur-chrome, 8px)); /* c37 live+feed blur; panels 0 */
  -webkit-backdrop-filter: blur(var(--cf-blur-chrome, 8px));
}
.m-live.m-chrome-live.m-live-on {
  color: color-mix(in oklab, #22d3ee 78%, var(--color-fg));
  border-color: color-mix(in oklab, #22d3ee 45%, var(--color-border));
  text-shadow: none;
  box-shadow: none;
  background: color-mix(in oklab, #22d3ee 6%, transparent);
}
.m-live.m-chrome-live.m-live-off {
  color: var(--color-subtle);
  opacity: 0.8;
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  box-shadow: none;
}
.m-fresh-banner.is-mute.is-soft-feed {
  opacity: 0.78;
  pointer-events: none;
  max-width: max-content;
  margin: 0 0 6px;
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  background: transparent;
  box-shadow: none;
  color: var(--color-subtle);
}
.m-fresh-banner.is-mute.is-soft-feed em {
  font-style: normal;
  color: var(--color-subtle);
}
.m-feed-status {
  flex-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(100%, 28rem);
  color: var(--color-subtle);
}

/* —— Ship Desk cycle 6: section diet · skel/empty purge · workspace honesty · Heat tip · mute rails —— */

/* P0 — Section titles thin (1.05–1.2rem), less pad — more tape above the fold */
.m-section-t,
.m-desk .m-section-t,
.m-empty-coach > p:first-child,
.m-empty-flat > p:first-child,
.m-call.is-flat .m-call-title {
  font-size: 1.1rem !important;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: none;
}
@media (min-width: 768px) {
  .m-section-t,
  .m-desk .m-section-t {
    font-size: 1.15rem !important;
  }
}
.m-section,
.m-desk .m-section {
  margin: 0 0 8px;
  padding: 8px 0 6px;
}
.m-desk .m-section {
  padding: 10px 0 6px;
  border-top-color: color-mix(in oklab, var(--color-border) 70%, transparent);
}
.m-section-h,
.m-desk .m-section-h {
  margin: 0 0 8px;
  padding: 0 0 6px;
  gap: 2px;
}
.m-section-k {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--color-subtle);
  font-weight: 600;
}
.m-section.is-accent .m-section-k {
  color: color-mix(in oklab, var(--color-muted) 80%, var(--teal));
}
.m-section.is-accent .m-section-t {
  /* Quiet — never gold / neon urgency */
  color: var(--color-fg);
  letter-spacing: 0.03em;
}

/* one empty-glass — opaque flat (source ~3129 + coach title) */
.m-empty-glass,.m-empty-flat,.m-empty-coach,.m-heat-wrap.m-empty-flat,.m-workspace.m-empty-flat{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:color-mix(in oklab,var(--color-surface) 97%,#071410)!important;
  border:1px solid color-mix(in oklab,var(--color-border) 80%,transparent);box-shadow:none!important;
}
.m-empty-flat,.m-empty-coach{margin:0 auto;max-width:42rem;padding:1rem 1.1rem;text-align:center;border-radius:14px}
.m-empty-coach>p:first-child,.m-empty-flat>p.text-fg,.m-empty-flat>p:first-child{
  font-family:var(--font-display);font-size:1.1rem!important;font-weight:600;letter-spacing:0.03em;
  color:color-mix(in oklab,var(--color-fg) 88%,var(--color-muted));
}

/* P1 — Workspace honesty: dense prime row, flat teal mute — never gold Desk Call twin */
.m-workspace {
  border-color: color-mix(in oklab, var(--color-border) 85%, var(--teal));
  background: color-mix(in oklab, var(--color-surface) 97%, #071410);
  box-shadow: none; /* cycle-36: stamp + sure% + ATR in prime own the call */
}
.m-workspace .m-pro-head {
  gap: 10px 14px;
  align-items: flex-start;
}
.m-pro-kicker {
  margin: 0 0 4px;
}
.m-pro-prime.is-stamp-sure-atr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0;
}
.m-pro-pair {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.m-pro-px {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  font-size: 13px;
}
.m-pro-chg { font-size: 12px; font-weight: 600; }
.m-pro-tf { font-size: 11px; letter-spacing: 0.04em; }
.m-workspace .m-atr-risk { margin-top: 4px; }
.m-workspace .m-sure {
  /* mute audit — opacity ladder only, no success green */
  box-shadow: none !important;
  background: color-mix(in oklab, var(--color-raised) 88%, #071410);
}
/* cycle-33: workspace WATCH stamp folded → cyan canon */

/* P1 — TF/filter/size rails: one mute border; active = fill/weight only — NEVER gold */
.m-rail-block,
.m-rail-block.is-tf,
.m-rail-block.is-filter,
.m-rail-block.is-size {
  border: 1px solid color-mix(in oklab, var(--color-border) 85%, transparent);
  background: color-mix(in oklab, var(--color-chart) 88%, #071410);
  box-shadow: none;
}
.m-rail-block .m-rail-k,
.m-rail-block.is-tf .m-rail-k,
.m-rail-block.is-size .m-rail-k {
  color: var(--color-subtle);
}
.m-tf button,
.m-filter button,
.m-chart-size button,
.m-chart-tf button {
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  background: transparent;
  color: var(--color-muted);
  box-shadow: none !important;
}
.m-tf button[aria-pressed="true"],
.m-filter button[aria-pressed="true"],
.m-chart-size button[aria-pressed="true"],
.m-chart-tf button[aria-pressed="true"] {
  font-weight: 600; box-shadow: inset 0 1px 0 color-mix(in oklab, #2dd4bf 22%, transparent) !important; /* c38 */
}
.m-tf button[aria-pressed="true"], .m-chart-tf button[aria-pressed="true"] {
  background: var(--cf-tf-pressed, color-mix(in oklab, #2dd4bf 45%, var(--color-accent)));
  color: var(--color-accent-fg); border-color: var(--color-accent);
}
.m-filter button[aria-pressed="true"] {
  background: color-mix(in oklab, #22d3ee 10%, transparent);
  color: color-mix(in oklab, #22d3ee 75%, var(--color-fg));
  border-color: color-mix(in oklab, #22d3ee 55%, var(--color-border));
}

/* Heat: stamp+sure when present; mono owns tile */
.m-heat[data-mono="1"] .m-heat-cell .m-stamp,
.m-heat[data-mono="1"] .m-heat-cell .m-sure {
  transform: scale(0.88);
  opacity: 0.88;
  box-shadow: none !important;
  filter: none;
}
.m-heat-wrap .m-sure { box-shadow: none !important; }

/* —— Ship Desk cycle 7: Open setups stamp parity · chrome compact · alert≠TAKE · Cards S —— */

/* P0 — Open setups strip: stamp honesty, no BUY/SELL hero paint, no gold twin */
.m-active-tape {
  gap: 8px;
  margin: 0 0 4px;
}
.m-active-tape button.m-setup-chip,
.m-setup-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px 8px;
  height: auto;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-border) 85%, transparent);
  background: color-mix(in oklab, var(--color-surface) 94%, #071410);
  color: var(--color-fg);
  font-size: 12px;
  box-shadow: none;
}
.m-setup-chip.is-stamp-take {
  /* same mute frame as .m-alert-card — gold stays on .m-stamp.is-take and the Desk Call rail */
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  box-shadow: none;
  background: color-mix(in oklab, var(--color-surface) 94%, #071410);
}
.m-setup-chip.is-stamp-watch {
  border-color: color-mix(in oklab, #22d3ee 45%, var(--color-border));
  background: color-mix(in oklab, var(--color-surface) 94%, #071410);
}
.m-setup-chip.is-stamp-risk {
  /* Cycle-29: RISK amber family — never TAKE #fbbf24 */
  border-color: color-mix(in oklab, #d4a574 52%, var(--color-border));
  background: color-mix(in oklab, var(--color-surface) 94%, #071410);
}
.m-setup-chip .m-setup-sym {
  font-weight: 650;
  letter-spacing: 0.04em;
}
.m-setup-chip em {
  font-style: normal;
  color: var(--color-muted);
  font-size: 11px;
}
.m-setup-chip .m-sure {
  box-shadow: none !important;
}
/* Cycle-16 fold: orphan is-buy/is-sell on active-tape removed at source — stamp chips only */
.m-setups-empty {
  max-width: none;
  margin: 0;
  padding: 10px 12px;
  text-align: left;
  border-radius: 12px;
}
.m-setups-empty p {
  margin: 0;
  font-size: 13px !important;
  font-weight: 550 !important;
  color: color-mix(in oklab, var(--color-muted) 92%, var(--color-fg)) !important;
  letter-spacing: 0.02em !important;
  font-family: var(--font-sans) !important;
}

/* P1 — Chrome compact: brand ≤18px, pad 10/12, frost chrome-only, venue in Live pill */
.m-chrome.is-rail {
  padding: 10px 12px !important;
  /* c39: blur → c38 fold */
}
@media (min-width: 768px) {
  .m-chrome.is-rail { padding: 12px 16px !important; }
}
.m-brand-title,
.m-chrome-brand.is-centered .m-brand-title {
  font-size: 18px !important;
  line-height: 1.15;
}
.m-brand-tag {
  margin: 4px 0 0 !important;
  font-size: 11px !important;
  letter-spacing: 0.04em;
  max-width: 22rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-brand-sub { display: none !important; }
.m-live.m-chrome-live {
  max-width: min(100%, 16rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* P1 — Alerts ≠ TAKE: mute side tint, dense 1-line, no gold frame */
.m-alert-stack {
  margin: 0 0 6px;
  padding: 8px 10px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  border-radius: 12px;
  background: color-mix(in oklab, var(--color-surface) 96%, #071410);
  box-shadow: none;
}
.m-alert-stack-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.m-alert-stack-k {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-alert-clear {
  background: none;
  border: 0;
  color: var(--color-muted);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.m-alert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.m-alert-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  background: color-mix(in oklab, var(--color-raised) 92%, #071410);
  box-shadow: none !important;
}
/* cycle-23: alert is-buy/is-sell paint deleted */
.m-alert-card.is-stamp-take {
  /* stamp chip may say TAKE — card frame never gold Desk Call */
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
}
.m-alert-hit {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 8px;
  width: 100%;
  min-height: 36px;
  padding: 4px 36px 4px 10px;
  overflow: hidden;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
}
.m-alert-name {
  font-weight: 650;
  font-size: 12px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.m-alert-setup {
  font-size: 11px;
  color: var(--color-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1 1 auto;
}
.m-alert-time {
  font-size: 10px;
  color: var(--color-subtle);
  flex-shrink: 0;
  margin-left: auto;
}
.m-alert-x {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: var(--color-muted);
}

/* P1 — Cards denser: gap 8–10px; chart stays behind card-more (already in markup) */
.m-chart-grid {
  gap: 8px;
}
@media (min-width: 720px) {
  .m-chart-grid { gap: 10px; }
}
.m-pair-card .m-card-more-body .m-candles-card.is-size-S {
  height: 128px;
}

/* —— Ship Desk cycle 8: focus ≠ TAKE · lev demote · exit ATR line · sticky Table —— */

/* P0 — All focus-visible rings = cyan/teal (workspace select) — NEVER gold */
.m-desk button:focus-visible,
.m-desk a:focus-visible,
.m-desk [role="tab"]:focus-visible,
.m-desk [role="button"]:focus-visible,
.m-desk [role="listitem"]:focus-visible,
.m-pair-card:focus-visible,
.m-pair-hit:focus-visible,
.m-heat-cell:focus-visible,
.m-chart-wrap:focus-visible,
.m-mode-end:focus-visible,
.m-mode-slider.is-ends-only .m-mode-end:focus-visible,
.m-tf button:focus-visible,
.m-tf [role="tab"]:focus-visible,
.m-filter button:focus-visible,
.m-stamp:focus-visible,
.m-card-more-sum:focus-visible,
.m-desk-tools-btn:focus-visible,
.m-setup-chip:focus-visible,
.crypto-shell button:focus-visible,
.crypto-shell a:focus-visible,
.crypto-shell [role="button"]:focus-visible,
.crypto-shell [role="tab"]:focus-visible {
  outline: 2px solid #22d3ee !important;
  outline-offset: 2px;
}
/* Soft-vetoed WATCH focused stays WATCH weight — no gold TAKE promote on focus */
.m-stamp.is-watch:focus-visible,
.m-setup-chip.is-stamp-watch:focus-visible,
.m-pair-card.is-stamp-watch:focus-visible {
  outline-color: #22d3ee !important;
  box-shadow: none;
}

/* P0 — Lev demote: no hero shout, no gold, primary = outline; strong only TAKE/RISK */
.m-lev-hero {
  display: none !important;
}
.m-lev-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--color-fg);
}
.m-lev-lead,
.m-lev-note {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-muted);
}
.m-lev-suggest {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin: 10px 0 6px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, var(--color-border) 85%, transparent);
  background: color-mix(in oklab, var(--color-surface) 94%, #071410);
  box-shadow: none;
}
.m-lev-suggest-v {
  font-size: 1.15rem;
  font-weight: 650;
  color: var(--color-fg);
}
.m-lev-suggest-k {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-lev-panel.is-muted .m-lev-suggest,
.m-lev-panel.is-muted .m-lev-row {
  opacity: 0.72;
}
.m-lev-panel.is-strong .m-lev-suggest {
  border-color: color-mix(in oklab, var(--color-border) 70%, var(--teal));
}
.m-lev-row {
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent);
  background: color-mix(in oklab, var(--color-chart) 90%, #071410);
  box-shadow: none;
}
.m-lev-row.is-on.is-long,
.m-lev-row.is-on.is-short {
  /* outline weight — never gold fill */
  border-color: color-mix(in oklab, var(--color-border) 55%, var(--teal));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--teal) 25%, transparent);
}
.m-lev-row.is-muted {
  opacity: 0.7;
}
.m-lev-chip.is-primary {
  font-weight: 600; /* c39: lev primary ≤600 — ≠ TAKE */
  border: 1px solid color-mix(in oklab, var(--color-border) 60%, var(--teal));
  border-radius: 999px;
  padding: 2px 8px;
  background: transparent;
  box-shadow: none;
}
.m-lev-chip.is-muted {
  opacity: 0.7;
  font-weight: 500;
}
.m-lev-chip.is-long,
.m-lev-chip.is-short {
  /* demote hero side color shout */
  color: color-mix(in oklab, var(--color-fg) 82%, var(--color-muted));
}
.m-lev-verdict.is-ok,
.m-lev-verdict.is-fit {
  color: color-mix(in oklab, var(--color-muted) 70%, var(--teal));
}
.m-lev-presets button[aria-pressed="true"] {
  background: color-mix(in oklab, var(--color-raised) 92%, var(--color-fg));
  color: var(--color-fg);
  border-color: color-mix(in oklab, var(--color-border) 70%, var(--teal));
  box-shadow: none;
}

/* P1 — Exit compact = Cards ATR risk line; prose not a green win-rate CTA */
.m-exit-compact {
  margin: 4px 0 0;
  font-size: 11px;
  color: color-mix(in oklab, var(--color-muted) 85%, #67e8f9);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.m-exit-compact-k {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
  color: color-mix(in oklab, #d4a574 70%, var(--color-subtle));
}
.m-exit-compact-k:nth-of-type(2) {
  color: color-mix(in oklab, #67e8f9 65%, var(--color-subtle));
}
.m-exit .m-exit-lvls b {
  color: var(--color-fg);
  font-weight: 650;
}
.m-exit .m-exit-lvls span {
  color: var(--color-muted);
}
/* Kill green “success target” paint that reads as win rate */
.m-exit .text-buy,
.m-exit-compact .text-buy {
  color: inherit;
}

/* P1 — Sticky triad: one opaque pin (sym / stamp / sure). Blur 0. No zebra bleed. No gold column wash. */
.m-screen-wrap {
  position: relative;
  max-height: min(70vh, 820px);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  background: var(--color-surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.m-screen thead th {
  position: sticky;
  top: 0;
  z-index: 4;
  font-weight: 600;
  background: var(--color-raised);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 color-mix(in oklab, var(--color-border) 80%, transparent);
}
.m-screen .m-sticky-star,
.m-screen .m-sticky-sym,
.m-screen .m-sticky-stamp,
.m-screen .m-sticky-sure {
  position: sticky;
  z-index: 2;
  background: var(--color-surface);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.m-screen thead .m-sticky-star,
.m-screen thead .m-sticky-sym,
.m-screen thead .m-sticky-stamp,
.m-screen thead .m-sticky-sure {
  z-index: 5;
  font-weight: 600;
  background: var(--color-raised);
}
.m-screen .m-sticky-star { left: 0; }
.m-screen .m-sticky-sym { left: 36px; min-width: 112px; }
.m-screen .m-sticky-stamp { left: 148px; }
.m-screen .m-sticky-sure { left: 214px; }
.m-screen tbody tr:nth-child(even) {
  background: color-mix(in oklab, var(--color-chart) 35%, transparent);
}
.m-screen tbody tr:nth-child(even) .m-sticky-star,
.m-screen tbody tr:nth-child(even) .m-sticky-sym,
.m-screen tbody tr:nth-child(even) .m-sticky-stamp,
.m-screen tbody tr:nth-child(even) .m-sticky-sure,
.m-screen tbody tr:hover .m-sticky-star,
.m-screen tbody tr:hover .m-sticky-sym,
.m-screen tbody tr:hover .m-sticky-stamp,
.m-screen tbody tr:hover .m-sticky-sure {
  /* same opaque pin — even-row / hover never bleeds through */
  background: var(--color-surface);
}

/* —— Ship Desk cycle 9: HitChip demote · news meta ≠ TAKE gold · forming quiet · ThesisKill ATR twin —— */

/* P0 — HitChip mute tabular; kill green/red success paint */
.m-hit,
.m-hit.is-up,
.m-hit.is-dn,
.m-hit.is-mute,
.m-hit.is-thin {
  color: color-mix(in oklab, var(--color-muted) 92%, var(--color-fg)) !important;
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent) !important;
  background: color-mix(in oklab, var(--color-raised) 88%, #071410);
  box-shadow: none !important;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  opacity: 0.88;
}
.m-card-more-body .m-hit {
  margin: 2px 0 4px;
  margin-left: 0;
  align-self: flex-start;
}
.m-ret.is-up,
.m-ret.is-dn,
.m-ret.is-mute,
.m-ret-compact.is-up,
.m-ret-compact.is-dn,
.m-ret-compact.is-mute {
  color: color-mix(in oklab, var(--color-muted) 90%, var(--color-fg)) !important;
  border-color: color-mix(in oklab, var(--color-border) 75%, transparent) !important;
}
.m-ret.is-up .m-ret-v,
.m-ret.is-dn .m-ret-v,
.m-ret.is-mute .m-ret-v {
  color: color-mix(in oklab, var(--color-fg) 85%, var(--color-muted)) !important;
}

/* P0 — News meta: subtle/muted only — NEVER gold; never blocks scan */
.m-news-meta {
  color: var(--color-subtle) !important;
}
.m-news-line.is-mute,
.m-news-line.is-mute.is-quiet {
  opacity: 0.72;
  pointer-events: auto;
  max-width: 100%;
}
.m-news-line.is-mute .m-news-meta {
  color: var(--color-subtle) !important;
}
.m-pair-card .m-news-line,
.m-card-more-body .m-news-line,
.m-workspace .m-news-line {
  /* Cycle-28: one-line mute clamp — never blocks scan / never TAKE chrome */
  border: 0;
  box-shadow: none;
  background: transparent;
  max-width: 100%;
  overflow: hidden;
}
.m-pair-card .m-news-line .m-news-title,
.m-card-more-body .m-news-line .m-news-title,
.m-workspace .m-news-line .m-news-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* P1 — Forming PatternWatch: outline cyan/amber text chip under ATR weight — no fill, no gold */
.m-watch.is-forming {
  margin: 4px 0 2px;
  padding: 6px 10px;
  border-radius: 10px;
  background: transparent !important;
  box-shadow: none !important;
  border: 1px solid color-mix(in oklab, var(--color-border) 75%, transparent);
}
/* Cycle-24 fold: forming watch-h mute — no is-buy/is-sell; amber ≠ TAKE gold */
.m-watch.is-forming .m-watch-h {
  color: color-mix(in oklab, var(--color-fg) 88%, var(--color-muted)) !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.m-watch.is-forming .m-watch-k {
  color: var(--color-subtle);
  font-size: 10px;
}
.m-watch.is-forming .m-watch-d {
  color: var(--color-muted);
  font-size: 11px;
}

/* P1 — ThesisKill: mono stop · tgt ATR twin; mute dead-line; no hero frame */
.m-thesis {
  margin: 6px 0 2px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.m-thesis-row.m-thesis-atr {
  margin: 0;
  display: block;
  font-size: 11px;
  color: color-mix(in oklab, var(--color-muted) 85%, #67e8f9);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.m-thesis-k {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
  color: color-mix(in oklab, #d4a574 70%, var(--color-subtle));
  font-style: normal;
}
.m-thesis-now {
  font-size: 10px;
}
.m-thesis-dead {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-subtle);
  opacity: 0.9;
}
.m-workspace .m-thesis,
.m-pro-body .m-thesis {
  /* workspace: geometry only — never a fill/CTA frame */
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* —— Ship Desk cycle 10: GradeMark mute · Agree behind expand · Tracker ≠ TAKE · command search quiet —— */

/* P0 — Grade: letter-only outline mute A–D — NO buy-green A fill; quieter than stamp/sure */
.m-grade,
.m-grade.is-mute,
.m-grade.is-a,
.m-grade.is-b,
.m-grade.is-c,
.m-grade.is-d {
  min-width: 22px;
  height: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: color-mix(in oklab, var(--color-muted) 88%, var(--color-fg)) !important;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0.78;
}
.m-card-prime .m-stamp,
.m-card-prime .m-sure {
  /* stamp + sure% louder than grade */
  opacity: 1;
}
.m-card-more-body .m-grade {
  opacity: 0.85;
  margin: 0 0 2px;
}

/* P0 — Agree/conflict mute; aligned never green-go */
.m-agree,
.m-agree.is-mute,
.m-agree-aligned,
.m-agree-lead,
.m-agree-conflict,
.m-agree-none {
  color: color-mix(in oklab, var(--color-muted) 90%, var(--color-fg)) !important;
  background: color-mix(in oklab, var(--color-raised) 88%, #071410) !important;
  border: 1px solid color-mix(in oklab, var(--color-border) 75%, transparent);
  box-shadow: none !important;
  font-weight: 550;
}
.m-agree-aligned {
  /* process note — never success green / TAKE mint */
  color: color-mix(in oklab, var(--color-muted) 90%, var(--color-fg)) !important;
  background: color-mix(in oklab, var(--color-raised) 88%, #071410) !important;
  border-color: color-mix(in oklab, var(--color-border) 75%, transparent) !important;
  box-shadow: none !important;
}
.m-agree-conflict {
  /* cycle-32: RISK amber mute tabular — never invent SELL CTA */
  color: color-mix(in oklab, #d4a574 78%, var(--color-muted)) !important;
  background: color-mix(in oklab, #d4a574 12%, transparent) !important;
  border-color: color-mix(in oklab, #d4a574 40%, var(--color-border));
  font-variant-numeric: tabular-nums;
}
.m-agree-lead {
  color: color-mix(in oklab, var(--color-muted) 90%, var(--color-fg)) !important;
  background: color-mix(in oklab, var(--color-raised) 88%, #071410) !important;
  border-color: color-mix(in oklab, var(--color-border) 75%, transparent) !important;
  box-shadow: none !important;
  font-variant-numeric: tabular-nums;
}

/* Cycle-28 fold: Track Start teal/cyan tool — stop danger mute (fold reinforces) */
.m-track-go:hover:not(:disabled) {
  background: color-mix(in oklab, #22d3ee 12%, transparent) !important;
  color: #a5f3fc !important;
}
.m-track-stop {
  /* cycle-32: amber danger mute — Start teal ≠ TAKE */
  background: color-mix(in oklab, var(--color-raised) 90%, #071410) !important;
  color: color-mix(in oklab, #d4a574 70%, var(--color-fg)) !important;
  border: 1px solid color-mix(in oklab, #d4a574 40%, var(--color-border)) !important;
  box-shadow: none !important;
  font-weight: 600;
}
.m-track-pop,
.m-track-pop.is-opaque {
  background: color-mix(in oklab, var(--color-bg) 82%, black) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.m-track-panel,
.m-track-panel.is-opaque {
  background: color-mix(in oklab, var(--color-surface) 97%, #071410) !important;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 10%, transparent); /* c37 track flat */
}

/* P1 — Command palette quiet: opaque; results = pair + stamp + sure%; hi = cyan select, never gold */
.m-search.is-opaque,
.m-search {
  background: color-mix(in oklab, var(--color-raised) 96%, #071410) !important;
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.m-search.is-on {
  border-color: color-mix(in oklab, #22d3ee 50%, var(--color-border)) !important;
  box-shadow: none !important;
}
.m-search-list {
  background: color-mix(in oklab, var(--color-surface) 98%, #071410) !important;
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 8%, transparent); /* c37 search flat */
}
.m-search-list button.m-search-hit,
.m-search-list button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  /* never gold row / synthetic TAKE chrome */
  box-shadow: none !important;
}
.m-search-list button.is-hi,
.m-search-list button:hover {
  background: color-mix(in oklab, #22d3ee 10%, var(--color-raised)) !important;
  outline: 1px solid color-mix(in oklab, #22d3ee 35%, transparent);
}
.m-search-hit .m-stamp {
  flex-shrink: 0;
}
.m-search-hit .m-sure {
  box-shadow: none !important;
}
.m-search-px {
  font-size: 11px;
  color: var(--color-muted);
}

/* —— Ship Desk cycle 11: ReturnStat ≠ win rate · FactorRow mute · movers jump · setup-tag quiet —— */

/* P0 — ReturnStat mute tabular; never success fill / primary-row win-rate promise */
.m-ret,
.m-ret.is-mute,
.m-ret-compact,
.m-ret-compact.is-mute {
  color: color-mix(in oklab, var(--color-muted) 90%, var(--color-fg)) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0;
  font-size: 11px;
}
.m-ret-v {
  font-size: 12px !important;
  font-weight: 600;
  color: color-mix(in oklab, var(--color-fg) 82%, var(--color-muted)) !important;
}
.m-ret-k,
.m-ret-m {
  color: var(--color-subtle) !important;
  font-size: 11px;
}

/* P0 — FactorRow: long/short mute cyan/amber text — kill bg-buy fills; no gold */
.m-factor-row {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in oklab, var(--color-border) 70%, transparent);
}
.m-factor-row:last-child { border-bottom: 0; }
.m-factor-bias {
  flex-shrink: 0;
  width: 1.1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--color-subtle);
}
.m-factor-row.is-long .m-factor-bias,
.m-factor-row.is-long .m-factor-label {
  color: var(--color-subtle);
}
.m-factor-row.is-short .m-factor-bias,
.m-factor-row.is-short .m-factor-label {
  color: var(--color-subtle);
}
.m-factor-row.is-neutral .m-factor-label {
  color: color-mix(in oklab, var(--color-fg) 88%, var(--color-muted));
}
.m-factor-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}
.m-factor-w {
  margin: 0;
  font-size: 11px;
  color: var(--color-subtle);
}
.m-factor-note {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-muted);
  text-wrap: pretty;
}

/* P1 — Movers: outline mute chips; chg color on % only; jump ≠ TAKE mint */
.m-mover,
.m-mover.is-up,
.m-mover.is-dn,
.m-mover.is-vol,
.m-mover.is-mute,
.m-mover.is-jump {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-border) 85%, transparent) !important;
  background: transparent !important;
  color: color-mix(in oklab, var(--color-fg) 88%, var(--color-muted)) !important;
  box-shadow: none !important;
  font-size: 12px;
}
.m-mover:hover,
.m-mover.is-jump:hover {
  border-color: color-mix(in oklab, #22d3ee 45%, var(--color-border)) !important;
  background: color-mix(in oklab, #22d3ee 8%, transparent) !important;
}
.m-mover-sym {
  font-weight: 650;
  letter-spacing: 0.04em;
  color: inherit;
}
.m-mover-chg.is-up { color: color-mix(in oklab, var(--color-muted) 70%, var(--color-hold)); font-variant-numeric: tabular-nums; }
.m-mover-chg.is-dn { color: color-mix(in oklab, var(--color-muted) 70%, var(--color-hold)); font-variant-numeric: tabular-nums; }
.m-mover-chg.is-vol { color: color-mix(in oklab, var(--color-muted) 70%, var(--color-hold)); font-variant-numeric: tabular-nums; }

/* P1 — setup-tag: 10–11px subtle, no border glow — under stamp weight, never TAKE gold */
.m-setup-tag {
  height: auto !important;
  min-height: 0;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 10px !important;
  letter-spacing: 0.03em;
  color: var(--color-subtle) !important;
  font-weight: 500;
  opacity: 0.85;
}
.m-card-sub .m-setup-tag {
  /* quieter than stamp / sure% on the card */
  order: 3;
}

/* —— Ship Desk cycle 12: footer coach compact · sure% color-mix floor · chrome scroll-shrink · RSI ≠ take —— */

/* P0 — MentorHowTo: one line + glossary; stay under Desk Call fold */
.m-mentor-howto,
.m-mentor-howto.is-compact {
  margin: 2px 0 6px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.m-mentor-howto-line {
  font-size: 12px;
  line-height: 1.35;
  color: color-mix(in oklab, var(--color-muted) 92%, var(--color-fg));
}
.m-mentor-howto-link {
  color: color-mix(in oklab, var(--color-accent) 75%, var(--color-muted));
  font-weight: 500;
}

/* P0 — AdviceDisclaimer: 12px opaque mute, pad 8/10 — no frost, no gold, no fill claims */
.m-disclaimer,
.m-disclaimer.is-compact {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  border-radius: 8px;
  background: var(--color-surface) !important; /* opaque — no frost glass */
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  color: color-mix(in oklab, var(--color-muted) 95%, var(--color-fg));
  font-size: 12px;
  line-height: 1.4;
}
.m-disclaimer strong {
  color: color-mix(in oklab, var(--color-fg) 78%, var(--color-muted));
  font-weight: 600;
}
.m-disclaimer em {
  font-style: italic;
  color: inherit;
  font-weight: 500;
}

/* Cycle-29: sure% mute ladder opacity floor + fold owns colors */
.m-sure, .m-sure.is-high, .m-sure.is-mid, .m-sure.is-soft, .m-sure.is-low, .m-sure.is-faint {
  opacity: 1 !important;
  font-variant-numeric: tabular-nums;
  box-shadow: none !important;
}
.m-sure.is-high em, .m-sure.is-mid em, .m-sure.is-soft em, .m-sure.is-low em, .m-sure.is-faint em {
  color: inherit; font-weight: 600; font-variant-numeric: tabular-nums;
}

/* P1 — Chrome scroll-shrink: title + Mentor↔Risky + Live; pad 6/8; Risky gate stays; tools stay collapsed; frost chrome-only */
.m-chrome.is-rail {
  position: relative; /* 2026-10-20 pro7: rail scrolls away with the page (Jonathan's rule) — never sticky/fixed */
  top: auto;
  z-index: 45; /* keeps chrome popovers above the desk */
  transition: padding 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.m-chrome.is-rail.is-scrolled {
  padding: 6px 8px !important;
  background: color-mix(in oklab, var(--color-surface) 92%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--color-border) 70%, transparent);
  box-shadow: none; /* c37 sticky: border+blur only — no black float; c39 blur → fold */
}
.m-chrome.is-rail.is-scrolled .m-chrome-inner {
  gap: 4px;
}
.m-chrome.is-rail.is-scrolled .m-chrome-head {
  gap: 8px;
  align-items: center;
}
.m-chrome.is-rail.is-scrolled .m-brand-tag,
.m-chrome.is-rail.is-scrolled .m-brand-sub,
.m-chrome.is-rail.is-scrolled .m-chrome-actions,
.m-chrome.is-rail.is-scrolled .m-desk-rail {
  display: none !important;
}
.m-chrome.is-rail.is-scrolled .m-feed-status,
.m-chrome.is-rail.is-scrolled .m-chrome-live,
.m-chrome.is-rail.is-scrolled .m-live.m-chrome-live {
  display: inline-flex !important;
}
.m-chrome.is-rail.is-scrolled .m-brand-title-row > :not(.m-brand-title) {
  display: none !important; /* CryptoMark flanks — title only */
}
.m-chrome.is-rail.is-scrolled .m-brand-title {
  font-size: 15px;
  line-height: 1.2;
}
.m-chrome.is-rail.is-scrolled .m-chrome-live,
.m-chrome.is-rail.is-scrolled .m-live.m-chrome-live {
  font-size: 11px;
  padding: 2px 8px;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
/* mode ends stay reachable — Mentor↔Risky never disappears */
.m-chrome.is-rail.is-scrolled .m-mode-row {
  display: flex !important;
  margin: 0;
  padding: 0;
  gap: 8px;
  align-items: center;
}
.m-chrome.is-rail.is-scrolled .m-chrome-tools[open] > .m-chrome-actions-more {
  /* tools stay collapsed when chrome is scrolled-compact */
  display: none !important;
}

.m-rsi-needle {
  background: color-mix(in oklab, var(--color-fg) 70%, var(--color-muted));
}
.m-rsi-scale,
.m-rsi-label {
  color: var(--color-subtle);
  font-size: 10px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.m-card-more .m-rsi-meter {
  /* context strip under expand — never beside stamp weight */
  max-width: 120px;
}

/* —— Ship Desk cycle 13: TfMap ≠ BUY/SELL · BarClock ≠ TAKE · override trim · sparkline mute —— */

/* Honesty tokens (preserve — stamp / sure% / Risky-gate). Do not revive grade-green or glass empties. */
:root {
  --cf-stamp-take: var(--gold);
  --cf-sure-fg: color-mix(in oklab, var(--color-fg) 90%, var(--color-muted));
  --cf-sure-soft: color-mix(in oklab, var(--color-fg) 72%, var(--color-muted));
  --cf-sure-faint: color-mix(in oklab, var(--color-muted) 70%, var(--color-fg));
  --cf-select-cyan: #22d3ee;
  --cf-spark-stroke: var(--color-muted);
}

/* P0 — TF map mute cells: L/S/—/WATCH; active = cyan select; never second gold Desk Call */
.m-tf-map.is-mute button,
.m-tf-map button {
  border: 1px solid color-mix(in oklab, var(--color-border) 85%, transparent);
  background: var(--color-raised);
  color: var(--color-muted);
  box-shadow: none;
}
.m-tf-map button.is-buy,
.m-tf-map button.is-sell,
.m-tf-map button.is-long,
.m-tf-map button.is-short,
.m-tf-map button.is-flat,
.m-tf-map button.is-watch,
.m-tf-map button.is-hold {
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent) !important;
  background: var(--color-raised) !important;
  box-shadow: none !important;
}
.m-tf-map button strong {
  color: color-mix(in oklab, var(--color-fg) 88%, var(--color-muted));
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}
.m-tf-map button.is-watch strong {
  color: color-mix(in oklab, var(--color-hold) 55%, var(--color-fg));
  font-size: 10px;
  letter-spacing: 0.06em;
}
.m-tf-map button.is-on {
  outline: 1.5px solid var(--cf-select-cyan) !important;
  outline-offset: 1px;
  border-color: color-mix(in oklab, var(--cf-select-cyan) 45%, var(--color-border)) !important;
  background: color-mix(in oklab, var(--cf-select-cyan) 6%, var(--color-raised)) !important;
  /* cyan select language — never gold TAKE */
  box-shadow: none !important;
}

/* P0 — BarClock hot: amber/hold mute tabular — never gold beside stamp */
.m-bar-clock {
  font-variant-numeric: tabular-nums;
  color: var(--color-muted);
  font-weight: 500;
}
.m-bar-clock em {
  font-style: normal;
  font-weight: 600;
  color: color-mix(in oklab, var(--color-fg) 80%, var(--color-muted));
}
.m-bar-clock.is-hot,
.m-bar-clock.is-hot em {
  color: color-mix(in oklab, var(--color-hold) 88%, var(--color-muted)) !important;
  font-weight: 600;
  text-shadow: none;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* P1 — Folded honesty: stamp/sure% stay; empties opaque; no glass revive */
/* cycle-27: dup .m-stamp.is-take folded */


/* P1 — Sparkline: 1px mute stroke, no PnL-success fill gradient */
.m-spark,
.m-spark .recharts-wrapper,
.m-spark .recharts-surface {
  background: transparent !important;
}
.m-spark .recharts-area-area,
.m-spark .recharts-area-curve {
  fill: none !important;
  stroke: var(--cf-spark-stroke) !important;
  stroke-width: 1px !important;
}
.m-spark .recharts-line-curve {
  stroke: var(--cf-spark-stroke) !important;
  stroke-width: 1px !important;
  fill: none !important;
}

/* —— Ship Desk cycle 14: Table Signal purge · workspace stamp · alert side mute · rel-vol ≠ TAKE —— */

/* P0 — Mute side glyphs (table / confirm) — never ActionBadge buy-green heroes beside stamp */
.m-side-lean.is-mute,
.m-side-glyph,
.m-side-glyph.is-mute {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--color-fg) 78%, var(--color-muted));
  background: transparent;
  border: 0;
  box-shadow: none;
}
.m-side-glyph.is-long,
.m-side-glyph.is-short,
.m-side-glyph.is-flat,
.m-side-glyph.is-watch {
  color: color-mix(in oklab, var(--color-fg) 78%, var(--color-muted));
}
.m-side-glyph.is-watch {
  color: color-mix(in oklab, var(--color-hold) 55%, var(--color-fg));
  letter-spacing: 0.06em;
}

/* P0 — Grade outline mute in expand/sub — sticky stamp + sure% own call */
.m-screen .m-grade,
.m-screen .m-grade.is-mute,
.m-desk-card-prime .m-grade,
.m-alert-card .m-grade {
  background: transparent !important;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent) !important;
  color: color-mix(in oklab, var(--color-muted) 88%, var(--color-fg)) !important;
  box-shadow: none !important;
  font-weight: 600;
}

/* P0 — Workspace: stamp + SureTick already in prime; copy = cyan/outline tool — never gold Desk Call twin */
.m-workspace .m-pro-prime.is-stamp-sure-atr .m-stamp.is-take {
  /* workspace stamp may say TAKE — never gold Desk Call twin wash */
  filter: none;
  box-shadow: none;
}

.m-copy-btn,
.m-copy-btn.is-tool,
.m-pro-tools .m-copy-btn,
button.m-copy-btn {
  margin: 0;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, #22d3ee 45%, var(--color-border)) !important;
  background: transparent !important;
  color: color-mix(in oklab, #22d3ee 70%, var(--color-fg)) !important;
  box-shadow: none !important;
  font-size: 12px;
  font-weight: 600;
}
.m-copy-btn:hover,
.m-copy-btn.is-tool:hover {
  border-color: #22d3ee !important;
  background: color-mix(in oklab, #22d3ee 8%, transparent) !important;
  color: var(--color-fg) !important;
}

/* Cycle-23 fold: blotter stamp-only — orphan is-buy/is-sell gone; never blocks scan */
.m-alert-card.is-stamp-only,
.m-alert-card.is-stamp-take,
.m-alert-card.is-stamp-watch,
.m-alert-card.is-stamp-risk {
  background: color-mix(in oklab, var(--color-raised) 92%, #071410) !important;
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent) !important;
  box-shadow: none !important;
}

/* P1 — rel-vol hot ≠ TAKE: amber/hold mute — never gold beside stamp */
.m-rel {
  color: var(--color-subtle);
  font-variant-numeric: tabular-nums;
}
.m-rel.is-hot {
  color: color-mix(in oklab, var(--color-hold) 88%, var(--color-muted)) !important;
  font-weight: 600;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-shadow: none;
}

/* —— Ship Desk cycle 15: card side mute · Pulse stamp counts · filter cyan tool · ActionBadge gone · stamp owns card border —— */

/* Cycle-24 fold: card-side mute tokens only — is-buy/is-sell paint gone */
.m-card-side,
.m-card-side.is-mute,
.m-card-side.is-hold,
.m-card-side.is-long,
.m-card-side.is-short {
  margin-left: 2px;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent) !important;
  background: transparent !important;
  color: color-mix(in oklab, var(--color-fg) 72%, var(--color-muted)) !important;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
  box-shadow: none !important;
}
.m-card-side.is-hold {
  color: color-mix(in oklab, var(--color-muted) 88%, var(--color-hold)) !important;
  opacity: 0.9;
}
.m-card-side.is-long { color: color-mix(in oklab, #22d3ee 55%, var(--color-muted)) !important; }
.m-card-side.is-short { color: color-mix(in oklab, #d4a574 60%, var(--color-muted)) !important; }

/* P0 — Pulse stamp KPIs: mute tabular — never text-buy/text-sell heroes */
.m-pulse-stamps.is-mute,
.m-pulse-stamp {
  color: color-mix(in oklab, var(--color-fg) 82%, var(--color-muted));
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.m-pulse-stamp.is-take,
.m-pulse-stamp.is-watch,
.m-pulse-stamp.is-risk {
  /* cycle-36: mute ladder — stamp owns TAKE chrome; KPI never mints Desk Call / win-rate */
  color: color-mix(in oklab, var(--color-muted) 70%, var(--color-fg));
}
.m-kpi .m-pulse-v .text-buy,
.m-kpi .m-pulse-v .text-sell {
  /* guard — stamp strip must not revive action paint */
  color: inherit !important;
}

/* Cycle-25 fold: filter tool mute — orphan is-buy/is-sell selectors gone */
.m-filter.is-tool button,
.m-filter button {
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent) !important;
  background: transparent !important;
  color: var(--color-muted) !important;
  box-shadow: none !important;
}
.m-filter.is-tool button.is-pressed,
.m-filter.is-tool button[aria-pressed="true"],
.m-filter button.is-pressed[aria-pressed="true"] {
  border-color: color-mix(in oklab, #22d3ee 55%, var(--color-border)) !important;
  background: color-mix(in oklab, #22d3ee 10%, transparent) !important;
  color: color-mix(in oklab, #22d3ee 75%, var(--color-fg)) !important;
  font-weight: 600;
  box-shadow: inset 0 1px 0 color-mix(in oklab, #22d3ee 22%, transparent) !important; /* c38 */
}

/* cycle-26: grade mute folded → c10 + c25–26 */

/* Cycle-24 fold: stamp tokens own card chrome — orphan is-buy/is-sell combo deleted */
.m-pair-card.is-buy,
.m-pair-card.is-sell,
.m-pair-card.is-hold {
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent);
  box-shadow: none;
}
.m-pair-card.is-stamp-take:not(.is-on) {
  /* c37 gold-mute quiet-edge + inset rail — never cyan leak; soft veto demotes stamp only */
  border-color: color-mix(in oklab, var(--cf-gold-take, var(--gold, #fbbf24)) 28%, var(--color-border));
  box-shadow: inset 3px 0 0 var(--cf-gold-take, var(--gold, #fbbf24));
}

/* Cycle-15: tape group headers = lean labels, not BUY/SELL call paint */
.m-tape-group-h.is-buy,
.m-tape-group-h.is-sell,
.m-tape-group-h.is-long,
.m-tape-group-h.is-short,
.m-tape-group-h.is-hold {
  color: color-mix(in oklab, var(--color-fg) 82%, var(--color-muted)) !important;
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent) !important;
  background: transparent !important;
}

/* —— Ship Desk cycle 16: alert stamp-gate · chrome stamp grammar · orphan buy/sell kill · lean headers mute —— */

/* Honesty tokens (keep): stamp / sure% / Risky-gate / filter-tool cyan */
:root {
  --cf-filter-pressed: #22d3ee;
  --cf-lean-mute: color-mix(in oklab, var(--color-fg) 82%, var(--color-muted));
}

/* P1 — no dead buy/sell paint on open-setups strip */
.m-active-tape button.is-buy,
.m-active-tape button.is-sell {
  /* dead class — chips use is-stamp-* only; neutralize if revived */
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent) !important;
  background: color-mix(in oklab, var(--color-surface) 94%, #071410) !important;
  box-shadow: none !important;
  color: inherit !important;
}
.m-setup-chip.is-stamp-take,
.m-setup-chip.is-stamp-watch,
.m-setup-chip.is-stamp-risk {
  /* stamp chip tokens only — strip ≠ gold Desk Call twin */
  box-shadow: none;
}

/* P1 — group + section lean headers = cyan/mute context only */
.m-tape-group-h,
.m-tape-group-h.is-buy,
.m-tape-group-h.is-sell,
.m-tape-group-h.is-long,
.m-tape-group-h.is-short,
.m-tape-group-h.is-hold {
  color: var(--cf-lean-mute) !important;
  border-bottom-color: color-mix(in oklab, var(--color-border) 80%, transparent) !important;
  background: transparent !important;
}
.m-tape-group-h strong {
  color: inherit;
  font-weight: 600; /* P1 lean headers = context ≤600 mute — never a call */
}
.m-section.is-buy,
.m-section.is-sell,
.m-section.is-hold,
.m-section.is-long,
.m-section.is-short {
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent) !important;
  box-shadow: none !important;
}
.m-section.is-buy .m-section-k,
.m-section.is-sell .m-section-k,
.m-section.is-hold .m-section-k,
.m-section.is-long .m-section-k,
.m-section.is-short .m-section-k {
  color: color-mix(in oklab, var(--cf-filter-pressed) 55%, var(--color-muted)) !important;
}

/* cycle-23: side-buy/sell blotter reinforce folded into stamp-only */

/* —— Ship Desk cycle 17: lev chip ≠ call · blur diet ≤8–10 · glossary/alert stamp · CSS source trim —— */

/* Honesty tokens intact: stamp / sure% color-mix floor / Risky / filter-tool */
:root {
  --cf-blur-chrome: 8px; /* cycle-28 chrome-only ≤8–10 */
  --cf-blur-panel: 0px;
  --cf-lev-tool: color-mix(in oklab, #22d3ee 45%, var(--color-muted));
  --cf-lev-tool-alt: color-mix(in oklab, #d4a574 42%, var(--color-muted)); /* cycle-26 RISK amber */
}

/* P0 — Lev chip: mute cyan/amber tool; is-strong outline only on TAKE/RISK — never gold fill / sure% bump */
.m-lev-chip,
.m-lev-chip.is-tool,
.m-lev-chip.is-long,
.m-lev-chip.is-short,
.m-lev-chip.is-muted {
  color: color-mix(in oklab, var(--color-fg) 78%, var(--color-muted)) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  opacity: 1; /* mute via color-mix, not opacity→0 */
}
.m-lev-chip.is-long.is-tool { color: var(--cf-lev-tool) !important; }
.m-lev-chip.is-short.is-tool { color: var(--cf-lev-tool-alt) !important; }
.m-lev-chip span {
  color: var(--color-subtle) !important;
  font-weight: 400;
}
.m-lev-chip.is-primary,
.m-lev-chip.is-strong.is-primary,
.m-lev-chip-row.is-strong .m-lev-chip.is-primary {
  border: 1px solid color-mix(in oklab, #22d3ee 50%, var(--color-border)) !important;
  border-radius: 999px;
  padding: 2px 8px;
  background: transparent !important;
  box-shadow: none !important;
  font-weight: 600; /* c39: ≤600 */
  /* outline only — never gold fill */
  color: color-mix(in oklab, var(--color-fg) 88%, var(--cf-lev-tool)) !important;
}
.m-lev-chip-row.is-muted .m-lev-chip,
.m-lev-chip.is-muted {
  color: color-mix(in oklab, var(--color-muted) 88%, var(--color-hold)) !important;
  border-color: transparent !important;
}

/* Cycle-23 fold: alert stamp-only chrome (is-buy/is-sell selectors removed) */
.m-alert-card,
.m-alert-card.is-stamp-only {
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent) !important;
  background: color-mix(in oklab, var(--color-raised) 92%, #071410) !important;
  box-shadow: none !important;
}

/* —— Ship Desk cycle 18: meters ≠ call · blur source purge · mobile row-1 · SKIP≠HOLD · focus cyan —— */

:root {
  --cf-meter-long: color-mix(in oklab, #67e8f9 70%, var(--color-muted));
  --cf-meter-short: color-mix(in oklab, #d4a574 70%, var(--color-muted)); /* cycle-25 */
}

/* P0 — ConvictionArc + TugBar mute tool — never gold / never sure% bump */
.m-arc.is-tool circle[stroke]:not([stroke="var(--color-raised)"]) {
  /* stroke set inline via mute tokens */
}
.m-tug.is-tool .m-tug-lean,
.m-tug-lean {
  font-size: 12px;
  font-weight: 600;
  color: color-mix(in oklab, var(--color-fg) 78%, var(--color-muted));
}
.m-tug.is-tool .m-tug-long {
  background: color-mix(in oklab, var(--color-muted) 40%, transparent) !important;
}
.m-tug.is-tool .m-tug-short {
  background: color-mix(in oklab, var(--color-muted) 40%, transparent) !important;
}
.m-tug.is-tool .text-buy,
.m-tug.is-tool .text-sell {
  color: inherit !important;
}

/* P1 — Mobile ≤640: stamp+sure%+ATR one thumb row; expand ≥44px; no extra glass */
@media (max-width: 640px) {
  .m-card-row1 {
    gap: 4px;
    align-items: center;
  }
  .m-card-prime.is-stamp-sure-atr {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px 6px;
    margin: 2px 0 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .m-card-prime.is-stamp-sure-atr .m-stamp,
  .m-card-prime.is-stamp-sure-atr .m-sure {
    flex-shrink: 0;
  }
  .m-atr-risk {
    margin-top: 0;
    font-size: 10px;
    white-space: nowrap;
  }
  .m-card-row1-tools {
    gap: 2px;
    padding-top: 0;
  }
  .m-card-more-sum {
    min-height: 44px !important;
    padding: 8px 12px !important;
    background: var(--color-surface) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: color-mix(in oklab, #22d3ee 40%, var(--color-border)) !important;
  }
  .m-pair-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: color-mix(in oklab, var(--color-surface) 96%, #071410) !important;
  }
}

/* P1 — SKIP mute OK; HOLD fully readable — never empties the book */
.m-pair-card.is-stamp-skip,
.m-pair-card.is-hold,
.m-section.is-hold,
.m-tape-group-h.is-hold {
  opacity: 1 !important;
}
.m-stamp.is-skip {
  opacity: 0.75;
  background: transparent;
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  color: color-mix(in oklab, var(--color-muted) 90%, var(--color-fg));
}

/* P1 — focus-visible = cyan everywhere — never gold Desk Call */
.crypto-shell :focus-visible,
.m-desk :focus-visible,
.m-card-more-sum:focus-visible,
.m-stamp:focus-visible,
.m-pair-card:focus-visible,
.m-pair-hit:focus-visible,
.m-filter button:focus-visible,
.m-setup-chip:focus-visible,
button:focus-visible,
a:focus-visible,
[role="tab"]:focus-visible,
[role="button"]:focus-visible,
[role="listitem"]:focus-visible {
  outline: 2px solid #22d3ee !important;
  outline-offset: 2px;
  box-shadow: none;
}

/* —— Ship Desk cycle 19: Live ≠ call · news meta mute · gold exclusivity · BreadthStrip gone · fold —— */

:root {
  --cf-live: #22d3ee;
  --cf-live-mute: color-mix(in oklab, var(--color-subtle) 90%, var(--color-fg));
  /* Gold exclusivity: TAKE stamp + Desk Call hero only */
  --cf-gold-take: var(--gold);
}

/* P0 — Live = cyan/teal feed-health tool — never buy-green glow / gold / sure% bump */
.m-live,
.m-live.m-chrome-live,
.m-live-on,
.m-live.m-chrome-live.m-live-on {
  color: color-mix(in oklab, var(--cf-live) 78%, var(--color-fg)) !important;
  border-color: color-mix(in oklab, var(--cf-live) 45%, var(--color-border)) !important;
  text-shadow: none !important;
  box-shadow: none !important;
  background: color-mix(in oklab, var(--cf-live) 6%, transparent);
}
.m-live-off,
.m-live.m-chrome-live.m-live-off {
  color: var(--cf-live-mute) !important;
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 0.8;
}
/* Soft venue Binance→Kraken chip — mute, non-blocking */
.m-fresh-banner.is-mute.is-soft-feed,
.m-fresh-banner.is-mute.is-soft-feed em {
  color: var(--color-subtle) !important;
  background: transparent !important;
  border-color: color-mix(in oklab, var(--color-border) 85%, transparent);
  box-shadow: none !important;
  text-shadow: none;
}

/* P0 — News meta subtle only — catalyst ≠ TAKE; never gold */
.m-news-meta,
.m-news-line.is-mute .m-news-meta {
  color: var(--color-subtle) !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  font-weight: 500;
}
.m-news-line,
.m-news-line.is-mute {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: color-mix(in oklab, var(--color-muted) 90%, var(--color-fg));
}

/* P1 — Gold exclusivity: TAKE stamp + Desk Call hero only */
.m-brand-feel,
.m-brand-tag,
.m-brand-sub,
.m-mark,
.m-mark-svg {
  /* brand chrome demoted — no TAKE gold borrow */
  filter: none;
}
/* cycle-33: gold-exclusivity WATCH triple folded → c25–33 lock */
.m-stamp.is-take,
.m-call.is-take-hero {
  /* preserved gold language */
  --cf-gold-take: var(--gold);
}
.m-mode-slider,
.m-mode-end {
  /* mode ≠ gold Desk Call; empty-glass → one canon */
  box-shadow: none;
}
.m-mode-slider {
  border-color: color-mix(in oklab, #22d3ee 35%, var(--color-border)) !important;
}

/* —— Ship Desk cycle 20 milestone: Risky ≠ gold · continuum purge · gold scarce · tick mute · CSS fold —— */

:root {
  /* Honesty tokens (folded from cycles 17–19) */
  --cf-blur-chrome: 8px; /* cycle-28 chrome-only ≤8–10 */
  --cf-blur-panel: 0px;
  --cf-select-cyan: #22d3ee;
  --cf-filter-pressed: #22d3ee;
  --cf-live: #22d3ee;
  --cf-risky-amber: #d4a574; /* cycle-25: RISK family ≠ TAKE gold */
  --cf-mentor-teal: var(--teal);
  --cf-gold-take: var(--gold);
  --cf-tick-up: color-mix(in oklab, var(--color-hold) 70%, var(--color-fg));
  --cf-tick-dn: color-mix(in oklab, var(--color-hold) 70%, var(--color-fg));
  --cf-sure-fg: color-mix(in oklab, var(--color-fg) 90%, var(--color-muted));
  --cf-sure-soft: color-mix(in oklab, var(--color-fg) 72%, var(--color-muted));
  --cf-sure-faint: color-mix(in oklab, var(--color-muted) 70%, var(--color-fg));
}

/* P0 — Risky amber tool; Mentor teal; independent ends; never lowers TAKE floor */
.m-mode-slider.is-ends-only {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border: 1px solid color-mix(in oklab, var(--color-border) 80%, transparent);
  background: color-mix(in oklab, var(--color-surface) 90%, #071410);
  box-shadow: none;
  padding: 6px 8px;
  border-radius: 999px;
}
.m-mode-slider.is-ends-only .m-mode-track,
.m-mode-slider.is-ends-only .m-mode-fill,
.m-mode-slider.is-ends-only .m-mode-thumb,
.m-mode-track,
.m-mode-fill,
.m-mode-thumb {
  display: none !important;
}
.m-mode-end.is-mentor.is-on {
  color: color-mix(in oklab, var(--cf-mentor-teal) 75%, var(--color-fg));
  background: color-mix(in oklab, var(--cf-mentor-teal) 14%, transparent);
  border-color: color-mix(in oklab, var(--cf-mentor-teal) 50%, var(--color-border));
  box-shadow: none;
}
/* cycle-26: Risky chrome folded → --cf-risk-amber */
.m-mode-chip {
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent);
  color: color-mix(in oklab, var(--color-fg) 82%, var(--color-muted));
  background: color-mix(in oklab, var(--color-raised) 88%, #071410);
}

/* P1 — Gold scarce: ONLY stamp TAKE + Desk Call hero */
/* cycle-27: TAKE gold dup folded */
.m-call.is-take-hero {
  border-color: color-mix(in oklab, var(--cf-gold-take) 48%, var(--color-border));
  box-shadow: inset 3px 0 0 var(--cf-gold-take);
}
/* cycle-33: c20 soft-veto WATCH folded → cyan lock */

/* P1 — Tick mute market context */
.m-tick-up {
  color: var(--cf-tick-up);
}
.m-tick-down {
  color: var(--cf-tick-dn);
}

/* Folded blur / chrome tokens — c39 sticky blur → c38 fold; panels stay 0 */
.m-mode-slider,
.m-mode-slider.is-ends-only {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.m-desk,
.m-pair-card {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Sure% contrast floor (cycle-12) via tokens — no opacity wipe */
.m-sure.is-high { color: var(--cf-sure-fg); opacity: 1; }
.m-sure.is-soft,
.m-sure.is-mid { color: var(--cf-sure-soft); opacity: 1; }
.m-sure.is-faint,
.m-sure.is-low { color: var(--cf-sure-faint); opacity: 1; }

/* —— Ship Desk cycle 21: outline twin lean · gold glass purge · CSS delete · ATR process · ticker mute —— */

:root {
  --cf-lean-long: color-mix(in oklab, #22d3ee 70%, var(--color-muted));
  --cf-lean-short: color-mix(in oklab, #d4a574 70%, var(--color-muted)); /* cycle-24: amber ≠ TAKE #fbbf24 */
  --cf-atr-stop: #d4a574;
  --cf-atr-aim: #67e8f9;
  --cf-ticker-up: color-mix(in oklab, var(--color-hold) 70%, var(--color-fg));
  --cf-ticker-dn: color-mix(in oklab, var(--color-hold) 70%, var(--color-fg));
}

/* P0 — Outline twins lean tools under Desk Call; gold only real TAKE hero */
.m-pick.is-outline-twins .m-pick-card.is-outline,
.m-pick-card.is-long,
.m-pick-card.is-short {
  box-shadow: none;
  background: color-mix(in oklab, var(--color-surface) 94%, #071410);
}
.m-pick-card.is-long:not(.is-outline) {
  border-color: color-mix(in oklab, #22d3ee 42%, var(--color-border));
}
.m-pick-card.is-short:not(.is-outline) {
  border-color: color-mix(in oklab, #d4a574 45%, var(--color-border));
}
.m-pick-card.is-long:not(.is-outline) .m-pick-k,
.m-pick-card.is-long:not(.is-outline) .m-pick-lev { color: var(--cf-lean-long); }
.m-pick-card.is-short:not(.is-outline) .m-pick-k,
.m-pick-card.is-short:not(.is-outline) .m-pick-lev { color: var(--cf-lean-short); }
.m-pick.is-outline-twins .m-pick-card.is-outline .m-stamp.is-watch {
  /* soft-veto WATCH never borrows gold */
  color: #22d3ee;
  box-shadow: none;
}
/* cycle-27: outline TAKE stamp rule folded */

/* P1 — Ticker mute breadth — never outranks Pulse stamp counts */
.m-tick.is-up span:last-child { color: var(--cf-ticker-up); }
.m-tick.is-dn span:last-child { color: var(--cf-ticker-dn); }
.m-tick {
  background: color-mix(in oklab, var(--color-raised) 88%, transparent);
  box-shadow: none;
  border: 0;
}

/* —— Ship Desk cycle 22: pattern marks ≠ call · brand glow off · glass-glow teal · skel flat · CSS delete —— */

:root {
  --glass-glow: color-mix(in oklab, #2dd4bf 12%, transparent); /* never gold */
  --cf-mark-long: #67e8f9;
  --cf-mark-short: #f0c674;
}

/* P0 — Brand static mute cyan — never TAKE gold energy */
.m-mark,
.m-mark.is-flank {
  animation: none !important;
  filter: none;
}
.m-mark.is-flank .m-mark-svg,
.m-mark-svg {
  filter: none !important;
}

/* P1 — Skeleton quieter than stamps; prefers-reduced-motion = static */
.m-skel-card {
  background: var(--color-surface);
  backdrop-filter: none;
  box-shadow: none;
  opacity: 1; /* never HOLD-wipe */
}
.m-skel-line,
.m-skel-chart {
  background: color-mix(in oklab, var(--color-raised) 92%, #071410) !important;
  background-image: none !important;
  animation: none !important;
  opacity: 0.88;
}
@media (prefers-reduced-motion: reduce) {
  .m-mark.is-flank,
  .m-skel-line,
  .m-skel-chart {
    animation: none !important;
    transform: none !important;
    background-image: none !important;
  }
}

/* —— Ship Desk cycle 23: candlestick names ≠ call · ambient gold radial purge · alert stamp-only · VWAP mute · CSS delete —— */

:root {
  --cf-pat-long: #67e8f9;
  --cf-pat-short: #f0c674;
  --cf-pat-hold: color-mix(in oklab, var(--color-muted) 85%, var(--color-fg));
  --cf-vwap: #2dd4bf;
}

/* P0 — Pattern list names: cyan/amber/hold mute lean — never text-buy/text-sell / gold / TAKE */
.m-pat-name,
.m-pat-name.is-lean-long,
.m-pat-name.is-lean-short,
.m-pat-name.is-lean-hold {
  font-weight: 650;
  text-shadow: none;
}
.m-pat-name.is-lean-long { color: var(--cf-pat-hold); }
.m-pat-name.is-lean-short { color: var(--cf-pat-hold); }
.m-pat-name.is-lean-hold { color: var(--cf-pat-hold); }
.m-exit .m-pat-name.text-buy,
.m-exit .m-pat-name.text-sell,
.m-exit .text-buy,
.m-exit .text-sell {
  /* name-only annotations — kill call paint if class revived */
  color: var(--cf-pat-hold) !important;
}

/* P0 — Shell ambient: teal/none — gold only TAKE stamp + Desk Call */
.crypto-shell::before {
  background:
    radial-gradient(circle at 10% 90%, color-mix(in oklab, #2dd4bf 10%, transparent), transparent 32%),
    radial-gradient(circle at 94% 14%, color-mix(in oklab, #2dd4bf 12%, transparent), transparent 34%),
    linear-gradient(180deg, transparent 48%, color-mix(in oklab, var(--color-bg) 58%, transparent)) !important;
}

/* P1 — blotter is-stamp-* only; orphan is-buy/is-sell CSS deleted */

/* —— Ship Desk cycle 24: Desk Call kicker ≠ side · pick-short amber · orphan side delete · LinePane mute · CSS fold —— */

:root {
  --cf-short-amber: #d4a574; /* RISK family — never TAKE #fbbf24 */
  --cf-pane-tip: #67e8f9;
}

/* P0 — TAKE hero kicker: gold / mute lean only */
.m-call.is-take-hero.is-buy .m-call-k {
  color: color-mix(in oklab, var(--gold) 72%, var(--color-fg)) !important;
}
.m-call.is-take-hero.is-sell .m-call-k {
  color: color-mix(in oklab, var(--gold) 72%, var(--color-fg)) !important;
}

/* P0 — Short pick chrome muted amber; twins cyan long / amber short */
.m-pick-card.is-short:not(.is-outline) {
  border-color: color-mix(in oklab, var(--cf-short-amber) 48%, var(--color-border)) !important;
}
.m-pick-card.is-short:not(.is-outline) .m-pick-k,
.m-pick-card.is-short:not(.is-outline) .m-pick-lev {
  color: color-mix(in oklab, var(--cf-short-amber) 72%, var(--color-muted)) !important;
}

/* —— Ship Desk cycles 25–32: RISK amber · sure% mute · TAKE gold · WATCH cyan · high-alert amber · blur≤8 · agree mute · conflict/thesis amber-teal · fresh/lev/track/ret amber · feed blur —— */
:root{--cf-risk-amber:#d4a574;--cf-meter-short:color-mix(in oklab,#d4a574 70%,var(--color-muted));--cf-track-cyan:#22d3ee;--cf-watch-cyan:#22d3ee;--cf-tf-pressed:color-mix(in oklab,#2dd4bf 45%,var(--color-accent));--cf-gold-take:#fbbf24;--cf-blur-chrome:8px;--cf-blur-panel:0px;--cf-atr-stop:#d4a574;--cf-atr-aim:#67e8f9;--cf-sure-fg:color-mix(in oklab,var(--color-fg) 90%,var(--color-muted));--cf-sure-soft:color-mix(in oklab,var(--color-fg) 72%,var(--color-muted));--cf-sure-faint:color-mix(in oklab,var(--color-muted) 72%,var(--color-fg))}
.m-stamp.is-risk{color:color-mix(in oklab,var(--cf-risk-amber) 92%,white)!important;background:color-mix(in oklab,var(--cf-risk-amber) 18%,transparent)!important;border:1.5px solid color-mix(in oklab,var(--cf-risk-amber) 65%,var(--color-border))!important;box-shadow:none!important;background-image:none!important;font-weight:600!important}
.m-pair-card.is-stamp-risk{border-color:color-mix(in oklab,var(--cf-risk-amber) 48%,var(--color-border))!important;box-shadow:inset 3px 0 0 var(--cf-risk-amber)!important}
.m-setup-chip.is-stamp-risk{border-color:color-mix(in oklab,var(--cf-risk-amber) 52%,var(--color-border))!important}
.m-stamp.is-watch,.m-setup-chip.is-stamp-watch,.m-pair-card.is-stamp-watch .m-stamp.is-watch{color:var(--cf-watch-cyan)!important;border-color:color-mix(in oklab,var(--cf-watch-cyan) 55%,var(--color-border))!important;background:color-mix(in oklab,var(--cf-watch-cyan) 10%,transparent)!important;box-shadow:none!important;font-weight:600!important}
.m-high-alert{background:color-mix(in oklab,var(--color-raised) 88%,#071410)!important;color:color-mix(in oklab,var(--color-muted) 75%,var(--cf-risk-amber))!important;border:1px solid color-mix(in oklab,var(--cf-risk-amber) 40%,var(--color-border))!important;box-shadow:none!important}
.m-high-alert.is-on{background:color-mix(in oklab,var(--cf-risk-amber) 18%,transparent)!important;color:color-mix(in oklab,var(--cf-risk-amber) 88%,white)!important;border-color:color-mix(in oklab,var(--cf-risk-amber) 65%,var(--color-border))!important;box-shadow:none!important}
.m-mentor-strip.is-flat{border-color:color-mix(in oklab,var(--color-border) 85%,transparent)!important;box-shadow:none!important}
.m-agree-lead{color:color-mix(in oklab,var(--color-muted) 90%,var(--color-fg))!important;background:color-mix(in oklab,var(--color-raised) 88%,#071410)!important;border-color:color-mix(in oklab,var(--color-border) 75%,transparent)!important;box-shadow:none!important;font-variant-numeric:tabular-nums}
.m-chrome-pin.is-track{border-color:color-mix(in oklab,var(--cf-track-cyan) 45%,var(--color-border))!important;background:color-mix(in oklab,var(--cf-track-cyan) 12%,transparent)!important;color:color-mix(in oklab,#67e8f9 80%,var(--color-fg))!important;text-shadow:none!important;box-shadow:none!important}
.m-tug-short,.m-tug.is-tool .m-tug-short{background:color-mix(in oklab, var(--color-muted) 40%, transparent)!important}
.m-tug-lean.is-short{color:color-mix(in oklab, var(--color-fg) 78%, var(--color-muted))!important}
.m-mode-end.is-risky.is-on{color:color-mix(in oklab,var(--cf-risk-amber) 78%,var(--color-fg))!important;background:color-mix(in oklab,var(--cf-risk-amber) 12%,transparent)!important;border-color:color-mix(in oklab,var(--cf-risk-amber) 55%,var(--color-border))!important;box-shadow:none!important}
.m-mode-end.is-risky.is-on .m-mode-ico{color:color-mix(in oklab,var(--cf-risk-amber) 88%,var(--color-fg))!important}
.m-risky-note{color:color-mix(in oklab,var(--cf-risk-amber) 68%,var(--color-muted))!important}
.m-tf button[aria-pressed="true"],.m-chart-tf button[aria-pressed="true"]{background:var(--cf-tf-pressed)!important;color:var(--color-accent-fg)!important;border-color:var(--color-accent)!important;background-image:none!important;box-shadow:inset 0 1px 0 color-mix(in oklab,#2dd4bf 28%,transparent)!important}
.m-brand-tag,.m-chrome-brand.is-centered .m-brand-tag{color:color-mix(in oklab,var(--color-fg) 82%,#2dd4bf)!important}
.m-brand-tag::after{color:color-mix(in oklab,#2dd4bf 45%,var(--color-subtle))!important}
.m-grade.is-a,.m-grade.is-b,.m-grade.is-c,.m-grade.is-d{color:color-mix(in oklab,var(--color-muted) 88%,var(--color-fg))!important;background:transparent!important;border-color:color-mix(in oklab,var(--color-border) 80%,transparent)!important;box-shadow:none!important}
.m-chart-legend .is-vwap{color:#2dd4bf!important}
.m-stamp.is-take{color:#1a1208!important;background:linear-gradient(120deg,#fef3c7,var(--cf-gold-take) 52%,#f59e0b)!important;border-color:transparent!important;background-color:transparent!important}
.m-mentor-stance.is-trade{color:var(--color-muted)!important}
.m-mentor-strip.is-trade{border-color:color-mix(in oklab,var(--color-border) 85%,transparent)!important;box-shadow:none!important}
.m-factor-row.is-short .m-factor-bias,.m-factor-row.is-short .m-factor-label{color:var(--color-subtle)!important}
.m-heat-modes button[aria-pressed="true"]{background:var(--cf-tf-pressed)!important;background-image:none!important;box-shadow:none!important}
.m-lev-row.is-on.is-long,.m-lev-row.is-on.is-short{border-color:color-mix(in oklab,#2dd4bf 45%,var(--color-border))!important}
.m-vol-pressure-tick{background:color-mix(in oklab,var(--cf-risk-amber) calc(var(--vp,0.2)*100%),var(--color-chart))!important}
.m-track-go{background:transparent!important;color:#67e8f9!important;border:1.5px solid color-mix(in oklab,#22d3ee 65%,var(--color-border))!important;box-shadow:none!important}
.m-pair-card.is-on{border-color:color-mix(in oklab,#22d3ee 55%,var(--color-border))!important;box-shadow:inset 3px 0 0 #22d3ee,0 0 0 1px color-mix(in oklab,#22d3ee 22%,transparent)!important}
.m-scan-btn.is-scanning{box-shadow:inset 0 0 0 1px color-mix(in oklab,#2dd4bf 45%,transparent)!important}
.m-alert-stack{background:color-mix(in oklab,var(--color-surface) 92%,#071410)!important}
.m-agree-aligned{color:color-mix(in oklab,var(--color-muted) 90%,var(--color-fg))!important;background:color-mix(in oklab,var(--color-raised) 88%,#071410)!important;border-color:color-mix(in oklab,var(--color-border) 75%,transparent)!important;box-shadow:none!important}
.m-rsi-os{background:color-mix(in oklab,#2dd4bf 22%,transparent)!important}
.m-rsi-ob{background:color-mix(in oklab,#d4a574 22%,transparent)!important}
.m-topbar{backdrop-filter:blur(var(--cf-blur-chrome,8px))!important;-webkit-backdrop-filter:blur(var(--cf-blur-chrome,8px))!important}
.m-sure.is-high{border-color:color-mix(in oklab,var(--color-border) 75%,transparent)!important;color:var(--cf-sure-fg)!important;box-shadow:none!important}
.m-sure.is-low,.m-sure.is-faint{border-color:color-mix(in oklab,var(--color-border) 75%,transparent)!important;color:var(--cf-sure-faint)!important}
.m-sure.is-high .m-sure-meter i,.m-sure.is-low .m-sure-meter i{background:transparent!important}
.m-desk-tools-btn{border-color:color-mix(in oklab,#22d3ee 35%,var(--color-border))!important;background:color-mix(in oklab,#2dd4bf 10%,transparent)!important}
.m-desk-tools-btn:hover{background:color-mix(in oklab,#22d3ee 14%,transparent)!important}
.m-chrome-tools[open]>.m-chrome-tools-sum{border-color:color-mix(in oklab,#22d3ee 45%,var(--color-border))!important;color:color-mix(in oklab,#67e8f9 70%,var(--color-fg))!important}
.m-pair-card:hover{border-color:color-mix(in oklab,#22d3ee 28%,var(--color-border))!important}
.m-atr-risk{color:color-mix(in oklab,var(--color-muted) 85%,var(--cf-atr-aim))!important}
.m-atr-risk>span:first-child{color:color-mix(in oklab,var(--cf-atr-stop) 70%,var(--color-subtle))!important}
.m-atr-risk .font-mono,.m-atr-risk.is-inline{color:color-mix(in oklab,var(--cf-atr-aim) 55%,var(--color-fg))!important}
.m-stamp:focus-visible{outline:2px solid #22d3ee!important;outline-offset:2px}
.m-exit-compact{color:color-mix(in oklab,var(--color-muted) 85%,var(--cf-atr-aim))!important}
.m-exit-compact-k{color:color-mix(in oklab,var(--cf-atr-stop) 70%,var(--color-subtle))!important}
.m-exit-compact-k:nth-of-type(2){color:color-mix(in oklab,var(--cf-atr-aim) 65%,var(--color-subtle))!important}
.m-thesis-row.m-thesis-atr{color:color-mix(in oklab,var(--color-muted) 85%,var(--cf-atr-aim))!important}
.m-thesis-k{color:color-mix(in oklab,var(--cf-atr-stop) 70%,var(--color-subtle))!important}
.m-card-more[open]>.m-card-more-sum{border-color:color-mix(in oklab,#22d3ee 48%,var(--color-border))!important;color:color-mix(in oklab,#67e8f9 70%,var(--color-fg))!important;background:color-mix(in oklab,#22d3ee 10%,transparent)!important}
.m-heat-cell.is-up,.m-heat[data-mono="1"] .m-heat-cell.is-up{background:color-mix(in oklab,var(--color-hold) calc(var(--heat,0.35)*55%),var(--color-chart))!important}
/* —— cycle-32 P0/P1 fold: agree-conflict amber · thesis stop/aim · stale/lev/track/ret/checklist amber · heat tip · blur token · one empty-glass —— */
.m-agree-conflict{color:color-mix(in oklab,var(--cf-risk-amber) 78%,var(--color-muted))!important;background:color-mix(in oklab,var(--cf-risk-amber) 12%,transparent)!important;border-color:color-mix(in oklab,var(--cf-risk-amber) 40%,var(--color-border))!important;font-variant-numeric:tabular-nums;box-shadow:none!important}
.m-thesis,.m-workspace .m-thesis,.m-pro-body .m-thesis{border:0!important;background:transparent!important;box-shadow:none!important}
.m-thesis-k,.m-thesis-row em:first-child{color:color-mix(in oklab,var(--cf-atr-stop) 70%,var(--color-subtle))!important}
.m-thesis-row.m-thesis-atr,.m-thesis-row .m-thesis-aim{color:color-mix(in oklab,var(--color-muted) 85%,var(--cf-atr-aim))!important;font-variant-numeric:tabular-nums}
.m-fresh-banner.is-stale{border-color:color-mix(in oklab,var(--cf-risk-amber) 42%,var(--color-border))!important;background:color-mix(in oklab,var(--cf-risk-amber) 10%,var(--color-surface))!important;color:color-mix(in oklab,var(--color-muted) 75%,var(--cf-risk-amber))!important}
.m-lev-presets button.is-bad,.m-lev-verdict.is-bad{color:color-mix(in oklab,var(--cf-risk-amber) 78%,var(--color-fg))!important;border-color:color-mix(in oklab,var(--cf-risk-amber) 40%,var(--color-border))!important}
.m-track-stop{color:color-mix(in oklab,var(--cf-risk-amber) 70%,var(--color-fg))!important;border-color:color-mix(in oklab,var(--cf-risk-amber) 40%,var(--color-border))!important;background:color-mix(in oklab,var(--color-raised) 90%,#071410)!important;box-shadow:none!important}
.m-track-go{background:transparent!important;color:#67e8f9!important;border:1.5px solid color-mix(in oklab,#22d3ee 65%,var(--color-border))!important}
.m-ret.is-dn,.m-ret-compact.is-dn{color:color-mix(in oklab,var(--cf-risk-amber) 65%,var(--color-muted))!important;border-color:color-mix(in oklab,var(--cf-risk-amber) 32%,var(--color-border))!important;font-variant-numeric:tabular-nums}
.m-ret.is-dn .m-ret-v{color:color-mix(in oklab,var(--cf-risk-amber) 65%,var(--color-muted))!important;font-variant-numeric:tabular-nums}
.m-heat-legend .is-dn{color:var(--color-subtle)!important;font-weight:550!important;font-variant-numeric:tabular-nums}
.m-checklist li.is-warn span,.m-size-out.is-warn{color:color-mix(in oklab,var(--cf-risk-amber) 72%,var(--color-muted))!important}
.m-feed-status{backdrop-filter:blur(var(--cf-blur-chrome,8px))!important;-webkit-backdrop-filter:blur(var(--cf-blur-chrome,8px))!important}
.m-desk,.m-pair-card,.m-mode-slider,.m-mode-slider.is-ends-only{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;--cf-blur-panel:0px}/* empty-glass → c40 */
/* —— cycle-33 P0/P1 fold: Risky #d4a574 · Desk Call glow diet · WATCH bloom mute · vol/chrome-pin diet · heat no outer glow · feed blur · star/FLAT hold —— */
.m-pick.is-risky-rail{border-top:1px dashed color-mix(in oklab,var(--cf-risk-amber) 45%,var(--color-border))!important}
.m-pick.is-risky-rail .m-pick-card.is-risky-card,.m-pick.is-risky-rail .m-pick-card.is-risky{border:1.5px solid color-mix(in oklab,var(--cf-risk-amber) 55%,var(--color-border))!important;background:color-mix(in oklab,var(--cf-risk-amber) 8%,var(--color-chart))!important;box-shadow:inset 3px 0 0 var(--cf-risk-amber)!important}
.m-pick.is-risky-rail .m-pick-card .m-stamp.is-take{display:none!important}
.m-call.is-take-hero{border-color:color-mix(in oklab,var(--cf-gold-take) 42%,var(--color-border))!important;background:linear-gradient(135deg,color-mix(in oklab,#fde68a 4%,transparent),transparent 52%),color-mix(in oklab,var(--color-chart) 96%,#071410)!important;box-shadow:inset 3px 0 0 var(--cf-gold-take)!important}
.m-pair-card.is-stamp-watch{border-color:color-mix(in oklab,var(--color-border) 85%,transparent)!important;box-shadow:none!important}
.m-vol-pressure-tick:hover{outline:1px solid color-mix(in oklab,var(--cf-risk-amber) 55%,var(--color-border))!important}
.m-chrome-pin.is-on{border-color:color-mix(in oklab,#2dd4bf 55%,var(--color-border))!important;background:color-mix(in oklab,#2dd4bf 14%,transparent)!important;color:color-mix(in oklab,#67e8f9 80%,var(--color-fg))!important;text-shadow:none!important;box-shadow:inset 0 1px 0 color-mix(in oklab,#2dd4bf 28%,transparent)!important}
.m-heat-cell,.m-heat[data-mono="1"] .m-heat-cell,.m-heat[data-mono="1"] .m-heat-cell.is-up,.m-heat[data-mono="1"] .m-heat-cell.is-dn,.m-heat[data-mono="1"] .m-heat-cell.is-hold{box-shadow:none!important}
.m-heat-cell.is-watch,.m-heat[data-mono="1"] .m-heat-cell.is-watch{box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--cf-watch-cyan) 55%,var(--color-border))!important}
/* —— cycle-34 P0/P1 fold: brand teal/cyan mute · stamp bloom kill · heat/pulse 550/600 · glossary/card shadow diet · feed blur token · one empty-glass · star/FLAT hold —— */
/* cycle-35: brand-feel fold dup deleted — mid teal/cyan clip owns Feel */
/* cycle-35: stamp bloom-kill fold dup deleted — source/c33 owns none */
.m-heat-cell span,.m-heat-legend .is-up,.m-heat-legend .is-dn{font-weight:550!important;font-variant-numeric:tabular-nums}.m-pulse-v{font-weight:600!important}
.m-chrome-pin.is-glossary{text-shadow:none!important;border-color:color-mix(in oklab,#22d3ee 50%,var(--color-border))!important;background:color-mix(in oklab,#22d3ee 14%,transparent)!important}
.m-card-name{text-shadow:none!important}
/* c37: feed blur dup folded → live+feed token; c35 empty-glass/star/FLAT → c32 */
/* —— cycle-35 P0/P1 fold: TF pressed inset · brand etch diet · filter bloom kill · WATCH/RISK 600 · blur token · CSS net-delete —— */
.m-brand-title,.m-brand-crypto{text-shadow:none!important}
.m-filter button[aria-pressed="true"]{box-shadow:inset 0 1px 0 color-mix(in oklab,#2dd4bf 22%,transparent)!important}
/* —— cycle-37 P0/P1 fold: TAKE gold quiet-edge · desk/track/search float diet · sticky blur-only · live blur · accent solid · CSS net-delete —— */
.m-pair-card{box-shadow:inset 0 1px 0 color-mix(in oklab,white 12%,transparent)!important}
.m-pair-card.is-stamp-take:not(.is-on){box-shadow:inset 3px 0 0 var(--cf-gold-take)!important;border-color:color-mix(in oklab,var(--cf-gold-take) 28%,var(--color-border))!important}
.m-pair-card.is-stamp-take.is-on,.m-pair-card.is-on{box-shadow:inset 3px 0 0 #22d3ee,0 0 0 1px color-mix(in oklab,#22d3ee 22%,transparent)!important;border-color:color-mix(in oklab,#22d3ee 55%,var(--color-border))!important}
.m-pair-card.is-stamp-watch:not(.is-on){box-shadow:inset 0 1px 0 color-mix(in oklab,white 12%,transparent)!important}
.m-pair-card.is-stamp-risk:not(.is-on){box-shadow:inset 3px 0 0 var(--cf-risk-amber)!important}
.m-desk{box-shadow:inset 0 1px 0 var(--glass-edge,color-mix(in oklab,white 18%,transparent))!important}
.m-track-panel,.m-track-panel.is-opaque,.m-search-list{box-shadow:inset 0 1px 0 color-mix(in oklab,white 10%,transparent)!important}
.m-chrome.is-rail.is-scrolled{box-shadow:none!important;border-bottom:1px solid color-mix(in oklab,var(--color-border) 70%,transparent)!important}
.m-live,.m-live.m-chrome-live,.m-feed-status{backdrop-filter:blur(var(--cf-blur-chrome,8px))!important;-webkit-backdrop-filter:blur(var(--cf-blur-chrome,8px))!important}
.m-desk,.m-pair-card,.m-track-panel,.m-search-list,.m-mode-slider{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;--cf-blur-panel:0px}/* empty-glass → c40 */
button.bg-accent{background-image:none!important;background-color:var(--color-accent)!important;box-shadow:inset 0 1px 0 color-mix(in oklab,#2dd4bf 28%,transparent)!important}
.m-workspace{box-shadow:none!important;border-color:color-mix(in oklab,var(--color-border) 85%,var(--teal))!important}
.m-pulse-stamp.is-take,.m-pulse-stamp.is-watch,.m-pulse-stamp.is-risk{color:color-mix(in oklab,var(--color-muted) 70%,var(--color-fg))!important}
/* —— cycle-39 P0/P1 fold: sticky one blur path (c38 hairline+token) · tools-more raised/border · sure≤600 · brand/lev/high-alert 600 · vol-k 550 · TAKE/Desk Call 700 · star/FLAT hold · empty-glass under sticky net-delete —— */
.m-chrome.is-rail{box-shadow:0 1px 0 color-mix(in oklab,white 6%,transparent)!important;border-bottom:1px solid color-mix(in oklab,#2dd4bf 22%,var(--color-border))!important;backdrop-filter:blur(var(--cf-blur-chrome,8px))!important;-webkit-backdrop-filter:blur(var(--cf-blur-chrome,8px))!important}
.m-chrome.is-rail.is-scrolled{backdrop-filter:blur(var(--cf-blur-chrome,8px))!important;-webkit-backdrop-filter:blur(var(--cf-blur-chrome,8px))!important;box-shadow:none!important}
.m-chrome-tools .m-chrome-actions-more{background:var(--color-raised)!important;border:1px solid var(--color-border)!important;box-shadow:none!important}
.m-sure em,.m-sure.is-high em,.m-sure.is-mid em,.m-sure.is-soft em,.m-sure.is-low em,.m-sure.is-faint em{font-weight:600!important;color:inherit;font-variant-numeric:tabular-nums}
.m-brand-feel{font-weight:600!important}
.m-lev-chip.is-primary,.m-lev-chip.is-strong.is-primary,.m-lev-chip-row.is-strong .m-lev-chip.is-primary{font-weight:600!important}
.m-high-alert,.m-high-alert.is-on{font-weight:600!important}
.m-vol-pressure-k{font-weight:550!important}
.m-call.is-take-hero .m-call-k,.m-stamp.is-take{font-weight:700!important}
.m-star.is-on{color:var(--color-hold)!important}
.m-mentor-stance.is-flat{color:var(--color-hold)!important}

/* —— cycle-40: c38 sticky twin deleted · live-dot solid #22d3ee no bloom · brand/section ≤650/600 · call-steps+TF-map 600 · Live 600 · empty-glass → one canon (TAKE/Desk Call 700 + star/FLAT → c39) —— */
.m-live.m-chrome-live{font-weight:600!important}
.m-tf button[aria-pressed="true"],.m-filter button[aria-pressed="true"],.m-chart-size button[aria-pressed="true"],.m-chart-tf button[aria-pressed="true"],.m-filter.is-tool button[aria-pressed="true"],.m-filter button.is-pressed[aria-pressed="true"]{font-weight:600!important}
.m-live-on .m-live-dot,.m-live.m-chrome-live.m-live-on .m-live-dot{background:#22d3ee!important;box-shadow:none!important}
.m-brand-crypto{font-weight:600!important}.m-brand-title,.m-chrome-brand.is-centered .m-brand-title{font-weight:650!important}
.m-section-t{font-weight:650!important}.m-section-k{font-weight:600!important}
.m-call-steps li::marker,.m-tf-map strong,.m-tf-map button strong{font-weight:600!important}
/* —— cycle-41: stamp base 600 · TAKE/Desk Call 700 one fold · live/score opacity pulse ≤2s · gloss section-t 650 · one empty-glass · star/FLAT hold · RISK/TAKE tokens —— */

/* —— cycle-42 Ship Desk: P0 tool chrome ≠ TAKE gold + Risky amber · P1 alert/Live/SETUPS/pip diet + cyan focus —— */
/* P0 — modes / heat / sticky / filters / command jump / CTAs = cyan/teal pressed inset; gold inset only is-take / is-take-hero */
.m-chrome.is-rail,
.m-chrome.is-rail.is-scrolled {
  border-bottom-color: color-mix(in oklab, #2dd4bf 22%, var(--color-border)) !important;
  box-shadow: 0 1px 0 color-mix(in oklab, white 6%, transparent) !important; /* never gold sticky wash */
}
.m-heat-modes button[aria-pressed="true"] {
  /* beat c41 box-shadow:none twin — cyan/teal pressed inset, never gold */
  background: color-mix(in oklab, #2dd4bf 42%, #0e7490) !important;
  color: #ecfeff !important;
  border-color: color-mix(in oklab, #22d3ee 55%, var(--color-border)) !important;
  background-image: none !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, #2dd4bf 28%, transparent) !important;
}
.m-tf button[aria-pressed="true"],
.m-filter button[aria-pressed="true"],
.m-chart-size button[aria-pressed="true"],
.m-chart-tf button[aria-pressed="true"],
.m-desk-tools-btn.is-open,
.m-chrome-pin.is-on,
button.bg-accent {
  box-shadow: inset 0 1px 0 color-mix(in oklab, #2dd4bf 28%, transparent) !important;
}
.m-mode-end.is-mentor.is-on {
  color: color-mix(in oklab, #2dd4bf 75%, var(--color-fg)) !important;
  background: color-mix(in oklab, #2dd4bf 14%, transparent) !important;
  border-color: color-mix(in oklab, #2dd4bf 50%, var(--color-border)) !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, #2dd4bf 22%, transparent) !important;
}
.m-mode-end.is-risky.is-on,
.m-pick.is-risky-rail .m-pick-card.is-risky-card,
.m-pick.is-risky-rail .m-pick-card.is-risky,
.m-pick-card.is-short:not(.is-outline) {
  /* RISK / danger = #d4a574 only — never TAKE #fbbf24 */
  border-color: color-mix(in oklab, #d4a574 55%, var(--color-border)) !important;
}
.m-pick.is-outline-twins .m-pick-card.is-outline.is-long,
.m-pick.is-outline-twins .m-pick-card.is-outline.is-short {
  /* outline twins are not a selected call — mute border, never cyan/amber */
  border-color: color-mix(in oklab, var(--color-border) 85%, var(--teal)) !important;
}
.m-mode-end.is-risky.is-on {
  color: color-mix(in oklab, #d4a574 78%, var(--color-fg)) !important;
  background: color-mix(in oklab, #d4a574 12%, transparent) !important;
  box-shadow: none !important;
}
.m-pick.is-risky-rail .m-pick-card.is-risky-card,
.m-pick.is-risky-rail .m-pick-card.is-risky {
  background: color-mix(in oklab, #d4a574 8%, var(--color-chart)) !important;
  box-shadow: inset 3px 0 0 #d4a574 !important;
}
.m-search.is-on,
.m-search:focus-within,
.m-gloss-search:focus-within {
  border-color: color-mix(in oklab, #22d3ee 55%, var(--color-border)) !important;
  outline-color: #22d3ee !important;
}
.m-screen th button.is-on,
.m-screen th button[aria-pressed="true"] {
  color: color-mix(in oklab, #22d3ee 75%, var(--color-fg)) !important;
  box-shadow: none !important;
}

/* P1 — High Alert / Live / SETUPS / status-pip / section kickers ≤600 under TAKE stamp 700; mute cyan/amber; no gold; no sure% bump */
.m-high-alert,
.m-high-alert.is-on {
  height: 36px !important;
  min-width: 0 !important;
  padding: 0 12px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.m-high-alert {
  color: color-mix(in oklab, var(--color-muted) 78%, #d4a574) !important;
  background: color-mix(in oklab, var(--color-raised) 90%, #071410) !important;
  border-color: color-mix(in oklab, #d4a574 32%, var(--color-border)) !important;
}
.m-high-alert.is-on {
  color: color-mix(in oklab, #d4a574 80%, var(--color-fg)) !important;
  background: color-mix(in oklab, #d4a574 12%, transparent) !important;
  border-color: color-mix(in oklab, #d4a574 48%, var(--color-border)) !important;
}
.m-live,
.m-live.m-chrome-live,
.m-live-on,
.m-live.m-chrome-live.m-live-on,
.m-feed-status {
  font-weight: 600 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
.m-live-on .m-live-dot,
.m-live.m-chrome-live.m-live-on .m-live-dot {
  background: #22d3ee !important;
  box-shadow: none !important; /* status-pip = solid cyan, never gold bloom */
}
.m-setup-tag,
.m-section-k,
.m-setups-empty p,
.m-alert-stack-k {
  font-weight: 600 !important;
  color: var(--color-subtle) !important;
}
.m-setup-chip,
.m-active-tape button.m-setup-chip {
  font-weight: 550 !important;
  box-shadow: none !important;
}
.m-setup-chip.is-stamp-take {
  /* stamp chip may show TAKE — strip frame never Desk Call gold twin */
  border-color: color-mix(in oklab, var(--color-border) 80%, transparent) !important;
  box-shadow: none !important;
  background: color-mix(in oklab, var(--color-surface) 94%, #071410) !important;
}
.m-stamp.is-take,
.m-call.is-take-hero .m-call-k {
  font-weight: 700 !important; /* stamp / Desk Call hero stay above chrome diet */
}

/* P1 — focus-visible / focus-within = cyan only — never gold on tools */
.m-desk button:focus-visible,
.m-desk a:focus-visible,
.m-desk [role="tab"]:focus-visible,
.m-desk [role="button"]:focus-visible,
.m-pair-card:focus-visible,
.m-chart-wrap:focus-visible,
.m-heat-cell:focus-visible,
.m-mode-end:focus-visible,
.m-tf button:focus-visible,
.m-filter button:focus-visible,
.m-desk-tools-btn:focus-visible,
.m-setup-chip:focus-visible,
.m-screen th button:focus-visible,
.m-gloss-cats button:focus-visible,
.m-gloss-search:focus-within,
.m-search:focus-within,
.crypto-shell button:focus-visible,
.crypto-shell a:focus-visible {
  outline: 2px solid #22d3ee !important;
  outline-offset: 2px;
}

/* Donate — tool cyan, never TAKE gold */
.m-chrome-head > .m-chrome-meta {
  grid-area: live;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.m-chrome.is-rail.is-scrolled .m-chrome-meta {
  grid-area: live !important;
}
.m-chrome-meta .m-chrome-live { grid-area: auto; justify-self: auto; }
.m-donate {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, #22d3ee 42%, var(--color-border));
  color: #22d3ee;
  background: color-mix(in oklab, #22d3ee 12%, transparent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.m-donate:hover { background: color-mix(in oklab, #22d3ee 20%, transparent); }
.m-donate:focus-visible {
  outline: 2px solid #22d3ee;
  outline-offset: 2px;
}

/* Layout clusters: Scan / Mode / View. No blur, no motion, no gold. */
.m-rail-clusters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
}
.m-rail-cluster {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 8px 10px;
  min-width: 0;
  height: auto;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, #22d3ee 22%, var(--color-border));
  background: color-mix(in oklab, var(--color-chart) 46%, transparent);
}
.m-rail-cluster .m-chart-size {
  flex-wrap: wrap;
  justify-content: flex-start;
  row-gap: 6px;
}
.m-rail-cluster-k {
  flex: 0 0 auto;
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 600; /* cluster kicker ≤600 — Scan/Mode/View are tools, never Desk Call */
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.m-scan-cluster-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.m-rail-cluster .m-mode-slider {
  width: min(100%, 420px);
  margin: 0;
}
.m-desk-rail > .m-feed-status {
  margin: 2px 0 0;
}
.m-card-read {
  align-items: center;
}
.m-card-action {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}
/* Direction only — mute, never a TAKE twin, never gold. Flat stays fainter. */
.m-card-action.is-long,
.m-card-action.is-short { color: var(--color-muted); }
.m-card-action.is-flat { color: var(--color-subtle); font-weight: 500; }

/* Mode cluster: center the switches. Chip stays in the DOM for aria-live. Arrow is not a call. */
.m-rail-cluster.is-mode {
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}
.m-rail-cluster.is-mode .m-rail-cluster-k {
  align-self: flex-start;
}
.m-rail-cluster.is-mode .m-mode-slider {
  margin-inline: auto;
}
.m-rail-cluster .m-mode-slider.is-ends-only {
  width: auto;
  max-width: 100%;
  position: relative;
}
.m-mode-slider.is-ends-only .m-mode-chip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.m-mode-end.is-risky .m-mode-ico {
  display: none;
}
.m-rail-cluster .m-mode-end:not(.is-on) {
  color: var(--color-muted);
  background: transparent;
  border-color: color-mix(in oklab, var(--color-border) 65%, transparent);
  box-shadow: none;
}

/* Rail finish: quiet shared frame, centered mode pill, and matching inset controls. */
.m-rail-cluster {
  box-sizing: border-box;
  border-radius: 12px;
  padding: 10px 12px;
}
.m-rail-cluster > .m-rail-block {
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
}
.m-rail-cluster.is-mode .m-mode-slider.is-ends-only {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
}

@media (max-width: 980px) {
  .m-rail-clusters {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Header alignment: brand left, status actions right, matched to the rail. */
.m-chrome-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.m-chrome-brand.is-centered {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: auto;
  text-align: left;
  gap: 0;
}

.m-chrome-brand.is-centered .m-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.m-chrome-brand.is-centered .m-brand-title-row {
  justify-content: flex-start;
}

.m-chrome-brand.is-centered .m-brand-tag,
.m-chrome-brand.is-centered .m-brand-sub {
  text-align: left;
}

.m-chrome-head > .m-chrome-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.m-chrome-meta .m-chrome-live {
  grid-area: auto;
  justify-self: auto;
  align-self: center;
  margin-top: 0;
}

.m-chrome-meta .m-donate,
.m-chrome-meta .m-chrome-live {
  box-sizing: border-box;
  height: 30px;
}

.m-chrome-head > .m-chrome-actions {
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 0;
}

/* Session clocks: quiet rail-aligned cards. */
.m-sessions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
.m-sess {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, #22d3ee 22%, var(--color-border));
  background: color-mix(in oklab, var(--color-chart) 46%, transparent);
}
@media (max-width: 640px) {
  .m-sessions {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pulse KPI rail: five equal cards at desk width; keep Funding paired on narrow wraps. */
.m-pulse-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 979px) {
  .m-pulse-kpis {
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 10px;
  }
}
@media (max-width: 639px) {
  .m-pulse-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Movers: three balanced pulse groups without touching the KPI rail. */
.m-movers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

@media (max-width: 719px) {
  .m-movers {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Wide desk: pair the playbook with the Desk call; keep the remaining rails full-width. */
@media (min-width: 981px) {
  .m-desk-call {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }
  .m-desk-call > .m-mentor-strip {
    grid-column: 1;
  }
  .m-desk-call > .m-call {
    grid-column: 2;
  }
  .m-desk-call > .m-call.is-flat {
    margin: 0;
    max-width: none;
    text-align: left;
  }
  .m-desk-call > .m-pick,
  .m-desk-call > .m-sure-legend {
    grid-column: 1 / -1;
  }
}

.m-chart-grid[data-size] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
  align-items: start;
}

/* Open setups: evenly spaced, aligned chip wrapping. */
.m-active-tape {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.m-active-tape > .m-setup-chip {
  margin: 0;
}

/* Quiet confidence footnote. */
.m-sure-legend {
  max-width: 72ch;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-subtle);
}

/* Checklist label wrapping: keep wrapped copy aligned with its checkbox text. */
.m-checklist label {
  line-height: 1.35;
  text-wrap: pretty;
}
.m-checklist label input {
  flex: 0 0 auto;
}
.m-checklist label span {
  min-width: 0;
}

/* Quiet card frame for the scrolling price ticker. */
.m-ticker {
  border-radius: 14px;
  border: 1px solid color-mix(in oklab, #22d3ee 22%, var(--color-border));
  background: color-mix(in oklab, var(--color-chart) 46%, transparent);
  padding: 6px 10px;
  margin: 0 0 10px;
  overflow: hidden;
}

/* PayPal mark alignment for the Donate control. */
.m-donate {
  display: flex;
  align-items: center;
  gap: 6px;
}

.m-rail-cluster .m-chart-size { min-width: 0; overflow: visible; flex-wrap: nowrap; }
.m-rail-cluster .m-chart-size button { min-width: 0; height: 32px; padding: 0 6px; font-size: 11px; }
@media (max-width: 1100px) { .m-rail-cluster .m-chart-size { flex-wrap: wrap; } }

/* Compact filter chips in the open tools panel. */
.m-desk-tools .m-filter button, .m-desk-tools .m-tf button { height: 30px; padding: 0 8px; font-size: 11px; }
.m-desk-tools .m-filter { gap: 6px; }



/* Tools menu: name on the left, Donate / Live / Tools on the right. Open menu is the row under that. */
.m-chrome-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  justify-content: stretch;
  gap: 10px 12px;
}
.m-chrome-head > .m-chrome-brand {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  justify-self: start;
}
.m-chrome-head > .m-chrome-meta {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
.m-chrome-head > .m-chrome-actions,
.m-chrome-head .m-chrome-tools {
  display: contents;
}
.m-chrome-tools-sum {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.m-chrome-tools .m-chrome-actions-more {
  grid-column: 1 / -1;
  grid-row: 2;
  position: static;
  width: auto;
  margin-top: 0;
}

/* Console plate: Scan / Mode / View share one row grid so the bays line up. */
.m-rail-clusters {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 16px 16px 48px 16px minmax(36px, auto);
  column-gap: 0 !important;
  row-gap: 8px;
  align-items: stretch;
  padding: 14px 0 16px;
  border-radius: 16px;
  border: 1px solid color-mix(in oklab, #9ec4d2 26%, #0c1216);
  background: linear-gradient(180deg, #172228 0%, #10181c 42%, #0c1317 100%);
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 9%, transparent);
  overflow: hidden;
}
.m-rail-cluster,
.m-rail-cluster.is-mode {
  display: grid !important;
  grid-template-rows: subgrid;
  grid-row: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  align-items: stretch;
  justify-content: stretch;
  text-align: left;
  gap: 0 !important;
}
.m-rail-cluster + .m-rail-cluster {
  border-left: 1px solid color-mix(in oklab, #9ec4d2 16%, transparent) !important;
}
.m-rail-cluster-k {
  grid-row: 1;
  align-self: center;
  margin: 0 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase;
  color: #9eb4be !important;
}
.m-rail-cluster > .m-rail-block,
.m-rail-cluster > .m-rail-block.is-tf,
.m-rail-cluster > .m-rail-block.is-size {
  display: grid;
  grid-template-rows: subgrid;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.m-rail-clusters > .m-rail-cluster:first-child > .m-rail-block.is-tf,
.m-rail-clusters > .m-rail-cluster:nth-child(3) > .m-rail-block.is-size {
  grid-row: 4 / span 2;
}
.m-rail-clusters > .m-rail-cluster:nth-child(3) > .m-rail-block.is-tf {
  grid-row: 2 / span 2;
}
.m-rail-cluster .m-rail-k {
  align-self: end;
  margin: 0 !important;
  font-size: 9px !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f868f !important;
}
.m-scan-cluster-actions {
  grid-row: 3;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 3px !important;
  align-items: stretch;
  height: 100%;
  box-sizing: border-box;
  padding: 3px;
  border-radius: 12px;
  background: #070b0e;
  border: 1px solid color-mix(in oklab, #9ec4d2 18%, transparent);
}
.m-scan-cluster-actions > button {
  min-width: 0 !important;
  height: auto !important;
  align-self: stretch;
  padding: 0 10px !important;
  border-radius: 9px !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  letter-spacing: 0.03em;
}
.m-scan-cluster-actions > .m-scan-btn {
  color: #f4feff !important;
  background: linear-gradient(180deg, #1a7380 0%, #0e5560 100%) !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 24%, transparent) !important;
}
.m-scan-cluster-actions > .m-scan-btn.is-scanning {
  box-shadow: inset 0 0 0 1px #7ee7f5 !important;
}
.m-scan-cluster-actions > button:not(.m-scan-btn) {
  color: #8aa0ab !important;
  background: transparent !important;
}
.m-scan-cluster-actions > button:not(.m-scan-btn).is-on {
  color: #e7fbff !important;
  background: #12262c !important;
  box-shadow: inset 0 -2px 0 #5ee7f5 !important;
}
.m-rail-cluster .m-tf,
.m-rail-cluster .m-chart-size {
  margin: 0 !important;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  align-self: stretch;
  gap: 2px;
  width: 100%;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 3px;
  border-radius: 12px;
  background: #070b0e !important;
  border: 1px solid color-mix(in oklab, #9ec4d2 16%, transparent) !important;
  box-shadow: none !important;
}
.m-rail-cluster .m-tf button,
.m-rail-cluster .m-chart-size button {
  flex: 1 1 0;
  min-width: 0;
  height: auto !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #8ea3ac !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
.m-rail-cluster .m-tf button[aria-pressed="true"],
.m-rail-cluster .m-chart-size button[aria-pressed="true"] {
  color: #e9fbff !important;
  background: linear-gradient(180deg, #1b3c46 0%, #132e36 100%) !important;
  box-shadow: inset 0 -2px 0 #5ee7f5 !important;
}
.m-rail-cluster .m-chart-size-k {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.m-rail-cluster .m-chart-size button {
  flex: 1 1 auto;
  min-width: max-content;
  padding: 0 7px !important;
  overflow: hidden;
  white-space: nowrap;
}
.m-rail-cluster .m-chart-size button:nth-of-type(5) {
  margin-left: 8px;
}
.m-rail-cluster.is-mode .m-rail-cluster-k { align-self: center; }
.m-rail-cluster.is-mode .m-mode-slider,
.m-rail-cluster.is-mode .m-mode-slider.is-ends-only {
  grid-row: 3;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  box-sizing: border-box;
  margin: 0 !important;
  gap: 3px;
  padding: 3px;
  border-radius: 12px;
  background: #070b0e !important;
  border: 1px solid color-mix(in oklab, #9ec4d2 20%, transparent) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.m-rail-cluster.is-mode .m-mode-end {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto !important;
  align-self: stretch;
  margin: 0;
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #8ea3ac !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}
.m-rail-cluster.is-mode .m-mode-end.is-mentor.is-on {
  color: #f3fdff !important;
  background: linear-gradient(180deg, #1a7380 0%, #0e5560 100%) !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 22%, transparent) !important;
}
.m-rail-cluster.is-mode .m-mode-end.is-risky.is-on {
  color: #ffe7c4 !important;
  background: linear-gradient(180deg, #5a3b22 0%, #3d2816 100%) !important;
  border-color: transparent !important;
  box-shadow: inset 0 -2px 0 #e0a15a !important;
}
.m-rail-cluster.is-mode .m-mode-end.is-risky.is-on .m-mode-ico {
  color: #e0a15a !important;
}
.m-rail-cluster.is-mode::after {
  content: "Take floor stays. Risky only lights the amber tape.";
  grid-row: 5;
  align-self: center;
  justify-self: center;
  max-width: 28ch;
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  color: #7d919b;
}
.m-desk-tools-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid color-mix(in oklab, #9ec4d2 24%, transparent);
  background: #10181c;
  color: #c5d5dc;
}
.m-desk-tools.is-open .m-filter button,
.m-desk-tools.is-open .m-tf button {
  height: 28px !important;
  border-radius: 7px !important;
  border: 0 !important;
  background: transparent !important;
  color: #8ea3ac !important;
  box-shadow: none !important;
}
.m-desk-tools.is-open .m-filter button[aria-pressed="true"],
.m-desk-tools.is-open .m-tf button[aria-pressed="true"] {
  color: #e9fbff !important;
  background: linear-gradient(180deg, #1b3c46 0%, #132e36 100%) !important;
  box-shadow: inset 0 -2px 0 #5ee7f5 !important;
}
@media (max-width: 980px) {
  .m-rail-clusters {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: none;
    row-gap: 0;
    padding: 0;
  }
  .m-rail-cluster,
  .m-rail-cluster.is-mode {
    display: flex !important;
    flex-direction: column;
    grid-row: auto;
    gap: 10px !important;
    padding: 14px 16px !important;
  }
  .m-rail-cluster > .m-rail-block { display: flex; flex-direction: column; gap: 6px; }
  .m-rail-cluster + .m-rail-cluster {
    border-left: 0 !important;
    border-top: 1px solid color-mix(in oklab, #9ec4d2 16%, transparent) !important;
  }
  .m-rail-cluster .m-chart-size { flex-wrap: wrap; }
  .m-scan-cluster-actions,
  .m-rail-cluster.is-mode .m-mode-slider.is-ends-only { height: 44px; }
}

/* The rail was flex-end, so the plate sat on the right and left a hole. */
.m-desk-rail {
  align-items: stretch !important;
  width: 100%;
}
.m-rail-clusters {
  width: 100% !important;
  align-self: stretch;
}
.m-desk-rail > .m-feed-status,
.m-desk-rail > .m-rail-row.is-primary {
  align-self: flex-end;
}

/* Idle filter chips need a visible well, not the same black as the track. */
.m-desk-tools.is-open .m-filter,
.m-desk-tools.is-open .m-tf {
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #070b0e !important;
  border: 1px solid color-mix(in oklab, #9ec4d2 22%, transparent);
}
.m-desk-tools.is-open .m-filter button,
.m-desk-tools.is-open .m-tf button {
  background: #1a2830 !important;
  color: #d5e4ea !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 8%, transparent) !important;
}
.m-desk-tools.is-open .m-filter button[aria-pressed="true"],
.m-desk-tools.is-open .m-tf button[aria-pressed="true"] {
  color: #f4feff !important;
  background: linear-gradient(180deg, #1f7f8c 0%, #14606c 100%) !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 24%, transparent) !important;
}

.m-rail-cluster .m-tf button:not([aria-pressed="true"]),
.m-rail-cluster .m-chart-size button:not([aria-pressed="true"]),
.m-rail-cluster.is-mode .m-mode-end:not(.is-on),
.m-scan-cluster-actions > button:not(.m-scan-btn):not(.is-on) {
  background: #1a2830 !important;
  color: #d5e4ea !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 8%, transparent) !important;
}

/* Keep every filter chip on one line now that the wells have padding — wide screens only.
   Bugsweep: unscoped, this !important pinned 4 columns + nowrap at every width and clipped chips. */
@media (min-width: 1280px) {
  .m-desk-tools.is-open {
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.7fr) !important;
  }
  .m-desk-tools.is-open .m-filter,
  .m-desk-tools.is-open .m-tf {
    flex-wrap: nowrap !important;
  }
}
.m-desk-tools.is-open .m-filter,
.m-desk-tools.is-open .m-tf {
  gap: 3px !important;
  padding: 3px !important;
}
.m-desk-tools.is-open .m-filter button,
.m-desk-tools.is-open .m-tf button {
  height: 28px !important;
  padding: 0 7px !important;
  font-size: 11px !important;
  white-space: nowrap;
}

/* Tools window matches the console plate: slate idle, teal when on. */
.m-chrome-tools .m-chrome-actions-more {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px !important;
  width: 100%;
  margin-top: 0 !important;
  padding: 8px !important;
  border-radius: 16px !important;
  border: 1px solid color-mix(in oklab, #9ec4d2 26%, #0c1216) !important;
  background: linear-gradient(180deg, #172228 0%, #10181c 70%, #0c1317 100%) !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 9%, transparent) !important;
}
.m-chrome-actions-more > .flex { display: contents; }
.m-chrome-actions-more button:not(.m-search-hit),
.m-chrome-actions-more a.m-chrome-pin {
  height: 36px !important;
  padding: 0 12px !important;
  border-radius: 10px !important;
  border: 0 !important;
  background: #1a2830 !important;
  color: #d5e4ea !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 8%, transparent) !important;
  font-size: 13px !important;
  font-weight: 650 !important;
}
.m-chrome-actions-more button:not(.m-search-hit)[aria-pressed="true"],
.m-chrome-actions-more .m-chrome-pin.is-on {
  color: #f4feff !important;
  background: linear-gradient(180deg, #1a7380 0%, #0e5560 100%) !important;
  box-shadow: inset 0 1px 0 color-mix(in oklab, white 22%, transparent) !important;
}
.m-chrome-actions-more .m-high-alert.is-on {
  color: #ffe7c4 !important;
  background: linear-gradient(180deg, #5a3b22 0%, #3d2816 100%) !important;
  box-shadow: inset 0 -2px 0 #e0a15a !important;
}
.m-chrome-actions-more .m-search {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  min-width: 160px;
  margin: 0;
  padding: 0 12px;
  border-radius: 10px;
  background: #070b0e !important;
  border: 1px solid color-mix(in oklab, #9ec4d2 18%, transparent) !important;
  color: #8ea3ac;
}
.m-chrome-actions-more .m-search input {
  background: transparent;
  color: #e7f3f6;
}
@media (min-width: 1100px) {
  .m-chrome-tools .m-chrome-actions-more { flex-wrap: nowrap; }
}

/* Compact scroll is back. The page wash is the blue plate, not the old mint. */
:root {
  --color-bg: #070d14 !important;
  --color-surface: #101820 !important;
  --color-raised: #16202a !important;
  --color-fg: #e7f1f6 !important;
  --color-muted: #8aa3b5 !important;
  --color-subtle: #748b9c !important; /* 2026-10-20 pro6: was #5d7384 (3.3–3.9:1) → WCAG AA 4.6–5.5:1, still dimmer than muted */
  --color-border: #1c3140 !important;
  --color-chart: #070c12 !important;
}
.crypto-shell {
  --teal: #22d3ee;
  --glass: color-mix(in oklab, #0c141c 50%, transparent);
  --glass-strong: color-mix(in oklab, #101820 70%, transparent);
  --glass-glow: color-mix(in oklab, #38bdf8 14%, transparent);
  background-color: #070d14 !important;
  background-image:
    radial-gradient(1100px 560px at 12% -8%, color-mix(in oklab, #38bdf8 14%, transparent), transparent 58%),
    radial-gradient(980px 520px at 88% 6%, color-mix(in oklab, #1d4ed8 18%, transparent), transparent 56%),
    linear-gradient(180deg, color-mix(in oklab, #0c1622 78%, transparent), #070d14 92%),
    url("/money-mesh.svg"),
    url("/hex.svg"),
    url("/bg-crypto-money.png") !important;
}
.crypto-shell::before {
  background:
    radial-gradient(circle at 10% 90%, color-mix(in oklab, #38bdf8 12%, transparent), transparent 32%),
    radial-gradient(circle at 94% 14%, color-mix(in oklab, #22d3ee 10%, transparent), transparent 34%),
    linear-gradient(180deg, transparent 42%, #070d14) !important;
}
.m-chrome.is-rail.is-scrolled {
  background: #101820 !important;
  border-bottom-color: color-mix(in oklab, #38bdf8 28%, #121820) !important;
}

/* Motion: short ease, no bounce, no blur. Reduced-motion stays still. */
@media (prefers-reduced-motion: no-preference) {
  .m-chrome button,
  .m-chrome a.m-chrome-pin,
  .m-desk-rail button,
  .m-rail-cluster button,
  .m-mode-end,
  .m-desk-tools button,
  .m-desk-tools-btn {
    transition:
      background-color 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
      color 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
      border-color 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  }
  .m-chrome button:active,
  .m-desk-rail button:active,
  .m-rail-cluster button:active,
  .m-mode-end:active,
  .m-desk-tools-btn:active {
    transform: scale(0.98);
  }
  .m-desk-tools-chev,
  .m-chrome-tools-sum svg {
    transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  }
  .m-chrome.is-rail {
    transition: padding 200ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  }
  .m-chrome-actions-more,
  .m-desk-tools.is-open {
    animation: m-panel-in 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .m-live-on .m-live-dot {
    animation: m-live-breathe 2.4s ease-in-out infinite !important;
  }
  .m-score-bar {
    animation: m-live-breathe 1.8s ease-in-out infinite !important;
  }
  .m-tick-up,
  .m-tick-down {
    animation-duration: 420ms !important;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .m-scan-btn.is-scanning svg {
    animation-duration: 0.9s;
    animation-timing-function: linear;
  }
}
@keyframes m-panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@keyframes m-live-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  .m-chrome button,
  .m-desk-rail button,
  .m-rail-cluster button,
  .m-mode-end,
  .m-chrome-actions-more,
  .m-desk-tools.is-open,
  .m-live-on .m-live-dot,
  .m-score-bar {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Paper self-test hit% — muted slate, never buy/sell or TAKE gold. */
.m-paper-hit {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, #94a3b8 55%, var(--color-border));
  background: color-mix(in oklab, #94a3b8 14%, transparent);
  color: #94a3b8;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.m-paper-note {
  margin: 0 0 10px;
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: 0.01em;
}
.m-sure-hit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* 2026-10-05 Lab — flat side card hugs its one line instead of stretching
   to the twin's full height (big empty glass box read as a broken panel). */
.m-pick.is-outline-twins { align-items: start; }
.m-pick.is-outline-twins .m-pick-card.is-empty {
  align-self: start;
  min-height: 0;
  border-style: dashed;
  border-color: rgba(120, 200, 220, 0.22);
  background: rgba(10, 18, 24, 0.42);
}
.m-pick.is-outline-twins .m-pick-card.is-empty .m-pick-empty {
  margin: 6px 0 2px;
  color: rgba(200, 225, 235, 0.72);
}

/* 2026-10-05 PM Lab — phone header: brand + Tools share row 1, Donate / Live
   drop to row 2. The 3-column grid squeezed the brand column to ~0 under 640px,
   so the flank marks stacked, the wordmark ran under the Live pill and Donate
   slid off the left edge. Cyan tool chrome only, no gold, no blur, no motion. */
@media (max-width: 640px) {
  .m-chrome-head {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 6px;
  }
  .m-chrome-head > .m-chrome-brand { grid-column: 1; grid-row: 1; }
  .m-chrome-tools-sum { grid-column: 2; grid-row: 1; }
  .m-chrome-head > .m-chrome-meta,
  .m-chrome.is-rail.is-scrolled .m-chrome-head > .m-chrome-meta {
    grid-area: auto !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 8px;
  }
  .m-chrome-tools .m-chrome-actions-more { grid-row: 3; }
  .m-chrome-brand.is-centered .m-brand-title-row {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }
  .m-chrome-meta .m-chrome-live {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 380px) {
  /* Very small phones: keep one flank mark so the wordmark never touches Tools. */
  .m-chrome-brand.is-centered .m-brand-title-row > .m-mark.is-flank:last-child { display: none; }
}

/* 2026-10-07 pm: open-setup chip shows which coin is in the workspace — tool cyan ring, never gold; stamp colours untouched */
.m-active-tape > .m-setup-chip.is-open,
.m-setup-chip[aria-pressed="true"] {
  box-shadow: inset 0 0 0 1px #22d3ee, 0 0 0 1px color-mix(in oklab, #22d3ee 35%, transparent) !important;
}
.m-setup-chip[aria-pressed="true"] .m-setup-sym {
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, #22d3ee 70%, transparent);
  text-underline-offset: 3px;
}

/* 2026-10-08 am: tape cards hug their content. The old 280px floor left ~100–150px of
   empty glass under every collapsed card (≈1 screen of dead scroll on phones).
   Rows stay even while all cards are collapsed; once a card opens "More", neighbours
   snap back to their own height instead of ballooning. */
.m-chart-grid > .m-pair-card:not(.m-skel-card) {
  min-height: 0;
  display: flex;
  flex-direction: column;
  contain-intrinsic-size: auto 200px;
}
.m-chart-grid > .m-pair-card:not(.m-skel-card) > .m-card-row1 { flex: 1 0 auto; }
.m-chart-grid:not(:has(> .m-pair-card > details[open])) { align-items: stretch; }

/* 2026-10-08 am: honest near-stop tag — live R:R balloons as price drifts toward the
   stop. Amber warning pill (not a direction), never gold; the R number dims so it can't read as a better trade. */
.m-atr-risk .m-near-stop {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: color-mix(in oklab, var(--cf-risk-amber) 70%, var(--color-fg));
  background: color-mix(in oklab, var(--cf-risk-amber) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--cf-risk-amber) 40%, var(--color-border));
  box-shadow: none;
  cursor: help;
}
.m-atr-risk .m-near-stop::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: none;
}
.m-atr-risk.is-near-stop .m-atr-rr {
  opacity: 0.55;
  text-decoration: underline dotted color-mix(in oklab, var(--cf-risk-amber) 60%, transparent);
  text-underline-offset: 3px;
}
.m-exit-compact .m-level-stale {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--color-subtle);
  border: 1px dashed color-mix(in oklab, var(--color-subtle) 55%, transparent);
  cursor: help;
}

/* 2026-10-12 pm: AtrRiskLine single geometry HUD — console/tech rail
   After tape de-dupe, this is the only stop/tgt/R text on Desk Call + workspace.
   Mono rail + tight tracking on the ATR kicker; faint inset edge via existing vars.
   No new gold, no buy-green glow, no heavy backdrop-filter. Fluency > blur. */
.m-call.is-take-hero .m-atr-risk,
.m-workspace .m-atr-risk {
  font-family: var(--font-mono);
  padding: 5px 8px 4px;
  margin-top: 6px;
  border-radius: 6px;
  border-top: 1px solid color-mix(in oklab, var(--color-border) 70%, var(--teal));
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--teal) 12%, transparent);
  background: color-mix(in oklab, var(--color-chart) 92%, transparent);
}
.m-call.is-take-hero .m-atr-risk > span:first-child,
.m-workspace .m-atr-risk > span:first-child {
  letter-spacing: 0.14em;
  font-size: 9.5px;
  font-weight: 650;
}
.m-call.is-take-hero .m-atr-risk .font-mono,
.m-workspace .m-atr-risk .font-mono {
  letter-spacing: 0.02em;
}
/* Keep near-stop pill readable on the tighter HUD rail */
.m-call.is-take-hero .m-atr-risk .m-near-stop,
.m-workspace .m-atr-risk .m-near-stop {
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

/* 2026-10-14 am: AtrRiskLine mono HUD on pair cards too — hairline seps, no blur.
   Stamp hierarchy stays on .m-stamp; geometry rail is border token + muted --cf-atr-stop; no gold/cyan/glow. */
.m-pair-card .m-atr-risk {
  font-family: var(--font-mono);
  padding: 3px 6px 2px;
  margin-top: 4px;
  border-radius: 5px;
  border-top: 1px solid var(--color-border);
  box-shadow: none;
  background: color-mix(in oklab, var(--color-chart) 94%, transparent);
}
.m-atr-risk .m-atr-k {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 9.5px;
  font-weight: 650;
  color: color-mix(in oklab, var(--cf-atr-stop) 70%, var(--color-subtle));
}
.m-atr-risk .m-atr-geo {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 2px;
  letter-spacing: 0.02em;
}
.m-atr-risk .m-atr-geo-k {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 9px;
  color: color-mix(in oklab, var(--color-subtle) 80%, var(--color-muted));
  margin-right: 3px;
}
.m-atr-risk .m-atr-sep {
  display: inline-block;
  width: 1px;
  height: 0.85em;
  margin: 0 7px;
  vertical-align: -0.1em;
  background: var(--color-border);
  opacity: 0.85;
}
.m-atr-risk .m-atr-rr {
  font-weight: 650;
  letter-spacing: 0.04em;
}
.m-call.is-take-hero .m-atr-risk .m-atr-k,
.m-workspace .m-atr-risk .m-atr-k {
  letter-spacing: 0.14em;
  font-size: 9.5px;
}

/* 2026-10-16 AM: scan-age pip — counts up from the scan's own timestamp.
   Hairline drains once per scan interval and stops (no loop/pulse/glow).
   Teal while draining, muted once stale. "stale" copy is plain muted text — never gold/amber/red. */
.m-scan-pip {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 8px;
  vertical-align: middle;
  color: var(--color-subtle);
  font-variant-numeric: tabular-nums;
}
.m-scan-pip-text { line-height: 1; }
.m-scan-pip-line {
  display: block;
  width: 56px;
  height: 1px;
  background: color-mix(in oklab, var(--color-border) 70%, transparent);
  overflow: hidden;
}
.m-scan-pip-line > span {
  display: block;
  height: 100%;
  background: #2dd4bf;
  transition: width 1s linear;
}
.m-scan-pip.is-stale,
.m-scan-pip.is-stale .m-scan-pip-text { color: var(--color-muted); }
.m-scan-pip.is-stale .m-scan-pip-line > span { background: var(--color-subtle); }
.m-scan-stale-note {
  margin: 0;
  font-size: 0.72rem;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
  .m-scan-pip-line > span { transition: none; }
}

/* 2026-10-16 AM: tabular figures on value classes that lacked them (no !important). */
.m-screen-px,
.m-call-px,
.m-atr-rr,
td.m-sticky-sure,
.m-sure-hit { font-variant-numeric: tabular-nums; }

/* —— 2026-10-16 PM Lab lock (visual only): screener hairline grid · mute stale banner —— */
/* P0 — kill zebra washes (L1379 + L5055); keep 1px --color-border td dividers; sticky pins opaque */
.m-screen tbody tr:nth-child(even) {
  background: transparent !important;
}
.m-screen tbody tr:nth-child(even) .m-sticky-star,
.m-screen tbody tr:nth-child(even) .m-sticky-sym,
.m-screen tbody tr:nth-child(even) .m-sticky-stamp,
.m-screen tbody tr:nth-child(even) .m-sticky-sure {
  background: var(--color-surface) !important;
}
.m-screen td {
  border-bottom: 1px solid var(--color-border) !important;
}
/* P1 — mute .m-fresh-banner.is-stale (overrides L2240 #d4a574 + L6478 --cf-risk-amber !important) */
.m-fresh-banner.is-stale {
  border-color: color-mix(in oklab, var(--color-border) 85%, var(--color-subtle)) !important;
  background: color-mix(in oklab, var(--color-surface) 92%, var(--color-subtle)) !important;
  color: var(--color-muted) !important;
  box-shadow: none !important;
}
/* pip hairline already muted when stale (L7874–7876) — verified, no change */

/* —— 2026-10-19 AM Lab lock (visual): paper chip sample-depth hairline ——
   1px slate rule under the label, width = n toward 20 resolved trades.
   Sample count only — never hit%, never gold/green/red, no motion. */
.m-paper-hit {
  position: relative;
  overflow: hidden;
}
.m-paper-hit-text { line-height: 1.2; }
.m-paper-depth {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 1px;
  height: 1px;
  background: color-mix(in oklab, #94a3b8 18%, transparent);
  pointer-events: none;
}
.m-paper-depth > span {
  display: block;
  height: 100%;
  background: color-mix(in oklab, #94a3b8 70%, transparent);
}

/* —— 2026-10-20 pro pass (visual only, no scoring): pinned screener header · keyboard rows · sort caret · panel fallback ——
   Header pins inside the screener's own scroll box only (TradingView / Velo tables).
   The top rail is NOT pinned. Focus ring is the cyan tool hue — never TAKE gold. */
.m-screen-wrap { --m-tool: color-mix(in oklab, #22d3ee 70%, var(--color-fg)); overscroll-behavior: contain; }
.m-screen thead th { transition: box-shadow 120ms ease; }
.m-screen-wrap.is-scrolled .m-screen thead th {
  box-shadow:
    0 1px 0 color-mix(in oklab, var(--color-border) 90%, transparent),
    0 6px 10px -8px rgb(0 0 0 / 0.65);
}
.m-screen th button { display: inline-flex; align-items: center; gap: 2px; }
.m-sort-ind {
  display: inline-block;
  width: 0.7em;
  font-size: 10px;
  line-height: 1;
  color: var(--m-tool);
}
.m-screen .m-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.m-screen tbody tr:focus { outline: none; }
.m-screen tbody tr:focus-visible > td {
  box-shadow:
    inset 0 1px 0 var(--m-tool),
    inset 0 -1px 0 var(--m-tool);
}
.m-screen tbody tr:focus-visible > td:first-child {
  box-shadow:
    inset 2px 0 0 var(--m-tool),
    inset 0 1px 0 var(--m-tool),
    inset 0 -1px 0 var(--m-tool);
}
.m-screen tbody tr:focus-visible > td:last-child {
  box-shadow:
    inset -1px 0 0 var(--m-tool),
    inset 0 1px 0 var(--m-tool),
    inset 0 -1px 0 var(--m-tool);
}
@media (prefers-reduced-motion: reduce) {
  .m-screen thead th { transition: none; }
}

/* Per-panel error fallback: muted, in place, with a retry. No red wash, no gold. */
.m-panel-error {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 14px 16px;
  border: 1px solid color-mix(in oklab, var(--color-border) 85%, transparent);
  border-radius: 12px;
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 13px;
}
.m-panel-error-t { color: var(--color-fg); font-weight: 600; }
.m-panel-error-retry {
  margin-top: 4px;
  padding: 4px 12px;
  border: 1px solid color-mix(in oklab, var(--color-border) 90%, var(--color-fg));
  border-radius: 8px;
  color: var(--color-fg);
  background: transparent;
  font-size: 12px;
}
.m-panel-error-retry:hover { background: var(--color-raised); }
.m-panel-error-retry:focus-visible { outline: 2px solid var(--m-tool, #22d3ee); outline-offset: 2px; }

/* —— 2026-10-20 pro pass 2 (visual only, no scoring): scan RTT · screener skeleton · prefs hydration —— */
/* Scan round-trip chip next to LIVE: muted, tabular. Dash until measured. Muted amber only when slow. */
.m-rtt {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 2px 8px;
  border: 1px solid color-mix(in oklab, var(--color-border) 85%, transparent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--color-subtle);
  white-space: nowrap;
}
.m-rtt.is-ok { color: var(--color-muted); }
.m-rtt.is-slow {
  color: color-mix(in oklab, #d4a574 70%, var(--color-muted));
  border-color: color-mix(in oklab, #d4a574 30%, var(--color-border));
}

/* Screener skeleton: same table box and row rhythm as the real screener. Static bars (no shimmer). */
.m-screen-skel { pointer-events: none; }
.m-screen-skel td { height: 44px; }
.m-skel-cell { display: block; height: 10px; width: 70%; border-radius: 6px; }
.m-skel-cell.is-name { width: 80%; height: 12px; box-shadow: 0 16px 0 -2px color-mix(in oklab, var(--color-raised) 92%, #071410); }
.m-skel-cell.is-pill { width: 56px; height: 18px; border-radius: 999px; }
.m-screen-skel tbody td:first-child .m-skel-cell { width: 14px; height: 14px; border-radius: 4px; }

/* Until saved prefs hydrate, mode/view controls sit neutral (no wrong "on" state flashes). */
.m-desk[data-prefs="pending"] .m-desk-rail { opacity: 0.55; }
.m-desk[data-prefs="pending"] .m-desk-rail .is-on,
.m-desk[data-prefs="pending"] .m-desk-rail [aria-pressed="true"] {
  background: transparent;
  color: var(--color-muted);
  box-shadow: none;
}
.m-desk[data-prefs="ready"] .m-desk-rail { transition: opacity 120ms ease; }
@media (prefers-reduced-motion: reduce) {
  .m-desk[data-prefs="ready"] .m-desk-rail { transition: none; }
}

/* —— 2026-10-20 pro pass 3 (visual only, no scoring): right-aligned numbers · hover crosshair ——
   Numbers right-align so digits line up (Coinglass / Binance tables). Crosshair = hovered row
   (existing) + a faint column tint on data columns 5–11; sticky pins stay opaque. No gold. */
.m-screen th.m-num,
.m-screen td.m-num { text-align: right; }
.m-screen th.m-num button { justify-content: flex-end; }
@media (hover: hover) {
.m-screen:has(tbody td:nth-child(5):hover) tbody td:nth-child(5),
.m-screen:has(tbody td:nth-child(6):hover) tbody td:nth-child(6),
.m-screen:has(tbody td:nth-child(7):hover) tbody td:nth-child(7),
.m-screen:has(tbody td:nth-child(8):hover) tbody td:nth-child(8),
.m-screen:has(tbody td:nth-child(9):hover) tbody td:nth-child(9),
.m-screen:has(tbody td:nth-child(10):hover) tbody td:nth-child(10),
.m-screen:has(tbody td:nth-child(11):hover) tbody td:nth-child(11) {
  background-color: color-mix(in oklab, var(--color-raised) 45%, transparent);
}
.m-screen:has(tbody td:nth-child(5):hover) thead th:nth-child(5),
.m-screen:has(tbody td:nth-child(6):hover) thead th:nth-child(6),
.m-screen:has(tbody td:nth-child(7):hover) thead th:nth-child(7),
.m-screen:has(tbody td:nth-child(8):hover) thead th:nth-child(8),
.m-screen:has(tbody td:nth-child(9):hover) thead th:nth-child(9),
.m-screen:has(tbody td:nth-child(10):hover) thead th:nth-child(10),
.m-screen:has(tbody td:nth-child(11):hover) thead th:nth-child(11) {
  color: var(--color-fg);
}
}

/* —— 2026-10-20 pro pass 4 (visual only, no scoring): screener column + density toolbar ——
   Muted chips, cyan tool hue for "on" (never TAKE gold). Toolbar is not sticky. */
.m-screen-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}
.m-screen-count {
  margin-right: auto;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--color-subtle);
  font-variant-numeric: tabular-nums;
}
.m-screen-tool-btn {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid color-mix(in oklab, var(--color-border) 90%, transparent);
  border-radius: 8px;
  background: transparent;
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
}
.m-screen-tool-btn::-webkit-details-marker { display: none; }
.m-screen-tool-btn:hover { color: var(--color-fg); background: var(--color-raised); }
.m-screen-tool-btn.is-on,
.m-screen-cols[open] > .m-screen-tool-btn {
  color: color-mix(in oklab, #22d3ee 75%, var(--color-fg));
  border-color: color-mix(in oklab, #22d3ee 35%, var(--color-border));
}
.m-screen-tool-btn:focus-visible { outline: 2px solid color-mix(in oklab, #22d3ee 70%, var(--color-fg)); outline-offset: 2px; }
.m-screen-tool-n { color: var(--color-subtle); }
.m-screen-density { display: inline-flex; gap: 4px; }
.m-screen-cols { position: relative; }
.m-screen-cols-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  display: grid;
  gap: 2px;
  min-width: 160px;
  padding: 8px;
  border: 1px solid color-mix(in oklab, var(--color-border) 90%, transparent);
  border-radius: 10px;
  background: var(--color-surface);
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / 0.7);
}
.m-screen-col {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--color-fg);
  cursor: pointer;
}
.m-screen-col:hover { background: var(--color-raised); }
.m-screen-col.is-locked { color: var(--color-subtle); cursor: default; }
.m-screen-col input { accent-color: #22d3ee; }

/* Compact density: tighter rows, one-line name (price stays visible). */
.m-screen.is-dense.is-compact th,
.m-screen.is-dense.is-compact td { padding: 3px 8px; }
.m-screen.is-compact td { font-size: 12px; }
.m-screen.is-compact .m-tok { display: none; }
.m-screen.is-compact .m-screen-name strong { margin-right: 6px; }
.m-screen.is-compact .m-screen-name > span:last-child { display: inline-flex; align-items: baseline; }
.m-screen.is-compact .m-stamp { padding: 1px 5px; }

/* —— 2026-10-20 pro pass 6 (visual only, no scoring): narrow-width screener ——
   Below 640px only star + Name stay pinned (Binance / Bybit mobile tables), so the
   data columns get room to scroll. Stamp and Sure still show, they just scroll.
   Header row stays pinned to the top of the screener box; top rail untouched. */
@media (max-width: 640px) {
  .m-screen .m-sticky-stamp,
  .m-screen .m-sticky-sure { left: auto; }
  .m-screen tbody .m-sticky-stamp,
  .m-screen tbody .m-sticky-sure { position: static; }
  .m-screen .m-sticky-sym { min-width: 96px; box-shadow: 1px 0 0 color-mix(in oklab, var(--color-border) 90%, transparent); }
  .m-screen-tools { gap: 6px; }
  .m-screen-count { flex-basis: 100%; }
}

/* —— 2026-10-20 pro pass 7 (visual only, no scoring) ——
   Increased contrast (macOS "Increase contrast", Windows contrast themes; GitHub/Apple pattern):
   dim text steps up one level, hairlines get visible. Hues keep their meaning; gold stays TAKE/hero-only. */
@media (prefers-contrast: more) {
  :root,
  .crypto-shell {
    --color-subtle: #8aa3b5 !important; /* = normal muted (6.3:1 on raised) */
    --color-muted: #b9ccd8 !important;  /* ~10:1 on raised */
    --color-border: #3a5468 !important;
  }
  .m-screen thead th { box-shadow: 0 1px 0 var(--color-border); }
  :focus-visible { outline-width: 3px; }
}

/* —— 2026-10-20 pro pass 8 (visual only, no scoring) —— */

/* Skip link (WCAG 2.4.1; GOV.UK / GitHub): hidden until keyboard focus, then a cyan tool chip.
   Absolute inside the desk — not sticky/fixed, and never gold. */
.m-desk { position: relative; }
.m-skip {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 60;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent-fg);
  background: #22d3ee;
  text-decoration: none;
  transform: translateY(-160%);
  opacity: 0;
  pointer-events: none;
}
.m-skip:focus,
.m-skip:focus-visible {
  transform: none;
  opacity: 1;
  pointer-events: auto;
  outline: 2px solid var(--color-fg);
  outline-offset: 2px;
}
.m-section[tabindex="-1"]:focus { outline: none; }

/* Phone layout switch: only meaningful below 640px. */
.m-screen-layout { display: none; gap: 4px; }

@media (max-width: 639px) {
  .m-screen-layout { display: inline-flex; }

  /* Card layout (Binance / Coinbase mobile markets): same row, same cells, same stamp + sure%.
     Each coin is a card: star · name/price · stamp · sure on top, labelled stats below. */
  .m-screen-wrap.is-cards { overflow-x: hidden; }
  .m-screen-wrap.is-cards .m-screen { min-width: 0; width: 100%; display: block; }
  .m-screen-wrap.is-cards .m-screen tbody { display: grid; gap: 8px; padding: 8px; }

  /* Header becomes a pinned row of sort chips (only sortable headers stay). */
  .m-screen-wrap.is-cards .m-screen thead { display: block; position: sticky; top: 0; z-index: 4; background: var(--color-raised); }
  .m-screen-wrap.is-cards .m-screen thead tr { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 8px; }
  .m-screen-wrap.is-cards .m-screen thead th { position: static; display: none; padding: 0; box-shadow: none; background: none; }
  /* pass 9: non-sort headers stay in the accessibility tree (visually hidden, not display:none) so cards keep column names for screen readers. */
  .m-screen-wrap.is-cards .m-screen thead th:not([aria-sort]):not(:has(> button)) {
    display: block; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .m-screen-wrap.is-cards .m-screen thead th[aria-sort],
  .m-screen-wrap.is-cards .m-screen thead th:has(> button) { display: block; }
  .m-screen-wrap.is-cards .m-screen thead th > button { min-height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--color-border); }

  .m-screen-wrap.is-cards .m-screen tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 10px 12px;
    border: 1px solid color-mix(in oklab, var(--color-border) 90%, transparent);
    border-radius: 12px;
    background: var(--color-surface);
  }
  .m-screen-wrap.is-cards .m-screen tbody td {
    position: static;
    display: block;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    text-align: left;
  }
  .m-screen-wrap.is-cards .m-screen tbody td.m-sticky-sym { flex: 1 1 auto; min-width: 0; }
  .m-screen-wrap.is-cards .m-screen tbody td[data-label] {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
  }
  .m-screen-wrap.is-cards .m-screen tbody td.m-sticky-sure { flex: 0 0 auto; }
  .m-screen-wrap.is-cards .m-screen tbody td.m-sticky-sure::before { content: none; }
  .m-screen-wrap.is-cards .m-screen tbody td.m-screen-atr,
  .m-screen-wrap.is-cards .m-screen tbody td.m-screen-setup { flex-basis: 100%; }
  .m-screen-wrap.is-cards .m-screen tbody td[data-label]::before {
    content: attr(data-label);
    color: var(--color-subtle);
    font-family: var(--font-sans);
    letter-spacing: 0.04em;
  }
  .m-screen-wrap.is-cards .m-screen tbody tr > td:nth-child(n + 5) { border-top: 0; }
  .m-screen-wrap.is-cards .m-screen tbody tr:focus-visible { outline: 2px solid var(--m-tool); outline-offset: 2px; }
  .m-screen-wrap.is-cards .m-screen tbody tr:focus-visible > td { box-shadow: none; }

  /* Tap targets (WCAG 2.5.8 / Apple HIG): screener tools + star ≥ 32px tall on phones. */
  .m-screen-tool-btn { min-height: 32px; padding-inline: 12px; }
  .m-screen .m-star { min-width: 32px; min-height: 32px; display: inline-grid; place-items: center; }
}
@media (max-width: 639px) {
  /* pass 8b — card rhythm: top line = star · name · stamp · sure (no label); short stats paired; long ones full width. */
  .m-screen-wrap.is-cards .m-screen tbody td.m-sticky-sym { flex: 1 1 0; }
  .m-screen-wrap.is-cards .m-screen tbody td.m-sticky-sure[data-label] { flex: 0 0 auto; display: block; font-size: inherit; }
  .m-screen-wrap.is-cards .m-screen tbody td.m-sticky-sure[data-label]::before { content: none; }
  .m-screen-wrap.is-cards .m-screen tbody td[data-label]:not(.m-sticky-sure) { order: 1; }
  .m-screen-wrap.is-cards .m-screen tbody td.m-screen-atr[data-label],
  .m-screen-wrap.is-cards .m-screen tbody td.m-screen-setup[data-label],
  .m-screen-wrap.is-cards .m-screen tbody td[data-label="Funding"] { order: 2; flex-basis: 100%; }
}

/* —— 2026-10-20 pro pass 9 (visual only, no scoring) —— */

/* Tap targets on phones (WCAG 2.5.8 min 24px; Apple HIG / Material aim higher): desk controls ≥ 32px. */
@media (max-width: 639px) {
  .m-tf > button,
  .m-chart-tf > button,
  .m-chart-size button,
  .m-filter > button { min-height: 32px; min-width: 32px; }
  .m-chrome-meta .m-donate { min-height: 32px; }
  .m-search input { min-height: 32px; }
  .m-mentor-rules-disclosure > summary { padding-block: 8px; }
  .m-news-line { min-height: 32px; }
  .m-mentor-howto-link { padding-block: 8px; } /* inline link: bigger hit area, same line box */
  .m-checklist label,
  .m-screen-col { min-height: 32px; align-items: center; }
  .m-checklist label input,
  .m-screen-col input { width: 20px; height: 20px; }
}

/* Focus not obscured (WCAG 2.4.11): keyboard row moves never park a row under the pinned header. */
.m-screen-wrap { scroll-padding-top: 44px; scroll-padding-bottom: 8px; }
.m-screen tbody tr { scroll-margin-top: 44px; }

/* Windows contrast themes / forced colors: backgrounds and gradients are stripped, so stamps,
   tool chips, cards and focus get real borders and system colours (no meaning by fill alone). */
@media (forced-colors: active) {
  .m-stamp,
  .m-sure,
  .m-card-action,
  .m-screen-tool-btn,
  .m-skip { border: 1px solid CanvasText; forced-color-adjust: auto; }
  .m-stamp.is-take { border-width: 2px; }
  .m-screen-wrap.is-cards .m-screen tbody tr { border: 1px solid CanvasText; }
  .m-screen tbody tr:focus-visible,
  .m-screen tbody tr:focus-visible > td,
  :focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
  .m-screen-tool-btn.is-on,
  .m-screen-tool-btn[aria-pressed="true"] { border-color: Highlight; color: Highlight; }
}
@media (max-width: 639px) {
  /* pass 9b: desk-tools / rail clusters set fixed heights — lift them on phones only. */
  .m-desk-tools .m-filter button,
  .m-desk-tools .m-tf button,
  .m-rail-cluster .m-chart-size button { height: auto; min-height: 32px; min-width: 32px; }
}
@media (max-width: 639px) {
  .m-desk .m-tf button,
  .m-desk .m-tf [role="tab"] { min-height: 32px; }
}
@media (max-width: 639px) {
  .m-mentor-rules-disclosure > summary { min-height: 32px; }
}

/* —— 2026-10-20 pro pass 10 (display only, no scoring) ——
   Micro visuals (Velo / Coinglass / Hyperliquid): 24h range bar + mini volume bar.
   Muted cyan-grey only — no gold, no buy/sell tint (they don't make a call). */
.m-num-stack { display: inline-grid; justify-items: end; gap: 3px; }
.m-range {
  position: relative;
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--color-border) 85%, transparent);
}
.m-range-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: color-mix(in oklab, #22d3ee 22%, var(--color-subtle) 40%);
}
.m-range-dot {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-muted);
  box-shadow: 0 0 0 1.5px var(--color-surface);
}
.m-range.is-outside .m-range-dot { background: var(--color-fg); }
.m-vbar { display: block; width: 56px; height: 2px; border-radius: 999px; background: color-mix(in oklab, var(--color-border) 70%, transparent); overflow: hidden; }
.m-vbar > span { display: block; height: 100%; margin-left: auto; border-radius: inherit; background: color-mix(in oklab, #22d3ee 30%, var(--color-subtle)); }

/* Heat tiles: name clipped with ellipsis (full name in title), duplicate badge dropped, range bar at the foot. */
.m-heat-cell .m-tok { display: none; }
.m-heat-cell { min-width: 0; }
.m-heat-cell strong { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-heat-cell .m-range { width: 100%; margin-top: 6px; background: color-mix(in oklab, var(--color-bg) 55%, transparent); }

/* Phone cards: bars sit under the value, left of the label row's end. */
@media (max-width: 639px) {
  .m-screen-wrap.is-cards .m-num-stack { justify-items: end; }
  .m-heat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .m-heat-cell { min-height: 72px; padding: 10px 12px; }
}

@media (forced-colors: active) {
  .m-range, .m-vbar { border: 1px solid GrayText; }
  .m-range-dot, .m-range-fill, .m-vbar > span { forced-color-adjust: none; background: CanvasText; }
  .m-range-fill { opacity: 0.4; }
}
/* pass 10b: ellipsis clip must not shave the display font's caps. */
.m-heat-cell strong { line-height: 1.35; padding-block: 1px; }
.m-heat-cell > * { flex-shrink: 0; } /* pass 10c: flex column was squeezing the clipped name line */

/* —— 2026-10-20 pro pass 11 (display only, no scoring) ——
   Trend sparkline (CoinGecko / TradingView screener) + RSI gauge (Coinglass). One muted
   cyan-grey stroke — no gold, no buy/sell tint (the desk's up/down tick mute is neutral too). */
.m-screen-trend { width: 72px; }
.m-spark { display: block; overflow: visible; }
.m-spark path { stroke: color-mix(in oklab, #22d3ee 35%, var(--color-muted)); stroke-width: 1.25; stroke-linejoin: round; stroke-linecap: round; }
.m-spark circle { fill: var(--color-muted); }
.m-screen tbody tr:hover .m-spark path,
.m-screen tbody tr:focus-visible .m-spark path { stroke: color-mix(in oklab, #22d3ee 55%, var(--color-fg)); }

.m-rsi-g {
  position: relative;
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 999px;
  /* 30 / 70 guide marks on a muted track */
  background:
    linear-gradient(90deg, transparent calc(30% - 0.5px), var(--color-subtle) calc(30% - 0.5px) calc(30% + 0.5px), transparent calc(30% + 0.5px) calc(70% - 0.5px), var(--color-subtle) calc(70% - 0.5px) calc(70% + 0.5px), transparent calc(70% + 0.5px)),
    color-mix(in oklab, var(--color-border) 85%, transparent);
}
.m-rsi-g > span { position: absolute; top: 50%; width: 5px; height: 5px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--color-muted); }

@media (max-width: 639px) {
  .m-screen-wrap.is-cards .m-screen tbody td.m-screen-trend[data-label] { order: 1; flex-basis: 100%; align-items: center; }
  .m-screen-wrap.is-cards .m-spark { width: 120px; height: 22px; }
}
@media (forced-colors: active) {
  .m-spark path { stroke: CanvasText; }
  .m-spark circle, .m-rsi-g > span { fill: CanvasText; background: CanvasText; forced-color-adjust: none; }
  .m-rsi-g { border: 1px solid GrayText; }
}

/* —— 2026-10-20 pro pass 12 (display only, no scoring) —— */
/* Heat tiles: same muted trend line as the screener, scaled uniformly to the tile width. */
.m-heat-cell .m-spark { width: 100%; height: auto; max-height: 24px; margin-top: 4px; }
.m-heat-cell .m-spark path { stroke: color-mix(in oklab, #22d3ee 30%, var(--color-muted)); }

/* Plan ladder (TradingView position tool / Hyperliquid TP-SL bar). Muted, never gold —
   inside the Desk Call hero the gold belongs to the frame + TAKE stamp only. */
.m-atr-risk .m-ladder { flex-basis: 100%; }
.m-ladder { display: flex; align-items: center; gap: 6px; max-width: 280px; }
.m-ladder-k { font-size: 9px; letter-spacing: 0.08em; color: var(--color-subtle); }
.m-ladder-track {
  position: relative;
  flex: 1 1 auto;
  height: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, color-mix(in oklab, var(--color-border) 95%, transparent) 0 4px, transparent 4px 7px);
}
.m-ladder-done { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: color-mix(in oklab, #22d3ee 26%, var(--color-subtle) 50%); }
.m-ladder-dot {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-fg);
  box-shadow: 0 0 0 2px var(--color-surface);
}
.m-ladder.is-beyond-stop .m-ladder-dot { background: transparent; border: 1.5px solid var(--color-muted); }
.m-call.is-take-hero .m-ladder { max-width: 360px; }
.m-call.is-take-hero .m-ladder-track { height: 5px; }
@media (forced-colors: active) {
  .m-ladder-track { border: 1px solid GrayText; }
  .m-ladder-dot, .m-ladder-done { forced-color-adjust: none; background: CanvasText; }
}
/* pass 12b: tiles grow to fit the trend line + range bar instead of clipping them (88px stays the floor). */
.m-heat[data-mono="1"] .m-heat-cell { height: auto; }
@media (min-width: 640px) { .m-heat-cell .m-spark { max-height: 18px; } }

/* —— 2026-10-20 pro pass 13 (display only, no scoring) —— */
/* Heat tiles: content-visibility:auto + contain-intrinsic-size 88px kept tiles at the remembered
   88/110px box after the sparkline arrived, so the range bar spilled 2–30px past the border.
   33 tiles are cheap to paint — lay them out normally so the box always fits its content. */
.m-heat-cell { content-visibility: visible; contain-intrinsic-size: none; contain: layout style; }

/* "Why WATCH" — plain-words demotion reason from the row's own veto / gate text. Muted, never gold. */
.m-stamp-why { margin: 2px 0 4px; font-size: 12px; line-height: 1.4; color: var(--color-muted); }
.m-stamp-why-k {
  margin-right: 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtle);
}

/* Mentor playbook: live TAKE plan ladder (same levels as the Desk Call hero). Muted, never gold. */
.m-mentor-ladder { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 12px; color: var(--color-muted); }
.m-mentor-ladder-k { font-family: var(--font-mono, ui-monospace, monospace); white-space: nowrap; }
.m-mentor-ladder .m-ladder { flex: 1 1 auto; max-width: 320px; }

/* —— 2026-10-20 pro pass 16 (display only, no scoring) —— */
/* Quick search palette (TradingView Ctrl/⌘+K): group labels, command rows with their hotkey. Cyan tool hue, never gold. */
.m-search-group {
  margin: 6px 10px 2px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
.m-search-list button.m-search-hit.is-cmd { justify-content: space-between; }
.m-search-cmd { color: var(--color-fg); }
.m-kbd {
  min-width: 22px;
  padding: 1px 6px;
  border: 1px solid var(--color-border);
  border-radius: 5px;
  font: 11px/1.4 var(--font-mono, ui-monospace, monospace);
  text-align: center;
  color: var(--color-muted);
}

/* Data window (TradingView / Vela): exact RSI · MACD · ATR for the bar under the crosshair. Muted, tabular. */
.m-data-window {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 4px 0 2px;
  min-height: 18px;
  font-size: 12px;
  color: var(--color-muted);
}
.m-data-window b { font-weight: 600; color: var(--color-fg); }
.m-data-window-k {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtle);
}
@media (forced-colors: active) {
  .m-kbd { border-color: CanvasText; }
}

/* Round Stale: Desk Call hero on a stale scan — same layout + ladder, stamp WATCH, no gold (gold = live TAKE only). */
.m-call.is-stale-hero {
  border-color: var(--color-border);
  box-shadow: none;
}
.m-call.is-stale-hero .m-ladder { max-width: 360px; }
/* Stale hero ladder: muted fill + dot (the shared ladder fill mixes in cyan #22d3ee). Fresh TAKE ladder unchanged. */
.m-call.is-stale-hero .m-ladder-done { background: var(--color-subtle); }
.m-call.is-stale-hero .m-ladder-dot { background: var(--color-subtle); }
/* .m-call.is-buy kicker is cyan-tinted — stale hero kicker stays muted. */
.m-call.is-stale-hero .m-call-k { color: var(--color-muted); }
/* Stale hero ATR values (stop/target/R numbers) muted. The ATR stop key keeps --cf-atr-stop; Copy-levels keeps
   its cyan. !important only because the shared .m-atr-risk .font-mono rule (L6440) is !important. */
.m-call.is-stale-hero .m-atr-risk .m-atr-geo,
.m-call.is-stale-hero .m-atr-risk .m-atr-rr { color: var(--color-subtle) !important; }

/* Entry tick on the plan ladder: signal.entry (the close the plan is built from), never the
   live price. 1px muted line clamped inside the track + a small E key styled like S / T.
   Muted / subtle only — no cyan, no gold. The live dot is unchanged and paints above it. */
.m-ladder-entry {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 1px;
  background: var(--color-muted);
  pointer-events: none;
}
.m-ladder-ek {
  position: absolute;
  bottom: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  font-size: 8px;
}
.m-ladder.has-entry { padding-top: 8px; }
.m-atr-entry { color: var(--color-muted); font-variant-numeric: tabular-nums; }
.m-atr-entry .m-atr-geo-k { color: var(--color-subtle); }
.m-call.is-stale-hero .m-atr-risk .m-atr-entry { color: var(--color-subtle); }
@media (forced-colors: active) { .m-ladder-entry { forced-color-adjust: none; background: GrayText; } }

/* Bugsweep (P2): tool chips wrap instead of clipping ("Shor", "Patt") at narrow width / high zoom. */
.m-desk-tools .m-filter,
.m-desk-tools .m-tf {
  flex-wrap: wrap;
  max-width: 100%;
}
.m-desk-tools .m-filter > button,
.m-desk-tools .m-tf > button {
  flex: 0 0 auto;
}
.m-desk-tools .m-rail-block {
  min-width: 0;
}
@media (max-width: 1279px) {
  .m-desk-tools.is-open {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  }
}
/* Scan / Mode / View plate stacks into one column on narrow screens (top rail stays non-sticky). */
@media (max-width: 720px) {
  .m-rail-clusters {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: none;
    row-gap: 0;
  }
  .m-rail-cluster,
  .m-rail-cluster.is-mode {
    display: flex !important;
    flex-direction: column;
    grid-row: auto;
    gap: 8px !important;
    padding: 12px 16px !important;
  }
  .m-rail-cluster + .m-rail-cluster {
    border-left: 0 !important;
    border-top: 1px solid color-mix(in oklab, #9ec4d2 16%, transparent) !important;
  }
}

/* Round Tabs (20261116): status strip + saved stamp tabs. Muted ink, no gold; amber only on "Risky on". */
.m-desk-strip { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 0 0 8px; font-size: 12px; line-height: 1.5; color: var(--color-muted); }
.m-desk-strip .m-strip-sep { color: var(--color-subtle); }
.m-desk-strip .m-strip-age.is-stale { color: var(--color-subtle); }
.m-desk-strip .m-strip-risky.is-on { color: color-mix(in oklab, var(--cf-risk-amber) 92%, white); }
.m-desk-strip .m-strip-n { color: var(--color-fg); }
.m-desk-strip .m-strip-off { color: var(--color-subtle); }
.m-tape-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.m-tape-tab { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: 999px; background: transparent; color: var(--color-muted); font-size: 13px; white-space: nowrap; }
.m-tape-tab.is-on { color: var(--color-fg); border-color: color-mix(in oklab, #22d3ee 45%, var(--color-border)); background: color-mix(in oklab, #22d3ee 8%, transparent); }
.m-tape-tab:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
.m-tape-tab-n { color: var(--color-subtle); }
.m-tape-tab.is-on .m-tape-tab-n { color: var(--color-muted); }
.m-tab-empty { display: flex; align-items: center; min-height: 44px; margin: 0; padding: 0 12px; border: 1px dashed var(--color-border); border-radius: 10px; font-size: 13px; color: var(--color-muted); }

/* Round Riskwhy (20261116): on RISK cards the amber keyline lives only on the stamp. Card frame stays
   neutral; the reason line uses the same muted .m-stamp-why slot as WATCH. Never gold. */
.m-pair-card.is-stamp-risk:not(.is-on) { border-color: var(--color-border) !important; box-shadow: none !important; }
.m-pick.is-risky-rail .m-pick-card.is-risky-card,
.m-pick.is-risky-rail .m-pick-card.is-risky { border: 1px solid var(--color-border) !important; background: var(--color-chart) !important; box-shadow: none !important; }

/* Round Honest (20261116): replay + fee copy. Muted ink only — never gold, never amber. */
.m-desk-strip .m-strip-replay { color: var(--color-subtle); }
.m-r-fee { color: var(--color-subtle); font-size: 0.85em; font-weight: 400; letter-spacing: 0; }
.m-breakeven { margin: 2px 0 4px; font-size: 12px; line-height: 1.4; color: var(--color-muted); }

/* Round Calib (20261116): replay calibration drawer. Muted, plain table, no gold / amber / cyan fills. */
.m-replay-drawer { margin: 16px 0; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface); color: var(--color-muted); }
.m-replay-sum { cursor: pointer; padding: 10px 14px; font-size: 13px; color: var(--color-muted); }
.m-replay-sum:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
.m-replay-body { padding: 0 14px 12px; }
.m-replay-head { margin: 0 0 8px; font-size: 12px; color: var(--color-muted); }
.m-replay-scroll { overflow-x: auto; }
.m-replay-table { width: 100%; border-collapse: collapse; font-size: 12px; color: var(--color-muted); }
.m-replay-table th, .m-replay-table td { padding: 4px 8px; border-bottom: 1px solid var(--color-border); text-align: right; white-space: nowrap; font-weight: 400; }
.m-replay-table thead th { color: var(--color-subtle); }
.m-replay-table tbody th { text-align: left; color: var(--color-muted); }
.m-replay-table .m-replay-few { text-align: center; color: var(--color-subtle); font-style: italic; }
.m-replay-note { margin: 8px 0 0; font-size: 11px; line-height: 1.45; color: var(--color-subtle); }

/* Round Paper (20261116): quieter sure% · TAKE reason leads · hero figure is R:R before fees */
.m-sure,
.m-sure.is-md,
.m-sure.is-high,
.m-sure.is-mid,
.m-sure.is-low,
.m-sure.is-soft,
.m-sure.is-faint,
.m-active-tape .m-sure,
.m-workspace .m-sure,
.m-search-hit .m-sure {
  gap: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  font-size: 11px !important;
  color: var(--color-subtle) !important;
}
.m-sure em,
.m-sure.is-md em,
.m-sure.is-high em,
.m-sure.is-mid em,
.m-sure.is-low em {
  font-size: inherit !important;
  font-weight: 500 !important;
  color: var(--color-subtle) !important;
}
.m-sure .m-sure-meter,
.m-sure::before,
.m-sure::after { display: none !important; }
.m-screen.is-dense .m-sure { font-size: 10px !important; }
.m-stamp-why.is-take-why { margin: 2px 0 4px; font-size: 12px; font-weight: 500; color: var(--color-muted); }
.m-stamp-why.is-take-why .m-stamp-why-k { color: var(--color-fg); }
.m-call.is-take-hero .m-call-title { font-size: 16px; }
.m-call-fig { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 0; line-height: 1.1; }
.m-call-fig-k { font-size: 11px; letter-spacing: 0.06em; color: var(--color-subtle); }
.m-call-fig b { font-size: 28px; font-weight: 700; color: var(--color-fg); }
.m-call-fig .m-r-fee { font-size: 12px; }
.m-call-support { margin: 2px 0 4px; line-height: 1.2; }

/* Round Rename (20261116): visible TAKE label is "Best setup"; one fixed stamp width so rows don't shift;
   "Best" on narrow screens (full name stays in the tooltip / aria-label). ::before, since
   .m-stamp.is-take::after is pinned to content: none (no glow twin). */
.m-stamp { min-width: 104px; white-space: nowrap; box-sizing: border-box; }
.m-screen.is-dense .m-stamp,
.m-screen.is-compact .m-stamp { min-width: 96px; }
@media (max-width: 430px) {
  .m-stamp,
  .m-screen.is-dense .m-stamp,
  .m-screen.is-compact .m-stamp { min-width: 62px; }
  .m-stamp[data-short] { font-size: 0 !important; letter-spacing: 0 !important; }
  .m-stamp[data-short]::before { content: attr(data-short); font-size: 11px; letter-spacing: 0.14em; }
  .m-screen.is-dense .m-stamp[data-short]::before { font-size: 10px; }
}
.m-replay-score { margin: 0 0 4px; font-size: 12px; line-height: 1.4; color: var(--color-muted); font-weight: 500; }

/* Round Guard (20261116): invalid plan (stop within a tick) — muted words in the existing dash slot,
   same line height; no gold, amber or zone fill. */
.m-atr-risk.is-plan-invalid .m-atr-geo,
.m-plan-invalid { color: var(--color-subtle); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: none; }
.m-mentor-ladder.is-plan-invalid { display: flex; align-items: center; gap: 8px; }

/* Round Strip390 (20261116): status strip. Desktop unchanged (main/tail are display: contents);
   ≤430px: one line — age, counts, "Risky on" in a sideways-scrolling main part (only if a worst case
   is wider than the phone), "Paper only" + ⓘ outside it so they are always visible. */
.m-strip-info { display: none; }
.m-strip-pop { display: none; }
.m-desk-strip .m-strip-main,
.m-desk-strip .m-strip-tail { display: contents; }
@media (max-width: 430px) {
  .m-desk-strip { flex-wrap: nowrap; white-space: nowrap; align-items: center; gap: 0 6px; font-size: 10px; letter-spacing: -0.01em; }
  .m-desk-strip .m-strip-main { display: flex; align-items: baseline; gap: 0 6px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .m-desk-strip .m-strip-main::-webkit-scrollbar { display: none; }
  .m-desk-strip .m-strip-main > * { flex: none; }
  .m-desk-strip .m-strip-tail { display: inline-flex; align-items: center; gap: 0 2px; flex: none; margin-left: auto; }
  .m-desk-strip .m-strip-wide,
  .m-desk-strip .m-strip-sep { display: none; }
  .m-desk-strip [data-short] { font-size: 0; letter-spacing: 0; }
  .m-desk-strip [data-short]::before { content: attr(data-short); font-size: 10px; letter-spacing: -0.01em; }
  .m-strip-info { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -6px 0; padding: 0; border: 0; background: none; color: var(--color-subtle); font-size: 13px; line-height: 1; cursor: pointer; flex: none; }
  .m-strip-info::before { content: "ⓘ"; }
  .m-strip-info:focus-visible { outline: 2px solid #22d3ee; outline-offset: 1px; border-radius: 999px; }
  .m-strip-pop { display: block; margin: -4px 0 8px; padding: 8px 10px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface); color: var(--color-muted); font-size: 12px; line-height: 1.45; white-space: normal; }
}

/* Round Sort (20261116): screener column sort. Default = stamp order (headers show nothing until
   hover). Marker = small cyan ▲/▼ at subtle weight; no gold, no fills. ≤430px: one "Sort:" dropdown. */
.m-screen th .m-sort-btn { cursor: pointer; }
.m-screen th .m-sort-ind { width: 0.8em; font-size: 9px; font-weight: 400; color: color-mix(in oklab, #22d3ee 70%, var(--color-subtle)); }
.m-screen th .m-sort-btn:not(.is-on):hover .m-sort-ind::before,
.m-screen th .m-sort-btn:not(.is-on):focus-visible .m-sort-ind::before { content: "▼"; opacity: 0.45; }
.m-screen th .m-sort-stamp .m-sort-ind { display: none; }
.m-screen th.m-screen-atr-h { white-space: nowrap; }
.m-screen th.m-screen-atr-h .m-sort-btn { margin-left: 2px; }
.m-screen td .m-atr-be { font-size: 11px; }
.m-sort-select { display: none; align-items: center; gap: 4px; font-size: 12px; color: var(--color-muted); }
.m-sort-select select { min-height: 32px; padding: 0 8px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--color-surface); color: var(--color-fg); font: inherit; }
.m-sort-select select:focus-visible { outline: 2px solid #22d3ee; outline-offset: 1px; }
.m-sort-reset { white-space: nowrap; }
@media (max-width: 430px) {
  .m-sort-select { display: inline-flex; }
  .m-screen thead .m-sort-btn { pointer-events: none; }
  .m-screen thead .m-sort-ind { display: none; }
  .m-screen thead .m-screen-atr-h .m-sort-btn { margin-left: 0; }
  .m-screen-wrap.is-cards .m-screen thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }
}

/* Round Panel (20261116): side detail panel (TradingView-style). In flow beside the list, so it
   never covers the stamp column; ≤430px a native modal <dialog> bottom sheet. Gold only on a
   Best setup stamp (existing .m-stamp.is-take); the panel itself is muted chrome. */
.m-screen-split { display: block; }
@media (min-width: 640px) {
  .m-screen-split.has-panel { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 30%, 360px); gap: 12px; align-items: start; }
}
@media (min-width: 431px) and (max-width: 639px) {
  .m-screen-split.has-panel { display: flex; flex-direction: column; gap: 10px; }
  .m-screen-split.has-panel > .m-row-panel { order: -1; }
}
.m-row-panel { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface); color: var(--color-fg); max-height: 78vh; overflow: auto; }
.m-row-panel .m-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-row-panel .m-panel-title { margin: 0; font-size: 15px; font-weight: 600; }
.m-row-panel .m-panel-title:focus { outline: none; }
.m-row-panel .m-panel-close { width: 32px; height: 32px; border: 1px solid var(--color-border); border-radius: 8px; background: none; color: var(--color-muted); font-size: 18px; line-height: 1; cursor: pointer; }
.m-row-panel .m-panel-close:focus-visible { outline: 2px solid #22d3ee; outline-offset: 1px; }
.m-row-panel .m-panel-sec { display: flex; flex-direction: column; gap: 4px; padding-top: 8px; border-top: 1px solid var(--color-border); }
.m-row-panel .m-panel-stamp { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 0; padding-top: 0; }
.m-row-panel .m-panel-reason { flex-basis: 100%; margin: 0; font-size: 12px; line-height: 1.45; color: var(--color-muted); }
.m-row-panel .m-panel-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; margin: 0; font-size: 12px; }
.m-row-panel .m-panel-levels dt { font-family: inherit; font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-subtle); }
.m-row-panel .m-panel-levels dd { margin: 0; }
.m-row-panel .m-panel-be { grid-column: 1 / -1; color: var(--color-subtle); font-size: 11px; }
.m-row-panel .m-panel-be dd { color: var(--color-subtle); }
.m-row-panel .m-panel-replay p, .m-row-panel .m-plan-invalid { margin: 0; font-size: 12px; line-height: 1.45; color: var(--color-muted); }
.m-flow-slot { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; width: 96px; min-width: 96px; max-width: 96px; min-height: 22px; height: auto; box-sizing: border-box; padding: 3px 4px; border: 1px dashed var(--color-border); border-radius: 8px; font-size: 10px; line-height: 1.25; color: var(--color-subtle); white-space: normal; overflow: hidden; }
.m-row-panel .m-panel-paper { margin: 0; font-size: 11px; color: var(--color-subtle); }
.m-row-panel .m-panel-chart { align-self: flex-start; }
.m-row-panel .m-panel-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.m-screen tbody tr.is-selected > td { background-color: color-mix(in oklab, #22d3ee 9%, var(--color-surface)) !important; box-shadow: inset 0 1px 0 #22d3ee, inset 0 -1px 0 #22d3ee; }
.m-screen tbody tr.is-selected > td:first-child { box-shadow: inset 2px 0 0 #22d3ee, inset 0 1px 0 #22d3ee, inset 0 -1px 0 #22d3ee !important; }
.m-screen tbody tr.is-selected > td:last-child { box-shadow: inset -2px 0 0 #22d3ee, inset 0 1px 0 #22d3ee, inset 0 -1px 0 #22d3ee !important; }
dialog.m-row-panel.is-sheet { width: 100%; max-width: 100%; margin: auto 0 0; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); max-height: 72vh; border-radius: 14px 14px 0 0; border-bottom: 0; }
dialog.m-row-panel.is-sheet::backdrop { background: rgb(0 0 0 / 0.45); }
dialog.m-row-panel.is-sheet .m-panel-paper { font-size: 12px; color: var(--color-muted); }

/* Round Panel2 (20261116): when the side panel is open on desktop the table
   narrows beside it (never underneath). Lower-priority columns collapse first;
   stamp, sure% and R stay. Missing-from-scan copy is muted. No gold. */
@media (min-width: 640px) {
  .m-screen-split.has-panel > .m-screen-wrap { min-width: 0; overflow-x: auto; }
  .m-screen-split.has-panel > .m-row-panel { min-width: 0; }
}
.m-row-panel .m-panel-missing { margin: 0; font-size: 13px; line-height: 1.45; color: var(--color-muted); }
.m-row-panel .m-panel-fees { grid-column: 1 / -1; color: var(--color-subtle); font-size: 11px; }
.m-row-panel .m-panel-fees dd { color: var(--color-subtle); margin: 0; }

/* Round Settings (20261116): one sheet for the saved desk preferences. Native modal <dialog>
   (focus trap + Esc); right-side sheet on desktop, bottom sheet at ≤430px. Muted cyan chrome —
   never gold; the Risky switch is a plain labelled switch, not a stamp colour. */
.m-desk-rail > .m-rail-row.is-primary > .m-settings-btn { margin-left: 0; }
@media (max-width: 430px) {
  .m-desk-rail > .m-rail-row.is-primary { flex-wrap: nowrap; }
  .m-desk-rail > .m-rail-row.is-primary > .m-desk-tools-btn { flex: 1 1 auto; width: auto; min-width: 0; gap: 5px; padding: 0 10px; letter-spacing: 0.02em; white-space: nowrap; }
}
dialog.m-settings-sheet { box-sizing: border-box; width: min(380px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 14px 16px 18px; border: 0; border-left: 1px solid var(--color-border); border-radius: 0; background: var(--color-surface); color: var(--color-fg); overflow: auto; display: flex; flex-direction: column; gap: 12px; }
dialog.m-settings-sheet:not([open]) { display: none; }
dialog.m-settings-sheet::backdrop { background: rgb(0 0 0 / 0.45); }
@media (max-width: 430px) {
  dialog.m-settings-sheet { width: 100%; height: auto; max-height: 82dvh; margin: auto 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); border-left: 0; border-top: 1px solid var(--color-border); border-radius: 14px 14px 0 0; }
}
.m-settings-sheet .m-set-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-settings-sheet .m-set-title { margin: 0; font-size: 16px; font-weight: 650; }
.m-settings-sheet .m-set-close { width: 32px; height: 32px; border: 1px solid var(--color-border); border-radius: 8px; background: none; color: var(--color-muted); font-size: 18px; line-height: 1; cursor: pointer; }
.m-settings-sheet .m-set-group { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 10px 0 0; border: 0; border-top: 1px solid var(--color-border); }
.m-settings-sheet .m-set-k { padding: 0; font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-subtle); }
.m-settings-sheet .m-set-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.m-settings-sheet .m-set-chip { min-height: 32px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: 999px; background: none; color: var(--color-muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.m-settings-sheet .m-set-chip.is-on { border-color: color-mix(in oklab, #22d3ee 55%, var(--color-border)); background: color-mix(in oklab, #22d3ee 12%, transparent); color: var(--color-fg); }
.m-settings-sheet .m-set-switch-row { display: flex; flex-direction: column; gap: 2px; }
.m-settings-sheet .m-set-switch { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 0; border: 0; background: none; color: var(--color-fg); font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.m-settings-sheet .m-set-switch-track { position: relative; flex: 0 0 auto; width: 34px; height: 20px; border-radius: 999px; border: 1px solid var(--color-border); background: color-mix(in oklab, var(--color-fg) 6%, transparent); }
.m-settings-sheet .m-set-switch-knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--color-muted); transition: transform 160ms ease; }
.m-settings-sheet .m-set-switch.is-on .m-set-switch-track { border-color: color-mix(in oklab, #22d3ee 60%, var(--color-border)); background: color-mix(in oklab, #22d3ee 22%, transparent); }
.m-settings-sheet .m-set-switch.is-on .m-set-switch-knob { transform: translateX(14px); background: #67e8f9; }
.m-settings-sheet .m-set-switch-label { flex: 1 1 auto; }
.m-settings-sheet .m-set-switch-state { font-size: 11px; color: var(--color-subtle); }
.m-settings-sheet .m-set-help { margin: 0 0 0 44px; font-size: 11px; line-height: 1.4; color: var(--color-subtle); }
.m-settings-sheet .m-set-foot { margin: 4px 0 0; font-size: 11px; color: var(--color-subtle); }
.m-settings-sheet button:focus-visible { outline: 2px solid #22d3ee; outline-offset: 1px; }

/* Round My calls (20261116): pinned paper calls with frozen entry / stop / T1. Muted chrome; amber
   only on "Near stop" (the desk's near-stop warning colour); never gold, no P&L, nothing pinned. */
.m-my-calls { display: flex; flex-direction: column; gap: 8px; }
.m-my-calls-paper { margin: 0; font-size: 11px; color: var(--color-subtle); }
.m-my-calls-paper strong { color: var(--color-muted); font-weight: 650; }
.m-my-calls-empty { margin: 0; font-size: 12px; color: var(--color-muted); }
.m-my-calls-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.m-mycall { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface); }
.m-mycall.is-near-stop { border-color: color-mix(in oklab, var(--cf-risk-amber) 45%, var(--color-border)); }
.m-mycall-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.m-mycall-base { font-size: 14px; font-weight: 650; color: var(--color-fg); }
.m-mycall-side { font-size: 11px; font-weight: 600; color: var(--color-muted); }
.m-mycall-meta { font-size: 11px; color: var(--color-subtle); }
.m-mycall-state { margin-left: auto; padding: 1px 8px; border: 1px solid var(--color-border); border-radius: 999px; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: var(--color-subtle); }
.m-mycall-state.is-near-stop { color: color-mix(in oklab, var(--cf-risk-amber) 75%, var(--color-fg)); background: color-mix(in oklab, var(--cf-risk-amber) 10%, transparent); border-color: color-mix(in oklab, var(--cf-risk-amber) 45%, var(--color-border)); }
.m-mycall-state.is-past-stop { color: var(--color-muted); text-decoration: line-through; }
.m-mycall-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 8px; margin: 0; font-size: 12px; }
.m-mycall-levels dt { font-family: inherit; font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-subtle); }
.m-mycall-levels dd { margin: 0; overflow: hidden; text-overflow: ellipsis; }
.m-mycall-stop dd { text-decoration: underline solid color-mix(in oklab, #cbd5e1 70%, transparent); text-underline-offset: 3px; }
.m-mycall-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.m-pin-call { display: inline-flex; align-items: center; gap: 5px; }
.m-pin-call.is-pinned { border-color: color-mix(in oklab, #22d3ee 45%, var(--color-border)); }
@media (max-width: 430px) {
  .m-my-calls-list { grid-template-columns: minmax(0, 1fr); }
}

/* Round Flowchip (20261116): info-only Flow chip in the reserved 96px panel slot.
   Muted cyan buys, slate sells. Never gold, green or red. Side mark in the stamp
   cell when the table is narrowed is the same muted slate for long and short. */
.m-flow {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  max-width: 96px;
  font-size: 10px;
  line-height: 1.25;
  color: rgb(148 163 184 / 0.9);
  white-space: normal;
  overflow: hidden;
}
.m-flow-bar {
  position: relative;
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: rgb(148 163 184 / 0.35);
  overflow: hidden;
  flex: 0 0 3px;
}
.m-flow-buy {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  background: rgb(34 211 238 / 0.6);
}
.m-flow.is-na .m-flow-bar {
  background: rgb(148 163 184 / 0.15);
}
.m-flow-fact,
.m-flow-txt {
  display: block;
  width: 100%;
  overflow: hidden;
  color: rgb(148 163 184 / 0.9);
}
.m-flow-txt {
  font-size: 9px;
  color: rgb(148 163 184 / 0.8);
}
.m-stamp-side {
  margin-left: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  color: rgb(148 163 184 / 0.95);
  vertical-align: middle;
}

/* 2026-11-17 polish A — phone density. The pulse stacked 3 session clocks and 5 KPI
   tiles one per row (~1000px of scroll before "What to do"); the RTT chip sat alone on
   its own row; open-setup chips ran one ragged pill per row; the Desk Call checklist
   centred its labels against left checkboxes. Layout and spacing only — no colour,
   stamp, sure% or scoring change. */
@media (max-width: 640px) {
  .m-chrome-head > .m-chrome-meta,
  .m-chrome.is-rail.is-scrolled .m-chrome-head > .m-chrome-meta {
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .m-chrome-meta .m-donate { flex: 0 0 auto; }
  .m-chrome-meta .m-donate,
  .m-chrome-meta .m-chrome-live {
    padding-inline: 9px;
    letter-spacing: 0.05em;
    font-size: 10px;
    gap: 5px;
  }
  .m-chrome-meta .m-chrome-live { flex: 0 1 auto; }
  .m-chrome-meta .m-rtt { padding-inline: 7px; }
  .m-chrome-meta .m-rtt { flex: 0 0 auto; white-space: nowrap; }

  .m-sessions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .m-sess {
    min-width: 0;
    padding: 7px 8px;
    border-radius: 10px;
  }
  .m-sess b { font-size: 11.5px; }
  .m-sess i, .m-sess em, .m-sess small { font-size: 11px; white-space: nowrap; }

  .m-pulse-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .m-pulse-kpis > .m-kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .m-kpi { padding: 9px 11px; }

  .m-active-tape {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .m-active-tape > .m-setup-chip { min-height: 36px; }

  .m-desk-call > .m-call.is-flat { text-align: left; }
  .m-call.is-flat .m-checklist,
  .m-call.is-flat .m-checklist label,
  .m-call.is-flat .m-checklist-note { text-align: left; }
  .m-call.is-flat .m-checklist label { justify-content: flex-start; }
}

/* 2026-11-17 polish B — cards and setups read like a pro screener.
   - Star floats in the card corner so the ATR risk HUD and ladder span the full card
     instead of stopping ~40px short under the star column.
   - Stamp pills hug their word instead of stretching to ~110px.
   - Open setups line up on an even grid at desk width (ragged pill run before).
   Stamp colours, hero rules and the sure% text are untouched. */
.m-pair-card > .m-card-row1 > .m-card-row1-tools {
  position: absolute;
  top: 10px;
  right: 10px;
  padding-top: 0;
  z-index: 1;
}
.m-pair-card > .m-card-row1 > .m-pair-hit { padding-right: 0; }
.m-pair-card .m-card-name { padding-right: 34px; }
.m-pair-card .m-atr-risk .m-ladder { max-width: none; width: 100%; }
.m-pair-card .m-card-prime .m-stamp {
  min-width: 0;
  width: auto;
  padding-inline: 12px;
}

@media (min-width: 641px) {
  .m-active-tape {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 8px;
  }
}
.m-active-tape > .m-setup-chip {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 8px;
  padding-inline: 10px 12px;
}
.m-active-tape > .m-setup-chip > .m-setup-sym {
  flex: 0 0 3.6em;
  min-width: 0;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-active-tape > .m-setup-chip > .m-stamp {
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  padding-inline: 10px;
}
.m-active-tape > .m-setup-chip > .m-sure {
  margin-left: auto;
  white-space: nowrap;
}
.m-active-tape > .m-setup-chip > em {
  flex: 0 0 3.4em;
  text-align: right;
  white-space: nowrap;
}
/* Live chart feed tag (20261117): small muted dot + word in the OHLC row, display only */
.m-chart-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 0 6px;
  border-radius: 99px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(148 163 184 / 0.95);
  background: rgb(148 163 184 / 0.08);
  white-space: nowrap;
}
.m-chart-live > i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: currentColor;
  opacity: 0.85;
}
.m-chart-live.is-live > i {
  background: rgb(34 211 238 / 0.6);
  animation: m-pulse 1.8s ease-out infinite;
}
.m-chart-live.is-delayed,
.m-chart-live.is-connecting {
  color: rgb(148 163 184 / 0.7);
}
.m-chart-live.is-delayed > i {
  opacity: 0.45;
}
@media (prefers-reduced-motion: reduce) {
  .m-chart-live.is-live > i { animation: none; }
}
/* Lab 20261117-pm P1: feed status pill keeps the clock and scan age visible; only the middle text truncates */
.m-feed-status > .m-feed-text{min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-feed-status > .m-bar-clock,.m-feed-status > .m-rail-dot,.m-feed-status > .m-scan-pip{flex:none}
.m-pulse-stamp.is-pending{font-style:normal;color:var(--color-subtle)!important}

/* Lab 20261117-night: measured calibration table + Sure% tooltip link. Muted slate only. */
.m-sure { position: relative; overflow: visible; }
.m-sure-tip {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 30;
  width: max-content;
  max-width: 280px;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0;
  white-space: normal;
  text-align: left;
  box-shadow: none;
}
.m-sure:hover > .m-sure-tip,
.m-sure:focus-within > .m-sure-tip { display: block; }
.m-sure-tip-line { display: block; color: var(--color-muted); }
.m-sure-calib {
  display: inline-block;
  margin-top: 6px;
  color: var(--color-subtle);
  font-size: 11px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.m-sure-calib:hover,
.m-sure-calib:focus-visible { color: var(--color-muted); }
.m-replay-lookahead {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
  color: var(--color-subtle);
}

/* Lab 20261118-ev: expected value after fees, calibration footnotes, forward paper strip. Muted slate only. */
.m-ev {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--color-subtle);
  letter-spacing: 0;
}
.m-ev.is-few {
  font-weight: 600;
  font-style: italic;
  color: var(--color-muted);
}
.m-call .m-ev,
.m-pick-card .m-ev,
.m-pair-card .m-ev {
  display: block;
}
.m-atr-ev {
  font-size: 11px;
  color: var(--color-subtle);
  font-weight: 400;
}
.m-atr-ev:not(:empty)::before {
  content: " · ";
}
.m-atr-ev.is-few {
  font-weight: 600;
  font-style: italic;
  color: var(--color-muted);
}
.m-row-panel .m-panel-ev { grid-column: 1 / -1; color: var(--color-subtle); font-size: 11px; }
.m-row-panel .m-panel-ev dd { color: var(--color-subtle); margin: 0; }
.m-replay-sep,
.m-replay-be {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--color-muted);
  font-weight: 500;
}
.m-replay-few {
  font-weight: 600;
  font-style: italic;
  color: var(--color-muted);
  letter-spacing: 0.01em;
}
.m-replay-wilson {
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--color-muted);
}
.m-forward-paper,
.m-paper-note.m-forward-paper {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-muted);
  letter-spacing: 0.01em;
}
.m-forward-paper.is-few,
.m-paper-hit.is-few .m-paper-hit-text {
  font-weight: 600;
  font-style: italic;
}

/* Lab 20261118-live: scan status strip and held summary. */
.m-live-strip {
  box-sizing: border-box;
  height: 28px;
  margin: 0 0 10px;
  padding: 0 2px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 28px;
  letter-spacing: 0.01em;
  color: var(--color-muted);
}
.m-live-strip.is-stale,
.m-live-strip.is-failed {
  color: var(--color-subtle);
}
.m-live-strip-text { display: inline; }
.m-rtt {
  min-width: 5.6em;
  justify-content: center;
}
.m-held-line {
  position: relative;
  margin: 0 0 8px;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.m-held-line-sum {
  display: block;
  list-style: none;
  cursor: default;
  color: inherit;
}
.m-held-line-sum::-webkit-details-marker,
.m-held-line-sum::marker { display: none; content: none; }
.m-held-line-short { display: none; }
.m-held-line-pop { display: none; }
.m-held-line-full {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (max-width: 430px) {
  .m-held-line-sum {
    cursor: pointer;
    min-height: 32px;
    line-height: 32px;
    overflow: hidden;
    white-space: nowrap;
  }
  .m-held-line-full { display: none; }
  .m-held-line-short { display: inline; }
  .m-held-line[open] .m-held-line-pop {
    display: block;
    margin: 4px 0 0;
    padding: 8px 10px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-surface);
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
  }
}

/* Lab 20261118-cost: plan cost line and drawer track rows. */
.m-cost {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--color-subtle);
  letter-spacing: 0;
}
.m-cost.is-heavy,
.m-cost-heavy {
  font-weight: 600;
  color: var(--color-muted);
}
.m-cost-src {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.m-call .m-cost,
.m-pick-card .m-cost,
.m-pair-card .m-cost {
  display: block;
}
.m-atr-cost {
  font-size: 11px;
  color: var(--color-subtle);
  font-weight: 400;
}
.m-atr-cost:not(:empty)::before {
  content: " · ";
}
.m-atr-cost.is-heavy,
.m-atr-cost .m-cost-heavy {
  font-weight: 600;
  color: var(--color-muted);
}
.m-row-panel .m-panel-cost { grid-column: 1 / -1; color: var(--color-subtle); font-size: 11px; }
.m-row-panel .m-panel-cost dd { color: var(--color-subtle); margin: 0; }
.m-replay-tracks { margin: 10px 0 0; }
.m-track-row,
.m-track-registry,
.m-track-asof {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: var(--color-subtle);
  font-variant-numeric: tabular-nums;
}
.m-track-registry { font-weight: 500; color: var(--color-muted); }


/* Lab 20261118-fixes: one status strip, held counts, plan-box ATR label, workspace last price. */
.m-atr-risk > span:first-child,
.m-atr-risk .m-atr-k {
  color: var(--color-subtle) !important;
}
.m-atr-risk.is-stamp-risk > span:first-child,
.m-atr-risk.is-stamp-risk .m-atr-k,
.m-atr-risk.is-near-stop > span:first-child,
.m-atr-risk.is-near-stop .m-atr-k,
.m-pair-card.is-stamp-risk .m-atr-risk > span:first-child,
.m-pair-card.is-stamp-risk .m-atr-risk .m-atr-k,
.m-pick-card.is-risky .m-atr-risk > span:first-child,
.m-pick-card.is-risky .m-atr-risk .m-atr-k {
  color: color-mix(in oklab, var(--cf-atr-stop) 70%, var(--color-subtle)) !important;
}

.m-workspace .m-pro-px {
  align-items: baseline;
  gap: 6px 10px;
  margin-left: 8px;
}
.m-workspace .m-pro-last {
  font-size: 24px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.1;
  padding-inline: 2px 4px;
  color: var(--color-fg);
}
@media (max-width: 430px) {
  .m-workspace .m-pro-last {
    font-size: 19px;
  }
}

.m-track-secondary {
  color: var(--color-subtle);
  font-weight: 400;
}

/* Lab 20261118-weekly: My calls week review. Process dashes, counts, net R. */
.m-week-review {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}
.m-week-empty,
.m-week-short,
.m-week-process,
.m-week-held,
.m-week-outcomes,
.m-week-oldest,
.m-week-net {
  margin: 0;
}
.m-week-empty,
.m-week-short {
  color: var(--color-subtle);
}
.m-week-dash {
  text-decoration: none;
  cursor: help;
  border-bottom: 1px dotted var(--color-border);
  font-weight: 500;
}
.m-week-net {
  color: var(--color-subtle);
}
.m-week-net.is-muted {
  font-weight: 400;
}
.m-week-oldest {
  color: var(--color-subtle);
  font-weight: 400;
}

/* Lab 20261118-scoutfix: card fund and week time-exit stay muted. */
.m-card-fund {
  color: var(--color-subtle);
  font-weight: 400;
}
.m-week-timedout {
  color: var(--color-subtle);
  font-weight: 400;
}
