/* Slash commands in the chats (web/slash.js): the menu that opens above the box when you type /. */
.sl-menu {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 6px); z-index: 5; max-height: 240px; overflow-y: auto;
  padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  box-shadow: 0 8px 24px rgb(0 0 0 / .14);
}
.bot-compose .sl-menu { left: 12px; right: 12px; }
.sl-menu[hidden] { display: none; }
.sl-item {
  display: flex; align-items: baseline; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px;
  background: transparent; color: var(--fg); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer;
}
.sl-item b { flex: none; font-weight: 600; }
.sl-item span { min-width: 0; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-item.is-at, .sl-item:hover { background: var(--surface-2); }
