/* Public share page shell — tidy version.
   Same markup and copy as PublicReportSharePage.tsx; changes: no green tints or gradients,
   one neutral surface system, the trust line folded into the shelf, quieter CTA. */
/* same base layer as the CRM app (globals.css @layer base) */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  background: #f4f5f7;
  color: #15171c;
}

.report-share-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 96px;
  display: grid;
  gap: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #15171c;
}

/* ── hero ── */
.report-share-page__hero {
  display: grid;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8eaee;
}
.report-share-page__hero-band {
  padding: 28px 32px 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}
.report-share-page__hero-copy {
  display: grid;
  gap: 10px;
  max-width: 620px;
}
.report-share-page__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d3ad4;
}
.report-share-page__hero-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: #15171c;
}
.report-share-page__hero-description {
  margin: 0;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
}
.report-share-page__hero-actions {
  display: grid;
  gap: 8px;
  justify-items: end;
}
.report-share-page__hero-hint {
  font-size: 12.5px;
  color: #8a909c;
}
.report-share-page__hero-button {
  min-height: 44px;
  padding: 0 6px 0 18px;
  border-radius: 999px;
  background: #15171c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}
.report-share-page__hero-button:hover {
  background: #000;
}
.report-share-page__hero-button-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
}

.report-share-page__hero-shelf {
  padding: 16px 32px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  border-top: 1px solid #eef0f3;
  background: #fafbfc;
}
.report-share-page__hero-cell {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.report-share-page__hero-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a909c;
}
.report-share-page__hero-value {
  font-size: 15px;
  font-weight: 600;
  color: #15171c;
}
.report-share-page__hero-cell--vehicle .report-share-page__hero-value {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.012em;
}
.report-share-page__hero-subvalue {
  font-size: 13px;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.report-share-page__hero-cell--trust .report-share-page__hero-subvalue svg {
  color: #6d3ad4;
  flex: none;
}

/* the report sits on the page itself — no frame inside a frame */
.report-viewer__frame {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin: 0 -14px;
}

/* ── CTA ── */
.report-share-page__cta {
  padding: 28px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e8eaee;
  color: #15171c;
}
.report-share-page__cta-kicker {
  margin: 0 0 8px;
  color: #6d3ad4;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.report-share-page__cta-title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.report-share-page__cta-copy {
  max-width: 560px;
  color: #6b7280;
  line-height: 1.5;
  font-size: 15px;
}
.report-share-page__cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 10px;
}
.report-share-page__cta-link {
  min-height: 64px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-radius: 14px;
  background: #fafbfc;
  border: 1px solid #e8eaee;
  color: #15171c;
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.report-share-page__cta-link:hover {
  border-color: #cfd3da;
}
.report-share-page__cta-link span {
  color: #8a909c;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.report-share-page__cta-link strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.report-share-page__cta-action {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: #6d3ad4;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease;
}
.report-share-page__cta-action:hover {
  background: #5b2ec0;
}

@media (max-width: 900px) {
  .report-share-page__hero-shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
  }
  .report-share-page__cta {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .report-share-page__cta-action {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .report-share-page {
    width: calc(100% - 24px);
    padding-top: 12px;
    gap: 12px;
  }
  .report-share-page__hero {
    border-radius: 16px;
  }
  .report-share-page__hero-band {
    grid-template-columns: 1fr;
    padding: 20px 18px 18px;
    gap: 14px;
  }
  .report-share-page__hero-title {
    font-size: 22px;
  }
  .report-share-page__hero-description {
    font-size: 14px;
  }
  .report-share-page__hero-actions {
    justify-items: stretch;
  }
  .report-share-page__hero-hint {
    display: none;
  }
  .report-share-page__hero-button {
    justify-content: space-between;
  }
  .report-share-page__hero-shelf {
    padding: 14px 18px 16px;
    gap: 14px 16px;
  }
  .report-share-page__hero-cell--vehicle,
  .report-share-page__hero-cell--trust {
    grid-column: 1 / -1;
  }
  .report-viewer__frame {
    margin: 0 -12px;
  }
  .report-share-page__cta {
    padding: 22px 18px;
    border-radius: 16px;
    gap: 16px;
  }
  .report-share-page__cta-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .report-share-page__cta-action {
    width: 100%;
  }
}
