body {
  font-family: "Microsoft YaHei", sans-serif;
  background: #f5f7fb;
  color: #1f2937;
  margin: 0;
}

.container {
  max-width: 1024px;
  margin: 24px auto;
  padding: 0 16px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  padding: 16px;
  margin-bottom: 16px;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.row > * {
  flex: 1;
  min-width: 180px;
}

input, textarea, select, button {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px;
}

textarea {
  min-height: 88px;
}

button {
  cursor: pointer;
  border: none;
  background: #2563eb;
  color: #fff;
}

.btn-secondary {
  background: #475569;
}

.btn-danger {
  background: #b91c1c;
}

.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.muted {
  color: #6b7280;
  font-size: 13px;
}

.ok { color: #047857; }
.warn { color: #b45309; }
.fail { color: #b91c1c; }

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

th, td {
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  padding: 8px;
  font-size: 13px;
}

.meter {
  height: 12px;
  border-radius: 6px;
  background: #e5e7eb;
  overflow: hidden;
}

.meter > span {
  display: block;
  height: 100%;
  background: #2563eb;
  width: 0%;
}

.collapsible-section > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.collapsible-section > summary::-webkit-details-marker {
  display: none;
}

.collapsible-section > summary::after {
  content: "+";
  color: #475569;
  font-size: 18px;
  line-height: 1;
}

.collapsible-section[open] > summary::after {
  content: "-";
}

.collapsible-body {
  margin-top: 14px;
}

@media (max-width: 768px) {
  .container {
    margin-top: 12px;
  }
}
