/* The home page's pre-market summary (home_premarket_summary), in the
   "Most active" card from 7:30 to 9:30 ET. Loaded only while that row is lit.
   While the summary shows, the card's own table, toggle and notes step aside. */
.hm-active.hm-pm-on .hm-toggle,
.hm-active.hm-pm-on .hm-table-wrap,
.hm-active.hm-pm-on .hm-active-note,
.hm-active.hm-pm-on .hm-universe,
.hm-active.hm-pm-on #hm-active-subtitle { display: none !important; }
.hm-pm[hidden] { display: none !important; }
.hm-pm { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hm-pm-narrative { margin: 0; color: var(--text); font-size: 13px; line-height: 1.55; }
.hm-pm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hm-pm-item {
  display: grid; grid-template-columns: 4.6em minmax(0, 1fr) auto; align-items: baseline; gap: 4px 10px;
  padding: 8px 0; border-top: 1px solid var(--border);
}
.hm-pm-ticker {
  justify-self: start; padding: 0; border: 0; background: none; color: var(--text);
  font: 600 13px var(--home-mono); cursor: pointer; text-align: left;
}
.hm-pm-ticker:hover { color: var(--accent); text-decoration: underline; }
.hm-pm-ticker:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.hm-pm-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hm-pm-body a { color: var(--text); font-size: 13px; line-height: 1.4; text-decoration: none; overflow-wrap: anywhere; }
.hm-pm-body a:hover { color: var(--accent); text-decoration: underline; }
.hm-pm-body a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.hm-pm-source { color: var(--text-mute); font: 10px/1.4 var(--home-mono); }
.hm-pm-sent { font: 600 12px var(--home-mono); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.hm-pm-sent[data-tone="pos"] { color: var(--good); }
.hm-pm-sent[data-tone="neg"] { color: var(--bad); }
.hm-pm-sent[data-tone="flat"] { color: var(--text-dim); }
.hm-pm-sent small { display: block; color: var(--text-mute); font-weight: 400; font-size: 9px; }
.hm-pm-note { margin: 0; color: var(--text-mute); font: 9px/1.5 var(--home-mono); }
