@import url('../tokens/colors.css');
@import url('../tokens/typography.css');
@import url('../tokens/spacing.css');

:root {
  --report-page-w: 800px;
  --report-page-h: 675px;
  --report-pad: 60px;
  --report-grad: var(--gradient);
  --report-grad-h: var(--gradient-horizontal);
  --report-ink: var(--black);
  --report-ink-60: var(--gray-dark);
  --report-ink-35: var(--gray-mid);
  --report-ink-10: #E5E5E5;
  --report-border: var(--gray-dark);
  --report-bg-page: var(--gray-background);
  --report-white: var(--white);
  --report-green: var(--pink);
  --report-amber: var(--neutral);
  --report-red: var(--negative);
  --report-fuchsia: var(--pink);
  --bg-subtle: var(--gray-background);
  --highlight-bg: rgba(255, 200, 114, 0.20);
  --radius-sm: 6px;
  --radius-lg: 12px;
  --radius-xs: 4px;
  --radius-full: 9999px;
  --spacing-7: 1.75rem;
  --card-heading-size: 14px;
  --card-heading-weight: 600;
  --card-heading-spacing: 1.2px;
  --card-heading-color: var(--report-ink);
  --t-heading: 16px;
  --t-heading-wt: 500;
  --t-heading-lh: 1.3;
  --t-heading-color: var(--report-ink);
  --t-heading-wt-bold: 600;
  --card-source-size: 14px;
  --card-source-weight: 300;
  --card-source-color: var(--report-ink);
  --t-caption: 14px;
  --t-small: 14px;
  --text-sm: var(--t-body);
  --overline: 14px;
  --t-lead: 16px;
  --t-body: 16px;
  --t-body-lh: 1.8;
  --t-lead-lh: 1.6;
  --t-body-wt: 300;
  /* ── Chart / component name-text tokens ─────────────────────
     All entity names, row labels, and card titles use these.
     Default: 16px medium black.  Highlighted: 16px medium pink.
  ─────────────────────────────────────────────────────────── */
  --chart-name-size:     var(--t-heading);              /* 16px */
  --chart-name-wt:       var(--t-heading-wt);           /* 500  */
  --chart-name-color:    var(--report-ink);             /* black */
  --chart-name-hl-wt:    var(--font-weight-semibold);    /* 600  */
  --chart-name-hl-color: var(--pink);                   /* pink — never fuchsia */

  /* ── Chart / component value-text tokens ──────────────────
     All stats inside/outside bars, data figures, amounts.
     Default: 16px medium black.  Highlighted: 16px medium pink.
  ─────────────────────────────────────────────────────────── */
  --chart-val-size:      var(--t-heading);              /* 16px */
  --chart-val-wt:        var(--t-heading-wt);           /* 500  */
  --chart-val-color:     var(--report-ink);             /* black */
  --chart-val-hl-wt:     var(--t-heading-wt);           /* 500  */
  --chart-val-hl-color:  var(--pink);                   /* pink — never fuchsia */

  /* ── Chart heading tokens (eyebrows, figure titles) ────────
     Small structural headings inside chart containers.
  ─────────────────────────────────────────────────────────── */
  --chart-heading-size: var(--t-heading);              /* 16px */
  --chart-heading-wt:   var(--t-heading-wt);           /* 500  */
  --chart-heading-color: var(--report-ink);

  /* ── Chart metadata / byline tokens ───────────────────────
     Source lines, status labels, date bylines. Kept at 14px.
  ─────────────────────────────────────────────────────────── */
  --chart-meta-size:    var(--t-small);                /* 14px — ticks, source lines, bylines */
  --chart-meta-weight:  var(--font-weight-light);      /* 300  — all metadata text */
  --t-card:             var(--t-lead);                 /* 16px — all text in K and S card components */
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════ */

.report-paginated *,
.report-paginated *::before,
.report-paginated *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.report-paginated {
  font-family: var(--font-family);
  background: none;
  color: var(--report-ink);
  -webkit-font-smoothing: antialiased;
  font-size: var(--t-body);
  line-height: var(--t-body-lh);
  font-weight: var(--t-body-wt);
}

.report-paginated a {
  text-decoration: none;
  color: inherit;
}

.report-paginated strong {
  color: var(--report-ink);
  font-weight: var(--font-weight-semibold);
}


/* ═══════════════════════════════════════════════════════════════════════════
   REPORT CONTAINER — continuous scroll engine
   ═══════════════════════════════════════════════════════════════════════════ */

.report-container { width: 100%; font-size: var(--t-body); line-height: var(--t-body-lh); font-weight: var(--t-body-wt); }

.mi-section {
  padding: 0;
  max-width: 800px;
  margin: 48px auto 0;
  position: relative;
}

#p2.mi-section { padding-top: 0; }
#p2.mi-section + .mi-divider { display: none; }

.mi-divider {
  display: block;
  width: 100%;
  max-width: 800px;
  height: 2px;
  background: var(--report-ink-35);
  margin: 48px auto;
}

.mi-sources-section {
  padding: 50px 0 80px;
  width: 100%;
  max-width: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mi-sources-section > * {
  width: 100%;
  max-width: 800px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PAGE SHELL (paginated engine — keep for other products)
   ═══════════════════════════════════════════════════════════════════════════ */

.page-wrap {
  display: block;
}

.page-label { display: none; }

.page {
  width: 100%;
  background: var(--report-white);
}

.page-inner {
  padding: 50px var(--report-pad) 0;
  border-bottom: none;
}

.page-inner::after {
  content: '';
  display: block;
  width: 600px;
  height: 2px;
  background: var(--report-ink-35);
  margin: 50px auto 0;
}

.page-inner.no-divider::after { display: none; }

.page-inner > .page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-header { display: none; }
.page-content { overflow: visible; }

.page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 10px;
}

.conf {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  font-size: 12px;
  font-style: italic;
  color: var(--report-ink);
}

.conf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.page-nav { display: none; }


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════════════════ */

.section-eyebrow,
.mi-eyebrow {
  font-size: var(--t-body);
  font-weight: 600;
  color: var(--report-ink);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.section-title,
.mi-title {
  font-size: 24px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  color: var(--report-ink);
  margin-bottom: var(--spacing-4);
  max-width: 90%;
}

.section-heading {
  font-weight: var(--font-weight-semibold);
  font-size: 24px;
  line-height: 1.3;
  color: var(--report-ink);
  margin-bottom: var(--spacing-4);
}

.section-label {
  font-size: var(--t-body);
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--report-ink);
  margin-bottom: 12px;
  display: block;
}

.eyebrow {
  font-size: var(--t-body);
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--pink);
  margin-bottom: 8px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   BODY COPY
   ═══════════════════════════════════════════════════════════════════════════ */

.lead {
  font-size: var(--t-body);
  line-height: var(--t-body-lh);
  font-weight: var(--t-body-wt);
  color: var(--report-ink);
  margin-bottom: 16px;
}

.body,
.mi-body {
  font-size: var(--t-body);
  line-height: var(--t-body-lh);
  font-weight: var(--t-body-wt);
  color: var(--report-ink);
  margin-bottom: var(--spacing-4);
}

.body:last-child { margin-bottom: 0; }

.standfirst,
.rpt-standfirst {
  font-size: var(--t-body);
  font-weight: var(--t-body-wt);
  line-height: var(--t-body-lh);
  color: var(--report-ink);
  margin-bottom: var(--spacing-4);
}

.content-columns {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

.content-main {
  font-size: var(--t-body);
  line-height: var(--t-body-lh);
  color: var(--report-ink);
  flex: 1;
}

.content-main p { margin-bottom: 14px; }
.content-main p:last-child { margin-bottom: 0; }


/* ═══════════════════════════════════════════════════════════════════════════
   INLINE SOURCE CITATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

.src {
  font-size: 14px;
  color: var(--report-ink);
  vertical-align: baseline;
  font-weight: 400;
  letter-spacing: 0;
  line-height: inherit;
  margin-left: 0.5em;
}

.standfirst .src, .lead .src { font-size: var(--t-body); }

.chart-source {
  font-size: var(--t-small);
  color: var(--report-ink);
  font-style: italic;
  margin-top: 8px;
  line-height: 1.5;
}

.para-chart-source {
  font-size: var(--t-small);
  color: var(--report-ink);
  line-height: 1.3;
  margin-top: 0;
  padding-top: 10px;
}

.para-chart-source .src {
  font-size: 14px;
  font-weight: 300;
  vertical-align: baseline;
  line-height: inherit;
}

.rpt-para-figure-source {
  font-size: var(--t-small);
  color: var(--report-ink);
  line-height: 1.5;
  margin-top: 12px;
}

.mi-src {
  font-size: var(--t-small);
  color: var(--report-ink);
  vertical-align: baseline;
  font-weight: 400;
  line-height: inherit;
  margin-left: 0.5em;
}


/* ═══════════════════════════════════════════════════════════════════════════
   REPORT META LINE
   ═══════════════════════════════════════════════════════════════════════════ */

.report-meta-line,
.rpt-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-body);
  font-weight: 600;
  color: var(--report-ink);
  padding-bottom: 30px;
}

.report-meta-info,
.rpt-meta-info {
  display: flex;
  align-items: center;
  color: var(--report-ink);
  text-decoration: none;
  flex-shrink: 0;
  opacity: 1;
  transition: opacity 0.15s;
}

.report-meta-info:hover,
.rpt-meta-info:hover { opacity: 0.7; }

.report-meta-arrow { font-size: var(--t-body); color: var(--report-ink); flex-shrink: 0; }

.rpt-meta-sep { color: var(--report-border); }


/* ═══════════════════════════════════════════════════════════════════════════
   FIGURE CONTAINERS
   ═══════════════════════════════════════════════════════════════════════════ */

.mi-figure,
.rpt-para-figure {
  width: 100%;
  border-top: 0.75px solid var(--report-border);
  border-bottom: 0.75px solid var(--report-border);
  padding: 30px 0;
}

.mi-figure-title,
.rpt-para-figure-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--report-ink);
  margin-bottom: 0;
  line-height: 1.3;
}

.mi-figure-sub,
.rpt-para-figure-sub {
  font-size: var(--t-body);
  font-weight: var(--t-body-wt);
  color: var(--report-ink);
  margin-bottom: 20px;
}

.mi-gap-note,
.gap-note {
  background: var(--report-bg-page);
  border-radius: 5px;
  padding: 12px 16px;
  font-size: var(--t-body);
  line-height: 1.65;
  color: var(--report-ink);
  margin-top: 8px;
}

.mi-conflict-note {
  font-size: var(--t-body);
  color: var(--report-ink);
  font-style: italic;
  margin-top: 8px;
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════════════════════
   STAT CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.stat-cards,
.mi-stat-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.stat-card,
.mi-stat-card {
  min-height: 96px;
  background: var(--report-white);
  border-radius: 8px;
  padding: 16px 18px;
  border: 0.75px solid var(--gray-dark);
}

.stat-card-label,
.mi-stat-card-label {
  font-size: var(--card-heading-size);
  font-weight: var(--card-heading-weight);
  letter-spacing: var(--card-heading-spacing);
  color: var(--card-heading-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.stat-card-value,
.mi-stat-card-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--report-ink);
}

.stat-card-value.grad,
.mi-stat-card-value.grad {
  background: var(--report-grad-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card-value em {
  font-size: var(--card-source-size);
  font-weight: var(--card-source-weight);
  color: var(--card-source-color);
  -webkit-text-fill-color: var(--card-source-color);
  font-style: normal;
  display: block;
  margin-top: 4px;
}

.mi-stat-card-note {
  font-size: var(--card-source-size);
  font-weight: var(--card-source-weight);
  color: var(--card-source-color);
  -webkit-text-fill-color: var(--card-source-color);
  line-height: 1.4;
  margin-top: 4px;
}

.stat-card.hl,
.mi-stat-card.hl {
  background: var(--gradient-wash);
  border: 2px solid var(--pink);
}

.stat-card.hl .stat-card-label,
.mi-stat-card.hl .mi-stat-card-label { color: var(--report-ink); }

.stat-card.hl .stat-card-value,
.mi-stat-card.hl .mi-stat-card-value {
  color: var(--pink);
  -webkit-text-fill-color: var(--pink);
  background: none;
}

.stat-card.hl .mi-stat-card-note,
.mi-stat-card.hl .mi-stat-card-note { color: var(--card-source-color); font-weight: var(--card-source-weight); }

.stat-card.hl .stat-card-value em,
.mi-stat-card.hl .mi-stat-card-value em {
  color: var(--card-source-color);
  -webkit-text-fill-color: var(--card-source-color);
  font-weight: var(--card-source-weight);
}

.stat-cards-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-cards-col .stat-cards { width: 100%; }

.stat-kv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  margin-top: 8px;
}

.stat-kv-item {
  padding: 12px 14px;
  background: var(--report-white);
  border-radius: 8px;
  border: 0.75px solid var(--gray-dark);
}

.stat-kv-label {
  font-size: var(--card-heading-size);
  font-weight: var(--card-heading-weight);
  letter-spacing: var(--card-heading-spacing);
  color: var(--card-heading-color);
  margin-bottom: 4px;
}

.stat-kv-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--report-ink);
  line-height: 1.1;
}


/* ═══════════════════════════════════════════════════════════════════════════
   BAR CHARTS
   ═══════════════════════════════════════════════════════════════════════════ */

.ct-name { font-size: var(--t-small); font-weight: var(--font-weight-semibold); color: var(--report-ink); padding-top: 10px; padding-bottom: 4px; }
.ct-note { font-size: var(--t-small); color: var(--report-ink); font-weight: 400; }
.ct-barrow { display: flex; align-items: center; gap: 8px; }
.ct-bar { flex: 1; height: 8px; background: var(--report-bg-page); border-radius: 4px; overflow: hidden; }
.ct-val { font-size: var(--t-small); font-weight: 700; color: var(--report-ink); white-space: nowrap; padding-left: 8px; flex-shrink: 0; min-width: 90px; text-align: right; }
.ct-val.hl { color: var(--pink); font-size: var(--t-body); }
.bar-fill { height: 100%; border-radius: 4px; background: var(--report-ink-35); }
.bar-fill.grad { background: var(--report-grad-h); border: none; }
.bar-fill.dim { background: var(--gray-light); opacity: 0.5; }
.ci-item { margin-top: 10px; }


/* ═══════════════════════════════════════════════════════════════════════════
   KEY FINDINGS
   ═══════════════════════════════════════════════════════════════════════════ */

.key-findings,
.mi-key-findings {
  list-style: none;
  padding: 0 0 20px;
  margin: 0;
  counter-reset: findings;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.key-findings li,
.mi-key-findings li {
  counter-increment: findings;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  padding: 8px 0 8px 0;
}

.key-findings li:first-child p { max-width: 75%; }

.key-findings li::before,
.mi-key-findings li::before {
  content: counter(findings) ".";
  font-size: var(--t-body);
  font-weight: 600;
  color: var(--report-ink);
  margin-right: 2px;
  align-self: start;
  line-height: var(--t-body-lh);
}

.key-findings li p,
.mi-key-findings li p {
  font-size: var(--t-body);
  font-weight: var(--t-body-wt);
  line-height: var(--t-body-lh);
  color: var(--report-ink);
  margin: 0;
}

.key-findings li p em,
.mi-key-findings li p em {
  font-style: italic;
  color: var(--report-ink);
}


/* ═══════════════════════════════════════════════════════════════════════════
   CALLOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.callout { background: var(--report-bg-page); border-radius: 6px; padding: 14px 18px; margin: 14px 0; }
.callout strong { font-size: var(--t-body); font-weight: 600; letter-spacing: 1.2px; color: var(--report-ink); display: block; margin-bottom: 6px; }
.callout p { font-size: var(--t-body); line-height: var(--t-body-lh); color: var(--report-ink); }
.callout > strong { font-size: var(--t-body); font-weight: 600; letter-spacing: 1.2px; color: var(--report-ink); display: block; margin-bottom: 6px; }
.callout > strong + *, .callout > strong ~ p { font-size: var(--t-body); line-height: var(--t-body-lh); color: var(--report-ink); }
.callout.analyst { background: var(--report-ink); }
.callout.analyst strong { color: rgba(255,255,255,0.45); }
.callout.analyst p { color: rgba(255,255,255,0.88); }

.callout-stat {
  background: var(--report-bg-page);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.callout-stat-number {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--report-ink);
  letter-spacing: -1px;
}

.callout-stat-label {
  font-size: var(--t-body);
  color: var(--report-ink);
  line-height: 1.5;
  margin-top: 6px;
}


/* ═══════════════════════════════════════════════════════════════════════════
   DEAL LIST
   ═══════════════════════════════════════════════════════════════════════════ */

.deal-list { display: flex; flex-direction: column; }
.deal-item { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: baseline; padding: 12px 0; border-bottom: 0.75px solid var(--report-border); }
.deal-item:last-child { border-bottom: none; }
.deal-year { font-size: var(--t-heading); font-weight: var(--t-heading-wt); color: var(--t-heading-color); padding-right: 5px; }
.deal-title { font-size: var(--t-heading); font-weight: var(--t-heading-wt); color: var(--t-heading-color); margin-bottom: 4px; }
.deal-body { font-size: var(--t-body); font-weight: var(--t-body-wt); line-height: var(--t-body-lh); color: var(--report-ink); margin-bottom: 4px; }
.deal-type { font-size: var(--t-heading); font-weight: var(--t-heading-wt); letter-spacing: .5px; color: var(--t-heading-color); }
.deal-amt { font-size: var(--t-heading); font-weight: var(--t-heading-wt); color: var(--t-heading-color); text-align: right; padding-top: 2px; line-height: var(--t-body-lh); word-break: break-word; }


/* ═══════════════════════════════════════════════════════════════════════════
   POWER / REG / TECH CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

.power-list { display: flex; flex-direction: column; gap: 10px; }
.power-item { border: 0.75px solid var(--report-border); border-radius: 6px; }
.power-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 0.75px solid var(--report-border); }
.power-name { font-size: var(--t-heading); font-weight: var(--t-heading-wt); color: var(--report-ink); }
.power-lev { font-size: var(--t-body); font-weight: 600; letter-spacing: .5px; white-space: nowrap; }
.power-lev.hi { color: var(--report-red); }
.power-lev.md { color: var(--report-amber); }
.power-lev.lo { color: var(--report-green); }
.power-body { padding: 10px 14px; font-size: var(--t-body); line-height: var(--t-body-lh); color: var(--report-ink); }

.reg-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 0; border: 0.75px solid var(--gray-dark); border-radius: 8px; overflow: hidden; }
.reg-item { border-bottom: 0.75px solid var(--gray-dark); }
.reg-item:last-child { border-bottom: none; }
.reg-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px 0 18px; }
.reg-name { font-size: var(--t-heading); font-weight: var(--t-heading-wt); color: var(--t-heading-color); line-height: var(--t-heading-lh); }
.reg-status { font-size: var(--t-heading); font-weight: var(--t-heading-wt); white-space: nowrap; color: var(--t-heading-color); }
.reg-item.hl .reg-name { color: var(--pink); font-weight: var(--t-heading-wt-bold); }
.reg-item.hl .reg-status { color: var(--pink); font-weight: var(--t-heading-wt-bold); }
.reg-status.active { color: var(--pink); }
.reg-body { padding: 14px 18px; }
.reg-text { font-size: var(--t-body); line-height: var(--t-body-lh); color: var(--report-ink); font-weight: var(--t-body-wt); margin-bottom: 20px; }
.reg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.reg-kv-key { font-size: var(--t-heading); font-weight: var(--t-heading-wt); color: var(--t-heading-color); line-height: var(--t-heading-lh); margin-bottom: 2px; }
.reg-kv-val { font-size: var(--card-source-size); color: var(--report-ink); font-weight: var(--card-source-weight); line-height: 1.5; }

.tech-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.tech-item { display: grid; grid-template-columns: 2px 1fr; gap: 12px; }
.tech-bar { background: var(--report-border); border-radius: 2px; }
.tech-bar.active { background: var(--report-ink); }
.tech-title { font-size: var(--t-heading); font-weight: var(--t-heading-wt-bold); color: var(--t-heading-color); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; line-height: var(--t-body-lh); }
.tech-tag { font-size: var(--t-body); font-weight: var(--t-body-wt); letter-spacing: .5px; color: var(--report-ink); }
.tech-body { font-size: var(--t-body); line-height: var(--t-body-lh); color: var(--report-ink); font-weight: var(--t-body-wt); }


/* ═══════════════════════════════════════════════════════════════════════════
   INTEL GRID
   ═══════════════════════════════════════════════════════════════════════════ */

.intel-grid,
.mi-intel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.intel-item,
.mi-intel-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  border-radius: 0;
}

.intel-num,
.mi-intel-num { font-size: var(--t-body); font-weight: var(--t-body-wt); color: var(--report-ink); padding-top: 0; letter-spacing: 0.04em; }

.intel-text,
.mi-intel-text { font-size: var(--t-body); line-height: var(--t-body-lh); color: var(--report-ink); font-weight: var(--t-body-wt); }

.intel-text strong,
.mi-intel-text strong { font-weight: var(--t-heading-wt-bold); }


/* ═══════════════════════════════════════════════════════════════════════════
   DATA TABLE
   ═══════════════════════════════════════════════════════════════════════════ */

.data-table { width: 100%; border-collapse: collapse; }
.data-table th { font-size: var(--t-heading); font-weight: var(--t-heading-wt); letter-spacing: 0.5px; color: var(--report-ink); padding: 7px 10px; border-bottom: 1.5px solid var(--report-ink); text-align: left; }
.data-table thead + tbody tr:first-child td { border-top: none; }
.data-table td { font-size: var(--t-body); color: var(--report-ink); padding: 8px 10px; border-bottom: 0.75px solid var(--gray-dark); vertical-align: top; }
.data-table td:first-child { color: var(--report-ink); }
.data-table tr:last-child td { border-bottom: none; }


/* ═══════════════════════════════════════════════════════════════════════════
   SOURCES
   ═══════════════════════════════════════════════════════════════════════════ */

.method-block { margin-bottom: 16px; }

.source-item { font-size: var(--t-small); line-height: 1.65; color: var(--report-ink); padding: 6px 0; border-bottom: 0.75px solid var(--gray-dark); }
.source-item:last-child { border-bottom: none; }
.source-item em { color: var(--report-ink); font-style: normal; font-weight: 500; }


/* ═══════════════════════════════════════════════════════════════════════════
   SCORECARD MATRIX
   ═══════════════════════════════════════════════════════════════════════════ */

.scorecard { width: 100%; border-collapse: collapse; }
.scorecard th { font-size: var(--t-heading); font-weight: var(--t-heading-wt); letter-spacing: 0.5px; color: var(--report-ink); padding: 6px 10px; text-align: left; border-bottom: 1.5px solid var(--report-ink); }
.scorecard td { font-size: var(--t-body); padding: 8px 10px; border-bottom: 0.75px solid var(--report-border); vertical-align: top; color: var(--report-ink); font-weight: var(--t-body-wt); line-height: var(--t-body-lh); }
.scorecard tr:last-child td { border-bottom: none; }
.scorecard .pip { display: inline-flex; gap: 2px; }
.scorecard .pip span { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-light); }
.scorecard .pip span.on { background: var(--gray-dark); }
.scorecard .row-rising .pip span.on { background: var(--pink); }
.scorecard .badge { display: inline-block; font-size: var(--t-small); font-weight: 400; letter-spacing: 0.5px; padding: 6px 16px; border-radius: 8px; border: 0.75px solid var(--report-ink); line-height: 1.3; }
.scorecard .badge.high   { background: var(--report-bg-page); color: var(--report-ink); }
.scorecard .badge.med    { background: var(--report-bg-page); color: var(--report-ink); }
.scorecard .badge.low    { background: var(--report-bg-page); color: var(--report-ink); }
.scorecard .badge.rising { background: var(--report-white); color: var(--report-ink); }
.scorecard .row-rising .badge.rising { border: 1px solid var(--pink); border-radius: var(--radius-full); }


/* ═══════════════════════════════════════════════════════════════════════════
   DONUT CHART
   ═══════════════════════════════════════════════════════════════════════════ */

.donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.donut-svg { display: block; }
.donut-legend { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.donut-legend-item { display: flex; align-items: center; gap: 8px; font-size: var(--t-small); color: var(--report-ink); }
.donut-swatch { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.donut-legend-label { flex: 1; }
.donut-legend-val { font-weight: 700; color: var(--report-ink); font-size: var(--t-small); }


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION ABOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.section-about { background: var(--report-bg-page); border-radius: 6px; padding: 12px 16px; margin-bottom: 24px; }
.section-about-label { font-size: var(--t-body); font-weight: 600; letter-spacing: 1.2px; color: var(--report-ink); margin-bottom: 4px; display: block; }
.section-about p { font-size: var(--t-body); line-height: 1.6; color: var(--report-ink); margin: 0; }

.section-chart-insight { display: grid; grid-template-columns: 3fr 2fr; gap: 32px; align-items: start; }
.section-chart-insight.equal { grid-template-columns: 1fr 1fr; }
.section-chart-insight.chart-wide { grid-template-columns: 2fr 1fr; }
.section-chart-insight .sci-insight { display: flex; flex-direction: column; gap: 16px; }


/* ═══════════════════════════════════════════════════════════════════════════
   MATRIX CELL CORNERS
   ═══════════════════════════════════════════════════════════════════════════ */

.matrix-cell-corner { position: relative; padding: 14px 12px; background: var(--gray-background); text-align: center; }
.matrix-cell-corner::before, .matrix-cell-corner::after { content: ''; position: absolute; width: 4px; height: 4px; background: var(--report-ink-35); border-radius: 50%; }
.matrix-cell-corner::before { top: -2px; left: -2px; }
.matrix-cell-corner::after  { top: -2px; right: -2px; }
.matrix-cell-corner .cell-corner-bl, .matrix-cell-corner .cell-corner-br { position: absolute; width: 4px; height: 4px; background: var(--report-ink-35); border-radius: 50%; }
.matrix-cell-corner .cell-corner-bl { bottom: -2px; left: -2px; }
.matrix-cell-corner .cell-corner-br { bottom: -2px; right: -2px; }


/* ═══════════════════════════════════════════════════════════════════════════
   CAPITAL BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.capital-bar-full { width: 100% !important; height: auto !important; border-radius: 6px !important; }
.capital-bar-full.open { width: 100% !important; border-radius: 6px 6px 0 0 !important; }


/* ═══════════════════════════════════════════════════════════════════════════
   COVER PAGE (paginated engine)
   ═══════════════════════════════════════════════════════════════════════════ */

.cover-bar { display: flex; align-items: center; gap: 18px; padding: 0 var(--report-pad) 0 0; height: 66px; border-bottom: none; flex-shrink: 0; }
.cover-bar-icon { width: 36px; height: 36px; flex-shrink: 0; margin-left: 15px; }
.cover-bar-label { font-size: var(--t-body); font-weight: 600; letter-spacing: 2px; color: var(--coral); }
.cover-gradient-area { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 0 var(--report-pad); }
.cover-gradient-content { text-align: right; max-width: 72%; }
.cover-kicker { font-size: var(--t-body); font-weight: 600; letter-spacing: 2.5px; color: rgba(255,255,255,0.75); margin-bottom: 12px; border-bottom: 0.75px solid rgba(255,255,255,0.35); padding-bottom: 8px; display: inline-block; }
.cover-headline { font-size: 36px; font-weight: 700; line-height: 1.12; color: var(--white); letter-spacing: -0.5px; }
.cover-foot { display: flex; justify-content: flex-end; padding: 0 var(--report-pad) 52px; }
.cover-meta { text-align: right; font-size: var(--t-body); color: rgba(255,255,255,0.8); line-height: 1.9; }
.cover-meta strong { color: var(--white); display: block; font-size: var(--t-body); font-weight: 600; }


/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--gradient-128);
}

.hero-wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-wave svg { width: 100%; height: 100%; display: block; }

.hero-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.hero-content { max-width: 800px; margin: 0 auto; width: 100%; padding: 0; box-sizing: border-box; position: relative; }
.hero-brand { margin-bottom: 20px; }
.hero-logo { display: flex; align-items: center; opacity: 0.8; }
.hero-bottom { padding-top: 0; }

.hero-kicker {
  color: rgba(255,255,255,1); margin-bottom: 8px; padding-bottom: 8px;
  border-bottom: 0.75px solid rgba(255,255,255,0.35); display: inline-block;
}

.hero-headline { font-size: var(--t-body); font-weight: 600; line-height: 1.15; color: var(--report-white); max-width: 800px; }
.hero-headline-sub { font-size: var(--text-5xl); font-weight: 600; opacity: 1; color: var(--report-white); display: block; margin-top: 4px; text-align: left; }
.hero-subtitle { font-size: var(--t-heading); font-weight: var(--t-heading-wt); letter-spacing: 1px; color: rgba(255,255,255,0.7); margin: 8px 0 0; }

.hero-meta { background: var(--white); padding: 10px var(--report-pad); display: flex; align-items: center; gap: 12px; border-bottom: 0.75px solid var(--report-border); flex-wrap: wrap; }
.hero-meta-label, .hero-meta-name, .hero-meta-date { font-size: var(--t-body); font-weight: 600; color: var(--report-ink); }
.hero-meta-sep { font-size: var(--t-body); font-weight: 600; color: var(--report-border); }
.hero-meta-scope { font-size: var(--t-body); color: var(--report-ink); font-style: italic; }


/* ═══════════════════════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════════════════════ */

@media print {
  .hero { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; height: 220px; margin-top: -40px; }
  .hero-headline-sub { font-size: 26px; }
  .page-wrap { margin-bottom: 0; page-break-after: always; }
  .page-label { display: none; }
  .page { box-shadow: none; width: 100%; height: auto; }
  .report-cta-btn { display: none; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   CTA PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.report-cta-page { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; padding: var(--report-pad); }
.report-cta-page .eyebrow { margin-bottom: 16px; }
.report-cta-page .section-title { max-width: 70%; margin-bottom: 24px; }
.report-cta-page .body { max-width: 60%; margin-bottom: 32px; }
.report-cta-btn { display: inline-block; background: var(--report-ink); color: var(--white); padding: 12px 32px; border-radius: 999px; font-size: var(--t-body); font-weight: 600; text-decoration: none; }


/* ═══════════════════════════════════════════════════════════════════════════
   FIXED TOC — Hamburger button + overlay panel
   ═══════════════════════════════════════════════════════════════════════════ */

.rpt-toc-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 0;
  text-align: right;
  pointer-events: none;
}

.rpt-toc-hamburger {
  position: relative;
  top: 16px;
  right: 16px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 0.75px solid var(--gray-dark);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--report-ink);
  transition: background 0.2s;
  pointer-events: auto;
}
.rpt-toc-hamburger:hover {
  background: rgba(255,255,255,0.85);
}

.rpt-toc-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.rpt-toc-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.rpt-toc-panel {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 280px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--report-white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  transform: translateY(-8px) scale(0.97);
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
}
.rpt-toc-overlay.open .rpt-toc-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.rpt-toc-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 0.75px solid var(--report-border);
}
.rpt-toc-panel-title {
  font-size: var(--t-body);
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--report-ink);
}
.rpt-toc-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--report-ink);
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rpt-toc-close:hover { color: var(--report-ink); }

.rpt-toc-nav {
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.rpt-toc-nav .rpt-sidebar-toc-item {
  display: block;
  padding: 8px 0;
  font-size: var(--t-body);
  font-weight: 400;
  color: var(--report-ink);
  text-decoration: none;
  transition: background 0.15s;
}
.rpt-toc-nav .rpt-sidebar-toc-item:hover {
  background: var(--report-bg-page);
  color: var(--pink);
}

@media print {
  .rpt-toc-hamburger,
  .rpt-toc-overlay { display: none; }
}