﻿:root {
  --bg: #f7f8f6;
  --panel: #ffffff;
  --text: #172326;
  --muted: #657277;
  --line: #e1e7e5;
  --teal: #0f6f66;
  --teal-soft: #e2f2ef;
  --amber: #a96813;
  --blue: #2f6690;
  --shadow: 0 12px 30px rgba(22, 35, 38, .06);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(240px, auto) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand strong { display: block; font-size: 18px; line-height: 1.25; }
.brand span { color: var(--muted); font-size: 12px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 6px;
  color: #44575c;
}
.nav a:hover, .nav a.active { background: var(--teal-soft); color: var(--teal); }
main {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 30px clamp(18px, 4vw, 48px) 56px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}
h1 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
h2 { margin: 0; font-size: 21px; }
p { line-height: 1.65; }
.subtitle { margin: 0; color: var(--muted); max-width: 820px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 650;
}
.btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.metrics, .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.metric, .card, .panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.metric { padding: 15px 16px; }
.metric b { display: block; font-size: 28px; line-height: 1; margin-bottom: 8px; }
.metric span, .hint { color: var(--muted); font-size: 13px; }
.search-panel { margin: 20px 0; padding: 16px; }
.search-row { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 10px; }
input, select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: #fbfcfc;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcfc;
  min-height: 32px;
  padding: 6px 10px;
  color: #40545a;
  cursor: pointer;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin: 26px 0 12px;
}
.card {
  display: flex;
  min-height: 140px;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}
.card:hover { border-color: #8fc7c0; transform: translateY(-1px); }
.tag {
  align-self: flex-start;
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}
.card h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); font-size: 13px; }
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
  font-size: 14px;
}
th { background: #eef4f4; color: #405157; font-size: 13px; }
td a { color: var(--teal); font-weight: 650; }
tr:hover td { background: #f8fbfb; }
.empty { padding: 26px; text-align: center; color: var(--muted); }
.notice { padding: 16px; color: var(--muted); }
.link-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.link-actions a { color: var(--teal); font-weight: 650; }
button.card {
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
@media (max-width: 900px) {
  .top, .hero { grid-template-columns: 1fr; }
  .nav, .actions { justify-content: flex-start; }
  .metrics, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .metrics, .grid, .search-row { grid-template-columns: 1fr; }
  table { min-width: 640px; }
}
