.inline-surface {
  margin: 8px 0;
  border-radius: 8px;
  border: 1px solid var(--vscode-editorGroup-border, var(--vscode-panel-border));
  overflow: hidden;
}

.inline-surface.collapsed {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  background: var(--vscode-textBlockQuote-background, rgba(127, 127, 127, 0.1));
  transition: background 0.15s;
}

.inline-surface.collapsed:hover {
  background: var(--vscode-list-hoverBackground);
}

.inline-surface-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.inline-surface-title {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--vscode-foreground);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.inline-surface-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--vscode-editorGroup-border, var(--vscode-panel-border));
  background: var(--vscode-textBlockQuote-background, rgba(127, 127, 127, 0.1));
}

.inline-surface-expand,
.inline-surface-collapse,
.inline-surface-dismiss {
  background: transparent;
  border: none;
  color: var(--vscode-descriptionForeground);
  cursor: pointer;
  padding: 2px 6px;
  font-size: 14px;
  border-radius: 4px;
  line-height: 1;
}

.inline-surface-expand:hover,
.inline-surface-collapse:hover,
.inline-surface-dismiss:hover {
  background: var(--vscode-toolbar-hoverBackground);
  color: var(--vscode-foreground);
}

.inline-surface.expanded > .a2ui-surface {
  border-top: none;
  padding-top: 0;
}
