/* Approved A portal: source metadata, a leading story, and a separate heat ranking. */
.app-workspace main.shell:has(> .news-workspace) { padding: 0; max-width: none; }
.news-workspace { color: var(--text); }
.news-workspace [hidden] { display: none !important; }
.news-workspace ::selection { background: #dbe8fb; color: #142b4d; }
.news-sr-only, .news-workspace[data-loading="false"] .news-feed-status, .news-workspace[data-refreshing="true"] .news-feed-status, #intel-hot-status[data-state="ready"] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; padding-right: 20px; align-items: start; }
.news-stream { min-width: 0; padding: 0 30px; background: var(--surface); }
.news-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; border-bottom: 1px solid var(--line); }
.news-categories { display: flex; gap: 5px; align-items: center; min-width: 0; }
.news-categories button, .news-category-more summary { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 8px 9px; border: 0; background: transparent; color: #5b6474; font-size: .9375rem; font-weight: 500; white-space: nowrap; border-radius: 6px; }
.news-categories button:hover, .news-category-more summary:hover { color: var(--purple-deep); background: var(--paper); }
.news-categories button[aria-pressed="true"] { color: #244c94; font-weight: 750; }
.news-categories > button, .news-category-more > summary { position: relative; }
.news-categories > button[aria-pressed="true"]::after, .news-category-more:has([aria-pressed="true"]) > summary::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: -8px; height: 2px; border-radius: 2px; background: #315a99; }
.shell .news-category-more { position: relative; margin: 0; }
.news-category-more summary { cursor: pointer; list-style: none; }
.news-category-more summary::-webkit-details-marker { display: none; }
.news-category-more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.news-category-menu { position: absolute; z-index: 20; top: calc(100% + 3px); left: 0; display: grid; grid-template-columns: repeat(2, minmax(90px, 1fr)); padding: 8px; min-width: 240px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.news-category-menu button { justify-content: flex-start; }
.news-category-more:has([aria-pressed="true"]) > summary { color: #244c94; font-weight: 750; }
.news-stream-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.news-order { display: flex; gap: 4px; }
.news-order button { min-height: 36px; padding: 7px 10px; border: 0; background: transparent; color: #667082; font-size: .8125rem; white-space: nowrap; }
.news-order button[aria-pressed="true"] { background: #e9f0fa; color: #2b4f86; font-weight: 700; }
.news-order button:hover { background: var(--paper); color: var(--purple-deep); }
.news-refresh { min-width: 36px; min-height: 36px; padding: 8px; border: 0; background: transparent; color: #667082; font-size: 0; }
.news-refresh svg, .news-hot-refresh svg, .news-assistant-cta svg, .news-hot-shortcut svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.news-refresh span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.news-hot-shortcut { display: none; }
.news-feed-context { position: relative; }
.news-context-summary { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.news-workspace:has(.news-categories button[aria-pressed="true"]:not([data-feed-category=""])) .news-context-summary, .news-workspace:has(#intel-feed-active-topic:not([hidden])) .news-context-summary { position: static; width: auto; height: auto; clip-path: none; padding-top: 12px; color: var(--muted); font-size: .8125rem; }
.news-active-topic { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .8125rem; }
.news-active-topic > span { min-width: 0; overflow-wrap: anywhere; }
.news-active-topic button { flex: none; color: var(--purple-deep); font-size: .8125rem; }
.news-feed-status { color: var(--muted); font-size: .8125rem; }
.news-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title title" "summary summary" "topics topics" "meta actions" "details details"; column-gap: 20px; row-gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
.shell .news-title { grid-area: title; font-size: 22px; font-weight: 700; line-height: 1.45; letter-spacing: -.02em; margin: 0; text-wrap: pretty; }
.news-title a { color: #18263c; text-decoration: none; }
.news-title a:hover { color: #244c94; text-decoration: underline; text-underline-offset: .18em; }
.news-summary { grid-area: summary; margin: 0; color: #5b6474; font-size: 16px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.news-topics { grid-area: topics; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-width: 0; }
.news-model-category, .news-model-pending { color: var(--muted); font-size: .8125rem; font-weight: 550; }
.news-model-category { color: var(--purple-deep); }
.news-topic { min-height: 32px; max-width: 100%; padding: 4px 10px; border: 0; border-radius: 6px; background: #edf2f9; color: #3f5574; font-size: .8125rem; line-height: 1.5; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.news-topic:hover, .news-topic[aria-pressed="true"] { background: #e6edf8; color: #244c94; }
.news-item-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; color: #697284; font-size: .75rem; line-height: 1.65; font-variant-numeric: tabular-nums; }
.news-item-meta .news-category { color: #596678; font-weight: 500; }
.news-summary-kind { font-size: .6875rem; color: #697284; }
.news-item-actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: flex-end; align-items: flex-start; font-size: .75rem; line-height: 1.6; }
.news-item-actions a { color: #586a83; padding: 2px 0; }
.news-item-actions a:hover { color: #244c94; }
.shell .news-model-details { grid-area: details; margin: 0; min-width: 0; }
.news-model-details summary { color: #697284; font-size: .6875rem; line-height: 1.6; padding: 2px 0; cursor: pointer; width: fit-content; }
.news-model-details[open] { grid-area: auto; grid-column: 1 / -1; }
.news-model-details p { margin: 10px 0; color: var(--muted); font-size: .8125rem; line-height: 1.7; }
.news-model-details > time, .news-model-details > span { display: inline-block; margin: 5px 12px 0 0; color: var(--muted); font-size: .75rem; }
.news-reading-options { display: flex; gap: 20px; margin-top: 12px; font-size: .8125rem; }
.news-reading-options a { display: inline-flex; align-items: center; min-height: 36px; }
.news-item--lead { grid-template-columns: minmax(0, 1fr) 264px; grid-template-areas: "label media" "title media" "summary media" "topics media" "meta meta" "details actions"; column-gap: 28px; row-gap: 8px; padding: 22px 0 18px; }
.news-lead-label { grid-area: label; margin: 0; color: #315a99; font-size: .875rem; line-height: 1.5; font-weight: 700; }
.shell .news-item--lead .news-title { font-size: 32px; line-height: 1.4; font-weight: 750; letter-spacing: -.025em; }
.news-item--lead .news-summary { -webkit-line-clamp: 3; line-height: 1.7; }
.news-lead-media { grid-area: media; margin: 0; min-width: 0; align-self: center; position: relative; }
.news-lead-media img { width: 100%; height: auto; aspect-ratio: 320 / 220; object-fit: cover; border-radius: 10px; display: block; }
.news-feed-error, .news-empty { padding: 32px 0; text-align: center; overflow-wrap: anywhere; }
.news-feed-error { color: var(--danger); }
.news-feed-error > p { margin: 0 0 16px; }
.news-feed-error > a, .news-empty > a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 12px; }
.news-empty h3 { margin: 0 0 10px; }
.news-empty p { color: var(--muted); margin: 0 0 20px; }
.news-feed-footer { padding: 22px 0; text-align: center; }
.news-feed-footer button { min-width: 160px; }
.news-feed-footer p { color: var(--muted); font-size: .75rem; margin: 14px 0 0; }
.news-workspace button:disabled { opacity: .65; cursor: wait; }
.news-workspace :is(button, summary, a):focus-visible { outline: 2px solid #315a99; outline-offset: 4px; border-radius: 4px; }
.news-aside { min-width: 0; padding-top: 22px; }
.shell .news-hot-section { position: relative; margin: 0 0 20px; border: 0; border-radius: 16px; background: var(--surface); padding: 20px; }
.news-hot-section > summary { display: flex; align-items: center; gap: 8px; padding: 0; color: #202c40; font-size: 18px; font-weight: 700; list-style: none; cursor: pointer; min-height: 28px; }
.news-hot-section > summary::-webkit-details-marker { display: none; }
.news-hot-icon { width: 22px; height: 22px; fill: #ed6941; }
.news-hot-chevron { display: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.news-hot-refresh { position: absolute; right: 15px; top: 16px; display: flex; align-items: center; gap: 4px; min-height: 36px; padding: 5px; border: 0; color: #697284; background: transparent; font-size: .75rem; }
.news-hot-refresh:hover { color: #244c94; }
.news-hot-refresh svg { width: 14px; height: 14px; }
.news-hot-note { margin: 7px 0 13px; font-size: .75rem; color: #697284; }
#intel-hot-list { list-style: none; margin: 0; padding: 0; }
.news-hot-item { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 7px; align-items: baseline; margin: 0; padding: 3px 0; min-height: 44px; font-size: .875rem; line-height: 1.5; }
.news-hot-rank { color: #697284; font-variant-numeric: tabular-nums; font-weight: 650; }
.news-hot-item:nth-child(-n+3) .news-hot-rank { color: #cf432b; }
.news-hot-item:nth-child(2) .news-hot-rank { color: #b45b17; }
.news-hot-item:nth-child(3) .news-hot-rank { color: #966c16; }
.news-hot-title { color: #354157; text-decoration: none; }
.news-hot-title:hover { color: #244c94; text-decoration: underline; text-underline-offset: .18em; }
#intel-hot-status { color: var(--muted); font-size: .8125rem; line-height: 1.65; margin-bottom: 0; }
#intel-hot-status[data-state="error"] { color: var(--danger); }
.news-assistant-promo { position: relative; display: flex; align-items: center; overflow: hidden; padding: 24px 20px; background: var(--surface); border-radius: 16px; min-height: 191px; }
.news-assistant-promo > div { position: relative; z-index: 1; }
.shell .news-assistant-promo h2 { margin: 0 0 9px; font-size: 18px; line-height: 1.55; color: #202c40; }
.news-assistant-promo p { margin: 0 0 14px; color: #697284; font-size: .75rem; line-height: 1.7; }
.news-assistant-cta { display: inline-flex; gap: 20px; align-items: center; justify-content: center; min-height: 40px; padding: 9px 16px; border-radius: 999px; border: 0; background: #142942; color: #fff; font-size: .8125rem; }
.news-assistant-cta:hover { background: #244566; }
@media (min-width: 1051px) { body:has(.news-workspace) { --sidebar-width: 208px; } }
@media (max-width: 1380px) and (min-width: 1051px) { .news-layout { grid-template-columns: minmax(0, 1fr) 300px; } .news-stream { padding-inline: 24px; } .news-item--lead { grid-template-columns: minmax(0, 1fr) 230px; column-gap: 22px; } .news-toolbar { gap: 6px; } .news-categories { gap: 0; } .news-categories button, .news-category-more summary { padding-inline: 7px; } }
@media (max-width: 1150px) and (min-width: 901px) { .news-layout { grid-template-columns: minmax(0, 1fr) 270px; } .news-item--lead { grid-template-columns: minmax(0, 1fr) 200px; column-gap: 18px; } .news-toolbar { flex-wrap: wrap; padding: 7px 0; gap: 0; } .news-stream-actions { margin-left: auto; } }
@media (max-width: 900px) { .news-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 0; } .news-stream { padding-inline: 24px; } .news-aside { padding: 0 24px 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; } .shell .news-hot-section { margin: 0; } .news-hot-shortcut { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-height: 36px; font-size: .75rem; color: #586a83; } .news-hot-chevron { display: block; margin-left: auto; } .news-hot-section[open] .news-hot-chevron { transform: rotate(180deg); } .news-hot-section[open] > summary { padding-right: 60px; } .news-hot-section[open] .news-hot-chevron { display: none; } .news-item--lead { padding-top: 14px; } }
@media (max-width: 640px) {
  .news-stream { padding-inline: 18px; }
  .news-toolbar { flex-wrap: wrap; gap: 0; padding: 6px 0; }
  .news-categories { width: 100%; justify-content: space-between; gap: 0; }
  .news-categories button, .news-category-more summary { padding-inline: 7px; font-size: .875rem; }
  .news-category-menu { left: auto; right: 0; }
  .news-stream-actions { margin-left: auto; }
  .news-order button { min-height: 36px; font-size: .75rem; }
  .news-hot-shortcut { margin-top: 3px; }
  .news-item { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title title" "summary summary" "topics topics" "meta meta" "details actions"; column-gap: 10px; padding: 18px 0; row-gap: 9px; }
  .shell .news-title { font-size: 20px; }
  .news-topics { justify-content: flex-start; }
  .news-item--lead { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label label" "title title" "summary summary" "media media" "topics topics" "meta meta" "details actions"; padding-top: 14px; gap: 12px 10px; }
  .shell .news-item--lead .news-title { font-size: 28px; }
  .news-lead-media { width: 100%; }
  .news-lead-media img { aspect-ratio: 320 / 180; max-height: 220px; }
  .news-item-meta { font-size: .6875rem; gap: 3px 9px; }
  .news-aside { display: block; padding: 0 18px 24px; }
  .shell .news-hot-section { margin-bottom: 16px; scroll-margin-top: 16px; }
  .news-assistant-promo { min-height: 190px; }
  .news-empty > a, .news-feed-error > a { display: flex; justify-content: center; margin: 12px 0 0; }
}
