/* Reviewed briefings share the GPPT palette and a single reading column. */
.trends-workspace {
  --tw-paper: var(--paper, #f0f1ee);
  --tw-card: var(--cp-card, #fbfcf8);
  --tw-ink: var(--ink, #302c3a);
  --tw-soft: var(--ink-soft, #514c5d);
  --tw-mute: var(--ink-mute, #706b7b);
  --tw-rule: var(--rule, #dcdbe0);
  --tw-accent: var(--accent, #61537e);
  --tw-tint: var(--accent-soft, #e9e6ed);
  max-width: 850px;
  margin: 0 auto;
  color: var(--tw-ink);
}
.trends-workspace *, .trends-workspace *::before, .trends-workspace *::after { box-sizing: border-box; }
.trends-workspace [hidden] { display: none !important; }
.trends-workspace a { color: var(--tw-accent); text-decoration: none; }
.trends-workspace :is(button, input, select, textarea) { font: inherit; }
.trends-workspace :is(button, summary, input[type=submit]) { cursor: pointer; }
.trends-workspace :is(a, button, summary, input, select, textarea):focus-visible { outline: 2px solid var(--tw-accent); outline-offset: 4px; }
.trends-workspace p { white-space: normal; overflow-wrap: anywhere; }
.trends-workspace svg { flex-shrink: 0; }
.trends-workspace .trends-masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0 24px; margin: 0; border: 0; }
.trends-workspace .trends-masthead h1 { margin: 0; color: var(--tw-ink); font-size: 38px; line-height: 1.15; font-weight: 800; letter-spacing: -1.3px; }
.trends-workspace .trends-suggest-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--tw-accent); font-weight: 700; }
.trends-suggest-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.trends-workspace .trends-layout { display: block; max-width: none; padding: 0; color: var(--tw-ink); }
.trends-workspace .trends-feed { min-width: 0; }
.trends-workspace .trends-search { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; padding: 4px 8px 4px 16px; border: 1px solid var(--tw-rule); background: var(--tw-card); border-radius: 12px; }
.trends-workspace .trends-search svg { width: 19px; height: 19px; color: var(--tw-mute); }
.trends-workspace .trends-search input[type=search] { width: 100%; min-width: 0; min-height: 46px; padding: 0; font-size: 15px; color: var(--tw-ink); border: 0; outline: none; box-shadow: none; background: transparent; }
.trends-workspace .trends-search input[type=search]::placeholder { color: var(--tw-mute); opacity: 1; }
.trends-workspace .trends-search input[type=submit] { min-height: 42px; border: 0; border-radius: 7px; background: var(--tw-tint); color: var(--tw-accent); font-size: 13px; font-weight: 750; padding: 8px 14px; }
.trends-workspace .trends-search:focus-within { border-color: var(--tw-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tw-accent) 8%, transparent); }
.trends-workspace .trends-filters { display: flex; gap: 28px; border-bottom: 1px solid var(--tw-rule); margin: 0; }
.trends-workspace .trends-filters a { display: inline-flex; align-items: center; min-height: 51px; padding: 12px 2px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--tw-mute); font-size: 15px; }
.trends-workspace .trends-filters a[aria-current=page] { color: var(--tw-accent); border-bottom-color: var(--tw-accent); font-weight: 800; }
.trends-query-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; margin: 20px 0 0; color: var(--tw-soft); }
.trends-query-summary a { text-decoration: underline; text-underline-offset: 3px; }
.trends-workspace #trends-posts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; border: 0; }
.trends-workspace .trend-post { position: relative; min-width: 0; padding: 27px 0 23px; border: 0; border-bottom: 1px solid var(--tw-rule); border-radius: 0; background: transparent; scroll-margin-top: 20px; }
.trends-workspace .trend-draft-status { font-size: 12px; color: var(--tw-mute); margin: 0 0 10px; }
.trends-workspace .trend-heading { display: block; margin: 0 0 13px; }
.trends-workspace .trend-heading h2 { margin: 0; font: inherit; }
.trends-workspace .trend-title { color: var(--tw-accent); font-size: 25px; font-weight: 800; line-height: 1.25; letter-spacing: -.5px; }
.trends-workspace .trend-title:hover { color: var(--tw-accent); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.trends-workspace .trend-body { padding: 0; }
.trends-workspace .trend-question { margin: 0 0 13px; padding: 0; border: 0; }
.trends-workspace .trend-claim { font-size: 16px; line-height: 1.6; font-weight: 600; margin: 0; color: var(--tw-ink); }
.trends-workspace .trend-claim::before { content: "“"; }
.trends-workspace .trend-claim::after { content: "”"; }
.trends-workspace .trend-takeaway { color: var(--tw-ink); font-size: 16px; line-height: 1.7; font-weight: 650; margin: 15px 0 10px; }
.trends-workspace .trend-note { padding: 0; border: 0; border-radius: 0; background: transparent; }
.trends-workspace summary { min-height: 44px; padding: 10px 0; font-size: 14px; font-weight: 650; line-height: 1.6; color: var(--tw-accent); }
.trends-workspace .trend-full-context > summary { width: fit-content; }
.trends-workspace .trend-note p { margin: 5px 0 13px; color: var(--tw-soft); font-size: 15px; line-height: 1.75; }
.trends-workspace .trend-note .trend-gp-implication { color: var(--tw-ink); }
.trend-gp-implication strong { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 800; }
.trends-workspace .trend-actions { display: flex; align-items: stretch; gap: 16px; margin: 15px 0 0; border-bottom: 1px solid var(--tw-rule); }
.trends-workspace .trend-tabs { display: flex; align-items: stretch; flex: 1; min-width: 0; gap: 24px; }
.trends-workspace .trend-tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 0; margin-bottom: -1px; min-height: 48px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--tw-mute); font-size: 13px; font-weight: 650; line-height: 1.5; white-space: nowrap; }
.trends-workspace .trend-tab:hover { color: var(--tw-accent); }
.trends-workspace .trend-tab[aria-selected=true] { color: var(--tw-accent); border-bottom-color: var(--tw-accent); font-weight: 800; }
.trends-workspace .trend-actions .trend-save { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 7px; background: transparent; color: var(--tw-soft); }
.trends-workspace .trend-actions .trend-save:hover { background: var(--tw-tint); color: var(--tw-accent); }
.trends-workspace .trend-actions svg { width: 17px; height: 17px; }
.trends-workspace .trend-actions form { display: inline-flex; margin: 0 0 0 auto; }
.trends-workspace .trend-actions .trend-save { width: 44px; min-width: 44px; min-height: 48px; margin-left: auto; padding: 9px; }
.trend-save[data-saved=true] svg { fill: var(--tw-accent); }
.trends-workspace .trend-tab-panels { padding-top: 18px; }
.trends-workspace :is(.trend-conversation, .trend-evidence, .trend-models) { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--tw-soft); font-size: 15px; line-height: 1.75; }
.trends-workspace :is(.trend-conversation, .trend-evidence, .trend-models) p { color: var(--tw-soft); font-size: 15px; line-height: 1.75; margin: 8px 0 14px; }
.trends-workspace :is(.trend-conversation, .trend-evidence, .trend-models) h3 { margin: 0 0 12px; color: var(--tw-ink); font-size: 17px; font-weight: 800; }
.trends-workspace :is(.trend-conversation, .trend-evidence, .trend-models) h4 { font-size: 14px; font-weight: 800; margin: 20px 0 5px; color: var(--tw-ink); }
.trend-panel-heading { display: flex; align-items: baseline; justify-content: flex-end; gap: 12px; }
.trends-workspace .trend-conversation .trend-patient-response { padding: 15px 18px; border-left: 3px solid var(--tw-accent); color: var(--tw-ink); background: color-mix(in srgb, var(--tw-accent) 4%, transparent); }
.trends-workspace .trend-source { padding: 12px 0; }
.trends-workspace .trend-source > a { display: block; color: var(--tw-accent); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.trends-workspace .trend-source > time { display: block; font-size: 13px; color: var(--tw-mute); margin-top: 5px; }
.trends-workspace .trend-models p strong { display: block; color: var(--tw-ink); font-size: 14px; margin-bottom: 5px; }
.trend-revision { padding: 8px 0; }
.trends-workspace .trend-discussion { margin: 15px 0 10px; }
.trends-workspace .trend-discovery-context { margin: 0 0 10px; color: var(--tw-soft); font-size: 14px; line-height: 1.65; }
.trends-workspace .trend-discussion-links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.trends-workspace .trend-social-source { display: block; padding: 11px 14px; border: 1px solid var(--tw-rule); border-radius: 8px; background: color-mix(in srgb, var(--tw-card) 70%, transparent); }
.trends-workspace .trend-social-source:hover { border-color: var(--tw-accent); }
.trend-social-platform { display: block; color: var(--tw-accent); font-size: 12px; font-weight: 800; margin-bottom: 4px; }
.trend-social-title { display: block; color: var(--tw-soft); font-size: 14px; line-height: 1.5; }
.trends-workspace .trend-more-discussion { min-height: 44px; border: 0; padding: 8px 0; color: var(--tw-accent); font-size: 13px; background: transparent; }
.trends-workspace .trend-discussion-origin p { margin: 0 0 12px; color: var(--tw-soft); font-size: 14px; line-height: 1.65; }
.trend-discussion-origin a { text-decoration: underline; text-underline-offset: 3px; }
.trends-workspace textarea { display: block; width: 100%; min-height: 100px; padding: 12px; border: 1px solid var(--tw-rule); border-radius: 8px; background: var(--tw-card); color: var(--tw-ink); font-size: 15px; }
.trends-workspace :is(.trend-patient-statement, .trend-patient-challenge blockquote) { margin: 0 0 12px; padding: 0; border: 0; color: var(--tw-ink); font-size: 17px; line-height: 1.6; font-weight: 700; }
.trends-workspace :is(.trend-patient-statement, .trend-patient-challenge blockquote)::before { content: "“"; }
.trends-workspace :is(.trend-patient-statement, .trend-patient-challenge blockquote)::after { content: "”"; }
.trends-workspace .trend-patient-challenges { margin-top: 22px; }
.trends-workspace .trend-patient-challenge { padding: 18px 0 4px; border-top: 1px solid var(--tw-rule); }
.trends-workspace .trends-rail { margin-top: 35px; padding: 0; }
.trends-workspace .trends-rail h2 { margin: 0 0 10px; color: var(--tw-ink); font-size: 16px; font-weight: 800; }
.trends-workspace .trends-rail-topic { display: block; padding: 10px 0; font-size: 15px; line-height: 1.5; color: var(--tw-soft); }
.trends-rail-topic:hover { color: var(--tw-accent); text-decoration: underline; text-underline-offset: 3px; }
.trends-workspace .trends-feed-footer { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 30px; margin-top: 25px; padding-top: 8px; border: 0; }
.trends-workspace :is(.trends-suggest, .trends-email) { max-width: 600px; margin: 0; padding: 0; border: 0; color: var(--tw-soft); font-size: 14px; line-height: 1.7; }
.trends-workspace :is(.trends-suggest, .trends-email)[open] { flex-basis: 100%; }
.trends-workspace :is(.trends-suggest, .trends-email) p { margin: 4px 0 12px; }
.trends-workspace :is(.trends-suggest, .trends-email) a { color: var(--tw-accent); text-decoration: underline; text-underline-offset: 3px; }
.trends-workspace :is(.trends-suggest, .trends-email) label { display: block; font-size: 14px; margin: 8px 0 6px; }
.trends-workspace select { min-height: 44px; padding: 9px 12px; border: 1px solid var(--tw-rule); border-radius: 7px; background: var(--tw-card); color: var(--tw-ink); font-size: 14px; }
.trends-workspace :is(.trends-suggest, .trends-email) input[type=submit] { min-height: 44px; padding: 9px 15px; border: 0; border-radius: 7px; margin: 12px 0; background: var(--tw-accent); color: #fff; font-size: 14px; font-weight: 700; }
.trends-workspace .trends-more { display: inline-flex; align-items: center; min-height: 44px; margin: 23px 0 0; font-size: 15px; font-weight: 700; color: var(--tw-accent); }
.trends-workspace .trends-empty { padding: 45px 0; color: var(--tw-soft); font-size: 15px; text-align: left; }
.trends-workspace .trends-empty h2 { font-size: 23px; font-weight: 800; margin: 0 0 14px; }
.trends-workspace .trends-empty a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 22px; color: var(--tw-accent); font-size: 14px; font-weight: 700; }
.trends-update-banner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 15px; padding: 13px 16px; border-radius: 8px; background: var(--tw-tint); color: var(--tw-accent); font-size: 14px; }
.trends-update-banner a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.trends-workspace .trends-back { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; color: var(--tw-accent); margin: 0 0 5px; }
.trends-workspace .trends-design-controls { margin-top: 40px; color: var(--tw-mute); }
.trends-design-picker { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.trends-design-picker a { display: inline-flex; align-items: center; min-height: 44px; }
.trends-design-picker a[aria-current=page] { text-decoration: underline; text-underline-offset: 5px; }
.trends-design-gallery { max-width: 1140px; margin: 40px auto; padding: 0 25px; color: #302c3a; }
.trends-design-gallery h1 { font: 700 36px/1.2 system-ui, sans-serif; margin: 0 0 25px; }
.trends-design-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.trends-design-option { display: block; color: inherit; text-decoration: none; }
.trends-design-option > div:last-child { padding: 20px 0; }
.trends-design-option h2 { font-size: 19px; margin: 0 0 10px; }
.trends-design-option p { color: #706b7b; font-size: 14px; line-height: 1.7; }
.trends-design-miniature { height: 220px; padding: 25px; background: var(--tw-paper, #f0f1ee); border-top: 2px solid var(--tw-accent, #61537e); }
.trends-design-miniature strong { display: block; font-size: 28px; letter-spacing: -1px; margin: 12px 0 25px; }
.trends-design-miniature i { display: block; height: 36px; margin: 12px 0; border-bottom: 1px solid var(--tw-rule, #dcdbe0); }
.trends-unsubscribe { max-width: 650px; margin: 60px auto; padding: 25px; line-height: 1.8; }
/* Alternate reading styles stay available to existing links and admin previews. */
.trends-style-clinical { --tw-accent: #346a58; --tw-tint: #e7efea; }
.trends-style-journal { --tw-paper: #f8f4ed; --tw-card: #fcfaf6; --tw-ink: #39352e; --tw-soft: #625a4d; --tw-mute: #776e60; --tw-rule: #ded5c6; --tw-accent: #9c5638; --tw-tint: #f0e7db; }
.trends-style-journal .trends-masthead h1, .trends-workspace.trends-style-journal .trend-title { font-family: Georgia, serif; font-weight: 400; }
@media (max-width: 650px) {
  .trends-workspace .trends-masthead { padding: 15px 0 19px; gap: 12px; }
  .trends-workspace .trends-masthead h1 { font-size: 32px; }
  .trends-workspace .trends-suggest-link { font-size: 13px; }
  .trends-workspace .trends-search { padding-left: 12px; gap: 8px; }
  .trends-workspace .trends-search input[type=search] { font-size: 14px; }
  .trends-workspace .trends-search input[type=submit] { padding: 8px 10px; }
  .trends-workspace .trend-post { padding: 23px 0 20px; }
  .trends-workspace .trend-title { font-size: 22px; }
  .trends-workspace .trend-actions { gap: 8px; }
  .trends-workspace .trend-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) minmax(0, 1.4fr); gap: 12px; }
  .trends-workspace .trend-tabs:has(> :last-child:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trends-workspace .trend-tab { min-height: 62px; padding: 10px 0; font-size: 12px; line-height: 1.35; white-space: normal; }
  .trends-workspace .trend-tab svg { display: none; }
  .trends-workspace .trend-actions .trend-save { width: 44px; min-width: 44px; }
  .trends-workspace .trend-conversation .trend-patient-response { padding: 12px; }
  .trends-design-options { grid-template-columns: 1fr; }
}
@media print {
  .trends-design-controls, .trends-search, .trends-filters, .trends-rail, .trends-feed-footer, .trend-actions, .trends-update-banner, .trends-suggest-link { display: none !important; }
  .trends-workspace .trends-layout, .trends-workspace #trends-posts { display: block; }
  .trends-workspace .trend-post { break-inside: avoid; }
}

/* Patient questions: a short consultation answer with optional editorial depth. */
.trends-workspace { max-width: 760px; }
.trends-workspace .trends-masthead { align-items: flex-start; gap: 16px; padding-bottom: 22px; }
.trends-workspace .trends-masthead h1 { font-size: clamp(27px, 3.5vw, 38px); letter-spacing: -1px; }
.trends-workspace .trends-suggest-link { white-space: nowrap; font-size: 13px; }
.trends-workspace #trends-posts { gap: 20px; padding-top: 20px; }
.trends-workspace .trend-post { padding: 24px 28px; border: 1px solid var(--tw-rule); border-radius: 14px; background: #fff; }
.trends-workspace .trend-eyebrow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-bottom: 9px; font-size: 11px; line-height: 1.5; color: var(--tw-mute); }
.trends-workspace .trend-eyebrow > span { font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--tw-accent); }
.trends-workspace .trend-heading { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.trends-workspace .trend-title { font-size: clamp(22px, 2.5vw, 28px); letter-spacing: -.6px; }
.trends-workspace .trend-heading form { margin: 0; }
.trends-workspace .trend-save { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; flex-shrink: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tw-mute); }
.trends-workspace .trend-save:hover { background: var(--tw-tint); }
.trends-workspace .trend-save svg { width: 19px; height: 19px; }
.trends-workspace .trend-post { font-size: 16px; line-height: 1.65; }
.trends-workspace .trend-evidence { font-size: inherit; line-height: inherit; }
.trends-workspace .trend-evidence p { font-size: inherit; line-height: inherit; margin: 10px 0; }
.trends-workspace .trend-evidence .trend-assessment { margin: 12px 0 8px; color: var(--tw-ink); }
.trends-workspace .trend-conversation { padding: 0; margin: 24px 0 0; border: 0; border-radius: 0; background: transparent; font-size: inherit; line-height: inherit; }
.trends-workspace .trend-conversation :is(p, h3, h4, button, summary) { font-size: inherit; line-height: inherit; letter-spacing: normal; }
.trends-workspace .trend-panel-heading { align-items: center; justify-content: space-between; margin: 0 0 8px; }
.trends-workspace .trend-panel-heading h3 { margin: 0; color: var(--tw-ink); font-weight: 650; }
.trends-workspace .trend-conversation .trend-patient-response { border: 0; padding: 0; margin: 0 0 14px; background: transparent; color: var(--tw-ink); }
.trends-workspace :is(.trend-followup, .trend-longer, .trend-evidence-detail) { margin: 0; padding: 0; border: 0; }
.trends-workspace :is(.trend-followup, .trend-longer, .trend-evidence-detail) > summary { padding: 9px 0; color: var(--tw-accent); font-size: inherit; font-weight: 500; line-height: inherit; }
.trends-workspace .trend-followup > .trend-patient-response { margin: 0; padding: 4px 0 0 18px; }
.trends-workspace .trend-evidence-detail h4 { font-size: inherit; font-weight: 650; margin: 16px 0 6px; }
.trends-workspace .trend-source { display: block; padding: 10px 0; border: 0; }
.trends-workspace .trend-source > a { text-decoration: underline; text-underline-offset: 3px; }
.trends-workspace .trend-evidence .trend-source-note { font-size: 13px; color: var(--tw-mute); margin: 5px 0; }
.trends-workspace .trend-models { padding: 0; }
.trends-workspace .trend-usefulness { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--tw-mute); }
.trends-workspace .trend-usefulness button { border: 0; background: transparent; color: var(--tw-accent); min-height: 36px; padding: 5px; text-decoration: underline; text-underline-offset: 3px; }
.trends-workspace .trends-search-note { font-size: 13px; color: var(--tw-mute); line-height: 1.6; }
.trends-workspace .trends-search-note a { text-decoration: underline; }
.trends-workspace .trends-source-input { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--tw-rule); border-radius: 8px; background: var(--tw-card); color: var(--tw-ink); font-size: 15px; }
@media (max-width: 600px) {
  .trends-workspace .trends-masthead { flex-wrap: wrap; gap: 3px; }
  .trends-workspace .trends-masthead .trends-suggest-link { min-height: 36px; }
  .trends-workspace .trends-filters { gap: 20px; }
  .trends-workspace .trends-filters a { font-size: 13px; }
  .trends-workspace .trend-post { padding: 20px 16px; }
}
