/* Plain WPS-style statistics, visible only for a numeric multi-cell selection. */
.monthly-report-section { container-type: inline-size; }
.sales-statistics-page .monthly-report-heading {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
}
.monthly-report-context { grid-column: 1; grid-row: 1; }
.monthly-report-metrics { grid-column: 3; grid-row: 1; justify-self: end; }
.sales-statistics-page .monthly-report-heading [data-testid="selection-sum"] {
  display: flex !important;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  gap: 16px;
  color: #536782;
  font-size: var(--sales-page-font-size, 13px);
  line-height: 20px;
  white-space: nowrap;
}
.monthly-selection-status strong { color: #304f7a; font-weight: 500; font-variant-numeric: tabular-nums; }
/* Do not overlap the month or monthly totals on narrower worksheets. */
@container (max-width: 1599px) {
  .sales-statistics-page .monthly-report-heading { display: flex; flex-wrap: wrap; }
  .sales-statistics-page .monthly-report-metrics { margin-left: auto; }
  .sales-statistics-page .monthly-report-heading [data-testid="selection-sum"] {
    order: 0;
    flex-basis: auto;
    flex-wrap: wrap;
    gap: 4px 16px;
  }
}
