.scene-report {
  padding-bottom: calc(18px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #fffefb 0%, #fffaf0 100%);
}

.report-panel--showcase {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.scene-report.report-panel--pending .report-panel {
  display: none;
}

.report-showcase {
  display: grid;
  gap: 12px;
  color: #111815;
}

.report-card,
.report-overview-card {
  overflow: hidden;
  border: 1px solid rgba(25, 39, 36, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(54, 43, 30, 0.07);
}

.report-card {
  padding: 12px;
}

.report-card h2,
.report-overview-head h2 {
  margin: 0;
  color: #101112;
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: clamp(17px, 4.8vw, 20px);
  font-weight: 900;
  line-height: 1.25;
}

.report-overview-card {
  background:
    linear-gradient(135deg, rgba(15, 139, 83, 0.12), rgba(255, 255, 255, 0.92) 44%, rgba(255, 250, 238, 0.95)),
    #fff;
}

.report-overview-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 14px 13px;
}

.report-overview-head > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b8a52, #087144);
  color: #fff;
}

.report-overview-head p {
  margin: 5px 0 0;
  color: #5c6761;
  font-size: 13px;
  font-weight: 700;
}

.report-overview-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(25, 39, 36, 0.08);
  background: rgba(255, 255, 255, 0.62);
}

.report-overview-metric {
  display: grid;
  gap: 4px;
  justify-items: center;
  min-height: 76px;
  padding: 12px 4px 10px;
  color: #59635d;
  text-align: center;
}

.report-overview-metric span {
  color: #0b8a52;
}

.report-tone-bad span {
  color: #e33d35;
}

.report-tone-need span {
  color: #ed9f26;
}

.report-tone-muted span {
  color: #a0a4a2;
}

.report-overview-metric strong {
  color: #171c19;
  font-size: 22px;
  line-height: 1;
}

.report-overview-metric small {
  font-size: 11px;
  font-weight: 800;
}

.report-overview-card svg,
.report-card svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.report-plan-card {
  display: grid;
  gap: 10px;
}

.report-plan-figure {
  margin: 0;
}

.report-plan-figure img {
  display: block;
  width: 100%;
  max-height: min(58svh, 560px);
  object-fit: contain;
  border: 0;
  border-radius: 6px;
  background: #fff;
}

.report-plan-empty {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 1px dashed rgba(25, 39, 36, 0.16);
  border-radius: 8px;
  color: #6f7971;
  font-size: 14px;
  font-weight: 700;
}

.report-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  color: #6b746f;
  font-size: 11px;
  font-weight: 800;
}

.report-legend span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.report-legend i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(15, 139, 83, 0.24);
}

.report-legend span:nth-child(2) i {
  background: rgba(227, 61, 53, 0.16);
}

.report-legend span:nth-child(3) i {
  background: rgba(237, 159, 38, 0.18);
}

.report-legend span:nth-child(4) i {
  background: rgba(25, 39, 36, 0.08);
}

.report-core-card,
.report-free-card,
.report-steps-card {
  background: linear-gradient(180deg, #fffffb, #fbfcf4);
}

.report-core-card h2,
.report-free-card h2,
.report-steps-card h2 {
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: #087144;
}

.report-core-card h2 span {
  color: #0b8a52;
  font-size: 12px;
  font-weight: 900;
}

.report-core-list,
.report-free-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.report-core-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
}

.report-free-section {
  display: block;
}

.report-core-row,
.report-free-section {
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(25, 39, 36, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
}

.report-core-row > span {
  color: #0b8a52;
}

.report-core-row h3,
.report-free-section h3 {
  margin: 0;
  color: #101112;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.report-tone-bad > span,
.report-tone-bad h3 {
  color: #e33d35;
}

.report-tone-need > span,
.report-tone-need h3 {
  color: #ed9f26;
}

.report-core-row p,
.report-free-section p,
.report-free-section li {
  margin: 3px 0 0;
  color: #68716b;
  font-size: 12px;
  line-height: 1.55;
}

.report-free-section ul,
.report-free-section ol {
  display: grid;
  gap: 3px;
  margin: 5px 0 0;
  padding-left: 18px;
}
