/* Scalp desk chassis — density only. Widgets keep their JS. */

html.in-iframe .cc-mode-pill,
html.uf-embedded .cc-mode-pill {

body.cc-dense {
  line-height: 1.35;
}

body.cc-dense .page-wrap {
  max-width: none !important;
  width: 100%;
  padding: 6px 12px 28px !important;
}

body.cc-dense .page-wrap > #tape-regime-command {
  max-width: none !important;
  margin: 6px 0 8px !important;
}

body.cc-dense #news-ticker {
  display: none !important;
}

body.cc-dense .cc-priority-flow {
  max-width: none !important;
  padding: 0 !important;
  gap: 8px !important;
}

body.cc-dense .cc-priority-flow > div[id],
body.cc-dense .cc-priority-flow > section[id],
body.cc-dense .cc-priority-flow > .du-panel,
body.cc-dense .page-wrap > section {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.cc-dense .section-sep,
body.cc-dense hr.divider {
  margin: 16px 0 !important;
}

body.cc-dense .section-header { margin-bottom: 8px !important; }
body.cc-dense .section-title { font-size: 1.15rem !important; margin-bottom: 4px !important; }
body.cc-dense .section-desc { margin-bottom: 10px !important; font-size: 0.8rem !important; }

/* Section banners and phase bands: hide — they were empty label cards */
body.cc-dense .scc-section-banner,
body.cc-dense .cc-phase-band,
body.cc-dense #ready-to-trade-header {
  display: none !important;
}

/* Leftover widgets sit after the priority flow. Park them until JS moves them. */
body.cc-dense .page-wrap > #strike-selector-panel,
body.cc-dense .page-wrap > #market-pulse,
body.cc-dense .page-wrap > #checklist,
body.cc-dense .page-wrap > #iv-rank,
body.cc-dense .page-wrap > #atr-table,
body.cc-dense .page-wrap > #heatmap,
body.cc-dense .page-wrap > #sit-out,
body.cc-dense .page-wrap > #key-links,
body.cc-dense .page-wrap > hr.divider {
  display: none !important;
}
body.cc-dense #moreToolsContent > * {
  display: block !important;
  max-width: none !important;
}

/* Pair reference + bench on wide screens — fills the empty right gutter */
@media (min-width: 1120px) {
  body.cc-dense .cc-priority-flow > #strategy-reference-panel {
    grid-column: 1 !important;
  }
  body.cc-dense .cc-priority-flow > #research-bench-section {
    grid-column: 2 !important;
  }
}

/* Watchlist: pack cards, shorter charts */
body.cc-dense #live-watchlist-cards #lwcCardsGrid,
body.cc-dense .watchlist-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 8px !important;
}
body.cc-dense .ticker-card {
  border-radius: 6px !important;
}
body.cc-dense .chart-embed,
body.cc-dense .chart-embed-wrap .chart-mini {
  height: 148px !important;
}
body.cc-dense .ticker-card-header {
  padding: 8px 10px 6px !important;
}
body.cc-dense .ticker-meta {
  padding: 8px 10px 10px !important;
  gap: 6px !important;
}

/* More Tools: two columns when open */
body.cc-dense #moreToolsContent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 8px !important;
}
@media (max-width: 900px) {
  body.cc-dense #moreToolsContent {
    grid-template-columns: 1fr;
  }
}

body.cc-dense .du-panel {
  max-width: none !important;
  margin-bottom: 8px !important;
  border-radius: 4px !important;
}

body.cc-dense .pulse-strip {
  grid-template-columns: 1fr 160px 1fr !important;
  gap: 8px !important;
}
body.cc-dense #market-pulse .section-eyebrow { display: none; }

body.cc-dense .sitout-grid,
body.cc-dense .iv-cols {
  gap: 8px !important;
}
