body.cp-page:has(.trends-layout) { background: #fff; }
.cp-page:has(.trends-layout) .app-sidebar__link.is-active { background: transparent; box-shadow: none; }
.cp-page:has(.trends-layout) .app-sidebar__nav { gap: 6px; }
.trends-layout { display: grid; grid-template-columns: minmax(0, 650px) minmax(130px, 1fr); gap: 38px; padding: 12px 0 45px; color: var(--ink); }
#trends-posts { border-top: 1px solid var(--line); }
.trends-layout [hidden] { display: none !important; }
.trends-feed { min-width: 0; }
.trends-header { display: flex; align-items: center; justify-content: space-between; padding: 0 22px 20px; }
.trends-header h1 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.6px; }
.trends-tools { display: flex; align-items: center; gap: 16px; font-size: 12px; color: #96899d; }
.trends-tools button { border: 0; padding: 5px; background: none; color: inherit; cursor: pointer; }
.trends-tools svg { width: 18px; height: 18px; }
.trends-search { display: flex; align-items: center; gap: 10px; margin: 0 22px 18px; padding-bottom: 10px; border-bottom: 1px solid #d7c9db; }
.trends-search svg { width: 16px; height: 16px; flex-shrink: 0; color: #a08aa8; }
.trends-search input[type="search"] { border: 0; background: none; width: 100%; min-width: 0; padding: 2px 0; font: inherit; font-size: 14px; color: var(--ink); outline: none; box-shadow: none; }
.trends-search:focus-within { border-bottom-color: var(--accent); }
.trend-post { padding: 25px 22px 22px; border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.trend-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.trend-heading > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.trend-topic-icon { width: 33px; height: 33px; border-radius: 50%; background: #eee8f2; color: #967da2; flex-shrink: 0; display: grid; place-items: center; }
.trend-topic-icon svg { width: 17px; height: 17px; }
.trend-title { font-size: 14px; font-weight: 800; }
.trend-title:hover { text-decoration: underline; }
.trend-origin { color: #9d8ca6; font-size: 11px; }
.trend-body { padding-left: 43px; }
.trend-claim { font-size: 17px; line-height: 1.65; margin: 0 0 15px; white-space: pre-line; overflow-wrap: anywhere; }
.trend-claim:has(+ .trend-discovery-context) { margin-bottom: 7px; }
.trend-discovery-context { margin: 0 0 17px; color: #81738b; font-size: 12px; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }
.trend-note { background: #f6f5f7; border-radius: 4px; padding: 13px 15px 12px; }
.trend-note p { margin: 0; color: #706777; font-size: 13px; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }
.trend-actions { display: flex; flex-wrap: wrap; gap: 8px 23px; align-items: center; margin-top: 14px; }
.trend-actions button { display: inline-flex; align-items: center; gap: 6px; padding: 3px 0; border: 0; background: none; color: #93809e; font: inherit; font-size: 11px; white-space: nowrap; cursor: pointer; }
.trend-actions button:hover, .trend-actions [aria-expanded="true"] { color: var(--accent); }
.trend-actions svg { width: 14px; height: 14px; }
.trend-conversation { padding-top: 19px; }
.trend-conversation p { font-size: 15px; line-height: 1.8; color: #74617e; margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.trend-copy { float: right; display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; padding: 4px 0 4px 8px; font: inherit; font-size: 10px; border: 0; background: #fff; color: #a88db5; cursor: pointer; }
.trend-copy svg { width: 12px; height: 12px; }
.trend-evidence { padding-top: 20px; font-size: 12px; line-height: 1.8; color: #887592; }
.trend-evidence > p { margin: 0 0 8px; }
.trend-evidence a { font-weight: 650; text-decoration: underline; }
.trend-source-note, .trend-review-date { color: #9c8ca6; font-size: 11px; }
.trend-models { padding-top: 8px; font-size: 12px; line-height: 1.8; color: #887592; }
.trend-history { margin-top: 16px; }
.trend-history summary { cursor: pointer; font-size: 11px; color: #8f77a0; }
.trend-models p, .trend-history p { margin: 12px 0 0; overflow-wrap: anywhere; }
.trend-feedback { font-size: 11px; color: var(--accent); margin: 12px 0 0; }
.trends-ongoing { padding-top: 94px; }
.trends-ongoing h2 { margin: 0 0 22px; font-size: 12px; font-weight: 750; color: #7a6b83; }
.trends-ongoing a { display: block; margin: 0 0 21px; font-size: 12px; line-height: 1.6; color: #918399; overflow-wrap: anywhere; }
.trends-ongoing a:hover { color: var(--accent); }
.trends-empty { padding: 55px 22px; text-align: center; color: #97849f; font-size: 14px; }
.trends-empty p { margin: 0 0 14px; }
.trends-empty a { font-size: 12px; color: var(--accent); }
.trends-end, .trends-more { display: block; font-size: 11px; margin: 31px 0 20px 65px; color: #a28eac; }
.trends-more { color: var(--accent); }
.trends-layout button:focus-visible, .trends-layout a:focus-visible, .trends-layout summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 1199px) {
  .trends-layout { display: block; max-width: 700px; }
  .trends-ongoing { display: none; }
}
@media (max-width: 650px) {
  .trends-layout { padding-top: 0; }
  .trends-header { padding: 0 4px 19px; }
  .trends-search { margin-left: 4px; margin-right: 4px; }
  .trend-post { padding: 23px 4px 21px; }
  .trend-heading { margin-bottom: 12px; gap: 9px; }
  .trend-heading > div { display: block; }
  .trend-origin { display: block; margin-top: 2px; font-size: 10px; }
  .trend-body { padding-left: 0; }
  .trend-claim { font-size: 16px; line-height: 1.7; }
  .trend-actions { column-gap: 20px; }
  .trend-conversation p { font-size: 14px; }
  .trends-end, .trends-more { margin-left: 4px; }
}
