.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 6px;
}

.metric {
  min-height: 54px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdff;
  padding: 8px 14px;
}

.metric-label {
  color: #06152a;
  font-size: 12px;
  line-height: 1.2;
}

.metric-value {
  margin-top: 7px;
  color: #001229;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
}

.cost-note {
  margin-top: 10px;
  color: #06152a;
  font-size: 13px;
  font-weight: 600;
}

.trend-panel {
  padding-bottom: 10px;
}

.legend-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 6px;
  color: #06152a;
  font-size: 12px;
}

.legend-row span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.line {
  display: inline-block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111111;
}

.line.black {
  background: #202020;
}

.line.red {
  background: var(--red);
}

.line.orange {
  background: var(--orange);
}

.line.blue {
  background: var(--blue);
}

.line.purple {
  background: var(--purple);
}

.chart-box {
  overflow: hidden;
  min-height: 238px;
  border: 1px solid #9eb2ca;
  border-radius: 8px;
  background: #fbfdff;
  padding: 8px 16px 0;
}

.chart-box svg {
  display: block;
  width: 100%;
  height: 226px;
}

.grid-lines line {
  stroke: #d8e0e9;
  stroke-width: 1;
}

.series {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.series.black {
  stroke: #202020;
}

.series.orange {
  stroke: var(--orange);
}

.series.blue {
  stroke: var(--blue);
}

.series.purple {
  stroke: var(--purple);
}

.axis-labels text {
  fill: #09213e;
  font-size: 11px;
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
