/* extracted from debug-dashboard.html */

* { box-sizing: border-box; }
    
    body {
      font-family: 'Courier New', monospace;
      background: #0f172a;
      color: #e2e8f0;
      margin: 0;
      padding: 12px;
      max-width: 600px;
      margin: 0 auto;
    }

    h1 {
      font-size: 1.2rem;
      margin: 0 0 16px;
      color: #cbd5e1;
      text-align: center;
    }

    .summary {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-bottom: 16px;
      font-size: 0.9rem;
    }

    .summary-card {
      background: #1e293b;
      border: 1px solid #334155;
      border-radius: 6px;
      padding: 12px;
      text-align: center;
    }

    .summary-card .label {
      color: #94a3b8;
      font-size: 0.75rem;
      text-transform: uppercase;
      margin-bottom: 4px;
    }

    .summary-card .count {
      font-size: 1.8rem;
      font-weight: bold;
      color: #f1f5f9;
    }

    .summary-card.error .count {
      color: #f87171;
      animation: blink 1s infinite;
    }

    @keyframes blink {
      0%, 49%, 100% { opacity: 1; }
      50%, 99% { opacity: 0.3; }
    }

    .issues-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .issue {
      background: #1e293b;
      border-left: 4px solid #94a3b8;
      border-radius: 4px;
      padding: 10px 12px;
      font-size: 0.85rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: all 0.2s ease;
    }

    .issue.error {
      border-left-color: #f87171;
      background: rgba(248, 113, 113, 0.08);
    }

    .issue.error .indicator {
      width: 8px;
      height: 8px;
      background: #f87171;
      border-radius: 50%;
      animation: blink 1s infinite;
      margin-right: 8px;
    }

    .issue-content {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 1;
      min-width: 0;
    }

    .issue-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
      flex: 1;
    }

    .issue-type {
      font-weight: 600;
      color: #f1f5f9;
      text-transform: uppercase;
      font-size: 0.7rem;
      letter-spacing: 0.5px;
    }

    .issue-desc {
      color: #cbd5e1;
      font-size: 0.75rem;
      word-break: break-word;
    }

    .issue-link {
      text-decoration: none;
      color: #60a5fa;
      font-weight: 600;
      white-space: nowrap;
      padding: 4px 8px;
      border-radius: 3px;
      background: rgba(96, 165, 250, 0.1);
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .issue-link:hover {
      background: rgba(96, 165, 250, 0.2);
      color: #93c5fd;
    }

    .issue-line {
      font-size: 0.7rem;
      color: #94a3b8;
      margin-left: 4px;
    }

    .tooltip-trigger {
      position: relative;
      cursor: help;
      border-bottom: 1px dotted #60a5fa;
    }

    .tooltip-trigger:hover::after {
      content: attr(data-line);
      position: absolute;
      bottom: 100%;
      left: 0;
      background: #0f172a;
      border: 1px solid #334155;
      padding: 6px 8px;
      border-radius: 3px;
      font-size: 0.7rem;
      white-space: nowrap;
      z-index: 10;
      margin-bottom: 4px;
    }

    .filter-buttons {
      display: flex;
      gap: 6px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }

    .filter-btn {
      appearance: none;
      background: #1e293b;
      border: 1px solid #334155;
      color: #cbd5e1;
      padding: 6px 10px;
      border-radius: 4px;
      cursor: pointer;
      font-size: 0.75rem;
      transition: all 0.2s ease;
    }

    .filter-btn.active {
      background: #3b82f6;
      border-color: #3b82f6;
      color: #f1f5f9;
    }

    .filter-btn:hover {
      background: #334155;
      border-color: #475569;
    }

    .empty-state {
      text-align: center;
      color: #64748b;
      padding: 30px 12px;
      font-size: 0.9rem;
    }

    .empty-state .checkmark {
      font-size: 3rem;
      margin-bottom: 12px;
    }

    .footer {
      margin-top: 20px;
      padding-top: 12px;
      border-top: 1px solid #334155;
      text-align: center;
      font-size: 0.75rem;
      color: #64748b;
    }

    /* Mobile optimizations */
    @media (max-width: 480px) {
      body { padding: 8px; }
      h1 { font-size: 1rem; margin-bottom: 12px; }
      .summary { grid-template-columns: 1fr; gap: 6px; }
      .issue { font-size: 0.8rem; padding: 8px 10px; }
      .issue-link { padding: 3px 6px; font-size: 0.7rem; }
    }
