/** * 분석레포트 — 상단 컨텍스트 바 (중앙 패널 좌측 정렬 · 종목명 + 실행 정보) */ import React from 'react'; import type { BacktestAnalysisReportModel } from '../backtest/BacktestAnalysisReportModal'; interface Props { model: BacktestAnalysisReportModel | null; } function executionMeta(model: BacktestAnalysisReportModel): string { const kind = model.reportKind === 'live' ? '실시간 매매' : '백테스팅'; return model.createdAt ? `${kind} · 분석 실행 ${model.createdAt}` : kind; } export default function AnalysisReportContextBar({ model }: Props) { if (!model) return null; const symbolLabel = model.symbolKo?.trim() || model.symbol; return (