/* Extracted from lighthouse-app.html (UI redesign N1) — load order matters */
    /* Decision Journey Visual Map */
    .journey-map-container {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(59, 130, 246, 0.05) 50%, rgba(34, 197, 94, 0.05) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius-2xl);
      padding: 24px;
      margin-bottom: 24px;
      position: relative;
      overflow: visible; /* Allow content to be fully visible */
    }
    
    .journey-map-container::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, #8b5cf6, var(--accent-blue), var(--accent-green));
    }
    
    .journey-map-header {
      text-align: center;
      margin-bottom: 24px;
    }
    
    .journey-map-header h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-primary);
      margin: 0 0 4px 0;
    }
    
    .journey-map-header p {
      font-size: 12px;
      color: var(--text-muted);
      margin: 0;
    }
    
    /* SVG Journey Visualization */
    .journey-svg-wrapper {
      position: relative;
      margin-bottom: 20px;
    }
    
    .journey-svg {
      width: 100%;
      height: auto;
      min-height: 500px;
      border-radius: var(--radius-lg);
      background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    }
    
    .journey-legend {
      position: absolute;
      top: 12px;
      right: 12px;
      display: flex;
      gap: 16px;
      padding: 8px 14px;
      background: rgba(0, 0, 0, 0.4);
      border-radius: var(--radius-md);
      backdrop-filter: blur(8px);
    }
    
    .journey-legend-item {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      color: var(--text-secondary);
    }
    
    .legend-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
    
    .legend-dot.your-brand {
      background: linear-gradient(135deg, var(--accent-green), #16a34a);
      box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
    }
    
    .legend-dot.competitor {
      background: linear-gradient(135deg, var(--accent-red), #dc2626);
      box-shadow: 0 0 6px rgba(239, 68, 68, 0.6);
    }
    
    .legend-dot.neutral {
      background: linear-gradient(135deg, #6b7280, #4b5563);
      box-shadow: 0 0 4px rgba(107, 114, 128, 0.4);
    }
    
    /* Journey marker styles - NO transform scale to prevent vibration */
    .citation-marker {
      transition: filter 0.2s ease, opacity 0.2s ease;
    }
    
    .citation-marker:hover {
      filter: brightness(1.3);
    }
    
    .citation-marker:hover circle:first-of-type {
      stroke-width: 4px;
    }
    
    .citation-domain-label {
      opacity: 0.7;
      transition: opacity 0.2s ease;
    }
    
    .citation-marker:hover .citation-domain-label {
      opacity: 1;
      font-weight: 600;
    }
    
    /* Milestone marker hover - NO transform to prevent vibration */
    .milestone-marker {
      transition: filter 0.2s ease;
    }
    
    .milestone-marker:hover {
      filter: brightness(1.2);
    }
    
    /* Stage drilldown button */
    .stage-drilldown-btn {
      cursor: pointer;
      transition: opacity 0.2s ease;
    }
    
    .stage-drilldown-btn:hover {
      opacity: 0.8;
    }
    
    /* Detail panel actions */
    .detail-actions {
      display: flex;
      gap: 10px;
      margin-bottom: 12px;
    }
    
    .detail-link {
      flex: 1;
      padding: 10px 14px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-md);
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 12px;
      text-align: center;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .detail-link:hover {
      background: var(--primary);
      color: white;
    }
    
    .detail-crawl-btn {
      flex: 1;
      padding: 10px 14px;
      background: linear-gradient(135deg, #8b5cf6, #6366f1);
      border: none;
      border-radius: var(--radius-md);
      color: white;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .detail-crawl-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    }
    
    /* Crawl results */
    .crawl-results {
      margin-top: 16px;
      padding-top: 16px;
      border-top: 1px solid var(--border);
    }
    
    .crawl-loading {
      display: flex;
      align-items: center;
      gap: 10px;
      color: var(--text-muted);
      font-size: 12px;
    }
    
    .crawl-spinner {
      width: 16px;
      height: 16px;
      border: 2px solid var(--border);
      border-top-color: var(--primary);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
    
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    
    .crawl-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
    }
    
    .crawl-header h4 {
      margin: 0;
      font-size: 13px;
      color: var(--text-primary);
    }
    
    .crawl-pages {
      font-size: 10px;
      color: var(--text-muted);
      background: var(--bg-tertiary);
      padding: 3px 8px;
      border-radius: var(--radius-lg);
    }
    
    .crawl-section {
      margin-bottom: 14px;
    }
    
    .crawl-section-title {
      font-size: 10px;
      text-transform: uppercase;
      color: var(--text-muted);
      letter-spacing: 0.5px;
      margin-bottom: 8px;
    }
    
    .crawl-theme {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
    }
    
    .theme-name {
      font-size: 11px;
      color: var(--text-secondary);
      width: 100px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    .theme-bar {
      flex: 1;
      height: 6px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-xs);
      overflow: hidden;
    }
    
    .theme-fill {
      height: 100%;
      background: linear-gradient(90deg, #8b5cf6, var(--accent-blue));
      border-radius: var(--radius-xs);
      transition: width 0.5s ease;
    }
    
    .theme-value {
      font-size: 10px;
      color: var(--text-muted);
      width: 35px;
      text-align: right;
    }
    
    .crawl-page-item {
      font-size: 11px;
      color: var(--text-secondary);
      padding: 4px 0;
      border-bottom: 1px solid var(--border);
    }
    
    .crawl-page-item:last-child {
      border-bottom: none;
    }
    
    .crawl-insight {
      background: rgba(139, 92, 246, 0.1);
      border: 1px solid rgba(139, 92, 246, 0.2);
      border-radius: var(--radius-md);
      padding: 10px 12px;
      font-size: 11px;
      color: var(--text-secondary);
      line-height: 1.5;
    }
    
    .crawl-error {
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.2);
      border-radius: var(--radius-md);
    }
    
    /* ═══════════════════════════════════════════════════════════════
       INFLUENCER DISCOVERY TAB STYLES
       ═══════════════════════════════════════════════════════════════ */
    
    .influencer-explainer {
      display: flex;
      gap: 16px;
      padding: 20px;
      background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(251, 146, 60, 0.1));
      border: 1px solid rgba(236, 72, 153, 0.3);
      border-radius: var(--radius-xl);
      margin-bottom: 24px;
    }
    
    .influencer-explainer-icon {
      font-size: 32px;
      flex-shrink: 0;
    }
    
    .influencer-explainer-title {
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 6px;
    }
    
    .influencer-explainer-text {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.6;
    }
    
    .influencer-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 24px;
    }
    
    .influencer-stat-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 20px;
      text-align: center;
    }
    
    .influencer-stat-value {
      font-size: 28px;
      font-weight: 700;
      color: var(--accent);
    }
    
    .influencer-stat-label {
      font-size: 11px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 4px;
    }
    
    .influencer-cards-container {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    
    .influencer-empty-state {
      text-align: center;
      padding: 60px 20px;
      color: var(--text-muted);
    }
    
    .influencer-empty-state .empty-icon {
      font-size: 48px;
      margin-bottom: 16px;
      opacity: 0.5;
    }
    
    .influencer-empty-state .empty-title {
      font-size: 18px;
      font-weight: 600;
      color: var(--text-secondary);
      margin-bottom: 8px;
    }
    
    .influencer-empty-state .empty-text {
      font-size: 13px;
    }
    
    /* Influencer Card */
    .influencer-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      overflow: hidden;
      cursor: pointer;
      transition: border-color 0.3s ease;
    }

    .influencer-card:hover {
      border-color: rgba(236, 72, 153, 0.5);
    }
    
    .influencer-card.expanded {
      border-color: rgba(236, 72, 153, 0.6);
    }
    
    .influencer-card-header {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 20px;
    }
    
    .influencer-avatar {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: linear-gradient(135deg, #ec4899, #fb923c);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      color: white;
      flex-shrink: 0;
      overflow: hidden;
    }
    
    .influencer-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    
    .influencer-info {
      flex: 1;
      min-width: 0;
    }
    
    .influencer-name {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    .influencer-domain {
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    
    .influencer-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    
    .influencer-tag {
      font-size: 10px;
      padding: 3px 8px;
      border-radius: var(--radius-lg);
      background: rgba(139, 92, 246, 0.15);
      color: #a78bfa;
    }
    
    .influencer-tag.topic {
      background: rgba(59, 130, 246, 0.15);
      color: #60a5fa;
    }
    
    .influencer-tag.platform {
      background: rgba(34, 197, 94, 0.15);
      color: #4ade80;
    }
    
    .influencer-score-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      padding-right: 10px;
    }
    
    .influencer-score-ring {
      position: relative;
      width: 70px;
      height: 70px;
    }
    
    .influencer-score-ring svg {
      transform: rotate(-90deg);
    }
    
    .influencer-score-ring .score-bg {
      fill: none;
      stroke: var(--bg-tertiary);
      stroke-width: 6;
    }
    
    .influencer-score-ring .score-fill {
      fill: none;
      stroke: url(#influencerScoreGradient);
      stroke-width: 6;
      stroke-linecap: round;
      stroke-dasharray: 188.5;
      stroke-dashoffset: 188.5;
      transition: stroke-dashoffset 1.5s ease;
    }
    
    .influencer-score-value {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 20px;
      font-weight: 700;
      color: var(--text-primary);
    }
    
    .influencer-score-label {
      font-size: 10px;
      color: var(--text-muted);
      text-transform: uppercase;
    }
    
    .influencer-expand-icon {
      font-size: 20px;
      color: var(--text-muted);
      transition: transform 0.3s ease;
    }
    
    .influencer-card.expanded .influencer-expand-icon {
      transform: rotate(180deg);
    }
    
    /* Expanded Content */
    .influencer-expanded-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }
    
    .influencer-card.expanded .influencer-expanded-content {
      max-height: 600px;
    }
    
    .influencer-details {
      padding: 0 20px 20px;
      border-top: 1px solid var(--border);
    }
    
    .influencer-metrics {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      padding: 16px 0;
    }
    
    .influencer-metric {
      text-align: center;
      padding: 12px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-lg);
    }
    
    .influencer-metric-value {
      font-size: 18px;
      font-weight: 700;
      color: var(--text-primary);
    }
    
    .influencer-metric-label {
      font-size: 10px;
      color: var(--text-muted);
      margin-top: 2px;
    }
    
    .influencer-section-title {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-secondary);
      margin: 16px 0 10px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    
    .influencer-topics {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    
    .influencer-topic-tag {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 6px 12px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-2xl);
      font-size: 12px;
      color: var(--text-secondary);
    }
    
    .topic-strength {
      width: 40px;
      height: 4px;
      background: var(--bg-secondary);
      border-radius: var(--radius-xs);
      overflow: hidden;
    }
    
    .topic-strength-fill {
      height: 100%;
      background: linear-gradient(90deg, #ec4899, #fb923c);
      border-radius: var(--radius-xs);
    }
    
    .influencer-articles {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    
    .influencer-article {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-md);
      text-decoration: none;
      color: var(--text-secondary);
      font-size: 12px;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .influencer-article:hover {
      background: var(--bg-secondary);
      color: var(--text-primary);
    }
    
    .influencer-article-icon {
      font-size: 16px;
    }
    
    .influencer-article-title {
      flex: 1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    
    .influencer-social-links {
      display: flex;
      gap: 10px;
      margin-top: 16px;
    }
    
    .influencer-social-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 8px 14px;
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      color: var(--text-secondary);
      font-size: 12px;
      text-decoration: none;
      transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .influencer-social-btn:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }
    
    .influencer-social-btn.twitter { border-color: rgba(29, 161, 242, 0.3); }
    .influencer-social-btn.twitter:hover { background: #1da1f2; border-color: #1da1f2; }
    .influencer-social-btn.linkedin { border-color: rgba(0, 119, 181, 0.3); }
    .influencer-social-btn.linkedin:hover { background: #0077b5; border-color: #0077b5; }
    .influencer-social-btn.youtube { border-color: rgba(255, 0, 0, 0.3); }
    .influencer-social-btn.youtube:hover { background: #ff0000; border-color: #ff0000; }
    
    /* Low results helper */
    .influencer-low-results {
      display: flex;
      gap: 16px;
      padding: 20px;
      background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.05));
      border: 1px solid rgba(251, 191, 36, 0.3);
      border-radius: var(--radius-lg);
      margin-top: 20px;
    }
    
    .low-results-icon {
      font-size: 28px;
      flex-shrink: 0;
    }
    
    .low-results-title {
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 8px;
    }
    
    .low-results-text {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.5;
      margin-bottom: 12px;
    }
    
    .low-results-tips {
      margin: 0;
      padding-left: 20px;
      font-size: 12px;
      color: var(--text-secondary);
    }
    
    .low-results-tips li {
      margin-bottom: 6px;
    }
    
    .low-results-tips strong {
      color: var(--text-primary);
    }
    
    .no-data {
      font-size: 11px;
      color: var(--text-muted);
      font-style: italic;
    }
    
    /* Old dot styles kept for compatibility */
    .citation-dot.your-brand {
      background: linear-gradient(135deg, var(--accent-green), #16a34a);
      box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    }
    
    .citation-dot.competitor {
      background: linear-gradient(135deg, var(--accent-red), #dc2626);
      box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
    }
    
    .citation-dot.neutral {
      background: linear-gradient(135deg, #6b7280, #4b5563);
    }
    
    /* Journey Stats */
    .journey-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      padding: 16px;
      background: var(--bg-card);
      border-radius: var(--radius-lg);
    }
    
    .journey-stat {
      text-align: center;
    }
    
    .journey-stat .stat-value {
      font-size: 20px;
      font-weight: 700;
      color: var(--text-primary);
    }
    
    .journey-stat .stat-label {
      font-size: 10px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    
