:root {
  --gi-ink: #17212b;
  --gi-muted: #52606c;
  --gi-line: #d5dde3;
  --gi-paper: #ffffff;
  --gi-soft: #f3f6f5;
  --gi-teal: #0f766e;
  --gi-teal-dark: #115e59;
  --gi-red: #a43838;
  --gi-blue: #2563a6;
  --gi-green: #39764f;
  --gi-gold: #b26a13;
  --gi-violet: #6755a5;
}

.gi-root {
  overflow-x: clip;
}

.gi-body {
  color: var(--gi-ink);
  letter-spacing: 0;
  overflow-x: clip;
}

.gi-page {
  width: min(1480px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 4rem;
  color: var(--gi-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: clip;
}

.gi-page h1,
.gi-page h2,
.gi-page h3,
.gi-page h4,
.gi-page p,
.gi-page li,
.gi-page dt,
.gi-page dd,
.gi-page summary,
.gi-page a,
.gi-page button {
  letter-spacing: 0;
}

.gi-breadcrumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  padding: 1rem 0;
  color: var(--gi-muted);
  font-size: 1rem;
}

.gi-breadcrumb a {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--gi-teal-dark);
  font-weight: 800;
}

.gi-breadcrumb svg {
  width: 1.1rem;
  height: 1.1rem;
}

.gi-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.7fr);
  background: var(--gi-paper);
  border-top: 6px solid var(--gi-teal);
  border-bottom: 1px solid var(--gi-line);
}

.gi-hero-copy {
  position: relative;
  padding: 2.5rem;
  border-right: 1px solid var(--gi-line);
}

.gi-kicker {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
  color: var(--gi-teal-dark);
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gi-kicker svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.gi-hero h1 {
  max-width: 14ch;
  margin: 0.8rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1.02;
}

.gi-lead {
  max-width: 88ch;
  margin: 1.25rem 0 0;
  color: var(--gi-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.78;
}

.gi-edition {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin-top: 1.3rem;
  color: #34424e;
  font-size: 0.95rem;
  font-weight: 720;
}

.gi-edition span {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}

.gi-edition svg {
  width: 1rem;
  height: 1rem;
  color: var(--gi-red);
}

.gi-hero .cgc-trigger {
  margin-top: 1.4rem;
}

.gi-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.gi-hero-metrics > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 148px;
  padding: 1.35rem;
  border-right: 1px solid var(--gi-line);
  border-bottom: 1px solid var(--gi-line);
}

.gi-hero-metrics > div:nth-child(2n) {
  border-right: 0;
}

.gi-hero-metrics > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.gi-hero-metrics dt,
.gi-live-metrics dt {
  color: var(--gi-muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gi-hero-metrics dd,
.gi-live-metrics dd {
  margin: 0.35rem 0 0;
  color: var(--gi-red);
  font-size: 2.25rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.gi-toc {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  margin: 1rem 0 0;
  padding: 0.55rem;
  background: #ffffff;
  border: 1px solid var(--gi-line);
  box-shadow: 0 5px 16px rgb(23 33 43 / 8%);
  scrollbar-width: thin;
}

.gi-toc a {
  flex: 0 0 auto;
  padding: 0.7rem 0.85rem;
  color: #33414d;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 780;
}

.gi-toc a:hover,
.gi-toc a:focus-visible {
  color: #ffffff;
  background: var(--gi-teal-dark);
  outline: 0;
}

.gi-content > section {
  scroll-margin-top: 5rem;
}

.gi-intro,
.gi-visuals,
.gi-chapter-results,
.gi-cumulative,
.gi-model,
.gi-reference,
.gi-sources,
.gi-changes {
  padding: 2.7rem 0;
  border-bottom: 1px solid var(--gi-line);
}

.gi-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1.2fr);
  gap: 0.4rem 3rem;
  align-items: end;
}

.gi-section-heading .gi-kicker {
  grid-column: 1 / -1;
}

.gi-section-heading h2 {
  margin: 0.45rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
  font-weight: 700;
  line-height: 1.12;
}

.gi-section-heading > p:last-child {
  margin: 0;
  color: var(--gi-muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.gi-reading-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gi-line);
  border-bottom: 1px solid var(--gi-line);
}

.gi-reading-path li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1.3rem;
  border-right: 1px solid var(--gi-line);
}

.gi-reading-path li:last-child {
  border-right: 0;
}

.gi-reading-path > li > span {
  color: var(--gi-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.gi-reading-path h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 850;
}

.gi-reading-path p {
  margin: 0.45rem 0 0;
  color: var(--gi-muted);
  font-size: 0.98rem;
  line-height: 1.67;
}

.gi-scope-note,
.gi-development {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.3rem 1.4rem;
  background: #eef6f4;
  border-left: 5px solid var(--gi-teal);
  border-bottom: 1px solid #bdd8d2;
}

.gi-scope-note > svg,
.gi-development > svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--gi-teal-dark);
}

.gi-scope-note h3,
.gi-development h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 850;
}

.gi-scope-note p,
.gi-development p {
  max-width: 110ch;
  margin: 0.35rem 0 0;
  color: #40505c;
  font-size: 1rem;
  line-height: 1.72;
}

.gi-live {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  margin: 1.6rem 0 0;
  color: #ffffff;
  background: #183f3d;
  border-left: 6px solid #d5a128;
}

.gi-live-copy {
  padding: 1.6rem;
  border-right: 1px solid rgb(255 255 255 / 18%);
}

.gi-live .gi-kicker {
  color: #d7f3ed;
}

.gi-live h2 {
  margin: 0.55rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.16;
}

.gi-live-copy > p:not(.gi-kicker) {
  margin: 0.7rem 0 0;
  color: #c8e2de;
  font-size: 1rem;
  line-height: 1.6;
}

.gi-refresh {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  min-height: 42px;
  margin-top: 1rem;
  padding: 0.65rem 0.9rem;
  color: #173d3a;
  background: #ffffff;
  border: 0;
  border-radius: 5px;
  font-size: 0.92rem;
  font-weight: 850;
  cursor: pointer;
}

.gi-refresh svg {
  width: 1.05rem;
  height: 1.05rem;
}

.gi-refresh[disabled] svg {
  animation: gi-spin 0.9s linear infinite;
}

@keyframes gi-spin {
  to { transform: rotate(360deg); }
}

.gi-live-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.gi-live-metrics > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 126px;
  padding: 1rem;
  border-right: 1px solid rgb(255 255 255 / 15%);
  border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.gi-live-metrics > div:nth-child(3n) {
  border-right: 0;
}

.gi-live-metrics > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.gi-live-metrics dt {
  color: #cce3df;
}

.gi-live-metrics dd {
  color: #ffffff;
  font-size: 1.7rem;
}

.gi-live-metrics small {
  margin-top: 0.2rem;
  color: #a9cbc5;
  font-size: 0.76rem;
}

.gi-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.gi-chart {
  min-width: 0;
  margin: 0;
  padding: 1.3rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--gi-line);
  border-top: 5px solid var(--gi-blue);
  border-radius: 6px;
}

.gi-chart:nth-child(2) {
  border-top-color: var(--gi-gold);
}

.gi-chart:nth-child(3) {
  border-top-color: var(--gi-green);
}

.gi-chart:nth-child(4) {
  border-top-color: var(--gi-violet);
}

.gi-chart-wide {
  grid-column: 1 / -1;
}

.gi-chart figcaption {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  min-height: 72px;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--gi-line);
}

.gi-chart figcaption > div {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.gi-chart figcaption span {
  color: var(--gi-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.gi-chart figcaption h3 {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 850;
}

.gi-chart figcaption > p {
  max-width: 64ch;
  margin: 0;
  color: var(--gi-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.gi-segmented {
  display: flex;
  gap: 0.25rem;
  width: max-content;
  max-width: 100%;
  margin: 1rem 0 0;
  padding: 0.25rem;
  background: #e9eef0;
  border-radius: 6px;
}

.gi-segmented button {
  min-height: 38px;
  padding: 0.5rem 0.75rem;
  color: #35424c;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.gi-segmented button.active {
  color: #ffffff;
  background: var(--gi-blue);
}

.gi-chapter-chart {
  min-height: 430px;
  margin-top: 1rem;
  overflow-x: auto;
}

.gi-chart-bars {
  display: grid;
  gap: 0.48rem;
  min-width: 800px;
}

.gi-chart-bar {
  display: grid;
  grid-template-columns: minmax(210px, 0.6fr) minmax(360px, 1.4fr) 86px;
  gap: 0.8rem;
  align-items: center;
  min-height: 31px;
}

.gi-chart-bar > span {
  overflow: hidden;
  color: #34414d;
  font-size: 0.85rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gi-chart-bar > i {
  height: 13px;
  overflow: hidden;
  background: #e3e9ed;
  border-radius: 3px;
}

.gi-chart-bar > i > b {
  display: block;
  width: var(--gi-width, 0%);
  height: 100%;
  background: var(--gi-blue);
  border-radius: 3px;
  transition: width 300ms ease;
}

.gi-chart-bar > strong {
  color: #24323d;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.gi-support-bars {
  display: grid;
  gap: 0.85rem;
  min-height: 370px;
  margin-top: 1rem;
}

.gi-support-bars > div {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(140px, 1.1fr) 28px;
  gap: 0.7rem;
  align-items: center;
}

.gi-support-bars span {
  overflow: hidden;
  font-size: 0.83rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gi-support-bars i {
  height: 12px;
  background: #ece8df;
  border-radius: 3px;
}

.gi-support-bars b {
  display: block;
  width: min(100%, var(--gi-support));
  height: 100%;
  background: var(--gi-gold);
  border-radius: 3px;
}

.gi-support-bars strong {
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}

.gi-scale-map {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.55rem;
  align-items: stretch;
  min-height: 370px;
  margin-top: 1rem;
}

.gi-scale-map > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0.8rem;
  text-align: center;
  background: #edf5ef;
  border-bottom: 4px solid var(--gi-green);
}

.gi-scale-map svg {
  width: 1.6rem;
  height: 1.6rem;
  margin: 0 auto 0.65rem;
  color: var(--gi-green);
}

.gi-scale-map strong {
  font-size: 1rem;
}

.gi-scale-map span {
  margin-top: 0.4rem;
  color: var(--gi-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.gi-scale-map > b {
  align-self: center;
  color: var(--gi-green);
  font-size: 1.2rem;
}

.gi-matrix-wrap {
  margin-top: 1rem;
  overflow-x: auto;
}

.gi-matrix {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
}

.gi-matrix th,
.gi-matrix td {
  height: 32px;
  border: 1px solid #e0e4e8;
}

.gi-matrix thead th:first-child,
.gi-matrix tbody th {
  width: 390px;
  padding: 0.4rem 0.55rem;
  color: #34414c;
  background: #f5f7f8;
  font-size: 0.78rem;
  font-weight: 780;
  text-align: left;
}

.gi-matrix thead th:not(:first-child) {
  width: 34px;
  color: var(--gi-muted);
  font-size: 0.72rem;
  text-align: center;
}

.gi-matrix td {
  background: #ffffff;
}

.gi-matrix td.active {
  background: var(--gi-violet);
  box-shadow: inset 0 0 0 5px #ece9f7;
}

.gi-chapter-jump {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.gi-chapter-jump a {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  color: #33424d;
  background: #ffffff;
  border: 1px solid var(--gi-line);
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 750;
}

.gi-chapter-jump a:hover {
  color: var(--gi-teal-dark);
  border-color: var(--gi-teal);
}

.gi-chapter-jump span {
  color: var(--gi-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 800;
}

.gi-chapter-insights {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.gi-chapter-insights > details {
  scroll-margin-top: 5.5rem;
  background: #ffffff;
  border: 1px solid var(--gi-line);
  border-left: 5px solid var(--gi-teal);
  border-radius: 5px;
}

.gi-chapter-insights > details:nth-child(4n + 2) {
  border-left-color: var(--gi-blue);
}

.gi-chapter-insights > details:nth-child(4n + 3) {
  border-left-color: var(--gi-gold);
}

.gi-chapter-insights > details:nth-child(4n) {
  border-left-color: var(--gi-violet);
}

.gi-chapter-insights summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 24px;
  gap: 1rem;
  align-items: center;
  min-height: 118px;
  padding: 1rem 1.2rem;
  cursor: pointer;
  list-style: none;
}

.gi-chapter-insights summary::-webkit-details-marker {
  display: none;
}

.gi-result-number {
  color: var(--gi-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 800;
}

.gi-result-title {
  display: grid;
  gap: 0.22rem;
}

.gi-result-title small {
  color: var(--gi-muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.gi-result-title strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.2;
}

.gi-result-title em {
  color: #475661;
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 520;
  line-height: 1.55;
}

.gi-chapter-insights summary > svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--gi-muted);
  transition: transform 180ms ease;
}

.gi-chapter-insights details[open] summary > svg {
  transform: rotate(180deg);
}

.gi-insight-body {
  padding: 0 1.25rem 1.25rem 5.85rem;
  border-top: 1px solid var(--gi-line);
}

.gi-guiding-question {
  display: grid;
  grid-template-columns: 24px 150px minmax(0, 1fr);
  gap: 0.6rem;
  align-items: start;
  margin: 1.2rem 0 0;
  color: #33424d;
  font-size: 1rem;
  line-height: 1.6;
}

.gi-guiding-question svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gi-blue);
}

.gi-analysis {
  max-width: 115ch;
  margin: 1rem 0 0;
  color: #2d3b46;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.82;
}

.gi-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.2rem 0 0;
  border-top: 1px solid var(--gi-line);
  border-bottom: 1px solid var(--gi-line);
}

.gi-reading-grid > div {
  padding: 1rem;
  border-right: 1px solid var(--gi-line);
}

.gi-reading-grid > div:last-child {
  border-right: 0;
}

.gi-reading-grid dt {
  color: var(--gi-teal-dark);
  font-size: 0.86rem;
  font-weight: 850;
}

.gi-reading-grid dd {
  margin: 0.45rem 0 0;
  color: #43515c;
  font-size: 0.96rem;
  line-height: 1.66;
}

.gi-reading-grid .gi-conclusion {
  background: #f0f5fb;
}

.gi-reading-grid .gi-conclusion dt {
  color: var(--gi-blue);
}

.gi-reading-grid .gi-conclusion dd {
  color: #22384f;
  font-weight: 720;
}

.gi-limit {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #faf4eb;
  border-left: 4px solid var(--gi-gold);
}

.gi-limit svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  color: var(--gi-gold);
}

.gi-limit p {
  margin: 0;
  color: #59493a;
  font-size: 0.94rem;
  line-height: 1.62;
}

.gi-limit strong {
  display: block;
  margin-bottom: 0.15rem;
}

.gi-result-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  margin-top: 1rem;
  color: var(--gi-muted);
  font-size: 0.82rem;
  font-weight: 720;
}

.gi-result-footer a {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  margin-left: auto;
  color: var(--gi-teal-dark);
  font-weight: 850;
}

.gi-result-footer svg {
  width: 1rem;
  height: 1rem;
}

.gi-cumulative-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.gi-cumulative-list > article {
  scroll-margin-top: 5.5rem;
  padding: 1.4rem;
  background: #ffffff;
  border: 1px solid var(--gi-line);
  border-top: 5px solid var(--gi-red);
  border-radius: 6px;
}

.gi-cumulative-list > article:nth-child(4n + 2) {
  border-top-color: var(--gi-blue);
}

.gi-cumulative-list > article:nth-child(4n + 3) {
  border-top-color: var(--gi-green);
}

.gi-cumulative-list > article:nth-child(4n) {
  border-top-color: var(--gi-violet);
}

.gi-cumulative-list article > header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
}

.gi-cumulative-list article > header > span {
  color: var(--gi-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  font-weight: 800;
}

.gi-cumulative-list header p {
  margin: 0;
  color: var(--gi-muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gi-cumulative-list h3 {
  margin: 0.18rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
}

.gi-thesis {
  max-width: 105ch;
  margin: 1rem 0 0 3.8rem;
  color: #263540;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 650;
  line-height: 1.75;
}

.gi-cumulative-flow {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr;
  gap: 0.7rem;
  align-items: stretch;
  margin-top: 1.2rem;
}

.gi-cumulative-flow > section {
  padding: 1rem;
  background: #f5f7f8;
  border-bottom: 4px solid #a5afb7;
}

.gi-cumulative-flow > section.result {
  background: #eef6f4;
  border-bottom-color: var(--gi-teal);
}

.gi-cumulative-flow > svg {
  align-self: center;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--gi-muted);
}

.gi-cumulative-flow h4 {
  margin: 0;
  color: var(--gi-teal-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

.gi-cumulative-flow p {
  margin: 0.45rem 0 0;
  color: #44525d;
  font-size: 0.94rem;
  line-height: 1.65;
}

.gi-cumulative-flow .result p {
  color: #233e3b;
  font-weight: 690;
}

.gi-cumulative-limit {
  margin: 0.9rem 0 0;
  color: #69533d;
  font-size: 0.9rem;
  line-height: 1.6;
}

.gi-cumulative-limit strong {
  margin-right: 0.55rem;
  color: var(--gi-gold);
}

.gi-cumulative-list article > footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.gi-cumulative-list footer a {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.42rem 0.6rem;
  color: #364651;
  background: #f3f6f7;
  border: 1px solid #dce2e6;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 750;
}

.gi-cumulative-list footer span {
  color: var(--gi-red);
  font-weight: 900;
}

.gi-model-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gi-line);
  border-left: 1px solid var(--gi-line);
}

.gi-model-flow li {
  min-height: 270px;
  padding: 1.15rem;
  background: #ffffff;
  border-right: 1px solid var(--gi-line);
  border-bottom: 1px solid var(--gi-line);
}

.gi-model-flow li > span {
  color: var(--gi-violet);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.gi-model-flow h3 {
  margin: 0.35rem 0 0;
  font-size: 1.08rem;
  font-weight: 850;
}

.gi-model-flow p {
  margin: 0.75rem 0 0;
  color: var(--gi-muted);
  font-size: 0.91rem;
  line-height: 1.58;
}

.gi-model-flow p strong {
  display: block;
  margin-bottom: 0.12rem;
  color: #273540;
}

.gi-model-flow .gi-model-output {
  color: #304e49;
  background: #eef6f4;
  padding: 0.55rem;
}

.gi-reference-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.gi-reference-layout > section > h3 {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
  font-weight: 850;
}

.gi-qa,
.gi-glossary {
  display: grid;
  gap: 0.55rem;
}

.gi-qa details,
.gi-glossary > div {
  background: #ffffff;
  border: 1px solid var(--gi-line);
  border-radius: 5px;
}

.gi-qa summary {
  padding: 0.95rem 1rem;
  color: #263641;
  font-size: 0.98rem;
  font-weight: 820;
  cursor: pointer;
}

.gi-qa p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--gi-muted);
  font-size: 0.96rem;
  line-height: 1.67;
}

.gi-glossary {
  margin: 0;
}

.gi-glossary > div {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.9rem 1rem;
}

.gi-glossary dt {
  color: var(--gi-teal-dark);
  font-size: 0.93rem;
  font-weight: 850;
}

.gi-glossary dd {
  margin: 0;
  color: var(--gi-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.gi-sources ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.gi-sources li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.9rem;
  background: #ffffff;
  border: 1px solid var(--gi-line);
  border-radius: 4px;
}

.gi-sources li > span {
  color: var(--gi-red);
  font-weight: 900;
}

.gi-sources cite {
  color: #2d3c47;
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.55;
}

.gi-sources li p {
  margin: 0.35rem 0 0;
  color: var(--gi-muted);
  font-size: 0.78rem;
}

.gi-sources li a {
  display: inline-flex;
  gap: 0.3rem;
  align-items: center;
  margin-top: 0.5rem;
  color: var(--gi-blue);
  font-size: 0.82rem;
  font-weight: 820;
}

.gi-sources li svg {
  width: 0.9rem;
  height: 0.9rem;
}

.gi-changes h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.gi-changes article {
  display: grid;
  grid-template-columns: 120px 120px minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gi-line);
}

.gi-changes strong {
  color: var(--gi-teal-dark);
}

.gi-changes time {
  color: var(--gi-muted);
}

.gi-changes p {
  margin: 0;
  color: var(--gi-muted);
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .gi-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  }

  .gi-hero h1 {
    font-size: 3.5rem;
  }

  .gi-section-heading {
    grid-template-columns: 1fr;
  }

  .gi-section-heading > p:last-child {
    margin-top: 0.55rem;
  }

  .gi-live {
    grid-template-columns: 1fr;
  }

  .gi-live-copy {
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
  }

  .gi-chapter-jump {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gi-cumulative-flow {
    grid-template-columns: 1fr;
  }

  .gi-cumulative-flow > svg {
    display: none;
  }

  .gi-model-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .gi-page {
    width: min(100% - 1rem, 1480px);
  }

  .gi-breadcrumb {
    overflow-x: auto;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .gi-hero {
    grid-template-columns: 1fr;
  }

  .gi-hero-copy {
    padding: 1.35rem 1.05rem;
    border-right: 0;
    border-bottom: 1px solid var(--gi-line);
  }

  .gi-hero h1 {
    font-size: 2.6rem;
  }

  .gi-lead {
    font-size: 1.08rem;
    line-height: 1.68;
  }

  .gi-hero-metrics > div {
    min-height: 112px;
    padding: 1rem;
  }

  .gi-hero-metrics dd {
    font-size: 1.7rem;
  }

  .gi-toc {
    position: static;
    top: 0;
  }

  .gi-intro,
  .gi-visuals,
  .gi-chapter-results,
  .gi-cumulative,
  .gi-model,
  .gi-reference,
  .gi-sources,
  .gi-changes {
    padding: 2rem 0;
  }

  .gi-section-heading h2 {
    font-size: 2rem;
  }

  .gi-reading-path,
  .gi-chart-grid,
  .gi-reference-layout,
  .gi-sources ol {
    grid-template-columns: 1fr;
  }

  .gi-reading-path li {
    border-right: 0;
    border-bottom: 1px solid var(--gi-line);
  }

  .gi-reading-path li:last-child {
    border-bottom: 0;
  }

  .gi-live-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gi-live-metrics > div:nth-child(3n) {
    border-right: 1px solid rgb(255 255 255 / 15%);
  }

  .gi-live-metrics > div:nth-child(2n) {
    border-right: 0;
  }

  .gi-live-metrics > div:nth-last-child(-n + 3) {
    border-bottom: 1px solid rgb(255 255 255 / 15%);
  }

  .gi-live-metrics > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .gi-chart-wide {
    grid-column: auto;
  }

  .gi-chart {
    padding: 1rem;
  }

  .gi-chart figcaption {
    display: grid;
    align-items: start;
  }

  .gi-segmented {
    width: 100%;
    overflow-x: auto;
  }

  .gi-segmented button {
    flex: 0 0 auto;
  }

  .gi-chapter-chart {
    overflow-x: visible;
  }

  .gi-chart-bars {
    min-width: 0;
  }

  .gi-chart-bar {
    grid-template-columns: minmax(0, 1.05fr) minmax(85px, 0.75fr) 62px;
    gap: 0.35rem;
  }

  .gi-chart-bar > span {
    font-size: 0.76rem;
  }

  .gi-chart-bar > strong {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .gi-support-bars > div {
    grid-template-columns: minmax(0, 1fr) minmax(72px, 0.72fr) 22px;
    gap: 0.4rem;
  }

  .gi-scale-map {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gi-scale-map > div {
    min-height: 118px;
  }

  .gi-scale-map > b {
    transform: rotate(90deg);
  }

  .gi-chapter-jump {
    grid-template-columns: 1fr;
  }

  .gi-chapter-insights summary {
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    gap: 0.65rem;
    min-height: 128px;
    padding: 0.9rem;
  }

  .gi-result-number {
    font-size: 1.55rem;
  }

  .gi-result-title strong {
    font-size: 1.15rem;
  }

  .gi-result-title em {
    font-size: 0.9rem;
  }

  .gi-insight-body {
    padding: 0 0.9rem 1rem;
  }

  .gi-guiding-question {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .gi-guiding-question strong {
    grid-column: 2;
  }

  .gi-guiding-question:not(strong) {
    overflow-wrap: anywhere;
  }

  .gi-reading-grid {
    grid-template-columns: 1fr;
  }

  .gi-reading-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--gi-line);
  }

  .gi-reading-grid > div:last-child {
    border-bottom: 0;
  }

  .gi-result-footer a {
    width: 100%;
    margin-left: 0;
  }

  .gi-thesis {
    margin-left: 0;
  }

  .gi-model-flow {
    grid-template-columns: 1fr;
  }

  .gi-model-flow li {
    min-height: auto;
  }

  .gi-glossary > div,
  .gi-changes article {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gi-refresh[disabled] svg,
  .gi-chapter-insights summary > svg,
  .gi-chart-bar > i > b {
    animation: none;
    transition: none;
  }
}
