/* ============================================
   v36 · 4 段报告样式
   ============================================ */
.v36-report {
  font-family: var(--mono, "SF Mono", "Consolas", monospace);
  color: #1a1a1a;
  padding: 16px 0;
}

.v36-reuse-banner {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  padding: 8px 12px;
  margin: 0 0 16px 0;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.v36-reuse-label { color: #92400e; }
.v36-reuse-id { font-weight: 700; color: #78350f; }
.v36-reuse-weight { color: #92400e; }
.v36-reuse-phase { color: #92400e; opacity: 0.8; }

.v36-mismatch {
  background: #fee2e2;
  border: 1px solid #ef4444;
  border-left: 4px solid #ef4444;
  padding: 12px 16px;
  margin: 0 0 16px 0;
  font-size: 12px;
}
.v36-mismatch-title {
  color: #991b1b;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.v36-mismatch-row {
  display: flex;
  gap: 8px;
  padding: 4px 0;
  border-top: 1px dashed #fca5a5;
}
.v36-mismatch-row:first-child { border-top: none; }
.v36-mismatch-head {
  color: #7f1d1d;
  font-weight: 700;
  background: #fecaca;
  margin: 4px -16px;
  padding: 6px 16px;
}
.v36-mismatch-key { color: #991b1b; min-width: 100px; font-weight: 600; }
.v36-mismatch-val { color: #1a1a1a; flex: 1; }

.v36-history {
  background: #ede9fe;
  border: 1px solid #8b5cf6;
  border-left: 4px solid #8b5cf6;
  padding: 12px 16px;
  margin: 0 0 16px 0;
  font-size: 12px;
}
.v36-history-title {
  color: #5b21b6;
  font-weight: 700;
  margin-bottom: 4px;
}
.v36-history-sub {
  color: #6d28d9;
  font-size: 11px;
  margin-bottom: 10px;
  opacity: 0.85;
}
.v36-history-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v36-history-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 4px 0;
  border-top: 1px dashed #c4b5fd;
}
.v36-history-step:first-child { border-top: none; }
.v36-history-when {
  color: #6d28d9;
  min-width: 90px;
  font-weight: 600;
}
.v36-history-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex: 1;
}
.v36-history-ev-tag {
  background: #ddd6fe;
  color: #4c1d95;
  padding: 1px 6px;
  border-radius: 2px;
  font-size: 11px;
}
.v36-history-empty {
  color: #a78bfa;
  font-style: italic;
}

.v36-section {
  margin: 0 0 18px 0;
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-left: 3px solid #1a1a1a;
  position: relative;
}
.v36-section-num {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 32px;
  color: #d1d5db;
  font-weight: 700;
  line-height: 1;
}
.v36-section-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 6px;
}
.v36-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: 1px;
}
.v36-section-hint {
  font-size: 11px;
  color: #6b7280;
  letter-spacing: 0.5px;
}

.v36-raw {
  background: #1a1a1a;
  color: #f5f5f5;
  padding: 10px 14px;
  font-size: 14px;
  border-radius: 2px;
  white-space: pre-wrap;
  word-break: break-word;
}
.v36-raw-img { font-style: italic; }

.v36-strategy {
  background: #fff;
  padding: 10px 12px;
  border: 1px dashed #1a1a1a;
}
.v36-strategy-title {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.v36-strategy-label { color: #6b7280; font-size: 12px; }
.v36-strategy-context {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  background: #fde68a;
  padding: 2px 8px;
  border-radius: 2px;
}
.v36-strategy-style {
  font-size: 11px;
  color: #6b7280;
  background: #f3f4f6;
  padding: 1px 6px;
  border-radius: 2px;
}
.v36-strategy-rationale {
  font-size: 12px;
  color: #374151;
  line-height: 1.5;
  margin-top: 6px;
}

.v36-dim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}
.v36-dim {
  background: #fff;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  position: relative;
}
.v36-dim-head {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.v36-dim-num {
  color: #9ca3af;
  font-size: 11px;
  font-weight: 700;
}
.v36-dim-name {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a1a;
  flex: 1;
}
.dim-score {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.dim-score-high { color: #dc2626; }
.dim-score-mid { color: #d97706; }
.dim-score-low { color: #6b7280; }
.dim-score-overflow { color: #991b1b; background: #fecaca; padding: 0 6px; }
.v36-dim-overflow {
  background: #fee2e2;
  color: #7f1d1d;
  padding: 6px 8px;
  margin: 4px 0;
  border: 1px solid #ef4444;
  font-size: 11px;
}
.v36-dim-overflow-label { color: #991b1b; font-weight: 700; }
.v36-dim-overflow-num { color: #7f1d1d; font-weight: 700; }
.v36-dim-overflow-msg { color: #991b1b; margin-top: 4px; font-style: italic; }
.v36-dim-rationale {
  font-size: 11px;
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 6px;
}
.v36-dim-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.v36-dim-ev-tag {
  background: #e5e7eb;
  color: #1f2937;
  padding: 1px 5px;
  font-size: 10px;
  border-radius: 2px;
}
.v36-dim-ev-empty {
  color: #9ca3af;
  font-style: italic;
  font-size: 10px;
}

.v36-deleted-list,
.v36-actions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.v36-deleted-item {
  font-size: 12px;
  color: #6b7280;
  text-decoration: line-through;
  padding: 2px 0;
}
.v36-actions-item {
  font-size: 12px;
  color: #1f2937;
  padding: 3px 0;
  font-weight: 600;
}

.v36-refused {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 8px 12px;
  border: 1px solid #1a1a1a;
}
.v36-refused-badge {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.v36-refused-generated {
  background: #1a1a1a;
  color: #fff;
}
.v36-refused-discarded {
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
}
.v36-refused-hint {
  font-size: 11px;
  color: #6b7280;
  font-style: italic;
}

.v36-reveal {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
  font-style: italic;
  padding: 8px 0;
  border-top: 1px dashed #d1d5db;
  border-bottom: 1px dashed #d1d5db;
}

.v36-footer {
  margin-top: 20px;
  padding: 8px 12px;
  background: #1a1a1a;
  color: #f5f5f5;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-align: center;
}
.v36-footer-label { color: #fbbf24; font-weight: 600; }