:root {
  color-scheme: dark;
  /* MemeGauge brand tokens (charcoal + lime) */
  --mg-bg: #171A1C;
  --mg-sidebar: #1B1F21;
  --mg-panel: #22272A;
  --mg-panel-raised: #2A3033;
  --mg-border: #353C3F;
  --mg-text: #F4F6F5;
  --mg-muted: #99A3A5;
  --mg-brand: #A6F04B;
  --mg-brand-hover: #B8FA69;
  --mg-brand-deep: #76C92B;
  --mg-danger: #EF6767;
  --mg-warning: #F0BA5A;
  --mg-info: #8AAAC7;
  --bg: var(--mg-bg);
  --card: var(--mg-panel);
  --raise: var(--mg-panel-raised);
  --line: var(--mg-border);
  --line-strong: #42494C;
  --text: var(--mg-text);
  --muted: var(--mg-muted);
  --faint: #7A8486;
  --brand: var(--mg-brand);
  --brand-deep: var(--mg-brand-deep);
  --up: var(--mg-brand-deep);
  --up-bg: #1C2A14;
  --up-line: #3F6B1F;
  --down: var(--mg-danger);
  --down-bg: #2A1616;
  --down-line: #6B2C2C;
  --warn: var(--mg-warning);
  --info: var(--mg-info);
  --radius: 12px;
  --sans: Inter, "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #ffffff; }
.app { min-height: 100dvh; display: flex; flex-direction: column; }
.boot {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  background: var(--mg-bg); transition: opacity 180ms ease;
}
.boot.is-done { opacity: 0; pointer-events: none; }
.route-status {
  position: fixed; z-index: 30; left: 50%; top: calc(10px + env(safe-area-inset-top));
  transform: translateX(-50%); margin: 0; padding: 6px 12px; border-radius: 999px;
  background: var(--mg-panel-raised); color: var(--mg-text); font-size: 13px; font-weight: 620;
  pointer-events: none;
}
.route-status[hidden] { display: none; }

.top {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--mg-bg);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand-mark { border-radius: 8px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  min-width: 168px; border: 0; background: transparent; padding: 0; text-align: left;
}
.brand-mark { width: 28px; height: 28px; border-radius: 7px; display: block; flex: none; }
.brand-copy { min-width: 0; }
.brand strong { display: block; font-size: 15px; font-weight: 640; letter-spacing: -0.02em; color: var(--mg-text); }
.brand-copy span { display: block; margin-top: 1px; color: var(--mg-muted); font-size: 12px; }
.lookup { flex: 1; display: flex; gap: 8px; min-width: 0; position: relative; }
.lookup-field { position: relative; flex: 1; min-width: 0; }
.lookup input {
  width: 100%; min-width: 0; height: 40px; padding: 0 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--mono); font-size: 13px;
}
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  background: var(--mg-panel); border: 1px solid var(--line-strong); border-radius: 12px;
  max-height: min(420px, 52vh); overflow: auto;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.search-results[hidden] { display: none; }
.search-note, .search-label { margin: 0; padding: 8px 12px 4px; color: var(--muted); font-size: 12px; }
.search-row {
  display: flex; gap: 10px; align-items: center; width: 100%; text-align: left;
  padding: 8px 10px; min-height: 48px; border: 0; border-top: 1px solid var(--line);
  background: transparent; color: inherit; font: inherit;
}
.search-row[aria-selected="true"] { background: var(--raise); }
.search-row .avatar, .search-row .ph { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.search-copy { min-width: 0; flex: 1; }
.search-copy strong, .search-copy .search-meta { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-copy strong { font-size: 13px; font-weight: 620; }
.search-meta { color: var(--faint); font-family: var(--mono); font-size: 11px; }
.search-name, .search-mint { display: inline; }
.search-name:not(:empty) + .search-mint::before { content: " · "; }
.search-side { text-align: right; flex: none; }
.search-side strong { display: block; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.search-side span { display: block; color: var(--faint); font-size: 11px; }
.lookup input::placeholder { color: var(--faint); }
.lookup input:focus { outline: 1px solid var(--line-strong); outline-offset: 1px; }
.lookup button, .btn, .ghost {
  height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; color: var(--text);
}
.lookup button {
  font-weight: 600;
  background: var(--mg-brand);
  border-color: var(--mg-brand);
  color: #121412;
}
.lookup button:hover { background: var(--mg-brand-hover); border-color: var(--mg-brand-hover); }
.lookup button:disabled, .btn:disabled { opacity: 0.5; cursor: wait; }
.ghost.sm, .btn.sm { height: 32px; padding: 0 10px; font-size: 13px; border-radius: 999px; }
.btn.danger { color: var(--down); border-color: var(--down-line); }

.shell { flex: 1; display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 0; }
.watch {
  border-right: 1px solid var(--line);
  background: var(--mg-sidebar);
  padding: 14px 12px;
  overflow: auto;
  scrollbar-width: none;
}
.watch::-webkit-scrollbar { width: 0; height: 0; }
.watch-head { display: none; }
#watch-close { display: none; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-link {
  display: flex; align-items: center; gap: 8px;
  width: 100%; height: 34px; padding: 0 10px;
  text-align: left; border-radius: 8px; border: 0; background: transparent;
  color: var(--muted); font-size: 13px; font-weight: 560; letter-spacing: -0.01em;
}
.side-ico {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.side-link:hover { background: var(--raise); color: var(--text); }
.side-link.on { background: var(--raise); color: var(--text); font-weight: 640; }
.side-link.on .side-ico { color: var(--mg-brand); }
.side-watch { margin-top: 18px; }
.side-watch h2 {
  margin: 0 10px 6px;
  font-size: 11px; font-weight: 620; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--faint);
}
body.on-desk .side-watch { display: none; }
.watch-note { margin: 6px 0 14px; color: var(--faint); font-size: 12px; }
.watch-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.watch-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px; align-items: center;
  padding: 3px 2px 3px 4px; border: 1px solid transparent; border-radius: 8px; background: transparent;
}
.watch-item:hover { border-color: var(--line); background: var(--card); }
.watch-item.active { border-color: var(--line-strong); }
.watch-item button.open {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  text-align: left; background: none; border: 0; padding: 0; color: inherit; min-width: 0;
}
.avatar, .ph {
  width: 32px; height: 32px; border-radius: 8px; object-fit: cover; background: var(--mg-bg);
  display: grid; place-items: center; font-size: 11px; color: var(--muted);
  border: 1px solid var(--line);
}
.watch-item .meta { min-width: 0; }
.watch-item .meta strong, .watch-item .meta span { display: block; }
.watch-item .meta strong { font-size: 13px; font-weight: 620; }
.watch-item .meta span, .mint { color: var(--faint); font-family: var(--mono); font-size: 11px; }
.watch-item .px { font-size: 12px; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.watch-item .px.up { color: var(--up); }
.watch-item .px.down { color: var(--down); }
.icon-btn {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; color: var(--faint);
}
.icon-btn:hover { border-color: var(--line); color: var(--text); }
.icon-btn[data-tip] { position: relative; }
.icon-btn[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%);
  padding: 2px 6px;
  border-radius: 6px;
  background: #141414;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 8;
}
.icon-btn[data-tip]:hover::after,
.icon-btn[data-tip]:focus::after,
.icon-btn[data-tip]:focus-visible::after,
.icon-btn[data-tip]:active::after { opacity: 1; }
button.watching { color: var(--up); border-color: var(--up-line); }
.toast-stack {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: max-content;
  max-width: calc(100vw - 24px);
  pointer-events: none;
}
.undo-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #141414;
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
}
.undo-toast.is-error { border-color: var(--down); }
.undo-toast[hidden] { display: none; }
.undo-toast button {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}
.empty-list { color: var(--muted); font-size: 13px; padding: 8px 2px; }

.desk { min-width: 0; overflow: auto; padding: 14px 16px 32px; scrollbar-width: none; }
.desk::-webkit-scrollbar { width: 0; height: 0; }
.workspace { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.quote {
  display: flex; align-items: center; gap: 18px; min-width: 0;
}
.quote-stats { display: flex; gap: 22px; flex: 1; min-width: 0; flex-wrap: wrap; }
.quote .metric strong { font-size: 22px; margin-top: 2px; }
.quote .metric span { font-size: 12px; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px; align-items: stretch; }
.rail .metrics { margin-top: 12px; gap: 14px 16px; }
.rail .metric strong { font-size: 18px; }
.narrative-list { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.narrative-item { border-top: 1px solid var(--line); padding-top: 10px; }
.narrative-item p { margin: 4px 0; }
.callout-draft, .narrative-ask {
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  font: inherit;
}
.callout-draft { min-height: 220px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.pair-shelf, .holder-shelf, .activity-shelf { display: none; }
.tabs button {
  height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--faint); font-size: 13px;
}
.tabs button.on { color: var(--text); border-color: var(--line-strong); background: var(--raise); }
.tab-panel[hidden] { display: none; }
.home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-top: 10px; }
.home-card {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center;
  text-align: left; width: 100%; padding: 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--card); color: inherit;
}
.home-card strong, .home-card span { display: block; }
.home-card span { color: var(--faint); font-size: 12px; margin-top: 2px; }
.home-card em { grid-column: 2; font-style: normal; color: var(--text); font-size: 13px; }
.empty {
  max-width: 640px; padding: 28px 24px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.empty h1 { font-size: 28px; letter-spacing: -0.03em; font-weight: 620; margin: 6px 0 10px; }
.empty p { color: var(--muted); max-width: 54ch; }
.kicker { color: var(--faint); font-size: 12px; }

.token-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.ident { display: flex; gap: 12px; align-items: center; min-width: 0; }
.ident img, .ident .ph { width: 44px; height: 44px; border-radius: 10px; }
.ident h1 { font-size: 22px; letter-spacing: -0.03em; font-weight: 640; }
.ident h1 span { color: var(--muted); font-weight: 500; margin-left: 8px; }
.mint-line { display: flex; gap: 8px; align-items: center; margin-top: 4px; flex-wrap: wrap; }
.mint-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
}
.mint-copy .mint { min-width: 0; }
.copy-ico { width: 12px; height: 12px; flex: none; color: var(--muted); }
.copy-state { flex: none; color: var(--muted); font-family: var(--sans); font-size: 11px; font-weight: 620; }
.copy-state:empty { display: none; }
.mint-copy.is-copied .copy-state { color: var(--up); }
.mint-copy.is-failed .copy-state { color: var(--down); }
.mint-copy.is-copied .copy-ico,
.mint-copy.is-failed .copy-ico { display: none; }
.watch-item .meta .mint-copy { display: inline-flex; }
.watch-item .meta .mint-copy .mint,
.watch-item .meta .copy-state { display: inline; font-family: var(--mono); }
.row-actions { display: flex; gap: 8px; align-items: center; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 16px;
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card h2 { font-size: 16px; font-weight: 640; letter-spacing: -0.02em; }
.card-head h2 { display: flex; align-items: center; }
td.up { color: var(--up); }
td.down { color: var(--down); }
.card-head p, .help, .fine { color: var(--faint); font-size: 12px; line-height: 1.45; }
.card-head p { margin-top: 4px; }
.card-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.ok {
  width: 18px; height: 18px; margin-right: 8px; border-radius: 50%;
  display: inline-grid; place-items: center; background: var(--up-bg); color: var(--up);
  font-size: 11px; line-height: 1;
}
.badge {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: var(--raise);
  color: var(--muted); font-size: 12px; font-weight: 620;
}
.badge.up { color: var(--up); border-color: var(--up-line); background: var(--up-bg); }
.badge.down { color: var(--down); border-color: var(--down-line); background: var(--down-bg); }

.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 20px; }
.metric span { display: block; color: var(--muted); font-size: 13px; }
.metric strong {
  display: block; margin-top: 6px; font-size: 28px; font-weight: 560;
  letter-spacing: -0.035em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.metric strong.up { color: var(--up); }
.metric strong.down { color: var(--down); }
.rule { height: 1px; background: var(--line); margin: 18px 0 0; }
.group-label { margin-top: 16px; color: var(--muted); font-size: 13px; }
.meter { margin-top: 16px; }
.meter-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; color: var(--muted); font-size: 14px; }
.meter-row strong { color: var(--text); font-weight: 560; font-size: 14px; }
.meter-track { margin-top: 8px; height: 4px; border-radius: 99px; background: #2a2a2a; overflow: hidden; }
.meter-track span { display: block; height: 100%; background: var(--up); }

.chart-bar { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 8px; }
.chart-controls { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; min-width: 0; }
.chart-switch { display: contents; }
.intervals, .chart-measures, .chart-windows { display: flex; gap: 4px; flex-wrap: wrap; }
.intervals button, .chart-measures button, .chart-windows button {
  height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--faint); font-size: 12px;
}
.intervals button.on, .chart-windows button.on,
.chart-measures button[aria-pressed="true"] { color: var(--text); border-color: var(--line-strong); background: var(--raise); }
.chart-measures button[aria-disabled="true"] { opacity: 0.45; }
.chart-wrap { position: relative; height: 460px; margin: 0 -8px; }
.chart-host { position: absolute; inset: 0; }
.chart-alts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chart-reading { margin-top: 4px; }
.chart-legend {
  position: absolute; z-index: 2; left: 8px; top: 6px; max-width: calc(100% - 16px);
  color: var(--muted); font-size: 11px; line-height: 1.35; pointer-events: none;
  font-variant-numeric: tabular-nums; white-space: normal;
  background: rgba(10, 10, 10, 0.78); border-radius: 4px; padding: 1px 4px;
}
canvas { width: 100%; height: 100%; display: block; touch-action: none; }
.tip {
  position: absolute; pointer-events: none; display: none;
  background: var(--mg-bg); border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 10px;
  font-size: 12px; z-index: 2;
}
.chart-msg {
  height: 100%;
  min-height: 180px;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  color: var(--muted);
  padding: 28px 22px;
}
.chart-msg strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
}
.chart-msg p {
  margin: 0;
  max-width: 28rem;
  font-size: 13px;
  line-height: 1.45;
}
.chart-msg.is-limited strong { color: #f0c674; }

.table-wrap { overflow: auto; margin-top: 14px; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 8px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
th { color: var(--faint); font-weight: 560; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
td:first-child, th:first-child, td.left, th.left { text-align: left; }
tr.primary td { background: #101010; }
.links { display: flex; gap: 14px; flex-wrap: wrap; }
.limits { margin: 8px 0 0; padding-left: 16px; color: var(--faint); }
.limits li { margin: 4px 0; }
.block { margin-top: 16px; }
.block h3 { font-size: 13px; font-weight: 620; margin-bottom: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.backdrop { display: none; }
.noscript { padding: 16px; }
.nav-trace {
  position: fixed; left: 12px; right: 12px; z-index: 70; margin: 0; pointer-events: none;
  bottom: calc(var(--dock-row, 0px) + 10px + env(safe-area-inset-bottom));
  color: #9a9a9a; font-size: 12px; line-height: 1.35;
}
@media (max-width: 900px) {
  body:has(.research) .nav-trace { display: none; }
}

@media (min-width: 901px) {
  #watch-toggle { display: none; }
}
.phone-nav, .desk-panes { display: none; }
@media (max-width: 900px) {
  .top { flex-wrap: nowrap; gap: 8px; padding: calc(8px + env(safe-area-inset-top)) 10px 8px; }
  .brand { position: relative; min-width: 44px; min-height: 44px; flex: 0 0 auto; justify-content: center; }
  .brand-copy {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  .lookup { order: 0; flex: 1 1 auto; flex-basis: auto; }
  .lookup input, input, select, textarea { font-size: 16px; }
  .lookup > button:not(.search-cancel) {
    position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden;
  }
  #watch-toggle { display: none; }
  #live-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  .notes-bell { width: 44px; height: 44px; }
  .shell { display: block; }
  .watch {
    position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 340px);
    z-index: 40; transform: translateX(-105%); transition: transform 160ms ease;
    border-right: 1px solid var(--line); background: var(--mg-bg);
  }
  .watch.open { transform: none; }
  #watch-close { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; }
  .backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 35; display: block; }
  .backdrop[hidden] { display: none; }
  html { --dock-row: 48px; }
  .desk { padding: 12px 12px calc(var(--dock-row) + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(var(--dock-row) + env(safe-area-inset-bottom)); }
  .side-link { min-height: 44px; height: auto; }
  .phone-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    height: auto; min-height: 0; margin: 0;
    padding: 0 6px env(safe-area-inset-bottom);
    background: var(--mg-bg); border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .phone-ico {
    width: 20px; height: 20px; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.7;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .phone-nav button {
    flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; height: var(--dock-row); min-height: 44px; min-width: 44px; padding: 4px 0;
    border: 0; border-radius: 12px; background: transparent; color: var(--muted);
    font-size: 10px; font-weight: 620; line-height: 1;
  }
  .phone-nav button.on { color: var(--mg-brand); background: transparent; }
  .phone-nav button.on .phone-ico { color: var(--mg-brand); }
  .workspace[data-pane="focus"] .desk-watch,
  .workspace[data-pane="focus"] .desk-book,
  .workspace[data-pane="focus"] .desk-rail,
  .workspace[data-pane="watch"] .recent-strip,
  .workspace[data-pane="watch"] .live-focus,
  .workspace[data-pane="watch"] .desk-book,
  .workspace[data-pane="watch"] .desk-rail,
  .workspace[data-pane="watch"] .book-jump,
  .workspace[data-pane="book"] .recent-strip,
  .workspace[data-pane="book"] .live-focus,
  .workspace[data-pane="book"] .desk-watch,
  .workspace[data-pane="book"] .desk-rail,
  .workspace[data-pane="book"] .book-jump { display: none; }
  .book-jump {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; min-height: 44px; margin-top: 12px; padding: 0 12px;
    border-radius: 12px; border: 1px solid var(--line); background: var(--card);
    color: var(--text); font-size: 14px; font-weight: 620;
  }
  .book-mobile-note { display: none; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
  .desk-book:not(:has(.book-row)) .book-grid { display: none; }
  .desk-book:not(:has(.book-row)) .book-mobile-note { display: block; }
  .focus-lower.is-empty { display: none; }
  .explore-mode, .explore-explainer { display: none; }
  .caller-manage-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    border-radius: 999px; border: 1px solid var(--line); background: transparent;
    color: var(--text); font-size: 14px; font-weight: 620; width: fit-content;
  }
  .caller-bar:not(.manage-open) .explore-filters,
  .caller-bar:not(.manage-open) .caller-manage,
  .caller-bar:not(.manage-open) .caller-add,
  .caller-bar:not(.manage-open) > .fine { display: none; }
  .caller-bar.manage-open .caller-chip button,
  .caller-bar.manage-open .caller-add button,
  .caller-bar.manage-open .caller-add input { min-height: 44px; height: auto; }
  .explore-filters button { min-height: 40px; }
  .xrow:last-child, .wcard:last-child, .call-row:last-child, article.tape:last-child { scroll-margin-bottom: calc(var(--dock-row) + env(safe-area-inset-bottom)); }
  .recent-token { height: 44px; }
  .recent-id { height: 40px; }
  .recent-token .ghost.sm { height: 32px; padding: 0 10px; font-size: 12px; line-height: 30px; }
  .toast-stack { bottom: calc(var(--dock-row) + 12px + env(safe-area-inset-bottom)); }
  body:has(input:focus, textarea:focus, select:focus) .phone-nav,
  body.field-open .phone-nav,
  body.search-open .phone-nav,
  body:has(#search-results:not([hidden])) .phone-nav,
  body:has(#notes-panel:not([hidden])) .phone-nav,
  body:has(.sheet-root.is-open) .phone-nav,
  body:has(.sheet-root.is-open) .trade-bar,
  body:has(input:focus, textarea:focus, select:focus) .trade-bar,
  body.field-open .trade-bar,
  body.search-open .trade-bar,
  body:has(#search-results:not([hidden])) .trade-bar,
  body:has(#notes-panel:not([hidden])) .trade-bar { display: none; }
  body:has(input:focus, textarea:focus, select:focus) .toast-stack,
  body.field-open .toast-stack,
  body.search-open .toast-stack,
  body:has(#search-results:not([hidden])) .toast-stack,
  body:has(#notes-panel:not([hidden])) .toast-stack { bottom: calc(16px + env(safe-area-inset-bottom)); }
  body.search-open .lookup {
    position: relative; left: auto; right: auto; z-index: 51;
    display: flex; flex: 1 1 auto; width: auto; height: auto; min-height: 44px;
    align-items: center; gap: 8px;
    margin: 0; padding: 0; background: transparent; box-sizing: border-box;
  }
  body.search-open .lookup-field {
    flex: 1 1 auto; width: auto; min-width: 0; min-height: 0; height: auto;
    display: block; overflow: visible;
  }
  body.search-open .lookup-field > input { flex: none; width: 100%; }
  body.search-open .search-cancel {
    grid-column: 2; grid-row: 1; align-self: start;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; padding: 0 4px 0 8px; border: 0; background: transparent;
    color: var(--text); font-size: 16px;
  }
  body.search-open .search-results {
    position: fixed; left: 0; right: 0; z-index: 50;
    flex: none; min-height: 0; max-height: none; margin-top: 0; overflow: auto;
    background: var(--mg-bg); box-shadow: none; border-radius: 0; border: 0;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  body.search-open .search-copy strong { font-size: 16px; }
  body.search-open .search-row {
    width: 100%; height: auto; min-height: 56px; border-radius: 0;
    border-left: 0; border-right: 0; padding: 8px 10px; font-weight: 400;
  }
  .notes-settings-toggle { display: inline-flex; min-height: 36px; }
  .notes-panel:not(.settings-open) .notes-prefs { display: none; }
  .notes-avatar { display: block; flex: none; }
  .notes-avatar .avatar, .notes-avatar .ph { width: 32px; height: 32px; border-radius: 8px; }
  .notes-open strong { font-size: 15px; }
  .notes-copy > span {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 13px; line-height: 1.35;
  }
  .notes-tabs { display: flex; }
  .notes-tabs button { flex: 1; min-height: 40px; font-size: 14px; }
  .notes-mark { min-height: 36px; }
  html.standalone body { padding-bottom: 0; }
  .quote { flex-direction: column; align-items: stretch; }
  .quote-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .stage { grid-template-columns: 1fr; }
  .token-head { flex-direction: column; }
  .ident h1 { font-size: 20px; }
  .metric strong { font-size: 22px; }
  .chart-wrap { height: 280px; }
  .card { padding: 16px 14px; }
}

.desk-bar {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap;
  min-height: 0;
}
.desk-bar h1 { font-size: 15px; font-weight: 620; letter-spacing: -0.03em; }
.desk-bar .fine { min-width: 0; }
.sort { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.sort select {
  height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--card);
  padding: 0 6px; color: var(--text); font-size: 12px;
}
.wgrid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wcard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "top since"
    "line line"
    "spark spark"
    "foot foot"
    "alert alert";
  column-gap: 10px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 2px 8px;
  min-width: 0;
}
.wgrid .wcard { cursor: pointer; }
.wcard.on {
  border-color: var(--line);
  background: transparent;
  box-shadow: inset 2px 0 0 #fff;
  padding-left: 8px;
}
.wcard .research-link { display: none; }
.wcard-top { grid-area: top; min-height: 0; }
.wcard-since { grid-area: since; align-self: center; text-align: right; }
.wcard-since span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}
.wcard-since strong {
  display: block;
  margin-top: 1px;
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.wcard-since strong.up { color: var(--up); }
.wcard-since strong.down { color: var(--down); }
.wcard-line {
  grid-area: line;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin: 4px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.wcard-line span:nth-child(n + 5) { display: none; }
.wcard-line i { font-style: normal; color: var(--faint); }
.wcard-line span { white-space: nowrap; }
.wcard-line b { font-weight: 620; color: var(--text); font-variant-numeric: tabular-nums; }
.wcard-line b.up { color: var(--up); }
.wcard-line b.down { color: var(--down); }
.wcard .spark { grid-area: spark; }
.wcard-foot { grid-area: foot; }
.wcard .alert-panel { grid-area: alert; }
.live-focus {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #050505;
  padding: 10px 12px 8px;
  min-width: 0;
}
.focus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.focus-head .wcard-id { min-width: 0; }
.focus-research { flex: none; }
.focus-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px 10px;
  margin-top: 8px;
}
.focus-stats span { display: block; color: var(--faint); font-size: 10px; letter-spacing: 0.03em; text-transform: uppercase; }
.focus-stats strong {
  display: block; margin-top: 1px; font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.focus-chart { margin-top: 8px; }
.focus-stage { position: relative; height: 240px; margin-top: 4px; background: var(--card); border-radius: 10px; }
.focus-stage .chart-host { position: absolute; inset: 0; }
#focus-reading {
  margin: 6px 0 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.focus-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 12px;
  margin-top: 8px;
}
.focus-lower h3 { margin: 0 0 4px; font-size: 15px; font-weight: 680; color: #fff; letter-spacing: -0.02em; text-transform: none; }
.focus-lower p { margin: 0 0 4px; font-size: 12px; line-height: 1.35; }
#focus-callouts p {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.focus-verdict {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--muted);
}
.focus-lower.is-empty { display: none; }
.focus-chart .chart-bar { align-items: center; margin-bottom: 0; }
.focus-chart .chart-controls {
  flex-wrap: wrap;
  width: 100%;
  overflow: visible;
}
.focus-chart .intervals,
.focus-chart .chart-measures,
.focus-chart .chart-windows { flex: none; flex-wrap: nowrap; }
.focus-lower p span { color: var(--faint); }
.focus-source {
  margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wcard-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; }
.wcard-id {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  background: transparent; border: 0; padding: 0; text-align: left; color: inherit;
}
.wcard .avatar, .wcard .ph { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.wcard-id strong {
  display: block; font-size: 13px; font-weight: 640; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wcard-id .mint { display: block; margin-top: 1px; }
.wcard-tools { display: flex; align-items: center; gap: 0; flex: none; }
.wcard-tools .icon-btn { width: 28px; height: 28px; display: inline-grid; place-items: center; }
.wcard-tools .icon-btn.hot,
.wcard-tools .icon-btn[aria-expanded="true"] { color: var(--text); }
.wcard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 8px;
  margin-top: 6px;
}
.high-note {
  margin: 0;
  color: var(--up);
  font-size: 10px;
  line-height: 14px;
  white-space: nowrap;
}
.high-note[hidden] { display: none; }
.call-row > .high-note,
article.tape > .high-note { grid-column: 1 / -1; flex: 1 0 100%; }
.wcard.high-since,
.call-row.high-since,
article.tape.high-since {
  animation: td-high 1.8s ease;
}
@keyframes td-high {
  0%, 35% { box-shadow: inset 0 0 0 1px var(--up); }
  100% { box-shadow: inset 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .wcard.high-since,
  .call-row.high-since,
  article.tape.high-since { animation: none; box-shadow: inset 0 0 0 1px var(--up); }
}
.wcard-metrics > div { min-width: 0; }
.wcard-metrics span {
  display: block; height: 12px; color: var(--muted); font-size: 10px; line-height: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.live-status {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  color: var(--muted); font-size: 12px; white-space: nowrap;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.live-status[data-state="live"] .live-dot { background: var(--up); }
.live-status[data-state="wait"] .live-dot { background: var(--down); }
.spark { display: block; width: 100%; height: 22px; margin-top: 4px; }
.metric strong.num-flash-up, .wcard-metrics strong.num-flash-up, .px.num-flash-up, .x-stat strong.num-flash-up, .qstat strong.num-flash-up {
  animation: td-flash-up 800ms ease;
}
.metric strong.num-flash-down, .wcard-metrics strong.num-flash-down, .px.num-flash-down, .x-stat strong.num-flash-down, .qstat strong.num-flash-down {
  animation: td-flash-down 800ms ease;
}
@keyframes td-flash-up { from { background: var(--up-bg); } to { background: transparent; } }
@keyframes td-flash-down { from { background: var(--down-bg); } to { background: transparent; } }
.wcard-metrics strong {
  display: block; height: 16px; margin-top: 1px; font-size: 12px; font-weight: 560;
  letter-spacing: -0.02em; line-height: 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.wcard-metrics strong.up { color: var(--up); }
.wcard-metrics strong.down { color: var(--down); }
.wcard-metrics strong.quiet { color: var(--muted); font-weight: 520; }
.sig {
  display: inline-flex; align-items: center; height: 18px; padding: 0 6px;
  border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text);
  font-style: normal; font-size: 10px; font-weight: 600;
}
.wcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
  min-height: 18px;
}
.wcard-status {
  min-width: 0; color: var(--muted); font-size: 10px; line-height: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wcard-actions { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; flex: none; }
.wcard-foot .watching { height: 18px; padding: 0 6px; font-size: 10px; }
.alert-panel .watching { height: 26px; margin-top: 10px; padding: 0 8px; font-size: 12px; }
.watch-pill {
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px;
  border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: 12px;
  white-space: nowrap;
}
.research-link {
  display: inline-flex; align-items: center; gap: 4px;
  background: transparent; border: 0; padding: 0; color: var(--muted); font-size: 12px;
  white-space: nowrap;
}
.research-link:hover { color: var(--text); }
.alert-panel {
  display: none;
  position: absolute;
  z-index: 8;
  top: 40px;
  right: 8px;
  left: 8px;
  max-height: 260px;
  overflow: auto;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #111;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.alert-panel.open { display: block; }
.alert-panel form { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.alert-panel select, .alert-panel input {
  height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--mg-bg); color: var(--text); padding: 0 8px;
}
.alert-panel select { flex: 1 1 220px; min-width: 0; max-width: 100%; }
.alert-panel input { width: 110px; }
.alert-rules { list-style: none; margin: 0; padding: 0; }
.alert-rules li {
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
  padding: 6px 0; font-size: 12px; color: var(--muted);
}
.alert-log { list-style: none; margin: 8px 0 0; padding: 0; }
.alert-log li { padding: 6px 0; color: var(--muted); font-size: 12px; }
.alert-log div { color: var(--faint); margin-top: 2px; }
.danger-quiet { color: var(--down); margin-top: 10px; }
.empty-watch h1 { font-size: 22px; letter-spacing: -0.03em; font-weight: 620; }
.empty-watch p { margin-top: 8px; color: var(--muted); max-width: 52ch; }
.recent-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 36px;
}
.recent-label {
  flex: none;
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.recent-scroll {
  display: flex;
  gap: 6px;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.recent-scroll::-webkit-scrollbar { width: 0; height: 0; }
.recent-token {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 4px 0 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.recent-id {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  height: 26px;
  padding: 0 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
}
.recent-id strong { font-size: 12px; font-weight: 640; letter-spacing: -0.02em; }
.recent-token .avatar, .recent-token .ph {
  width: 22px; height: 22px; border-radius: 6px; font-size: 9px;
}
.recent-token .ghost.sm {
  height: 18px; padding: 0 6px; font-size: 10px; line-height: 16px; border-radius: 999px;
}
.desk-stage {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}
.desk-book {
  min-width: 0;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.desk-book > h2 {
  margin: 0 0 10px;
}
.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.book-grid > section {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.desk-book h3 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 620;
  color: var(--text);
}
.book-scroll { min-width: 0; overflow-x: auto; scrollbar-width: thin; }
.book-head, .book-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.5fr) repeat(4, minmax(72px, 1fr));
  gap: 10px;
  align-items: center;
  min-width: 460px;
}
.book-head {
  padding: 0 10px 6px;
  color: var(--faint);
  font-size: 10px;
  font-weight: 620;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.book-head span:nth-child(n + 2),
.book-row > span:nth-child(n + 2) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.book-row {
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--raise);
  color: inherit;
  text-align: left;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.book-row:hover { border-color: var(--line-strong); }
.book-token { display: flex; align-items: center; gap: 6px; min-width: 0; }
.book-token .avatar, .book-token .ph { width: 20px; height: 20px; border-radius: 5px; font-size: 9px; }
.book-token strong {
  font-size: 12px;
  font-weight: 640;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.book-row .up { color: var(--up); }
.book-row .down { color: var(--down); }
.book-empty {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.section-label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  min-height: 22px; margin-bottom: 6px;
}
.section-label h2,
.desk-book > h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 680;
  color: #fff;
  letter-spacing: -0.02em;
  text-transform: none;
}
.live-focus {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
}
.focus-head .wcard-id strong { font-size: 18px; font-weight: 680; }
.focus-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  margin-top: 8px;
}
.focus-stats > div:nth-child(2) { flex: 1 0 100%; order: -1; }
.focus-stats > div:nth-child(2) strong {
  margin-top: 1px;
  font-size: 32px;
  font-weight: 640;
  letter-spacing: -0.045em;
  line-height: 1;
}
.focus-stats > div:not(:nth-child(2)) { display: inline-flex; align-items: baseline; gap: 6px; }
.focus-stats > div:not(:nth-child(2)) span { text-transform: none; letter-spacing: 0; font-size: 12px; }
.focus-stats > div:not(:nth-child(2)) strong { margin: 0; font-size: 13px; }
#focus-meta, .live-focus .focus-source { display: none; }
.focus-stage { height: 268px; margin-top: 8px; background: transparent; border-radius: 0; }
.focus-chart .intervals button,
.focus-chart .chart-measures button,
.focus-chart .chart-windows button {
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.focus-chart .intervals button.on,
.focus-chart .chart-windows button.on,
.focus-chart .chart-measures button[aria-pressed="true"] {
  color: #fff;
  border: 0;
  background: transparent;
  box-shadow: inset 0 -2px 0 #fff;
}
.watch-label { position: sticky; top: 0; z-index: 2; background: var(--mg-bg); padding-bottom: 4px; }
.desk-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 12px;
  align-items: start;
}
.desk-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 0;
}
.desk-watch, .desk-calls, .desk-rail { min-width: 0; }
.desk-watch {
  display: flex;
  flex-direction: column;
  height: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.desk-watch::-webkit-scrollbar { width: 0; height: 0; }
.desk-watch.has-more {
  mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 28px), transparent 100%);
}
.desk-rail { display: flex; flex-direction: column; gap: 12px; }
.home-tape { display: none; flex-direction: column; gap: 18px; min-width: 0; max-width: 100%; }
.tape-block, .tape-list, .explore-list { min-width: 0; max-width: 100%; }
.tape-list, .explore-list { display: flex; flex-direction: column; }
.desk-stage { min-width: 0; }
article.tape {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  min-height: 56px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}
article.tape:last-child { border-bottom: 0; }
.tape-id {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.tape-id .avatar, .tape-id .ph { width: 32px; height: 32px; border-radius: 8px; flex: none; }
.tape-copy { min-width: 0; flex: 1; overflow: hidden; }
.tape-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 640;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tape-line {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tape-line .up { color: var(--up); }
.tape-line .down { color: var(--down); }
.tape-nums { flex: none; text-align: right; min-width: 72px; }
.tape-nums strong, .tape-nums > span {
  display: block;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.tape-nums strong { font-size: 15px; font-weight: 650; line-height: 1.15; }
.tape-nums > span { margin-top: 2px; color: var(--text); font-size: 12px; line-height: 16px; }
.tape-nums strong.up, .tape-nums > span.up { color: var(--up); }
.tape-nums strong.down, .tape-nums > span.down { color: var(--down); }
article.tape .ghost.sm { flex: none; white-space: nowrap; }
.tape-empty { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
@media (min-width: 1321px) {
  .app:has(.desk-split) {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }
  .app:has(.desk-split) .shell {
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }
  .desk:has(.desk-split) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    height: 100%;
  }
  .desk:has(.desk-split) > .workspace {
    flex: 1;
    min-height: 0;
  }
  .desk:has(.desk-split) .desk-split {
    flex: 1;
    min-height: 0;
    align-items: stretch;
  }
  .desk:has(.desk-split) .desk-main {
    min-height: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }
  .desk:has(.desk-split) .desk-main::-webkit-scrollbar { width: 0; height: 0; }
  .desk:has(.desk-split) .live-focus {
    align-self: start;
  }
  .desk:has(.desk-split) .desk-rail {
    min-height: 0;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }
  .desk:has(.desk-split) .desk-rail::-webkit-scrollbar { width: 0; height: 0; }
}
.call-list { display: flex; flex-direction: column; gap: 4px; }
.call-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "id move act" "thesis move act";
  column-gap: 8px;
  row-gap: 1px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}
.call-id {
  grid-area: id;
  display: flex; align-items: center; gap: 8px; min-width: 0;
  background: transparent; border: 0; padding: 0; text-align: left; color: inherit;
}
.call-id .avatar, .call-id .ph { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.call-id strong {
  display: block; font-size: 13px; font-weight: 640; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.call-id .mint { display: block; }
.call-thesis {
  grid-area: thesis;
  margin: 0; min-width: 0;
  color: var(--muted); font-size: 12px; line-height: 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.call-move { grid-area: move; text-align: right; }
.call-move strong {
  display: block; font-size: 12px; font-weight: 560; letter-spacing: -0.02em;
  white-space: nowrap; line-height: 16px;
}
.call-move strong span { color: var(--faint); font-size: 10px; font-weight: 520; margin-right: 4px; }
.call-move strong.up { color: var(--up); }
.call-move strong.down { color: var(--down); }
.call-row > .ghost, .call-row > .watch-pill { grid-area: act; justify-self: end; }
.explore-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.explore-filters { display: flex; gap: 4px; }
.explore-filters button {
  height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid transparent;
  background: transparent; color: var(--faint); font-size: 12px;
}
.explore-filters button.on { color: var(--text); border-color: var(--line-strong); background: var(--raise); }
.caller-bar { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.caller-manage, .caller-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.caller-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px;
  color: var(--muted); font-size: 12px;
}
.caller-chip a { color: var(--text); }
.caller-chip button, .caller-add button { height: 24px; }
.notes-wrap { position: relative; }
.notes-bell { position: relative; width: 36px; padding: 0; display: inline-grid; place-items: center; }
.notes-count {
  position: absolute; top: -3px; right: -3px; margin: 0;
  display: inline-grid; place-items: center; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 999px; background: var(--up); color: #04140c;
  font-size: 10px; font-weight: 700; line-height: 1;
}
.notes-count[hidden] { display: none; }
.notes-backdrop {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.notes-backdrop[hidden] { display: none; }
.notes-panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 46;
  width: min(92vw, 380px); max-height: min(70vh, 520px); overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--mg-panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.notes-panel[hidden] { display: none; }
.notes-panel header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.notes-panel header strong { font-size: 13px; font-weight: 620; }
.notes-prefs, .notes-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.notes-prefs button, .notes-tabs button {
  height: 26px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font: inherit; font-size: 12px;
}
.notes-prefs button[aria-pressed="true"], .notes-tabs button[aria-selected="true"] {
  color: var(--text); border-color: var(--text);
}
.notes-prefs button[aria-pressed="false"]::after { content: " off"; }
#notes-status { margin: 8px 0 0; }
.notes-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; overflow: auto; min-height: 0; }
.notes-list li { border-top: 1px solid var(--line); padding-top: 6px; }
.notes-row { display: flex; align-items: flex-start; gap: 8px; }
.notes-open {
  flex: 1; min-width: 0; border: 0; background: transparent; text-align: left; padding: 2px 0;
  display: flex; align-items: flex-start; gap: 8px; width: 100%;
}
.notes-copy { min-width: 0; flex: 1; }
.notes-open strong { display: block; font-size: 13px; font-weight: 620; }
.notes-copy > span { display: block; color: var(--muted); font-size: 12px; }
.notes-avatar { display: none; }
.notes-header-actions { display: inline-flex; align-items: center; gap: 6px; }
.notes-settings-toggle, .search-cancel, .book-jump, .book-mobile-note, .caller-manage-toggle,
.research-back, .copy-phone, .research-actions, .phone-tab, .research-intel, .thesis-title-phone, .preview-entry, .preview-tools, .finding-lead, .finding-support, .intel-meta, .chart-info, .back-icon, .research-mast, .intel-rows, .chart-readout, .chart-measure-label { display: none; }
.notes-mark {
  flex: none; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font: inherit; font-size: 11px;
}
.notes-new {
  display: inline-block; margin-left: 6px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--up);
}
.notes-sub { list-style: none; margin: 6px 0 0; padding: 0 0 0 8px; display: flex; flex-direction: column; gap: 6px; }
.notes-sub[hidden] { display: none; }
.notes-empty { color: var(--faint); font-size: 12px; border-top: 0; padding-top: 8px; }
#notes-status, .notes-copy > span { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .notes-panel {
    position: fixed; top: calc(8px + env(safe-area-inset-top));
    right: 8px; left: 8px; bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto; z-index: 36; max-height: none;
  }
}
.caller-add input {
  height: 28px; min-width: 0; width: 160px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--raise); color: var(--text);
  padding: 0 10px; font: inherit; font-size: 12px;
}
.recorded-list { display: flex; flex-direction: column; gap: 10px; }
.social-group { margin-top: 14px; }
.social-group h3 { margin: 0 0 4px; font-size: 14px; }
.social-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 8px;
}
.social-card header { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.social-card header strong { font-weight: 600; }
.social-body { margin: 8px 0; }
.social-metrics { margin: 0; }
.social-media { display: block; max-width: 100%; max-height: 180px; margin-top: 8px; border-radius: 8px; object-fit: cover; }
.recorded-row { min-width: 0; }
.recorded-row p { margin: 0; }
.recorded-row .x-meta { margin-bottom: 2px; }
@media (max-width: 720px) {
  .caller-add input { width: 100%; }
  .x-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-card { padding: 10px; }
  .social-card header strong { min-width: 0; }
}
.xhead, .xrow {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 360px 176px;
  gap: 12px;
  align-items: center;
}
.xhead {
  padding: 0 10px 2px;
  color: var(--faint); font-size: 11px; letter-spacing: 0.02em;
}
.xhead-stats, .x-stats {
  display: grid;
  grid-template-columns: 72px 72px 112px 80px;
  gap: 8px;
}
.xhead-stats { text-align: right; }
.xrow {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 0;
}
.x-id {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  background: transparent; border: 0; padding: 0; text-align: left; color: inherit;
}
.x-id .avatar, .x-id .ph { width: 28px; height: 28px; border-radius: 7px; flex: none; }
.x-id strong {
  display: block; font-size: 13px; font-weight: 640; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.x-id .mint { display: block; }
.x-note { min-width: 0; }
.x-reason {
  margin: 0; color: var(--text); font-size: 13px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.x-meta {
  margin: 2px 0 0; color: var(--faint); font-size: 11px; line-height: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.x-stat { position: relative; min-width: 0; text-align: right; }
.x-label { display: block; color: var(--faint); font-size: 10px; line-height: 12px; }
.x-stat strong {
  display: block; font-size: 13px; font-weight: 560; letter-spacing: -0.02em; line-height: 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.x-stat strong.up { color: var(--up); }
.x-stat strong.down { color: var(--down); }
.x-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

@media (min-width: 1181px) {
  .x-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 1320px) and (min-width: 901px) {
  .desk-split { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .focus-lower { grid-template-columns: 1fr; }
  .focus-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
  .xhead { display: none; }
  .xrow {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "id act" "note note" "stats stats";
    align-items: start;
  }
  .x-id { grid-area: id; }
  .x-note { grid-area: note; }
  .x-stats { grid-area: stats; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .x-stats.mig { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .x-actions { grid-area: act; }
  .x-stat { text-align: left; }
}
@media (max-width: 900px) {
  .desk-bar { position: static; }
  .desk-split, .desk-stage, .book-grid { grid-template-columns: 1fr; }
  .desk-watch { height: auto; min-height: 0; max-height: none; overflow: visible; mask-image: none; }
  .desk-split { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
  .desk-main { display: contents; }
  .desk-stage { display: flex; flex-direction: column; align-items: stretch; order: 1; width: 100%; min-width: 0; }
  .live-focus, .focus-chart, .focus-stage, .chart-host { width: 100%; max-width: 100%; min-width: 0; }
  .focus-stage { overflow: hidden; }
  .desk-rail, .desk-calls, .tape-list, article.tape { width: 100%; max-width: 100%; min-width: 0; }
  .desk-rail { order: 2; }
  .book-jump, .desk-book { order: 3; }
  .workspace[data-pane="focus"] .live-focus { display: block; }
  .workspace[data-pane="focus"] .desk-watch,
  .workspace[data-pane="focus"] .desk-rail { display: flex; }
  .workspace[data-pane="focus"] .desk-book { display: block; }
  .workspace[data-pane="focus"] .book-jump,
  .workspace[data-pane="focus"] .home-tape { display: none; }
  .focus-chart { display: block; }
  .focus-chart .chart-controls { flex-wrap: wrap; overflow: visible; }
  .focus-chart .intervals { flex: 1 0 100%; justify-content: space-between; }
  .focus-chart .chart-windows { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  article.tape { min-height: 60px; }
  article.tape .ghost.sm { min-height: 44px; padding: 0 12px; }
  .watch-head { display: flex; align-items: center; justify-content: flex-end; }
  .focus-lower { grid-template-columns: 1fr; }
  .focus-stats { display: flex; }
  .live-focus { padding: 0; }
  .wcard-tools .icon-btn { width: 44px; height: 44px; }
  .wgrid .wcard { cursor: default; }
}
html.standalone body {
  padding-right: env(safe-area-inset-right);
  padding-bottom: 0;
  padding-left: env(safe-area-inset-left);
}
html.standalone .top {
  padding-top: calc(12px + env(safe-area-inset-top));
}
html.standalone .watch {
  top: 0;
  bottom: env(safe-area-inset-bottom);
  padding-top: calc(12px + env(safe-area-inset-top));
}
@media (max-width: 900px) {
  html.standalone .top { padding-top: calc(8px + env(safe-area-inset-top)); }
  html.standalone .notes-panel {
    top: calc(8px + env(safe-area-inset-top));
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
  html.standalone .phone-nav { height: auto; }
}
.access-gate {
  position: fixed; inset: 0; z-index: 80; background: var(--mg-bg);
  display: grid; place-items: center; padding: 24px;
}
.access-gate[hidden] { display: none; }
.access-card { width: min(420px, 100%); display: grid; gap: 12px; }
.access-card .kicker { color: var(--mg-brand); font-size: 12px; font-weight: 640; letter-spacing: 0.04em; text-transform: uppercase; }
.access-card h1 { font-size: 28px; letter-spacing: -0.03em; }
.access-card p { color: var(--muted); }
.access-card input {
  height: 40px; padding: 0 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: 10px;
}
.access-card button {
  height: 40px; border-radius: 10px;
  border: 1px solid var(--mg-brand); background: var(--mg-brand); color: #121412; font-weight: 640;
}
.access-card button:hover { background: var(--mg-brand-hover); border-color: var(--mg-brand-hover); }

.research { gap: 12px; }
.research-head {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) auto;
  grid-template-areas: "id stats watch" "id wide watch" "pair pair pair" "asof asof asof";
  align-items: center;
  gap: 6px 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.research .ident { grid-area: id; }
.research #watch-btn.watching,
.research [data-watch-toggle].watching { color: var(--up); border-color: var(--up-line); }
.research-thesis, .research-callout, .research-panel, .research-verdict { scroll-margin-top: 12px; }
.qstats { grid-area: stats; }
.qstat-wide { grid-area: wide; }
.market-pair { grid-area: pair; margin: 0; }
.quote-asof { grid-area: asof; margin: 0; }
.named-contracts { min-width: 0; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); }
.named-contracts[hidden],
.named-contracts-pairs[hidden] { display: none !important; }
.named-contracts-fold { margin: 0; }
.named-contracts-fold > summary {
  cursor: pointer;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  padding: 2px 0;
}
.named-contracts-fold > summary::-webkit-details-marker { display: none; }
.named-contracts-fold > summary::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-right: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  vertical-align: 0.15em;
}
.named-contracts-fold[open] > summary::before { transform: rotate(45deg); vertical-align: 0.05em; }
.named-contracts-fold > .fine { margin: 6px 0 0; }
.named-contracts-fold ul,
.named-contracts ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.named-contracts-fold li,
.named-contracts li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.named-contracts-fold strong,
.named-contracts strong { color: #fff; font-size: 14px; font-weight: 640; }
.named-contracts .named-mint,
.named-contracts-fold .named-mint {
  max-width: 100%;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}
.named-contracts .named-mint .mint,
.named-contracts-fold .named-mint .mint {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.named-contracts em,
.named-contracts-fold em { font-style: normal; color: var(--text); font-size: 13px; font-weight: 560; }
.named-contracts-pairs { margin: 0 0 12px; }
.research-back-float {
  display: none;
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: calc(10px + env(safe-area-inset-left, 0px));
  z-index: 40;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(12, 12, 14, 0.92);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.research-back-float[hidden] { display: none !important; }
.research-back-float svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .research-back-float:not([hidden]) { display: inline-flex; }
}
#chart-asof { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
table tr.is-thin td { color: var(--muted); }
.research #watch-btn { grid-area: watch; align-self: center; min-width: 92px; }
.research-chart #chart-pair {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.research .ident img, .research .ident .ph { width: 42px; height: 42px; border-radius: 10px; }
.research .ident h1 { font-size: 20px; line-height: 1.15; }
.research .mint-line { margin-top: 2px; }
.qstats, .qstat-wide {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px 14px;
}
.quote-row { display: contents; }
.watch-eye-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}
.watch-eye-btn.watching { color: var(--up); border-color: transparent; background: transparent; }
.watch-eye { width: 18px; height: 18px; display: block; }
.research .ident h1 .watch-eye-btn { display: none; }
.wcard-tools > .watch-eye-btn { display: none; }
.wcard-foot .watch-eye-btn,
.wcard-foot .watch-eye-btn.watching,
article.tape .watch-eye-btn,
.recent-token .watch-eye-btn,
.watch-item .watch-eye-btn,
.alert-panel .watch-eye-btn {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: inherit;
}
.research #watch-btn.watch-eye-btn {
  min-width: 44px;
  width: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.research #watch-btn.watch-eye-btn.watching { border: 0; color: var(--up); }
.qstat span {
  display: block; color: var(--faint); font-size: 10px; letter-spacing: 0.05em;
  text-transform: uppercase; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qstat strong {
  display: block; margin-top: 1px; min-height: 20px; font-size: 18px; font-weight: 560;
  letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.qstat strong.up { color: var(--up); }
.qstat strong.down { color: var(--down); }
.qstat-wide .qstat strong { font-size: 13px; font-weight: 520; color: var(--text); min-height: 16px; }
.research-main {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
}
.research-chart { display: flex; flex-direction: column; min-width: 0; padding: 10px 12px 8px; }
.research-chart h2 { font-size: 13px; font-weight: 620; color: var(--muted); }
.research-chart .chart-wrap { height: 220px; margin: 4px 0; }
.research-work { display: flex; flex-direction: column; gap: 12px; min-width: 0; order: 3; }
.research-side {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; order: 2;
}
.research-verdict, .research-thesis, .research-callout, .research-panel { padding: 14px 16px; }
.research-chart { order: 1; }
.caller-intel { order: 2; }
.below-chart {
  min-width: 0; padding: 8px 0 16px;
  border-top: 1px solid var(--line);
}
.trade-bar {
  position: fixed; left: 8px; right: 8px; z-index: 28;
  bottom: calc(var(--dock-row, 0px) + env(safe-area-inset-bottom) + 6px);
  display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 6px 6px 6px 12px;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--card);
}
.trade-bar::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -8px; right: -8px;
  top: 100%;
  height: 10px;
  background: var(--mg-bg);
  pointer-events: none;
}
.trade-copy { flex: 1; min-width: 0; }
.trade-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.trade-go {
  display: flex; align-items: center; justify-content: center; flex: none;
  min-width: 112px; min-height: 44px; padding: 0 16px;
  border: 0; border-radius: 12px; background: var(--up); color: #04140c;
  font: inherit; font-size: 15px; font-weight: 720; letter-spacing: -0.02em;
}
.trade-bar.is-live { flex-wrap: wrap; row-gap: 6px; }
.trade-bar.is-live .trade-copy { flex: 1 0 100%; }
.trade-bar.is-live .trade-actions { width: 100%; }
.trade-bar.is-live .trade-go { min-width: 72px; }
.trade-size {
  min-width: 44px; min-height: 44px; padding: 0 10px;
  border: 0; border-radius: 12px; background: var(--up); color: #04140c;
  font: inherit; font-size: 14px; font-weight: 720;
}
.trade-size:disabled { opacity: 0.45; }
.trade-field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.trade-field span { color: var(--muted); font-size: 12px; font-weight: 650; }
.trade-field input {
  min-height: 48px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--mg-bg); color: var(--text); font: inherit; font-size: 16px;
}
.trade-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.trade-error { margin: 12px 0 0; color: var(--down); font-size: 14px; line-height: 1.4; }
.trade-address {
  margin: 12px 0 0; color: #fff; font-size: 14px; line-height: 1.4;
  word-break: break-all; font-variant-numeric: tabular-nums;
}
.trade-secret {
  margin: 12px 0 0; color: #fff; font-size: 13px; line-height: 1.4; word-break: break-all;
}
.trade-primary, .trade-quiet {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 48px; margin-top: 12px; border-radius: 12px;
  font: inherit; font-size: 15px; font-weight: 720;
}
.trade-primary { border: 0; background: var(--up); color: #04140c; }
.trade-quiet { border: 1px solid var(--line); background: transparent; color: var(--text); }
.trade-buys { display: flex; gap: 8px; margin-top: 12px; }
.trade-buys .trade-size, .trade-buys .trade-quiet { flex: 1; margin-top: 0; }
.trade-risk {
  margin: 0; color: var(--muted); font-size: 13px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trade-risk.down { color: var(--down); }
.below-tabs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2px; border-bottom: 1px solid var(--line);
}
.below-tabs button {
  min-height: 44px; padding: 0 2px; border: 0; border-bottom: 2px solid transparent;
  background: transparent; color: var(--muted);
  font: inherit; font-size: 14px; font-weight: 680;
}
.below-tabs button[aria-selected="true"] { color: #fff; border-bottom-color: #fff; }
.caller-switch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  margin-top: 6px; padding: 2px; border-radius: 10px; background: #111;
}
.caller-switch button {
  min-height: 44px; border: 0; border-radius: 9px; background: transparent;
  color: var(--muted); font: inherit; font-size: 14px; font-weight: 680;
}
.caller-switch button em {
  margin-left: 6px; font-style: normal; font-weight: 560; color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.caller-switch button[aria-pressed="true"] { background: #2a2a2a; color: #fff; }
.caller-switch button[aria-pressed="true"] em { color: var(--muted); }
.below-scope, .below-empty {
  margin: 8px 2px 0; color: var(--muted); font-size: 13px; line-height: 1.4;
}
.call-card { margin-top: 6px; }
.call-card.is-open {
  border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden;
}
.call-card.is-open .call-open { border: 0; background: transparent; border-radius: 0; }
.call-open {
  display: flex; flex-direction: column; gap: 4px; align-items: stretch;
  width: 100%; min-height: 44px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  color: inherit; text-align: left; font: inherit;
}
.call-top {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 8px; align-items: center; width: 100%;
}
.call-av {
  position: relative; width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: #1c1c20;
  color: #fff; font-weight: 720; font-size: 14px;
}
.call-av img { position: absolute; inset: 0; width: 32px; height: 32px; object-fit: cover; }
.call-who { min-width: 0; }
.call-name {
  display: block; color: #fff; font-size: 15px; font-weight: 650; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.call-handle {
  display: block; margin-top: 1px; color: var(--muted); font-size: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.call-live { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.call-live b {
  font-size: 22px; font-weight: 680; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.call-live.up b { color: var(--up); }
.call-live.down b { color: var(--down); }
.call-facts { display: flex; flex-wrap: wrap; gap: 4px 16px; width: 100%; }
.call-facts > span { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; }
.call-facts i {
  color: var(--faint); font-style: normal; font-size: 10px; font-weight: 640;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.call-facts b {
  color: var(--text); font-size: 14px; font-weight: 640;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.call-facts b.up { color: var(--up); }
.call-facts b.down { color: var(--down); }
.call-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.call-pill {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px;
  border-radius: 999px; background: #1c1c20; color: #c8c8c8; font-size: 11px; font-weight: 650;
}
.call-open .call-thesis, .story-copy {
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
  grid-area: auto; white-space: normal; text-overflow: unset;
  color: var(--text); font-size: 14px; line-height: 1.4;
}
.call-open .call-thesis { -webkit-line-clamp: 1; min-width: 0; width: 100%; color: var(--muted); font-size: 13px; }
.call-open .call-thesis.quiet { color: #8d8d8d; }
.call-card.is-open .call-thesis { -webkit-line-clamp: unset; display: block; color: var(--text); font-size: 14px; }
.call-detail { padding: 0 10px 10px; }
.call-source { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.call-later h3 {
  margin: 0 0 6px; color: #8d8d8d; font-size: 11px; font-weight: 680;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.call-later p { margin: 0 0 8px; color: #f2f2f2; font-size: 15px; line-height: 1.45; }
.call-later span { display: block; margin-bottom: 2px; color: #8d8d8d; font-size: 12px; }
.caller-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.caller-links a { color: #fff; font-size: 13px; font-weight: 650; }
.call-more {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 44px; margin-top: 10px; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 640;
}
.below-empty-card {
  margin-top: 12px; padding: 14px 12px; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line);
}
.below-empty-card strong { display: block; color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.below-empty-card p { margin: 6px 0 0; color: #bdbdbd; font-size: 14px; line-height: 1.4; }
.below-action {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 48px; margin-top: 14px; border: 0; border-radius: 12px;
  background: #fff; color: #111; font: inherit; font-size: 15px; font-weight: 720;
}
.hold-hero { margin-top: 14px; }
.hold-hero span { display: block; color: #8d8d8d; font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; }
.hold-hero strong {
  display: block; margin-top: 2px; color: #fff; font-size: 28px; font-weight: 650;
  letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums;
}
.hold-hero em { display: block; margin-top: 6px; color: #bdbdbd; font-style: normal; font-size: 13px; }
.hold-list {
  margin-top: 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); overflow: hidden;
}
.wallet-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px; align-items: center; width: 100%; min-height: 52px;
  padding: 8px 14px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit; text-decoration: none;
}
.hold-list .wallet-row:first-child,
.hold-list .hold-fact:first-child { border-top: 0; }
.hold-fact {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 8px 14px; border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hold-fact strong { color: #fff; font-weight: 680; letter-spacing: -0.01em; }
.hold-fact b { color: #fff; font-weight: 720; text-align: right; font-variant-numeric: tabular-nums; }
.hold-fact b.is-hot { color: var(--down); }
.hold-fact b.is-quiet { color: #9a9a9a; font-weight: 620; }
.wallet-row strong { color: #fff; font-weight: 680; letter-spacing: -0.01em; }
.wallet-row span { color: #9a9a9a; font-size: 13px; }
.wallet-row b { color: #fff; font-weight: 720; font-variant-numeric: tabular-nums; }
.wallet-row.is-creator { background: rgba(61, 214, 140, 0.08); }
.wallet-row.is-creator span { color: var(--up); }
.story-card {
  margin-top: 6px; padding: 8px 10px 10px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--card); color: inherit; text-decoration: none;
}
.story-post { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; }
.story-post .story-by {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; align-items: center;
}
.story-line {
  display: block; min-width: 0; color: var(--muted); font-size: 13px; line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.story-post .story-meta { margin: 0; }
.story-id { min-width: 0; }
.story-id strong {
  display: block; color: #fff; font-size: 15px; font-weight: 650; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.story-id span {
  display: block; margin-top: 1px; color: var(--muted); font-size: 12px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.story-card header em {
  font-style: normal; color: var(--up); font-size: 11px; font-weight: 680;
  letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap;
}
.story-meta { margin: 6px 0 0; color: var(--muted); font-size: 12px; font-weight: 560; }
button.story-copy {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  width: 100%; margin: 8px 0 0; padding: 0; border: 0; background: transparent;
  color: #f2f2f2; font: inherit; font-size: 15px; line-height: 1.45; text-align: left;
  white-space: normal; overflow-wrap: anywhere;
}
.story-card.is-open button.story-copy { -webkit-line-clamp: unset; display: block; }
.story-open {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 2px; color: var(--text);
  font-size: 13px; font-weight: 650;
}
a.story-news, .story-news { display: block; padding: 10px 12px; }
.story-kicker {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  margin: 0; color: var(--muted); font-size: 12px; font-weight: 560;
}
.story-kicker span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-news strong {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
  margin-top: 3px; color: #fff; font-size: 15px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.3;
}
.story-news.is-named .story-copy {
  color: var(--text); font-size: 14px; -webkit-line-clamp: 2;
}
.news-list {
  margin-top: 8px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); overflow: hidden;
}
.news-row {
  display: block; padding: 10px 12px; min-height: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit; text-decoration: none;
}
.news-list .news-row:first-child { border-top: 0; }
.news-row span {
  display: flex; align-items: baseline; gap: 8px; min-width: 0; margin-top: 2px;
  color: var(--muted); font-size: 11px; font-weight: 560;
}
.news-row cite {
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal;
}
.news-row strong {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  color: #fff; font-size: 14px; font-weight: 620;
  letter-spacing: -0.02em; line-height: 1.3;
}
.news-row em {
  flex: none; font-style: normal; color: var(--up); font-size: 11px; font-weight: 680;
  letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap;
}
.verdict-lead {
  margin-top: 10px; font-size: 14.5px; line-height: 1.45; letter-spacing: -0.015em;
}
.glance {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 4px;
}
.glance h3 {
  margin: 0 0 4px; color: var(--faint); font-size: 10px; font-weight: 640;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.glance p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.thesis-read {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); max-width: 68ch;
}
.thesis-read h3 {
  margin: 0 0 8px; color: var(--faint); font-size: 10px; font-weight: 640;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.thesis-read p { margin: 0 0 8px; }
.source-glance { margin: 4px 0 14px; }
#callout-note { margin-top: 8px; }
.risk-check li.down { color: var(--down); }
.fold { margin-top: 12px; }
.fold summary { cursor: pointer; color: var(--faint); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.verdict-block { margin-top: 12px; }
.verdict-block h3, .thesis-fold summary, .research-panel h3, .fold-body h3 {
  margin: 0 0 4px; color: var(--faint); font-size: 10px; font-weight: 640;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.verdict-block ul, .fold-body ul { margin: 0; padding-left: 16px; color: var(--muted); font-size: 12.5px; }
.verdict-block li, .fold-body li { margin: 3px 0; }
.verdict-actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px;
}
.verdict-actions .ghost, .verdict-actions .span { width: 100%; }
.verdict-actions .span { grid-column: 1 / -1; }
.thesis-lead {
  margin-top: 8px; max-width: 72ch; font-size: 16px; line-height: 1.5; letter-spacing: -0.015em;
}
.thesis-folds { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; max-width: 760px; }
.thesis-fold {
  border: 1px solid var(--line); border-radius: 10px; background: var(--mg-bg);
}
.thesis-fold summary {
  cursor: pointer; list-style: none; padding: 9px 12px; font-size: 12px; font-weight: 640;
  letter-spacing: 0.04em;
}
.thesis-fold summary::-webkit-details-marker { display: none; }
.fold-body { padding: 0 12px 12px; }
.fold-body p, .thesis-lead + .fine, .research-callout .callout-draft { max-width: 72ch; }
.fold-body p { margin: 0 0 6px; color: var(--text); font-size: 13.5px; line-height: 1.5; }
.fold-body section { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; }
.research-callout .callout-draft {
  min-height: 260px; margin-top: 10px; font-size: 14.5px; line-height: 1.55; max-width: none;
}
.research .tabs {
  flex-wrap: nowrap; overflow-x: auto; overflow-y: clip; scrollbar-width: none;
  position: sticky; top: 0; z-index: 6; background: var(--mg-bg);
  padding: 2px 0 10px;
  box-shadow: 0 8px 0 var(--mg-bg);
}
.research .tabs::-webkit-scrollbar { height: 0; }
.research .tabs button { flex: none; }
.research .tabs.can-scroll,
.research .tabs.can-scroll-start {
  mask-image: none;
  -webkit-mask-image: none;
}
.research-panel h2 { margin-bottom: 8px; }
.research-panel .metrics { gap: 12px 16px; margin-top: 10px; }
.research-panel .metric strong { font-size: 18px; margin-top: 2px; }
.research-panel .card-head { margin-bottom: 8px; }
@media (min-width: 901px) {
  .research .qstats .qstat:has([data-live="mcap"]) { grid-column: 1; grid-row: 1; }
  .research .qstats .qstat:has([data-live="price"]) { grid-column: 2; grid-row: 1; }
  .research .qstats .qstat:has([data-live="day"]) { grid-column: 3; grid-row: 1; }
  .research .qstats .qstat:has([data-live="liq"]) { grid-column: 4; grid-row: 1; }
  .research .qstats .qstat:has([data-live="volume"]) { grid-column: 5; grid-row: 1; }
}
@media (min-width: 1100px) {
  .app:has(.research) {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }
  .app:has(.research) .shell {
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }
  .desk:has(.research) {
    min-height: 0;
    height: 100%;
    overflow: auto;
  }
  .research-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    grid-template-areas: "chart side" "callers side" "work side";
    align-items: start;
    column-gap: 14px;
    row-gap: 12px;
  }
  .research-chart { grid-area: chart; order: 0; }
  .caller-intel { grid-area: callers; }
  .research-work { grid-area: work; order: 0; }
  .research-side {
    grid-area: side;
    order: 0;
    position: sticky;
    top: 0;
    align-self: start;
    max-height: calc(100dvh - 108px - env(safe-area-inset-top));
    overflow: auto;
    scrollbar-width: none;
  }
  .research-side::-webkit-scrollbar { width: 0; height: 0; }
  .research-chart .chart-wrap { height: 380px; }
  .research-chart #chart-pair { order: 3; }
  .research-chart #chart-meta { order: 4; }
  .research-chart #chart-asof { order: 5; }
  .research-chart #chart-reading { order: 6; }
  .research-chart #chart-alts { order: 7; }
  .qstat strong { font-size: 20px; }
}
@media (max-width: 1099px) {
  .research-thesis, .research-callout, .research-panel, .research-verdict { scroll-margin-top: 132px; }
  .research-head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "id watch" "stats stats" "wide wide" "pair pair" "asof asof";
    gap: 8px 12px;
  }
}
@media (max-width: 800px) {
  .qstats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
  .qstat-wide { grid-template-columns: 1fr 1fr; gap: 8px 10px; }
  .qstat strong { font-size: 15px; }
  .qstat-wide .qstat strong { font-size: 12px; }
  .research-chart .chart-wrap { height: 220px; }
  .research .ident h1 { font-size: 18px; }
  .research .ident h1 span { display: block; margin-left: 0; margin-top: 1px; }
  .glance { grid-template-columns: 1fr; }
  .research-callout .callout-draft { min-height: 200px; }
  .research-verdict, .research-thesis, .research-callout, .research-panel { padding: 12px; }
}
@media (max-width: 900px) {
  .lookup input,
  .sort select,
  .caller-add input,
  .alert-panel select,
  .alert-panel input,
  .access-card input,
  input,
  select,
  textarea { font-size: 16px; }
  .sort select,
  .caller-add input,
  .alert-panel select,
  .alert-panel input,
  .access-card input { min-height: 44px; }
  .book-jump {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; min-height: 44px; margin-top: 12px; padding: 0 12px;
    border-radius: 12px; border: 1px solid var(--line); background: var(--card);
    color: var(--text); font-size: 14px; font-weight: 620;
  }
  .workspace[data-pane="watch"] .book-jump,
  .workspace[data-pane="book"] .book-jump { display: none; }
  .caller-manage-toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    border-radius: 999px; border: 1px solid var(--line); background: transparent;
    color: var(--text); font-size: 14px; font-weight: 620; width: fit-content;
  }
  .notes-settings-toggle { display: inline-flex; min-height: 36px; }
  .notes-avatar { display: block; flex: none; }
  .notes-avatar .avatar, .notes-avatar .ph { width: 32px; height: 32px; border-radius: 8px; }
  .notes-panel.settings-open .notes-prefs button { min-height: 40px; }
  .explore-mode, .explore-explainer { display: none; }
  .research-back {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 36px; padding: 0 10px; border-radius: 999px;
    border: 1px solid var(--line); background: transparent; color: var(--text);
    font-size: 13px; font-weight: 650; flex: none;
  }
  .copy-phone { display: inline; }
  .copy-desk, .research [data-go-desk] { display: none; }
  .desk:has(.research) { padding-bottom: calc(var(--dock-row) + env(safe-area-inset-bottom)); }
  .research-head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "id watch" "stats stats" "wide wide" "pair pair" "asof asof";
    gap: 8px 10px; align-items: start;
  }
  .research .ident { align-items: center; gap: 8px; }
  .research .ident img, .research .ident .ph { width: 36px; height: 36px; }
  .research .ident h1 { font-size: 18px; }
  .research .mint-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .research .mint-line .ghost { min-height: 36px; }
  .research #watch-btn { min-height: 40px; min-width: 76px; }
  .research .qstats { grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .research .qstats .qstat:first-child { grid-column: 1 / -1; }
  body:not(.research-preview) .research-head { padding-top: 12px; }
  .research .ident h1 { font-size: 20px; letter-spacing: -0.03em; }
  .research .ident h1 span { display: block; margin-top: 1px; font-size: 13px; font-weight: 520; color: var(--muted); letter-spacing: 0; }
  .research .qstats .qstat:first-child strong { font-size: 36px; font-weight: 640; letter-spacing: -0.045em; }
  .thesis-title-desk { display: none; }
  .thesis-title-phone { display: inline; }
  .research-thesis .glance { display: none; }
  .research-thesis .thesis-read > summary { display: none; }
  .research .qstat strong { font-size: 16px; }
  .stat-more { grid-area: wide; }
  .stat-more summary, .chart-help summary, .verdict-detail summary, .help-fold summary, .thesis-read summary {
    cursor: pointer; color: var(--faint); font-size: 12px; font-weight: 640;
    letter-spacing: 0.04em; text-transform: uppercase; min-height: 36px;
    display: flex; align-items: center;
  }
  .stat-more .qstat-wide { margin-top: 6px; }
  .research-actions {
    display: grid; gap: 6px; order: 3;
    position: static; margin: 0; padding: 0;
    background: transparent; border: 0;
  }
  .research-status { display: none; }
  .research-action-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .research-action-row button {
    min-height: 44px; padding: 6px 6px; border-radius: 10px;
    border: 1px solid var(--line); background: var(--card); color: var(--text);
    font-size: 12px; font-weight: 650; line-height: 1.15;
  }
  .research-chart { order: 1; }
  .caller-intel { order: 2; }
  .research-chart .chart-wrap { height: 340px; }
  .research-chart #chart-meta, .research-chart #chart-reading { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
  .research-intel {
    display: block; order: 2; padding: 14px 14px 4px;
  }
  #research-finding, #research-board { display: none; }
  .intel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .intel-head h2 { margin: 0; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
  .intel-verdict { margin: 8px 0 0; font-size: 16px; line-height: 1.4; letter-spacing: -0.015em; }
  .intel-findings { list-style: none; margin: 10px 0 0; padding: 0; }
  .intel-findings li { padding: 12px 0; border-top: 1px solid var(--line); }
  .intel-findings h3 {
    margin: 0 0 4px; color: var(--faint); font-size: 11px; font-weight: 680;
    letter-spacing: 0.06em; text-transform: uppercase;
  }
  .intel-findings p { margin: 0; font-size: 15px; line-height: 1.45; }
  .research-chart .chart-controls { flex-wrap: wrap; width: 100%; }
  .research-chart .intervals,
  .research-chart .chart-measures,
  .research-chart .chart-windows { flex-wrap: nowrap; }
  .research-chart .chart-windows { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .research-chart .chart-controls button { height: 36px; min-height: 36px; padding: 0 8px; white-space: nowrap; }
  .research-side { display: none; }
  .research-work { order: 4; }
  .research .verdict-actions { display: none; }
  .research .tabs {
    order: -1;
    top: var(--research-sticky, 0px); gap: 6px; padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .research .tabs.can-scroll,
  .research .tabs.can-scroll-start {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .research .tabs button { min-height: 36px; height: 36px; scroll-snap-align: start; }
  .phone-tab { display: inline-flex; align-items: center; }
  .research-thesis, .research-recorded, .research-callout, .research-panel { display: none; }
  .research-work[data-section="brief"] .research-thesis,
  .research-work[data-section="callouts"] .research-recorded,
  .research-work[data-section="draft"] .research-callout,
  .research-work[data-section="socials"] .research-panel[data-panel="socials"],
  .research-work[data-section="news"] .research-panel[data-panel="news"],
  .research-work[data-section="onchain"] .research-panel[data-panel="onchain"],
  .research-work[data-section="holders"] .research-panel[data-panel="holders"],
  .research-work[data-section="activity"] .research-panel[data-panel="activity"],
  .research-work[data-section="pairs"] .research-panel[data-panel="pairs"],
  .research-work[data-section="evidence"] .research-panel[data-panel="evidence"] { display: block; }
  .research .tabs button.on { color: var(--faint); border-color: transparent; background: transparent; }
  .research-work[data-section="brief"] .tabs button[data-tab="brief"],
  .research-work[data-section="callouts"] .tabs button[data-tab="callouts"],
  .research-work[data-section="draft"] .tabs button[data-tab="draft"],
  .research-work[data-section="socials"] .tabs button[data-tab="socials"],
  .research-work[data-section="news"] .tabs button[data-tab="news"],
  .research-work[data-section="onchain"] .tabs button[data-tab="onchain"],
  .research-work[data-section="holders"] .tabs button[data-tab="holders"],
  .research-work[data-section="activity"] .tabs button[data-tab="activity"],
  .research-work[data-section="pairs"] .tabs button[data-tab="pairs"],
  .research-work[data-section="evidence"] .tabs button[data-tab="evidence"] {
    color: var(--text); border-color: var(--line-strong); background: var(--raise);
  }
  .research-callout .callout-draft { min-height: 180px; scroll-margin-bottom: 24px; font-size: 16px; }
  .narrative-ask { scroll-margin-bottom: 24px; }
  body:not(.research-preview) .research-head {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "id cap" "id day" "metrics metrics";
    gap: 0 10px;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 0;
    border-bottom: 0;
  }
  body:not(.research-preview) .research .ident {
    display: grid;
    grid-template-columns: auto 56px minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "back avatar name" "back avatar meta";
    column-gap: 4px;
    row-gap: 0;
    align-items: stretch;
  }
  body:not(.research-preview) .research-back {
    grid-area: back;
    align-self: center;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    margin-left: -12px;
    margin-right: -8px;
    padding: 0;
    justify-content: flex-start;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  body:not(.research-preview) .research-back .back-label { display: none; }
  body:not(.research-preview) .research-back .back-icon { display: block; width: 18px; height: 18px; }
  body:not(.research-preview) .research .mint-line .badge { display: none; }
  body:not(.research-preview) .research .ident > div { display: contents; }
  body:not(.research-preview) .research .ident img,
  body:not(.research-preview) .research .ident .ph {
    grid-area: avatar;
    align-self: center;
    justify-self: center;
    width: 56px;
    height: 56px;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
  }
  body:not(.research-preview) .research .ident h1 {
    grid-area: name;
    align-self: start;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    margin: 0;
    font-size: 22px;
    font-weight: 720;
    line-height: 1;
    letter-spacing: -0.03em;
  }
  body:not(.research-preview) .watch-eye-btn {
    display: inline-flex;
    flex: none;
  }
  body:not(.research-preview) .research .ident h1 .watch-eye-btn {
    display: inline-flex;
    width: 26px;
    height: 28px;
    margin: 0;
  }
  body:not(.research-preview) .research .ident h1 .watch-eye { width: 22px; height: 22px; }
  body:not(.research-preview) .research .ident h1 .ident-symbol {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 22px;
    font-weight: 720;
    letter-spacing: -0.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body:not(.research-preview) .research .ident h1 span:not(.ident-symbol) {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #c8c8c8;
    font-size: 15px;
    font-weight: 560;
    letter-spacing: 0;
  }
  body:not(.research-preview) .research .mint-line {
    grid-area: meta;
    align-self: end;
    flex-wrap: nowrap;
    min-width: 0;
    margin: 0;
    gap: 6px;
  }
  body:not(.research-preview) .research .mint-line .mint-copy {
    flex: none;
    min-width: 0;
    min-height: 22px;
    margin: 0;
    padding: 0 2px 0 0;
  }
  body:not(.research-preview) .research .mint-line .mint,
  body:not(.research-preview) .research .mint-line .fine {
    font-size: 13px;
    line-height: 1.15;
  }
  body:not(.research-preview) .research .mint-line .mint {
    min-width: 0;
    color: #b5b5b5;
  }
  body:not(.research-preview) .research .mint-line .fine { color: #9a9a9a; }
  body:not(.research-preview) .research .mint-line .copy-ico { width: 13px; height: 13px; }
  body:not(.research-preview) .wcard-id .mint-copy { display: none; }
  body:not(.research-preview) .research .mint-line .badge,
  body:not(.research-preview) .research .mint-line .fine { flex: none; }
  body:not(.research-preview) .research-head #copy { display: none; }
  body:not(.research-preview) .stat-more { display: none; }
  body:not(.research-preview) .market-pair,
  body:not(.research-preview) .quote-asof { display: none; }
  body:not(.research-preview) .named-contracts {
    order: 5;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  body:not(.research-preview) .research #watch-btn {
    min-width: 0;
    min-height: 44px;
    padding: 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
  }
  body:not(.research-preview) .research #watch-btn.watching {
    border: 0;
    background: transparent;
    color: var(--up);
  }
  body:not(.research-preview) .research .qstats {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
  }
  body:not(.research-preview) .research .qstats .qstat:first-child { grid-column: auto; }
  body:not(.research-preview) .research .qstats .qstat:nth-child(1),
  body:not(.research-preview) .research .qstats .qstat:nth-child(3) { flex: 1 0 100%; }
  body:not(.research-preview) .research .qstats .qstat:nth-child(1) { order: 1; }
  body:not(.research-preview) .research .qstats .qstat:nth-child(3) { order: 2; margin-top: 4px; }
  body:not(.research-preview) .research .qstats .qstat:nth-child(2) { order: 3; }
  body:not(.research-preview) .research .qstats .qstat:nth-child(4) { order: 4; }
  body:not(.research-preview) .research .qstats .qstat:nth-child(5) { order: 5; }
  body:not(.research-preview) .research .qstats .qstat:nth-child(1) span,
  body:not(.research-preview) .research .qstats .qstat:nth-child(3) span { display: none; }
  body:not(.research-preview) .research .qstats .qstat:nth-child(1) strong {
    font-size: 30px;
    font-weight: 640;
    letter-spacing: -0.045em;
    line-height: 1;
    min-height: 0;
  }
  body:not(.research-preview) .research .qstats .qstat:nth-child(3) strong {
    font-size: 16px;
    font-weight: 620;
    min-height: 0;
  }
  body:not(.research-preview) .research .qstats .qstat:nth-child(2),
  body:not(.research-preview) .research .qstats .qstat:nth-child(4),
  body:not(.research-preview) .research .qstats .qstat:nth-child(5) {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    width: auto;
    margin-top: 8px;
  }
  body:not(.research-preview) .research .qstats .qstat:nth-child(4)::before,
  body:not(.research-preview) .research .qstats .qstat:nth-child(5)::before {
    content: "·";
    margin: 0 8px 0 0;
    color: var(--faint);
    font-size: 13px;
  }
  body:not(.research-preview) .research .qstats .qstat:nth-child(2) span,
  body:not(.research-preview) .research .qstats .qstat:nth-child(4) span,
  body:not(.research-preview) .research .qstats .qstat:nth-child(5) span {
    order: 2;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0;
  }
  body:not(.research-preview) .research .qstats .qstat:nth-child(4) span::after { content: "liq"; font-size: 13px; }
  body:not(.research-preview) .research .qstats .qstat:nth-child(5) span::after { content: "vol"; font-size: 13px; }
  body:not(.research-preview) .research .qstats .qstat:nth-child(2) strong,
  body:not(.research-preview) .research .qstats .qstat:nth-child(4) strong,
  body:not(.research-preview) .research .qstats .qstat:nth-child(5) strong {
    margin: 0;
    min-height: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 560;
  }
  body:not(.research-preview) .research-side {
    display: flex;
    position: static;
    max-height: none;
    overflow: visible;
    order: 2;
  }
  body:not(.research-preview) .research-chart {
    order: 1;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 4px 0 0;
  }
  body:not(.research-preview) .research-chart .chart-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    margin: 0;
  }
  body:not(.research-preview) .research-chart .chart-bar h2,
  body:not(.research-preview) .research-chart .chart-measures,
  body:not(.research-preview) .research-chart .chart-windows { display: none; }
  body:not(.research-preview) .research-chart .chart-controls {
    display: flex;
    order: 1;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    width: auto;
    min-width: 0;
    gap: 0;
    overflow: hidden;
  }
  body:not(.research-preview) .research-chart .chart-controls { width: 100%; }
  body:not(.research-preview) .research-chart .intervals {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    gap: 0;
  }
  body:not(.research-preview) .research-chart .chart-controls button {
    height: 44px;
    min-height: 44px;
    padding: 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--faint);
    font-size: 14px;
    font-weight: 650;
  }
  body:not(.research-preview) .research-chart .chart-controls button.on,
  body:not(.research-preview) .research-chart .chart-controls button[aria-pressed="true"] {
    color: #fff;
    background: transparent;
    border: 0;
    box-shadow: inset 0 -2px 0 #fff;
  }
  body:not(.research-preview) .research-chart .intervals button { flex: 1; padding: 0; }
  body:not(.research-preview) .chart-readout { display: none; }
  body:not(.research-preview) .below-chart { border: 0; padding: 0; }
  body:not(.research-preview) .research-chart .chart-wrap {
    height: 200px;
    min-height: 0;
    margin: 0;
  }
  body:not(.research-preview) .research-chart #chart-meta,
  body:not(.research-preview) .research-chart #chart-asof { display: none; }
  body:not(.research-preview) .research-chart .chart-help {
    display: block;
    order: 5;
    margin: 0;
  }
  body:not(.research-preview) .research-chart .chart-help summary {
    min-height: 22px;
    color: var(--faint);
    font-size: 11px;
    font-weight: 560;
    letter-spacing: 0;
    text-transform: none;
  }
  body:not(.research-preview) .trade-bar {
    left: 0;
    right: 0;
    bottom: calc(var(--dock-row, 0px) + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-height: 0;
    padding: 6px 12px 8px;
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--line);
    background: var(--mg-bg);
  }
  body:not(.research-preview) .trade-bar::after { content: none; }
  body:not(.research-preview) .trade-actions,
  body:not(.research-preview) .trade-go { width: 100%; }
  body:not(.research-preview) .trade-go { height: 48px; border-radius: 14px; }
  body:not(.research-preview) .trade-risk { display: none; }
  body:not(.research-preview) .desk:has(.research) {
    padding-bottom: calc(96px + var(--dock-row) + env(safe-area-inset-bottom));
  }
  body:not(.research-preview) .research-mast { display: contents; }
  body:not(.research-preview) .research-mast > :not(.tape) { display: none; }
  body:not(.research-preview) .research-head { order: 1; }
  body:not(.research-preview) .research-mast .tape { display: block; order: 2; margin: 8px 0 2px; }
  body:not(.research-preview) .research-main { order: 3; gap: 6px; }
  body:not(.research-preview) .research-mast .mix {
    height: 6px;
    border-radius: 99px;
    background: var(--down);
    overflow: hidden;
  }
  body:not(.research-preview) .research-mast .mix span {
    display: block;
    height: 100%;
    background: var(--up);
  }
  body:not(.research-preview) .research-mast .tape p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.3;
  }
  body:not(.research-preview) .research-mast .tape p b { color: var(--text); font-weight: 650; }
  body:not(.research-preview) .research-mast #tape-buys { color: var(--up); }
  body:not(.research-preview) .research-mast #tape-sells { color: var(--down); }
  body:not(.research-preview) .research-work { order: 3; gap: 18px; margin-top: 2px; }
  body:not(.research-preview) .research-actions,
  body:not(.research-preview) .research-intel,
  body:not(.research-preview) .preview-entry,
  body:not(.research-preview) .below-tabs,
  body:not(.research-preview) #below-panel { display: none; }
  body:not(.research-preview) .research .verdict-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 12px 0 2px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--card);
  }
  body:not(.research-preview) .verdict-actions .ghost,
  body:not(.research-preview) .verdict-actions button,
  body:not(.research-preview) .verdict-actions [data-quick] {
    flex: 1 1 33%;
    width: auto;
    max-width: 33.34%;
    min-width: 0;
    height: auto;
    min-height: 48px;
    padding: 8px 6px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
  body:not(.research-preview) .verdict-actions > button:nth-child(3) { border-right: 0; }
  body:not(.research-preview) .verdict-actions [data-quick] {
    flex: 1 1 50%;
    max-width: 50%;
    min-height: 40px;
    border-right: 0;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
    font-weight: 560;
  }
  body:not(.research-preview) .verdict-actions [data-quick="copy-callout"] { border-right: 1px solid var(--line); }
  body:not(.research-preview) .verdict-actions .watch-eye-btn { display: none; }
  body:not(.research-preview) .research-verdict,
  body:not(.research-preview) .research-panel,
  body:not(.research-preview) .research-thesis,
  body:not(.research-preview) .research-recorded,
  body:not(.research-preview) .research-callout {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 16px 2px 0;
  }
  body:not(.research-preview) .research-verdict.is-empty .card-head { display: none; }
  body:not(.research-preview) .research-verdict { padding: 6px 0 0; }
  body:not(.research-preview) .research-verdict.is-empty .verdict-lead {
    margin-top: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 620;
    letter-spacing: -0.02em;
  }
  body:not(.research-preview) .research-verdict:not(.is-empty) .verdict-lead {
    margin: 0;
    color: #fff;
    font-size: 17px;
    font-weight: 640;
    letter-spacing: -0.02em;
    line-height: 1.3;
  }
  body:not(.research-preview) .verdict-block { margin-top: 12px; }
  body:not(.research-preview) .verdict-block h3 {
    margin: 0 0 2px;
    color: #fff;
    font-size: 15px;
    font-weight: 680;
    letter-spacing: -0.02em;
  }
  body:not(.research-preview) .verdict-block p { margin: 0; font-size: 15px; line-height: 1.35; }
  body:not(.research-preview) .research .tabs { display: none; }
  body:not(.research-preview) .research-thesis,
  body:not(.research-preview) .research-recorded,
  body:not(.research-preview) .research-callout { display: none; }
  body:not(.research-preview) .research-panel,
  body:not(.research-preview) .research-panel[hidden] {
    display: block;
    overflow: clip;
    background: #111;
    border: 1px solid #333;
    border-radius: 14px;
    padding: 0 14px 4px;
    margin: 0;
  }
  body:not(.research-preview) .research-panel[data-panel="pairs"] { order: 1; }
  body:not(.research-preview) .research-panel[data-panel="onchain"] { order: 2; }
  body:not(.research-preview) .research-panel[data-panel="holders"] { order: 3; }
  body:not(.research-preview) .research-panel[data-panel="activity"] { order: 4; }
  body:not(.research-preview) .research-panel[data-panel="socials"] { order: 5; }
  body:not(.research-preview) .research-panel[data-panel="news"] { order: 6; }
  body:not(.research-preview) .research-panel > h2,
  body:not(.research-preview) .research-panel .card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 -14px 8px;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid #333;
    border-radius: 13px 13px 0 0;
    background: #1c1c1c;
  }
  body:not(.research-preview) .research-panel > h2,
  body:not(.research-preview) .research-panel .card-head h2 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-transform: none;
  }
  body:not(.research-preview) #onchain-title { font-size: 0; line-height: 0; }
  body:not(.research-preview) #onchain-title::after {
    content: "On-chain";
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    text-transform: none;
  }
  body:not(.research-preview) .research-panel .fold { display: none; }
  body:not(.research-preview) .research-panel .links {
    display: flex;
    flex-flow: row wrap;
    gap: 0 14px;
    overflow: visible;
  }
  body:not(.research-preview) #news-body,
  body:not(.research-preview) #onchain-body .metrics,
  body:not(.research-preview) .pair-shelf,
  body:not(.research-preview) .holder-shelf,
  body:not(.research-preview) .activity-shelf {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    overflow: visible;
  }
  body:not(.research-preview) .research-panel .links a {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 640;
    white-space: nowrap;
    text-decoration: none;
  }
  body:not(.research-preview) #onchain-body .metric,
  body:not(.research-preview) .shelf-card,
  body:not(.research-preview) #news-body > * {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }
  body:not(.research-preview) #onchain-body .metric {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  body:not(.research-preview) #onchain-body .metric span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
  }
  body:not(.research-preview) #onchain-body .metric strong {
    color: #fff;
    font-size: 16px;
    font-weight: 650;
    text-align: right;
  }
  body:not(.research-preview) .pair-shelf .shelf-card,
  body:not(.research-preview) .holder-shelf .shelf-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 1px;
    align-items: center;
    min-height: 56px;
    color: inherit;
    text-align: left;
    font: inherit;
  }
  body:not(.research-preview) .activity-shelf .shelf-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: inherit;
    text-align: left;
    font: inherit;
  }
  body:not(.research-preview) .pair-shelf .shelf-card span { grid-column: 1; grid-row: 2; }
  body:not(.research-preview) .holder-shelf .shelf-card span { grid-column: 1; grid-row: 2; }
  body:not(.research-preview) .pair-shelf .shelf-card strong { grid-column: 1; grid-row: 1; }
  body:not(.research-preview) .pair-shelf .shelf-card b {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
    color: var(--muted);
    font-size: 12px;
    font-weight: 560;
  }
  body:not(.research-preview) .pair-shelf .shelf-card em { grid-column: 2; grid-row: 1; justify-self: end; }
  body:not(.research-preview) .pair-shelf .shelf-card em i {
    margin-left: 4px;
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 560;
  }
  body:not(.research-preview) .pair-shelf .shelf-card.is-thin strong { color: var(--muted); font-weight: 560; }
  body:not(.research-preview) .holder-shelf .shelf-card b { grid-column: 1; grid-row: 1; }
  body:not(.research-preview) .holder-shelf .shelf-card strong { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
  body:not(.research-preview) .shelf-card span,
  body:not(.research-preview) .activity-shelf .shelf-card span { color: var(--muted); font-size: 12px; }
  body:not(.research-preview) .shelf-card strong {
    min-width: 0;
    overflow: hidden;
    color: #fff;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body:not(.research-preview) .pair-shelf .shelf-card b,
  body:not(.research-preview) .holder-shelf .shelf-card b {
    min-width: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    font-weight: 560;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body:not(.research-preview) .holder-shelf .shelf-card b { color: #fff; font-size: 16px; font-weight: 620; }
  body:not(.research-preview) .shelf-card em { font-style: normal; font-size: 15px; font-weight: 650; }
  body:not(.research-preview) .shelf-card em.up { color: var(--up); }
  body:not(.research-preview) .shelf-card em.down { color: var(--down); }
  body:not(.research-preview) .pair-shelf .shelf-card.is-on strong::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: #fff;
    transform: translateY(-1px);
  }
  body:not(.research-preview) a.shelf-card { color: inherit; text-decoration: none; }
  body:not(.research-preview) .shelf-card:last-child,
  body:not(.research-preview) #onchain-body .metrics .metric:last-child,
  body:not(.research-preview) #news-body > :last-child { border-bottom: 0; }
  body:not(.research-preview) #onchain-body .metric strong,
  body:not(.research-preview) .shelf-card strong,
  body:not(.research-preview) .shelf-card em {
    font-variant-numeric: tabular-nums;
  }
  body:not(.research-preview) #news-body > .fine {
    max-width: none;
    padding-top: 6px;
    border: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
  }
  body:not(.research-preview) #news-body .news-row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    color: inherit;
    text-decoration: none;
  }
  body:not(.research-preview) #news-body .news-row strong { color: #fff; font-size: 15px; font-weight: 620; }
  body:not(.research-preview) #news-body .news-row span { color: var(--muted); font-size: 12px; }
  body:not(.research-preview) .research-panel[data-panel="evidence"],
  body:not(.research-preview) .research-panel[data-panel="pairs"] .table-wrap,
  body:not(.research-preview) .research-panel[data-panel="holders"] .table-wrap,
  body:not(.research-preview) .research-panel[data-panel="holders"] h3,
  body:not(.research-preview) .research-panel[data-panel="holders"] .fine,
  body:not(.research-preview) #activity-panel > h2,
  body:not(.research-preview) #activity-panel > p,
  body:not(.research-preview) #activity-panel > ul,
  body:not(.research-preview) #onchain-help,
  body:not(.research-preview) #onchain-body .risk-check,
  body:not(.research-preview) #onchain-body > .risk-check,
  body:not(.research-preview) #onchain-body > .block,
  body:not(.research-preview) #onchain-body > .meter,
  body:not(.research-preview) #onchain-body > .fine,
  body:not(.research-preview) .research-panel .card-actions .badge { display: none; }
  body:not(.research-preview) .research-panel .card-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  body:not(.research-preview) #onchain-refresh {
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 620;
  }
  body:not(.research-preview) .thesis-title-phone { display: none; }
  body:not(.research-preview) .thesis-title-desk { display: inline; }
  body:not(.research-preview) .research-thesis .glance { display: grid; }
  body:not(.research-preview) .research-verdict .help-fold,
  body:not(.research-preview) .research-verdict.is-empty .verdict-detail,
  body:not(.research-preview) .research-verdict.is-empty #verdict-note { display: none; }
  body:not(.research-preview) .research-verdict:not(.is-empty) .verdict-detail { display: contents; }
  body:not(.research-preview) .research-verdict:not(.is-empty) .verdict-detail > summary { display: none; }
  html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
  html.standalone, html.standalone body { height: 100%; min-height: 0; overflow: hidden; }
  .app {
    position: fixed; inset: 0; width: 100%;
    height: auto; min-height: 0; max-height: none; overflow: hidden;
  }
  .shell { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
  .desk {
    flex: 1 1 auto; height: auto; min-height: 0;
    overflow-x: clip;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: 0;
    padding-bottom: calc(var(--dock-row) + env(safe-area-inset-bottom));
  }
  body:not(.research-preview) .desk:has(.research) {
    padding-bottom: calc(72px + var(--dock-row) + env(safe-area-inset-bottom));
  }
  html { scroll-padding-bottom: calc(var(--dock-row) + env(safe-area-inset-bottom)); }
  .xrow:last-child, .wcard:last-child, .call-row:last-child, article.tape:last-child { scroll-margin-bottom: calc(var(--dock-row) + env(safe-area-inset-bottom)); }
  .phone-nav, html.standalone .phone-nav {
    position: fixed; left: 0; right: 0; bottom: 0; flex: none;
    height: auto; min-height: 0;
    padding: 0 6px env(safe-area-inset-bottom);
    background: var(--mg-bg);
  }
  body:not(.research-preview) .notes-panel {
    position: fixed; top: 56px; left: 8px; right: 8px; width: auto; z-index: 45;
    max-height: min(70dvh, 520px);
  }
  body:not(.research-preview) #notes-close { min-width: 44px; min-height: 44px; }
  html.standalone body { padding-bottom: 0; }
  html.standalone .watch { bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
  .toast-stack { bottom: calc(var(--dock-row) + 12px + env(safe-area-inset-bottom)); }
  body.search-open { background: var(--mg-bg); }
  body.search-open .top { z-index: 60; }
  body.search-open .shell,
  body.search-open .phone-nav { visibility: hidden; }
  body.search-open .top > :not(.lookup) {
    position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; pointer-events: none; visibility: hidden;
  }
  body.search-open .desk { overflow: hidden; }
  body.search-open .lookup {
    top: auto; height: auto; min-height: 44px; overscroll-behavior: none;
    background: transparent;
    padding: 0;
  }
  body.search-open .lookup-field {
    display: block; flex: 1 1 auto; width: auto;
    min-width: 0; min-height: 0; height: auto; overflow: visible;
  }
  body.search-open .lookup-field > input { height: 44px; width: 100%; flex: none; }
  body.search-open .search-cancel { align-self: center; min-height: 44px; }
  body.search-open .search-results {
    position: fixed; left: 0; right: 0; z-index: 50;
    width: auto; min-height: 0; max-height: none; overflow: auto;
    margin-top: 0; background: var(--mg-bg); border: 0; border-radius: 0; box-shadow: none;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y;
  }
  body.search-open .search-row { min-height: 68px; padding: 10px 4px; gap: 12px; }
  body.search-open .search-row .avatar, body.search-open .search-row .ph { width: 40px; height: 40px; border-radius: 12px; }
  body.search-open .search-meta { display: flex; flex-direction: column; gap: 1px; white-space: normal; }
  body.search-open .search-name, body.search-open .search-mint {
    display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  body.search-open .search-name:not(:empty) + .search-mint::before { content: none; }
  body.search-open .search-name { color: var(--faint); font-family: var(--sans); font-size: 13px; }
  body.search-open .search-mint { color: var(--muted); font-family: var(--mono); font-size: 12px; }
  body.search-open .search-side strong { font-size: 15px; }
  .desk, .research, .research-main, .research-work, .research-panel, .research-side, .research-chart, .research-head {
    min-width: 0; max-width: 100%;
  }
  .research :where(p, li, a, h1, h2, h3, td, th, .mint, .fine, .verdict-lead, .thesis-lead, .intel-verdict, .intel-findings p, .social-body, .social-card, .fold-body, .limits, blockquote) {
    overflow-wrap: anywhere;
    min-width: 0;
  }
  .research-chart #chart-pair, .research .qstat strong, .research .qstat span { white-space: normal; }
  .research img, .social-media { max-width: 100%; height: auto; }
  .table-wrap { max-width: 100%; }
  .desk { overflow-anchor: none; }
  .preview-entry { display: block; order: 5; margin: 8px 0 0; }
  .preview-entry button {
    min-height: 44px; border: 0; background: transparent; color: var(--faint);
    font: inherit; font-size: 13px; padding: 0;
  }
  body.research-preview .research-head {
    display: grid;
    grid-template-columns: 36px 36px minmax(0, 1fr) 44px 44px;
    grid-template-areas: "back avatar title copy watch" "meta meta meta meta meta" "stats stats stats stats stats" "wide wide wide wide wide" "asof asof asof asof asof";
    align-items: center; column-gap: 8px; row-gap: 0;
    padding: 0 0 6px; border-bottom: 0;
  }
  body.research-preview .ident,
  body.research-preview .ident > div { display: contents; }
  body.research-preview .research-back {
    grid-area: back; border: 0; background: transparent; border-radius: 0;
    width: 36px; min-height: 44px; padding: 0; color: #fff;
  }
  body.research-preview .back-icon { display: block; width: 22px; height: 22px; }
  body.research-preview .back-label { display: none; }
  body.research-preview .ident img,
  body.research-preview .ident .ph { grid-area: avatar; width: 36px; height: 36px; border-radius: 10px; }
  body.research-preview .ident h1 {
    grid-area: title; margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: #fff;
  }
  body.research-preview .ident h1 span:not(.ident-symbol) {
    display: block; margin-top: 1px; color: #c4c4c4; font-size: 14px; font-weight: 540; letter-spacing: 0;
  }
  body.research-preview #watch-btn,
  body.research-preview #copy {
    display: inline-flex; align-items: center; justify-content: center;
    justify-self: end; align-self: center; width: 44px; min-width: 44px; min-height: 44px;
    margin: 0; padding: 0; border: 0 !important; background: transparent !important; border-radius: 0;
    color: #fff; font-size: 0;
  }
  body.research-preview #copy { grid-area: copy; }
  body.research-preview #watch-btn { grid-area: watch; }
  body.research-preview #watch-btn[aria-pressed="true"] { color: var(--up); }
  body.research-preview #copy::before,
  body.research-preview #watch-btn::before {
    content: ""; display: block; width: 20px; height: 20px; margin: 0 auto; background: currentColor;
    -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat;
  }
  body.research-preview #copy { --mark: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 7V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-2V8a1 1 0 0 0-1-1H9zm-4 4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-8z'/></svg>"); }
  body.research-preview #watch-btn.watch-eye-btn::before { content: none; }
  body.research-preview #watch-btn.watch-eye-btn { color: var(--muted); }
  body.research-preview #watch-btn.watch-eye-btn.watching { color: var(--up); }
  body.research-preview .mint-line { display: contents; }
  body.research-preview .mint-line .mint-copy,
  body.research-preview .mint-line .mint,
  body.research-preview .mint-line [data-go-desk],
  body.research-preview .mint-line .badge { display: none; }
  body.research-preview .mint-line .fine { grid-area: meta; color: #c4c4c4; font-size: 14px; font-weight: 540; align-self: center; }
  body.research-preview .qstats { grid-area: stats; margin-top: 10px; gap: 4px 16px; }
  body.research-preview .qstats .qstat span { color: #bdbdbd; font-size: 12px; letter-spacing: 0.04em; }
  body.research-preview .qstats .qstat strong { color: #fff; }
  body.research-preview .qstats .qstat:first-child strong { font-size: 40px; font-weight: 720; color: #fff; }
  body.research-preview .stat-more { grid-area: wide; }
  body.research-preview .stat-more summary {
    text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: #c4c4c4; min-height: 36px;
  }
  body.research-preview .quote-asof { grid-area: asof; color: #9a9a9a; font-size: 12px; margin-top: 0; }
  body.research-preview .research-chart {
    background: transparent; border: 0; box-shadow: none; padding: 8px 0 0;
  }
  body.research-preview .research-chart .chart-wrap { height: clamp(220px, calc(100dvh - 530px), 360px); }
  body.research-preview .chart-bar { align-items: center; margin-bottom: 4px; }
  body.research-preview .research-chart h2 {
    margin: 0; color: var(--muted); font-size: 13px; font-weight: 560; letter-spacing: 0; text-transform: none;
  }
  body.research-preview .chart-info {
    display: inline-flex; align-items: center; min-height: 32px; margin-left: auto;
    border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 650;
  }
  body.research-preview .research-chart .chart-controls { width: 100%; gap: 0 8px; margin-top: 2px; }
  body.research-preview .research-chart .intervals,
  body.research-preview .research-chart .chart-measures { gap: 0; }
  body.research-preview .research-chart .chart-windows { display: none; }
  body.research-preview .research-chart #chart-meta,
  body.research-preview .research-chart .chart-help { display: none; }
  body.research-preview .research-chart .intervals,
  body.research-preview .research-chart .chart-measures { background: transparent; }
  body.research-preview .research-chart .chart-controls button {
    height: 32px; min-height: 32px; border: 0; background: transparent; color: var(--muted); border-radius: 8px;
  }
  body.research-preview .research-chart .intervals button.on,
  body.research-preview .research-chart .chart-measures button[aria-pressed="true"] {
    background: #1a1a1a; color: #fff;
  }
  body.research-preview .research-intel {
    background: transparent; border: 0; box-shadow: none; padding: 14px 0 0;
  }
  body.research-preview .intel-head,
  body.research-preview .intel-verdict,
  body.research-preview #intel-narrative,
  body.research-preview #intel-attention,
  body.research-preview #intel-risk { display: none; }
  body.research-preview .intel-meta {
    display: block; margin: 0 0 2px; color: var(--muted); font-size: 13px; line-height: 1.3;
  }
  body.research-preview .intel-findings h3 {
    margin: 0 0 4px; color: #e7e7e7; font-size: 13px; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase;
  }
  body.research-preview .finding-lead {
    display: block; margin: 0; color: #fff; font-size: 18px; font-weight: 680;
    letter-spacing: -0.02em; line-height: 1.25;
  }
  body.research-preview .finding-support {
    display: block; margin: 4px 0 0; color: #c8c8c8; font-size: 14px; line-height: 1.4;
  }
  body.research-preview .finding-support:empty { display: none; }
  body.research-preview .intel-findings { margin-top: 4px; }
  body.research-preview .intel-findings li { position: relative; padding: 14px 18px 14px 0; }
  body.research-preview .intel-findings li[data-sheet="risk"] {
    margin-left: 0; padding-left: 12px; border-left: 2px solid var(--down);
  }
  body.research-preview .intel-findings li[data-sheet="risk"] h3 { color: var(--down); }
  body.research-preview .intel-findings li[data-sheet="risk"].is-clear { border-left-color: var(--line); }
  body.research-preview .intel-findings li[data-sheet="risk"].is-clear h3 { color: var(--faint); }
  body.research-preview .preview-tools { display: flex; gap: 0; margin-top: 0; border-top: 1px solid var(--line); }
  body.research-preview .preview-tools button {
    flex: 1; min-height: 48px; border: 0; border-radius: 0; background: transparent;
    color: #fff; font: inherit; font-size: 15px; font-weight: 650; text-align: left; padding: 0;
  }
  body.research-preview .preview-tools button + button { padding-left: 12px; }
  body.research-preview .research-actions {
    display: grid; order: 3; margin-top: 8px; padding-top: 8px;
  }
  body.research-preview .research-action-row { gap: 8px; }
  body.research-preview .research-action-row button {
    min-height: 48px; border: 1px solid #333; border-radius: 12px; background: #141414;
    color: #fff; font-size: 14px; font-weight: 680; padding: 8px 6px;
  }
  body.research-preview .research-work { display: none; }
  body.research-preview .intel-findings li::after {
    content: ""; position: absolute; right: 2px; top: 22px; width: 7px; height: 7px;
    border-right: 1.5px solid var(--faint); border-top: 1.5px solid var(--faint); transform: rotate(45deg);
  }
  body.research-preview .research-mast { display: block; }
  body.research-preview .research-head,
  body.research-preview .research-actions,
  body.research-preview .preview-tools,
  body.research-preview .preview-entry,
  body.research-preview .chart-info,
  body.research-preview #chart-market,
  body.research-preview .research-chart .chart-controls,
  body.research-preview .intel-findings { display: none !important; }
  body.research-preview .chart-measure-label,
  body.research-preview .chart-readout { display: block; }
  body.research-preview .intel-rows { display: flex; flex-direction: column; }
  body.research-preview .intel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; }
  body.research-preview .research-mast { padding: 0 6px 2px; }
  body.research-preview .mast-bar {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px 44px; align-items: center; gap: 2px;
    margin: 0 -6px;
  }
  body.research-preview .mast-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #fff;
  }
  body.research-preview .mast-icon svg { width: 22px; height: 22px; }
  body.research-preview .mast-id {
    display: flex; align-items: center; gap: 10px; min-width: 0;
    border: 0; background: transparent; color: inherit; padding: 0; text-align: left;
  }
  body.research-preview .mast-id .avatar,
  body.research-preview .mast-id .ph {
    width: 40px; height: 40px; border-radius: 12px; flex: none;
  }
  body.research-preview .mast-who { min-width: 0; }
  body.research-preview .mast-name {
    margin: 0; min-width: 0; color: #fff; font-size: 18px; font-weight: 650; letter-spacing: -0.03em; line-height: 1.1;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  body.research-preview .mast-sub {
    display: block; margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  body.research-preview .mast-icon.watching { color: var(--up); }
  body.research-preview .mast-icon.watching .mark-outline,
  body.research-preview .mast-icon:not(.watching) .mark-fill { display: none; }
  body.research-preview .mast-hero {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 18px;
  }
  body.research-preview .mast-cap { min-width: 0; }
  body.research-preview .mast-cap > span {
    display: block; color: var(--muted); font-size: 12px; font-weight: 500;
  }
  body.research-preview .mast-cap strong {
    display: block; margin-top: 4px; color: #fff; font-size: 46px;
    font-weight: 600; letter-spacing: -0.05em; line-height: 0.92;
  }
  body.research-preview .mast-liq { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
  body.research-preview .mast-liq b { color: var(--text); font-weight: 600; }
  body.research-preview .mast-moves { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; padding-bottom: 2px; }
  body.research-preview .pill {
    display: inline-flex; align-items: baseline; gap: 5px;
    padding: 4px 8px; border-radius: 999px; font-size: 13px; font-weight: 650; letter-spacing: -0.02em;
    color: var(--text); background: #1c1c20;
  }
  body.research-preview .pill strong { font-weight: 650; }
  body.research-preview .pill i { font-style: normal; font-weight: 500; font-size: 11px; opacity: 0.8; }
  body.research-preview .pill.up { color: var(--up); background: rgba(61, 214, 140, 0.14); }
  body.research-preview .pill.down { color: var(--down); background: rgba(255, 93, 93, 0.14); }
  body.research-preview .research-mast .tape { margin-top: 16px; }
  body.research-preview .mix { height: 4px; border-radius: 99px; background: rgba(255, 93, 93, 0.85); overflow: hidden; }
  body.research-preview .mix span { display: block; height: 100%; background: var(--up); }
  body.research-preview .tape p { margin-top: 8px; color: var(--muted); font-size: 13px; }
  body.research-preview .tape p b { color: var(--text); font-weight: 600; }
  body.research-preview .research-chart {
    background: transparent; border: 0; box-shadow: none; border-radius: 0;
    padding: 8px 0 0; margin: 0 -12px;
  }
  body.research-preview .chart-bar { flex-wrap: nowrap; align-items: center; margin-bottom: 0; }
  body.research-preview .research-chart h2.chart-measure-label {
    margin: 0 0 0 18px; color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none;
  }
  body.research-preview .research-chart .chart-legend {
    top: 8px; left: 12px; right: auto; max-width: calc(100% - 24px);
    padding: 4px 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.82);
    color: #ececf0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  body.research-preview .research-chart .chart-legend:empty { display: none; }
  body.research-preview .research-chart .chart-host { top: 0; }
  body.research-preview .research-chart .chart-wrap { height: clamp(188px, calc(100dvh - 670px), 250px); margin: 6px 0 0; }
  body.research-preview .research-intel { display: none; }
  body.research-preview .below-chart {
    padding: 0 0 16px;
  }
  body.research-preview #research-board { display: block; margin-top: 18px; }
  body.research-preview .board-sec { margin-top: 22px; }
  body.research-preview .board-sec h2 {
    margin: 0 0 10px; color: #9a9a9a; font-size: 12px; font-weight: 680;
    letter-spacing: 0.08em; text-transform: uppercase;
  }
  body.research-preview .intel-calls { display: flex; flex-direction: column; gap: 8px; }
  body.research-preview .intel-call,
  body.research-preview .intel-post,
  body.research-preview .intel-story,
  body.research-preview .intel-risk,
  body.research-preview .intel-metric {
    display: flex; width: 100%; min-height: 64px; text-align: left; color: inherit; font: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; background: #121214;
  }
  body.research-preview .intel-call {
    align-items: center; gap: 12px; padding: 12px;
  }
  body.research-preview .intel-call > i {
    display: grid; place-items: center; width: 36px; height: 36px; flex: none;
    border-radius: 12px; background: #1c2430; color: #d5e4f7; font-style: normal; font-weight: 700;
  }
  body.research-preview .intel-call > span { min-width: 0; flex: 1; }
  body.research-preview .intel-call strong,
  body.research-preview .intel-post strong,
  body.research-preview .intel-story strong,
  body.research-preview .intel-risk strong {
    display: block; color: #fff; font-size: 16px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25;
  }
  body.research-preview .intel-call small,
  body.research-preview .intel-post small,
  body.research-preview .intel-story small,
  body.research-preview .intel-risk small,
  body.research-preview .intel-metric small {
    display: block; margin-top: 3px; color: #a3a3a3; font-size: 13px; line-height: 1.35;
  }
  body.research-preview .intel-call em {
    flex: none; text-align: right; font-style: normal; font-weight: 720; font-size: 16px; letter-spacing: -0.03em;
  }
  body.research-preview .intel-call em i { display: block; margin-top: 2px; color: #8d8d8d; font-style: normal; font-size: 11px; font-weight: 600; }
  body.research-preview .intel-call em.up { color: var(--up); }
  body.research-preview .intel-call em.down { color: var(--down); }
  body.research-preview .intel-post,
  body.research-preview .intel-story,
  body.research-preview .intel-risk { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; margin-top: 8px; }
  body.research-preview .intel-post:first-of-type,
  body.research-preview .board-sec > .intel-story,
  body.research-preview .board-sec > .intel-risk { margin-top: 0; }
  body.research-preview .intel-post .tag {
    display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.06); color: #c8c8c8; font-size: 11px; font-weight: 680; letter-spacing: 0.02em;
  }
  body.research-preview .intel-post .tag.token { background: rgba(61, 214, 140, 0.14); color: var(--up); }
  body.research-preview .intel-risk { background: rgba(240, 82, 82, 0.08); border-color: rgba(240, 82, 82, 0.28); }
  body.research-preview .intel-metric {
    align-items: baseline; flex-wrap: wrap; gap: 8px 12px; padding: 14px 16px;
  }
  body.research-preview .intel-metric strong {
    color: #fff; font-size: 32px; font-weight: 700; letter-spacing: -0.04em; line-height: 1;
  }
  body.research-preview .intel-metric span { color: #d0d0d0; font-size: 14px; font-weight: 650; }
  body.research-preview .intel-metric small { flex-basis: 100%; margin-top: 0; }
  body.research-preview .intel-story span { color: #9a9a9a; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
  body.research-preview .intel-gap {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; min-height: 64px;
    padding: 14px; text-align: left; color: inherit; font: inherit;
    border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: 16px; background: transparent;
  }
  body.research-preview .intel-gap strong { display: block; color: #fff; font-size: 16px; font-weight: 650; letter-spacing: -0.02em; }
  body.research-preview .intel-gap small { display: block; color: #b5b5b5; font-size: 13px; line-height: 1.35; }
  body.research-preview .intel-gaps { display: flex; flex-direction: column; gap: 6px; }
  body.research-preview .intel-gaps p { margin: 0; color: #9a9a9a; font-size: 13px; line-height: 1.4; }
  body.research-preview .intel-more {
    display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; padding: 0;
    border: 0; background: none; color: #fff; font: inherit; font-size: 14px; font-weight: 650;
  }
  body.research-preview .board-quiet { margin: 0; color: #8a8a8a; font-size: 13px; line-height: 1.45; }
  body.research-preview .intel-actions, body.research-preview .intel-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  body.research-preview .board-action, body.research-preview .intel-chips button {
    min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 650;
  }
  body.research-preview .board-foot { margin-top: 18px; }
  body.research-preview .intel-head,
  body.research-preview .intel-verdict,
  body.research-preview .intel-meta,
  body.research-preview .intel-findings,
  body.research-preview .intel-rows,
  body.research-preview #research-finding { display: none; }
  body.research-preview #research-finding { display: block; }
  body.research-preview .chart-readout {
    display: inline-flex; align-items: center; justify-content: center;
    margin: 0 14px 0 auto; min-width: 44px; min-height: 44px; height: 44px; padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; background: transparent;
    color: #c8c8c8; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-align: center;
  }
  body.research-preview .compare,
  body.research-preview .handles,
  body.research-preview .finding-alert {
    border: 0; background: none; color: inherit; text-align: left; padding: 0;
  }
  body.research-preview .finding-quote {
    display: block; width: 100%; margin-top: 18px; padding: 14px; text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 16px; background: #121214;
  }
  body.research-preview .finding-quote .kicker {
    display: block; margin-bottom: 8px; color: #9a9a9a; font-family: var(--sans); font-style: normal;
    font-size: 12px; font-weight: 680; letter-spacing: 0.08em; text-transform: uppercase;
  }
  body.research-preview .finding-quote .words {
    display: block; font-family: var(--sans); font-style: normal; font-weight: 650;
    font-size: 17px; letter-spacing: -0.02em; line-height: 1.3; color: #fff;
  }
  body.research-preview .finding-quote .by,
  body.research-preview .finding-quote .caveat { display: block; font-family: var(--sans); font-style: normal; }
  body.research-preview .finding-quote .by { margin-top: 12px; color: #bdbdbd; font-size: 13px; font-weight: 600; }
  body.research-preview .finding-quote .caveat { margin-top: 3px; color: #d6d6d6; font-size: 14px; font-weight: 650; }
  body.research-preview .compare {
    width: 100%; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  }
  body.research-preview .compare > span { background: #141416; border-radius: 16px; padding: 14px 14px 16px; }
  body.research-preview .compare .k { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
  body.research-preview .compare strong { display: block; margin-top: 6px; font-size: 26px; font-weight: 600; letter-spacing: -0.04em; }
  body.research-preview .compare .now.down strong { color: var(--down); }
  body.research-preview .compare .now.up strong { color: var(--up); }
  body.research-preview .handles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  body.research-preview .chip {
    display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px 0 6px;
    border-radius: 999px; background: #17171a; color: #eee; font-size: 13px; font-weight: 600;
  }
  body.research-preview .chip i {
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
    font-style: normal; font-size: 10px; font-weight: 700; background: #2a261c; color: #e7b15a;
  }
  body.research-preview .chip.alt i { background: #1b2430; color: #a9c0dc; }
  body.research-preview .finding-alert {
    display: block; width: 100%; margin-top: 18px; color: var(--down); font-size: 16px; font-weight: 650;
    letter-spacing: -0.02em; line-height: 1.3;
  }
  body.research-preview .quiet { margin: 18px 0 0; color: var(--faint); font-size: 13px; line-height: 1.45; }
  body.research-preview .quiet button {
    display: inline-flex; align-items: center; min-height: 44px; border: 0; background: none;
    padding: 0; color: var(--muted); font: inherit; font-size: 13px;
  }
  .sheet-head h2 { font-size: 20px; }
  .sheet-story { padding: 2px 0 8px; }
  .sheet-kicker { display: none; }
  .sheet-headline {
    margin: 8px 0 0; color: #fff; font-size: 20px; font-weight: 680; letter-spacing: -0.02em; line-height: 1.25;
  }
  .sheet-story.is-alert .sheet-kicker,
  .sheet-story.is-alert .sheet-headline { color: var(--down); }
  .sheet-support { margin: 10px 0 0; color: #e6e6e6; font-size: 16px; line-height: 1.45; }
  .evidence-block { margin-top: 8px; }
  .evidence-block > h3 {
    margin: 14px 0 0; color: #fff; font-size: 12px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .evidence-row { padding: 12px 0; border-top: 1px solid #2a2a2a; }
  .evidence-row h3 {
    margin: 0; color: #c8c8c8; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  }
  .evidence-row h3.plain { color: #fff; font-size: 15px; letter-spacing: -0.02em; text-transform: none; }
  .evidence-row p { margin: 4px 0 0; color: #fff; font-size: 16px; line-height: 1.4; }
  .evidence-row .evidence-meta { color: #bdbdbd; font-size: 13px; }
  .evidence-row > a {
    display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 0 14px;
    border-radius: 999px; background: #1c1c20; color: #fff; text-decoration: none; font-size: 14px; font-weight: 650;
  }
  .sheet-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
  .sheet-mint { margin: 0; color: #c8c8ce; font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
  .sheet-copy {
    display: inline-flex; align-items: center; min-height: 36px; margin-top: 12px; padding: 0 12px;
    border: 0; border-radius: 999px; background: #1c1c20; color: #fff; font: inherit; font-size: 13px; font-weight: 600;
  }
  .sheet-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .sheet-links a,
  .sheet-copy {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px;
    background: #1c1c20; color: #fff; text-decoration: none; font-size: 13px; font-weight: 600;
  }
  .action-menu { display: flex; flex-direction: column; }
  .action-menu button {
    display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 100%;
    min-height: 64px; padding: 12px 0; border: 0; border-top: 1px solid #2a2a2a; background: transparent; text-align: left;
  }
  .action-menu strong { color: #fff; font-size: 17px; font-weight: 680; }
  .action-menu span { color: #c8c8c8; font-size: 14px; line-height: 1.35; }
  .sheet-body .chart-controls { display: flex; flex-direction: column; align-items: stretch; gap: 14px; width: 100%; }
  .sheet-body .intervals,
  .sheet-body .chart-measures,
  .sheet-body .chart-windows { display: flex !important; flex-wrap: wrap; gap: 6px; width: 100%; max-width: none; }
  .sheet-body .intervals::before,
  .sheet-body .chart-measures::before,
  .sheet-body .chart-windows::before {
    content: "Interval"; display: block; width: 100%; margin-bottom: 2px;
    color: #c8c8c8; font-size: 12px; font-weight: 750; letter-spacing: 0.06em; text-transform: uppercase;
  }
  .sheet-body .chart-measures::before { content: "Value"; }
  .sheet-body .chart-windows::before { content: "Window"; }
  .sheet-body .chart-controls button { min-height: 44px; }
  .sheet-body .glance { display: flex !important; flex-direction: column; gap: 0; }
  .sheet-body .glance section,
  .sheet-body .narrative-item,
  .sheet-body .recorded-row { padding: 12px 0; border-top: 1px solid #2a2a2a; }
  .sheet-body .glance h3,
  .sheet-body .narrative-item .badge { letter-spacing: 0.04em; }
  .sheet-body .glance p,
  .sheet-body .thesis-lead,
  .sheet-body .recorded-row p { color: #fff; }
  .sheet-body .card-head h2 { color: #fff; font-size: 16px; }
  .sheet-tech { margin-top: 12px; border-top: 1px solid #2a2a2a; }
  .sheet-tech > summary { color: #fff; }
  .sheet {
    height: auto;
    max-height: calc(100dvh - env(safe-area-inset-top) - 8px);
  }
  .sheet-body {
    max-height: min(72dvh, calc(100dvh - env(safe-area-inset-top) - 88px));
  }
  .sheet-root.is-full .sheet { height: calc(100dvh - env(safe-area-inset-top) - 8px); }
  .sheet-root.is-full .sheet-body { max-height: none; }
  .sheet-body :is(.card, .research-thesis, .research-recorded, .research-callout, .research-panel, .verdict-block, .risk-check) {
    background: transparent !important; border: 0 !important; box-shadow: none !important;
    border-radius: 0 !important; padding: 0 0 18px !important;
  }
  .sheet-body .card-head { padding: 0; }
  .sheet-body .research-thesis .card-head h2,
  .sheet-body .research-callout .card-head h2 { display: none; }
  .sheet-body p, .sheet-body li { font-size: 15px; line-height: 1.45; }
  .sheet-body .fine { font-size: 13px; color: var(--muted); }
  .sheet-body #chart-meta, .sheet-body .chart-help { display: block !important; }
  .sheet-body .chart-windows { display: flex !important; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
  .sheet-body .chart-windows button {
    height: 36px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px;
    background: #161616; color: var(--muted); font: inherit; font-size: 13px;
  }
  .sheet-body .chart-windows button.on { background: #222; color: #fff; }
  .sheet-body .chart-help > summary { display: none; }
  .sheet-body .research-callout .card-head { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
  .sheet-body .research-callout .card-actions { display: flex; gap: 8px; }
  .sheet-body .research-callout .card-actions button { flex: 1; min-height: 44px; }
  .sheet-body .research-thesis .glance { display: grid !important; grid-template-columns: 1fr; gap: 14px; margin-top: 8px; }
  .sheet-body .glance h3 { color: #c8c8c8; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
  .sheet-body .glance p { color: #fff; font-size: 16px; line-height: 1.45; }
  .sheet-body .thesis-read > h3,
  .sheet-body .thesis-read > p.fine { display: none !important; }
  .sheet-body .callout-draft {
    width: 100%; min-height: 240px; font-size: 16px; line-height: 1.5; padding: 12px; border-radius: 12px;
  }
  .sheet-tabs button { border-radius: 8px; }
  .sheet-root[hidden] { display: none !important; }
  .sheet-root {
    position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; justify-content: flex-end;
  }
  .sheet-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0, 0, 0, 0.55); }
  .sheet {
    position: relative;
    height: auto;
    max-height: calc(100% - env(safe-area-inset-top) - 8px);
    background: var(--mg-panel); color: var(--text); border-radius: 16px 16px 0 0;
    display: flex; flex-direction: column; transform: translateY(110%);
    transition: transform 220ms ease, height 220ms ease;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .sheet-root.is-open .sheet { transform: translateY(0); }
  .sheet-root.is-full .sheet { height: calc(100dvh - env(safe-area-inset-top) - 8px); }
  .sheet-grab {
    width: 36px; height: 4px; margin: 8px auto 0; border-radius: 999px;
    background: rgba(255, 255, 255, 0.28); background-clip: content-box;
    padding: 12px 40px; box-sizing: content-box; touch-action: none;
  }
  .sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px 8px; }
  .sheet-head h2 { margin: 0; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
  .sheet-close { min-height: 44px; border: 0; background: transparent; color: var(--text); font: inherit; }
  .sheet-body {
    overflow-x: hidden; overflow-y: auto; min-height: 0; flex: 1; padding: 0 16px 16px;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    max-height: min(72dvh, calc(100dvh - env(safe-area-inset-top) - 88px));
  }
  .sheet-body :is(p, li, a, h2, h3, span) { overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
  .sheet-body .table-wrap { max-width: 100%; overflow-x: auto; }
  .sheet-body .source-card {
    background: #141414; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 0 0 10px;
  }
  .sheet-body .source-card h3 {
    margin: 0 0 4px; color: #e7e7e7; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  }
  .sheet-body .source-card p { margin: 0; color: #fff; font-size: 16px; line-height: 1.35; white-space: pre-line; }
  .sheet-body .source-card .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
  .sheet-body .source-card .links a { color: #fff; font-size: 14px; }
  .sheet-tech { margin-top: 4px; }
  .sheet-tech > summary {
    min-height: 44px; display: flex; align-items: center; color: #fff; font-size: 15px; font-weight: 680;
  }
  .sheet-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 10px; }
  .sheet-tabs button {
    min-height: 44px; border: 0; border-radius: 8px; background: #161616; color: #d0d0d0;
    font: inherit; font-size: 14px; font-weight: 650; padding: 0 12px; white-space: nowrap;
  }
  .sheet-tabs button.on { color: var(--text); background: #222; }
  .sheet-body :is(.research-thesis, .research-recorded, .research-callout, .research-panel, .verdict-block, .risk-check) {
    display: block !important;
  }
  .sheet-body .research-panel[hidden] { display: none !important; }
  .sheet-body .callout-draft { min-height: 240px; font-size: 16px; line-height: 1.5; }
}
@media (min-width: 901px) {
  .below-chart { display: none; }
  .stat-more, .chart-help, .verdict-detail, .help-fold { display: contents; }
  .stat-more > summary, .chart-help > summary, .verdict-detail > summary, .help-fold > summary,
  .thesis-read > summary { display: none !important; }
  .stat-more > .qstat-wide { display: grid !important; }
  .chart-help > p, .chart-help > .chart-alts, .verdict-detail > .verdict-block,
  .help-fold > p, .thesis-read > h3, .thesis-read > p { display: block !important; }
}

@media (max-width: 900px) {
  body.mconcept-list .concept-desk,
  body.mconcept-board .concept-desk {
    display: flex; flex-direction: column; min-width: 0; min-height: 100%;
  }
  body.mconcept-list .concept-list,
  body.mconcept-board .desk-watch { flex: 1 0 auto; }
  body.mconcept-list .concept-head,
  body.mconcept-board .concept-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: sticky; top: 0; z-index: 4; background: var(--mg-bg);
    margin: 0; padding: 8px 0 10px;
  }
  body.mconcept-list .concept-head h1,
  body.mconcept-board .board-name strong {
    margin: 0; color: #fff; font-size: 28px; font-weight: 640; letter-spacing: -0.045em; line-height: 1.05;
  }
  body.mconcept-list .concept-head p,
  body.mconcept-board .board-name .mint { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
  body.mconcept-list .sort,
  body.mconcept-board .sort { font-size: 0; }
  body.mconcept-list .sort select,
  body.mconcept-board .sort select {
    height: 44px; min-height: 44px; padding: 0 8px; border: 0; background: transparent;
    color: #fff; font-size: 15px; font-weight: 620;
  }
  body.mconcept-list .lrow {
    position: relative; display: flex; align-items: center; gap: 0;
    border-bottom: 1px solid #1c1c1c;
  }
  body.mconcept-list .lrow-open {
    flex: 1; min-width: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px; align-items: center; min-height: 76px; padding: 8px 0;
    border: 0; background: transparent; color: inherit; text-align: left;
  }
  body.mconcept-list .lrow .avatar,
  body.mconcept-list .lrow .ph { width: 40px; height: 40px; border-radius: 10px; }
  body.mconcept-list .lrow-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
  body.mconcept-list .lrow-copy strong {
    color: #fff; font-size: 17px; font-weight: 650; letter-spacing: -0.03em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  body.mconcept-list .lrow-sub {
    color: var(--muted); font-size: 13px; line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  body.mconcept-list .lrow-sub b { font-weight: 620; color: var(--text); font-variant-numeric: tabular-nums; }
  body.mconcept-list .lrow-sub b.up { color: var(--up); }
  body.mconcept-list .lrow-sub b.down { color: var(--down); }
  body.mconcept-list .lrow-sub i { margin: 0 6px; font-style: normal; color: #3a3a3a; }
  body.mconcept-list .lrow-hero {
    color: var(--text); font-size: 20px; font-weight: 640; letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums; white-space: nowrap;
  }
  body.mconcept-list .lrow-hero.up { color: var(--up); }
  body.mconcept-list .lrow-hero.down { color: var(--down); }
  body.mconcept-list .lrow-bell { width: 44px; height: 44px; flex: none; }
  body.mconcept-board .board-id { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  body.mconcept-board .board-name { display: flex; align-items: center; gap: 12px; min-width: 0; }
  body.mconcept-board .board-name .avatar,
  body.mconcept-board .board-name .ph { width: 40px; height: 40px; border-radius: 10px; }
  body.mconcept-board .board-name span { min-width: 0; }
  body.mconcept-board .board-name .mint { display: block; }
  body.mconcept-board .board-research {
    min-height: 44px; padding: 0 4px; border: 0; background: transparent;
    color: #fff; font-size: 16px; font-weight: 620; white-space: nowrap;
  }
  body.mconcept-board .board-cap { margin: 14px 0 0; }
  body.mconcept-board .board-cap strong {
    color: #fff; font-size: 36px; font-weight: 620; letter-spacing: -0.045em; line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  body.mconcept-board .board-move { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
  body.mconcept-board .board-move strong { font-weight: 640; font-variant-numeric: tabular-nums; color: var(--text); }
  body.mconcept-board .board-move strong.up { color: var(--up); }
  body.mconcept-board .board-move strong.down { color: var(--down); }
  body.mconcept-board .board-move i { margin: 0 8px; font-style: normal; color: #3a3a3a; }
  body.mconcept-board .focus-chart { margin-top: 12px; }
  body.mconcept-board .focus-stage { height: 148px; margin-top: 4px; background: transparent; border-radius: 0; }
  body.mconcept-board .focus-chart .chart-controls { gap: 0; }
  body.mconcept-board .focus-chart .chart-windows { flex: 1 1 0; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  body.mconcept-board .focus-chart .chart-windows button,
  body.mconcept-board .focus-chart .chart-measures button { padding: 0 6px; }
  body.mconcept-board #focus-reading,
  body.mconcept-board #focus-meta { display: none; }
  body.mconcept-board .desk-watch { display: flex; flex-direction: column; width: 100%; min-width: 0; }
  body.mconcept-board .concept-head-sub { margin-top: 18px; }
  body.mconcept-board .concept-head-sub h2 {
    margin: 0; color: #fff; font-size: 15px; font-weight: 650; letter-spacing: -0.02em;
  }
  body.mconcept-board .brow {
    position: relative; display: flex; align-items: center; gap: 4px;
    min-height: 68px; border-bottom: 1px solid #1c1c1c;
  }
  body.mconcept-board .brow.on { box-shadow: inset 2px 0 0 #fff; padding-left: 8px; }
  body.mconcept-board .brow-main {
    flex: 1; min-width: 0; display: grid; grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 10px; align-items: center; min-height: 68px; padding: 6px 0;
  }
  body.mconcept-board .brow .avatar,
  body.mconcept-board .brow .ph { width: 36px; height: 36px; border-radius: 9px; }
  body.mconcept-board .brow-copy { min-width: 0; }
  body.mconcept-board .brow-copy strong {
    display: block; color: #fff; font-size: 16px; font-weight: 650; letter-spacing: -0.03em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  body.mconcept-board .brow-copy span {
    display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums;
  }
  body.mconcept-board .brow-since {
    color: var(--text); font-size: 16px; font-weight: 640; letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums; white-space: nowrap;
  }
  body.mconcept-board .brow-since.up { color: var(--up); }
  body.mconcept-board .brow-since.down { color: var(--down); }
  body.mconcept-board .brow .icon-btn { width: 44px; height: 44px; flex: none; }
  body.mconcept-list .concept-jumps,
  body.mconcept-board .concept-jumps { display: flex; margin-top: auto; padding-top: 12px; }
  body.mconcept-list .concept-jumps button,
  body.mconcept-board .concept-jumps button {
    flex: 1; min-height: 52px; border: 0; background: transparent; color: #fff;
    font-size: 15px; font-weight: 620;
  }
  body.mconcept-list .concept-jumps button + button,
  body.mconcept-board .concept-jumps button + button { box-shadow: inset 1px 0 0 #222; }
  body.mconcept-list .concept-empty,
  body.mconcept-board .concept-empty { margin: 12px 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
  body.mconcept-list .alert-panel select,
  body.mconcept-list .alert-panel input,
  body.mconcept-board .alert-panel select,
  body.mconcept-board .alert-panel input,
  body.mconcept-list .alert-panel .btn,
  body.mconcept-board .alert-panel .btn { min-height: 44px; height: 44px; }
}

.section-title { display: contents; }
.section-kicker { display: none; margin: 0; }
.trade-research { display: none; }

@media (max-width: 900px) {
  body:not(.research-preview) .phone-nav button.on,
  body:not(.research-preview) .phone-nav button.on .phone-ico { color: var(--up); }
  body:not(.research-preview) .brand {
    flex: 1 1 auto; justify-content: flex-start; gap: 8px; min-width: 0;
  }
  body:not(.research-preview) .brand-mark { width: 22px; height: 22px; border-radius: 7px; }
  body:not(.research-preview) .brand-copy {
    position: static; width: auto; height: auto; margin: 0; padding: 0;
    overflow: visible; clip: auto; white-space: nowrap;
  }
  body:not(.research-preview) .brand-copy span { display: none; }
  body:not(.research-preview) .brand strong {
    color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -0.03em;
  }
  body:not(.research-preview) .lookup { flex: 0 0 44px; }
  body:not(.research-preview) .lookup-field { width: 44px; }
  body:not(.research-preview).search-open .lookup {
    flex: 1 1 auto; width: 100%; min-width: 0;
  }
  body:not(.research-preview).search-open .lookup-field {
    flex: 1 1 auto; width: auto; min-width: 0; overflow: visible;
  }
  body:not(.research-preview) .lookup input {
    width: 44px; height: 44px; padding: 0; border: 0; border-radius: 0;
    background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f5' stroke-width='1.8' stroke-linecap='round'><circle cx='11' cy='11' r='6.5'/><path d='M16 16l4 4'/></svg>") center / 20px no-repeat;
    color: transparent; caret-color: transparent;
  }
  body:not(.research-preview) .lookup input::placeholder { color: transparent; }
  body:not(.research-preview).search-open .lookup input,
  body:not(.research-preview):has(#search-results:not([hidden])) .lookup input {
    width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px;
    background: #111; color: var(--text); caret-color: var(--text);
  }
  body:not(.research-preview).search-open .lookup input::placeholder,
  body:not(.research-preview):has(#search-results:not([hidden])) .lookup input::placeholder { color: var(--faint); }
  body:not(.research-preview) .desk-bar { display: none; }
  body:not(.research-preview) .workspace .recent-strip,
  body:not(.research-preview) .workspace .book-jump,
  body:not(.research-preview) .workspace .desk-book,
  body:not(.research-preview) .desk-calls > .fine { display: none; }
  body:not(.research-preview) .section-label { align-items: flex-start; margin: 0; }
  body:not(.research-preview) .watch-label {
    position: sticky; top: 0; z-index: 4;
    background: var(--mg-bg); padding: 8px 0 10px;
  }
  body:not(.research-preview) .section-title { display: flex; flex-direction: column; gap: 2px; }
  body:not(.research-preview) .section-kicker { display: block; color: var(--muted); font-size: 13px; }
  body:not(.research-preview) .section-label h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.04em; }
  body:not(.research-preview) .research-link {
    min-height: 44px; color: var(--muted); font-size: 13px; font-weight: 620;
  }
  body:not(.research-preview) .sort { font-size: 0; }
  body:not(.research-preview) .sort { display: flex; align-items: center; align-self: center; }
  body:not(.research-preview) .sort select {
    height: 44px; min-height: 44px; margin: 0; padding: 0 28px 0 12px; border: 0; border-radius: 999px;
    background: #161616; color: #fff; font-size: 13px; font-weight: 650; line-height: 44px;
  }
  body:not(.research-preview) .wgrid { gap: 0; }
  body:not(.research-preview) .wcard {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 56px auto 44px 44px;
    grid-template-areas: "ava name spark since eye bell" "ava meta meta since eye bell" "alert alert alert alert alert alert";
    align-items: center; column-gap: 10px; row-gap: 0;
    min-height: 72px; margin: 0; padding: 4px 0;
    border: 0; border-bottom: 1px solid #1a1a1a; border-radius: 0;
    background: transparent; box-shadow: none;
  }
  body:not(.research-preview) .wcard.on { box-shadow: none; padding-left: 0; }
  body:not(.research-preview) .wcard-top,
  body:not(.research-preview) .wcard-id { display: contents; }
  body:not(.research-preview) .wcard .avatar,
  body:not(.research-preview) .wcard .ph { grid-area: ava; width: 40px; height: 40px; border-radius: 12px; }
  body:not(.research-preview) .wcard-id > span { grid-area: name; min-width: 0; }
  body:not(.research-preview) .wcard-id .mint,
  body:not(.research-preview) .wcard-foot,
  body:not(.research-preview) .wcard-tools [data-open],
  body:not(.research-preview) .wcard-since > span { display: none; }
  body:not(.research-preview) .wcard-id strong {
    color: #fff; font-size: 16px; font-weight: 700; letter-spacing: -0.03em;
  }
  body:not(.research-preview) .wcard-line {
    grid-area: meta; display: flex; flex-wrap: nowrap; gap: 0; margin: 1px 0 0; min-width: 0;
    overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap;
  }
  body:not(.research-preview) .wcard-line span:nth-child(2)::before {
    content: "·"; margin: 0 5px; color: #3a3a3a;
  }
  body:not(.research-preview) .wcard-line span:nth-child(2) { display: inline-flex; }
  body:not(.research-preview) .wcard-line span:nth-child(2) b { order: 1; }
  body:not(.research-preview) .wcard-line span:nth-child(2) i { order: 2; }
  body:not(.research-preview) .wcard-line span:nth-child(n+3) { display: none; }
  body:not(.research-preview) .wcard-line span i { display: none; }
  body:not(.research-preview) .wcard-line span:nth-child(2) i {
    display: inline; margin-left: 3px; font-style: normal; color: var(--muted);
  }
  body:not(.research-preview) .wcard-line b { font-weight: 620; }
  body:not(.research-preview) .wcard .spark { grid-area: spark; width: 72px; height: 28px; margin: 0; }
  body:not(.research-preview) .wcard-since { grid-area: since; margin: 0; text-align: right; }
  body:not(.research-preview) .wcard-since strong { font-size: 15px; font-weight: 720; letter-spacing: -0.03em; }
  body:not(.research-preview) .wcard-tools { display: contents; }
  body:not(.research-preview) .wcard-tools .icon-btn { grid-area: bell; width: 44px; height: 44px; }
  body:not(.research-preview) .wcard-tools > .watch-eye-btn { display: inline-flex; grid-area: eye; }
  body:not(.research-preview) .wcard .alert-panel .watch-eye-btn { display: none; }
  body:not(.research-preview) .wcard .alert-panel { grid-area: alert; position: relative; top: auto; left: auto; right: auto; }
  body:not(.research-preview) article.tape {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    gap: 8px; min-height: 68px; padding: 6px 0; border: 0; border-bottom: 1px solid #1a1a1a;
    background: transparent;
  }
  body:not(.research-preview) .tape-id { min-height: 56px; gap: 10px; }
  body:not(.research-preview) .tape-id .avatar,
  body:not(.research-preview) .tape-id .ph { width: 36px; height: 36px; border-radius: 10px; }
  body:not(.research-preview) .tape-copy strong { font-size: 15px; font-weight: 700; }
  body:not(.research-preview) .tape-line {
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
    overflow: hidden; color: var(--muted); font-size: 12px;
  }
  body:not(.research-preview) .desk-calls article.tape > .ghost { display: none; }
  body:not(.research-preview) .explore-list article.tape,
  body:not(.research-preview) .workspace > .explore-list article.tape { grid-template-columns: minmax(0, 1fr) auto; }
  body:not(.research-preview) article.tape .ghost.sm {
    min-height: 36px; height: 36px; padding: 0 12px; border-radius: 999px;
    border: 1px solid #2a2a2a; background: transparent; color: #fff; font-size: 13px; font-weight: 650;
  }
  body:not(.research-preview) article.tape .ghost.sm.watching { border-color: transparent; color: var(--up); }
  body:not(.research-preview) .workspace:not([data-pane]) .desk-bar { display: block; margin-bottom: 8px; }
  body:not(.research-preview) .desk-bar h1 {
    margin: 0; color: #fff; font-size: 28px; font-weight: 720; letter-spacing: -0.045em;
  }
  body:not(.research-preview) .desk-bar .fine {
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
    margin: 4px 0 0; color: var(--muted); font-size: 13px;
  }
  body:not(.research-preview) .explore-tools { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
  body:not(.research-preview) .workspace:has(.caller-bar) .explore-tools { padding-right: 52px; }
  body:not(.research-preview) [data-explore-refresh] {
    height: 44px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px;
    background: #161616; color: #fff; font-size: 14px; font-weight: 680;
  }
  body:not(.research-preview) .caller-bar { display: flex; flex-direction: row; justify-content: flex-end; height: 0; margin: 0; overflow: visible; }
  body:not(.research-preview) .caller-manage-toggle {
    position: relative; top: -48px; width: 44px; height: 44px; padding: 0; border-radius: 999px; font-size: 0;
    background: #161616 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f5' stroke-width='1.8'><path d='M4 7h16M4 12h16M4 17h16'/></svg>") center / 16px no-repeat;
  }
  body:not(.research-preview) .explore-filters { gap: 8px; }
  body:not(.research-preview) .explore-filters button {
    height: 44px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px;
    background: #161616; color: #d0d0d0; font-size: 14px; font-weight: 680;
  }
  body:not(.research-preview) .explore-filters button.on {
    background: var(--up); color: #04140c; border: 0;
  }
  body:not(.research-preview) .caller-bar.manage-open { height: auto; margin-top: 8px; display: block; }
  body:not(.research-preview) .caller-bar.manage-open .caller-manage-toggle { top: 0; }
  body:not(.research-preview) .research .qstats { display: contents; }
  body:not(.research-preview) .research .qstats .qstat:has([data-live="mcap"]) {
    grid-area: cap;
    justify-self: end;
    align-self: end;
    text-align: right;
  }
  body:not(.research-preview) .research .qstats .qstat:has([data-live="day"]) {
    grid-area: day;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
    justify-self: end;
    align-self: start;
    text-align: right;
    margin: 0;
    white-space: nowrap;
  }
  body:not(.research-preview) .research .qstats .qstat:has([data-live="mcap"]) span { display: none; }
  body:not(.research-preview) .research .qstats .qstat:has([data-live="day"]) span {
    display: inline;
    order: 2;
    margin-top: 0;
    font-size: 11px;
    font-weight: 560;
    letter-spacing: 0;
    text-transform: none;
    color: var(--muted);
  }
  body:not(.research-preview) .research .qstats .qstat:has([data-live="day"]) strong { order: 1; }
  body:not(.research-preview) .research .qstats .qstat:has([data-live="mcap"]) strong {
    font-size: 24px;
    font-weight: 680;
    letter-spacing: -0.03em;
    line-height: 1.05;
    min-height: 0;
    color: #fff;
  }
  body:not(.research-preview) .research .qstats .qstat:has([data-live="day"]) strong {
    margin-top: 0;
    font-size: 13px;
    font-weight: 650;
    min-height: 0;
    line-height: 1.1;
  }
  body:not(.research-preview) .research .qstats .qstat:has([data-live="day"]) strong::after { content: none; }
  body:not(.research-preview) .research .qstats .qstat:has([data-live="day"]) strong.down { color: var(--down); }
  body:not(.research-preview) .research .qstats .qstat:has([data-live="day"]) strong.up { color: var(--up); }
  body:not(.research-preview) .research .qstats .quote-row {
    grid-area: metrics;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 10px;
    margin-top: 8px;
    min-width: 0;
  }
  body:not(.research-preview) .research .qstats .quote-row .qstat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    margin: 0;
    min-width: 0;
  }
  body:not(.research-preview) .research .qstats .quote-row .qstat::before { content: none; }
  body:not(.research-preview) .research .qstats .quote-row .qstat span {
    display: block;
    order: 0;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0;
    text-transform: none;
  }
  body:not(.research-preview) .research .qstats .quote-row .qstat span::after { content: none; }
  body:not(.research-preview) .research .qstats .quote-row .qstat strong {
    margin: 0;
    min-height: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 680;
  }
  body:not(.research-preview) .research #watch-btn { display: none; }
  body:not(.research-preview) .research-chart { display: flex; flex-direction: column; }
  body:not(.research-preview) .research-chart .chart-bar,
  body:not(.research-preview) .research-chart .chart-controls { display: contents; }
  body:not(.research-preview) .research-chart .intervals { order: 1; }
  body:not(.research-preview) .research-chart .chart-wrap { order: 2; height: 220px; }
  body:not(.research-preview) .research-chart .chart-switch {
    display: flex;
    order: 3;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
  }
  body:not(.research-preview) .research-chart .chart-measures,
  body:not(.research-preview) .research-chart .chart-windows {
    display: flex;
    flex: none;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    width: auto;
    max-width: 100%;
    margin: 0;
    height: 32px;
    padding: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: #141414;
  }
  body:not(.research-preview) .research-chart .chart-windows {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: auto;
    overflow-x: auto;
    overflow-y: clip;
    scrollbar-width: none;
  }
  body:not(.research-preview) .research-chart .chart-windows::-webkit-scrollbar { display: none; }
  body:not(.research-preview) .research-chart .chart-windows.can-scroll {
    mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent);
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 22px), transparent);
  }
  body:not(.research-preview) .research-chart .chart-windows.can-scroll-start {
    mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 22px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 16px, #000 calc(100% - 22px), transparent);
  }
  body:not(.research-preview) .research-chart .named-contracts { order: 6; }
  body:not(.research-preview) .research-chart .intervals button.on {
    flex: none; height: 32px; min-height: 32px; padding: 0 12px; border-radius: 999px;
    background: var(--up); color: #04140c; box-shadow: none;
  }
  body:not(.research-preview) .research-chart .chart-switch button {
    flex: none;
    height: 28px;
    min-height: 28px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    box-shadow: none;
  }
  body:not(.research-preview) .research-chart .chart-switch button.on,
  body:not(.research-preview) .research-chart .chart-switch button[aria-pressed="true"] {
    background: #3a3a3a;
    color: #fff;
    box-shadow: inset 0 0 0 1px #5a5a5a;
  }
  body:not(.research-preview) .research-chart .chart-measures button[data-measure="mc"] {
    font-size: 0;
  }
  body:not(.research-preview) .research-chart .chart-measures button[data-measure="mc"]::after {
    content: "MC";
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.01em;
  }
  body:not(.research-preview) .research .tabs {
    display: flex; gap: 4px; margin: 0; padding: 0 0 8px;
    position: sticky; top: 0; z-index: 6;
    background: var(--mg-bg);
    box-shadow: 0 10px 0 var(--mg-bg);
    overflow-x: auto; overflow-y: clip;
    border-bottom: 1px solid #222; scrollbar-width: none;
    scroll-snap-type: x proximity;
    mask-image: none;
    -webkit-mask-image: none;
  }
  body:not(.research-preview) .research .tabs.can-scroll,
  body:not(.research-preview) .research .tabs.can-scroll-start {
    mask-image: none;
    -webkit-mask-image: none;
  }
  body:not(.research-preview) .research .tabs button {
    flex: none; height: 44px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 0;
    background: transparent; color: var(--muted); font-size: 14px; font-weight: 680;
    scroll-snap-align: start;
  }
  body:not(.research-preview) .research .tabs button.on {
    color: var(--muted); background: transparent; box-shadow: none;
  }
  body:not(.research-preview) .research-work[data-section="brief"] .tabs button[data-tab="brief"],
  body:not(.research-preview) .research-work[data-section="callouts"] .tabs button[data-tab="callouts"],
  body:not(.research-preview) .research-work[data-section="draft"] .tabs button[data-tab="draft"],
  body:not(.research-preview) .research-work[data-section="socials"] .tabs button[data-tab="socials"],
  body:not(.research-preview) .research-work[data-section="news"] .tabs button[data-tab="news"],
  body:not(.research-preview) .research-work[data-section="onchain"] .tabs button[data-tab="onchain"],
  body:not(.research-preview) .research-work[data-section="holders"] .tabs button[data-tab="holders"],
  body:not(.research-preview) .research-work[data-section="activity"] .tabs button[data-tab="activity"],
  body:not(.research-preview) .research-work[data-section="pairs"] .tabs button[data-tab="pairs"],
  body:not(.research-preview) .research-work[data-section="evidence"] .tabs button[data-tab="evidence"] {
    color: #fff; background: transparent; border: 0; border-radius: 0; box-shadow: inset 0 -2px 0 #fff;
  }
  body:not(.research-preview) .research-panel,
  body:not(.research-preview) .research-panel[hidden],
  body:not(.research-preview) .research-thesis,
  body:not(.research-preview) .research-recorded,
  body:not(.research-preview) .research-callout { display: none; }
  body:not(.research-preview) .research-work[data-section="brief"] .research-thesis,
  body:not(.research-preview) .research-work[data-section="callouts"] .research-recorded,
  body:not(.research-preview) .research-work[data-section="draft"] .research-callout,
  body:not(.research-preview) .research-work[data-section="socials"] .research-panel[data-panel="socials"],
  body:not(.research-preview) .research-work[data-section="news"] .research-panel[data-panel="news"],
  body:not(.research-preview) .research-work[data-section="onchain"] .research-panel[data-panel="onchain"],
  body:not(.research-preview) .research-work[data-section="holders"] .research-panel[data-panel="holders"],
  body:not(.research-preview) .research-work[data-section="activity"] .research-panel[data-panel="activity"],
  body:not(.research-preview) .research-work[data-section="pairs"] .research-panel[data-panel="pairs"],
  body:not(.research-preview) .research-work[data-section="evidence"] .research-panel[data-panel="evidence"] {
    display: block; background: transparent; border: 0; border-radius: 0; padding: 12px 0 0;
  }
  body:not(.research-preview) .research-work { order: 2; margin-top: -4px; }
  body:not(.research-preview) .research .tabs { margin-top: 0; }
  body:not(.research-preview) .research-side { order: 3; }
  body:not(.research-preview) .research .verdict-actions { display: none; }
  body:not(.research-preview) .trade-research {
    display: flex; align-items: center; justify-content: center; flex: 1;
    height: 48px; border: 1px solid #333; border-radius: 14px; background: transparent;
    color: #fff; font: inherit; font-size: 16px; font-weight: 720;
  }
  body:not(.research-preview) .trade-bar.is-live .trade-research { display: none; }
  body:not(.research-preview) .research-recorded .card-head { display: none; }
  body:not(.research-preview) .research-thesis .card-head {
    margin: 0 0 10px;
    padding: 0;
  }
  body:not(.research-preview) .research-thesis .card-head h2 { display: none; }
  body:not(.research-preview) #thesis-kicker {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 550;
    letter-spacing: 0.01em;
  }
  body:not(.research-preview) .research-side { display: none; }
  body:not(.research-preview) .trade-go { flex: 1.3; width: auto; }
}

.co-tools { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 10px; }
.co-tools input {
  width: 100%; height: 44px; min-height: 44px; margin: 0;
  border: 1px solid var(--line); border-radius: 12px; background: transparent;
  color: var(--text); font-size: 16px;
}
.co-sort { display: flex; gap: 6px; }
.co-sort button {
  min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 650;
}
.co-sort button.on { color: #fff; background: #161616; }
.co-more {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 8px 0 0; color: var(--muted); font-size: 13px;
}
.co-more button {
  min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 650;
}
@media (min-width: 901px) {
  .co-tools { flex-direction: row; align-items: center; }
  .co-tools input { flex: 1; }
  .co-sort { flex: none; }
}
.co-banner, .co-count, .co-basis, .co-later {
  margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4;
}
.co-count { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.co-count button {
  min-height: 44px; padding: 0 2px; border: 0; background: transparent;
  color: var(--muted); font: inherit; font-size: 13px; font-weight: 640;
}
.co-mod { padding: 16px 0 4px; border-top: 1px solid var(--line); }
.co-banner + .co-count + .co-mod { border-top: 0; padding-top: 12px; }
.co-id {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px; align-items: center;
}
.co-mod .call-av { width: 40px; height: 40px; font-size: 16px; }
.co-mod .call-av img { width: 40px; height: 40px; }
.co-who { min-width: 0; }
.co-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.co-who strong, .co-line strong {
  display: block; min-width: 0; color: #fff; font-size: 16px; font-weight: 650; letter-spacing: -0.02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.co-rate {
  flex: none; min-height: 44px; padding: 0 2px; border: 0; background: transparent;
  color: var(--muted); font: inherit; font-size: 12px; font-weight: 680;
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.co-rate.is-ready { color: var(--text); }
.co-record { margin-top: 4px; }
.co-record p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.co-record p + p { margin-top: 4px; }
.co-history { list-style: none; max-width: 420px; margin: 8px 0 0; padding: 0; }
.assess-kicker, .assess-note { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.assess-kicker { font-size: 12px; font-weight: 680; letter-spacing: 0.04em; text-transform: uppercase; }
.assess-lead { margin: 8px 0 0; color: #fff; font-size: 18px; line-height: 1.35; letter-spacing: -0.02em; }
.assess-note { margin-top: 8px; }
.assess section { margin-top: 16px; }
.assess h3 {
  margin: 0 0 6px; color: var(--faint); font-size: 11px; font-weight: 680;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.assess ul { margin: 0; padding: 0; list-style: none; }
.assess li {
  padding: 8px 0; border-top: 1px solid var(--line);
  color: var(--text); font-size: 15px; line-height: 1.4;
}
.assess li:first-child { border-top: 0; padding-top: 0; }
.assess .fine { margin: 0; }
.assess-saved { margin-top: 16px; border-top: 1px solid var(--line); }
.assess-saved summary {
  display: flex; align-items: center; min-height: 44px;
  color: #fff; font-size: 14px; font-weight: 650; cursor: pointer;
}
.assess-saved h3 { margin: 12px 0 4px; }
.assess-saved p { margin: 0 0 10px; color: var(--text); font-size: 15px; line-height: 1.45; }

.thesis-v3 { max-width: 760px; }
.thesis-status {
  margin: 0 0 16px; color: var(--muted); font-size: 12px; font-weight: 550;
  letter-spacing: 0.01em;
}
.thesis-rundown, .thesis-story { margin: 0 0 22px; }
.thesis-rundown h3, .thesis-story h3 {
  margin: 0 0 10px; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
}
.thesis-rundown-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.thesis-rundown-list li { margin: 0; padding: 0; border: 0; display: grid; gap: 3px; }
.thesis-rundown-label {
  color: var(--up); font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.thesis-rundown-list p { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.35; }
.thesis-story p {
  margin: 0 0 12px; color: var(--text); font-size: 15.5px; line-height: 1.55; max-width: 68ch;
}
.thesis-story p:last-child { margin-bottom: 0; }
.thesis-details, .thesis-saved { margin-top: 8px; border-top: 1px solid var(--line); }
.thesis-details summary, .thesis-saved summary {
  display: flex; align-items: center; min-height: 44px;
  color: #fff; font-size: 14px; font-weight: 650; cursor: pointer;
}
.thesis-details summary::-webkit-details-marker,
.thesis-saved summary::-webkit-details-marker { display: none; }
.thesis-details section { margin-top: 14px; }
.thesis-details h3, .thesis-saved h3 {
  margin: 0 0 6px; color: var(--faint); font-size: 11px; font-weight: 680;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.thesis-details ul { margin: 0; padding: 0; list-style: none; }
.thesis-details li {
  padding: 8px 0; border-top: 1px solid var(--line);
  color: var(--text); font-size: 14px; line-height: 1.45;
}
.thesis-details li:first-child { border-top: 0; padding-top: 0; }
.thesis-details .fine, .thesis-saved .fine { margin: 8px 0 0; }
.thesis-saved h3 { margin: 12px 0 4px; }
.thesis-saved p { margin: 0 0 10px; color: var(--text); font-size: 15px; line-height: 1.45; }

.chain-kicker, .chain-note { margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.chain-lead { margin: 8px 0 12px; color: #fff; font-size: 16px; line-height: 1.4; }
.chain-more { margin-top: 8px; border-top: 1px solid var(--line); }
.chain-more summary {
  display: flex; align-items: center; min-height: 44px;
  color: #fff; font-size: 14px; font-weight: 650; cursor: pointer;
}
.chain-more p, .chain-more li { color: var(--text); font-size: 14px; line-height: 1.45; }
.chain-more h3 {
  margin: 14px 0 6px; color: var(--faint); font-size: 11px; font-weight: 680;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.holder-shelf .shelf-card.is-pool span { color: var(--text); }
.news-row { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.news-row strong { color: #fff; font-size: 15px; font-weight: 620; line-height: 1.35; }
.news-row span { color: var(--muted); font-size: 12px; }
.social-card a, .evidence-row a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; }
.activity-event { padding: 12px 0; border-bottom: 1px solid var(--line); }
.activity-main { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.activity-main strong { color: #fff; font-size: 16px; font-weight: 650; }
.activity-main span { flex: none; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.activity-event p { margin: 6px 0 0; color: var(--text); font-size: 14px; line-height: 1.45; }
.activity-event a { color: #fff; }
.activity-event .chain-more summary { min-height: 44px; }
.co-history li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px; align-items: center; min-height: 32px;
  color: var(--text); font-size: 13px; font-variant-numeric: tabular-nums;
}
.co-history span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#scroll-diag {
  position: fixed; left: 8px; right: 8px; bottom: calc(var(--dock-row) + 8px + env(safe-area-inset-bottom));
  z-index: 70; margin: 0; padding: 8px 10px; border-radius: 10px;
  background: rgba(0, 0, 0, 0.82); color: #f4f4f5; border: 1px solid rgba(255, 255, 255, 0.16);
  font: 11px/1.35 ui-monospace, "Cascadia Mono", monospace; pointer-events: none; white-space: pre-wrap;
}
.co-history b { font-weight: 680; }
.co-tracked, .co-trusted {
  margin-left: 6px; color: var(--muted); font-style: normal; font-size: 10px; font-weight: 640;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.co-trusted {
  flex: none; color: rgba(196, 164, 98, 0.92);
}
.co-mod.is-trusted {
  margin-top: 8px;
  padding: 12px 12px 8px;
  border: 1px solid rgba(196, 164, 98, 0.58);
  border-radius: 12px;
  background: rgba(196, 164, 98, 0.03);
}
.co-mod.is-trusted .co-line {
  display: flex; align-items: baseline; gap: 6px; min-width: 0;
}
.co-mod.is-trusted .co-line strong {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.co-mod.is-trusted .co-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin-top: 2px; color: var(--muted); font-size: 12px;
}
.co-mod.is-trusted .co-rate.is-secondary {
  min-height: 0; padding: 0; border: 0; background: transparent;
  color: var(--muted); font-size: 12px; font-weight: 620;
}
.co-mod.is-trusted .co-rate.is-secondary.is-ready { color: #9a9a9a; }
.co-section { margin-top: 10px; }
.co-section-title {
  margin: 0 0 2px; color: #8d8d8d; font-size: 11px; font-weight: 680;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.co-section .co-mod:first-of-type { border-top: 0; padding-top: 12px; }
.co-section .co-mod.is-trusted:first-of-type { margin-top: 4px; }
.co-trust-roster {
  margin: 2px 0 8px; padding: 8px 10px 6px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--mg-bg);
}
.co-trust-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.co-trust-head h3 {
  margin: 0; color: #c4a462; font-size: 11px; font-weight: 680;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.co-trust-manage-btn {
  min-height: 32px; padding: 0 10px; border: 0; border-radius: 8px;
  background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 650;
}
.co-trust-manage-btn[aria-expanded="true"] { color: #fff; }
.co-trust-list {
  list-style: none; margin: 6px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px 10px;
}
.co-trust-list li {
  display: inline-flex; align-items: baseline; gap: 6px; min-height: 28px; max-width: 100%;
}
.co-trust-list.is-managing {
  flex-direction: column; flex-wrap: nowrap; gap: 2px;
}
.co-trust-list.is-managing li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px; align-items: center; min-height: 40px; width: 100%;
}
.co-trust-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-trust-who {
  color: #fff; font-size: 13px; font-weight: 650;
}
.co-trust-match {
  font-style: normal; font-size: 11px; font-weight: 640;
  letter-spacing: 0.02em; white-space: nowrap; color: var(--muted);
}
.co-trust-match.is-found { color: var(--up); }
.co-trust-match.is-absent { color: var(--muted); }
.co-trust-match.is-limited { color: #c4a462; }
.co-trust-match.is-quiet { color: var(--faint); }
.co-trust-chip {
  min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 640;
}
.co-trust-empty, .co-trust-share {
  margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4;
}
.co-trust-manage { margin-top: 6px; }
.co-trust-add {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 6px;
}
.co-trust-add input {
  width: 100%; height: 40px; min-height: 40px; margin: 0;
  border: 1px solid var(--line); border-radius: 10px; background: transparent;
  color: var(--text); font-size: 15px;
}
.co-trust-add button, .co-trust-btn {
  min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; color: #fff; font: inherit; font-size: 13px; font-weight: 650;
}
.co-trust-btn { min-height: 44px; }
.co-foot { margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--line); }
.co-coverage {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35;
}
.co-coverage button {
  flex: none; min-height: 36px; padding: 0 2px; border: 0; background: transparent;
  color: var(--muted); font: inherit; font-size: 12px; font-weight: 640;
}
.co-details-toggle {
  display: inline-flex; align-items: center; min-height: 36px; margin-top: 2px; padding: 0;
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 640;
}
.co-who > span:last-child { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.co-now { text-align: right; line-height: 1; }
.co-now b {
  display: block; font-size: 22px; font-weight: 680; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.co-now i {
  display: block; margin-top: 4px; color: var(--faint); font-style: normal;
  font-size: 10px; font-weight: 640; letter-spacing: 0.06em; text-transform: uppercase;
}
.co-now.up b { color: var(--up); }
.co-now.down b { color: var(--down); }
.co-thesis { margin: 10px 0 0; color: #f4f4f5; font-size: 15px; line-height: 1.45; }
.co-thesis.is-missing, .co-links.is-missing { color: var(--muted); }
.co-sources { margin: 6px 0 0; }
.co-sources summary {
  display: inline-flex; align-items: center; min-height: 36px; cursor: pointer;
  color: var(--muted); font-size: 13px; font-weight: 640; list-style: none;
}
.co-sources summary::-webkit-details-marker { display: none; }
.co-sources summary::after {
  content: ""; width: 0; height: 0; margin-left: 6px;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: 0.7;
}
.co-sources[open] summary::after { transform: rotate(180deg); }
.co-source-list {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  margin: 2px 0 0;
}
.co-source-list a {
  display: inline-flex; align-items: center; min-height: 36px;
  color: #fff; font-size: 13px; font-weight: 640; word-break: break-all;
}
.co-later { margin-top: 6px; color: #f2f2f2; font-size: 14px; line-height: 1.4; }
.co-later > span { display: block; margin-bottom: 2px; color: var(--faint); font-size: 12px; }
.co-later p { margin: 0; }
.co-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 10px; max-width: 480px; margin: 12px 0 0;
}
.co-stats dt {
  color: var(--faint); font-size: 10px; font-weight: 640;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.co-stats dd {
  margin: 2px 0 0; color: #fff; font-size: 14px; font-weight: 640;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.co-stats dd.up { color: var(--up); }
.co-stats dd.down { color: var(--down); }
.co-stats dd.is-unknown { color: var(--muted); font-weight: 560; }
.co-basis { margin-top: 8px; }
.co-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 2px 0 0;
}
.co-links a, .co-links .co-profile-btn, .co-empty button {
  display: inline-flex; align-items: center; min-height: 44px;
  color: #fff; font-size: 14px; font-weight: 640;
}
.co-links .co-profile-btn {
  padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer;
}
.co-empty { padding: 8px 0 12px; }
.co-empty strong { display: block; color: #fff; font-size: 16px; font-weight: 650; }
.co-empty p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.co-empty button {
  margin-top: 4px; padding: 0 16px; border: 1px solid var(--line-strong);
  border-radius: 999px; background: transparent; font: inherit;
}
@media (max-width: 420px) {
  .co-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 360px) {
  body:not(.research-preview) .research .ident {
    grid-template-columns: auto 54px minmax(0, 1fr);
    column-gap: 4px;
  }
  body:not(.research-preview) .research .ident img,
  body:not(.research-preview) .research .ident .ph {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }
  body:not(.research-preview) .research .ident h1,
  body:not(.research-preview) .research .ident h1 .ident-symbol { font-size: 20px; }
  body:not(.research-preview) .research .qstats .qstat:has([data-live="mcap"]) strong { font-size: 20px; }
}


/* Caller intelligence overlay - phone + desktop */
.sheet-root.is-caller-intel[hidden] { display: none !important; }
.sheet-root.is-caller-intel {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; justify-content: flex-end;
}
.sheet-root.is-caller-intel .sheet-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0, 0, 0, 0.55); }
.sheet-root.is-caller-intel .sheet {
  position: relative; height: auto; max-height: calc(100% - env(safe-area-inset-top) - 8px);
  background: var(--mg-panel); color: var(--text); border-radius: 16px 16px 0 0;
  display: flex; flex-direction: column; transform: translateY(110%);
  transition: transform 220ms ease; padding-bottom: env(safe-area-inset-bottom);
}
.sheet-root.is-caller-intel.is-open .sheet { transform: translateY(0); }
.sheet-root.is-caller-intel .sheet-grab {
  width: 36px; height: 4px; margin: 8px auto 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.28); background-clip: content-box;
  padding: 12px 40px; box-sizing: content-box; touch-action: none;
}
.sheet-root.is-caller-intel .sheet-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 14px 8px;
}
.sheet-root.is-caller-intel .sheet-head h2 {
  margin: 0; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.02em;
}
.sheet-root.is-caller-intel .sheet-close {
  min-height: 44px; border: 0; background: transparent; color: var(--text); font: inherit;
}
.sheet-root.is-caller-intel .sheet-body {
  overflow-x: hidden; overflow-y: auto; min-height: 0; flex: 1; padding: 0 16px 16px;
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  max-height: min(78dvh, calc(100dvh - env(safe-area-inset-top) - 88px));
}
@media (min-width: 901px) {
  .sheet-root.is-caller-intel { justify-content: center; align-items: center; padding: 24px; }
  .sheet-root.is-caller-intel .sheet {
    width: min(560px, 100%); max-height: min(860px, calc(100dvh - 48px));
    border-radius: 16px; transform: translateY(16px) scale(0.98); opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease;
  }
  .sheet-root.is-caller-intel.is-open .sheet { transform: none; opacity: 1; }
  .sheet-root.is-caller-intel .sheet-grab { display: none; }
  .sheet-root.is-caller-intel .sheet-body { max-height: none; }
}
.ci-loading, .ci-empty, .ci-more { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.ci-panel { padding-bottom: 8px; }
.ci-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px;
}
.ci-head strong { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.ci-head > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ci-head a {
  display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: 13px; font-weight: 640;
}
.ci-manual {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px;
  border-radius: 999px; background: rgba(255,255,255,0.06); color: var(--muted);
  font-size: 11px; font-weight: 680; font-style: normal; letter-spacing: 0.04em; text-transform: uppercase;
}
.ci-lead { margin: 0 0 14px; color: #d8d8d8; font-size: 14px; line-height: 1.45; }
.ci-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 0 0 16px;
}
.ci-metric {
  padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #121212;
}
.ci-metric dt {
  color: var(--faint); font-size: 10px; font-weight: 680; letter-spacing: 0.05em; text-transform: uppercase;
}
.ci-metric dd {
  margin: 6px 0 0; color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ci-metric small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.ci-block { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.ci-block h3 {
  margin: 0 0 6px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.ci-block p { margin: 0; color: #e8e8e8; font-size: 14px; line-height: 1.45; }
.ci-facts { list-style: none; margin: 8px 0 0; padding: 0; }
.ci-facts li { margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.ci-history { max-width: none; }
.ci-history li.is-hit b { color: var(--up); }
@media (max-width: 420px) {
  .ci-grid { grid-template-columns: 1fr; }
}

/* MemeGauge Qualify console (local/dev) */
.m2-console { max-width: 720px; padding: 8px 0 48px; }
.m2-console h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.m2-console h2 { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.m2-lede, .m2-foot { margin-top: 8px; color: var(--muted); max-width: 36rem; }
.m2-list { display: grid; gap: 10px; margin-top: 22px; }
.m2-card {
  display: grid; gap: 6px; width: 100%; text-align: left;
  min-height: 72px; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--card); color: inherit;
}
.m2-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m2-card-top strong { color: #fff; font-size: 17px; }
.m2-card-meta { color: var(--faint); font-size: 12px; font-family: var(--mono); }
.m2-state {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text);
  font-size: 12px; font-weight: 650; white-space: nowrap;
}
.m2-state.up { background: var(--up-bg); border-color: var(--up-line); color: var(--up); }
.m2-state.down { background: var(--down-bg); border-color: var(--down-line); color: var(--down); }
.m2-hero {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin: 8px 0 18px;
}
.m2-hero-states { display: grid; gap: 8px; justify-items: end; }
.m2-entry { color: var(--muted); font-size: 12px; text-align: right; max-width: 11rem; }
.m2-block { margin: 18px 0; padding-top: 14px; border-top: 1px solid var(--line); }
.m2-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.m2-pillar {
  padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--mg-panel);
}
.m2-pillar-name { display: block; color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.m2-pillar-status { display: block; margin-top: 6px; color: #fff; font-size: 15px; text-transform: capitalize; }
.m2-blockers, .m2-actions, .m2-history, .m2-sources { list-style: none; margin: 0; padding: 0; }
.m2-blockers li, .m2-actions li {
  display: grid; gap: 6px; margin: 0 0 10px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--mg-panel);
}
.m2-blockers li.hard { border-color: var(--down-line); background: var(--down-bg); }
.m2-blockers strong { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.m2-blockers span { color: #e8e8e8; font-size: 14px; line-height: 1.4; }
.m2-actions li {
  grid-template-columns: 1fr auto; align-items: center; gap: 12px;
}
.m2-action-copy { display: grid; gap: 4px; min-width: 0; }
.m2-action-copy strong { color: #fff; font-size: 14px; line-height: 1.35; }
.m2-details { margin: 14px 0; border-top: 1px solid var(--line); padding-top: 10px; }
.m2-details summary {
  cursor: pointer; min-height: 44px; display: flex; align-items: center;
  color: #fff; font-weight: 650;
}
.m2-history li, .m2-sources li { margin: 8px 0; color: var(--muted); font-size: 13px; }
.m2-error { margin: 12px 0; color: var(--down); }
.m2-flash { margin: 12px 0; color: var(--up); }
.m2-console .text-link { border: 0; background: transparent; color: var(--muted); padding: 0; min-height: 44px; }
.m2-console .text-link:hover { color: #fff; }
.m2-console .btn {
  min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 650;
  border: 1px solid var(--line-strong); background: #1a1a1a; color: var(--text);
}
.m2-console .btn.primary { background: var(--mg-brand); color: #121412; border: 0; }
.m2-console .btn.ghost { background: transparent; }
.m2-console .btn:disabled { opacity: 0.45; cursor: not-allowed; }
@media (max-width: 900px) {
  .m2-console { padding: 4px 0 96px; }
  .m2-actions li { grid-template-columns: 1fr; }
  .m2-action-run { display: flex; }
  .m2-action-run .btn { width: 100%; }
}
@media (min-width: 901px) {
  .m2-pillars { grid-template-columns: repeat(4, 1fr); }
}
