#report-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  color: var(--nl-ink);
}

#report-body .nl-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 14px 13px 15px;
  border: 1px solid #e5e9f3;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  box-shadow: 0 16px 36px -24px rgba(27, 32, 48, 0.2), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

#report-body .nl-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 11px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef1f7;
}

#report-body .nl-card__kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #4b556b;
}

#report-body .nl-card__badge {
  flex-shrink: 0;
  padding: 2.5px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: #5548b8;
  background: #eef1ff;
  border: 1px solid #dbe1fc;
}

#report-body .nl-card__badge--rose {
  color: #be123c;
  background: #fff1f4;
  border-color: #fecdd6;
}

#report-body .nl-card__badge--teal {
  color: #0f766e;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

#report-body .nl-card__badge--amber {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
}

/* 三项核心指数 */
#report-body .nl-idx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

#report-body .nl-idx {
  --idx-bg: #fff5f7;
  --idx-border: #ffd6df;
  --idx-ink: #be123c;
  --idx-bar: linear-gradient(90deg, #fb7185, #be123c);
  padding: 9px 8px 8px;
  border-radius: 12px;
  background: var(--idx-bg);
  border: 1px solid var(--idx-border);
  text-align: center;
}

#report-body .nl-idx--indigo {
  --idx-bg: #f5f3ff;
  --idx-border: #e1d9fe;
  --idx-ink: #6d28d9;
  --idx-bar: linear-gradient(90deg, #a78bfa, #6d28d9);
}

#report-body .nl-idx--teal {
  --idx-bg: #ecfdf5;
  --idx-border: #c1f3df;
  --idx-ink: #0f766e;
  --idx-bar: linear-gradient(90deg, #2dd4bf, #0f766e);
}

#report-body .nl-idx__label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: #4b556b;
  margin-bottom: 3px;
}

#report-body .nl-idx__val {
  display: block;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--idx-ink);
  margin-bottom: 6px;
}

#report-body .nl-idx__val span {
  font-size: 11px;
  font-weight: 800;
  margin-left: 1px;
}

#report-body .nl-idx__track {
  height: 4px;
  border-radius: 999px;
  background: rgba(27, 32, 48, 0.08);
  overflow: hidden;
}

#report-body .nl-idx__track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--idx-bar);
}

/* 01 · 五大维度一体式进度条：每维独立色系，低分浅彩底 + 最高分高饱和亮色 */
#report-body .nl-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#report-body .nl-bar {
  --dim-accent: #be123c;
  --dim-soft: #fff1f3;
  --dim-border: #fecdd6;
  --dim-ink: #9f1239;
  --seg-mute-a: #ffe6ec;
  --seg-mute-b: #ffd6df;
  --seg-a: #f43f5e;
  --seg-b: #be123c;
  --seg-glow: rgba(190, 18, 60, 0.28);
}

#report-body .nl-bar[data-group="entangle"] {
  --dim-accent: #ea580c;
  --dim-soft: #fff7ed;
  --dim-border: #fed7aa;
  --dim-ink: #c2410c;
  --seg-mute-a: #ffedd8;
  --seg-mute-b: #ffe0be;
  --seg-a: #fb923c;
  --seg-b: #ea580c;
  --seg-glow: rgba(234, 88, 12, 0.26);
}

#report-body .nl-bar[data-group="obsession"] {
  --dim-accent: #7c3aed;
  --dim-soft: #f5f3ff;
  --dim-border: #ddd6fe;
  --dim-ink: #6d28d9;
  --seg-mute-a: #eee9ff;
  --seg-mute-b: #e0d6fe;
  --seg-a: #8b5cf6;
  --seg-b: #6d28d9;
  --seg-glow: rgba(109, 40, 217, 0.26);
}

#report-body .nl-bar[data-group="mode"] {
  --dim-accent: #0d9488;
  --dim-soft: #ecfdf5;
  --dim-border: #a7f3d0;
  --dim-ink: #0f766e;
  --seg-mute-a: #dcfce9;
  --seg-mute-b: #c1f4d9;
  --seg-a: #14b8a6;
  --seg-b: #0f766e;
  --seg-glow: rgba(15, 118, 110, 0.26);
}

#report-body .nl-bar[data-group="expr"] {
  --dim-accent: #2563eb;
  --dim-soft: #eff6ff;
  --dim-border: #bfdbfe;
  --dim-ink: #1d4ed8;
  --seg-mute-a: #e3eeff;
  --seg-mute-b: #cde1ff;
  --seg-a: #3b82f6;
  --seg-b: #1d4ed8;
  --seg-glow: rgba(37, 99, 235, 0.26);
}

#report-body .nl-bar__head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

#report-body .nl-bar__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dim-accent);
  background: var(--dim-soft);
  border: 1px solid var(--dim-border);
}

#report-body .nl-bar__name {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
  color: #1b2030;
}

#report-body .nl-bar__num {
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--dim-accent);
  opacity: 0.72;
}

#report-body .nl-bar__tag {
  margin-left: auto;
  flex-shrink: 0;
  max-width: 52%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: var(--dim-ink);
  background: var(--dim-soft);
  border: 1px solid var(--dim-border);
}

#report-body .nl-bar__tag.is-dual {
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}

/* 统一成一条完整的分段进度条 */
#report-body .nl-bar__track {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 40px;
  border-radius: 11px;
  overflow: hidden;
  background: #eef1f7;
  box-shadow: 0 4px 12px -6px var(--seg-glow), 0 0 0 1px rgba(27, 32, 48, 0.06);
}

#report-body .nl-seg {
  position: relative;
  flex-basis: 0;
  min-width: 44px;
  padding: 3px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: linear-gradient(180deg, var(--seg-mute-a) 0%, var(--seg-mute-b) 100%);
  color: var(--dim-ink);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

#report-body .nl-seg + .nl-seg {
  border-left: 1.5px solid rgba(255, 255, 255, 0.92);
}

#report-body .nl-seg__top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  max-width: 100%;
}

#report-body .nl-seg__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.92;
}

#report-body .nl-seg__name {
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

#report-body .nl-seg__pct {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  opacity: 0.88;
}

#report-body .nl-seg.is-on {
  background: linear-gradient(135deg, var(--seg-a) 0%, var(--seg-b) 100%);
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(15, 23, 42, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

#report-body .nl-seg.is-on .nl-seg__icon,
#report-body .nl-seg.is-on .nl-seg__pct {
  opacity: 0.98;
}

/* 02 · 主导属性详细解读 */
#report-body .nl-lead__title {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
  color: #1b2030;
}

#report-body .nl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 9px;
}

#report-body .nl-chip {
  padding: 2.5px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  border: 1px solid transparent;
}

#report-body .nl-chip--orange { color: #c2410c; background: #fff7ed; border-color: #fed7aa; }
#report-body .nl-chip--violet { color: #6d28d9; background: #f5f3ff; border-color: #ddd6fe; }
#report-body .nl-chip--teal { color: #0f766e; background: #ecfdf5; border-color: #a7f3d0; }
#report-body .nl-chip--blue { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }

#report-body .nl-lead__quote {
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border-left: 3px solid #be123c;
  background: linear-gradient(90deg, #fff1f4, #f8f9fd);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.5;
  color: #9f1239;
}

#report-body .nl-lead__analysis {
  margin: 0 0 11px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #364156;
}

#report-body .nl-notes {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

#report-body .nl-note {
  --note-accent: #ea580c;
  --note-bg: #fffaf4;
  --note-border: #ffe3c4;
  --note-ink: #c2410c;
  padding: 8px 10px;
  border-radius: 11px;
  background: var(--note-bg);
  border: 1px solid var(--note-border);
}

#report-body .nl-note[data-group="obsession"] {
  --note-accent: #7c3aed;
  --note-bg: #f9f7ff;
  --note-border: #e9e2fe;
  --note-ink: #6d28d9;
}

#report-body .nl-note[data-group="mode"] {
  --note-accent: #0d9488;
  --note-bg: #f3fcf9;
  --note-border: #ccf5e7;
  --note-ink: #0f766e;
}

#report-body .nl-note[data-group="expr"] {
  --note-accent: #2563eb;
  --note-bg: #f6f9ff;
  --note-border: #dceafe;
  --note-ink: #1d4ed8;
}

#report-body .nl-note__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

#report-body .nl-note__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: var(--note-accent);
}

#report-body .nl-note__val {
  font-size: 12px;
  font-weight: 900;
  color: var(--note-ink);
}

#report-body .nl-note__desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: #3c465c;
}

#report-body .nl-note__line {
  margin: 4px 0 0;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--note-ink);
}

/* 03 · 虐点名场面与关系剧本 */
#report-body .nl-block {
  margin-bottom: 11px;
}

#report-body .nl-block__title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  color: #1b2030;
}

#report-body .nl-scene-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#report-body .nl-scene-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #f6f8fc;
  border: 1px solid #eaedf6;
}

#report-body .nl-scene-item__num {
  flex-shrink: 0;
  padding: 1px 5px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #5548b8;
  background: #e9ecff;
}

#report-body .nl-scene-item__text {
  font-size: 12px;
  line-height: 1.5;
  color: #2f394d;
}

#report-body .nl-weak-pills {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#report-body .nl-weak-pill {
  position: relative;
  padding: 6px 9px 6px 18px;
  border-radius: 9px;
  background: #fff7f8;
  border: 1px solid #ffe1e7;
  font-size: 11.5px;
  line-height: 1.45;
  color: #881337;
}

#report-body .nl-weak-pill::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #be123c;
}

#report-body .nl-mono {
  margin-bottom: 10px;
  padding: 9px 10px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f4f5ff, #fdf4f8);
  border: 1px solid #e2e5f5;
}

#report-body .nl-mono__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
}

#report-body .nl-mono__tag {
  padding: 1.5px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: #6d28d9;
  background: #efe9ff;
}

#report-body .nl-mono__trigger {
  font-size: 11px;
  font-weight: 700;
  color: #5c667c;
}

#report-body .nl-mono__text {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.55;
  color: #1f273b;
}

#report-body .nl-pair-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#report-body .nl-match,
#report-body .nl-nemesis {
  padding: 9px 10px;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#report-body .nl-match {
  background: linear-gradient(135deg, #ecfdf5, #f0f9ff);
  border: 1px solid #cceee3;
}

#report-body .nl-nemesis {
  background: linear-gradient(135deg, #fff7ed, #fff1f4);
  border: 1px solid #fed7aa;
}

#report-body .nl-match__label { font-size: 10.5px; font-weight: 800; color: #0f766e; }
#report-body .nl-nemesis__label { font-size: 10.5px; font-weight: 800; color: #c2410c; }
#report-body .nl-match__name { font-size: 13px; font-weight: 900; color: #065f46; }
#report-body .nl-nemesis__name { font-size: 13px; font-weight: 900; color: #9a3412; }

#report-body .nl-match__reason,
#report-body .nl-nemesis__reason {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #384654;
}

/* 04 · 安抚开关与止虐处方 */
#report-body .nl-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

#report-body .nl-guide-box {
  padding: 9px 9px;
  border-radius: 11px;
}

#report-body .nl-guide-box--on { background: #f3fcf8; border: 1px solid #ccf0e2; }
#report-body .nl-guide-box--off { background: #fff6f8; border: 1px solid #ffd8e0; }

#report-body .nl-guide-box__title {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 900;
}

#report-body .nl-guide-box--on .nl-guide-box__title { color: #0f766e; }
#report-body .nl-guide-box--off .nl-guide-box__title { color: #be123c; }

#report-body .nl-guide-list {
  margin: 0;
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
  line-height: 1.48;
  color: #364156;
}

#report-body .nl-rx {
  padding: 9px 10px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f3f5ff, #faf5ff);
  border: 1px solid #dfe4fb;
}

#report-body .nl-rx__tag {
  display: inline-block;
  margin-bottom: 4px;
  padding: 1.5px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: #5548b8;
  background: #e5ebff;
}

#report-body .nl-rx__text {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  color: #243048;
}

@media (max-width: 360px) {
  #report-body .nl-pair-grid,
  #report-body .nl-guide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 350px) {
  #report-body .nl-seg {
    min-width: 40px;
    padding: 3px 2px;
  }

  #report-body .nl-seg__name {
    font-size: 10px;
  }
}
