.lbaic {
  &-message {
    &-user {
      .lbaic-message {
        &-in {
          background-color: var(--lbaic-message-bot-bg);
          border-radius: var(--lbaic-message-bot-radius);
        }

        &-body {

          &:has(.lbaic-message-body-in:not(:only-child)) {
            .lbaic-message-body-in {
              &:not(:first-child) {
                .lbaic-message-in {
                  border-radius: 16px;
                }
              }
            }
          }
        }

        &-info {
          > *:not(:last-child) {
            margin-block-end: 16px;
          }

          * {
            font-family: inherit;
            color: inherit;
          }

          pre {
            padding-block: 8px;
            padding-inline: 8px;
            background-color: var(--lbaic-message-code-action-bg);
            border-radius: 5px;
          }

          img {
            max-width: 100%;
            max-height: 124px;
            display: inline-block;
            object-fit: cover;
            border-radius: 8px;
          }

          ul, ol {
            padding-inline-start: 24px;
          }

          a {
            text-decoration: underline;
          }
        }
      }
    }
  }
}