.dm-views__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--wpd-color-border, #e5e7eb);
	margin-bottom: 6px;
	flex-shrink: 0;
	min-width: 0;
}
.dm-views__title {
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wpd-color-text-subtle, #6b7280);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}
.dm-views__kpi {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 8px;
	padding-bottom: 4px;
	flex-shrink: 0;
	min-width: 0;
}
.dm-views__total {
	/* cqw requires container-type on parent — use vw as proxy for card width */
	font-size: clamp( 18px, 3vw, 26px );
	font-weight: 700;
	line-height: 1;
}
.dm-views__delta { font-size: 12px; font-weight: 600; }
.dm-views__delta--up   { color: #22c55e; }
.dm-views__delta--down { color: #ef4444; }
.dm-views__delta--flat { color: #9ca3af; }
.dm-views__label {
	font-size: 10px;
	color: var(--wpd-color-text-subtle, #9ca3af);
	white-space: nowrap;
}
.dm-views__spark {
	flex: 1;
	min-height: 40px;
	min-width: 0;
}
.dm-views__spark svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.dm-views__days {
	display: flex;
	justify-content: space-between;
	padding-top: 3px;
	flex-shrink: 0;
	min-width: 0;
}
.dm-views__days span {
	font-size: 9px;
	color: var(--wpd-color-text-subtle, #9ca3af);
	flex: 1;
	text-align: center;
	overflow: hidden;
}
.dm-views__no-source {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	min-height: 60px;
}
.dm-views__no-source p {
	margin: 0;
	font-size: 10px;
	color: var(--wpd-color-text-subtle, #9ca3af);
	line-height: 1.5;
	text-align: center;
}
.dm-views__no-source code {
	font-family: ui-monospace, "Cascadia Code", monospace;
	font-size: 9px;
	background: rgba(0,0,0,0.15);
	border-radius: 3px;
	padding: 0 3px;
}
.dm-views__error {
	color: #ef4444;
	font-size: 10px;
	padding: 4px 0;
}
