/* Neon Calendar */

.ncal,
.ncal-fiche,
.ncal-modal,
.ncal-retour,
.ncal-large {
	--ncal-accent: #00abaa;
	--ncal-texte: #2b2f38;
	--ncal-doux: #6b7280;
	--ncal-ligne: #e3e6ea;
	--ncal-fond: #ffffff;
	--ncal-fond-2: #f6f7f9;
	/* Coins : 1 = arrondis, 0 = carrés (réglage « Coins »). Tous les arrondis en dépendent. */
	--ncal-arrondi: 1;
	--ncal-rayon: calc(10px * var(--ncal-arrondi));
	box-sizing: border-box;
}
.ncal *,
.ncal-modal * {
	box-sizing: border-box;
}

.ncal {
	color: var(--ncal-texte);
	margin: 0 0 2rem;
	position: relative;
}

/* ---------- En-tête ---------- */

.ncal__entete {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1rem;
	margin-bottom: 1rem;
}
.ncal__titre {
	flex: 1 1 auto;
	margin: 0 !important;
	font-size: 1.5rem;
	line-height: 1.2;
	text-align: center;
}
.ncal__nav,
.ncal__vues {
	display: flex;
	gap: .375rem;
}

/* Police du site, mais pas « font: inherit » : ce raccourci écraserait les tailles des boutons ci-dessous. */
.ncal button {
	font-family: inherit;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
	margin: 0;
}
.ncal__fleche,
.ncal__aujourdhui,
.ncal__vues button,
.ncal-filtre {
	border: 1px solid var(--ncal-ligne);
	background: var(--ncal-fond);
	color: var(--ncal-texte);
	border-radius: calc(999px * var(--ncal-arrondi, 1));
	padding: .4em 1em;
	font-size: .9rem;
	line-height: 1.2;
	transition: background .15s, border-color .15s, color .15s;
}
.ncal__fleche {
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	font-size: 1.4rem;
	line-height: 1;
}
.ncal__fleche:hover,
.ncal__aujourdhui:hover,
.ncal__vues button:hover,
.ncal-filtre:hover {
	border-color: var(--ncal-accent);
}
.ncal__vues button[aria-pressed="true"] {
	background: var(--ncal-accent);
	border-color: var(--ncal-accent);
	color: #fff;
}
.ncal button:focus-visible,
.ncal a:focus-visible,
.ncal-case:focus-visible,
.ncal-modal button:focus-visible,
.ncal-modal a:focus-visible {
	outline: 2px solid var(--ncal-accent);
	outline-offset: 2px;
}

/* La liste montre tout ce qui est à venir : pas de navigation par mois. */
.ncal[data-vue="liste"] .ncal__nav {
	visibility: hidden;
}

/* ---------- Statut : annulé, reporté, complet ---------- */

.ncal-statut {
	display: inline-block;
	margin-right: .35rem;
	padding: .2em .65em;
	border-radius: calc(999px * var(--ncal-arrondi, 1));
	background: #374151;
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .05em;
	line-height: 1.4;
	text-transform: uppercase;
	vertical-align: middle;
}
.ncal-statut--annule {
	background: #b91c1c;
}
.ncal-statut--reporte {
	background: #b45309;
}
.ncal-item__statut {
	margin: 0 0 .4rem;
}
.ncal-item.is-annule .ncal-item__titre a,
.ncal-detail.is-annule .ncal-detail__titre,
.ncal-puce.is-annule .ncal-puce__titre {
	text-decoration: line-through;
}
.ncal-item.is-annule,
.ncal-puce.is-annule {
	opacity: .65;
}

/* ---------- Filtres ---------- */

.ncal__filtres {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin-bottom: 1rem;
}
.ncal-filtre {
	display: inline-flex;
	align-items: center;
	gap: .45em;
	font-size: .85rem;
}
.ncal-pastille {
	width: .7em;
	height: .7em;
	border-radius: calc(50% * var(--ncal-arrondi, 1));
	background: var(--ncal-couleur);
}
.ncal-filtre[aria-pressed="true"] {
	background: var(--ncal-couleur, var(--ncal-accent));
	border-color: var(--ncal-couleur, var(--ncal-accent));
	color: #fff;
}
.ncal-filtre[aria-pressed="true"] .ncal-pastille {
	background: #fff;
}

/* ---------- Chargement ---------- */

.ncal__corps {
	transition: opacity .2s;
}
.ncal.is-chargement .ncal__corps {
	opacity: .45;
	pointer-events: none;
}
.ncal__vide {
	padding: 2rem 1rem;
	text-align: center;
	color: var(--ncal-doux);
	background: var(--ncal-fond-2);
	border-radius: var(--ncal-rayon);
	margin: 0;
}

/* ---------- Vue mois ---------- */

.ncal-mois {
	border: 1px solid var(--ncal-ligne);
	border-radius: var(--ncal-rayon);
	overflow: hidden;
	background: var(--ncal-fond);
}
.ncal-mois__jours,
.ncal-mois__grille {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}
.ncal-mois__jours div {
	padding: .6rem .25rem;
	text-align: center;
	font-size: .8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ncal-doux);
	background: var(--ncal-fond-2);
	border-bottom: 1px solid var(--ncal-ligne);
}
.ncal-case {
	min-height: 7.5rem;
	padding: .35rem;
	border-right: 1px solid var(--ncal-ligne);
	border-bottom: 1px solid var(--ncal-ligne);
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}
.ncal-case:nth-child(7n) {
	border-right: 0;
}
.ncal-case.a-evenements {
	cursor: pointer;
}
.ncal-case.is-hors {
	background: var(--ncal-fond-2);
}
.ncal-case.is-hors .ncal-case__num {
	opacity: .45;
}
.ncal-case__num {
	font-size: .85rem;
	font-weight: 600;
	width: 1.8rem;
	height: 1.8rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: calc(50% * var(--ncal-arrondi, 1));
	align-self: flex-end;
}
.ncal-case.is-aujourdhui .ncal-case__num {
	background: var(--ncal-accent);
	color: #fff;
}

.ncal-puce {
	display: block;
	width: 100%;
	text-align: left;
	border: 0;
	border-left: 3px solid var(--ncal-couleur);
	background: var(--ncal-fond-2);
	background: color-mix(in srgb, var(--ncal-couleur) 14%, #fff);
	color: var(--ncal-texte);
	border-radius: calc(4px * var(--ncal-arrondi, 1));
	padding: .2em .4em;
	font-size: .78rem !important;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ncal-puce.is-multi {
	background: var(--ncal-couleur);
	color: #fff;
}
.ncal-puce:hover {
	filter: brightness(.95);
}
.ncal-puce__heure {
	font-weight: 700;
}
.ncal-case__plus {
	font-size: .75rem;
	color: var(--ncal-doux);
	padding-left: .4em;
}
.ncal-case__points {
	display: none;
}

/* ---------- Vue liste ---------- */

.ncal-liste {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ncal-item {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr);
	gap: 1.5rem 2rem;
	align-items: center;
	margin: 0;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--ncal-ligne);
}
.ncal-item:last-child {
	border-bottom: 0;
}
.ncal-item.a-image {
	grid-template-columns: 6.5rem minmax(0, 1fr) minmax(0, 17rem);
}
.ncal-item::before {
	content: none !important;
}
.ncal-item__date {
	text-align: center;
	line-height: 1;
}
.ncal-item__rond {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 6rem;
	height: 6rem;
	margin: 0 auto .6rem;
	border-radius: calc(50% * var(--ncal-arrondi, 1));
	background: var(--ncal-fond-2);
	background: color-mix(in srgb, var(--ncal-couleur) 25%, #fff);
	color: #fff;
	font-size: 2.6rem;
	font-weight: 700;
	transition: background .2s;
}
.ncal-item:hover .ncal-item__rond,
.ncal-item:focus-within .ncal-item__rond {
	background: var(--ncal-couleur);
}
.ncal-item__mois {
	display: block;
	font-size: 1.4rem;
	text-transform: uppercase;
	letter-spacing: .25em;
	padding-left: .25em;
}
.ncal .ncal-item__titre {
	margin: 0 0 .6rem !important;
	font-size: 2.4rem;
	line-height: 1.15;
}
.ncal-item__titre a {
	color: inherit;
	text-decoration: none;
}
.ncal-item__titre a:hover {
	color: var(--ncal-couleur);
}
.ncal-item__cat {
	margin: 0 0 .3rem;
	font-size: 1rem;
}
.ncal-item .ncal-ligne {
	font-size: 1rem;
}
.ncal-item__extrait {
	margin: .3rem 0 0;
	font-size: 1.15rem;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ncal-item__liens {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	margin: 1rem 0 0;
}
.ncal-item__plus {
	color: inherit !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ncal-item__plus:hover {
	color: var(--ncal-couleur) !important;
}
.ncal-item__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 15rem;
	object-fit: cover;
	border-radius: calc(6px * var(--ncal-arrondi, 1));
}

/* La liste s'adapte à la largeur du calendrier lui-même (container queries), pas à celle de l'écran :
   dans la colonne de 645 px d'un thème à blocs, elle prend la présentation compacte même sur ordinateur. */
@container (max-width: 859px) {
	.ncal-item,
	.ncal-item.a-image {
		gap: 1rem 1.25rem;
		align-items: start;
	}
	.ncal-item {
		grid-template-columns: 4.5rem minmax(0, 1fr);
	}
	.ncal-item.a-image {
		grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 11rem);
	}
	.ncal-item__rond {
		width: 4.25rem;
		height: 4.25rem;
		margin-bottom: .45rem;
		font-size: 1.9rem;
	}
	.ncal-item__mois {
		font-size: 1rem;
		letter-spacing: .18em;
	}
	.ncal .ncal-item__titre {
		margin-bottom: .45rem !important;
		font-size: 1.6rem;
		line-height: 1.2;
	}
	.ncal-item .ncal-ligne,
	.ncal-item__cat {
		font-size: .95rem;
	}
	.ncal-item__extrait {
		font-size: 1rem;
		-webkit-line-clamp: 3;
	}
	.ncal-item__liens {
		margin-top: .75rem;
	}
	.ncal-item__image img {
		aspect-ratio: 4 / 3;
		max-height: none;
	}
}

@container (max-width: 599px) {
	.ncal-item,
	.ncal-item.a-image {
		gap: .75rem 1rem;
		padding: 1.25rem 0;
	}
	.ncal-item {
		grid-template-columns: 3.5rem minmax(0, 1fr);
	}
	/* Image en vignette carrée à droite. */
	.ncal-item.a-image {
		grid-template-columns: 3.5rem minmax(0, 1fr) 6.5rem;
	}
	.ncal-item__image img {
		aspect-ratio: 1;
	}
	.ncal-item__rond {
		width: 3.25rem;
		height: 3.25rem;
		margin-bottom: .35rem;
		font-size: 1.4rem;
	}
	.ncal-item__mois {
		font-size: .8rem;
		letter-spacing: .12em;
		padding-left: .12em;
	}
	.ncal .ncal-item__titre {
		font-size: 1.3rem;
	}
	.ncal-item__liens {
		gap: .4rem 1.1rem;
	}
}

@container (max-width: 419px) {
	/* Très étroit : l'image passe sous le texte, dans la même colonne (pas sous la pastille de date). */
	.ncal-item.a-image {
		grid-template-columns: 3.5rem minmax(0, 1fr);
	}
	.ncal-item__image {
		grid-column: 2;
	}
	.ncal-item__image img {
		aspect-ratio: 16 / 9;
	}
}

/* ---------- Éléments communs ---------- */

.ncal-ligne {
	margin: .15rem 0;
	font-size: .95rem;
	padding-left: 1.5em;
	position: relative;
}
.ncal-ligne::before {
	position: absolute;
	left: 0;
	top: .1em;
	width: 1.1em;
	height: 1.1em;
	content: "";
	background: var(--ncal-doux);
	-webkit-mask: var(--ncal-icone) no-repeat center / contain;
	mask: var(--ncal-icone) no-repeat center / contain;
}
.ncal-ligne--quand {
	--ncal-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 2a8 8 0 1 1 0 16 8 8 0 0 1 0-16zm-1 3v6l5 3 1-1.7-4-2.3V7z'/%3E%3C/svg%3E");
}
.ncal-ligne--adresse {
	--ncal-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.3 7 13 7 13s7-7.7 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}
.ncal-ligne--recurrence {
	--ncal-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4V1L8 5l4 4V6a6 6 0 0 1 6 6 6 6 0 0 1-.7 2.8l1.5 1.5A8 8 0 0 0 12 4zm0 14a6 6 0 0 1-6-6c0-1 .3-2 .7-2.8L5.2 7.7A8 8 0 0 0 12 20v3l4-4-4-4v3z'/%3E%3C/svg%3E");
}
.ncal-fiche__dates {
	margin: .25rem 0 0 1.6em;
	font-size: .9em;
}
.ncal-fiche__dates p,
.ncal-fiche__dates ul {
	margin: 0;
}
.ncal-fiche__dates ul {
	padding-left: 1.1em;
}
.ncal-ligne--prix {
	--ncal-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M22 10V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v4a2 2 0 0 1 0 4v4a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-4a2 2 0 0 1 0-4zm-7 6.5h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2v-2h2v2z'/%3E%3C/svg%3E");
}
.ncal-ligne--infos {
	--ncal-icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}
.ncal-ligne a {
	color: inherit;
}
.ncal-detail__cats,
.ncal-fiche__cats {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	margin: 0 0 .4rem;
}
.ncal-badge {
	display: inline-block;
	background: var(--ncal-couleur);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: .25em .7em;
	border-radius: calc(999px * var(--ncal-arrondi, 1));
	line-height: 1.3;
}
.ncal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: .8rem 0 0;
}
.ncal-bouton {
	display: inline-block;
	background: var(--ncal-accent);
	border: 2px solid var(--ncal-accent);
	color: #fff !important;
	text-decoration: none !important;
	padding: .45em 1.1em;
	border-radius: calc(999px * var(--ncal-arrondi, 1));
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.3;
}
.ncal-bouton--contour {
	background: transparent;
	color: var(--ncal-accent) !important;
}
.ncal-bouton:hover {
	filter: brightness(.92);
}

/* ---------- Fenêtre de détails ---------- */

.ncal-modal-ouvert {
	overflow: hidden;
}
.ncal-modal[hidden] {
	display: none;
}
.ncal-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	color: var(--ncal-texte);
}
.ncal-modal__fond {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, .55);
}
.ncal-modal__boite {
	position: relative;
	background: var(--ncal-fond);
	border-radius: calc(14px * var(--ncal-arrondi, 1));
	width: 100%;
	max-width: 32rem;
	max-height: calc(100vh - 2rem);
	overflow: auto;
	padding: 3rem 1.5rem 1.5rem;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
	outline: none;
}
.ncal-modal__fermer {
	position: absolute;
	top: .5rem;
	right: .6rem;
	width: 2.2rem;
	height: 2.2rem;
	border: 0;
	background: transparent;
	font-size: 1.7rem;
	line-height: 1;
	color: var(--ncal-doux);
	cursor: pointer;
	border-radius: calc(50% * var(--ncal-arrondi, 1));
}
.ncal-modal__fermer:hover {
	background: var(--ncal-fond-2);
}
.ncal-modal__jour {
	margin: 0 0 1rem !important;
	font-size: 1.3rem;
}
.ncal-detail {
	border-top: 4px solid var(--ncal-couleur);
	padding-top: .9rem;
}
.ncal-detail + .ncal-detail {
	margin-top: 1.5rem;
}
.ncal-detail__titre {
	margin: 0 0 .5rem !important;
	font-size: 1.3rem;
	line-height: 1.3;
	padding-right: 1.5rem;
}
.ncal-detail__extrait {
	margin: .75rem 0 0;
}

/* ---------- Fiche (page de l'événement) ---------- */

.ncal-fiche {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	margin: 0 0 2rem;
	padding: 1.5rem;
	border: 1px solid var(--ncal-ligne);
	border-top: 4px solid var(--ncal-couleur, var(--ncal-accent));
	border-radius: var(--ncal-rayon);
	background: var(--ncal-fond);
	box-shadow: 0 6px 24px rgba(17, 24, 39, .06);
}
.ncal-fiche__date {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 6rem;
	padding: .8rem .5rem;
	border-radius: var(--ncal-rayon);
	background: var(--ncal-couleur, var(--ncal-accent));
	color: #fff;
	line-height: 1;
	text-align: center;
}
.ncal-fiche__jour {
	font-size: 2.6rem;
	font-weight: 700;
}
.ncal-fiche__mois {
	margin-top: .35rem;
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.ncal-fiche__annee {
	margin-top: .3rem;
	font-size: .8rem;
	opacity: .85;
}
.ncal-fiche__infos {
	flex: 1;
	min-width: 0;
}
.ncal-fiche .ncal-fiche__cats {
	margin: 0 0 .6rem;
}
.ncal-fiche .ncal-ligne {
	margin: .35rem 0;
	font-size: 1.05rem;
}
.ncal-fiche__dates {
	margin: .2rem 0 .5rem 1.6em;
	font-size: .9rem;
}
.ncal-fiche__dates summary {
	cursor: pointer;
	color: var(--ncal-accent);
	font-weight: 600;
}
.ncal-fiche__dates ul {
	margin: .4rem 0 0;
	padding-left: 1.1em;
}
.ncal-fiche__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	margin-top: 1.1rem;
}
.ncal-fiche__actions .ncal-bouton {
	margin: 0;
}
.ncal-fiche__texte {
	margin-bottom: 2.5rem;
}

/* Espace sous le titre / l'image. Spécificité renforcée : les thèmes à blocs remettent à 0 la marge
   du premier bloc du contenu (« :root :where(.is-layout-constrained) > :first-child »). */
:root body .ncal-fiche {
	margin-top: 2rem;
}

/* « Ajouter à mon agenda » : menu sans JavaScript (élément details). */
.ncal-agenda {
	position: relative;
}
.ncal-agenda summary {
	list-style: none;
	cursor: pointer;
}
.ncal-agenda summary::-webkit-details-marker {
	display: none;
}
.ncal-agenda summary::after {
	content: "";
	display: inline-block;
	width: .45em;
	height: .45em;
	margin-left: .55em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-.15em) rotate(45deg);
}
.ncal-agenda[open] summary::after {
	transform: translateY(.1em) rotate(-135deg);
}
.ncal-agenda__menu {
	position: absolute;
	z-index: 20;
	top: calc(100% + .35rem);
	left: 0;
	min-width: 15rem;
	margin: 0;
	padding: .35rem;
	list-style: none;
	border: 1px solid var(--ncal-ligne);
	border-radius: calc(8px * var(--ncal-arrondi, 1));
	background: var(--ncal-fond);
	box-shadow: 0 10px 30px rgba(17, 24, 39, .15);
}
.ncal-agenda__menu li {
	margin: 0;
}
.ncal-agenda__menu a {
	display: block;
	padding: .55rem .75rem;
	border-radius: calc(6px * var(--ncal-arrondi, 1));
	color: var(--ncal-texte);
	font-size: .95rem;
	text-decoration: none;
}
.ncal-agenda__menu a:hover,
.ncal-agenda__menu a:focus-visible {
	background: var(--ncal-fond-2);
}

@media (max-width: 600px) {
	.ncal-fiche {
		flex-direction: column;
		gap: 1rem;
		padding: 1.1rem;
	}
	.ncal-fiche__date {
		flex-direction: row;
		gap: .5rem;
		width: auto;
		padding: .5rem .9rem;
	}
	.ncal-fiche__jour {
		font-size: 1.6rem;
	}
	.ncal-fiche__mois,
	.ncal-fiche__annee {
		margin: 0;
	}
}

/* ---------- Retour au calendrier (page de l'événement) ---------- */

.ncal-retour {
	margin: 0 0 1rem;
	font-size: .95rem;
}
.ncal-retour__lien {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	color: var(--ncal-accent, #00abaa) !important;
	font-weight: 600;
	text-decoration: none !important;
}
.ncal-retour__lien:hover,
.ncal-retour__lien:focus-visible {
	text-decoration: underline !important;
}

/* ---------- Bouton « Voir plus d'événements » ---------- */

.ncal .ncal__plus {
	margin: 1.5rem 0 0;
	text-align: center;
}
.ncal .ncal-bouton-plus {
	padding: .65em 1.6em;
	border: 2px solid var(--ncal-accent);
	border-radius: calc(999px * var(--ncal-arrondi, 1));
	background: var(--ncal-fond);
	color: var(--ncal-accent);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	transition: background .15s, color .15s;
}
.ncal .ncal-bouton-plus:hover:not([disabled]) {
	background: var(--ncal-accent);
	color: #fff;
}
.ncal .ncal-bouton-plus[disabled] {
	opacity: .6;
	cursor: wait;
}

/* ---------- Conteneur (container queries de la liste) ---------- */

.ncal {
	container-type: inline-size;
}

/* ---------- Mobile ---------- */

@media (max-width: 700px) {
	.ncal__titre {
		order: -1;
		flex-basis: 100%;
	}
	.ncal__entete {
		justify-content: space-between;
	}
	.ncal-case {
		min-height: 3.6rem;
		padding: .2rem;
		align-items: center;
	}
	.ncal-case__num {
		align-self: center;
		font-size: .8rem;
	}
	.ncal-puce,
	.ncal-case__plus {
		display: none;
	}
	.ncal-case__points {
		display: flex;
		gap: 2px;
		flex-wrap: wrap;
		justify-content: center;
	}
	.ncal-case__points i {
		width: 6px;
		height: 6px;
		border-radius: calc(50% * var(--ncal-arrondi, 1));
	}
	.ncal-mois__jours div {
		font-size: .68rem;
		letter-spacing: 0;
	}
}
