/* Keep the trend hover card compact without changing dashboard metric sizing. */
#salesDashboardView .sales-trend-tooltip {
  box-sizing:border-box !important;
  width:max-content !important;
  min-width:138px !important;
  max-width:min(280px, calc(100% - 16px)) !important;
  white-space:nowrap !important;
}
#salesDashboardView .sales-trend-tooltip > span {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
}
#salesDashboardView .sales-trend-tooltip > span > i {
  flex:0 0 8px !important;
}
#salesDashboardView .sales-trend-tooltip > span > strong .sales-flip-number {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:initial !important;
  gap:0 !important;
}
#salesDashboardView .sales-trend-tooltip .sales-flip-number {
  display:inline-flex !important;
  align-items:center !important;
  margin:0 !important;
  color:inherit !important;
  font-size:11px !important;
  line-height:1 !important;
}
#salesDashboardView .sales-trend-tooltip .sales-flip-digit {
  display:inline-block !important;
  height:1em !important;
  margin:0 !important;
  color:inherit !important;
  font-size:inherit !important;
  line-height:1em !important;
}
#salesDashboardView .sales-trend-tooltip .sales-digit-strip {
  display:block !important;
  margin:0 !important;
  color:inherit !important;
  font-size:inherit !important;
  line-height:1em !important;
}
#salesDashboardView .sales-trend-tooltip .sales-digit-strip > span {
  display:block !important;
  height:1em !important;
  margin:0 !important;
  color:inherit !important;
  font-size:inherit !important;
  line-height:1em !important;
  gap:0 !important;
}

/* Approved KPI size option D: emphasize the two headline metrics only. */
#salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article {
  min-height:190px !important;
  padding:22px 12px !important;
}
#salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article > b {
  font-size:86px !important;
  line-height:1.08 !important;
}
#salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article > b > .sales-flip-number,
#salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article > b .sales-flip-number span {
  font-size:inherit !important;
}
#salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article > b .sales-flip-digit,
#salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article > b .sales-digit-strip,
#salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article > b .sales-digit-strip > span {
  line-height:1em !important;
}
#salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article > b > .sales-flip-number {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-flow:row nowrap !important;
  white-space:nowrap !important;
}
#salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article > b > .sales-flip-number > .sales-flip-digit,
#salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article > b > .sales-flip-number > .sales-flip-separator {
  display:inline-block !important;
  flex:0 0 auto !important;
}
@media (max-width:700px) {
  #salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article {
    min-height:150px !important;
    padding:16px 8px !important;
  }
  #salesDashboardView .sales-kpi-panel.sales-kpi-panel-compact article > b {
    font-size:68px !important;
    line-height:1.05 !important;
  }
}
