/* 📊 统计图总容器：响应式布局保持不变 */
#anjianStatsPanel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 🔽 改小最小宽度 */
  gap: 16px;
  margin-bottom: 30px;
  padding: 10px;
}

/* 📦 每个统计卡片区域：宽度缩小 */
.anjian-stats-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 240px; /* ✅ 缩小容器最大宽度 */
}

/* 📌 标题样式缩小 */
.anjian-stats-section h3 {
  margin-bottom: 8px;
  color: #2c3e50;
  font-size: 14px;  /* 🔽 字体小一点 */
  font-weight: 600;
  border-left: 3px solid #3498db;
  padding-left: 6px;
  align-self: flex-start;
}

/* 📉 柱状图/折线图 canvas：缩小高度 */
.anjian-stats-section canvas {
  width: 100% !important;
  max-height: 140px !important; /* ✅ 更矮一些 */
}

/* 🧁 圆环图专用：也缩小为正方形 */
#typeChart {
  width: 160px !important;
  height: 160px !important;
}
