* { box-sizing: border-box; }
body { margin: 0; background: #f4f4f2; color: #1c1c19; font-size: 13px;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
a { color: #2a55a8; text-decoration: none; }
a:hover { color: #1d3d78; }
.top { height: 46px; background: #fff; border-bottom: 1px solid #e2e2dd; display: flex;
  align-items: center; gap: 14px; padding: 0 18px; }
.top .brand { font-weight: 700; }
.top .sp { flex: 1; }
.muted { color: #8a8a80; font-size: 11px; }
.wrap { padding: 18px; max-width: 1700px; margin: 0 auto; }
.card { background: #fff; border: 1px solid #e2e2dd; border-radius: 5px; margin-bottom: 14px; }
.card h2 { font-size: 13px; margin: 0; padding: 10px 14px; border-bottom: 1px solid #e2e2dd;
  font-weight: 500; display: flex; align-items: center; gap: 10px; }
.card h2 .grow { flex: 1; }
.pad { padding: 14px; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th { text-align: left; font-weight: 500; color: #8a8a80; font-size: 11px; padding: 7px 12px;
  border-bottom: 1px solid #e2e2dd; background: #fafaf8; }
td { padding: 8px 12px; border-bottom: 1px solid #f1f1ec; }
td.wrap-cell { white-space: normal; min-width: 150px; }
.mono { font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.right { text-align: right; }
.btn { display: inline-block; background: #2a55a8; color: #fff; border: none; border-radius: 3px;
  padding: 6px 14px; font-size: 12px; cursor: pointer; font-family: inherit; }
.btn:hover { background: #21447f; }
.btn.ghost { background: #fff; color: #33332f; border: 1px solid #d8d8d2; }
.btn.ghost:hover { background: #f4f4f0; }
.btn:disabled { background: #c9c9c0; cursor: default; }
.btn.ghost:disabled { background: #f4f4f0; color: #a5a59a; border-color: #e2e2dd; }
.tag { border-radius: 2px; padding: 1px 6px; font-size: 11px; }
.tag.ok { background: #eaf2ea; color: #3c6b45; }
.tag.info { background: #e9eef7; color: #2a55a8; }
.tag.dup { background: #f7e9e6; color: #a2402c; }
.tag.grey { background: #f0f0ea; color: #6a6a60; }
.tag.rd { background: #f0e9f9; color: #6b34a8; }
input, select, textarea { border: 1px solid #d8d8d2; border-radius: 3px; padding: 6px 9px;
  font-size: 13px; font-family: inherit; }
.drop { border: 1px dashed #c9c9c0; border-radius: 5px; background: #fff; padding: 24px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.drop.hot { border-color: #2a55a8; background: #f7f9fd; }
.login { min-height: 100vh; background: #26261f; display: flex; align-items: center; justify-content: center; }
.login .box { width: 340px; background: #fff; border-radius: 6px; padding: 24px 22px; }
.login input { width: 100%; margin-bottom: 10px; }
.err { color: #a2402c; font-size: 11px; margin-bottom: 8px; }
details.raw { margin-top: 6px; }
details.raw pre { background: #fafaf8; border: 1px solid #eee; padding: 8px; max-height: 220px;
  overflow: auto; font-size: 11px; white-space: pre-wrap; }
@media print {
  .noprint { display: none !important; }
  body { background: #fff; }
  .sheet { page-break-after: always; border: none !important; box-shadow: none !important; }
}
