:root {
  color-scheme: light;
  --bg: #fcfbf8;
  --panel: #ffffff;
  --line: #d6d1c9;
  --text: #252321;
  --muted: #706b65;
  --accent: #b3232e;

  --mono: Consolas, "SFMono-Regular", monospace;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}

.edition-date { color: var(--muted); font: 12px/1.6 var(--mono); text-align: right; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--sans); }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
a:hover, .link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
button { cursor: pointer; }
button:disabled { opacity: .35; cursor: default; }
button, select { background: var(--panel); border: 1px solid var(--line); border-radius: 0; padding: 6px 10px; }
input { background: transparent; border: 1px solid var(--line); border-radius: 0; padding: 7px 10px; min-width: 0; }
button, input, select, a, summary { outline-offset: 4px; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); }
::selection { background: var(--accent); color: #fff; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1 { font: 31px/1.2 var(--serif); }
h2 { font: 21px/1.2 var(--serif); }
h3 { font: 24px/1.25 var(--serif); }
small, .muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: -70px; left: 15px; background: var(--accent); color: #fff; padding: 10px; z-index: 20; }
.skip:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1280px; margin: auto; min-height: 57px; padding: 10px 24px; display: flex; gap: 22px; align-items: center; }
.brand { display: flex; align-items: center; gap: 9px; font: 700 23px var(--mono); letter-spacing: 2px; }
.brand img { border-radius: 0; }
nav { display: flex; gap: 19px; align-items: center; }
nav a { font: 13px var(--mono); color: #45413d; white-space: nowrap; }
#search-form { display: flex; margin-left: auto; max-width: 205px; border: 1px solid var(--line); }
#search-form input { width: 100%; border: 0; font-size: 14px; }
#search-form button { border: 0; background: transparent; padding: 5px 8px; color: var(--muted); }
main { max-width: 1232px; margin: auto; padding: 18px 24px 26px; min-height: 80vh; }
section, details[id] { scroll-margin-top: 88px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 10px; }
.section-head time, .metadata { font: 13px var(--mono); color: var(--muted); }
.notice { border-left: 2px solid var(--accent); padding: 6px 10px; margin-bottom: 14px; color: #743335; font-size: 14px; background: #f8e9e8; }
.brief { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.brief-findings { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px 26px; }
.finding { border-top: 1px solid var(--line); padding-top: 10px; min-width: 0; }
.finding h3 { font: 20px/1.3 var(--serif); margin: 3px 0 6px; }
.finding .source-line { margin-bottom: 7px; }
.finding p { font-size: 15px; line-height: 1.55; }
.source-line { color: var(--muted); font: 12px/1.6 var(--mono); }
.source-line a { color: var(--accent); }
.link { border: 0; background: transparent; padding: 0; color: var(--accent); text-align: left; }
.finding .link { font: 13px var(--mono); margin-bottom: 7px; }
details { color: inherit; }
summary { cursor: pointer; }
.report-body { max-width: 900px; padding: 16px 0 0; }
.report-body>.metadata { margin-bottom: 14px; line-height: 1.7; }
.evidence { border-top: 1px solid var(--line); padding: 15px 0; }
.evidence h3 { font-size: 23px; margin: 5px 0 9px; }
.evidence p { font-size: 15px; margin: 8px 0; }
.evidence .action { color: var(--muted); font-size: 14px; }
.indicator { font: 13px var(--mono); color: var(--accent); overflow-wrap: anywhere; }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); margin: 17px 0 14px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.metric { display: flex; gap: 12px; align-items: baseline; padding: 0 20px; border-left: 1px solid var(--line); }
.metric:first-child { padding-left: 0; border: 0; }
.metric strong { font: 26px var(--serif); }
.metric span { font: 13px var(--mono); color: var(--muted); }
.trend-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; }
.chart-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.chart-head h3 { font: 15px var(--sans); }
.chart-head span { color: var(--muted); font: 13px var(--mono); }
.segmented { display: flex; gap: 3px; }
.segmented button { font: 13px var(--mono); min-height: 29px; padding: 4px 9px; background: transparent; }
.segmented button[aria-pressed=true] { color: var(--accent); border-color: #ad555d; }
.bar-chart { height: 96px; display: flex; gap: 5px; align-items: end; border-bottom: 1px solid #b6afa6; margin-top: 15px; padding: 8px 0 0; }
.bar-slot { display: flex; align-items: end; height: 100%; flex: 1; position: relative; min-width: 2px; }
.bar { width: 100%; height: 0; min-height: 0; padding: 0; border: 0; background: #bc4d58; position: relative; }
.bar:hover, .bar:focus { background: var(--accent); }
.bar-tip { display: none; position: absolute; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%); color: #151512; background: #eee9d9; padding: 4px 6px; font: 12px var(--mono); white-space: nowrap; z-index: 2; }
.bar:hover .bar-tip, .bar:focus .bar-tip { display: block; }
.chart-axis { display: flex; justify-content: space-between; font: 12px var(--mono); color: var(--muted); padding-top: 5px; }
.type-list { display: grid; gap: 7px; padding-top: 15px; }
.type-row { display: grid; grid-template-columns: 85px 1fr 35px; gap: 10px; align-items: center; font-size: 14px; }
.type-track { height: 4px; background: #e2ddd6; }
.type-bar { display: block; height: 4px; background: #b3232e; }
.type-row b { font: 13px var(--mono); text-align: right; }
.context { border-top: 1px solid var(--line); margin-top: 14px; padding: 10px 0; }
.context>summary { font-size: 15px; }
.context>summary small { font: 12px var(--mono); margin-left: 10px; }
.context .catalog-note { font-size: 14px; color: var(--muted); margin: 12px 0; }
.filter-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0; }
.filter-row input { width: 340px; max-width: 100%; font-size: 14px; }
.filter-row select { font-size: 14px; }
.filter-row small { margin-left: auto; font: 12px var(--mono); }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 22px; }
.catalog-item { padding: 10px 0; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; }
.catalog-item span { display: block; color: var(--accent); font: 12px var(--mono); margin-bottom: 3px; }
.catalog-item strong { font: 17px var(--sans); }
#intelligence { border-top: 1px solid var(--line); padding-top: 15px; margin-top: 16px; }
.news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 25px; }
.story { border-top: 1px solid var(--line); padding-top: 12px; }
.story h3 { font-size: 21px; line-height: 1.25; margin: 5px 0 7px; }
.story p { font-size: 15px; color: #4d4945; line-height: 1.65; }
.story img { width: 112px; height: 75px; float: right; object-fit: cover; margin: 4px 0 8px 12px; }
.story .story-meta { margin-top: 8px; display: flex; justify-content: space-between; gap: 10px; font: 12px var(--mono); color: var(--muted); clear: both; }
.story-meta a { color: var(--accent); }
.related-updates { margin-top: 10px; font-size: 13px; color: var(--muted); }
.related-updates ul { padding-left: 17px; line-height: 1.8; }
.more { display: block; margin: 17px auto 0; padding: 6px 15px; font-size: 14px; }
.register, .archive { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.register>summary, .archive>summary { font: 20px var(--serif); }
.register>summary small, .archive>summary small { margin-left: 8px; font: 13px var(--mono); }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; font: 12px var(--mono); color: var(--muted); padding: 9px 8px; border-bottom: 1px solid var(--line); }
.data-table td { border-bottom: 1px solid #e2ddd6; padding: 10px 8px; vertical-align: top; }
.data-table .link { font: 13px var(--mono); white-space: nowrap; }
.data-table .table-title { max-width: 650px; }
.pagination { display: flex; justify-content: center; gap: 13px; align-items: center; margin-top: 15px; font: 13px var(--mono); }
.pagination button { font-size: 14px; }
#archive-select { min-width: 250px; max-width: 100%; }
.search-results { border-bottom: 1px solid var(--line); margin-bottom: 20px; padding-bottom: 12px; }
.search-results ul { padding-left: 0; list-style: none; }
.search-results li { border-top: 1px solid var(--line); padding: 10px 0; }
.search-results li .link { color: var(--text); font: 20px var(--serif); }
.search-results li small { display: block; font: 12px var(--mono); margin-bottom: 4px; }
.empty { padding: 18px 0; color: var(--muted); font-size: 15px; }
.empty h2 { color: var(--text); margin-bottom: 8px; }
.loading { padding: 45px 0; color: var(--muted); }
footer { max-width: 1232px; margin: auto; padding: 16px 24px 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 12px; }
footer a { color: #625b55; }
dialog { width: calc(100% - 28px); max-width: 700px; max-height: 85vh; padding: 26px; border: 1px solid #b6afa6; border-radius: 0; background: var(--panel); color: var(--text); overflow: auto; }
dialog::backdrop { background: #0005; }
.dialog-close { float: right; border: 0; padding: 3px 7px; margin: -8px -8px 10px 10px; }
dialog h2 { font-size: 28px; margin: 12px 0; }
dialog h3 { font: 15px var(--sans); margin: 20px 0 8px; }
dialog p { margin: 12px 0; font-size: 15px; }
dialog dl { font-size: 14px; }
dialog dt { color: var(--muted); margin-top: 8px; }
dialog dd { margin: 0; overflow-wrap: anywhere; }
.relationship-list { list-style: none; padding: 0; }
.relationship-list li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.relationship-list .link { font-size: 15px; }
.relationship-list small { display: block; font: 12px var(--mono); margin-top: 5px; overflow-wrap: anywhere; }
@media (max-width:1050px) {
  .header-inner { gap: 12px 15px; flex-wrap: wrap; }
  nav { gap: 18px; order: 3; width: 100%; }
  #search-form { order: 1; }
  .metric { padding: 0 13px; gap: 8px; }
  .metric span { font-size: 12px; }
}
@media (max-width:760px) {
  .header-inner { flex-wrap: wrap; gap: 10px 16px; padding: 11px 17px; }
  .brand { font-size: 23px; }
  nav { order: 3; width: 100%; justify-content: space-between; gap: 9px; }
  nav a { font-size: 13px; }
  #search-form { max-width: 230px; width: 45%; }
  main { padding: 18px 17px 26px; }
  section, details[id] { scroll-margin-top: 135px; }
  .brief-findings { gap: 15px; }
  .finding { padding-left: 0; }
  .finding p { font-size: 14px; }
  .trend-grid { gap: 20px; }
  .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  footer { padding: 15px 17px; }
}
@media (max-width:520px) {
  .header-inner { padding: 11px 14px; }
  #search-form { max-width: 180px; width: 49%; }
  #search-form input { font-size: 13px; padding: 6px 8px; }
  nav a { font-size: 12px; }
  main { padding: 16px 14px 25px; }
  h1 { font-size: 27px; }
  h2 { font-size: 23px; }
  .section-head { margin-bottom: 12px; }
  .section-head time { font-size: 12px; }
  .brief-findings { grid-template-columns: 1fr; gap: 11px; }
  .finding, .finding:first-child { border-left: 0; padding: 0; }
  .finding .source-line { margin-bottom: 4px; }
  .finding p { font-size: 15px; }
  .finding .link { margin-bottom: 4px; }
  .metrics { grid-template-columns: repeat(2,1fr); gap: 12px 0; margin: 14px 0 20px; }
  .metric { padding: 0 12px; }
  .metric:nth-child(3) { border: 0; padding-left: 0; }
  .metric strong { font-size: 29px; }
  .metric span { font-size: 12px; }
  .trend-grid { grid-template-columns: 1fr; gap: 18px; }
  .bar-chart { height: 102px; }
  .type-list { padding-top: 12px; gap: 6px; }
  .context>summary small { display: block; margin: 5px 0 0 16px; }
  .catalog-grid { grid-template-columns: 1fr 1fr; gap: 0 15px; }
  .catalog-item strong { font-size: 15px; }
  .filter-row input { width: 100%; }
  .filter-row small { margin-left: 0; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .story h3 { font-size: 21px; }
  .story img { width: 95px; height: 70px; }
  .data-table .table-title { min-width: 180px; }
  .data-table td { padding: 9px 6px; }
  .data-table th { font-size: 11px; }
  footer { display: block; padding: 15px 14px; font-size: 12px; line-height: 1.8; }
  footer span { display: block; margin-top: 7px; }
  dialog { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

.brief-overview { max-width: 1050px; font-size: 16px; line-height: 1.65; margin: 0 0 14px; }
.topic-sources { font: 12px/1.7 var(--mono); color: var(--accent); margin-top: 5px; }
.finding .significance { color: var(--muted); margin-top: 4px; }
.report-overview { margin-bottom: 14px; }
.report-topic { border-top: 1px solid var(--line); padding: 12px 0; }
.report-topic>h3 { font-size: 21px; margin: 4px 0 7px; }
.report-topic>p { font-size: 15px; margin-top: 5px; }
.topic-evidence { margin-top: 8px; font-size: 14px; }
.topic-evidence>summary { color: var(--accent); font: 13px/1.6 var(--mono); }
.evidence { padding: 10px 0; }
.evidence dl { display: grid; grid-template-columns: 160px 1fr; gap: 3px 10px; color: var(--muted); font: 12px/1.6 var(--mono); }
.evidence dd { margin: 0; overflow-wrap: anywhere; }
.source-actions { border-top: 1px solid var(--line); padding-top: 12px; }
.source-actions h3 { font-size: 20px; }
.source-actions p { font-size: 14px; margin-top: 7px; }
.story-excerpt { color: #4d4945; font-size: 15px; line-height: 1.55; }
.story-preview { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.story-excerpt summary::marker { content: ''; }
.story-excerpt summary:hover { color: var(--text); }
.story-excerpt[open] summary { display: block; font: 12px var(--mono); color: var(--accent); }
.story-excerpt[open] p { font-size: 15px; }
@media (max-width:520px) {
  .finding,.finding:first-child { padding-top: 9px; }
  .brief-findings { gap: 9px; }
  .evidence dl { grid-template-columns: 1fr; gap: 2px; }
}
.excerpt-close { display: none; }
.story-excerpt[open] .story-preview { display: none; }
.story-excerpt[open] .excerpt-close { display: inline; }

/* Editorial hierarchy: the lead gets space; secondary material stays compact. */
.editorial-lead h1 { font: 34px/1.15 var(--serif); max-width: 680px; margin: 2px 0 15px; letter-spacing: -.4px; }
.editorial-lead .brief-overview { font-size: 17px; line-height: 1.7; margin-bottom: 12px; max-width: 700px; }
.brief>.section-head { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.brief>.section-head h1 { font: 21px var(--serif); }
.radar { border-left: 1px solid var(--line); padding-left: 23px; }
.radar>h2 { font: 13px var(--mono); color: var(--accent); margin: 2px 0 11px; }
.radar article+article { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.radar h3 { font: 20px/1.25 var(--serif); margin: 4px 0 5px; }
.radar p { font-size: 14px; line-height: 1.55; color: #4d4945; }
.radar .topic-sources { margin-top: 4px; }
.news-grid { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 14px 26px; }
.story-featured { grid-column: span 5; grid-row: span 2; padding-right: 12px; }
.story-featured h3 { font-size: 30px; line-height: 1.14; margin-bottom: 11px; }
.story-featured .story-preview { -webkit-line-clamp: 5; }
.story-secondary { grid-column: span 7; }
.story-secondary h3 { font-size: 21px; }
.story-secondary .story-preview { -webkit-line-clamp: 2; }
.story-brief { grid-column: span 4; }
.story-brief h3 { font-size: 19px; }
.story .story-meta { margin-top: 7px; }
.trend-grid { display: block; }
.bar-chart { height: 82px; }
.metrics { margin: 14px 0; padding-bottom: 10px; }
.metric strong { font-size: 24px; }
.collection-composition { margin: 10px 0 0; font: 13px var(--mono); color: var(--muted); }
.collection-composition .type-list { max-width: 700px; }
.context { padding-bottom: 0; }
.evidence h4 { font: 14px var(--mono); color: var(--accent); overflow-wrap: anywhere; margin: 4px 0; }
.source-actions>summary { font: 14px var(--mono); color: var(--accent); }
.report-overview+.report-overview { margin-top: 9px; }
@media(max-width:900px) {
  .radar { padding-left: 18px; }
  .editorial-lead h1 { font-size: 31px; }
  .editorial-lead .brief-overview { font-size: 16px; }
  .story-featured h3 { font-size: 27px; }
}
@media(max-width:650px) {
  .editorial-lead h1 { font-size: 30px; margin-bottom: 12px; }
  .radar { border-left: 0; border-top: 1px solid var(--line); padding: 11px 0 0; }
  .radar h3 { font-size: 20px; }
  .news-grid { grid-template-columns: 1fr; gap: 14px; }
  .story-featured,.story-secondary,.story-brief { grid-column: auto; grid-row: auto; padding-right: 0; }
  .story-featured h3 { font-size: 27px; }
  .story-secondary h3 { font-size: 21px; }
  .story-brief h3 { font-size: 20px; }
}
.supporting-evidence { margin-top: 14px; }
.supporting-evidence>summary { font: 14px var(--sans); color: var(--accent); }
.evidence-groups { margin-top: 10px; max-width: 900px; }
.evidence-group { border-top: 1px solid var(--line); padding: 9px 0; }
.evidence-group>summary { font: 16px/1.5 var(--serif); }
.evidence-group>summary small { margin-left: 8px; font: 12px var(--mono); }
.group-records { margin: 8px 0 0 15px; }
.group-records>.evidence { padding: 8px 0; }
.group-records>.evidence>summary { color: var(--accent); font: 13px/1.6 var(--mono); }
.group-records>.evidence>summary>span { display: block; margin-left: 15px; font: 14px/1.5 var(--sans); color: var(--muted); }
.record-detail { padding: 6px 0 2px 15px; }
.record-detail p { margin: 5px 0 8px; }
.record-detail .source-actions { padding-top: 8px; margin-top: 8px; }
.story-brief .story-preview { -webkit-line-clamp: 2; }
.story-secondary h3 { font-size: 20px; }
.story .story-meta { align-items: baseline; }
@media(max-width:650px) {
  .evidence-group>summary small { display: block; margin: 3px 0 0 16px; }
  .group-records { margin-left: 5px; }
  .record-detail { padding-left: 10px; }
}

/* Newspaper-style presentation: paper, ink, a single red accent. */
@font-face { font-family: "Brief Newsreader"; src: url("./assets/fonts/newsreader-latin-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
:root { --serif: "Brief Newsreader", Georgia, "Times New Roman", serif; --heading: #252321; --body: #45413d; }
body { background: var(--bg); color: var(--body); font-size: 17px; line-height: 1.6; }
button,input,select { font-family: var(--sans); }
h1,h2,h3,h4 { color: var(--heading); font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; }
h2 { font-size: 31px; }
h3 { font-size: 27px; }
.site-header { position: static; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px 28px; padding: 28px 24px 0; max-width: 1280px; }
.brand { grid-column: 2; font: 700 44px/1.1 var(--serif); letter-spacing: -.03em; color: var(--accent); white-space: nowrap; }
.brand:hover { color: var(--accent); text-decoration: none; }
nav { grid-column: 1/-1; grid-row: 2; width: 100%; justify-content: center; gap: 30px; border-top: 1px solid var(--line); padding: 14px 0; }
nav a { font: 16px var(--sans); color: var(--heading); }
#search-form { grid-column: 3; grid-row: 1; width: 100%; max-width: 210px; justify-self: end; background: transparent; border-color: var(--line); }
#search-form input { font-size: 15px; }
main { padding-top: 25px; }
.brief { border-bottom: 0; padding-bottom: 0; }
.brief>.section-head { justify-content: flex-start; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 18px; }
.editorial-lead h1 { font: 700 clamp(38px,3.8vw,52px)/1.08 var(--serif); max-width: 38ch; margin: 0 0 19px; letter-spacing: -.025em; text-wrap: balance; }
.editorial-lead .brief-overview { max-width: none; font-size: 18px; line-height: 1.65; margin-bottom: 12px; color: var(--body); }
.lead-body.illustrated { display: grid; grid-template-columns: minmax(0,1fr) 390px; gap: 28px; align-items: center; }
.weekly-illustration { margin: 0; max-width: 390px; }
.weekly-illustration img { display: block; width: 100%; height: auto; aspect-ratio: 8/5; }
#intelligence { margin-top: 24px; padding-top: 22px; border-color: var(--line); }
#intelligence>.section-head { margin-bottom: 20px; }
.story { min-width: 0; overflow-wrap: anywhere; border-top-color: var(--line); background: none; padding-top: 14px; }
.story h3 { font: 700 27px/1.13 var(--serif); margin: 7px 0 10px; }
.story-featured h3 { font-size: 34px; }
.story-brief h3 { font-size: 25px; }
.story p,.story-excerpt,.radar p { color: var(--body); font-size: 16px; }
.story .source-line { font-family: var(--sans); font-size: 13px; }
.story .story-meta { margin-top: 12px; }
.radar { border-left: 0; border-top: 1px solid var(--line); padding: 14px 0 0; margin-top: 18px; }
.radar-items { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.radar-items:has(>article:only-child) { grid-template-columns: 1fr; }
.radar article+article { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 22px; margin: 0; }
.radar h3 { font: 700 25px/1.2 var(--serif); }
.metrics { margin: 24px 0; padding: 18px 0; border-top: 1px solid var(--line); background: none; }
.metric strong { font: 700 36px/1 var(--serif); color: var(--heading); }
.metric span { font: 13px/1.5 var(--sans); }
.trend-grid { display: block; }
.chart-head h3 { font: 600 16px var(--sans); }
#trend { position: relative; }
.bar-chart { position: relative; height: 135px; margin-top: 18px; gap: 0; padding: 0; background: repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#ded9d180 calc(25% - 1px),#ded9d180 25%); }
.bar-slot { padding: 0 3px; }
.bar { background: #b85b63; border-radius: 1px 1px 0 0; }
.bar:hover,.bar:focus,.bar[aria-expanded=true] { background: var(--accent); }
.bar-tip { display: none !important; }
.kev-average { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.kev-average polyline { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.kev-average-line { stroke: #393633; stroke-width: 2px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 12px; font: 13px var(--sans); color: var(--muted); }
.chart-legend>span { display: flex; gap: 7px; align-items: center; }
.legend-daily::before { content: ''; width: 8px; height: 9px; background: #b85b63; }
.legend-average::before { content: ''; width: 19px; height: 2px; background: #393633; }
.chart-legend small { font: inherit; margin-left: auto; }
.chart-popover { position: fixed; z-index: 8; width: 340px; max-width: calc(100vw - 24px); height: min(264px,calc(100dvh - 24px)); overflow-y: auto; overscroll-behavior: contain; padding: 14px 16px; background: #fff; border: 1px solid #c8c0b7; box-shadow: 0 5px 20px #30271c20; }
.chart-popover h3 { font: 700 21px/1.3 var(--serif); margin-bottom: 9px; }
.chart-popover ul { list-style: none; padding: 0; margin: 0; }
.chart-popover li { padding: 7px 0; border-top: 1px solid var(--line); }
.chart-popover li span { display: block; font-size: 14px; color: var(--muted); }
.chart-popover .link { font-size: 14px; }
.kev-all { padding-left: 20px; }
.kev-all li { padding: 6px 0; }
.kev-focus { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
.kev-focus .section-head { flex-wrap: wrap; gap: 8px 18px; }
.kev-focus h3 { font-size: 26px; }
.kev-focus-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.kev-focus-grid article { min-width: 0; }
.kev-focus h4 { font: 700 20px var(--serif); margin: 8px 0; }
.kev-product { font-size: 15px; margin-bottom: 6px; }
.kev-description { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kev-description:focus-within { display: block; overflow: visible; }
.context>summary,.register>summary,.archive>summary { font: 700 29px/1.4 var(--serif); color: var(--heading); }
.context>summary small,.register>summary small,.archive>summary small { font: 13px var(--sans); }
.keyword-link { display: inline; padding: 0; margin: 0; border: 0; background: transparent; font: inherit; line-height: inherit; color: var(--accent); text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.keyword-link:hover { background: #f7e6e7; color: #871c25; }
button[data-more-news],button[data-more-catalog],.segmented button { border: 1px solid #b3232e; background: transparent; color: #9b2029; border-radius: 2px; transition: background-color 120ms ease,color 120ms ease; }
button[data-more-news]:hover,button[data-more-catalog]:hover,.segmented button:hover,.segmented button[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: #fff; }
button[data-more-news]:active,button[data-more-catalog]:active { transform: translateY(1px); }
.evidence-group>h3 { font: 700 23px/1.3 var(--serif); margin: 4px 0 10px; }
.evidence-group>h3 small { font: 13px var(--sans); margin-left: 8px; }
.group-records { margin-left: 0; }
.group-records>.evidence { border-top: 0; padding-bottom: 16px; }
.group-records>.evidence+.evidence { border-top: 1px solid var(--line); }
.group-records>.evidence>h4 { font: 600 16px var(--sans); margin: 0 0 6px; }
.group-records>.evidence>h4 span { display: block; font-weight: 400; }
.record-detail { padding-left: 0; }
.glossary-reference { color: var(--accent); text-decoration: underline; }
.original-title { font: 13px var(--sans); color: var(--muted); margin: 5px 0; }
.original-title p { font-size: 14px; }
.collection-composition { font: 13px var(--sans); color: var(--muted); margin-top: 15px; }
.collection-composition .type-list { max-width: 700px; }
.search-report>summary { font: 700 23px var(--serif); }
.search-report>summary>.source-line,.search-report>summary>small { display: block; font: 13px var(--sans); }
.matching-indicators { padding-left: 18px; }
.news-extra { margin-top: 16px; }
.archive-headline { font: 700 31px/1.2 var(--serif); margin: 12px 0; }
html.modal-open { overflow: hidden; }
dialog { border-color: var(--line); background: #fff; box-shadow: 0 12px 55px #0002; }
dialog h2 { font-family: var(--serif); }
#sources-dialog { max-width: 760px; }
#sources-dialog h3 { font: 700 23px var(--serif); }
#sources-dialog p,#sources-dialog li { font-size: 15px; line-height: 1.65; }
#sources-dialog a { color: var(--accent); }
#sources-dialog ul { padding-left: 20px; }
.license-text { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.6 var(--mono); color: var(--muted); }
footer { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: baseline; gap: 12px 22px; font-family: var(--sans); }
footer .link { font: inherit; color: var(--muted); }
@media(max-width:1050px) { .header-inner { grid-template-columns: 1fr auto; } .brand { grid-column: 1; } #search-form { grid-column: 2; } nav { gap: 25px; } }
@media(max-width:760px) { .brand { font-size: 38px; } .lead-body.illustrated { grid-template-columns: minmax(0,1fr) 280px; gap: 20px; } .weekly-illustration { max-width: 280px; } .header-inner { padding: 24px 17px 0; } }
@media(max-width:650px) {
  .header-inner { grid-template-columns: 1fr; gap: 16px; }
  .brand { grid-column: 1; grid-row: 1; justify-self: center; font-size: 38px; }
  #search-form { grid-column: 1; grid-row: 2; justify-self: center; max-width: 340px; width: 100%; }
  nav { grid-column: 1; grid-row: 3; gap: 10px 20px; flex-wrap: wrap; padding: 12px 0; }
  nav a { font-size: 15px; }
  .editorial-lead h1 { font-size: 40px; text-wrap: wrap; }
  .editorial-lead .brief-overview { font-size: 17px; }
  .lead-body.illustrated { display: block; }
  .weekly-illustration { display: none; }
  .story-featured h3 { font-size: 32px; }
  .radar-items,.kev-focus-grid { grid-template-columns: 1fr; gap: 14px; }
  .radar article+article { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0 0; }
  .kev-focus-grid article+article { border-top: 1px solid var(--line); padding-top: 12px; }
  .metrics { gap: 16px 0; }
  .context>summary,.register>summary,.archive>summary { font-size: 27px; }
  .evidence-group>h3 small { display: block; margin: 5px 0 0; }
  .bar-slot { padding: 0 2px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { transition: none !important; } }

/* A full-width editorial ribbon, with geometric red tones at its right edge. */
nav { background: linear-gradient(132deg,#9f1f29 0%,#9f1f29 72%,#b32b37 72%,#b32b37 83%,#c43b47 83%,#c43b47 93%,#e9a5aa 93%,#e9a5aa 100%); border-top: 0; padding: 10px 24px; gap: 28px; }
nav a { color: #fff; padding: 5px 3px; line-height: 1.5; }
nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
nav a:focus-visible { outline-color: #fff; }
.weekly-illustration { width: 100%; justify-self: center; }
.editorial-lead .brief-overview { line-height: 1.65; }
.chart-popover { width: 370px; height: min(300px,calc(100dvh - 24px)); }
@media(max-width:1050px) { .lead-body.illustrated { grid-template-columns: minmax(0,1fr) 330px; gap: 24px; } .weekly-illustration { max-width: 330px; } nav { gap: 22px; } }
@media(max-width:760px) { nav { background: #9f1f29; gap: 10px 20px; } .lead-body.illustrated { grid-template-columns: minmax(0,1fr) 280px; } .weekly-illustration { max-width: 280px; } }
@media(max-width:650px) { nav { padding: 10px 12px; gap: 4px 18px; } nav a { min-height: 38px; display: flex; align-items: center; } .lead-body.illustrated { display: block; } }
