* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f6f7f9; color: #1f2328; font-size: 14px; line-height: 1.6;
}
a { color: #185fa5; text-decoration: none; }
.top {
  background: #fff; border-bottom: 1px solid #e5e7eb; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; height: 56px;
  position: sticky; top: 0; z-index: 10;
}
.top .brand { font-weight: 500; font-size: 15px; }
.top .nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
.top .nav button {
  background: none; border: none; padding: 6px 12px; border-radius: 6px;
  cursor: pointer; color: #57606a; font-size: 14px; font-family: inherit;
}
.top .nav button:hover { background: #f3f4f6; }
.top .nav button.on { background: #e6f1fb; color: #185fa5; }
.top .me { color: #57606a; font-size: 13px; display: flex; align-items: center; gap: 12px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 24px; }
h2 { font-size: 15px; font-weight: 500; margin-bottom: 16px; }
.cards { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 16px 20px; min-width: 150px;
}
.card .k { color: #57606a; font-size: 12px; }
.card .v { font-size: 22px; font-weight: 500; margin-top: 4px; }
.panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 20px; margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eef0f2; vertical-align: middle; }
th { color: #57606a; font-weight: 500; background: #fafbfc; }
tr:last-child td { border-bottom: none; }
button, .btn {
  background: #185fa5; color: #fff; border: none; border-radius: 6px;
  padding: 6px 12px; cursor: pointer; font-size: 13px; font-family: inherit;
}
button.ghost { background: #fff; color: #185fa5; border: 1px solid #b5d4f4; }
button.warn { background: #a32d2d; }
button:disabled { background: #d0d7de; cursor: not-allowed; }
input, select, textarea {
  border: 1px solid #d0d7de; border-radius: 6px; padding: 7px 10px;
  font-size: 13px; font-family: inherit; background: #fff; width: 100%;
}
textarea { min-height: 120px; line-height: 1.7; }
.row { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.row label { width: 130px; color: #57606a; font-size: 13px; flex-shrink: 0; }
.row .grow { flex: 1; min-width: 200px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; background: #f1efe8; color: #5f5e5a; }
.tag.pool { background: #e6f1fb; color: #185fa5; }
.tag.done { background: #e1f5ee; color: #0f6e56; }
.tag.late { background: #fcebeb; color: #a32d2d; }
.muted { color: #57606a; font-size: 13px; }
.plus { color: #0f6e56; }
.minus { color: #a32d2d; }
.auth { max-width: 360px; margin: 80px auto; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 28px; }
.auth h1 { font-size: 16px; font-weight: 500; margin-bottom: 20px; }
.auth .switch { text-align: center; margin-top: 16px; }
.err { background: #fcebeb; color: #a32d2d; padding: 8px 12px; border-radius: 6px; margin-bottom: 12px; font-size: 13px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px 20px; }
