/* Reports Center: readable header actions and a compact two-up phone KPI grid. */
@media (max-width: 760px) {
  #app .premium-app .reports-center-page .reports-center-hero {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 12px !important;
    padding: 14px 12px 16px !important;
  }

  #app .premium-app .reports-center-page .reports-center-hero > div:nth-of-type(2) {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  #app .premium-app .reports-center-page .reports-center-hero > div:nth-of-type(2) > label {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    height: auto !important;
  }

  #app .premium-app .reports-center-page .reports-center-hero > div:nth-of-type(2) select {
    width: 100% !important;
    min-width: 0 !important;
  }

  #app .premium-app .reports-center-page .reports-center-hero > div:nth-of-type(2) > .btn,
  #app .premium-app .reports-center-page .reports-center-hero > div:nth-of-type(2) > .primary {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    height: auto !important;
    padding: 9px 8px !important;
    justify-content: center !important;
    gap: 6px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  #app .premium-app .reports-center-page .report-kpi-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 10px !important;
    overflow: visible !important;
    touch-action: pan-y !important;
  }

  #app .premium-app .reports-center-page .report-kpi {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 148px !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 10px !important;
    overflow: hidden !important;
  }

  #app .premium-app .reports-center-page .report-kpi > svg {
    width: 36px !important;
    height: 36px !important;
    padding: 8px !important;
  }

  #app .premium-app .reports-center-page .report-kpi > span {
    min-width: 0 !important;
  }

  #app .premium-app .reports-center-page .report-kpi small {
    font-size: 10px !important;
    line-height: 1.15 !important;
  }

  #app .premium-app .reports-center-page .report-kpi strong {
    font-size: 22px !important;
    line-height: 1 !important;
  }

  #app .premium-app .reports-center-page .report-kpi small,
  #app .premium-app .reports-center-page .report-kpi em,
  #app .premium-app .reports-center-page .report-kpi b {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  #app .premium-app .reports-center-page .report-kpi em,
  #app .premium-app .reports-center-page .report-kpi b {
    font-size: 10px !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 360px) {
  #app .premium-app .reports-center-page .report-kpi-grid {
    gap: 7px !important;
    padding-inline: 8px !important;
  }

  #app .premium-app .reports-center-page .report-kpi {
    min-height: 146px !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 9px 8px !important;
  }

  #app .premium-app .reports-center-page .report-kpi > svg {
    width: 32px !important;
    height: 32px !important;
    padding: 7px !important;
  }

  #app .premium-app .reports-center-page .report-kpi strong {
    font-size: 20px !important;
  }
}
