/* Design preview v5 "app shell" (owner 20.10.2026): search in the header, side menu on every page, page content unchanged inside. Site tokens from styles.css. */
:root { --shell-h: 64px; --shell-side: 240px; --shell-mini: 76px; }
html { scrollbar-color: var(--line-strong) var(--bg); }
.shell-scroll { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.shell-scroll::-webkit-scrollbar { width: 8px; }
.shell-scroll::-webkit-scrollbar-track { background: transparent; }
.shell-scroll::-webkit-scrollbar-thumb { background: transparent; border-radius: 8px; }
.shell-scroll:hover::-webkit-scrollbar-thumb { background: var(--line-strong); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header */
.shell-header { position: sticky; top: 0; z-index: 50; height: var(--shell-h); background: rgba(10, 20, 36, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 16px; }
.shell-burger { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.shell-burger:hover, .shell-burger:focus-visible { background: var(--bg-3); }
.shell-header .brand { flex: 0 0 auto; }
.shell-search { position: relative; flex: 1 1 0; min-width: 0; max-width: 620px; margin: 0 auto; display: flex; }
.shell-search input { flex: 1; min-width: 0; height: 42px; background: var(--bg-2); border: 1px solid var(--line-strong); border-right: 0; color: var(--ink); border-radius: 21px 0 0 21px; padding: 0 44px 0 18px; font: inherit; font-size: 15px; }
.shell-search input::placeholder { color: var(--ink-3); }
.shell-search input:focus { outline: none; border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.shell-search kbd { position: absolute; right: 74px; top: 11px; font: 600 12px var(--font-mono); color: var(--ink-3); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 7px; pointer-events: none; }
.shell-search input:focus ~ kbd, .shell-search input:not(:placeholder-shown) ~ kbd { display: none; }
.shell-search > button[type="submit"] { width: 60px; height: 42px; border: 1px solid var(--line-strong); background: var(--bg-3); color: var(--ink-2); border-radius: 0 21px 21px 0; cursor: pointer; display: grid; place-items: center; }
.shell-header .header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.shell-adv { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); color: var(--ink) !important; font-weight: 600; font-size: 14px; text-decoration: none; }
.shell-adv:hover { border-color: var(--accent); }

/* search panel */
.shell-results { position: absolute; top: 50px; left: 0; right: 0; background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 16px; box-shadow: 0 18px 48px rgba(0, 0, 0, .5); padding: 8px; max-height: min(70vh, 560px); overflow-y: auto; z-index: 60; }
.shell-results h5 { margin: 10px 12px 4px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.shell-results a { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.shell-results a:hover, .shell-results a[aria-selected="true"] { background: var(--bg-3); }
.shell-results a img { flex: 0 0 72px; width: 72px; height: 40px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); }
.shell-results a .ri { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 8px; background: var(--bg-3); color: var(--accent); display: grid; place-items: center; }
.shell-results a .ri svg { width: 18px; height: 18px; }
.shell-results a span { min-width: 0; }
.shell-results a b { display: block; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shell-results a small { display: block; color: var(--ink-3); font-size: 12px; }
.shell-results mark { background: none; color: var(--accent); }
.shell-results .none { padding: 14px 12px; color: var(--ink-2); font-size: 14px; }
.shell-results .foot { margin-top: 6px; padding: 8px 12px 4px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; }
.shell-results .foot kbd { font: 600 11px var(--font-mono); border: 1px solid var(--line-strong); border-radius: 4px; padding: 0 5px; color: var(--ink-2); }

/* side menu */
.shell { display: flex; align-items: flex-start; }
.shell-side { flex: 0 0 var(--shell-side); width: var(--shell-side); position: sticky; top: var(--shell-h); height: calc(100vh - var(--shell-h)); overflow-y: auto; padding: 10px 10px 40px; box-sizing: border-box; background: var(--bg); }
.shell-side .side-h { margin: 18px 12px 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.shell-side a { display: flex; align-items: center; gap: 16px; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.shell-side a svg { flex: 0 0 20px; width: 20px; height: 20px; }
.shell-side a:hover { background: var(--bg-3); color: var(--ink); }
.shell-side a[aria-current="page"] { background: var(--bg-3); color: var(--ink); font-weight: 700; }
.shell-side a[aria-current="page"] svg { color: var(--accent); }
.shell-side .badge-live { margin-left: auto; font-size: 10px; font-weight: 800; background: var(--good); color: var(--bg); padding: 1px 5px; border-radius: 4px; }
.shell-side hr { border: 0; border-top: 1px solid var(--line); margin: 12px 4px; }
.shell-main { flex: 1 1 auto; min-width: 0; border-left: 1px solid var(--line); }

/* collapsed (desktop): YouTube-style mini rail */
body.shell-collapsed .shell-side { flex-basis: var(--shell-mini); width: var(--shell-mini); padding: 6px 4px; }
body.shell-collapsed .shell-side .side-h, body.shell-collapsed .shell-side hr, body.shell-collapsed .shell-side .badge-live, body.shell-collapsed .shell-side .x { display: none; }
body.shell-collapsed .shell-side a { flex-direction: column; gap: 5px; justify-content: center; min-height: 66px; padding: 0 2px; font-size: 10px; text-align: center; white-space: normal; line-height: 1.15; }

/* home: topics */
.home-block { padding: 26px var(--pad) 6px; }
.home-block > h2 { margin: 0; font-size: 22px; }
.home-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.home-top a, .home-top span { font-size: 14px; color: var(--ink-3); }
.home-top a { color: var(--accent); text-decoration: none; font-weight: 600; }
.topics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1500px) { .topics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.topic { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.topic:hover { border-color: var(--accent); transform: translateY(-2px); }
.topic svg { width: 26px; height: 26px; color: var(--accent); }
.topic b { font-size: 16px; }
.topic small { color: var(--ink-3); font-size: 13px; }

/* home: chart library */
.lib-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lib-chip { min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.lib-chip:hover { border-color: var(--ink-3); }
.lib-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.lib-chip .c { color: var(--ink-3); font-weight: 500; margin-left: 6px; }
.lib-chip[aria-pressed="true"] .c { color: var(--line-strong); }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 16px; }
.lib-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.lib-card[hidden] { display: none !important; }
.lib-thumb { position: relative; aspect-ratio: 2 / 1; border-radius: 12px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform .15s ease, border-color .15s ease; }
.lib-card:hover .lib-thumb { transform: translateY(-2px); border-color: var(--accent); }
.lib-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-kind { position: absolute; bottom: 8px; left: 8px; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: rgba(10, 20, 36, .9); color: var(--ink-2); }
.lib-info .card-h { display: block; font-size: 15px; line-height: 1.35; font-weight: 600; }
.lib-info small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 4px; line-height: 1.4; }
.lib-calc { display: grid; place-items: center; text-align: center; height: 100%; padding: 12px; box-sizing: border-box; background: linear-gradient(135deg, #0c1b2e, #11253d); }
.lib-calc strong { font-size: 28px; }
.lib-calc span { color: var(--ink-3); font-size: 12px; letter-spacing: .1em; }
.lib-more { margin-top: 22px; display: flex; justify-content: center; }
.lib-more button { min-height: 42px; padding: 0 22px; border-radius: 21px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }

/* home: research row */
.res-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.res { display: flex; flex-direction: column; gap: 8px; padding: 0 0 4px; text-decoration: none; color: var(--ink); }
.res .lib-thumb { aspect-ratio: 2 / 1; }
.res .card-h { font-size: 15px; line-height: 1.35; }
.res small { color: var(--ink-3); font-size: 13px; }
.home-report { margin: 34px var(--pad) 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.home-report h2 { margin: 0; font-size: 22px; }
.home-report nav { display: flex; flex-wrap: wrap; gap: 6px; }
.home-report nav a { font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; }
.home-report nav a:hover { color: var(--ink); border-color: var(--ink-3); }

@media (max-width: 1000px) {
  .shell-side { position: fixed; top: var(--shell-h); left: 0; bottom: 0; height: auto; z-index: 45; transform: translateX(-100%); transition: transform .2s ease; box-shadow: 0 0 40px rgba(0, 0, 0, .6); border-right: 1px solid var(--line); }
  body.shell-open .shell-side { transform: none; }
  .shell-main { border-left: 0; }
  body.shell-collapsed .shell-side { flex-basis: var(--shell-side); width: var(--shell-side); padding: 10px 10px 40px; }
}
@media (max-width: 640px) {
  .shell-header { gap: 4px; padding: 0 8px; }
  .shell-header .brand-name, .shell-adv, .shell-search kbd { display: none; }
  .shell-search > button[type="submit"] { width: 46px; }
  .shell-search input { padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .shell-side, .lib-thumb, .topic { transition: none; } }

/* ── v4: watch page (content left, "up next" rail right) ── */
.watch { display: flex; align-items: flex-start; gap: 0; }
.watch-col { flex: 1 1 auto; min-width: 0; }
.watch-col > main { min-width: 0; }
.rail { flex: 0 0 380px; width: 380px; padding: 20px 20px 40px 8px; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; }
.rail-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.rail-chip { min-height: 32px; padding: 0 12px; border-radius: 8px; border: 0; background: var(--bg-3); color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.rail-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.rail-item { display: flex; gap: 10px; text-decoration: none; color: var(--ink); border-radius: 10px; padding: 2px; }
.rail-item[hidden] { display: none !important; }
.rail-item:hover .rail-thumb { border-color: var(--accent); }
.rail-thumb { flex: 0 0 168px; width: 168px; aspect-ratio: 2 / 1; border-radius: 8px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.rail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rail-text { min-width: 0; padding-top: 2px; }
.rail-text b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.35; font-weight: 600; }
.rail-text small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.watch-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 6px; }
.wa-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 19px; border: 0; background: var(--bg-3); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; }
.wa-btn svg { width: 18px; height: 18px; }
.wa-btn:hover { background: var(--line-strong); }
.wa-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.wa-btn[disabled] { opacity: .5; cursor: not-allowed; }
.wa-btn.primary { background: var(--accent); color: var(--bg); }
.comments { padding-top: 26px; padding-bottom: 40px; border-top: 1px solid var(--line); margin-top: 30px; box-sizing: border-box; width: 100%; }
.comments h2 { margin: 0 0 6px; font-size: 20px; }
.comments-note { color: var(--ink-3); font-size: 13px; margin: 0 0 14px; }
.comment-form { display: flex; gap: 12px; align-items: flex-start; }
.comment-form textarea { flex: 1; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); font: inherit; padding: 8px 2px; resize: vertical; }
.comment-form .lib-av { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--bg-3); color: var(--ink-2); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.comments-empty { color: var(--ink-3); font-size: 14px; margin: 18px 0 0 48px; }

/* ── v4: brand home ── */
.brand-hero { padding: 30px var(--pad) 8px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
.brand-hero .eyebrow { font: 700 12px var(--font-body); letter-spacing: .06em; color: var(--accent); text-transform: uppercase; }
.brand-hero h1 { margin: 8px 0 10px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.02em; line-height: 1.05; }
.brand-hero p { margin: 0 0 18px; color: var(--ink-2); font-size: 17px; line-height: 1.5; max-width: 56ch; }
.brand-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kpi { background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.kpi span { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.kpi strong { display: block; font-size: 30px; letter-spacing: -.02em; line-height: 1.15; }
.kpi em { font-style: normal; font-size: 12px; color: var(--ink-2); }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px 14px; }
.shelf-item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.shelf-item:hover .lib-thumb { border-color: var(--accent); }
.shelf-item .card-h { font-size: 15px; }
.shelf-item small { color: var(--ink-3); font-size: 13px; }
.about-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.about-card { padding: 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.about-card:hover { border-color: var(--accent); }
.about-card small { color: var(--ink-3); font-size: 13px; line-height: 1.45; }
.about-strip { padding-bottom: 40px; }

@media (max-width: 1280px) {
  .watch { flex-direction: column; }
  .rail { width: 100%; flex-basis: auto; padding: 10px var(--pad) 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
  .rail-chips { grid-column: 1 / -1; }
  .rail-item { flex-direction: column; }
  .rail-thumb { width: 100%; flex-basis: auto; }
}
@media (max-width: 760px) {
  .brand-hero { grid-template-columns: minmax(0, 1fr); }
  .kpi strong { font-size: 24px; }
  .comments-empty { margin-left: 0; }
}

/* ── v5 (owner feedback 20.10.) ── */
/* side menu runs the full page height: share bar + footer sit inside .shell-main */
.shell-main > .site-footer { margin-top: 0; }
.shell-main > .share-bar, body .shell-main .share-bar { max-width: none; margin: 0; padding: 16px var(--pad); border-bottom: 0; }

/* share bar: same type and pills as the action bar (no mono font) */
body .share-bar, body .share-bar .share-bar-btn, body .share-bar .share-bar-label { font-family: var(--font-body); letter-spacing: 0; }
body .share-bar .share-bar-label { text-transform: none; font-size: 14px; font-weight: 700; color: var(--ink); margin-right: 4px; }
body .share-bar .share-bar-btn { min-height: 36px; padding: 0 14px; border: 0; border-radius: 18px; background: var(--bg-3); color: var(--ink); font-size: 13px; font-weight: 600; }
body .share-bar .share-bar-btn:hover { background: var(--line-strong); color: var(--ink); }
.watch-col .share-bar { padding-left: 0; padding-right: 0; }

/* home: compact hero + featured report card */
.feat { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s ease; }
.feat:hover { border-color: var(--accent); }
.feat-thumb { position: relative; aspect-ratio: 2 / 1; border-radius: 10px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.feat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feat-thumb .lib-kind { background: var(--accent); color: var(--bg); }
.feat-info .feat-h { display: block; font-size: 17px; line-height: 1.3; font-weight: 700; }
.feat-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 12px 0 10px; }
.feat-stats span { font-size: 12px; color: var(--ink-3); line-height: 1.25; }
.feat-stats strong { display: block; font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.feat-stats span:nth-child(2) strong { color: var(--accent); }
.feat-info small { display: block; font-size: 12px; color: var(--ink-3); line-height: 1.4; }

/* home: library toolbar (filter chips + sort) and card dates */
.lib-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.lib-bar .lib-chips { margin-bottom: 0; }
.lib-sort { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.lib-sort select { min-height: 36px; padding: 0 34px 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23b8c5db' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 12px; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; -webkit-appearance: none; appearance: none; }
.lib-sort select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lib-info time { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }


/* header icon buttons: one size, one shape */
.shell-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--ink); display: none; place-items: center; cursor: pointer; padding: 0; }
.shell-icon:hover, .shell-icon:focus-visible { background: var(--bg-3); }

@media (max-width: 1100px) {
  .brand-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
  .feat { grid-template-columns: minmax(0, 1fr); }
  .lib-bar { flex-direction: column; }
  .lib-bar .lib-chips { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; padding-bottom: 2px; }
  .lib-bar .lib-chips::-webkit-scrollbar { display: none; }
  .lib-chip { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  /* mobile header: every control 40 x 40, same radius, search behind an icon */
  .shell-header { gap: 6px; padding: 0 8px; }
  .shell-burger { width: 40px; height: 40px; border-radius: 10px; }
  .shell-header .brand { min-width: 0; flex: 1 1 auto; }
  .shell-header .brand .brand-name { display: inline; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .shell-header .brand-mark { width: 30px; height: 30px; flex: 0 0 30px; }
  .shell-search { display: none; }
  .shell-search-open { display: grid; }
  .shell-header .header-actions { gap: 4px; }
  .shell-header .header-actions .lang-current { width: 40px; min-width: 40px; height: 40px; min-height: 0; padding: 0; justify-content: center; border-radius: 10px; border-color: transparent; background: transparent; }
  .shell-header .header-actions .lang-current:hover { background: var(--bg-3); }
  .shell-header .header-actions .lang-current .lang-caret { display: none; }
  body.search-open .shell-search { display: flex; position: absolute; left: 8px; right: 8px; top: 12px; margin: 0; max-width: none; z-index: 61; background: var(--bg); }
  body.search-open .shell-search-close { display: grid; margin-right: 4px; }
  .shell-search input, .shell-search > button[type="submit"] { height: 40px; }
  .shell-results { top: 48px; }
  .shell-results .foot { display: none; }
}
/* no mono type in the shell frame (owner 20.10.: the old font goes) */
.shell-main .site-footer, .shell-main .site-footer *:not(code):not(kbd) { font-family: var(--font-body); }
.watch-col > .comments { margin-top: 0; }
.feat-info .feat-kicker { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* ── v6 (owner feedback 20.10., round 2) ── */
/* home hero: text + topics + cited-by left, the featured report big on the right (image on top, facts below) */
.brand-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: center; padding-top: 32px; padding-bottom: 12px; }
.brand-hero h1 { margin-top: 10px; }
.hero-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 22px; max-width: 520px; }
.hero-topics a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; transition: border-color .15s ease, background .15s ease; }
.hero-topics a:hover { border-color: var(--accent); background: var(--bg-3); }
.hero-topics svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--accent); }
.hero-topics span { overflow: hidden; text-overflow: ellipsis; }
.hero-cited { margin: 18px 0 0; font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.hero-cited > span { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; margin-right: 6px; }
.hero-cited a { color: var(--ink-2); text-decoration: none; font-weight: 600; white-space: nowrap; }
.hero-cited a:hover { color: var(--accent); }
.hero-cited i { font-style: normal; margin: 0 7px; color: var(--line-strong); }
.feat { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; border-radius: 18px; align-self: start; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.feat-thumb { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.feat:hover .feat-thumb img { transform: scale(1.015); }
.feat-thumb img { transition: transform .3s ease; }
.feat-info { padding: 16px 20px 18px; }
.feat-info .feat-h { font-size: 19px; }
.feat-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 14px 0 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat-stats strong { font-size: 22px; }
@media (max-width: 1100px) { .brand-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; } .hero-topics { max-width: none; } }
@media (max-width: 640px) {
  .hero-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-info { padding: 14px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) { .feat-thumb img, .hero-topics a { transition: none; } }

/* watch pages: the old article sidebar becomes a chapters bar on top, the text gets the full column */
.watch-col .article { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.watch-col .article-aside { order: -1; min-width: 0; }
.watch-col .aside-block { position: static; display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.watch-col .toc { flex: 1 1 380px; margin: 0; padding: 12px 14px; }
.watch-col .cite-block { flex: 0 1 auto; margin: 0; padding: 12px 14px; }
.watch-col .aside-block h3 { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0 0 8px; }
.watch-col .toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
.watch-col .toc a { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 15px; background: var(--bg-3); border: 0; color: var(--ink); font-size: 13px; font-weight: 600; }
.watch-col .toc a:hover, .watch-col .toc a.active { background: var(--ink); color: var(--bg); }
.watch-col .cite-btn { font-family: var(--font-body); }

/* /2026: the site directory as compact link columns (always open) */
.site-dir { margin: 32px 0 8px; padding: 18px 20px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); }
.site-dir > h2 { margin: 0; font-size: 18px; }
.site-dir .site-dir-n { margin: 2px 0 6px; font-size: 13px; color: var(--ink-3); }
.site-dir > p:not(.site-dir-n) { display: none; }
.site-dir > h3 { margin: 16px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-family: var(--font-body); }
.site-dir .related-grid { display: block; columns: 3 200px; column-gap: 24px; margin: 0; }
.site-dir .related-card { display: block; break-inside: avoid; padding: 4px 0; margin: 0; border: 0; background: none; box-shadow: none; min-height: 0; }
.site-dir .related-card:hover { transform: none; }
.site-dir .related-card .rc-eyebrow, .site-dir .related-card .rc-desc { display: none; }
.site-dir .related-card .rc-title { font-size: 14px; font-weight: 500; color: var(--ink-2); margin: 0; }
.site-dir .related-card:hover .rc-title { color: var(--accent); }
@media (max-width: 760px) {
  /* mobile: the featured report straight after the buttons, topics + cited-by below it */
  .brand-hero { gap: 0; }
  .brand-hero-in { display: contents; }
  .brand-hero .feat { order: 1; margin-top: 22px; }
  .brand-hero .hero-topics { order: 2; margin-top: 18px; }
  .brand-hero .hero-cited { order: 3; }
  .hero-topics a { min-height: 40px; font-size: 13px; }
}

/* ── v7 (owner feedback 20.10., round 3) ── */
/* topic tiles: a chevron so they read as links */
.hero-topics a { padding-right: 10px; }
.hero-topics .topic-go { flex: 0 0 16px; width: 16px; height: 16px; margin-left: auto; color: var(--ink-3); transition: transform .15s ease, color .15s ease; }
.hero-topics a:hover .topic-go { color: var(--accent); transform: translateX(2px); }

/* "As cited by": its own trust strip between hero and library */
.cite-strip { margin: 26px var(--pad) 4px; padding: 20px 22px 22px; border-radius: 18px; background: linear-gradient(180deg, var(--bg-2), rgba(15, 28, 48, .55)); border: 1px solid var(--line); }
.cite-strip .cite-h { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cite-strip .cite-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cite-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cite-strip li a { position: relative; display: flex; align-items: center; gap: 14px; height: 100%; box-sizing: border-box; padding: 14px 40px 14px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.cite-strip li a:hover { border-color: var(--accent); transform: translateY(-2px); }
.cite-mono { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(54, 225, 255, .18), rgba(54, 225, 255, .04)); border: 1px solid rgba(54, 225, 255, .3); color: var(--accent); font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.cite-txt { min-width: 0; }
.cite-txt b { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; }
.cite-txt small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); line-height: 1.35; }
.cite-arrow { position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; color: var(--ink-3); transition: color .15s ease; }
.cite-strip li a:hover .cite-arrow { color: var(--accent); }
@media (max-width: 1280px) { .cite-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cite-strip { padding: 16px 14px 16px; } .cite-strip ul { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .cite-strip li a, .hero-topics .topic-go { transition: none; } }

/* action bar: Share keeps the pill look although it reuses the chart share panel (.ofs-embed) */
.watch-actions .wa-btn.ofs-embed { padding: 0 14px; border: 0; border-radius: 19px; background: var(--bg-3); color: var(--ink); font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; gap: 8px; }
.watch-actions .wa-btn.ofs-embed:hover, .watch-actions .wa-btn.ofs-embed[aria-expanded="true"] { background: var(--line-strong); }
.wa-count { font-weight: 700; padding-left: 8px; margin-left: 2px; border-left: 1px solid var(--line-strong); }
.wa-btn[aria-pressed="true"] .wa-count { border-left-color: rgba(10, 20, 36, .3); }
.wa-like[aria-pressed="true"] svg { fill: currentColor; }
.wa-quiet { background: transparent; color: var(--ink-3); }
.wa-quiet:hover { background: var(--bg-3); color: var(--ink); }
@media (min-width: 761px) { .watch-actions .wa-quiet { margin-left: auto; } }

/* side menu: saved count */
.shell-side .badge-saved { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; background: var(--bg-3); color: var(--ink-2); font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; }
.shell-side .badge-saved[hidden] { display: none; }
body.shell-collapsed .shell-side .badge-saved { display: none; }

/* /saved */
.saved-page h1 { margin: 0; font-size: 28px; }
.saved-note { margin: 0 0 18px; color: var(--ink-3); font-size: 14px; }
.saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px 16px; }
.saved-item { position: relative; }
.saved-link { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
.saved-link:hover .lib-thumb { border-color: var(--accent); }
.saved-del { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 10px; border: 0; background: rgba(10, 20, 36, .85); color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.saved-del:hover { background: var(--bg-3); }
.saved-empty { padding: 30px 20px; border: 1px dashed var(--line-strong); border-radius: 14px; text-align: center; color: var(--ink-2); }
.saved-page { padding-bottom: 60px; }

/* ── v8 (owner feedback 20.10., round 4) ── */
/* hero: more air on the left, report + a compact "As cited by" stacked on the right */
.brand-hero { align-items: center; padding-top: 40px; padding-bottom: 20px; }
.brand-hero h1 { margin: 16px 0 18px; font-size: clamp(36px, 4.2vw, 54px); }
.brand-hero p { margin-bottom: 30px; }
.hero-topics { margin-top: 36px; gap: 10px; }
.hero-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.hero-side .cite-strip { margin: 0; padding: 14px 16px 16px; border-radius: 16px; }
.hero-side .cite-strip .cite-h { margin-bottom: 10px; font-size: 11px; }
.hero-side .cite-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero-side .cite-strip li a { gap: 10px; padding: 9px 30px 9px 10px; border-radius: 10px; }
.hero-side .cite-mono { flex-basis: 32px; width: 32px; height: 32px; border-radius: 8px; font-size: 12px; }
.hero-side .cite-txt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-side .cite-txt small { font-size: 11.5px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-side .cite-arrow { top: 9px; right: 9px; width: 14px; height: 14px; }
@media (max-width: 760px) {
  .hero-side { display: contents; }
  .brand-hero .cite-strip { order: 3; margin-top: 18px; }
  .brand-hero h1 { margin: 10px 0 12px; }
  .brand-hero p { margin-bottom: 22px; }
}
@media (max-width: 420px) { .hero-side .cite-strip ul { grid-template-columns: minmax(0, 1fr); } }

/* slim menu on desktop is the default now: show the saved count as a small badge on the icon */
body.shell-collapsed .shell-side a { position: relative; }
@media (min-width: 1001px) {
  body.shell-collapsed .shell-side .badge-saved:not([hidden]) { display: grid; position: absolute; top: 8px; left: calc(50% + 4px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; font-size: 10px; background: var(--accent); color: var(--bg); margin: 0; }
}

/* page tags (= real search terms) under the action bar, linking to /search?tag= */
.page-tags { display: flex; flex-wrap: wrap; gap: 6px 12px; padding-top: 2px; padding-bottom: 8px; }
.page-tags a, .tag { color: var(--accent); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.page-tags a:hover, .tag:hover { text-decoration: underline; }
.search-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.search-tags .tag { padding: 6px 12px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.search-tags .tag:hover { border-color: var(--accent); text-decoration: none; }
.search-page { padding-bottom: 60px; }
.search-page h1 { margin: 0; font-size: 28px; }
.sr-icon { display: grid; place-items: center; height: 100%; color: var(--accent); background: linear-gradient(135deg, #0c1b2e, #11253d); }
.sr-icon svg { width: 34px; height: 34px; }
.shell-results .tag-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 8px; }
.shell-results .tag-row .tag { display: inline-block; padding: 5px 10px; border-radius: 14px; background: var(--bg-3); font-size: 13px; }
.shell-results .tag-row a.tag:hover { background: var(--line-strong); text-decoration: none; }
.shell-results a.all { border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; margin-bottom: 4px; }
.shell-results a.all b { color: var(--accent); }

/* save / report feedback */
.shell-toast { position: fixed; left: 50%; bottom: 24px; z-index: 9990; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); transition: opacity .2s ease, transform .2s ease; }
.shell-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.shell-toast a { color: #0b6f86; font-weight: 800; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .shell-toast { transition: none; } }

/* report dialog */
.report-dlg { width: min(520px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line-strong); border-radius: 16px; background: var(--bg-2); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.report-dlg::backdrop { background: rgba(5, 12, 22, .7); }
.rep-form { display: flex; flex-direction: column; gap: 8px; padding: 22px; font-family: var(--font-body); }
.rep-form h2 { margin: 0; font-size: 20px; }
.rep-sub { margin: 0 0 8px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.rep-form label { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 6px; }
.rep-form label span { font-weight: 500; color: var(--ink-3); }
.rep-form textarea, .rep-form input { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; resize: vertical; }
.rep-form textarea:focus, .rep-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.rep-err { margin: 4px 0 0; color: #fca5a5; font-size: 13px; }
.rep-err a { color: var(--accent); }
.rep-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }

/* footer: the Google mark in one colour like the other social icons */
.shell-main .fv4-glogo { background: #06121f; }
.shell-main .fv4-glogo svg path { fill: var(--accent); }
/* reading time pill: site font instead of mono */
.reading-progress-label { font-family: var(--font-body) !important; letter-spacing: 0 !important; font-weight: 600; }
/* topic tiles: title + short description (fills the left column, says what is behind each tile) */
.hero-topics a { min-height: 60px; padding: 10px 10px 10px 12px; white-space: normal; align-items: center; }
.hero-topics .tt { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.hero-topics .tt b { font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-topics .tt small { font-size: 12px; font-weight: 500; color: var(--ink-3); line-height: 1.3; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-topics svg:first-child { flex-basis: 20px; width: 20px; height: 20px; }
@media (min-width: 1101px) {
  .brand-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; }
  .brand-hero .eyebrow { display: block; }
  .hero-topics { max-width: none; margin-top: 44px; }
  .brand-cta .wa-btn { min-height: 46px; padding: 0 20px; border-radius: 23px; font-size: 15px; }
}
@media (max-width: 640px) { .hero-topics .tt small { display: none; } .hero-topics a { min-height: 44px; } }
/* slim desktop menu = 9 key entries with short labels; everything else lives in the full menu */
.shell-side .mini { display: none; }
@media (min-width: 1001px) {
  body.shell-collapsed .shell-side a:not([data-mini]) { display: none; }
  body.shell-collapsed .shell-side a .lbl { display: none; }
  body.shell-collapsed .shell-side a .mini { display: block; }
  body.shell-collapsed .shell-side a { min-height: 70px; font-size: 10.5px; font-weight: 600; }
  body.shell-collapsed .shell-side a svg { width: 22px; height: 22px; flex-basis: 22px; }
}
@media (max-width: 1000px) {
  /* phones/tablets: the drawer is always the full menu, whatever the desktop preference */
  body.shell-collapsed .shell-side .side-h { display: block; }
  body.shell-collapsed .shell-side hr { display: block; }
  body.shell-collapsed .shell-side .badge-live { display: inline-block; }
  body.shell-collapsed .shell-side a { flex-direction: row; gap: 16px; justify-content: flex-start; min-height: 40px; padding: 0 12px; font-size: 14px; font-weight: 500; text-align: left; white-space: nowrap; line-height: normal; }
  body.shell-collapsed .shell-side .badge-saved:not([hidden]) { display: inline-grid; }
}

/* ── v9 (owner feedback 20.10., round 5) ── */
/* one tag system: keyword chips in the library look, no hashtags */
.page-tags { align-items: center; gap: 8px; padding-top: 4px; padding-bottom: 10px; }
.page-tags .pt-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.tag-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--ink) !important; font-size: 13px; font-weight: 600; text-decoration: none !important; transition: border-color .15s ease, background .15s ease; }
.tag-chip:hover { border-color: var(--accent); background: var(--bg-3); }
.search-tags { gap: 8px; }
.search-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.search-eyebrow[hidden] { display: none; }

/* home: cited-by sits in the LEFT column under the topic tiles */
.brand-hero-in .cite-strip { margin: 22px 0 0; padding: 14px 16px 16px; border-radius: 16px; max-width: none; }
.brand-hero-in .cite-strip .cite-h { margin-bottom: 10px; font-size: 11px; }
.brand-hero-in .cite-strip ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.brand-hero-in .cite-strip li a { gap: 10px; padding: 9px 30px 9px 10px; border-radius: 10px; }
.brand-hero-in .cite-mono { flex-basis: 32px; width: 32px; height: 32px; border-radius: 8px; font-size: 12px; }
.brand-hero-in .cite-txt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-hero-in .cite-txt small { font-size: 11.5px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-hero-in .cite-arrow { top: 9px; right: 9px; width: 14px; height: 14px; }
@media (min-width: 1101px) { .hero-topics { margin-top: 32px; } }
@media (max-width: 420px) { .brand-hero-in .cite-strip ul { grid-template-columns: minmax(0, 1fr); } }

/* "On this page" bar that follows the reader */
.toc-moved { display: none !important; }
.toc-bar { position: sticky; top: var(--shell-h); z-index: 30; display: flex; align-items: center; gap: 12px; margin: 14px calc(var(--pad) * -1) 0; padding: 10px var(--pad); background: rgba(10, 20, 36, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.toc-bar .tb-label { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.toc-bar .tb-scroll { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.toc-bar .tb-scroll::-webkit-scrollbar { display: none; }
.toc-bar a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 10px; background: var(--bg-3); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.toc-bar a:hover { background: var(--line-strong); }
.toc-bar a.on { background: var(--ink); color: var(--bg); }
.watch-col h2[id], .watch-col h3[id], .watch-col section[id], .watch-col [id].chart-block { scroll-margin-top: 130px; }
@media (max-width: 640px) { .toc-bar .tb-label { display: none; } .toc-bar { padding-top: 8px; padding-bottom: 8px; } }
.brand-hero-in .cite-txt b { white-space: normal; overflow: visible; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.2; }
@media (max-width: 1280px) { .watch { align-items: stretch; } .watch-col { width: 100%; max-width: 100%; } }

/* ── v10: both hero columns exactly the same height; the shorter side spreads its three blocks evenly ── */
@media (min-width: 1101px) {
  .brand-hero { align-items: stretch; }
  .brand-hero-in { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
  .brand-hero-in > .hero-topics, .brand-hero-in > .cite-strip { margin-top: 0; }
  .hero-side .feat { flex: 1 1 auto; display: flex; flex-direction: column; }
  .feat-thumb { flex: 0 0 auto; }
  .feat-info { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 20px 22px; }
  .feat-stats { margin: 0; }
}
.hero-copy > *:last-child { margin-bottom: 0; }
.hero-topics .tt small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── v11: real headings (H2 sections, H3 card titles) in the old look; site-wide h2/h3 styles reset ── */
.card-h, .feat-h, .side-h, .cite-h { margin: 0; font-family: var(--font-body); color: inherit; letter-spacing: normal; text-transform: none; border: 0; padding: 0; }
.shell-side .side-h { margin: 18px 12px 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.cite-strip .cite-h { letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.lib-info .card-h { font-size: 15px; line-height: 1.35; font-weight: 600; }
.res .card-h, .shelf-item .card-h { font-size: 15px; line-height: 1.35; font-weight: 700; }
.about-card .card-h { font-size: 16px; line-height: 1.3; font-weight: 700; }
.feat-info .feat-h { line-height: 1.3; font-weight: 700; }
p.fv4-title { line-height: 1.3; }
