/**
 * GenieBuilder — Market Data widgets.
 * Report wrapper + stat block. Token-driven.
 */

.mlsg-gb-market {
	display: flex;
	flex-direction: column;
	gap: var(--gb-space-md);
	width: 100%;
}

.mlsg-gb-market__heading {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--gb-color-text);
}

.mlsg-gb-stat {
	display: flex;
	flex-direction: column;
	gap: var(--gb-space-xs);
	padding: var(--gb-space-md);
	background: var(--gb-color-surface);
	border: 1px solid var(--gb-color-border);
	border-radius: var(--gb-radius-card);
}

.mlsg-gb-stat i {
	font-size: 1.25rem;
	color: var(--gb-color-primary);
}

.mlsg-gb-stat__value {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--gb-color-text);
}

.mlsg-gb-stat__label {
	font-size: var(--gb-font-badge);
	color: var(--gb-color-muted);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* ── Market Stat: Callout Card layout ─────────────────────────────────────── */
.mlsg-gb-stat__valwrap {
	display: inline-flex;
	align-items: center;
	gap: var(--gb-space-xs);
}

.mlsg-gb-stat__trend {
	font-size: 0.8em;
	color: var(--gb-color-primary);
}

.mlsg-gb-stat--callout {
	gap: 0.35rem;
	padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.5rem, 5vw, 3.5rem);
	background: #0b0b0d;
	border: 0;
	border-radius: 18px;
	color: #fff;
}

.mlsg-gb-stat--callout .mlsg-gb-stat__eyebrow {
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
}

.mlsg-gb-stat--callout .mlsg-gb-stat__asof {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.75);
}

.mlsg-gb-stat--callout .mlsg-gb-stat__value {
	font-size: clamp(2.25rem, 6vw, 3rem);
	font-weight: 800;
	color: #fff;
}

.mlsg-gb-stat--callout .mlsg-gb-stat__trend {
	color: rgba(255, 255, 255, 0.85);
}

.mlsg-gb-stat--callout .mlsg-gb-stat__caption {
	font-size: 1.0625rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.85);
	margin-top: 0.35rem;
}
