:root {
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #10233a;
  --muted: #5d7088;
  --line: #d8e1ee;
  --accent: #0b6efd;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: radial-gradient(circle at 10% 10%, #eaf2ff, var(--bg));
  color: var(--text);
}

.shell {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 16px 32px;
  display: grid;
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

h1, h2 { margin: 0 0 8px; }
.muted { color: var(--muted); margin: 0 0 12px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

label { display: grid; gap: 6px; font-size: 14px; }
input {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

button {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.stats article {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 6px;
}

.stats span { color: var(--muted); font-size: 13px; }
.stats strong { font-size: 20px; }

table { width: 100%; border-collapse: collapse; }
th, td {
  border-bottom: 1px solid var(--line);
  padding: 8px 6px;
  text-align: left;
  font-size: 14px;
}

@media (max-width: 640px) {
  th:nth-child(3), td:nth-child(3), th:nth-child(4), td:nth-child(4) { display: none; }
}
