.aeb-frontend-block { margin: 24px 0; }

.aeb-fq {
	--aeb-accent: #444444;
	--aeb-bg: #f7f7f8;
	border-radius: 10px;
	padding: 20px 22px;
	margin-bottom: 22px;
	background: var(--aeb-bg);
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.aeb-fq-label {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--aeb-accent);
	margin-bottom: 6px;
}
.aeb-fq-question-text {
	font-weight: 700;
	font-size: 17px;
	margin: 0 0 18px;
	color: #222;
}

/* chat-bubble answer: avatar to the left, rounded speech bubble to the right */
.aeb-fq-answer {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 14px;
}
.aeb-fq-answer:last-child { margin-bottom: 0; }

.aeb-fq-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; margin-top: 2px; }
.aeb-fq-avatar-placeholder { background: #ccc; }

.aeb-fq-bubble {
	background: #fff;
	border-radius: 14px 14px 14px 3px;
	padding: 12px 16px;
	box-shadow: 0 1px 4px rgba(0,0,0,.08);
	flex: 1;
	min-width: 0;
}
.aeb-fq-expert-meta { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; line-height: 1.3; margin-bottom: 4px; }
.aeb-fq-expert-meta strong { font-size: 14px; }
.aeb-fq-profession { font-size: 12px; color: #888; }
.aeb-fq-answer-text { margin: 0 0 8px; line-height: 1.6; color: #333; }

.aeb-like-btn {
	border: 1px solid #e2e2e2; background: #fafafa; border-radius: 20px;
	padding: 3px 11px; cursor: pointer; font-size: 12px;
}
.aeb-like-btn.is-liked { background: #eef7ee; border-color: #8fc98f; cursor: default; }

.aeb-fq-cta {
	--aeb-accent: #444444;
	--aeb-bg: #f7f7f8;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	border-radius: 10px;
	padding: 18px 22px;
	margin-bottom: 22px;
	background: var(--aeb-bg);
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.aeb-fq-cta-title { margin: 0; font-weight: 600; font-size: 16px; color: var(--aeb-accent); }
.aeb-empty-state { color: #888; font-style: italic; margin-bottom: 14px; }
.aeb-ask-btn {
	background: var(--aeb-accent, #6c2eb5);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px 20px;
	font-size: 14px;
	cursor: pointer;
	flex-shrink: 0;
	white-space: nowrap;
	filter: brightness(1);
	transition: filter .15s ease;
}
.aeb-ask-btn:hover { filter: brightness(0.88); }

/* modal */
.aeb-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.45);
	z-index: 100000;
	align-items: center;
	justify-content: center;
}
.aeb-modal-overlay.is-open { display: flex; }
.aeb-modal {
	background: #fff;
	border-radius: 8px;
	padding: 28px 30px;
	width: 100%;
	max-width: 420px;
	position: relative;
	box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.aeb-modal-close {
	position: absolute;
	top: 16px; right: 16px;
	background: none; border: none;
	font-size: 22px; line-height: 1; cursor: pointer; color: #888;
}
.aeb-ask-question-form label {
	display: block;
	font-size: 14px;
	margin: 14px 0 6px;
	color: #333;
}
.aeb-ask-question-form input[type="text"],
.aeb-ask-question-form input[type="email"],
.aeb-ask-question-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #d5d5d5;
	border-radius: 6px;
	font-size: 14px;
}
.aeb-consent-label { display: flex !important; align-items: flex-start; gap: 8px; font-size: 13px; color: #555; }
.aeb-consent-label input { margin-top: 2px; }
.aeb-consent-label a { color: inherit; text-decoration: underline; }

/* honeypot: visually hidden, but present in the DOM/tab order avoided */
.aeb-hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
	height: 0;
	overflow: hidden;
}

.aeb-modal-actions { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.aeb-submit-btn {
	background: #6c5ce7;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 10px 22px;
	font-size: 14px;
	cursor: pointer;
}
.aeb-submit-btn:disabled { opacity: .6; cursor: default; }
.aeb-cancel-btn { background: none; border: none; color: #888; cursor: pointer; font-size: 14px; }

.aeb-ask-form-message { min-height: 18px; font-size: 13px; margin: 10px 0 0; }
.aeb-ask-form-message.aeb-success { color: #1e7e34; }
.aeb-ask-form-message.aeb-error { color: #a92323; }
