.ie-progress-page {
	max-width: 900px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Journey card */

.ie-progress-journey-card {
	background: #fff;
	border-radius: 12px;
	padding: 28px 32px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.ie-progress-journey-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 28px;
}

.ie-progress-journey-header h2 { margin: 0 0 4px; font-size: 22px; }

.ie-progress-subtitle { margin: 0; color: #666; font-size: 14px; }

.ie-progress-overall { text-align: right; }

.ie-progress-overall-pct { font-size: 32px; font-weight: 700; line-height: 1; color: #14484f; }

.ie-progress-overall-sub { font-size: 13px; color: #888; margin-top: 4px; }

.ie-progress-stepper {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	position: relative;
}

.ie-progress-stepper::before {
	content: "";
	position: absolute;
	top: 26px;
	left: 60px;
	right: 60px;
	height: 2px;
	background: #e5e5e5;
	z-index: 0;
}

.ie-progress-step {
	position: relative;
	z-index: 1;
	flex: 1;
	text-align: center;
	min-width: 100px;
}

.ie-progress-step-icon {
	width: 52px;
	height: 52px;
	line-height: 52px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--ie-step-color, #999);
	color: var(--ie-step-color, #999);
	font-size: 20px;
	margin: 0 auto 10px;
}

.ie-progress-step-label { font-weight: 700; color: #222; }

.ie-progress-step-tagline { font-size: 12px; color: #888; margin-top: 2px; }

.ie-progress-step-stat { font-size: 12px; color: var(--ie-step-color, #666); font-weight: 600; margin-top: 6px; }

/* Stat tiles */

.ie-progress-stats-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ie-progress-stat-tile {
	flex: 1 1 180px;
	background: #fff;
	border-radius: 12px;
	padding: 18px 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.ie-progress-stat-icon { font-size: 18px; color: #14484f; margin-bottom: 8px; }

.ie-progress-stat-value { font-size: 26px; font-weight: 700; color: #222; line-height: 1; }

.ie-progress-stat-label { font-size: 12px; color: #888; margin-top: 6px; }

/* Charts */

.ie-progress-charts-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ie-progress-chart-card {
	flex: 1 1 320px;
	background: #fff;
	border-radius: 12px;
	padding: 20px 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
	text-align: center;
}

.ie-progress-chart-card h3 { margin: 0 0 16px; font-size: 15px; text-align: left; }

.ie-progress-chart-empty { color: #888; font-size: 13px; padding: 30px 0; }

.ie-progress-chart-legend {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 12px;
	font-size: 12px;
	color: #666;
}

.ie-progress-chart-legend i {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 2px;
	margin-right: 4px;
	vertical-align: middle;
}

/* Recently-completed lists */

.ie-progress-lists-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ie-progress-list-card {
	flex: 1 1 320px;
	background: #fff;
	border-radius: 12px;
	padding: 20px 24px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.ie-progress-list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }

.ie-progress-list-header h3 { margin: 0; font-size: 15px; }

.ie-progress-list-empty { color: #888; font-size: 13px; }

.ie-progress-list { list-style: none; margin: 0; padding: 0; }

.ie-progress-list li {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
}

.ie-progress-list li:last-child { border-bottom: none; }

.ie-progress-list-date { color: #999; font-size: 12px; }

@media (max-width: 640px) {
	.ie-progress-stepper { flex-wrap: wrap; }
	.ie-progress-stepper::before { display: none; }
	.ie-progress-overall { text-align: left; }
}
