.group {
	align-items: stretch;
	display: flex;
	flex-direction: row;
	inline-size: fit-content;

	> :not(:first-child) {
		border-end-start-radius: 0;
		border-inline-start: 0;
		border-start-start-radius: 0;
	}

	> :not(:last-child) {
		border-end-end-radius: 0;
		border-start-end-radius: 0;
	}

	> :focus-visible {
		position: relative;
		z-index: 1;
	}
}

.group-vertical {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	inline-size: fit-content;

	> :not(:first-child) {
		border-block-start: 0;
		border-start-end-radius: 0;
		border-start-start-radius: 0;
	}

	> :not(:last-child) {
		border-end-end-radius: 0;
		border-end-start-radius: 0;
	}

	> :focus-visible {
		position: relative;
		z-index: 1;
	}
}
