.agent-model-picker {
  position: relative;
  min-width: 0;
  color: #eee;
  --agent-model-bg: #181818;
  --agent-model-line: #454545;
  --agent-model-muted: #bbb;
  --agent-model-selected: #edfdb5;
  --agent-model-selected-bg: #2d2d2d;
}
html[data-theme="light"] .agent-model-picker {
  color: #252525;
  --agent-model-bg: #fff;
  --agent-model-line: #d7dcc8;
  --agent-model-muted: #666c53;
  --agent-model-selected: #86a322;
  --agent-model-selected-bg: #faffea;
}
.agent-compose-toolbar .agent-model-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  width: auto;
  max-width: min(168px, 40vw);
  padding: 0 7px;
  border: 1px solid var(--agent-model-line);
  color: inherit;
  font-size: 12px;
}
.agent-model-trigger svg { flex: none; color: var(--agent-model-selected); }
.agent-model-trigger span, .agent-model-option span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.agent-compose-toolbar .agent-model-picker button:hover,
.agent-compose-toolbar .agent-model-picker button:focus-visible,
.agent-compose-toolbar .agent-model-option[aria-pressed="true"] {
  color: var(--agent-model-selected);
  background: var(--agent-model-selected-bg);
}
.agent-model-popover {
  position: absolute;
  z-index: 22;
  inset: auto 0 calc(100% + 8px) auto;
  width: min(230px, 68vw);
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid var(--agent-model-line);
  border-radius: 9px;
  background: var(--agent-model-bg);
  box-shadow: 0 8px 20px #0004;
}
.agent-model-popover b { display: block; margin: 2px 4px 6px; font-size: 12px; }
.agent-model-popover p { margin: 4px; color: var(--agent-model-muted); font-size: 12px; }
.agent-model-options { max-height: min(228px, 40dvh); overflow: auto; }
.agent-compose-toolbar .agent-model-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  height: auto;
  padding: 5px 8px;
  color: inherit;
  text-align: start;
  font-size: 12px;
}
.agent-question-card .agent-question-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.agent-question-card .agent-question-skip { min-height: 32px; }

.agent-question-card .agent-question { display: grid; gap: 8px; margin: 12px 0; }
.agent-question-card .agent-question > div { display: flex; flex-wrap: wrap; gap: 7px; }
