.sales-monthly-summary-toggle { display: none; }

@media (max-width: 767px), (max-width: 1023px) and (max-height: 500px) {
  .sales-statistics-page .monthly-report-heading[data-summary-open] .monthly-report-context {
    position: relative;
    min-height: 32px;
    padding-right: 44px;
  }
  .sales-statistics-page .monthly-report-heading[data-summary-open='false'] .monthly-report-metrics {
    display: none;
  }
  .sales-statistics-page .sales-monthly-summary-toggle {
    display: inline-flex;
    position: absolute;
    left: -8px;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    justify-content: flex-end;
    width: calc(100% + 16px);
    height: calc(100% + 12px);
    min-height: 44px;
    padding: 0 21px 0 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--sales-clean-primary, #2563eb);
    cursor: pointer;
    touch-action: manipulation;
  }
  .sales-statistics-page .sales-monthly-summary-toggle:active { background: rgb(37 99 235 / 7%); }
  .sales-statistics-page .sales-monthly-summary-toggle:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: -3px;
  }
  .sales-monthly-summary-toggle svg { width: 18px; height: 18px; transition: transform 120ms ease; }
  .sales-monthly-summary-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) {
  .sales-monthly-summary-toggle svg { transition: none; }
}
