.report-filter {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
  align-items: center;
}
.report-dates {
  display: flex;
  align-items: center;
  gap: 10px;
}
.report-dates > .field {
  margin: 0;
}
.report-dates input {
  font-size: 11px !important;
}
.report-dates > span {
  color: #8d8d8d;
}
.report-dates .button {
  font-size: 11px;
}
.report-presets > button {
  font-size: 10px;
}
.report-chart-panel {
  margin-top: 24px;
}
.bar-chart {
  display: flex;
  gap: 15px;
  padding-bottom: 8px;
}
.chart-y-axis {
  width: 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 0 28px;
  font-size: 10px;
  flex-shrink: 0;
}
.chart-bars {
  display: flex;
  align-items: stretch;
  flex: 1;
  gap: 6px;
  min-width: 0;
  background: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent calc(50% - 1px),
    #efefef calc(50% - 1px),
    #efefef 50%
  );
  background-size: 100% calc(100% - 28px);
  background-repeat: no-repeat;
}
.bar-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  align-items: center;
  position: relative;
}
.bar-track {
  flex: 1;
  display: flex;
  align-items: flex-end;
  width: 100%;
  justify-content: center;
}
.chart-bar {
  width: 100%;
  max-width: 42px;
  min-height: 2px;
  position: relative;
  transition: background 0.15s;
}
.bar-label {
  height: 28px;
  padding-top: 9px;
  font-size: 8px;
  white-space: nowrap;
}
.bar-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 9px 11px;
  font-size: 10px;
  white-space: nowrap;
  z-index: 5;
  box-shadow: 0 3px 10px #2f2f2f1c;
}
.bar-tooltip > strong {
  display: block;
  margin-top: 4px;
}
.chart-bar:hover > .bar-tooltip {
  display: block;
}
.chart-bar:focus > .bar-tooltip {
  display: block;
}
.chart-note {
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid #efefef;
  margin-top: 10px;
}
.report-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.report-tables > .panel {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 0;
  min-width: 0;
}
.report-tables .panel-heading {
  display: block;
}
.report-tables .table-wrap,
.report-tables .mini-empty {
  align-self: start;
}
.report-tables th:nth-child(2) {
  text-align: center;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th {
  font-weight: 550;
  white-space: nowrap;
}
td {
  border-top: 1px solid #efefef;
}
th:last-child {
  text-align: right;
  white-space: nowrap;
}
td:last-child {
  text-align: right;
  white-space: nowrap;
}
td:nth-child(2) {
  color: #878787;
  text-align: center;
}
.table-rank {
  font-size: 9px;
  margin-right: 12px;
}
.mini-empty {
  padding: 25px 24px 40px;
  font-size: 11px;
}
@media (max-width: 1150px) {
  .report-filter {
    flex-wrap: wrap;
  }

  .report-tables {
    gap: 16px;
  }

  .report-tables td {
    padding: 14px 15px;
  }

  .report-tables th {
    padding: 14px 15px;
  }

  .report-tables td {
    font-size: 10px;
  }
}
@media (max-width: 900px) {
  .report-tables {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .report-filter {
    gap: 15px;
  }

  .report-dates {
    width: 100%;
    gap: 6px;
  }

  .report-dates > .field {
    flex: 1;
    min-width: 0;
  }

  .report-dates input {
    font-size: 10px !important;
  }

  .report-dates .button {
    font-size: 10px;
  }

  .report-presets > button {
    font-size: 10px;
  }

  .bar-chart {
    gap: 8px;
  }

  .chart-y-axis {
    width: 58px;
    font-size: 8px;
  }

  .chart-bars {
    gap: 3px;
  }

  .bar-label {
    font-size: 6px;
    white-space: normal;
    line-height: 1.4;
    text-align: center;
  }

  .chart-note {
    align-items: flex-start;
  }

  .chart-note > .small-dot {
    margin-top: 3px;
    flex-shrink: 0;
  }

  .report-chart-panel .badge {
    font-size: 7px;
    padding: 4px 6px;
  }

  .report-chart-panel .panel-heading h2 {
    font-size: 15px;
  }
}
.report-presets {
  padding: 5px;
  background: #f0f4e8;
}
.report-presets > button {
  padding: 9px 14px;
}
.report-dates input {
  padding: 10px 11px !important;
  width: 148px;
}
.report-dates .button {
  padding: 10px 15px;
}
.bar-chart {
  height: 290px;
  margin: 19px 26px 0;
}
.chart-bar {
  background: #b9da8e;
  border-radius: 6px 6px 0 0;
}
.chart-bar:hover {
  background: #a1ca6a;
}
.chart-bar:focus {
  background: #a1ca6a;
}
.bar-tooltip {
  background: #303c25;
  color: #eef6e3;
  border-radius: 9px;
}
.chart-note {
  font-size: 10px;
  padding: 22px 26px;
  border-color: #e7eddf;
}
.chart-bars {
  background-image: repeating-linear-gradient(
    to top,
    transparent 0,
    transparent calc(50% - 1px),
    #e4ecda calc(50% - 1px),
    #e4ecda 50%
  );
}
table {
  font-size: 12px;
}
th {
  background: #edf2e5;
  padding: 12px 25px;
  font-size: 10px;
  color: #9bb083;
}
td {
  padding: 18px 25px;
  border-color: #e8efde;
}
.mini-empty {
  color: #7d8177;
}
.chart-note {
  color: #7d8177;
}
.chart-y-axis {
  color: #7d8177;
}
.bar-label {
  color: #7d8177;
}
.table-rank {
  color: #7d8177;
}
@media (max-width: 700px) {
  .bar-chart {
    height: 240px;
    margin-left: 19px;
    margin-right: 19px;
  }

  .chart-note {
    font-size: 9px;
    padding: 17px 19px;
  }
}
