    *, *::before, *::after { box-sizing: border-box; }
    body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
           background: #ffffff; color: #111; padding: 1.5rem; max-width: 1200px; margin: auto; }
    h1 { color: #1e40af; margin-bottom: 0.3rem; }
    h2 { color: #555; font-size: 1rem; margin-bottom: 1.5rem; font-weight: normal; }
    .loading { color: #666; padding: 2rem; text-align: center; }

    .nav-header { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center;
                  padding: 0.6rem 0; margin-bottom: 1.5rem; border-bottom: 1px solid #e5e7eb; }
    .nav-header h1 { font-size: 1.1rem; margin: 0 0.6rem 0 0; white-space: nowrap; color: #1e40af; }
    .btn { border: 1px solid #ccc; background: #f0f0f2; color: #111; padding: 0.35rem 0.7rem;
           border-radius: 0.5rem; cursor: pointer; font-size: 0.85rem; text-decoration: none; }
    .btn:hover { border-color: #93c5fd; }
    .btn.active { background: #2563eb; color: #fff; border-color: #2563eb; }

    table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
    th, td { padding: 0.6rem 1rem; text-align: left; border-bottom: 1px solid #e5e7eb; }
    th { background: #f8f8fa; color: #555; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; }
    td { font-size: 0.95rem; }
    .good { color: #16a34a; font-weight: bold; }
    .warn { color: #d97706; font-weight: bold; }
    .bad { color: #dc2626; font-weight: bold; }
    .pending { color: #999; font-style: italic; }
    .muted { color: #999; font-weight: normal; }

    .detail-section { margin: 1rem 0; }
    .detail-header {
      background: #f8f8fa; padding: 0.6rem 1rem; border-radius: 6px;
      cursor: pointer; display: flex; justify-content: space-between; align-items: center;
      border: 1px solid #e5e7eb;
    }
    .detail-header:hover { border-color: #93c5fd; }
    .detail-header .arrow { transition: transform 0.2s; }
    .detail-header.open .arrow { transform: rotate(90deg); }
    .detail-body { display: none; padding: 0.5rem 0; max-height: 500px; overflow-y: auto; }
    .detail-body.open { display: block; }
    .detail-body table { font-size: 0.85rem; }
    .detail-body td { padding: 0.3rem 0.8rem; }

    .scan-info { color: #888; font-size: 0.8rem; margin-top: 1.5rem; padding: 0.5rem 0.8rem;
                  background: #f8f8fa; border-radius: 6px; border: 1px solid #e5e7eb; }
