& {
  .lbaic {
    &-message {
      &-user {
        .lbaic-message {
          &-container {
            &-in {
              margin-inline-start: auto;
              border-radius: var(--lbaic-message-user-radius);

              &:first-child:last-child {
                --lbaic-message-user-radius: 16px;
              }

              &:not(:first-child):not(:last-child) {
                --lbaic-message-user-radius: 16px 0 0 16px;
              }

              &:last-child {
                --lbaic-message-user-radius: 16px 0 16px 16px;
              }

              &:not(:last-child) {
                margin-block-end: 4px;
              }
            }
          }

          & {
            margin-inline-start: auto;
          }

          &-error {
            &:not(:first-of-type) {
              padding-block-start: 0;

            }
            &-in {
              margin-inline-start: auto;
            }
          }

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

        .lbaic-message-actions {
          margin-inline-start: auto;
          flex-direction: row-reverse;
        }
      }
    }
  }
}