/* Researcher Finder · Insights pages (3.6) */

  .hero.ins { padding-bottom: 0; }
  .ins h1 { max-width: none; margin-bottom: 14px; }
  .ins .lead { max-width: 60ch; margin-bottom: 40px !important; }
  .totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
  .totals div { padding: 22px 0 26px; }
  .totals div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
  .totals b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 720; letter-spacing: -.03em; color: #fff; line-height: 1.1; }
  .totals span { color: #AFBBD0; font-size: 14px; }

  main.ins-main { padding: 34px 0 10px; }
  .tools { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 22px; }
  .filters { display: flex; gap: 8px; flex-wrap: wrap; }
  .filters a { text-decoration: none; display: inline-block; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line);
    padding: 8px 14px; border-radius: 999px; cursor: pointer; }
  .filters a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
  .find { display: flex; gap: 8px; }
  .find input, .find select { font: inherit; font-size: 14.5px; color: var(--ink); background: var(--surface); border: 1px solid #C9D3D6;
    border-radius: 10px; padding: 9px 12px; }
  .find input { width: 230px; }

  .feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line);
    border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; margin-bottom: 22px; }
  .feat:hover, .acard:hover { border-color: #B9C6C8; box-shadow: 0 6px 24px rgba(20, 33, 61, .07); }
  .feat .txt { padding: 30px 32px; display: flex; flex-direction: column; }
  .subj { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 650; color: var(--brand); margin-bottom: 10px; }
  .subj i { width: 9px; height: 9px; border-radius: 3px; background: currentColor; display: inline-block; }
  .newtag { font-size: 12px; font-weight: 700; color: #14213D; background: var(--l5); padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
  .feat h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 0 0 12px; max-width: 24ch; }
  .finding { color: var(--ink-2); font-size: 16px; margin: 0 0 22px; }
  .finding b { color: var(--ink); }
  dl.meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
  dl.meta div { min-width: 0; }
  dl.meta dt { font-size: 12.5px; color: var(--muted); margin: 0 0 2px; }
  dl.meta dd { margin: 0; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
  .feat .viz { background: #F6F9F8; border-left: 1px solid var(--line); padding: 26px 28px; display: flex; flex-direction: column; gap: 18px; }
  .vizcap { font-size: 13.5px; color: var(--muted); margin: 0 0 6px; }
  .vizcap b { color: var(--ink); font-weight: 650; }
  .ribbon { display: flex; height: 14px; border-radius: 7px; overflow: hidden; }
  .ribbon span { display: block; height: 100%; }
  .viz .legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
  .viz .legend span { display: inline-flex; align-items: center; gap: 6px; }
  .viz .legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
  .read { margin-top: 20px; font-weight: 650; font-size: 15px; color: var(--brand); }

  .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .acard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
    text-decoration: none; color: inherit; }
  .acard .spark { background: #F6F9F8; border-bottom: 1px solid var(--line); padding: 18px 22px 10px; }
  .acard .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
  .acard h3 { font-size: 20px; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 8px; }
  .acard .finding { font-size: 15px; margin-bottom: 18px; }
  .acard dl.meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .acard dl.meta dd { font-size: 15px; }
  .acard .ribbon { height: 8px; margin-top: 16px; }

  .method { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; margin: 56px 0 0; padding: 34px 0 0; border-top: 1px solid var(--line); }
  .method h2 { font-size: 24px; margin: 0; }
  .method ul { list-style: none; margin: 0; padding: 0; }
  .method li { padding: 0 0 14px; color: var(--ink-2); font-size: 15px; }
  .method li b { color: var(--ink); }
  .band { margin: 56px 0 0; background: var(--navy); color: #E6ECF5; border-radius: 18px; padding: 34px 36px; display: flex; gap: 24px; align-items: center;
    justify-content: space-between; flex-wrap: wrap; }
  .band h2 { color: #fff; font-size: 26px; margin: 0 0 6px; }
  .band p { margin: 0; color: #C9D3E3; max-width: 56ch; }
  @media (max-width: 900px) {
    .feat { grid-template-columns: minmax(0, 1fr); }
    .feat .viz { border-left: 0; border-top: 1px solid var(--line); }
    .grid, .method { grid-template-columns: minmax(0, 1fr); }
    .totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .totals div:nth-child(3) { padding-left: 0; border-left: 0; }
    .find input { width: 100%; } .find { width: 100%; }
  }


  .art-hero h1 { max-width: 22ch; font-size: clamp(32px, 4.4vw, 46px); }
  .art-hero .subj { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: #E3B864; margin-bottom: 12px; }
  .art-hero .subj i { width: 9px; height: 9px; border-radius: 3px; background: currentColor; }
  .byline { color: #AFBBD0; font-size: 14px; margin: 0 0 22px; }
  .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
  .facts div { padding: 18px 0 22px; } .facts div + div { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
  .facts b { display: block; color: #fff; font-size: 26px; font-weight: 720; letter-spacing: -.02em; }
  .facts span { color: #AFBBD0; font-size: 13.5px; }
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; padding: 36px 0 0; }
  article { min-width: 0; }
  article h2 { font-size: 24px; margin: 38px 0 10px; }
  article p { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; max-width: 68ch; }
  .keybox { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--l5); border-radius: 12px; padding: 18px 22px; }
  .keybox b.t { display: block; font-size: 16px; margin-bottom: 6px; }
  .keybox ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15.5px; }
  .keybox li { margin: 5px 0; }
  figure { margin: 22px 0 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 12px; }
  figcaption { font-size: 15px; font-weight: 650; margin-bottom: 2px; }
  figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
  .figfoot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; font-size: 13px; color: var(--muted); }
  .figfoot a { font-weight: 650; text-decoration: none; }
  table.data { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 10px; }
  table.data th, table.data td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; }
  table.data th:first-child, table.data td:first-child { text-align: left; }
  table.data th { color: var(--muted); font-weight: 600; }
  aside .box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
  aside h3 { font-size: 15.5px; margin: 0 0 8px; }
  aside p, aside li { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; }
  aside .btn2 { width: 100%; justify-content: center; font-size: 15px; padding: 12px 14px; }
  .cite { font-size: 13px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 10px; color: var(--ink-2); line-height: 1.5; }
  .fmt { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
  .fmt a, .fmt button, .fmt summary { font-size: 12.5px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--brand); font-weight: 600; }
  .share { display: flex; gap: 8px; }
  .share a, .share button { flex: 1; text-align: center; font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 8px; padding: 7px 0; color: var(--ink-2); }
  .sub input { width: 100%; font: inherit; font-size: 14px; border: 1px solid #C9D3D6; border-radius: 9px; padding: 9px 11px; margin-bottom: 8px; background: var(--bg); }
  .incl { margin: 0 0 12px 16px; padding: 0; } .incl li { font-size: 13.5px; margin: 3px 0; color: var(--ink-2); }
  .frf input, .frf select, .frf textarea { width: 100%; font: inherit; font-size: 14px; border: 1px solid #C9D3D6; border-radius: 9px; padding: 9px 11px; margin-bottom: 8px; background: var(--bg); color: var(--ink); }
  .frf textarea { min-height: 70px; resize: vertical; }
  .frf small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 8px; }
  .sub small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 8px; }
  .aud { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .aud div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
  .aud b { display: block; font-size: 15px; margin-bottom: 4px; }
  .aud span { font-size: 14px; color: var(--ink-2); }
  .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
  .legal p { font-size: 13.5px; color: var(--muted); max-width: none; line-height: 1.6; }
  .legal b { color: var(--ink-2); }
  .vers { font-size: 13.5px; }
  article .band { margin: 40px 0 0; background: var(--navy); color: #E6ECF5; border-radius: 16px; padding: 26px 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  article .band h2 { color: #fff; margin: 0 0 4px; font-size: 22px; } article .band p { margin: 0; color: #C9D3E3; font-size: 15px; }

/* 3.6 additions */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fmt a, .fmt button, .fmt summary, .share a, .share button { font: inherit; cursor: pointer; background: transparent; text-decoration: none; }
.fmt details { width: 100%; } .fmt details summary { display: inline-block; list-style: none; }
.fmt details[open] .cite { margin-top: 8px; }
.share a:hover, .share button:hover, .fmt a:hover, .fmt button:hover { border-color: var(--brand); }
.frf, .subf { margin: 0; }
.sub .step1 { display: flex; flex-direction: column; }
.sub.wide { margin: 48px 0 0; padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.sub.wide .step1 { flex-direction: row; gap: 8px; max-width: 520px; } .sub.wide .step1 input { margin: 0; }
.sub.wide .btn2 { width: auto; }
.sub.wide h3 { font-size: 20px; margin: 0 0 4px; }
.sub input { width: 100%; font: inherit; font-size: 14px; border: 1px solid #C9D3D6; border-radius: 9px; padding: 9px 11px; margin-bottom: 8px; background: var(--bg); color: var(--ink); }
.sub small, .frf small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 8px; }
.msg { font-size: 14px; margin: 8px 0 0; min-height: 0; }
.msg.ok { color: var(--brand); font-weight: 600; } .msg.bad { color: #B3261E; font-weight: 600; }
.btn2.small { font-size: 14px; padding: 9px 14px; border-radius: 10px; }
.find .btn2 { background: var(--navy); color: #fff; border: 0; cursor: pointer; }
figure svg { display: block; width: 100%; height: auto; }
figure details { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; font-size: 13.5px; }
figure summary { cursor: pointer; color: var(--brand); font-weight: 650; }
.tw { overflow-x: auto; }
.emptybox { background: var(--surface); border: 1px dashed var(--line); border-radius: 16px; padding: 40px; text-align: center; }
.emptybox h2 { margin: 0 0 6px; font-size: 22px; }
.preview-banner { background: var(--l5); color: #14213D; font-weight: 700; text-align: center; padding: 10px 16px; font-size: 14px; }
.printbar { background: var(--navy); color: #C9D3E3; padding: 12px 24px; display: flex; gap: 16px; align-items: center; font-size: 14px; }
.printbar button { font: inherit; font-weight: 700; background: var(--l5); color: #14213D; border: 0; border-radius: 9px; padding: 9px 16px; cursor: pointer; }
.fullrep { padding-top: 30px; }
.fullrep .cover { padding: 10px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.fullrep .kick { color: var(--muted); font-size: 14px; margin: 0; }
.fullrep h1.plain { font-size: 36px; letter-spacing: -.02em; margin: 6px 0; }
.fullrep .facts.light { border-top-color: var(--line); margin: 16px 0; }
.fullrep .facts.light b { color: var(--ink); } .fullrep .facts.light span { color: var(--muted); }
.fullrep .facts.light div + div { border-left-color: var(--line); }
.fsec h2 { font-size: 22px; margin: 30px 0 8px; } .fsec p { color: var(--ink-2); max-width: 72ch; }
.legal-page { padding: 40px 24px; } .legal-page h1.plain { font-size: 32px; }
.cf-turnstile { margin: 4px 0 8px; }
@media (max-width: 900px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .aud { grid-template-columns: minmax(0, 1fr); }
  .sub.wide .step1 { flex-direction: column; }
}
@media (prefers-color-scheme: dark) {
  .feat .viz, .acard .spark { background: #0F1A2C; }
  figure svg text { fill: var(--ink-2); }
}
@media print {
  .printbar, .top, .site-foot, aside, .band, .preview-banner { display: none !important; }
  body { background: #fff; color: #000; }
  figure { break-inside: avoid; border-color: #ccc; } details > summary { display: none; }
  .fsec { break-before: auto; } .hero { background: #fff; color: #000; }
}
/* 3.7 */
.howmade { margin: 36px 0 0; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.howmade h2 { font-size: 18px; margin: 0 0 8px; }
.howmade ul { margin: 0; padding-left: 18px; } .howmade li { font-size: 14.5px; color: var(--ink-2); margin: 4px 0; }
.lvdefs { margin: 4px 0 10px; padding-left: 18px; } .lvdefs li { font-size: 13.5px; color: var(--muted); margin: 2px 0; }
.printbar .pdfbtn { font-weight: 700; background: var(--l5); color: #14213D; border-radius: 9px; padding: 9px 16px; text-decoration: none; }

/* 3.10 theme A "Paper": the hero is white now, so the dark-hero colours become ink and lines */
.totals { border-top: 1px solid var(--line); }
.totals div + div { border-left: 1px solid var(--line); }
.totals b { color: var(--ink); font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600; }
.totals span { color: var(--muted); }
.ins-main .totals div { padding: 16px 0 4px; }
.filters a.on { background: var(--ink); border-color: var(--ink); }
.subj { font-weight: 600; }
.feat, .acard { border-color: var(--line); }
.feat .viz, .acard .spark { background: var(--tint); }
.band { background: var(--tint); color: var(--ink); border: 1px solid var(--line); }
.band h2, article .band h2 { color: var(--ink); }
.band p, article .band p { color: var(--muted); }
article .band { background: var(--tint); color: var(--ink); border: 1px solid var(--line); }
.art-hero .subj { color: var(--brand); }
.byline { color: var(--muted); }
.facts { border-top: 1px solid var(--line); }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { color: var(--ink); font-family: "Inter Tight", "Inter", sans-serif; font-weight: 600; }
.facts span { color: var(--muted); }
.keybox { border-left-color: var(--brand); }
.find .btn2 { background: var(--ink); border-radius: 10px; padding: 9px 16px; min-height: 0; }
.printbar { background: var(--ink); }
@media (prefers-color-scheme: dark) { .feat .viz, .acard .spark { background: var(--tint); } figure svg text { fill: var(--ink-2); } }
main.ins-main { padding: 34px 32px 10px; }
@media (max-width: 860px) { main.ins-main { padding: 24px 16px 10px; } }

/* 3.11 Explore field reports */
.rp-crumb { font-size: 14px; color: var(--muted); margin: 0 0 14px; } .rp-crumb a { color: var(--muted); }
.rp-layout { grid-template-columns: minmax(0, 1fr) 260px; }
.rp-toc { position: sticky; top: 20px; align-self: start; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.rp-toc b { font-family: "Inter Tight", Inter, sans-serif; font-size: 15px; }
.rp-toc ol { margin: 10px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.9; }
.rp-toc a { color: var(--ink); text-decoration: none; } .rp-toc a:hover { color: var(--brand); }
.rp-toc .btn2 { margin-top: 16px; width: 100%; justify-content: center; font-size: 14.5px; padding: 11px 14px; min-height: 0; }
article.rp section { margin-top: 44px; } article.rp h2 { font-size: 26px; margin: 0 0 10px; }
article.rp h3 { font-family: "Inter Tight", Inter, sans-serif; font-size: 18px; margin: 22px 0 6px; }
article.rp .lede { font-size: 17px; color: var(--ink-2); max-width: 68ch; } article.rp .rp-small { font-size: 15.5px; }
.keybox ul li { margin: 7px 0; }
.rp-chart { width: 100%; height: auto; } .rp-chart .v { font: 600 13px Inter, sans-serif; fill: #14213D; } .rp-chart .ax { font: 13px Inter, sans-serif; fill: #4A5872; }
details.rp-dt { margin-top: 8px; font-size: 14px; } details.rp-dt summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.rp-map { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 78px; grid-auto-flow: dense; gap: 6px; margin-top: 10px; }
.rp-tile { all: unset; box-sizing: border-box; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; overflow: hidden; }
.rp-tile b { font: 600 14.5px/1.25 "Inter Tight", Inter, sans-serif; } .rp-tile small { font-size: 12.5px; opacity: .92; }
.rp-tile:focus-visible { outline: 3px solid #0E6B70; outline-offset: 2px; }
.rp-tile[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0E6B70; }
.rp-panel { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--tint); }
.rp-panel h4 { margin: 0 0 6px; font: 600 15px "Inter Tight", Inter, sans-serif; } .rp-panel ol { margin: 0; padding-left: 20px; font-size: 14.5px; }
.rp-panel li { margin: 5px 0; } .rp-panel small { color: var(--muted); }
.rp-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 10px; }
.rp-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
ul.rp-hb { list-style: none; margin: 8px 0 0; padding: 0; }
ul.rp-hb li { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 44px; gap: 12px; align-items: center; padding: 6px 0; font-size: 14.5px; }
ul.rp-hb .bar { height: 10px; background: #EEF3F3; border-radius: 5px; overflow: hidden; }
ul.rp-hb .bar i { display: block; height: 100%; background: #0E6B70; border-radius: 5px; }
ul.rp-hb li.muted .bar i { background: #9AA7BE; } ul.rp-hb b { text-align: right; font-variant-numeric: tabular-nums; }
ul.rp-hb .pr i { font-style: normal; color: var(--muted); padding: 0 3px; }
.rp-gapbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0 10px; font-size: 14px; }
.rp-gapbar select { font: inherit; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); }
.rp-gapwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.rp-gap { border-collapse: collapse; font-size: 13.5px; min-width: 620px; width: 100%; }
table.rp-gap th { font-weight: 600; text-align: left; padding: 10px; vertical-align: bottom; background: #fff; }
table.rp-gap thead th { font-size: 12.5px; color: var(--ink-2); }
table.rp-gap td { text-align: center; padding: 10px 6px; border-top: 1px solid #fff; border-left: 1px solid #fff; font-variant-numeric: tabular-nums; }
table.rp-gap td.z { background: #FBF3E2; color: #8A6418; } table.rp-gap td.l1 { background: #D7ECEC; }
table.rp-gap td.l2 { background: #7FBDBD; } table.rp-gap td.l3 { background: #0E6B70; color: #fff; }
a.ref { font-size: 12px; vertical-align: super; line-height: 0; margin-left: 2px; color: var(--brand); text-decoration: none; font-weight: 600; }
a.ref::before { content: "["; } a.ref::after { content: "]"; }
ol.rp-key { list-style: none; padding: 0; margin: 8px 0 0; } ol.rp-key li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
ol.rp-key li a.ref { vertical-align: baseline; font-size: 14px; line-height: 1.5; } ol.rp-key b { display: block; font-weight: 600; font-size: 15px; }
ol.rp-key small { color: var(--muted); }
ol.rp-refs { font-size: 14px; color: var(--ink-2); padding-left: 22px; } ol.rp-refs li { margin: 6px 0; } ol.rp-refs li:target { background: #FFF6D6; }
.ph-browse { margin: 10px 0 0; font-size: 15px; } .ph-browse a { font-weight: 600; }
@media (max-width: 900px) {
  .rp-layout { grid-template-columns: minmax(0, 1fr); } .rp-toc { position: static; order: -1; }
  .rp-map { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 70px; }
  .rp-map .rp-tile { grid-column: span 1 !important; grid-row: span 1 !important; }
  ul.rp-hb li { grid-template-columns: minmax(0, 1fr) 70px 36px; }
}
@media print { .rp-toc, .rp-gapbar, details.rp-dt { display: none !important; } .rp-panel { display: none; } }
/* 3.11.2: keep the colours of the charts and the field map when the page is printed or saved as PDF */
.rp-tile, .rp-gap td, ul.rp-hb .bar, ul.rp-hb .bar i, .rp-chart, .keybox, .rp-legend i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
@media print { .rp-map { grid-auto-rows: 64px; } .rp-gapwrap { overflow: visible; } table.rp-gap { min-width: 0; } }
/* 3.11.3 */
.rp-corr { background: #FCF1DC; color: #6B4A0A; border-left: 3px solid #E0A21B; border-radius: 6px; padding: 8px 12px;
  font-size: 14px; margin: -8px 0 20px; max-width: 760px; }
table.rp-ev td:not(:first-child), table.rp-ev th:not(:first-child) { text-align: right; }
.rp-pdf { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; color: inherit; text-decoration: underline; }
.rp-scope { font-size: 14px; color: var(--muted); margin: -6px 0 22px; max-width: 760px; }
.rp-new { display: inline-block; font-size: 11px; font-weight: 600; color: #0E6B70; background: #E2F0F0; border-radius: 6px; padding: 0 6px; margin-left: 6px; vertical-align: 1px; }
table.rp-rise td:not(:first-child), table.rp-rise th:not(:first-child) { text-align: right; white-space: nowrap; }
/* 3.11.6 — the question, kept and answered */
.rp-q { margin: 14px 0; padding: 14px 18px; border-left: 4px solid #0E6B70; background: #F4FAFA; border-radius: 0 8px 8px 0;
  font-size: 18px; line-height: 1.45; color: #14213D; font-style: normal; }
.rp-csum { font-size: 15px; font-weight: 600; margin: 0 0 14px; color: #14213D; }
.rp-cnote { font-size: 14px; color: var(--muted); margin: 8px 0 0; }
table.rp-cover { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0 4px; }
table.rp-cover th, table.rp-cover td { border-bottom: 1px solid var(--line, #E1E5EB); padding: 8px 10px; text-align: left; vertical-align: top; }
table.rp-cover thead th { font-size: 12.5px; color: var(--muted); font-weight: 600; }
table.rp-cover td.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.rp-cover small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
table.rp-cover tr.thin td { background: #FDF0F0; }
table.rp-cover tr.broad td { background: #FBF7EE; }
table.rp-cover small.broad { color: #8A5A00; }
table.rp-cover tr.thin td.n:last-child { color: #A3252B; font-weight: 700; }
/* 3.11.11 — the ladder's last row is the corpus itself, ruled off from the counts above it */
table.rp-ladder tr.fin td { border-top: 2px solid var(--ink, #0F1B33); border-bottom: none; }
.rp-mxwrap { overflow-x: auto; margin: 10px 0 2px; }
table.rp-mx { border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
table.rp-mx th, table.rp-mx td { border: 1px solid var(--line, #E1E5EB); padding: 6px 9px; text-align: center; }
/* 3.11.10 — a long concept ("prolonged exposure to fine particulate matter") used to run out of its cell and
   across the first number. The label wraps instead; the wrapper still scrolls when the grid itself is too wide. */
table.rp-mx th.l { text-align: left; font-weight: 600; max-width: 260px; line-height: 1.3; }
table.rp-mx td.d { background: #F2F5F8; color: var(--muted); }
table.rp-mx td.hi { color: #fff; font-weight: 600; }
.rp-mxnote { font-size: 14px; color: var(--muted); margin: 6px 0 0; }

/* 3.11.7 — provenance flow, search string, warnings, limits */
.pv { margin: 12px 0 18px; }
.pv-row { padding: 10px 0; border-bottom: 1px solid var(--line, #E1E5EB); }
.pv-h { display: flex; align-items: baseline; gap: 10px; }
.pv-h b { font-size: 22px; font-variant-numeric: tabular-nums; color: #14213D; }
.pv-h span { font-size: 15px; font-weight: 600; color: #14213D; }
.pv-bar { height: 7px; background: #EEF1F5; border-radius: 4px; margin: 7px 0 6px; overflow: hidden; }
.pv-bar i { display: block; height: 100%; background: #0E6B70; border-radius: 4px; }
.pv-w { font-size: 13.5px; color: var(--muted); }
.sm-line { font-size: 14px; margin: 12px 0 4px; }
pre.sm-q { background: #F7F9FB; border: 1px solid var(--line, #E1E5EB); border-radius: 8px; padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.5;
  white-space: pre-wrap; word-break: break-word; overflow-x: auto; margin: 0 0 10px; }
pre.sm-small { font-size: 11.5px; max-height: 260px; overflow-y: auto; }
.rp-warn { font-size: 13.5px; color: #8A5A00; background: #FBF7EE; border-left: 3px solid #D9A441;
  padding: 9px 13px; border-radius: 0 6px 6px 0; margin: 10px 0 0; }
ul.rp-lim { font-size: 15px; line-height: 1.6; padding-left: 20px; }
ul.rp-lim li { margin-bottom: 9px; }

table.rp-rise td small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }

details.ev-src { margin: 8px 0 4px; font-size: 13.5px; }
details.ev-src summary { cursor: pointer; color: #0E6B70; font-weight: 600; }
details.ev-src ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
details.ev-src li { margin-bottom: 6px; line-height: 1.5; }

.rp-refuse { font-size: 15px; line-height: 1.55; color: #7A1F23; background: #FDECEC; border-left: 4px solid #A3252B;
  padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 0 0 16px; }

/* 3.11.11 — a question whose two exposures are unevenly covered is not refused, only qualified */
.rp-refuse.half { color: #6B4A10; background: #FDF6E7; border-left-color: #C98A18; }
