.ms-agent-body {
  min-height: 0;
  overflow: hidden;
}

.ms-agent-thread {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding: 20px 0;
  scroll-behavior: auto;
}

.ms-agent-shell--compact .ms-agent-thread {
  gap: 13px;
  padding: 14px;
}

.ai-agent-panel-thread-window-control {
  display: flex;
  justify-content: center;
}

.ms-agent-field {
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--ms-color-border) 78%, transparent);
  border-radius: var(--ms-radius-md);
}
