/* Diaspora networks (corrections after staging, 2026-11-20).
   Type: five sizes and two weights on this page, nothing else.
     page title  --fs-title   section title --fs-sec   small heading --fs-h   body --fs-body   small note --fs-note
     weights 400 and 600.
   Spacing: 64px above each major part (--gap-part), 36px between dimension groups (--gap-row), 20px above a sub-heading
   (--gap-sub), 12px between a heading and its content (--gap-h), 8px between paragraphs (--gap-p).
   One divider: a thin coral rule centred in the gap between the two cases. */
body[data-page] {
  --fs-title: clamp(2.2rem, 4.6vw, 3.5rem);
  --fs-sec: 1.375rem;   /* section headings: modest, close to the lead (calmed 21 Nov 2026) */
  --fs-h: 1.25rem;
  --fs-body: 1.08rem;
  --fs-note: .95rem;
  --gap-part: 64px; --gap-row: 36px; --gap-sub: 20px; --gap-h: 12px; --gap-p: 8px;
  --gap-sec: var(--gap-row); --gap-fg: var(--gap-row);
}
/* Parts of the page built outside the body fragment, brought onto the same scale */
body[data-page] .strand-q { font-size: var(--fs-title); font-weight: 400; }
body[data-page] .trail { font-size: var(--fs-note); }
body[data-page] .trail [aria-current] { font-weight: 600; }

body[data-page] .strand-body .h2 { font-size: var(--fs-sec); font-weight: 600; margin-bottom: var(--gap-h); }
body[data-page] .entry { border: 0; padding: 0; margin-top: var(--gap-row); }
body[data-page] .entries > .entry:first-child { margin-top: 0; }
body[data-page] .pub-meta { margin-bottom: var(--gap-p); }
body[data-page] .pub-title { margin-bottom: var(--gap-p); }
body[data-page] .pub-desc, body[data-page] .pub-with, body[data-page] .pub-links { margin-top: var(--gap-p); }
body[data-page] .pub-meta, body[data-page] .pub-with { font-size: var(--fs-note); font-weight: 400; }
body[data-page] .pub-title { font-family: var(--display); font-size: var(--fs-h); font-weight: 600; letter-spacing: 0; }
body[data-page] .pub-authors, body[data-page] .pub-desc { font-size: var(--fs-body); }
body[data-page] .btn { font-size: var(--fs-body); font-weight: 600; }
body[data-page] .credit-after { font-size: var(--fs-note); margin-top: var(--gap-sec); }
body[data-page] .pager { border-top: 0; margin-top: var(--gap-sec); padding-top: 0; }
body[data-page] .pager a { font-size: var(--fs-body); font-weight: 600; }
body[data-page] .pager a span { font-size: var(--fs-note); font-weight: 400; letter-spacing: 0; text-transform: none; }

.col { max-width: 70ch; }
.col p, .col li, .col dd, .col dt { font-size: var(--fs-body); line-height: 1.75; color: var(--text); }
.col > p + p, .col details > p + p, .col > ul + p, .col > p + ul.tight { margin-top: var(--gap-p); }
.nw-sec { margin-top: var(--gap-sec); }
#how-we-read { margin-top: 0; }
#where-it-started, .case, body[data-page] #read-the-research { margin-top: var(--gap-part); }
.nw-rule + .case { margin-top: 0; }
.nw-title { font-family: var(--display); font-weight: 600; font-size: var(--fs-sec); line-height: 1.2; color: var(--ink); margin-bottom: var(--gap-h); }
.nw-h { font-family: var(--display); font-weight: 600; font-size: var(--fs-h); line-height: 1.35; color: var(--ink); margin: var(--gap-row) 0 var(--gap-h); }
.col > .nw-h:first-child, .fg > .nw-h:first-child { margin-top: 0; }
.note, .col p.note { font-size: var(--fs-body); line-height: 1.6; font-weight: 400; color: var(--text-light); margin-bottom: var(--gap-h); }
.dim-line { color: var(--text-light) !important; }
.col p.label { margin: var(--gap-sub) 0 var(--gap-p); font-weight: 600; color: var(--ink); }
.col > p.label:first-child { margin-top: 0; }
.case-intro, .col p.case-intro { color: var(--coral-deep); font-weight: 400; }
.case > .nw-title { margin-bottom: var(--gap-p); }
.xlink a { color: var(--coral-deep); font-weight: 600; }
.nw-rule { border: 0; height: 1px; background: rgba(212, 119, 107, .45); margin: calc(var(--gap-part) / 2) 0 calc(var(--gap-part) / 2 - 1px); max-width: 100%; }
.tight { list-style: none; display: grid; gap: 2px; }
.tight li { position: relative; padding-left: 18px; }
.tight li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.measures { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0 0 var(--gap-h); }
.measures dt { font-weight: 600 !important; color: var(--ink) !important; }
@media (max-width: 620px) { .measures { grid-template-columns: 1fr; gap: 0; } .measures dd { margin-bottom: 8px; } }
.more { margin-top: 8px; }
.more > summary { cursor: pointer; display: inline-flex; min-height: 40px; align-items: center; color: var(--coral-deep); font-size: var(--fs-body); font-weight: 600; list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: " +"; white-space: pre; }
.more[open] > summary::after { content: " −"; }
.more > p { margin-top: 8px; }

/* Cases: name and one sentence, the map straight away, then the findings close together */
.map-area, .nv { margin-top: var(--gap-fg); scroll-margin-top: calc(var(--head-h) + var(--bar-h, 44px) + 16px); }
.map-area .nv { margin: var(--gap-h) 0 var(--gap-h); }
.map-area > .col { margin-top: var(--gap-h); }
.case-findings { margin-top: var(--gap-row); }
.fg + .fg { margin-top: var(--gap-row); }
/* Findings rows: dimension name in a narrow column on the left (aligned with the page title), content in the reading width */
.fg { display: grid; grid-template-columns: 160px minmax(0, 70ch); column-gap: 32px; align-items: start; }
.fg > .nw-h { margin: 0; }
.fg-body > * + * { margin-top: var(--gap-h); }
@media (max-width: 900px) { .fg { grid-template-columns: 1fr; } .fg > .nw-h { margin-bottom: var(--gap-h); } }
.figs, .fg .figs { list-style: none; display: grid; grid-template-columns: 1fr; gap: var(--gap-p); margin: 0; padding: 0; border: 0; }
.fig { padding: 0; }
.fig { font-size: var(--fs-body); line-height: 1.6; color: var(--text); }
.fig .fig-n { display: inline; font-family: var(--sans); font-size: var(--fs-h); line-height: inherit; font-weight: 600; color: var(--coral-deep); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.case-link { margin-top: var(--gap-row); }
.bulletin-block { margin-top: var(--gap-row); }

/* In-page bar: the page's parts only, current part in coral */
.nw-bar { position: fixed; left: 0; right: 0; top: var(--head-h); z-index: 55; background: var(--ivory); transition: box-shadow .2s ease; }
.nw-bar.is-scrolled { box-shadow: 0 6px 16px rgba(47, 67, 84, .08), 0 1px 0 rgba(47, 67, 84, .06); }
/* Every jump target (the bar's links, the diagram, "Read more" links) lands with its heading below the bar. */
body[data-page] .strand-body [id] { scroll-margin-top: calc(var(--head-h) + var(--bar-h, 44px) + 20px); }
.nw-bar[hidden] { display: none; }
.nw-bar-in { width: min(1120px, 100%); margin: 0 auto; padding: 8px 32px; display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: var(--fs-note); }
.nw-bar a { color: var(--text); text-decoration: none; font-weight: 600; }
.nw-bar a:hover, .nw-bar a[aria-current] { color: var(--coral-deep); }
@media (max-width: 720px) { .nw-bar-in { padding: 6px 16px; gap: 4px 16px; } }

/* Dimensions diagram. Lines sit beneath the circles and run edge to edge; nothing crosses a label. */
.dims { margin-top: var(--gap-fg); }
.dims-stage { position: relative; width: 770px; max-width: 100%; }
.dims-svg { width: 100%; height: auto; display: block; }
.dims-ring { fill: none; stroke: rgba(212, 119, 107, .55); stroke-width: 1; stroke-dasharray: 1 5; stroke-linecap: round; }
.dims-line { stroke: var(--coral); stroke-width: 1.2; transition: stroke-width .2s ease, opacity .2s ease; }
.dims-core circle { fill: var(--pale-slate); }
.dims-svg text { font-family: var(--display); font-size: var(--fs-note); font-weight: 600; fill: var(--ink); }
.dims-svg .dims-desc { font-family: var(--sans); font-weight: 400; fill: var(--text); }
.dims-node circle { fill: var(--blush); transition: fill .2s ease; }
.dims-node, .dims-desc { transition: opacity .2s ease; }
.dims.is-hot .dims-node:not(.is-hot), .dims.is-hot .dims-line:not(.is-hot), .dims.is-hot .dims-desc:not(.is-hot) { opacity: .45; }
.dims-node.is-hot circle { fill: #E6B1A9; }
.dims-line.is-hot { stroke-width: 2.4; }
.dims-btn { position: absolute; border: 0; border-radius: 50%; background: transparent; color: transparent; font-size: 0; cursor: pointer; }
.dims-btn:focus-visible { outline: 2px solid var(--panel); outline-offset: 3px; }
.dims-rows { display: none; list-style: none; margin-top: 8px; }
.dims-rows button { display: block; width: 100%; text-align: left; padding: 10px 0; border: 0; background: none; font: 400 var(--fs-body) var(--sans); color: var(--text); cursor: pointer; }
.dims-rows b { display: inline-block; min-width: 7.5em; font-weight: 600; color: var(--ink); font-family: var(--display); }
@media (max-width: 860px) { .dims-desc { display: none; } .dims-rows { display: block; } .dims-stage { width: 404px; } }
/* Drawn once: centre, lines outward from its edge, then circles and descriptions. Lines cross no text at any moment. */
.dims.is-drawing .dims-core, .dims.is-drawing .dims-node, .dims.is-drawing .dims-ring, .dims.is-drawing .dims-desc { opacity: 0; }
.dims.is-drawing .dims-line { stroke-dasharray: 30; stroke-dashoffset: 30; }
.dims.is-drawn .dims-core { opacity: 1; transition: opacity .25s ease-out; }
.dims.is-drawn .dims-line { stroke-dashoffset: 0; transition: stroke-dashoffset .35s ease-out .25s; }
.dims.is-drawn .dims-node, .dims.is-drawn .dims-ring, .dims.is-drawn .dims-desc { opacity: 1; transition: opacity .35s ease-out .6s; }

/* Where it started */
.timeline { list-style: none; display: grid; gap: var(--gap-sub); margin-top: var(--gap-h); }
.timeline li { position: relative; padding-left: 26px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 11px; border-radius: 50%; background: var(--coral); }
.timeline li + li::after { content: ""; position: absolute; left: 5px; top: calc(-1 * var(--gap-sub)); height: calc(var(--gap-sub) + 6px); width: 1px; background: rgba(212, 119, 107, .45); }
.tl-date { font-size: var(--fs-note) !important; color: var(--text-light) !important; }
.timeline .nw-h { margin: var(--gap-p) 0 var(--gap-h); }
.timeline .note { margin-bottom: 4px; }

/* Bulletin explorer, on the page's scale */
.bul-controls { display: grid; gap: 12px; margin: 8px 0 16px; }
.bul-themes { display: flex; flex-wrap: wrap; gap: 8px; }
.bul-themes button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--panel); color: var(--panel); font: 600 var(--fs-note) var(--sans); cursor: pointer; }
.bul-themes button[aria-pressed="true"] { background: var(--panel); color: var(--white); }
.bul-scrub { display: grid; gap: 4px; max-width: 760px; }
.bul-scrub label { font-size: var(--fs-note); font-weight: 600; color: var(--text-light); }
.bul-scrub input[type=range] { width: 100%; accent-color: var(--coral-deep); }
.bul-ticks { display: flex; justify-content: space-between; font-size: var(--fs-note); color: var(--text-light); font-variant-numeric: tabular-nums; }
.bul-ticks span.has { color: var(--ink); font-weight: 600; }
.bul-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 16px 32px; align-items: start; }
@media (max-width: 820px) { .bul-stage { grid-template-columns: 1fr; } }
.bul-doc { margin: 0; }
.bul-doc img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; object-position: left top; border-radius: 6px; background: var(--white); }
.bul-meta { position: sticky; top: calc(var(--head-h) + 52px); }
.bul-year { font-family: var(--display); font-weight: 400; font-size: var(--fs-sec); line-height: 1.2; color: var(--ink); font-variant-numeric: lining-nums; }
.bul-cap { margin-top: var(--gap-p); font-family: var(--display); font-weight: 600; font-size: var(--fs-h); line-height: 1.35; color: var(--ink); }
.bul-theme { margin-top: 8px; font-size: var(--fs-note); color: var(--text-light); }
.bul-count { margin-top: var(--gap-p); font-size: var(--fs-note); color: var(--text-light); }
.bul-nav { display: flex; gap: 10px; margin-top: 12px; }

/* The large pale circle on the left stays clear of the reading column on this page. */
body[data-reveals] {
  background:
    radial-gradient(circle 520px at calc(100% + 140px) -60px, var(--blush) calc(100% - 1px), transparent 100%),
    radial-gradient(circle 420px at -330px 1020px, var(--pale-slate) calc(100% - 1px), transparent 100%),
    radial-gradient(circle 340px at calc(100% + 150px) 2100px, var(--blush) calc(100% - 1px), transparent 100%),
    var(--ivory);
  background-repeat: no-repeat;
}

/* Network viewer (2D, TDI look). The frame breaks out to the full content width, 560–640px high. */
.nv { margin-top: 6px; }
.nv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.nv-search { flex: 1 1 200px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--pale-slate); color: var(--text); font: 400 var(--fs-note) var(--sans); }
.nv-bar select { min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--pale-slate); color: var(--text); font: 400 var(--fs-note) var(--sans); max-width: 240px; }
.nv-btn { min-width: 40px; min-height: 40px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--panel); color: var(--panel); font: 600 var(--fs-body) var(--sans); cursor: pointer; }
.nv-btn.nv-wide { padding: 0 14px; font-size: var(--fs-note); }
.nv-btn:hover { background: var(--panel); color: var(--white); }
.nv-meaning { font-size: var(--fs-note); color: var(--text-light); margin-bottom: var(--gap-p); }
.nv-frame { position: relative; height: clamp(560px, 70vh, 640px); }
.nv-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
.nv-canvas:active { cursor: grabbing; }
.nv-full { position: absolute; top: 8px; right: 8px; z-index: 3; }
.nv-frame .btn.btn-quiet.nv-full { background: var(--ivory); }
.nv-tip { position: absolute; left: 0; top: 0; pointer-events: none; padding: 4px 10px; border-radius: 999px; background: var(--panel); color: var(--white); font-size: var(--fs-note); white-space: nowrap; z-index: 2; }
.nv-tip[hidden], .nv-panel[hidden] { display: none; }
/* Detail panel: its own white surface inside the frame, on the right; scrolls inside itself if taller than the map */
.nv-panel { position: absolute; top: 56px; right: 8px; bottom: 8px; width: 280px; max-height: calc(100% - 64px); height: max-content; overflow: auto; padding: 14px 16px 16px; background: var(--white); border: 1px solid rgba(47, 67, 84, .12); border-radius: 14px; z-index: 2; }
.nv-close { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: 400 var(--fs-h) var(--sans); line-height: 1; cursor: pointer; }
.nv-close:hover { background: var(--pale-slate); }
.nv-name { font-family: var(--display); font-weight: 600; font-size: var(--fs-h); line-height: 1.3; color: var(--ink); padding-right: 28px; margin: 0; }
.nv-group { margin: 16px 0 6px; font-size: var(--fs-note); font-weight: 400; color: var(--text-light); }
.nv-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; font-size: var(--fs-note); line-height: 1.45; }
.nv-dl dt { color: var(--text-light); font-weight: 400; }
.nv-dl dd { color: var(--ink); font-weight: 400; margin: 0; }
.nv-measures { list-style: none; display: grid; gap: 6px; font-size: var(--fs-note); line-height: 1.35; }
.nv-measures li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.nv-m-name { color: var(--ink); }
.nv-m-tech { display: block; color: #8592A0; }
.nv-m-val { color: var(--ink); font-variant-numeric: tabular-nums lining-nums; text-align: right; white-space: nowrap; }
.nv-links { list-style: none; display: grid; gap: 6px; font-size: var(--fs-note); }
.nv-links button { border: 0; background: none; padding: 0; color: var(--ink); font: 400 var(--fs-note) var(--sans); text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(47, 67, 84, .3); text-underline-offset: 3px; }
.nv-links button:hover { color: var(--coral-deep); }
.nv-links span { display: block; color: var(--text-light); }
/* Legend: each category toggles */
.nv-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 8px; font-size: var(--fs-note); color: var(--text); }
.nv-legend button { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--text); font: 400 var(--fs-note) var(--sans); cursor: pointer; }
.nv-legend button:hover { background: var(--pale-slate); }
.nv-legend button[aria-pressed="false"] { color: var(--text-light); text-decoration: line-through; }
.nv-legend button[aria-pressed="false"] .nv-dot { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--text-light); }
.nv-dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 8px; }
.nv-legend-note { color: var(--text-light); }
.nv-plist { display: none; }
.nv.nv-full, .nv:fullscreen { position: fixed; inset: 0; z-index: 200; background: var(--ivory); padding: 16px clamp(12px, 3vw, 32px); overflow: auto; }
.nv:fullscreen .nv-frame, .nv.nv-full .nv-frame { height: calc(100vh - 150px); }
/* Phones: a still view of the network, a searchable list beneath, and the map opens full screen. */
@media (max-width: 720px) {
  .nv:not(.is-open) .nv-bar, .nv:not(.is-open) .nv-meaning { display: none; }
  .nv:not(.is-open) .nv-frame { height: 300px; }
  .nv:not(.is-open) .nv-canvas { pointer-events: none; }
  .nv:not(.is-open) .nv-frame { display: flex; flex-direction: column; }
  .nv:not(.is-open) .nv-full { position: static; align-self: flex-start; margin-bottom: var(--gap-p); }
  .nv:not(.is-open) .nv-canvas { flex: 1; min-height: 0; }
  .nv:not(.is-open) .nv-plist { display: block; margin-top: 12px; }
  .nv-plist-ul { list-style: none; display: grid; gap: 2px; max-height: 320px; overflow: auto; margin-top: 8px; }
  .nv-plist-ul button { border: 0; background: none; padding: 8px 0 0; color: var(--ink); font: 600 var(--fs-body) var(--sans); text-align: left; cursor: pointer; }
  .nv-plist-ul span { display: block; font-size: var(--fs-note); color: var(--text-light); }
  .nv-panel { width: auto; left: 8px; top: auto; height: 50%; }
}
@media (max-width: 720px) {
  body[data-reveals] {
    background:
      radial-gradient(circle 260px at calc(100% + 110px) -30px, var(--blush) calc(100% - 1px), transparent 100%),
      radial-gradient(circle 200px at -230px 900px, var(--pale-slate) calc(100% - 1px), transparent 100%),
      var(--ivory);
    background-repeat: no-repeat;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dims .dims-core, .dims .dims-node, .dims .dims-ring, .dims .dims-desc { opacity: 1 !important; transition: none !important; }
  .dims .dims-line { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; transition: none !important; }
}

/* Demography: the caveats as a short note in the small size, under its own label; no box. */
.nw-caution p, .col.nw-caution p { font-size: var(--fs-note); line-height: 1.6; }
.nw-caution p + p { margin-top: var(--gap-p); }
.nw-caution .nw-caution-h { font-weight: 600; color: var(--ink); margin-bottom: 4px; }

/* How we measure impact: seven tiles in three groups. Every tile row is a 1fr track in a grid of auto height,
   so all tiles take the height of the tallest. Three across on desktop, one per row on phones. */
.mt { margin-top: var(--gap-h); width: min(1000px, calc(100vw - 64px)); }
@media (max-width: 720px) { .mt { width: auto; } }
.mt .mt-hint { margin-bottom: var(--gap-h); }
.mt .mt-entity { margin-bottom: var(--gap-h); font-size: var(--fs-note); color: var(--text-light); }
.mt .mt-entity b { display: block; font-family: var(--display); font-size: var(--fs-h); font-weight: 600; color: var(--ink); }
.mt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto 1fr auto 1fr auto 1fr; gap: 12px 16px; list-style: none; margin: 0; padding: 0; }
.mt-gh { grid-column: 1 / -1; margin-top: var(--gap-sub); font-size: var(--fs-note); font-weight: 600; color: var(--ink); }
.mt-gh:first-child { margin-top: 0; }
.mt-tile { display: flex; flex-direction: column; padding: 16px 18px; background: var(--white); border: 1px solid rgba(47, 67, 84, .12); border-radius: 14px; }
.mt .mt-name { font-family: var(--display); font-size: var(--fs-h); font-weight: 600; line-height: 1.3; color: var(--ink); }
.mt .mt-tech { font-size: var(--fs-note); color: var(--text-light); margin-top: 2px; }
.mt .mt-def { font-size: var(--fs-note); line-height: 1.55; color: var(--text); margin-top: var(--gap-p); }
.mt .mt-val { margin-top: auto; padding-top: 12px; font-variant-numeric: lining-nums tabular-nums; }
.mt-rank { display: block; font-size: var(--fs-h); font-weight: 600; line-height: 1.3; color: var(--coral-deep); }
.mt-raw { display: block; font-size: var(--fs-note); color: var(--text-light); }
.mt .mt-val[hidden] { display: none; }
@media (max-width: 720px) { .mt-grid { grid-template-columns: 1fr; grid-template-rows: none; } }
/* With the sub-menu pinned under it, the header is solid from the top and carries no shadow of its own. */
body[data-page] .site-head::before { opacity: 1; box-shadow: none; }

/* ===================== Strand pages: figures with their source, and native graphics (Mobilisation in crisis) ===================== */
.fig .fig-src { display: inline; height: auto; padding: 0; background: none; box-shadow: none; border-radius: 0; margin-left: 6px; font-size: var(--fs-note); color: var(--text-light); text-decoration: underline; text-decoration-color: rgba(47, 67, 84, .3); text-underline-offset: 3px; white-space: normal; }
.fig .fig-src:hover { color: var(--coral-deep); }
.cg-wide { margin-top: var(--gap-row); }
.cg-wide + .fg, .cg-wide + .cg-wide { margin-top: var(--gap-row); }
.cg { margin: 0; }
.cg + .cg { margin-top: var(--gap-part); }
.cg-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: var(--gap-h); }
.cg .cg-title { font-family: var(--display); font-size: var(--fs-h); font-weight: 600; line-height: 1.35; color: var(--ink); }
.cg figcaption { margin-top: var(--gap-h); max-width: 70ch; }
.cg figcaption p, .cg .cg-note { font-size: var(--fs-note); line-height: 1.6; color: var(--text-light); }
.cg figcaption p + p { margin-top: 2px; }
.cg .cg-cap { color: var(--text); }
.cg .cg-note { margin-top: var(--gap-p); max-width: 70ch; }
.cg-src a { color: inherit; text-decoration: underline; text-decoration-color: rgba(47, 67, 84, .3); text-underline-offset: 3px; }
.cg-cite { margin-top: var(--gap-p); font-size: var(--fs-note); }
.cg-cite summary { cursor: pointer; display: inline-flex; min-height: 36px; align-items: center; color: var(--coral-deep); font-weight: 600; list-style: none; }
.cg-cite summary::-webkit-details-marker { display: none; }
.cg-cite p { margin-top: 4px; color: var(--text); user-select: all; }
.cg.is-full { position: fixed; inset: 0; z-index: 90; margin: 0; padding: 20px max(16px, calc((100vw - 1200px) / 2)); background: var(--ivory); overflow: auto; }
html.cg-lock, html.cg-lock body { overflow: hidden; }

/* The aid route map: routes and steps beside the map. */
.mp { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.mp-stage { min-width: 0; }
.mp-svg { display: block; width: 100%; height: auto; }
.mp-land { fill: #E4EAEF; stroke: #FBF7F4; stroke-width: .8; }
.mp-named { fill: #CED8E0; }
.mp-area { fill: none; stroke: #5B7C8A; stroke-width: 1.2; stroke-dasharray: 4 3; }
.mp-lead { fill: none; stroke: #5B7C8A; stroke-width: 1; stroke-dasharray: 4 3; opacity: .7; }
.mp-inbg { fill: #FBF7F4; }
.mp-inframe { fill: none; stroke: rgba(47, 67, 84, .25); stroke-width: 1.2; }
.mp-inlabel, .mp-schem { font: 400 14px var(--sans); fill: #5A6778; }
.mp-country { font: 600 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; fill: #7E8E9B; }
.mp-route { fill: none; stroke: #D4776B; stroke-width: 2.6; stroke-linecap: round; transition: opacity .25s ease, stroke-width .2s ease, stroke .2s ease; }
.mp[data-active] .mp-route { opacity: .28; }
.mp[data-active="eco1"] .mp-route[data-route="eco1"], .mp[data-active="eco2"] .mp-route[data-route="eco2"] { opacity: 1; stroke: #B93E29; stroke-width: 3.2; }
.mp[data-active] .mp-pt { opacity: .45; }
.mp[data-active="eco1"] .mp-pt[data-routes~="eco1"], .mp[data-active="eco2"] .mp-pt[data-routes~="eco2"] { opacity: 1; }
.mp .mp-route.is-lit { opacity: 1; stroke: #B93E29; stroke-width: 6; }
.mp-js .mp-route { stroke-dasharray: 1; stroke-dashoffset: 1; }
.mp-js.is-drawn .mp-route { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s cubic-bezier(.22, 1, .36, 1), opacity .25s ease, stroke-width .2s ease; }
.mp-pt circle { fill: #2F4354; stroke: #FBF7F4; stroke-width: 2; transition: r .2s ease, fill .2s ease; }
.mp-origin circle { fill: #5B7C8A; }
.mp-pt text { font: 600 16px var(--sans); fill: #2F4354; paint-order: stroke; stroke: #FBF7F4; stroke-width: 4px; stroke-linejoin: round; }
.mp-pt .mp-sub { font-weight: 400; font-size: 14px; fill: #5A6778; }
.mp-pt.is-lit circle { fill: #B93E29; r: 7; }
.mp-sh, .mp-ph { font-size: var(--fs-note); font-weight: 600; color: var(--ink); margin-bottom: var(--gap-p); }
.mp-routes-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--gap-sub); }
.mp-routes-list button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--panel); color: var(--panel); font: 600 var(--fs-note) var(--sans); cursor: pointer; }
.mp-routes-list button[aria-pressed="true"] { background: var(--panel); color: var(--white); }
.mp-about { font-size: var(--fs-note); line-height: 1.6; color: var(--text); margin-bottom: var(--gap-p); }
.mp-steps { list-style: none; display: grid; gap: 2px; }
.mp-steps button { display: grid; grid-template-columns: 26px 1fr; gap: 0 8px; width: 100%; padding: 8px 8px 8px 0; border: 0; border-radius: 8px; background: none; text-align: left; font: 400 var(--fs-note) / 1.5 var(--sans); color: var(--text); cursor: pointer; }
.mp-steps button b { font-weight: 600; color: var(--ink); grid-column: 2; }
.mp-steps button > :not(.mp-n):not(b) { grid-column: 2; }
.mp-n { grid-row: 1 / span 2; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #B93E29; color: #B93E29; font-weight: 600; font-size: .85rem; }
.mp-steps button.is-lit .mp-n, .mp-steps button[aria-pressed="true"] .mp-n { background: #B93E29; color: #fff; }
.mp-steps button:hover b, .mp-steps button.is-lit b { color: var(--coral-deep); }
@media (max-width: 900px) { .mp { grid-template-columns: 1fr; } .mp-side { order: 2; } }
@media (prefers-reduced-motion: reduce) { .mp-js .mp-route { stroke-dasharray: none; stroke-dashoffset: 0; } .mp-route, .mp-pt circle { transition: none; } }

/* Who was involved: one mark per actor, by location and scope. */
.ac { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.ac-loc-h { font-family: var(--display); font-size: var(--fs-h); font-weight: 600; color: var(--ink); line-height: 1.35; margin-bottom: var(--gap-h); }
.ac-total { display: block; font-family: var(--sans); font-size: var(--fs-note); font-weight: 400; color: var(--text-light); }
.ac-row + .ac-row { margin-top: var(--gap-h); }
.ac-scope { font-size: var(--fs-note); font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.ac-types { list-style: none; display: grid; gap: 4px; font-size: var(--fs-note); line-height: 1.45; color: var(--text); }
.ac-types li { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 0 8px; }
.ac-dots { display: inline-flex; gap: 3px; min-width: 52px; }
.ac-dot { width: 10px; height: 10px; border-radius: 50%; background: #B93E29; transform: translateY(1px); }
.ac-n { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .ac { grid-template-columns: 1fr; } }

/* Ecosystems, partnerships and countries: three proportional columns (flows to follow). */
.fl { overflow-x: auto; }
.fl-svg { display: block; width: 100%; min-width: 760px; height: auto; }
.fl-svg text { font: 400 15px var(--sans); fill: #44525E; }
.fl-svg .fl-h { font-weight: 600; fill: #2F4354; }
.fl-svg .fl-v { font-weight: 600; fill: #2F4354; }
.fl-lead { fill: none; stroke: #8592A0; stroke-width: 1; }

/* COVID-19: grouped rows, numbered responses, the chart list. */
.cv-orgs { margin-top: var(--gap-p); }
.nw-h.cv-group { margin: var(--gap-part) 0 var(--gap-row); font-size: var(--fs-sec); }
.cv-rows { margin-top: 0; }
.cv-rows .fg + .fg { margin-top: var(--gap-sub); }
.cv-steps { list-style: none; counter-reset: st; display: grid; gap: var(--gap-p); }
.cv-steps li { counter-increment: st; position: relative; padding-left: 36px; }
.cv-steps li::before { content: counter(st); position: absolute; left: 0; top: .2em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #B93E29; color: #B93E29; font-size: .85rem; font-weight: 600; }
.cv-charts { list-style: none; display: grid; gap: 4px; }
.cv-charts a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(47, 67, 84, .3); text-underline-offset: 3px; }
.mp-svg-in { margin-top: 12px; border-radius: 10px; border: 1px solid rgba(47, 67, 84, .15); background: #FBF7F4; }

/* Side labels in the rows are signposts, not headings: small, regular, mid-slate. Rows are separated by space. */
.fg > .nw-h, .cv-rows .fg > .nw-h { font-family: var(--sans); font-size: var(--fs-note); font-weight: 400; line-height: 1.6; color: var(--text-light); padding-top: 2px; }
/* "Read the …" links close a case with a full part's room before whatever follows. */
.case { margin-bottom: var(--gap-part); }
.case-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.case-src { font-size: var(--fs-note); color: var(--text-light); }
.case > .bm-credit { margin-top: var(--gap-row); margin-bottom: 0; }
.case > .bm-credit + .case-link { margin-top: var(--gap-h); }

/* Mobilisation in crisis: side labels small, semi-bold, text coral, in a narrow column. */
body[data-page="crisis"] .fg { grid-template-columns: 116px minmax(0, 70ch); column-gap: 20px; }
body[data-page="crisis"] .fg > .nw-h { font-weight: 600; color: var(--coral-deep); }
@media (max-width: 900px) { body[data-page="crisis"] .fg { grid-template-columns: 1fr; } }

/* "How to cite this": once per section, before the publication link; dark, coral only on hover. */
.sec-cite { margin-top: var(--gap-row); }
.sec-cite summary { color: var(--ink); }
.sec-cite summary:hover, .sec-cite summary:focus-visible { color: var(--coral-deep); }
.sec-cite p { max-width: 70ch; }
.sec-cite + .case-link, .sec-cite + .bm-credit { margin-top: var(--gap-h); }

/* Route map: the worked example beside the map is text, not a drawn route. */
.mp-about { margin-bottom: var(--gap-sub); }
.mp-example { margin-top: var(--gap-sub); padding-top: var(--gap-sub); border-top: 1px solid rgba(47, 67, 84, .12); }
.mp-ex-k { font-size: var(--fs-note); font-weight: 600; color: var(--coral-deep); margin-bottom: 4px; }
.mp-steps-text li { display: grid; grid-template-columns: 26px 1fr; gap: 0 8px; padding: 6px 0; font-size: var(--fs-note); line-height: 1.5; color: var(--text); }
.mp-steps-text li b { grid-column: 2; font-weight: 600; color: var(--ink); }
.mp-steps-text li > span:not(.mp-n) { grid-column: 2; }
.mp-ex-note { margin-top: var(--gap-p); font-size: var(--fs-note); color: var(--text-light); }

/* Route map, single map (22 Nov 2026): border region with a corner inset of Europe; legend in one line; the worked
   example as one line of five steps under the map. The block fits one laptop screen. */
.mp { grid-template-columns: 240px minmax(0, 1fr); gap: 20px; }
.mp-mapbox { position: relative; }
.mp-mapbox .mp-svg { border-radius: 10px; background: #FBF7F4; }
.mp-inset { position: absolute; top: 10px; right: 10px; width: 21%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px rgba(47, 67, 84, .18); background: #FBF7F4; }
.mp-inbg { fill: #FBF7F4; }
.mp-inset .mp-land { stroke-width: .4; }
.mp-frame { fill: none; stroke: #2F4354; stroke-width: 1; }
.mp-arc { stroke-width: 1.6; }
.mp[data-active] .mp-arc { stroke-width: 1.4; }
.mp[data-active="eco1"] .mp-arc[data-route="eco1"], .mp[data-active="eco2"] .mp-arc[data-route="eco2"] { stroke-width: 2.2; }
.mp-org { fill: #2F4354; }
.mp[data-active] .mp-org { opacity: .3; }
.mp[data-active="eco1"] .mp-org[data-route="eco1"], .mp[data-active="eco2"] .mp-org[data-route="eco2"] { opacity: 1; }
.mp-svg .mp-pt text { font: 600 20px var(--sans); }
.mp-svg .mp-country { font-size: 16px; }
.mk-del { fill: #2F4354; stroke: #FBF7F4; stroke-width: 2; }
.mk-cross { fill: #FBF7F4; stroke: #2F4354; stroke-width: 3; }
.mp-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 8px; font-size: var(--fs-note); color: var(--text); }
.lg { display: inline-block; width: 11px; height: 11px; margin-left: 8px; }
.lg:first-child { margin-left: 0; }
.lg-del { background: #2F4354; transform: rotate(45deg) scale(.85); }
.lg-cross { border-radius: 50%; box-shadow: inset 0 0 0 2px #2F4354; background: #FBF7F4; }
.lg-note { margin-left: auto; color: var(--text-light); }
.mp-ex { margin-top: 14px; }
.mp-ex-line { font-size: var(--fs-note); color: var(--text-light); }
.mp-ex-line b { color: var(--coral-deep); font-weight: 600; margin-right: 6px; }
.mp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.mp-chips .st { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--panel); color: var(--panel); font: 600 var(--fs-note) var(--sans); cursor: pointer; }
.mp-chips .st[aria-pressed="true"] { background: var(--panel); color: var(--white); }
.st-arrow { color: var(--coral-deep); }
.mp-step-text { margin-top: 8px; min-height: 1.6em; font-size: var(--fs-body); color: var(--text); }
@media (max-width: 720px) {
  .mp { grid-template-columns: 1fr; }
  .mp-side { order: 0; }
  .mp-mapbox { display: flex; flex-direction: column; gap: 8px; }
  .mp-inset { position: static; width: 100%; height: 96px; box-shadow: none; background: transparent; }
  .lg-note { margin-left: 0; flex-basis: 100%; }
}

/* Environment headings: space above, the heading, then a short coral rule (all strand pages). */
.case > .nw-title::after { content: ""; display: block; width: 48px; height: 2px; margin-top: 10px; background: var(--coral); }
body[data-page="crisis"] .case-intro { color: var(--text); }
body[data-page="crisis"] #covid-19 { margin-top: var(--gap-part); }

/* At a glance as a row: number large in text coral, short label beneath. 4 / 2 / 1 across. */
.glance-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; margin: 0; padding: 0; }
.glance-row:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.glance-row li { display: flex; flex-direction: column; gap: 4px; }
.glance-row .fig-n { display: block; font-family: var(--sans); font-size: 1.75rem; font-weight: 600; line-height: 1.15; color: var(--coral-deep); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.glance-row span { font-size: var(--fs-note); line-height: 1.5; color: var(--text); }
.glance-note { margin-top: var(--gap-h); font-size: var(--fs-note); color: var(--text-light); }
body[data-page="crisis"] .fg-body:has(.glance-row) { max-width: none; }
@media (max-width: 1000px) { .glance-row, .glance-row:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .glance-row, .glance-row:has(> li:nth-child(3):last-child) { grid-template-columns: 1fr; } }
/* No underlined links at rest on this page's sections. */
body[data-page="crisis"] .case a:not(.btn) { text-decoration: none; }
body[data-page="crisis"] .case a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 720px) {
  .mp-svg .mp-pt text { font-size: 38px; }
  .mp-svg .mp-country { font-size: 30px; }
  .mp-svg .lab-odesa { text-anchor: end; transform: translate(-26px, -10px); }
  .mp-svg .lab-chernivtsi { transform: translate(0, 30px); }
  .mp-svg .lab-suceava { transform: translate(0, 14px); }
  .mk { transform-box: fill-box; transform-origin: center; transform: scale(1.8); }
}

/* =====================================================================================================
   ONE TYPE SCALE (brief 24 Nov 2026). Research strand pages use only these text styles:
     Heading      Raleway 600, #2F4354: section 22px (--fs-sec), sub-section 18px (--fs-h)
     Body         Mulish 400, #44525E, 17px (--fs-body): all running text, notes, descriptions, list items, controls
     Small        Mulish 400, #44525E, 15px (--fs-note): captions, sources, map disclaimers, control hints
     Figure       Mulish 600, coral #B93E29, 28px (--fs-fig): the counting numbers; their sentence in Body
   Side labels (one agreed style): Small, 600, coral, in a 116px column with a 20px gap.
   The page title (h1) keeps its own size. No lighter grey: --text-light is the body colour inside the page.
   ===================================================================================================== */
body[data-page] {
  --fs-sec: 1.375rem; --fs-h: 1.125rem; --fs-body: 1.0625rem; --fs-note: .9375rem; --fs-fig: 1.75rem;
  --label-w: 116px; --label-gap: 20px;
}
body[data-page] .strand-hero, body[data-page] .strand-body { --text-light: var(--text); }
body[data-page] .strand-lead, body[data-page] .trail { font-size: var(--fs-body); }
body[data-page] .strand-body .h2, .nw-title, .nw-h.cv-group { font-family: var(--display); font-weight: 600; color: var(--ink); }
body[data-page] .strand-body .h2, .nw-title { font-size: var(--fs-sec); }
.nw-h, .nw-h.cv-group, .col h4.nw-h, .cg .cg-title, .mt .mt-name, .nv-name, .bul-cap, body[data-page] .pub-title { font-size: var(--fs-h); }
.nw-h.cv-group { margin: var(--gap-part) 0 var(--gap-row); }
.col h4.nw-h { margin: var(--gap-sub) 0 var(--gap-p); }
.col > h4.nw-h:first-child, .nw-caution > h4.nw-h:first-child { margin-top: 0; }
.nw-caution { margin-top: var(--gap-sub); }
.nw-caution p, .col.nw-caution p { font-size: var(--fs-body); line-height: 1.75; }
.nw-caution .nw-caution-h { margin-bottom: var(--gap-p); }
/* Body: one size for running text, list items, descriptions, labels under figures and every control. */
.col p, .col li, .col dd, .col dt, .note, .col p.note, .fig, .glance-row span, .mt .mt-def, .mp-step-text, .mp-ex > p,
body[data-page] .pub-authors, body[data-page] .pub-desc, body[data-page] .pub-with, body[data-page] .btn, .nw-bar-in, .nw-bar a,
.nv-search, .nv-sel, .nv-btn, .nv-btn.nv-wide, .nv-legend, .nv-legend button, .nv-links, .nv-links button, .nv-dl, .nv-measures,
.mp-chips .st, .mp-eco, .bul-themes button, .more > summary, .dims-rows button, body[data-page] .pager a, .pub-cite-btn,
body[data-page] .embed-intro p, body[data-page] .plain-list li, body[data-page] .cite-text, body[data-page] .def > p {
  font-size: var(--fs-body);
}
.note, .col p.note, .case-intro, .col p.case-intro, body[data-crisis] .case-intro { color: var(--text); font-weight: 400; }
.nw-bar a { font-weight: 400; }
.nw-bar a[aria-current] { font-weight: 600; }
/* Small: captions, sources, disclaimers and hints only. */
.cg figcaption p, .cg .cg-note, .glance-note, .case-src, .tl-date, .nv-meaning, .nv-tip, .nv-group, .nv-m-tech, .nv-links span,
.mt .mt-hint, .mt .mt-entity, .mt .mt-tech, .mt-raw, .mp-legend, .bul-scrub label, .bul-ticks, .bul-theme, .bul-count,
body[data-page] .pub-meta, body[data-page] .credit-after, body[data-page] .pager a span, body[data-page] .embed-key,
body[data-page] .embed-status, body[data-page] .draft-note, .nv-legend-note, .nv-plist-ul span {
  font-size: var(--fs-note); color: var(--text);
}
.mt .mt-hint { font-size: var(--fs-note) !important; }
.nv-m-tech, .nv-dl dt { color: var(--text); }
/* Figure: one size, coral; the sentence follows in Body. */
.fig .fig-n, .glance-row .fig-n, .mt-rank, body[data-page] .glance-row .fig-n {
  font-family: var(--sans); font-size: var(--fs-fig); font-weight: 600; line-height: 1.2; color: var(--coral-deep);
  font-variant-numeric: lining-nums tabular-nums; height: auto;
}
.fg .figs .fig .fig-n { display: block; margin-bottom: 2px; }
.fg .figs { gap: var(--gap-sub); }
.cv-steps li::before { font-size: var(--fs-note); }

/* SIDE LABELS: one style on every strand page; same column and left edge. */
.fg, body[data-page="crisis"] .fg { grid-template-columns: var(--label-w) minmax(0, 70ch); column-gap: var(--label-gap); }
.fg > .nw-h, .cv-rows .fg > .nw-h, body[data-page="crisis"] .fg > .nw-h {
  font-family: var(--sans); font-size: var(--fs-note); font-weight: 600; line-height: 1.5; color: var(--coral-deep); padding-top: 3px; margin: 0;
}
.mt-gh { font-family: var(--sans); font-size: var(--fs-note); font-weight: 600; color: var(--coral-deep); }
.fg:has(> .fg-wide) { grid-template-columns: var(--label-w) minmax(0, 1fr); }
.fg-body:has(.glance-row) { max-width: none; }
@media (max-width: 900px) { .fg, body[data-page="crisis"] .fg, .fg:has(> .fg-wide) { grid-template-columns: 1fr; } }

/* HUMANITARIAN MAP BLOCK: on the two-column grid; map at full content width, legend beneath on one line, one caption. */
.fg-wide .cg-map { max-width: none; }
.mp, .mp[data-route-map] { display: block; }
.mp-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; }
.mp-legend .lg { margin-left: 0; }
.mp-legend .lg-cross { margin-left: 10px; }
.mp-eco-list { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 16px; }
.mp-eco { min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--panel); color: var(--panel); font-family: var(--sans); font-weight: 400; cursor: pointer; }
.mp-eco[aria-pressed="true"] { background: var(--panel); color: var(--white); }
.mp-legend .cg-full { margin-left: auto; min-height: 34px; }
.cg-map figcaption { margin-top: var(--gap-h); }
.cg-map figcaption .cg-cap { color: var(--text); }
.mp-ex > p:first-child { color: var(--text); }
.mp-ex { margin-top: 0; }
.mp-chips .st { font-family: var(--sans); font-weight: 400; }
.mp-step-text { margin-top: var(--gap-h); }
@media (max-width: 720px) { .mp-eco-list { margin-left: 0; flex-basis: 100%; } .mp-legend .cg-full { margin-left: 0; } }

/* ONE REPORT, ONE LINK: Read, with a quiet "How to cite" beside it that opens the citation. */
body[data-page] .pub-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.pub-cite-btn { min-height: 40px; padding: 0; border: 0; background: none; color: var(--ink); font-family: var(--sans); font-weight: 400; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(47, 67, 84, .3); text-underline-offset: 4px; }
.pub-cite-btn:hover, .pub-cite-btn[aria-expanded="true"] { color: var(--coral-deep); }
.pub-cite { margin-top: var(--gap-h); max-width: 70ch; }
.pub-cite[hidden] { display: none; }
.pub-cite .cite-text { line-height: 1.6; color: var(--text); overflow-wrap: anywhere; }
.pub-cite .cite-actions { margin-top: var(--gap-p); }
body[data-page] .glance-one .glance-row { margin-top: var(--gap-h); }
body[data-page] .def > summary { font-size: var(--fs-note); }

/* NETWORK CONTROLS: one row above the map; zoom, reset and full screen at the map's top right. */
.nv-bar { flex-wrap: nowrap; }
.nv-search { min-width: 0; }
.nv-sel { min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--pale-slate); color: var(--text); font-family: var(--sans); max-width: 220px; cursor: pointer; }
.nv-display { position: relative; flex: 0 0 auto; }
.nv-display-btn::after { content: " ▾"; }
.nv-display-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 6; display: grid; gap: 10px; min-width: 260px; padding: 14px 16px; background: var(--white); border: 1px solid rgba(47, 67, 84, .12); border-radius: 14px; box-shadow: 0 8px 24px rgba(47, 67, 84, .12); }
.nv-display-pop[hidden] { display: none; }
.nv-display-pop label { display: grid; gap: 4px; font-size: var(--fs-note); color: var(--text); }
.nv-display-pop select { min-height: 40px; padding: 0 10px; border: 0; border-radius: 10px; background: var(--pale-slate); color: var(--text); font: 400 var(--fs-body) var(--sans); }
.nv-tools { position: absolute; top: 8px; right: 8px; z-index: 3; display: flex; align-items: center; gap: 6px; }
.nv-tools .nv-btn { background: var(--ivory); }
.nv-tools .nv-btn:hover { background: var(--panel); }
.nv-tools .nv-full { position: static; }
.nv-panel { top: 60px; }
@media (max-width: 720px) {
  .nv-bar { flex-wrap: wrap; }
  .nv:not(.is-open) .nv-tools { position: static; margin-bottom: var(--gap-p); }
  .nv:not(.is-open) .nv-tools .nv-btn { display: none; }
}
.case-intro, .st-arrow { font-size: var(--fs-body); }
body[data-page] .fg:has(> .fg-wide) { grid-template-columns: var(--label-w) minmax(0, 1fr); }
@media (max-width: 900px) { body[data-page] .fg:has(> .fg-wide) { grid-template-columns: 1fr; } }
