/* retoor <retoor@molodetz.nl> */

.ai-choice,
.ai-choice-multi {
  display: block;
  margin: 0.75rem 0;
}

.ai-choice-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: min(50vh, 22rem);
  overflow-y: auto;
  padding-right: 0.15rem;
}

.ai-choice-option {
  text-align: left;
  border: 1px solid var(--devii-border, rgba(255, 255, 255, 0.12));
  background: var(--devii-bar-bg, #0b0b0b);
  color: inherit;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font: inherit;
}

.ai-choice-option.selected {
  border-color: var(--devii-accent, #3fb950);
}

.ai-choice-option-desc,
.ai-choice-check small {
  display: block;
  color: var(--devii-dim, #6a737d);
  font-size: 0.85em;
  margin-top: 0.15rem;
}

.ai-choice-select {
  width: 100%;
  max-width: 28rem;
  background: var(--devii-bar-bg, #0b0b0b);
  color: inherit;
  border: 1px solid var(--devii-border, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font: inherit;
}

.ai-choice-check {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.45rem;
  border: 1px solid var(--devii-border, rgba(255, 255, 255, 0.12));
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
}
