/**
 * Carte SVG CercleKit — styles.
 * Les couleurs/tailles sont pilotées par des variables CSS posées par le widget
 * Elementor sur .ck-svgmap (onglet Style). Repli hérité de l'identité CercleKit.
 */

.ck-svgmap {
	--ck-map-fill:     var(--neutres-100, #e7e9ec);
	--ck-map-hover:    var(--primaire-accent, var(--neutres-800, #303840));
	--ck-map-stroke:   var(--neutres-0, Canvas);
	--ck-map-stroke-w: 1px;
	--ck-map-h:        520px;
	--ck-map-accent:   var(--primaire-accent, var(--neutres-800, #303840));
	--ck-map-ctrl-text:var(--neutres-900, CanvasText);
	--ck-map-marker:          var(--ck-map-marker-shared, var(--primaire-accent, var(--neutres-800, #303840)));
	--ck-map-marker-size:     14px;
	--ck-map-marker-stroke:   var(--neutres-0, Canvas);
	--ck-map-marker-stroke-w: 2px;
	--ck-map-ctx-fill:   var(--neutres-50, #f3f4f5);
	--ck-map-ctx-stroke: var(--neutres-0, Canvas);
	--ck-map-label:        var(--neutres-0, Canvas);
	--ck-map-label-size:   13px;
	--ck-map-label-halo:   color-mix(in srgb, var(--neutres-900, CanvasText) 45%, transparent);
	--ck-map-label-halo-w: 3px;
	--ck-map-label-out:      var(--neutres-900, CanvasText);
	--ck-map-label-out-halo: transparent;
	--ck-map-siege-dot:          var(--neutres-0, Canvas);
	--ck-map-siege-dot-stroke:   color-mix(in srgb, var(--neutres-900, CanvasText) 50%, transparent);
	--ck-map-siege-dot-stroke-w: 2px;
	--ck-map-siege-text:     var(--neutres-0, Canvas);
	--ck-map-siege-halo:     color-mix(in srgb, var(--neutres-900, CanvasText) 50%, transparent);
	--ck-map-siege-halo-w:   4px;
	--ck-map-siege-size:     16px;
	--ck-map-siege-sub-size: 12px;

	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	/* Police du Design System (secondaire) : le widget ne doit pas hériter de la typo globale Elementor du conteneur. */
	font-family: var(--ck-font-secondary, inherit);
}

/* --- Barre : retour + fil d'Ariane --- */
.ck-svgmap__bar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	min-height: 28px;
}

/* Le bouton Retour a deux vies : pilule intégrée par défaut, OU aspect du module
   Boutons CercleKit (classes ck-btn ck-btn--<slug> posées par le widget) — dans ce
   cas la pilule s'efface entièrement (:not(.ck-btn)) et le module prend la main. */
.ck-svgmap__back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
}
.ck-svgmap__back:not(.ck-btn) {
	border: 1px solid color-mix(in srgb, var(--ck-map-accent) 40%, transparent);
	background: color-mix(in srgb, var(--ck-map-accent) 8%, transparent);
	color: var(--ck-map-accent);
	font: inherit;
	font-size: 0.85em;
	line-height: 1;
	padding: 6px 12px;
	border-radius: 999px;
	transition: background .15s, color .15s;
}
.ck-svgmap__back:not(.ck-btn):hover {
	background: var(--ck-map-accent);
	color: var(--neutres-0);
}
.ck-svgmap__back > span { font-size: 1.2em; }

.ck-svgmap__crumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 6px;
	font-size: 0.85em;
	color: var(--ck-map-ctrl-text);
}
.ck-svgmap__crumb-link {
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	color: var(--ck-map-accent);
	cursor: pointer;
	text-decoration: none;
}
.ck-svgmap__crumb-link:hover { text-decoration: underline; }
.ck-svgmap__crumb-cur { font-weight: 600; }
.ck-svgmap__sep { opacity: .5; }

/* --- Boutons + / - : rapprocher l'etage affiche ---------------------------
   Un zoom d'AFFICHAGE, pas un drill-down : il ne change pas d'etage. Sur un
   telephone, une carte de region tombe a 300 px de haut et les noms ne se
   lisent plus — le drill-down, lui, emmene ailleurs, ce n'est pas la meme
   envie. La barre est toujours construite ; c'est --ck-map-zoom-ui qui decide
   de la montrer, ce qui la rend reglable PAR APPAREIL. */
.ck-svgmap__zoomui {
	position: absolute;
	z-index: 2;
	top:    var(--ck-map-zoom-top, 10px);
	left:   var(--ck-map-zoom-left, 10px);
	right:  var(--ck-map-zoom-right, auto);
	bottom: var(--ck-map-zoom-bottom, auto);
	display: var(--ck-map-zoom-ui, none);
	flex-direction: column;
	gap: 8px;
}
.ck-svgmap__zoomgrp {
	display: flex;
	flex-direction: column;
	background: var(--ck-map-zoom-bg, #ffffff);
	border-radius: 12px;
	box-shadow: 0 1px 3px color-mix(in srgb, var(--neutres-900) 18%, transparent), 0 4px 12px color-mix(in srgb, var(--neutres-900) 10%, transparent);
	overflow: hidden;
}
.ck-svgmap__zoombtn:not(.ck-btn) {
	appearance: none;
	-webkit-appearance: none;
	border: 0;
	background: none;
	margin: 0;
	padding: 0;
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ck-map-ctrl-text);
	cursor: pointer;
	transition: background .15s ease;
}
.ck-svgmap__zoombtn:not(.ck-btn):hover { background: color-mix(in srgb, var(--neutres-900) 6%, transparent); }
/* Bute en haut ou en bas de la course : le bouton le DIT, il ne se contente
   pas de ne rien faire. */
.ck-svgmap__zoombtn:not(.ck-btn):disabled { opacity: .3; cursor: default; background: none; }
.ck-svgmap__zoombtn:not(.ck-btn) + .ck-svgmap__zoombtn:not(.ck-btn) { border-top: 1px solid color-mix(in srgb, var(--neutres-900) 12%, transparent); }
.ck-svgmap__zoombtn:not(.ck-btn) svg { width: 18px; height: 18px; display: block; }

/* Le recadrage n'a de sens qu'une fois zoome. */
.ck-svgmap__zoomreset { display: none; }
.ck-svgmap.is-zoomed .ck-svgmap__zoomreset { display: flex; }

/* Glisser la carte : seulement quand il y a de quoi glisser. */
.ck-svgmap.is-zoomed .ck-svgmap__stage { cursor: grab; touch-action: none; }
.ck-svgmap.is-zoomed .ck-svgmap__stage.is-panning { cursor: grabbing; }

/* --- Scène (SVG) --- */
/* HAUTEUR AUTOMATIQUE. Une carte ne remplit jamais que SA FORME : le dessin se
   cale sur la plus petite des deux contraintes, et sur un ecran etroit c'est
   toujours la largeur. Garder une boite plus haute n'ajoutait que du vide
   (mesure, ecran 375 : 520 px regles, 302 px dessines, 218 px de vide — et
   monter a 800 px n'agrandissait la carte d'aucun pixel, seulement le vide).
   La scene prend donc le rapport de la carte, pose par le moteur des qu'il le
   connait (--ck-map-ar), et le reglage « Hauteur » devient un PLAFOND.
   Avant que le rapport soit connu, la hauteur reglee tient la place : sans
   elle la page sauterait a l'arrivee de la carte. */
.ck-svgmap__stage {
	position: relative;
	width: 100%;
	height: var(--ck-map-h);
	max-height: var(--ck-map-h);
	min-height: 160px;
	overflow: hidden; /* le SVG zoomé (drill-down animé) ne doit pas déborder */
}
.ck-svgmap__svg {
	width: 100%;
	height: 100%;
	display: block;
	overflow: visible;
}

/* Zoom animé au clic sur une zone (le fetch tourne pendant la transition) */
.ck-svgmap__svg.is-zooming {
	transition: transform .38s cubic-bezier(.4, 0, .2, 1);
	will-change: transform;
}
/* Fondu d'entrée du nouveau niveau après le zoom */
.ck-svgmap__stage.is-entering .ck-svgmap__svg {
	animation: ck-svgmap-enter .28s ease;
}
@keyframes ck-svgmap-enter {
	from { opacity: 0; transform: scale(.94); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ck-svgmap__svg.is-zooming { transition: none; }
	.ck-svgmap__stage.is-entering .ck-svgmap__svg { animation: none; }
}

/* Fond de contexte : la France en pâle derrière une zone sur mesure. Inerte —
   pointer-events: none garantit qu'il n'intercepte ni clic ni survol, y compris
   sous les départements de la zone. */
.ck-svgmap__ctx {
	fill: var(--ck-map-ctx-fill);
	stroke: var(--ck-map-ctx-stroke);
	stroke-width: var(--ck-map-stroke-w);
	pointer-events: none;
}

.ck-svgmap__zone {
	fill: var(--z, var(--ck-map-fill));
	stroke: var(--ck-map-stroke);
	stroke-width: var(--ck-map-stroke-w);
	vector-effect: non-scaling-stroke; /* épaisseur constante quelle que soit l'échelle */
	cursor: pointer;
	transition: fill .15s ease;
}
.ck-svgmap__zone:hover {
	fill: var(--ck-map-hover);
}
.ck-svgmap__zone.is-static { cursor: default; }
.ck-svgmap--nodrill .ck-svgmap__zone.is-static { cursor: default; }

/* ============================ MODE FOND DE CARTE (tuiles) ============================ */
.ck-svgmap__leaflet {
	width: 100%;
	height: var(--ck-map-h, 520px);
	min-height: 200px;
	border-radius: inherit;
	overflow: hidden;
	background: var(--neutres-100);
}
.ck-svgmap__leaflet .ck-svgmap__loading { height: 100%; }

/* Pin teardrop (recoloré via --ck-map-marker) */
.ck-svgmap__pin { display: block; width: 100%; height: 100%; }
.ck-svgmap__pin svg {
	width: 100%; height: 100%;
	fill: var(--ck-map-marker, #d85830);
	filter: drop-shadow(0 2px 3px color-mix(in srgb, var(--neutres-1000) 35%, transparent));
}

/* Contrôles de carte : zoom et localisation. */
.ck-svgmap--tiles .leaflet-bar,
.ck-svgmap__ctrl {
	border: 0 !important;
	border-radius: 12px !important;
	box-shadow: 0 2px 10px color-mix(in srgb, var(--neutres-1000) 16%, transparent) !important;
	overflow: hidden;
}
.ck-svgmap--tiles .leaflet-bar a:not(.ck-btn),
.ck-svgmap__ctrl-btn:not(.ck-btn) {
	width: 40px; height: 40px; line-height: 40px;
	color: var(--ck-map-ctrl-text, #1a1a2e);
	background: var(--neutres-0);
	display: flex; align-items: center; justify-content: center;
	border-bottom: 1px solid color-mix(in srgb, var(--neutres-1000) 6%, transparent) !important;
}
.ck-svgmap--tiles .leaflet-bar a:not(.ck-btn):hover,
.ck-svgmap__ctrl-btn:not(.ck-btn):hover { background: var(--neutres-100); color: var(--ck-map-accent, #534ab7); }
.ck-svgmap--tiles .leaflet-control-zoom { margin-left: 14px; margin-top: 14px; }

/* Popup (mode tuiles) — habillée par les mêmes vars que l'infobulle, replis blancs */
.ck-svgmap--tiles .leaflet-popup-content-wrapper {
	background: var(--ck-map-tip-bg, #fff);
	color: var(--ck-map-tip-text, inherit);
	border-radius: var(--ck-map-tip-radius, 12px);
}
.ck-svgmap--tiles .leaflet-popup-tip {
	background: var(--ck-map-tip-bg, #fff);
}
.ck-svgmap__pop { font: inherit; min-width: 160px; }
.ck-svgmap__pop-title { display: block; font-size: 1.02em; margin-bottom: 2px; }
.ck-svgmap__pop-addr { display: block; font-size: .85em; opacity: .8; }
.ck-svgmap__pop-link {
	display: inline-block; margin-top: 8px; font-size: .85em; font-weight: 600;
	color: var(--ck-map-accent, #534ab7); text-decoration: none;
}
.ck-svgmap__pop-link:hover { text-decoration: underline; }

/* --- Marqueurs (points de carte) --- */
.ck-svgmap__marker { cursor: default; }
.ck-svgmap__marker.is-link { cursor: pointer; }
.ck-svgmap__marker-dot {
	/* Taille voulue (slider Elementor, px écran) × compensation d'échelle du niveau
	   (posée par le moteur à chaque rendu) → taille écran constante ET réglage vivant. */
	fill: var(--ck-map-marker);
	/* `vector-effect: non-scaling-stroke` fait lire l'epaisseur en PIXELS ECRAN,
	   quelle que soit l'echelle de l'etage : pas de calc a faire, et le lisere
	   garde la meme finesse a tous les niveaux de zoom.
	   Il n'y a plus UNE SEULE valeur en dur ici : une couleur ecrite en dur sous
	   la variable la neutralisait en silence, et le reglage semblait casse. */
	stroke: var(--ck-map-marker-stroke);
	stroke-width: var(--ck-map-marker-stroke-w);
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	paint-order: stroke;
	transition: fill .15s ease;
}
.ck-svgmap__marker:hover .ck-svgmap__marker-dot { filter: brightness(0.88); }

/* Point avec halo : l'onde part du point, s'elargit et s'efface. */
.ck-svgmap__marker-onde {
	fill: var(--ck-map-marker);
	opacity: .35;
	transform-box: fill-box;
	transform-origin: center;
	animation: ck-map-onde 2.4s ease-out infinite;
	pointer-events: none;
}
@keyframes ck-map-onde {
	from { transform: scale(1); opacity: .35; }
	to   { transform: scale(3.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .ck-svgmap__marker-onde { animation: none; opacity: 0; } }

/* Pastille ronde : l'icone (ou le petit rond) prend la couleur du liseré. */
.ck-svgmap__marker-glyphe {
	fill: var(--ck-map-marker-stroke);
	color: var(--ck-map-marker-stroke);
	pointer-events: none;
}

/* Epingle a trou : le trou laisse voir la carte. */
.ck-svgmap__marker-dot--trou { fill-rule: evenodd; }

/* Etiquette : le nom en couleur du liseré, sur la pilule. */
.ck-svgmap__tag-nom {
	font-family: inherit;
	font-weight: 600;
	font-size: calc(var(--ck-map-label-size, 13px) * var(--ck-map-r-scale, 1));
	fill: var(--ck-map-marker-stroke);
	pointer-events: none;
}

/* Nom affiché en permanence à côté du point. La taille finale vient du moteur
   (font-size en em, compensé par l'échelle de l'étage) ; ici on ne fixe que
   l'aspect. `paint-order: stroke` dessine le contour SOUS le texte : c'est un
   liseré qui détache le nom de la carte, pas un gras qui l'épaissit. */
.ck-svgmap__marker-label {
	font-family: inherit;
	font-weight: 600;
	/* La taille est un REGLAGE, multiplie par la compensation d'echelle de
	   l'etage courant (--ck-map-r-scale, publiee par le moteur). Elle ne doit
	   JAMAIS etre ecrite en dur par le JS : ca rendait le curseur inerte.
	   Le contour suit la meme regle, sinon son epaisseur change au zoom. */
	font-size: calc(var(--ck-map-label-size, 13px) * var(--ck-map-r-scale, 1));
	fill: var(--ck-map-label);
	paint-order: stroke;
	stroke: var(--ck-map-label-halo);
	stroke-width: var(--ck-map-label-halo-w, 3px);
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	pointer-events: none;
}

/* Survol des points desactive : ni infobulle (cote moteur), ni changement de
   teinte, ni curseur qui promet un clic. */
.ck-svgmap--nomkhover .ck-svgmap__marker:hover .ck-svgmap__marker-dot { filter: none; }

/* Icone personnalisee : c'est une IMAGE, ni le remplissage ni le contour des
   formes vectorielles ne s'y appliquent — les laisser produirait un liseré
   parasite autour du cadre de l'image. */
.ck-svgmap__marker-icon {
	fill: none;
	stroke: none;
	paint-order: normal;
}

/* Icone de bibliotheque (Lucide, Tabler…) : un glyphe de police, donc du HTML
   loge dans un <foreignObject>. Il prend la couleur des marqueurs comme les
   formes vectorielles, et se centre dans son cadre. */
/* Trace d'icone pose dans la carte : il herite de la couleur des marqueurs par
   `currentColor`, exactement comme les formes vectorielles. */
.ck-svgmap__marker-trace { color: var(--ck-map-marker); overflow: visible; }

.ck-svgmap__marker-fo { overflow: visible; }
.ck-svgmap__icon-box {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	line-height: 1;
	color: var(--ck-map-marker);
}
.ck-svgmap__icon-box i,
.ck-svgmap__icon-box svg {
	font-size: inherit;
	width: 1em;
	height: 1em;
	display: block;
	fill: currentColor;
}

/* Un point hors de la zone se pose sur le fond de la PAGE, pas sur la couleur :
   les teintes prevues pour l'un sont illisibles sur l'autre. Il lui faut donc
   les siennes (constate : « Luxembourg » en creme sur blanc, invisible). */
.ck-svgmap__marker.is-outside .ck-svgmap__marker-label {
	fill: var(--ck-map-label-out);
	stroke: var(--ck-map-label-out-halo);
}

/* --- Siège social : le logo posé à même la carte --- */
.ck-svgmap__siege { pointer-events: none; }
.ck-svgmap__siege.is-link { pointer-events: auto; cursor: pointer; }
/* Le point du siege : ses propres couleurs, independantes du texte. Contour
   compense par l'echelle, sinon son epaisseur change d'un etage a l'autre. */
.ck-svgmap__siege-dot {
	fill: var(--ck-map-siege-dot);
	stroke: var(--ck-map-siege-dot-stroke);
	stroke-width: var(--ck-map-siege-dot-stroke-w, 2px);
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}
.ck-svgmap__siege-name,
.ck-svgmap__siege-sub {
	font-family: inherit;
	fill: var(--ck-map-siege-text);
	paint-order: stroke;
	stroke: var(--ck-map-siege-halo);
	stroke-width: var(--ck-map-siege-halo-w, 4px);
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}
.ck-svgmap__siege-name {
	font-weight: 700;
	font-size: calc(var(--ck-map-siege-size, 16px) * var(--ck-map-r-scale, 1));
}
.ck-svgmap__siege-sub {
	font-weight: 600;
	opacity: .9;
	font-size: calc(var(--ck-map-siege-sub-size, 12px) * var(--ck-map-r-scale, 1));
}
.ck-svgmap__siege.is-link:hover .ck-svgmap__siege-logo { opacity: .82; }

/* --- Infobulle ---
   Le rendu partage les variables de Style › Infobulle et la typographie
   Cerclekit des informations. Les mêmes variables habillent les étiquettes. */
/* One visual contract for point, region and department labels. */
.ck-svgmap__tip,
.ck-svgmap .ck-svgmap__region-tooltip {
	width: max-content;
	box-sizing: border-box;
	max-width: var(--ck-map-tip-maxw, 240px);
	background: var(--ck-map-tip-bg, var(--neutres-900, #1a1a2e));
	color: var(--ck-map-tip-text, var(--neutres-0, #fff));
	font-family: var(--ck-map-text-font,var(--ck-font-primary,inherit));
	font-size: var(--ck-map-text-size,1rem);
	font-weight: var(--ck-map-text-weight,400);
	line-height: var(--ck-map-text-lh,1.5);
	letter-spacing: var(--ck-map-text-ls,normal);
	padding: var(--ck-map-tip-padding, var(--ck-space-xs,6px) var(--ck-space-sm,10px));
	border-radius: var(--ck-map-tip-radius, var(--ck-radius, 8px));
	box-shadow: var(--ck-map-tip-shadow, var(--ck-shadow, 0 6px 20px color-mix(in srgb, var(--neutres-1000) 18%, transparent)));
	white-space: normal;
	overflow-wrap: anywhere;
}
.ck-svgmap__tip {
	position: absolute;
	z-index: 5;
	pointer-events: none;
	opacity: 0;
	transform: translateY(2px);
	transition: opacity .12s ease, transform .12s ease;
}
.ck-svgmap .ck-svgmap__pin-name {
	position: absolute;
	width: max-content;
	max-width: var(--ck-map-tip-maxw, 240px);
	box-sizing: border-box;
	background: var(--ck-map-tip-bg, var(--neutres-900, #1a1a2e));
	color: var(--ck-map-tip-text, var(--neutres-0, #fff));
	font-family: var(--ck-map-text-font,var(--ck-font-primary,inherit));
	font-size: var(--ck-map-text-size,1rem);
	font-weight: var(--ck-map-text-weight,400);
	line-height: var(--ck-map-text-lh,1.5);
	padding: var(--ck-map-tip-padding, 2px var(--ck-space-xs,6px));
	border-radius: var(--ck-map-tip-radius, var(--ck-radius, 8px));
	box-shadow: var(--ck-map-tip-shadow, none);
	pointer-events: none;
}
.ck-svgmap .ck-svgmap__pin-name--right { left: 100%; top: 50%; margin-left: 4px; transform: translateY(-50%); }
.ck-svgmap .ck-svgmap__pin-name--below { left: 50%; top: 100%; margin-top: 2px; transform: translateX(-50%); text-align: center; }
/* Leaflet panes reach 700; labels sit above them and below the preview. */
.ck-svgmap--tiles > .ck-svgmap__tip { z-index: 1050; }
.ck-svgmap__tip.is-on,
.ck-svgmap__tip.is-flash {
	opacity: 1;
	transform: translateY(0);
}
.ck-svgmap__tip.is-flash {
	left: 50% !important;
	top: 8px !important;
	transform: translateX(-50%);
	background: var(--ck-form-error-color, #b3261e);
}
.ck-svgmap__tip-name { display: block; font-weight: inherit; }
.ck-svgmap__tip-txt  { display: block; opacity: .85; margin-top: 2px; }

/* --- États --- */
.ck-svgmap__loading,
.ck-svgmap__error {
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--ck-map-h);
	color: color-mix(in srgb, var(--ck-map-ctrl-text) 55%, transparent);
	font-size: 0.9em;
}
.ck-svgmap__error { color: var(--ck-form-error-color, #b3261e); }

.ck-svgmap--loading .ck-svgmap__stage::after {
	content: "";
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--neutres-0, #fff) 45%, transparent);
	backdrop-filter: blur(1px);
}
.ck-svgmap--loading .ck-svgmap__stage::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: 50%; left: 50%;
	width: 26px; height: 26px;
	margin: -13px 0 0 -13px;
	border: 3px solid color-mix(in srgb, var(--ck-map-accent) 25%, transparent);
	border-top-color: var(--ck-map-accent);
	border-radius: 50%;
	animation: ck-svgmap-spin .7s linear infinite;
}
@keyframes ck-svgmap-spin { to { transform: rotate(360deg); } }

/* ============================ BLINDAGE THÈME (front) ============================
   Un thème qui style `button`/`a` avec un sélecteur type `.site button` (0,1,1)
   bat une classe simple (0,1,0) → « ça marche pas en front » alors que l'aperçu
   admin est bon. Parade éprouvée (cf. burger/formulaires) : doubler la spécificité
   (.ck-svgmap .classe = 0,2,0) et RE-DÉCLARER tout ce qu'un thème impose
   couramment (fond, bordure, ombre, casse, espacement, tailles mini). */
.ck-svgmap .ck-svgmap__back:not(.ck-btn),
.ck-svgmap .ck-svgmap__crumb-link {
	-webkit-appearance: none;
	appearance: none;
	text-transform: none;
	letter-spacing: normal;
	box-shadow: none;
	text-shadow: none;
	min-width: 0;
	min-height: 0;
	width: auto;
	height: auto;
	margin: 0;
	font-family: inherit;
	font-weight: 400;
	cursor: pointer;
}
.ck-svgmap .ck-svgmap__back:not(.ck-btn) {
	border: 1px solid color-mix(in srgb, var(--ck-map-accent) 40%, transparent);
	background: color-mix(in srgb, var(--ck-map-accent) 8%, transparent);
	color: var(--ck-map-accent);
	font-size: 0.85em;
	line-height: 1;
	padding: 6px 12px;
	border-radius: 999px;
}
.ck-svgmap .ck-svgmap__back:not(.ck-btn):hover {
	background: var(--ck-map-accent);
	color: var(--neutres-0);
}
/* Les thèmes réappliquent souvent leur fond sur button:focus → on fige le nôtre */
.ck-svgmap .ck-svgmap__back:not(.ck-btn):focus {
	outline: none;
	background: var(--ck-map-accent);
	color: var(--neutres-0);
	box-shadow: none;
}
.ck-svgmap .ck-svgmap__back:not(.ck-btn):focus-visible {
	outline: 2px solid var(--ck-map-accent);
	outline-offset: 2px;
}
.ck-svgmap .ck-svgmap__crumb-link {
	background: none;
	border: 0;
	padding: 0;
	border-radius: 0;
	color: var(--ck-map-accent);
	font-size: inherit;
	text-decoration: none;
}
.ck-svgmap .ck-svgmap__crumb-link:hover,
.ck-svgmap .ck-svgmap__crumb-link:focus {
	background: none;
	color: var(--ck-map-accent);
	text-decoration: underline;
	outline: none;
	box-shadow: none;
}
/* Liens des contrôles Leaflet et de la popup : pas de soulignement/ombre du thème */
.ck-svgmap--tiles .leaflet-container a { text-decoration: none; box-shadow: none; }
.ck-svgmap .ck-svgmap__pop-link { box-shadow: none; border: 0; background: none; }

/* Survol neutralisé sur un niveau personnalisé (Zones par niveau → « Effet au survol : Non ») */
.ck-svgmap--nohover .ck-svgmap__zone,
.ck-svgmap--nohover .ck-svgmap__zone:hover {
	fill: var(--z, var(--ck-map-fill));
}

/* Aperçus partagés SVG / tuiles. Les anciens marqueurs gardent leurs styles. */
.ck-svgmap .ck-svgmap__marker-hit { fill: transparent; stroke: none; pointer-events: all; }
.ck-svgmap .ck-svgmap__marker[role="button"] { cursor: pointer; }
.ck-svgmap .ck-svgmap__marker:focus-visible { outline: none; }
.ck-svgmap .ck-svgmap__marker:focus-visible .ck-svgmap__marker-hit,
.ck-svgmap .ck-svgmap__marker[aria-expanded="true"] .ck-svgmap__marker-hit {
	fill: color-mix(in srgb, var(--ck-map-accent) 10%, transparent);
	stroke: var(--ck-map-accent); stroke-width: 2px; vector-effect: non-scaling-stroke;
}
.ck-svgmap__preview {
	position: absolute; z-index: 1100; top: 0; left: 0; right: auto;
	width: min(var(--ck-map-preview-width, var(--ck-map-preview-shared-width, 22rem)), calc(100% - 2rem));
	max-height: var(--ck-map-preview-max-height, 80vh); overflow: visible;
	border-radius: var(--ck-map-preview-radius, var(--ck-map-preview-shared-radius, var(--ck-radius-xl, 1rem)));
	background: var(--ck-map-preview-bg, var(--ck-map-preview-shared-bg, var(--neutres-0, Canvas)));
	color: var(--ck-map-preview-text, var(--ck-map-preview-shared-text, var(--neutres-900, CanvasText)));
	box-shadow:var(--ck-map-preview-shadow,var(--ck-shadow-lg,0 .5rem 2rem color-mix(in srgb, var(--neutres-900, #19212b) 16%, transparent)));
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}
.ck-svgmap__preview[hidden], .ck-svgmap__card-image[hidden] { display: none !important; }
.ck-svgmap__card { scrollbar-width: none; }
.ck-svgmap__card::-webkit-scrollbar { display: none; }
.ck-svgmap__card { position: relative; max-height: var(--ck-map-preview-max-height, 80vh); overflow: auto; overscroll-behavior: contain; border-radius: inherit; font: inherit; font-size: var(--ck-map-preview-size, var(--ck-map-preview-shared-size, var(--ck-map-text-size, 1rem))); font-family:var(--ck-map-text-font,var(--ck-font-primary,inherit));font-weight:var(--ck-map-text-weight,400);line-height:var(--ck-map-text-lh,1.5);letter-spacing:var(--ck-map-text-ls,normal); overflow-wrap: anywhere; }
.ck-svgmap__card-body { display: grid; gap: var(--ck-space-md, .75rem); min-width: 0; padding: var(--ck-map-preview-padding, var(--ck-space-xl, 1.5rem)); }
.ck-svgmap .ck-svgmap__card-title {
	margin: 0; padding: 0 1.75rem 0 0; color: inherit; font-family:var(--ck-map-title-font,var(--ck-font-primary,inherit));
	font-size: var(--ck-map-preview-title-size, var(--ck-map-preview-shared-title-size, var(--ck-map-title-size, 1.25rem))); font-weight:var(--ck-map-title-weight,700);line-height:var(--ck-map-title-lh,1.25);
	text-transform: none; letter-spacing:var(--ck-map-title-ls,normal); text-wrap: balance;
}
.ck-svgmap .ck-svgmap__card-title:focus { outline: none; }
.ck-svgmap .ck-svgmap__card-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: 0; border: 0; border-radius: 0; }
.ck-svgmap .ck-svgmap__card-close:not(.ck-btn),
.ck-svgmap .ck-svgmap__locate:not(.ck-btn),
.ck-svgmap .ck-svgmap__card-action:not(.ck-btn) {
	box-sizing: border-box; appearance: none; font: inherit; line-height: 1.3; letter-spacing: normal;
	text-transform: none; text-decoration: none; text-shadow: none; box-shadow: none; cursor: pointer;
	margin: 0; min-width: 0; min-height: 2.75rem; height: auto; touch-action: manipulation;
}
.ck-svgmap .ck-svgmap__card-close:not(.ck-btn) {
	position: absolute; z-index: 1; top: .5rem; right: .5rem; display: grid; place-items: center;
	width: 2.75rem; padding: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	background: var(--ck-map-preview-bg, var(--ck-map-preview-shared-bg, var(--neutres-0, Canvas))); color: var(--ck-map-preview-text, var(--ck-map-preview-shared-text, var(--neutres-900, CanvasText))); font-size: 1.5rem;
}
.ck-svgmap .ck-svgmap__card-excerpt,
.ck-svgmap .ck-svgmap__card-address { margin: 0; color: inherit; font: inherit; }
.ck-svgmap__card-excerpt { opacity: .8; }
.ck-svgmap .ck-svgmap__card-phone { color: var(--ck-map-preview-accent, var(--ck-map-preview-shared-accent, var(--ck-map-accent))); font: inherit; text-decoration: underline; text-underline-offset: .2em; }
.ck-svgmap__card-fields { display: grid; gap: var(--ck-space-sm, .5rem); margin: 0; }
.ck-svgmap__card-fields > div { display: grid; gap: .125rem; }
.ck-svgmap__card-fields dt { font-size: .8em; opacity: .7; font-weight: 500; }
.ck-svgmap__card-fields dd { margin: 0; }
.ck-svgmap__card-fields > div.has-icon { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--ck-space-sm, .5rem); }
.ck-svgmap__card-fields > div.has-icon > .ck-svgmap__card-icon { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.ck-svgmap__card-fields > div.has-icon > dt, .ck-svgmap__card-fields > div.has-icon > dd { grid-column: 2; }
.ck-svgmap__card-hours { min-width: 0; }
.ck-svgmap__card-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: var(--ck-space-sm, .5rem); margin-top: var(--ck-space-xs, .25rem); }
.ck-svgmap .ck-svgmap__card-action:not(.ck-btn) {
	display: inline-flex; flex: 1 1 8rem; align-items: center; justify-content: center; flex-wrap: wrap;
	gap: .25rem; padding: .75rem 1rem; text-align: center; font-weight: 600;
	border-radius: var(--ck-radius, .5rem); border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
	color: var(--ck-map-preview-text, var(--ck-map-preview-shared-text, var(--neutres-900, CanvasText))); background: transparent;
}
.ck-svgmap .ck-svgmap__card-action--primary:not(.ck-btn) {
	color: var(--ck-map-preview-button-text, #fff); background: var(--ck-map-preview-accent, var(--ck-map-preview-shared-accent, var(--ck-map-accent))); border-color: transparent;
}
.ck-svgmap__card-provider { display: block; width: 100%; font-size: .75em; font-weight: 400; opacity: .8; }
.ck-svgmap .ck-svgmap__card-action:not(.ck-btn):hover,
.ck-svgmap .ck-svgmap__card-close:not(.ck-btn):hover,
.ck-svgmap .ck-svgmap__locate:not(.ck-btn):hover { filter: brightness(.95); }
.ck-svgmap .ck-svgmap__card-action:not(.ck-btn):focus-visible,
.ck-svgmap .ck-svgmap__card-close:not(.ck-btn):focus-visible,
.ck-svgmap .ck-svgmap__card-phone:focus-visible,
.ck-svgmap .ck-svgmap__locate:not(.ck-btn):focus-visible { outline: 2px solid var(--ck-map-preview-accent, var(--ck-map-preview-shared-accent, var(--ck-map-accent))); outline-offset: 3px; }
.ck-svgmap .ck-svgmap__card--practical:has(.ck-svgmap__card-image:not([hidden])) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.ck-svgmap .ck-svgmap__card--practical .ck-svgmap__card-image { height: var(--ck-map-preview-media-height,var(--ck-map-preview-shared-media-height,100%)); min-height: var(--ck-map-preview-media-height,var(--ck-map-preview-shared-media-height,12rem)); aspect-ratio: auto; }
.ck-svgmap .ck-svgmap__card--practical .ck-svgmap__card-body { padding: var(--ck-map-preview-padding, var(--ck-space-lg, 1rem)); }
.ck-svgmap__directions { flex: 1 1 8rem; min-width: 0; }
.ck-svgmap__directions > summary { list-style: none; }
.ck-svgmap__directions > summary::-webkit-details-marker { display: none; }
.ck-svgmap__directions-list { display: grid; gap: .375rem; margin-top: .5rem; }
.ck-svgmap__directions-list .ck-svgmap__card-action:not(.ck-btn) { justify-content: space-between; font-weight: 500; }
.ck-svgmap__location { display: flex; align-items: center; flex-wrap: wrap; gap: var(--ck-space-md, .75rem); }
.ck-svgmap .ck-svgmap__locate:not(.ck-btn) { flex: 0 0 auto; padding: .625rem 1rem; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: var(--ck-radius, .5rem); background: var(--neutres-0, Canvas); color: var(--neutres-900, CanvasText); }
.ck-svgmap .ck-svgmap__locate:not(.ck-btn):disabled { cursor: wait; opacity: .65; }
.ck-svgmap .ck-svgmap__location-status { flex: 1 1 12rem; margin: 0; font: inherit; font-size: .8125rem; color: var(--neutres-700, var(--ck-map-ctrl-text)); }
/* Position du visiteur : point bleu natif (iOS/Apple Plans). Couleur surchargeable par --ck-map-visitor. */
.ck-svgmap__visitor { pointer-events: none; }
.ck-svgmap__visitor-ring { fill: color-mix(in srgb, var(--ck-map-visitor, #007aff) 18%, transparent); stroke: none; vector-effect: non-scaling-stroke; animation: ck-map-visitor-pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.ck-svgmap__visitor-core { fill: var(--ck-map-visitor, #007aff); stroke: var(--neutres-0); stroke-width: 3px; vector-effect: non-scaling-stroke; filter: drop-shadow(0 1px 3px color-mix(in srgb, var(--neutres-1000) 35%, transparent)); }
.ck-svgmap .ck-svgmap__visitor-pin { position: relative; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; overflow: visible; }
.ck-svgmap__visitor-pin::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: color-mix(in srgb, var(--ck-map-visitor, #007aff) 18%, transparent); animation: ck-map-visitor-pulse 2.4s ease-out infinite; }
.ck-svgmap__visitor-pin > span { display: block; position: relative; width: 14px; height: 14px; background: var(--ck-map-visitor, #007aff); border: 3px solid var(--neutres-0); border-radius: 50%; box-sizing: content-box; box-shadow: 0 1px 4px color-mix(in srgb, var(--neutres-1000) 35%, transparent); }
@keyframes ck-map-visitor-pulse { 0% { transform: scale(.6); opacity: .9; } 70% { transform: scale(1.4); opacity: 0; } 100% { transform: scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ck-svgmap__visitor-ring, .ck-svgmap__visitor-pin::before { animation: none; } }
/* A compact map retains its anchored card; height is bounded by the actual map. */
.ck-svgmap--compact .ck-svgmap__location { order: 1; }
@media (max-width: 640px) {
	.ck-svgmap__location { order: 1; }
}

/* Exploration uses the same marker payload and preview, never a second query. */
.ck-svgmap--explore { display: grid; grid-template-columns: minmax(min(14rem,var(--ck-map-column-width,14rem)),var(--ck-map-column-width,38%)) minmax(0, 1fr); gap: 0 var(--ck-map-column-gap,1rem); }
.ck-svgmap--explore > .ck-svgmap__bar { grid-column: 1 / -1; grid-row: 1; margin-bottom: .625rem; }
.ck-svgmap--explore > .ck-svgmap__explorer { grid-column: 1; grid-row: 2; }
.ck-svgmap--explore > .ck-svgmap__stage, .ck-svgmap--explore > .ck-svgmap__leaflet { grid-column: 2; grid-row: 2; }
.ck-svgmap--explore > .ck-svgmap__location, .ck-svgmap--explore > .ck-svgmap__diagnostics { grid-column: 1 / -1; }
.ck-svgmap__explorer { display: flex; flex-direction: column; min-width: 0; height: var(--ck-map-h, 520px); color: var(--ck-map-preview-text, var(--neutres-900, CanvasText)); background: var(--ck-map-preview-bg, var(--neutres-0, Canvas)); }
.ck-svgmap__explorer-head { flex: 0 0 auto; display: grid; gap: var(--ck-space-md,.75rem); padding: 0 var(--ck-space-xs,.25rem) var(--ck-space-md,.75rem); }
.ck-svgmap__result-count { font-family:var(--ck-map-title-font,var(--ck-font-primary,inherit));font-size:var(--ck-map-title-size,1.125rem);font-weight:var(--ck-map-title-weight,700);line-height:var(--ck-map-title-lh,1.3);letter-spacing:var(--ck-map-title-ls,normal); }
.ck-svgmap__search-label { display: grid; gap: var(--ck-space-xs,.375rem); min-width: 0; font-family: var(--ck-form-label-font, var(--ck-font-secondary, inherit)); }
.ck-svgmap .ck-svgmap__search.ck-f-input, .ck-svgmap .ck-svgmap__filters select.ck-f-input { font-family: var(--ck-form-font, var(--ck-font-secondary, inherit)); }
/* L’habillage vient de cercle-form.css et du bouclier Formulaires, y compris les quatre coins/côtés. */
.ck-svgmap input.ck-svgmap__search { min-width: 0; }
.ck-svgmap__results { flex: 1 1 auto; overflow: auto; overscroll-behavior: contain; min-height: 0; padding: var(--ck-space-xs,.25rem); display: flex; flex-direction: column; gap: var(--ck-map-list-gap,var(--ck-space-md,.75rem)); }
.ck-svgmap button.ck-svgmap__result { display: flex; flex: 0 0 auto; min-height: min-content; min-width: 0; width: 100%; text-align: left; appearance: none; border: var(--ck-map-list-border-width,1px) solid var(--ck-map-list-border,color-mix(in srgb,currentColor 13%,transparent)); border-radius: var(--ck-map-list-radius,var(--ck-radius-lg,.75rem)); background: var(--ck-map-list-background,transparent); color: var(--ck-map-list-text,inherit); box-shadow: none; padding: 0; margin: 0; font: inherit; line-height: 1.45; cursor: pointer; overflow: hidden; white-space: normal; text-transform: none; letter-spacing: normal; }
.ck-svgmap .ck-svgmap__result > img { width: var(--ck-map-list-image-width,30%); object-fit: cover; min-height: 100%; margin: 0; border-radius: 0; }
.ck-svgmap__result-body { flex: 1; display: grid; gap: .375rem; padding: var(--ck-map-list-padding,1rem); min-width: 0; overflow-wrap: anywhere; }
.ck-svgmap__result-body > strong { font-size: 1rem; }
.ck-svgmap__result-body > span { font-size: .8125rem; }
.ck-svgmap__result-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; opacity: .75; }
.ck-svgmap__result-open { color: var(--ck-map-preview-accent,var(--ck-map-preview-shared-accent,var(--ck-map-accent))); font-weight: 600; margin-top: .25rem; }
.ck-svgmap button.ck-svgmap__result:hover, .ck-svgmap button.ck-svgmap__result[aria-pressed="true"] { border-color: var(--ck-map-list-border,var(--ck-map-preview-accent,var(--ck-map-preview-shared-accent,var(--ck-map-accent)))); background: var(--ck-map-list-background,color-mix(in srgb,var(--ck-map-preview-accent,var(--ck-map-preview-shared-accent,var(--ck-map-accent))) 5%,transparent)); }
.ck-svgmap .ck-svgmap__result:focus-visible, .ck-svgmap .ck-svgmap__explore-toggle:focus-visible { outline: 2px solid var(--ck-map-preview-accent,var(--ck-map-preview-shared-accent,var(--ck-map-accent))); outline-offset: 2px; }
.ck-svgmap .ck-svgmap__explore-toggle { display: none; }
.ck-svgmap--explore.ck-svgmap--compact { grid-template-columns: minmax(0,1fr); }
.ck-svgmap--explore.ck-svgmap--compact > .ck-svgmap__stage, .ck-svgmap--explore.ck-svgmap--compact > .ck-svgmap__leaflet { grid-column: 1; }
.ck-svgmap--explore.ck-svgmap--compact .ck-svgmap__explorer { display: none; }
.ck-svgmap--explore.ck-svgmap--compact.is-list-view .ck-svgmap__explorer { display: flex; }
.ck-svgmap--explore.ck-svgmap--compact.is-list-view > .ck-svgmap__stage, .ck-svgmap--explore.ck-svgmap--compact.is-list-view > .ck-svgmap__leaflet { display: none; }
.ck-svgmap--explore.ck-svgmap--compact .ck-svgmap__explore-toggle:not(.ck-btn) { display: block; grid-column: 1; grid-row: 3; justify-self: center; min-height: 44px; margin: .75rem 0; padding: .625rem 1.25rem; border: 1px solid currentColor; border-radius: var(--ck-radius-pill, 99px); font: inherit; color: var(--ck-map-preview-accent,var(--ck-map-preview-shared-accent,var(--ck-map-accent))); background: var(--neutres-0,Canvas); cursor: pointer; }

/* The geographic aspect ratio must not collapse the browsing space in exploration mode. */
.ck-svgmap--explore > .ck-svgmap__stage,
.ck-svgmap--explore > .ck-svgmap__leaflet,
.ck-svgmap--explore > .ck-svgmap__explorer { height: var(--ck-map-layout-height-resolved,max(var(--ck-map-h, 520px), 500px)); min-height: var(--ck-map-layout-height-resolved,500px); max-height: none; }
.ck-svgmap--explore.ck-svgmap--compact > .ck-svgmap__stage,
.ck-svgmap--explore.ck-svgmap--compact > .ck-svgmap__leaflet,
.ck-svgmap--explore.ck-svgmap--compact > .ck-svgmap__explorer { height: var(--ck-map-layout-height-resolved,max(var(--ck-map-h, 420px), 420px)); min-height: var(--ck-map-layout-height-resolved,420px); }
.ck-svgmap .ck-svgmap__result-excerpt { line-height: 1.45; max-height: 2.9em; }
/* Keep the first view useful on a phone while long details remain scrollable. */
.ck-svgmap--compact .ck-svgmap__card--visual .ck-svgmap__card-image { max-height: 140px; object-fit: cover; }
.ck-svgmap--compact .ck-svgmap__card-body { padding: var(--ck-map-preview-padding, 1rem); }
.ck-svgmap--compact .ck-svgmap__card-action:not(.ck-btn) { font-size: .8125rem; white-space: nowrap; }

/* Fiches de lieu : composition commune, jetons publics et surcharges du Studio. */
.ck-svgmap__preview {
	--ck-map-card-pad: var(--ck-map-preview-padding,var(--ck-map-preview-shared-padding,var(--ck-space-lg,1rem)));
	--ck-map-card-gap: var(--ck-map-preview-gap,var(--ck-map-preview-shared-gap,var(--ck-space-md,.75rem)));
	--ck-map-card-line: var(--ck-map-preview-separator-color,var(--ck-map-preview-shared-separator-color,color-mix(in srgb,currentColor 12%,transparent)));
	--ck-map-card-surface: var(--ck-map-preview-bg,var(--ck-map-preview-shared-bg,var(--neutres-0,Canvas)));
	--ck-map-card-accent: var(--ck-map-preview-accent,var(--ck-map-preview-shared-accent,var(--ck-map-accent)));
	box-shadow: var(--ck-map-preview-shadow,var(--ck-shadow-lg,0 1rem 3rem color-mix(in srgb,var(--neutres-900,CanvasText) 18%,transparent)));
}
.ck-svgmap .ck-svgmap__card-body { padding: var(--ck-map-card-pad); gap: var(--ck-map-card-gap); }
.ck-svgmap .ck-svgmap__card-image { height: var(--ck-map-preview-media-height,var(--ck-map-preview-shared-media-height,12.5rem)); aspect-ratio: auto; }
.ck-svgmap__card-identity { display:flex;align-items:center;gap:var(--ck-space-md,.75rem);min-width:0; }
.ck-svgmap .ck-svgmap__card-title { font-weight:var(--ck-map-title-weight,700);letter-spacing:var(--ck-map-title-ls,normal);text-wrap:pretty;flex:1; }
.ck-svgmap .ck-svgmap__card-logo { display:block; flex:0 0 auto; width:var(--ck-map-preview-logo-size,var(--ck-map-preview-shared-logo-size,4.5rem));height:var(--ck-map-preview-logo-size,var(--ck-map-preview-shared-logo-size,4.5rem)); object-fit:contain; padding:var(--ck-space-xs,.375rem);box-sizing:border-box;border:1px solid var(--ck-map-card-line);border-radius:50%;background:var(--ck-map-preview-logo-bg,var(--ck-map-preview-shared-logo-bg,var(--ck-map-card-surface))); }
.ck-svgmap .ck-svgmap__card-logo[hidden] {display:none!important;}
.ck-svgmap .ck-svgmap__card-icon { display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--ck-map-preview-icon-size,var(--ck-map-preview-shared-icon-size,1rem));height:var(--ck-map-preview-icon-size,var(--ck-map-preview-shared-icon-size,1rem));color:var(--ck-map-preview-icon-color,var(--ck-map-preview-shared-icon-color,var(--ck-map-card-accent))); }
.ck-svgmap .ck-svgmap__card-icon svg { display:block;width:100%;height:100%; }
.ck-svgmap .ck-svgmap__card-close:not(.ck-btn) .ck-svgmap__card-icon {color:inherit;}
.ck-svgmap .ck-svgmap__card-excerpt { font-size:inherit;line-height:inherit;opacity:.76;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden; }
.ck-svgmap__card-contacts { display:grid;gap:var(--ck-space-sm,.5rem);padding-top:var(--ck-map-card-gap);border-top:1px solid var(--ck-map-card-line); }
.ck-svgmap .ck-svgmap__card-contact { display:flex;align-items:flex-start;gap:var(--ck-space-sm,.625rem);margin:0;font:inherit;font-size:inherit;line-height:inherit;color:inherit;text-decoration:none;min-width:0; }
.ck-svgmap .ck-svgmap__card-contact .ck-svgmap__card-icon {margin-top:.15em;}
.ck-svgmap .ck-svgmap__card-contact span:last-child {min-width:0;overflow-wrap:anywhere;}
.ck-svgmap .ck-svgmap__card-contact[href]:hover {color:var(--ck-map-card-accent);text-decoration:underline;text-underline-offset:.2em;}
.ck-svgmap__card-fields {border-top:1px solid var(--ck-map-card-line);padding-top:var(--ck-map-card-gap);}
.ck-svgmap .ck-svgmap__card-actions {position:sticky;bottom:0;z-index:2;display:flex;gap:var(--ck-space-sm,.5rem);margin:0;padding:var(--ck-map-card-pad);border-top:1px solid var(--ck-map-card-line);background:var(--ck-map-card-surface);box-shadow:0 -.5rem 1rem color-mix(in srgb,var(--ck-map-card-surface) 80%,transparent);}
.ck-svgmap .ck-svgmap__card-action:not(.ck-btn) {min-height:42px;padding:.625rem .75rem;gap:.4rem;font-size:.8125rem;line-height:1.4;flex-wrap:nowrap;border-color:var(--ck-map-card-line);border-radius:var(--ck-radius,.5rem);}
.ck-svgmap .ck-svgmap__card-action:not(.ck-btn) .ck-svgmap__card-icon {color:inherit;width:1rem;height:1rem;}
.ck-svgmap .ck-svgmap__card-action--primary:not(.ck-btn) {border-color:transparent;}
.ck-svgmap .ck-svgmap__directions {flex:1 1 8rem;min-width:0;}
.ck-svgmap .ck-svgmap__directions-list {position:relative;padding-top:.5rem;}
.ck-svgmap .ck-svgmap__directions-list .ck-svgmap__card-action:not(.ck-btn) {white-space:normal;}
.ck-svgmap .ck-svgmap__card--practical .ck-svgmap__card-actions {grid-column:2;}
.ck-svgmap .ck-svgmap__card--practical .ck-svgmap__card-image {grid-row:1 / span 2;}
.ck-svgmap .ck-svgmap__card--practical:not(:has(.ck-svgmap__card-image:not([hidden]))) .ck-svgmap__card-actions {grid-column:auto;}
.ck-svgmap .ck-svgmap__hours-summary {display:flex;align-items:center;justify-content:space-between;gap:var(--ck-space-sm,.625rem);list-style:none;cursor:pointer;font-size:inherit;min-height:32px;}
.ck-svgmap .ck-svgmap__hours-summary::-webkit-details-marker {display:none;}
.ck-svgmap .ck-svgmap__hours-summary:focus-visible {outline:2px solid var(--ck-map-card-accent);outline-offset:3px;border-radius:var(--ck-radius-sm,.25rem);}
.ck-svgmap .ck-svgmap__hours-label {display:inline-flex;align-items:center;gap:var(--ck-space-xs,.3rem);color:inherit;opacity:.75;white-space:nowrap;}
.ck-svgmap .ck-svgmap__hours-label .ck-svgmap__card-icon {color:inherit;width:.875rem;height:.875rem;}
.ck-svgmap .ck-svgmap__hours-disclosure[open] .ck-svgmap__hours-label .ck-svgmap__card-icon:last-child {transform:rotate(180deg);}
.ck-svgmap .ck-svgmap__card-hours .ck-horaires__tete {margin:0;}
.ck-svgmap .ck-svgmap__card-hours .ck-horaires__etat {--ck-map-status-color:var(--ck-map-preview-badge-closed,var(--ck-map-preview-shared-badge-closed,var(--neutres-700,currentColor)));display:inline-flex;align-items:center;gap:var(--ck-space-xs,.4rem);border:0;border-radius:var(--ck-radius-pill,999px);padding:var(--ck-space-xs,.3rem) var(--ck-space-sm,.6rem);background:color-mix(in srgb,var(--ck-map-status-color) 9%,var(--ck-map-card-surface));color:var(--ck-map-status-color);font:inherit;font-size:.8em;line-height:inherit;white-space:normal;}
.ck-svgmap .ck-svgmap__card-hours .ck-horaires__etat:empty {display:none;}
.ck-svgmap .ck-svgmap__card-hours .ck-horaires__etat::before {content:'';flex:0 0 auto;width:.375rem;height:.375rem;border-radius:50%;background:currentColor;box-shadow:0 0 0 .2rem color-mix(in srgb,currentColor 12%,transparent);}
.ck-svgmap .ck-svgmap__card-hours .ck-horaires__etat.is-ouvert {--ck-map-status-color:var(--ck-map-preview-badge-open,var(--ck-map-preview-shared-badge-open,var(--ck-map-card-accent)));}
.ck-svgmap .ck-svgmap__card-hours .ck-horaires__etat.is-bientot {--ck-map-status-color:var(--ck-map-preview-badge-soon,var(--ck-map-preview-shared-badge-soon,var(--ck-map-card-accent)));}
.ck-svgmap .ck-svgmap__hours-disclosure > .ck-horaires {margin-top:var(--ck-map-card-gap);padding-top:var(--ck-map-card-gap);border-top:1px solid var(--ck-map-card-line);font-size:inherit;line-height:inherit;}
.ck-svgmap .ck-svgmap__hours-disclosure .ck-horaires__ligne + .ck-horaires__ligne {border-top:1px solid color-mix(in srgb,var(--ck-map-card-line) 60%,transparent);}
.ck-svgmap .ck-svgmap__hours-disclosure .ck-horaires__jour {font-weight:var(--ck-map-text-weight,400);}
.ck-svgmap .ck-svgmap__hours-disclosure .ck-horaires__val {font-variant-numeric:tabular-nums;}
.ck-svgmap .ck-svgmap__card-contact:focus-visible {outline:2px solid var(--ck-map-card-accent);outline-offset:3px;border-radius:var(--ck-radius-sm,.25rem);}
.ck-svgmap button.ck-svgmap__result {border-color:var(--ck-map-list-border,color-mix(in srgb,currentColor 10%,transparent));border-radius:var(--ck-map-list-radius,var(--ck-radius-lg,.75rem));box-shadow:var(--ck-shadow-sm,0 .125rem .5rem color-mix(in srgb,var(--neutres-900,CanvasText) 3%,transparent));}
.ck-svgmap__result-body {padding:var(--ck-map-list-padding,var(--ck-space-lg,1rem));gap:var(--ck-space-xs,.375rem);font-family:var(--ck-map-text-font,var(--ck-font-primary,inherit));font-size:var(--ck-map-text-size,1rem);font-weight:var(--ck-map-text-weight,400);line-height:var(--ck-map-text-lh,1.5);letter-spacing:var(--ck-map-text-ls,normal);}
.ck-svgmap__result-body > strong {font-family:var(--ck-map-title-font,var(--ck-font-primary,inherit));font-size:var(--ck-map-title-size,1rem);font-weight:var(--ck-map-title-weight,700);line-height:var(--ck-map-title-lh,1.3);letter-spacing:var(--ck-map-title-ls,normal);}
.ck-svgmap__result-body > span:not(.ck-svgmap__result-open) {font-size:inherit;line-height:inherit;opacity:.72;}
.ck-svgmap__result-open {display:flex;align-items:center;gap:var(--ck-space-xs,.25rem);font-size:.85em;font-weight:var(--ck-map-text-weight,400);}
.ck-svgmap--compact .ck-svgmap__card--visual .ck-svgmap__card-image {height:var(--ck-map-preview-media-height,var(--ck-map-preview-shared-media-height,10rem));max-height:none;}
.ck-svgmap--compact .ck-svgmap__card-actions {padding:var(--ck-map-card-pad);}
.ck-svgmap .ck-svgmap__result-address {display:flex;gap:var(--ck-map-addr-icon-gap,var(--ck-space-xs,.3rem));align-items:flex-start;}
.ck-svgmap .ck-svgmap__result-address .ck-svgmap__card-icon {width:var(--ck-map-addr-icon-size,.875rem);height:var(--ck-map-addr-line-height,1lh);margin-top:0;align-self:flex-start;display:flex;align-items:center;color:var(--ck-map-addr-icon-color,inherit);flex-shrink:0;}
.ck-svgmap .ck-svgmap__result-address .ck-svgmap__card-icon svg {width:var(--ck-map-addr-icon-size,.875rem);height:var(--ck-map-addr-icon-size,.875rem);}
.ck-svgmap .ck-svgmap__result-open .ck-svgmap__card-icon {width:.875rem;height:.875rem;color:inherit;}
.ck-svgmap--explore.ck-svgmap--compact .ck-svgmap__explore-toggle:not(.ck-btn) {display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-size:.875rem;font-weight:600;border-color:color-mix(in srgb,currentColor 20%,transparent);background:var(--neutres-0,Canvas);box-shadow:0 .25rem 1rem color-mix(in srgb,var(--neutres-900,CanvasText) 7%,transparent);}
.ck-svgmap__explore-toggle .ck-svgmap__card-icon {color:inherit;}

.ck-svgmap--compact .ck-svgmap__card-body {padding:var(--ck-map-preview-padding,var(--ck-map-preview-shared-padding,var(--ck-space-md,.75rem)));gap:var(--ck-map-preview-gap,var(--ck-map-preview-shared-gap,var(--ck-space-sm,.625rem)));}
/* Practical keeps its lateral photo on wide cards; compact cards need the full text width. */
.ck-svgmap--compact .ck-svgmap__card--practical:has(.ck-svgmap__card-image:not([hidden])) {display:block;}
.ck-svgmap--compact .ck-svgmap__card--practical .ck-svgmap__card-image {width:100%;height:var(--ck-map-preview-media-height,var(--ck-map-preview-shared-media-height,10rem));min-height:0;aspect-ratio:auto;object-fit:cover;}
.ck-svgmap--compact .ck-svgmap__card--practical .ck-svgmap__card-body {padding:var(--ck-map-preview-padding,var(--ck-map-preview-shared-padding,var(--ck-space-md,.75rem)));}
.ck-svgmap--compact .ck-svgmap__card--practical .ck-svgmap__card-actions {grid-column:auto;flex-wrap:wrap;}

/* Layout only: named Cerclekit aspects retain every native visual declaration. */
.ck-svgmap__card-actions > .ck-btn {flex:1 1 auto;min-width:0;}
.ck-svgmap__directions > summary.ck-btn {width:100%;cursor:pointer;box-sizing:border-box;}

/* Le logo relie visuellement la couverture et les informations du lieu.
   Les tailles explicites du Studio/Elementor restent prioritaires. Sans photo,
   l'identité conserve sa disposition naturelle dans le contenu. */
.ck-svgmap .ck-svgmap__card--visual:has(> .ck-svgmap__card-image:not([hidden])) .ck-svgmap__card-identity:has(.ck-svgmap__card-logo:not([hidden])),
.ck-svgmap--compact .ck-svgmap__card--practical:has(> .ck-svgmap__card-image:not([hidden])) .ck-svgmap__card-identity:has(.ck-svgmap__card-logo:not([hidden])) {display:flex;flex-direction:column;align-items:flex-start;gap:var(--ck-space-md,.75rem);}
.ck-svgmap .ck-svgmap__card--visual:has(> .ck-svgmap__card-image:not([hidden])) .ck-svgmap__card-logo,
.ck-svgmap--compact .ck-svgmap__card--practical:has(> .ck-svgmap__card-image:not([hidden])) .ck-svgmap__card-logo {position:relative;z-index:1;margin-top:calc(-.5 * var(--ck-map-preview-logo-size,var(--ck-map-preview-shared-logo-size,4.5rem)) - var(--ck-map-preview-padding-top,var(--ck-map-preview-padding,var(--ck-map-preview-shared-padding,var(--ck-space-lg,1rem)))));outline:4px solid var(--ck-map-card-surface);box-shadow:var(--ck-shadow-sm,0 1px 3px rgb(0 0 0 / .06));}
.ck-svgmap--compact .ck-svgmap__card--visual:has(> .ck-svgmap__card-image:not([hidden])) .ck-svgmap__card-logo,
.ck-svgmap--compact .ck-svgmap__card--practical:has(> .ck-svgmap__card-image:not([hidden])) .ck-svgmap__card-logo {margin-top:calc(-.5 * var(--ck-map-preview-logo-size,var(--ck-map-preview-shared-logo-size,4.5rem)) - var(--ck-map-preview-padding-top,var(--ck-map-preview-padding,var(--ck-map-preview-shared-padding,var(--ck-space-md,.75rem)))));}

/* Decorative territory geography never intercepts map gestures or place markers. */
.ck-svgmap__territory-overlay {position:absolute;left:0;top:0;overflow:hidden;max-width:none;pointer-events:none;}
.ck-svgmap__territory-overlay * {pointer-events:none;}
.ck-svgmap__territory-status {margin:.5rem 0;font:inherit;font-size:.875em;color:inherit;}

/* Optional tile-only monochrome/tint filter. The SVG definition is outside the
   map root because the Leaflet/SVG constructor replaces that root's contents. */
.ck-svgmap-filter-defs {position:absolute;width:0;height:0;pointer-events:none;overflow:hidden;}
.ck-svgmap--tiles .leaflet-tile-pane .leaflet-tile,
.ck-svgmap--tiles .leaflet-tile-pane .maplibregl-canvas {filter:var(--ck-map-basemap-filter,none);}

/* Positionnement conservé ; la fiche ne porte plus de pointe. */
.ck-svgmap__preview.is-positioning {visibility:hidden;pointer-events:none;}
.ck-svgmap__preview.is-opening {animation:ck-map-preview-in var(--ck-map-preview-duration,250ms) ease-out both;}
.ck-svgmap__preview.is-opening > .ck-svgmap__card {animation:none;}
.ck-svgmap__preview.is-map-zooming {transition:left .25s cubic-bezier(0,0,.25,1),top .25s cubic-bezier(0,0,.25,1);}
.ck-svgmap .leaflet-marker-icon.is-preview-selected .ck-svgmap__pin {filter:drop-shadow(0 0 3px var(--ck-map-accent,currentColor));}
@keyframes ck-map-preview-in {from{opacity:0;transform:var(--ck-map-preview-enter-transform,none)}to{opacity:1;transform:none}}
@keyframes ck-map-preview-out {from{opacity:1;transform:none}to{opacity:0;transform:var(--ck-map-preview-enter-transform,none)}}
.ck-svgmap__preview.is-closing {animation:ck-map-preview-out var(--ck-map-preview-duration,250ms) ease-in both;pointer-events:none;}
@media(prefers-reduced-motion:reduce){
 .ck-svgmap__preview.is-opening,.ck-svgmap__preview.is-closing,.ck-svgmap__preview.is-opening > .ck-svgmap__card {animation:none;}
 .ck-svgmap__preview.is-map-zooming {transition:none;}
}

/* Taxonomy/geography filters reuse the public search controls and palette. */
.ck-svgmap__explorer-head:has(.ck-svgmap__filters) {max-height:55%;overflow:auto;flex-shrink:0;}
.ck-svgmap__filters {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:var(--ck-space-sm,.5rem);}
.ck-svgmap__filter-label {display:grid;gap:var(--ck-space-xs,.375rem);min-width:0;}
.ck-svgmap select.ck-svgmap__filter-select {min-width:0;}
.ck-svgmap .ck-svgmap__filters-reset:not(.ck-btn) {justify-self:start;min-height:32px;padding:0;border:0;background:none;box-shadow:none;color:var(--ck-map-preview-accent,var(--ck-map-preview-shared-accent,var(--ck-map-accent)));font-family:var(--ck-map-text-font,var(--ck-font-primary,inherit));font-size:var(--ck-map-text-size,.8125rem);font-weight:var(--ck-map-text-weight,400);line-height:var(--ck-map-text-lh,1.5);letter-spacing:var(--ck-map-text-ls,normal);text-align:left;text-decoration:underline;cursor:pointer;}
.ck-svgmap .ck-svgmap__filters-reset:not(.ck-btn)[hidden] {display:none;}
.ck-svgmap .ck-svgmap__filters-reset:not(.ck-btn):focus-visible {outline:2px solid var(--ck-map-preview-accent,var(--ck-map-preview-shared-accent,var(--ck-map-accent)));outline-offset:2px;}

/* Shared button aspects own all visual properties. Only map placement remains local. */
.ck-svgmap--explore.ck-svgmap--compact .ck-svgmap__explore-toggle.ck-btn {display:inline-flex;grid-column:1;grid-row:3;justify-self:center;margin:var(--ck-space-md,.75rem) 0;}
.ck-svgmap .ck-svgmap__filters-reset.ck-btn {justify-self:start;max-width:100%;white-space:normal;text-align:start;}
.ck-svgmap .ck-svgmap__filters-reset[hidden] {display:none!important;}
.ck-svgmap .ck-svgmap__locate.ck-btn {flex:0 0 auto;}
.ck-svgmap .ck-svgmap__locate.ck-btn:disabled {cursor:wait;}
.ck-svgmap .ck-svgmap__card-close.ck-btn {position:absolute;z-index:3;top:var(--ck-space-sm,.5rem);right:var(--ck-space-sm,.5rem);}
.ck-svgmap .ck-svgmap__card-close.ck-btn .ck-svgmap__card-icon,
.ck-svgmap .ck-svgmap__explore-toggle.ck-btn .ck-svgmap__card-icon {color:inherit;}
.ck-svgmap .ck-svgmap__zoombtn.ck-btn svg,.ck-svgmap .ck-svgmap__ctrl-btn.ck-btn svg {width:1em;height:1em;}
.ck-svgmap .ck-svgmap__zoomgrp:has(.ck-btn),
.ck-svgmap--tiles .leaflet-bar:has(.ck-btn) {background:transparent;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible;display:flex;flex-direction:column;gap:var(--ck-space-xs,.25rem);}

.ck-svgmap .leaflet-bar a.ck-btn {width:auto;height:auto;min-width:44px;min-height:44px;}
.ck-svgmap .ck-svgmap__control-icon {display:inline-flex;align-items:center;justify-content:center;line-height:1;}
.ck-svgmap .ck-svgmap__control-icon svg {width:1em;height:1em;}
/* Visibility is behaviour, not an aspect: beat native aspect display !important. */
.ck-svgmap:not(.ck-svgmap--compact) .ck-svgmap__explore-toggle.ck-btn.ck-btn.ck-btn,
.ck-svgmap .ck-svgmap__filters-reset.ck-btn.ck-btn.ck-btn[hidden],
.ck-svgmap:not(.is-zoomed) .ck-svgmap__zoomreset.ck-btn.ck-btn.ck-btn {display:none!important;}
.ck-svgmap .ck-svgmap__zoombtn.ck-btn,
.ck-svgmap .ck-svgmap__card-close.ck-btn {min-width:44px;min-height:44px;}

/* Cartographic icon controls retain compact geometry, independent of text-button aspects. */
.ck-svgmap .ck-svgmap__icon-control,
.ck-svgmap .leaflet-bar a.ck-svgmap__icon-control {
 box-sizing:border-box;appearance:none;display:flex;align-items:center;justify-content:center;
 width:44px;height:44px;min-width:44px;min-height:44px;max-width:44px;max-height:44px;
 padding:0;margin:0;gap:0;line-height:1;font-family:inherit;font-size:20px;font-weight:400;
 color:var(--ck-map-ctrl-text,var(--neutres-900,CanvasText));background:var(--ck-map-zoom-bg,var(--neutres-0,Canvas));
 border:0;border-radius:0;box-shadow:none;text-decoration:none;text-transform:none;letter-spacing:normal;
 cursor:pointer;transition:background-color .15s ease,color .15s ease;touch-action:manipulation;
}
.ck-svgmap .ck-svgmap__icon-control:hover,
.ck-svgmap .leaflet-bar a.ck-svgmap__icon-control:hover {
 background:var(--neutres-100,#f3f4f5);color:var(--ck-map-accent,var(--primaire-accent,currentColor));
}
.ck-svgmap .ck-svgmap__icon-control:focus-visible {
 outline:2px solid var(--ck-map-accent,var(--primaire-accent,currentColor));outline-offset:-3px;
}
.ck-svgmap .ck-svgmap__icon-control:disabled,
.ck-svgmap .leaflet-bar a.ck-svgmap__icon-control.leaflet-disabled {opacity:.4;cursor:default;}
.ck-svgmap .ck-svgmap__icon-control svg {width:20px;height:20px;}
.ck-svgmap .ck-svgmap__zoomgrp:has(.ck-svgmap__icon-control),
.ck-svgmap .leaflet-bar:has(.ck-svgmap__icon-control),
.ck-svgmap .ck-svgmap__ctrl:has(.ck-svgmap__icon-control) {
 background:var(--ck-map-zoom-bg,var(--neutres-0,Canvas));border:0!important;
 border-radius:var(--ck-radius-lg,12px)!important;box-shadow:var(--ck-shadow-sm,0 1px 3px rgb(0 0 0 / .12))!important;overflow:hidden;
}
.ck-svgmap .leaflet-bar a.ck-svgmap__icon-control {border-bottom:1px solid color-mix(in srgb,var(--ck-map-ctrl-text,currentColor) 12%,transparent)!important;}
.ck-svgmap .leaflet-bar a.ck-svgmap__icon-control:last-child {border-bottom:0!important;}
.ck-svgmap .ck-svgmap__card-close.ck-svgmap__icon-control {
 position:absolute;z-index:3;top:var(--ck-space-sm,.5rem);right:var(--ck-space-sm,.5rem);
 border-radius:50%;border:1px solid color-mix(in srgb,var(--neutres-900,CanvasText) 10%,transparent);
 background:var(--neutres-0,Canvas);color:var(--neutres-900,CanvasText);box-shadow:var(--ck-shadow-sm,0 1px 3px rgb(0 0 0 / .12));
}
.ck-svgmap .ck-svgmap__card-close.ck-svgmap__icon-control:hover {background:var(--neutres-100,#f3f4f5);color:var(--ck-map-accent,currentColor);}
.ck-svgmap .ck-svgmap__card-close.ck-svgmap__icon-control .ck-svgmap__card-icon {color:inherit;}
.ck-svgmap:not(.is-zoomed) .ck-svgmap__zoomreset.ck-svgmap__icon-control {display:none;}

/* Geographic region navigation shares Cerclekit colours and native button aspects. */
.ck-svgmap .ck-svgmap__region-path {stroke-width:calc(1px * var(--ck-map-stroke-compensation,1));stroke:var(--ck-map-territory-stroke,var(--secondaire-accent,currentColor));stroke-opacity:.42;fill:var(--ck-map-territory-fill,var(--secondaire-accent,currentColor));cursor:pointer;}
.ck-svgmap .ck-svgmap__region-path:hover,.ck-svgmap .ck-svgmap__region-path:focus-visible,.ck-svgmap .ck-svgmap__region-path.is-selected {fill-opacity:.12;stroke-opacity:1;stroke-width:calc(2px * var(--ck-map-stroke-compensation,1));outline:none;}
.ck-svgmap .ck-svgmap__region-navigation {max-width:calc(100vw - 120px);}
.ck-svgmap .ck-svgmap__region-navigation button {min-height:44px;}
.ck-svgmap .ck-svgmap__region-tooltip {border:0;}
.ck-svgmap .ck-svgmap__region-tooltip.leaflet-tooltip-top::before {border-top-color:var(--ck-map-tip-bg,var(--neutres-900,#1a1a2e));}
.ck-svgmap .ck-svgmap__region-tooltip.leaflet-tooltip-bottom::before {border-bottom-color:var(--ck-map-tip-bg,var(--neutres-900,#1a1a2e));}
.ck-svgmap .ck-svgmap__region-tooltip.leaflet-tooltip-left::before {border-left-color:var(--ck-map-tip-bg,var(--neutres-900,#1a1a2e));}
.ck-svgmap .ck-svgmap__region-tooltip.leaflet-tooltip-right::before {border-right-color:var(--ck-map-tip-bg,var(--neutres-900,#1a1a2e));}

.ck-svgmap .ck-svgmap__region-path.is-navigation-inactive {pointer-events:none;fill-opacity:0;stroke-opacity:.3;cursor:default;}
.ck-svgmap .ck-svgmap__viewport-mask {position:absolute;inset:0;width:100%;height:100%;z-index:350;pointer-events:none;overflow:hidden;}

/* The selected territory keeps its boundary after it stops accepting clicks. */
.ck-svgmap .ck-svgmap__region-path.is-selected,
.ck-svgmap .ck-svgmap__region-path.is-selected.is-navigation-inactive {
 stroke:var(--ck-map-territory-stroke,var(--secondaire-accent,currentColor));
 stroke-opacity:1;stroke-width:calc(var(--ck-map-selected-stroke-width,2px) * var(--ck-map-stroke-compensation,1));fill-opacity:0;
}

/* Geographic outlines retain their configured screen width during map scaling. */
.ck-svgmap .ck-svgmap__region-path,
.ck-svgmap .ck-svgmap__territory-line {vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round;}

.ck-svgmap .ck-svgmap__territory-line {stroke-width:calc(var(--ck-map-territory-line-width,2px) * var(--ck-map-stroke-compensation,1));}

/* Geographic trail reuses the public Cerclekit breadcrumb component. */
.ck-svgmap .ck-svgmap__breadcrumb {
 --ck-bc-gap:var(--ck-space-xs,.375rem);
 --ck-bc-link:var(--ck-map-crumb-link,var(--ck-map-text-color,var(--neutres-900,CanvasText)));
 --ck-bc-link-h:var(--ck-map-crumb-link-h,var(--ck-map-preview-accent,var(--ck-map-preview-shared-accent,var(--ck-map-accent))));
 --ck-bc-current:var(--ck-map-crumb-current,var(--ck-map-text-color,var(--neutres-900,CanvasText)));
 --ck-bc-sep:var(--ck-map-crumb-sep,currentColor);
 display:var(--ck-map-crumb-display,block);
 max-width:calc(100% - 80px); padding:var(--ck-map-crumb-padding,var(--ck-space-xs,.375rem) var(--ck-space-md,.75rem));
 background:var(--ck-map-crumb-bg,var(--ck-map-preview-bg,var(--neutres-0,Canvas)));
 border-radius:var(--ck-map-crumb-radius,var(--ck-radius-md,.5rem)); box-shadow:var(--ck-map-crumb-shadow,var(--ck-shadow-sm,0 1px 4px rgb(0 0 0 / .12)));
 font-family:var(--ck-map-text-font,var(--ck-font-primary,inherit));font-size:var(--ck-map-text-size,.875rem);
 line-height:var(--ck-map-text-lh,1.5);letter-spacing:var(--ck-map-text-ls,normal);
}
.ck-svgmap .leaflet-top.leaflet-right {max-width:100%;width:100%;pointer-events:none;}
.ck-svgmap .ck-svgmap__breadcrumb button.ck-breadcrumb__link {
 appearance:none; margin:0; padding:0; min-width:0; min-height:32px; border:0; border-radius:0;
 background:transparent; box-shadow:none; font:inherit; text-transform:none; letter-spacing:inherit;
 color:var(--ck-bc-link);cursor:pointer;
}
.ck-svgmap .ck-svgmap__breadcrumb button.ck-breadcrumb__link:hover {color:var(--ck-bc-link-h);}
.ck-svgmap .ck-svgmap__breadcrumb button.ck-breadcrumb__link:focus-visible {outline:2px solid var(--ck-bc-link-h);outline-offset:2px;}
.ck-svgmap .ck-svgmap__breadcrumb .ck-breadcrumb__item {min-width:0;overflow-wrap:anywhere;}

/* Shared component layout: optional values never change an old model by absence. */
.ck-svgmap { --ck-map-layout-height-resolved:var(--ck-map-model-height,var(--ck-map-layout-height-desktop)); }
@media (max-width:1024px) { .ck-svgmap { --ck-map-layout-height-resolved:var(--ck-map-model-height,var(--ck-map-layout-height-tablet,var(--ck-map-layout-height-desktop))); } }
@media (max-width:767px) { .ck-svgmap { --ck-map-layout-height-resolved:var(--ck-map-model-height,var(--ck-map-layout-height-mobile,var(--ck-map-layout-height-tablet,var(--ck-map-layout-height-desktop)))); } }
.ck-svgmap > .ck-svgmap__explorer {
 height:var(--ck-map-layout-height-resolved,var(--ck-map-h,520px));box-sizing:border-box; background:var(--ck-map-column-background,var(--ck-map-preview-bg,var(--neutres-0,Canvas)));
 padding:var(--ck-map-column-padding,0); border-radius:var(--ck-map-column-radius,0);overflow:hidden;
}
.ck-svgmap > .ck-svgmap__leaflet { height:var(--ck-map-layout-height-resolved,var(--ck-map-h,520px)); }
.ck-svgmap > .ck-svgmap__stage { max-height:var(--ck-map-layout-height-resolved,var(--ck-map-h,520px)); }
/* An aspect on the result action is presentational: the enclosing result remains its only button. */
.ck-svgmap .ck-svgmap__result-open.ck-btn {align-self:start;justify-self:start;width:auto;max-width:100%;}

/* Explicit widget height includes its toolbar and compact list switch.
 * Scope by the active saved breakpoint: absent heights keep the historical auto layout. */
.ck-svgmap--explore[style*="--ck-map-layout-height-desktop:"] {
 height:var(--ck-map-layout-height-resolved);box-sizing:border-box;
 grid-template-rows:auto minmax(0,1fr) auto;
}
.ck-svgmap--explore[style*="--ck-map-layout-height-desktop:"] > :is(.ck-svgmap__stage,.ck-svgmap__leaflet,.ck-svgmap__explorer) {
 height:100%;min-height:0;max-height:100%;box-sizing:border-box;
}
@media (max-width:1024px) {
.ck-svgmap--explore[style*="--ck-map-layout-height-tablet:"] {
 height:var(--ck-map-layout-height-resolved);box-sizing:border-box;
 grid-template-rows:auto minmax(0,1fr) auto;
}
.ck-svgmap--explore[style*="--ck-map-layout-height-tablet:"] > :is(.ck-svgmap__stage,.ck-svgmap__leaflet,.ck-svgmap__explorer) {
 height:100%;min-height:0;max-height:100%;box-sizing:border-box;
}
}
@media (max-width:767px) {
.ck-svgmap--explore[style*="--ck-map-layout-height-mobile:"] {
 height:var(--ck-map-layout-height-resolved);box-sizing:border-box;
 grid-template-rows:auto minmax(0,1fr) auto;
}
.ck-svgmap--explore[style*="--ck-map-layout-height-mobile:"] > :is(.ck-svgmap__stage,.ck-svgmap__leaflet,.ck-svgmap__explorer) {
 height:100%;min-height:0;max-height:100%;box-sizing:border-box;
}
}

/* Modèles natifs : les variables de modèle gardent les replis des anciennes cartes. */
.ck-svgmap button.ck-svgmap__result {background:var(--ck-map-list-bg-normal,var(--ck-map-list-background,transparent));border-color:var(--ck-map-list-border-normal,var(--ck-map-list-border,color-mix(in srgb,currentColor 10%,transparent)));}
.ck-svgmap .ck-svgmap__result strong {color:var(--ck-map-list-title-normal,inherit);}
.ck-svgmap button.ck-svgmap__result:hover {background:var(--ck-map-list-bg-hover,var(--ck-map-list-background,color-mix(in srgb,var(--ck-map-accent) 5%,transparent)));border-color:var(--ck-map-list-border-hover,var(--ck-map-list-border,var(--ck-map-accent)));}
.ck-svgmap .ck-svgmap__result:hover strong {color:var(--ck-map-list-title-hover,var(--ck-map-list-title-normal,inherit));}
.ck-svgmap button.ck-svgmap__result[aria-pressed="true"] {background:var(--ck-map-list-bg-active,var(--ck-map-list-background,color-mix(in srgb,var(--ck-map-accent) 5%,transparent)));border-color:var(--ck-map-list-border-active,var(--ck-map-list-border,var(--ck-map-accent)));}
.ck-svgmap .ck-svgmap__result[aria-pressed="true"] strong {color:var(--ck-map-list-title-active,var(--ck-map-list-title-normal,inherit));}
.ck-svgmap .ck-svgmap__card-hours .ck-horaires__etat.is-ouvert {color:var(--ck-map-etat-ouvert-color,var(--ck-map-preview-badge-open,var(--ck-map-preview-shared-badge-open,#15803d)));background:var(--ck-map-etat-ouvert-bg,#dcfce7);border:1px solid var(--ck-map-etat-ouvert-border,var(--ck-map-etat-ouvert-color,#15803d));}
.ck-svgmap .ck-svgmap__card-hours .ck-horaires__etat.is-ferme {color:var(--ck-map-etat-ferme-color,var(--ck-map-preview-badge-closed,var(--ck-map-preview-shared-badge-closed,#b91c1c)));background:var(--ck-map-etat-ferme-bg,#fee2e2);border:1px solid var(--ck-map-etat-ferme-border,var(--ck-map-etat-ferme-color,#b91c1c));}
/* 5.0.299 — « Ouvre bientôt » / « Ferme bientôt » (is-bientot s'ajoute à is-ouvert ou is-ferme) : état Bientôt du modèle. */
.ck-svgmap .ck-svgmap__card-hours .ck-horaires__etat.is-bientot {color:var(--ck-map-etat-bientot-color,var(--ck-map-preview-badge-soon,var(--ck-map-preview-shared-badge-soon,#b45309)));background:var(--ck-map-etat-bientot-bg,#fef3c7);border:1px solid var(--ck-map-etat-bientot-border,var(--ck-map-etat-bientot-color,#b45309));}
/* Surcharges géométriques uniquement : l'aspect Boutons conserve ses couleurs et effets. */
.ck-svgmap .ck-svgmap__card-close.ck-svgmap__card-close {top:var(--ck-map-close-top,var(--ck-space-sm,.5rem));right:var(--ck-map-close-right,var(--ck-space-sm,.5rem));}
/* La barre unique utilise les mêmes réglages pour le zoom et la localisation. */
.ck-svgmap .ck-svgmap__ctrl {flex-direction:column;gap:var(--ck-map-ctrl-gap,0px);}
.ck-svgmap .ck-svgmap__ctrl:not(.ck-svgmap__zoomui) {display:flex;}
.ck-svgmap .ck-svgmap__ctrl .ck-svgmap__zoomgrp {gap:var(--ck-map-ctrl-gap,0px);overflow:visible;border-radius:var(--ck-map-ctrl-radius,12px);background:transparent;}
.ck-svgmap .ck-svgmap__zoomui {top:var(--ck-map-ctrl-top,var(--ck-map-zoom-top,10px));right:var(--ck-map-ctrl-right,var(--ck-map-zoom-right,auto));bottom:var(--ck-map-ctrl-bottom,var(--ck-map-zoom-bottom,auto));left:var(--ck-map-ctrl-left,var(--ck-map-zoom-left,10px));}
.ck-svgmap .ck-svgmap__ctrl:has(.ck-svgmap__icon-control) {border-radius:var(--ck-map-ctrl-radius,12px)!important;overflow:visible;background:transparent;box-shadow:none!important;}
.ck-svgmap .ck-svgmap__ctrl .ck-svgmap__ctrl-btn.ck-svgmap__ctrl-btn {box-sizing:border-box;width:var(--ck-map-ctrl-size,44px);height:var(--ck-map-ctrl-size,44px);min-width:var(--ck-map-ctrl-size,44px);min-height:var(--ck-map-ctrl-size,44px);max-width:var(--ck-map-ctrl-size,44px);max-height:var(--ck-map-ctrl-size,44px);padding:0;border:1px solid var(--ck-map-ctrl-border-normal,transparent)!important;border-radius:var(--ck-map-ctrl-radius,0px);color:var(--ck-map-ctrl-color-normal,var(--ck-map-ctrl-text,var(--neutres-900,CanvasText)));background:var(--ck-map-ctrl-bg-normal,var(--ck-map-zoom-bg,var(--neutres-0,Canvas)));}
.ck-svgmap .ck-svgmap__ctrl .ck-svgmap__ctrl-btn.ck-svgmap__ctrl-btn:hover,
.ck-svgmap .ck-svgmap__ctrl .ck-svgmap__ctrl-btn.ck-svgmap__ctrl-btn.is-active {color:var(--ck-map-ctrl-color-hover,var(--ck-map-accent,currentColor));background:var(--ck-map-ctrl-bg-hover,var(--neutres-100,#f3f4f5));border-color:var(--ck-map-ctrl-border-hover,var(--ck-map-ctrl-border-normal,transparent))!important;}
.ck-svgmap .ck-svgmap__ctrl .screen-reader-text {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}

/* Navigation par niveaux : un seul contour net a chaque niveau, jamais plusieurs traces superposes. */
.ck-svgmap[data-ck-niveau] .ck-svgmap__territory-line {display:none;}
.ck-svgmap[data-ck-niveau] .ck-svgmap__region-path:not(:hover):not(:focus-visible) {stroke:transparent;}
.ck-svgmap[data-ck-niveau="france"] .ck-svgmap__region-path:not(.ck-svgmap__department-path):not(:hover):not(:focus-visible),
.ck-svgmap[data-ck-niveau] .ck-svgmap__region-path.is-selected:not(:hover):not(:focus-visible),
.ck-svgmap[data-ck-niveau="region"] .ck-svgmap__department-path:not(.ck-svgmap__commune-path):not(:hover):not(:focus-visible) {stroke:var(--ck-map-territory-stroke,var(--secondaire-accent,currentColor));stroke-opacity:1;stroke-width:calc(var(--ck-map-selected-stroke-width,2px) * var(--ck-map-stroke-compensation,1));}
.ck-svgmap[data-ck-niveau="departement"] .ck-svgmap__commune-path:not(:hover):not(:focus-visible),
.ck-svgmap[data-ck-niveau="commune"] .ck-svgmap__commune-path:not(.is-selected):not(:hover):not(:focus-visible) {stroke:var(--ck-map-territory-stroke,var(--secondaire-accent,currentColor));stroke-opacity:.14;stroke-width:calc(1px * var(--ck-map-stroke-compensation,1));}
/* Survol d'une zone : reglable dans le modele, sinon les couleurs de la zone. */
.ck-svgmap .ck-svgmap__region-path:not(.is-selected):hover {fill:var(--ck-map-zone-hover-fill,var(--ck-map-territory-fill,var(--secondaire-accent,currentColor)));fill-opacity:var(--ck-map-zone-hover-opacity,.12);stroke:var(--ck-map-zone-hover-stroke,var(--ck-map-territory-stroke,var(--secondaire-accent,currentColor)));}
/* Sur une region, les departements dessinent deja son contour : le sien, moins precis, ne se superpose pas. */
.ck-svgmap[data-ck-niveau="region"]:has(.ck-svgmap__department-path) .ck-svgmap__region-path.is-selected:not(.ck-svgmap__department-path) {stroke:transparent!important;}
/* Sur une commune, seuls les contours precis restent : ceux des departements et regions, trop simplifies a ce zoom, ne se dessinent plus, meme selectionnes ou survoles. */
.ck-svgmap[data-ck-niveau="commune"] .ck-svgmap__region-path:not(.ck-svgmap__commune-path) {stroke:transparent!important;fill-opacity:0!important;}
.ck-svgmap[data-ck-niveau="departement"] .leaflet-ckTerritory-pane,
.ck-svgmap[data-ck-niveau="commune"] .leaflet-ckTerritory-pane {display:none;}
