/* Dashboard grid and tabs adapted from the former market-movers column. */
.dash { display: grid; grid-template-columns: minmax(0, 1fr); }
.dash > .news-grid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.dash-side { padding: 18px 6vw 0; display: grid; gap: 18px; align-content: start; min-width: 0; }
.dash-side > .panel { height: auto; display: block; min-width: 0; }
@media (min-width: 701px) and (max-width: 1100px) {
  .dash-side { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 1101px) {
  .dash { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto auto 1fr;
    grid-template-areas: "hero side" "cards side" "empty side"; column-gap: 18px; padding-right: 6vw; }
  .dash > .hero-grid { grid-area: hero; padding-right: 0; min-height: 440px; height: auto; }
  .dash > .hero-grid > .panel { display: flex; flex-direction: column; height: 100%; }
  .dash > .hero-grid > .quotes-panel { contain: size; }
  .dash > .news-grid { grid-area: cards; padding-right: 0; min-width: 0; }
  .dash > .empty-state { grid-area: empty; }
  .dash-side { grid-area: side; padding: 36px 0 0; align-self: start; }
}
@media (min-width: 1101px) and (max-width: 1399px) { .dash { grid-template-columns: minmax(0, 1fr) 270px; } }
.dash .quotes-panel { container-type: inline-size; }
@container (max-width: 300px) { .dash .quote-row .quote-spark { width: 52px; } .dash .quote-row { gap: 8px; } }
@container (max-width: 250px) { .dash .quote-row .quote-spark { display: none; } }
.insider-radar h2 { margin-bottom: 8px; }
.insider-radar-meta, .insider-radar-state, .insider-radar-method { color: var(--text-mid); font-size: 11.5px; line-height: 1.55; }
.insider-radar-meta { margin: 0 0 10px; }
/* Purchases / Sales is a segmented track; the chosen one is lit like the
   news filter's chosen sector (tinted glass, cyan text and edge), not filled.
   The views under it (groups / large trades) are plain tabs, a step lower. */
.insider-radar-tabs {
  display: flex; gap: 3px; margin-bottom: 12px; padding: 3px;
  border: 1px solid var(--border-soft); border-radius: 11px; background: rgba(10, 18, 40, .45);
}
.insider-radar-mode { margin-bottom: 10px; }
.insider-radar-tabs button {
  flex: 1 1 0; height: 28px; padding: 0 6px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; color: var(--text-mid);
  font-family: var(--font-ui, 'Chakra Petch', sans-serif); font-size: 12.5px; font-weight: 600;
  white-space: nowrap; cursor: pointer; transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.insider-radar-tabs button:hover { color: var(--text-hi); background: rgba(0, 240, 255, .05); }
.insider-radar-tabs button[aria-pressed="true"] {
  color: var(--gold-1); background: rgba(0, 240, 255, .1); border-color: rgba(0, 240, 255, .45);
  box-shadow: 0 0 10px rgba(0, 240, 255, .12), inset 0 0 8px rgba(0, 240, 255, .08);
}
.insider-radar-tabs:not(.insider-radar-mode) {
  gap: 0; padding: 0; border: 0; border-bottom: 1px solid var(--border-soft); border-radius: 0; background: none;
}
.insider-radar-tabs:not(.insider-radar-mode) button {
  height: 30px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; margin-bottom: -1px;
}
.insider-radar-tabs:not(.insider-radar-mode) button:hover { background: none; }
.insider-radar-tabs:not(.insider-radar-mode) button[aria-pressed="true"] {
  background: none; border-bottom-color: var(--gold-1); box-shadow: none; text-shadow: 0 0 10px rgba(0, 240, 255, .35);
}
.insider-radar-tabs button:focus-visible, .insider-radar a:focus-visible,
.insider-radar summary:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; }
.insider-radar-list { display: grid; gap: 12px; max-height: 420px; overflow-y: auto; }

/* Use the page's shared scrollbar, including its inset, rounded thumb.
   Reset inherited standard colors so WebKit keeps the shared pseudo styles. */
.insider-radar-list { scrollbar-width: auto; scrollbar-color: auto; }
@supports not selector(::-webkit-scrollbar) {
  .insider-radar-list { scrollbar-width: thin; scrollbar-color: rgba(0, 240, 255, .25) transparent; }
}
.insider-radar-card + .insider-radar-card { border-top: 1px solid var(--border-soft); padding-top: 12px; }
.insider-radar-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.insider-radar-symbol { color: var(--gold-1); font-family: var(--font-mono, monospace); font-weight: 600; text-decoration: none; font-size: 14px; }
.insider-radar-value { color: var(--text-hi); font: 600 12px var(--font-mono, monospace); white-space: nowrap; }
.insider-radar-company { margin: 4px 0 6px; color: var(--text-hi); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.insider-radar-detail { margin: 3px 0; color: var(--text-mid); font-size: 11.5px; line-height: 1.5; }
.insider-radar-sources { margin: 6px 0 0; color: var(--text-mid); font-size: 11.5px; }
.insider-radar-sources a { color: var(--gold-1); text-underline-offset: 3px; margin-right: 8px; }
.insider-radar-method { margin-top: 14px; }
.insider-radar-method summary { cursor: pointer; color: var(--text-mid); }
.insider-radar-method p { margin: 8px 0 0; }
.insider-radar-state { margin: 0 0 12px; }
.dash-side > .side-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.side-cta .eyebrow { font-size: 10.5px; }
.side-cta h3 { margin: 0; font-family: var(--font-ui, 'Chakra Petch', sans-serif); font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--text-hi); }
.side-cta p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-mid); }
.side-cta .header-signin { margin: 6px 0 0; }
.side-cta small { font-size: 11.5px; color: var(--text-low); }
:root[data-color-theme='calm'] .insider-radar h2 { font-family: var(--font-label); font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
:root[data-color-theme='calm'] .insider-radar-tabs { background: rgba(255, 255, 255, .55); border-color: var(--line); }
:root[data-color-theme='calm'] .insider-radar-tabs button { color: var(--text-mid); }
:root[data-color-theme='calm'] .insider-radar-tabs button:hover { color: var(--text-hi); background: rgba(255, 255, 255, .7); }
:root[data-color-theme='calm'] .insider-radar-tabs button[aria-pressed='true'] {
  color: var(--accent); background: #fff; border-color: rgba(74, 71, 214, .3);
  box-shadow: 0 1px 6px rgba(74, 71, 214, .12);
}
:root[data-color-theme='calm'] .insider-radar-tabs:not(.insider-radar-mode) { background: none; }
:root[data-color-theme='calm'] .insider-radar-tabs:not(.insider-radar-mode) button:hover { background: none; }
:root[data-color-theme='calm'] .insider-radar-tabs:not(.insider-radar-mode) button[aria-pressed='true'] {
  background: none; border-color: transparent transparent var(--accent); box-shadow: none; text-shadow: none;
}
:root[data-color-theme='calm'] .side-cta { background: linear-gradient(120deg, rgba(185, 168, 255, .22), rgba(255, 255, 255, .9), rgba(148, 218, 243, .18)); border-color: rgba(74, 71, 214, .18); }
:root[data-color-theme='calm'] .side-cta h3 { font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 1100px) { .insider-radar-list { max-height: 290px; } }
