:root {
  --paper: #f6f2e9;
  --paper-strong: #fffdf8;
  --ink: #17201c;
  --muted: #66716a;
  --line: #d9ded4;
  --green: #17644d;
  --green-dark: #104b3a;
  --green-pale: #e3efe8;
  --amber: #a96919;
  --radius: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); line-height: 1.48; }
button, input, select { font: inherit; }
button, select, input { border-radius: 8px; }
button { cursor: pointer; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid #d99b43; outline-offset: 3px; }

.skip-link { position: fixed; left: 12px; top: -48px; z-index: 10; padding: 8px 12px; color: #fff; background: var(--green-dark); }
.skip-link:focus { top: 12px; }
.page-shell { width: min(1210px, calc(100% - 32px)); margin: 0 auto; }
.masthead { padding: 44px 0 26px; border-bottom: 1px solid var(--line); }
.section-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.section-tab {
  flex: 1 1 calc((100% - 20px) / 3); min-width: 0; min-height: 48px; padding: 12px 18px; border: 2px solid var(--line);
  border-radius: 999px; color: var(--ink); background: var(--paper-strong);
  font-size: 1.02rem; font-weight: 750; text-align: left;
}
.section-tab:hover { border-color: #8db19d; background: var(--green-pale); }
.section-tab[aria-selected="true"] { border-color: var(--green-dark); color: #fff; background: var(--green); }
.section-tab[aria-selected="true"]:hover { background: var(--green-dark); color: #fff; }
.section-tab .count { margin-left: 8px; color: var(--muted); font-weight: 650; }
.section-tab[aria-selected="true"] .count { color: var(--green-pale); }
.section-line { margin: 10px 0 0; color: var(--ink); font-size: .9rem; }
.eyebrow, .section-kicker { margin: 0 0 8px; color: var(--green); font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
h1 { max-width: 800px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 5vw, 4.25rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.date-stamp { flex: none; margin: 0 0 4px; color: var(--muted); font-size: .9rem; text-align: right; }
.masthead-counts { margin: 18px 0 0; color: var(--ink); font-size: .95rem; }
.masthead-context { margin: 8px 0 0; color: var(--muted); font-size: .82rem; }
.deck { max-width: 760px; margin: 18px 0 0; color: #415047; font-size: 1.08rem; }
.flow { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; color: var(--muted); font-size: .82rem; }
.flow span { display: flex; align-items: center; gap: 6px; }
.flow span:not(:last-child)::after { content: "→"; color: #9ca59e; margin-left: 6px; }
.flow strong { color: var(--ink); font-weight: 650; }
.funnel-note { max-width: 760px; margin: 10px 0 0; color: var(--muted); font-size: .82rem; }
.metrics { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .84rem; }
.metrics b { color: var(--ink); font-weight: 700; }

.controls-panel { display: grid; grid-template-columns: minmax(0, 1fr) 180px 180px auto; gap: 12px; align-items: end; padding: 22px 0; border-bottom: 1px solid var(--line); }
.field { display: grid; gap: 5px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.field input, .field select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #c6cec4; color: var(--ink); background: var(--paper-strong); }
.reset-button, .load-more { min-height: 42px; padding: 9px 14px; border: 1px solid #b8c8be; color: var(--green-dark); background: transparent; font-weight: 700; }
.reset-button:hover, .load-more:hover { background: var(--green-pale); }
.result-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 18px; padding: 17px 0 0; color: var(--muted); font-size: .9rem; }
.result-meta strong { color: var(--ink); }

.topic-nav { display: flex; gap: 7px; overflow-x: auto; padding: 17px 0 21px; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.topic-chip { flex: none; padding: 7px 10px; border: 1px solid var(--line); color: #3f5046; background: transparent; font-size: .82rem; white-space: nowrap; }
.topic-chip:hover, .topic-chip.active { border-color: #8db19d; color: var(--green-dark); background: var(--green-pale); }
.topic-chip .count { margin-left: 4px; color: var(--muted); }

.results { padding: 27px 0 60px; }
.results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; letter-spacing: -.02em; }
.shown-count { color: var(--muted); font-size: .88rem; }
.card-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; }
.story-card { position: relative; min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-strong); box-shadow: 0 2px 12px rgb(30 53 41 / 3%); overflow-wrap: anywhere; }
.story-card:target { border-color: #79a98d; box-shadow: 0 0 0 4px #d8ebdc; }
.card-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 13px; }
.publication-count { margin-left: auto; color: var(--muted); font-size: .76rem; white-space: nowrap; }
.order-intro { margin: 0 0 8px; color: var(--muted); font-size: .86rem; }
.reading-guide { margin: 0 0 20px; border-top: 0; max-width: 900px; font-size: .86rem; }
.reading-guide > summary { padding-top: 0; }
.label-definitions dt { margin-top: 9px; font-weight: 700; }
.label-definitions dd { margin-left: 0; color: var(--muted); }
.front-terms { margin-top: 10px; color: #415047; font-size: .9rem; line-height: 1.45; }
.front-terms-heading { margin: 0 0 7px; font-weight: 650; }
.term-alternatives { margin: 0; padding-left: 19px; }
.term-alternatives li + li { margin-top: 5px; }
.front-note { margin: 12px 0 0; }
.card-kind { color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.card-title { margin: 0; font-family: inherit; font-size: 1.12rem; line-height: 1.36; font-weight: 700; letter-spacing: -.01em; }
.card-summary { margin: 12px 0 0; color: #415047; font-size: .92rem; line-height: 1.5; }
.label-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 13px 0 0; }
.tag { padding: 3px 7px; border-radius: 5px; color: #426050; background: #edf2eb; font-size: .76rem; }
.priority-lead { color: #7a4810; background: #f7ead2; }
.priority-high { color: var(--green-dark); background: #dcece2; }
.tag-status { color: #80541d; background: #f7eedc; }
.rank-reason, .label-explanation { margin: 11px 0 0; color: var(--muted); font-size: .84rem; }
.card-sections { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #e5e9e2; }
.evidence-section + .evidence-section { margin-top: 15px; }
h3 { margin: 0 0 7px; font-size: .92rem; font-weight: 760; }
.evidence-section ul, .caveats-list { margin: 0; padding-left: 20px; }
.evidence-section li, .caveats-list li { margin: 5px 0; }
.source-links { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 7px 0 0; font-size: .82rem; }
.source-links a { overflow-wrap: anywhere; }
.source-time { color: var(--muted); font-size: .76rem; }
.caveats { margin: 16px 0 0; padding: 11px 13px; border-left: 3px solid #d6a14e; color: #665230; background: #fcf6e9; font-size: .9rem; }
.caveats h3 { color: #72551e; }
details { margin: 17px 0 0; border-top: 1px solid #e5e9e2; }
summary { padding: 12px 0 0; color: var(--green-dark); cursor: pointer; font-size: .88rem; font-weight: 700; }
.card-disclosure { margin: 17px 0 0; border-top: 1px solid var(--line); }
.card-toggle { display: flex; gap: 8px; align-items: center; padding: 13px 0 0; color: var(--green-dark); list-style: none; }
.card-toggle::-webkit-details-marker { display: none; }
.card-toggle::before { content: "▶"; color: var(--green); font-size: .66rem; line-height: 1; }
.card-disclosure[open] > .card-toggle::before { content: "▼"; }
.card-toggle:hover { color: var(--ink); }
.card-detail-body { padding-top: 2px; font-size: .9rem; }
.editorial-notes { margin-top: 16px; }
.editorial-notes p { margin: 6px 0; }
.additional-materials { margin-top: 28px; }
.additional-materials > summary { padding: 16px 0; }
.additional-content { padding-top: 6px; }
.deferred-evidence { padding: 10px 0 2px; }
.archive-note { margin: 0 0 8px; color: var(--muted); font-size: .82rem; }
.original-list { display: grid; gap: 11px; padding: 12px 0 2px; }
.original { padding: 12px; border-radius: 8px; background: #f5f6f0; }
.original h4 { margin: 0; font-size: .92rem; }
.original p { margin: 6px 0 0; font-size: .9rem; }
.facts { margin: 8px 0 0; padding-left: 19px; color: #39473f; font-size: .86rem; }
.empty { padding: 38px 24px; border: 1px dashed #bec9bf; border-radius: var(--radius); color: var(--muted); text-align: center; }
.load-wrap { margin: 20px 0 0; text-align: center; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px 18px; padding: 23px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-methodology { flex: 1 1 100%; margin: 0; border-top: 0; }
.footer-methodology > summary { padding-top: 0; }
.footer-methodology-body p { margin: 8px 0 0; }
.footer-archive { white-space: nowrap; }

@media (max-width: 1000px) {
  .card-list, .day-thoughts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .page-shell { width: min(100% - 24px, 1210px); }
  .masthead { padding-top: 28px; }
  .section-tabs { margin-bottom: 16px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
  .section-tab { min-height: 44px; font-size: .95rem; flex: 1 0 10.5rem; }
  .title-row { display: block; }
  .date-stamp { margin-top: 12px; text-align: left; }
  .controls-panel { grid-template-columns: 1fr 1fr; }
  .field:first-child { grid-column: 1 / -1; }
  .reset-button { grid-column: 1 / -1; }
  .story-card { padding: 17px; }
}

@media (max-width: 640px) { .card-list, .day-thoughts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .controls-panel { grid-template-columns: 1fr; } }

#day-synthesis { padding: 18px 0 12px; border-bottom: 1px solid var(--line); }
.day-synthesis-title { margin: 0 0 12px; font-size: 1.35rem; }
.day-thoughts-wrap { max-width: none; }
.day-group-title { margin: 16px 0 8px; font-family: inherit; font-size: .76rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.day-thoughts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 18px; margin: 0; padding-left: 0; list-style: none; max-width: none; }
.day-synthesis-help { margin: 0 0 20px; color: #65726b; font-size: .86rem; }
.day-thought { margin: 0; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.day-thought > .day-group-title { margin: 0 0 10px; font-size: .67rem; letter-spacing: .04em; }
.day-thought-title { margin: 0 0 6px; font-family: inherit; font-size: 1.02rem; font-weight: 750; letter-spacing: 0; }
.day-thought-preview { margin: 0 0 8px; color: #415047; font-size: .88rem; line-height: 1.45; }
.day-thought-sources { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 4px; }
.day-thought-sources .synthesis-ref { vertical-align: baseline; }
.day-thought-details { margin: 8px 0 0; }
.day-thought-details > summary { padding-top: 8px; }
.day-statement { margin: 0 0 6px; color: #415047; font-size: .95rem; line-height: 1.5; }
.synthesis-ref { display: inline-block; min-width: 1.1em; font-size: .76rem; font-weight: 750; vertical-align: super; line-height: 1; }
.day-caveat { margin: 8px 0 0; color: #665230; font-size: .86rem; }
.synthesis-show-cards, .synthesis-to-topics, .synthesis-return {
  min-height: 34px; margin-top: 8px; padding: 6px 10px; border: 1px solid #b8c8be;
  color: var(--green-dark); background: transparent; font-size: .82rem; font-weight: 700;
}
.synthesis-show-cards:hover, .synthesis-to-topics:hover, .synthesis-return:hover { background: var(--green-pale); }
.day-topic-tag { display: inline-block; margin: 8px 0 0; color: var(--green-dark); font-size: .76rem; }
.story-card:focus-visible { border-color: #79a98d; box-shadow: 0 0 0 4px #d8ebdc; }

#markets-context, #international-context, #other-context { margin-top: 28px; max-width: 900px; }
#markets-context > summary, #international-context > summary, #other-context > summary { padding: 16px 0; }
.international-list { display: grid; gap: 0; padding: 4px 0 8px; }
.international-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 8px 0; border-bottom: 1px solid #e5e9e2; font-size: .9rem; }
.international-row .publication-count { margin-left: 0; }
.international-row:focus-visible { outline: 3px solid #d99b43; outline-offset: 3px; }
.international-headline { color: var(--ink); font-weight: 650; }
.international-source { font-size: .76rem; }
.international-sources { font-size: .76rem; margin: 0; }
.international-sources[open] { flex-basis: 100%; }
.international-sources > summary { padding: 0; }
.product-offers { margin-top: 34px; padding-top: 24px; border-top: 2px solid var(--line); scroll-margin-top: 20px; }
.offers-intro, .primary-empty { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.offers-jump { margin-left: auto; font-size: .84rem; color: var(--green-dark); }
.offers-list .story-card { padding: 17px; }
.product-offers:focus { outline: none; }
.edition-picker { max-width: 17rem; margin: 0 0 16px; }
@media (max-width: 1000px) { .day-thoughts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .day-thoughts { grid-template-columns: minmax(0, 1fr); } }
/* Archive period and event continuity, shared by all dated editions. */
.period-picker { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.period-tabs { display: flex; gap: 5px; padding: 5px; border: 1px solid #cddfd9; border-radius: 12px; background: #fff; }
.period-tab { padding: 10px 24px; border-radius: 8px; text-decoration: none; color: #24433a; font-weight: 700; }
.period-tab.active { background: #087c5a; color: #fff; }
.period-tab:focus-visible, .week-return:focus-visible { outline: 3px solid #5f80df; outline-offset: 3px; }
.period-picker .edition-picker { margin: 0; }
.novelty-new { background: #e1f5eb; color: #075a3b; }
.novelty-repeat { background: #f0f2f3; color: #53636a; }
.novelty-update { background: #e7efff; color: #244d91; }
.novelty-uncertain { background: #fff3d8; color: #725514; }
.event-first { display: inline-block; font-size: .84rem; color: #526e68; margin: 0 0 10px; }
.event-delta { font-size: .91rem; line-height: 1.5; color: #244d69; }
.event-history { border-top: 1px solid #dbe6e2; margin-top: 16px; padding-top: 10px; }
.event-history ul { padding-left: 20px; }
.event-history li { margin: 10px 0; }
.week-return { display: inline-block; margin-top: 12px; color: #087251; font-weight: 700; }
.week-status { font-size: .84rem; line-height: 1.45; padding: 8px 10px; border-left: 3px solid #a5bcb2; background: #f2f6f3; color: #385548; }
.theme-frequency { color: #126044; font-size: 0.86rem; font-weight: 650; margin: 0.4rem 0 0.8rem; }
.theme-frequency-note { color: #536560; font-size: 0.86rem; line-height: 1.45; max-width: 100ch; margin: 0 0 1rem; }
.market-topic-count { color: #176245; font-size: .88rem; font-weight: 700; margin: .5rem 0 .25rem; }
.market-topic-evidence { font-size: .87rem; margin: .5rem 0; }
.market-topic-evidence summary, .week-market summary { cursor: pointer; }
.week-market { background: #fff; border: 1px solid #d5e3dc; border-radius: 18px; padding: 24px; margin: 24px 0; scroll-margin-top: 16px; }
.week-market h2 { margin: 0 0 8px; font-size: 1.35rem; }
.market-lead { color: #155d41; font-weight: 700; }
.market-note { color: #586b62; font-size: .86rem; line-height: 1.5; max-width: 110ch; }
.market-overview { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.market-fact { background: #f0f6f2; border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.market-fact span { color: #35634e; font-size: .85rem; }
.market-bank-block, .market-slice { border-top: 1px solid #e3eae5; padding: 13px 0; }
.market-bank-block > summary, .market-slice > summary { font-weight: 650; }
.market-table-wrap { overflow-x: auto; margin: 12px 0; }
.market-bank-table { border-collapse: collapse; width: 100%; min-width: 540px; font-size: .9rem; }
.market-bank-table th, .market-bank-table td { text-align: left; padding: 10px; border-bottom: 1px solid #e3eae5; vertical-align: top; }
.market-bank-table td:first-child { width: 62%; }
.market-disclosure { padding: 7px 0; }
.market-units { padding-left: 1.2em; margin: 10px 0; }
.market-units > li { margin: 10px 0; }
.market-unit summary { line-height: 1.5; overflow-wrap: anywhere; }
.market-unit-refs { padding-left: 1.2em; margin: 10px 0; }
.market-unit-refs li { margin: 8px 0; }
.market-source { overflow-wrap: anywhere; }
.market-sort-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; margin: 12px 0; }
.market-sort { max-width: 100%; border: 1px solid #b9cfc2; border-radius: 8px; padding: 8px 12px; background: #fff; color: #204d38; font: inherit; }
@media (max-width: 1000px) { .market-overview { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 640px) { .market-overview { grid-template-columns: 1fr; } .week-market { padding: 16px; } }
.competitive-focus { margin: 0 0 24px; border: 1px solid #c6ddd0; border-radius: 14px; background: #fff; padding: 18px 22px; scroll-margin-top: 16px; }
.competitive-focus h3 { margin: 0 0 8px; font-size: 1.2rem; }
.competitive-lead { line-height: 1.5; margin: 0 0 14px; }
.competitive-table-wrap { overflow-x: auto; }
.competitive-table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: .88rem; }
.competitive-table th, .competitive-table td { text-align: left; vertical-align: top; padding: 9px 8px; border-bottom: 1px solid #e1ebe5; }
.competitive-table thead th { color: #52675b; font-size: .79rem; font-weight: 650; }
.competitive-table tbody th { min-width: 105px; }
.competitive-table .competitive-count, .competitive-table .competitive-days, .competitive-table .competitive-publications { white-space: nowrap; font-variant-numeric: tabular-nums; }
.competitive-count { color: #116746; font-weight: 750; }
.competitive-direction { width: 52%; }
.competitive-bank { border: 0; padding: 0; background: none; color: #126347; font: inherit; font-weight: 700; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.competitive-bank:focus-visible { outline: 3px solid #5f80df; outline-offset: 3px; }
.competitive-evidence { background: #f4f8f5; }
.competitive-evidence[hidden] { display: none; }
.competitive-tail, .competitive-method { font-size: .84rem; line-height: 1.45; color: #53665c; margin: 12px 0 0; }
.competitive-method summary { cursor: pointer; }
@media (max-width: 640px) { .competitive-focus { padding: 16px 12px; } }

/* Executive reading: visible meaning, one-action access to the evidence. */
button.theme-frequency { display: block; min-height: 44px; padding: 5px 0; border: 0; background: none;
  font: inherit; font-size: .85rem; color: var(--green-dark); text-align: left; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.counted-publications { padding-left: 22px; margin: 12px 0 20px; }
.counted-publications li { padding: 8px 0; overflow-wrap: anywhere; }
.counted-publications a { display: inline-block; padding: 8px 0; min-height: 40px; }
.counted-publications .source-time { color: var(--muted); font-size: .8rem; }
.counted-publications blockquote { margin: 3px 0 12px; padding: 8px 12px; border-left: 3px solid #b6cec1;
  color: #475b51; font-size: .85rem; line-height: 1.55; background: #f5f8f6; }
.day-thoughts, .card-list { align-items: start; }
.thought-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 8px; }
.thought-meta .publication-count { margin-left: auto; white-space: nowrap; }
.topic-front-terms { padding-left: 18px; margin: 8px 0 10px; font-size: .9rem; line-height: 1.5; }
.topic-front-terms li { margin: 5px 0; }
.topic-materials, .card-materials, .evidence-close { min-height: 44px; padding: 8px 12px; font: inherit;
  font-size: .85rem; color: var(--green-dark); background: #f4f8f5; border: 1px solid #c4d7cb;
  border-radius: 8px; cursor: pointer; margin: 8px 6px 6px 0; }
.topic-all-evidence, .card-all-sources { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 14px; scroll-margin-top: 20px; }
.topic-card-index, .executive-source-list { padding-left: 20px; margin: 8px 0; }
.topic-card-index li, .executive-source-list li { margin: 4px 0; overflow-wrap: anywhere; }
.synthesis-ref.synthesis-ref-named { display: inline-block; min-height: 44px; padding: 9px 0;
  line-height: 1.45; font-size: .88rem; font-weight: 550; vertical-align: baseline; }
.executive-source-list a { display: inline-block; min-height: 40px; padding: 8px 0; }
.executive-source-list .source-time { display: inline; font-size: .78rem; color: var(--muted); }
.day-thought-details[open] > summary { margin-bottom: 12px; }
.topic-all-evidence h4 { margin: 12px 0 5px; font-size: .9rem; }
.competitive-count-note { display: block; font-size: .75rem; font-weight: 400; white-space: normal; color: #765d25; }
@media (max-width: 640px) {
  .topic-materials, .card-materials, .evidence-close { max-width: 100%; }
  .thought-meta { font-size: .8rem; }
  .executive-source-list .source-time { display: block; }
}

/* Responsive web edition. The reader's content and card behavior stay intact. */
:root {
  --paper: #f3f6f8;
  --paper-strong: #ffffff;
  --ink: #182d39;
  --muted: #5e707b;
  --line: #dce4e9;
  --green: #086d62;
  --green-dark: #07544d;
  --green-pale: #e4f2ee;
  --radius: 14px;
  font-size: 16px;
}
body { background: var(--paper); line-height: 1.55; }
.page-shell { width: min(1256px, calc(100% - 64px)); }
.masthead { padding: 32px 0 24px; }
.title-row { align-items: center; margin-bottom: 24px; }
h1 { font-family: inherit; font-size: clamp(1.6rem, 3.2vw, 2.35rem); font-weight: 780; line-height: 1.15; letter-spacing: -.04em; }
h2 { font-family: inherit; font-size: 1.35rem; font-weight: 750; letter-spacing: -.025em; }
.date-stamp { margin: 0; color: var(--muted); font-size: .9rem; }
.period-picker { gap: 16px; margin-bottom: 20px; }
.period-tabs { border: 0; background: #e5ebef; padding: 4px; border-radius: 11px; align-self: end; }
.period-tab { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 9px 24px; border-radius: 8px; font-size: .9rem; color: #526771; }
.period-tab.active { color: #173b42; background: #fff; box-shadow: 0 1px 4px rgb(24 45 57 / 9%); }
.period-picker .edition-picker { flex: 1; max-width: 20rem; min-width: 0; }
.field { min-width: 0; font-size: .875rem; font-weight: 650; }
.field input, .field select { min-width: 0; min-height: 46px; border-color: #cbd7df; border-radius: 10px; background: #fff; font-size: 1rem; }
.section-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 6px; border-radius: 15px; background: #e5ebef; overflow: visible; }
.section-tab { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; padding: 11px 12px; min-width: 0; min-height: 72px; border: 1px solid transparent; border-radius: 10px; text-align: center; font-size: 1rem; line-height: 1.25; background: transparent; color: #405763; }
.section-tab:hover { background: #f5f9fa; border-color: #c3d5dc; }
.section-tab[aria-selected="true"] { background: var(--green); border-color: var(--green); box-shadow: 0 3px 8px rgb(8 109 98 / 12%); }
.section-tab .count { display: block; margin: 0; font-size: .875rem; font-weight: 500; color: #586e79; }
.section-tab[aria-selected="true"] .count { color: #e4f4f0; }
.masthead-counts { margin-top: 16px; color: #405966; font-size: .875rem; }
.masthead-context { margin-top: 5px; font-size: .875rem; color: #647985; }
.controls-panel { gap: 14px; padding: 22px 0; }
.reset-button, .load-more, .synthesis-show-cards { min-height: 44px; border-radius: 9px; }
.reset-button { background: #fff; border-color: #ccd9df; }
.topic-nav { padding: 16px 0; }
.topic-chip { min-height: 40px; border-radius: 8px; background: #fff; font-size: .875rem; }
.topic-chip.active { border-color: #8ebbb2; }
.results { padding-top: 24px; }
.card-list, .day-thoughts { gap: 16px; }
.story-card, .day-thought { padding: 21px; border-color: #d9e3e9; border-radius: 14px; background: #fff; box-shadow: 0 3px 12px rgb(30 53 65 / 3%); }
.card-title, .day-thought-title { color: #173342; font-size: 1.08rem; line-height: 1.42; font-weight: 730; }
.card-summary, .day-thought-preview, .front-terms { color: #435a67; font-size: 1rem; line-height: 1.55; }
.publication-count, .tag, .source-links { font-size: .875rem; }
.card-kind { font-size: .75rem; letter-spacing: .065em; }
.day-group-title { color: var(--green); }
.label-row { gap: 7px; }
.tag { padding: 3px 8px; background: #edf3f5; color: #45636e; }
.novelty-new { background: #e1f5eb; color: #075a3b; }
.novelty-update { background: #e7efff; color: #244d91; }
.card-toggle, .day-thought-details > summary { min-height: 44px; font-size: .9rem; }
.day-synthesis-title { font-size: 1.25rem; margin-bottom: 16px; }
.results-heading { align-items: center; }
.week-market, .competitive-focus { border-radius: 14px; }
.footer { gap: 14px; padding: 28px 0 36px; font-size: .875rem; }
.footer-archive { white-space: normal; }
.footer-rights { flex: 1 1 100%; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 22px; max-width: 100%; }
.footer-brand { display: block; color: #294552; font-size: .95rem; }
.footer-rights p { max-width: 940px; margin: 8px 0 0; color: #526975; line-height: 1.65; }
.skip-link { top: 0; transform: translateY(-150%); }
.skip-link:focus-visible { transform: translateY(0); }
:focus-visible { outline: 3px solid #447fac; outline-offset: 3px; }
@media (max-width: 760px) {
  .page-shell { width: calc(100% - 32px); }
  .masthead { padding: 22px 0 18px; }
  .title-row { display: flex; align-items: start; margin-bottom: 18px; }
  h1 { font-size: 1.65rem; letter-spacing: -.035em; }
  .date-stamp { display: none; }
  .period-picker { display: grid; grid-template-columns: minmax(126px, .9fr) minmax(0, 1.1fr); align-items: end; gap: 12px; margin-bottom: 16px; }
  .period-tabs { gap: 2px; padding: 3px; }
  .period-tab { min-width: 0; flex: 1 1 0; padding: 9px 8px; font-size: .875rem; }
  .period-picker .edition-picker { max-width: none; width: 100%; font-size: .8rem; }
  .edition-picker select { padding: 9px 6px; font-size: .875rem; min-height: 50px; }
  .section-tabs { gap: 4px; padding: 4px; overflow: visible; }
  .section-tab { min-height: 66px; padding: 9px 4px; font-size: .9375rem; overflow-wrap: anywhere; }
  .section-tab .count { font-size: .8125rem; }
  .masthead-counts { margin-top: 13px; line-height: 1.5; }
  .masthead-context { font-size: .8125rem; }
  .controls-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .controls-panel .field:first-child, .reset-button { grid-column: 1 / -1; }
  .story-card, .day-thought, .offers-list .story-card { padding: 18px; }
  .card-title, .day-thought-title { font-size: 1.0625rem; }
  .card-summary, .day-thought-preview { font-size: 1rem; }
  .card-list, .day-thoughts { gap: 14px; }
  .results-heading { align-items: start; gap: 12px; flex-wrap: wrap; }
  .result-meta { gap: 12px; flex-wrap: wrap; }
  .results { padding-bottom: 38px; }
  .footer-rights p { font-size: .875rem; }
}
@media (max-width: 359px) {
  .page-shell { width: calc(100% - 24px); }
  .period-picker { grid-template-columns: minmax(116px, .9fr) minmax(0, 1.1fr); gap: 8px; }
  .section-tab { font-size: .875rem; }
  .section-tab .count { font-size: .75rem; }
}
@media (max-width: 640px) {
  .competitive-table-wrap { overflow: visible; }
  .competitive-table { min-width: 0; display: block; }
  .competitive-table thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .competitive-table tbody { display: block; }
  .competitive-table tr:not(.competitive-evidence) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .competitive-table tbody th, .competitive-table tbody td { min-width: 0; width: auto; padding: 4px 0; border: 0; overflow-wrap: anywhere; }
  .competitive-table tbody th { grid-column: 1 / -1; }
  .competitive-bank { min-height: 40px; font-size: 1rem; }
  .competitive-direction, .competitive-count { grid-column: 1 / -1; }
  .competitive-direction { grid-row: 2; font-size: .9375rem; line-height: 1.55; }
  .competitive-table .competitive-count, .competitive-table .competitive-days, .competitive-table .competitive-publications { white-space: normal; font-size: .875rem; }
  .competitive-count::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 500; }
  .competitive-days::before { content: "Дней из 7: "; color: var(--muted); }
  .competitive-publications::before { content: "Публикаций: "; color: var(--muted); }
  .competitive-evidence:not([hidden]), .competitive-evidence td { display: block; width: 100%; }
  .competitive-evidence:not([hidden]) { border-bottom: 1px solid var(--line); padding: 12px 8px; }
}

.section-tabs.with-infographic{grid-template-columns:repeat(4,minmax(0,1fr))}
.infographic-view .masthead-counts,.infographic-view .masthead-context,.infographic-view .controls-panel,.infographic-view .topic-nav,.infographic-view .results{display:none}
.focus-section-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.focus-section-nav button{min-height:44px;border:1px solid #b9cec3;border-radius:10px;padding:10px 18px;background:white;color:#275747;font:inherit;cursor:pointer}
.focus-section-nav button[aria-pressed=true]{background:#e1eee7;border-color:#167458;font-weight:650}
.focus-empty{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;margin:20px 0 40px}
.focus-empty h3{font-size:1.15rem}.focus-empty a{display:inline-block;margin:8px 24px 0 0;color:var(--green)}
.focus-dashboard{margin:20px 0 30px;padding:28px;background:#eef5f1;border:1px solid #d5e4da;border-radius:22px;color:#173e36;scroll-margin-top:20px}
.focus-heading h3{font-size:clamp(1.6rem,3vw,2rem);margin:6px 0 10px;letter-spacing:-.035em}
.focus-eyebrow{font-size:.73rem;line-height:1.5;font-weight:700;letter-spacing:.08em;color:#4e7565;text-transform:uppercase;margin:0}
.focus-description{max-width:780px;line-height:1.55;margin:0;color:#446457}
.focus-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:820px;margin:22px 0}
.focus-kpi{display:flex;flex-direction:column;gap:4px}.focus-kpi strong{font-size:2rem;letter-spacing:-.05em;line-height:1.2}.focus-kpi span{font-size:.88rem;color:#536c60;line-height:1.4}
.focus-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px;align-items:start}
.focus-chart,.focus-context,.focus-matrix{min-width:0;background:white;border-radius:16px;padding:22px}
.focus-dashboard h4{font-size:1.15rem;margin:0 0 14px;line-height:1.4;letter-spacing:-.015em}
.focus-note{font-size:.8rem;line-height:1.5;color:#53695f;margin:14px 0 0}.focus-matrix>.focus-note{margin:-5px 0 14px}
.focus-switches{display:flex;gap:5px;background:#f1f5f3;border-radius:9px;padding:4px;margin:0 0 8px;width:fit-content}
.focus-switches button{border:0;background:transparent;color:#4a675a;padding:7px 10px;border-radius:7px;font:inherit;font-size:.83rem;cursor:pointer}
.focus-switches button[aria-pressed=true]{background:#137d62;color:white}
.focus-bar-row{display:block;width:100%;text-align:left;padding:14px 0;border:0;border-bottom:1px solid #e9efeb;background:transparent;cursor:pointer;color:inherit;font:inherit}
.focus-bar-row:last-child{border-bottom:0}.focus-bar-row:hover .focus-bar-label{text-decoration:underline;text-underline-offset:3px}
.focus-bar-label{display:block;font-size:.95rem;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.focus-bar-numbers{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline;margin:7px 0 9px;font-size:.8rem;color:#527265}.focus-bar-numbers strong{color:#08755a;font-size:.95rem}
.focus-bar-track{display:block;height:7px;background:#e4efe8;border-radius:5px;overflow:hidden}.focus-bar-fill{display:block;height:100%;background:#168362;border-radius:5px}
.focus-missing{display:block;font-size:.7rem;margin-top:5px;color:#755b2a}
.focus-insight{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:9px;border:0;border-radius:12px;background:#e4f0e9;color:#173e36;padding:18px;margin:12px 0;width:100%;font:inherit;cursor:pointer}.focus-insight strong{font-size:1.15rem;line-height:1.45}.focus-insight>span:last-child{font-size:1.5rem;font-weight:600}
.focus-bank-table{border-collapse:separate;border-spacing:4px 7px;width:100%;table-layout:fixed}.focus-bank-table caption{text-align:left;caption-side:bottom}
.focus-bank-table th{font-size:.68rem;font-weight:600;line-height:1.35;text-align:center;overflow-wrap:anywhere}.focus-bank-table thead th:first-child{width:24%;text-align:left}
.focus-bank-table tbody th{text-align:left;font-size:.83rem;padding:7px 3px}.focus-bank-pubs{display:block;font-weight:400;font-size:.7rem;line-height:1.4;margin-top:5px;color:#527265}
.focus-bank-table td{padding:0}.focus-cell{width:100%;min-height:40px;border:0;border-radius:7px;color:#124e3d;font:inherit;font-size:.85rem;font-weight:650;cursor:pointer}.focus-cell:disabled{background:#f4f7f5;color:#82928b;cursor:default}
.focus-more,.focus-close{background:white;border:1px solid #bbd1c3;border-radius:9px;padding:8px 13px;font:inherit;font-size:.85rem;color:#1a5944;cursor:pointer;margin-top:14px}
.focus-evidence{margin-top:18px;padding:22px;background:#fff;border:1px solid #bcd3c4;border-radius:16px;scroll-margin-top:18px}.focus-evidence[hidden]{display:none}
.focus-evidence-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.focus-evidence-head .focus-close{margin:0;flex-shrink:0}
.focus-evidence-list{padding-left:21px;margin:0;max-height:420px;overflow:auto}.focus-evidence-list li{margin:13px 0;line-height:1.5}.focus-evidence-list a{display:block;color:#126f54;margin:5px 0;overflow-wrap:anywhere}.focus-evidence-list strong{font-size:.95rem}
.focus-thought-link,.focus-back{display:inline-block;margin:12px 0;color:#126f54;font-weight:600}
.focus-back{position:fixed;bottom:16px;right:18px;z-index:20;margin:0;padding:12px 18px;background:#fff;border:1px solid #8ab59e;border-radius:24px;box-shadow:0 4px 20px #123b3526;text-decoration:none}
.focus-calendar,.focus-method{border-top:1px solid #d2e1d7;margin-top:20px;padding-top:14px;font-size:.9rem}.focus-dashboard summary{cursor:pointer;font-weight:600;padding:4px 0}
.focus-calendar-scroll{overflow-x:auto;margin-top:15px}.focus-calendar table{border-collapse:separate;border-spacing:5px;width:100%;font-size:.8rem}.focus-calendar th{font-weight:550;text-align:left;line-height:1.4}.focus-calendar tbody th{width:40%;padding-right:10px}.focus-calendar td{text-align:center;background:#e1ebe5;border-radius:6px;color:#6b8275;min-width:25px;height:31px}.focus-calendar td.focus-day-present{background:#188162;color:white}.focus-calendar thead th:not(:first-child){text-align:center}
.focus-method p{line-height:1.6;max-width:920px;color:#456553}
.focus-dashboard button:focus-visible,.focus-dashboard a:focus-visible,.focus-dashboard summary:focus-visible{outline:3px solid #b67d29;outline-offset:4px}
@media(max-width:1100px){.focus-grid{grid-template-columns:1fr}.focus-context{display:grid;grid-template-columns:1fr 1fr;gap:12px}.focus-context h4,.focus-context>.focus-note{grid-column:1/-1}.focus-insight{margin:0}.focus-bank-table tbody th{font-size:.9rem}}
@media(max-width:600px){.focus-dashboard{padding:17px 13px;border-radius:16px;margin:16px 0 24px}.focus-description{font-size:.88rem}.focus-kpis{gap:9px;margin:18px 0}.focus-kpi strong{font-size:1.65rem}.focus-kpi span{font-size:.73rem}.focus-chart,.focus-context,.focus-matrix{padding:17px 13px;border-radius:12px}.focus-grid{gap:14px}.focus-context{display:block}.focus-insight{margin:12px 0}.focus-bar-label{font-size:.92rem}.focus-evidence{padding:15px 12px}.focus-evidence-head{flex-direction:column;margin-bottom:12px}.focus-evidence-list{padding-left:17px}.focus-bank-table,.focus-bank-table tbody{display:block;width:100%}.focus-bank-table thead{display:none}.focus-bank-table tr{display:block;padding:14px 0;border-bottom:1px solid #e5ede7}.focus-bank-table tbody th{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;padding:0;font-size:.95rem}.focus-bank-pubs{margin:0;font-size:.77rem}.focus-bank-table td{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:5px 0;font-size:.83rem}.focus-bank-table td:before{content:attr(data-label);color:#4b6657}.focus-cell{width:58px;min-height:32px;flex-shrink:0}.focus-bank-table td:has(.focus-cell:disabled){display:none}.focus-bank-table caption{display:block;margin-top:12px}.focus-calendar table{font-size:.71rem;border-spacing:2px}.focus-calendar tbody th{width:42%;padding-right:5px;overflow-wrap:anywhere}.focus-calendar td{min-width:18px;height:28px}.focus-more{width:100%}}
@media(prefers-reduced-motion:reduce){.focus-dashboard *{scroll-behavior:auto!important}}
@media(max-width:760px){.section-tabs.with-infographic{grid-template-columns:repeat(3,minmax(0,1fr))}.infographic-tab{grid-column:1/-1;flex-direction:row;gap:12px;min-height:44px}.focus-section-nav{gap:5px}.focus-section-nav button{padding:9px 11px;font-size:.875rem}}

/* Shared archive navigation and bank briefs. No remote fonts or UI framework. */
:root { --paper: #f6f2e9; --paper-strong: #fffdf8; --ink: #17201c; --muted: #66716a; --line: #d9ded4; --green: #17644d; --green-dark: #104c3a; --green-pale: #e3efe8; }
body { background: var(--paper); color: var(--ink); }
.page-shell { width: min(1220px, calc(100% - 56px)); }
.masthead { padding: 28px 0 18px; }
.title-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-bottom: 22px; }
.title-row h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 auto 0 0; letter-spacing: -.04em; }
.title-row .date-stamp { display: none; }
.reader-modes { display: flex; padding: 4px; gap: 4px; background: #e9e8df; border-radius: 12px; }
.reader-mode { color: var(--muted); text-decoration: none; min-height: 44px; padding: 10px 23px; border-radius: 9px; font-weight: 650; display: flex; align-items: center; }
.reader-mode.active { background: var(--paper-strong); color: var(--ink); box-shadow: 0 1px 4px #17201c12; }
.radar-period { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0 22px; }
.edition-periods { display: flex; gap: 6px; padding: 4px; background: #e9e8df; border-radius: 12px; }
.edition-period { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); text-decoration: none; font: inherit; font-weight: 650; cursor: pointer; }
.edition-period.active { background: var(--paper-strong); color: var(--green-dark); box-shadow: 0 1px 4px #17201c16; }
.edition-period:hover { color: var(--green-dark); background: #ffffff88; }
.edition-period:focus-visible, .calendar-trigger:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.calendar-trigger { min-height: 46px; background: var(--paper-strong); border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; font: inherit; font-weight: 650; color: var(--ink); cursor: pointer; }
.period-caption, .bank-scope, .bank-section-meta { color: var(--muted); font-size: .9rem; }
.radar-period .infographic-tab { display: inline-flex; flex: 0 0 auto; margin-left: auto; min-height: 44px; padding: 8px 12px; background: transparent; border: 1px solid var(--line); border-radius: 10px; color: var(--green); font-size: .85rem; }
.radar-period .infographic-tab[aria-pressed="true"] { background: var(--green-pale); border-color: var(--green); }
.section-tabs { background: #e9e8df; }
.section-tab { min-height: 60px; flex-direction: row; gap: 8px; color: var(--muted); }
.section-tab .count { font-size: .8rem; color: inherit; }
.section-tab[aria-selected="true"] { box-shadow: none; }
.story-card, .day-thought { background: var(--paper-strong); box-shadow: none; border-color: var(--line); }
.card-title, .day-thought-title { color: var(--ink); }
.card-summary, .day-thought-preview, .front-terms { color: #48574e; }
.tag { color: #526457; background: #edf0e9; }
.bank-return, .open-bank-brief { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); font-weight: 650; }
.radar-calendar { box-sizing: border-box; width: min(392px, calc(100vw - 20px)); padding: 18px; background: var(--paper-strong); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); box-shadow: 0 24px 80px #17201c40; max-height: calc(100dvh - 24px); overflow: auto; }
.radar-calendar::backdrop { background: #17201c55; backdrop-filter: blur(2px); }
.radar-calendar button { font: inherit; cursor: pointer; color: var(--ink); }
.calendar-top, .calendar-month { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.calendar-close, .calendar-month button { width: 44px; min-height: 44px; background: transparent; border: none; border-radius: 9px; font-size: 1.5rem !important; }
.calendar-tabs { display: flex; padding: 4px; background: #eeeee6; border-radius: 10px; margin: 12px 0; }
.calendar-tabs button { flex: 1; border: none; padding: 10px 5px; min-height: 44px; background: transparent; border-radius: 8px; font-size: .88rem; }
.calendar-tabs button.active { background: var(--green); color: white; }
.calendar-month { margin: 8px 0; text-transform: capitalize; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; }
.calendar-weekday { text-align: center; color: var(--muted); font-size: .8rem; padding: 8px 0; }
.calendar-day { min-height: 44px; min-width: 0; width: 100%; border: none; border-radius: 9px; position: relative; background: transparent; }
.calendar-day:not(:disabled)::after { content: ""; width: 3px; height: 3px; background: var(--green); border-radius: 50%; position: absolute; bottom: 5px; left: calc(50% - 1px); }
.calendar-day:disabled, .calendar-month button:disabled { color: #b2b7af; cursor: default; }
.calendar-day.selected { background: var(--green); color: white; }
.calendar-day.selected::after { background: white; }
.calendar-day.in-range { background: var(--green-pale); border-radius: 0; }
.calendar-day:not(:disabled):hover { box-shadow: inset 0 0 0 1px var(--green); }
.calendar-status { color: var(--muted); font-size: .85rem; margin: 16px 0 4px; min-height: 2.5em; }
.calendar-weeks { display: grid; gap: 6px; }
.calendar-weeks button { border: 1px solid var(--line); background: transparent; padding: 13px; border-radius: 9px; min-height: 48px; }
.calendar-weeks button.active { border-color: var(--green); background: var(--green-pale); }
.calendar-apply { width: 100%; min-height: 46px; margin-top: 12px; border: none; border-radius: 9px; background: var(--green); color: white !important; }
.calendar-apply:disabled { opacity: .4; }
[hidden] { display: none !important; }
.bank-selector { display: flex; flex-wrap: wrap; gap: 8px; }
.bank-choice { display: flex; align-items: center; min-height: 44px; padding: 9px 16px; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-strong); color: var(--ink); }
.bank-choice.active { background: var(--green); border-color: var(--green); color: white; }
.bank-results { padding-top: 0; }
.bank-hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; padding: 26px 0; align-items: start; }
.eyebrow { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 12px; }
.bank-headline { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.28; max-width: 850px; margin: 0; }
.bank-scope { max-width: 720px; margin-bottom: 0; }
.bank-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-left: 1px solid var(--line); padding-left: 28px; }
.bank-stat strong { display: block; color: var(--green); font-size: 1.8rem; line-height: 1.15; font-weight: 700; }
.bank-stat span { display: block; font-size: .8rem; color: var(--muted); margin-top: 7px; }
.bank-claims, .bank-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bank-claim { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--paper-strong); display: flex; flex-direction: column; align-items: start; }
.claim-number { color: var(--green); font-size: .85rem; font-weight: 700; }
.bank-claim p { margin: 12px 0 18px; line-height: 1.6; }
.brief-refs { display: flex; gap: 8px; margin-top: auto; }
.brief-ref { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 4px; background: var(--green-pale); color: var(--green); border-radius: 9px; text-decoration: none; font-weight: 700; }
.bank-method { margin: 18px 0 28px; font-size: .85rem; color: var(--muted); max-width: 940px; }
.bank-method summary { min-height: 44px; cursor: pointer; padding: 12px 0; }
.bank-section-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: #e9e8df; padding: 4px; gap: 4px; border-radius: 12px; }
.bank-section-tabs a { min-height: 48px; text-align: center; text-decoration: none; padding: 12px 8px; color: var(--muted); border-radius: 9px; }
.bank-section-tabs a.active { background: var(--green); color: white; }
.bank-section-tabs span { margin-left: 8px; font-size: .8rem; }
.bank-material-heading { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin-top: 28px; }
.bank-material-heading h2 { margin: 0; }
.bank-material-heading a { color: var(--green); font-size: .88rem; min-height: 44px; display: flex; align-items: center; }
.bank-material { background: var(--paper-strong); border: 1px solid var(--line); border-radius: 14px; padding: 22px; min-width: 0; }
.bank-material h3 { font-size: 1.06rem; line-height: 1.45; margin: 0 0 12px; }
.bank-publications, .history-label { display: inline-block; font-size: .78rem; color: var(--muted); margin: 0 8px 4px 0; }
.history-label { background: var(--green-pale); color: var(--green); border-radius: 5px; padding: 3px 6px; }
.bank-material-summary { font-size: .94rem; color: #48574e; line-height: 1.6; }
.bank-material-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bank-week-suggestion { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); font-size: .9rem; }
.bank-card-details > summary { min-height: 44px; cursor: pointer; color: var(--green); padding-top: 10px; font-weight: 650; }
.bank-card-details { font-size: .9rem; }
.bank-card-details li { margin-bottom: 8px; }
.bank-caveat { color: #805922; border-left: 2px solid #c6ac77; padding-left: 10px; }
.bank-originals, .bank-source-links { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; overflow-wrap: anywhere; }
.bank-originals a, .bank-source-links a { color: var(--green); }
.bank-results > .load-more { display: block; margin: 24px auto; }
.bank-empty { padding: 28px 0; color: var(--muted); }
@media (max-width: 760px) {
  .page-shell { width: calc(100% - 32px); }
  .title-row { gap: 14px; }
  .reader-modes { width: 100%; }
  .reader-mode { flex: 1; justify-content: center; padding: 9px; }
  .radar-period { gap: 8px; margin-bottom: 16px; }
  .edition-periods { flex-basis: 100%; }
  .edition-period { flex: 1; min-width: 0; padding: 9px 6px; font-size: .88rem; }
  .calendar-trigger { padding: 10px 12px; font-size: .9rem; }
  .period-caption { font-size: .8rem; }
  .section-tab { flex-direction: column; gap: 4px; min-height: 58px; }
  .bank-selector { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .bank-choice { padding: 8px 4px; justify-content: center; text-align: center; font-size: .83rem; }
  .bank-hero { grid-template-columns: 1fr; gap: 22px; padding-top: 8px; }
  .bank-stats { border: 0; border-top: 1px solid var(--line); padding: 20px 0 0; grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .bank-stat strong { font-size: 1.5rem; }
  .bank-stat span { font-size: .74rem; }
  .bank-claims, .bank-card-grid { grid-template-columns: 1fr; }
  .bank-claim, .bank-material { padding: 18px; }
  .bank-material-heading { align-items: start; flex-direction: column; gap: 2px; }
  .radar-calendar { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Monthly synthesis uses the same quiet three-card layout as the archive. */
.month-results { display: block; }
.month-filter-toggle { display: none; background: transparent; border: 0; padding: 10px 0; min-height: 44px; color: var(--green); font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; }
.month-intro { margin: 0 0 26px; max-width: 980px; }
.month-intro h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; margin: 6px 0 12px; }
.month-intro > p:last-child { font-size: 1.06rem; line-height: 1.65; }
.month-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .065em; color: var(--green); font-weight: 700; margin: 0 0 9px; }
.month-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 16px; }
.month-card { min-width: 0; background: var(--paper-strong); border: 1px solid var(--line); border-radius: 14px; padding: 22px; scroll-margin-top: 20px; }
.month-card:target { outline: 2px solid var(--green); outline-offset: 4px; }
.month-card h3 { font-size: 1.08rem; line-height: 1.45; letter-spacing: -.015em; margin: 0 0 14px; color: var(--ink); }
.month-frequency { font-size: .8rem; color: var(--green); font-weight: 650; margin: 10px 0; }
.month-summary { font-size: .94rem; line-height: 1.6; color: #48574e; }
.month-detail, .month-sources { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.month-card summary { cursor: pointer; color: var(--green); font-weight: 650; font-size: .88rem; padding: 5px 0; }
.month-beat { margin: 20px 0; font-size: .94rem; }
.month-beat h4 { font-size: .94rem; margin: 0; }
.month-beat p { margin: 7px 0 10px; }
.month-citations { display: flex; flex-wrap: wrap; gap: 5px; }
.month-citations a { font-size: .8rem; }
.month-takeaway { border-left: 3px solid var(--green); padding-left: 12px; font-size: .94rem; }
.month-note { color: var(--muted); font-size: .85rem; line-height: 1.6; }
.month-evidence-list { padding-left: 20px; font-size: .87rem; }
.month-evidence-list li { margin: 10px 0; overflow-wrap: anywhere; }
.month-evidence-list a, .month-chart-row > a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.month-leaders, .month-infographic, .month-method { margin-top: 32px; background: var(--paper-strong); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.month-bank-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 8px 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.month-bank-name { display: flex; align-items: baseline; gap: 14px; }
.month-bank-name > span { color: var(--muted); font-size: .8rem; }
.month-bank-focus { margin: 0; font-size: .93rem; }
.month-bank-numbers { font-size: .87rem; color: var(--green); }
.month-bank-evidence { grid-column: 2 / 4; font-size: .85rem; }
.month-bank-evidence summary { cursor: pointer; color: var(--green); }
.month-bank-link { grid-column: 2 / 4; font-size: .85rem; color: var(--green); }
.month-chart-row { margin: 25px 0; }
.month-chart-row > a { display: block; font-size: 1rem; font-weight: 650; }
.month-bar { height: 9px; border-radius: 5px; overflow: hidden; background: #e5ebe4; }
.month-bar > span { display: block; height: 100%; background: var(--green); border-radius: 5px; }
.month-decades { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .8rem; color: var(--muted); margin-top: 8px; }
.month-method summary { cursor: pointer; color: var(--green); font-weight: 650; }
.month-method p { font-size: .9rem; max-width: 950px; }
@media (max-width: 1000px) { .month-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .month-bank-row { grid-template-columns: 150px 1fr; } .month-bank-numbers { grid-column: 2; } .month-bank-evidence, .month-bank-link { grid-column: 2; } }
@media (max-width: 600px) { .month-grid { grid-template-columns: minmax(0, 1fr); } .month-card { padding: 20px; } .month-leaders, .month-infographic, .month-method { padding: 18px; } .month-bank-row { display: flex; flex-direction: column; gap: 9px; } .month-intro > p:last-child { font-size: .98rem; } .calendar-tabs button { font-size: .8rem; } .month-filter-toggle { display: block; } .month-controls { padding: 6px 0; } .month-controls:not(.filters-open) .field, .month-controls:not(.filters-open) .reset-button { display: none; } }

.month-logic-chain{padding:10px 12px;background:#edf3ef;border-radius:8px;color:#245a49;font-size:12px;line-height:1.7}.month-logic-link{display:inline-block;font-size:13px;font-weight:650;margin:4px 0 12px;color:#176850}.slice-passport{margin:12px 0;padding:10px 14px;border:1px solid #cbd6cc;border-radius:9px;background:#f3f5ef;font-size:12px;line-height:1.6}.slice-passport summary{cursor:pointer;font-weight:650}.slice-passport p{margin:7px 0 0}.slice-passport-legacy{border-color:#d0b98b;background:#fff7e6}

.launch-results{display:block}.launch-heading{margin:0 0 24px}.launch-heading h2{font-size:clamp(1.6rem,3.3vw,2.5rem);margin:4px 0 9px}.launch-heading p{margin:4px 0}.launch-lead{color:var(--muted);max-width:760px}.launch-controls{display:grid;grid-template-columns:1.25fr 1.2fr .8fr .8fr 1.4fr;gap:12px;align-items:end}.launch-field{display:grid;gap:5px;font-size:12px;color:var(--muted);min-width:0}.launch-field input,.launch-field select,.launch-toolbar select,.launch-banks select{font:inherit;font-size:14px;color:var(--ink);border:1px solid var(--line);border-radius:9px;background:white;min-height:44px;padding:9px 10px;min-width:0;width:100%}.launch-presets{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 18px}.launch-presets button{background:transparent;border:0;color:var(--green-dark);padding:6px 10px;text-decoration:underline;text-underline-offset:3px;font-size:12px;min-height:36px}.launch-banks{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.launch-bank{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:22px;background:transparent;color:var(--ink);font:inherit;font-size:13px;min-height:42px;padding:8px 12px}.launch-bank.active{border-color:var(--actor,var(--green));background:white;box-shadow:inset 0 0 0 1px var(--actor,var(--green))}.actor-dot{display:inline-block;height:8px;width:8px;border-radius:50%;background:var(--actor,var(--green));flex-shrink:0}.launch-banks select{width:170px}.launch-bank-message{color:#955232;font-size:12px}.launch-toolbar{display:flex;gap:18px;align-items:center;flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid var(--line);margin:24px 0 12px;padding-bottom:10px}.launch-toolbar select{width:190px}.launch-sections,.launch-views{display:flex;gap:4px;flex-wrap:wrap}.launch-toolbar button{min-height:42px;background:transparent;color:var(--muted);border:0;border-radius:7px;padding:9px 13px;font-size:13px;font-weight:650}.launch-toolbar button[aria-pressed=true]{background:var(--green-pale);color:var(--green-dark)}.launch-scope{font-size:12px;color:var(--muted);line-height:1.6;margin:12px 0}.launch-error{font-size:14px;color:#9b413e}.launch-error:empty{display:none}.launch-insights{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:18px 0}.launch-focus{padding:14px 18px;background:linear-gradient(110deg,#fff,#f8faf8);border:1px solid var(--line);border-top:3px solid var(--actor);border-radius:10px}.launch-focus strong{font-size:15px}.launch-focus p{font-size:13px;margin:5px 0}.launch-focus small{font-size:11px;color:var(--muted)}.launch-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:20px 0 12px;font-size:11px;color:var(--muted)}.launch-board{background:var(--paper-strong);border:1px solid var(--line);border-radius:15px;overflow:hidden}.launch-board-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 22px}.launch-board-heading h3{margin:0;font-size:18px}.launch-board-heading span{font-size:12px;color:var(--muted)}.launch-axis,.launch-event-row{display:grid;grid-template-columns:39% minmax(0,1fr)}.launch-axis{background:#eef3f4;color:var(--muted);font-size:11px;align-items:center;min-height:40px}.launch-axis>div:first-child{padding:0 18px}.launch-scale{height:40px;position:relative}.launch-scale span{position:absolute;top:12px;white-space:nowrap;transform:translateX(-50%)}.launch-lane-name{margin:0;background:#f5f7f7;border-top:1px solid var(--line);padding:10px 18px;font-size:12px;font-weight:750;letter-spacing:.02em}.launch-event-row{border-top:1px solid #ecf0f1;min-height:78px}.launch-event-label{display:flex;align-items:flex-start;gap:10px;text-align:left;background:white;color:var(--ink);border:0;padding:12px 18px;font:inherit}.launch-event-label:hover{background:#f6faf8}.launch-event-label .actor-dot{margin-top:6px}.launch-event-label strong{font-size:12px;line-height:1.45;display:block}.launch-event-label small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.launch-track{position:relative;min-width:0;background:repeating-linear-gradient(to right,transparent 0,transparent calc(25% - 1px),#eef1f2 calc(25% - 1px),#eef1f2 25%)}.launch-mark{position:absolute;top:24px;width:13px;height:13px;min-width:0;padding:0;border:0;background:var(--actor);border-radius:50%;transform:translateX(-50%);z-index:1;cursor:pointer}.launch-mark:before{content:'';position:absolute;inset:-15px}.launch-mark.window{height:18px;border-radius:5px;transform:none;top:21px;opacity:.85}.launch-mark.deadline{border-radius:2px;transform:translateX(-50%) rotate(45deg)}.launch-mark.planned,.launch-mark.reported,.launch-mark.future{background:white;border:2px solid var(--actor)}.launch-mark.future{border-style:dashed}.launch-mark.window.future{background:repeating-linear-gradient(135deg,var(--actor) 0,var(--actor) 2px,white 2px,white 6px);border:1px solid var(--actor)}.launch-mark.document{border-radius:2px}.launch-row-dates{position:absolute;bottom:9px;left:5%;right:3%;font-size:10px;color:var(--muted);white-space:normal}.launch-cutoff{position:absolute;top:0;bottom:0;border-left:1px dashed #b4a887}.launch-empty{padding:15px 22px;color:var(--muted)}.launch-more{display:block;margin:16px auto;min-height:44px;padding:10px 20px;background:var(--green-pale);border:1px solid #c4ded6;border-radius:8px;color:var(--green-dark);font:inherit;font-size:13px}.launch-unknown,.launch-method{background:white;border:1px solid var(--line);padding:18px 22px;margin-top:20px;border-radius:12px}.launch-unknown summary,.launch-method summary{font-weight:650;cursor:pointer;font-size:14px}.launch-method p{font-size:13px;color:var(--muted)}.launch-undated-item,.launch-calendar-item{display:block;width:100%;padding:12px;text-align:left;font:inherit;font-size:13px;line-height:1.5;background:#f6f8f8;border:0;border-radius:7px;margin-top:8px;color:var(--ink)}.launch-undated-item:hover,.launch-calendar-item:hover{background:var(--green-pale)}.launch-detail{max-width:750px;width:calc(100% - 40px);max-height:88vh;border:1px solid var(--line);border-radius:17px;padding:28px 32px;color:var(--ink);box-shadow:0 24px 100px #132c3b40}.launch-detail::backdrop{background:#172b386e;backdrop-filter:blur(3px)}.launch-detail h2{font-size:22px;line-height:1.35;padding-right:20px}.launch-detail h3{font-size:16px;margin-top:24px}.launch-detail p,.launch-detail li{font-size:14px}.launch-close{position:absolute;right:10px;top:10px;width:44px;height:44px;font-size:26px;border:0;background:transparent;color:var(--muted)}.launch-status{display:inline-block;background:var(--green-pale);color:var(--green-dark);border-radius:5px;padding:3px 8px;font-size:12px}.launch-caveats{padding:10px 14px;background:#fbf6e9;border-left:3px solid #c9b67e}.launch-caveats p{font-size:12px}.launch-date-proof{border-top:1px solid var(--line);padding:12px 0}.launch-date-proof strong{font-size:13px}.launch-date-proof p{font-size:12px;color:var(--muted)}.launch-date-proof blockquote{font-size:12px;margin:8px 0;padding-left:14px;border-left:2px solid var(--line)}.launch-detail a{color:var(--green-dark);font-size:13px}.launch-history,.launch-sources{border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.launch-history summary,.launch-sources summary{font-size:14px;cursor:pointer;font-weight:650}.launch-history a,.launch-sources a{display:block;margin-top:10px;overflow-wrap:anywhere}.launch-calendar-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 20px}.launch-calendar-heading h3{font-size:18px;margin:0}.launch-calendar-heading button{height:44px;width:44px;border:1px solid var(--line);border-radius:8px;background:white;font-size:24px;color:var(--ink)}.launch-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--line)}.launch-weekday{background:#eef3f4;text-align:center;padding:8px;color:var(--muted);font-size:12px}.launch-day{background:white;color:var(--ink);border:0;min-height:98px;padding:10px;display:flex;flex-direction:column;gap:8px;align-items:flex-start;cursor:pointer}.launch-day.has{background:#eef5ef}.launch-day.selected{box-shadow:inset 0 0 0 2px var(--green)}.launch-day small{font-size:11px;color:var(--muted)}.launch-day:disabled,.launch-day.empty{background:#f2f4f4;color:#adb7bd;cursor:default}.launch-dots{display:flex;gap:4px;flex-wrap:wrap}.launch-calendar-selection{padding:18px 22px}.launch-calendar-selection h3{margin:0}.launch-board>.launch-scope{padding:0 20px}.launch-mobile{display:none}.launch-results button:focus-visible,.launch-results input:focus-visible,.launch-results select:focus-visible,.launch-detail button:focus-visible{outline:3px solid #72a5c2;outline-offset:3px}.launch-results button{cursor:pointer}.launch-results button:disabled{cursor:default;opacity:.5}
@media(max-width:1000px){.launch-controls{grid-template-columns:1fr 1fr 1fr}.launch-field:last-child{grid-column:span 2}.launch-axis,.launch-event-row{grid-template-columns:44% minmax(0,1fr)}}
@media(max-width:640px){.launch-controls{grid-template-columns:1fr 1fr;gap:10px}.launch-field:last-child{grid-column:1/-1}.launch-field input,.launch-field select{font-size:16px;max-width:100%}.launch-toolbar{gap:8px;margin-top:18px}.launch-toolbar select{width:100%}.launch-sections,.launch-views{gap:2px}.launch-toolbar button{padding:8px 11px}.launch-banks{gap:6px}.launch-bank{font-size:12px;min-height:44px;padding:8px 10px}.launch-banks select{width:150px;max-width:100%;font-size:16px}.launch-insights{grid-template-columns:1fr 1fr;gap:8px}.launch-focus{padding:12px}.launch-focus strong{font-size:13px}.launch-focus p{font-size:11px}.launch-focus small{font-size:10px}.launch-legend{gap:6px 12px;font-size:10px}.launch-board-heading{padding:14px;display:block}.launch-board-heading h3{font-size:17px}.launch-board-heading span{font-size:11px}.launch-desktop{display:none}.launch-mobile{display:block;padding:0 12px 12px}.launch-mobile .launch-lane-name{margin:0 -12px 10px;padding:10px 14px}.launch-mobile-event{display:block;width:100%;text-align:left;border:0;border-left:3px solid var(--actor);border-radius:0 8px 8px 0;background:#f4f7f6;color:var(--ink);padding:12px;margin:8px 0;font:inherit}.launch-mobile-date{display:block;font-size:12px;color:var(--actor);margin-bottom:6px;font-weight:650}.launch-mobile-event strong{font-size:13px;display:block;line-height:1.5}.launch-mobile-event small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.launch-day{min-height:78px;padding:6px}.launch-day small{font-size:9px}.launch-dots .actor-dot{width:6px;height:6px}.launch-unknown,.launch-method{padding:14px}.launch-detail{padding:22px 18px;width:calc(100% - 20px)}.launch-detail h2{font-size:19px}.launch-calendar-heading{padding:12px}.reader-modes{flex-wrap:wrap}}

/* Publication infographic: actor lanes × publication dates. */
.speech-results { padding: 0 0 40px; }
.speech-toolbar, .speech-view-tabs, .speech-topics, .speech-heading, .speech-map-top, .speech-legend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.speech-toolbar { justify-content: space-between; }
.speech-date { padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper-strong); color: var(--ink); font: inherit; min-height: 44px; }
.speech-view-tabs { background: #e9e8df; border-radius: 10px; padding: 4px; gap: 2px; }
.speech-view-tabs a { padding: 9px 24px; border-radius: 7px; text-decoration: none; color: var(--muted); font-weight: 650; }
.speech-view-tabs a.active { background: var(--paper-strong); color: var(--green); }
.speech-topics { gap: 8px; padding-top: 3px; }
.speech-topic-picker { display: none; }
.speech-topic { padding: 10px 17px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: .9rem; }
.speech-topic.active { color: white; border-color: var(--green); background: var(--green); }
.speech-heading { margin: 24px 0 16px; justify-content: space-between; }
.speech-heading h2 { margin: 0; font-size: clamp(1.4rem, 2.7vw, 1.85rem); letter-spacing: -.035em; }
.speech-asof { color: var(--muted); font-size: .85rem; }
.speech-state { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.speech-state-chip { background: var(--paper-strong); padding: 12px 16px; border: 1px solid var(--line); border-left: 4px solid #a6afa8; border-radius: 9px; }
.speech-state-chip span { display: block; color: var(--muted); font-size: .77rem; margin-bottom: 5px; }
.speech-state-chip strong { font-size: .95rem; line-height: 1.25; }
.speech-state-chip.tone-active { border-left-color: #087762; }
.speech-state-chip.tone-plan { border-left-color: #5482b6; }
.speech-state-chip.tone-unknown { border-left-color: #cc654b; }
.speech-map-top { justify-content: space-between; margin: 0 0 12px; }
.speech-map-top h3 { margin: 0; font-size: 1.08rem; }
.speech-history { color: var(--green); font-size: .85rem; text-underline-offset: 4px; }
.speech-legend { margin: 0 0 14px; gap: 6px; }
.speech-tag { display: inline-block; font-size: 10px; font-weight: 750; line-height: 1.25; padding: 3px 6px; border-radius: 4px; white-space: nowrap; background: #efeee7; color: #687269; }
.speech-tag-new { background: #147564; color: #fff; }
.speech-tag-detail { background: #d8ebe3; color: #166047; }
.speech-tag-repeat { background: #eceee8; color: #68736c; }
.speech-tag-conflict { background: #fbe4d9; color: #9d422b; }
.speech-tag-plan { background: #e2e9f8; color: #415f92; }
.speech-tag-context { background: #eee9df; color: #706758; }
.speech-map-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fffcf6; }
.speech-map { position: relative; min-width: calc(152px + var(--columns) * 124px); }
.speech-map-row { display: grid; grid-template-columns: 152px repeat(var(--columns), minmax(0, 1fr)); border-bottom: 1px solid #e5e6de; }
.speech-map-row:last-child { border-bottom: 0; }
.speech-map-header { background: #eeefe7; min-height: 45px; }
.speech-column-date { padding: 14px 8px; font-size: .85rem; font-weight: 700; text-align: center; border-left: 1px solid #e1e3da; }
.speech-column-date.today { color: #087762; background: #dfede2; }
.speech-actor-label { display: flex; flex-direction: column; padding: 12px; align-items: flex-start; justify-content: center; position: sticky; left: 0; z-index: 3; background: #f3f2e9; border-right: 1px solid #e1e3da; gap: 3px; }
.speech-map-header .speech-actor-label { font-size: .74rem; color: var(--muted); }
.speech-actor-label strong { font-size: .81rem; line-height: 1.25; overflow-wrap: anywhere; }
.speech-actor-label small { color: var(--muted); font-size: .69rem; }
.speech-avatar { color: #788477; font-size: 12px; }
.speech-avatar.actor-institution { color: #177564; }
.speech-avatar.actor-person { color: #4c6594; }
.speech-cell { padding: 9px 10px; display: flex; flex-direction: column; gap: 8px; min-height: 89px; border-left: 1px solid #e8e8df; }
.speech-cell.today { background: #e9f1e44a; }
.speech-node { display: block; width: 100%; min-width: 0; text-align: left; padding: 9px 10px; border: 1px solid #dce0d6; border-left: 3px solid #9faba0; border-radius: 7px; background: #fffefa; color: var(--ink); cursor: pointer; position: relative; z-index: 2; font: inherit; box-shadow: 0 2px 4px #1a342009; transition: opacity .12s, box-shadow .12s; }
.speech-node.category-new { border-left-color: #147564; background: #f0f8f0; }
.speech-node.category-detail { border-left-color: #58987f; }
.speech-node.category-conflict { border-left-color: #c86b4c; background: #fff6ee; }
.speech-node.category-plan { border-left-color: #6f88bb; }
.speech-node.category-repeat { background: #f6f6f0; }
.speech-node:hover { box-shadow: 0 3px 14px #1a342023; }
.speech-node-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 3px; margin-bottom: 7px; font-size: 10px; color: var(--muted); }
.speech-node-title { display: block; font-size: .77rem; font-weight: 650; line-height: 1.35; }
.speech-node-origin { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.speech-dim { opacity: .28; }
.speech-links { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: visible; }
.speech-link { fill: none; stroke: #73a590; stroke-width: 1.6; opacity: .4; stroke-dasharray: 4 3; }
.speech-link.relation-repeat { stroke: #9da59a; }
.speech-link.relation-conflict { stroke: #cb7458; }
.speech-link-active { opacity: 1; stroke-width: 2.8; stroke-dasharray: none; }
.speech-map-note { color: var(--muted); font-size: .75rem; line-height: 1.5; margin: 10px 0; }
.speech-method { margin-top: 24px; font-size: .83rem; color: var(--muted); }
.speech-method summary { cursor: pointer; padding: 8px 0; }
.speech-foundation { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.speech-source-link { color: var(--green); text-underline-offset: 3px; }
.speech-dialog { width: min(600px, calc(100vw - 32px)); box-sizing: border-box; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper-strong); color: var(--ink); max-height: calc(100dvh - 32px); overflow-y: auto; }
.speech-dialog::backdrop { background: #17201c66; backdrop-filter: blur(3px); }
.speech-detail-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.speech-close { border: 0; background: #eeeee6; border-radius: 8px; min-width: 40px; min-height: 40px; font-size: 24px; color: var(--ink); cursor: pointer; }
.speech-detail-person strong { display: block; font-size: 1.12rem; }
.speech-detail-person span, .speech-detail-stamp, .speech-detail-note { font-size: .79rem; color: var(--muted); line-height: 1.5; }
.speech-dialog h3 { font-size: 1.2rem; line-height: 1.35; margin: 18px 0 10px; }
.speech-addition { border-left: 3px solid var(--green); padding-left: 12px; font-size: .94rem; line-height: 1.5; }
.speech-trail { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 8px; }
.speech-trail h4 { font-size: .88rem; }
.speech-trail-item { display: grid; grid-template-columns: 62px 1fr; gap: 5px 9px; border-left: 2px solid #c4d4c8; padding: 8px 12px; font-size: .83rem; margin-bottom: 8px; }
.speech-trail-item strong, .speech-trail-item > span:last-child { grid-column: 2; }
.speech-trail-item .speech-tag { justify-self: start; }
.speech-trail-item.current { background: #edf3e9; border-left-color: var(--green); }
.speech-trail-date { color: var(--muted); font-size: .75rem; }
.speech-more-sources { margin: 18px 0; font-size: .82rem; }
.speech-more-sources summary { cursor: pointer; color: var(--green); padding: 8px 0; }
.speech-more-sources li { margin-bottom: 6px; }
.speech-daily { margin-top: 28px; }
.speech-daily h3 { font-size: 1.05rem; }
.speech-day-summary { color: var(--muted); font-size: .84rem; }
.speech-daily-list { display: grid; gap: 12px; max-width: 760px; }
.speech-daily-row { display: grid; grid-template-columns: 152px 1fr; align-items: center; gap: 12px; }
.speech-daily-row > strong { font-size: .9rem; }
.speech-results a:focus-visible, .speech-results button:focus-visible, .speech-date:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
@media (max-width: 760px) {
  .speech-topics { display: none; }
  .speech-topic-picker { display: block; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
  .speech-topic-select { display: block; width: 100%; max-width: 100%; margin-top: 5px; padding: 10px; background: #fffdf7; border: 1px solid #dddacf; border-radius: 10px; font: inherit; font-size: 14px; color: #182321; }
  .speech-state { grid-template-columns: 1fr; gap: 7px; margin-bottom: 18px; }
  .speech-state-chip { display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; }
  .speech-state-chip span { min-width: 105px; margin: 0; }
  .speech-state-chip strong { font-size: .85rem; }
  .speech-topic { font-size: .8rem; padding: 9px 12px; }
  .speech-heading { margin-top: 20px; gap: 7px; }
  .speech-map { min-width: calc(122px + var(--columns) * 164px); }
  .speech-map-row { grid-template-columns: 122px repeat(var(--columns), minmax(0, 1fr)); }
  .speech-daily-row { grid-template-columns: 105px 1fr; gap: 8px; }
  .speech-dialog { padding: 18px; }
  .speech-foundation { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .speech-node { transition: none; } }

.dr-story {
  --dr-paper: var(--paper-strong, #fffdf8);
  --dr-cream: #fffcf6;
  --dr-ink: var(--ink, #17201c);
  --dr-muted: var(--muted, #626e65);
  --dr-line: var(--line, #c4cec1);
  --dr-green: var(--green, #087762);
  --dr-green-deep: #147564;
  --dr-open: #496ba0;
  --dr-plan: #5482b6;
  --dr-warm: #95563e;
  --dr-unknown: #cc654b;
  --dr-chip: #efeee7;
  box-sizing: border-box;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 28px;
  color: var(--dr-ink);
  background: transparent;
  font: inherit;
}
.dr-story *,
.dr-story *::before,
.dr-story *::after { box-sizing: inherit; }
.dr-story [hidden] { display: none !important; }
.dr-story button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.dr-story a {
  color: var(--dr-green);
  text-underline-offset: 3px;
}
.dr-story a:hover { color: var(--dr-green-deep); }
.dr-story :focus-visible {
  outline: 2px solid var(--dr-green);
  outline-offset: 3px;
}
.dr-story button:active { transform: translateY(1px); }
.dr-story .dr-intro {
  margin: 0 0 8px;
}
.dr-story .dr-intro h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  letter-spacing: -.03em;
  line-height: 1.2;
}
.dr-story .dr-deck {
  margin: 0 0 10px;
  color: var(--dr-muted);
  font-size: .88rem;
  line-height: 1.35;
}
.dr-story .dr-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}
.dr-story .dr-status-item {
  background: var(--dr-paper);
  padding: 8px 12px;
  border: 1px solid var(--dr-line);
  border-left: 4px solid #a6afa8;
  border-radius: 9px;
  font-size: .82rem;
  line-height: 1.25;
}
.dr-story .dr-status-item span {
  display: block;
  color: var(--dr-muted);
  font-size: .72rem;
  margin-bottom: 3px;
}
.dr-story .dr-status-item strong {
  font-size: .9rem;
  font-weight: 650;
}
.dr-story .dr-status-item.tone-active,
.dr-story .tone-active { border-left-color: #087762; }
.dr-story .dr-status-item.tone-plan,
.dr-story .tone-plan { border-left-color: #5482b6; }
.dr-story .dr-status-item.tone-unknown,
.dr-story .tone-unknown { border-left-color: #cc654b; }
.dr-story .dr-reading-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  background: #e9e8df;
  border-radius: 10px;
  padding: 4px;
  margin: 0 0 12px;
  width: fit-content;
  max-width: 100%;
}
.dr-story .dr-reading-tabs button {
  padding: 8px 16px;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--dr-muted);
  font-weight: 650;
  font-size: .88rem;
}
.dr-story .dr-reading-tabs button:hover {
  color: var(--dr-ink);
}
.dr-story .dr-reading-tabs button.is-active,
.dr-story .dr-reading-tabs button[aria-selected="true"] {
  background: var(--dr-paper);
  color: var(--dr-green);
}
.dr-story .dr-section-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.dr-story .dr-delta {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--dr-line);
  border-radius: 10px;
  background: var(--dr-paper);
}
.dr-story .dr-delta-kind {
  display: inline-block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 4px;
  background: #d8ebe3;
  color: #166047;
  margin: 0 0 6px;
}
.dr-story .dr-delta-kind.tone-plan,
.dr-story .dr-delta-kind[data-kind="plan"] { background: #e2e9f8; color: #415f92; }
.dr-story .dr-delta-kind.tone-unknown,
.dr-story .dr-delta-kind[data-kind="signal"] { background: #fbe4d9; color: #9d422b; }
.dr-story .dr-delta-title {
  margin: 0 0 4px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--dr-green);
  line-height: 1.3;
}
.dr-story .dr-delta-compact { padding: 8px 12px; }
.dr-story .dr-delta-compact summary { cursor: pointer; margin: 0; }
.dr-story .dr-delta-compact[open] summary { margin-bottom: 8px; }
.dr-story .dr-signal-mark { color: var(--dr-open); }
.dr-story .dr-question h4 { margin: 0 0 6px; font-size: .88rem; }
.dr-story .dr-question p { margin: 4px 0 6px; }
.dr-story .dr-roadmap-note { font-size: .8rem; color: var(--dr-muted); }
.dr-story .dr-delta-copy {
  margin: 0 0 8px;
  font-size: .84rem;
  line-height: 1.4;
  color: var(--dr-ink);
}
.dr-story .dr-delta-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0 0 8px;
}
.dr-story .dr-before,
.dr-story .dr-after {
  background: var(--dr-cream);
  border: 1px solid var(--dr-line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: .82rem;
  line-height: 1.35;
}
.dr-story .dr-before { color: var(--dr-muted); }
.dr-story .dr-after {
  border-left: 3px solid var(--dr-green);
  color: var(--dr-ink);
}
.dr-story .dr-before::before,
.dr-story .dr-after::before {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 3px;
  color: var(--dr-muted);
}
.dr-story .dr-before::before { content: "Было"; }
.dr-story .dr-after::before { content: "Стало"; }
.dr-story .dr-delta button,
.dr-story .dr-hit,
.dr-story .dr-node-jump {
  display: inline-flex;
  align-items: center;
  margin: 2px 6px 0 0;
  padding: 6px 10px;
  min-height: 36px;
  border: 1px solid var(--dr-line);
  border-radius: 100px;
  background: #f3f2e9;
  font-size: .78rem;
  font-weight: 650;
}
.dr-story .dr-delta button:hover,
.dr-story .dr-hit:hover,
.dr-story .dr-node-jump:hover {
  border-color: var(--dr-green);
  color: var(--dr-green);
}
.dr-story .dr-map-panel {
  margin: 0 0 14px;
}
.dr-story .dr-map-panel figure {
  margin: 0;
}
.dr-story .dr-graph {
  position: relative;
  width: 100%;
  min-height: 200px;
  background: #f7f5ef;
  border: 1px solid var(--dr-line);
  border-radius: 24px;
  overflow: visible;
}
.dr-story .dr-platform {
  position: absolute;
  border-radius: 28px;
  background: #e4ede5;
  color: #17644d;
  padding: 22px 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
  text-align: center;
}
.dr-story .dr-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}
.dr-story .dr-edge {
  fill: none;
  stroke: #aabcb1;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.dr-story .dr-edge.open {
  stroke: var(--dr-open);
  stroke-dasharray: 5 4;
}
.dr-story .dr-edge.constraint {
  stroke: var(--dr-warm);
}
.dr-story .dr-edge-text {
  font: 11px/1.2 Inter, system-ui, sans-serif;
  fill: var(--dr-muted);
  paint-order: stroke;
  stroke: #f7f5ef;
  stroke-width: 8px;
  stroke-linejoin: round;
}
.dr-story .dr-edge-text.open { fill: #3e6588; }
.dr-story .dr-edge-text.constraint { fill: #966340; }
.dr-story .dr-arrow { fill: #aabcb1; }
.dr-story .dr-arrow.constraint { fill: #966340; }
.dr-story .dr-node {
  position: absolute;
  z-index: 2;
  text-align: left;
}
.dr-story .dr-node-type {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #68766d;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .035em;
  margin: 0;
  line-height: 1.2;
}
.dr-story .dr-node-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dr-story .dr-node-title {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.02em;
}
.dr-story .dr-node-button {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  text-align: left;
  width: 100%;
  min-height: 132px;
  padding: 17px 18px;
  border: 1px solid #d5ddd4;
  border-radius: 18px;
  background: #fffdf8;
  color: var(--dr-ink);
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: normal;
  box-shadow: none;
  transition: box-shadow .16s ease, border-color .16s ease;
}
.dr-story .dr-node-button:hover {
  box-shadow: 0 5px 18px #1a342018;
  border-color: #17644d;
}
.dr-story .dr-node-button[aria-pressed="true"] {
  outline: 2px solid #17644d;
  outline-offset: 3px;
}
.dr-story .dr-node-button.is-core {
  background: #17644d;
  border-color: #17644d;
  color: #ffffff;
}
.dr-story .dr-node-button.is-core .dr-node-type { color: #cce2d5; }
.dr-story .dr-node-button.is-core .dr-node-state { color: #d8e9df; }
.dr-story .dr-node-button.is-case { background: #fbf0e1; border-color: #ddc6a9; }
.dr-story .dr-node-button.is-case .dr-node-type,
.dr-story .dr-node-button.is-case .dr-node-state { color: #966340; }
.dr-story .dr-node-button.is-open {
  background: #eff4f8;
  border-color: #b7cbdc;
  border-style: dashed;
}
.dr-story .dr-node-button.is-open .dr-node-type,
.dr-story .dr-node-button.is-open .dr-node-state { color: #3e6588; }
.dr-story .dr-node-button.is-transition {
  box-shadow: inset 0 0 0 2px var(--dr-green);
}
.dr-story .dr-node-state {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: #68766d;
  overflow-wrap: normal;
}
.dr-story .dr-graph.is-narrow .dr-platform { background: transparent; padding: 0; }
.dr-story .dr-graph.is-narrow .dr-node-button { padding: 14px 12px; gap: 9px; }
.dr-story .dr-graph.is-narrow .dr-node-title { font-size: 16px; }
.dr-story .dr-graph.is-narrow .dr-node-type { font-size: 8px; gap: 5px; }
.dr-story .dr-mark {
  display: inline-block;
  color: var(--dr-green);
  padding-right: 5px;
  font-weight: 700;
}
.dr-story .dr-map-caption,
.dr-story .dr-map-panel figcaption,
.dr-story .dr-legend {
  margin: 8px 0 0;
  color: var(--dr-muted);
  font-size: .75rem;
  line-height: 1.45;
}
.dr-story .dr-proof {
  margin: 12px 0 14px;
  padding: 12px;
  border: 1px solid var(--dr-line);
  border-radius: 12px;
  background: var(--dr-paper);
}
.dr-story .dr-proof-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}
.dr-story .dr-proof-top h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}
.dr-story .dr-close {
  border: 0;
  background: #eeeee6;
  border-radius: 8px;
  min-width: 40px;
  min-height: 40px;
  padding: 6px 10px;
  font-size: .78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dr-story .dr-close:hover { background: #e4e4da; }
.dr-story .dr-boundary,
.dr-story .dr-proof-boundary {
  color: var(--dr-muted);
  font-size: .82rem;
  line-height: 1.4;
  margin: 6px 0 10px;
}
.dr-story .dr-proof-list,
.dr-story .dr-source-list {
  display: grid;
  gap: 0;
}
.dr-story .dr-proof-item,
.dr-story .dr-source-item {
  padding: 10px 0;
  border-top: 1px solid var(--dr-line);
  background: transparent;
}
.dr-story .dr-proof-meta,
.dr-story .dr-rank-label {
  font-size: 12px;
  color: var(--dr-muted);
  margin-bottom: 4px;
  line-height: 1.35;
}
.dr-story .dr-proof-title {
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0 0 4px;
}
.dr-story .dr-proof-detail {
  margin: 0 0 6px;
  font-size: .82rem;
  line-height: 1.4;
  color: var(--dr-ink);
}
.dr-story .dr-proof-link {
  color: var(--dr-green);
  font-size: .82rem;
  text-underline-offset: 3px;
}
.dr-story .dr-priority-0,
.dr-story [data-priority="0"] .dr-rank-label { color: #166047; font-weight: 750; }
.dr-story .dr-priority-1,
.dr-story [data-priority="1"] .dr-rank-label { color: #166047; }
.dr-story .dr-priority-2,
.dr-story [data-priority="2"] .dr-rank-label { color: #415f92; }
.dr-story .dr-priority-3,
.dr-story [data-priority="3"] .dr-rank-label { color: #9d422b; }
.dr-story .dr-priority-4,
.dr-story [data-priority="4"] .dr-rank-label { color: #68736c; }
.dr-story .dr-proof-item[data-priority="0"],
.dr-story .dr-source-item[data-priority="0"] {
  background: #f0f8f0;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 6px;
}
.dr-story .dr-history-panel,
.dr-story .dr-sources-panel {
  margin: 0 0 14px;
}
.dr-story .dr-rank-rule {
  margin: 0 0 10px;
  color: var(--dr-muted);
  font-size: .8rem;
  line-height: 1.4;
}
.dr-story .dr-history {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid #c4d4c8;
}
.dr-story .dr-milestone {
  position: relative;
  padding: 0 0 16px 14px;
}
.dr-story .dr-milestone::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dr-green);
  box-shadow: 0 0 0 3px var(--dr-cream);
}
.dr-story .dr-milestone:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: -21px;
  bottom: 2px;
  width: 14px;
  text-align: center;
  color: var(--dr-green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.dr-story .dr-milestone-date {
  display: block;
  color: var(--dr-muted);
  font-size: .75rem;
  font-weight: 650;
  margin-bottom: 4px;
}
.dr-story .dr-milestone-body {
  font-size: .86rem;
  line-height: 1.4;
  font-weight: 650;
}
.dr-story .dr-milestone-body .dr-delta-pair { margin-top: 8px; }
.dr-story .dr-milestone button {
  margin-top: 6px;
  padding: 6px 10px;
  min-height: 36px;
  border: 1px solid var(--dr-line);
  border-radius: 7px;
  background: #eeeee6;
  font-size: .78rem;
  font-weight: 650;
  color: var(--dr-green);
}
.dr-story .dr-milestone button:hover { background: #e4e4da; }
.dr-story .dr-roadmap {
  margin: 16px 0 0;
  padding: 12px;
  border: 1px dashed #5482b6;
  border-radius: 10px;
  background: #f4f7fb;
}
.dr-story .dr-roadmap .dr-section-title,
.dr-story .dr-roadmap-title {
  color: #415f92;
  font-size: .92rem;
}
.dr-story .dr-roadmap-item {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 6px 12px;
  padding: 8px 0;
  border-top: 1px solid #d5deeb;
  font-size: .84rem;
  line-height: 1.4;
}
.dr-story .dr-roadmap-item:first-of-type { border-top: 0; }
.dr-story .dr-roadmap-item > :first-child {
  color: #415f92;
  font-weight: 700;
  font-size: .8rem;
}
.dr-story .dr-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin: 8px 0 12px;
  align-items: start;
}
.dr-story .dr-constraints,
.dr-story .dr-questions {
  min-width: 0;
}
.dr-story .dr-constraint {
  padding: 8px 0;
  border-bottom: 1px solid var(--dr-line);
  font-size: .84rem;
  line-height: 1.4;
}
.dr-story .dr-constraint:last-child { border-bottom: 0; }
.dr-story .dr-constraints details {
  border: 1px solid var(--dr-line);
  border-radius: 8px;
  padding: 0 10px;
  background: var(--dr-paper);
}
.dr-story .dr-constraints summary {
  cursor: pointer;
  padding: 8px 0;
  font-weight: 650;
  font-size: .86rem;
}
.dr-story .dr-question {
  padding: 10px 12px;
  margin: 0 0 8px;
  border: 1px solid var(--dr-line);
  border-left: 3px solid var(--dr-plan);
  border-radius: 9px;
  background: var(--dr-paper);
  font-size: .84rem;
  line-height: 1.4;
}
.dr-story .dr-question .dr-signal,
.dr-story .dr-signal {
  display: block;
  color: var(--dr-open);
  font-size: .76rem;
  font-weight: 650;
  margin-bottom: 4px;
}
.dr-story .dr-footnote {
  margin: 12px 0 0;
  color: var(--dr-muted);
  font-size: .72rem;
  line-height: 1.45;
}
@media (min-width: 640px) {
  .dr-story .dr-delta-pair {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.75rem;
  }
  .dr-story .dr-delta-pair .dr-after { position: relative; }
  .dr-story .dr-delta-pair .dr-after::after {
    content: "→";
    position: absolute;
    left: -1.15rem;
    top: .7rem;
    color: var(--dr-green);
    font-weight: 750;
    line-height: 1;
  }
}
@media (max-width: 760px) {
  .dr-story .dr-status {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .dr-story .dr-status-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 10px;
  }
  .dr-story .dr-status-item span {
    min-width: 96px;
    margin: 0;
  }
  .dr-story .dr-bottom-grid { grid-template-columns: 1fr; }
  .dr-story .dr-reading-tabs { width: 100%; }
  .dr-story .dr-reading-tabs button { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .dr-story { padding-bottom: 20px; }
  .dr-story .dr-deck { font-size: .84rem; }
  .dr-story .dr-edge-text { font-size: 11px; }
  .dr-story .dr-roadmap-item { grid-template-columns: 1fr; gap: 2px; }
  .dr-story .dr-proof { padding: 10px; }
}
@media (max-width: 320px) {
  .dr-story .dr-intro h2 { font-size: 1.08rem; }
  .dr-story .dr-reading-tabs button {
    padding: 8px 10px;
    font-size: .8rem;
  }
  .dr-story .dr-delta,
  .dr-story .dr-proof,
  .dr-story .dr-roadmap { padding: 8px; }
  .dr-story .dr-node-state { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .dr-story button:active { transform: none; }
  .dr-story .dr-node-button { box-shadow: none; }
}

/* Semantic topic map renderer styles (bank-radar/semantic-maps/v1).
   Visual direction follows dr-story.css: Inter, pale surfaces, calm accents.
   Layer colors are semantic accents; claim currentness is carried by labeled
   badges and shapes, never by an implicit readiness/risk traffic light. */
.tm-map {
  --tm-paper: var(--paper-strong, #fffdf8);
  --tm-cream: #fffcf6;
  --tm-ink: var(--ink, #17201c);
  --tm-muted: var(--muted, #626e65);
  --tm-line: var(--line, #c4cec1);
  --tm-green: var(--green, #087762);
  --tm-graph-bg: #f7f5ef;
  box-sizing: border-box;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 28px;
  color: var(--tm-ink);
  background: transparent;
  font: inherit;
}
.tm-map *,
.tm-map *::before,
.tm-map *::after { box-sizing: inherit; }
.tm-map [hidden] { display: none !important; }
.tm-map button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.tm-map a {
  color: var(--tm-green);
  text-underline-offset: 3px;
}
.tm-map a:hover { color: #147564; }
.tm-map :focus-visible {
  outline: 2px solid var(--tm-green);
  outline-offset: 3px;
}
.tm-map button:active { transform: translateY(1px); }

.tm-map .tm-section-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.tm-map .tm-note {
  color: var(--tm-muted);
  font-size: .82rem;
  line-height: 1.45;
  margin: 6px 0 10px;
}

/* ---- daily view ---- */
.tm-map .tm-daily {
  margin: 0 0 14px;
  padding: 10px 12px;
  border: 1px solid var(--tm-line);
  border-radius: 10px;
  background: var(--tm-paper);
}
.tm-map .tm-daily-list { display: grid; gap: 10px; }
.tm-map .tm-daily-item {
  padding: 8px 0 0;
  border-top: 1px solid var(--tm-line);
  font-size: .84rem;
  line-height: 1.4;
}
.tm-map .tm-daily-item:first-child { border-top: 0; }
.tm-map .tm-daily-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.tm-map .tm-daily-nodes { margin-top: 6px; }
.tm-map .tm-node-jump,
.tm-map .tm-show-all {
  display: inline-flex;
  align-items: center;
  margin: 2px 6px 0 0;
  padding: 6px 10px;
  min-height: 36px;
  border: 1px solid var(--tm-line);
  border-radius: 100px;
  background: #f3f2e9;
  font-size: .78rem;
  font-weight: 650;
}
.tm-map .tm-node-jump:hover,
.tm-map .tm-show-all:hover {
  border-color: var(--tm-green);
  color: var(--tm-green);
}
.tm-map .tm-daily-context summary {
  cursor: pointer;
  color: var(--tm-muted);
  font-size: .82rem;
}

/* ---- badges ---- */
.tm-map .tm-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 4px;
  background: #efeee7;
  color: var(--tm-muted);
  line-height: 1.3;
}
.tm-map .tm-type { background: #e9e8df; color: #57624f; }
.tm-map .tm-badge-in_force,
.tm-map .tm-badge-done { background: #d8ebe3; color: #166047; }
.tm-map .tm-badge-announced,
.tm-map .tm-badge-forecast,
.tm-map .tm-badge-partially_done { background: #e2e9f8; color: #415f92; }
.tm-map .tm-badge-reported,
.tm-map .tm-badge-unconfirmed { background: #fbeed7; color: #8a5a1d; }
.tm-map .tm-badge-expired,
.tm-map .tm-badge-revoked,
.tm-map .tm-badge-superseded { background: #f0f0ea; color: #6d766d; text-decoration: none; }

/* ---- graph ---- */
.tm-map .tm-graph {
  position: relative;
  width: 100%;
  min-height: 200px;
  background: var(--tm-graph-bg);
  border: 1px solid var(--tm-line);
  border-radius: 24px;
  overflow: visible;
}
.tm-map .tm-band {
  position: absolute;
  border-radius: 20px;
  background: #edeae0;
  opacity: .55;
  pointer-events: none;
}
.tm-map .tm-band-label {
  position: absolute;
  top: 8px;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .035em;
  color: #8b948a;
  white-space: nowrap;
}
.tm-map .tm-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 1;
}
.tm-map .tm-edge {
  fill: none;
  stroke: #aabcb1;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.tm-map .tm-edge.kind-condition { stroke: #b08d5e; }
.tm-map .tm-edge.kind-open { stroke: #7d94ad; }
.tm-map .tm-edge.kind-measure { stroke: #7d94ad; }
.tm-map .tm-edge.is-dashed { stroke-dasharray: 5 4; }
.tm-map .tm-edge.is-active {
  stroke-width: 2.6;
  stroke: #17644d;
}
.tm-map .tm-arrow.kind-structure { fill: #aabcb1; }
.tm-map .tm-arrow.kind-condition { fill: #b08d5e; }
.tm-map .tm-edge-text {
  font: 11px/1.2 Inter, system-ui, sans-serif;
  fill: var(--tm-muted);
  paint-order: stroke;
  stroke: var(--tm-graph-bg);
  stroke-width: 8px;
  stroke-linejoin: round;
}
.tm-map .tm-edge-text.kind-condition { fill: #966340; }
.tm-map .tm-edge-text.kind-open,
.tm-map .tm-edge-text.kind-measure { fill: #3e6588; }
.tm-map .tm-edge-text.is-active {
  fill: #17644d;
  font-weight: 700;
}

/* ---- node cards ---- */
.tm-map .tm-node {
  position: absolute;
  z-index: 2;
  text-align: left;
}
.tm-map .tm-node-button {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  text-align: left;
  width: 100%;
  min-height: 120px;
  padding: 14px 16px;
  border: 1px solid #d5ddd4;
  border-top: 4px solid #a6afa8;
  border-radius: 16px;
  background: var(--tm-paper);
  color: var(--tm-ink);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: break-word;
  box-shadow: none;
  transition: box-shadow .16s ease, border-color .16s ease;
}
.tm-map .layer-core .tm-node-button { border-top-color: #165d4b; }
.tm-map .layer-mechanism .tm-node-button { border-top-color: #486a78; }
.tm-map .layer-condition .tm-node-button { border-top-color: #8b7048; }
.tm-map .layer-case .tm-node-button { border-top-color: #c07843; }
.tm-map .layer-measure .tm-node-button { border-top-color: #5877a8; }
.tm-map .layer-open .tm-node-button { border-top-color: #7b8390; border-style: dashed; }
.tm-map .tm-node-button:hover {
  box-shadow: 0 5px 18px #1a342018;
  border-color: #17644d;
}
.tm-map .tm-node-button.is-selected {
  outline: 2px solid #17644d;
  outline-offset: 3px;
}
.tm-map .tm-node-layer {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.2;
}
.tm-map .tm-node-title {
  display: block;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.02em;
}
.tm-map .tm-node-input {
  display: block;
  font-size: 13px;
  color: #45524a;
}
.tm-map .tm-node-input-empty {
  color: #966340;
  font-style: italic;
}
.tm-map .tm-node-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.tm-map .tm-node-mark {
  display: inline-block;
  color: var(--tm-green);
  font-size: 12px;
  font-weight: 700;
}
.tm-map .tm-node-changed {
  display: inline-block;
  color: var(--tm-muted);
  font-size: 11px;
}

/* ---- caption ---- */
.tm-map .tm-caption {
  margin: 8px 0 0;
  color: var(--tm-muted);
  font-size: .75rem;
  line-height: 1.45;
}

/* ---- drawer ---- */
.tm-map .tm-drawer {
  margin: 12px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--tm-line);
  border-radius: 12px;
  background: var(--tm-paper);
  scroll-margin-top: 96px; /* keep the drawer clear of the fixed masthead when scrolled into view */
}
.tm-map .tm-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
}
.tm-map .tm-drawer-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}
.tm-map .tm-close {
  border: 0;
  background: #eeeee6;
  border-radius: 8px;
  min-width: 40px;
  min-height: 40px;
  padding: 6px 10px;
  font-size: .78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tm-map .tm-close:hover { background: #e4e4da; }
.tm-map .tm-drawer-question {
  margin: 0 0 4px;
  font-size: .86rem;
  font-weight: 650;
}
.tm-map .tm-drawer-scope {
  margin: 0 0 10px;
  color: var(--tm-muted);
  font-size: .82rem;
  line-height: 1.4;
}
.tm-map .tm-drawer-sub {
  margin: 14px 0 6px;
  font-size: .92rem;
  font-weight: 700;
}
.tm-map .tm-claim-list { display: grid; gap: 0; }
.tm-map .tm-claim {
  padding: 10px 0;
  border-top: 1px solid var(--tm-line);
}
.tm-map .tm-claim:first-child { border-top: 0; }
.tm-map .tm-claim-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.tm-map .tm-claim-date {
  color: var(--tm-muted);
  font-size: 11px;
}
.tm-map .tm-claim-text {
  margin: 0 0 4px;
  font-size: .84rem;
  line-height: 1.4;
}
.tm-map .tm-claim-scope {
  margin: 0 0 4px;
  color: var(--tm-muted);
  font-size: .78rem;
  line-height: 1.4;
}
.tm-map .tm-claim-limit {
  margin: 2px 0;
  color: #966340;
  font-size: .78rem;
  line-height: 1.4;
}
.tm-map .tm-empty {
  margin: 4px 0;
  padding: 10px 12px;
  border: 1px dashed #c9b48f;
  border-radius: 8px;
  background: #fbf6ec;
  color: #7c5a28;
  font-size: .82rem;
  line-height: 1.45;
}
.tm-map .tm-horizons {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px dashed #5482b6;
  border-radius: 10px;
  background: #f4f7fb;
}
.tm-map .tm-horizons li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 6px 12px;
  padding: 8px 12px;
  border-top: 1px solid #d5deeb;
  font-size: .82rem;
  line-height: 1.4;
}
.tm-map .tm-horizons li:first-child { border-top: 0; }
.tm-map .tm-horizon-date {
  color: #415f92;
  font-weight: 700;
  font-size: .8rem;
}

/* ---- timeline ---- */
.tm-map .tm-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 2px solid #c4d4c8;
}
.tm-map .tm-event {
  position: relative;
  padding: 0 0 16px 14px;
}
.tm-map .tm-event::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tm-green);
  box-shadow: 0 0 0 3px var(--tm-cream);
}
.tm-map .tm-event-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.tm-map .tm-event-date {
  color: var(--tm-muted);
  font-size: .75rem;
  font-weight: 650;
}
.tm-map .tm-event-body {
  font-size: .86rem;
  line-height: 1.4;
  font-weight: 650;
}
.tm-map .tm-event-actor { font-weight: 700; }
.tm-map .tm-event-dates {
  margin: 4px 0;
  color: var(--tm-muted);
  font-size: .78rem;
  line-height: 1.4;
}
.tm-map .tm-event-details { margin-top: 6px; }
.tm-map .tm-event-details summary {
  cursor: pointer;
  color: var(--tm-green);
  font-size: .78rem;
  font-weight: 650;
}
.tm-map .tm-context summary {
  cursor: pointer;
  color: var(--tm-muted);
  font-size: .82rem;
}
.tm-map .tm-delta-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 6px 0 0;
}
.tm-map .tm-before,
.tm-map .tm-after {
  background: var(--tm-cream);
  border: 1px solid var(--tm-line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: .82rem;
  line-height: 1.35;
}
.tm-map .tm-before { color: var(--tm-muted); }
.tm-map .tm-after {
  border-left: 3px solid var(--tm-green);
  color: var(--tm-ink);
}
.tm-map .tm-before::before,
.tm-map .tm-after::before {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 3px;
  color: var(--tm-muted);
}
.tm-map .tm-before::before { content: "Было"; }
.tm-map .tm-after::before { content: "Стало"; }

/* ---- claim evidence and past conditions ---- */
.tm-map .tm-claim-actor {
  color: var(--tm-muted);
  font-size: 11px;
  font-weight: 650;
}
.tm-map .tm-claim-evidence { margin: 4px 0 2px; }
.tm-map .tm-claim-evidence summary {
  cursor: pointer;
  color: var(--tm-green);
  font-size: .78rem;
  font-weight: 650;
}
.tm-map .tm-claim-evidence .tm-source { padding: 8px 0 8px 10px; border-top: 0; }
.tm-map .tm-claim-past {
  background: #f6f5ee;
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 6px;
}
.tm-map .tm-event-now {
  margin: 4px 0 0;
  padding: 6px 10px;
  border-left: 3px solid #8b7048;
  background: var(--tm-cream);
  border-radius: 0 8px 8px 0;
  color: var(--tm-muted);
  font-size: .78rem;
  line-height: 1.4;
}
.tm-map .tm-event-now strong { color: var(--tm-ink); }
.tm-map .tm-unmapped {
  margin: 0 0 12px;
  padding: 8px 12px;
  border: 1px dashed var(--tm-line);
  border-radius: 10px;
  background: var(--tm-cream);
}
.tm-map .tm-unmapped summary {
  cursor: pointer;
  color: var(--tm-muted);
  font-size: .82rem;
  font-weight: 650;
}

/* ---- source cards ---- */
.tm-map .tm-source {
  padding: 10px 0;
  border-top: 1px solid var(--tm-line);
}
.tm-map .tm-source-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--tm-muted);
  margin-bottom: 4px;
  line-height: 1.35;
}
.tm-map .tm-source-title {
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0 0 4px;
}
.tm-map .tm-source-fact {
  margin: 0 0 6px;
  font-size: .82rem;
  line-height: 1.4;
}
.tm-map .tm-source-note {
  margin: 2px 0;
  color: #966340;
  font-size: .78rem;
  line-height: 1.4;
}
.tm-map .tm-source-link {
  color: var(--tm-green);
  font-size: .82rem;
}

/* ---- narrow layout ---- */
.tm-map .tm-claim-conflict {
  color: #8a4c18;
  background: #fff4de;
  border-left: 3px solid #d58c30;
  padding: 7px 10px;
  font-size: .82rem;
  line-height: 1.4;
}
.tm-map .tm-claim-conditions { margin: 6px 0; }
.tm-map .tm-node-conflict { display: block; color: #8a4c18; font-size: 11px; margin-top: 7px; }
.tm-map .tm-disputes { background: #fffaf0; border: 1px solid #e5cd9d; border-radius: 10px; padding: 8px 12px; margin: 12px 0; }
.tm-map .tm-dispute + .tm-dispute { border-top: 1px solid #e5cd9d; margin-top: 10px; padding-top: 8px; }
.tm-map .tm-claim-conditions summary { color: var(--tm-muted); font-size: .82rem; cursor: pointer; }
.tm-map .tm-graph.is-narrow {
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 10px;
}
.tm-map .tm-graph.is-narrow .tm-node { position: relative; width: 100%; }
.tm-map .tm-graph.is-narrow .tm-node-button { min-height: 0; }
.tm-map .tm-graph.is-narrow .tm-node-title { font-size: 16px; }
.tm-map .tm-narrow-rels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 0 2px 14px;
}
.tm-map .tm-narrow-rel {
  font-size: 12px;
  line-height: 1.3;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid var(--tm-line);
  background: #efeee7;
  color: var(--tm-muted);
}
.tm-map .tm-narrow-rel.kind-condition { border-color: #d8c6a8; color: #8a6a3a; }
.tm-map .tm-narrow-rel.kind-open,
.tm-map .tm-narrow-rel.kind-measure { border-color: #c3cfdd; color: #3e6588; border-style: dashed; }

@media (min-width: 640px) {
  .tm-map .tm-delta-pair {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.75rem;
  }
}
@media (max-width: 480px) {
  .tm-map .tm-drawer { padding: 10px; }
  .tm-map .tm-horizons li { grid-template-columns: 1fr; gap: 2px; }
  .tm-map .tm-edge-text { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-map button:active { transform: none; }
  .tm-map .tm-node-button { box-shadow: none; }
}

.tm-map .tm-node-proof { display: block; color: var(--tm-muted); font-size: 11px; line-height: 1.35; }
.tm-map .tm-current-reading { padding: 12px 14px; border-left: 3px solid #165d4b; background: #f0f3ec; }
.tm-map .tm-coverage-note { margin: 0 0 14px; font-size: 13px; color: var(--tm-muted); }
.tm-map .tm-coverage-note summary { cursor: pointer; }
