/* topstack.news · Shared editorial layout for the live feed and server-rendered pages. */
/* Coupled facet counts stay compact and never alter the three-rail structure. */
.topic .facet-count{font-size:.72em;opacity:.72;font-weight:400;font-variant-numeric:tabular-nums;margin-left:.4em}
.topic.facet-zero .facet-count{opacity:.55}

@font-face { font-family: "Open Sans"; src: url("assets/fonts/open-sans-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/open-sans-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/open-sans-latin-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/open-sans-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --sans: "Open Sans", Arial, sans-serif;
  --gutter: clamp(1rem, 3.25vw, 4rem);
  --radius: 0.5rem;
  --reader-inset: clamp(1.25rem, 4vw, 2.75rem);
  --bg: #141a23;
  --paper: #1b222c;
  --paper-alt: #222d39;
  --soft: #263442;
  --hover: #2c3948;
  --text: #f7f8fa;
  --muted: #eef1f5;
  --quiet: #dde3ea;
  --accent: #ffda00;
  --signal: #ffda00;
  --brand: #ffd600;
  --sun: #ffda00;
  --selection-ink: #101720;
  --button: #084987;
  --header: #032e5b;
  --header-mid: #003a77;
  --header-text: #ffffff;
  --header-muted: #eef5fa;
  --header-selected: #084987;
  --header-control: #a5b8ce;
  --header-focus: #ffda00;
  --header-hover: #144c80;
  --line: #626d79;
  --control: #99a7b7;
  --card-border: #3b4552;
  --hero-start: #171d25;
  --hero-middle: #17242f;
  --hero-end: #0c4169;
  --shadow: rgb(0 0 0 / 35%);
  --rule-accent: var(--accent);
  --photo-light: .86;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f9f7f6;
  --paper: #edf5f6;
  --paper-alt: #d0e7ea;
  --soft: #e3edf4;
  --hover: #e3edf6;
  --text: #0b1c41;
  --muted: #152543;
  --quiet: #27354b;
  --accent: #0642bc;
  --signal: #0642bc;
  --selection-ink: #ffffff;
  --header: #033e77;
  --header-mid: #00509a;
  --line: #aabdd1;
  --control: #627895;
  --card-border: #9bb6cc;
  --hero-start: #fafafb;
  --hero-middle: #eef5f9;
  --hero-end: #a8d6f2;
  --shadow: rgb(28 54 75 / 18%);
  --rule-accent: transparent;
  --photo-light: 1;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: 1rem; }
body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.45 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.reader-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent); color: var(--selection-ink); }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; inset: .5rem auto auto .5rem; z-index: 100; padding: .6rem; background: var(--paper); }
.container { width: min(calc(100% - var(--gutter) * 2), 108rem); margin-inline: auto; }
.label-de, :lang(de) > .label-en { display: none; }
:lang(de) > .label-de { display: inline; }

/* Masthead and horizontal navigation */
.masthead, body > .topics-bar:not(.manufacturers-bar) {
  background: linear-gradient(105deg, var(--header), var(--header-mid) 63%, var(--header));
  color: var(--header-text);
  border-bottom: 1px solid var(--header-control);
}
.masthead-inner {
  min-height: 4.3125rem;
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  align-items: center;
  gap: 1.25rem;
}
.wordmark { display: flex; align-items: center; gap: 1.5rem; width: fit-content; }
.wordmark > span { white-space: nowrap; font-size: clamp(2rem, 2.55vw, 2.6rem); font-weight: 700; letter-spacing: -.055em; line-height: 1; }
.wordmark-dot { color: var(--brand); }
.wordmark small {
  padding-left: 1.5rem; border-left: 1px solid var(--header-control);
  white-space: pre-line; font-size: .875rem; line-height: 1.3; letter-spacing: -.025em;
}
.search-toolbar, .search-wrap { min-width: 0; }
.search-toolbar-inner { display: flex; align-items: center; gap: clamp(1rem, 4.1vw, 4rem); }
.search-wrap { flex: 1; }
.search-form {
  display: flex; align-items: center; gap: .5rem; height: 2.5rem; padding-inline: 1rem;
  border: 1px solid #dce6f3; border-radius: .375rem; background: rgb(0 17 39 / 20%);
}
.search-form:focus-within { outline: 2px solid var(--header-focus); outline-offset: 2px; }
.search-form input {
  order: 0; flex: 1; min-width: 0; height: 100%; padding: 0;
  border: 0; outline: 0; background: transparent; color: white; font-size: .875rem;
}
.search-form input::placeholder { color: #f5f8fc; opacity: 1; }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-form > .icon-search { order: 2; width: 1.15rem; height: 1.15rem; flex: none; }
.search-trigger { display: none; }
.clear-btn, .reset-top, .topics-arrow, .topic, .utility-link, .text-control { border: 0; background: transparent; }
.clear-btn { display: grid; place-items: center; order: 1; padding: .25rem; }
.clear-btn svg { width: 1rem; height: 1rem; }
.reset-top { min-height: 2.5rem; padding: 0; font-size: .875rem; white-space: nowrap; }
.reset-top:not(:disabled):hover, .utility-link:hover { text-decoration: underline; }
.masthead :focus-visible, body > .topics-bar:not(.manufacturers-bar) :focus-visible { outline-color: var(--header-focus); }
.topics-rail, .rail-viewport, .topics { min-width: 0; }
.rail-viewport { display: flex; align-items: center; }
.topics {
  display: flex; align-items: stretch; flex: 1; gap: .55rem;
  overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none;
}
.topics::-webkit-scrollbar { display: none; }
.topic, .topics-arrow { display: inline-flex; align-items: center; justify-content: center; flex: none; color: inherit; }
.topic {
  position: relative; min-height: 2.8125rem; padding: .25rem .82rem;
  font-size: .875rem; letter-spacing: -.025em; line-height: 1.3; white-space: nowrap;
}
.topic::after {
  content: ""; position: absolute; inset: auto .18rem 0; height: .3125rem;
  border-radius: .12rem .12rem 0 0; background: var(--brand); opacity: 0;
}
.topic[aria-pressed="true"] { font-weight: 700; }
.topic[aria-pressed="true"]::after { opacity: 1; }
.topic:hover { background: rgb(130 166 204 / 12%); }
.topics :focus-visible { outline-offset: -3px; }
.topics-arrow { padding: .3rem; width: 1.875rem; height: 2.6rem; }
.topics-arrow[hidden] { display: none; }
.topics-arrow svg { width: 1.05rem; height: 1.05rem; }
.manufacturers-bar {
  position: relative; z-index: 5; background: linear-gradient(var(--bg), var(--bg) 58%, var(--paper));
  border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px var(--shadow);
}
.manufacturers-bar .topics-rail { display: flex; align-items: center; gap: 1rem; }
.manufacturers-bar .rail-viewport { flex: 1; }
.manufacturers-bar .topics { gap: 1rem; }
.manufacturers-bar .topic { min-height: 2.9375rem; }
.manufacturers-bar .topic:first-child { padding-left: 0; }
.manufacturers-bar .topic[aria-pressed="true"] { color: var(--accent); }
.manufacturers-bar .topic[data-manufacturer=""] { font-weight: 400; color: inherit; }
.manufacturers-bar .topic::after { background: var(--accent); height: .18rem; }
/* The All vendors filter now uses the same active underline as other filters. */

/* Unified filter rails: shared horizontal start, fixed arrows, no clipped labels. */
body > .topics-bar .container.topics-rail {
  width: min(calc(100% - var(--gutter) * 2),108rem);
  margin-inline: auto;
}
body > .topics-bar:not(.manufacturers-bar) .topics-rail {
  min-height: 3rem;
}
body > .topics-bar .rail-viewport,
body > .topics-bar .rail-viewport.has-prev,
body > .topics-bar .rail-viewport.has-next,
body > .topics-bar .rail-viewport.has-prev.has-next {
  display: grid;
  grid-template-columns: 2rem minmax(0,1fr) 2rem;
  align-items: center;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
}
body > .topics-bar .rail-viewport .topics {
  grid-column: 2;
  grid-row: 1;
  flex: none;
  width: 100%;
  min-width: 0;
  gap: .3rem;
}
body > .topics-bar .topics-arrow {
  display: grid;
  place-items: center;
  width: 2rem;
  min-width: 2rem;
  height: 2.75rem;
  padding: .35rem;
}
body > .topics-bar .topics-arrow[hidden] {
  visibility: hidden;
  display: grid;
  pointer-events: none;
}
#topics-prev,#manufacturers-prev {grid-column:1;grid-row:1}
#topics-next,#manufacturers-next {grid-column:3;grid-row:1}
body > .topics-bar .topic {
  min-height: 2.9rem;
  padding: .45rem .65rem;
  font-size: .85rem;
  letter-spacing: -.015em;
  font-weight: 400;
}
body > .topics-bar .topic[aria-pressed="true"] {
  font-weight: 600;
}
body > .manufacturers-bar .topics-rail {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: .75rem;
}
body > .manufacturers-bar .rail-viewport {grid-column:1}
body > .manufacturers-bar .topic:first-child {padding-left:.65rem}
body > .manufacturers-bar .topic[data-manufacturer=""] {color:var(--muted)}
body > .manufacturers-bar .topic[data-manufacturer=""][aria-pressed="true"] {color:var(--accent)}








@media (max-width:760px),(hover:none) and (pointer:coarse) {
  body > .topics-bar .rail-viewport,
  body > .topics-bar .rail-viewport.has-prev,
  body > .topics-bar .rail-viewport.has-next,
  body > .topics-bar .rail-viewport.has-prev.has-next {display:block}
  body > .topics-bar .rail-viewport .topics {width:100%}
  body > .topics-bar .topics-arrow,
  body > .topics-bar .topics-arrow[hidden] {display:none}
  body > .manufacturers-bar .topics-rail {gap:.35rem}

}
@media (max-width:500px) {

  body > .topics-bar .topic {padding:.42rem .55rem;font-size:.8rem}
}



summary::-webkit-details-marker { display: none; }




.header-actions { display: flex; justify-content: space-between; gap: 1rem; }
.language-switch { display: flex; }
.header-actions .language-switch :is(button,a), .theme-toggle {
  display: inline-grid; place-items: center; min-width: 2.6rem; min-height: 2.25rem;
  border: 1px solid var(--control); background: var(--bg); color: var(--text); font-size: .85rem;
}
.header-actions .language-switch :is([aria-pressed="true"],[aria-current="page"]) { color: white; background: var(--button); }
.theme-toggle { border-radius: .3rem; }
.theme-toggle svg { width: 1.125rem; height: 1.125rem; stroke: var(--sun); }
.theme-toggle .icon-moon, :root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; stroke: var(--accent); }
.utility-link, .date-filter > summary { padding: .4rem 0; text-align: start; color: var(--text); font-size: .9rem; }
.date-range { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .5rem; }
.date-range input[type="date"] { width: 100%; min-width: 0; padding: .3rem .5rem; background: var(--bg); border: 1px solid var(--control); border-radius: .25rem; }
.date-separator { display: none; }

/* Heading, lead story and briefing */
.content { flex: 1; min-width: 0; padding-bottom: 3rem; }
.content:focus { outline: none; }
.section-heading {
  position: relative; display: flex; align-items: end; justify-content: space-between; gap: 1rem;
  padding: 1.65rem 0 .75rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--control);
}
.section-heading::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 5.7rem; height: 3px; background: var(--rule-accent);
}
.eyebrow, .feed-stats { font-size: .875rem; letter-spacing: -.035em; }
.eyebrow { display: block; margin-bottom: .25rem; color: var(--quiet); }
.heading-group h1 { margin: 0; font-size: clamp(1.9rem, 2.25vw, 2.35rem); line-height: 1.18; letter-spacing: -.045em; }
.feed-stats { display: flex; align-items: center; gap: .9rem; padding-bottom: .2rem; }
#page-label-top:not(:empty) { padding-left: .9rem; border-left: 1px solid var(--line); }
.frontpage { display: grid; grid-template-columns: minmax(0, 1.92fr) minmax(0, 1fr); gap: clamp(1rem, 1.35vw, 1.5rem); }
.frontpage.solo { grid-template-columns: minmax(0,1fr); }
.lead-slot, .briefs {
  min-width: 0; overflow: hidden; border: 1px solid var(--card-border); border-radius: .7rem;
  box-shadow: 0 .6rem 1.35rem -.25rem var(--shadow);
}
.lead-story, .brief-story, .stream-story { position: relative; min-width: 0; }
.lead-story {
  height: 100%; min-height: 16rem; isolation: isolate;
  background: linear-gradient(103deg, var(--hero-start) 12%, var(--hero-middle) 48%, var(--hero-end) 76%);
}
.lead-art {
  position: absolute; inset: 0 0 0 auto; z-index: -1; width: 37%; height: 100%;
  object-fit: cover; object-position: right center; clip-path: polygon(16% 0,100% 0,100% 100%,0 100%);
  filter: brightness(var(--photo-light));
}
.lead-link, .brief-link { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.lead-link { justify-content: center; min-height: 16rem; padding: 1.1rem 36% 1.2rem clamp(1.25rem,2.2vw,2.25rem); }
.lead-kicker {
  display: inline-block; margin-bottom: .82rem; padding: .3rem .75rem;
  border-radius: .25rem; background: var(--brand); color: #101922;
  font-size: .72rem; font-weight: 700; line-height: 1.4; letter-spacing: .15em;
}
.story-meta { margin: 0 0 .45rem; line-height: 1.05; }
.story-category { font-size: .735rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.story-meta .story-type { display: none; }
.story-title { margin: 0; font-weight: 700; letter-spacing: -.045em; overflow-wrap: anywhere; }
.lead-story .story-title { font-size: clamp(1.6rem,2.16vw,2.35rem); line-height: 1.14; }
.story-summary { margin: .5rem 0 0; color: var(--muted); font-size: .9375rem; line-height: 1.4; letter-spacing: -.025em; overflow-wrap: anywhere; }
.story-time { color: var(--text); font-size: .875rem; line-height: 1.4; letter-spacing: -.025em; }
.lead-link > time, .brief-link > time { margin-top: .65rem; }
.briefs { display: flex; flex-direction: column; background: linear-gradient(120deg,var(--paper),var(--bg) 55%,var(--paper)); }
.briefs-heading {
  flex: none; padding: .68rem 1.5rem; background: var(--paper-alt); border-bottom: 1px solid var(--card-border);
  font-size: .8rem; line-height: 1.5; font-weight: 700; letter-spacing: .18em;
}
#briefs-list, .brief-story { flex: 1; }
.brief-link { justify-content: center; padding: .85rem 1.5rem 1.2rem; }
.brief-story .story-title { font-size: clamp(1.18rem,1.48vw,1.6rem); line-height: 1.12; }
.brief-story .story-summary { margin-top: .38rem; }
:is(.lead-link,.brief-link,.stream-link):is(:hover,:focus-visible) .story-title { color: var(--accent); }
#feed a:focus-visible { outline-offset: -3px; }

/* Article list: image, text and publication date on a common baseline. */
.stream-heading { margin: 1.45rem 0 0; }
.stream-heading h2 { margin: 0; font-size: clamp(1.4rem,1.65vw,1.75rem); line-height: 1.35; letter-spacing: -.04em; }
.stream-tools { border-bottom: 1px solid var(--control); }
.news-types-bar .container { width: 100%; }
.news-types-bar .topics { gap: 1.15rem; }
.news-types-bar .topic { min-height: 2.85rem; padding: .3rem .8rem .5rem; font-size: .9375rem; }
.news-types-bar .topic::after { inset-inline: 0; background: var(--accent); }
.news-stream { margin-top: .68rem; }
.stream-story { border-bottom: 1px solid var(--line); }
.stream-link {
  display: grid; grid-template-columns: clamp(10rem,15.2vw,16.5rem) minmax(0,1fr) 9.8rem;
  column-gap: clamp(1rem,2vw,2.25rem); align-items: center; padding: .53rem 0;
}
.stream-visual {
  display: block; width: 100%; aspect-ratio: 2.92; height: auto; object-fit: cover;
  border-radius: .55rem; background: var(--soft); filter: brightness(var(--photo-light));
}
.stream-copy { min-width: 0; }
.stream-story .story-meta { margin-bottom: .28rem; }
.stream-story .story-category { font-size: .68rem; }
.stream-story .story-title { font-size: clamp(1.05rem,1.22vw,1.32rem); line-height: 1.19; letter-spacing: -.035em; }
.stream-story .story-summary { margin-top: .25rem; font-size: .88rem; }
.stream-link > time { display: grid; align-items: center; justify-content: center; min-height: 3.65rem; padding-inline: .5rem; border-left: 1px solid var(--line); }
.stream-link:not(:has(> time)) .stream-copy { grid-column: 2 / -1; }
.story-save {
  position: absolute; z-index: 2; top: .5rem; right: .5rem; width: 2rem; height: 2rem; padding: 0;
  border: 1px solid var(--control); border-radius: .3rem; background: var(--bg); color: var(--text);
  font-size: 1.2rem; line-height: 1; opacity: 0;
}
.stream-story .story-save { inset: .8rem auto auto .3rem; }
.brief-story .story-save { inset: auto .4rem .4rem auto; }
.brief-link:has(~ .story-save) { padding-bottom: 1.4rem; }
:is(article:hover,article:focus-within) > .story-save, .story-save:is(:focus-visible,[aria-pressed="true"]), .article-document .story-save { opacity: 1; }
.story-save:hover, .story-save[aria-pressed="true"] { color: var(--accent); }
.state-message {padding:32px 0;color:var(--quiet);font-size:13px}
.state-panel {padding:48px 24px;text-align:center;border:1px solid var(--line);
  border-radius:var(--radius);background:var(--paper)}
.state-panel p {margin:0 0 8px;font-size:18px}
.state-panel>span {display:block;color:var(--muted);font-size:13px}
.action-btn {min-height:42px;padding:9px 18px;margin-top:20px;border:1px solid transparent;
  background:var(--button);color:#fff;font-size:12px}
.action-btn:hover {text-decoration:underline}
.pagination {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:12px;margin-top:22px;font-size:12px}
.pagination button {min-height:39px;padding:7px 13px;border:1px solid var(--line);
  background:var(--paper);color:var(--text);font-size:12px}
.pagination button:disabled {opacity:.45}
.pagination button:hover:not(:disabled) {border-color:var(--accent)}
.page-numbers {display:inline-flex;gap:5px;flex-wrap:wrap}
.page-number[aria-current="page"] {border-color:var(--accent);color:var(--accent)}
.site-footer {margin-top:auto;border-top:1px solid var(--line)}
.footer-inner {display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:12px 28px;min-height:80px;padding-block:20px;
  color:var(--quiet);font-size:12px}
.footer-inner strong {margin-right:12px;color:var(--text);font-size:13px}
.footer-inner nav {display:flex;flex-wrap:wrap;gap:5px 22px}
.footer-inner a {display:inline-block;padding-block:5px}
.footer-inner a:hover {color:var(--accent);text-decoration:underline}

/* 09 — Article reader, legal pages and saved stories */
.reader,.bookmarks-dialog {margin:auto;padding:0;max-height:calc(100dvh - 36px);
  overflow-y:auto;overscroll-behavior:contain;background:var(--paper);
  color:var(--text);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:0 24px 65px var(--shadow)}
.reader {width:min(820px,calc(100% - 28px))}
.bookmarks-dialog {width:min(550px,calc(100% - 28px))}
.reader::backdrop,.bookmarks-dialog::backdrop {background:rgba(4,12,24,.77)}
.reader-bar {position:sticky;top:0;z-index:3;display:flex;
  justify-content:space-between;align-items:center;gap:16px;
  padding:13px var(--reader-inset);background:var(--paper);
  border-bottom:1px solid var(--line);font-size:16px;font-weight:600}
.reader-close {min-width:36px;min-height:36px;padding:6px}
.reader-close svg {width:20px;height:20px}
.reader-content {padding:34px var(--reader-inset) 46px;overflow-wrap:anywhere}
.reader-meta {display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;margin-bottom:18px}
.reader h2 {margin:0 0 22px;font-size:clamp(25px,3vw,36px);line-height:1.24;
  letter-spacing:-.035em;font-weight:700}
.reader-summary {margin:0 0 26px;color:var(--text);font-size:17px;line-height:1.72}
.reader-body p {margin:0 0 19px;color:var(--muted);font-size:15px;line-height:1.85}
.reader-source {margin-top:28px;padding-top:18px;border-top:1px solid var(--line);
  color:var(--accent);font-size:13px}
.reader-source a,.legal-related a,.legal-mail {text-decoration:underline;text-underline-offset:3px}
.article-impact {margin:28px 0 22px;padding:17px 19px;border-left:2px solid var(--accent);
  background:var(--paper-alt)}
.article-impact h3,.article-context h3,.article-provenance h3 {margin:0 0 7px;
  font-size:13px;font-weight:600}
.article-impact p {margin:0;color:var(--text);font-size:14px;line-height:1.7}
.article-context {margin:28px 0 12px;padding-top:18px;border-top:1px solid var(--line)}
.article-context a {display:block;padding:6px 0;color:var(--accent);
  text-decoration:underline;text-underline-offset:3px;font-size:13px}
.article-provenance {margin-top:24px;color:var(--muted);font-size:12px;line-height:1.7}
.article-provenance span {display:inline-block;margin-right:12px}
.legal-section {padding:21px 0;border-top:1px solid var(--line)}
.legal-section h3 {margin:0 0 10px;font-size:15px;font-weight:600}
.legal-section p {margin:8px 0;color:var(--muted);font-size:13px;line-height:1.8}
.legal-related,.legal-contact {color:var(--accent);font-size:13px}
.legal-reveal {min-height:42px;padding:9px 13px;border:1px solid var(--control);
  background:var(--paper-alt);color:var(--accent)}
.legal-reveal:hover {border-color:var(--accent)}
.bookmarks-dialog .reader-bar h2 {margin:0;font-size:17px}
.bookmarks-list {max-height:70dvh;overflow-y:auto;padding:17px 23px 24px}
.saved-item {display:flex;align-items:flex-start;justify-content:space-between;
  gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.saved-item-link {font-size:14px;line-height:1.45}
.saved-item-link:hover {color:var(--accent)}
.saved-item-remove {padding:3px 0;background:transparent;border:0;
  color:var(--quiet);font-size:12px}
.article-document {position:relative;background:var(--paper)}
.article-document .story-save {top:76px;right:18px}
.article-document .reader-meta {padding-right:38px}
.noscript {padding:25px;text-align:center}


/* Smaller screens retain the same reading order and expose native scrolling. */
@media (max-width: 1150px) {
  .masthead-inner { grid-template-columns: auto minmax(0,1fr); gap: 2rem; }
  .wordmark { gap: .8rem; }
  .wordmark small { max-width: 15rem; padding-left: .8rem; font-size: .76rem; }
  .search-toolbar-inner { gap: 1.2rem; }
  .frontpage { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
  .lead-link { padding-right: 31%; }
  .lead-art { width: 30%; }
  .stream-link { grid-template-columns: 11rem minmax(0,1fr) 8.2rem; }
}
@media (max-width: 850px) {
  .wordmark small { display: none; }
  .frontpage { grid-template-columns: minmax(0,1fr); }
  .lead-link { min-height: 14.5rem; padding-right: 38%; }
  .lead-story { min-height: 0; }
  .lead-art { width: 37%; }
  .brief-link { padding-block: 1rem; }
  .stream-link { grid-template-columns: 9rem minmax(0,1fr) 7rem; gap: 1rem; }
}
/* Phone and touch navigation: scroll the rails directly. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .rail-viewport { display: block; }
  .topics-arrow, .topics-arrow[hidden] { display: none !important; }
  .topics { scrollbar-width: thin; scrollbar-color: var(--control) transparent; }
  .topics::-webkit-scrollbar { display: block; height: 3px; }
  .topics::-webkit-scrollbar-thumb { background: var(--control); }
  .story-save { opacity: 1; }
}
@media (max-width: 620px) {
  .masthead-inner { grid-template-columns: 1fr; gap: .65rem; padding-block: .85rem; }
  .wordmark small { display: block; max-width: none; font-size: .64rem; }
  .wordmark > span { font-size: 1.9rem; }
  .search-form { height: 2.5rem; padding-inline: .6rem; }
  .search-form input { font-size: 1rem; }
  .reset-top { font-size: .78rem; }
  .topics, .manufacturers-bar .topics, .news-types-bar .topics { gap: .25rem; }
  .section-heading { flex-direction: column; align-items: start; gap: .45rem; padding-top: 1.1rem; }
  .heading-group h1 { font-size: 1.85rem; }
  .feed-stats { font-size: .78rem; }
  .lead-story { display: flex; flex-direction: column; }
  .lead-art { position: static; z-index: auto; width: 100%; height: clamp(7.5rem,33vw,12rem); clip-path: none; object-position: center 45%; }
  .lead-link { min-height: 0; padding: 1.15rem; }
  .lead-story .story-title { font-size: 1.6rem; }
  .briefs-heading, .brief-link { padding-inline: 1.15rem; }
  .stream-link { grid-template-columns: clamp(5.3rem,22vw,8.5rem) minmax(0,1fr); align-items: start; gap: .3rem .8rem; padding: .8rem 0; }
  .stream-visual { grid-row: 1 / span 2; aspect-ratio: 1.35; }
  .stream-link > time { display: block; grid-column: 2; min-height: 0; border: 0; padding: 0; font-size: .77rem; color: var(--quiet); }
  .stream-story .story-title { line-height: 1.22; }
  .stream-story .story-category { letter-spacing: .08em; }
  .stream-story .story-save { top: .95rem; }
  .footer-inner { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .topic[aria-pressed="true"]::after, .section-heading::after { background: Highlight; forced-color-adjust: none; }
  .story-save, .lead-kicker, .topic:focus-visible { border: 1px solid ButtonText; }
}
@media print {
  .masthead, .topics-bar, .stream-tools, .story-save, .site-footer, .pagination { display: none; }
  .content { width: 100%; }
  .stream-story, .frontpage { break-inside: avoid; }
}


/* Header and category rails — common left gutter and compact date selector. */
:root { --gutter:clamp(16px,2.25vw,42px) }
.container, body > .topics-bar .container.topics-rail {
  width:min(calc(100% - 2 * var(--gutter)),108rem);
  margin-inline:auto;
}
.masthead-inner {grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:clamp(16px,2vw,34px)}
.wordmark {min-width:0}
.wordmark > span {font-size:clamp(1.8rem,2.3vw,2.5rem)}
.wordmark small {font-size:clamp(.72rem,.88vw,.875rem)}
.search-toolbar-inner {gap:clamp(8px,1vw,16px);width:100%}
.search-wrap {flex:1 1 auto;min-width:100px}
.search-form {min-width:0}
.masthead .date-filter {
  position:relative;
  z-index:60;
  flex:0 0 auto;
  width:auto;
  margin:0;
  color:var(--header-text);
}
.masthead .date-filter > summary {
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:auto;
  min-width:113px;
  min-height:40px;
  padding:6px 10px;
  border:1px solid var(--header-control);
  border-radius:3px;
  color:var(--header-text);
  background:rgb(0 17 39 / 20%);
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
}
.masthead .date-filter > summary:hover,
.masthead .date-filter[open] > summary {border-color:var(--header-focus)}
.masthead .date-filter .date-range {
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  z-index:70;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:10px 12px;
  width:300px;
  max-width:calc(100vw - 2 * var(--gutter));
  padding:15px;
  border:1px solid var(--line);
  border-radius:3px;
  background:var(--paper);
  color:var(--text);
  box-shadow:0 12px 32px var(--shadow);
}
.masthead .date-range label {font-size:12px}
.masthead .date-range input[type="date"] {
  width:100%;
  min-width:0;
  height:36px;
  border:1px solid var(--control);
  border-radius:3px;
  padding-inline:7px;
  background:var(--bg);
  color:var(--text);
}
.masthead .date-range .date-separator {display:none}
.masthead .reset-top {flex:0 0 auto;white-space:nowrap;font-size:12px}
body > .topics-bar .rail-viewport,
body > .topics-bar .rail-viewport.has-prev,
body > .topics-bar .rail-viewport.has-next,
body > .topics-bar .rail-viewport.has-prev.has-next {
  grid-template-columns:0 minmax(0,1fr) 32px;
}
body > .topics-bar .rail-viewport.has-prev,
body > .topics-bar .rail-viewport.has-prev.has-next {
  grid-template-columns:32px minmax(0,1fr) 32px;
}
body > .topics-bar .rail-viewport .topics {gap:4px}
body > .topics-bar .topics-arrow {width:32px;min-width:32px}
body > .topics-bar .topic {padding-inline:10px;font-weight:400}
body > .topics-bar .topic:first-child,
body > .manufacturers-bar .topic:first-child {padding-left:0}
body > .topics-bar .topic[aria-pressed="true"] {font-weight:500}
body > .manufacturers-bar .topics-rail {gap:8px}
@media (max-width:1200px) {
  .masthead-inner {grid-template-columns:minmax(0,40fr) minmax(0,60fr)}
  .wordmark small {font-size:11px}
  .masthead .date-filter > summary {min-width:104px}
}
@media (max-width:850px) {
  .masthead-inner {grid-template-columns:1fr;gap:10px;padding-block:11px}
  .search-toolbar-inner {gap:8px}
  .masthead .date-filter > summary {min-width:94px}
}
@media (max-width:620px) {
  .search-toolbar-inner {flex-wrap:wrap}
  .search-wrap {flex:1 1 100%}
  .masthead .date-filter {margin-right:auto}
  .masthead .date-filter .date-range {left:0;right:auto}
}
@media (max-width:760px),(hover:none) and (pointer:coarse) {
  body > .topics-bar .rail-viewport,
  body > .topics-bar .rail-viewport.has-prev,
  body > .topics-bar .rail-viewport.has-next,
  body > .topics-bar .rail-viewport.has-prev.has-next {display:block}
  body > .topics-bar .topics-arrow,
  body > .topics-bar .topics-arrow[hidden] {display:none}
}

/* Consistent SVG control icons. */
.ui-icon{display:block;flex:none;width:17px;height:17px;stroke:currentColor;stroke-width:1.8}
.masthead .date-filter>summary{gap:9px}
.masthead .date-filter>summary .ui-icon:first-child{width:16px;height:16px}
.masthead .date-filter>summary .ui-icon:last-child{width:13px;height:13px;margin-left:auto;transition:transform .16s ease}
.masthead .date-filter[open]>summary .ui-icon:last-child{transform:rotate(180deg)}
.masthead .reset-top{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.masthead .reset-top .ui-icon{width:16px;height:16px}




@media(prefers-reduced-motion:reduce){.masthead .date-filter>summary .ui-icon:last-child{transition:none}}

/* Classic vendor rail, without a More dropdown. */
body > .manufacturers-bar .topics-rail {display:block;min-width:0}
body > .manufacturers-bar .rail-viewport {width:100%;grid-column:auto}
body > .manufacturers-bar .topics {gap:.5rem}
.masthead-inner {grid-template-columns:minmax(0,37fr) minmax(0,53fr) auto;gap:clamp(12px,1.5vw,24px)}
.masthead .header-actions {display:flex;align-items:center;gap:8px;min-width:0}
.masthead .language-switch {display:flex;gap:3px}
.masthead .header-actions .language-switch button,.masthead .theme-toggle {color:#fff;border-color:var(--header-control);background:transparent}
.masthead .header-actions .language-switch button[aria-pressed="true"] {background:var(--header-selected)}
.masthead .header-actions .theme-toggle {width:36px;min-height:36px}
.feed-stats {gap:8px 14px}
.feed-stats .utility-link {white-space:nowrap}
@media (max-width:1200px) {.masthead-inner {grid-template-columns:minmax(0,35fr) minmax(0,52fr) auto}.wordmark small{display:none}}
@media (max-width:850px) {.masthead-inner {display:flex;flex-wrap:wrap}.masthead .header-actions{margin-left:auto}.masthead .search-toolbar{flex:1 1 100%;order:3}}

/* Three permanent filter rows, controls beside search, three briefs, two-column feed. */
.masthead-inner {display:grid;grid-template-columns:minmax(0,36fr) minmax(0,54fr) auto;align-items:center;gap:clamp(10px,1.4vw,24px)}
.masthead .header-actions {display:flex;align-items:center;gap:7px;flex:none;min-width:0}
.masthead .language-switch {display:flex;gap:3px}
.masthead .date-filter {z-index:60}
body > .stream-tools {position:relative;z-index:4;display:block;border-bottom:1px solid var(--line)}
body > .stream-tools .topics-bar {background:var(--paper-alt);color:var(--text);border:0;box-shadow:none}
body > .stream-tools .topics-rail {width:min(calc(100% - 2 * var(--gutter)),108rem);margin-inline:auto}
body > .stream-tools .rail-viewport {display:grid;grid-template-columns:0 minmax(0,1fr) 32px;align-items:center}
body > .stream-tools .rail-viewport.has-prev,
body > .stream-tools .rail-viewport.has-prev.has-next {grid-template-columns:32px minmax(0,1fr) 32px}
body > .stream-tools .rail-viewport .topics {grid-column:2;grid-row:1;min-width:0;width:100%;gap:4px}
body > .stream-tools .topic {min-height:43px;padding:8px 10px;font-size:13px;font-weight:400}
body > .stream-tools .topic[aria-pressed="true"] {color:var(--accent);font-weight:600}
body > .stream-tools .topics-arrow {display:grid;place-items:center;width:32px;height:42px}
body > .stream-tools .topics-arrow[hidden] {visibility:hidden;display:grid;pointer-events:none}
body > .stream-tools #news-types-prev {grid-column:1;grid-row:1}
body > .stream-tools #news-types-next {grid-column:3;grid-row:1}
.frontpage {grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);align-items:stretch}
.briefs {display:flex;flex-direction:column}
#briefs-list {display:flex;flex:1;flex-direction:column;min-height:0}
#briefs-list .brief-story {display:flex;flex:1 1 0;min-height:0;border-bottom:1px solid var(--line)}
#briefs-list .brief-story:last-child {border-bottom:0}
#briefs-list .brief-link {width:100%;min-width:0;justify-content:center;padding:10px 20px}
#briefs-list .brief-story .story-title {font-size:clamp(15px,1.2vw,18px);line-height:1.2}
#briefs-list .brief-story .story-summary {font-size:12px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-stream {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(16px,2vw,28px)}
.stream-link {grid-template-columns:clamp(100px,10vw,165px) minmax(0,1fr);gap:12px;align-items:center;padding:12px 34px 12px 0}
.stream-link > time {display:block;grid-column:2;grid-row:2;min-height:0;padding:2px 0 0;border:0;font-size:11px;color:var(--quiet)}
.stream-visual {width:100%;aspect-ratio:1.8;min-height:75px}
.stream-story .story-title {font-size:clamp(15px,1.15vw,18px)}
.stream-story .story-summary {font-size:12px}
.stream-story .story-save {inset:8px 2px auto auto}
@media(max-width:1300px){.wordmark small{display:none}.masthead-inner{grid-template-columns:minmax(0,auto) minmax(0,1fr) auto}}
@media(max-width:1030px){.masthead-inner{display:flex;flex-wrap:wrap;gap:10px;padding-block:10px}.masthead .header-actions{margin-left:auto}.search-toolbar{flex:1 1 100%;order:3}.frontpage{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}}
@media(max-width:850px){.frontpage{grid-template-columns:minmax(0,1fr)}#briefs-list .brief-story{min-height:100px}}
@media(max-width:680px){.news-stream{grid-template-columns:minmax(0,1fr)}.stream-link{grid-template-columns:110px minmax(0,1fr)}body > .stream-tools .rail-viewport,body > .stream-tools .rail-viewport.has-prev,body > .stream-tools .rail-viewport.has-next,body > .stream-tools .rail-viewport.has-prev.has-next{display:block}body > .stream-tools .topics-arrow{display:none}body > .stream-tools .rail-viewport .topics{width:100%}}
@media(hover:none) and (pointer:coarse){body > .stream-tools .rail-viewport,body > .stream-tools .rail-viewport.has-prev,body > .stream-tools .rail-viewport.has-next,body > .stream-tools .rail-viewport.has-prev.has-next{display:block}body > .stream-tools .topics-arrow{display:none}}

/* Three permanent navigation rows: topics, vendors, news types. */
body > .topics-bar.manufacturers-bar > .topics-rail {display:block;min-width:0}
body > .topics-bar.manufacturers-bar .rail-viewport {display:grid;width:100%;grid-template-columns:0 minmax(0,1fr) 32px}
body > .topics-bar.manufacturers-bar .rail-viewport.has-prev,
body > .topics-bar.manufacturers-bar .rail-viewport.has-prev.has-next {grid-template-columns:32px minmax(0,1fr) 32px}
body > .stream-tools {display:block;visibility:visible;position:relative;width:100%;min-height:44px;background:var(--paper-alt);border-bottom:1px solid var(--line)}
body > .stream-tools .topics-bar.news-types-bar {display:block;visibility:visible;min-height:44px}
body > .stream-tools .topics-rail {width:min(calc(100% - 2 * var(--gutter)),108rem);margin-inline:auto}
body > .stream-tools .topics {min-height:44px;white-space:nowrap}
.masthead .date-filter > summary {display:flex;align-items:center;list-style:none}
@media(max-width:760px),(hover:none) and (pointer:coarse){
body > .topics-bar.manufacturers-bar .rail-viewport,
body > .topics-bar.manufacturers-bar .rail-viewport.has-prev,
body > .topics-bar.manufacturers-bar .rail-viewport.has-prev.has-next {display:block}
}

/* Consistent active filter indicator across all three navigation bars. */
body > .topics-bar .topic::after,
body > .topics-bar.manufacturers-bar .topic::after,
body > .stream-tools .news-types-bar .topic::after {
  content:"";display:block;position:absolute;left:8px;right:8px;bottom:0;
  height:4px;border-radius:0;background:#ffd600;opacity:0;
}
body > .topics-bar .topic[aria-pressed="true"]::after,
body > .topics-bar.manufacturers-bar .topic[aria-pressed="true"]::after,
body > .stream-tools .news-types-bar .topic[aria-pressed="true"]::after {
  display:block;opacity:1;
}
body > .topics-bar.manufacturers-bar .topic[data-manufacturer=""]::after {display:block}
body > .topics-bar.manufacturers-bar .topic[aria-pressed="true"],
body > .stream-tools .news-types-bar .topic[aria-pressed="true"] {font-weight:500}


/* 2026-11-20 / One alignment system for the entire editorial page.
   Navigation, masthead, article grid and footer share the same content edges. */
:root {
  --layout-gutter:clamp(18px,3vw,52px);
  --layout-width:1440px;
  --layout-gap:clamp(14px,1.7vw,24px);
  --control-height:42px;
  --rail-height:44px;
  --card-pad:clamp(16px,2vw,28px);
}
.container,
body > .topics-bar .container.topics-rail,
body > .stream-tools .container.topics-rail {
  width:calc(100% - 2 * var(--layout-gutter));
  max-width:var(--layout-width);
  margin-inline:auto;
}
.masthead-inner {min-width:0;gap:var(--layout-gap);padding-block:12px}
.masthead .search-toolbar,.masthead .search-toolbar-inner,.masthead .search-wrap {min-width:0}
.masthead .search-toolbar-inner {gap:12px}
.masthead .search-form,.masthead .date-filter > summary {min-height:var(--control-height);height:var(--control-height)}
.masthead .header-actions {gap:8px}
.masthead .reset-top {padding-inline:4px;min-height:var(--control-height)}
/* All three filter rows begin at exactly the same horizontal position.
   The arrow controls sit inside their own 32px overlay, not in a reserved
   phantom column that shifts the "All" option on initial load. */
body > .topics-bar .topics-rail,
body > .stream-tools .topics-rail {min-width:0}
body > .topics-bar .rail-viewport,
body > .topics-bar .rail-viewport.has-prev,
body > .topics-bar .rail-viewport.has-next,
body > .topics-bar .rail-viewport.has-prev.has-next,
body > .topics-bar.manufacturers-bar .rail-viewport,
body > .topics-bar.manufacturers-bar .rail-viewport.has-prev,
body > .topics-bar.manufacturers-bar .rail-viewport.has-next,
body > .topics-bar.manufacturers-bar .rail-viewport.has-prev.has-next,
body > .stream-tools .rail-viewport,
body > .stream-tools .rail-viewport.has-prev,
body > .stream-tools .rail-viewport.has-next,
body > .stream-tools .rail-viewport.has-prev.has-next {
  position:relative;
  display:block;
  width:100%;
  min-width:0;
}
body > .topics-bar .rail-viewport .topics,
body > .topics-bar.manufacturers-bar .rail-viewport .topics,
body > .stream-tools .rail-viewport .topics {
  display:flex;
  align-items:stretch;
  width:100%;
  min-width:0;
  min-height:var(--rail-height);
  gap:4px;
  padding:0 36px 0 0;
  overflow-x:auto;
  white-space:nowrap;
  scroll-padding-inline:6px;
}
body > .topics-bar .rail-viewport.has-prev .topics,
body > .topics-bar.manufacturers-bar .rail-viewport.has-prev .topics,
body > .stream-tools .rail-viewport.has-prev .topics {padding-left:36px}
body > .topics-bar .topic,
body > .topics-bar.manufacturers-bar .topic,
body > .stream-tools .topic {
  flex:none;
  min-height:var(--rail-height);
  margin:0;
  padding:9px 12px;
  font-size:13px;
  line-height:1.35;
  text-align:center;
}
body > .topics-bar .topic:first-child,
body > .topics-bar.manufacturers-bar .topic:first-child,
body > .stream-tools .topic:first-child {padding-left:0}
body > .topics-bar .topics-arrow,
body > .topics-bar.manufacturers-bar .topics-arrow,
body > .stream-tools .topics-arrow {
  position:absolute;
  z-index:2;
  top:50%;
  width:32px;
  min-width:32px;
  height:var(--rail-height);
  transform:translateY(-50%);
  background:var(--paper-alt);
}
body > .topics-bar:not(.manufacturers-bar) .topics-arrow {background:var(--header)}
body > .topics-bar .topics-arrow[hidden],
body > .stream-tools .topics-arrow[hidden] {display:none}
#topics-prev,#manufacturers-prev,#news-types-prev {left:0}
#topics-next,#manufacturers-next,#news-types-next {right:0}
body > .topics-bar.manufacturers-bar .topic[data-manufacturer=""] {padding-right:12px}
body > .topics-bar.manufacturers-bar .topic[data-manufacturer=""][aria-pressed="true"]::after {
  display:block;
  opacity:1;
}
.section-heading {padding-block:26px 14px;margin-bottom:18px;gap:var(--layout-gap)}
.feed-stats {flex-wrap:wrap;justify-content:flex-end;gap:8px 16px}
.frontpage {grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:var(--layout-gap)}
.lead-slot,.briefs {min-width:0}
.lead-link {padding-left:var(--card-pad)}
.briefs-heading {padding-inline:var(--card-pad)}
#briefs-list .brief-link {padding:12px var(--card-pad)}
.stream-heading {margin-top:26px}
.news-stream {gap:0 var(--layout-gap)}
.stream-link {gap:clamp(12px,1.4vw,20px);padding-block:14px}
.stream-copy {min-width:0}
.footer-inner {gap:var(--layout-gap);padding-block:20px}
@media(max-width:1030px) {
  .masthead-inner {gap:12px}
  .frontpage {grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}
}
@media(max-width:850px) {
  .frontpage {grid-template-columns:minmax(0,1fr)}
  .section-heading {padding-top:22px}
}
@media(max-width:760px),(hover:none) and (pointer:coarse) {
  body > .topics-bar .rail-viewport,
  body > .topics-bar .rail-viewport.has-prev,
  body > .topics-bar .rail-viewport.has-next,
  body > .topics-bar .rail-viewport.has-prev.has-next,
  body > .stream-tools .rail-viewport,
  body > .stream-tools .rail-viewport.has-prev,
  body > .stream-tools .rail-viewport.has-next,
  body > .stream-tools .rail-viewport.has-prev.has-next {display:block}
  body > .topics-bar .rail-viewport .topics,
  body > .topics-bar.manufacturers-bar .rail-viewport .topics,
  body > .stream-tools .rail-viewport .topics {padding:0;scroll-padding-inline:0}
  body > .topics-bar .topics-arrow,
  body > .stream-tools .topics-arrow {display:none}
}
@media(max-width:680px) {
  .section-heading {gap:10px}
  .feed-stats {justify-content:flex-start}
  .news-stream {grid-template-columns:minmax(0,1fr)}
  .stream-link {padding-block:12px}
}


/* Date filter lives beside topics; aligned text in all editorial cards. */
body > .topics-bar:not(.manufacturers-bar) .topics-rail {
  display:flex;
  align-items:center;
  gap:clamp(10px,1.35vw,20px);
  min-width:0;
}
body > .topics-bar:not(.manufacturers-bar) .topics-rail > .rail-viewport {
  flex:1 1 auto;
  min-width:0;
}
body > .topics-bar:not(.manufacturers-bar) .date-filter {
  position:relative;
  z-index:65;
  flex:0 0 auto;
  min-width:0;
  margin:0;
  color:var(--header-text);
}
body > .topics-bar:not(.manufacturers-bar) .date-filter > summary {
  display:flex;
  align-items:center;
  gap:9px;
  min-height:38px;
  padding:6px 10px;
  border:1px solid var(--header-control);
  border-radius:3px;
  background:rgb(0 17 39 / 20%);
  color:#fff;
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
  list-style:none;
}
body > .topics-bar:not(.manufacturers-bar) .date-filter > summary:hover,
body > .topics-bar:not(.manufacturers-bar) .date-filter[open] > summary {
  border-color:var(--header-focus);
}
body > .topics-bar:not(.manufacturers-bar) .date-filter .date-range {
  position:absolute;
  z-index:70;
  top:calc(100% + 6px);
  right:0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:9px 12px;
  width:310px;
  max-width:calc(100vw - 2 * var(--layout-gutter));
  padding:14px;
  border:1px solid var(--line);
  border-radius:3px;
  background:var(--paper);
  color:var(--text);
  box-shadow:0 12px 32px var(--shadow);
}
body > .topics-bar:not(.manufacturers-bar) .date-range label {
  color:var(--muted);
  font-size:12px;
}
body > .topics-bar:not(.manufacturers-bar) .date-range input[type=date] {
  width:100%;
  min-width:0;
  height:36px;
  padding-inline:8px;
  border:1px solid var(--control);
  border-radius:3px;
  background:var(--bg);
  color:var(--text);
}
body > .topics-bar:not(.manufacturers-bar) .date-range .date-separator {display:none}
body > .topics-bar:not(.manufacturers-bar) .date-filter .ui-icon {flex:none}
body > .topics-bar:not(.manufacturers-bar) .date-filter .ui-icon:last-child {
  width:13px;height:13px;transition:transform .16s ease;
}
body > .topics-bar:not(.manufacturers-bar) .date-filter[open] .ui-icon:last-child {transform:rotate(180deg)}
/* Text baseline and insets: one readable column per editorial card. */
:root { --text-inset:clamp(17px,1.8vw,26px) }
.section-heading .heading-group {min-width:0}
.section-heading .eyebrow,.section-heading h1 {margin-inline:0;padding-inline:0}
.lead-link {padding-left:var(--text-inset);padding-top:var(--text-inset);padding-bottom:var(--text-inset)}
.lead-link .lead-kicker,
.lead-link .story-meta,
.lead-link .story-title,
.lead-link .story-summary,
.lead-link > time {margin-left:0;text-align:left}
.briefs-heading {padding-inline:var(--text-inset)}
#briefs-list .brief-link {
  padding:12px var(--text-inset);
  align-items:flex-start;
  text-align:left;
}
#briefs-list .brief-link :is(.story-meta,.story-title,.story-summary,time) {
  max-width:100%;
  margin-left:0;
  padding-left:0;
  text-align:left;
}
.stream-heading {margin-left:0}
.stream-link {
  align-items:center;
  column-gap:clamp(12px,1.4vw,20px);
}
.stream-copy {min-width:0;text-align:left}
.stream-copy :is(.story-meta,.story-title,.story-summary) {margin-left:0;padding-left:0;text-align:left}
.stream-link > time {margin-left:0;padding-left:0;text-align:left}
.story-title,.story-summary {overflow-wrap:break-word}
.footer-inner {align-items:center}
@media(max-width:760px) {
  body > .topics-bar:not(.manufacturers-bar) .topics-rail {gap:8px}
  body > .topics-bar:not(.manufacturers-bar) .date-filter > summary {padding:6px 8px;font-size:11px}
}
@media(max-width:480px) {
  body > .topics-bar:not(.manufacturers-bar) .topics-rail {flex-wrap:wrap;gap:0}
  body > .topics-bar:not(.manufacturers-bar) .topics-rail > .rail-viewport {flex-basis:100%}
  body > .topics-bar:not(.manufacturers-bar) .date-filter {margin:0 0 7px auto}
  body > .topics-bar:not(.manufacturers-bar) .date-filter .date-range {right:0}
}
@media(prefers-reduced-motion:reduce) {
  body > .topics-bar:not(.manufacturers-bar) .date-filter .ui-icon:last-child {transition:none}
}

/* 2026-11-20 / Compact editorial text geometry: prevent overlapping headlines and dates. */
.frontpage {align-items:stretch;min-height:338px}
.lead-story,.lead-link {min-height:338px}
.briefs {display:flex;flex-direction:column;min-width:0;min-height:338px;overflow:hidden}
.briefs-heading {flex:0 0 auto;min-height:48px;display:flex;align-items:center;padding-block:10px}
#briefs-list {
  flex:1 1 auto;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));
  height:auto;min-height:0;overflow:hidden
}
#briefs-list .brief-story {
  position:relative;display:block;min-height:0;height:100%;overflow:hidden;
  border-bottom:1px solid var(--line)
}
#briefs-list .brief-story:last-child {border-bottom:0}
#briefs-list .brief-link {
  display:flex;flex-direction:column;align-items:flex-start;
  justify-content:center;gap:4px;width:100%;height:100%;
  min-height:0;margin:0;padding:10px var(--text-inset);overflow:hidden
}
#briefs-list .brief-link .story-meta {
  flex:0 0 auto;line-height:1.2;margin:0;padding:0;
  max-width:100%;overflow:hidden
}
#briefs-list .brief-link .story-category {
  display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-size:10px;line-height:1.3;letter-spacing:.1em
}
#briefs-list .brief-link .story-title {
  flex:0 1 auto;display:-webkit-box;-webkit-box-orient:vertical;
  -webkit-line-clamp:2;line-clamp:2;max-width:100%;max-height:2.45em;
  margin:0;padding:0;overflow:hidden;
  font-size:clamp(15px,1.15vw,18px);font-weight:700;line-height:1.22
}
#briefs-list .brief-link .story-summary {display:none}
#briefs-list .brief-link > time {
  display:block;position:static;flex:0 0 auto;order:4;
  margin:2px 0 0;padding:0;max-width:100%;
  font-size:11px;line-height:1.3;color:var(--quiet);white-space:nowrap
}
.news-stream .stream-link {
  display:grid;grid-template-columns:clamp(100px,10vw,165px) minmax(0,1fr);
  grid-template-rows:auto auto;align-content:center;align-items:center;
  gap:5px clamp(12px,1.4vw,20px);min-height:116px;
  padding:12px 34px 12px 0
}
.news-stream .stream-visual {grid-column:1;grid-row:1 / span 2;align-self:center}
.news-stream .stream-copy {grid-column:2;grid-row:1;align-self:end;min-width:0}
.news-stream .stream-link > time {
  grid-column:2;grid-row:2;align-self:start;justify-self:start;
  display:block;min-height:0;margin:0;padding:0;border:0;
  font-size:11px;line-height:1.3;color:var(--quiet)
}
.news-stream .stream-copy .story-meta {margin:0 0 5px}
.news-stream .stream-copy .story-title {margin:0 0 4px;line-height:1.25}
.news-stream .stream-copy .story-summary {
  margin:0;line-height:1.42;display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden
}
@media(max-width:850px) {
  .frontpage,.briefs {min-height:0}
  .lead-story,.lead-link {min-height:300px}
  #briefs-list {grid-template-rows:repeat(3,minmax(100px,auto))}
  #briefs-list .brief-story {min-height:100px}
}
@media(max-width:680px) {
  .news-stream .stream-link {grid-template-columns:110px minmax(0,1fr)}
}

/* Unified text gutters and visible Clear filters icon. */
:root { --editorial-text-pad:clamp(18px,1.8vw,28px) }
.masthead-inner {align-items:center;column-gap:clamp(12px,1.4vw,24px)}
.masthead .search-toolbar-inner {display:flex;align-items:center;gap:clamp(9px,1vw,16px);min-width:0}
.masthead .search-wrap {min-width:0;flex:1 1 auto}
.masthead .reset-top {display:inline-flex;align-items:center;justify-content:center;gap:8px;
 min-height:42px;padding:6px 10px;color:#fff;border:1px solid transparent;border-radius:3px;
 font-size:12px;font-weight:500;white-space:nowrap;background:transparent;line-height:1.2}
.masthead .reset-top:disabled {opacity:.7}
.masthead .reset-top:not(:disabled):hover {border-color:var(--header-control);
 background:rgb(255 255 255 / 8%);text-decoration:none}
.masthead .reset-top .reset-icon {display:block;width:18px;height:18px;min-width:18px;stroke:currentColor;stroke-width:1.9}
.masthead .header-actions {display:flex;align-items:center;gap:8px}
.section-heading :is(.eyebrow,h1),.stream-heading h2 {margin-inline:0;padding-inline:0}
.lead-link {padding-left:var(--editorial-text-pad);padding-top:var(--editorial-text-pad);padding-bottom:var(--editorial-text-pad)}
.lead-link :is(.lead-kicker,.story-meta,.story-title,.story-summary,time) {margin-left:0;padding-left:0;text-align:left}
.briefs-heading {padding-inline:var(--editorial-text-pad)}
#briefs-list .brief-link {padding-inline:var(--editorial-text-pad)}
#briefs-list .brief-link :is(.story-meta,.story-title,time) {margin-left:0;padding-left:0;text-align:left}
.news-stream .stream-link {column-gap:clamp(12px,1.4vw,20px)}
.news-stream .stream-copy :is(.story-meta,.story-title,.story-summary) {margin-left:0;padding-left:0;text-align:left}
.news-stream .stream-link > time {margin-left:0;padding-left:0}
@media(max-width:1050px) {
 .masthead .search-toolbar {flex:1 1 100%;min-width:0}
 .masthead .search-toolbar-inner {justify-content:space-between}
}
@media(max-width:520px) {
 .masthead .search-toolbar-inner {flex-wrap:wrap;row-gap:6px}
 .masthead .search-wrap {flex-basis:100%}
 .masthead .reset-top {margin-left:auto}
}

/* Light-mode vendor rail: distinct cool blue-gray between blue topics and aqua news types. */
:root[data-theme="light"] body > .topics-bar.manufacturers-bar {
  background:#e4edf5;
  background-image:none;
  color:#0b1c41;
  border-bottom:1px solid #adc2d6;
  box-shadow:0 3px 9px rgb(35 65 95 / 9%);
}
:root[data-theme="light"] body > .topics-bar.manufacturers-bar .topics-arrow {
  background:#e4edf5;
  color:#0b1c41;
}
:root[data-theme="light"] body > .topics-bar.manufacturers-bar .topic:hover {
  background:#d4e2ef;
}

/* Mobile-first cleanup 2026-11-20: one reliable narrow-screen layout. */
@media (max-width:900px) {
  :root { --layout-gutter:clamp(14px,3.8vw,26px); --gutter:var(--layout-gutter) }
  html,body {width:100%;max-width:100%;overflow-x:clip}
  .container,
  body > .topics-bar .container.topics-rail,
  body > .stream-tools .container.topics-rail {
    width:calc(100% - 2 * var(--layout-gutter));max-width:100%;margin-inline:auto
  }
  .masthead-inner {
    display:grid;grid-template-columns:minmax(0,1fr) auto;
    align-items:center;column-gap:10px;row-gap:9px;
    min-height:0;padding-block:11px
  }
  .wordmark {
    grid-column:1;grid-row:1;display:flex;align-items:center;
    min-width:0;width:auto;gap:11px
  }
  .wordmark > span {font-size:clamp(23px,4.7vw,32px);white-space:nowrap}
  .wordmark small {
    display:block;max-width:132px;min-width:0;
    padding-left:10px;border-left:1px solid var(--header-control);
    font-size:10px;line-height:1.2;white-space:normal;letter-spacing:0
  }
  .masthead .header-actions {
    grid-column:2;grid-row:1;display:flex;align-items:center;
    gap:6px;min-width:0;margin:0
  }
  .masthead .language-switch {display:flex;gap:2px;padding:2px}
  .masthead .language-switch button {min-width:30px;min-height:34px;padding:4px 6px;font-size:11px}
  .masthead .theme-toggle {width:36px;height:36px;min-width:36px;padding:6px}
  .masthead .search-toolbar {
    grid-column:1/-1;grid-row:2;order:unset;
    display:block;width:100%;min-width:0;margin:0;flex:none
  }
  .masthead .search-toolbar-inner {
    display:flex;align-items:center;justify-content:space-between;
    gap:8px;flex-wrap:nowrap;min-width:0
  }
  .masthead .search-wrap {flex:1 1 auto;min-width:0;width:auto}
  .masthead .search-form {height:40px;min-width:0}
  .masthead .search-form input {font-size:16px}
  .masthead .reset-top {flex:none;gap:5px;padding:5px 7px;min-height:40px;font-size:11px}
  .masthead .reset-top .reset-icon {width:16px;height:16px;min-width:16px}
  body > .topics-bar:not(.manufacturers-bar) .topics-rail {
    display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:nowrap
  }
  body > .topics-bar:not(.manufacturers-bar) .topics-rail > .rail-viewport {
    flex:1 1 auto;min-width:0
  }
  body > .topics-bar:not(.manufacturers-bar) .date-filter {
    flex:none;width:auto;margin:0
  }
  body > .topics-bar:not(.manufacturers-bar) .date-filter > summary {
    min-height:39px;padding:5px 7px;font-size:11px;gap:5px
  }
  body > .topics-bar:not(.manufacturers-bar) .date-filter .ui-icon {width:14px;height:14px}
  body > .topics-bar .rail-viewport,
  body > .topics-bar .rail-viewport.has-prev,
  body > .topics-bar .rail-viewport.has-next,
  body > .topics-bar .rail-viewport.has-prev.has-next,
  body > .stream-tools .rail-viewport,
  body > .stream-tools .rail-viewport.has-prev,
  body > .stream-tools .rail-viewport.has-next,
  body > .stream-tools .rail-viewport.has-prev.has-next {display:block;min-width:0}
  body > .topics-bar .topics-arrow,
  body > .stream-tools .topics-arrow {display:none}
  body > .topics-bar .rail-viewport .topics,
  body > .topics-bar.manufacturers-bar .rail-viewport .topics,
  body > .stream-tools .rail-viewport .topics {
    display:flex;width:100%;min-width:0;gap:4px;min-height:42px;
    overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain;
    padding:0;scroll-padding-inline:0
  }
  body > .topics-bar .topic,
  body > .topics-bar.manufacturers-bar .topic,
  body > .stream-tools .topic {
    min-height:42px;flex:none;padding:8px 10px;
    font-size:12px;white-space:nowrap
  }
  body > .topics-bar .topic:first-child,
  body > .topics-bar.manufacturers-bar .topic:first-child,
  body > .stream-tools .topic:first-child {padding-left:0}
  .section-heading {display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;padding-top:20px}
  .heading-group h1 {font-size:clamp(26px,5vw,32px)}
  .feed-stats {justify-content:flex-start;font-size:11px}
  .frontpage {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-height:0}
  .lead-slot,.briefs {min-width:0}
  .lead-story {display:flex;flex-direction:column;min-height:0;height:auto}
  .lead-art {position:relative;inset:auto;width:100%;height:clamp(160px,34vw,260px);object-fit:cover}
  .lead-story::before {display:none}
  .lead-link {
    position:relative;min-height:0;height:auto;
    padding:18px var(--editorial-text-pad) 20px;gap:0
  }
  .lead-story .story-title {font-size:clamp(22px,4.6vw,30px);max-width:none;line-height:1.18}
  .lead-story .story-summary {font-size:13px;line-height:1.5}
  .briefs {display:flex;flex-direction:column;min-height:0;height:auto;overflow:visible}
  .briefs-heading {min-height:0;padding:12px var(--editorial-text-pad)}
  #briefs-list {display:flex;flex-direction:column;height:auto;min-height:0;overflow:visible}
  #briefs-list .brief-story {
    display:block;flex:none;min-height:0;height:auto;overflow:visible;
    border-bottom:1px solid var(--line)
  }
  #briefs-list .brief-link {
    display:flex;flex-direction:column;justify-content:flex-start;
    height:auto;min-height:0;padding:13px var(--editorial-text-pad);
    gap:5px;overflow:visible
  }
  #briefs-list .brief-link .story-meta {overflow:visible}
  #briefs-list .brief-link .story-category {white-space:normal;text-overflow:clip}
  #briefs-list .brief-link .story-title {
    display:block;max-height:none;overflow:visible;
    font-size:16px;line-height:1.32
  }
  #briefs-list .brief-link > time {margin:0}
  .news-stream {display:grid;grid-template-columns:minmax(0,1fr);column-gap:0}
  .news-stream .stream-link {
    display:grid;grid-template-columns:clamp(105px,29vw,160px) minmax(0,1fr);
    grid-template-rows:auto auto;min-height:0;gap:4px 13px;
    align-items:start;padding:12px 34px 12px 0
  }
  .news-stream .stream-visual {
    grid-column:1;grid-row:1 / span 2;align-self:start;
    width:100%;height:auto;min-height:0;aspect-ratio:1.45;object-fit:cover
  }
  .news-stream .stream-copy {grid-column:2;grid-row:1;align-self:start}
  .news-stream .stream-link > time {grid-column:2;grid-row:2;align-self:start;margin-top:2px}
  .news-stream .stream-copy .story-title {font-size:clamp(15px,3.5vw,18px);line-height:1.3}
  .news-stream .stream-copy .story-summary {font-size:12px;line-height:1.42}
  .stream-heading h2 {font-size:22px}
  .footer-inner {flex-direction:column;align-items:flex-start;gap:12px}
  .reader,.bookmarks-dialog {width:calc(100% - 20px);max-height:calc(100dvh - 20px)}
  .reader-content {padding:24px 20px 32px}
}
@media (max-width:480px) {
  :root {--layout-gutter:14px;--editorial-text-pad:16px}
  .masthead-inner {column-gap:7px}
  .wordmark {gap:8px}
  .wordmark > span {font-size:clamp(22px,6.6vw,28px)}
  .wordmark small {max-width:94px;padding-left:8px;font-size:9px}
  .masthead .language-switch button {min-width:27px;min-height:32px;padding:3px 5px}
  .masthead .theme-toggle {width:33px;height:33px;min-width:33px}
  .masthead .reset-top {font-size:0;min-width:40px;padding:6px 9px}
  .masthead .reset-top .reset-icon {width:18px;height:18px}
  .masthead .reset-top #reset-top-label {display:none}
  .masthead .reset-top {border-color:rgb(255 255 255 / 20%)}
  body > .topics-bar:not(.manufacturers-bar) .date-filter > summary .ui-icon:last-child {display:none}
  body > .topics-bar:not(.manufacturers-bar) .date-filter .date-range {
    right:0;max-width:calc(100vw - 28px);width:286px
  }
  .section-heading {padding-top:18px}
  .lead-art {height:160px}
  .lead-link {padding:16px}
  .lead-story .story-title {font-size:23px}
  .news-stream .stream-link {grid-template-columns:98px minmax(0,1fr);gap:4px 11px}
  .news-stream .stream-copy .story-title {font-size:15px}
  .news-stream .stream-copy .story-summary {-webkit-line-clamp:2}
}
@media (max-width:360px) {
  .wordmark small {display:none}
  .wordmark > span {font-size:25px}
  .masthead .header-actions {gap:4px}
  .news-stream .stream-link {grid-template-columns:88px minmax(0,1fr)}
}

/* Date filter sits directly beside EN/DE on every screen size. */
.wordmark small, .masthead .wordmark small {display:none}
.wordmark {gap:0}
.masthead .header-actions {
  display:flex;align-items:center;justify-content:flex-end;
  gap:8px;min-width:0;flex:0 0 auto
}
.masthead .header-actions .date-filter {
  display:block;position:relative;flex:0 0 auto;
  margin:0;min-width:0;z-index:110;color:#fff
}
.masthead .header-actions .date-filter > summary {
  display:flex;align-items:center;justify-content:center;gap:7px;
  height:40px;min-height:40px;padding:7px 10px;
  border:1px solid var(--header-control);border-radius:3px;
  background:rgb(0 17 39 / 20%);color:#fff;
  font-size:12px;font-weight:500;white-space:nowrap;list-style:none
}
.masthead .header-actions .date-filter > summary::-webkit-details-marker {display:none}
.masthead .header-actions .date-filter > summary .ui-icon {display:block;flex:none;width:16px;height:16px}
.masthead .header-actions .date-filter > summary .ui-icon:last-child {width:13px;height:13px}
.masthead .header-actions .date-filter[open] > summary {border-color:var(--header-focus)}
.masthead .header-actions .date-filter .date-range {
  position:absolute;top:calc(100% + 8px);right:0;left:auto;z-index:120;
  display:grid;grid-template-columns:auto minmax(0,1fr);
  align-items:center;gap:9px 12px;width:310px;
  max-width:calc(100vw - 28px);padding:14px;
  border:1px solid var(--line);border-radius:3px;
  background:var(--paper);color:var(--text);box-shadow:0 12px 32px var(--shadow)
}
.masthead .header-actions .date-range label {font-size:12px;color:var(--muted)}
.masthead .header-actions .date-range input[type=date] {
  width:100%;min-width:0;height:36px;padding-inline:8px;
  border:1px solid var(--control);border-radius:3px;background:var(--bg);color:var(--text)
}
.masthead .header-actions .date-range .date-separator {display:none}
body > .topics-bar:not(.manufacturers-bar) .topics-rail {display:block}
body > .topics-bar:not(.manufacturers-bar) .topics-rail > .rail-viewport {width:100%;min-width:0}
@media(max-width:900px) {
  .masthead-inner {grid-template-columns:minmax(0,1fr) auto}
  .masthead .header-actions {grid-column:2;grid-row:1;gap:5px;flex-wrap:nowrap;margin:0}
  .masthead .header-actions .date-filter > summary {
    width:36px;min-width:36px;height:36px;min-height:36px;padding:7px;gap:0
  }
  .masthead .header-actions .date-filter > summary .ui-icon:first-child {width:18px;height:18px}
  .masthead .header-actions .date-filter > summary .ui-icon:last-child {display:none}
  .masthead .header-actions .date-filter #date-filter-label {
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip-path:inset(50%);white-space:nowrap
  }
  .masthead .header-actions .date-range {width:286px;max-width:calc(100vw - 28px)}
  body > .topics-bar:not(.manufacturers-bar) .topics-rail {
    display:block;min-width:0
  }
  body > .topics-bar:not(.manufacturers-bar) .topics-rail > .rail-viewport {
    width:100%;min-width:0
  }
}
@media(max-width:360px) {
  .masthead .header-actions {gap:3px}
  .masthead .header-actions .date-filter > summary {width:32px;min-width:32px;height:33px;min-height:33px}
  .masthead .header-actions .language-switch button {min-width:25px}
  .masthead .header-actions .theme-toggle {width:32px;min-width:32px}
}

/* Mobile layout repairs and restrained, high-contrast light palette (2026-11-22). */
:root[data-theme="light"] {
  --bg:#f5f7fa;--paper:#ffffff;--paper-alt:#eaf0f5;
  --soft:#e9eff5;--hover:#e3ebf3;--text:#14283f;
  --muted:#34465a;--quiet:#4d6073;--accent:#006b83;
  --signal:#006b83;--selection-ink:#ffffff;
  --button:#075d79;--header:#073c64;--header-mid:#075780;
  --header-text:#ffffff;--header-muted:#e9f5fc;
  --header-control:#a4c2d4;--header-focus:#f5c84c;
  --header-hover:#11658b;--line:#c6d3df;--control:#8198ad;
  --card-border:#b5c6d5;--hero-start:#edf4f8;
  --hero-middle:#e4eff6;--hero-end:#cce5f0;
  --shadow:rgb(19 46 70 / 15%);--rule-accent:#006b83;
  --photo-light:1;
}
:root[data-theme="light"] body > .topics-bar.manufacturers-bar {
  background:#e9eff5;color:#14283f;border-color:#c2d1df;
  box-shadow:none
}
:root[data-theme="light"] body > .topics-bar.manufacturers-bar .topics-arrow {
  background:#e9eff5;color:#14283f
}
:root[data-theme="light"] body > .topics-bar.manufacturers-bar .topic:hover {background:#d9e6ef}
:root[data-theme="light"] body > .stream-tools {
  background:#dbeaf0;color:#17364a;border-color:#bdd3df
}
:root[data-theme="light"] .news-types-bar .topic,
:root[data-theme="light"] body > .stream-tools .topic {color:#17364a}
:root[data-theme="light"] .news-types-bar .topic:hover,
:root[data-theme="light"] body > .stream-tools .topic:hover {background:#c5dce7}
:root[data-theme="light"] .news-types-bar .topic.is-active::after,
:root[data-theme="light"] body > .stream-tools .topic.is-active::after {background:#006b83}
:root[data-theme="light"] .lead-story,
:root[data-theme="light"] .briefs,
:root[data-theme="light"] .stream-story {border-color:#b5c6d5}
:root[data-theme="light"] .lead-story .lead-link {color:#fff}
:root[data-theme="light"] .empty-state {background:#fff;color:#14283f;border-color:#b5c6d5}
:root[data-theme="light"] .masthead .header-actions .date-filter > summary {
  background:rgb(0 17 39 / 16%);color:#fff
}
:root[data-theme="light"] .masthead .header-actions .date-range {
  background:#fff;color:#14283f;border-color:#aebfd0
}
:root[data-theme="light"] .masthead .header-actions .date-range input[type=date] {
  color:#14283f;background:#f5f7fa;border-color:#8198ad;color-scheme:light
}
/* Prevent clipped native date controls and horizontally drifting navigation. */
@media(max-width:900px) {
  .masthead {position:relative;z-index:80;overflow:visible}
  .masthead-inner,.masthead .header-actions {overflow:visible}
  .masthead .header-actions .date-filter {z-index:100}
  .masthead .header-actions .date-filter[open] > summary {
    border-color:var(--header-focus);box-shadow:0 0 0 1px var(--header-focus)
  }
  .masthead .header-actions .date-filter .date-range {
    position:fixed;z-index:1000;
    top:calc(env(safe-area-inset-top, 0px) + 122px);
    left:14px;right:14px;
    width:auto;max-width:none;
    grid-template-columns:minmax(0,1fr);
    gap:6px;padding:14px;
    border:1px solid var(--control);border-radius:3px;
    box-shadow:0 18px 38px rgb(0 0 0 / 30%);
    overflow:visible
  }
  .masthead .header-actions .date-range label {
    display:block;position:static;width:auto;height:auto;
    margin:0;clip-path:none;overflow:visible;
    color:var(--muted);font-size:12px;font-weight:600
  }
  .masthead .header-actions .date-range input[type=date] {
    display:block;width:100%;max-width:100%;min-width:0;
    height:44px;min-height:44px;margin:0;padding:8px 12px;
    font-size:16px;line-height:1.2;border-radius:3px;
    -webkit-appearance:auto;appearance:auto
  }
  .masthead .header-actions .date-range .date-separator {display:none}
  body > .topics-bar .rail-viewport,
  body > .stream-tools .rail-viewport {width:100%;min-width:0;overflow:hidden}
  body > .topics-bar .rail-viewport .topics,
  body > .stream-tools .rail-viewport .topics {
    max-width:100%;overflow-x:auto;overflow-y:hidden;
    scroll-snap-type:x proximity;scroll-padding-inline:0;
    -webkit-overflow-scrolling:touch
  }
  body > .topics-bar .rail-viewport .topic,
  body > .stream-tools .rail-viewport .topic {scroll-snap-align:start}
  body > .topics-bar .topics-rail,
  body > .stream-tools .topics-rail {min-width:0}
}
@media(max-width:480px) {
  .masthead .header-actions .date-filter .date-range {
    top:calc(env(safe-area-inset-top, 0px) + 112px);
    left:12px;right:12px
  }
  .masthead .wordmark > span {font-size:clamp(20px,6vw,27px)}
  .masthead .header-actions {gap:4px}
  .section-heading .feed-stats {flex-wrap:wrap;gap:6px 12px}
  .news-stream .stream-link {min-width:0}
  .news-stream .stream-copy {min-width:0;overflow-wrap:anywhere}
}

/* Mobile Featured editorial rhythm: readable headline without an oversized card. */
@media(max-width:760px) {
  .frontpage .lead-story {min-height:0;height:auto}
  .frontpage .lead-story .lead-art {
    display:block;width:100%;height:clamp(132px,35vw,188px);
    aspect-ratio:auto;object-fit:cover;object-position:center
  }
  .frontpage .lead-story .lead-link {
    display:flex;flex-direction:column;align-items:flex-start;
    justify-content:flex-start;min-height:0;height:auto;
    padding:16px 18px 18px;gap:0
  }
  .frontpage .lead-story .lead-kicker {
    display:inline-flex;align-items:center;
    margin:0 0 12px;padding:5px 9px;
    font-size:11px;line-height:1.25;letter-spacing:.11em;
    font-weight:700;border-radius:3px
  }
  .frontpage .lead-story .story-meta {
    margin:0 0 7px;line-height:1.35
  }
  .frontpage .lead-story .story-category {
    font-size:10px;line-height:1.35;letter-spacing:.11em
  }
  .frontpage .lead-story .story-title {
    margin:0;max-width:100%;font-size:clamp(21px,5.35vw,27px);
    line-height:1.18;letter-spacing:-.035em;
    font-weight:700;overflow-wrap:break-word;hyphens:auto
  }
  .frontpage .lead-story .story-summary {
    margin:10px 0 0;max-width:100%;
    font-size:clamp(13px,3.65vw,15px);line-height:1.48;
    letter-spacing:0;overflow-wrap:break-word
  }
  .frontpage .lead-story .lead-link > time {
    display:block;margin:12px 0 0;
    font-size:12px;line-height:1.4
  }
}
@media(max-width:380px) {
  .frontpage .lead-story .lead-art {height:132px}
  .frontpage .lead-story .lead-link {padding:14px 15px 16px}
  .frontpage .lead-story .story-title {font-size:21px;line-height:1.2}
  .frontpage .lead-story .story-summary {font-size:13px}
}

/* Header control contract: four identical hit targets in both themes. */
.masthead .header-actions {
  --header-action-size:40px;
  display:flex;align-items:center;gap:5px
}
.masthead .header-actions .language-switch {display:contents}
.masthead .header-actions .date-filter,
.masthead .header-actions .theme-toggle,
.masthead .header-actions .language-switch button {flex:0 0 var(--header-action-size)}
.masthead .header-actions .date-filter > summary,
.masthead .header-actions .language-switch button,
.masthead .header-actions .theme-toggle {
  box-sizing:border-box;width:var(--header-action-size);
  min-width:var(--header-action-size);max-width:var(--header-action-size);
  height:var(--header-action-size);min-height:var(--header-action-size);
  max-height:var(--header-action-size);padding:0;
  display:grid;place-items:center;border-radius:3px;
  border:1px solid var(--header-control);
  background:rgb(0 17 39 / 20%);color:#fff;
  line-height:1;font-size:12px;font-weight:500
}
.masthead .header-actions .date-filter > summary {display:flex;gap:0}
.masthead .header-actions .date-filter > summary .ui-icon:first-child,
.masthead .header-actions .theme-toggle svg {
  display:block;width:19px;height:19px;flex:none;
  stroke:currentColor;opacity:1
}
.masthead .header-actions .date-filter > summary .ui-icon:last-child,
.masthead .header-actions #date-filter-label {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip-path:inset(50%);white-space:nowrap
}
.masthead .header-actions .language-switch button[aria-pressed="true"] {
  background:var(--header-selected);color:#fff
}
.masthead .header-actions .theme-toggle .icon-moon {display:none}
.masthead .header-actions .theme-toggle .icon-sun {display:block}
:root[data-theme="light"] .masthead .header-actions .theme-toggle .icon-sun {display:none}
:root[data-theme="light"] .masthead .header-actions .theme-toggle .icon-moon {
  display:block;stroke:#fff;opacity:1
}
:root[data-theme="light"] .masthead .header-actions .theme-toggle {
  background:#064e73;border-color:#9ac4d6;color:#fff
}
.masthead .header-actions .theme-toggle:hover,
.masthead .header-actions .theme-toggle:focus-visible {
  border-color:var(--header-focus);background:#126a8d
}
@media(max-width:900px) {
  .masthead .header-actions {--header-action-size:36px;gap:4px}
}
@media(max-width:360px) {
  .masthead .header-actions {--header-action-size:32px;gap:3px}
}

/* Light-first editorial palette: readable text over the pale Featured artwork. */
:root[data-theme="light"] {
  --hero-start:#eaf2f8;
  --hero-middle:#dcecf5;
  --hero-end:#b6d4e9;
  --rule-accent:#006b83;
}
:root[data-theme="light"] .lead-story {
  background:linear-gradient(103deg,var(--hero-start) 10%,var(--hero-middle) 53%,var(--hero-end) 100%);
}
:root[data-theme="light"] .lead-story .lead-link,
:root[data-theme="light"] .lead-story .story-title {
  color:#14283f;
}
:root[data-theme="light"] .lead-story .story-meta,
:root[data-theme="light"] .lead-story .story-category,
:root[data-theme="light"] .lead-story .story-type,
:root[data-theme="light"] .lead-story .story-summary,
:root[data-theme="light"] .lead-story time {
  color:#34465a;
}
:root[data-theme="light"] .lead-story .lead-kicker {
  color:#152235;background:#ffd600;
}
:root[data-theme="light"] .lead-story .lead-link:is(:hover,:focus-visible) .story-title {
  color:#075d79;
}

/* Featured: anchor content at the top, not vertically centered in a tall panel. */
@media(min-width:761px) {
  .frontpage .lead-story {
    min-height:300px;height:100%;
    overflow:hidden
  }
  .frontpage .lead-story .lead-link {
    justify-content:flex-start;align-items:flex-start;
    min-height:300px;height:100%;
    padding:clamp(20px,2.2vw,34px) 38% 22px clamp(20px,2.2vw,34px);
    gap:0
  }
  .frontpage .lead-story .lead-kicker {margin-bottom:12px}
  .frontpage .lead-story .story-meta {margin-bottom:8px}
  .frontpage .lead-story .story-title {
    margin:0;max-width:100%;line-height:1.17;
    font-size:clamp(23px,2.05vw,34px);overflow-wrap:break-word
  }
  .frontpage .lead-story .story-summary {
    margin-top:12px;max-width:100%;line-height:1.48
  }
  .frontpage .lead-story .lead-link > time {margin-top:12px}
  .frontpage .lead-story .lead-art {
    width:36%;height:100%;object-position:center;
    clip-path:polygon(14% 0,100% 0,100% 100%,0 100%)
  }
}
@media(min-width:761px) and (max-width:1050px) {
  .frontpage .lead-story .lead-link {padding-right:36%}
  .frontpage .lead-story .lead-art {width:34%}
  .frontpage .lead-story .story-title {font-size:clamp(22px,2.5vw,27px)}
}


/* Center only the FEATURED label within its yellow badge. */
.frontpage .lead-story .lead-kicker {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  /* Compensate for the trailing letter-spacing that offsets the visible word. */
  text-indent:.15em;
}

/* iOS Safari: force compact, visible native date fields in the header popover. */
.masthead .header-actions .date-filter .date-range {
  box-sizing:border-box;
}
.masthead .header-actions .date-filter .date-range input[type="date"] {
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  max-height:42px!important;
  padding:0 10px!important;
  margin:0!important;
  border:1px solid #8198ad!important;
  border-radius:3px!important;
  background:#f5f7fa!important;
  color:#14283f!important;
  -webkit-text-fill-color:#14283f!important;
  color-scheme:light;
  font-family:inherit;
  font-size:16px!important;
  font-weight:400;
  line-height:normal!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  opacity:1!important;
  overflow:hidden!important;
}
.masthead .header-actions .date-filter .date-range input[type="date"]::-webkit-date-and-time-value {
  min-height:1em;
  height:auto;
  line-height:normal;
  text-align:left;
  color:#14283f;
}
.masthead .header-actions .date-filter .date-range input[type="date"]::-webkit-datetime-edit {
  display:inline-flex;
  align-items:center;
  padding:0;
  color:#14283f;
}
.masthead .header-actions .date-filter .date-range input[type="date"]::-webkit-calendar-picker-indicator {
  opacity:1;
  width:16px;
  height:16px;
  margin:0;
  padding:0;
  cursor:pointer;
}
@media(max-width:900px) {
  .masthead .header-actions .date-filter .date-range {
    display:flex!important;
    flex-direction:column;
    align-items:stretch;
    gap:7px;
    padding:12px;
    width:auto;
    max-height:min(360px,calc(100dvh - 150px));
    overflow-y:auto;
  }
  .masthead .header-actions .date-filter .date-range label {
    display:block!important;
    flex:none;
    margin:0;
    line-height:1.3;
  }
  .masthead .header-actions .date-filter .date-range input[type="date"] {
    flex:0 0 42px;
    align-self:stretch;
  }
}

/* Publication wordmark: text only; tn emblem is reserved for icons. */
.masthead .wordmark .brand-name{font-size:clamp(20px,2.1vw,27px);font-weight:700;letter-spacing:-.055em;white-space:nowrap;line-height:1}
@media(max-width:600px){.masthead .wordmark .brand-mark{font-size:20px}.masthead .wordmark .brand-name{font-size:clamp(17px,4.2vw,21px)}}
