.g-aikit-history__container {
  display: flex;
  flex-direction: column;
  width: var(--g-aikit-history-width);
  background: var(--g-color-base-background);
}
.g-aikit-history__list-wrapper {
  flex: 1;
  overflow: auto;
  max-height: var(--g-aikit-history-max-height);
}
.g-aikit-history__list {
  padding: 0 calc(var(--g-spacing-base) * 2) calc(var(--g-spacing-base) * 2) calc(var(--g-spacing-base) * 2);
}
.g-aikit-history__list-item {
  border-radius: 6px;
}
.g-aikit-history__filter {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--g-color-base-background);
  padding: calc(var(--g-spacing-base) * 2);
  border-bottom: 1px solid var(--g-color-line-generic);
  margin-bottom: 0;
}
.g-aikit-history__date-header {
  display: flex;
  padding: var(--g-spacing-3) var(--g-spacing-2) var(--g-spacing-1) var(--g-spacing-2);
  flex-direction: column;
  align-items: flex-start;
  gap: calc(var(--g-spacing-base) * 3);
  align-self: stretch;
}
.g-aikit-history__chat-item {
  cursor: pointer;
  display: flex;
  padding: calc(var(--g-spacing-base) * 2) calc(var(--g-spacing-base) * 4);
  align-items: center;
  gap: calc(var(--g-spacing-base) * 4);
  align-self: stretch;
  flex: 1;
  min-width: 0;
}
.g-aikit-history__chat-item_active .g-aikit-history__delete-button, .g-aikit-history__chat-item_is-delete-processing .g-aikit-history__delete-button, .g-aikit-history__chat-item_mobile .g-aikit-history__delete-button {
  display: block;
}
.g-aikit-history__chat-item_is-delete-processing {
  color: var(--g-color-text-secondary);
}
.g-aikit-history__chat-content {
  height: var(--g-aikit-history-item-height);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.g-aikit-history__chat-content > * {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.g-aikit-history__icon-button {
  color: var(--g-color-text-secondary);
}
.g-aikit-history__delete-button {
  margin-left: calc(var(--g-spacing-base) * 2);
  display: none;
}
.g-aikit-history__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--g-spacing-base) * 8) calc(var(--g-spacing-base) * 4);
  color: var(--g-color-text-secondary);
  font-size: var(--g-text-body-2-font-size);
  text-align: center;
  flex: 1;
}
.g-aikit-history__loader-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--g-spacing-base) * 8) calc(var(--g-spacing-base) * 4);
  flex: 1;
}
.g-aikit-history__lazy-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--g-spacing-base) * 2) calc(var(--g-spacing-base) * 4);
}
.g-aikit-history__sheet-content .g-aikit-history__container {
  width: 100%;
}
.g-aikit-history__sheet-content .g-aikit-history__list-wrapper {
  max-height: none;
  overflow: visible;
}