.vibration-board-page {
  display: flex;
  flex-direction: column;
}

.vibration-grid {
  align-items: stretch;
}

.dashboard-card,
.chart-card,
.table-card,
.kpi-card,
.metric-card {
  height: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.card-title-group {
  min-width: 0;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #1f2329;
}

.card-subtitle {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: #86909c;
}

.chart-container,
.chart-container-lg,
.chart-container-xl {
  width: 100%;
  min-width: 0;
}

.chart-container {
  min-height: 320px;
  height: clamp(320px, 36vh, 420px);
}

.chart-container-lg {
  min-height: 360px;
  height: clamp(360px, 40vh, 500px);
}

.chart-container-xl {
  min-height: 420px;
  height: clamp(420px, 48vh, 620px);
}

.kpi-card {
  border: 1px solid rgba(91, 143, 249, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 247, 252, 0.96) 100%);
}

.kpi-label {
  font-size: 13px;
  line-height: 1.6;
  color: #5b6573;
}

.kpi-value {
  margin-top: 12px;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: #1f2329;
  word-break: break-word;
}

.metric-card {
  overflow: hidden;
}

.metric-foot {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: #86909c;
}

.metric-unit,
.unit {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #5b6573;
}

.section-tip {
  margin-bottom: 16px;
}

.data-table :deep(.el-table__header-wrapper th) {
  background: #f8fafc;
}

.data-table :deep(.el-table__row td) {
  vertical-align: top;
}

@media (max-width: 1440px) {
  .chart-container {
    height: clamp(300px, 34vh, 400px);
  }

  .chart-container-lg {
    height: clamp(340px, 38vh, 460px);
  }

  .chart-container-xl {
    height: clamp(380px, 44vh, 560px);
  }
}

@media (max-width: 992px) {
  .card-header {
    align-items: center;
  }

  .chart-container,
  .chart-container-lg,
  .chart-container-xl {
    min-height: 320px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .card-header {
    flex-wrap: wrap;
  }

  .card-title {
    font-size: 15px;
  }

  .kpi-value {
    font-size: 24px;
  }
}
