:root {
  --cgr-navy: #0f2140;
  --cgr-navy-2: #172b50;
  --cgr-paper: #f7f4ee;
  --cgr-surface: #ffffff;
  --cgr-gold: #c8a96a;
  --cgr-gold-dark: #806b43;
  --cgr-ink: #202632;
  --cgr-muted: #687080;
  --cgr-border: #ded8cc;
  --shadow: 0 18px 50px rgba(15, 33, 64, 0.18);
  --sidebar-width: 320px;
  --topbar-height: 58px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--cgr-ink);
  background: var(--cgr-paper);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--cgr-navy-2);
  outline-offset: 3px;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 40;
  top: 12px;
  left: 12px;
  padding: 10px 12px;
  color: var(--cgr-navy);
  background: var(--cgr-gold);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  height: var(--topbar-height);
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--cgr-border);
  backdrop-filter: blur(12px);
}

.icon-button {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--cgr-border);
  border-radius: 6px;
  color: var(--cgr-navy);
  background: var(--cgr-surface);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.icon-button:hover {
  border-color: var(--cgr-gold);
  background: #fbfaf6;
}

.icon-button:active {
  transform: translateY(1px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  color: var(--cgr-navy);
  font-weight: 800;
}

.brand-text {
  min-width: 0;
  overflow: hidden;
  color: var(--cgr-muted);
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-link {
  color: var(--cgr-navy);
  border-bottom: 2px solid var(--cgr-gold);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.pdf-link:hover {
  color: var(--cgr-gold-dark);
  border-bottom-color: currentColor;
}

.topbar-pdf {
  margin-left: auto;
  font-size: 13px;
  white-space: nowrap;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 18;
  background: rgba(15, 33, 64, 0.36);
  animation: fadeIn 0.18s ease-out;
}

.overlay[hidden] {
  display: none;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: min(var(--sidebar-width), 88vw);
  max-width: 100%;
  padding: 18px;
  overflow-y: auto;
  color: #ffffff;
  background:
    linear-gradient(rgba(15, 33, 64, 0.96), rgba(15, 33, 64, 0.98)),
    url("../assets/azulejo.svg") top 18px right -100px / 260px auto no-repeat,
    var(--cgr-navy);
  box-shadow: var(--shadow);
  transform: translateX(-105%);
  transition: transform 0.24s ease, visibility 0.24s ease;
  visibility: hidden;
}

.site-shell[data-sidebar-open="true"] .sidebar,
.site-shell.is-sidebar-open .sidebar {
  transform: translateX(0);
  visibility: visible;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.sidebar-header strong {
  min-width: 0;
}

.sidebar .icon-button {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
}

.sidebar .icon-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cgr-gold);
}

.sidebar :focus-visible {
  outline-color: var(--cgr-gold);
}

.search-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.search-input {
  width: 100%;
  min-height: 42px;
  padding: 11px 12px;
  margin-bottom: 10px;
  color: var(--cgr-ink);
  border: 0;
  border-radius: 6px;
  background: #ffffff;
  font: inherit;
}

.search-results {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.search-result,
.empty-results {
  display: block;
  padding: 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  animation: riseIn 0.16s ease-out;
}

.search-result {
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
}

.search-result:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(2px);
}

.search-result strong {
  display: block;
  line-height: 1.3;
}

.search-result span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.4;
}

.search-result em {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.search-result mark {
  padding: 0 2px;
  border-radius: 2px;
  color: var(--cgr-navy);
  background: #ffe56a;
}

.empty-results {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.chapter-nav {
  display: grid;
  gap: 8px;
}

.sidebar.is-searching .chapter-nav {
  display: none;
}

.sidebar.is-searching .sidebar-pdf {
  display: none;
}

.nav-group {
  min-width: 0;
}

.nav-item,
.nav-subitem {
  display: block;
  border-radius: 6px;
  overflow-wrap: anywhere;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 9px;
  font-weight: 700;
  line-height: 1.25;
}

.nav-chapter-number {
  color: var(--cgr-gold);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0;
}

.nav-item-plain {
  grid-template-columns: minmax(0, 1fr);
}

.nav-subitems {
  display: grid;
  gap: 3px;
  padding-left: 12px;
}

.nav-subitem {
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.35;
}

.nav-item:hover,
.nav-subitem:hover,
.nav-item.is-active,
.nav-subitem.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(2px);
}

.nav-item.is-active,
.nav-subitem.is-active {
  box-shadow: inset 3px 0 0 var(--cgr-gold);
}

.sidebar-pdf {
  display: inline-block;
  margin-top: 22px;
  color: #ffffff;
}

.main-content {
  min-width: 0;
}

.hero {
  position: relative;
  display: flex;
  min-height: 430px;
  align-items: center;
  overflow: hidden;
  padding: 52px 18px 64px;
}

.hero-pattern {
  position: absolute;
  top: 50%;
  right: -86px;
  width: min(520px, 82vw);
  aspect-ratio: 1;
  background: url("../assets/images/azulejo-portada.png") center / contain no-repeat;
  filter: none;
  opacity: 0.12;
  pointer-events: none;
  transform: translateY(-45%);
}

.hero-inner {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
}

.eyebrow,
.chapter-kicker {
  margin: 0;
  color: var(--cgr-gold-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  margin: 8px 0 14px;
  color: var(--cgr-navy);
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-summary {
  max-width: 680px;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.primary-action {
  color: #ffffff;
  background: var(--cgr-navy);
  border: 1px solid var(--cgr-navy);
}

.secondary-action {
  color: var(--cgr-navy);
  background: transparent;
  border: 1px solid var(--cgr-navy);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.primary-action:hover {
  background: var(--cgr-navy-2);
}

.secondary-action:hover {
  border-color: var(--cgr-gold-dark);
  color: var(--cgr-gold-dark);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}

.stat-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--cgr-border);
  border-top: 3px solid var(--cgr-gold);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
}

.stat-card strong {
  display: block;
  color: var(--cgr-navy);
  font-size: 26px;
  line-height: 1.1;
}

.stat-card span {
  display: block;
  margin-top: 4px;
  color: var(--cgr-muted);
  line-height: 1.4;
}

.stat-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 26px 0 18px;
}

.stat-column-card {
  position: relative;
  min-width: 0;
  padding: 0 0 22px;
  border-bottom: 2px solid #c7cde8;
  text-align: center;
}

.stat-column-banner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 14px 18px 26px;
  color: var(--cgr-navy);
  background: #c9c9de;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  font-size: 16px;
  line-height: 1.1;
  text-transform: uppercase;
}

.stat-column-card-blue .stat-column-banner {
  color: #fff;
  background: #8294cd;
}

.stat-column-banner span {
  display: block;
}

.stat-column-main {
  display: block;
  margin-top: -12px;
  color: #171322;
  font-size: clamp(58px, 19vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

.stat-column-card-blue .stat-column-main {
  color: #8294cd;
  text-shadow: none;
}

.stat-column-details {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.stat-column-detail span {
  display: block;
  color: #171322;
  font-size: 15px;
  line-height: 1.15;
  text-transform: uppercase;
}

.stat-column-detail strong {
  display: block;
  max-width: 260px;
  margin: 2px auto 0;
  color: #8294cd;
  font-size: clamp(28px, 10vw, 44px);
  line-height: 0.92;
}

.stat-column-detail-muted strong {
  color: #a8a8ad;
}

.stat-column-card-blue .stat-column-detail strong {
  color: #8294cd;
}

.stat-column-card-blue .stat-column-detail-compact strong {
  color: var(--cgr-navy);
  font-size: clamp(17px, 5.6vw, 21px);
  line-height: 1.2;
}

.stat-columns-compact {
  gap: 14px;
}

.stat-columns-compact .stat-column-card {
  padding-bottom: 8px;
  border-bottom: 0;
}

.stat-columns-compact .stat-column-banner {
  min-height: 64px;
  padding: 10px 14px 22px;
  font-size: 14px;
}

.stat-columns-compact .stat-column-main {
  margin-top: -8px;
  font-size: clamp(44px, 15vw, 58px);
}

.stat-columns-compact .stat-column-details {
  margin-top: 8px;
}

.stat-columns-compact .stat-column-detail-muted strong {
  color: #a8a8ad;
  font-size: clamp(24px, 7vw, 34px);
  line-height: 1.05;
}

.stat-columns-compact .stat-column-card-blue .stat-column-detail-muted strong {
  color: #a8a8ad;
}

.stat-columns-footer {
  margin: -4px 0 0;
  color: #8294cd;
  font-size: clamp(24px, 7vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
}

.total-badge {
  width: min(360px, 100%);
  margin: 28px auto 34px;
  padding: 0 0 16px;
  border-bottom: 2px solid #c7cde8;
  color: #181623;
  text-align: center;
}

.total-badge p {
  display: grid;
  min-height: 70px;
  margin: 0;
  place-items: center;
  padding: 12px 18px 24px;
  background: #c9c9de;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  font-size: 16px;
  line-height: 1.1;
  text-transform: uppercase;
}

.total-badge strong {
  display: block;
  margin-top: -12px;
  font-size: clamp(58px, 16vw, 76px);
  line-height: 0.95;
}

.total-badge span {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.15;
  text-transform: uppercase;
}

.content-region {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 70px;
}

.chapter {
  min-width: 0;
  padding: 28px 0;
  border-top: 1px solid var(--cgr-border);
  scroll-margin-top: calc(var(--topbar-height) + 18px);
}

.chapter h2 {
  margin: 6px 0 12px;
  color: var(--cgr-navy);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.chapter-summary,
.subchapter p,
.subchapter li {
  line-height: 1.65;
}

.chapter-summary {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--cgr-muted);
  font-size: 17px;
}

.subchapter {
  min-width: 0;
  padding: 18px 0;
  scroll-margin-top: calc(var(--topbar-height) + 18px);
}

.subchapter h3 {
  margin: 0 0 10px;
  color: var(--cgr-navy-2);
  font-size: 24px;
  line-height: 1.18;
}

.subchapter h4 {
  margin: 4px 0 8px;
  color: var(--cgr-navy);
  font-size: 18px;
  line-height: 1.25;
}

.section-heading {
  margin: 28px 0 14px;
  color: #6a6f78;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 800;
  line-height: 1.12;
}

.numbered-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 32px 0 18px;
}

.numbered-heading > span {
  color: #a9a9ad;
  font-size: clamp(42px, 12vw, 62px);
  font-weight: 900;
  line-height: 0.95;
}

.numbered-heading h3 {
  margin: 0;
  color: var(--cgr-navy);
  font-size: clamp(30px, 7vw, 44px);
  line-height: 0.98;
}

.numbered-heading .title-part-muted {
  color: #a9a9ad;
  font-weight: 400;
}

.case-header {
  margin: 22px 0 18px;
  color: #6a6f78;
  font-weight: 800;
  line-height: 1.05;
}

.case-header p {
  margin: 0;
  color: inherit;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.05;
}

.case-header strong {
  display: block;
  color: inherit;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.05;
}

.subchapter-authority > h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.subchapter ul {
  display: grid;
  gap: 14px;
  padding-left: 22px;
  line-height: 1.5;
}

.subchapter li::marker {
  color: #8294cd;
  font-size: 1.45em;
}

.content-stats {
  margin: 18px 0;
}

blockquote,
.case-study {
  margin: 18px 0;
  padding: 18px;
  border-left: 4px solid var(--cgr-gold);
  border-radius: 0 6px 6px 0;
  background: rgba(255, 255, 255, 0.7);
}

blockquote p,
.case-study p {
  margin: 0;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--cgr-muted);
  font-style: normal;
  font-weight: 700;
}

.case-meta {
  margin: 0 0 4px;
  color: var(--cgr-muted);
  font-size: 13px;
}

.bar-chart,
.table-wrap,
.image-block,
.metric-hero-block,
.metric-list,
.definition-list,
.finding-list,
.capital-feature-grid,
.capital-pillars {
  margin: 18px 0;
}

.metric-hero-block {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 32px 18px 30px;
  overflow: hidden;
  text-align: center;
  background: #ffffff;
}

.metric-hero-block h4 {
  max-width: 380px;
  margin: 0;
  color: var(--cgr-navy);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.metric-hero-orbit {
  display: none;
}

.metric-hero-orbit span {
  position: absolute;
  inset: 18%;
  border-radius: inherit;
  background: #c2c9e1;
}

.metric-hero-orbit span:nth-child(2) {
  inset: 0;
  border: 34px solid rgba(122, 142, 199, 0.12);
  background: transparent;
}

.metric-hero-orbit span:nth-child(3) {
  display: none;
}

.metric-hero-value,
.metric-hero-total,
.metric-hero-label {
  margin: 0;
  color: var(--cgr-navy);
  font-weight: 800;
  text-transform: uppercase;
}

.metric-hero-value {
  margin-top: 10px;
  padding: 16px 20px 8px;
  color: var(--cgr-navy);
  background: #c2c9e1;
  border-top: 18px solid #e2e2e0;
  border-bottom: 18px solid #e2e2e0;
  font-size: clamp(54px, 16vw, 86px);
  line-height: 0.95;
}

.metric-hero-total {
  font-size: 24px;
  line-height: 1;
}

.metric-hero-label {
  max-width: 320px;
  margin-top: 18px;
  color: #6177b5;
  font-size: 19px;
  line-height: 1.02;
}

.metric-hero-label::after {
  display: block;
  width: min(240px, 72vw);
  height: 14px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, #263b82 0 20%, #3f5da9 20% 40%, #6177b5 40% 60%, #8794c7 60% 80%, #c1c5da 80%);
  content: "";
}

.metric-list {
  display: grid;
  gap: 10px;
}

.metric-list-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 92px) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border-left: 4px solid var(--cgr-navy);
  background: #ffffff;
}

.metric-list-number {
  color: #8a96c8;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.metric-list-item strong {
  color: var(--cgr-navy);
  font-size: 28px;
  line-height: 1;
}

.metric-list-item p {
  margin: 0;
  color: var(--cgr-ink);
  font-weight: 700;
  line-height: 1.25;
}

.capital-feature-grid {
  display: grid;
  gap: 14px;
}

.capital-feature-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(130, 148, 205, 0.32);
  border-left: 6px solid #8794c7;
  background: #ffffff;
}

.capital-feature-index {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #ffffff;
  background: #8794c7;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.capital-feature-card h4 {
  margin: 0 0 8px;
  color: var(--cgr-navy);
  font-size: 22px;
  line-height: 1.02;
}

.capital-feature-card h4 span,
.capital-feature-card h4 small {
  display: block;
}

.capital-feature-card h4 small {
  color: #6177b5;
  font-size: 0.95em;
  font-weight: 800;
}

.capital-feature-card p {
  margin: 0;
  line-height: 1.45;
}

.capital-feature-card strong {
  color: #6177b5;
  font-weight: 900;
}

.capital-pillars {
  display: grid;
  gap: 20px;
}

.capital-pillar {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.capital-pillar-letter {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #d8d8f1;
  background: var(--cgr-navy);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.capital-pillar h4 {
  margin: 0 0 10px;
  color: #6177b5;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
}

.capital-pillar p {
  margin: 0;
  line-height: 1.45;
}

.capital-pillar strong {
  color: var(--cgr-ink);
  font-weight: 900;
}

.digital-section {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 28px 0;
}

.digital-section-number {
  color: #a8a8ad;
  font-size: clamp(46px, 13vw, 72px);
  font-weight: 900;
  line-height: 0.9;
}

.digital-section-body h4 {
  margin: 0 0 16px;
  color: #6177b5;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.12;
}

.digital-section-body p {
  margin: 0 0 16px;
  line-height: 1.45;
}

.rich-bullets {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.rich-bullets li {
  padding-left: 6px;
  line-height: 1.42;
}

.rich-bullets li::marker {
  color: var(--cgr-ink);
  font-size: 1.1em;
}

.rich-bullets strong {
  color: #25252a;
  font-weight: 900;
}

.comparison-columns {
  display: grid;
  gap: 16px;
  margin: 28px 0;
}

.comparison-columns > h4 {
  margin: 0;
  color: #9b96c8;
  font-size: clamp(24px, 3vw, 34px);
  text-align: center;
}

.comparison-column {
  border-bottom: 3px solid #9b96c8;
  background: #ffffff;
}

.comparison-column h5 {
  margin: 0;
  padding: 16px;
  color: #181623;
  background: #c7c2de;
  font-size: 18px;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.comparison-column-strong h5 {
  color: #ffffff;
  background: #8294cd;
}

.comparison-row {
  padding: 12px 14px;
  border-top: 2px solid #d6d5e8;
  text-align: center;
}

.comparison-row strong {
  display: block;
  color: #25252a;
  font-size: 16px;
  text-transform: uppercase;
}

.comparison-row p {
  margin: 4px 0 0;
  line-height: 1.25;
}

.process-row-block {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.process-row-block > h4 {
  margin: 0 0 4px;
  color: #9b96c8;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.process-row-total,
.status-total {
  justify-self: stretch;
  padding: 14px 18px 18px;
  color: #181623;
  background: #c7c2de;
  text-align: center;
}

.process-row-total span,
.status-total span {
  display: block;
  font-size: 16px;
  text-transform: uppercase;
}

.process-row-total strong,
.status-total strong {
  display: block;
  font-size: clamp(44px, 12vw, 72px);
  line-height: 0.95;
}

.process-row-entry {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  color: #181623;
}

.process-row-entry > span {
  display: grid;
  place-items: center;
  color: #181623;
  background: #c7c2de;
  font-size: 28px;
  font-weight: 900;
}

.process-row-entry-strong > span {
  color: #ffffff;
  background: #8294cd;
}

.process-row-entry > strong,
.process-row-entry > p {
  margin: 0;
  padding: 14px;
  background: #c7c2de;
}

.process-row-entry-strong > strong,
.process-row-entry-strong > p {
  color: #ffffff;
  background: #8294cd;
}

.process-row-entry > strong {
  display: grid;
  align-items: center;
  text-transform: uppercase;
}

.process-row-entry > p {
  grid-column: 2;
  line-height: 1.3;
}

.status-bars {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.status-bars > h4 {
  margin: 0;
  color: var(--cgr-navy);
  font-size: 24px;
  text-align: center;
}

.status-row {
  display: grid;
  gap: 8px;
}

.status-label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: baseline;
}

.status-label strong {
  color: var(--cgr-navy);
  font-size: 32px;
  line-height: 1;
}

.status-label span {
  font-weight: 800;
}

.status-label em {
  color: #6177b5;
  font-style: normal;
  font-weight: 900;
}

.status-track {
  height: 18px;
  overflow: hidden;
  background: #e6e3ee;
}

.status-track span {
  display: block;
  height: 100%;
  background: #2c3e83;
}

.status-row:nth-of-type(3) .status-track span {
  background: #6177b5;
}

.impact-rows {
  display: grid;
  gap: 20px;
  margin: 26px 0;
}

.impact-row {
  display: grid;
  gap: 14px;
}

.impact-row-metric {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  min-height: 104px;
  padding: 12px 12px 12px 0;
  border: 2px solid #4a5db1;
  border-left: 0;
}

.impact-row-metric strong {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  color: #ffffff;
  background: #465ab1;
  border-radius: 50%;
  font-size: clamp(34px, 9vw, 54px);
  font-weight: 900;
  line-height: 1;
  transform: translateX(-10px);
}

.impact-row-metric span {
  color: #8294cd;
  font-size: clamp(21px, 5vw, 29px);
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: normal;
  word-break: normal;
}

.impact-row p {
  margin: 0;
  line-height: 1.42;
}

.thematic-metrics {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.thematic-metric {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid rgba(74, 93, 177, 0.35);
}

.thematic-metric strong {
  color: #a9a9ad;
  font-size: clamp(18px, 4.6vw, 24px);
  font-weight: 900;
  line-height: 1.05;
}

.thematic-metric span {
  color: #465ab1;
  font-size: clamp(32px, 10vw, 44px);
  font-weight: 900;
  line-height: 0.95;
}

.thematic-metric p {
  margin: 0;
  font-size: clamp(16px, 3.8vw, 20px);
  line-height: 1.3;
}

.definition-list {
  display: grid;
  gap: 12px;
}

.definition-item {
  padding: 16px;
  border-left: 5px solid #8794c7;
  background: #ffffff;
}

.definition-item h4 {
  margin: 0 0 8px;
  color: var(--cgr-ink);
}

.definition-item p {
  margin: 0;
}

.dot-list {
  display: grid;
  gap: 18px;
  margin: 28px 0;
}

.dot-list > h4 {
  margin: 0 0 8px;
  color: #1f2027;
  font-size: clamp(22px, 5vw, 28px);
}

.dot-list-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.dot-list-item > span {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  border-radius: 50%;
  background: #8794d2;
}

.dot-list-item strong {
  display: block;
  color: #a9a9ad;
  font-size: clamp(19px, 4.8vw, 25px);
  line-height: 1.1;
}

.dot-list-item p {
  margin: 4px 0 0;
  line-height: 1.35;
}

.finding-list {
  display: grid;
  gap: 10px;
}

.finding-list > h4 {
  margin: 0 0 4px;
}

.finding-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-left: 4px solid #6177b5;
  background: #ffffff;
}

.finding-item > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: var(--cgr-navy);
  border-radius: 50%;
  font-weight: 800;
  line-height: 1;
}

.finding-item strong {
  display: block;
  color: var(--cgr-navy);
  line-height: 1.25;
}

.finding-item p {
  margin: 4px 0 0;
  line-height: 1.45;
}

.finding-item ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.finding-item li {
  line-height: 1.45;
}

.numbered-rows {
  display: grid;
  gap: 8px;
  margin: 24px 0;
}

.numbered-row {
  display: grid;
  grid-template-columns: 58px minmax(116px, 0.75fr) minmax(0, 1.6fr);
  align-items: stretch;
  gap: 10px;
  color: #181623;
}

.numbered-row:nth-child(even) {
  color: #fff;
}

.numbered-row-index,
.numbered-row-meta,
.numbered-row p {
  min-width: 0;
  margin: 0;
  background: #c9c9de;
}

.numbered-row:nth-child(even) .numbered-row-index,
.numbered-row:nth-child(even) .numbered-row-meta,
.numbered-row:nth-child(even) p {
  background: #8294cd;
}

.numbered-row-index {
  display: grid;
  place-items: center;
  clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.numbered-row-meta {
  display: grid;
  align-content: center;
  padding: 12px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.82);
  text-align: right;
}

.numbered-row-meta strong,
.numbered-row-meta span {
  display: block;
  font-weight: 900;
  line-height: 1.15;
}

.numbered-row p {
  padding: 12px 14px;
  line-height: 1.35;
}

.numbered-row p strong {
  display: block;
}

.forensic-summary {
  max-width: 520px;
  margin: 30px auto;
  color: #6a6f78;
  text-align: center;
}

.forensic-total {
  margin: 0 0 16px;
  color: #a8a8ad;
  font-size: clamp(30px, 6vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.forensic-group + .forensic-group {
  margin-top: 22px;
}

.forensic-group h4 {
  margin: 0 0 12px;
  color: #8294cd;
  font-size: 18px;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.forensic-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(90px, 1.1fr) 38px;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  text-align: right;
}

.forensic-row span {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.forensic-track {
  height: 28px;
}

.forensic-track i {
  display: block;
  height: 100%;
  background: #8294cd;
}

.forensic-row strong {
  color: #a8a8ad;
  font-size: 34px;
  line-height: 1;
}

.bar-chart {
  padding: 16px;
  border: 1px solid var(--cgr-border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.bar-chart h4,
.table-wrap h4 {
  margin: 0 0 14px;
  color: var(--cgr-navy);
  font-size: 18px;
  line-height: 1.25;
}

.bar-row + .bar-row {
  margin-top: 12px;
}

.bar-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--cgr-ink);
  font-weight: 700;
  line-height: 1.35;
}

.bar-label span {
  min-width: 0;
}

.bar-label strong {
  flex: 0 0 auto;
  color: var(--cgr-navy);
}

.bar-track {
  height: 10px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e1d4;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cgr-navy), var(--cgr-gold-dark));
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.74);
}

.data-table th,
.data-table td {
  padding: 10px 12px;
  border: 1px solid var(--cgr-border);
  line-height: 1.4;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: #ffffff;
  background: var(--cgr-navy);
}

.image-block {
  padding: 0;
}

.image-block img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--cgr-border);
  border-radius: 6px;
}

.image-block img[src*="assets/chapter06/sello-integridad"] {
  width: min(210px, 72vw);
  margin-inline: auto;
  border: 0;
  border-radius: 0;
}

.image-block img[src*="assets/chapter06/revista-"] {
  width: min(150px, 48vw);
  margin-inline: auto;
  border: 0;
  border-radius: 0;
}

.image-block img[src*="assets/chapter06/jovenes-360"] {
  width: min(360px, 82vw);
  margin-inline: auto;
  border: 0;
  border-radius: 0;
}

.image-block img[src*="assets/chapter07/"] {
  width: min(430px, 86vw);
  margin-inline: auto;
}

.image-block img[src*="assets/images/patrimonio-cultural-"] {
  width: min(100%, 760px);
  margin-inline: auto;
  object-fit: cover;
}

.image-block img[src*="assets/images/azulejo-portada"] {
  width: min(100%, 520px);
  margin-inline: auto;
  border: 0;
  border-radius: 0;
}

@media (min-width: 900px) {
  .image-block img[src*="assets/images/patrimonio-cultural-"] {
    width: min(100%, 420px);
  }

  .image-block img[src*="assets/images/patrimonio-cultural-1"] {
    width: min(100%, 320px);
  }

  .image-block img[src*="assets/images/azulejo-portada"] {
    width: min(100%, 360px);
  }
}

.image-block figcaption {
  margin-top: 8px;
  color: var(--cgr-muted);
  font-size: 13px;
  line-height: 1.4;
}

.chapter-cover {
  display: grid;
  gap: 34px;
  min-height: 360px;
  margin: 0 0 34px;
  padding: 110px 0 34px;
  background: #ffffff;
}

.chapter-cover-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 156px;
  padding: 28px;
  color: #ffffff;
  background: var(--cgr-navy);
}

.chapter-cover-band span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 76px;
  font-weight: 800;
  line-height: 0.9;
}

.chapter-cover-band strong {
  max-width: 300px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.18;
}

.chapter-cover-bars {
  display: grid;
  grid-template-columns: 0.55fr 1.1fr 0.55fr 0.55fr 0.65fr;
  width: min(470px, 68%);
  height: 18px;
  margin: auto;
}

.chapter-cover-bars span:nth-child(1) { background: #263b82; }
.chapter-cover-bars span:nth-child(2) { background: #4f67ad; }
.chapter-cover-bars span:nth-child(3) { background: #8192ca; }
.chapter-cover-bars span:nth-child(4) { background: #9a9cc2; }
.chapter-cover-bars span:nth-child(5) { background: #c7c7dd; }

.authority-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 36px;
  align-items: end;
  min-height: 560px;
  padding: 72px 46px 42px;
  overflow: hidden;
  background: #ffffff;
}

.authority-hero::before {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: 118px;
  background: var(--cgr-navy);
  content: "";
}

.authority-title {
  position: relative;
  z-index: 1;
  grid-column: 1;
  align-self: end;
  width: min(620px, 100%);
  padding: 0 0 0 76px;
  background: transparent;
}

.authority-title p {
  margin: 0 0 8px;
  color: #a9abb2;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  overflow-wrap: break-word;
}

.authority-title h4 {
  margin: 0;
  color: var(--cgr-navy);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.08;
  overflow-wrap: break-word;
}

.authority-hero figure {
  position: relative;
  z-index: 1;
  grid-column: 2;
  justify-self: end;
  width: 100%;
  margin: 0;
  text-align: center;
}

.authority-hero img {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
}

.authority-hero figcaption {
  margin-top: 12px;
  color: #2f3035;
  font-size: clamp(14px, 1.7vw, 18px);
  font-style: italic;
  font-weight: 800;
  line-height: 1.18;
}

.authority-hero figcaption strong,
.authority-hero figcaption span {
  display: block;
}

.letter-block {
  margin: 34px 0;
}

.letter-block h4 {
  margin: 0 0 24px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.12;
}

.title-part-dark {
  color: var(--cgr-navy);
}

.title-part-muted {
  color: #a9abb2;
}

.letter-copy {
  width: min(680px, 100%);
  margin-left: auto;
  padding: 0 0 0 34px;
  border-left: 5px double #91a6df;
  border-bottom: 5px double #91a6df;
  font-size: 20px;
  font-style: italic;
  line-height: 1.25;
}

.letter-copy p {
  margin: 0 0 24px;
  line-height: inherit;
}

.letter-signature {
  margin-top: 28px;
  padding: 0 0 22px;
  text-align: right;
}

.letter-signature p {
  margin: 0;
  font-weight: 800;
}

.process-steps,
.strategic-products {
  margin: 22px 0;
}

.process-intro {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.45;
}

.process-step-list {
  display: grid;
  gap: 10px;
}

.process-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  padding: 14px;
  color: var(--cgr-ink);
  background: #c7c7dd;
}

.process-step-strong {
  color: #ffffff;
  background: #3f5da9;
}

.process-step-number {
  display: grid;
  place-items: center;
  min-height: 58px;
  color: inherit;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.process-step h4 {
  margin: 0 0 6px;
  color: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.process-step p {
  grid-column: 1 / -1;
  margin: 0;
  line-height: 1.35;
}

.strategic-products {
  display: grid;
  gap: 10px;
}

.strategic-product {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.strategic-product span {
  display: grid;
  min-height: 78px;
  place-items: center;
  color: #ffffff;
  background: #a8aab0;
  font-size: 32px;
  font-weight: 800;
}

.strategic-product p {
  display: flex;
  align-items: center;
  min-height: 78px;
  margin: 0;
  padding: 16px;
  color: #ffffff;
  background: #3f5da9;
  line-height: 1.3;
}

.load-error {
  padding: 24px;
  color: #6b1f1f;
  background: #ffffff;
  border: 1px solid var(--cgr-border);
  border-left: 4px solid #a93e3e;
  border-radius: 6px;
  line-height: 1.5;
}

@media (min-width: 680px) {
  .hero {
    min-height: 500px;
    padding-block: 72px;
  }

  .hero-pattern {
    right: 4vw;
    width: min(640px, 56vw);
    opacity: 0.11;
  }

  h1 {
    font-size: 64px;
  }

  .chapter h2 {
    font-size: 42px;
  }

  .stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
  }

  .stat-columns-compact {
    gap: 16px;
  }

  .stat-columns-compact .stat-columns-footer {
    grid-column: 1 / -1;
  }

  .metric-hero-block {
    padding: 54px 28px 46px;
  }

  .metric-hero-block h4 {
    font-size: 42px;
  }

  .metric-hero-value {
    margin-top: 16px;
  }

  .metric-hero-total {
    font-size: 30px;
  }

  .metric-hero-label {
    margin-top: 22px;
    font-size: 25px;
  }

  .metric-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capital-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .capital-feature-card {
    min-height: 190px;
  }

  .capital-pillars {
    gap: 26px;
  }

  .capital-pillar {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
  }

  .capital-pillar-letter {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }

  .digital-section {
    grid-template-columns: 94px minmax(0, 680px);
    gap: 20px;
    margin: 42px 0;
  }

  .digital-section-body {
    max-width: 720px;
  }

  .comparison-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .comparison-columns > h4 {
    grid-column: 1 / -1;
  }

  .process-row-total,
  .status-total {
    justify-self: center;
    min-width: min(420px, 100%);
  }

  .process-row-entry {
    grid-template-columns: 72px minmax(180px, 0.8fr) minmax(0, 1.2fr);
  }

  .process-row-entry > p {
    grid-column: auto;
  }

  .impact-row {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    gap: 30px;
    align-items: center;
  }

  .impact-row-metric {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 132px;
    padding-right: 18px;
  }

  .impact-row-metric strong {
    width: 124px;
    height: 124px;
    font-size: 58px;
  }

  .impact-row-metric span {
    font-size: 30px;
  }

  .thematic-metric {
    grid-template-columns: minmax(130px, 0.6fr) 74px minmax(0, 1.55fr);
    gap: 16px;
    align-items: center;
    border-top: 0;
  }

  .thematic-metric strong {
    padding-right: 16px;
    border-right: 3px solid var(--cgr-navy);
    font-size: 22px;
    text-align: right;
  }

  .thematic-metric span {
    font-size: 42px;
  }

  .thematic-metric p {
    font-size: 18px;
  }

  .strategic-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
  }

}

@media (min-width: 900px) {
  .process-step {
    grid-template-columns: 76px minmax(150px, 220px) minmax(0, 1fr);
    align-items: center;
  }

  .process-step h4 {
    margin: 0;
    padding-right: 16px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    text-align: right;
  }

  .process-step:not(.process-step-strong) h4 {
    border-right-color: rgba(255, 255, 255, 0.9);
  }

  .process-step p {
    grid-column: auto;
  }
}

@media (min-width: 1024px) {
  .site-shell {
    display: grid;
    grid-template-columns: 0 minmax(0, 1fr);
    transition: grid-template-columns 0.24s ease;
  }

  .site-shell[data-sidebar-open="true"],
  .site-shell.is-sidebar-open {
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  }

  .topbar {
    grid-column: 1 / -1;
  }

  .sidebar {
    position: sticky;
    top: var(--topbar-height);
    z-index: 5;
    grid-column: 1;
    grid-row: 2;
    width: var(--sidebar-width);
    height: calc(100vh - var(--topbar-height));
    box-shadow: none;
    transform: translateX(-100%);
  }

  .site-shell[data-sidebar-open="true"] .sidebar,
  .site-shell.is-sidebar-open .sidebar {
    transform: translateX(0);
  }

  .main-content {
    grid-column: 2;
    grid-row: 2;
  }

  .overlay,
  .sidebar-close {
    display: none;
  }

  .hero {
    min-height: 540px;
    padding-inline: 46px;
  }

  .hero-pattern {
    right: 8vw;
    width: min(720px, 48vw);
  }

  h1 {
    font-size: 84px;
  }

  .chapter h2 {
    font-size: 52px;
  }
}

@media (max-width: 760px) {
  .authority-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 46px 22px 32px;
  }

  .authority-hero::before {
    width: 72px;
  }

  .authority-title,
  .authority-hero figure {
    grid-column: 1;
  }

  .authority-title {
    width: 100%;
    padding-left: 58px;
  }

  .authority-hero figure {
    justify-self: end;
    width: min(300px, 82vw);
  }
}

@media (max-width: 420px) {
  .topbar-pdf {
    max-width: 112px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .chapter-cover {
    min-height: 280px;
    padding-top: 64px;
  }

  .chapter-cover-band {
    gap: 12px;
    min-height: 120px;
    padding: 20px;
  }

  .chapter-cover-band span {
    font-size: 54px;
  }

  .chapter-cover-band strong {
    font-size: 20px;
  }

  .authority-hero {
    padding-top: 38px;
  }

  .authority-hero::before {
    width: 42px;
  }

  .authority-title {
    padding-left: 32px;
  }

  .authority-title p {
    font-size: 24px;
  }

  .authority-title h4 {
    font-size: 34px;
  }

  .letter-block h4 {
    font-size: 28px;
  }

  .letter-copy {
    padding-left: 20px;
    font-size: 18px;
  }
}

@media (max-width: 679px) {
  .table-wrap {
    overflow-x: visible;
  }

  .data-table {
    min-width: 0;
    background: transparent;
  }

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .data-table tr {
    margin: 0 0 12px;
    border: 1px solid var(--cgr-border);
    border-left: 4px solid var(--cgr-navy);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.78);
  }

  .data-table td {
    padding: 10px 12px;
    border: 0;
  }

  .data-table td + td {
    border-top: 1px solid var(--cgr-border);
  }

  .data-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--cgr-muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    content: attr(data-label);
  }

  .numbered-row {
    grid-template-columns: 54px 1fr;
    gap: 8px;
  }

  .numbered-row p {
    grid-column: 1 / -1;
  }

  .numbered-row-meta {
    text-align: left;
  }

  .forensic-row {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: left;
  }

  .forensic-track {
    height: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
