.legacy-content .badge {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
  padding: 5px 14px; border-radius: 8px; white-space: nowrap;
  background: rgba(22,163,106,0.1); color: var(--success);
  margin-top: 12px;
}.legacy-content .main-area {
  display: grid; grid-template-columns: 340px 1fr; gap: 20px;
  align-items: start;
}.legacy-content .left-panel {
  display: flex; flex-direction: column; gap: 14px;
}.legacy-content .section-label {
  font-size: 12px; font-weight: 800; color: var(--text-sub);
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 8px;
}.legacy-content .scene-card {
  background: var(--card); border-radius: var(--radius-sm); padding: 14px 18px;
  border: 2px solid var(--border); cursor: pointer; transition: all 0.2s;
}.legacy-content .scene-card:hover { border-color: rgba(22,163,106,0.25); }.legacy-content .scene-card.active { border-color: var(--success); background: rgba(22,163,106,0.03); }.legacy-content .scene-tag { font-size: 12px; font-weight: 800; color: var(--success); margin-bottom: 5px; }.legacy-content .scene-name { font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }.legacy-content .scene-desc { font-size: 13px; color: var(--text-sub); line-height: 1.5; }.legacy-content .decision-box {
  background: rgba(217,119,6,0.04);
  border: 1px solid rgba(217,119,6,0.15);
  border-radius: 12px; padding: 14px 18px;
}.legacy-content .decision-title { font-size: 12px; font-weight: 800; color: var(--amber); margin-bottom: 10px; letter-spacing: 0.3px; }.legacy-content .decision-row {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px;
}.legacy-content .decision-row:last-child { margin-bottom: 0; }.legacy-content .decision-icon { font-size: 15px; flex-shrink: 0; margin-top: 1px; }.legacy-content .decision-text { font-size: 13px; color: var(--text-sub); line-height: 1.7; }.legacy-content .decision-text b { color: var(--text-main); }.legacy-content .right-panel {
  display: flex; flex-direction: column;
  min-width: 0; gap: 14px;
}.legacy-content .right-top {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
}.legacy-content .right-top h3 { font-size: 17px; font-weight: 700; color: var(--text-main); }.legacy-content .tab-group { display: flex; gap: 6px; flex-wrap: wrap; }.legacy-content .tab-btn {
  padding: 9px 18px; border-radius: var(--radius-sm); border: 1px solid rgba(0,0,0,0.1);
  font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--card); color: var(--text-sub); transition: all 0.15s;
  font-family: inherit;
}.legacy-content .tab-btn.active { background: var(--text-main); color: white; border-color: var(--text-main); }.legacy-content .flow-view {
  display: flex; flex-direction: column; gap: 10px;
}.legacy-content .flow-step-row {
  display: flex; align-items: stretch; gap: 0;
}.legacy-content .flow-node {
  flex: 1; background: white; border-radius: 12px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px; position: relative;
}.legacy-content .flow-node.active-node { border: 2px solid var(--accent); }.legacy-content .flow-node-num {
  font-size: 12px; font-weight: 800; color: var(--text-sub); letter-spacing: 0.3px;
}.legacy-content .flow-node-title { font-size: 15px; font-weight: 700; color: var(--text-main); }.legacy-content .flow-node-desc { font-size: 13px; color: var(--text-sub); line-height: 1.6; }.legacy-content .flow-node-tag {
  display: inline-block; margin-top: 4px;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px;
  background: rgba(0,102,255,0.08); color: var(--accent);
  align-self: flex-start;
}.legacy-content .flow-node-tag.pm { background: rgba(217,119,6,0.1); color: var(--amber); }.legacy-content .flow-arrow-v {
  width: 100%; text-align: center; color: var(--text-sub);
  font-size: 18px; line-height: 1; padding: 2px 0; flex-shrink: 0;
}.legacy-content .flow-arrow-h {
  width: 28px; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; color: var(--text-sub); font-size: 18px;
}.legacy-content .compare-area { display: flex; gap: 16px; }.legacy-content .compare-col { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }.legacy-content .col-label {
  font-size: 13px; font-weight: 700; padding: 0 2px;
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}.legacy-content .col-label .dot { width: 10px; height: 10px; border-radius: 50%; }.legacy-content .col-label .dot.red { background: var(--danger); }.legacy-content .col-label .dot.green { background: var(--success); }.legacy-content .col-label span { color: var(--text-sub); }.legacy-content .convo-box {
  flex: 1; background: var(--card); border-radius: var(--radius); padding: 16px 18px;
  border: 1px solid var(--border);
  min-height: 260px; max-height: 420px;
  overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
}.legacy-content .bubble-user {
  background: var(--accent); color: white;
  padding: 11px 15px; border-radius: 12px 12px 4px 12px;
  font-size: 15px; line-height: 1.6; align-self: flex-end; max-width: 90%;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}.legacy-content .bubble-user.show { opacity: 1; transform: translateY(0); }.legacy-content .bubble-retrieval {
  background: rgba(217,119,6,0.06); border: 1px dashed rgba(217,119,6,0.3);
  padding: 10px 14px; border-radius: 10px;
  font-size: 13px; color: #92400e; line-height: 1.6;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}.legacy-content .bubble-retrieval.show { opacity: 1; transform: translateY(0); }.legacy-content .bubble-ai {
  background: rgba(0,0,0,0.04); color: var(--text-main);
  padding: 11px 15px; border-radius: 12px 12px 12px 4px;
  font-size: 15px; line-height: 1.8; align-self: flex-start; max-width: 95%;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}.legacy-content .bubble-ai.show { opacity: 1; transform: translateY(0); }.legacy-content .bubble-ai .hl-red { color: var(--danger); font-weight: 600; text-decoration: underline wavy var(--danger); text-underline-offset: 3px; }.legacy-content .bubble-ai .hl-green { color: var(--success); font-weight: 600; }.legacy-content .bubble-ai .source-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px;
  background: rgba(0,102,255,0.1); color: var(--accent); margin-left: 4px;
}.legacy-content .bubble-typing {
  display: inline-block; width: 6px; height: 14px;
  background: var(--text-sub); border-radius: 2px; margin-left: 2px;
  animation: blink 0.7s step-end infinite; vertical-align: text-bottom;
}@keyframes blink{ 0%,100%{opacity:1} 50%{opacity:0} }.legacy-content .verdict {
  padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 700;
  opacity: 0; transition: opacity 0.4s ease;
}.legacy-content .verdict.show { opacity: 1; }.legacy-content .verdict.bad { background: rgba(229,62,62,0.06); color: var(--danger); border: 1px solid rgba(229,62,62,0.15); }.legacy-content .verdict.good { background: rgba(22,163,106,0.06); color: var(--success); border: 1px solid rgba(22,163,106,0.15); }.legacy-content .replay-btn {
  padding: 9px 16px; border-radius: 9px; border: 1px solid rgba(0,0,0,0.1);
  font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--card); color: var(--text-sub); transition: all 0.15s;
  font-family: inherit;
}.legacy-content .replay-btn:hover { background: var(--text-main); color: white; border-color: var(--text-main); }.legacy-content .why-box {
  background: var(--surface-soft); border-radius: 12px; padding: 14px 16px;
  flex-shrink: 0;
}.legacy-content .why-title {
  font-size: 11px; font-weight: 800; color: #6b7280;
  letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 10px;
}.legacy-content .token-chain {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 8px;
}.legacy-content .token-chip {
  padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 700;
}.legacy-content .token-chip.context { background: rgba(255,255,255,0.08); color: var(--muted); }.legacy-content .token-chip.retrieved { background: rgba(22,163,106,0.2); color: #6ee7b7; border: 1px solid rgba(22,163,106,0.35); }.legacy-content .token-chip.question { background: rgba(0,102,255,0.2); color: var(--muted); border: 1px solid rgba(0,102,255,0.35); }.legacy-content .token-chip.output { background: rgba(22,163,106,0.15); color: #6ee7b7; }.legacy-content .token-chip.output-bad { background: rgba(229,62,62,0.2); color: var(--muted); border: 1px solid rgba(229,62,62,0.35); }.legacy-content .token-arrow { color: #4b5563; font-size: 14px; font-weight: 700; padding: 0 2px; align-self: center; }.legacy-content .why-insight {
  font-size: 13px; color: var(--muted); line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 10px; margin-top: 4px;
}.legacy-content .why-insight b { color: var(--muted); }.legacy-content .why-insight .key { color: var(--muted); font-weight: 700; }.legacy-content .why-flex-row { display: flex; gap: 16px; }.legacy-content .why-limit-row { display: flex; gap: 20px; }.legacy-content .rag-flow-row { display: flex; flex-direction: row; gap: 14px; }.legacy-content .rag-flow-left { width: 46%; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }.legacy-content .rag-flow-right { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }@media (max-width: 900px){.legacy-content .main-area { grid-template-columns: 1fr; }}@media (max-width: 768px){.legacy-content .compare-area { flex-direction: column; }.legacy-content .why-flex-row { flex-direction: column; }.legacy-content .why-flex-row > div[style*="width:1px"] { display: none; }.legacy-content .why-limit-row { flex-direction: column; }.legacy-content .why-limit-row > div[style*="width:1px"] { display: none; }.legacy-content .rag-flow-row { flex-direction: column; }.legacy-content .rag-flow-left { width: 100%; }.legacy-content .tab-btn { padding: 11px 14px; }}

@keyframes _si{from{opacity:0}to{opacity:1}}
