:root {
  --ink: #080b12;
  --ink-2: #121722;
  --paper: #f7f8fb;
  --white: #ffffff;
  --muted: #626a79;
  --muted-dark: #aab2c2;
  --line: #d9dde6;
  --line-dark: #2a3140;
  --blue: #154cff;
  --blue-dark: #0c35bd;
  --blue-soft: #e9efff;
  --blue-light: #8eabff;
  --max: 1280px;
  --radius: 0.35rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-width: 320px; background: var(--paper); color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1rem; line-height: 1.65; text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: .7rem 1rem; background: var(--blue); color: white; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(247,248,251,.95); }
.header-inner { min-height: 5.1rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; white-space: nowrap; }
.brand img { width: 111px; height: 30px; }
.brand-divider { height: 1.5rem; width: 1px; background: var(--line); }
.brand-project { font-size: .86rem; font-weight: 760; letter-spacing: -.02em; }
nav { display: flex; align-items: center; gap: 1.6rem; }
nav a { color: #3c4350; text-decoration: none; font-size: .83rem; font-weight: 680; }
nav a:hover, nav a:focus-visible, .text-link:hover { color: var(--blue); }
.hero { padding-block: clamp(5rem, 11vw, 9.5rem) clamp(4.5rem, 9vw, 7.5rem); }
.eyebrow { margin: 0 0 1.3rem; color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.052em; }
h1 { max-width: 11ch; font-size: clamp(3.6rem, 9vw, 8rem); line-height: .96; }
.lead { max-width: 800px; margin: 2rem 0 0; color: #343c4a; font-size: clamp(1.15rem, 2.1vw, 1.5rem); line-height: 1.55; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; margin-top: 2.2rem; color: var(--muted); font-size: .78rem; font-weight: 740; }
.hero-meta span::before { content: ""; display: inline-block; width: .42rem; height: .42rem; margin: 0 .6rem .08rem 0; border-radius: 50%; background: var(--blue); }
.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.section-heading { display: grid; grid-template-columns: minmax(12rem,.6fr) minmax(0,1.4fr); gap: 2rem; align-items: start; margin-bottom: 3rem; }
.section-heading .eyebrow { margin-top: .6rem; }
h2 { max-width: 17ch; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1.02; }
.measure { max-width: 760px; margin-left: min(20%, 15rem); }
.content p { margin: 0 0 1.2rem; color: #333b49; font-size: 1.08rem; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .eyebrow { color: var(--blue-light); }
.research-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.research-block h2 { font-size: clamp(2.7rem, 5vw, 4.7rem); }
blockquote { margin: 0; padding: .3rem 0 .3rem 1.5rem; border-left: 3px solid var(--blue); color: #e3e8f0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.4; }
.principles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principles article { min-height: 15rem; padding: 1.8rem 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.principle-no { color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
h3 { margin: 1.7rem 0 .7rem; font-size: 1.3rem; letter-spacing: -.02em; }
.principles p { max-width: 48ch; margin: 0; color: var(--muted); }
.archive-band { padding-block: clamp(3.5rem, 7vw, 6rem); background: var(--blue); color: var(--white); }
.archive-inner { display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.archive-band .eyebrow { color: white; }
.archive-band h2 { max-width: 14ch; font-size: clamp(2.5rem, 5vw, 4.3rem); }
.archive-band p:not(.eyebrow) { max-width: 57ch; color: #e1e8ff; }
.text-link { flex: 0 0 auto; color: white; font-size: .9rem; font-weight: 760; text-decoration-thickness: 1px; text-underline-offset: .28rem; }
.site-footer { background: #05070b; color: var(--muted-dark); }
.footer-inner { min-height: 5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .78rem; }
.footer-inner a { color: #e3e8f0; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.footer-author { font-weight: 760; }
@media (max-width: 760px) {
  .shell { width: min(calc(100% - 2rem), var(--max)); }
  .header-inner { min-height: 4.5rem; }
  nav { gap: .8rem; }
  nav a { font-size: .72rem; }
  .brand-project, .brand-divider { display: none; }
  .section-heading, .research-block { grid-template-columns: 1fr; gap: 1.2rem; }
  .measure { margin-left: 0; }
  .archive-inner { display: block; }
  .text-link { display: inline-block; margin-top: 1rem; }
}
@media (max-width: 520px) {
  nav a:first-child { display: none; }
  h1 { font-size: clamp(3.4rem, 16vw, 5.2rem); }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: auto; }
  .footer-inner { padding-block: 1.2rem; align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }


/* Research catalogue and report presentation */
.section-catalogue { background: #eef1f7; }
.catalogue-intro { max-width: 760px; margin: -1.2rem 0 2.5rem min(20%, 15rem); color: #4d5665; }
.analysis-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--white); }
.analysis-card { display: flex; flex-direction: column; min-height: 24rem; padding: 1.7rem 1.8rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.analysis-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; color: var(--muted); font-size: .69rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.analysis-card-meta span:first-child { color: var(--blue); }
.analysis-card h3 { margin: 1.8rem 0 .8rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.analysis-card h3 a { text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.analysis-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.analysis-card p { margin: 0 0 1.5rem; color: #4d5665; font-size: .92rem; line-height: 1.6; }
.analysis-card-links { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.analysis-card-links a, .report-source-links a { color: var(--blue-dark); font-size: .82rem; font-weight: 780; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.analysis-card-links a:hover, .report-source-links a:hover { color: var(--blue); }
.catalogue-placeholder { padding: 2rem; background: white; color: var(--muted); }

.design-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.design-grid article { padding: 1.6rem 1.8rem 1.8rem; background: white; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.design-grid h3 { margin: 0 0 .6rem; font-size: 1.12rem; }
.design-grid p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Individual report pages */
.report-intro { padding-block: clamp(3.7rem, 8vw, 6.6rem) 3rem; }
.report-intro h1 { max-width: 17ch; font-size: clamp(2.8rem, 6.5vw, 5.6rem); line-height: 1.02; }
.report-title-meta { max-width: 900px; margin: 1.5rem 0 0; color: #505969; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2.5vw, 1.8rem); line-height: 1.35; }
.report-source-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.8rem; }
.report-description { display: grid; grid-template-columns: minmax(0, .9fr) minmax(18rem, 1.1fr); gap: 3rem; padding-block: 2.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.report-description h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3.2vw, 3rem); }
.report-description-main > p:last-child { max-width: 58ch; color: #424b59; }
.report-facts { display: grid; gap: .9rem; margin: 0; }
.report-facts div { padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.report-facts dt { margin-bottom: .2rem; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.report-facts dd { margin: 0; color: #2f3744; font-size: .9rem; line-height: 1.55; }
.report-rendered { padding-block: 4rem 7rem; }
.report-rendered-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: baseline; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.report-rendered-heading .eyebrow { flex: 0 0 auto; }
.report-rendered-heading p:last-child { max-width: 650px; margin: 0; color: var(--muted); font-size: .85rem; }
.report-body { max-width: 900px; margin: 3.2rem auto 0; color: #202633; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; line-height: 1.78; overflow-wrap: anywhere; }
.report-body > :first-child { margin-top: 0; }
.report-body h1, .report-body h2, .report-body h3, .report-body h4, .report-body h5, .report-body h6 { max-width: none; margin: 2.7em 0 .75em; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 760; letter-spacing: -.035em; line-height: 1.2; }
.report-body h1 { font-size: 2.15rem; }
.report-body h2 { font-size: 1.75rem; }
.report-body h3 { font-size: 1.35rem; }
.report-body h4 { font-size: 1.15rem; }
.report-body p { margin: 0 0 1.25em; }
.report-body a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.report-body ul, .report-body ol { margin: 0 0 1.4em; padding-left: 1.6em; }
.report-body li { margin: .25em 0; padding-left: .15em; }
.report-body blockquote { margin: 1.7em 0; padding: .4em 0 .4em 1.2em; border-left: 3px solid var(--blue); color: #4c5564; font-family: Georgia, "Times New Roman", serif; font-size: 1.03em; }
.report-body table { width: 100%; margin: 1.8em 0 2.2em; border-collapse: collapse; display: block; overflow-x: auto; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .8rem; line-height: 1.5; }
.report-body thead { background: #e9edf5; }
.report-body th, .report-body td { min-width: 7rem; padding: .65rem .75rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.report-body th { font-weight: 780; }
.report-body tr:nth-child(even) td { background: #f3f5f9; }
.report-body pre { max-width: 100%; margin: 1.5em 0 2em; padding: 1.2rem; overflow: auto; background: #111722; color: #e9eef8; border-radius: var(--radius); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .79rem; line-height: 1.55; }
.report-body code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88em; }
.report-body :not(pre) > code { padding: .1em .3em; background: #e9edf5; border-radius: .2rem; color: #202b42; }
.report-body hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }
.report-body img { max-width: 100%; height: auto; }
.report-body .source-title-block { margin: 0 0 3rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); text-align: center; font-family: Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.55; }
.report-body .source-title { margin: 0 auto 1rem; max-width: 30em; font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; line-height: 1.2; }
.report-body .source-byline { margin: .6rem 0; color: #4b5564; font-size: 1rem; }
.report-body .source-author { margin: .7rem 0 .3rem; font-weight: 760; }
.report-body .source-title-detail { color: var(--muted); font-size: .88rem; }
.report-body .raw-tex-source { white-space: pre-wrap; }
.report-body .footnotes { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; }
.report-body .footnotes ol { padding-left: 1.3rem; }
@media (max-width: 760px) {
  .catalogue-intro { margin-left: 0; }
  .analysis-grid, .design-grid, .report-description { grid-template-columns: 1fr; }
  .analysis-card { min-height: 0; }
  .report-rendered-heading { display: block; }
  .report-rendered-heading p:last-child { margin-top: .4rem; }
  .report-body { margin-top: 2rem; font-size: 1rem; }
  .report-body table { font-size: .75rem; }
}


/* Sticky, responsive navigation shared by the catalogue and report pages. */
html { scroll-padding-top: 6rem; }
[id] { scroll-margin-top: 6rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 251, 0.96);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 5.1rem; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 1.35vw, 1.35rem);
}
.primary-nav > a,
.resource-trigger {
  color: #3c4350;
  font-size: .83rem;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav > a:hover,
.primary-nav > a:focus-visible,
.resource-trigger:hover,
.resource-trigger:focus-visible { color: var(--blue); }
.resource-nav {
  position: relative;
  display: flex;
  align-items: center;
}
.resource-trigger {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: 1.76rem 0 1.65rem;
  border: 0;
  background: transparent;
  color: #3c4350;
  cursor: pointer;
  font: inherit;
  font-size: .83rem;
  font-weight: 680;
  line-height: 1.2;
  white-space: nowrap;
}
.resource-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.mobile-resource-nav > summary::-webkit-details-marker,
.mobile-menu-toggle::-webkit-details-marker { display: none; }
.resource-chevron {
  width: .42rem;
  height: .42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.12rem) rotate(45deg);
  transition: transform 160ms ease;
}
.resource-nav:is(:hover, :focus-within, [data-open="true"]) > .resource-trigger .resource-chevron {
  transform: translateY(.08rem) rotate(225deg);
}
.resource-links {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  z-index: 110;
  display: grid;
  width: min(22rem, calc(100vw - 2rem));
  padding: .45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 18px 44px rgba(8, 11, 18, .14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(.3rem);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}
.resource-links::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -.55rem;
  height: .55rem;
}
.resource-nav:hover > .resource-links,
.resource-nav:focus-within > .resource-links,
.resource-nav[data-open="true"] > .resource-links {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.resource-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .72rem .82rem;
  border-radius: .2rem;
  color: var(--ink);
  font-size: .83rem;
  font-weight: 680;
  line-height: 1.35;
  text-decoration: none;
}
.resource-links a:hover,
.resource-links a:focus-visible {
  background: var(--blue-soft);
  color: var(--blue-dark);
  outline: none;
}
.mobile-menu { display: none; }

@media (max-width: 900px) {
  html { scroll-padding-top: 5.25rem; }
  [id] { scroll-margin-top: 5.25rem; }
  .header-inner { min-height: 4.5rem; }
  .primary-nav { display: none; }
  .mobile-menu {
    position: relative;
    display: block;
    flex: 0 0 auto;
  }
  .mobile-menu-toggle {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    list-style: none;
  }
  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: var(--ink);
    content: "";
  }
  .menu-icon { position: relative; }
  .menu-icon::before { position: absolute; transform: translateY(-.36rem); }
  .menu-icon::after { position: absolute; transform: translateY(.36rem); }
  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + .75rem);
    right: 0;
    z-index: 110;
    width: min(22rem, calc(100vw - 2rem));
    max-height: calc(100svh - 5.5rem);
    overflow-y: auto;
    padding: .55rem .8rem .8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .99);
    box-shadow: 0 18px 44px rgba(8, 11, 18, .14);
  }
  .mobile-menu-panel nav {
    display: grid;
    align-items: stretch;
    gap: 0;
  }
  .mobile-menu-panel nav > a {
    display: block;
    padding: .85rem .45rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: .92rem;
    font-weight: 720;
    text-decoration: none;
  }
  .mobile-menu-panel nav > a:hover,
  .mobile-menu-panel nav > a:focus-visible { color: var(--blue); }
  .mobile-resource-nav { border-bottom: 1px solid var(--line); }
  .mobile-resource-nav > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9rem .45rem;
    cursor: pointer;
    font-size: .92rem;
    font-weight: 760;
    list-style: none;
  }
  .mobile-resource-nav > summary::after {
    content: "+";
    color: var(--blue);
    font-size: 1.25rem;
    font-weight: 500;
  }
  .mobile-resource-nav[open] > summary::after { content: "−"; }
  .mobile-resource-links { display: grid; gap: .1rem; padding: 0 0 .55rem .6rem; }
  .mobile-resource-links a {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    padding: .68rem .55rem;
    border-left: 2px solid var(--line);
    color: #303846;
    font-size: .86rem;
    font-weight: 640;
    line-height: 1.35;
    text-decoration: none;
  }
  .mobile-resource-links a:hover,
  .mobile-resource-links a:focus-visible {
    border-left-color: var(--blue);
    background: var(--blue-soft);
    outline: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .resource-chevron { transition: none; }
}

/* Keep the first mobile navigation item visible on narrow screens. */
@media (max-width: 520px) {
  .mobile-menu-panel nav > a:first-child { display: block; }
}

/* Visually distinguish the partnership invitation from reference links. */
.resource-links a.partnership-link,
.mobile-resource-links a.partnership-link {
  margin-top: .28rem;
  border: 1px solid var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 760;
}
.resource-links a.partnership-link:hover,
.resource-links a.partnership-link:focus-visible,
.mobile-resource-links a.partnership-link:hover,
.mobile-resource-links a.partnership-link:focus-visible {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
}


/* Claude report: Chapter 8 is rendered as structured evidence records. */
.report-body .report-table-cards {
  display: grid;
  gap: 1.2rem;
  margin: 1.8em 0 2.2em;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
.report-body .report-table-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.report-body .report-table-card-header {
  display: flex;
  align-items: center;
  padding: .8rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: #e9edf5;
  color: var(--blue-dark);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}
.report-body .report-table-card-header p { margin: 0; }
.report-body .report-table-card-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.6rem;
  padding: .25rem 1.2rem 1rem;
}
.report-body .report-table-card-field {
  min-width: 0;
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.report-body .report-table-card-field-primary {
  grid-column: 1 / -1;
  margin: 0 -.2rem;
  padding: 1.05rem .2rem;
  border-bottom: 1px solid #cbd4e3;
}
.report-body .report-table-card-field > p:first-child {
  margin: 0 0 .45rem;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .065em;
  line-height: 1.45;
  text-transform: uppercase;
}
.report-body .report-table-card-field-primary > p:first-child {
  color: var(--blue-dark);
}
.report-body .report-table-card-field > :last-child { margin-bottom: 0; }
.report-body .report-table-card-field p { margin-top: 0; }
.report-body .report-table-card-field ul,
.report-body .report-table-card-field ol { margin-bottom: .6rem; }
@media (max-width: 760px) {
  .report-body .report-table-card-header { padding: .75rem 1rem; }
  .report-body .report-table-card-fields {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 1rem .8rem;
  }
  .report-body .report-table-card-field-primary { grid-column: auto; }
  .report-body .report-table-card-field { padding: .8rem 0; }
}


/* Per-report floating table of contents: tab opens an anchored, scrollable panel. */
.report-toc {
  position: fixed;
  top: 50%;
  left: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
}
.report-toc-toggle {
  display: flex;
  width: 2.75rem;
  min-height: 8rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: .9rem .45rem;
  border: 1px solid var(--blue-dark);
  border-left: 0;
  border-radius: 0 .4rem .4rem 0;
  background: var(--blue-dark);
  color: #fff;
  box-shadow: 0 8px 24px rgba(8, 11, 18, .16);
  cursor: pointer;
}
.report-toc-toggle:hover,
.report-toc-toggle:focus-visible {
  background: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.report-toc-toggle-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .75rem;
  font-weight: 780;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.report-toc-toggle-chevron {
  width: .45rem;
  height: .45rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
.report-toc[data-open="true"] .report-toc-toggle-chevron {
  transform: rotate(225deg);
}
.report-toc-panel {
  display: block;
  position: absolute;
  top: 50%;
  left: calc(100% + .55rem);
  width: min(23rem, calc(100vw - 3.4rem));
  max-height: min(78vh, 48rem);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 18px 48px rgba(8, 11, 18, .2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(.45rem, -50%);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}
.report-toc[data-open="true"] .report-toc-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%);
}
.report-toc-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .7rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
}
.report-toc-panel-header p {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.report-toc-close {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: .25rem;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}
.report-toc-close:hover,
.report-toc-close:focus-visible {
  border-color: var(--blue);
  color: var(--blue-dark);
  outline: none;
}
.report-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.report-toc-list .report-toc-list {
  margin: .12rem 0 .45rem .55rem;
  padding-left: .65rem;
  border-left: 1px solid var(--line);
}
.report-toc-item { margin: .08rem 0; padding: 0; }
.report-toc-item > a {
  display: block;
  padding: .36rem .45rem;
  border-radius: .2rem;
  color: #374151;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: .78rem;
  font-weight: 620;
  line-height: 1.42;
  text-decoration: none;
}
.report-toc-level-2 > a {
  color: var(--ink);
  font-weight: 780;
}
.report-toc-level-3 > a { font-size: .75rem; }
.report-toc-level-4 > a {
  color: var(--muted);
  font-size: .72rem;
}
.report-toc-item > a:hover,
.report-toc-item > a:focus-visible {
  background: var(--blue-soft);
  color: var(--blue-dark);
  outline: none;
}
.report-body h2[id],
.report-body h3[id],
.report-body h4[id] { scroll-margin-top: 6.5rem; }
@media (max-width: 520px) {
  .report-toc-toggle { width: 2.5rem; min-height: 7rem; }
  .report-toc-panel {
    display: block !important;
    width: min(21rem, calc(100vw - 3.4rem));
    max-height: 76dvh;
    padding: .85rem;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .report-toc-panel > .report-toc-list {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    opacity: 1 !important;
    overflow: visible;
  }
  .report-toc-panel .report-toc-list .report-toc-item {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    width: 100%;
    height: auto;
    margin: .08rem 0;
    padding: 0;
    opacity: 1 !important;
  }
  .report-toc-panel .report-toc-item > a {
    display: block !important;
    visibility: visible !important;
    width: 100%;
    color: #374151;
    opacity: 1 !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  .report-toc-toggle-chevron,
  .report-toc-panel { transition: none; }
}
@media print {
  .report-toc { display: none !important; }
}
