body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Microsoft Yahei, sans-serif;
  background: linear-gradient(160deg, #f5f7ff 0%, #eef8ff 100%);
  color: #1f2430;
}
.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}
h1 {
  margin: 0;
  font-size: 24px;
}
.sub {
  margin: 8px 0 14px;
  color: #667085;
}
.row {
  display: flex;
  gap: 10px;
}
.date-range-row {
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.date-range-row label {
  color: #475467;
  font-size: 14px;
  white-space: nowrap;
}
.date-range-row input {
  max-width: 180px;
}
input {
  flex: 1;
  height: 40px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
}
button {
  min-width: 88px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
}
.info {
  margin: 12px 0 0;
  color: #475467;
  min-height: 20px;
}
.stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
}
.stat-card.total {
  background: #2563eb;
  color: #fff;
}
.label {
  font-size: 13px;
  color: #667085;
}
.total .label {
  color: rgba(255,255,255,.86);
}
.value {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 700;
}
.daily-card {
  margin-top: 14px;
}
.daily-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
}
th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #eaecf0;
  text-align: center;
  font-size: 14px;
}
th {
  color: #475467;
  background: #f9fafb;
}
@media (max-width: 600px) {
  .date-range-row input {
    flex: 1 1 40%;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .value {
    font-size: 24px;
  }
}
