/* Conversation knowledge graph (assets/convo-graph.js).
   Shown in the app's Speak tab (网 Web) and the landing product tour. */
.cg-host { display: block; }
.convo-web-lede p { font-size: 14.5px; line-height: 1.6; color: var(--ink-faded); margin: 4px 0 14px; }
.tour-convograph { margin: 2px 0 18px; }
.cg-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 10px; }
.cg-lg { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-faded); }
.cg-lg i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.cg-svg { width: 100%; height: auto; display: block; background: var(--paper);
  border: 1px solid var(--hairline); border-radius: 14px; touch-action: none; }

.cg-edge { stroke: var(--hairline); stroke-width: 1; opacity: .8; }
.cg-edge-then { stroke: var(--ink-whisper); stroke-width: 2.5; opacity: .95; }
.cg-edge-flow { stroke: var(--ink-faded); stroke-width: 1.5; opacity: .7; }
.cg-edge-echo { stroke-dasharray: 3 4; }
.cg-edge.lit { stroke: var(--accent); stroke-width: 2; opacity: 1; }

.cg-node { cursor: grab; }
.cg-node:active { cursor: grabbing; }
.cg-node circle { stroke: var(--paper-raised); stroke-width: 1.5; transition: stroke-width .12s ease; }
.cg-node.sel circle { stroke: var(--ink); stroke-width: 2.5; }
/* Hubs (beats + partners) invite a tap: pointer cursor + a soft outer ring. */
.cg-expandable { cursor: pointer; }
.cg-expandable circle { stroke: var(--paper); stroke-width: 3; paint-order: stroke; }
.cg-expandable.open circle { stroke: var(--ink); stroke-width: 3; }
.cg-label { font-family: var(--han, serif); font-size: 11px; fill: var(--ink-faded);
  text-anchor: middle; pointer-events: none; }
.cg-node-beat .cg-label { font-size: 21px; fill: #FBF5E6; }
.cg-node-scene .cg-label { font-size: 13px; fill: #FBF5E6; }
.cg-node-turn .cg-label { font-size: 11px; fill: #FBF5E6; font-family: var(--serif-body, Georgia, serif); }
.cg-sublabel { font-size: 10.5px; fill: var(--ink-faded); text-anchor: middle; pointer-events: none; }

.cg-detail { margin-top: 12px; min-height: 74px; }
.cg-detail-hint { font-size: 13.5px; line-height: 1.5; color: var(--ink-whisper); margin: 6px 2px; }
.cg-card { background: var(--paper-raised); border: 1px solid var(--hairline);
  border-left: 4px solid var(--accent); border-radius: 12px; padding: 12px 16px; }
.cg-card-role { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-faded); margin: 0 0 3px; }
.cg-card-role-them { color: var(--accent); margin-top: 12px; }
.cg-card-zh { font-family: var(--han, serif); font-size: 22px; color: var(--ink); margin: 0 0 2px; }
.cg-card-zh-them { font-size: 19px; color: var(--ink-faded); }
.cg-card-py { font-family: var(--serif-display, Georgia, serif); font-style: italic;
  font-size: 15px; color: var(--accent); margin: 0 0 4px; }
.cg-card-en { font-size: 14.5px; color: var(--ink); margin: 0 0 4px; }
.cg-card-note { font-size: 13px; line-height: 1.55; color: var(--ink-faded); margin: 0; }
.cg-card-tap { margin-top: 8px; font-style: italic; color: var(--ink-whisper); }
