/* Final cascade for the dashboard command deck.
   client-premium.css is loaded after client.css and otherwise turns this
   deliberately vertical readout back into a three-column KPI grid. */
.client-dashboard-page:not(.admin-page) .dashboard-command-deck .dashboard-kpis {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  width: min(330px, 100%);
  flex: 0 0 min(330px, 100%);
  align-self: stretch;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.018);
}

.client-dashboard-page:not(.admin-page) .dashboard-command-deck .dashboard-kpis .kpi-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  min-height: 62px;
  padding: 14px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.client-dashboard-page:not(.admin-page) .dashboard-command-deck .dashboard-kpis .kpi-card strong {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: #f4f8ff;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.client-dashboard-page:not(.admin-page) .dashboard-command-deck .dashboard-kpis .kpi-card span {
  grid-column: 1;
  grid-row: 1;
  padding-right: 16px;
  color: #b5c2d2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .client-dashboard-page:not(.admin-page) .dashboard-command-deck .dashboard-kpis {
    width: 100%;
    flex-basis: auto;
    padding: 20px 32px;
  }
}

@media (max-width: 480px) {
  .client-dashboard-page:not(.admin-page) .dashboard-command-deck .dashboard-kpis {
    padding: 20px 24px;
  }
}
