.report-filter-card {
  padding: 14px 16px;
}

.report-filter-row {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(150px, .7fr) minmax(260px, 1.4fr) auto;
  gap: 10px;
  align-items: end;
}

.report-filter-row .field {
  min-width: 0;
}

.report-presets,
.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.report-actions {
  justify-content: flex-end;
}

.report-filter-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
}

.report-tabs {
  width: 100%;
  display: flex;
  gap: 7px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #e9eeeb;
  scrollbar-width: none;
}

.report-tabs::-webkit-scrollbar {
  display: none;
}

.report-tabs button {
  min-width: max-content;
  min-height: 40px;
  padding: 8px 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}

.report-tabs button.active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 3px 9px rgba(25, 48, 40, .1);
}

.report-note {
  padding: 11px 14px;
  border: 1px solid #cfe0d8;
  border-radius: 10px;
  background: #f4faf7;
  color: #365d50;
  font-size: .78rem;
}

.report-table-card {
  overflow: hidden;
}

.report-table-card .table td,
.report-table-card .table th {
  vertical-align: middle;
}

.report-positive {
  color: #24745a;
  font-weight: 900;
}

.report-negative {
  color: var(--red);
  font-weight: 900;
}

.report-share {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 170px;
}

.report-share-track {
  height: 7px;
  flex: 1;
  overflow: hidden;
  border-radius: 99px;
  background: #e8eeeb;
}

.report-share-track i {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--orange);
}

@media (max-width: 980px) {
  .report-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-presets,
  .report-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .report-filter-card {
    padding: 12px;
  }

  .report-filter-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-presets,
  .report-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-presets .btn,
  .report-actions .btn {
    width: 100%;
  }

  .report-tabs button {
    min-height: 46px;
    padding: 10px 14px;
  }
}
