body > #root > .app-shell.dashboard-layout {
  display: grid !important;
  grid-template-columns: 248px minmax(0, 1fr) !important;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
}

body > #root > .app-shell.dashboard-layout > .sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
}

body > #root > .app-shell.dashboard-layout > .workspace {
  min-width: 0;
  width: 100%;
}

@media (max-width: 760px) {
  body > #root > .app-shell.dashboard-layout {
    grid-template-columns: 1fr !important;
  }

  body > #root > .app-shell.dashboard-layout > .sidebar {
    position: relative;
    height: auto;
  }
}

body > #root > .app-shell.dashboard-layout .client-profile-layout .clients-toolbar {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4px !important;
  overflow-x: auto;
  padding-bottom: 0;
}

body > #root > .app-shell.dashboard-layout .client-profile-layout .client-filters {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4px !important;
  flex-wrap: nowrap;
  min-width: max-content;
}

body > #root > .app-shell.dashboard-layout .client-profile-layout .client-filters .filter-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex: 0 0 auto;
  min-width: 0;
}

body > #root > .app-shell.dashboard-layout .client-profile-layout .client-filters .filter-field span {
  display: block;
  width: auto;
  white-space: nowrap;
  margin: 0;
  font-size: 0.68rem;
  line-height: 1;
}

body > #root > .app-shell.dashboard-layout .client-profile-layout .client-filters .filter-field input,
body > #root > .app-shell.dashboard-layout .client-profile-layout .client-filters .filter-field select {
  width: 122px;
  min-width: 0;
  height: 34px;
  padding: 6px 8px;
  font-size: 0.83rem;
}

body > #root > .app-shell.dashboard-layout .client-profile-layout .client-filters .filter-field input[type=date] {
  width: 132px;
}

body > #root > .app-shell.dashboard-layout .client-profile-layout .client-filters .ghost-button {
  min-width: 64px;
  height: 34px;
  padding: 6px 8px;
  font-size: 0.82rem;
}

body > #root > .app-shell.dashboard-layout .client-profile-layout .clients-toolbar > .search-group {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-left: 6px !important;
  flex-shrink: 0;
}

body > #root > .app-shell.dashboard-layout .client-profile-layout .clients-toolbar > .search-group .limit-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

body > #root > .app-shell.dashboard-layout .client-profile-layout .clients-toolbar > .search-group .limit-field span {
  display: block;
  margin: 0;
  white-space: nowrap;
  font-size: 0.68rem;
  line-height: 1;
}

body > #root > .app-shell.dashboard-layout .client-profile-layout .clients-toolbar > .search-group .limit-field select {
  width: 58px;
  height: 34px;
  padding: 6px 8px;
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  body > #root > .app-shell.dashboard-layout .client-profile-layout .clients-toolbar {
    flex-wrap: wrap;
  }

  body > #root > .app-shell.dashboard-layout .client-profile-layout .client-filters {
    flex-wrap: wrap;
    min-width: 0;
  }

  body > #root > .app-shell.dashboard-layout .client-profile-layout .client-filters .filter-field {
    flex: 1 1 160px;
  }

  body > #root > .app-shell.dashboard-layout .client-profile-layout .clients-toolbar > .search-group {
    margin-left: 0;
    flex-wrap: wrap;
  }
}