/* ============================================================
   AIMFORGE · report.css
   赛后分析报告 & 数据中心。所有类名以 report- / rc- 为前缀。
   设计语言：暗色训练舱、Barlow Condensed 大标题、mono 遥测标签、
   酸性绿点线、细边框、低圆角、数据密度优先。
   ============================================================ */

.report-page {
  --accent: var(--lime);
  --accent-rgb: var(--lime-rgb);
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  color: var(--text);
}

.report-page ::selection { background: rgba(var(--accent-rgb), 0.25); }

.report-section { margin-top: 30px; }

.report-rise {
  opacity: 0;
  animation: report-rise 0.65s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes report-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* 通用小件 ---------------------------------------------------- */
.report-page .eyebrow { color: var(--accent); }
.report-page .eyebrow::before { background: var(--accent); }

.report-sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}
.report-sec-index {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.16em;
}
.report-sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}
.report-sec-head p {
  max-width: 720px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11.5px;
}

/* ============================================================
   HERO · 结果头部
   ============================================================ */
.report-hero {
  position: relative;
  overflow: hidden;
  padding: 4px 0 0;
  border-bottom: 1px solid var(--line);
}
.report-hero::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 620px;
  height: 520px;
  pointer-events: none;
  background: radial-gradient(ellipse at 70% 30%, rgba(var(--accent-rgb), 0.1), transparent 65%);
}
.report-hero::after {
  content: attr(data-grade);
  position: absolute;
  right: -10px;
  top: -104px;
  z-index: 0;
  color: rgba(var(--accent-rgb), 0.032);
  font-family: var(--font-display);
  font-size: 300px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.report-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.report-hero-title-wrap { min-width: 0; }
.report-hero-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.005em;
}
.report-hero-en {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.report-hero-sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.report-hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding-top: 2px;
}
.report-hero-board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr) 288px;
  gap: 28px;
  margin-top: 26px;
  align-items: stretch;
}

/* 等级印章 */
.report-page [data-grade='S'] { --grade: var(--lime); --grade-rgb: var(--lime-rgb); }
.report-page [data-grade='A'] { --grade: var(--cyan); --grade-rgb: var(--cyan-rgb); }
.report-page [data-grade='B'] { --grade: #e6ece2; --grade-rgb: 230, 236, 226; }
.report-page [data-grade='C'] { --grade: var(--coral); --grade-rgb: var(--coral-rgb); }
.report-page [data-grade='D'] { --grade: var(--muted); --grade-rgb: 117, 128, 121; }

.report-grade {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 186px;
  padding: 14px 16px 13px;
  border: 1px solid rgba(var(--grade-rgb), 0.28);
  border-radius: 10px;
  background:
    linear-gradient(155deg, rgba(var(--grade-rgb), 0.1), rgba(var(--grade-rgb), 0.015) 60%),
    rgba(255, 255, 255, 0.012);
  box-shadow: inset 0 0 40px rgba(var(--grade-rgb), 0.045);
}
.report-grade::before,
.report-grade::after {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  border-color: rgba(var(--grade-rgb), 0.75);
  border-style: solid;
}
.report-grade::before { top: -1px; left: -1px; border-width: 1.5px 0 0 1.5px; }
.report-grade::after { bottom: -1px; right: -1px; border-width: 0 1.5px 1.5px 0; }
.report-grade-caption {
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.16em;
}
.report-grade-letter {
  margin: 3px 0 -2px;
  color: var(--grade);
  font-family: var(--font-display);
  font-size: 92px;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-shadow: 0 0 36px rgba(var(--grade-rgb), 0.28);
}
.report-grade-rank {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.report-grade-note {
  margin-top: 6px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

/* 分数 / 名次 */
.report-score-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 2px 0;
}
.report-score-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.report-score {
  font-family: var(--font-display);
  font-size: clamp(64px, 8.6vw, 112px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.report-score-unit {
  color: var(--faint);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.report-hero-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.report-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.report-flag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 7px currentColor;
  opacity: 0.9;
}
.report-flag.is-up { color: var(--lime); border-color: rgba(var(--lime-rgb), 0.24); background: rgba(var(--lime-rgb), 0.05); }
.report-flag.is-down { color: var(--coral); border-color: rgba(var(--coral-rgb), 0.22); background: rgba(var(--coral-rgb), 0.045); }
.report-flag.is-neutral { color: var(--text-dim); }
.report-standings {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-top: 20px;
  max-width: 520px;
}
.report-standings-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.report-standings-copy > .mono { color: var(--faint); font-size: 8px; letter-spacing: 0.1em; }
.report-standings-copy b { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.05; letter-spacing: 0.02em; }
.report-standings-copy > span:last-child { color: var(--muted); font-size: 10px; }
.report-standings-bar {
  position: relative;
  flex: 1;
  min-width: 90px;
  height: 3px;
  margin-bottom: 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.report-standings-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.35), var(--accent));
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.45);
  animation: report-bar-grow 0.9s var(--ease) both;
  transform-origin: left;
}
.report-standings-bar.is-empty i { background: var(--line-strong); box-shadow: none; }
@keyframes report-bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.report-hero-ctas {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
}
.report-hero-ctas .btn { width: 100%; justify-content: space-between; }
.report-hero-ctas .btn-quiet { justify-content: flex-start; padding-left: 2px; }

.report-meta-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  padding-bottom: 14px;
  row-gap: 10px;
  column-gap: 0;
}
.report-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 20px 0 0;
  margin-right: 20px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.report-meta-item:first-child { padding-left: 0; }
.report-meta-item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.report-meta-item em {
  color: var(--faint);
  font-style: normal;
  font-size: 7.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   指标条
   ============================================================ */
.report-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  overflow: hidden;
}
.report-metric {
  position: relative;
  padding: 17px 17px 15px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.004) 70%),
    var(--bg-raised);
  transition: background 0.3s var(--ease);
  min-width: 0;
}
.report-metric:hover { background-color: #101619; }
.report-metric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 17px;
  right: 17px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.report-metric:hover::before { opacity: 1; }
.report-metric-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 16px;
}
.report-metric-index { color: var(--faint); font-size: 7.5px; letter-spacing: 0.08em; }
.report-metric-label {
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-metric-flag {
  margin-left: auto;
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}
.report-metric-flag.is-accent { color: var(--accent); border-color: rgba(var(--accent-rgb), 0.28); background: rgba(var(--accent-rgb), 0.06); }
.report-metric-value-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 12px 0 9px;
}
.report-metric-value {
  font-family: var(--font-display);
  font-size: clamp(30px, 2.6vw, 38px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.report-metric-unit {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
}
.report-metric-deltas {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 32px;
}
.report-metric-delta {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.02em;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-metric-delta.is-better { color: var(--lime-dim); }
.report-metric-delta.is-worse { color: var(--coral); }
.report-metric-delta.is-flat { color: var(--faint); }
.report-delta-arrow {
  display: inline-block;
  flex: none;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  opacity: 0.9;
}
.report-delta-arrow[data-dir='up'] { border-bottom: 4.5px solid currentColor; }
.report-delta-arrow[data-dir='down'] { border-top: 4.5px solid currentColor; }
.report-delta-arrow.is-flat {
  width: 3px;
  height: 3px;
  border: 0;
  border-radius: 50%;
  background: currentColor;
}
.report-metric-meter {
  height: 2px;
  margin-top: 13px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.report-metric-meter span {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.25), var(--accent));
  opacity: 0.7;
  transform-origin: left;
  animation: report-bar-grow 0.85s var(--ease) both;
}

/* ============================================================
   主网格 / 面板
   ============================================================ */
.report-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(320px, 0.92fr);
  grid-template-areas:
    'charts side'
    'compare side';
  gap: 18px;
  align-items: start;
}
.report-main-col {
  grid-area: charts;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.report-side-col {
  grid-area: side;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.report-main-grid > .report-compare-panel {
  grid-area: compare;
  align-self: stretch;
  margin-top: 0;
}
.report-main-grid > .report-compare-panel .report-compare-grid { gap: 12px; }
.report-main-grid > .report-compare-panel .report-compare-group { padding: 11px 12px 9px; }
.report-main-grid > .report-compare-panel .report-compare-row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 7px; }
.report-main-grid > .report-compare-panel .report-compare-label { font-size: 8.5px; }
.report-main-grid > .report-compare-panel .report-compare-value { font-size: 9px; }
.report-main-grid > .report-compare-panel .report-panel-title p { max-width: 520px; }
.report-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 13px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.004) 62%),
    var(--panel);
  padding: 19px 20px 18px;
  min-width: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.report-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.report-panel-head--compact { margin-bottom: 6px; }
.report-panel-head--stack { flex-direction: column; align-items: stretch; gap: 14px; }
.report-panel-title { min-width: 0; }
.report-panel-index {
  display: block;
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 0.15em;
  margin-bottom: 7px;
}
.report-panel-title h3 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.012em;
}
.report-panel-title p {
  max-width: 560px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}
.report-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  flex: none;
  padding-top: 3px;
}
.report-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.report-legend-item i {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 2px;
  flex: none;
  border-radius: 2px;
  background: var(--muted);
}
.report-legend-item i.is-score,
.report-legend-item i.is-rating,
.report-legend-item i.is-this,
.report-legend-item i.is-lime { background: var(--accent); box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.5); }
.report-legend-item i.is-accuracy,
.report-legend-item i.is-bench,
.report-legend-item i.is-pb {
  height: 0;
  border-top: 1.5px dashed var(--cyan);
  border-radius: 0;
  background: transparent;
}
.report-legend-item i.is-slope {
  height: 4px;
  background: rgba(var(--lime-rgb), 0.55);
}
.report-legend-item i.is-track { background: var(--violet); }
.report-legend-item i.is-band {
  height: 8px;
  width: 13px;
  border-radius: 2px;
  background: rgba(var(--lime-rgb), 0.22);
  border: 1px solid rgba(var(--lime-rgb), 0.35);
}
.report-legend-item i.is-fire {
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 2px, transparent 2px 4px);
}
.report-legend-item i.is-hit { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 6px rgba(var(--lime-rgb), 0.6); }
.report-legend-item i.is-miss { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.report-legend-item i.is-target { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--text-dim); background: transparent; }
.report-legend-item i.is-recent { background: var(--text-dim); opacity: 0.65; }
.report-legend-item i.is-multi {
  width: 14px;
  height: 6px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--lime) 0 25%, var(--cyan) 25% 50%, var(--coral) 50% 75%, var(--violet) 75% 100%);
}

.report-chart {
  position: relative;
  width: 100%;
  min-height: 220px;
}
.report-chart-slot { width: 100%; min-height: 220px; }
.report-chart-slot:empty { min-height: 220px; }
.report-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.report-chart-svg text {
  font-family: var(--font-mono);
  fill: var(--muted);
  letter-spacing: 0.02em;
}
.report-chart-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
.report-chart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 230px;
  padding: 30px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: 9px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.012);
}
.report-chart-empty-mark { color: var(--faint); font-size: 8px; letter-spacing: 0.18em; }
.report-chart-empty p { max-width: 380px; font-size: 10.5px; line-height: 1.7; }

/* ============================================================
   SVG 图表原子样式
   ============================================================ */
.rc-grid { stroke: rgba(231, 243, 236, 0.06); stroke-width: 1; shape-rendering: crispEdges; }
.rc-grid-v { stroke: rgba(231, 243, 236, 0.035); stroke-width: 1; shape-rendering: crispEdges; }
.rc-grid-center { stroke: rgba(231, 243, 236, 0.13); stroke-width: 1; }
.rc-axis { stroke: rgba(231, 243, 236, 0.16); stroke-width: 1; }
.rc-tick { font-size: 9px; fill: var(--faint); letter-spacing: 0.02em; }
.rc-tick-accuracy { fill: rgba(111, 232, 238, 0.55); }
.rc-axis-title { font-size: 8px; fill: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; }
.rc-axis-title-acc { fill: rgba(111, 232, 238, 0.55); }
.rc-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rc-line-acc { fill: none; stroke: var(--cyan); stroke-width: 1.15; stroke-dasharray: 3 4; opacity: 0.65; }
.rc-area { pointer-events: none; }
.rc-annot { font-size: 8.5px; fill: var(--text-dim); letter-spacing: 0.03em; }
.rc-annot-strong { fill: var(--lime); }
.rc-annot-dot { fill: var(--text); }
.rc-annot-dot-end { fill: var(--accent); }
.rc-annot-dot-slope { fill: var(--lime); }
.rc-slope { stroke: rgba(var(--lime-rgb), 0.5); stroke-width: 4; stroke-linecap: round; }
.rc-leader { stroke: rgba(var(--lime-rgb), 0.25); stroke-width: 1; stroke-dasharray: 2 4; }
.rc-pt { outline: none; cursor: crosshair; }
.rc-pt-hit { fill: transparent; }
.rc-dot { fill: var(--text); stroke: #080b0d; stroke-width: 1; pointer-events: none; }
.rc-pt:hover .rc-pt-hit,
.rc-pt:focus .rc-pt-hit,
.rc-pt.is-active .rc-pt-hit {
  fill: rgba(var(--lime-rgb), 0.1);
  stroke: rgba(var(--lime-rgb), 0.6);
  stroke-width: 1;
}
.rc-pt:hover .rc-dot,
.rc-pt:focus .rc-dot,
.rc-pt.is-active .rc-dot { fill: var(--lime); }
.rc-plot-bg { fill: rgba(255, 255, 255, 0.012); }
.rc-plot-frame { fill: none; stroke: var(--line); stroke-width: 1; }
.rc-target-edge { fill: none; stroke: rgba(231, 243, 236, 0.2); stroke-width: 1; stroke-dasharray: 3 4; }
.rc-target-ring { fill: none; stroke: rgba(var(--lime-rgb), 0.13); stroke-width: 1; }
.rc-crosshair-dot { fill: rgba(var(--lime-rgb), 0.65); }
.rc-shot { pointer-events: none; }
.rc-shot-hit { fill: var(--lime); opacity: 0.85; }
.rc-shot-miss { fill: var(--coral); opacity: 0.82; }
.rc-pt-hit-mark:hover .rc-shot-hit { fill: #ffffff; }
.rc-pt-miss-mark:hover .rc-shot-miss { fill: #ffb4a6; }
.rc-stats rect { fill: rgba(255, 255, 255, 0.022); stroke: var(--line); stroke-width: 1; }
.rc-stats-title { font-size: 8px; fill: var(--accent); letter-spacing: 0.1em; }
.rc-stat-label { font-size: 8.5px; fill: var(--muted); }
.rc-stat-value { font-size: 10px; fill: var(--text); font-family: var(--font-mono); }
.rc-track-band { fill: rgba(var(--lime-rgb), 0.045); }
.rc-threshold { stroke: rgba(var(--lime-rgb), 0.42); stroke-width: 1; stroke-dasharray: 4 5; }
.rc-threshold-label { font-size: 8px; fill: rgba(var(--lime-rgb), 0.7); letter-spacing: 0.04em; }
.rc-mean { stroke: rgba(111, 232, 238, 0.42); stroke-width: 1; stroke-dasharray: 2 4; }
.rc-mean-label { font-size: 8px; fill: rgba(111, 232, 238, 0.7); letter-spacing: 0.03em; }
.rc-track-summary { font-size: 8.5px; fill: var(--text-dim); letter-spacing: 0.05em; }
.rc-track-summary-right { fill: var(--lime-dim); }
.rc-fire-on { fill: rgba(var(--lime-rgb), 0.55); }
.rc-fire-off { fill: rgba(255, 255, 255, 0.1); }
.rc-radar-ring { fill: none; stroke: rgba(231, 243, 236, 0.065); stroke-width: 1; }
.rc-radar-ring-base { stroke: rgba(111, 232, 238, 0.3); stroke-dasharray: 3 4; }
.rc-radar-axis { stroke: rgba(231, 243, 236, 0.08); stroke-width: 1; }
.rc-radar-bench {
  fill: rgba(111, 232, 238, 0.055);
  stroke: rgba(111, 232, 238, 0.62);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.rc-radar-shape {
  fill: rgba(var(--accent-rgb), 0.15);
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.18));
}
.rc-radar-core { fill: rgba(231, 243, 236, 0.4); }
.rc-radar-dot { fill: var(--accent); stroke: #07090b; stroke-width: 1.5; pointer-events: none; }
.rc-radar-label { font-family: var(--font-body); font-size: 10px; fill: var(--text-dim); letter-spacing: 0.02em; }
.rc-radar-value { font-family: var(--font-display); font-size: 14px; font-weight: 600; fill: var(--text); }
.rc-trend-dot { fill: var(--dot); stroke: #07090b; stroke-width: 1; pointer-events: none; }
.rc-pt:focus { outline: none; }

/* 图表 tooltip ------------------------------------------------- */
.report-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  min-width: 142px;
  max-width: 260px;
  padding: 9px 11px 8px;
  border: 1px solid rgba(var(--lime-rgb), 0.2);
  border-radius: 7px;
  background: rgba(9, 13, 15, 0.97);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.report-tooltip[hidden] { display: none; }
.rc-tip-title {
  display: block;
  margin-bottom: 5px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rc-tip-row {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.65;
  font-size: 10px;
  color: var(--muted);
}
.rc-tip-row i {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.8;
}
.rc-tip-row span { flex: 1; white-space: nowrap; }
.rc-tip-row b {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

/* ============================================================
   雷达面板 / 诊断
   ============================================================ */
.report-radar-avg {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding-top: 4px;
}
.report-radar-foot { margin-top: 4px; }
.report-radar-foot .report-legend { margin-bottom: 9px; }
.report-radar-note {
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.7;
}
.report-radar-note b { color: var(--text-dim); font-family: var(--font-mono); font-weight: 500; }
.report-radar-verdict {
  display: flex;
  gap: 18px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 9px;
  letter-spacing: 0.03em;
}
.report-radar-verdict b { color: var(--text-dim); font-weight: 500; }

.report-diagnosis-count { color: var(--faint); font-size: 8px; letter-spacing: 0.08em; padding-top: 5px; }
.report-insights {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
}
.report-insight {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.report-insight:first-child { border-top: 0; padding-top: 8px; }
.report-insight-index { color: var(--faint); font-size: 8px; padding-top: 4px; letter-spacing: 0.04em; }
.report-insight-main { min-width: 0; }
.report-insight-meta {
  display: flex;
  align-items: center;
  gap: 9px;
}
.report-insight-tag {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 6px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.report-insight-meta .mono { color: var(--faint); font-size: 7px; letter-spacing: 0.08em; }
.report-insight.is-strength .report-insight-tag { color: var(--lime); background: rgba(var(--lime-rgb), 0.1); border: 1px solid rgba(var(--lime-rgb), 0.2); }
.report-insight.is-improve .report-insight-tag { color: var(--coral); background: rgba(var(--coral-rgb), 0.09); border: 1px solid rgba(var(--coral-rgb), 0.2); }
.report-insight.is-watch .report-insight-tag { color: var(--cyan); background: rgba(var(--cyan-rgb), 0.07); border: 1px solid rgba(var(--cyan-rgb), 0.16); }
.report-insight h4 {
  margin-top: 5px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.005em;
}
.report-insight p { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.report-insight-action {
  display: flex;
  gap: 8px;
  margin-top: 6px !important;
  color: var(--text-dim) !important;
}
.report-insight-action .mono { flex: none; color: var(--accent) !important; font-size: 7px; letter-spacing: 0.08em; padding-top: 2px; }

.report-next {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.07), transparent 65%);
}
.report-next-copy { min-width: 0; }
.report-next-copy > .mono { color: var(--accent); font-size: 7.5px; letter-spacing: 0.1em; }
.report-next-copy h4 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}
.report-next-copy h4 .mono { color: var(--faint); font-size: 8px; font-weight: 400; letter-spacing: 0.1em; }
.report-next-copy p { margin-top: 5px; color: var(--muted); font-size: 9.5px; line-height: 1.6; }
.report-next-btn { flex: none; }

/* ============================================================
   历史对比
   ============================================================ */
.report-compare-panel { margin-top: 0; }
.report-baseline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(var(--lime-rgb), 0.15);
  border-left: 2px solid var(--lime);
  border-radius: 6px;
  background: rgba(var(--lime-rgb), 0.035);
}
.report-baseline-mark { flex: none; color: var(--lime); font-size: 7.5px; letter-spacing: 0.12em; padding-top: 2px; }
.report-baseline b { display: block; font-size: 11px; }
.report-baseline p { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.report-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 6px;
}
.report-compare-group {
  padding: 12px 14px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.012);
  min-width: 0;
}
.report-compare-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.report-compare-head span { font-size: 11px; font-weight: 600; }
.report-compare-head em { color: var(--faint); font-size: 7.5px; font-style: normal; letter-spacing: 0.06em; }
.report-compare-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 27px;
}
.report-compare-label { color: var(--muted); font-size: 9px; letter-spacing: 0.03em; white-space: nowrap; }
.report-compare-track {
  position: relative;
  height: 7px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}
.report-compare-fill {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 2px;
  transform-origin: left;
  animation: report-bar-grow 0.95s var(--ease) both;
}
.report-compare-fill.is-this { background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.5), var(--accent)); }
.report-compare-fill.is-pb { background: linear-gradient(90deg, rgba(var(--cyan-rgb), 0.35), var(--cyan)); }
.report-compare-fill.is-recent { background: rgba(231, 243, 236, 0.28); }
.report-compare-fill.is-bench { background: rgba(111, 232, 238, 0.22); }
.report-compare-value {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.report-compare-foot { margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--faint); font-size: 8px; letter-spacing: 0.04em; }

/* ============================================================
   CTA 收尾 / 页脚
   ============================================================ */
.report-cta-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding: 28px 30px;
  border: 1px solid rgba(var(--accent-rgb), 0.16);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(var(--accent-rgb), 0.09), transparent 58%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006) 60%),
    var(--panel);
}
.report-cta-band::after {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.6), transparent);
}
.report-cta-copy { min-width: 0; }
.report-cta-copy h2 {
  margin: 12px 0 9px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}
.report-cta-copy p { max-width: 560px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.report-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  flex: none;
}
.report-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}
.report-empty { margin-top: 24px; min-height: 320px; }
.report-empty-actions { display: flex; gap: 10px; margin-top: 6px; }

/* ============================================================
   数据中心
   ============================================================ */
.report-dc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.report-dc-title-wrap { min-width: 0; }
.report-dc-head h1 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(46px, 5.4vw, 70px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.01em;
}
.report-dc-title-accent { color: var(--accent); }
.report-dc-sub {
  max-width: 640px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}
.report-dc-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.report-danger-link { color: var(--muted); }
.report-danger-link:hover { color: var(--coral); background: rgba(var(--coral-rgb), 0.06); }
.report-danger-link:disabled { opacity: 0.35; cursor: not-allowed; }

.report-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  overflow: hidden;
}
.report-summary-item {
  padding: 16px 16px 14px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.004) 65%),
    var(--bg-raised);
  min-width: 0;
}
.report-summary-label { display: block; color: var(--faint); font-size: 7.5px; letter-spacing: 0.09em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.report-summary-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 11px 0 7px;
}
.report-summary-value b {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 34px);
  font-weight: 600;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
}
.report-summary-value span { color: var(--faint); font-family: var(--font-mono); font-size: 8px; }
.report-summary-sub {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 空状态引导 */
.report-dc-onboard {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 280px;
  align-items: center;
  gap: 30px;
  margin-top: 22px;
  padding: 26px 30px;
  border-color: rgba(var(--lime-rgb), 0.14);
  background:
    radial-gradient(ellipse at 12% 50%, rgba(var(--lime-rgb), 0.07), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006) 65%),
    var(--panel);
}
.report-dc-onboard-visual { color: var(--lime); max-width: 200px; }
.report-dc-onboard-visual svg { width: 100%; height: auto; }
.report-dc-onboard-copy > .mono { color: var(--lime); font-size: 8px; letter-spacing: 0.16em; }
.report-dc-onboard-copy h2 {
  margin: 10px 0 9px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.05;
}
.report-dc-onboard-copy p { max-width: 560px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.report-dc-onboard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.report-dc-onboard-actions .mono { color: var(--faint); font-size: 8px; letter-spacing: 0.05em; }
.report-dc-onboard-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.report-dc-onboard-list li { display: flex; gap: 10px; font-size: 10px; color: var(--muted); line-height: 1.5; }
.report-dc-onboard-list b { color: var(--lime); font-family: var(--font-mono); font-size: 8px; font-weight: 500; padding-top: 1px; }

/* 趋势 */
.report-trend-panel { margin-top: 22px; }
.report-trend-panel .report-chart { margin-top: 2px; }

/* 模式概览 */
.report-modes-panel { margin-top: 18px; }
.report-mode-total { color: var(--faint); font-size: 8px; letter-spacing: 0.08em; padding-top: 4px; }
.report-mode-list { border-top: 1px solid var(--line); }
.report-mode-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 1.15fr) minmax(280px, 1.4fr) 116px 106px;
  align-items: center;
  gap: 20px;
  padding: 15px 8px 15px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}
.report-mode-row:last-child { border-bottom: 0; }
.report-mode-row:hover { background: rgba(255, 255, 255, 0.02); }
.report-mode-accent {
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: var(--mode);
  opacity: 0.5;
  transition: opacity 0.25s, box-shadow 0.25s;
}
.report-mode-row:hover .report-mode-accent { opacity: 1; box-shadow: 0 0 12px rgba(var(--mode-rgb), 0.55); }
.report-mode-identity { display: flex; align-items: center; gap: 13px; min-width: 0; }
.report-mode-serial {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--mode);
  font-size: 9px;
  background: rgba(255, 255, 255, 0.015);
}
.report-mode-identity h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.report-mode-identity p { margin-top: 3px; color: var(--faint); font-size: 7.5px; letter-spacing: 0.06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.report-mode-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.report-mode-stats span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.report-mode-stats em { color: var(--faint); font-style: normal; font-size: 7px; letter-spacing: 0.06em; }
.report-mode-stats b {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-mode-spark { display: flex; justify-content: flex-end; opacity: 0.85; }
.report-spark { width: 108px; height: 30px; display: block; }
.report-spark line { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 2 3; }
.report-mode-action { display: flex; justify-content: flex-end; }

/* 历史 */
.report-history-panel { margin-top: 18px; }
.report-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.report-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 27px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  transition: 0.2s var(--ease);
}
.report-filter b { color: var(--faint); font-size: 7.5px; font-weight: 400; }
.report-filter:hover { color: var(--text); border-color: var(--line-strong); }
.report-filter.is-active {
  color: #141a08;
  border-color: var(--lime);
  background: var(--lime);
  font-weight: 600;
}
.report-filter.is-active b { color: rgba(20, 26, 8, 0.6); }
.report-history-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 2px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.05em;
  border-top: 1px solid var(--line);
}
.report-table-scroll {
  position: relative;
  max-height: 560px;
  overflow: auto;
  border-top: 1px solid var(--line);
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
  min-width: 720px;
}
.report-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 10px 12px;
  text-align: left;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #0b0f12;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.report-table th:first-child { padding-left: 8px; }
.report-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(231, 243, 236, 0.05);
  vertical-align: middle;
  white-space: nowrap;
}
.report-table td:first-child { padding-left: 8px; }
.report-table tbody tr {
  cursor: pointer;
  transition: background 0.18s var(--ease), box-shadow 0.18s var(--ease);
  outline: none;
}
.report-table tbody tr:hover,
.report-table tbody tr:focus-visible {
  background: rgba(var(--lime-rgb), 0.055);
  box-shadow: inset 2px 0 0 var(--lime);
}
.report-table tbody tr:hover .report-row-action { color: var(--lime); }
.report-table tbody tr:last-child td { border-bottom: 0; }
.report-mode-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--mode);
  box-shadow: 0 0 7px rgba(var(--lime-rgb), 0.2);
  vertical-align: 1px;
}
.report-cell-en { margin-left: 7px; color: var(--faint); font-size: 7px; letter-spacing: 0.08em; }
.report-cell-date { display: block; color: var(--text-dim); font-weight: 500; }
.report-table td .mono { color: var(--faint); font-size: 7.5px; }
.report-grade-chip {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(var(--grade-rgb), 0.35);
  border-radius: 5px;
  color: var(--grade);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  background: rgba(var(--grade-rgb), 0.07);
}
.report-table-score { color: var(--text); font-family: var(--font-mono); font-size: 11px; font-weight: 500; }
.report-cell-tag {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--faint);
  font-size: 6.5px;
  vertical-align: 1px;
}
.report-row-action { color: var(--muted); font-size: 9px; letter-spacing: 0.03em; transition: color 0.18s; }
.report-table-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 48px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}
.report-table-empty[hidden] { display: none; }
.report-table-empty .mono { color: var(--faint); font-size: 8px; letter-spacing: 0.12em; }
.report-table.is-filtered-empty { display: none; }

/* 数据管理 */
.report-manage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 30px;
  margin-top: 22px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.012);
}
.report-manage-copy > .mono { color: var(--faint); font-size: 7.5px; letter-spacing: 0.12em; }
.report-manage-copy h2 {
  margin: 6px 0 7px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}
.report-manage-copy p { max-width: 660px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.report-manage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: flex-end; }
.report-btn-danger {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(var(--coral-rgb), 0.24);
  border-radius: 9px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 600;
  transition: 0.2s var(--ease);
}
.report-btn-danger:hover { border-color: rgba(var(--coral-rgb), 0.5); background: rgba(var(--coral-rgb), 0.07); }
.report-btn-danger:disabled { opacity: 0.35; cursor: not-allowed; }
.report-btn-danger-solid {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(var(--coral-rgb), 0.45);
  border-radius: 7px;
  color: #1a0b08;
  background: var(--coral);
  font-size: 11px;
  font-weight: 600;
}
.report-btn-danger-solid:hover { background: #ff9a8b; }
.report-btn-danger-solid:disabled { opacity: 0.6; cursor: wait; }
.report-confirm {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(var(--coral-rgb), 0.24);
  border-left: 2px solid var(--coral);
  border-radius: 7px;
  background: rgba(var(--coral-rgb), 0.05);
}
.report-confirm[hidden] { display: none; }
.report-confirm-copy { min-width: 0; }
.report-confirm-copy b { display: block; font-size: 11.5px; color: var(--text); }
.report-confirm-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.report-confirm-actions { display: flex; gap: 8px; flex: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1320px) {
  .report-hero-board { grid-template-columns: 146px minmax(0, 1fr) 260px; gap: 22px; }
  .report-grade-letter { font-size: 82px; }
  .report-hero-ctas .btn-lg { font-size: 12px; padding: 0 16px; }
  .report-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .report-summary-item:nth-child(n + 4) { border-top: 1px solid var(--line); }
}

@media (max-width: 1160px) {
  .report-main-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'charts'
      'side'
      'compare';
  }
  .report-side-col {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }
  .report-side-col .report-radar-panel { grid-row: span 1; }
  .report-main-grid > .report-compare-panel .report-compare-grid { gap: 18px; }
  .report-main-grid > .report-compare-panel .report-compare-group { padding: 12px 14px 10px; }
  .report-dc-onboard { grid-template-columns: 180px minmax(0, 1fr); }
  .report-dc-onboard-list { display: none; }
  .report-mode-row { grid-template-columns: minmax(170px, 1fr) minmax(250px, 1.25fr) 100px; gap: 16px; }
  .report-mode-spark { display: none; }
}

@media (max-width: 980px) {
  .report-hero-board {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
  }
  .report-hero-ctas {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 6px;
  }
  .report-hero-ctas .btn { width: auto; }
  .report-hero-ctas .btn:first-child { min-width: 220px; }
  .report-score { font-size: clamp(64px, 9vw, 88px); }
  .report-dc-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .report-dc-actions { align-self: stretch; justify-content: flex-end; }
  .report-main-grid > .report-compare-panel .report-compare-grid { gap: 18px; }
  .report-main-grid > .report-compare-panel .report-compare-group { padding: 12px 14px 10px; }
  .report-compare-grid { grid-template-columns: minmax(0, 1fr); }
  .report-cta-band { flex-direction: column; align-items: flex-start; gap: 20px; }
  .report-cta-actions { width: 100%; }
  .report-manage { grid-template-columns: minmax(0, 1fr); }
  .report-manage-actions { justify-content: flex-start; }
  .report-confirm { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .report-hero-title { flex-wrap: wrap; gap: 8px 12px; font-size: 40px; }
  .report-hero-en { display: none; }
  .report-hero-top { flex-direction: column; gap: 12px; }
  .report-hero-actions { width: 100%; justify-content: flex-start; }
  .report-hero-board { grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
  .report-grade {
    flex-direction: row;
    align-items: center;
    min-height: 0;
    gap: 12px;
    padding: 11px 14px;
  }
  .report-grade-letter { font-size: 56px; margin: 0; }
  .report-grade-caption { display: none; }
  .report-grade-rank { margin-left: auto; }
  .report-grade-note { display: none; }
  .report-score { font-size: 72px; }
  .report-standings { margin-top: 16px; }
  .report-hero-ctas { flex-direction: column; align-items: stretch; }
  .report-hero-ctas .btn { width: 100%; }
  .report-meta-strip { gap: 8px 16px; }
  .report-meta-item { padding-right: 12px; margin-right: 12px; border-right: 0; }
  .report-meta-item:nth-child(2n) { padding-right: 0; }
  .report-dc-actions { justify-content: flex-start; }
  .report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-sec-head h2 { font-size: 28px; }
  .report-panel { padding: 16px 14px 15px; }
  .report-panel-head { flex-direction: column; gap: 10px; }
  .report-panel-head--stack { flex-direction: column; }
  .report-main-grid { gap: 14px; }
  .report-main-col, .report-side-col { gap: 14px; }
  .report-side-col { display: flex; }
  .report-legend { padding-top: 0; }
  .report-chart-slot { min-height: 180px; }
  .report-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
  .report-summary-item { padding: 13px 13px 12px; }
  .report-summary-sub { white-space: normal; }
  .report-dc-onboard { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; gap: 18px; }
  .report-dc-onboard-visual { display: none; }
  .report-dc-onboard-copy h2 { font-size: 27px; }
  .report-mode-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 12px;
    padding: 14px 6px 14px 14px;
  }
  .report-mode-stats { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .report-mode-action { grid-column: 2; grid-row: 1; align-self: center; }
  .report-filters { width: 100%; }
  .report-history-meta { flex-direction: column; gap: 4px; }
  .report-table-scroll { max-height: none; }
  .report-table { min-width: 0; display: block; }
  .report-table thead { display: none; }
  .report-table tbody { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 0; }
  .report-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.014);
  }
  .report-table tbody tr:hover { box-shadow: inset 2px 0 0 var(--lime); }
  .report-table td {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
    border-bottom: 0;
    white-space: normal;
  }
  .report-table td::before {
    content: attr(data-label);
    color: var(--faint);
    font-family: var(--font-mono);
    font-size: 6.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .report-table td:first-child { padding-left: 0; grid-column: 1 / -1; }
  .report-table td:last-child { grid-column: 1 / -1; padding-top: 4px; border-top: 1px solid var(--line); flex-direction: row; justify-content: flex-end; }
  .report-table td:last-child::before { display: none; }
  .report-cell-en { font-size: 6.5px; }
  .report-confirm-actions { width: 100%; justify-content: flex-end; }
  .report-cta-band { padding: 22px 18px; }
  .report-cta-actions .btn { flex: 1 1 auto; }
  .report-foot { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .report-score { font-size: 64px; }
  .report-metric-value { font-size: 32px; }
  .report-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-summary-item { padding: 12px 12px 11px; }
  .report-summary-sub { white-space: normal; line-height: 1.45; }
  .report-dc-head h1 { font-size: 44px; }
  .report-cta-copy h2 { font-size: 27px; }
  .report-cta-actions { flex-direction: column; align-items: stretch; }
  .report-cta-actions .btn { width: 100%; }
  .report-filter { flex: 1 1 auto; justify-content: center; }
  .report-mode-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-hero-actions .btn { flex: 1; }
}

/* ============================================================
   动效降级
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .report-rise,
  .report-standings-bar i,
  .report-metric-meter span,
  .report-compare-fill {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .report-tooltip { transition: none; }
  .report-table tbody tr { transition: none; }
}
