:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #5d6978;
  --line: #d9e0e7;
  --surface: #ffffff;
  --canvas: #f3f6f8;
  --blue: #1769aa;
  --blue-soft: #e8f2fa;
  --green: #1f7a4d;
  --green-soft: #e7f5ed;
  --amber: #9a6400;
  --amber-soft: #fff4d6;
  --red: #b42318;
  --red-soft: #fdecea;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 14px/1.6 "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}
a { color: var(--blue); }
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 20px 28px 17px;
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.eyebrow {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
}
h1 {
  margin: 5px 0 7px;
  font-size: 24px;
  line-height: 1.25;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--muted);
  font-size: 13px;
}
.date-picker { display: inline-flex; align-items: center; gap: 6px; }
.date-picker select {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
}
.content {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto;
  padding: 18px 0 48px;
}
.notice,
.formula {
  border-left: 4px solid var(--blue);
  background: var(--blue-soft);
  color: #24435b;
  padding: 11px 14px;
  margin-bottom: 18px;
}
.formula { border-left-color: var(--green); background: var(--green-soft); color: #23533b; }
.snapshot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.snapshot-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 15px;
}
.snapshot-label { color: var(--muted); font-size: 12px; }
.snapshot-value {
  margin-top: 5px;
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}
.section-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px 13px;
  border-bottom: 1px solid var(--line);
}
.section-index {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf0f4;
  color: #263440;
  font-weight: 700;
  font-size: 13px;
}
h2 { margin: 1px 0 0; font-size: 17px; line-height: 1.35; }
.section-body { padding: 15px 18px 18px; }
.section-intro { margin: 0 0 12px; color: var(--muted); }
.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.rule-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  background: #fbfcfd;
}
.rule-item strong { display: block; margin-bottom: 4px; }
.rule-item p { margin: 0; color: var(--muted); font-size: 13px; }
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  table-layout: fixed;
}
th, td {
  border-bottom: 1px solid var(--line);
  padding: 10px 11px;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  word-break: break-word;
}
th {
  background: #eaf0f4;
  color: #263440;
  font-size: 12px;
  line-height: 1.35;
}
tbody tr:nth-child(even) { background: #fafcfd; }
tbody tr:last-child td { border-bottom: 0; }
.muted { color: var(--muted); }
.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  white-space: nowrap;
}
.tag.ok { color: var(--green); background: var(--green-soft); }
.tag.warn { color: var(--amber); background: var(--amber-soft); }
.tag.bad { color: var(--red); background: var(--red-soft); }
.tag.neutral { color: #44515e; background: #edf1f4; }
.weight-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.weight-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: #fbfcfd;
}
.weight-card .weight {
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.weight-card .weight-label { margin-top: 4px; color: var(--muted); font-size: 12px; }
.unsupported td:first-child { color: var(--red); font-weight: 700; }
.footer {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding-top: 10px;
}
@media (max-width: 980px) {
  .content { width: min(100% - 28px, 1180px); }
  .snapshot, .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weight-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .topbar { padding-left: 14px; padding-right: 14px; }
  .snapshot, .rule-grid, .weight-grid { grid-template-columns: 1fr; }
  h1 { font-size: 21px; }
  .section-body, .section-header { padding-left: 14px; padding-right: 14px; }
}

