/* Both layouts own the palette: profile pages do not load the Ideas :root
   tokens. Without them, Terminal HOLD inherits the ticker's direction color. */
.idea-feed,
.terminal-feed {
  --exp-bg-section: #080b10; --exp-bg-card: #0d1117; --exp-bg-card-alt: #111820;
  --exp-border: #21262d; --exp-border-strong: #30363d;
  --exp-text-pri: #E8EDF5; --exp-text-body: #D1D5DE; --exp-text-sec: #95A0B2;
  --exp-text-muted: #6B7A8D; --exp-accent: var(--bz-brand, #f5c84b);
  --exp-accent-hover: var(--bz-brand-hover, #ffe08a);
}
.idea-feed .idea-feed-rows { background: var(--exp-bg-card); border: 1px solid var(--exp-border); border-radius: 8px; }
.idea-feed .idea-feed-rows .sr-row { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; }
.idea-feed .idea-feed-rows .sr-row:hover { background: rgba(255,255,255,.03); }
.idea-feed .idea-feed-rows .sr-body { flex: 1; min-width: 0; }
.idea-feed .idea-feed-rows .sr-speaker-line { display: flex; align-items: center; gap: 8px; }
.idea-feed .idea-feed-rows .sr-time { flex-shrink: 0; color: var(--exp-text-muted); font-size: 12px; }
.idea-feed .idea-feed-rows .sr-author { color: var(--exp-text-pri); font-weight: 600; text-decoration: none; }
.idea-feed .idea-feed-rows .sr-thesis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.55; }
.idea-feed .idea-feed-rows .sr-row.expanded .sr-thesis { white-space: normal; }
.idea-feed .idea-feed-rows .sr-thesis-full { display: none; }
.idea-feed .idea-feed-rows .sr-row.expanded .sr-thesis-full { display: block; margin-top: 6px; padding-left: 10px; border-left: 2px solid rgba(255,255,255,.07); color: var(--exp-text-sec); font-weight: 400; }
.idea-feed .idea-feed-rows .sr-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.idea-feed .idea-feed-rows .sr-right { display: flex; align-items: center; }
.idea-feed .idea-feed-rows .sr-save { background: none; border: 0; font-size: 16px; color: var(--exp-text-muted); cursor: pointer; }
.idea-feed .idea-feed-rows .sr-save.saved { color: var(--exp-accent); }

/* Ideas feed: the same tracks align the header and every desktop row. */
.idea-feed .fd-column-head { display: none; }
.idea-feed .sr-source { display: none; }
.idea-feed .sr-result,
.idea-feed .sr-company-mark,
.idea-feed .sr-company-name,
.idea-feed .sr-direction,
.idea-feed .sr-more-tickers { display: none; }
.idea-feed .sr-more-collapse { display: none; }
.idea-feed .sr-company-cell,
.idea-feed .sr-call-state { display: contents; }
.idea-feed .sr-position-action,
.terminal-feed .sr-position-action {
  color: var(--exp-text-sec);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.idea-feed--positions .sr-position-cell {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-left: 6px;
  padding-left: 6px;
  border-left: 1px solid var(--exp-border-strong);
  color: var(--exp-text-sec);
  font-size: 10px;
  font-weight: 400;
}
.idea-feed--positions .sr-position-cell--empty { display: none; }
.idea-feed .sr-feed-identity {
  position: relative;
  display: inline-flex;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-right: 4px;
}
.idea-feed .idea-feed-rows .sr-feed-identity .sr-icon {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  min-width: 22px;
  padding: 2px;
  border: 1px solid var(--exp-border-strong);
  border-radius: 50%;
  background: var(--exp-bg-section);
  box-shadow: 0 0 0 2px var(--exp-bg-card);
}
.idea-feed .idea-feed-rows .sr-feed-identity .sr-icon > span {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  font-size: 16px;
  line-height: 1;
}
.idea-feed .idea-feed-rows .sr-feed-identity .icon-twitter { filter: brightness(0) invert(1); }
.idea-feed .sr-feed-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #161b22;
}
@media (min-width: 1100px) {
  /* The thesis follows the author and takes the remaining width; the signal
     column carries the direction/badge line over the since-call return.
     Column widths step with the Bootstrap container (960/1140/1320px), so
     each step keeps short theses from leaving a wide gap. */
  .idea-feed {
    --fd-columns: [time] var(--fd-time-width) [author] var(--fd-author-width) [thesis] minmax(0, 1fr) [company] var(--fd-company-width) [signal] var(--fd-signal-width) [source] var(--fd-source-width) [save] var(--fd-save-width);
    --fd-time-width: 42px;
    --fd-author-width: 160px;
    --fd-company-width: 184px;
    --fd-signal-width: 100px;
    --fd-source-width: 140px;
    --fd-save-width: 28px;
    --fd-column-gap: 12px;
    --fd-company-padding: 10px;
    /* Space and a softer tone keep the thesis apart from the author name. */
    --fd-thesis-inset: 20px;
    --fd-thesis-color: #aeb8c6;
  }
  .idea-feed .fd-column-head,
  .idea-feed .idea-feed-rows .sr-row {
    display: grid;
    grid-template-columns: var(--fd-columns);
    align-items: center;
    column-gap: var(--fd-column-gap);
    padding: 14px 20px;
  }
  .idea-feed .fd-column-head {
    margin-top: 14px;
    min-height: 42px;
    color: var(--exp-text-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .01em;
    border: 1px solid var(--exp-border);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: var(--exp-bg-section);
  }
  .idea-feed .fd-column-head .fd-head-thesis { padding-left: var(--fd-thesis-inset); }
  .idea-feed .fd-column-head .fd-head-call { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
  .idea-feed .idea-feed-rows { border-radius: 0 0 8px 8px; }
  .idea-feed .idea-feed-rows .sr-row {
    min-height: 76px;
    row-gap: 0;
  }
  .idea-feed .idea-feed-rows .sr-body { display: contents; }
  .idea-feed .idea-feed-rows .sr-time {
    grid-column: time;
    grid-row: 1;
    padding: 0;
    text-align: left;
    width: auto;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--exp-text-sec);
    font-variant-numeric: tabular-nums;
  }
  .idea-feed .idea-feed-rows .sr-time [data-utc-fmt] {
    display: block;
  }
  .idea-feed .idea-feed-rows .sr-time br { display: initial; }
  .idea-feed .idea-feed-rows .feed-date { font-size: 10px; color: var(--exp-text-muted); }
  .idea-feed .idea-feed-rows .sr-source {
    display: flex;
    grid-column: source;
    grid-row: 1;
    min-width: 0;
    align-items: center;
    gap: 6px;
    color: var(--exp-text-sec);
    font-size: 12px;
    text-decoration: none;
  }
  .idea-feed .idea-feed-rows a.sr-source:hover,
  .idea-feed .idea-feed-rows a.sr-source:focus-visible { color: var(--exp-accent); }
  .idea-feed .idea-feed-rows span.sr-source { cursor: default; }
  .idea-feed .idea-feed-rows .sr-source-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .idea-feed .idea-feed-rows .sr-source .sr-icon { display: flex; flex: 0 0 22px; padding: 0; }
  .idea-feed .idea-feed-rows .sr-source .sr-icon > span {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    margin: 0;
    font-size: 22px;
    line-height: 1;
  }
  .idea-feed .idea-feed-rows .sr-source .sr-icon > .icon-twitter {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
    font-size: 14px;
    filter: brightness(0) invert(1);
    opacity: .6;
  }
  .idea-feed .idea-feed-rows .sr-feed-identity { margin-right: 0; }
  .idea-feed .idea-feed-rows .sr-feed-identity .sr-icon { display: none; }
  .idea-feed .idea-feed-rows .sr-speaker-line {
    grid-column: author;
    grid-row: 1;
    min-width: 0;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    margin: 0;
  }
  .idea-feed .idea-feed-rows .sr-author-desktop {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: var(--exp-text-pri);
  }
  .idea-feed .idea-feed-rows .sr-author-role,
  .idea-feed .idea-feed-rows .sr-inline-channel { display: none; }
  .idea-feed .idea-feed-rows .sr-meta {
    display: grid;
    grid-template-columns: subgrid;
    column-gap: var(--fd-column-gap);
    grid-column: company / source;
    grid-row: 1;
    min-width: 0;
    margin: 0;
  }
  .idea-feed .idea-feed-rows .sr-pills-wrap {
    position: relative;
    display: grid !important;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
    column-gap: var(--fd-column-gap);
    row-gap: 12px;
    align-items: center;
    width: 100%;
  }
  .idea-feed .idea-feed-rows .ticker-pill {
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: auto auto;
    grid-column: 1 / -1;
    column-gap: var(--fd-column-gap);
    row-gap: 3px;
    align-content: center;
    min-height: 40px;
    width: 100%;
    align-items: center;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--exp-text-pri);
    font-size: 14px;
  }
  .idea-feed .idea-feed-rows .ticker-pill:hover { background: transparent; }
  .idea-feed .idea-feed-rows .sr-row:not(.expanded) .ticker-pill:not(:first-child) { display: none; }
  .idea-feed .idea-feed-rows .sr-company-cell {
    display: flex;
    grid-column: 1;
    grid-row: 1 / span 2;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding-right: var(--fd-company-padding);
  }
  .idea-feed .idea-feed-rows .sr-pills-wrap:has(.sr-more-tickers) .ticker-pill:first-child .sr-company-cell { padding-right: calc(38px + var(--fd-company-padding)); }
  .idea-feed .idea-feed-rows .sr-call-state {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 2px 5px;
    min-width: 0;
  }
  .idea-feed .idea-feed-rows .sr-call-state .ticker-badge {
    font-size: 8px;
    font-weight: 600;
    line-height: 1.25;
    padding: 1px 4px;
    margin: 0;
    border-radius: 4px;
    flex-shrink: 0;
  }
  .idea-feed .idea-feed-rows .sr-company-mark {
    position: relative;
    display: block;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    overflow: hidden;
    border-radius: 5px;
    background: var(--exp-bg-card-alt);
  }
  .idea-feed .idea-feed-rows .sr-company-mark::before {
    content: attr(data-fallback);
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--exp-text-sec);
    font-size: 12px;
  }
  .idea-feed .idea-feed-rows .sr-company-logo {
    position: absolute;
    inset: 0;
    width: 28px;
    height: 28px;
    object-fit: contain;
    background: var(--exp-bg-card);
    border-radius: 5px;
  }
  .idea-feed .idea-feed-rows .sr-company-identity { display: block; min-width: 0; flex: 1; }
  .idea-feed .idea-feed-rows .sr-company-heading { display: flex; min-width: 0; align-items: center; gap: 5px; flex-wrap: nowrap; }
  .idea-feed .idea-feed-rows .sr-company-heading a.ticker-symbol-text { font-size: 14px; font-weight: 700; color: var(--exp-text-pri); }
  .idea-feed .idea-feed-rows .sr-company-name {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 400;
    color: var(--exp-text-sec);
  }
  .idea-feed .idea-feed-rows .sr-direction {
    display: inline-block;
    padding: 0;
    margin: 0;
    color: #35c990;
    background: transparent;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .02em;
    text-transform: uppercase;
  }
  .idea-feed .idea-feed-rows .tp-short .sr-direction,
  .idea-feed .idea-feed-rows .tp-avoid .sr-direction { color: #ef7e87; }
  .idea-feed .idea-feed-rows .tp-watch .sr-direction,
  .idea-feed .idea-feed-rows .tp-close .sr-direction { color: var(--exp-text-sec); }
  .idea-feed .idea-feed-rows .sr-more-tickers {
    position: absolute;
    right: calc(var(--fd-signal-width) + var(--fd-column-gap) + var(--fd-company-padding));
    top: 8px;
    width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 28px;
    height: 24px;
    padding: 0 5px;
    border: 1px solid var(--exp-border);
    border-radius: 5px;
    background: var(--exp-bg-card-alt);
    color: var(--exp-text-sec);
    font: inherit;
    font-size: 11px;
    cursor: pointer;
  }
  .idea-feed .idea-feed-rows .sr-more-tickers:hover,
  .idea-feed .idea-feed-rows .sr-more-tickers[aria-expanded="true"] { color: var(--exp-text-pri); border-color: var(--exp-text-muted); }
  /* Since-call return sits under the direction/badge line: the primary
     ticker's .sr-result while collapsed, each ticker's .ticker-pct expanded. */
  .idea-feed .idea-feed-rows .sr-result {
    display: block;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    color: var(--exp-text-muted);
  }
  .idea-feed .idea-feed-rows .sr-result-value { font-size: 13px; font-weight: 500; }
  .idea-feed .idea-feed-rows .sr-result-value.positive { color: #35c990; }
  .idea-feed .idea-feed-rows .sr-result-value.negative { color: #ef7e87; }
  .idea-feed .idea-feed-rows .ticker-pct { display: none; }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-result { display: none; }
  .idea-feed .idea-feed-rows .sr-row.expanded .ticker-pct,
  .idea-feed .idea-feed-rows .sr-row.expanded .ticker-pill:not(:has(.ticker-pct))::after {
    display: inline;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    margin-left: 0 !important;
    line-height: 1.3;
    font-size: 13px !important;
    font-weight: 500 !important;
    font-variant-numeric: tabular-nums;
  }
  .idea-feed .idea-feed-rows .sr-row.expanded .ticker-pill:not(:has(.ticker-pct))::after {
    content: "—";
    color: var(--exp-text-muted);
  }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-more-count { display: none; }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-more-collapse { display: block; }
  .idea-feed .idea-feed-rows .sr-thesis-content {
    grid-column: thesis;
    grid-row: 1;
    min-width: 0;
    padding-left: var(--fd-thesis-inset);
  }
  .idea-feed .idea-feed-rows .sr-thesis:not(.sr-thesis-full) {
    font-size: 13px;
    font-weight: 500 !important;
    color: var(--fd-thesis-color) !important;
    white-space: nowrap;
  }
  .idea-feed .idea-feed-rows .sr-right {
    grid-column: save;
    grid-row: 1;
    flex-direction: row;
    justify-content: flex-end;
  }
  .idea-feed .idea-feed-rows .sr-save { padding: 6px 0 6px 6px; }
  .idea-feed .idea-feed-rows .sr-row.expanded { padding-top: 16px; padding-bottom: 16px; align-items: start; }
  /* An opened row's headline leads its full thesis text. */
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-thesis:not(.sr-thesis-full) { white-space: normal; color: var(--exp-text-body) !important; }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-speaker-line { flex-wrap: wrap; }
}
.idea-feed .idea-feed-rows a.sr-author:hover,
.idea-feed .idea-feed-rows a.sr-author:focus-visible,
.idea-feed .idea-feed-rows a.ticker-symbol-text:hover,
.idea-feed .idea-feed-rows a.ticker-symbol-text:focus-visible { color: var(--exp-accent); }
.idea-feed .idea-feed-rows .sr-thesis-content { min-width: 0; }
.idea-feed .idea-feed-rows .sr-original-link {
  display: none;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-left: 4px;
  vertical-align: text-bottom;
  color: var(--exp-accent);
  text-decoration: none;
}
.idea-feed .idea-feed-rows .sr-row.expanded .sr-original-link { display: inline-flex; }
.idea-feed .idea-feed-rows .sr-original-link:hover { color: var(--exp-accent-hover); }
@media (min-width: 1100px) and (max-width: 1199px) {
  .idea-feed {
    --fd-author-width: 148px;
    --fd-company-width: 160px;
    --fd-signal-width: 92px;
    --fd-source-width: 112px;
    --fd-save-width: 24px;
    --fd-column-gap: 10px;
    --fd-thesis-inset: 14px;
  }
}
@media (min-width: 1100px) {
  .idea-feed.idea-feed--positions {
    --fd-position-width: 84px;
    --fd-columns: [time] var(--fd-time-width) [author] var(--fd-author-width) [thesis] minmax(0, 1fr) [company] var(--fd-company-width) [signal] var(--fd-signal-width) [position] var(--fd-position-width) [source] var(--fd-source-width) [save] var(--fd-save-width);
  }
  .idea-feed.idea-feed--positions .idea-feed-rows .sr-position-cell {
    display: flex;
    grid-column: 3;
    grid-row: 1 / span 2;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 1.3;
  }
  .idea-feed.idea-feed--positions .sr-position-label { display: none; }
  .idea-feed.idea-feed--positions .sr-position-action { font-size: 11px; }
  .idea-feed.idea-feed--positions .sr-position-cell--empty { color: var(--exp-text-muted); }
  .idea-feed.idea-feed--positions .idea-feed-rows .sr-more-tickers {
    right: calc(var(--fd-signal-width) + var(--fd-position-width) + 2 * var(--fd-column-gap) + var(--fd-company-padding));
  }
}
@media (min-width: 1400px) {
  .idea-feed {
    --fd-company-width: 208px;
    --fd-signal-width: 108px;
    --fd-source-width: 168px;
  }
}
@media (max-width: 1099px) {
  .idea-feed .sr-feed-avatar { width: 32px; height: 32px; flex-basis: 32px; align-self: center; }
  .idea-feed .sr-feed-identity { width: 32px; height: 32px; flex-basis: 32px; }
  .idea-feed .idea-feed-rows .sr-feed-identity .sr-icon { width: 20px; height: 20px; min-width: 20px; }
  .idea-feed .idea-feed-rows .sr-feed-identity .sr-icon > span { width: 14px; height: 14px; flex-basis: 14px; font-size: 14px; }
}


@media (min-width: 1100px) {
  /* Speaker timelines have no author column: the company and its signal
     follow the time, and the thesis takes the flexible track after them. */
  .idea-feed--without-author { --fd-columns: [time] var(--fd-time-width) [company] var(--fd-company-width) [signal] var(--fd-signal-width) [thesis] minmax(0, 1fr) [source] var(--fd-source-width) [save] var(--fd-save-width); }
  .idea-feed.idea-feed--without-author.idea-feed--positions { --fd-columns: [time] var(--fd-time-width) [company] var(--fd-company-width) [signal] var(--fd-signal-width) [position] var(--fd-position-width) [thesis] minmax(0, 1fr) [source] var(--fd-source-width) [save] var(--fd-save-width); }
  .idea-feed--without-author .idea-feed-rows .sr-meta { grid-column: company / thesis; }
  .idea-feed .idea-feed-rows .sr-right { align-self: center; }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-right { align-self: start; }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-thesis-content { align-self: start; }
}
@media (max-width: 1099px) {
  .idea-feed--without-author .idea-feed-rows .sr-source { display: flex; align-items: center; gap: 6px; color: var(--exp-text-sec); font-size: 12px; text-decoration: none; }
  .idea-feed--without-author .sr-source .sr-icon > span { width: 14px; height: 14px; font-size: 14px; }
}

.idea-feed .fd-column-head[hidden] { display: none; }

/* Feed publications expand into aligned thesis groups. */
.idea-feed .idea-feed-rows .sr-publication { border-bottom: 1px solid var(--exp-border); }
.idea-feed .idea-feed-rows .sr-publication:last-child { border-bottom: 0; }
.idea-feed .idea-feed-rows .sr-publication > .sr-row { border-bottom: 0; }
.idea-feed .idea-feed-rows .sr-publication:not(.expanded) > .sr-row ~ .sr-row,
.idea-feed .idea-feed-rows .sr-publication:not(.expanded) .ticker-pill:not(:first-child) { display: none; }
.idea-feed .idea-feed-rows .sr-publication.expanded { background: var(--exp-bg-card-alt); }
.idea-feed .idea-feed-rows .sr-publication.expanded > .sr-row + .sr-row { border-top: 1px solid rgba(255,255,255,.05); }
.idea-feed .idea-feed-rows .sr-publication > .sr-row + .sr-row .sr-time,
.idea-feed .idea-feed-rows .sr-publication > .sr-row + .sr-row .sr-source,
.idea-feed .idea-feed-rows .sr-publication > .sr-row + .sr-row .sr-mobile-channel { display: none !important; }
.idea-feed .idea-feed-rows .sr-publication .sr-more-tickers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 28px; height: 24px; padding: 0 5px; border-radius: 5px;
  border: 1px solid var(--exp-border); background: var(--exp-bg-card-alt);
  color: var(--exp-text-sec); font: inherit; font-size: 11px; cursor: pointer;
}
.idea-feed .idea-feed-rows .sr-publication.expanded .sr-more-count { display: none; }
.idea-feed .idea-feed-rows .sr-publication.expanded .sr-more-collapse { display: block; }

/* Only the symbol is a navigation target; the company block expands the row. */
.idea-feed .idea-feed-rows span.ticker-pill:hover { filter: none; }
.idea-feed .idea-feed-rows a.ticker-symbol-text { color: inherit; text-decoration: none; padding: 0; flex: 0 1 auto; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.idea-feed .idea-feed-rows .sr-post-kind { display: inline-block; margin-inline-start: 7px; white-space: nowrap; padding: 1px 5px; border: 1px solid var(--exp-border-strong); border-radius: 4px; color: var(--exp-text-sec); font-size: 10px; font-weight: 400; line-height: 1.5; vertical-align: 1px; }

.feed-option { display:inline-flex; align-items:center; gap:7px; margin:0 0 0 10px; color:#95a0b2; font-size:12px; white-space:nowrap; cursor:pointer; }
.feed-option input { width:14px; height:14px; margin:0; accent-color:var(--bz-brand, #f5c84b); cursor:pointer; }
.feed-option:has(input:disabled) { opacity:.55; cursor:default; }

/* Checkbox options above dropdown menus, with display controls at the right. */
html.feed-page { scrollbar-gutter:stable; }
.feed-filter-bar { display:flex; flex-direction:column; align-items:stretch; gap:8px; }
.feed-filter-bar .ffb-filters-row { display:flex; align-items:center; gap:14px; width:100%; min-width:0; padding-top:8px; border-top:1px solid #21262d; }
.feed-filter-bar .ffb-filters-row .ffb-scroll-row { display:flex; align-items:center; gap:6px; flex:1 1 0; width:0; min-width:0; overflow-x:auto; scrollbar-width:none; }
.feed-filter-bar .ffb-scroll-row > * { flex:0 0 auto; }
.feed-filter-bar .ffb-scroll-row::-webkit-scrollbar,
.feed-filter-bar .ffb-filters-row::-webkit-scrollbar,
.feed-filter-bar .ffb-toggles-row::-webkit-scrollbar { display:none; }
.feed-filter-bar .ffb-toggles-row { display:flex; align-items:center; flex:0 0 auto; width:100%; min-height:30px; flex-wrap:nowrap; gap:14px; margin-top:0; }
.feed-filter-bar .ffb-actions-row { display:flex; align-items:center; flex:0 0 auto; gap:6px; margin-inline-start:auto; }
.feed-filter-bar .ffb-reset-slot { display:inline-flex; align-items:center; justify-content:center; flex:0 0 30px; width:30px; }
.feed-filter-bar .ffb-actions-row .f-drop-btn,
.feed-filter-bar .ffb-actions-row .live-toggle { min-height:30px; padding-block:4px; }
.feed-filter-bar .feed-option { margin:0; gap:5px; }
@media (min-width:769px) {
  .feed-filter-bar .f-drop-btn { padding-inline:10px; font-size:12px; }
}
@media (max-width:768px) {
  .feed-filter-bar .ffb-toggles-row { min-width:0; overflow-x:auto; scrollbar-width:none; }
  .feed-filter-bar .ffb-filters-row { overflow-x:auto; scrollbar-width:none; }
  .feed-filter-bar .ffb-filters-row .ffb-scroll-row { flex:0 0 auto; width:max-content; overflow:visible; }
  .feed-filter-bar .feed-option { flex:0 0 auto; font-size:11px; }
}

.idea-feed .ticker-pill .ticker-badge.hold { color:var(--exp-text-sec); background:#18212a; border-color:var(--exp-border-strong); }

/* Source links stop at their visible contents, not at the column edge. */
.idea-feed .idea-feed-rows .sr-source {
  justify-self: start;
  width: fit-content;
  max-width: 100%;
}
