:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  color: #1a1d24;
  background-color: #f5f7fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

header h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}

header p {
  margin: 0;
  color: #4a5568;
  max-width: 720px;
}

.status {
  margin: 32px 0 24px;
  padding: 20px 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.progress-track {
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  transition: width 0.2s ease;
}

.progress-label {
  min-width: 44px;
  text-align: right;
  font-size: 0.85rem;
  color: #475569;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.status-grid .label {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
}

.status-grid .value {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
}

.results {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.results thead {
  background: #1f2937;
  color: #fff;
}

.results th,
.results td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

.results tbody tr:nth-child(even) {
  background: #f8fafc;
}

.results tbody tr:hover {
  background: #eef2f7;
}

.placeholder {
  text-align: center;
  color: #9ca3af;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-pill.detected {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

.status-pill.unknown {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

.notice {
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff5f5;
  color: #b91c1c;
  margin-top: 16px;
}
