
.mp-synthesis {
	position: relative;
	margin: 14px 0 0;
	border-radius: var(--mp-radius, 18px);
	background: rgba(255, 255, 255, 0.045);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
	overflow: hidden;
}

.mp-synthesis-cb {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.mp-synthesis-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 14px 16px;
	cursor: pointer;
	user-select: none;
}

.mp-synthesis-title {
	display: flex;
	align-items: center;
	gap: 9px;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: -0.01em;
	color: var(--mp-text, #e9e9ea);
}

.mp-synthesis-title i {
	color: var(--mp-rose, #ff2d86);
	font-size: 14px;
}

.mp-synthesis-caret {
	margin-left: auto;
	font-size: 13px;
	color: var(--mp-muted, rgba(255, 255, 255, 0.56));
	transition: transform 0.25s ease;
}

.mp-synthesis-cb:focus-visible + .mp-synthesis-toggle {
	outline: 2px solid var(--mp-rose, #ff2d86);
	outline-offset: -2px;
}

.mp-synthesis-body {
	display: none;
	padding: 0 16px 6px;
}

.mp-synthesis-cb:checked ~ .mp-synthesis-body {
	display: block;
}

.mp-synthesis-cb:checked ~ .mp-synthesis-toggle .mp-synthesis-caret {
	transform: rotate(180deg);
}

.mp-synthesis-empty {
	padding: 14px 16px;
}

.mp-synthesis-emptytext {
	margin: 8px 0 0;
	font-size: 13px;
	color: var(--mp-muted, rgba(255, 255, 255, 0.56));
}

.mp-synthesis-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.mp-synthesis-item {
	display: block;
	padding: 10px 0;
	line-height: 1.5;
	border-top: 1px solid var(--mp-line, rgba(255, 255, 255, 0.10));
}

.mp-synthesis-text {
	font-size: 13.5px;
	color: var(--mp-text, #e9e9ea);
}

.mp-synthesis-sample {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 6px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	font-size: 10.5px;
	color: var(--mp-muted, rgba(255, 255, 255, 0.56));
	white-space: nowrap;
	vertical-align: middle;
}

.mp-mchip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	vertical-align: middle;
	margin-right: 8px;
	white-space: nowrap;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 999px;
	border: 1px solid var(--mp-line, rgba(255, 255, 255, 0.10));
	background: rgba(255, 255, 255, 0.04);
	color: var(--mp-text, #e9e9ea);
}

.mp-mchip::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	flex-shrink: 0;
}

.mp-mchip.scorer::before { background: #e8b04b; }
.mp-mchip.sub::before    { background: #e0895a; }
.mp-mchip.head::before   { background: #4bbf87; }
.mp-mchip.pen::before    { background: #c98be0; }
.mp-mchip.over::before   { background: #5cb2d6; }
.mp-mchip.warn::before   { background: #ff5d6c; }

@media (min-width: 768px) {
	.mp-synthesis-body {
		display: block;
	}
	.mp-synthesis-toggle {
		cursor: default;
	}
	.mp-synthesis-caret {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mp-synthesis-caret {
		transition: none;
	}
}
