.report-filter-toggle {
  display: none;
}

.report-filter-summary {
  display: none;
}

.report-filter-panel {
  min-width: 0;
}

.report-action-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-action-cluster > .btn,
.report-action-cluster > button,
.report-action-cluster > a {
  min-height: 40px;
}

.btn.btn-export,
a.btn-export,
button.btn-export {
  border-color: #9fd5bf;
  color: #0b6b46;
  background: #edf9f4;
  font-weight: 750;
}

.btn.btn-export:hover,
.btn.btn-export:focus-visible,
a.btn-export:hover,
a.btn-export:focus-visible,
button.btn-export:hover,
button.btn-export:focus-visible {
  border-color: #70b99a;
  color: #07583a;
  background: #dff3ea;
}

@media (max-width: 760px) {
  .report-filter-toggle {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #bfd0e1;
    border-radius: 11px;
    color: #0b5f9f;
    background: #fff;
    font: inherit;
    font-weight: 750;
    text-align: left;
  }

  .report-filter-toggle::after {
    content: "⌄";
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
    transition: transform 160ms ease;
  }

  .report-filter-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
  }

  .report-filter-summary {
    display: block;
    min-width: 0;
    margin-left: auto;
    overflow: hidden;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .report-filter-panel[hidden] {
    display: none !important;
  }

  .report-filter-panel {
    margin-top: 10px;
  }

  .report-action-cluster {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
  }

  .report-action-cluster > .btn,
  .report-action-cluster > button,
  .report-action-cluster > a {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .report-action-cluster {
    grid-template-columns: minmax(0, 1fr);
  }
}
