:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f7f8;
  color: #172126;
}

* { box-sizing: border-box; }
body { margin: 0; }

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding: 18px 0 22px;
}

h1, h2, p { margin: 0; }
h1 { font-size: 32px; letter-spacing: 0; }
h2 { font-size: 18px; }
p { color: #60717b; margin-top: 4px; }

input, button {
  border: 1px solid #c9d4da;
  background: #fff;
  color: #172126;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
}

button {
  cursor: pointer;
  background: #174f63;
  color: white;
  border-color: #174f63;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.stats div, .panel {
  background: white;
  border: 1px solid #dbe3e7;
  border-radius: 8px;
}

.stats div {
  padding: 16px;
}

.stats span {
  display: block;
  color: #60717b;
  font-size: 13px;
  margin-bottom: 8px;
}

.stats strong {
  font-size: 28px;
}

.grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 16px;
}

.panel {
  overflow: hidden;
}

.panelHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e7edf0;
}

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

th, td {
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid #edf2f4;
  font-size: 14px;
}

th {
  color: #60717b;
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .topbar, .grid { grid-template-columns: 1fr; display: grid; }
  .stats { grid-template-columns: 1fr; }
  .shell { padding: 16px; }
}
