/* ifs-Édition en place : liste de documents et de liens créée par l'éditeur (2.24.0).
   Règles sans poids (:where) : le gabarit du site peut tout redéfinir. */
:where(.ifs-docs) {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
:where(.ifs-docs) :where(li) {
	margin: 0;
	border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
:where(.ifs-doc) {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .75rem .5rem;
	color: inherit;
	text-decoration: none;
	transition: background-color .15s ease;
}
:where(.ifs-doc):hover,
:where(.ifs-doc):focus-visible {
	background: color-mix(in srgb, currentColor 7%, transparent);
}
:where(.ifs-doc)::before {
	content: "";
	flex: none;
	width: 1.3rem;
	height: 1.3rem;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M12 12v5M9.5 14.5 12 17l2.500-2.500'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M12 12v5M9.5 14.5 12 17l2.500-2.500'/%3E%3C/svg%3E") center / contain no-repeat;
}
:where(.ifs-doc--web)::before {
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4.500 4.500 0 0 0 6.400 0l3-3a4.500 4.500 0 0 0-6.400-6.400l-1.200 1.200M14 10a4.500 4.500 0 0 0-6.400 0l-3 3a4.500 4.500 0 0 0 6.400 6.400l1.200-1.200'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14a4.500 4.500 0 0 0 6.400 0l3-3a4.500 4.500 0 0 0-6.400-6.400l-1.200 1.200M14 10a4.500 4.500 0 0 0-6.400 0l-3 3a4.500 4.500 0 0 0 6.400 6.400l1.200-1.200'/%3E%3C/svg%3E") center / contain no-repeat;
}
:where(.ifs-doc) :where(small) {
	margin-left: auto;
	padding-left: .75rem;
	font-size: .8em;
	white-space: nowrap;
	opacity: .7;
}
@media (max-width: 36rem) {
	:where(.ifs-doc) {
		flex-wrap: wrap;
	}
	:where(.ifs-doc) :where(small) {
		flex-basis: 100%;
		margin-left: 2.05rem;
		padding-left: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	:where(.ifs-doc) {
		transition: none;
	}
}
