/* the paper pages carry their own heading */
.view-evolution .pagehead,.view-foundations .pagehead,.view-opportunities .pagehead,.view-evidence .pagehead,.view-method .pagehead,.view-versions .pagehead{display:none}
.pp-head{padding:6px 0 20px;border-bottom:1px solid var(--rq-line)}
.pp-head h1{font-size:clamp(26px,3.2vw,38px);line-height:1.15;margin:.25em 0 .4em;max-width:30ch}
.pp-head>p{color:var(--rq-muted);max-width:90ch;line-height:1.6;font-size:15px}
.pp-head .rq-toc{margin-top:14px}
/* Paper pages and home guide of the review copy (review/web_src/paper.js, home.js). Colours come from the .rq variables (rq.css). */
.pp{--pp-pois:#5fae9f;--pp-clean:#bfe3db;--pp-c1:#d6ece6;--pp-c2:#7cc0b2;--pp-c3:#3f8f80;--pp-track:rgba(160,205,195,.14);--pp-unc:repeating-linear-gradient(135deg,#b9b9b2 0 2px,#e4e4e0 2px 5px)}
.pp h1{max-width:46ch}
.pp-sec h2{margin:.2em 0 .6em}
.pp-sec h3{font-size:16px;margin:0}
.pp-bhead{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:22px 0 8px}
.pp-csv{font-size:13px;color:var(--rq-accent);text-decoration:none;font-weight:600;white-space:nowrap}
.pp-csv::before{content:"↓ "}
.pp-csv:hover{text-decoration:underline}
.pp-note{margin-top:8px;max-width:95ch}
.pp-prose p{max-width:82ch;line-height:1.6}
.pp-prose b{color:var(--rq-ink)}
.pp-take{border:1px solid var(--rq-line);border-left:4px solid var(--rq-accent);border-radius:10px;padding:12px 16px;margin:22px 0;background:var(--rq-soft)}
.pp-take p{margin:.3em 0 0;max-width:82ch}
.pp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin:14px 0}
.pp-stats div{background:var(--rq-soft);border-radius:10px;padding:12px 14px}
.pp-stats dd{margin:0;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--rq-ink)}
.pp-stats dt{font-size:13px;color:var(--rq-muted);margin-top:4px;line-height:1.35}
.pp-tools{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin:4px 0 8px}
.pp-tools input{min-width:240px;padding:6px 10px;border-radius:8px;border:1px solid var(--rq-line);background:var(--rq-panel);color:var(--rq-ink)}
.pp-filter{font-size:13px;color:var(--rq-muted)}
.pp-filter select{margin-left:4px;padding:4px 6px;border-radius:6px;border:1px solid var(--rq-line);background:var(--rq-panel);color:var(--rq-ink);max-width:260px}
.pp-tbl{border-collapse:collapse;width:100%;font-size:13px;line-height:1.4}
.pp-tbl th{text-align:left;font-weight:600;color:var(--rq-muted);border-bottom:1px solid var(--rq-line);padding:6px 8px;vertical-align:bottom}
.pp-tbl td{border-bottom:1px solid var(--rq-line);padding:6px 8px;vertical-align:top}
.pp-tbl .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.pp-tbl td.wide{min-width:260px}
.pp-quote{display:block;font-style:normal;color:var(--rq-quote);quotes:"“" "”"}
.pp-quote::before{content:open-quote}.pp-quote::after{content:close-quote}
.pp-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;color:var(--rq-muted)}
.pp-work,.pp-tag,.pp-goto{background:none;border:0;padding:0;color:var(--rq-ink);text-align:left;cursor:pointer;font:inherit;text-decoration:underline;text-decoration-color:var(--rq-line);text-underline-offset:3px}
.pp-work:hover,.pp-tag:hover,.pp-goto:hover{color:var(--rq-accent)}
.pp-goto{color:var(--rq-accent);text-decoration:none;font-weight:600}
.pp-pager{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:6px;font-size:13px;color:var(--rq-muted)}
.pp-pager button{border:1px solid var(--rq-line);background:var(--rq-panel);color:var(--rq-ink);border-radius:6px;width:30px;height:26px;cursor:pointer}
.pp-pager button[disabled]{opacity:.35;cursor:default}
.pp-extra{font-size:13px}
.pp-fig{margin:16px 0 8px}
.pp-svg{width:100%;max-width:760px;height:auto;display:block}
.pp-svg text{font-size:11px;fill:var(--rq-muted)}
.pp-svg .g{stroke:var(--rq-line);stroke-width:1}
.pp-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--rq-muted);margin:8px 0}
.pp-legend i{display:inline-block;width:11px;height:11px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.pp-legend i.unc{background:var(--pp-unc)}
.pp-legend i.rng{background:rgba(185,185,178,.45)}
.pp-legend .right{margin-left:auto;font-style:italic}
.pp-legend b{color:var(--rq-ink)}
.pp-eps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.pp-ep h4{margin:0 0 6px;font-size:14px;border-left:4px solid var(--c);padding-left:8px}
.pp-ep table{width:100%;border-collapse:collapse;font-size:12px}
.pp-ep th{text-align:left;font-weight:500;color:var(--rq-muted);padding:3px 6px 3px 0;white-space:nowrap}
.pp-ep td{padding:3px 0}
.pp-ep td.num{text-align:right;color:var(--rq-muted);padding-left:6px;font-variant-numeric:tabular-nums}
.pp-epbar{position:relative;height:6px;margin:2px 0;background:var(--pp-track);border-radius:2px}
.pp-epbar .val{position:absolute;left:0;top:0;bottom:0;border-radius:2px}
.pp-epbar .rng{position:absolute;top:-2px;bottom:-2px;background:rgba(185,185,178,.32);border-radius:2px}
.pp-flows{display:grid;gap:14px}
.pp-flows h4{margin:0 0 6px;font-size:14px;font-weight:600}
.pp-stack{display:flex;height:18px;border-radius:4px;overflow:hidden;gap:2px}
.pp-stack span{display:block;min-width:2px}
.pp-stack-l{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--rq-muted);margin-top:5px}
.pp-stack-l i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px}
.pp-stack-l b{color:var(--rq-ink)}
.pp-seg{display:grid;gap:6px;max-width:860px}
.pp-segrow{display:grid;grid-template-columns:170px 1fr 120px;gap:10px;align-items:center;font-size:13px}
.pp-segrow .num{font-variant-numeric:tabular-nums;color:var(--rq-ink)}
.pp-segbar{display:flex;height:16px;border-radius:3px;overflow:hidden;background:var(--pp-track)}
.pp-segbar span{display:block}
.pp-segbar .unc{background:var(--pp-unc)}
.pp-fig4 .pp-segrow{grid-template-columns:150px 1fr 140px 120px}
.pp-fig4 .rec{text-align:right;color:var(--rq-muted)}
.pp-f4g{display:grid;grid-template-columns:110px 1fr;gap:8px;align-items:center;padding:4px 0;border-bottom:1px solid var(--rq-line)}
.pp-f4g>.lab{font-weight:600}
.pp-diff{margin:10px 0 18px;font-size:14px}
.pp-diff span{color:var(--rq-muted)}
.pp-fig4 h3{font-size:15px;margin:14px 0 8px}
.pp-flowmini{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:4px 0 6px}
.pp-flowmini li{background:var(--rq-soft);border-radius:8px;padding:6px 10px;font-size:13px;font-weight:600;position:relative}
.pp-flowmini li:not(:last-child)::after{content:"→";margin-left:10px;color:var(--rq-muted)}
.pp-flowmini small{font-weight:400;color:var(--rq-muted);font-style:italic;margin-left:4px}
.pp-flowmini em{display:block;font-weight:500;font-size:12px;color:#d99a4b;font-style:italic}
.pp-cases{display:grid;gap:14px}
.pp-case{border:1px solid var(--rq-line);border-radius:10px;padding:12px 16px;background:var(--rq-panel)}
.pp-case-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--rq-muted);margin:4px 0}
.pp-case summary,.pp-cov summary{cursor:pointer;color:var(--rq-accent);font-size:13px;font-weight:600;margin-top:6px}
.pp-evl{list-style:none;padding:0;margin:8px 0;display:grid;gap:10px;font-size:13px}
.pp-evl small,.pp-cov small{color:var(--rq-muted);display:block}
.pp-tagl{font-size:12px;color:var(--rq-muted);margin-right:6px}
.pp-design{border:1px solid var(--rq-line);border-radius:10px;padding:4px 16px 12px;margin:18px 0;background:var(--rq-panel)}
.pp-design dl{display:grid;grid-template-columns:minmax(150px,220px) 1fr;gap:8px 16px;margin:8px 0;font-size:14px}
.pp-design dt{font-weight:600;color:var(--rq-ink)}
.pp-design dd{margin:0;line-height:1.5}
.pp-flow{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin:12px 0;counter-reset:s}
.pp-flow li{background:var(--rq-soft);border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.45;counter-increment:s}
.pp-flow strong{display:block;color:var(--rq-ink);margin-bottom:4px}
.pp-flow strong::before{content:counter(s) " · ";color:var(--rq-accent)}
.pp-downloads{list-style:none;padding:0;display:grid;gap:6px;font-size:14px}
.pp-downloads li{display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:12px}
.pp-downloads span{color:var(--rq-muted)}
.pp-load{margin:6px 0}
html[data-theme="light"] .pp{--pp-pois:#1E4D49;--pp-clean:#8DBDB6;--pp-c1:#c9dfd9;--pp-c2:#4C8C86;--pp-c3:#1E4D49;--pp-track:rgba(30,77,73,.1)}
.pp-flowmini{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px;margin:4px 0 10px}
.pp-flowmini .st{background:var(--rq-soft);border-radius:8px;padding:6px 10px;font-size:13px;font-weight:600}
.pp-flowmini .ar{color:var(--rq-muted);padding-top:6px}
.pp-f4h{border-bottom:0;padding:0}
.pp-f4h .rec{font-size:12px;font-style:italic;line-height:1.2}
/* home hero (owner, 10-25: the words covered the sky): smaller title and copy column, compact legend */
.view-home .hs-copy{width:min(440px,calc(100vw - 48px))}
.view-home .hs-copy h1{font-size:clamp(28px,3.4vw,46px);letter-spacing:-1px;margin:12px 0 14px}
.view-home .hs-copy p{font-size:14.5px;line-height:1.6;margin-bottom:18px}
.view-home .hs-btn{padding:8px 15px;font-size:13px}
.view-home .hs-legend{max-width:min(500px,46vw);gap:5px}
.view-home .hs-legend button{padding:3px 9px;font-size:11px}
/* home guide (home.js) */
.hs-toggle{display:inline-flex;align-items:center;gap:8px;margin-top:10px;font-size:13px;color:#cfe1e2;cursor:pointer}
.hs-toggle input{accent-color:#d4e966;width:15px;height:15px}
.hm{max-width:1180px;margin:0 auto;padding:40px 20px 60px}
.hm-head{margin:30px 0 14px}
.hm-kicker{font-size:12px;letter-spacing:.08em;color:#d4e966;font-weight:600}
.hm-head h2{margin:.25em 0 0}
.hm-words{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.hm-words>div{background:rgba(160,205,195,.07);border:1px solid rgba(160,205,195,.18);border-radius:12px;padding:14px}
.hm-words h3{margin:6px 0 4px;font-size:15px}
.hm-words p{margin:0;font-size:13px;line-height:1.5;color:var(--muted,#b5c2c2)}
.hm-icon{font-size:20px;color:#d4e966}
.hm-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
.hm-card{border:1px solid rgba(160,205,195,.22);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:8px;background:rgba(16,38,34,.6)}
.hm-q{font-size:12px;font-weight:700;color:#d4e966;letter-spacing:.06em}
.hm-card h3{margin:0}
.hm-card p{margin:0;font-size:14px;line-height:1.5}
.hm-nums{list-style:none;padding:0;margin:4px 0;display:grid;gap:6px}
.hm-nums li{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:baseline;font-size:13px}
.hm-nums strong{font-size:18px;font-variant-numeric:tabular-nums}
.hm-card .hs-btn{align-self:flex-start;margin-top:auto}
.hm-foot{margin-top:24px;font-size:13px;color:var(--muted,#b5c2c2)}
.linkish{background:none;border:0;color:#d4e966;cursor:pointer;font:inherit;font-weight:600;padding:0}
@media (max-width:640px){.pp-segrow,.pp-fig4 .pp-segrow{grid-template-columns:100px 1fr 90px}.pp-fig4 .rec{display:none}.pp-design dl{grid-template-columns:1fr}.pp-downloads li{grid-template-columns:1fr}}

/* second pass (owner, 10-25): conclusion + chart, data folded away */
.pp-sec h2{font-family:inherit;font-weight:650;font-size:clamp(19px,2vw,24px);line-height:1.3;max-width:52ch}
.pp-more{margin:14px 0 4px;border-top:1px solid var(--rq-line);padding-top:8px}
.pp-more>summary{cursor:pointer;color:var(--rq-accent);font-size:13px;font-weight:600;list-style:none}
.pp-more>summary::before{content:"＋ "}.pp-more[open]>summary::before{content:"－ "}
.pp-div{display:grid;gap:5px;max-width:860px}
.pp-divrow{display:grid;grid-template-columns:230px 1fr 1fr 56px;align-items:center;gap:0;font-size:13px}
.pp-divrow .lab{display:flex;align-items:center;gap:7px;padding-right:10px}
.pp-divrow .lab i{width:9px;height:9px;border-radius:50%;flex:none}
.pp-divrow .neg,.pp-divrow .pos{display:flex;height:14px;background:var(--pp-track)}
.pp-divrow .neg{justify-content:flex-end;border-right:1px solid var(--rq-muted)}
.pp-divrow .neg>span,.pp-divrow .pos>span{display:block;height:100%;opacity:.85;filter:saturate(.7)}
.pp-divrow .num{text-align:right;font-variant-numeric:tabular-nums}
.pp-cases3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.pp-case-when{font-size:12px;font-weight:700;color:var(--rq-accent);letter-spacing:.04em}
.pp-case h3{margin:2px 0 6px}
.pp-case-n{margin:0 0 6px;color:var(--rq-muted);font-size:13px}.pp-case-n b{font-size:22px;color:var(--rq-ink);margin-right:4px}
.pp-chain{display:flex;align-items:stretch;gap:0;overflow-x:auto}
.pp-chain-step{flex:1 1 0;min-width:170px;background:var(--rq-soft);border-radius:10px;padding:10px 12px;font-size:13px}
.pp-chain-step b{display:block;margin-bottom:6px;color:var(--rq-ink)}
.pp-chain-step ul{list-style:none;padding:0;margin:0;display:grid;gap:3px}
.pp-chain-link{flex:0 0 46px;display:flex;align-items:center;justify-content:center;color:var(--rq-muted);font-size:18px}
.pp-chain-link.is-gap{flex-basis:96px;border-top:2px dashed #e0a24f;border-bottom:2px dashed #e0a24f;margin:22px 4px;color:#e0a24f;font-size:12px;font-weight:700;text-align:center;line-height:1.25}
.pp-matrix td.pp-mark{text-align:center;font-size:16px;font-weight:700}
.pp-mark.is-yes{color:#7cc0b2}.pp-mark.is-no{color:#e08a6a}.pp-mark.is-part{color:#d9c36a}
@media (max-width:640px){.pp-divrow{grid-template-columns:120px 1fr 1fr 44px}.pp-chain{flex-direction:column}.pp-chain-link{flex-basis:28px}.pp-chain-link.is-gap{margin:4px 0;flex-basis:40px}}
.pp-ep table{table-layout:fixed}
.pp-ep th{width:62px}
.pp-ep td.num{width:72px}
.pp-ep td:not(.num){padding:4px 6px}
.pp-epbar{width:100%}

/* Explore map (owner, 10-26): country and institution rankings in the column right of the map, in place of the insights */
/* three columns (owner's sketch, 10-26): map | country ranking | institution ranking */
@media (min-width: 1201px) {
  .tm-grid { grid-template-columns: minmax(0, 1fr) 560px; gap: 22px; }
  .tm-ranks .tm-side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 0; gap: 20px; }
}
.tm-ranks .tm-side { margin-top: 0; }
.tm-ranks .tm-insts { gap: 6px; }
.tm-ranks .tm-insts li { align-items: baseline; }
.tm-ranks h4 { font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: #93aea7; margin: 0 0 8px; font-weight: 650; }
:root[data-theme=light] .tm-ranks h4 { color: #64786c; }
.tm-ranks .fd-note { margin: 6px 0 0; }

/* Observations drop-down: name and one-line description on separate lines */
.site-nav-disc .site-nav-panel :is(a, button) b { display: block; font-weight: 650; }
.site-nav-disc .site-nav-panel :is(a, button) small { display: block; margin-top: 1px; font-size: 12px; opacity: .72; font-weight: 400; }
/* Explore: paper-form labels on one line */
.an-frow .lbl { white-space: nowrap; }

/* twin ranking tables beside the map: identical rows, names cut with an ellipsis so every row stays one line */
.tm-ranks .tm-rank { width: 100%; table-layout: fixed; }
.tm-ranks .tm-rank thead th:not(:first-child) { width: 46px; text-align: right; }
.tm-ranks .tm-rank td { text-align: right; }
.tm-ranks .tm-rank th, .tm-ranks .tm-rank td { height: 30px; padding: 0 4px; vertical-align: middle; white-space: nowrap; }
.tm-ranks .tm-side { row-gap: 6px; }
.tm-ranks .tm-rank tbody th .tm-cc { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-ranks .tm-rank tbody th .tm-cc img { vertical-align: -2px; }
.view-landscape .tm-rank-note { margin-top: 4px; }
/* the two tables stretch to the height of the map column, so both columns end level */
@media (min-width: 1201px) {
  .view-landscape .tm-grid { align-items: stretch; }
  .tm-ranks { display: flex; }
  .tm-ranks .tm-side { flex: 1; }
  .tm-ranks .tm-side > div { display: flex; flex-direction: column; }
  .tm-ranks .tm-rank { flex: 1; }
}

/* findings pages, showcase blocks (owner, 10-26): film, theme heat map, bars, the wall of checks, adoption ranges */
.pp-film .rq-sec { margin: 0; padding: 0; border: 0; }
.pp-film { margin: 6px 0 18px; }
.pp-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 0; }
.pp-vbars { height: 170px; }
.pp-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 8px 0 18px; }
@media (max-width: 900px) { .pp-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pp-wall { grid-template-columns: minmax(0, 1fr); } }
.pp-ranges + .pp-note { margin-top: 14px; }
.pp-wcard { position: relative; padding: 18px 18px 16px; border: 1px solid var(--rq-line); border-radius: 14px; background: linear-gradient(160deg, color-mix(in srgb, var(--rq-heat) 16%, transparent), transparent 70%); }
.pp-wcard strong { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -.5px; margin: 6px 0 8px; font-variant-numeric: tabular-nums; }
.pp-wcard p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--rq-muted); }
.pp-wicon { font-size: 18px; color: var(--rq-heat); }
.pp-ranges { display: grid; gap: 12px; margin-top: 8px; }
.pp-rrow { display: grid; grid-template-columns: 120px minmax(0, 1fr) 150px; align-items: center; gap: 14px; font-size: 14px; }
.pp-rbar { display: flex; height: 16px; border-radius: 8px; background: var(--pp-track, rgba(127,127,127,.15)); overflow: hidden; }
.pp-rbar .hi { opacity: .35; }
.pp-rrow .num { font-variant-numeric: tabular-nums; }
.pp-rrow .num small { color: var(--rq-muted); margin-left: 4px; }
@media (max-width: 640px) { .pp-rrow { grid-template-columns: 90px minmax(0, 1fr); } .pp-rrow .num { grid-column: 2; } }

/* bar charts: one label column sized to the longest label, labels never wrap (owner, 10-26) */
.pp-div { grid-template-columns: max-content minmax(0, 1fr) minmax(0, 1fr) 56px; row-gap: 6px; }
.pp-divrow { display: contents; }
.pp-divrow .lab { white-space: nowrap; padding-right: 14px; }
.pp-fig:not(.pp-fig4) > .pp-seg { grid-template-columns: max-content minmax(0, 1fr) max-content; column-gap: 12px; row-gap: 6px; }
.pp-fig:not(.pp-fig4) > .pp-seg > .pp-segrow { display: contents; }
.pp-fig:not(.pp-fig4) > .pp-seg .lab { white-space: nowrap; }
.pp-heat tbody th { white-space: nowrap; }
@media (max-width: 640px) {
  .pp-div { grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr) 44px; }
  .pp-fig:not(.pp-fig4) > .pp-seg { grid-template-columns: 110px minmax(0, 1fr) max-content; }
  .pp-divrow .lab, .pp-fig:not(.pp-fig4) > .pp-seg .lab { overflow: hidden; text-overflow: ellipsis; }
}
/* home cards: one number column across both rows, so labels never run under a wide number */
.hm-nums { grid-template-columns: max-content minmax(0, 1fr); column-gap: 12px; row-gap: 8px; }
.hm-nums li { display: contents; }

/* navigation menus above every sticky bar of the pages (Explore's section bar, lens tabs) */
header.site-header { z-index: 60; }
/* Observations menu: eight entries in two columns, all visible without scrolling */
/* the Findings menu: conclusions on the left, observations from the data in two columns on the right (owner, 10-26) */
@media (min-width: 760px) {
  .site-nav-disc .site-nav-panel { width: 740px; max-height: none; }
  .site-nav-mega { display: grid; grid-template-columns: 1fr 2fr; gap: 0 18px; }
  .site-nav-two { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; }
  .site-nav-mega > .site-nav-group + .site-nav-group { border-left: 1px solid var(--line, rgba(160,205,195,.18)); padding-left: 14px; }
}
.site-nav-gl { display: block; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; opacity: .6; padding: 4px 12px 6px; }

/* consolidated blocks (owner, 10-26): two charts side by side; the heat table's totals row and change column */
.pp-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
@media (max-width: 900px) { .pp-row { grid-template-columns: minmax(0, 1fr); } }
.pp-row .pp-fig { margin-top: 6px; }
.pp-row .pp-seg { max-width: none; }
.pp-heat .pp-heat-total th, .pp-heat .pp-heat-total td { font-weight: 650; background: none; border-bottom: 2px solid var(--rq-line); }
.pp-heat .pp-delta-h { white-space: nowrap; padding-left: 14px; }
.pp-heat td.pp-delta { background: none; font-weight: 650; padding-left: 14px; }
.pp-heat td.pp-delta.is-up { color: #5fbf9f; }
.pp-heat td.pp-delta.is-down { color: #d4714b; }
:root[data-theme=light] .pp-heat td.pp-delta.is-up { color: #1c6a57; }
:root[data-theme=light] .pp-heat td.pp-delta.is-down { color: #b4532c; }
/* Explore venue table: angled one-line column heads */
.an-venues .an-heat thead th.an-vh { height: 104px; min-width: 40px; vertical-align: bottom; position: relative; padding: 0; white-space: nowrap; }
.an-venues .an-heat thead th.an-vh > span { position: absolute; left: 50%; bottom: 10px; transform: rotate(-45deg); transform-origin: left bottom; white-space: nowrap; font-size: 12px; font-weight: 500; }
.an-venues .heatwrap { padding-top: 6px; padding-right: 72px; }
/* Explore: the institution directory is collapsed until asked for */
.ex-dir-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.ex-dir-sum::-webkit-details-marker { display: none; }
.ex-dir-sum h3 { margin: 0; }
.ex-dir-sum > span { border: 1px solid currentColor; border-radius: 999px; padding: 4px 12px; font-size: 13px; opacity: .85; }
.ex-dir .ex-dir-close, .ex-dir[open] .ex-dir-open { display: none; }
.ex-dir[open] .ex-dir-close { display: inline; }
.ex-dir[open] .ex-dir-sum { margin-bottom: 10px; }
/* research landscape: cards flow in balanced columns, so short themes do not leave empty rows (owner, 10-26) */
.landscape .matrix { display: block; columns: 3 330px; column-gap: 16px; }
.landscape .matrix > .mcat { break-inside: avoid; width: 100%; margin: 0 0 16px; }
.view-papers .landscape { margin: 18px 0 22px; }

/* ===================================================================== boards (owner, 2026-10-26)
   Evolution · Landscape · Foundations & protection · Opportunities & tests share one frame: hero, sticky chapters, cards */
.view-structure .pagehead { display: none; }
.bd { --bd-ink: #163b3a; --bd-muted: #5d7270; --bd-line: #d6e1df; --bd-panel: #ffffff; --bd-soft: #eef4f1; --bd-accent: #3d6f1c; --bd-accent-ink: #ffffff; --bd-glow: rgba(61,111,28,.10); --bd-glow2: rgba(48,123,113,.10);
  color: var(--bd-ink); margin: 6px 0 40px; }
html[data-theme="dark"] .bd { --bd-ink: #e3f0ee; --bd-muted: #9fb7b3; --bd-line: rgba(160,205,195,.18); --bd-panel: #0f2622; --bd-soft: #14302b; --bd-accent: #d4e966; --bd-accent-ink: #10231f; --bd-glow: rgba(212,233,102,.10); --bd-glow2: rgba(95,191,159,.12); }
.bd-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 34px 36px; border: 1px solid var(--bd-line); border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, var(--bd-glow), transparent 55%), radial-gradient(90% 120% at 100% 100%, var(--bd-glow2), transparent 60%), var(--bd-panel); }
.bd-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bd-accent); }
.bd-kicker i { font-style: normal; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; font-size: 13px; letter-spacing: 0; }
.bd-hero h1 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.22; letter-spacing: -.4px; margin: 12px 0 10px; font-weight: 700; }
.bd-hero-copy p { margin: 0; color: var(--bd-muted); font-size: 15px; line-height: 1.6; max-width: 56ch; }
.bd-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.bd-kpis > div { padding: 16px 18px; border: 1px solid var(--bd-line); border-radius: 14px; background: var(--bd-soft); min-width: 0; }
.bd-kpis dt { font-size: 28px; font-weight: 700; letter-spacing: -.6px; line-height: 1.1; color: var(--bd-accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bd-kpis dd { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--bd-muted); }
.bd-tabs { position: sticky; top: 0; z-index: 30; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 18px 0 0; padding: 12px 2px;
  background: linear-gradient(var(--bd-bg, #0b1f1c) 78%, transparent); }
html[data-theme="light"] .bd-tabs { --bd-bg: #f3f6f7; }
.bd-tabs::-webkit-scrollbar { display: none; }
.bd-tabs button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--bd-line); background: var(--bd-panel); color: var(--bd-ink); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s; }
.bd-tabs button span { font-size: 11px; font-weight: 700; color: var(--bd-muted); font-variant-numeric: tabular-nums; }
.bd-tabs button:hover { border-color: var(--bd-accent); }
.bd-tabs button.is-on { background: var(--bd-accent); border-color: var(--bd-accent); color: var(--bd-accent-ink); font-weight: 650; }
.bd-tabs button.is-on span { color: var(--bd-accent-ink); opacity: .7; }
.bd-body { display: grid; gap: 18px; margin-top: 8px; }
.bd-part { min-width: 0; border: 1px solid var(--bd-line); border-radius: 18px; background: var(--bd-panel); padding: 26px 28px; }
/* parts that bring their own cards are not boxed twice */
.bd-part.bd-analysis, .bd-part.bd-lens { border: 0; background: none; padding: 0; }
.bd .an-layout { margin: 0; }
.bd .panel { border-radius: 18px; border-color: var(--bd-line); background: var(--bd-panel); }
/* findings sections inside a card: the chapter bar names the section, so no kicker; one heading style */
.bd .pp-in-board { padding: 0; margin: 0; max-width: none; }
.bd .pp-in-board .rq-sec { margin: 0; padding: 0; border: 0; }
.bd .pp-in-board .rq-sec + .rq-sec { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--bd-line); }
.bd .pp-in-board .rq-eyebrow { display: none; }
.bd .pp-in-board .rq-sec-head h2, .bd .ln-lead h2, .bd .an-chart figcaption > b { font-size: 22px; line-height: 1.3; letter-spacing: -.2px; font-weight: 700; max-width: 60ch; margin: 0 0 14px; }
/* observation parts inside a board: no own tab bars, a calm lead */
.bd .ln-tabs, .bd .q-mini, .bd [data-q-mini], .bd .ln-lead .fd-kicker { display: none !important; }
.bd .fd { margin: 0; }
html .bd .ln-lead, html[data-theme] .bd .ln-lead { padding: 6px 2px 0; border: 0; background: none; margin: 0 0 14px; border-radius: 0; }
.bd .ln-lead h2 { margin: 0; color: var(--bd-ink); }
.bd .ln-chapters { margin-top: 0; }
/* time map inside a board */
.bd-map .ex-dir { margin-top: 22px; }
@media (max-width: 900px) {
  .bd-hero { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; gap: 20px; }
  .bd-part { padding: 20px 16px; }
  .bd-kpis dt { font-size: 24px; }
}
/* home: four board cards in one row on wide screens */
@media (min-width: 1180px) { .hm-cards.hm-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bd-kpis dt { font-size: 21px; white-space: normal; } .bd-kpis > div { padding: 14px; } }

/* outcome stacks (owner, 10-26: one clean chart instead of thin bars and grey bounds) */
.pp-os { --os0: #dfe9e6; --os1: #9fc6bd; --os2: #4c8c86; --os3: #1e4d49; --os-ink: #163b3a; }
html[data-theme="dark"] .pp-os { --os0: #d9e6e3; --os1: #8cbfb4; --os2: #3f9488; --os3: #d4e966; --os-ink: #10231f; }
.pp-os-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; margin: 4px 0 10px; }
.pp-os-legend i, .pp-os .bar span { display: inline-block; }
.pp-os-legend i { width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.pp-os .c0 { background: var(--os0); } .pp-os .c1 { background: var(--os1); } .pp-os .c2 { background: var(--os2); color: #fff; } .pp-os .c3 { background: var(--os3); color: var(--os-ink); }
html[data-theme="light"] .pp-os .c3, :root:not([data-theme]) .pp-os .c3 { color: #fff; }
.pp-os-line + .pp-os-line { margin-top: 12px; }
.pp-os-line h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13.5px; font-weight: 650; }
.pp-os-line h4 i { width: 4px; height: 14px; border-radius: 2px; }
.pp-os-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 64px; align-items: center; gap: 10px; margin: 3px 0; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.pp-os-row .bar { display: flex; height: 18px; border-radius: 5px; overflow: hidden; gap: 2px; }
.pp-os-row .bar span { height: 100%; font-size: 10.5px; line-height: 18px; text-align: center; color: #163b3a; white-space: nowrap; overflow: hidden; }
.pp-os-row .cnt { text-align: right; opacity: .75; }
@media (min-width: 1180px) { .hm-cards.hm-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* storyline chapters (owner, 10-26: every analysis chapter in the frame of the observation chapters): question, step bar,
   one view on the left, numbered finding cards on the right; a card lights the marks it talks about, the rest fade */
.bd-steps { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
@media (min-width: 1100px) {
  .bd .pb-lens .cr-wrap { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .bd .cr-stage { top: 78px; max-height: calc(100vh - 92px); }
  .bd .cr-cards { padding-bottom: 12vh; }
}
.bd-stage { min-width: 0; padding: 18px 20px 14px; }
.bd-stage .pp-in-board .pp-fig { margin-top: 0; }
.bd-stage .pp-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
.bd-stage .pp-cases3 { grid-template-columns: minmax(0, 1fr); }
.bd-stage .tm-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.bd-stage .an-layout { display: block; }
.bd-stage .panel, .bd-stage .an-card { border: 0; background: none; padding: 0; box-shadow: none; margin: 0; }
.bd-stage [data-k] { transition: opacity .2s ease; }
.bd-stage.has-hl [data-k]:not(.is-hl) { opacity: .18 !important; }  /* !important: the Explore rows fade in by animation */
.bd-stage.has-hl td[data-k].is-hl, .bd-stage.has-hl .rq-bar.is-hl b { outline: 2px solid var(--bd-accent); outline-offset: -2px; }
.bd-stage.has-hl tr[data-k].is-hl th, .bd-stage.has-hl .pp-segrow.is-hl .lab, .bd-stage.has-hl .pp-rrow.is-hl .lab, .bd-stage.has-hl .pp-os-row.is-hl .per { color: var(--bd-accent); font-weight: 700; }
.bd-stage.has-hl .pp-case.is-hl, .bd-stage.has-hl .pp-chain-step.is-hl, .bd-stage.has-hl .pp-chain-link.is-hl { box-shadow: 0 0 0 2px var(--bd-accent); border-radius: 12px; }
.bd-card .cr-card-head { grid-template-columns: 34px minmax(0, 1fr); padding-bottom: 6px; }
.bd-card .cr-card-text b { line-height: 1.4; }
.bd-card.is-active { border-color: var(--bd-accent); box-shadow: 0 0 0 1px var(--bd-accent); }
.bd-card.is-active .ln-qn { color: var(--bd-accent); border-color: var(--bd-accent); }
.bd-card .cr-config { margin-bottom: 14px; border-left-color: var(--bd-accent); }
.bd-more { margin-top: 20px; }
.bd-more > .pp-in-board { padding-top: 6px; }
.bd-story .pb-head .fd-note { max-width: 80ch; }
.bd-stage::before { display: none; }
.bd-stage .pp-in-board > :first-child, .bd-stage .pp-fig > .pp-bhead:first-child, .bd-stage .pp-bhead h3, .bd-stage .pp-row > :first-child { margin-top: 0; }
.bd-stage .an-cross-body { display: block; }
.bd-stage .an-insights { border: 0; padding: 0; margin-top: 10px; background: none; }
.bd-stage .an-insights h4, .bd-stage .an-insights ul, .bd-stage .an-insights > .muted { display: none; }  /* the cards on the right carry them */
.bd-stage .an-heat th { white-space: nowrap; }
/* a section with a wide view (the film): the view full width on top, its cards in one row below (owner, 10-26) */
.bd .pb-lens .cr-wrap.bd-stack { grid-template-columns: minmax(0, 1fr); }
.bd .cr-wrap.bd-stack .cr-stage { position: static; max-height: none; overflow: visible; }
.bd .cr-wrap.bd-stack .pb-cards-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 0; align-items: stretch; }
.bd .cr-wrap.bd-stack .cr-card { margin-bottom: 0; }
.bd .cr-wrap.bd-stack .pb-foot { grid-column: 1 / -1; margin-top: 4px; }
.bd .cr-wrap.bd-stack .cr-show { display: none; }
@media (max-width: 900px) { .bd .cr-wrap.bd-stack .pb-cards-col { grid-template-columns: minmax(0, 1fr); } }
