.st-page-workspace {
  background: var(--st-color-surface-background);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.st-page-header-surface {
  align-items: center;
  background: var(--st-color-surface-white);
  border-bottom: 1px solid var(--st-color-border-default);
  display: flex;
  flex: 0 0 auto;
  gap: var(--st-space-6);
  justify-content: space-between;
  min-height: var(--st-page-header-height);
  padding: var(--st-space-4) var(--st-page-gutter);
}

.st-page-header-main,
.st-page-header-actions,
.st-page-header-leading,
.st-page-section-header,
.st-page-section-actions {
  align-items: center;
  display: flex;
  min-width: 0;
}

.st-page-header-main {
  gap: var(--st-space-4);
}

.st-page-header-leading {
  flex: 0 0 auto;
}

.st-page-header-copy {
  display: grid;
  gap: var(--st-space-1);
  min-width: 0;
}

.st-page-header-copy h1 {
  color: var(--st-color-text-primary);
  font-size: var(--st-font-display-h1-size);
  font-weight: var(--st-font-weight-bold);
  line-height: var(--st-line-height-tight);
  margin: 0;
}

.st-page-header-copy p {
  color: var(--st-color-text-secondary);
  font-size: var(--st-font-small-size);
  line-height: var(--st-line-height-body);
  margin: 0;
}

.st-page-header-actions {
  flex-wrap: wrap;
  gap: var(--st-space-2);
  justify-content: flex-end;
}

.st-page-toolbar {
  align-items: center;
  background: var(--st-color-surface-white);
  border-bottom: 1px solid var(--st-color-border-default);
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  justify-content: space-between;
  min-height: var(--st-page-toolbar-height);
  padding: 12px var(--st-page-gutter) 10px;
}

.st-page-toolbar-left,
.st-page-toolbar-right {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  min-width: 0;
}

.st-page-toolbar-left {
  flex: 1 1 auto;
}

.st-page-toolbar-right {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.st-page-toolbar-search-control {
  align-items: center;
  background: #f8f8f7;
  border: 1px solid #e7e8e6;
  border-radius: 8px;
  box-sizing: border-box;
  color: #9ca3af;
  display: inline-flex;
  flex: 0 0 300px;
  gap: 9px;
  height: 34px;
  padding: 0 12px;
  width: 300px;
}

.st-page-toolbar-search-control:focus-within {
  background: #fbfbfa;
  border-color: #d7dad6;
  box-shadow: 0 0 0 1px rgba(24, 27, 30, 0.03);
}

.st-page-toolbar-search-icon {
  flex: 0 0 12px;
  height: 12px;
  width: 12px;
}

.st-page-toolbar-search-input {
  background: transparent;
  border: 0;
  color: #181b1e;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  height: 100%;
  line-height: normal;
  min-width: 0;
  outline: 0;
  padding: 0;
  width: 100%;
}

.st-shell .st-page-toolbar-search-control .st-page-toolbar-search-input:focus-visible,
.st-workspace-root .st-page-toolbar-search-control .st-page-toolbar-search-input:focus-visible {
  box-shadow: none;
  outline: 0;
  outline-offset: 0;
}

.st-page-toolbar-search-input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.st-page-toolbar-filter {
  align-items: center;
  background: var(--st-color-surface-white);
  border: 1px solid #e7e8e6;
  border-radius: 8px;
  box-sizing: border-box;
  color: #181b1e;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 400;
  gap: 10px;
  height: 34px;
  justify-content: space-between;
  line-height: normal;
  padding: 0 12px;
  position: relative;
}

.st-page-toolbar-filter:hover {
  background: #fbfbfa;
  border-color: #d7dad6;
}

.st-page-toolbar-filter:focus-within {
  background: #fbfbfa;
  border-color: #d7dad6;
  box-shadow: 0 0 0 1px rgba(24, 27, 30, 0.03);
}

.st-page-toolbar-filter-select {
  flex: 1 1 auto;
  height: 100%;
  min-width: 0;
  width: 100%;
}

.st-page-toolbar-filter .st-page-toolbar-filter-select.e-control-wrapper,
.st-page-toolbar-filter .st-page-toolbar-filter-select.e-input-group,
.st-page-toolbar-filter .st-page-toolbar-filter-select.e-control.e-dropdownlist,
.st-page-toolbar-filter .st-page-toolbar-filter-select .e-control-wrapper,
.st-page-toolbar-filter .st-page-toolbar-filter-select .e-input-group {
  background: transparent !important;
  border: 0 !important;
  border-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: inherit;
  height: 100%;
  min-height: 0 !important;
  width: 100%;
}

.st-page-toolbar-filter .st-page-toolbar-filter-select.e-input-focus,
.st-page-toolbar-filter .st-page-toolbar-filter-select.e-control-wrapper.e-input-focus,
.st-page-toolbar-filter .st-page-toolbar-filter-select.e-input-group.e-input-focus,
.st-page-toolbar-filter .st-page-toolbar-filter-select .e-input-focus {
  border-color: transparent !important;
  box-shadow: none !important;
}

.st-page-toolbar-filter .st-page-toolbar-filter-select.e-input-group::before,
.st-page-toolbar-filter .st-page-toolbar-filter-select.e-input-group::after,
.st-page-toolbar-filter .st-page-toolbar-filter-select.e-control-wrapper::before,
.st-page-toolbar-filter .st-page-toolbar-filter-select.e-control-wrapper::after,
.st-page-toolbar-filter .st-page-toolbar-filter-select .e-input-group::before,
.st-page-toolbar-filter .st-page-toolbar-filter-select .e-input-group::after,
.st-page-toolbar-filter .st-page-toolbar-filter-select .e-control-wrapper::before,
.st-page-toolbar-filter .st-page-toolbar-filter-select .e-control-wrapper::after {
  display: none !important;
}

.st-page-toolbar-filter .st-page-toolbar-filter-select .e-input,
.st-page-toolbar-filter .st-page-toolbar-filter-select input.e-input,
.st-page-toolbar-filter input.st-page-toolbar-filter-select.e-input {
  background: transparent !important;
  border: 0 !important;
  color: #181b1e !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 400;
  height: 100% !important;
  line-height: normal !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 0 16px 0 0 !important;
  text-overflow: clip !important;
  text-indent: 0 !important;
  white-space: nowrap !important;
}

.st-page-toolbar-filter .st-page-toolbar-filter-select .e-input[readonly],
.st-page-toolbar-filter .st-page-toolbar-filter-select input.e-input[readonly] {
  opacity: 1;
}

.st-page-toolbar-filter .st-page-toolbar-filter-select .e-ddl-icon,
.st-page-toolbar-filter .st-page-toolbar-filter-select .e-input-group-icon {
  display: none !important;
}

#customers-status-filter_popup .e-list-item,
#customers-activity-filter_popup .e-list-item,
#customers-sort_popup .e-list-item,
#quotes-status-filter_popup .e-list-item {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.st-shell .st-page-toolbar-filter .st-page-toolbar-filter-select :is(input, [tabindex]):focus-visible,
.st-workspace-root .st-page-toolbar-filter .st-page-toolbar-filter-select :is(input, [tabindex]):focus-visible {
  box-shadow: none;
  outline: 0;
  outline-offset: 0;
}

.st-page-toolbar-filter .st-icon {
  pointer-events: none;
  flex: 0 0 12px;
  height: 12px;
  position: absolute;
  right: 12px;
  width: 12px;
}

.st-page-toolbar-filter-status {
  min-width: 132px;
  width: 132px;
}

.st-page-toolbar-filter-activity {
  min-width: 136px;
  width: 136px;
}

.st-page-toolbar-filter-sort {
  min-width: 112px;
  width: 112px;
}

.st-page-toolbar-reset {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  box-sizing: border-box;
  color: var(--st-color-text-secondary);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  height: 34px;
  justify-content: center;
  line-height: normal;
  padding: 0 10px;
}

.st-page-toolbar-reset:not(:disabled):hover {
  background: #fbfbfa;
  border-color: #e7e8e6;
  color: #181b1e;
}

.st-page-toolbar-reset:disabled {
  color: #b8beb5;
  cursor: default;
}

.st-shell .st-page-toolbar-reset:focus-visible,
.st-workspace-root .st-page-toolbar-reset:focus-visible {
  border-color: #d7dad6;
  box-shadow: 0 0 0 1px rgba(24, 27, 30, 0.04);
  outline: 0;
}

.st-page-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--st-space-5);
  min-height: 0;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: var(--st-page-gutter);
}

.st-page-content.is-flush {
  padding: 0;
}

.st-page-section {
  display: grid;
  gap: var(--st-space-4);
  min-width: 0;
}

.st-page-section.is-surface {
  background: var(--st-color-surface-white);
  border: 1px solid var(--st-color-border-default);
  border-radius: var(--st-radius-xl);
  box-shadow: var(--st-elevation-sm);
  padding: var(--st-card-padding);
}

.st-page-section-header {
  border-bottom: 1px solid var(--st-color-border-subtle);
  gap: var(--st-space-4);
  justify-content: space-between;
  margin: calc(var(--st-card-padding) * -1) calc(var(--st-card-padding) * -1) 0;
  padding: var(--st-space-5) var(--st-card-padding) var(--st-space-4);
}

.st-page-section-copy {
  display: grid;
  gap: var(--st-space-1);
  min-width: 0;
}

.st-page-section-copy h2 {
  color: var(--st-color-text-primary);
  font-size: var(--st-font-title-h3-size);
  font-weight: var(--st-font-weight-bold);
  line-height: var(--st-line-height-tight);
  margin: 0;
}

.st-page-section-copy p {
  color: var(--st-color-text-secondary);
  font-size: var(--st-font-small-size);
  line-height: var(--st-line-height-body);
  margin: 0;
}

.st-page-section-actions {
  flex-wrap: wrap;
  gap: var(--st-space-2);
  justify-content: flex-end;
}

.st-page-section-content {
  min-width: 0;
}

.st-page-content-grid {
  display: grid;
  gap: var(--st-space-5);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
}

.st-page-content-primary,
.st-page-content-secondary {
  min-width: 0;
}

@media (max-width: 1180px) {
  .st-page-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .st-page-header-surface,
  .st-page-toolbar,
  .st-page-content {
    padding-left: var(--st-space-5);
    padding-right: var(--st-space-5);
  }
}

@media (max-width: 699px) {
  .st-page-header-surface {
    align-items: stretch;
    flex-direction: column;
    gap: var(--st-space-3);
    min-height: auto;
    padding-bottom: var(--st-space-4);
    padding-top: var(--st-space-4);
  }

  .st-page-header-copy h1 {
    font-size: var(--st-font-heading-h2-size);
  }

  .st-page-header-actions {
    justify-content: stretch;
  }

  .st-page-header-actions > * {
    flex: 1 1 auto;
  }

  .st-page-toolbar {
    align-items: stretch;
    flex-direction: column;
    min-height: auto;
    padding-bottom: var(--st-space-3);
    padding-top: var(--st-space-3);
  }

  .st-page-toolbar-left,
  .st-page-toolbar-right {
    width: 100%;
  }

  .st-page-toolbar-search-control {
    flex: 1 1 100%;
    width: 100%;
  }

  .st-page-toolbar-filter {
    flex: 1 1 auto;
    width: auto;
  }

  .st-page-content {
    padding: var(--st-space-4) var(--st-space-3);
  }

  .st-page-section.is-surface {
    padding: var(--st-space-4);
  }

  .st-page-section-header {
    align-items: stretch;
    flex-direction: column;
    margin: calc(var(--st-space-4) * -1) calc(var(--st-space-4) * -1) 0;
    padding: var(--st-space-4);
  }
}
