.report-plan-viewer {
  width: min(760px, calc(100% - 40px));
}
.report-plan-header {
  align-items: flex-start;
  padding: 28px 30px 22px;
}
.report-plan-header h2 {
  font-size: clamp(22px, 4.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -.045em;
}
.report-plan-scroll {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 30px 20px;
}
.report-plan-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 26px;
}
.report-plan-step {
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f8fbfd;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}
.report-plan-number {
  font-size: 11px;
  color: var(--accent);
}
.report-plan-step:hover,
.report-plan-step[aria-pressed="true"] {
  background: #eef6f8;
  color: var(--ink);
}
.report-plan-step[aria-pressed="true"] {
  border-color: var(--accent);
}
.report-plan-stage[hidden] {
  display: none;
}
.report-plan-stage h3 {
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -.025em;
  margin-bottom: 9px;
}
.report-plan-stage > p {
  max-width: 590px;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.report-plan-evidence {
  margin: 22px 0;
}
.report-plan-evidence a,
.report-plan-evidence img {
  display: block;
  width: 100%;
}
.report-plan-evidence img {
  height: auto;
}
.report-plan-evidence figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.report-plan-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.report-plan-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 760px) {
  .report-plan-viewer {
    width: calc(100% - 20px);
  }
  .report-plan-header {
    padding: 22px 18px;
  }
  .report-plan-header button {
    width: 44px;
    height: 44px;
  }
  .report-plan-scroll {
    padding: 0 18px 18px;
  }
}
@media (max-width: 480px) {
  .report-plan-step {
    flex-direction: column;
    gap: 3px;
  }
  .report-plan-stage h3 {
    font-size: 18px;
  }
}

/* A dedicated example section keeps the opening focused on Haidar. */
.report-to-plan-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(35px, 6vw, 85px);
  align-items: start;
  padding: 72px 0 28px;
}
.report-to-plan-intro {
  min-width: 0;
  padding-top: 8px;
}
.report-to-plan-intro .eyebrow {
  margin-bottom: 22px;
}
.report-to-plan-intro h2 {
  max-width: 440px;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.13;
  letter-spacing: -.05em;
}
.report-to-plan-intro h2 em {
  font: inherit;
  color: #2c55b8;
}
.report-to-plan-intro > p:not(.eyebrow) {
  max-width: 360px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.report-plan-example {
  min-width: 0;
  width: 100%;
  max-width: 620px;
  color: var(--ink);
}
.report-plan-example-steps {
  margin-bottom: 24px;
}
.report-plan-example-stage {
  min-height: 370px;
}
.report-plan-example-stage[hidden] {
  display: none;
}
.report-plan-example-stage h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.025em;
}
.report-plan-example-stage > p {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.report-plan-example-evidence-link {
  display: block;
  color: #163a73;
}
.report-plan-example-evidence {
  margin: 0;
}
.report-plan-example-evidence img {
  display: block;
  width: 100%;
  height: auto;
}
.report-plan-example-evidence figcaption {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.report-plan-example-enlarge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid #163a73;
  font-size: 15px;
  line-height: 1.4;
}
.report-plan-example-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.examples-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 761px) and (max-width: 1050px) {
  .report-plan-example-stage {
    min-height: 410px;
  }
}
@media (max-width: 760px) {
  .report-to-plan-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 40px 0 18px;
  }
  .report-to-plan-intro {
    padding: 0;
  }
  .report-to-plan-intro .eyebrow {
    margin-bottom: 16px;
  }
  .report-to-plan-intro h2 {
    font-size: clamp(30px, 7.5vw, 42px);
  }
  .report-to-plan-intro > p:not(.eyebrow) {
    max-width: 440px;
    font-size: 16px;
    margin-top: 18px;
  }
  .report-plan-example-stage {
    min-height: 0;
  }
  .report-plan-example-stage h3 {
    font-size: 18px;
  }
  .report-plan-example-stage > p {
    font-size: 15px;
  }
  .examples-grid--pair {
    grid-template-columns: minmax(0, 1fr);
  }
}
