:root {
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
  background: #f3f5f8;
  color: #111827;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 16px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

h1, h2, h3, p {
  margin: 0;
}

.grid {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

input, button {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
}

button {
  background: #1f6feb;
  color: white;
  border: none;
  cursor: pointer;
}

button.secondary {
  background: #374151;
}

.hidden {
  display: none;
}

.stats-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat p {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 700;
}

#activityChart {
  width: 100%;
  max-width: 100%;
  background: #f8fafc;
  border-radius: 10px;
}

.hint {
  margin-top: 10px;
  color: #6b7280;
  font-size: 13px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.status {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

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