.wlt-card {
	--wlt-ink: #1c2b22;
	--wlt-paper: #f2f4ef;
	--wlt-paper-line: #d7ddd0;
	--wlt-trail: #2f6f4e;
	--wlt-trail-soft: rgba(47, 111, 78, 0.16);
	--wlt-basecamp: #b9852a;
	--wlt-uptick: #ab5138;
	--wlt-muted: #5f6d61;

	background: var(--wlt-paper);
	border: 1px solid var(--wlt-paper-line);
	border-radius: 10px;
	padding: 28px 28px 20px;
	max-width: 760px;
	margin: 24px 0;
	color: var(--wlt-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	position: relative;
	overflow: hidden;
}

.wlt-card::before {
	/* faint contour-line texture along the top edge */
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: repeating-linear-gradient(
		90deg,
		var(--wlt-trail) 0px,
		var(--wlt-trail) 10px,
		transparent 10px,
		transparent 18px
	);
	opacity: 0.55;
}

.wlt-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 18px;
}

.wlt-eyebrow {
	font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wlt-muted);
}

.wlt-title {
	font-family: Georgia, "Iowan Old Style", serif;
	font-size: 22px;
	font-weight: 600;
	margin: 2px 0 0;
	letter-spacing: 0.01em;
}

.wlt-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 0;
	border-top: 1px dashed var(--wlt-paper-line);
	border-bottom: 1px dashed var(--wlt-paper-line);
	margin: 4px 0 20px;
}

.wlt-stat {
	padding: 14px 16px 14px 0;
	border-left: 1px dashed var(--wlt-paper-line);
}
.wlt-stat:first-child {
	border-left: none;
	padding-left: 0;
}

.wlt-stat-label {
	font-family: "IBM Plex Mono", monospace;
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wlt-muted);
	display: block;
	margin-bottom: 4px;
}

.wlt-stat-value {
	font-family: "IBM Plex Mono", monospace;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
}

.wlt-stat-value.wlt-good { color: var(--wlt-trail); }
.wlt-stat-value.wlt-bad { color: var(--wlt-uptick); }

.wlt-chart-wrap {
	position: relative;
	height: 280px;
}

.wlt-waypoint {
	position: absolute;
	transform: translate(-50%, -120%);
	background: var(--wlt-ink);
	color: var(--wlt-paper);
	font-family: "IBM Plex Mono", monospace;
	font-size: 10.5px;
	letter-spacing: 0.05em;
	padding: 3px 7px;
	border-radius: 3px;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.4s ease;
}
.wlt-waypoint::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -4px;
	transform: translateX(-50%);
	border: 4px solid transparent;
	border-top-color: var(--wlt-ink);
}
.wlt-waypoint.wlt-show { opacity: 1; }

.wlt-footnote {
	margin-top: 14px;
	font-family: "IBM Plex Mono", monospace;
	font-size: 11px;
	color: var(--wlt-muted);
}

.wlt-empty {
	font-family: "IBM Plex Mono", monospace;
	font-size: 13px;
	color: var(--wlt-muted);
	padding: 20px 0;
}

@media (max-width: 480px) {
	.wlt-card { padding: 20px 16px 16px; }
	.wlt-title { font-size: 19px; }
	.wlt-chart-wrap { height: 220px; }
}
