/* Chugcheck Main Accords — frontend styles. Fragrantica-style stacked,
   proportional colour bars, strongest accord first. Same design language as
   the Notes plugin: white space, rounded corners, soft shadows, no
   gradients. Pill-shaped bars with per-accord auto-contrast text (set
   inline per bar — see class-chugcheck-accords-shortcode.php). */

.chugcheck-accords-display {
	--chugcheck-accords-ink: #1C1B19;
	--chugcheck-accords-ink-soft: #77726B;

	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chugcheck-accords-display__title {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--chugcheck-accords-ink-soft);
	margin: 0 0 16px;
}

.chugcheck-accords-bars {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
}

.chugcheck-accord-bar-row {
	width: 100%;
}

.chugcheck-accord-bar {
	display: flex;
	align-items: center;
	min-width: fit-content;
	height: 40px;
	border-radius: 999px;
	box-shadow: 0 3px 10px rgba(28, 27, 25, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16);
	transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, filter 0.2s ease;
}

.chugcheck-accord-bar__label {
	display: block;
	width: 100%;
	padding: 0 20px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chugcheck-accord-bar:hover {
	transform: translateX(3px);
	filter: brightness(1.05);
	box-shadow: 0 6px 16px rgba(28, 27, 25, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* --- Main accord archive header --- */

.chugcheck-accord-header {
	max-width: 560px;
	margin: 0 auto;
	text-align: center;
	padding: 32px 16px 8px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chugcheck-accord-header__swatch {
	width: 72px;
	height: 72px;
	margin: 0 auto 20px;
	border-radius: 50%;
	box-shadow: 0 8px 24px rgba(28, 27, 25, 0.12), 0 0 0 1px rgba(28, 27, 25, 0.04);
}

.chugcheck-accord-header__title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 12px;
	color: #1C1B19;
}

.chugcheck-accord-header__description {
	font-size: 15px;
	line-height: 1.6;
	color: #4B4740;
	margin: 0 0 14px;
}

.chugcheck-accord-header__count {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #77726B;
}

@media (max-width: 480px) {
	.chugcheck-accord-bar {
		height: 34px;
	}
	.chugcheck-accord-bar__label {
		font-size: 13px;
		padding: 0 16px;
	}
}
