If your Yoga Slim 7 14 AGP11 sounds noticeably thinner under Linux than it does under Windows, this is almost certainly because the BIOS reports a broken PCI subsystem ID for the Realtek ALC287 codec, so no Realtek pin-routing quirk binds and the speaker pin assignment falls back to a generic layout. This page documents a working fix.
Note on scope. This page covers exactly one machine: the Lenovo Yoga Slim 7 14 AGP11 (AMD Ryzen AI 7 / Kraken Point, ACP 7.0). It will probably also help close cousins (similar AMD Yoga Slim chassis using the ALC287 with a stripped SSID), but I haven't verified those. Confirm your hardware matches before applying.
Run these and check the output looks like the example: