/* Extracted from lighthouse-app.html (UI redesign N1) — load order matters */
    /* Strategy Pillars */
    .strategy-pillars {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px;
      margin-bottom: 24px;
    }
    
    .pillar-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 16px;
      text-align: center;
      cursor: pointer;
      transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
    }

    .pillar-card:hover {
      border-color: var(--accent-purple);
      transform: translateY(-2px);
    }
    
    .pillar-card.active {
      border-color: var(--accent-purple);
      background: rgba(139, 92, 246, 0.1);
    }
    
    .pillar-icon {
      font-size: 28px;
      margin-bottom: 8px;
    }
    
    .pillar-name {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-secondary);
      margin-bottom: 4px;
    }
    
    .pillar-count {
      font-size: 18px;
      font-weight: 700;
      color: var(--accent-purple);
    }
    
    /* Strategy Insights Grid */
    .strategy-insights-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 16px;
      margin-bottom: 32px;
    }
    
    .strategy-insights-grid.list-view {
      grid-template-columns: 1fr;
    }
    
    .strategy-loading {
      grid-column: 1 / -1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 60px;
      color: var(--text-muted);
    }
    
    .strategy-loading-spinner {
      width: 40px;
      height: 40px;
      border: 3px solid var(--border);
      border-top-color: var(--accent-purple);
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin-bottom: 16px;
    }
    
    /* Strategy Insight Card */
    .strategy-insight-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      overflow: hidden;
      transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

    .strategy-insight-card:hover {
      border-color: var(--border-light);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
    
    .insight-header {
      padding: 20px 20px 0;
    }
    
    .insight-meta {
      display: flex;
      gap: 8px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    
    .insight-tag {
      padding: 4px 10px;
      border-radius: var(--radius-lg);
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
    }
    
    .insight-tag.channel {
      background: rgba(139, 92, 246, 0.15);
      color: #a78bfa;
    }
    
    .insight-tag.impact-high {
      background: rgba(239, 68, 68, 0.15);
      color: var(--accent-red);
    }
    
    .insight-tag.impact-medium {
      background: rgba(251, 191, 36, 0.15);
      color: var(--accent-gold);
    }
    
    .insight-tag.impact-low {
      background: rgba(34, 197, 94, 0.15);
      color: var(--accent-green);
    }
    
    .insight-tag.effort-low { background: rgba(34, 197, 94, 0.1); color: var(--accent-green); }
    .insight-tag.effort-medium { background: rgba(251, 191, 36, 0.1); color: var(--accent-gold); }
    .insight-tag.effort-high { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); }
    
    .insight-title {
      font-size: 16px;
      font-weight: 600;
      color: var(--text-primary);
      line-height: 1.4;
      margin-bottom: 8px;
    }
    
    .insight-summary {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.5;
    }
    
    .insight-body {
      padding: 16px 20px;
    }
    
    .insight-data-proof {
      display: flex;
      gap: 12px;
      padding: 12px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-lg);
      margin-bottom: 16px;
    }
    
    .data-proof-item {
      flex: 1;
      text-align: center;
    }
    
    .data-proof-value {
      font-size: 18px;
      font-weight: 700;
      color: var(--accent);
    }
    
    .data-proof-label {
      font-size: 10px;
      color: var(--text-muted);
      text-transform: uppercase;
    }
    
    .insight-recommendation {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.6;
      padding: 12px 16px;
      background: rgba(168, 85, 247, 0.06);
      border: 1px solid rgba(168, 85, 247, 0.2);
      border-radius: var(--radius-md);
    }

    .insight-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 20px;
      background: var(--bg-tertiary);
      border-top: 1px solid var(--border);
    }
    
    .insight-confidence {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      color: var(--text-muted);
    }
    
    .insight-confidence-bar {
      width: 50px;
      height: 4px;
      background: var(--bg-secondary);
      border-radius: var(--radius-xs);
      overflow: hidden;
    }
    
    .insight-confidence-fill {
      height: 100%;
      background: linear-gradient(90deg, #8b5cf6, #06b6d4);
      border-radius: var(--radius-xs);
    }
    
    .insight-actions {
      display: flex;
      gap: 8px;
    }
    
    .insight-action-btn {
      padding: 6px 12px;
      background: transparent;
      border: 1px solid var(--border);
      border-radius: var(--radius-sm);
      color: var(--text-secondary);
      font-size: 11px;
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .insight-action-btn:hover {
      background: var(--bg-secondary);
      color: var(--text-primary);
    }
    
    .insight-action-btn.primary {
      background: var(--accent-purple);
      border-color: var(--accent-purple);
      color: white;
    }
    
    /* Competitor Intelligence */
    .strategy-section {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-xl);
      padding: 24px;
      margin-bottom: 24px;
    }
    
    .strategy-section-header {
      margin-bottom: 20px;
    }
    
    .strategy-section-header h3 {
      margin: 0 0 4px 0;
      font-size: 18px;
      color: var(--text-primary);
    }
    
    .strategy-section-header p {
      margin: 0;
      font-size: 13px;
      color: var(--text-muted);
    }
    
    .competitor-intel-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
    
    .competitor-intel-card {
      background: var(--bg-tertiary);
      border-radius: var(--radius-lg);
      padding: 16px;
    }
    
    .competitor-intel-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
    }
    
    .competitor-intel-logo {
      width: 32px;
      height: 32px;
      border-radius: var(--radius-md);
      object-fit: contain;
      background: white;
      padding: 4px;
    }
    
    .competitor-intel-name {
      font-weight: 600;
      color: var(--text-primary);
      font-size: 14px;
    }
    
    .competitor-intel-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    
    .competitor-stat {
      text-align: center;
      padding: 8px;
      background: var(--bg-card);
      border-radius: var(--radius-md);
    }
    
    .competitor-stat-value {
      font-size: 16px;
      font-weight: 700;
    }
    
    .competitor-stat-value.positive { color: var(--accent-green); }
    .competitor-stat-value.negative { color: var(--accent-red); }
    .competitor-stat-value.neutral { color: var(--text-secondary); }
    
    .competitor-stat-label {
      font-size: 9px;
      color: var(--text-muted);
      text-transform: uppercase;
    }
    
    /* Implementation Roadmap */
    .roadmap-timeline {
      position: relative;
      padding-left: 30px;
    }
    
    .roadmap-timeline::before {
      content: '';
      position: absolute;
      left: 8px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: linear-gradient(to bottom, var(--accent-purple), var(--accent), var(--accent-green));
    }
    
    .roadmap-phase {
      position: relative;
      margin-bottom: 24px;
    }
    
    .roadmap-phase:last-child {
      margin-bottom: 0;
    }
    
    .roadmap-marker {
      position: absolute;
      left: -26px;
      top: 4px;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: var(--bg-card);
      border: 3px solid var(--accent-purple);
      z-index: 1;
    }
    
    .roadmap-phase:nth-child(2) .roadmap-marker { border-color: var(--accent); }
    .roadmap-phase:nth-child(3) .roadmap-marker { border-color: var(--accent-green); }
    
    .roadmap-phase-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
    }
    
    .roadmap-phase-title {
      font-size: 15px;
      font-weight: 600;
      color: var(--text-primary);
    }
    
    .roadmap-phase-time {
      font-size: 12px;
      color: var(--text-muted);
      padding: 4px 12px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-lg);
    }
    
    .roadmap-tasks {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    
    .roadmap-task {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-md);
      font-size: 13px;
      color: var(--text-secondary);
    }
    
    .roadmap-task-check {
      width: 18px;
      height: 18px;
      border: 2px solid var(--border);
      border-radius: var(--radius-xs);
      flex-shrink: 0;
    }
    
    .roadmap-task.completed .roadmap-task-check {
      background: var(--accent-green);
      border-color: var(--accent-green);
    }
    
    .roadmap-task.completed .roadmap-task-check::after {
      content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>');
      color: white;
      font-size: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* ═══ Cross-Channel Intelligence ═══ */
    .xci-tab-row {
      display: flex;
      gap: 8px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }
    .xci-tab {
      padding: 8px 16px;
      border-radius: var(--radius-2xl);
      border: 1px solid var(--border);
      background: transparent;
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: background 0.2s, border-color 0.2s, color 0.2s;
      white-space: nowrap;
    }
    .xci-tab:hover {
      border-color: var(--accent);
      color: var(--text-primary);
    }
    .xci-tab.active {
      background: var(--accent);
      color: #fff;
      border-color: transparent;
    }
    .xci-pane { display: none; }
    .xci-pane.active { display: block; }

    .xci-metrics-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 20px;
    }
    .xci-metric-card {
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 16px;
      text-align: center;
    }
    .xci-metric-value {
      font-size: 28px;
      font-weight: 700;
      color: var(--text-primary);
      line-height: 1.2;
    }
    .xci-metric-value.red { color: var(--accent-red); }
    .xci-metric-value.green { color: var(--accent-green); }
    .xci-metric-value.cyan { color: var(--accent); }
    .xci-metric-label {
      font-size: 11px;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 4px;
    }

    .xci-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }
    .xci-table th {
      text-align: left;
      padding: 10px 8px;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-muted);
      border-bottom: 1px solid var(--border);
      cursor: pointer;
      user-select: none;
      white-space: nowrap;
    }
    .xci-table th:hover { color: var(--accent); }
    .xci-table th .sort-arrow { font-size: 10px; margin-left: 4px; }
    .xci-table td {
      padding: 10px 8px;
      border-bottom: 1px solid var(--border-subtle);
      color: var(--text-primary);
      vertical-align: middle;
    }
    .xci-table tr:hover td { background: var(--bg-tertiary); }
    .xci-table .page-url {
      max-width: 220px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 12px;
    }

    .xci-risk-badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: var(--radius-lg);
      font-size: 11px;
      font-weight: 600;
    }
    .xci-risk-high { background: rgba(220, 38, 38, 0.15); color: var(--accent-red); }
    .xci-risk-medium { background: rgba(202, 138, 4, 0.15); color: var(--accent-yellow); }
    .xci-risk-low { background: rgba(22, 163, 74, 0.15); color: var(--accent-green); }
    .xci-risk-protected { background: rgba(139, 90, 16, 0.15); color: var(--accent); }

    .xci-stack-bar {
      display: flex;
      height: 28px;
      border-radius: var(--radius-md);
      overflow: hidden;
      margin-bottom: 16px;
      background: var(--bg-tertiary);
    }
    .xci-stack-segment {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 600;
      color: #fff;
      transition: width 0.6s ease;
      min-width: 0;
      overflow: hidden;
      white-space: nowrap;
    }

    .xci-intent-section {
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      margin-bottom: 10px;
      overflow: hidden;
    }
    .xci-intent-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      cursor: pointer;
      background: var(--bg-tertiary);
      transition: background 0.2s;
    }
    .xci-intent-header:hover { background: var(--bg-secondary); }
    .xci-intent-header .intent-icon { margin-right: 8px; }
    .xci-intent-header .intent-label { font-weight: 600; font-size: 14px; }
    .xci-intent-header .intent-stats {
      font-size: 12px;
      color: var(--text-muted);
      display: flex;
      gap: 12px;
      align-items: center;
    }
    .xci-intent-body {
      display: none;
      padding: 8px 16px 12px;
    }
    .xci-intent-section.open .xci-intent-body { display: block; }
    .xci-intent-section.open .intent-chevron { transform: rotate(180deg); }
    .intent-chevron { transition: transform 0.2s; }

    .xci-scatter-wrap {
      position: relative;
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 20px;
      margin-bottom: 16px;
    }
    .xci-scatter-tooltip {
      position: absolute;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 10px 14px;
      font-size: 12px;
      pointer-events: none;
      z-index: 100;
      box-shadow: var(--shadow-lg);
      display: none;
      max-width: 260px;
    }
    .xci-scatter-legend {
      display: flex;
      gap: 16px;
      margin-top: 12px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .xci-scatter-legend span::before {
      content: '';
      display: inline-block;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      margin-right: 6px;
      vertical-align: middle;
    }
    .xci-scatter-legend .legend-cited::before { background: var(--accent); }
    .xci-scatter-legend .legend-uncited::before { background: var(--accent-purple); }

    .xci-quadrant-badges {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 12px;
    }
    .xci-quadrant-badge {
      padding: 4px 10px;
      border-radius: var(--radius-md);
      font-size: 12px;
      font-weight: 500;
      border: 1px solid var(--border);
      background: var(--bg-tertiary);
    }

    .xci-competitor-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    .xci-competitor-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 16px;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .xci-competitor-card:hover {
      border-color: var(--accent);
      box-shadow: var(--shadow-card-hover);
    }
    .xci-competitor-domain {
      font-weight: 600;
      font-size: 14px;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .xci-competitor-domain img {
      width: 16px;
      height: 16px;
      border-radius: var(--radius-xs);
    }
    .xci-competitor-stats {
      display: flex;
      gap: 12px;
      margin-bottom: 10px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .xci-beatability {
      display: flex;
      gap: 3px;
      align-items: center;
    }
    .xci-beat-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--border);
    }
    .xci-beat-dot.filled { background: var(--accent-green); }
    .xci-competitor-actions { margin-top: 10px; }
    .xci-competitor-actions button {
      padding: 6px 14px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--accent);
      background: transparent;
      color: var(--accent);
      font-size: 12px;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }
    .xci-competitor-actions button:hover {
      background: var(--accent);
      color: #fff;
    }

    .xci-correlation-stat {
      text-align: center;
      padding: 12px;
      font-size: 14px;
      color: var(--text-secondary);
    }
    .xci-correlation-stat strong {
      font-size: 20px;
      color: var(--text-primary);
    }

    .xci-empty-state {
      text-align: center;
      padding: 48px 20px;
      color: var(--text-muted);
      font-size: 14px;
    }
    .xci-empty-state .empty-icon {
      font-size: 32px;
      margin-bottom: 12px;
    }
    .xci-empty-state .empty-title {
      font-size: 16px;
      font-weight: 600;
      color: var(--text-secondary);
      margin-bottom: 6px;
    }
    .xci-fix-btn {
      padding: 4px 10px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--accent);
      background: transparent;
      color: var(--accent);
      font-size: 11px;
      cursor: pointer;
      transition: background 0.2s, color 0.2s;
    }
    .xci-fix-btn:hover {
      background: var(--accent);
      color: #fff;
    }
    .xci-action-footer {
      margin-top: 16px;
      padding: 14px;
      border-radius: var(--radius-lg);
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      font-size: 13px;
      color: var(--text-secondary);
    }
    .xci-table-wrap {
      overflow-x: auto;
      max-height: 500px;
      overflow-y: auto;
    }

    @media (max-width: 1100px) {
      .xci-competitor-grid { grid-template-columns: repeat(2, 1fr); }
      .xci-metrics-row { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .xci-competitor-grid { grid-template-columns: 1fr; }
      .xci-metrics-row { grid-template-columns: 1fr; }
      .xci-tab-row { gap: 6px; }
      .xci-tab { padding: 6px 12px; font-size: 12px; }
    }

    /* Strategy Brief Modal */
    .strategy-brief-modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.8);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 10000;
      padding: 40px;
    }
    
    .strategy-brief-modal.open {
      display: flex;
    }
    
    .strategy-brief-content {
      background: var(--bg-card);
      border-radius: var(--radius-2xl);
      width: 100%;
      max-width: 800px;
      max-height: 90vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    
    .brief-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 24px;
      border-bottom: 1px solid var(--border);
    }
    
    .brief-header h3 {
      margin: 0;
      font-size: 20px;
      color: var(--text-primary);
    }
    
    .close-brief {
      width: 32px;
      height: 32px;
      border: none;
      background: var(--bg-tertiary);
      color: var(--text-muted);
      font-size: 24px;
      border-radius: var(--radius-md);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .close-brief:hover {
      background: var(--bg-secondary);
      color: var(--text-primary);
    }
    
    .brief-body {
      flex: 1;
      overflow-y: auto;
      padding: 24px;
      font-size: 14px;
      line-height: 1.7;
      color: var(--text-secondary);
    }
    
    .brief-body h4 {
      color: var(--text-primary);
      margin: 24px 0 12px;
      font-size: 16px;
    }
    
    .brief-body h4:first-child {
      margin-top: 0;
    }
    
    .brief-body ul {
      margin: 12px 0;
      padding-left: 24px;
    }
    
    .brief-body li {
      margin-bottom: 8px;
    }
    
    .brief-actions {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      padding: 16px 24px;
      border-top: 1px solid var(--border);
      background: var(--bg-tertiary);
    }
    
    .brief-action-btn {
      padding: 10px 20px;
      border: 1px solid var(--border);
      background: var(--bg-card);
      color: var(--text-secondary);
      font-size: 13px;
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .brief-action-btn:hover {
      background: var(--bg-secondary);
      color: var(--text-primary);
    }
    
    .brief-action-btn.primary {
      background: var(--accent-purple);
      border-color: var(--accent-purple);
      color: white;
    }
    
    @media (max-width: 1100px) {
      .strategy-pillars {
        grid-template-columns: repeat(3, 1fr);
      }
      .competitor-intel-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    
    @media (max-width: 768px) {
      .strategy-hub-header {
        flex-direction: column;
        gap: 16px;
      }
      .strategy-trust-bar {
        flex-wrap: wrap;
      }
      .strategy-filters {
        flex-wrap: wrap;
      }
      .strategy-pillars {
        grid-template-columns: repeat(2, 1fr);
      }
      .strategy-insights-grid {
        grid-template-columns: 1fr;
      }
      .competitor-intel-grid {
        grid-template-columns: 1fr;
      }
    }

    /* ═══ Page Optimizer Styles ═══ */
    .optimizer-btn {
      padding: 4px 12px;
      background: rgba(147, 51, 234, 0.15);
      color: var(--accent-purple);
      border: 1px solid rgba(147, 51, 234, 0.3);
      border-radius: var(--radius-2xl);
      font-size: 11px;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s, transform 0.2s;
      white-space: nowrap;
    }
    .optimizer-btn:hover {
      background: rgba(147, 51, 234, 0.3);
      transform: scale(1.05);
    }
    .optimizer-section {
      margin-bottom: 28px;
    }
    .optimizer-section-title {
      font-size: 15px;
      font-weight: 700;
      margin: 0 0 16px 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .optimizer-dim-group {
      margin-bottom: 20px;
    }
    .optimizer-dim-header {
      font-size: 13px;
      font-weight: 700;
      padding: 8px 12px;
      border-radius: var(--radius-md) var(--radius-md) 0 0;
      margin-bottom: 0;
    }
    .optimizer-change-card {
      padding: 14px 16px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      margin-bottom: 0;
    }
    .optimizer-change-card:last-child {
      border-radius: 0 0 8px 8px;
      margin-bottom: 12px;
    }
    .optimizer-change-what {
      font-weight: 600;
      font-size: 13px;
      margin-bottom: 4px;
      color: var(--text-primary);
    }
    .optimizer-change-why {
      font-size: 12px;
      color: var(--text-secondary);
      margin-bottom: 10px;
    }
    .optimizer-before-after {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
    }
    .optimizer-score-pill {
      padding: 2px 10px;
      border-radius: var(--radius-lg);
      font-size: 12px;
      font-weight: 700;
      background: var(--bg-tertiary);
      color: var(--text-muted);
    }
    .optimizer-score-pill.after {
      background: rgba(34, 197, 94, 0.15);
      color: var(--accent-green);
    }
    .optimizer-gain-badge {
      padding: 2px 8px;
      border-radius: var(--radius-lg);
      font-size: 11px;
      font-weight: 700;
      background: rgba(34, 197, 94, 0.15);
      color: var(--accent-green);
    }
    .optimizer-effort-badge {
      display: inline-block;
      padding: 2px 8px;
      border-radius: var(--radius-lg);
      font-size: 10px;
      font-weight: 600;
    }
    .optimizer-effort-badge.low { background: rgba(34, 197, 94, 0.15); color: var(--accent-green); }
    .optimizer-effort-badge.medium { background: rgba(234, 179, 8, 0.15); color: var(--accent-yellow); }
    .optimizer-effort-badge.high { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
    .optimizer-evidence {
      margin-top: 8px;
      font-size: 11px;
      color: var(--text-muted);
      cursor: pointer;
      user-select: none;
    }
    .optimizer-evidence-body {
      display: none;
      margin-top: 6px;
      padding: 8px 12px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-sm);
      font-size: 11px;
      color: var(--text-secondary);
      line-height: 1.5;
    }
    .optimizer-evidence.open .optimizer-evidence-body {
      display: block;
    }
    .optimizer-matrix {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .optimizer-matrix-cell {
      padding: 12px;
      border-radius: var(--radius-md);
      background: var(--bg-tertiary);
      min-height: 80px;
    }
    .optimizer-matrix-cell.highlight {
      background: rgba(147, 51, 234, 0.1);
      border: 1px solid rgba(147, 51, 234, 0.25);
    }
    .optimizer-matrix-label {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 8px;
    }
    .optimizer-matrix-item {
      font-size: 11px;
      color: var(--text-secondary);
      padding: 2px 0;
    }
    .optimizer-timeline-phase {
      padding: 16px;
      background: var(--bg-tertiary);
      border-radius: var(--radius-lg);
      margin-bottom: 10px;
    }
    .optimizer-timeline-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }
    .optimizer-timeline-title {
      font-weight: 700;
      font-size: 13px;
    }
    .optimizer-timeline-score {
      font-size: 13px;
      font-weight: 700;
      color: var(--accent-purple);
    }
    .optimizer-progress-bar {
      height: 6px;
      background: var(--bg-secondary);
      border-radius: var(--radius-xs);
      overflow: hidden;
      margin-bottom: 8px;
    }
    .optimizer-progress-fill {
      height: 100%;
      border-radius: var(--radius-xs);
      background: linear-gradient(90deg, var(--accent-purple), var(--accent-purple));
      transition: width 0.4s ease;
    }
    .optimizer-timeline-items {
      font-size: 11px;
      color: var(--text-secondary);
      line-height: 1.6;
    }
    .optimizer-competitor-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
      border-bottom: 1px solid var(--border);
      font-size: 12px;
    }
    .optimizer-competitor-row:last-child { border-bottom: none; }
    .optimizer-well-optimized {
      text-align: center;
      padding: 32px;
      background: rgba(34, 197, 94, 0.08);
      border-radius: var(--radius-lg);
    }

