    .cdd-close {
      position: absolute; top: 4px; right: 6px;
      background: none; border: none; cursor: pointer;
      color: var(--text-secondary); font-size: 1rem; line-height: 1;
      padding: 0 2px; opacity: 0.6;
    }
    .cdd-close:hover { opacity: 1; }
    .cdd-info { margin-bottom: 6px; }
    .cdd-row { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
    .cdd-key { color: var(--text-secondary); font-size: 0.75rem; flex-shrink: 0; }
    .cdd-val { font-weight: 500; text-align: right; color: var(--text-primary); font-size: 0.8rem; }
    .cdd-analyze-btn {
      display: inline-block;
      padding: 4px 14px;
      margin-top: 4px;
      background: var(--accent, #3b82f6);
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 0.78rem;
      font-weight: 500;
      transition: opacity 0.15s;
    }
    .cdd-analyze-btn:hover { opacity: 0.85; }
    .cdd-series-row .cdd-val { font-size: 0.75rem; }
    /* Range selection overlay shown during drag on line charts */
    .cdd-range-overlay {
      background: rgba(59, 130, 246, 0.12);
      border-left: 1.5px solid rgba(59, 130, 246, 0.5);
      border-right: 1.5px solid rgba(59, 130, 246, 0.5);
    }
    /* Signal clickability on chart canvas */
    .echarts-container canvas,
    [id^="chart"] canvas { cursor: pointer !important; }

    /* Followup header chart zoom button — matches other followup header buttons */
    .followup-chart-zoom-btn {
      background: none;
      border: none;
      color: var(--text-secondary);
      cursor: pointer;
      padding: 2px 4px;
      border-radius: 4px;
      line-height: 1;
    }
    .followup-chart-zoom-btn:hover {
      color: var(--text-primary);
      background: var(--bg-tertiary);
    }

    /* ── Chart full-screen modal ── */
    .chart-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      z-index: 10000;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .chart-modal-content {
      position: relative;
      width: 90vw;
      height: 85vh;
      background: var(--bg-primary);
      border-radius: 12px;
      padding: 16px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    }
    .chart-modal-close {
      position: absolute;
      top: 8px;
      right: 12px;
      z-index: 1;
      background: none;
      border: none;
      font-size: 24px;
      color: var(--text-secondary);
      cursor: pointer;
    }
    .chart-modal-close:hover {
      color: var(--text-primary);
    }

    /* LLM Output Highlighting */
    .highlight-number { color: #22c55e; font-weight: 600; }
    .highlight-percent { color: #f59e0b; font-weight: 600; }
    .highlight-positive { color: #22c55e; font-weight: 500; }
    .highlight-negative { color: #f87171; font-weight: 500; }
    .highlight-key { color: #a855f7; font-weight: 500; }
    .highlight-metric { background: rgba(34, 197, 94, 0.1); padding: 1px 4px; border-radius: 3px; }
    .key-insight {
      background: linear-gradient(90deg, rgba(168, 85, 247, 0.1) 0%, transparent 100%);
      padding: 8px 12px;
      border-left: 3px solid #a855f7;
      margin: 8px 0;
      border-radius: 0 8px 8px 0;
    }
    .recommendation-item {
      background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
      padding: 8px 12px;
      border-left: 3px solid #3b82f6;
      margin: 8px 0;
      border-radius: 0 8px 8px 0;
    }

    /* Recommendation Sections — collapsible */
    .recommend-content {
      padding: 4px 0 !important;
    }