* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: #f5f7fa;
  color: #1f2937;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.card {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.hd h1 { font-size: 20px; font-weight: 600; }
.hd .sub { margin-top: 4px; font-size: 12px; color: #6b7280; }
.status {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; }
.dot.on { background: #3b6d11; }
.dot.off { background: #a32d2d; }
.form { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.form input {
  flex: 1;
  min-width: 180px;
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
  border: 1px solid #d7dde8;
  border-radius: 8px;
  outline: none;
}
.form input:focus { border-color: #185fa5; }
.form select {
  height: 42px;
  padding: 0 8px;
  font-size: 13px;
  color: #1f2937;
  background: #ffffff;
  border: 1px solid #d7dde8;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  max-width: 180px;
}
.form select:focus { border-color: #185fa5; }
.form select:disabled { background: #f3f4f6; color: #9ca3af; cursor: not-allowed; }
.form button {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
  color: #ffffff;
  background: #185fa5;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.form button:hover:not(:disabled) { background: #0c447c; }
.form button:disabled { background: #b8c4d4; cursor: not-allowed; }
.result {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  background: #eaf3de;
  border: 1px solid #c0dd97;
  color: #27500a;
}
.result.warn { background: #faeeda; border-color: #fac775; color: #633806; }
.result.error { background: #fcebeb; border-color: #f7c1c1; color: #791f1f; }
.records { margin-top: 24px; }
.records h2 { font-size: 14px; font-weight: 600; }
.records .count { margin-left: 8px; font-size: 12px; font-weight: 400; color: #6b7280; }
.list { margin-top: 10px; list-style: none; max-height: 260px; overflow-y: auto; }
.list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 4px;
  border-bottom: 1px dashed #edf0f5;
  font-size: 13px;
}
.list li:last-child { border-bottom: none; }
.list .u { color: #1f2937; }
.list .z {
  color: #0c447c;
  font-size: 11px;
  background: #e6f1fb;
  border: 1px solid #b5d5f0;
  border-radius: 4px;
  padding: 1px 6px;
}
.list .s { color: #185fa5; font-size: 12px; }
.list .t { color: #9ca3af; font-size: 12px; }
.list .empty { color: #9ca3af; justify-content: center; }
.ft { margin-top: 20px; font-size: 11px; color: #9ca3af; text-align: center; }
.ft a { color: #6b7280; }
