.handoff-card {
  overflow: hidden;
  border: 1px solid #cddbd4;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.handoff-result {
  padding: clamp(26px, 4vw, 48px);
  background: #102f27;
  color: #fff;
}

.handoff-result .step-label {
  color: #77bea0;
}

.handoff-result h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.handoff-result > p:last-child {
  max-width: 900px;
  margin: 14px 0 0;
  color: #c5d9d1;
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
}

.impact-box {
  display: grid;
  grid-template-columns: minmax(180px, .3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 18px clamp(24px, 4vw, 48px);
  border-bottom: 1px solid #ecd4ad;
  background: #fff4df;
}

.impact-box span {
  color: #8d570f;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.impact-box p {
  margin: 0;
  color: #62451e;
  font-weight: 700;
}

.vendor-instructions {
  padding: clamp(26px, 4vw, 48px);
}

.vendor-instructions h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  letter-spacing: -.035em;
}

.vendor-instructions > p:not(.step-label) {
  max-width: 850px;
  margin: 10px 0 0;
  color: var(--muted);
}

.vendor-actions {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.vendor-actions li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fbfcfb;
}

.vendor-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #dff0e8;
  color: #1f6a50;
  font-weight: 900;
}

.vendor-actions h3 {
  margin: 1px 0 7px;
  font-size: 1.05rem;
}

.vendor-actions p {
  max-width: 1000px;
  margin: 0;
  color: #314b43;
  font-size: .9rem;
}

.vendor-meta {
  display: grid;
  grid-template-columns: minmax(180px, .35fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.vendor-meta span {
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef4f0;
  color: #536a63;
  font-size: .72rem;
  font-weight: 700;
}

.handoff-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(26px, 4vw, 48px) clamp(26px, 4vw, 42px);
}

.primary-light {
  background: #1f6a50;
  color: #fff;
}

.primary-light:hover {
  background: #17533f;
}

.ghost-light {
  border: 1px solid #c4d8cd;
  background: #fff;
  color: #1f6a50;
}

.vendor-copy-state {
  color: #1f6a50;
  font-size: .76rem;
  font-weight: 700;
}

.technical-report {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #edf3ef;
}

.technical-report > summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 22px clamp(20px, 3vw, 32px);
  color: #29473e;
}

.technical-report > summary strong,
.technical-report > summary small {
  display: block;
}

.technical-report > summary strong {
  font-size: 1rem;
}

.technical-report > summary small {
  margin-top: 2px;
  color: #71847d;
  font-size: .74rem;
}

.technical-toggle {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #c2d3ca;
  border-radius: 8px;
  background: #fff;
  color: #1f6a50;
  font-size: .72rem;
  font-weight: 800;
}

.technical-report[open] .technical-toggle {
  font-size: 0;
}

.technical-report[open] .technical-toggle::after {
  content: "Close details";
  font-size: .72rem;
}

.technical-report-body {
  display: grid;
  gap: 18px;
  padding: 0 18px 18px;
}

@media (max-width: 760px) {
  .impact-box,
  .vendor-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .vendor-actions li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    padding: 16px;
  }

  .vendor-number {
    width: 30px;
    height: 30px;
  }

  .technical-report > summary {
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .handoff-card,
  .technical-report {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .handoff-buttons {
    display: grid;
  }

  .technical-report-body {
    padding-right: 0;
    padding-left: 0;
  }

  .technical-report > summary small {
    display: none;
  }
}
