/* Extracted from lighthouse-app.html (UI redesign N1) — load order matters */
    /* DASHBOARD STATE */
    /* ═══════════════════════════════════════ */
    
    .dashboard {
      display: none;
      min-height: 100vh;
      position: relative;
    }

    .dashboard.active {
      display: block;
    }

    /* Ocean background for dashboard chrome - injected via JS when dashboard active */
    
    /* Global LLM Filter */
    .llm-filter-container {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-left: auto;
      margin-right: 12px;
    }
    .llm-filter-label {
      font-size: 11px;
      font-weight: 500;
      color: var(--text-muted);
      white-space: nowrap;
      letter-spacing: 0.2px;
    }
    .llm-filter-select {
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 6px 30px 6px 12px;
      font-size: 12px;
      font-weight: 500;
      color: var(--text-primary);
      cursor: pointer;
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 10px center;
      min-width: 180px;
      font-family: inherit;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .llm-filter-select:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(232, 168, 48, 0.08);
    }
    .llm-filter-select:hover {
      border-color: rgba(139,148,158,0.4);
    }
    .llm-filter-select option {
      background: var(--bg-secondary);
      color: var(--text-primary);
      padding: 8px;
    }
    .llm-filter-select optgroup {
      background: var(--bg-tertiary);
      color: var(--text-muted);
      font-style: normal;
      font-weight: 600;
      font-size: 11px;
      letter-spacing: 0.3px;
      padding-top: 4px;
    }
    .llm-filter-select optgroup option {
      font-weight: 500;
      font-size: 12px;
      color: var(--text-primary);
      padding-left: 12px;
    }

    .dashboard-header {
      background: var(--bg-secondary);
      border-bottom: 1px solid var(--border);
      padding: 0 16px;
      padding-right: 64px;
      display: flex;
      align-items: center;
      gap: 8px;
      position: sticky;
      top: 0;
      z-index: 100;
      will-change: transform, opacity;
      min-height: 46px;
      flex-wrap: wrap;
      overflow: visible;
    }
    @media (max-width: 1200px) {
      .dashboard-header {
        padding: 6px 16px;
        padding-right: 64px;
        gap: 8px;
      }
    }
    @media (max-width: 900px) {
      .dashboard-header {
        padding: 8px 12px;
        padding-right: 56px;
        gap: 6px;
      }
      .dashboard-header .llm-filter-container {
        order: 10;
        flex-basis: 100%;
        margin-left: 0;
        margin-right: 0;
      }
      .dashboard-logo-wordmark, .dashboard-beta-chip {
        display: none;
      }
    }
    
    .dashboard-logo {
      display: flex;
      align-items: flex-end;
      gap: 0;
      margin-right: 4px;
      flex-shrink: 0;
    }

    .dashboard-logo-icon {
      width: 21px;
      flex-shrink: 0;
      margin-right: -1px;
      margin-bottom: -1px;
    }

    .dashboard-logo-icon video {
      width: 100%;
      height: auto;
      display: block;
      mix-blend-mode: screen;
    }

    .dashboard-logo-wordmark {
      font-family: 'Garet', system-ui, sans-serif;
      font-weight: 400;
      font-size: 17px;
      color: #ffffff;
      letter-spacing: 0.3px;
      line-height: 1;
    }

    .dashboard-beta-chip {
      font-family: 'Garet', system-ui, sans-serif;
      font-weight: 800;
      font-size: 6px;
      letter-spacing: 0.8px;
      padding: 2px 5px;
      background: var(--accent-purple);
      color: #ffffff;
      border-radius: 8px;
      margin-left: 3px;
      vertical-align: middle;
    }
    
    /* Divider between logo and domain */
    .dashboard-header .nav-divider {
      width: 1px;
      height: 24px;
      background: var(--border);
      flex-shrink: 0;
    }
    
    .dashboard-domain {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 5px 12px;
      background: var(--bg-tertiary);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      font-family: 'IBM Plex Mono', 'JetBrains Mono', monospace;
      font-size: 12px;
      cursor: pointer;
      position: relative;
      transition: border-color 0.15s ease;
    }
    .dashboard-domain:hover {
      border-color: var(--text-muted);
    }
    .dashboard-domain-chevron {
      margin-left: 4px;
      color: var(--text-muted);
      font-size: 10px;
      transition: transform 0.2s ease;
    }
    .dashboard-domain.open .dashboard-domain-chevron {
      transform: rotate(180deg);
    }
    .project-switcher-dropdown {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      min-width: 300px;
      max-height: 360px;
      overflow-y: auto;
      background: var(--bg-secondary);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
      z-index: 1000;
      padding: 6px;
    }
    .project-switcher-dropdown.open { display: block; }
    .project-switcher-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 12px;
      border-radius: var(--radius-md);
      cursor: pointer;
      font-size: 12px;
      color: var(--text-secondary);
      transition: background 0.1s ease;
    }
    .project-switcher-item:hover { background: rgba(255,255,255,0.06); }
    .project-switcher-item.active {
      background: rgba(6, 182, 212, 0.1);
      color: var(--text-primary);
    }
    .project-switcher-item .ps-domain {
      font-weight: 600;
      color: var(--text-primary);
    }
    .project-switcher-item .ps-score {
      font-size: 11px;
      font-weight: 600;
      padding: 2px 6px;
      border-radius: 4px;
    }
    .project-switcher-empty {
      padding: 16px;
      text-align: center;
      color: var(--text-muted);
      font-size: 12px;
    }
    
    .dashboard-domain-icon {
      position: relative;
      width: 22px;
      height: 22px;
      flex-shrink: 0;
    }
    .dashboard-domain-icon .brand-logo-header {
      width: 22px;
      height: 22px;
      border-radius: 4px;
      object-fit: contain;
      background: rgba(255, 255, 255, 0.06);
      display: block;
    }
    .dashboard-domain-icon .status-dot {
      position: absolute;
      bottom: -2px;
      right: -2px;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent-green);
      box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
      border: 1.5px solid var(--bg-tertiary);
    }
    /* Fallback: plain green dot when no logo */
    .dashboard-domain-icon.no-logo {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--accent-green);
      box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
    }
    .dashboard-domain-icon.no-logo .brand-logo-header,
    .dashboard-domain-icon.no-logo .status-dot { display: none; }
    
    .new-analysis-btn {
      padding: 5px 10px;
      background: transparent;
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      color: var(--text-secondary);
      font-size: 11px;
      font-weight: 500;
      font-family: inherit;
      cursor: pointer;
      transition: border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      display: inline-flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
    }
    .new-analysis-btn svg {
      width: 12px;
      height: 12px;
      flex-shrink: 0;
    }
    
    .new-analysis-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      transform: translateY(-1px);
      box-shadow: 0 2px 8px rgba(232, 168, 48, 0.12);
    }
    
    .new-analysis-btn:active {
      transform: translateY(0);
      box-shadow: none;
    }

    /* ═══════════════════════════════════════ */
    /* RESPONSIVE NAV & HEADER                */
    /* ═══════════════════════════════════════ */
    @media (max-width: 1100px) {
      .new-analysis-btn span.btn-label-text { display: none; }
      .llm-filter-label { display: none; }
    }
    @media (max-width: 768px) {
      .dashboard-header {
        padding: 6px 12px;
        padding-right: 48px;
        gap: 6px;
        min-height: 46px;
      }
      .dashboard-logo-wordmark, .dashboard-beta-chip { display: none; }
      .dashboard-logo-icon { width: 16px; }
      .dashboard-header .nav-divider { display: none; }
      .new-analysis-btn { padding: 5px 8px; font-size: 11px; }
      .new-analysis-btn svg { width: 12px; height: 12px; }
      .llm-filter-container { margin-left: 0; flex-basis: 100%; order: 10; }
      .llm-filter-select { width: 100%; min-width: unset; }
      .dashboard-domain { font-size: 11px; padding: 4px 8px; }
    }
    @media (max-width: 480px) {
      .dashboard-header { padding: 4px 8px; padding-right: 40px; }
      .new-analysis-btn { padding: 4px 6px; font-size: 10px; gap: 3px; }
      .dashboard-domain #businessTypeLabel { display: none !important; }
    }
    /* Stack floating buttons on small screens */
    @media (max-width: 480px) {
      .ai-agent-fab { width: 48px; height: 48px; bottom: 16px; right: 16px; }
      .lh-feedback-btn { bottom: 76px; right: 16px; padding: 6px 12px; font-size: 11px; }
      .lh-feedback-panel { right: 8px; bottom: 120px; width: calc(100vw - 16px); }
      .ai-agent-floating { right: 8px; bottom: 76px; width: calc(100vw - 16px); max-height: 70vh; }
    }
    
    /* ═══════════════════════════════════════ */
