:root {
  color-scheme: light;
  --bg: #fff;
  --accent-bg: #f6f6f4;
  --text: #292929;
  --text-light: #6a6a66;
  --border: #d8d8d2;
  --accent: #245b8a;
  --accent-hover: #173f62;
  --report-serif: Georgia, "Times New Roman", serif;
  --report-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

html {
  scroll-padding-top: 2rem;
}

body {
  display: grid;
  grid-template-columns: 1fr min(76rem, calc(100% - 2rem)) 1fr;
  background: var(--bg);
  color: var(--text);
  font-family: var(--report-sans);
  font-size: 1rem;
  line-height: 1.7;
}

img,
video {
  opacity: 1;
}

body > header {
  padding: 0 1rem 2.75rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  text-align: left;
}

body > header nav,
body > header h1,
body > header p {
  width: min(70rem, 100%);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

body > header nav {
  padding-top: 1rem;
  color: var(--text-light);
  font-size: 0.8rem;
}

body > header nav a,
body > header nav a:visited {
  margin-right: 1rem;
  padding: 0;
  border: 0;
  color: var(--text-light);
  text-decoration: none;
}

body > header nav a:hover {
  background: transparent;
  color: var(--accent);
}

body > header h1 {
  max-width: 54rem;
  margin-top: 3.25rem;
  margin-bottom: 0.8rem;
  font-family: var(--report-serif);
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

body > header p {
  max-width: 48rem;
  margin-top: 0;
  margin-bottom: 0;
  color: var(--text-light);
  font-family: var(--report-serif);
  font-size: 1.15rem;
  line-height: 1.5;
}

main {
  padding-top: 0;
}

.report-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(70rem, 100%);
  margin: 0 auto;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-meta p,
.report-byline {
  margin: 0;
}

.report-byline {
  display: flex;
  gap: 0.65rem;
}

.report-layout {
  display: grid;
  grid-template-columns: 16rem minmax(0, 48rem);
  gap: 3.5rem;
  justify-content: center;
  width: min(70rem, 100%);
  margin: 0 auto;
  padding-top: 3.25rem;
}

.report-toc {
  position: sticky;
  top: 2rem;
  align-self: start;
  float: none;
  width: 100%;
  max-height: calc(100vh - 4rem);
  margin: 0;
  margin-inline-start: 0;
  padding: 0 0.5rem 0 0;
  overflow-y: auto;
  border: 0;
  background: transparent;
  font-size: 0.84rem;
  line-height: 1.5;
}

.toc-label {
  margin: 0 0 0.8rem;
  color: var(--text);
  font-weight: 600;
}

.report-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-toc li {
  margin: 0 0 0.7rem;
}

.report-toc li li {
  display: none;
}

.report-toc a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
}

.report-toc a:hover {
  color: var(--accent);
}

.report-article {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.report-article > :first-child {
  margin-top: 0;
}

.report-article h2,
.report-article h3 {
  color: var(--text);
  font-family: var(--report-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.report-article h2 {
  margin-top: 4.5rem;
  margin-bottom: 1rem;
  padding-top: 0.25rem;
  font-size: 2rem;
  line-height: 1.2;
}

.report-article h3 {
  margin-top: 2.75rem;
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.report-article p {
  margin: 1.15rem 0;
}

.report-article a {
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.15em;
}

.report-article strong {
  color: #202020;
}

.report-article blockquote {
  margin: 2rem 0;
  padding: 0.1rem 0 0.1rem 1.1rem;
  border-left: 2px solid var(--accent);
  color: #3b3b38;
  font-family: var(--report-serif);
  font-size: 1.15rem;
  font-style: normal;
  line-height: 1.55;
}

.report-article blockquote p {
  margin: 0;
}

.report-article pre {
  margin: 1.75rem 0;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fafaf8;
  color: #3f3f3c;
  font-size: 0.82rem;
  line-height: 1.55;
}

.report-article .highlight pre,
.report-article .highlight code,
.report-article .highlight span {
  background: #fafaf8 !important;
  color: #3f3f3c !important;
}

.report-article code {
  font-size: 0.9em;
}

.report-article p code,
.report-article li code {
  padding: 0.06rem 0.2rem;
  background: #f2f2ef;
  color: #353532;
}

.equation {
  margin: 1.8rem 0;
  color: #222;
  font-family: var(--report-serif);
  font-size: 1.35rem;
  text-align: center;
}

.report-article table {
  width: 100%;
  margin: 1.75rem 0 2rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.report-article th {
  border: 0;
  border-bottom: 1px solid #777;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  text-align: left;
}

.report-article td {
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.report-article th,
.report-article td {
  padding: 0.55rem 0.5rem;
}

.report-figure,
.rollout-media {
  width: 100%;
  margin: 2.25rem 0;
}

.report-figure img,
.rollout-media video {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.report-figure figcaption,
.rollout-media figcaption {
  margin-top: 0.6rem;
  color: var(--text-light);
  font-size: 0.78rem;
  line-height: 1.45;
}

.video-placeholder {
  display: grid;
  min-height: 10rem;
  place-content: center;
  padding: 1.5rem;
  border: 1px dashed #aaa;
  background: #fafaf8;
  color: var(--text-light);
  text-align: center;
}

.video-placeholder strong {
  color: var(--text);
  font-family: var(--report-serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.video-placeholder span,
.video-placeholder code {
  margin-top: 0.35rem;
  font-size: 0.72rem;
}

.video-icon {
  display: none;
}

.references {
  padding-left: 1.3rem;
  font-size: 0.84rem;
}

.references li {
  margin-bottom: 0.7rem;
}

body > footer {
  width: min(70rem, 100%);
  margin: 4rem auto 0;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  text-align: left;
}

@media (max-width: 900px) {
  body {
    grid-template-columns: 1fr min(100% - 2rem, 48rem) 1fr;
  }

  .report-layout {
    display: block;
    padding-top: 2rem;
  }

  .report-toc {
    position: static;
    max-height: none;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
  }

}

@media (max-width: 600px) {
  body {
    grid-template-columns: 1rem minmax(0, 1fr) 1rem;
  }

  body > header {
    padding-bottom: 2rem;
  }

  body > header h1 {
    margin-top: 2.5rem;
    font-size: 2.65rem;
  }

  .report-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .report-article table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .report-toc,
  body > header nav {
    display: none;
  }

  .report-layout {
    display: block;
  }
}
