/* Place compact agency metrics in the free section of the desktop toolbar. */
@media (min-width: 1025px) {
  #root [data-t360-agency-mobile] > div:first-child > [data-t360-agency-kpis-top] {
    display: none !important;
  }

  #root [data-t360-agency-toolbar] {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 8px !important;
  }

  #root [data-t360-agency-toolbar] > button:not(:last-child) {
    order: 0;
    flex: 0 0 auto;
  }

  #root [data-t360-agency-toolbar] > [data-t360-agency-kpis] {
    order: 1;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    flex: 0 1 660px !important;
    width: min(100%, 660px) !important;
    min-width: 0 !important;
    max-width: 660px !important;
  }

  #root [data-t360-agency-toolbar] > button:last-child {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }
}

@media (max-width: 1024px) {
  #root [data-t360-agency-toolbar] > [data-t360-agency-kpis] {
    display: none !important;
  }
}
