.reporting-page .card-body {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.reporting-view-switcher-actions .btn-group {
  border: 1px solid var(--tblr-border-color);
  border-radius: 999px;
  padding: 0.15rem;
  background: var(--tblr-bg-surface-secondary);
}

.reporting-view-switcher-actions .btn-reporting-switch {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--tblr-body-color);
  background: transparent;
  padding: 0.35rem 0.8rem;
}

.reporting-view-switcher-actions .btn-reporting-switch:hover,
.reporting-view-switcher-actions .btn-reporting-switch:focus {
  background: rgba(0, 0, 0, 0.04);
  color: var(--tblr-body-color);
}

.reporting-view-switcher-actions .btn-reporting-switch.active {
  background: #d9edf4;
  color: #245062;
  box-shadow: inset 0 0 0 1px #afd5e2;
}

.reporting-view-switcher .reporting-graph-card .card-header {
  background: #eef6fb;
  border-bottom-color: #cfe3f1;
}

.reporting-view-switcher .reporting-graph-card .card-title {
  color: #2f5166;
}

.reporting-view-switcher .reporting-card-options-select {
  flex: 0 0 16rem;
  min-width: 16rem;
  white-space: nowrap;
}

.reporting-view-switcher .reporting-card-options-select .form-select {
  min-width: 100%;
}

.reporting-view-switcher .reporting-card-options-select .ts-control {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.reporting-view-switcher .reporting-data-card .card-header {
  background: #eef6fb;
  border-bottom-color: #cfe3f1;
}

.reporting-view-switcher .reporting-data-card .card-title {
  color: #2f5166;
}

.reporting-view-switcher .reporting-graph-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

html[data-bs-theme="dark"] .reporting-view-switcher-actions .btn-reporting-switch:hover,
html[data-bs-theme="dark"] .reporting-view-switcher-actions .btn-reporting-switch:focus {
  background: var(--app-dark-overlay);
}

html[data-bs-theme="dark"] .reporting-view-switcher-actions .btn-reporting-switch.active {
  background: var(--app-dark-accent-bg);
  color: var(--app-dark-accent-fg);
  box-shadow: inset 0 0 0 1px var(--app-dark-accent-border);
}

html[data-bs-theme="dark"] .reporting-view-switcher .reporting-graph-card .card-header {
  background: var(--app-dark-surface-toolbar);
  border-bottom-color: var(--app-dark-border);
}

html[data-bs-theme="dark"] .reporting-view-switcher .reporting-graph-card .card-title {
  color: var(--app-dark-text);
}

html[data-bs-theme="dark"] .reporting-view-switcher .reporting-data-card .card-header {
  background: var(--app-dark-surface-toolbar);
  border-bottom-color: var(--app-dark-border);
}

html[data-bs-theme="dark"] .reporting-view-switcher .reporting-data-card .card-title {
  color: var(--app-dark-text);
}

.reporting-page .reporting-filter-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.reporting-page .reporting-filters-row {
  justify-content: flex-start;
}

.reporting-page .reporting-filter-label {
  width: auto;
  flex: 0 0 auto;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.reporting-page .reporting-filter-field {
  min-width: 0;
  flex: 0 0 auto;
  width: 14rem;
  max-width: 100%;
}

.reporting-page .reporting-filter-row--date .reporting-filter-field {
  flex: 0 0 auto;
  width: 13rem;
  max-width: 100%;
}

.reporting-page .reporting-filter-field .form-control,
.reporting-page .reporting-filter-field .form-select {
  margin-bottom: 0;
}
