A nested CSS Grid normally needs its own track definitions. Subgrid lets it use the track lines of an ancestor instead, so items in different components can align without duplicating track sizes. section 4.2.2
Use `grid-template-columns: subgrid` to share columns or `grid-template-rows: subgrid` to share rows. The parent establishes the tracks; nested grids follow them when those tracks change. section 4.2.2
Align repeated cards
For cards with headers, bodies, and actions that need to line up across the list, define the shared tracks on the parent grid and use subgrid in the nested card layout. A sidebar and main area can likewise share column boundaries. section 4.2.2
Choose Flexbox for one-dimensional alignment, Grid for two-dimensional tracks, and Subgrid when nested layouts need to share those tracks. Subgrid was added in Baseline 2023. section 4.2 section 4.2.2

