:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --text: #172032;
  --muted: #5f6f88;
  --brand: #0f6cbd;
  --line: #dbe5f2;
  --chip: #e8f1fb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 5%, #eaf3ff 0%, var(--bg) 40%, #eef2f8 100%);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  display: grid;
  gap: 14px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(16, 41, 74, 0.05);
}

.tag {
  margin: 0;
  display: inline-block;
  font-size: 12px;
  color: var(--brand);
  background: var(--chip);
  border-radius: 999px;
  padding: 3px 10px;
}

h1 {
  margin: 10px 0 8px;
  font-size: 30px;
}

h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.section-head h2 {
  margin: 0;
}

.ghost-btn {
  min-width: 72px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #2f4d74;
  background: #f3f8ff;
  font-size: 14px;
}

.desc {
  margin: 0;
  color: var(--muted);
}

.search-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 10px;
}

input,
button {
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 16px;
}

input {
  width: 100%;
  padding: 0 14px;
}

button {
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  border: none;
}

.hint {
  margin: 10px 0 0;
  color: var(--muted);
}

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

.summary-item {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
}

.summary-item b {
  display: block;
  margin-bottom: 5px;
  color: #3a4b66;
  font-size: 13px;
}

.count {
  margin-bottom: 10px;
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px 6px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #395070;
  background: #f3f8ff;
}

.empty {
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: #fbfdff;
}

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

  .summary-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 26px;
  }
}
