.idea-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-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) {
  .idea-feed {
    --fd-columns: [time] 56px [author] minmax(150px, 180px) [company] minmax(180px, 212px) [result] 82px [source] minmax(130px, 160px) [thesis] minmax(0, 1fr) [save] 28px;
    --fd-result-width: 82px;
    --fd-column-gap: 16px;
  }
  .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 .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: 8px;
    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: 12px;
    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 {
    grid-column: company;
    grid-row: 1;
    min-width: 0;
    margin: 0;
    gap: 6px 9px;
  }
  .idea-feed .idea-feed-rows .sr-pills-wrap {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
  }
  .idea-feed .idea-feed-rows .ticker-pill {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
    gap: 10px;
    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 .ticker-pill:not(:first-child) { display: none; }
  .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; }
  .idea-feed .idea-feed-rows .sr-company-heading { display: flex; align-items: center; gap: 8px; }
  .idea-feed .idea-feed-rows .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: 2px 5px;
    border-radius: 4px;
    color: #35c990;
    background: #10271f;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
  }
  .idea-feed .idea-feed-rows .tp-short .sr-direction,
  .idea-feed .idea-feed-rows .tp-avoid .sr-direction { color: #ef7e87; background: #2a161e; }
  .idea-feed .idea-feed-rows .tp-watch .sr-direction,
  .idea-feed .idea-feed-rows .tp-close .sr-direction { color: var(--exp-text-sec); background: #1a2330; }
  .idea-feed .idea-feed-rows .sr-more-tickers {
    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); }
  .idea-feed .idea-feed-rows .sr-result {
    display: flex;
    flex-direction: column;
    gap: 3px;
    grid-column: result;
    grid-row: 1;
    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 .sr-result-symbol { font-size: 10px; color: var(--exp-text-muted); }
  .idea-feed .idea-feed-rows .ticker-pct { display: none; }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-meta { grid-column: company / source; }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-result { display: none; }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-pills-wrap {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .idea-feed .idea-feed-rows .sr-row.expanded .ticker-pill {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) var(--fd-result-width);
    column-gap: 10px;
    min-height: 40px;
    width: 100%;
  }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-company-mark { grid-column: 1; grid-row: 1; }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-company-identity { grid-column: 2; grid-row: 1; }
  .idea-feed .idea-feed-rows .sr-row.expanded .ticker-pill:first-child .sr-company-identity { padding-right: 38px; }
  .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: 3;
    grid-row: 1;
    justify-self: start;
    margin-left: 0 !important;
    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-tickers {
    position: absolute;
    top: 8px;
    right: calc(var(--fd-result-width) + var(--fd-column-gap));
    width: 28px;
  }
  .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;
  }
  .idea-feed .idea-feed-rows .sr-thesis:not(.sr-thesis-full) {
    font-size: 13px;
    font-weight: 500 !important;
    color: var(--exp-text-body) !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; }
  .idea-feed .idea-feed-rows .sr-row.expanded .sr-thesis:not(.sr-thesis-full) { white-space: normal; }
  .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-pill:hover .ticker-symbol-text,
.idea-feed .idea-feed-rows a.ticker-pill:focus-visible .ticker-symbol-text { 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: 1500px) {
  .idea-feed {
    --fd-columns: [time] 68px [author] 220px [company] 236px [result] 96px [source] 186px [thesis] minmax(0, 1fr) [save] 28px;
    --fd-result-width: 96px;
    --fd-column-gap: 20px;
  }
}
@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) {
  .idea-feed--without-author { --fd-columns: [time] 56px [company] minmax(180px, 236px) [result] 82px [source] minmax(130px, 186px) [thesis] minmax(0, 1fr) [save] 28px; }
  .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 (min-width: 1500px) {
  .idea-feed--without-author { --fd-columns: [time] 68px [company] 236px [result] 96px [source] 186px [thesis] minmax(0, 1fr) [save] 28px; }
}
@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; }
