How to enter liquidating distributions in TT premium

I was one of 95 shareholder in a s corp.  In 2022, we liquidated the sCorp through an asset sale. I received a K-1 with amounts or net capital gains, sec 1250 un recaptured gains, and net 1231 gains.  There is also note that says I should subtract my stock basis from an amount given as liquidating distributions and enter the amount on schedule D.  As far as I know, you don’t enter values directly on to Sch D in TurboTax, but I don’t know how to enter this information using the interview process in TT either.  Also, this subtraction would result in a negative amount, and where on Sch D would this be entered if I could?