.fg {
	margin: 0.3rem 0;
}
/* One vertical rhythm for a form: 1rem between fields, whatever wraps them, and 0.25rem under a
   label. Opt in on the form and on any wrapper inside it that holds fields; a bare .fg keeps the
   legacy spacing. Lives here, unlayered like .fg, so it wins over it. */
.form-stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.form-stack .fg {
	margin: 0;
}
.form-stack .fg > label {
	display: block;
	margin-bottom: 0.25rem;
}
/* The small grey caption above a compact header filter (Retailer, Segment, a date range). It floats
   over the control from a position: relative wrapper, so it names the filter without taking header
   width or moving the control off the line its neighbours sit on. A class, so it also sizes a real
   label element, which the global label rule would otherwise make 16px semibold. */
.filter-label {
	position: absolute;
	bottom: 100%;
	left: 0;
	margin-bottom: 0.25rem;
	font-size: 0.75rem;
	line-height: 1;
	font-weight: 400;
	white-space: nowrap;
	color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
}
.fg-0 {
	margin: 0 0;
}

.dg {
	margin: 0.3rem 0;
}