/* Refs #528. A section has no decorative stroke. Depth is an explicit choice.
   The same closed enum serves Canvas and public HTML, including flat pages. */
:is(
	#siteCanvas.site-canvas .design-section[data-section-depth],
	body.alki-master-surface [data-section-depth]
):not(.type-header, .type-modal, .sp-header, .sp-builder-modal-host) {
	--section-depth: none;
	/* biome-ignore lint/complexity/noImportantStyles: authored depth must override legacy and opt-in-flat decoration resets. */
	box-shadow: var(--section-depth) !important;
	border: 0;
}
:is(
	#siteCanvas.site-canvas .design-section[data-section-depth],
	body.alki-master-surface [data-section-depth]
)[data-section-depth="soft"] {
	--section-depth: 0 4px 14px #00000024;
}
:is(
	#siteCanvas.site-canvas .design-section[data-section-depth],
	body.alki-master-surface [data-section-depth]
)[data-section-depth="elevated"] {
	--section-depth: 0 12px 30px #00000038;
}
:is(
	#siteCanvas.site-canvas .design-section[data-section-depth],
	body.alki-master-surface [data-section-depth]
)[data-section-background="page"]:not(
	.type-header,
	.type-modal,
	.sp-header,
	.sp-builder-modal-host
) {
	/* biome-ignore lint/complexity/noImportantStyles: explicit page inheritance overrides legacy platform section fills. */
	background: transparent !important;
}
