.mk-map {
	position: relative;
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
}

/* Le JS pilote l'affichage via l'attribut hidden ; il doit gagner même sur
   les éléments dont la classe pose un display (flex…) — sinon l'invite de
   zoom, le lien itinéraire, etc. restent visibles en permanence. */
.mk-map [hidden],
.mk-map-sheet [hidden],
.mk-map-detail[hidden],
.mk-map-detail [hidden],
.mk-map-forecast [hidden],
.mk-spot-modal[hidden],
.mk-spot-modal [hidden],
.mk-spot-toast[hidden] {
	display: none !important;
}

/* ---------- Explorateur : sélecteur zone × espèce ---------- */

.mk-explorer-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	margin-bottom: 14px;
}

.mk-explorer-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mk-explorer-field > span {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #8a887e;
}

.mk-explorer-field select {
	appearance: none;
	padding: 8px 32px 8px 12px;
	border: 1px solid #e0dcd0;
	border-radius: 9px;
	background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235f6f66' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 11px center no-repeat;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	color: #1d2a22;
	min-width: 180px;
	max-width: 100%;
	cursor: pointer;
}

.mk-explorer-field select:focus {
	outline: 2px solid #2d5a3f;
	outline-offset: 1px;
}

.mk-explorer {
	position: relative;
}

.mk-explorer-toggle {
	display: none;
	background: #1d2a22;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	margin-bottom: 12px;
}

.mk-explorer-map {
	position: relative;
	transition: opacity 0.2s ease;
}

.mk-explorer.is-switching .mk-explorer-map {
	opacity: 0.45;
	pointer-events: none;
}

/* Mobile : sélecteurs masqués derrière "Changer de carte", panneau
   par-dessus la carte, les deux inputs compacts côte à côte. */
@media (max-width: 782px) {
	.mk-map-zoom-hint {
		font-size: 12px;
		white-space: normal;
		text-align: center;
	}

	.mk-explorer-toggle {
		display: inline-block;
	}

	.mk-explorer-bar {
		display: none;
	}

	.mk-explorer.is-open .mk-explorer-bar {
		display: flex;
		flex-wrap: nowrap;
		gap: 10px;
		position: absolute;
		top: 56px;
		left: 10px;
		right: 10px;
		z-index: 30;
		background: #fff;
		border-radius: 14px;
		box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
		padding: 14px;
		margin: 0;
	}

	.mk-explorer.is-open .mk-explorer-field {
		flex: 1 1 0;
		min-width: 0;
	}

	.mk-explorer.is-open .mk-explorer-field select {
		width: 100%;
		min-width: 0;
	}
}

/* ---------- Plein écran ---------- */

.mk-map-fs-btn {
	display: block;
	width: 29px;
	height: 29px;
	padding: 0;
	border: none;
	background: none;
	cursor: pointer;
	color: #333;
}

.mk-map-fs-btn svg {
	display: block;
	margin: auto;
}

/* Overlay fixed plein viewport (pas l'API Fullscreen native : les panneaux
   attachés au body — fiche zone z-index 2000+, modales — doivent rester
   au-dessus, et iOS Safari n'a pas l'API sur les éléments). Défilement de la
   page gelé pendant le mode. Le !important bat la hauteur inline du
   shortcode. */
.mk-map-fs-lock,
.mk-map-fs-lock body {
	overflow: hidden;
}

.mk-map-fs-on {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	margin: 0;
	border-radius: 0;
	background: #fff;
}

.mk-map.mk-map-fs-on {
	height: 100% !important;
}

.mk-explorer.mk-map-fs-on {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	padding: 12px;
}

.mk-explorer.mk-map-fs-on .mk-explorer-map {
	flex: 1 1 auto;
	min-height: 0;
}

.mk-explorer.mk-map-fs-on .mk-map {
	height: 100% !important;
}

/* Plein écran = la carte seule : le calendrier « Indice de pousse pour la
   région » (bande insérée SOUS la carte) est masqué tant que le mode est
   actif — dans l'explorateur (la bande vit dans l'élément agrandi) comme en
   carte seule (bande adjacente). */
.mk-map-fs-on .mk-map-forecast,
.mk-map-fs-on + .mk-map-forecast {
	display: none;
}

.mk-map-error {
	color: #b32d2e;
}

/* ---------- Légende : barre dégradée arrondie ---------- */

.mk-map-legend {
	position: absolute;
	bottom: 12px;
	left: 12px;
	z-index: 5;
	background: rgba(255, 255, 255, 0.94);
	border-radius: 10px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	padding: 10px 12px;
	font-size: 12px;
	line-height: 1.3;
	color: #333;
	min-width: 160px;
}

.mk-map-legend-bar {
	height: 10px;
	border-radius: 999px;
	/* Synchroniser avec RAMP dans mk-map.js (jaune -> orange -> rouge). */
	background: linear-gradient(to right, #f9d923 0%, #f8b219 25%, #f28a16 45%, #ec5f1a 62%, #df3222 80%, #b81702 100%);
}

.mk-map-legend-scale {
	display: flex;
	justify-content: space-between;
	margin-top: 4px;
	color: #666;
}

/* Un seul bloc visible a la fois (probabilite ou indice), chacun titre. */
.mk-map-legend-title {
	margin-bottom: 5px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5f6f66;
	white-space: nowrap;
}

/* Indice de pousse : mêmes ancres que la palette des PNG de la grille
   (10 / 30 / 50 / 70 / 90 = milieux des classes INDEX_LEVELS de mk-map.js,
   bornes clampées). */
.mk-map-legend-bar--index {
	background: linear-gradient(to right, #d93025 0%, #d93025 10%, #f28a16 30%, #f0c419 50%, #63a842 70%, #1fd35b 90%, #1fd35b 100%);
}

.mk-map-legend-scale--index {
	font-variant-numeric: tabular-nums;
}

/* ---------- Filtre des zones par palier ---------- */

.mk-map-filter-btn {
	position: relative;
	background: #fff;
	color: #1d2a22;
}

.mk-map-filter-btn:hover {
	background: #f1efe8;
}

.mk-map-filter-btn.is-active {
	background: #2d5a3f;
	color: #fff;
}

.mk-map-filter-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #c98a2b;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	font-style: normal;
}

.mk-map-filter {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 6;
	width: min(260px, calc(100% - 24px));
	max-height: calc(100% - 24px);
	overflow-y: auto;
	background: #fdfcf9;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
	padding: 12px 14px;
	font-size: 13px;
	color: #333;
}

.mk-map-filter-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.mk-map-filter-close {
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: #666;
	cursor: pointer;
	padding: 0 2px;
}

.mk-map-filter-close:hover {
	color: #1d2a22;
}

.mk-map-filter-tools {
	display: flex;
	gap: 6px;
	margin-bottom: 8px;
}

.mk-map-filter-tools button {
	background: #f1efe8;
	border: none;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 12px;
	font-family: inherit;
	color: #2d5a3f;
	cursor: pointer;
}

.mk-map-filter-tools button:hover {
	background: #e4e1d6;
}

.mk-map-filter-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mk-map-filter-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 2px;
	cursor: pointer;
	border-radius: 6px;
}

.mk-map-filter-row:hover {
	background: #f1efe8;
}

.mk-map-filter-row input {
	margin: 0;
	accent-color: #2d5a3f;
}

.mk-map-filter-row i {
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 3px;
}

.mk-map-filter-empty {
	margin: 8px 0 0;
	font-size: 12px;
	color: #b81702;
}

/* ---------- Chargement "scientifique" ---------- */

.mk-map-loading {
	position: absolute;
	inset: 0;
	z-index: 7;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px;
	background: rgba(228, 227, 222, 0.72);
	backdrop-filter: blur(1.5px);
	transition: opacity 0.6s ease;
}

.mk-map-loading.is-out {
	opacity: 0;
	pointer-events: none;
}

.mk-map-loading-box {
	background: rgba(255, 255, 255, 0.96);
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
	padding: 18px 22px;
	width: min(420px, 90%);
}

.mk-map-loading-phrase {
	font-size: 13px;
	font-weight: 500;
	color: #24312a;
	min-height: 1.4em;
	margin-bottom: 10px;
	font-variant-numeric: tabular-nums;
}

.mk-map-loading-phrase.is-in {
	animation: mk-phrase-in 0.35s ease;
}

@keyframes mk-phrase-in {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.mk-map-loading-bar {
	height: 8px;
	border-radius: 999px;
	background: #e8e5dc;
	overflow: hidden;
}

.mk-map-loading-fill {
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: linear-gradient(to right, #2d5a3f, #4a8862);
	transition: width 0.25s ease;
}

.mk-map.is-loading .mk-map-demo-chip,
.mk-map.is-loading .mk-map-legend {
	display: none;
}

/* ---------- Panneau bas (fiche zone) ---------- */

.mk-map-sheet {
	/* Premier plan du site : fixé au viewport, au-dessus de tout (header
	   du thème compris), jamais rogné par la carte. */
	position: fixed;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2000;
	width: min(440px, calc(100% - 16px));
	max-height: min(86vh, calc(100vh - 24px));
	overflow-y: auto;
	background: #fdfcf9;
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.35);
	padding: 10px 20px 20px;
	animation: mk-sheet-up 0.3s ease;
}

@keyframes mk-sheet-up {
	from {
		transform: translate(-50%, 30%);
		opacity: 0;
	}
	to {
		transform: translate(-50%, 0);
		opacity: 1;
	}
}

.mk-map-sheet-handle {
	width: 42px;
	height: 4px;
	border-radius: 999px;
	background: #d8d4c8;
	margin: 2px auto 12px;
}

/* ---------- Fiche détaillée plein écran (conditions temps réel) ---------- */

.mk-map-detail {
	position: fixed;
	inset: 0;
	z-index: 2100;
	overflow-y: auto;
	background: #fdfcf9;
	padding: 16px max(20px, calc((100vw - 560px) / 2)) 48px;
	animation: mk-detail-in 0.3s ease;
}

@keyframes mk-detail-in {
	from {
		transform: translateY(6%);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}

.mk-map-detail-title {
	margin: 2px 0 6px;
	font-size: 22px;
	line-height: 1.2;
	color: #1d2a22;
}

/* ---------- En-tête de la fiche : retour, titre, méta, actions ---------- */

.mk-map-detail-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 6px 0;
	margin-bottom: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #2d5a3f;
	cursor: pointer;
}

.mk-map-detail-back:hover {
	color: #1d2a22;
}

.mk-map-detail-meta {
	font-size: 12.5px;
	color: #6d6b60;
	margin: 0 0 12px;
	line-height: 1.5;
}

.mk-map-detail-meta span {
	color: #b6b2a4;
	margin: 0 2px;
}

.mk-map-detail-actions {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
}

.mk-map-detail-action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: #fff;
	border: 1.5px solid #d8d4c8;
	border-radius: 9px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	color: #1d2a22;
	cursor: pointer;
}

.mk-map-detail-action:hover {
	background: #f3efe6;
}

.mk-map-detail-action--dark {
	background: #1d2a22;
	border-color: #1d2a22;
	color: #fff;
}

.mk-map-detail-action--dark:hover {
	background: #2d5a3f;
	border-color: #2d5a3f;
}

.mk-map-detail-save.is-saved {
	background: #2d5a3f;
	border-color: #2d5a3f;
	color: #fff;
}

/* ---------- Sections génériques de la fiche ---------- */

.mk-map-detail-section {
	margin-top: 14px;
}

.mk-map-detail-section-title {
	font-size: 15px;
	font-weight: 700;
	color: #1d2a22;
	padding-bottom: 8px;
	border-bottom: 1px solid #e8e4d8;
	margin-bottom: 12px;
}

/* ---------- Facteurs environnementaux : jauges ---------- */

.mk-sheet-factor {
	margin-bottom: 14px;
}

.mk-sheet-factor:last-child {
	margin-bottom: 0;
}

.mk-sheet-factor-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 7px;
}

.mk-sheet-factor-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a887e;
}

.mk-sheet-factor-value {
	font-size: 15px;
	font-weight: 800;
	color: #1d2a22;
}

.mk-sheet-factor-track {
	position: relative;
	height: 5px;
	border-radius: 999px;
	background: linear-gradient(to right, #e4ddcd, #d8d0ba);
}

.mk-sheet-factor-cursor {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 13px;
	height: 13px;
	border-radius: 999px;
	background: #ec5f1a;
	border: 2.5px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.mk-sheet-factor-scale {
	display: flex;
	justify-content: space-between;
	margin-top: 5px;
	font-size: 10px;
	font-weight: 600;
	color: #a09d92;
}

/* ---------- Meilleurs jours à venir ---------- */

.mk-sheet-day {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #f3efe6;
	border: 1.5px solid transparent;
	border-radius: 12px;
	padding: 11px 14px;
	margin-bottom: 8px;
}

.mk-sheet-day:last-child {
	margin-bottom: 0;
}

.mk-sheet-day.is-best {
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.mk-sheet-day-kicker {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #c98a2b;
}

.mk-sheet-day-date {
	font-size: 14px;
	font-weight: 600;
	color: #1d2a22;
	margin-top: 1px;
}

.mk-sheet-day-note {
	font-size: 11px;
	font-weight: 600;
	color: #2d8a4f;
	margin-top: 2px;
}

.mk-sheet-day-value {
	font-size: 24px;
	font-weight: 800;
}

/* ---------- Carte d'identité de l'espèce recherchée ---------- */

.mk-sheet-carousel {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: #e8e4d8;
}

.mk-sheet-carousel-img {
	display: block;
	width: 100%;
	height: 230px;
	object-fit: cover;
}

.mk-sheet-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
	color: #1d2a22;
	font-size: 19px;
	line-height: 1;
	cursor: pointer;
	padding: 0 0 2px;
}

.mk-sheet-carousel-prev {
	left: 10px;
}

.mk-sheet-carousel-next {
	right: 10px;
}

.mk-sheet-carousel-arrow:hover {
	background: #fff;
}

.mk-sheet-carousel-dots {
	position: absolute;
	bottom: 9px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 5px;
}

.mk-sheet-carousel-dot {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
}

.mk-sheet-carousel-dot.is-on {
	background: #fff;
}

.mk-map-detail-species-name {
	margin: 12px 0 6px;
	font-size: 16px;
	color: #1d2a22;
}

.mk-map-detail-species-name em {
	font-weight: 400;
	color: #6d6b60;
}

.mk-map-detail-species-text {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: #43503f;
}

.mk-map-sheet-close {
	/* Sticky (et non absolute) : la croix reste accessible pendant le
	   défilement du panneau — en absolu elle partait avec le contenu et le
	   panneau devenait impossible à fermer une fois défilé. */
	position: sticky;
	top: 10px;
	display: block;
	margin: -4px -6px -26px auto;
	z-index: 10;
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 999px;
	background: #efece3;
	color: #24312a;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.mk-map-sheet-close:hover {
	background: #e3dfd3;
}

.mk-map-sheet-kicker {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #8a887e;
}

.mk-map-sheet-title {
	margin: 2px 0 14px;
	font-size: 21px;
	line-height: 1.2;
	color: #1d2a22;
}

.mk-map-sheet-prob {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #f3efe6;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 10px;
}

.mk-map-sheet-prob-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #6d6b60;
}

.mk-map-sheet-badge {
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 7px;
	padding: 5px 11px;
}

.mk-map-sheet-badge--moyenne,
.mk-map-sheet-badge--dark {
	color: #4a3b00;
}

.mk-map-sheet-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.mk-map-sheet-tile {
	background: #f3efe6;
	border-radius: 10px;
	padding: 10px 14px;
}

.mk-map-sheet-tile:nth-child(odd):last-child {
	grid-column: 1 / -1;
}

.mk-map-sheet-tile-label {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #8a887e;
	margin-bottom: 3px;
}

.mk-map-sheet-tile-value {
	font-size: 14px;
	font-weight: 600;
	color: #1d2a22;
	line-height: 1.3;
}

/* « Voir plus » : déplie le reste des caractéristiques (4 affichées d'abord). */
.mk-map-sheet-more {
	grid-column: 1 / -1;
	background: none;
	border: 1.5px dashed #d8d4c8;
	border-radius: 10px;
	padding: 9px 12px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #2d5a3f;
	cursor: pointer;
}

.mk-map-sheet-more:hover {
	border-color: #2d5a3f;
	background: #f3efe6;
}

/* Note facultative à la sauvegarde d'un spot. */
.mk-map-sheet-spot-note {
	margin-top: 8px;
	padding: 12px 14px;
	background: #f7f4ec;
	border: 1px solid #e6e1d4;
	border-radius: 12px;
}

.mk-map-sheet-spot-note-text {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 64px;
	resize: vertical;
	background: #fff;
	border: 1.5px solid #d8d4c8;
	border-radius: 10px;
	padding: 9px 12px;
	margin-bottom: 10px;
	font-family: inherit;
	font-size: 13.5px;
	line-height: 1.5;
	color: #24312a;
}

.mk-map-sheet-spot-note-text:focus-visible {
	outline: none;
	border-color: #2d5a3f;
}

/* Note personnelle affichée dans le panneau d'une prise / d'un spot. */
.mk-user-sheet-note {
	margin: 10px 0 0;
	padding: 10px 12px;
	background: #f7f4ec;
	border-radius: 10px;
	font-size: 13px;
	font-style: italic;
	line-height: 1.5;
	color: #43503f;
}

.mk-spot-note-label {
	margin-top: 12px;
}

.mk-map-sheet-index {
	position: relative;
	text-align: center;
	background: #f3efe6;
	border-radius: 10px;
	padding: 14px 14px 16px;
	margin-top: 8px;
}

/* Le "i" centré verticalement avec le libellé du kicker. */
.mk-map-sheet-index > .mk-map-sheet-kicker {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.mk-map-sheet-index .mk-map-sheet-info {
	margin-left: 0;
	vertical-align: 0;
}

.mk-map-sheet-index-value {
	/* Couleur définie inline selon le niveau (rouge -> vert). */
	font-size: 38px;
	font-weight: 800;
	line-height: 1.1;
	margin: 4px 0 8px;
}

.mk-map-sheet-index-value span {
	font-size: 17px;
	font-weight: 600;
	color: #8a887e;
	margin-left: 2px;
}

.mk-map-sheet-index-chip {
	/* Fond et texte définis inline selon le niveau. */
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 5px 12px;
}

/* ---------- Alertes de pousse : bouton + jauge de seuil ---------- */

.mk-map-sheet-alert {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed #ded9cb;
}

.mk-map-sheet-alert-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	background: none;
	border: 1.5px solid #1d2a22;
	border-radius: 10px;
	color: #1d2a22;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
}

.mk-map-sheet-alert-toggle:hover {
	background: #1d2a22;
	color: #fff;
}

.mk-map-sheet-alert-toggle.is-on {
	background: #eaf1ec;
	border-color: #2d5a3f;
	color: #2d5a3f;
}

.mk-map-sheet-alert-toggle.is-on:hover {
	background: #2d5a3f;
	color: #fff;
}

.mk-map-sheet-alert-panel {
	margin-top: 12px;
}

.mk-map-sheet-alert-hint {
	margin: 0 0 10px;
	font-size: 12px;
	line-height: 1.5;
	color: #5f6f66;
}

/* Jauge : piste dégradée rouge -> vert, même échelle que INDEX_LEVELS dans
   mk-map.js (garder synchro), curseur rond blanc. */
.mk-map-sheet-alert-range {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	width: 100%;
	height: 10px;
	border-radius: 999px;
	background: linear-gradient(to right, #d93025 0%, #f28a16 30%, #f0c419 50%, #63a842 70%, #1fd35b 100%);
	outline: none;
	cursor: pointer;
	margin: 2px 0 10px;
}

.mk-map-sheet-alert-range:focus-visible {
	outline: 2px solid #2d5a3f;
	outline-offset: 3px;
}

.mk-map-sheet-alert-range::-webkit-slider-thumb {
	appearance: none;
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: #fff;
	border: 2.5px solid #1d2a22;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
	cursor: grab;
}

.mk-map-sheet-alert-range::-moz-range-thumb {
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: #fff;
	border: 2.5px solid #1d2a22;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
	cursor: grab;
}

.mk-map-sheet-alert-value {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
	margin-bottom: 12px;
	font-variant-numeric: tabular-nums;
}

.mk-map-sheet-alert-value strong {
	/* Couleur définie inline selon le niveau du seuil. */
	font-size: 17px;
	font-weight: 800;
}

.mk-map-sheet-alert-value span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mk-map-sheet-alert-actions {
	display: flex;
	gap: 8px;
}

.mk-map-sheet-alert-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	border: none;
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
}

.mk-map-sheet-alert-btn--primary {
	background: #1d2a22;
	color: #fff;
}

.mk-map-sheet-alert-btn--primary:hover {
	background: #2d5a3f;
	color: #fff;
}

.mk-map-sheet-alert-btn--ghost {
	flex: 0 0 auto;
	background: none;
	border: 1.5px solid #b32d2e;
	color: #b32d2e;
	padding-inline: 14px;
}

.mk-map-sheet-alert-btn--ghost:hover {
	background: #b32d2e;
	color: #fff;
}

.mk-map-sheet-alert-btn[disabled] {
	opacity: 0.45;
	cursor: default;
	pointer-events: none;
}

.mk-map-sheet-alert-error {
	margin: 10px 0 0;
	font-size: 12px;
	font-weight: 600;
	color: #b32d2e;
}

.mk-map-sheet-info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-left: 7px;
	border: 1.5px solid #a09d92;
	border-radius: 999px;
	background: none;
	color: #a09d92;
	font-size: 10px;
	font-weight: 700;
	font-style: italic;
	font-family: Georgia, serif;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	vertical-align: -3px;
}

.mk-map-sheet-info:hover {
	border-color: #1d2a22;
	color: #1d2a22;
}

/* Bulle d'aide : posée dans le kicker, donc ancrée juste dessous et
   sortie du flux — elle se superpose au contenu au lieu de le pousser. */
.mk-map-sheet-info-pop {
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	z-index: 6;
	width: max-content;
	max-width: min(320px, calc(100vw - 56px));
	background: #1d2a22;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.5;
	text-transform: none;
	letter-spacing: normal;
	border-radius: 8px;
	padding: 10px 13px;
	text-align: left;
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
}

/* Porteurs de bulle : repère de positionnement. */
.mk-map-sheet-kicker,
.mk-map-forecast-title {
	position: relative;
}

.mk-map-sheet-index-loader {
	padding: 10px 0 8px;
}

.mk-map-sheet-index-loader-phrase {
	font-size: 12px;
	font-weight: 500;
	color: #5f6f66;
	min-height: 1.4em;
	margin-bottom: 9px;
}

.mk-map-sheet-index-loader-phrase.is-in {
	animation: mk-phrase-in 0.35s ease;
}

.mk-map-sheet-index-loader-bar {
	height: 6px;
	max-width: 220px;
	margin: 0 auto;
	border-radius: 999px;
	background: #e8e5dc;
	overflow: hidden;
}

.mk-map-sheet-index-loader-bar span {
	display: block;
	height: 100%;
	width: 40%;
	border-radius: 999px;
	background: linear-gradient(to right, #2d5a3f, #4a8862);
	animation: mk-loader-slide 1.1s ease-in-out infinite;
}

@keyframes mk-loader-slide {
	from {
		transform: translateX(-110%);
	}
	to {
		transform: translateX(320%);
	}
}

/* Construction progressive de la courbe de tendance. */
.mk-trend-seg {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 0.22s ease-out;
}

.mk-trend-seg.is-on {
	stroke-dashoffset: 0;
}

.mk-trend-dot {
	opacity: 0;
	transition: opacity 0.18s ease;
}

.mk-trend-dot.is-on {
	opacity: 1;
}

.mk-map-sheet-trend {
	background: #f3efe6;
	border-radius: 10px;
	padding: 12px 14px;
	margin-top: 8px;
}

.mk-map-sheet-trend-body {
	position: relative;
}

.mk-map-sheet-spark {
	display: block;
	width: 100%;
	height: 96px;
	margin-top: 8px;
}

.mk-trend-hit {
	cursor: pointer;
}

.mk-trend-tip {
	position: absolute;
	transform: translate(-50%, -130%);
	display: flex;
	align-items: center;
	gap: 8px;
	background: #1d2a22;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	border-radius: 7px;
	padding: 7px 11px;
	white-space: nowrap;
	pointer-events: none;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
	z-index: 3;
}

.mk-trend-tip-date {
	color: #cfdbd3;
	font-weight: 500;
}

.mk-trend-tip strong {
	font-size: 13px;
	font-weight: 800;
}

.mk-map-sheet-spark-axis {
	display: flex;
	justify-content: space-between;
	margin-top: 4px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #8a887e;
}

/* ---------- Conditions du lieu-dit (point exact cliqué) ---------- */

.mk-map-sheet-local {
	position: relative;
	margin-top: 14px;
	padding: 12px 14px;
	background: #f7f4ec;
	border: 1px solid #e6e1d4;
	border-radius: 14px;
}

.mk-local-place {
	margin-top: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #5c6b60;
}

.mk-local-now {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 8px 0 10px;
}

.mk-local-emoji {
	font-size: 24px;
	line-height: 1;
}

.mk-local-temp {
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
	color: #1d2a22;
}

.mk-local-cond {
	font-size: 13px;
	color: #6b6a62;
}

/* Tuiles plus serrées et plus claires que la grille du panneau : le bloc a
   déjà son propre fond, deux beiges identiques se confondraient. */
.mk-local-grid {
	gap: 6px;
}

.mk-local-grid .mk-map-sheet-tile {
	background: #fdfcf9;
	padding: 8px 12px;
}

/* Boutons d'action du panneau. Un <button> ne s'étire pas en display:block
   (largeur = son contenu) alors qu'un <a> oui : d'où des boutons de largeurs
   différentes dans la pile. Le flex + width:100% les remet au même gabarit,
   la bordure transparente leur donne la même hauteur que les contours, et
   l'icône est centrée sur la ligne de texte. */
.mk-map-sheet-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	margin-top: 8px;
	padding: 12px 16px;
	border: 1.5px solid transparent;
	border-radius: 12px;
	background: #1d2a22;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* display:flex l'emporte sur le display:none de [hidden] : à rétablir,
   sinon le bouton Itinéraire reste visible sans point cliqué. */
.mk-map-sheet-cta[hidden] {
	display: none;
}

.mk-map-sheet-cta svg {
	flex: none;
	width: 16px;
	height: 16px;
}

.mk-map-sheet-cta:hover {
	background: #2d5a3f;
	color: #fff;
}

.mk-map-sheet-cta:focus-visible {
	outline: 2px solid #2d5a3f;
	outline-offset: 2px;
}

.mk-map-sheet-cta:disabled {
	opacity: 0.55;
	cursor: default;
}

/* Le bouton temps réel clôt le bloc indice : un cran de respiration. */
.mk-map-sheet-realtime {
	margin-top: 14px;
}

.mk-map-sheet-cta--accent {
	background: #c98a2b;
	border-color: #c98a2b;
}

.mk-map-sheet-cta--accent:hover {
	background: #b47a20;
	border-color: #b47a20;
}

/* Actions secondaires : contour discret plutôt qu'un trait sombre, pour ne
   pas concurrencer le bouton principal quand elles sont empilées. */
.mk-map-sheet-cta--outline {
	background: none;
	border-color: #d8d4c8;
	color: #1d2a22;
}

.mk-map-sheet-cta--outline:hover {
	background: #1d2a22;
	border-color: #1d2a22;
	color: #fff;
}

/* Spot déjà sauvegardé : coche + vert. Un clic de plus le retire. */
.mk-map-sheet-spot.is-saved {
	background: #edf4ee;
	border-color: #2d5a3f;
	color: #2d5a3f;
}

.mk-map-sheet-spot.is-saved:hover {
	background: #2d5a3f;
	border-color: #2d5a3f;
	color: #fff;
}

/* ---------- Invite au zoom ---------- */

/* En bas à gauche, juste au-dessus de la légende (décision 31/08/2026 —
   le haut de la carte reste à la pastille démo et aux contrôles). */
.mk-map-zoom-hint {
	position: absolute;
	bottom: 104px;
	left: 12px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(29, 42, 34, 0.88);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	border-radius: 999px;
	padding: 9px 16px;
	pointer-events: none;
	white-space: nowrap;
	max-width: calc(100% - 24px);
}

/* ---------- Mode « choisir sur la carte » (spot/prise) ----------
   La modale appelante est cachée et la carte reste seule à l'écran : boutons,
   pastilles de jour, filtre, légende, invite de zoom, pastille démo et
   contrôles MapLibre (zoom, plein écran, géolocalisation, échelle)
   disparaissent — seule l'attribution reste. Le panneau bas et la fiche
   détaillée, fixés au viewport hors de la carte, sont masqués via <html>. */
.mk-map.is-picking .mk-map-actions,
.mk-map.is-picking .mk-map-filter,
.mk-map.is-picking .mk-map-legend,
.mk-map.is-picking .mk-map-zoom-hint,
.mk-map.is-picking .mk-map-demo-chip,
.mk-map.is-picking .maplibregl-ctrl-top-right,
.mk-map.is-picking .maplibregl-ctrl-scale {
	display: none !important;
}

.mk-map-picking .mk-map-sheet,
.mk-map-picking .mk-map-detail {
	visibility: hidden !important;
}

/* Carte de consigne en haut : épingle, titre + consigne, bouton Annuler.
   Centrée par marges auto (pas de transform : l'animation d'entrée en pose un). */
.mk-map-pick-banner {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	z-index: 6;
	width: min(420px, calc(100% - 24px));
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(253, 252, 249, 0.97);
	color: #1d2a22;
	border-radius: 14px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
	padding: 12px 12px 12px 14px;
	animation: mk-pick-in 0.25s ease;
}

@keyframes mk-pick-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.mk-map-pick-icon {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #eaf1ec;
	color: #2d5a3f;
}

.mk-map-pick-icon svg {
	width: 20px;
	height: 20px;
}

.mk-map-pick-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mk-map-pick-text strong {
	font-size: 14px;
	line-height: 1.25;
}

.mk-map-pick-text span {
	font-size: 12.5px;
	line-height: 1.4;
	color: #5f6f66;
}

.mk-map-pick-banner button {
	flex: none;
	border: 1.5px solid #1d2a22;
	border-radius: 999px;
	background: none;
	color: #1d2a22;
	font: inherit;
	font-size: 12.5px;
	font-weight: 600;
	padding: 7px 14px;
	cursor: pointer;
}

.mk-map-pick-banner button:hover {
	background: #1d2a22;
	color: #fff;
}

/* ---------- Floutage teaser (démo) ----------
   Les données restent dans le DOM (la démo est publique) : le flou est un
   levier marketing, pas une protection. */

.mk-map-blur {
	filter: blur(5px);
	user-select: none;
	pointer-events: none;
}

/* Fiche détaillée en démo : pas de bouton Sauvegarder (cohérent avec la
   carte sans boutons spot/prise ; masqué en CSS, le JS le référence). */
.mk-map-detail--demo .mk-map-detail-save {
	display: none;
}

/* Fiche détaillée en démo : tout ce qui suit le titre « Meilleurs jours à
   venir » est flouté (le titre reste net). */
.mk-map-detail--demo .mk-map-detail-days-body,
.mk-map-detail--demo .mk-map-detail-factors,
.mk-map-detail--demo .mk-map-sheet-trend,
.mk-map-detail--demo .mk-map-detail-species {
	filter: blur(6px);
	user-select: none;
	pointer-events: none;
}

/* ---------- Bandeau prévision jour par jour ---------- */

.mk-map-forecast {
	position: relative;
	margin-top: 16px;
}

.mk-map-forecast-title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: #5f6f66;
	margin-bottom: 2px;
}

.mk-map-forecast-info {
	flex: none;
	margin-left: 0;
	vertical-align: 0;
}

.mk-map-forecast-note {
	font-size: 11px;
	line-height: 1.45;
	color: #8a887e;
	margin: 0 0 6px;
	max-width: 640px;
}

/* Bandeau : la bulle doit passer au-dessus des cartes du calendrier. */
.mk-map-forecast-info-pop {
	z-index: 30;
}

.mk-map-forecast-scroller {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.mk-map-forecast-row {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 4px 2px;
	flex: 1;
	/* Enfant flex : sans min-width 0 il refuse de rétrécir et élargit toute
	   la page (le template carte ne le voyait pas, son body est en
	   overflow hidden — la page démo, elle, débordait à droite). */
	min-width: 0;
}

.mk-map-forecast-row::-webkit-scrollbar {
	display: none;
}

.mk-map-forecast-card {
	flex: none;
	min-width: 116px;
	background: #f3efe6;
	border: 1.5px solid transparent;
	border-radius: 12px;
	padding: 8px 12px 9px;
	text-align: center;
}

.mk-map-forecast-card.is-today {
	background: #fff;
	border-color: #ec5f1a;
	box-shadow: 0 4px 14px rgba(236, 95, 26, 0.22);
	transform: translateY(-2px);
}

/* Tête de carte : jour / météo / indice. En bandeau horizontal (mobile,
   embeds) tout est empilé et centré ; le template carte desktop passe la
   tête en ligne (voir style.css du thème). */
.mk-map-forecast-card-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin-bottom: 5px;
}

.mk-map-forecast-card-day {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #8a887e;
	white-space: nowrap;
}

.mk-map-forecast-card-day span {
	margin-left: 4px;
	font-weight: 600;
	color: #a49f91;
}

.mk-map-forecast-card-wx {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	line-height: 1.2;
}

.mk-map-forecast-card-wx-main {
	font-size: 11px;
	font-weight: 600;
	color: #55503f;
	white-space: nowrap;
}

.mk-map-forecast-card-wx-emoji {
	font-size: 13px;
	font-style: normal;
}

.mk-map-forecast-card-wx-rain {
	font-size: 9px;
	font-weight: 600;
	color: #8a887e;
	white-space: nowrap;
}

.mk-map-forecast-card-idx {
	white-space: nowrap;
}

.mk-map-forecast-card-bar {
	height: 4px;
	border-radius: 999px;
	background: #e4ddcd;
	overflow: hidden;
}

.mk-map-forecast-card-bar span {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: #ec5f1a;
}

.mk-map-forecast-card-value {
	/* Couleur définie inline selon le niveau (rouge -> vert). */
	font-size: 15px;
	font-weight: 800;
}

.mk-map-forecast-card-label {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #8a887e;
	margin-left: 4px;
	white-space: nowrap;
}

.mk-map-forecast-arrow {
	flex: none;
	align-self: center;
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
	color: #1d2a22;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0 0 2px;
}

.mk-map-forecast-arrow:hover {
	background: #f3efe6;
}

/* ---------- Pastille démo ---------- */

/* Bouton seul (le libellé « Zone de démonstration » a été retiré) : le
   conteneur ne sert plus qu'au positionnement, la pilule est le lien. */
.mk-map-demo-chip {
	position: absolute;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 6;
	font-size: 13px;
	white-space: nowrap;
	max-width: calc(100% - 24px);
}

.mk-map-demo-chip a {
	display: inline-block;
	background: #c98a2b;
	color: #fff;
	border-radius: 999px;
	padding: 8px 16px;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.mk-map-demo-chip a:hover {
	background: #b47a20;
	color: #fff;
}

/* ---------- Teaser verrouillé ---------- */

.mk-map-lock {
	position: absolute;
	inset: 0;
	z-index: 6;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: linear-gradient(rgba(18, 30, 24, 0.25), rgba(18, 30, 24, 0.5));
}

.mk-map-lock-card {
	background: #fff;
	border-radius: 12px;
	padding: 28px 32px;
	text-align: center;
	max-width: 360px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
	color: #24312a;
}

.mk-map-lock-icon {
	color: #2d5a3f;
	margin-bottom: 6px;
}

.mk-map-lock-title {
	margin: 0 0 6px;
	font-size: 18px;
}

.mk-map-lock-text {
	margin: 0 0 16px;
	font-size: 14px;
	color: #5f6f66;
}

/* Repli si le thème ne fournit pas .mk-button. */
.mk-map-lock-cta.mk-button {
	display: inline-block;
	background: #c98a2b;
	color: #fff;
	padding: 10px 22px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
}

.mk-map-lock-cta.mk-button:hover {
	background: #b47a20;
	color: #fff;
}

/* ---------- Spots & prises : boutons carte + modales parcours ---------- */

/* Pile des deux entrées en haut à gauche de la carte. */
.mk-map-actions {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	max-width: calc(100% - 24px);
}

.mk-map.is-loading .mk-map-actions {
	display: none;
}

.mk-map-spot-btn {
	display: flex;
	align-items: center;
	gap: 7px;
	background: #1d2a22;
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 9px 16px;
	font-size: 13px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
	max-width: 100%;
	white-space: nowrap;
}

.mk-map-spot-btn:hover {
	background: #2d5a3f;
}

/* « Ajouter une prise » : accent ambre, distinct du spot. */
.mk-map-spot-btn--catch {
	background: #c98a2b;
}

.mk-map-spot-btn--catch:hover {
	background: #b47a20;
}

/* ---------- Calque d'indice de pousse : pastilles de jour ---------- */

/* Pile [pastilles + message] en tête des actions. Le calque lui-même n'a pas
   de bouton : il est visible sous le zoom d'apparition des carrés et se fond
   ensuite (opacités interpolées sur le zoom dans mk-map.js). */
.mk-map-growth {
	position: relative;
	display: grid;
	max-width: 100%;
}

/* Zoomé sur les carrés : les pastilles s'effacent et laissent la place à un
   encart compact dans la même pile (icône « dézoomer » + message sur deux
   lignes). Avant : calque posé par-dessus les pastilles, dont le texte de
   trois lignes débordait sur les boutons du dessous. */
.mk-map-days.is-disabled {
	display: none;
}

.mk-map-days-hint {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	max-width: min(300px, 100%);
	padding: 8px 12px 8px 10px;
	background: rgba(255, 255, 255, 0.94);
	border-radius: 12px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.35;
	color: #1d2a22;
}

/* display:flex l'emporterait sur le display:none de [hidden]. */
.mk-map-days-hint[hidden] {
	display: none;
}

.mk-map-days-hint::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 1px;
	background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5a3f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='7'/%3E%3Cpath d='M7.5 10.5h6M15.8 15.8 21 21'/%3E%3C/svg%3E") no-repeat center / contain;
}

.mk-map-days button:focus-visible {
	outline: 2px solid #2d5a3f;
	outline-offset: 1px;
}

/* Pastilles J0…J6 (jour de semaine + numéro), visibles hors mode Potentiel. */
.mk-map-days {
	display: flex;
	gap: 4px;
	max-width: 100%;
	padding: 3px;
	background: rgba(255, 255, 255, 0.94);
	border-radius: 12px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.mk-map-days button {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 34px;
	height: 38px;
	padding: 0;
	border: none;
	border-radius: 9px;
	background: transparent;
	font-family: inherit;
	color: #1d2a22;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.mk-map-days button span {
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8a887e;
}

.mk-map-days button b {
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.mk-map-days button:hover {
	background: #f1efe8;
}

/* Aujourd'hui : anneau vert tant que la pastille n'est pas sélectionnée. */
.mk-map-days button.is-today {
	box-shadow: inset 0 0 0 1.5px #2d5a3f;
}

.mk-map-days button.is-today span {
	color: #2d5a3f;
}

.mk-map-days button.is-active,
.mk-map-days button.is-active:hover {
	background: #2d5a3f;
	color: #fff;
	box-shadow: none;
}

.mk-map-days button.is-active span {
	color: rgba(255, 255, 255, 0.78);
}

/* Jour sans image (PNG absent) : pastille inerte. */
.mk-map-days button:disabled {
	opacity: 0.35;
	cursor: default;
	background: transparent;
}

/* Mobile : segments 11 px, pastilles 30 × 34 (7 pastilles ≈ 235 px, sous
   les 336 px disponibles à 360 px de large). */
@media (max-width: 600px) {

	.mk-map-days {
		gap: 3px;
	}

	.mk-map-days button {
		width: 30px;
		height: 34px;
	}

	.mk-map-days button b {
		font-size: 13px;
	}
}

.mk-spot-modal {
	/* Au-dessus du panneau zone (2000) ET de la fiche plein écran (2100). */
	position: fixed;
	inset: 0;
	z-index: 2200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.mk-spot-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(18, 30, 24, 0.55);
	backdrop-filter: blur(1.5px);
}

.mk-spot-dialog {
	position: relative;
	width: min(430px, 100%);
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: #fdfcf9;
	border-radius: 18px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
	padding: 20px 20px 18px;
	animation: mk-spot-in 0.25s ease;
}

@keyframes mk-spot-in {
	from {
		opacity: 0;
		transform: translateY(14px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Mobile : la modale devient une feuille collée en bas, comme le panneau. */
@media (max-width: 600px) {
	.mk-spot-modal {
		align-items: flex-end;
		padding: 0;
	}

	.mk-spot-dialog {
		width: 100%;
		border-radius: 18px 18px 0 0;
		max-height: 86vh;
	}
}

.mk-spot-title {
	margin: 2px 24px 12px 0;
	font-size: 20px;
	line-height: 1.2;
	color: #1d2a22;
}

.mk-spot-hint {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: #5f6f66;
}

.mk-spot-action {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	border: none;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
}

.mk-spot-action--primary {
	background: #1d2a22;
	color: #fff;
}

.mk-spot-action--primary:hover {
	background: #2d5a3f;
	color: #fff;
}

.mk-spot-action--ghost {
	background: none;
	border: 1.5px solid #1d2a22;
	color: #1d2a22;
}

.mk-spot-action--ghost:hover {
	background: #1d2a22;
	color: #fff;
}

.mk-spot-action[disabled] {
	opacity: 0.45;
	cursor: default;
	pointer-events: none;
}

/* Boutons empilés dans le corps d'une modale (Me géolocaliser / Choisir sur
   la carte, Mettre à jour ma position…) : un peu d'air entre eux. */
.mk-spot-body > .mk-spot-action + .mk-spot-action {
	margin-top: 8px;
}

.mk-spot-loc {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #f3efe6;
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 10px;
	color: #2d5a3f;
}

.mk-spot-loc strong {
	display: block;
	font-size: 14px;
	color: #1d2a22;
}

.mk-spot-loc-coords {
	font-size: 12px;
	color: #8a887e;
	font-variant-numeric: tabular-nums;
}

.mk-spot-status {
	margin: 10px 0 0;
	font-size: 12px;
	color: #5f6f66;
}

.mk-spot-status.is-error {
	color: #b32d2e;
}

.mk-spot-species {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #f3efe6;
	border-radius: 10px;
	padding: 10px 14px;
	margin-bottom: 8px;
}

.mk-spot-species-name {
	font-size: 14px;
	font-weight: 600;
	color: #1d2a22;
}

.mk-spot-stepper {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mk-spot-stepper button {
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
	color: #1d2a22;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.mk-spot-stepper button:hover {
	background: #1d2a22;
	color: #fff;
}

.mk-spot-count {
	min-width: 22px;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: #1d2a22;
	font-variant-numeric: tabular-nums;
}

.mk-spot-when {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #e0dcd0;
	border-radius: 9px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	font-family: inherit;
	color: #1d2a22;
}

.mk-spot-when:focus {
	outline: 2px solid #2d5a3f;
	outline-offset: 1px;
}

/* Rappel : les conditions du jour + 14 jours sont capturées automatiquement. */
.mk-spot-note {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	background: #eaf1ec;
	color: #2d5a3f;
	border-radius: 10px;
	padding: 11px 13px;
	font-size: 12px;
	line-height: 1.5;
	margin-top: 12px;
}

/* Chips d'habitat (saisie facultative : modal prise, sauvegarde de spot). */
.mk-spot-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 8px;
}

.mk-spot-chip {
	border: 1px solid rgba(29, 42, 34, 0.3);
	background: #f7f3e6;
	color: #1d2a22;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12.5px;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.3;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.mk-spot-chip:hover {
	border-color: #1d2a22;
}

.mk-spot-chip.is-on {
	background: #1d2a22;
	border-color: #1d2a22;
	color: #fff;
}

/* « Autre » : champ libre (10 caractères max, lettres uniquement). */
.mk-spot-other {
	display: block;
	width: 100%;
	box-sizing: border-box;
	border: 1.5px solid rgba(117, 76, 36, 0.3);
	border-radius: 10px;
	background: #f7f3e6;
	color: #5f3f1e;
	padding: 8px 12px;
	margin: 0 0 8px;
	font-size: 13.5px;
	font-family: inherit;
}

.mk-spot-note svg {
	flex: none;
	margin-top: 1px;
}

.mk-spot-error {
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
	color: #b32d2e;
}

.mk-spot-foot {
	display: flex;
	gap: 10px;
	margin-top: 16px;
}

.mk-spot-foot .mk-spot-back {
	flex: 0 0 auto;
	width: auto;
	padding-inline: 18px;
}

.mk-spot-foot .mk-spot-next {
	flex: 1;
}

.mk-spot-next--accent {
	background: #c98a2b;
}

.mk-spot-next--accent:hover {
	background: #b47a20;
}

.mk-spot-success {
	text-align: center;
	padding: 14px 0 4px;
}

.mk-spot-success-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin: 0 auto 12px;
	border-radius: 999px;
	background: #1fd35b;
	animation: mk-spot-pop 0.35s ease;
}

@keyframes mk-spot-pop {
	from {
		transform: scale(0.4);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}

.mk-spot-success h3 {
	margin: 0 0 6px;
	font-size: 19px;
	color: #1d2a22;
}

.mk-spot-success p {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.5;
	color: #5f6f66;
}

/* Étape photo du parcours prise : aperçu + choisir/retirer. */
.mk-spot-photo-preview {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 10px;
	background: #f3efe6;
}

.mk-spot-photo-preview img {
	display: block;
	width: 100%;
	max-height: 240px;
	object-fit: cover;
}

.mk-spot-photo-row {
	display: flex;
	gap: 8px;
}

/* Toast de confirmation (spot sauvegardé/supprimé), au-dessus de tout. */
.mk-spot-toast {
	position: fixed;
	bottom: 26px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2300;
	display: flex;
	align-items: center;
	gap: 8px;
	background: #1d2a22;
	color: #fff;
	border-radius: 999px;
	padding: 11px 19px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
	white-space: nowrap;
	max-width: calc(100vw - 24px);
	pointer-events: none;
}

.mk-spot-toast svg {
	color: #b79af5;
	flex: none;
}

.mk-spot-toast.is-in {
	animation: mk-spot-toast-in 0.3s ease;
}

@keyframes mk-spot-toast-in {
	from {
		opacity: 0;
		transform: translate(-50%, 10px);
	}
	to {
		opacity: 1;
		transform: translate(-50%, 0);
	}
}

/* Marqueur violet d'un spot sauvegardé + popup (date/itinéraire/suppression). */
.mk-spot-marker {
	cursor: pointer;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.mk-spot-popup .maplibregl-popup-content {
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
	padding: 12px 14px;
	font-family: inherit;
}

.mk-spot-pop-title {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #1d2a22;
}

.mk-spot-pop-title svg {
	color: #7c3aed;
}

.mk-spot-pop-date {
	font-size: 11px;
	color: #8a887e;
	margin: 3px 0 9px;
}

.mk-spot-pop-actions {
	display: flex;
	gap: 7px;
}

.mk-spot-pop-actions a,
.mk-spot-pop-actions button {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1.5px solid #1d2a22;
	border-radius: 8px;
	background: none;
	color: #1d2a22;
	padding: 6px 10px;
	font-size: 12px;
	font-weight: 600;
	font-family: inherit;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.mk-spot-pop-actions a:hover,
.mk-spot-pop-actions button:hover {
	background: #1d2a22;
	color: #fff;
}

.mk-spot-pop-actions .mk-spot-pop-del {
	border-color: #b32d2e;
	color: #b32d2e;
	flex: 0 0 auto;
}

.mk-spot-pop-actions .mk-spot-pop-del:hover {
	background: #b32d2e;
	color: #fff;
}

/* Action « Ajouter une prise » dans la fiche plein écran : accent ambre. */
.mk-map-detail-action--accent {
	background: #c98a2b;
	border-color: #c98a2b;
	color: #fff;
}

.mk-map-detail-action--accent:hover {
	background: #b47a20;
	border-color: #b47a20;
	color: #fff;
}

/* ---------- Panneau bas d'un spot / d'une prise (marqueurs) ---------- */

.mk-user-sheet-kicker {
	display: flex;
	align-items: center;
	gap: 7px;
}

.mk-user-sheet-dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	flex: none;
}

.mk-user-sheet-dot--spot {
	background: #7c3aed;
}

.mk-user-sheet-dot--catch {
	background: #c98a2b;
}

.mk-user-sheet-photo {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 10px;
	background: #f3efe6;
}

.mk-user-sheet-photo img {
	display: block;
	width: 100%;
	max-height: 200px;
	object-fit: cover;
}

.mk-user-sheet-finds {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.mk-user-sheet-wx {
	background: #f3efe6;
	border-radius: 10px;
	padding: 11px 13px 12px;
	margin-top: 8px;
}

.mk-user-sheet-wx-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	background: #fff;
	border-radius: 10px;
	padding: 8px 10px;
	min-width: 74px;
	flex: none;
	font-size: 11px;
	color: #55503f;
	margin-top: 8px;
}

.mk-user-sheet-wx-card.is-day {
	flex-direction: row;
	justify-content: center;
	gap: 12px;
	font-size: 13px;
	border: 1.5px solid #c98a2b;
}

.mk-user-sheet-wx-date {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #8a887e;
	white-space: nowrap;
}

.mk-user-sheet-wx-card.is-day .mk-user-sheet-wx-date {
	font-size: 11px;
}

.mk-user-sheet-wx-emoji {
	font-size: 17px;
	line-height: 1.2;
}

.mk-user-sheet-wx-temp,
.mk-user-sheet-wx-rain {
	font-weight: 600;
	white-space: nowrap;
}

/* Les 14 jours défilent horizontalement. */
.mk-user-sheet-wx-row {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
}

.mk-user-sheet-wx-row::-webkit-scrollbar {
	display: none;
}

.mk-user-sheet-del {
	border-color: #b32d2e;
	color: #b32d2e;
}

.mk-user-sheet-del:hover {
	background: #b32d2e;
	border-color: #b32d2e;
	color: #fff;
}

/* Réassurance affichée à chaque étape du parcours prise. */
.mk-spot-privacy {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	margin: 12px 0 0;
	font-size: 11.5px;
	line-height: 1.5;
	color: #5f6f66;
}

.mk-spot-privacy svg {
	flex: none;
	margin-top: 2px;
	color: #2d5a3f;
}

/* Popup d'une prise sur la carte : titre ambre, photo, espèces. */
.mk-spot-pop-title--catch svg {
	color: #c98a2b;
}

.mk-spot-pop-photo {
	display: block;
	width: 100%;
	max-height: 110px;
	object-fit: cover;
	border-radius: 8px;
	margin: 0 0 8px;
}

.mk-spot-pop-finds {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 9px;
}

.mk-spot-pop-find {
	background: #eaf1ec;
	color: #2d5a3f;
	border-radius: 999px;
	padding: 3px 9px;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}
