/* Particle-inspired reading surface. Keep this layer scoped to the Daily app. */
:root {
  --brand-blue: #005bea;
  --brand-cyan: #00bee6;
  --brand-green: #46b900;
  --brand-yellow: #ffc400;
  --blue: #0056c7;
  --cyan: #08758b;
  --green: #347d20;
  --yellow: #75610c;
  --coral: #a45127;
  --paper: #f5f9fa;
  --carbon: #162920;
  --muted: #58685f;
  --line: #d9e5e1;
  --line-soft: #eaf0ed;
}
body { background: #fff; font-family: Arial, Helvetica, sans-serif; padding-bottom: 0; }
button, input, select, textarea { font-family: inherit; letter-spacing: 0; }
.evidence-command-bar { height: 76px; padding: 12px 28px; grid-template-columns: auto auto minmax(140px, 1fr) auto; gap: 18px; background: linear-gradient(100deg, #e9f1ff, #fff 62%, #eff8e6); box-shadow: none; }
.evidence-command-bar .brand-title { font: 800 16px/1 Arial, Helvetica, sans-serif; }
.evidence-command-bar .brand-mark { width: 32px; height: 32px; }
.evidence-command-bar .global-search { min-height: 40px; max-width: 300px; justify-self: end; background: rgba(255,255,255,.6); border-radius: 999px; }
.evidence-command-bar .global-search kbd { display: none; }
.evidence-command-bar .status-banner { position: relative; display: flex; width: 12px; min-width: 12px; padding: 0; border: 0; background: transparent; overflow: visible; }
.evidence-command-bar .status-banner #status-text, .evidence-command-bar .status-banner #status-detail { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.evidence-command-bar .evidence-tabs { position: static; inset: auto; width: auto; height: auto; padding: 0; gap: 2px; border: 0; background: transparent; box-shadow: none; }
.evidence-tabs .tab { min-height: 40px; flex: 0 0 auto; padding: 0 9px; color: #77706e; background: transparent; box-shadow: none; border-radius: 999px; }
.evidence-tabs .tab span { font-size: 12px; font-weight: 600; }
.evidence-tabs .tab i { font-size: 16px; }
.evidence-command-bar .evidence-tabs .tab.active { background: #e2eeff; color: var(--blue); box-shadow: inset 0 -2px var(--brand-blue); }
.evidence-command-bar .icon-button, .evidence-command-bar .account-button { border-radius: 999px; min-height: 40px; }
.monitor-panel { padding: 76px 0 0; }
.particle-feed-shell { width: 100%; max-width: 1800px; grid-template-columns: 224px minmax(0, 1fr); }
.monitor-panel, .particle-feed-main { background: transparent; }
.particle-feed-shell { background: linear-gradient(115deg, #eaf7fa 0%, #fff 37%, #fff 100%); }
.topic-rail { min-height: calc(100vh - 76px); padding: 30px 20px; background: transparent; box-shadow: none; }
.topic-rail-primary { margin-bottom: 24px; }
.topic-rail-primary button { font-size: 16px; padding: 11px 13px; }
.topic-rail-primary button.active { background: #e1efff; color: var(--blue); box-shadow: none; }
.topic-rail-list { gap: 5px; }
.topic-rail-list button { min-height: 36px; padding: 8px 10px; font: 600 16px/1.3 Arial, Helvetica, sans-serif; border-radius: 999px; }
.topic-rail-list button.scroll-active, .topic-rail-list button.active { font-size: 16px; transform: none; box-shadow: none; }
.topic-rail-label { font-size: 12px; font-weight: 600; }
.topic-rail-following > p:not(.topic-rail-label) { font-size: 12px; }
.topic-rail-following .text-button { color: var(--blue); }
.particle-feed-main { padding: 29px 24px 64px; }
.particle-feed-heading { align-items: center; margin-bottom: 20px; gap: 12px; }
.particle-feed-heading h1 { font: 800 36px/1.1 Arial, Helvetica, sans-serif; }
.particle-feed-heading .eyebrow { font-size: 12px; margin-bottom: 6px; font-weight: 600; }
.particle-heading-actions { flex: 0 0 auto; gap: 8px; }
.particle-heading-actions .review-time { display: none; }
.particle-heading-actions .icon-button { width: 36px; height: 36px; flex-basis: 36px; }
.particle-heading-actions .button { border: 0; box-shadow: none; min-height: 38px; font-size: 12px; white-space: nowrap; }
.topic-ribbon { gap: 24px; margin: 0 0 20px; padding: 2px 0 10px; }
.topic-ribbon::before, .topic-ribbon::after { display: none; }
.topic-ribbon button { font-size: 16px; font-weight: 600; color: #08758b; }
.topic-ribbon button:hover { color: var(--blue); }
.topic-ribbon button.active { color: #163c75; }
.evidence-list-view { position: relative; }
.story-stream-heading[hidden] { display: none; }
.desk-filters { position: relative; inset: auto; display: flex; justify-content: flex-end; margin: 0 0 12px; z-index: 3; }
.desk-filters summary { min-height: 30px; padding: 0 10px; background: rgba(255,255,255,.7); box-shadow: none; font-size: 12px; }
.desk-filters[open] .filter-bar { z-index: 5; }
.story-cluster-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; grid-auto-flow: row; gap: 16px; }
.story-cluster-grid > .story-cluster-card { position: relative; display: block; grid-column: span 4; width: 100%; height: 300px; min-height: 0; padding: 0; border: 0; border-radius: 15px; box-shadow: none; cursor: pointer; }
.story-cluster-grid > .story-cluster-card:first-child { grid-column: span 7; height: 340px; }
.story-cluster-grid > .story-cluster-card:nth-child(2) { grid-column: span 5; height: 340px; }
.story-cluster-grid > .story-cluster-card:nth-child(7n + 5) { grid-column: span 4; }
.story-cluster-grid > .story-cluster-card:nth-child(9n + 6), .story-cluster-grid > .story-cluster-card:nth-child(9n + 7) { grid-column: span 6; }
.story-cluster-grid > .story-cluster-card:hover, .story-cluster-grid > .story-cluster-card:nth-child(even):hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(36,34,33,.1); }
.story-cluster-card .article-image, .story-cluster-card:first-child .article-image, .story-cluster-card:nth-child(4n + 2) .article-image, .story-cluster-card:nth-child(7n + 5) .article-image { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; object-fit: cover; mask-image: none; -webkit-mask-image: none; transition: none; }
.story-cluster-card:hover .article-image { filter: none; transform: none; }
.story-cluster-card { --card-colour: #3569bd; }
.story-cluster-card[data-tone="coral"] { --card-colour: #1657a3; background: var(--card-colour); }
.story-cluster-card[data-tone="blue"] { --card-colour: #086e83; background: var(--card-colour); }
.story-cluster-card[data-tone="green"] { --card-colour: #2e6d31; background: var(--card-colour); }
.story-cluster-card[data-tone="amber"] { --card-colour: #736015; background: var(--card-colour); }
.story-cluster-card[data-tone="violet"] { --card-colour: #176c95; background: var(--card-colour); }
.story-cluster-card[data-tone="ink"] { --card-colour: #334d49; background: var(--card-colour); }
.story-cluster-card.academic-evidence { --card-colour: #315e61; outline: 2px solid #e58b48; outline-offset: -2px; }
.story-cluster-card::after { content: ""; position: absolute; z-index: 0; inset: 22% 0 0; pointer-events: none; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--card-colour) 88%, transparent) 43%, var(--card-colour) 78%); }
.story-cluster-card .article-card-body { position: absolute; z-index: 1; inset: auto 0 0; display: block; min-height: 0; padding: 16px 17px; background: none; }
.story-cluster-card .article-meta { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-size: 12px; font-weight: 400; color: #fff; text-transform: uppercase; }
.story-cluster-card h4 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin: 0 0 7px; font: 700 16px/1.23 Arial, Helvetica, sans-serif; }
.story-cluster-card .article-card-body > .muted { margin: 0; font-size: 16px; line-height: 1.3; color: #f1f1f1; -webkit-line-clamp: 3; }
.story-cluster-card .article-actions { position: absolute; inset: 12px 12px auto auto; z-index: 2; display: flex; gap: 6px; margin: 0; padding: 0; border: 0; }
.story-cluster-card .article-actions .ghost, .story-cluster-card .article-actions .article-link { display: grid; place-items: center; width: 34px; height: 34px; min-width: 34px; min-height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: #253b33; backdrop-filter: blur(8px); }
.story-cluster-card .article-actions i { font-size: 16px; }
.story-cluster-card .article-actions span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.story-cluster-card .academic-inline-badge { display: inline-flex; margin-bottom: 7px; padding: 0; border: 0; background: none; font-size: 12px; color: #fff; }
.story-cluster-card.without-image::after { inset: 0; background: linear-gradient(140deg, rgba(255,255,255,.12), transparent); }
.story-cluster-card.without-image .article-card-body > .muted { -webkit-line-clamp: 5; }

/* A full-width reading page with source reporting beside the overview. */
.detail-drawer { position: fixed; z-index: 122; inset: 0; width: 100%; max-height: none; height: 100dvh; padding: 26px max(28px, calc((100vw - 1180px) / 2)) 72px; transform: none; border: 0; border-radius: 0; background: linear-gradient(180deg, #e9f6fb 0, #fff 420px); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; overflow-y: auto; }
.detail-drawer .detail-close { position: sticky; top: 0; float: right; width: 40px; height: 40px; z-index: 4; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); }
.reader-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 42px; min-height: 330px; margin: 35px 0 45px; clear: both; }
.reader-heading { min-width: 0; }
.detail-drawer h2 { max-width: none; margin: 10px 0 16px; font: 750 36px/1.12 Arial, Helvetica, sans-serif; color: #151916; }
.detail-drawer .eyebrow { font-size: 12px; color: #42627f; }
.detail-meta { font-size: 12px; line-height: 1.6; }
.detail-summary { font-size: 16px; line-height: 1.6; }
.reader-images { display: grid; gap: 14px; }
.reader-images figure { margin: 0; min-width: 0; }
.reader-images figure + figure { display: none; }
.reader-images img { width: 100%; height: 280px; border-radius: 17px; object-fit: cover; box-shadow: 0 12px 24px rgba(28,43,63,.12); }
.reader-images figcaption { margin-top: 8px; max-width: 440px; font-size: 12px; line-height: 1.4; color: #727773; overflow-wrap: anywhere; }
.reader-columns { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr); gap: 58px; }
.reader-columns h3 { margin: 0 0 20px; font: 700 16px/1.3 Arial, Helvetica, sans-serif; color: #151916; }
.detail-story-points { margin: 0; padding: 0; border: 0; }
#detail-story-points { gap: 18px; }
.detail-source-point { position: relative; border: 0; padding: 0 0 0 19px; }
.detail-source-point::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: #4876b7; border-radius: 50%; }
.detail-source-point p { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.65; margin-bottom: 5px; }
.detail-source-point a { font-size: 12px; font-weight: 400; }
.source-citations { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 8px; }
.source-citations a { color: #285d87; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.reader-evidence-note { font-size: 12px; line-height: 1.6; color: #716d66; margin: 8px 0 20px; }
.coverage-difference { padding: 16px 0; border-bottom: 1px solid #e7ddd5; }
.coverage-difference p { line-height: 1.6; }
.following-list { display: grid; gap: 5px; margin: 12px 0; font-size: 12px; color: #716d66; }
.followed-subject { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; text-align: left; padding: 5px 0; font-size: 12px; color: #595b52; }
.followed-subject span { overflow-wrap: anywhere; }
.follow-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #262c27; box-shadow: 0 24px 90px #152e2326; overflow-y: auto; }
.follow-dialog::backdrop { background: #192d344d; backdrop-filter: blur(7px); }
body.follow-open { overflow: hidden; }
.follow-dialog .modal-heading { align-items: flex-start; }
.follow-dialog h2 { font-size: 24px; }
.follow-dialog h3 { font-size: 16px; }
.follow-dialog p, .follow-dialog small, .follow-search-label { font-size: 12px; }
.follow-categories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 20px 0; padding: 4px; background: #eeeee8; border-radius: 8px; }
.follow-categories button { display: grid; justify-items: center; gap: 5px; padding: 10px 3px; border: 0; border-radius: 6px; color: #646c61; background: transparent; font-size: 12px; }
.follow-categories button[aria-pressed="true"] { background: #fffdf9; color: #244e3c; box-shadow: 0 1px 4px #1b3e2420; }
.follow-categories i { font-size: 16px; }
.follow-dialog input { display: block; width: 100%; min-width: 0; margin-top: 7px; padding: 12px; border: 1px solid #d6d9ce; border-radius: 8px; font-size: 16px; background: white; color: #262c27; }
.follow-save-status { min-height: 20px; margin: 8px 0; color: #855238; }
.follow-results { display: grid; max-height: 290px; overflow-y: auto; overscroll-behavior: contain; }
.follow-result { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee9e1; }
.follow-result strong { display: block; font-size: 16px; overflow-wrap: anywhere; }
.follow-result small { display: block; margin-top: 4px; color: #716d66; }
.follow-toggle[aria-pressed="true"] { color: #24715a; background: #e6f1e8; }
.follow-current { margin: 22px 0 12px; }
#follow-current-list { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #716d66; }
.follow-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; background: #eaf0e8; color: #365945; border: 0; border-radius: 6px; padding: 8px 10px; font-size: 12px; }
.follow-chip span { overflow-wrap: anywhere; }
.follow-dialog :focus-visible { outline: 2px solid #285d87; outline-offset: 3px; }
.follow-dialog button:disabled { opacity: .55; cursor: wait; }
.follow-dialog .modal-actions { position: sticky; bottom: 0; padding: 12px 0; margin-bottom: -12px; background: #fff; z-index: 1; }
.morning-pulse-headlines > li { padding: 18px 0 18px 8px; }
.morning-pulse-headlines .brief-story-open { display: block; width: 100%; border: 0; background: transparent; text-align: left; padding: 0; }
.morning-pulse-headlines .brief-story-open strong { font-size: 16px; line-height: 1.5; color: #26392e; }
.brief-story-summary { margin: 8px 0; font-size: 16px; line-height: 1.6; }
.brief-story-impact { padding: 10px 12px; margin: 10px 0; background: #edf1e9; border-radius: 6px; font-size: 12px; line-height: 1.6; }
.brief-story-basis { font-size: 12px; color: #716d66; line-height: 1.5; }
.morning-pulse-research > summary { cursor: pointer; padding: 12px 0; font-size: 16px; font-weight: 600; }
.reader-sources { min-width: 0; }
#detail-source-list { display: grid; gap: 12px; }
#detail-source-list a { display: block; padding: 15px; background: #f8f9fa; border-radius: 12px; color: #1c211e; text-decoration: none; }
#detail-source-list a:hover { background: #eef3f8; }
#detail-source-list strong { display: block; margin-top: 8px; font-size: 16px; line-height: 1.35; font-weight: 600; }
.reader-publisher, #detail-source-list small { display: block; color: #727873; font-size: 12px; line-height: 1.4; }
.reader-publisher img { display: inline-block; width: 18px; height: 18px; margin-right: 7px; vertical-align: middle; object-fit: contain; }
.reader-quotes { margin-top: 30px; }
.reader-quotes blockquote { margin: 0 0 18px; padding: 0; border: 0; background: none; }
.reader-quotes p { margin: 0 0 8px; font: 400 16px/1.65 Georgia, "Times New Roman", serif; }
.reader-quotes a { font-size: 12px; }
#detail-source-list small { margin-top: 8px; }
.detail-actions { display: flex; gap: 8px; margin-top: 28px; }
.detail-actions .button { border-radius: 999px; font-size: 12px; }
.detail-related { margin-top: 30px; padding-top: 20px; }
#detail-related-list { display: grid; gap: 12px; }
#detail-related-list a { font-size: 16px; line-height: 1.5; }
#detail-related-list .related-evidence-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; background: #f0f7fa; text-decoration: none; box-shadow: 0 2px 8px #163c7510; transition: background 160ms ease, transform 160ms ease; }
#detail-related-list .related-evidence-card span { font-size: 12px; color: #58685f; }
#detail-related-list .related-evidence-card:hover { background: #e2f1fa; transform: translateY(-2px); }
#detail-related-list .related-evidence-card:focus-visible { outline: 2px solid #005bea; outline-offset: 3px; }
.subject-link, #detail-tags .subject-link, .detail-source-point .subject-link { color: #137baa; font-family: inherit; font-size: 17px; font-weight: 750; text-decoration: none; }
.subject-link:hover, #detail-tags .subject-link:hover { color: #0056c7; text-decoration: underline; text-underline-offset: 3px; }
.story-cluster-card .subject-link { color: #b9eaff; font-size: 17px; }
.story-cluster-card .subject-link:hover { color: #fff; }
.feed-loading { display: flex; min-height: 210px; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: #42627f; font-size: 16px; }
.feed-loading[hidden] { display: none; }
.pulse-loader { width: 96px; height: 72px; flex: 0 0 auto; }
.pulse-current path { stroke-dasharray: 9 91; animation: pulse-electricity 1600ms linear infinite; }
.pulse-current path:nth-child(2) { animation-delay: -530ms; }
.pulse-current path:nth-child(3) { animation-delay: -1060ms; }
.feed-loading.is-refreshing { min-height: 56px; flex-direction: row; justify-content: flex-start; }
.feed-loading.is-refreshing .pulse-loader { width: 44px; height: 36px; }
@keyframes pulse-electricity { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) { .pulse-current path { animation: none; stroke-dasharray: none; opacity: .4; } #detail-related-list .related-evidence-card { transition: none; } #detail-related-list .related-evidence-card:hover { transform: none; } }
.detail-coverage-notes { padding: 0; border-radius: 0; background: none; margin-top: 30px; }
#detail-coverage-notes p { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.6; }
body.detail-open { overflow: hidden; }
button:focus-visible, a:focus-visible { outline: 2px solid #315c9a; outline-offset: 3px; }

@media (min-width: 1500px) {
  .story-cluster-grid > .story-cluster-card { grid-column: span 3; }
  .story-cluster-grid > .story-cluster-card:first-child, .story-cluster-grid > .story-cluster-card:nth-child(2), .story-cluster-grid > .story-cluster-card:nth-child(3) { grid-column: span 4; height: 340px; }
  .story-cluster-grid > .story-cluster-card:nth-child(7n + 5), .story-cluster-grid > .story-cluster-card:nth-child(9n + 6), .story-cluster-grid > .story-cluster-card:nth-child(9n + 7) { grid-column: span 3; }
}
@media (max-width: 1180px) and (min-width: 761px) {
  .evidence-command-bar { gap: 10px; padding-inline: 16px; }
  .evidence-command-bar .brand-title { display: none; }
  .evidence-command-bar .global-search { max-width: 230px; }
  .evidence-command-bar .evidence-tabs .tab { flex-direction: row; }
  .particle-feed-shell { grid-template-columns: 200px minmax(0, 1fr); }
  .topic-rail { padding-inline: 14px; }
  .topic-rail-list button { white-space: nowrap; }
  .story-cluster-grid > .story-cluster-card, .story-cluster-grid > .story-cluster-card:first-child, .story-cluster-grid > .story-cluster-card:nth-child(2), .story-cluster-grid > .story-cluster-card:nth-child(7n + 5), .story-cluster-grid > .story-cluster-card:nth-child(9n + 6), .story-cluster-grid > .story-cluster-card:nth-child(9n + 7) { grid-column: span 6; height: 320px; }
  .particle-heading-actions #personalise-feed { display: inline-flex; }
}
@media (min-width: 761px) and (max-width: 820px) {
  .particle-feed-shell { display: grid; }
  .topic-rail { position: sticky; top: 76px; min-height: calc(100vh - 76px); overflow: visible; }
  .topic-rail-primary, .topic-rail-list { display: grid; width: auto; float: none; }
  .topic-rail-primary { margin-bottom: 20px; }
  .topic-rail-label, .topic-rail-following { display: block; }
}
@media (min-width: 1000px) and (max-width: 1180px) {
  .evidence-command-bar .brand-title { display: inline; }
  .evidence-command-bar .brand { gap: 6px; }
  .evidence-command-bar .global-search { max-width: 200px; }
}
@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .evidence-command-bar { grid-template-columns: auto minmax(0, 1fr) auto; padding: 10px 14px; gap: 10px; }
  .evidence-command-bar .brand-title { display: none; }
  .evidence-command-bar .global-search { width: 100%; max-width: none; }
  .evidence-command-bar .evidence-tabs { position: fixed; inset: auto 10px 8px; height: 56px; width: auto; display: flex; justify-content: space-around; padding: 4px; border: 1px solid rgba(0,0,0,.06); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: 0 4px 22px rgba(0,0,0,.08); }
  .evidence-command-bar .evidence-tabs .tab { flex: 1; min-height: 46px; flex-direction: column; gap: 3px; }
  .evidence-command-bar .evidence-tabs .tab span { font-size: 12px; }
  .evidence-command-bar .utility-actions > .icon-button, .evidence-command-bar .notification-control { display: none; }
  .particle-feed-shell { display: block; }
  .topic-rail { position: sticky; z-index: 30; top: 76px; min-height: 0; padding: 8px 14px; background: linear-gradient(90deg, #eaf7fa, #fff); overflow-x: auto; }
  .topic-rail-primary, .topic-rail-list { display: flex; width: max-content; gap: 4px; margin: 0; }
  .topic-rail-primary { float: left; margin-right: 8px; }
  .topic-rail-label, .topic-rail-following { display: none; }
  .topic-rail-primary button, .topic-rail-list button { white-space: nowrap; font-size: 12px; min-height: 34px; padding: 7px 10px; }
  .particle-feed-main { padding: 23px 14px 32px; }
  .particle-feed-heading { flex-direction: row; align-items: start; flex-wrap: wrap; gap: 14px; }
  .particle-feed-heading h1 { font-size: 36px; }
  .particle-heading-actions { gap: 7px; }
  .particle-heading-actions #personalise-feed { display: inline-flex; }
  .topic-ribbon { gap: 20px; margin: 0 0 9px; }
  .topic-ribbon button { font-size: 12px; }
  .desk-filters { margin-bottom: 9px; }
  .story-cluster-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .story-cluster-grid > .story-cluster-card, .story-cluster-grid > .story-cluster-card:first-child, .story-cluster-grid > .story-cluster-card:nth-child(2), .story-cluster-grid > .story-cluster-card:nth-child(7n + 5), .story-cluster-grid > .story-cluster-card:nth-child(9n + 6), .story-cluster-grid > .story-cluster-card:nth-child(9n + 7) { grid-column: auto; height: 310px; }
  .story-cluster-card .article-actions { opacity: 1; transform: none; }
  .detail-drawer { inset: 0; width: 100%; height: 100dvh; max-height: none; padding: 15px 20px 40px; border-radius: 0; transform: none; }
  .reader-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 24px 0 30px; min-height: 0; }
  .detail-drawer h2 { font-size: 36px; }
  .reader-images img { height: 210px; }
  .reader-columns { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .detail-actions { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .story-cluster-grid > .story-cluster-card:hover { transform: none; }
  .story-cluster-card .article-actions { transition: none; }
}

/* Both feeds share ordered topic sections and the same topic rail. */
.topic-feed { display: block; }
.topic-feed-section { min-width: 0; margin-bottom: 36px; scroll-margin-top: 108px; }
.topic-section-heading { margin: 0 0 15px; color: #303734; font: 600 16px/1.3 Arial, Helvetica, sans-serif; }
.topic-section-heading:focus { outline: none; }
.topic-rail-list button[data-section-topic] { white-space: normal; }
.topic-rail-list button[data-section-topic].scroll-active { color: #fff; background: var(--section-colour); }
.research-panel.section-panel { width: 100%; max-width: none; padding: 76px 0 0; }
.research-panel .particle-feed-shell { background: linear-gradient(115deg, #eff8e8, #fff 37%); }
.research-status { margin: 10px 0 0; color: #8c582e; font-size: 12px; }
.research-filters { position: relative; margin: 0 0 20px; }
.research-filters > summary { display: inline-flex; align-items: center; gap: 7px; padding: 7px 0; list-style: none; color: #73655e; font-size: 12px; cursor: pointer; }
.research-filters > summary::-webkit-details-marker { display: none; }
.research-filters .filter-bar { margin: 10px 0 0; }
.story-cluster-card .research-card-byline { overflow: hidden; margin: 0 0 7px; font-size: 12px; color: rgba(255,255,255,.9); white-space: nowrap; text-overflow: ellipsis; }
.story-cluster-card.publication-card .article-card-body { min-height: 0; display: block; }
.story-cluster-card.publication-card { background: var(--card-colour); }
.story-cluster-card .publication-image-label { position: absolute; z-index: 2; inset: 12px auto auto 12px; padding: 5px 8px; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: #8c502a; font-size: 12px; }
.story-cluster-card.publication-card[data-loaded-image-kind="institution"] .article-image { object-fit: contain; padding: 22px 28px 150px; background: #fff; }

.story-cluster-card .article-actions { right: 54px; }
.content-feedback-menu { position: absolute; top: 12px; right: 12px; z-index: 5; color: #253b33; }
.content-feedback-menu > summary { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.94); cursor: pointer; list-style: none; }
.content-feedback-menu > summary::-webkit-details-marker { display: none; }
.content-feedback-menu > summary i { font-size: 20px; }
.content-feedback-options { position: absolute; right: 0; top: 42px; width: 185px; padding: 5px; border-radius: 8px; background: #fff; box-shadow: 0 8px 30px #0003; }
.content-feedback-options button { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 40px; padding: 8px; text-align: left; border: 0; border-radius: 4px; background: transparent; color: #253b33; font: inherit; }
.content-feedback-options button:hover, .content-feedback-options button:focus-visible { background: #edf4ee; }
.research-card-affiliation { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 2px 0 6px; font-size: 12px; line-height: 1.4; color: #fff; overflow-wrap: anywhere; }
.research-card-byline { overflow-wrap: anywhere; }
.detail-abstract p { white-space: pre-line; line-height: 1.7; overflow-wrap: anywhere; }
.muted-source-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.muted-source-row span { overflow-wrap: anywhere; min-width: 0; }
.toast button { color: inherit; text-decoration: underline; }
.ai-response { white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-source-list { white-space: normal; display: grid; gap: 12px; margin-top: 24px; padding-left: 24px; line-height: 1.5; }
.ask-source-list a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.section-panel .eyebrow, .particle-feed-heading .eyebrow { color: var(--cyan); }
.button.primary, .primary { background: var(--blue); border-color: var(--blue); }
.button.primary:hover, .primary:hover { background: #00459f; border-color: #00459f; }
.account-avatar { background: #e4f5d8; color: var(--green); }
@media (max-width: 600px) {
  .story-cluster-card .publication-image-label { top: 54px; }
}
.topic-feed-section .story-cluster-card:only-child { grid-column: 1 / -1; height: 300px; }

@media (min-width: 1181px) {
  .topic-feed-section .story-cluster-grid:has(> .story-cluster-card:nth-child(3):last-child) > .story-cluster-card { grid-column: span 4; height: 320px; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .topic-feed-section .story-cluster-card:nth-child(3):last-child { grid-column: 1 / -1; height: 300px; }
}

@media (max-width: 1180px) {
  .topic-feed-section .story-cluster-card:only-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .topic-feed-section { margin-bottom: 28px; scroll-margin-top: 180px; }
  .topic-feed-section .story-cluster-card:only-child { grid-column: auto; }
  .research-panel .topic-rail { background: linear-gradient(90deg, #eff8e8, #fff); }
  .research-panel .filter-bar { flex-wrap: wrap; }
}
/* Quiet reading state and source choices, within the existing workspace. */
.read-marker { opacity: .9; }
.read-marker[aria-pressed="true"] { opacity: .65; }
#preferred-source-options { max-height: 260px; overflow: auto; margin-block: 12px; }
#preferred-source-options label { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
#preferred-source-options label[hidden] { display: none; }
#preferred-source-options input { width: 18px; height: 18px; flex: 0 0 18px; }
#brief-history .button { margin: 4px; }
#brief-history-dialog { width: min(760px, calc(100% - 32px)); max-height: 85dvh; padding: 24px; border: 1px solid #d9e4ea; border-radius: 16px; color: inherit; background: #fff; }
#brief-history-dialog::backdrop { background: #10242b80; }
#brief-history-dialog pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; max-height: 58dvh; overflow: auto; }
