.container {
  max-width: 1600px;
  margin: 0 auto;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 12px;
  margin-bottom: 12px;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.card-title {
  font-size: 16px;
  font-weight: 500;
}
.refresh-btn {
  color: #1890ff;
  cursor: pointer;
  background: none;
  border: none;
}
.performance {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.p-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
}
.p-label {
  color: #666;
  margin-bottom: 8px;
}
.p-num {
  font-size: 22px;
  font-weight: bold;
  color: #1890ff;
}
/* 任务 Tab */
.task-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 12px;
  overflow-x: auto;
  padding-top: 6px;
}
.tab {
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.tab.active {
  background: #e6f7ff;
  color: #1890ff;
}
.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ff4d4f;
  color: #fff;
  font-size: 12px;
  padding: 0 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}
#taskList {
  overflow: auto;
  height: 500px;
}
/* 任务列表 */
.task-item {
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 12px;
}
.task-item.unread {
  border-left: 4px solid orange;
}
.task-top {
  display: flex;
  justify-content: space-between;
}
.task-name {
  font-weight: 500;
}
.read-btn {
  border: none;
  background: #f5f5f5;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}
.read-btn.disabled {
  color: #999;
  cursor: not-allowed;
}
.task-info,
.task-time {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}
.task-content {
  font-size: 14px;
  margin-top: 6px;
}
.empty {
  text-align: center;
  padding: 40px 0;
  color: #999;
}
.loading {
  text-align: center;
  padding: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
table,
th,
td {
  border: 1px solid #eee;
}
table td {
  padding: 8px 24px;
  text-align: center !important;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  color: #666;
}
