.expression-editor__container {
  background: #eee;
  border-radius: var(--default-border-radius--rounded);
  display: flex;
}

.expression-editor__sidebar {
  display: grid;
  grid-template:
    'padding-top' 1fr
    'operator-selector' max-content
    'actions' minmax(max-content, 1fr);
}

.expression-editor__main {
  background: #fff;
  border-radius: var(--default-border-radius--rounded);
  border: solid 1px var(--default-border-color);
  flex: 1;
  padding: var(--default-padding);
}

.expression-editor__action-button {
  padding: var(--default-padding);

  svg path {
    fill: currentColor;
  }
}

.expression-editor__params {
  display: flex;
  flex-direction: column;
  gap: var(--default-padding);
}

.expression-selector {
  grid-area: operator-selector;
}

.expression-selector__expression-button {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 2.5rem;
  padding: 0;
  width: 2.5rem;

  svg path {
    fill: currentColor;
  }
}

.expression-selector__popover:popover-open {
    top: anchor(bottom);
    margin-top: 0.25rem;
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: #fff;
}

.expression-selector__section {
  align-items: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  list-style-type: none;
  margin: var(--default-padding);
  padding: 0;
}

.expression-selector__li {
  align-items: center;
  display: flex;
  justify-content: center;
}
