/* ---------- ERP KPI row (erp/view-kpis.js), imported by styles/erp.css ----------
   Four tiles on the kit row: grey for context, the accent only on the focus
   tile (kit `.kit-kpis > .is-focus` rings it in amber). The cost breakdown is
   drawn in a grey ramp here, so the only colour in the row is the focus (S15). */
.erp-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3, 21px);
  margin-bottom: var(--sp-4, 34px);
}
.erp-kpis > div {
  min-width: 0;
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: var(--sp-2, 13px) var(--sp-3, 21px);
  border-radius: var(--radius, 12px);
  border-left: 4px solid var(--hud-border);
}
.erp-kpis > .is-focus {
  border-left-color: var(--accent);
}
.erp-kpis > div > span,
.erp-kpis > div > small {
  color: var(--hud-muted);
}
.erp-kpis > div > span {
  font-weight: 600;
}
.erp-kpis > div > b {
  color: var(--text-strong, var(--hud-text));
  font-size: var(--fs-3, 30px);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.erp-kpis .kit-breakdown > b {
  font-size: var(--fs-2, 21px);
}
.erp-kpis .kit-breakdown ul {
  font-size: 11px;
}
/* Grey ramp for the context breakdown: the inline --c of the kit needs !important. */
.erp-kpis .kit-breakdown :is(.seg-part, li):nth-child(1) {
  --c: #3b3e45 !important;
}
.erp-kpis .kit-breakdown :is(.seg-part, li):nth-child(2) {
  --c: #6a6e77 !important;
}
.erp-kpis .kit-breakdown :is(.seg-part, li):nth-child(3) {
  --c: #979ba3 !important;
}
.erp-kpis .kit-breakdown :is(.seg-part, li):nth-child(4) {
  --c: #c0c3c9 !important;
}
.erp-example {
  font-size: 11px;
}
