/*! AEOLynx for WebMCP metabox v1.4.8 — © n4nion — GPL-2.0-or-later */

.wm-mb {
	--wm-accent: #6366f1;
	--wm-accent-2: #22d3ee;
	--wm-gradient: linear-gradient(135deg, #6366f1, #22d3ee);
	--wm-pass: #16a34a;
	--wm-pass-bg: #ecfdf5;
	--wm-info: #0369a1;
	--wm-info-bg: #f0f9ff;
	--wm-radius-s: 8px;
	--wm-radius-m: 12px;
	padding: 4px 2px;
	font-size: 13px;
}
.wm-mb__hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--wm-radius-m);
	padding: 12px 16px;
	margin-bottom: 12px;
}
.wm-mb__hero-text strong {
	display: block;
	color: #0f172a;
	font-size: 13px;
}
.wm-mb__hero-text span {
	display: block;
	color: #64748b;
	font-size: 12px;
	margin-top: 2px;
}
.wm-mb__hero-actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.wm-mb__chips {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}
.wm-chip {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 700;
	border-radius: 999px;
	padding: 3px 10px;
}
.wm-chip--pass {
	background: var(--wm-pass-bg);
	color: var(--wm-pass);
}
.wm-chip--auto {
	background: var(--wm-info-bg);
	color: var(--wm-info);
}
.wm-chip--none {
	background: #f1f5f9;
	color: #94a3b8;
}
.wm-mb__note {
	border-radius: 6px;
	padding: 9px 12px;
	font-size: 12px;
	line-height: 1.55;
	margin: 0 0 12px;
}
.wm-mb__note--pass {
	background: var(--wm-pass-bg);
	border-left: 4px solid var(--wm-pass);
	color: #14532d;
}
.wm-mb__section {
	padding: 14px 0 4px;
	border-top: 1px solid #eef0f3;
}
.wm-mb__section:first-of-type {
	border-top: 0;
	padding-top: 0;
}
.wm-mb__section--row {
	padding-bottom: 14px;
}
.wm-mb__section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 13px;
	color: #0f172a;
}
.wm-mb__section-hint {
	font-weight: 400;
	color: #94a3b8;
	font-size: 11.5px;
}
.wm-mb__stepnum {
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	background: var(--wm-gradient);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.wm-mb__textarea,
.wm-mb__faqs input[type="text"],
.wm-mb__faqs textarea,
.wm-mb__field select {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	box-shadow: none;
	font-size: 13px;
	padding: 7px 10px;
}
.wm-mb__textarea:focus,
.wm-mb__faqs input:focus,
.wm-mb__faqs textarea:focus,
.wm-mb__field select:focus {
	border-color: var(--wm-accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.wm-mb__help {
	margin: 6px 0 0;
	color: #64748b;
	font-size: 11.5px;
}
.wm-mb__row {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	align-items: flex-end;
}
.wm-mb__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-weight: 600;
	color: #334155;
}
.wm-mb__field select {
	min-width: 220px;
}
.wm-mb__check {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: #334155;
}
.wm-mb__faqs {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 10px;
}
.wm-faq-row {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: var(--wm-radius-m);
	padding: 8px 10px 10px;
}
.wm-faq-row__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
}
.wm-faq-row__handle {
	color: #cbd5e1;
	cursor: grab;
	font-size: 16px;
	width: 16px;
	height: 16px;
}
.wm-faq-row__qnum {
	font-size: 10.5px;
	font-weight: 800;
	color: #94a3b8;
	letter-spacing: 0.05em;
}
.wm-faq-row__remove {
	margin-left: auto;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	border: 1px solid transparent;
	background: transparent;
	color: #94a3b8;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
}
.wm-faq-row__remove:hover {
	color: #dc2626;
	border-color: #fecaca;
	background: #fef2f2;
}
.wm-faq-row__q {
	font-weight: 600;
	margin-bottom: 6px;
}
.wm-faq-row.is-dragging {
	opacity: 0.55;
	border-style: dashed;
}
