
#so-report .customer-header > .utility-actions.customer-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: auto;
  min-width: 0;
}
#so-report .customer-header > .utility-actions.customer-actions {
  position: absolute;
  top: 8px;
  right: 24px;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
}
#so-report .customer-header .utility-actions.customer-actions .small-button:not(.exit-button) {
  width: auto;
  min-width: 92px;
  white-space: nowrap;
  padding-left: 14px;
  padding-right: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#so-report .customer-header .utility-actions.customer-actions .exit-button {
  position: relative;
  top: auto;
  right: auto;
}

#so-report .customer-header > div:first-child {
  padding-right: 230px;
}

.so-report-filters {
  display: grid;
  grid-template-columns: 230px 100px 120px 110px 150px 150px;
  gap: 10px;
  align-items: end;
  max-width: 910px;
}

.so-report-field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.so-report-field span {
  font-size: 14px;
}

.so-report-field input,
.so-report-field select {
  width: 100%;
}

.so-report-filter-actions {
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
}

.so-report-filter-actions .small-button {
  min-width: 102px;
}

.so-report-filters .so-report-field:nth-of-type(5) {
  grid-column: auto;
}

.so-report-filters .so-report-field:nth-of-type(6) {
  grid-column: auto;
}

.so-report-grid-wrap table {
  table-layout: fixed;
  min-width: 1680px;
}

.so-report-grid-wrap th,
.so-report-grid-wrap td {
  overflow: hidden;
  text-overflow: ellipsis;
}

.so-report-grid-wrap th:nth-child(1),
.so-report-grid-wrap td:nth-child(1) {
  width: 46px;
}

.so-report-grid-wrap th:nth-child(2),
.so-report-grid-wrap td:nth-child(2) {
  width: 150px;
  max-width: 150px;
}

.so-report-grid-wrap th:nth-child(3),
.so-report-grid-wrap td:nth-child(3) {
  width: 230px;
  max-width: 230px;
}

.so-report-grid-wrap th:nth-child(4),
.so-report-grid-wrap td:nth-child(4) {
  width: 120px;
}

.so-report-grid-wrap th:nth-child(5),
.so-report-grid-wrap td:nth-child(5),
.so-report-grid-wrap th:nth-child(6),
.so-report-grid-wrap td:nth-child(6),
.so-report-grid-wrap th:nth-child(8),
.so-report-grid-wrap td:nth-child(8),
.so-report-grid-wrap th:nth-child(9),
.so-report-grid-wrap td:nth-child(9),
.so-report-grid-wrap th:nth-child(10),
.so-report-grid-wrap td:nth-child(10) {
  width: 98px;
}

.so-report-grid-wrap th:nth-child(7),
.so-report-grid-wrap td:nth-child(7) {
  width: 78px;
}

.so-report-grid-wrap th:nth-child(11),
.so-report-grid-wrap td:nth-child(11) {
  width: 88px;
}

.so-report-grid-wrap th:nth-child(12),
.so-report-grid-wrap td:nth-child(12) {
  width: 120px;
}


#so-report.so-report-active-fallback { display: block; }
body:has(#so-report.so-report-active-fallback) .dashboard { display: none; }

#so-report-host { display: contents; }

@media (max-width: 760px) {
  #so-report .customer-header > .utility-actions.customer-actions {
    position: static;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 10px;
  }

  #so-report .customer-header > div:first-child {
    padding-right: 0;
  }

  .so-report-filters {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .so-report-filter-actions {
    flex-wrap: wrap;
  }

  .so-report-filter-actions .small-button,
  #so-report .customer-header .utility-actions.customer-actions .small-button:not(.exit-button) {
    min-width: 0;
    white-space: normal;
  }
}
