:root {
	--sv-engagement: #d9922a;
	--sv-engagement-texte: #a8700a;
	--sv-conception: #3178c6;
	--sv-conception-texte: #2a66a8;
	--sv-realisation: #8e75b2;
	--sv-realisation-texte: #6f559a;
	--sv-exploitation: #2fb36a;
	--sv-exploitation-texte: #1f8a4c;
}

.grid.sv-rangee {
	border-bottom: 0;
}

.sv-trois {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sv-phases-bloc {
	background: var(--page);
}

.sv-phases {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sv-phase {
	--accent: var(--ink);
	--accent-texte: var(--ink);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px 18px 20px;
	border: 1px solid var(--line);
	border-top: 4px solid var(--accent);
	background: var(--surface);
	box-shadow: 0 1px 2px rgb(23 23 23 / 0.04);
}

.sv-phase:not(:last-child)::after {
	content: "→";
	position: absolute;
	top: 18px;
	right: -16px;
	color: var(--faint);
	font-size: 14px;
	line-height: 22px;
}

.sv-phase-engagement {
	--accent: var(--sv-engagement);
	--accent-texte: var(--sv-engagement-texte);
}

.sv-phase-conception {
	--accent: var(--sv-conception);
	--accent-texte: var(--sv-conception-texte);
}

.sv-phase-realisation {
	--accent: var(--sv-realisation);
	--accent-texte: var(--sv-realisation-texte);
}

.sv-phase-exploitation {
	--accent: var(--sv-exploitation);
	--accent-texte: var(--sv-exploitation-texte);
}

.sv-phase-tete {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	align-items: baseline;
	gap: 4px 10px;
}

.sv-phase-tete .status {
	grid-column: 1 / -1;
	justify-self: start;
}

.sv-phase-numero {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--accent-texte);
}

.sv-phase-tete h3 {
	font-size: 20px;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.sv-a-venir {
	border-style: dashed;
	border-top-style: solid;
	background: transparent;
	box-shadow: none;
}

.sv-a-venir .sv-phase-tete h3 {
	color: var(--muted);
}

.sv-duo {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sv-valeur {
	margin: 0;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -0.035em;
	color: var(--ink);
}

.sv-absente {
	color: var(--faint);
}

.sv-detail {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--muted);
}

.sv-cartes {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sv-carte {
	display: grid;
	gap: 2px;
	padding: 12px 14px;
	border: 1px solid transparent;
	background: var(--sunken);
}

.sv-carte strong {
	color: var(--ink);
	font-weight: 500;
}

.sv-carte span {
	font-size: 13px;
	color: var(--muted);
}

.sv-carte-visee {
	border: 1px dashed var(--line-strong);
	background: transparent;
}

.sv-rien {
	margin: 0;
	font-size: 14px;
	color: var(--muted);
}

.sv-table td.wrap {
	min-width: 14ch;
}

.sv-source {
	white-space: normal;
}

.sv-pied {
	display: grid;
	gap: 6px;
	margin: auto 0 0;
	padding: 12px 0 0;
	border-top: 1px dashed var(--line);
	font-size: 13px;
	list-style: none;
}

.sv-bloc-lien {
	display: block;
	transition: background 0.15s ease;
}

.sv-bloc-lien:hover {
	background: var(--sunken);
}

.sv-bloc-lien .sv-detail::after {
	content: " → la roadmap";
	color: var(--link);
}

.sv-frise {
	min-width: 760px;
}

.sv-ligne {
	display: grid;
	grid-template-columns: 9rem minmax(0, 1fr);
	align-items: center;
	min-height: 34px;
}

.sv-etiquette {
	display: grid;
	padding-right: 12px;
	font-size: 13px;
	line-height: 1.25;
}

.sv-etiquette strong {
	color: var(--ink);
	font-weight: 500;
}

.sv-etiquette span {
	font-size: 12px;
	color: var(--muted);
}

.sv-piste {
	position: relative;
	align-self: stretch;
	border-left: 1px solid var(--line);
	background-image: linear-gradient(to bottom, var(--line), var(--line));
	background-size: 100% 1px;
	background-position: 0 50%;
	background-repeat: no-repeat;
}

.sv-piste::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--aujourdhui);
	width: 2px;
	background: var(--caution);
	z-index: 2;
}

.sv-axe .sv-piste {
	min-height: 40px;
	background: none;
}

.sv-mois {
	position: absolute;
	bottom: 6px;
	padding-left: 4px;
	border-left: 1px solid var(--line-strong);
	font-family: var(--mono);
	font-size: 11px;
	color: var(--muted);
	white-space: nowrap;
}

.sv-aujourdhui-libelle {
	position: absolute;
	top: 0;
	left: var(--aujourdhui);
	padding-left: 6px;
	font-family: var(--mono);
	font-size: 11px;
	color: var(--caution);
	white-space: nowrap;
}

.sv-segment {
	position: absolute;
	top: 9px;
	bottom: 9px;
	min-width: 3px;
}

.sv-segment-conception {
	background: var(--sv-conception);
}

.sv-segment-realisation {
	background: var(--sv-realisation);
}

.sv-segment-recette {
	background: repeating-linear-gradient(135deg, var(--sv-realisation) 0 4px, rgb(142 117 178 / 0.35) 4px 8px);
}

.sv-segment-exploitation {
	background: var(--sv-exploitation);
}

.sv-visee {
	position: absolute;
	top: 50%;
	left: 8px;
	transform: translateY(-50%);
	padding: 2px 8px;
	border: 1px dashed var(--line-strong);
	background: var(--surface);
	font-size: 12px;
	color: var(--muted);
	z-index: 3;
}

.sv-marque {
	position: absolute;
	top: 50%;
	width: 11px;
	height: 11px;
	border: 1.5px solid var(--ink);
	background: var(--surface);
	transform: translate(-50%, -50%);
	z-index: 1;
}

.sv-jalon {
	transform: translate(-50%, -50%) rotate(45deg);
}

.sv-demo {
	border-radius: 50%;
}

.sv-demo-jalon {
	box-shadow: 0 0 0 3px var(--surface), 0 0 0 4.5px var(--ink);
}

.sv-marque.sv-passe {
	background: var(--ink);
}

.sv-legende {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	color: var(--muted);
}

.sv-legende li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.sv-legende li > span:not(.sv-marque) {
	display: inline-block;
	width: 18px;
	height: 10px;
}

.sv-legende .sv-marque {
	position: static;
	transform: none;
}

.sv-legende .sv-jalon {
	transform: rotate(45deg);
}

.sv-evenements,
.sv-fil {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.sv-fil li {
	display: grid;
	grid-template-columns: 11rem max-content minmax(0, 1fr);
	gap: 12px;
	align-items: baseline;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.sv-quand {
	margin-right: 10px;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--muted);
}

@media (max-width: 1100px) {
	.sv-phases {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.sv-phase:not(:last-child)::after {
		content: none;
	}

	.sv-fil li {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}

	.sv-trois,
	.sv-phases,
	.sv-duo {
		grid-template-columns: minmax(0, 1fr);
	}
}

.gate-error {
	justify-content: center;
}

.gate-error[hidden] {
	display: none;
}

.avatar {
	position: relative;
	overflow: hidden;
}

.avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sv-reecriture {
	display: block;
	width: min(460px, 82%);
	height: auto;
	overflow: visible;
	font-family: var(--mono);
}

.sv-reecriture-legende {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	fill: rgb(255 255 255 / 0.45);
}

.sv-reecriture-legende-apres {
	fill: #ff6500;
}

.sv-reecriture-avant {
	font-size: 13px;
	fill: rgb(255 255 255 / 0.7);
}

.sv-reecriture-rature {
	fill: none;
	stroke: rgb(255 255 255 / 0.55);
	stroke-width: 1.5;
}

.sv-reecriture-apres {
	font-size: 13px;
	fill: #ffefd3;
}

.sv-reecriture-curseur {
	fill: #ff6500;
}

.sv-reecriture-orbite {
	fill: none;
	stroke: #ff6500;
	stroke-width: 2;
	filter: drop-shadow(0 0 6px rgb(255 101 0 / 0.6));
}

.sv-reecriture-logo-terne {
	filter: grayscale(1);
	opacity: 0.45;
}

.sv-reecriture-version {
	font-size: 22px;
	font-weight: 700;
	fill: #ffefd3;
}

.sv-reecriture-version-avant {
	fill: rgb(255 255 255 / 0.4);
}

.gate-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	margin-top: 26px;
	text-align: left;
}

.gate-card .gate-separateur {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	font-size: 12px;
	color: var(--muted);
}

.gate-separateur::before,
.gate-separateur::after {
	content: "";
	flex: 1;
	border-top: 1px solid var(--line);
}

.gate-form .button {
	margin-top: 6px;
}
