/* Generated report page — editorial reading layout (contract §4/§5).
   Palette: burgundy #5D1E21, emerald #154230, gold #A6824A/#C9A45C,
   cream #E6E2DA, paper #FFFFFF, ink #101111, muted #6E675C. DM Sans. */

.report-page {
  background: #E6E2DA;
  color: #101111;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.report-content {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem);
  padding-inline: clamp(1.25rem, 6vw, 4rem);
}

/* Breadcrumbs */
.report-content .report-breadcrumbs,
.native-report-shell .report-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: #6E675C;
  font-size: 0.86rem;
  font-weight: 500;
}

.report-content .report-breadcrumbs a,
.native-report-shell .report-breadcrumbs a {
  color: #5D1E21;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease;
}

.report-content .report-breadcrumbs a:visited,
.native-report-shell .report-breadcrumbs a:visited { color: #A6824A; }

.report-content .report-breadcrumbs a:hover,
.native-report-shell .report-breadcrumbs a:hover { color: #3E1215; }

/* Cover ------------------------------------------------------------------- */
.report-content .report-cover {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.report-content .report-cover--image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.report-content .report-cover--generated {
  display: flex;
  align-items: flex-end;
  min-height: clamp(11rem, 34vw, 20rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid rgba(166, 130, 74, 0.4);
  border-radius: 2px;
}

.report-content .report-cover__inner { max-width: 40ch; }

.report-content .report-cover__kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.report-content .report-cover__title {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* Generated cover identities */
.report-content .report-cover--eclipse {
  background: #5D1E21;
  border-color: rgba(201, 164, 92, 0.5);
}
.report-content .report-cover--eclipse .report-cover__kicker { color: #C9A45C; }
.report-content .report-cover--eclipse .report-cover__title { color: #F3EFE7; }

.report-content .report-cover--nova {
  background: #154230;
  border-color: rgba(201, 164, 92, 0.5);
}
.report-content .report-cover--nova .report-cover__kicker { color: #C9A45C; }
.report-content .report-cover--nova .report-cover__title { color: #F3EFE7; }

.report-content .report-cover--platform {
  background: #EAE6DC;
  border-color: rgba(166, 130, 74, 0.45);
}
.report-content .report-cover--platform .report-cover__kicker { color: #8A6A38; }
.report-content .report-cover--platform .report-cover__title { color: #101111; }

.report-content .report-cover--neutral {
  background: #101111;
  border-color: rgba(166, 130, 74, 0.4);
}
.report-content .report-cover--neutral .report-cover__kicker { color: #A6824A; }
.report-content .report-cover--neutral .report-cover__title { color: #E6E2DA; }

/* Header ------------------------------------------------------------------ */
.report-content .report-heading {
  max-width: 42rem;
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
  border-bottom: 1px solid rgba(166, 130, 74, 0.38);
}

.report-content .report-kicker {
  margin: 0 0 1rem;
  color: #5D1E21;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.report-content h1 {
  max-width: 20ch;
  margin: 0;
  color: #101111;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-wrap: balance;
}

.report-content .report-deck {
  max-width: 60ch;
  margin: 1.5rem 0 0;
  color: #3E1215;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
}

.report-content .report-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  color: #6E675C;
  font-size: 0.9rem;
}

.report-content .report-meta-line li {
  display: flex;
  gap: 0.4rem;
  align-items: baseline;
  margin: 0;
}

.report-content .report-meta-label {
  color: #101111;
  font-weight: 600;
}

.report-content .report-actions { margin: 1.5rem 0 0; }

.report-content .report-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid #5D1E21;
  border-radius: 2px;
  color: #5D1E21;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.report-content .report-pdf-link::before {
  content: "\2193";
  font-weight: 700;
}

.report-content .report-pdf-link:hover {
  background: #5D1E21;
  color: #F3EFE7;
}

/* Table of contents ------------------------------------------------------- */
.report-content .report-toc {
  max-width: 42rem;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: 1.5rem 1.75rem;
  background: #FFFFFF;
  border: 1px solid rgba(166, 130, 74, 0.28);
  border-radius: 2px;
}

.report-content .report-toc__title {
  margin: 0 0 0.85rem;
  color: #6E675C;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.report-content .report-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.report-content .report-toc a {
  color: #5D1E21;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.report-content .report-toc a:hover {
  color: #3E1215;
  text-decoration: underline;
}

/* Sections ---------------------------------------------------------------- */
.report-content .report-sections {
  max-width: 44rem;
}

.report-content [data-report-section] {
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid rgba(166, 130, 74, 0.24);
  scroll-margin-top: 1.5rem;
}

.report-content [data-report-section] h2 {
  margin: 0 0 1.25rem;
  color: #5D1E21;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

.report-content [data-report-section] h3,
.report-content [data-report-section] h4,
.report-content [data-report-section] h5,
.report-content [data-report-section] h6 {
  margin: 2rem 0 0.75rem;
  color: #101111;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
}

.report-content [data-report-section] p,
.report-content [data-report-section] li {
  max-width: 70ch;
  color: #101111;
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.report-content [data-report-section] ul,
.report-content [data-report-section] ol {
  padding-left: 1.4rem;
}

.report-content [data-report-section] li { margin: 0.4rem 0; }

.report-content [data-report-section] a {
  color: #5D1E21;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease;
}

.report-content [data-report-section] a:hover { color: #3E1215; }

/* Blockquotes */
.report-content [data-report-section] blockquote {
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-left: 3px solid #A6824A;
  color: #3E1215;
  font-family: "Times New Roman MT", "Times New Roman", Times, serif;
  font-size: 1.2rem;
  line-height: 1.5;
}

.report-content [data-report-section] blockquote p { max-width: 60ch; }

/* Figures */
.report-content [data-report-section] figure {
  margin: 2rem 0;
}

.report-content [data-report-section] figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

.report-content [data-report-section] figcaption {
  margin-top: 0.75rem;
  color: #6E675C;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Standalone images */
.report-content [data-report-section] > img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

/* Tables — wrapped at render time in .report-table-scroll */
.report-content .report-table-scroll {
  margin: 1.5rem 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.report-content [data-report-section] table {
  width: 100%;
  min-width: 32rem;
  margin: 0;
  border-collapse: collapse;
  background: #FFFFFF;
  font-size: 0.94rem;
}

.report-content [data-report-section] caption {
  margin-bottom: 0.6rem;
  color: #6E675C;
  font-size: 0.9rem;
  text-align: left;
}

.report-content [data-report-section] th,
.report-content [data-report-section] td {
  padding: 0.8rem;
  border: 1px solid rgba(166, 130, 74, 0.28);
  text-align: left;
  vertical-align: top;
}

.report-content [data-report-section] th {
  color: #3E1215;
  font-weight: 700;
}

.report-content [data-report-section] code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.report-content [data-report-section] pre {
  margin: 1.5rem 0;
  padding: 1rem;
  overflow-x: auto;
  background: #FFFFFF;
  border: 1px solid rgba(166, 130, 74, 0.28);
}

.report-content [data-report-section]:last-child { border-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .report-content .report-breadcrumbs a,
  .native-report-shell .report-breadcrumbs a,
  .report-content [data-report-section] a,
  .report-content .report-pdf-link { transition-duration: 0s; }
}
