/**
 * CE Navigation — Outcome-first 导航系统。
 */

/* ── Outcome Selector ── */
.ce-outcome-grid {
	display: grid;
	gap: var(--ce-space-4);
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	margin: var(--ce-space-6) 0;
}

.ce-outcome-card {
	background: var(--ce-bg-primary);
	border: 2px solid transparent;
	border-radius: var(--ce-radius);
	box-shadow: var(--ce-shadow-sm);
	cursor: pointer;
	padding: var(--ce-space-5);
	text-align: center;
	transition: border-color var(--ce-transition), box-shadow var(--ce-transition);
}

.ce-outcome-card:hover,
.ce-outcome-card.active {
	border-color: var(--ce-primary);
	box-shadow: var(--ce-shadow-md);
}

.ce-outcome-card .ce-outcome-icon {
	color: var(--ce-primary);
	font-size: 2rem;
	margin-bottom: var(--ce-space-2);
}

.ce-outcome-card .ce-outcome-title {
	color: var(--ce-text-primary);
	font-family: var(--ce-font-heading);
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 var(--ce-space-1);
}

.ce-outcome-card .ce-outcome-desc {
	color: var(--ce-text-secondary);
	font-size: 0.875rem;
	margin: 0;
}

/* ── Path Breadcrumb ── */
.ce-path-breadcrumb {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: var(--ce-space-2);
	margin: var(--ce-space-4) 0;
}

.ce-path-breadcrumb .ce-breadcrumb-item {
	color: var(--ce-text-secondary);
	font-size: 0.875rem;
}

.ce-path-breadcrumb .ce-breadcrumb-item.active {
	color: var(--ce-primary);
	font-weight: 600;
}

.ce-path-breadcrumb .ce-breadcrumb-sep {
	color: var(--ce-text-secondary);
}

/* ── Step indicator ── */
.ce-step-indicator {
	display: flex;
	gap: var(--ce-space-4);
	margin: var(--ce-space-6) 0;
}

.ce-step {
	align-items: center;
	display: flex;
	gap: var(--ce-space-2);
}

.ce-step-number {
	align-items: center;
	background: var(--ce-bg-secondary);
	border-radius: 50%;
	color: var(--ce-text-secondary);
	display: flex;
	font-size: 0.875rem;
	font-weight: 700;
	height: 28px;
	justify-content: center;
	width: 28px;
}

.ce-step.active .ce-step-number {
	background: var(--ce-primary);
	color: #fff;
}

.ce-step-label {
	color: var(--ce-text-secondary);
	font-size: 0.875rem;
}

.ce-step.active .ce-step-label {
	color: var(--ce-primary);
	font-weight: 600;
}
