/* 对标起号模块：黑色为主色，三档紫色只用于 AI 与数据洞察。 */

/* 入口页：全部使用黑色主视觉，紫色仅出现在生成后的报告中。 */
#launchView .launch-entry .launch-hero-accent,
#launchView .launch-entry .launch-spark {
  color: var(--text);
}

#launchView .launch-entry .launch-submit .launch-spark {
  color: #fff;
}

#launchView .launch-entry .launch-inline-field input[type="text"]:focus,
#launchView .launch-entry .launch-inline-field select:focus,
#launchView .launch-entry .launch-url-field textarea:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

#launchView .launch-entry .launch-check-inline input {
  accent-color: var(--text);
}

/* 报告页标签：文字保持黑灰，仅使用一条紫色激活线。 */
body.has-launch-report:has(#launchView.active) .report-tabs .tab {
  color: var(--text-2);
}

body.has-launch-report:has(#launchView.active) .report-tabs .tab.active {
  color: var(--text);
  border-bottom-color: var(--launch-primary);
}

body.has-launch-report:has(#launchView.active) .workspace-header .ghost-button:hover {
  color: var(--text);
  border-color: var(--line);
}

/* AI 总结与 AI 建议：浅紫底、浅紫边框、紫色短标签。 */
#launchView.has-report .ai-note,
#launchView.has-report .judgement-note {
  background: var(--launch-primary-soft);
  border-color: var(--launch-primary-border);
}

#launchView.has-report .ai-note strong,
#launchView.has-report .judgement-note strong {
  color: var(--text);
}

#launchView.has-report .brief-action {
  color: var(--text);
  background: #fff;
  border-color: var(--text);
}

#launchView.has-report .brief-action:hover {
  color: var(--text);
  background: var(--panel-soft);
  border-color: var(--text);
}

#launchView.has-report .overview-evidence {
  color: var(--launch-primary);
  background: #fff;
  border-color: var(--launch-primary);
}

#launchView.has-report .overview-evidence:hover {
  color: var(--launch-primary);
  background: var(--launch-primary-soft);
  border-color: var(--launch-primary);
}

/* 路径节点只做极浅紫提示，不改变正文和结构。 */
#launchView.has-report .step-no {
  color: var(--text);
  background: var(--launch-primary-soft);
  border-color: var(--launch-primary-border);
}

#launchView.has-report .step-card::after {
  background: var(--launch-primary-border);
}

#launchView.has-report .step-popover span {
  color: var(--text);
}

/* 评论洞察：仅词云背景使用浅紫色，词语本身不使用紫色强调。 */
#launchView.has-report .comment-sample-meta {
  color: var(--text-2) !important;
  background: #fff;
  border: 1px solid var(--line-soft);
}

#launchView.has-report .comment-capture-card.is-mode {
  background: #fff;
  border-color: var(--line-soft);
}

#launchView.has-report .comment-cloud-panel {
  background: var(--launch-primary-soft);
  border-color: var(--launch-primary-border);
}

#launchView.has-report .comment-cloud-panel {
  background: var(--launch-primary-soft);
  border-color: var(--launch-primary-border);
}

#launchView.has-report .comment-capture-card.is-mode strong,
#launchView.has-report .comment-badge.is-author {
  color: var(--text);
}

#launchView.has-report .comment-list {
  scrollbar-color: var(--line) transparent;
}

#launchView.has-report .comment-badge.is-author {
  background: #fff;
  border: 1px solid var(--line-soft);
}

#launchView.has-report .comment-row.is-word-focus {
  background: var(--launch-primary-soft);
  box-shadow: inset 3px 0 0 var(--launch-primary);
  animation-name: launch-comment-word-focus;
}

@keyframes launch-comment-word-focus {
  0% { background: var(--launch-primary-muted); }
  100% { background: var(--launch-primary-soft); }
}

#launchView.has-report .comment-word-match {
  color: var(--launch-primary);
  background: var(--launch-primary-muted);
}

#launchView.has-report .comment-cloud-word:focus-visible {
  outline-color: var(--launch-primary);
}

#launchView.has-report .comment-cloud-word.tone-1 { color: #8470FF; }
#launchView.has-report .comment-cloud-word.tone-2 { color: #3f75c9; }
#launchView.has-report .comment-cloud-word.tone-3 { color: #16a085; }
#launchView.has-report .comment-cloud-word.tone-4 { color: #c45e92; }
#launchView.has-report .comment-cloud-word.tone-5 { color: #e58a17; }

/* 扩散判断与深度结论：每个模块仅保留顶部结论卡为紫色焦点。 */
#launchView.has-report .propagation-card.evidence-card,
#launchView.has-report .deep-insight-card {
  background: #fff;
  border-color: var(--line);
}

#launchView.has-report .deep-card-kicker {
  color: var(--text);
}

#launchView.has-report #propagation .deep-card-kicker,
#launchView.has-report #propagation .trigger-row span,
#launchView.has-report #propagation .trigger-row small,
#launchView.has-report #propagation .evidence-list p,
#launchView.has-report #propagation .propagation-conclusion-kicker,
#launchView.has-report #propagation .propagation-route-item small,
#launchView.has-report #propagation .propagation-boundary {
  color: var(--text);
}

#launchView.has-report .deep-insight-card .deep-card-summary,
#launchView.has-report .deep-insight-card .deep-card-list span {
  color: var(--text);
}

#launchView.has-report .evidence-list i,
#launchView.has-report .propagation-route-item > span {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-soft);
}

#launchView.has-report .propagation-conclusion-card,
#launchView.has-report .benchmark-insight-conclusion-card {
  background: var(--launch-primary-soft);
  border-color: var(--launch-primary-border);
}

#launchView.has-report .benchmark-insight-conclusion-card > div:first-child span {
  color: var(--text);
}

#launchView.has-report .benchmark-insight-conclusion-card {
  background: linear-gradient(
    110deg,
    var(--launch-primary-muted) 0%,
    var(--launch-primary-soft) 72%,
    #fff 100%
  );
}

#launchView.has-report .propagation-conclusion-card > strong,
#launchView.has-report .benchmark-insight-conclusion-card strong {
  color: var(--text);
}

#launchView.has-report .benchmark-conclusion-tags span {
  color: var(--text);
}

#launchView.has-report .benchmark-conclusion-tags span {
  background: #fff;
  border-color: var(--launch-primary-border);
}

#launchView.has-report .propagation-boundary {
  border-top-color: var(--launch-primary-border);
}

#launchView.has-report .benchmark-data-boundary {
  background: #fff;
  border: 1px solid var(--line-soft);
}

/* AI 反馈：四个反馈项展开后的详情区作为本模块紫色焦点。 */
#launchView.has-report #feedback .section-title h2 {
  padding-left: 0;
  border-left: 0;
}

#launchView.has-report #feedback .feedback-detail {
  color: var(--text);
  background: var(--launch-primary-soft);
  border-color: var(--launch-primary-border);
}

#launchView.has-report #feedback .feedback-detail-block strong,
#launchView.has-report #feedback .feedback-detail-block span {
  color: var(--text);
}

/* 起号路径：只突出爆发阶段编号；起号打法只突出顶部方法总结卡。 */
#launchView.has-report .growth-stage-report.is-breakout {
  background: #fff;
  border-color: var(--line);
}

#launchView.has-report .stage-index,
#launchView.has-report .launch-method-index {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-soft);
}

#launchView.has-report .growth-stage-kicker,
#launchView.has-report .growth-stage-conclusion > span,
#launchView.has-report .growth-stage-analysis section > span,
#launchView.has-report .growth-stage-evidence-head span,
#launchView.has-report .launch-method-headline span,
#launchView.has-report .launch-method-step > .launch-method-title > span,
#launchView.has-report .launch-method-content section > span {
  color: var(--text);
}

#launchView.has-report .growth-stage-metrics > div,
#launchView.has-report .launch-method-content section,
#launchView.has-report .launch-method-boundary {
  background: #fff;
  border: 1px solid var(--line-soft);
}

#launchView.has-report .growth-stage-metrics strong {
  color: var(--text);
}

#launchView.has-report .growth-stage-conclusion {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--line);
}

#launchView.has-report .growth-stage-conclusion strong,
#launchView.has-report .launch-method-headline strong {
  color: var(--text);
}

#launchView.has-report .launch-method-headline {
  background: linear-gradient(135deg, var(--launch-primary-soft) 0%, #fff 72%);
  border-color: var(--launch-primary-border);
}

/* 右侧 AI 总结：仅导出按钮使用紫色。 */
body.has-launch-report:has(#launchView.active) .insight-panel {
  background: #fff;
  border-color: var(--line-soft);
}

body.has-launch-report:has(#launchView.active) .insight-panel .spark,
body.has-launch-report:has(#launchView.active) .insight-panel .ai-score-card h2 {
  color: var(--text);
}

body.has-launch-report:has(#launchView.active) .insight-panel .score-bar {
  background: var(--line-soft);
}

body.has-launch-report:has(#launchView.active) .insight-panel .score-bar i {
  background: var(--text);
}

body.has-launch-report:has(#launchView.active) .insight-panel .score strong {
  color: var(--text);
}

body.has-launch-report:has(#launchView.active) .insight-panel .check-dot {
  color: var(--green);
  background: #f4fff5;
  border-color: var(--green-soft);
}

body.has-launch-report:has(#launchView.active) .insight-panel .export-button {
  color: #fff;
  background: var(--launch-primary);
  border-color: var(--launch-primary);
}

body.has-launch-report:has(#launchView.active) .insight-panel .export-button:hover {
  background: var(--launch-primary);
  border-color: var(--launch-primary);
  box-shadow: 0 6px 16px rgba(132, 112, 255, 0.22);
}

/* 成长图表：折线、填充和数据点使用同一紫色体系。 */
#launchView.has-report .growth-dot:not(.template-dot) {
  background: var(--launch-chart-line);
}

#launchView.has-report .growth-switch button.active {
  color: #fff;
  background: var(--text);
}

/* 深度分析中的单个爆发阶段可使用紫色强调。 */
#launchView.has-report .growth-stage-report.is-breakout .stage-index {
  color: #fff;
  background: var(--launch-primary);
}

#launchView.has-report .reason-core {
  background: var(--text);
}

#launchView.has-report .reason-card {
  background: var(--launch-primary-soft);
  border-color: var(--launch-primary-border);
}

#launchView.has-report .reason-card h3,
#launchView.has-report .reason-card h3 .spark,
#launchView.has-report .reason-card p,
#launchView.has-report .reason-card > strong,
#launchView.has-report .reason-card .copy-points {
  color: var(--text);
}
