:root {
  color-scheme: light;
  --paper: #f4f7f9;
  --paper-deep: #e7edf2;
  --surface: #fcfdfe;
  --ink: #17212b;
  --navy: #102a43;
  --muted: #586777;
  --line: #c8d2dc;
  --line-strong: #8293a4;
  --signal: #c6372c;
  --market: #087a55;
  --amber: #83620f;
  --up: #087a55;
  --down: #c6372c;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --section-gap: 36px;
  --viewport-gutter: clamp(18px, 2.5vw, 64px);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); color: var(--ink); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); font-family: var(--sans); line-height: 1.62; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--signal); }
img { display: block; max-width: 100%; height: auto; background: var(--paper-deep); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { text-wrap: balance; }
h1[id], h2[id], h3[id], section[id] { scroll-margin-top: 20px; }
[hidden] { display: none !important; }

.sr-only,
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 9px 12px; background: var(--surface); border: 1px solid var(--ink); }
.eyebrow, .story-source, .story-signals, .source-language { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
html[lang="zh-CN"] .up { color: var(--down) !important; }
html[lang="zh-CN"] .down { color: var(--up) !important; }
html[lang="en"] .up { color: var(--up) !important; }
html[lang="en"] .down { color: var(--down) !important; }

.masthead { width: calc(100% - (var(--viewport-gutter) * 2)); max-width: none; margin: 0 auto; padding: 0 30px; border-bottom: 1px solid #36536d; background: var(--navy); color: #edf4fa; }
.masthead-utility { min-height: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid #36536d; font-family: var(--mono); font-size: 10px; color: #b8c7d4; }
.masthead-utility p { margin: 0; }
.masthead-brand { min-height: 52px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; padding: 6px 0; border-bottom: 1px solid #36536d; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; }
.brand-mark img { width: 28px; height: 28px; background: transparent; }
.brand-mark span, .brand-mark h1 { margin: 0; color: #f4f8fb; font-family: var(--sans); font-size: 24px; font-weight: 800; line-height: 1; overflow-wrap: normal; text-wrap: nowrap; }
.masthead-brand > p { max-width: 36ch; margin: 0; text-align: right; color: #c7d4df; font-size: 12px; }
.masthead-nav-row { min-height: 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.site-nav { min-width: 0; display: flex; align-items: center; gap: 20px; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; font-size: 14px; font-weight: 650; }
.site-nav a[aria-current="page"] { color: #f8fbfd; box-shadow: inset 0 -3px 0 var(--signal); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher { height: 44px; display: inline-flex; align-items: stretch; border: 1px solid #6f8599; font-family: var(--mono); font-size: 11px; font-weight: 750; white-space: nowrap; }
.language-switcher :is(a, span) { min-width: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; text-decoration: none; }
.language-switcher :is(a, span) + :is(a, span) { border-left: 1px solid #6f8599; }
.language-switcher [aria-current="page"] { background: #2b4a66; color: #f8fbfd; }
.toolbar-rss-btn { height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid #6f8599; color: #edf4fa; text-decoration: none; font-family: var(--mono); font-size: 11px; font-weight: 750; white-space: nowrap; }
.toolbar-rss-btn:hover { border-color: #edf4fa; color: #f8fbfd; background: #2b4a66; }
.toolbar-rss-btn .btn-icon { display: block; flex: 0 0 auto; }
.header-search { width: 150px; height: 45px; display: grid; grid-template-columns: minmax(0, 1fr) 44px; border-bottom: 1px solid #91a4b5; }
.header-search input { width: 100%; min-width: 0; padding: 7px 4px; border: 0; background: transparent; color: #f4f8fb; }
.header-search input::placeholder { color: #b8c7d4; }
.header-search button { border: 0; background: transparent; color: #f4f8fb; cursor: pointer; font-size: 21px; }
.header-search button:hover { background: var(--signal); color: #f8fbfd; }
.header-search:focus-within, .library-search:focus-within, .archive-gateway-form:focus-within { outline: 2px solid var(--signal); outline-offset: 2px; }

main { width: calc(100% - (var(--viewport-gutter) * 2)); max-width: none; margin: 0 auto; padding: 8px 30px 90px; }
.market-tape { display: grid; grid-template-columns: minmax(0, 1fr) 126px; align-items: stretch; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin: 18px 0 0; background: var(--surface); }
.tape-heading { padding: 8px 12px; border-right: 1px solid var(--line-strong); background: var(--paper-deep); }
.tape-heading h1 { margin: 0 0 5px; font-family: var(--serif); font-size: 19px; }
.tape-heading p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.4; }
.tape-quotes { min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; }
.tape-quote { min-width: 120px; padding: 6px 10px; border-right: 1px solid var(--line); }
.tape-quote p, .tape-quote small { display: block; margin: 0; color: var(--muted); font-size: 10px; white-space: nowrap; }
.tape-quote strong { margin-right: 7px; font-family: var(--mono); font-size: 14px; }
.tape-quote span { font-family: var(--mono); font-size: 11px; }
.quote-missing { font-family: var(--sans) !important; color: var(--muted); font-size: 12px !important; }
.tape-link { display: flex; align-items: center; justify-content: flex-end; padding-left: 12px; text-align: right; font-size: 11px; font-weight: 700; text-decoration: none; }
.tape-empty { padding: 14px; color: var(--muted); }

.numbered-section { margin-top: var(--section-gap); }
.latest-section, .channels-section, .first-party-section, .library-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}
.today-section { margin-top: 8px; }
.section-title-row { min-height: 44px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: start; gap: 14px; padding-top: 6px; border-top: 3px solid var(--navy); margin-bottom: 10px; }
.section-title-row > span { font-family: var(--mono); color: var(--signal); font-size: 14px; }
.section-title-row p { margin: 0 0 2px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.section-title-row h2 { margin: 0; font-family: var(--serif); font-size: 25px; line-height: 1.15; }
.section-title-row > a { align-self: center; font-size: 13px; font-weight: 700; text-decoration: none; }

.today-layout { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(240px, 0.78fr) minmax(300px, 0.92fr); align-items: start; gap: 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--surface); }
.today-layout > * { min-width: 0; }
.lead-story { min-width: 0; padding: 0 0 18px; }
.lead-image { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; margin: 0 0 12px; border-bottom: 4px solid var(--ink); }
.lead-image img { width: 100%; height: 100%; object-fit: cover; }
.lead-copy { padding-right: 18px; }
.lead-copy h3 { margin: 0 0 8px; color: var(--navy); font-family: var(--serif); font-size: 26px; font-weight: 750; line-height: 1.22; }
.lead-copy h3 a, .today-secondary h3 a, .ranking-list h3 a, .latest-list h3 a, .channel-panel h3 a { text-decoration: none; }
.lead-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.lead-meta .story-source { color: var(--navy); text-transform: none; font-size: 12px; font-weight: 650; letter-spacing: 0; }
.lead-meta time { font-family: var(--mono); }
.story-source span { margin-left: 10px; font-family: var(--mono); font-weight: 400; }
.story-signals { display: flex; flex-wrap: wrap; gap: 8px 12px; text-transform: none; }
.impact-text { color: var(--muted); }
.impact-high { color: var(--down); }
.impact-medium { color: var(--amber); }
.today-secondary { border-left: 2px solid var(--ink); padding: 0 16px 0 18px; }
.today-empty { align-self: start; }
.today-secondary article { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 12px; padding: 16px 0; border-top: 2px solid var(--ink); }
.today-secondary article:first-child { padding-top: 0; border-top: 0; }
.today-secondary article.has-media { grid-template-columns: minmax(0, 1fr) 112px; }
.secondary-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.secondary-media { display: block; width: 112px; min-height: 72px; height: 100%; overflow: hidden; background: var(--paper-deep); }
.secondary-media img { width: 100%; height: 100%; object-fit: cover; }
.today-secondary h3 { display: -webkit-box; margin: 0; overflow: hidden; color: var(--navy); font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.today-secondary .lead-meta { margin-top: 6px; }
.ranking-panel { min-width: 0; display: flex; flex-direction: column; background: var(--paper-deep); border-left: 2px solid var(--ink); }
.ranking-tabs { height: 46px; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 2px solid var(--ink); }
.ranking-tabs button { min-width: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 700; }
.ranking-tabs button + button { border-left: 1px solid var(--line-strong); }
.ranking-tabs button[aria-selected="true"] { color: #f8fbfd; background: var(--navy); }
.ranking-tabs button:not([aria-selected="true"]):hover { background: var(--surface); color: var(--ink); }
.ranking-context { padding: 0 14px; }
.ranking-context > header { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--ink); }
.ranking-context > header strong { font-family: var(--serif); font-size: 15px; }
.ranking-context > header span { color: var(--muted); font-family: var(--mono); font-size: 10px; white-space: nowrap; }
.ranking-list { margin: 0; padding: 0; list-style: none; }
.ranking-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 62px; padding: 10px 0; border-bottom: 1px solid var(--line-strong); }
.ranking-list li > span { font-family: var(--mono); color: var(--signal); font-size: 12px; font-weight: 700; }
.ranking-list p { margin: 0 0 3px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.ranking-list h3 { display: -webkit-box; margin: 0; overflow: hidden; font-family: var(--serif); font-size: 15px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.topic-ranking li { grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; }
.topic-ranking li > strong { color: var(--amber); font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.sector-ranking li { grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; }
.sector-ranking li > strong { font-family: var(--mono); font-size: 12px; }
.ranking-empty { display: block !important; padding: 24px 0 !important; color: var(--muted); }
.ranking-footer { min-height: 44px; display: flex; align-items: center; margin: 0 14px; border-top: 0; font-size: 12px; font-weight: 750; text-decoration: none; }
.latest-list { border-bottom: 1px solid var(--ink); }
.latest-priority { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line-strong); background: var(--surface); }
.latest-priority.is-single { grid-template-columns: 1fr; }
.latest-priority.is-single .latest-item-featured:first-child { border-right: 0; }
.latest-item { min-width: 0; }
.latest-item-copy { min-width: 0; }
.latest-item-featured { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 20px 18px 19px; }
.latest-item-featured:first-child { border-right: 1px solid var(--line); }
.latest-stream { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 42px; padding: 9px 0 7px; }
.latest-item-compact { min-height: 86px; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 0; }
.latest-item-compact .latest-item-copy { min-height: 58px; padding-left: 16px; border-left: 2px solid var(--line); }
.latest-item-compact:hover .latest-item-copy { border-left-color: var(--signal); }
.latest-list h3 { display: -webkit-box; margin: 0; overflow: hidden; color: var(--navy); font-family: var(--serif); font-weight: 750; line-height: 1.36; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.latest-item-featured h3 { font-size: 22px; }
.latest-item-compact h3 { font-size: 17px; }
.latest-list h3 a { color: inherit; }
.latest-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.latest-meta .story-source { color: var(--navy); text-transform: none; font-size: 12px; font-weight: 650; letter-spacing: 0; }
.latest-meta-sep { margin: 0 8px; color: var(--line-strong); font-weight: 400; }
.latest-list time { padding-top: 4px; color: var(--muted); font-family: var(--mono); font-size: 12px; font-weight: 700; line-height: 1.2; }
.latest-item-featured time { color: var(--signal); }
.latest-list .impact-text { font-size: 12px; }

.channel-tabs { display: flex; flex-wrap: wrap; gap: 26px; margin-bottom: 14px; border-bottom: 1px solid var(--ink); }
.channel-tabs button { min-height: 46px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 700; }
.channel-tabs button[aria-selected="true"] { color: var(--navy); background: transparent; box-shadow: inset 0 -3px 0 var(--signal); }
.channel-tabs button:not([aria-selected="true"]):hover { color: var(--signal); }
.channel-panel { min-height: 430px; display: grid; grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.2fr); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 0 38px; padding-bottom: 2px; border-bottom: 1px solid var(--ink); }
.channel-story-copy { min-width: 0; }
.channel-panel h3 { display: -webkit-box; margin: 0 0 5px; overflow: hidden; font-family: var(--serif); line-height: 1.34; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.channel-panel .lead-meta { margin: 0; }
.channel-lead { grid-column: 1; grid-row: 1 / span 5; min-width: 0; display: flex; flex-direction: column; padding: 14px 0 20px; border-top: 2px solid var(--ink); }
.channel-lead-media { display: block; width: 100%; aspect-ratio: 16 / 10; margin-bottom: 16px; overflow: hidden; }
.channel-lead-media img { width: 100%; height: 100%; object-fit: cover; }
.channel-lead h3 { font-size: 24px; line-height: 1.32; }
.channel-lead.text-only { min-height: 260px; justify-content: flex-end; padding: 28px; background: var(--surface); }
.channel-lead.text-only .channel-story-copy { max-width: 30ch; }
.channel-lead.text-only h3 { font-size: 30px; line-height: 1.28; }
.channel-brief { grid-column: 2; min-height: 82px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.channel-brief h3 { font-size: 17px; }
.channel-media { display: block; width: 100px; aspect-ratio: 16 / 10; overflow: hidden; }
.channel-media img { width: 100%; height: 100%; object-fit: cover; }

.first-party-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.first-party-grid article { border-top: 1px solid var(--line-strong); padding-top: 12px; }
.first-party-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 15px; }
.first-party-grid h3 { margin: 7px 0; font-family: var(--serif); font-size: 20px; line-height: 1.35; }
.first-party-grid article > p:last-child { display: -webkit-box; overflow: hidden; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.editorial-empty { margin: 0; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--serif); }

.library-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 70px; }
.library-layout > div:first-child h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 30px; }
.library-layout > div:first-child > p { color: var(--muted); }
.library-search { max-width: 650px; height: 52px; display: grid; grid-template-columns: minmax(0, 1fr) 90px; border: 1px solid var(--ink); margin: 24px 0; }
.library-search input { min-width: 0; padding: 0 15px; border: 0; background: var(--surface); color: var(--ink); }
.library-search button { border: 0; background: var(--signal); color: #f8fbfd; cursor: pointer; font-weight: 700; }
.library-search button:hover { background: var(--ink); }
.library-count { font-family: var(--mono); font-size: 12px; }
.library-count strong { color: var(--signal); font-size: 22px; }
.library-recent { border-left: 1px solid var(--line-strong); padding-left: 28px; }
.library-recent article { padding: 11px 0; border-top: 1px solid var(--line); }
.library-recent article p { margin: 0; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.library-recent h3 { margin: 3px 0; font-family: var(--serif); font-size: 15px; line-height: 1.35; }
.library-recent h3 a { text-decoration: none; }
.library-recent > a { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 700; text-decoration: none; }

.editorial-header { max-width: 900px; margin: 18px 0 46px; padding-top: 14px; border-top: 4px solid var(--ink); }
.editorial-header h1 { margin: 6px 0 9px; font-family: var(--serif); font-size: 38px; line-height: 1.14; }
.editorial-header > p:last-of-type { max-width: 65ch; color: var(--muted); font-family: var(--serif); font-size: 17px; }
.inline-route { display: inline-block; margin-top: 10px; color: var(--signal); font-weight: 700; text-decoration: none; }
.section-rule { min-height: 56px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-top: 2px solid var(--ink); padding-top: 10px; margin-bottom: 12px; }
.section-rule h2 { margin: 0; font-family: var(--serif); font-size: 26px; }
.section-rule span { color: var(--muted); font-family: var(--mono); font-size: 11px; }

.market-board { margin-top: 44px; }
.market-table { border-bottom: 1px solid var(--ink); }
.market-row { min-height: 62px; display: grid; grid-template-columns: minmax(220px, 1.5fr) 1fr 1fr 1fr; align-items: center; gap: 20px; padding: 10px 0; border-top: 1px solid var(--line); }
.market-row p { margin: 0; font-family: var(--serif); font-size: 17px; }
.market-row p small { display: block; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.market-row strong, .market-row > span { font-family: var(--mono); font-size: 15px; }
.market-row > small { color: var(--muted); font-family: var(--mono); font-size: 10px; text-align: right; }
.market-sector-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.market-sector-grid article { min-height: 106px; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 4px 10px; padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.market-sector-grid p { grid-column: 1 / -1; margin: 0; font-family: var(--serif); font-size: 17px; }
.market-sector-grid small { grid-column: 1 / -1; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.market-sector-grid strong { margin-top: 18px; font-family: var(--mono); font-size: 18px; }
.market-sector-grid span { align-self: end; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.market-impact-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--ink); }
.market-impact-list li { min-height: 70px; display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.market-impact-list li > span { font-family: var(--mono); color: var(--signal); }
.market-impact-list p { margin: 0; color: var(--muted); font-size: 11px; }
.market-impact-list h3 { margin: 3px 0; font-family: var(--serif); font-size: 18px; }

.language-legend { display: flex; gap: 8px; margin-top: 20px; }
.language-legend span { padding: 4px 8px; border: 1px solid var(--line-strong); font-size: 11px; font-weight: 700; }
.source-group { margin-top: 46px; }
.source-list { border-bottom: 1px solid var(--ink); }
.source-row { min-height: 76px; display: grid; grid-template-columns: minmax(220px, 1.1fr) minmax(240px, 1fr) 140px; align-items: center; gap: 26px; padding: 10px 0; border-top: 1px solid var(--line); }
.source-row h3 { margin: 4px 0 0; font-family: var(--serif); font-size: 19px; }
.source-row > p { color: var(--muted); font-size: 12px; }
.source-stat { text-align: right; font-family: var(--mono); }
.source-stat strong { color: var(--signal); font-size: 22px; }
.source-stat time { font-size: 10px; }

.window-switch { display: flex; width: fit-content; margin-top: 24px; border: 1px solid var(--ink); }
.window-switch a { min-width: 62px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border-right: 1px solid var(--line-strong); text-decoration: none; font-family: var(--mono); font-size: 12px; }
.window-switch a:last-child { border-right: 0; }
.window-switch a[aria-current="page"] { background: var(--ink); color: var(--surface); }
.chart-legend { display: flex; gap: 24px; margin-bottom: 8px; font-size: 12px; font-weight: 700; }
.chart-legend span::before { content: ""; display: inline-block; width: 22px; height: 3px; margin-right: 8px; vertical-align: middle; }
.legend-news::before { background: var(--signal); opacity: 0.55; }
.legend-price::before { background: var(--market); }
.method-note { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.sector-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); background: var(--surface); }
.sector-tile { min-width: 0; padding: 12px 14px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 24px; }
.sector-tile:target { box-shadow: inset 3px 0 0 var(--signal); }
.sector-tile > header { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; align-items: start; }
.rank-number { margin: 4px 0 0; color: var(--signal); font-family: var(--mono); font-size: 11px; }
.sector-tile h2 { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.sector-tile header p:last-child { margin: 2px 0 0; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.tile-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.relation-stat { margin: 0; text-align: left; }
.relation-stat strong { display: block; font-family: var(--mono); font-size: 16px; }
.relation-stat span { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.relation-chart { width: 100%; height: 88px; display: block; margin-top: 10px; overflow: visible; }
.chart-axis { stroke: var(--line-strong); stroke-width: 1; }
.chart-bar { fill: var(--signal); opacity: 0.45; }
.chart-line { fill: none; stroke: var(--market); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sector-empty { min-height: 88px; display: flex; align-items: center; margin: 10px 0 0; color: var(--muted); border-top: 1px solid var(--line); }
.sample-status { margin: 4px 0 0; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.data-table-disclosure { margin-top: 2px; }
.data-table-disclosure summary { width: fit-content; min-height: 44px; display: flex; align-items: center; cursor: pointer; color: var(--muted); font-size: 11px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 11px; }
table, .tape-quote, .market-row, .market-sector-grid, .relation-stat, .source-stat, .latest-list time, .ranking-list, .library-count, .article-meta { font-variant-numeric: tabular-nums; }
th, td { padding: 8px 10px; border-top: 1px solid var(--line); text-align: right; }
th:first-child, td:first-child { text-align: left; }

.page-intro { max-width: 900px; margin: 18px 0 44px; padding-top: 14px; border-top: 4px solid var(--ink); }
.page-intro h1 { margin: 6px 0; font-family: var(--serif); font-size: 37px; line-height: 1.16; }
.page-intro > p:last-child { max-width: 66ch; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 18px; margin: 25px 0; }
.filters a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: 13px; }
.filters a[aria-current="page"] { color: var(--signal); box-shadow: inset 0 -2px 0 var(--signal); }
.archive-gateway-form { max-width: 700px; height: 48px; display: grid; grid-template-columns: minmax(0, 1fr) 88px; border: 1px solid var(--ink); }
.archive-gateway-form input { min-width: 0; padding: 0 13px; border: 0; background: var(--surface); }
.archive-gateway-form button { border: 0; background: var(--ink); color: var(--surface); cursor: pointer; }
.archive-gateway-form button:hover { background: var(--signal); }
.archive-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-bottom: 1px solid var(--ink); }
.archive-list article { min-height: 112px; padding: 14px 0; border-top: 1px solid var(--line); }
.archive-item.has-media { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; align-items: start; }
.archive-list h2 { display: -webkit-box; margin: 5px 0 0; overflow: hidden; font-family: var(--serif); font-size: 20px; line-height: 1.32; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.archive-list article > p:last-child { color: var(--muted); }
.archive-media { width: 112px; aspect-ratio: 16 / 10; overflow: hidden; }
.archive-media img { width: 100%; height: 100%; object-fit: cover; }
.pager { display: flex; justify-content: space-between; margin-top: 35px; }
.empty-state { padding: 35px 0; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.article { max-width: 920px; margin: 20px auto; }
.article > header { padding-top: 18px; border-top: 4px solid var(--ink); }
.article > header h1 { margin: 10px 0 18px; font-family: var(--serif); font-size: 40px; line-height: 1.2; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 12px; }
.article-summary { margin: 28px 0 0; color: var(--muted); font-family: var(--serif); font-size: 20px; }
.article-toolbar { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.article-toolbar button { min-height: 44px; padding: 0 15px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-weight: 700; }
.article-toolbar button:hover { background: var(--ink); color: var(--surface); }
.tool-feedback { color: var(--muted); font-size: 12px; }
.article figure { margin: 32px 0; }
.article figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-body { font-family: var(--serif); font-size: 20px; line-height: 1.75; }
.article-body :is(p, ul, ol, blockquote) { margin: 1.2em 0; }
.article-body h2 { margin-top: 2.2em; }
.citations, .source-link { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); }
.related-panel { margin-top: 48px; padding-top: 16px; border-top: 2px solid var(--ink); }
.related-panel h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 24px; }
.related-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.related-item { min-width: 0; display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; }
.related-item span { color: var(--muted); font-size: 11px; font-weight: 700; }
.related-item strong { font-family: var(--serif); font-size: 17px; line-height: 1.35; }
.not-found { max-width: 720px; min-height: 48vh; display: flex; flex-direction: column; justify-content: center; }
.not-found h1 { margin: 4px 0 10px; font-family: var(--serif); font-size: 48px; }
.not-found-actions { display: flex; gap: 12px; margin-top: 22px; }
.not-found-actions a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--ink); text-decoration: none; }
.about-page { max-width: 820px; }
.about-page section { max-width: 66ch; margin: 50px 0; }

.site-footer { width: calc(100% - (var(--viewport-gutter) * 2)); max-width: none; display: grid; grid-template-columns: 1fr auto 1.2fr; gap: 38px; margin: 0 auto; padding: 28px 30px 46px; border-top: 3px double var(--ink); color: var(--muted); font-size: 12px; }
.site-footer strong { color: var(--navy); font-family: var(--sans); font-size: 19px; }
.site-footer p { margin: 4px 0; }
.site-footer nav { display: flex; flex-direction: column; gap: 5px; }
.footer-contact-area { display: flex; justify-content: flex-end; align-items: center; gap: 16px; text-align: right; }
.footer-contact { flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; font-family: var(--mono); font-weight: 700; }
.footer-contact:hover { background: var(--ink); color: var(--surface); }
.contact-popover { position: fixed; z-index: 40; min-width: 260px; padding: 14px 16px; border: 1px solid var(--navy); border-radius: 4px; background: var(--navy); color: var(--surface); box-shadow: 0 12px 32px rgba(16, 42, 67, 0.24); }
.contact-popover-kicker { display: block; margin-bottom: 8px; color: #b8c7d4; font-size: 11px; text-transform: uppercase; }
.contact-email-row { display: flex; gap: 10px; align-items: center; }
.contact-email-row a { color: #f8fbfd; }
.contact-email-row button { border: 1px solid #6f8599; background: transparent; color: #f8fbfd; padding: 6px 10px; cursor: pointer; }
.contact-email-row button:hover { border-color: #f8fbfd; background: #f8fbfd; color: var(--ink); }
.contact-copy-status { display: block; min-height: 1.2em; margin-top: 8px; color: #c7d4df; font-size: 11px; }
.language-suggestion { position: fixed; z-index: 50; right: 16px; bottom: 16px; width: min(410px, calc(100vw - 24px)); padding: 16px; border: 1px solid var(--ink); border-radius: 4px; background: var(--surface); box-shadow: 0 15px 36px rgba(16, 42, 67, 0.18); }
.language-suggestion-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.language-suggestion-actions a, .language-suggestion-actions button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; }
.language-suggestion-actions a { background: var(--ink); color: var(--surface); }
.language-suggestion-actions a:hover { background: var(--signal); color: #f8fbfd; }
.language-suggestion-actions button:hover, .language-suggestion-close:hover { background: var(--paper-deep); }
.language-suggestion-close { position: absolute; top: 6px; right: 8px; min-width: 38px; min-height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 20px; }

@media (max-width: 1080px) {
  .today-layout { grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr); }
  .ranking-panel { grid-column: 1 / -1; margin-top: 0; border-left: 0; border-top: 2px solid var(--ink); }
  .latest-stream { grid-template-columns: 1fr; }
  .channel-panel { grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); gap: 0 28px; }
  .market-sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sector-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  :root { --viewport-gutter: 0px; }
  .masthead, main, .site-footer { padding-left: 18px; padding-right: 18px; }
  .masthead-brand { min-height: 56px; grid-template-columns: 1fr; gap: 2px; padding: 8px 0; }
  .brand-mark span, .brand-mark h1 { font-size: 22px; }
  .masthead-brand > p { text-align: left; font-size: 12px; }
  .masthead-nav-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 4px 0 8px; }
  .site-nav { order: 2; width: 100%; }
  .header-actions { min-width: 0; justify-content: space-between; }
  .toolbar-rss-btn { padding: 0 8px; }
  .header-search { flex: 1 1 auto; width: auto; min-width: 0; max-width: 260px; }
  main { padding-top: 12px; }
  .market-tape { grid-template-columns: minmax(0, 1fr) 126px; }
  .tape-link { grid-column: 1 / -1; min-height: 40px; justify-content: flex-start; padding-left: 0; border-top: 1px solid var(--line); }
  .today-layout, .library-layout { grid-template-columns: 1fr; }
  .lead-image { width: 100%; height: auto; max-height: none; aspect-ratio: 16 / 9; }
  .today-secondary { margin-top: 0; border-left: 0; border-top: 2px solid var(--ink); padding: 16px 0 0; }
  .today-secondary article.has-media { grid-template-columns: minmax(0, 1fr) 112px; }
  .secondary-media { width: 112px; }
  .ranking-panel { grid-column: auto; border-left: 0; border-top: 2px solid var(--ink); }
  .latest-priority { grid-template-columns: 1fr; }
  .latest-item-featured:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .channel-panel { min-height: 0; grid-template-columns: 1fr; grid-template-rows: none; gap: 0; }
  .channel-lead { grid-column: 1; grid-row: auto; }
  .channel-lead.text-only { min-height: 220px; }
  .channel-brief { grid-column: 1; }
  .first-party-grid, .archive-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-recent { margin-top: 30px; border-left: 0; border-top: 1px solid var(--ink); padding: 22px 0 0; }
  .market-row { grid-template-columns: minmax(170px, 1.4fr) 1fr 1fr; }
  .market-row > small { display: none; }
  .market-sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-row { grid-template-columns: minmax(190px, 1fr) 120px; }
  .source-row > p:nth-child(2) { display: none; }
  .sector-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article figure { margin: 30px 0; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-contact-area { grid-column: 1 / -1; justify-content: flex-start; text-align: left; }
}

@media (max-width: 520px) {
  .masthead-utility p:last-child { display: none; }
  .toolbar-rss-btn .rss-label { display: none; }
  .site-nav { gap: 18px; }
  :root { --section-gap: 40px; }
  .section-title-row { grid-template-columns: 42px minmax(0, 1fr); }
  .section-title-row > a { grid-column: 2; justify-self: start; }
  .section-title-row h2 { font-size: 28px; }
  .lead-copy h3 { font-size: 24px; }
  .latest-item-featured { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 17px 12px 16px; }
  .latest-item-featured h3 { font-size: 20px; }
  .latest-item-compact { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; }
  .latest-item-compact h3 { font-size: 17px; }
  .channel-lead.text-only { min-height: 190px; padding: 22px 18px; }
  .channel-lead.text-only h3 { font-size: 24px; }
  .today-secondary article.has-media { grid-template-columns: minmax(0, 1fr) 88px; }
  .secondary-media { width: 88px; }
  .first-party-grid, .archive-list { grid-template-columns: 1fr; }
  .related-list { grid-template-columns: 1fr; }
  .channel-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .channel-tabs button { flex: 0 0 auto; }
  .editorial-header h1, .page-intro h1, .article > header h1 { font-size: 36px; }
  .article-body { font-size: 18px; line-height: 1.78; }
  .market-row { grid-template-columns: minmax(140px, 1fr) 1fr; }
  .market-row > span { grid-column: 2; }
  .market-row > strong { text-align: right; }
  .market-sector-grid { grid-template-columns: 1fr; }
  .source-row { grid-template-columns: minmax(0, 1fr) 92px; gap: 15px; }
  .sector-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-tile { padding: 10px 10px 8px; }
  .sector-tile h2 { font-size: 17px; }
  .tile-stats { gap: 6px; }
  .relation-stat strong { font-size: 14px; }
  .relation-chart { height: 72px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-contact-area { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
