.performance-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.performance-toolbar h2,
.performance-toolbar p {
  margin: 0;
}

.performance-toolbar p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.performance-summary {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  margin-top: 18px;
}

.performance-layout {
  display: grid;
  grid-template-columns: minmax(600px, 1.15fr) minmax(480px, .85fr);
  gap: 18px;
  margin-top: 18px;
}

.rank {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  color: var(--wine);
  background: #f2ece7;
}

.rank-1 {
  color: #684600;
  background: #f6dfa1;
}

.rank-2,
.rank-3 {
  background: #f1e4e7;
}

.performance-amount {
  color: var(--wine);
  font-weight: 900;
}

.performance-detail small,
#salesPerformanceBody small {
  color: var(--muted);
}

@media (max-width: 1280px) {
  .performance-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .sidebar {
    padding: 20px 16px 14px;
  }

  .side-brand {
    padding-bottom: 14px;
  }

  .sidebar nav {
    scrollbar-width: none;
  }

  .sidebar nav::-webkit-scrollbar {
    display: none;
  }

  .sidebar nav button {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .performance-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .performance-toolbar .month-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .performance-toolbar .month-actions input {
    grid-column: 1 / -1;
    width: 100%;
  }

  .performance-toolbar .month-actions .button {
    width: 100%;
    white-space: nowrap;
  }

  .performance-summary {
    grid-template-columns: 1fr;
  }
}
