/* ===== 局长/管理员看板 ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.dash-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.dash-card .icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
}
.dash-card .num {
  font-size: 26px;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1.2;
}
.dash-card .label {
  font-size: 12px;
  color: #7a8a9a;
  margin-top: 4px;
}
.dash-card.primary .icon-circle { background: #e8f4f8; color: #2c5282; }
.dash-card.success .icon-circle { background: #d4edda; color: #28a745; }
.dash-card.warning .icon-circle { background: #fff4d4; color: #b88b00; }
.dash-card.danger .icon-circle { background: #ffe5e8; color: #dc3545; }
.dash-card.primary .num { color: #2c5282; }
.dash-card.success .num { color: #28a745; }
.dash-card.warning .num { color: #b88b00; }
.dash-card.danger .num { color: #dc3545; }

/* 科室对比 */
.dept-compare {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.dept-compare-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 工作类型分布 */
.type-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.type-pill {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  background: #f0f4f8;
  color: #5a6b7a;
}
.type-pill.网格工作 { background: #e8f4f8; color: #2c5282; }
.type-pill.业务重点工作 { background: #fff4d4; color: #b88b00; }
.type-pill.集中整治 { background: #ffe5e8; color: #dc3545; }
.type-pill.案件 { background: #f0e8ff; color: #6f42c1; }

/* 排名 */
.rank-list { list-style: none; }
.rank-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f5;
  color: #2c3e50;
}
.rank-item:last-child { border-bottom: none; }
.rank-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8ecf1;
  color: #7a8a9a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  margin-right: 10px;
  flex-shrink: 0;
}
.rank-item.top-1 .rank-num { background: #ffd700; color: #fff; }
.rank-item.top-2 .rank-num { background: #c0c0c0; color: #fff; }
.rank-item.top-3 .rank-num { background: #cd7f32; color: #fff; }
.rank-name { flex: 1; font-size: 14px; }
.rank-pct { font-size: 13px; font-weight: 600; }
.rank-pct.high { color: #28a745; }
.rank-pct.low { color: #dc3545; }
