/*
 * Stack: children in the block direction, evenly spaced.
 *
 * The vertical-rhythm primitive. Children stretch to the stack's inline size by default, so a
 * stack of buttons or fields lines up on both edges without any width of their own.
 *
 * Related: `.flow` (in `utilities/`) spaces children with margins and leaves them in normal flow,
 * which is what prose wants. A stack makes them flex items — token-based spacing and an alignment
 * knob, at the cost of margin collapsing and floats.
 *
 * Knobs:
 * - `--sh-gap` (default `var(--sh-space-md)`) — space between children.
 * - `--sh-align` (default `stretch`) — inline alignment of the children.
 */

.stack {
	display: flex;
	flex-direction: column;
	gap: var(--sh-gap, var(--sh-space-md));
	align-items: var(--sh-align, stretch);
}
