:host {
	border-top: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);
}

:host([merged]),
:host([data-border-merged]) {
	--_ui5_table_cell_merged_border_color: var(--_ui5_table_cell_border_merged) transparent;
	border-top-color: var(--_ui5_table_cell_merged_border_color, var(--sapList_BorderColor));
}

:host([merged]) ::slotted(*) {
	--_ui5_table_cell_merged_content_opacity: var(--_ui5_table_cell_content_merged) 0;
	opacity: var(--_ui5_table_cell_merged_content_opacity, 1);
	transition: opacity 300ms ease;
}

:host([_popin]) {
	padding-inline-start: 0;
	padding-inline-end: 0;
	align-items: center;
	border-top: none;
}

:host([_popin]) #popin-header {
	color: var(--sapContent_LabelColor);
}

#popin-colon {
	padding-inline-end: 0.5rem;
	white-space: pre;
}

#popin-header {
	display: contents;
}
