/* Report Page: Curve Explorer Block */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@900&display=swap');

.report-page-curve-explorer {
  background-color: #FFFFFF;
  padding: 56px 0 48px;
}

.report-page-curve-explorer__container {
  max-width: 1160px !important;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Intro */

.report-page-curve-explorer__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.report-page-curve-explorer__intro-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-page-curve-explorer__eyebrow {
  font-family: "Source Code Pro", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  color: #FF5900;
}

.report-page-curve-explorer__heading {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 36px;
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #053D42;
}

.report-page-curve-explorer__description {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: #053D42;
  max-width: 62ch;
}

.report-page-curve-explorer__region {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-page-curve-explorer__region-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Source Code Pro", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  color: #053D42;
}

.report-page-curve-explorer__region-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 4px;
  border-radius: 2px;
  background: #F7F7F7;
  gap: 4px;
}

.report-page-curve-explorer__region-btn {
  height: 44px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: "Source Code Pro", monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  background: transparent;
  color: #053D42;
  transition: background-color .2s ease, color .2s ease;
}

.report-page-curve-explorer__region-btn[aria-pressed="true"] {
  background: #053D42;
  color: #FFFFFF;
}

/* Curve */

.report-page-curve-explorer__curve {
  position: relative;
  box-sizing: border-box;
  border-radius: 20px;
  background: #FFFFFF;
  border: 2px solid #053D42;
  padding: 18px 16px 24px;
  display: flex;
  flex-direction: column;
}

.report-page-curve-explorer__curve-caption {
  font-family: "Source Code Pro", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  color: #053D42;
  padding-bottom: 6px;
}

.report-page-curve-explorer__curve-line {
  display: none;
}

.report-page-curve-explorer__curve-track {
  position: absolute;
  left: 37px;
  top: 76px;
  bottom: 92px;
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #DCE7E8 0%, #9DB2B4 28%, #053D42 52%, #6A3F22 74%, #FF5900 100%);
}

.report-page-curve-explorer__stages {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.report-page-curve-explorer__stage {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #053D42;
  font-family: inherit;
  text-align: left;
}

.report-page-curve-explorer__stage-dot {
  position: relative;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-page-curve-explorer__stage-ring {
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #E3FBFD;
  border: 4px solid #B9E3E6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.report-page-curve-explorer__stage-ring svg {
  width: 24px;
  height: 24px;
}

.report-page-curve-explorer__stage[aria-pressed="true"] .report-page-curve-explorer__stage-ring {
  border-color: #FF5900;
  box-shadow: 0 0 0 4px rgba(255, 89, 0, 0.16);
}

.report-page-curve-explorer__stage-body {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-width: 0;
  gap: 6px;
}

.report-page-curve-explorer__stage-top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.report-page-curve-explorer__stage-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 36px;
  padding: 0 14px;
  box-sizing: border-box;
  border-radius: 8px;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  -webkit-text-stroke: 1.5px #053D42;
  paint-order: stroke fill;
}

.report-page-curve-explorer__stage-pill--react { background: #E3FBFD; border: 2px solid #B9E3E6; }
.report-page-curve-explorer__stage-pill--monitor { background: #6E878A; border: 2px solid #536B6E; }
.report-page-curve-explorer__stage-pill--plan { background: #053D42; border: 2px solid #021F23; }
.report-page-curve-explorer__stage-pill--embed { background: #FF5900; border: 2px solid #CC4700; }

.report-page-curve-explorer__stage-value-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.report-page-curve-explorer__stage-value {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #FF5900;
}

.report-page-curve-explorer__stage-note {
  display: none;
  font-family: "Source Code Pro", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  color: #053D42;
}

.report-page-curve-explorer__stage-caption {
  flex-basis: 100%;
  margin-top: 2px;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  color: #053D42;
}

.report-page-curve-explorer__beyond-burst {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-page-curve-explorer__beyond-burst::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 4px solid #B9E3E6;
  box-sizing: border-box;
  background: repeating-conic-gradient(from 0deg at 50% 50%, #B9E3E6 0deg 10deg, #E3FBFD 10deg 20deg);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.report-page-curve-explorer__stage--beyond[aria-pressed="true"] .report-page-curve-explorer__beyond-burst::before {
  border-color: #FF5900;
  box-shadow: 0 0 0 4px rgba(255, 89, 0, 0.16);
}

.report-page-curve-explorer__beyond-mark {
  position: relative;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
  color: #053D42;
}

.report-page-curve-explorer__beyond-label {
  font-family: "Source Code Pro", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  color: #FF5900;
}

.report-page-curve-explorer__footnote {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #5B7A7E;
}

/* About the data */

.report-page-curve-explorer__about {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-page-curve-explorer__about-heading {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #053D42;
}

.report-page-curve-explorer__about-text {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #053D42;
}

/* Distribution */

.report-page-curve-explorer__distribution {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.report-page-curve-explorer__distribution-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-page-curve-explorer__distribution-heading {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #053D42;
}

.report-page-curve-explorer__distribution-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Source Code Pro", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  color: #FF5900;
}

.report-page-curve-explorer__bands {
  display: flex;
  width: 100%;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  gap: 3px;
  background: #053D42;
  box-shadow: 0 0 0 2px #053D42;
}

.report-page-curve-explorer__band {
  min-width: 48px;
  height: 52px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  background: #E3FBFD;
  color: #053D42;
  opacity: 0.55;
  transition: opacity .2s ease, box-shadow .2s ease;
}

.report-page-curve-explorer__band:hover,
.report-page-curve-explorer__band:focus-visible {
  opacity: 1;
}

.report-page-curve-explorer__band[aria-pressed="true"] {
  opacity: 1;
  box-shadow: inset 0 0 0 3px #FF5900;
}

.report-page-curve-explorer__band--beyond {
  background: #FFFFFF;
}

.report-page-curve-explorer__band-label {
  font-family: "Source Code Pro", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  transition: color .2s ease;
}

.report-page-curve-explorer__band:hover .report-page-curve-explorer__band-label,
.report-page-curve-explorer__band:focus-visible .report-page-curve-explorer__band-label {
  color: #FF5900;
}

/* Detail panels */

.report-page-curve-explorer__panel {
  display: none;
  flex-direction: column;
  gap: 18px;
}

.report-page-curve-explorer__panel.is-active {
  display: flex;
}

.report-page-curve-explorer__panel-main {
  position: relative;
  border-radius: 20px;
  background: #E3FBFD;
  border: 2px solid #053D42;
  color: #053D42;
  padding: 24px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.report-page-curve-explorer__panel-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-page-curve-explorer__panel-eyebrow {
  font-family: "Source Code Pro", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 12px;
  color: #FF5900;
}

.report-page-curve-explorer__panel-heading {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #053D42;
}

.report-page-curve-explorer__panel-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.report-page-curve-explorer__stat {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  gap: 8px;
  padding: 14px;
  border: 2px solid #9DC4C8;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  background: #FFFFFF;
  transition: border-color .2s ease, background-color .2s ease;
}

.report-page-curve-explorer__stat[aria-pressed="true"] {
  border-color: #053D42;
  background: #FFFFFF;
}

.report-page-curve-explorer__stat-label {
  font-family: "Source Code Pro", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
  line-height: 1.3;
  color: #5B7A7E;
}

.report-page-curve-explorer__stat[aria-pressed="true"] .report-page-curve-explorer__stat-label {
  color: #FF5900;
}

.report-page-curve-explorer__stat-value {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #053D42;
}

.report-page-curve-explorer__stat-note {
  font-family: "Source Code Pro", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  line-height: 1.4;
  color: #053D42;
}

.report-page-curve-explorer__stat-track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #DCE7E8;
  overflow: hidden;
}

.report-page-curve-explorer__stat-fill {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #FF5900;
}

.report-page-curve-explorer__panel-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-page-curve-explorer__panel-block h4 {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  color: #053D42;
}

.report-page-curve-explorer__panel-block p {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #053D42;
  white-space: pre-line;
}

.report-page-curve-explorer__panel-footnote {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #5B7A7E !important;
}

.report-page-curve-explorer__panel-quote {
  padding-top: 18px;
  border-top: 1px solid #9DC4C8;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.report-page-curve-explorer__panel-photo {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

.report-page-curve-explorer__panel-quote-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-page-curve-explorer__panel-quote-text p {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  color: #053D42;
}

.report-page-curve-explorer__panel-attribution {
  font-family: "Source Code Pro", monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
  color: #FF5900;
}

.report-page-curve-explorer__panel-side {
  border-radius: 20px;
  background: #FFFFFF;
  padding: 24px 20px;
  box-sizing: border-box;
  border: 2px solid #053D42;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.report-page-curve-explorer__panel-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-page-curve-explorer__panel-cta p {
  margin: 0;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #053D42;
}

.report-page-curve-explorer__panel-cta-heading {
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #053D42;
}

.report-page-curve-explorer__panel-button {
  align-self: flex-start;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 2px;
  font-family: "Source Code Pro", monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  height: 48px;
  padding: 0 22px;
  font-size: 14px;
  background: #FF5900;
  color: #FFFFFF;
  transition: background-color .2s ease;
}

.report-page-curve-explorer__panel-button:hover,
.report-page-curve-explorer__panel-button:focus-visible {
  background: #D94F1D;
}

.report-page-curve-explorer__panel-lessons h4 {
  margin: 14px 0 10px;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 500;
  color: #053D42;
  padding-bottom: 10px;
  border-bottom: 2px solid #053D42;
}

.report-page-curve-explorer__panel-lessons:first-child h4 {
  margin-top: 0;
}

.report-page-curve-explorer__panel-lesson {
  min-height: 52px;
  box-sizing: border-box;
  padding: 12px 8px;
  margin: 0 -8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #DCE7E8;
  font-family: "Suisse Intl", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  color: #053D42;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.report-page-curve-explorer__panel-lesson:last-child {
  border-bottom: none;
}

.report-page-curve-explorer__panel-lesson:hover,
.report-page-curve-explorer__panel-lesson:focus-visible {
  background: #F7F7F7;
  color: #FF5900;
}

.report-page-curve-explorer__panel-lesson svg {
  flex-shrink: 0;
  transition: transform .2s ease;
}

.report-page-curve-explorer__panel-lesson:hover svg,
.report-page-curve-explorer__panel-lesson:focus-visible svg {
  transform: translateX(4px);
}

/* Tablet */

@media (min-width: 768px) {
  .report-page-curve-explorer__heading {
    font-size: 44px;
  }

  .report-page-curve-explorer__panel-stats {
    gap: 20px;
  }
}

/* Desktop */

@media (min-width: 1024px) {
  .report-page-curve-explorer {
    padding: 92px 0 56px;
  }

  .report-page-curve-explorer__container {
    gap: 32px;
  }

  .report-page-curve-explorer__intro {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
  }

  .report-page-curve-explorer__intro-text {
    gap: 16px;
    max-width: 760px;
  }

  .report-page-curve-explorer__eyebrow {
    font-size: 15px;
  }

  .report-page-curve-explorer__heading {
    font-size: 60px;
    line-height: 1.02;
  }

  .report-page-curve-explorer__description {
    font-size: 20px;
  }

  .report-page-curve-explorer__region {
    align-items: flex-end;
  }

  .report-page-curve-explorer__region-toggle {
    display: flex;
  }

  .report-page-curve-explorer__region-btn {
    padding: 0 20px;
  }

  .report-page-curve-explorer__curve {
    min-height: 460px;
    padding: 30px;
    overflow: hidden;
  }

  .report-page-curve-explorer__curve-caption {
    position: absolute;
    left: 30px;
    top: 30px;
    padding-bottom: 0;
  }

  .report-page-curve-explorer__curve-line {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .report-page-curve-explorer__curve-track {
    display: none;
  }

  .report-page-curve-explorer__stages {
    position: static;
    display: block;
    height: 100%;
  }

  .report-page-curve-explorer__stage {
    position: absolute;
    top: 31%;
    flex-direction: column;
    align-items: center;
    width: 200px;
    gap: 8px;
    text-align: center;
  }

  .report-page-curve-explorer__stage--1 { left: 5%; }
  .report-page-curve-explorer__stage--2 { left: 27%; }
  .report-page-curve-explorer__stage--3 { left: 49%; }
  .report-page-curve-explorer__stage--4 { left: 71%; }

  .report-page-curve-explorer__stage-dot {
    width: 104px;
    height: 104px;
  }

  .report-page-curve-explorer__stage-ring {
    width: 100px;
    height: 100px;
    border-width: 5px;
  }

  .report-page-curve-explorer__stage-ring svg {
    width: 34px;
    height: 34px;
  }

  .report-page-curve-explorer__stage-body {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .report-page-curve-explorer__stage-top {
    flex-direction: column;
    gap: 6px;
  }

  .report-page-curve-explorer__stage-pill {
    min-width: 140px;
    height: 44px;
    font-size: 24px;
  }

  .report-page-curve-explorer__stage-value-wrap {
    align-items: center;
  }

  .report-page-curve-explorer__stage-value {
    font-size: 40px;
  }

  .report-page-curve-explorer__stage-note {
    display: block;
  }

  .report-page-curve-explorer__stage-caption {
    flex-basis: auto;
    text-align: center;
    margin-top: 2px;
  }

  .report-page-curve-explorer__stage--beyond {
    position: absolute;
    left: 91%;
    top: 58%;
    width: auto;
  }

  .report-page-curve-explorer__beyond-burst {
    width: 88px;
    height: 88px;
  }

  .report-page-curve-explorer__beyond-burst::before {
    width: 88px;
    height: 88px;
  }

  .report-page-curve-explorer__beyond-mark {
    font-size: 34px;
  }

  /* Desktop mirrors the original design: just the "?" burst on the curve,
     with the label kept for screen readers via aria-label on the button. */
  .report-page-curve-explorer__stage--beyond .report-page-curve-explorer__stage-body {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .report-page-curve-explorer__about {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }

  .report-page-curve-explorer__about-heading {
    font-size: 44px;
    line-height: 1.2;
    flex-shrink: 0;
  }

  .report-page-curve-explorer__about-text {
    font-size: 20px;
    max-width: 62ch;
  }

  .report-page-curve-explorer__distribution-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }

  .report-page-curve-explorer__distribution-heading {
    font-size: 40px;
    line-height: 1.1;
  }

  .report-page-curve-explorer__distribution-hint {
    font-size: 13px;
  }

  .report-page-curve-explorer__bands {
    height: 64px;
  }

  .report-page-curve-explorer__band {
    height: 64px;
    padding: 0 10px;
    gap: 10px;
  }

  .report-page-curve-explorer__band-label {
    font-size: 14px;
  }

  .report-page-curve-explorer__panel {
    display: none;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 24px;
  }

  .report-page-curve-explorer__panel.is-active {
    display: grid;
  }

  .report-page-curve-explorer__panel-main {
    padding: 48px;
    gap: 26px;
  }

  .report-page-curve-explorer__panel-heading {
    font-size: 40px;
    line-height: 1.06;
    max-width: 680px;
  }

  .report-page-curve-explorer__panel-stats {
    gap: 20px;
  }

  .report-page-curve-explorer__stat {
    padding: 20px;
  }

  .report-page-curve-explorer__stat-value {
    font-size: 56px;
  }

  .report-page-curve-explorer__panel-quote {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .report-page-curve-explorer__panel-photo {
    width: 120px;
    height: 120px;
  }

  .report-page-curve-explorer__panel-side {
    padding: 48px 36px 36px;
  }

  .report-page-curve-explorer__panel-cta-heading {
    font-size: 26px;
  }
}
