/* Only visible once edit mode is active (body.ka-ce-edit-mode) — a
   normal visitor never sees any of this, since the class is only
   added when KA_CE.canEdit is true and ?ka_ce_edit=1 is present. */
body.ka-ce-edit-mode .ka-ce-editable {
	outline: 1.5px dashed transparent;
	outline-offset: 3px;
	cursor: pointer;
	transition: outline-color 0.15s ease, background-color 0.15s ease;
	border-radius: 2px;
}
body.ka-ce-edit-mode .ka-ce-editable:hover {
	outline-color: #8B5563;
	background-color: rgba(139, 85, 99, 0.06);
}
body.ka-ce-edit-mode img.ka-ce-editable:hover {
	outline-color: #8B5563;
	filter: brightness(0.92);
}
body.ka-ce-edit-mode .ka-ce-editable.ka-ce-editing {
	outline: 2px solid #333F28;
	outline-offset: 3px;
	background-color: rgba(51, 63, 40, 0.06);
	cursor: text;
}

.ka-ce-toolbar {
	position: absolute;
	z-index: 999999;
	display: flex;
	gap: 6px;
	background: #262218;
	padding: 6px;
	border-radius: 4px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.ka-ce-btn {
	font-family: 'Work Sans', Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 2px;
	border: none;
	cursor: pointer;
	letter-spacing: 0.02em;
}
.ka-ce-btn-save {
	background: #333F28;
	color: #F1EBDD;
}
.ka-ce-btn-save:hover {
	background: #4a5a3c;
}
.ka-ce-btn-cancel {
	background: transparent;
	color: #F1EBDD;
	border: 1px solid rgba(241,235,221,0.35);
}
.ka-ce-btn-cancel:hover {
	background: rgba(241,235,221,0.1);
}

.ka-ce-toast {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%) translateY(12px);
	background: #262218;
	color: #F1EBDD;
	font-family: 'Work Sans', Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	padding: 12px 22px;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	z-index: 999999;
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
}
.ka-ce-toast-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}
