body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #0f172a;
  color: #e2e8f0;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
}
.card {
  background: #111827;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.metric {
  background: #1f2937;
  border-radius: 10px;
  padding: 12px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #334155;
  vertical-align: top;
}
th {
  color: #93c5fd;
}
.mobile-cards {
  display: none;
}
.mobile-card {
  background: #1f2937;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}
.mobile-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}
.mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin-bottom: 10px;
}
.mobile-field {
  min-width: 0;
}
.mobile-label {
  color: #93c5fd;
  font-size: 0.78rem;
  margin-bottom: 2px;
}
.mobile-value {
  color: #e2e8f0;
  word-break: break-word;
}
.right { color: #86efac; font-weight: bold; }
.wrong { color: #fca5a5; font-weight: bold; }
.summary { color: #cbd5e1; margin-bottom: 12px; }
.muted { color: #94a3b8; }

@media (max-width: 768px) {
  .container {
    padding: 14px;
  }

  h1 {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .card {
    padding: 14px;
    margin-bottom: 16px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .table-wrap table {
    display: none;
  }

  .mobile-cards {
    display: block;
    margin-top: 8px;
  }
}
