/* Shared process strip on PHP pages; mirrors apps/analysis/shared/ui/InvestingProcessNavigator.css. */

/* Investment Case: the server strip sits at the top like on the other tools, so the React copy inside the card is hidden. */
#marketsnap-journal .ms-proc:not(.ms-proc--site) {
	display: none;
}
.ms-io-outlook-stack > .ms-proc--site {
	margin-top: 24px;
}
.ms-proc--site {
	--p-gold: #f59e0b;
	--p-gold-strong: #fbbf24;
	--p-gold-tint: rgba(245, 158, 11, 0.12);
	--p-gold-line: rgba(245, 158, 11, 0.45);
	--p-bg: #1a1f24;
	--p-surface: rgba(255, 255, 255, 0.04);
	--p-surface-2: rgba(255, 255, 255, 0.07);
	--p-border: rgba(192, 192, 192, 0.22);
	--p-text: #f2f4f7;
	--p-muted: #9aa4b2;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--p-text);
	width: 100%;
	margin: 0 0 24px;
	padding: 8px 8px 12px;
	background: var(--p-surface);
	border: 1px solid var(--p-border);
	border-radius: 10px;
	box-sizing: border-box;
	text-align: left;
}
.ms-proc--site .ms-proc__stages {
	display: flex;
	gap: 72px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.ms-proc--site .ms-proc__stage {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
	padding: 0;
}
.ms-proc--site .ms-proc__stage:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -51px;
	width: 30px;
	height: 30px;
	transform: translateY(-50%);
	border-radius: 50%;
	border: 1px solid var(--p-gold-line);
	box-shadow: 0 0 12px rgba(245, 158, 11, 0.18);
	background: var(--p-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
	pointer-events: none;
}
.ms-proc--site .ms-proc__link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	height: 100%;
	box-sizing: border-box;
	padding: 8px 12px;
	border: 1px solid transparent;
	border-radius: 8px;
	color: var(--p-muted);
	text-decoration: none;
	line-height: 1.3;
}
.ms-proc--site a.ms-proc__link:hover,
.ms-proc--site a.ms-proc__link:focus-visible {
	background: var(--p-surface-2);
	color: var(--p-text);
	text-decoration: none;
}
.ms-proc--site .ms-proc__kicker {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--p-gold);
}
.ms-proc--site .ms-proc__label {
	font-size: 0.92rem;
	font-weight: 600;
}
.ms-proc--site .ms-proc__stage.is-done .ms-proc__link {
	color: var(--p-text);
}
.ms-proc--site .ms-proc__stage.is-active .ms-proc__link {
	color: var(--p-text);
	background: var(--p-gold-tint);
	border-color: var(--p-gold);
}
.ms-proc--site .ms-proc__stage.is-active .ms-proc__kicker,
.ms-proc--site .ms-proc__here {
	color: var(--p-gold-strong);
}
.ms-proc--site .ms-proc__here {
	font-size: 0.78rem;
}
.ms-proc--site .ms-proc__goal {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 12px 12px 0;
	padding: 0;
	color: var(--p-muted);
	font-size: 0.85rem;
	text-align: center;
}
.ms-proc--site .ms-proc__goal strong {
	color: var(--p-gold-strong);
	font-weight: 600;
}
.ms-proc--site .ms-proc__goal-text {
	white-space: nowrap;
}
.ms-proc--site .ms-proc__goal-line {
	flex: 1 1 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--p-gold-line), transparent);
}
@media (max-width: 900px) {
	.ms-proc--site .ms-proc__stages { gap: 20px; }
	.ms-proc--site .ms-proc__stage:not(:last-child)::after {
		content: "›";
		right: -15px;
		width: auto;
		height: auto;
		border: none;
		border-radius: 0;
		box-shadow: none;
		background: none;
		color: var(--p-gold);
		font-size: 1.1rem;
		line-height: 1;
	}
	.ms-proc--site .ms-proc__link { padding: 6px 8px; }
	.ms-proc--site .ms-proc__label { font-size: 0.8rem; }
	.ms-proc--site .ms-proc__here { display: none; }
	.ms-proc--site .ms-proc__goal-text { white-space: normal; }
}
@media (max-width: 640px) {
	.ms-proc--site { padding: 6px 6px 8px; }
	.ms-proc--site .ms-proc__stages { gap: 14px; }
	.ms-proc--site .ms-proc__stage:not(:last-child)::after { right: -11px; }
	.ms-proc--site .ms-proc__link { align-items: center; text-align: center; padding: 6px 4px; }
	.ms-proc--site .ms-proc__label { display: none; }
	.ms-proc--site .ms-proc__goal { margin-top: 8px; font-size: 0.8rem; }
}
