/**
 * EK Content Protection — builder chip, selection lock, subtle toast.
 * Deterrent only; see element description.
 */

/* Builder canvas chip (not shown to visitors). */
.ekfa-cg-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.35em 0.75em;
	margin: 0.25em 0;
	border: 1px dashed #8c8f94;
	border-radius: 3px;
	background: #f0f0f1;
	color: #1d2327;
	font-size: 12px;
	line-height: 1.4;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ekfa-cg-chip__label {
	font-weight: 600;
}

.ekfa-cg-chip__hint {
	opacity: 0.75;
	font-weight: 400;
}

.ekfa-cg__editor-warning {
	margin: 0.5em 0;
	padding: 0.5em 0.75em;
	border-left: 3px solid #dba617;
	background: #fcf9e8;
	color: #1d2327;
	font-size: 13px;
}

/* Selection lock: content only; form controls re-enabled. */
.ekfa-cg-no-select,
.ekfa-cg-no-select *:not(input):not(textarea):not(select):not([contenteditable]):not([contenteditable="true"]) {
	-webkit-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	user-select: none !important;
}

.ekfa-cg-no-select input,
.ekfa-cg-no-select textarea,
.ekfa-cg-no-select select,
.ekfa-cg-no-select [contenteditable],
.ekfa-cg-no-select [contenteditable="true"] {
	-webkit-user-select: text !important;
	-moz-user-select: text !important;
	-ms-user-select: text !important;
	user-select: text !important;
}

/* Subtle once-per-session toast. */
.ekfa-cg-toast {
	position: fixed;
	z-index: 100000;
	left: 50%;
	bottom: 1.5rem;
	transform: translateX(-50%);
	max-width: min(90vw, 22rem);
	padding: 0.65rem 1rem;
	border-radius: 4px;
	background: rgba(30, 30, 30, 0.92);
	color: #f6f7f7;
	font-size: 13px;
	line-height: 1.4;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.ekfa-cg-toast.is-visible {
	opacity: 1;
}
