/*
 * SVG icons are inlined as data URIs (one request); their sources are in assets/img/.
 * Plan du campus : carte interactive (plugin plancampus-carte)
 * Mobile-first. Every colour / size the theme may want to change is a custom property on .pc-carte
 * (override them on :root or .pc-carte in the theme).
 */
.pc-carte {
	/* Values that match prod reuse the parent theme (sav-theme-uqam) presets; the fallbacks are the prod values. */
	--pc-police: 'Asap', var(--wp--preset--font-family--roboto, Arial), Arial, sans-serif; /* Asap is self-hosted by the theme (as on prod) */
	--pc-taille-texte: var(--wp--preset--font-size--medium, 14px);  /* 14px */
	--pc-taille-petit: var(--wp--preset--font-size--x-small, 12px); /* 12px */
	--pc-taille-titre: var(--wp--preset--font-size--x-large, 18px); /* 18px */
	--pc-bleu-fonce: #205a7c;      /* accordion headers, titles */
	--pc-bleu-survol: #2a6f97;     /* header hover (prod: #009ce5, too low contrast) */
	--pc-orange: #ffae00;          /* active header, "Retourner à la carte" bar */
	--pc-actif-texte: #14394f;     /* text on orange (prod: #fff; #fff on #ffae00 fails WCAG AA) */
	--pc-lien: var(--wp--preset--color--bleu-uqam, #0079be);
	--pc-lien-survol: #a86400;     /* prod: #e99f00 / #ffae00 (fails AA on white) */
	--pc-texte: #000;
	--pc-filet: #ccc;
	--pc-filet-cat: #d9d9d9;
	--pc-barre-fond: #f2f2f2;
	--pc-panneau-fond: var(--wp--preset--color--blanc, #fff);
	--pc-rouge: #b90000;           /* "Masquer tous les points d'intérêt" */
	--pc-focus: #14394f;
	--pc-batiment: #087dbd;        /* building polygons (read by carte.js) */
	--pc-batiment-survol: #14394f; /* polygon hover (read by carte.js) */
	--pc-entetes-mobile: 80px;     /* height of the 3 tabs on phones */
	--pc-retour-hauteur: 50px;
	--pc-carte-decalage: 0px;      /* set by carte.js: distance from the top of the viewport */
	--pc-carte-hauteur: calc(100svh - var(--pc-carte-decalage));
	--pc-carte-hauteur-min: 420px;

	position: relative;
	width: 100%;
	height: max(var(--pc-carte-hauteur), var(--pc-carte-hauteur-min));
	overflow: hidden;
	font-family: var(--pc-police);
	font-size: var(--pc-taille-texte);
	line-height: 1.42857;
	color: var(--pc-texte);
	box-sizing: border-box;
}
.pc-carte *, .pc-carte *::before, .pc-carte *::after, .pc-carte summary { box-sizing: border-box; }
.pc-carte ul { margin: 0; padding: 0; list-style: none; }
.pc-carte button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
.pc-carte button:disabled { cursor: default; }
.pc-carte :focus-visible { outline: 3px solid var(--pc-focus); outline-offset: 2px; }
.pc-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.pc-carte [hidden] { display: none !important; }

/* ------------------------------------------------------------------ layout (phones first) */
.pc-carte__barre {
	position: absolute;
	top: 0; left: 0; right: 0;
	z-index: 2;
}
.pc-carte__canevas {
	position: absolute;
	top: var(--pc-entetes-mobile); left: 0; right: 0; bottom: 0;
	z-index: 1;
	overflow: hidden;
}
.pc-carte__map { position: absolute; inset: 0; background: #e5e3df; }
/* OpenStreetMap engine (MapLibre): its stylesheet sets .maplibregl-map { position: relative } */
.pc-carte__map.maplibregl-map { position: absolute; z-index: 0; background: #eef0f1; } /* own stacking context: markers stay under the sheet */
.pc-carte .maplibregl-ctrl-attrib { font-size: 11px; }
.pc-carte__message { margin: 0; padding: 2em; text-align: center; color: #333; }
.pc-carte__ombre { position: absolute; display: block; box-shadow: 0 0 15px 0 rgba(0, 0, 0, 1); pointer-events: none; z-index: 1; }
.pc-carte__ombre--haut { top: -5px; left: 0; right: 0; height: 5px; }
.pc-carte__ombre--gauche { left: -5px; top: 0; bottom: 0; width: 5px; }

/* ------------------------------------------------------------------ main accordion: 3 tabs on phones */
.pc-acc { position: relative; padding-top: var(--pc-entetes-mobile); }
.pc-acc__titre {
	position: absolute;
	top: 0;
	height: var(--pc-entetes-mobile);
	padding: 40px 4px 0;
	display: flex; align-items: flex-start; justify-content: center;
	background-color: var(--pc-bleu-fonce);
	background-repeat: no-repeat;
	background-size: auto 25px;
	background-position: top 7px center;
	color: #fff;
	font-size: 12px; line-height: 18px; font-weight: bold;
	text-transform: uppercase; text-align: center;
	border-bottom: 1px solid #fff;
	list-style: none;
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}
.pc-acc__titre::-webkit-details-marker { display: none; }
.pc-acc__titre:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.pc-acc__section--zoom > .pc-acc__titre { left: 0; width: 33%; border-right: 1px solid #fff; background-image: url("data:image/svg+xml,%3Csvg version=%221.1%22 id=%22Layer_1%22 xmlns=%22http://www.w3.org/2000/svg%22 xmlns:xlink=%22http://www.w3.org/1999/xlink%22 x=%220px%22 y=%220px%22 width=%2244px%22 height=%2244px%22 viewBox=%220 0 44 44%22 enable-background=%22new 0 0 44 44%22 xml:space=%22preserve%22%3E %3Cg%3E %3Cpath fill=%22%23FFFFFF%22 d=%22M44,39.2L31.9,27c1.8-2.8,2.9-6.1,2.9-9.7C34.8,7.8,27,0,17.4,0S0,7.8,0,17.4s7.8,17.4,17.4,17.4 c3.6,0,6.9-1.1,9.7-2.9L39.2,44L44,39.2z M4.5,17.4c0-7.1,5.8-12.9,12.9-12.9s12.9,5.8,12.9,12.9s-5.8,12.9-12.9,12.9 S4.5,24.5,4.5,17.4z%22/%3E %3Cpolygon fill=%22%23FFFFFF%22 points=%2219,10 16,10 16,16 10,16 10,19 16,19 16,25 19,25 19,19 25,19 25,16 19,16 %22/%3E %3C/g%3E %3C/svg%3E"); }
.pc-acc__section--liste > .pc-acc__titre { left: 33%; width: 34%; border-right: 1px solid #fff; background-image: url("data:image/svg+xml,%3Csvg version=%221.1%22 id=%22Layer_1%22 xmlns=%22http://www.w3.org/2000/svg%22 xmlns:xlink=%22http://www.w3.org/1999/xlink%22 x=%220px%22 y=%220px%22 width=%2242px%22 height=%2238px%22 viewBox=%220 0 42 38%22 enable-background=%22new 0 0 42 38%22 xml:space=%22preserve%22%3E %3Ccircle fill=%22%23FFFFFF%22 cx=%223.5%22 cy=%223.5%22 r=%223.5%22/%3E %3Ccircle fill=%22%23FFFFFF%22 cx=%223.5%22 cy=%2213.8%22 r=%223.5%22/%3E %3Ccircle fill=%22%23FFFFFF%22 cx=%223.5%22 cy=%2224.2%22 r=%223.5%22/%3E %3Ccircle fill=%22%23FFFFFF%22 cx=%223.5%22 cy=%2234.5%22 r=%223.5%22/%3E %3Cpath fill=%22%23FFFFFF%22 d=%22M39.8,5.6H13.9c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2h25.9c1.2,0,2.2,1,2.2,2.2S41,5.6,39.8,5.6z%22/%3E %3Cpath fill=%22%23FFFFFF%22 d=%22M39.8,16H13.9c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2h25.9c1.2,0,2.2,1,2.2,2.2S41,16,39.8,16z%22/%3E %3Cpath fill=%22%23FFFFFF%22 d=%22M39.8,26.3H13.9c-1.2,0-2.2-1-2.2-2.2s1-2.2,2.2-2.2h25.9c1.2,0,2.2,1,2.2,2.2S41,26.3,39.8,26.3z%22/%3E %3Cpath fill=%22%23FFFFFF%22 d=%22M39.8,36.7H13.9c-1.2,0-2.2-1-2.2-2.2c0-1.2,1-2.2,2.2-2.2h25.9c1.2,0,2.2,1,2.2,2.2 C41.9,35.7,41,36.7,39.8,36.7z%22/%3E %3C/svg%3E"); }
.pc-acc__section--points > .pc-acc__titre { left: 67%; width: 33%; background-image: url("data:image/svg+xml,%3Csvg version=%221.1%22 id=%22Layer_1%22 xmlns=%22http://www.w3.org/2000/svg%22 xmlns:xlink=%22http://www.w3.org/1999/xlink%22 x=%220px%22 y=%220px%22 width=%2231px%22 height=%2244px%22 viewBox=%220 0 31 44%22 enable-background=%22new 0 0 31 44%22 xml:space=%22preserve%22%3E %3Cg%3E %3Cpath fill=%22%23FFFFFF%22 d=%22M26.2,4.7C23.3,1.7,19.5,0,15.5,0C11.4,0,7.6,1.5,4.8,4.2c-2.9,2.8-4.4,6.7-4.4,11c0,5.6,2.2,8.7,5.2,12.9 c2.5,3.4,5.6,7.7,8.7,15.2c0.2,0.5,0.7,0.8,1.3,0.8s1.1-0.3,1.3-0.8c3.2-7.6,6.3-12.2,8.8-15.9c2.9-4.3,5-7.3,5-12.1 C30.6,11.4,29,7.6,26.2,4.7z M15.5,20.6c-3,0-5.5-2.5-5.5-5.5s2.5-5.5,5.5-5.5s5.5,2.5,5.5,5.5S18.5,20.6,15.5,20.6z%22/%3E %3C/g%3E %3C/svg%3E"); }
.pc-acc__section[open] > .pc-acc__titre { background-color: var(--pc-orange); color: var(--pc-actif-texte); }
@media (hover: hover) {
	.pc-acc__section:not([open]) > .pc-acc__titre:hover { background-color: var(--pc-bleu-survol); }
}
.pc-acc__contenu {
	background: var(--pc-panneau-fond);
	padding: 1em 2.2em calc(var(--pc-retour-hauteur) + 1em);
	max-height: calc(max(var(--pc-carte-hauteur), var(--pc-carte-hauteur-min)) - var(--pc-entetes-mobile));
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	box-shadow: 0 6px 10px rgba(0, 0, 0, .15);
}

.pc-retour {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 1000;
	height: calc(var(--pc-retour-hauteur) + env(safe-area-inset-bottom, 0px));
	padding-bottom: env(safe-area-inset-bottom, 0px);
	background: var(--pc-orange);
}
.pc-retour__bouton {
	display: block; width: 100%; height: var(--pc-retour-hauteur);
	color: var(--pc-actif-texte) !important; font-size: 18px !important; line-height: var(--pc-retour-hauteur);
	text-align: center !important;
}
.pc-retour__bouton:focus-visible { outline-offset: -5px; }

/* ------------------------------------------------------------------ Zoomer sur */
.pc-zooms li {
	margin-bottom: 14px;
	padding: 0 0 0 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 17%22 width=%2212%22 height=%2217%22%3E%3Cpath d=%22M3.5 4.5l4 4-4 4%22 fill=%22none%22 stroke=%22%23205a7c%22 stroke-width=%222%22/%3E%3C/svg%3E") no-repeat left top;
}
.pc-lien { color: var(--pc-lien) !important; text-decoration: none; }
.pc-zooms .pc-lien { font-size: 14px; font-weight: bold; min-height: 24px; }
.pc-zooms .pc-lien:hover, .pc-zooms .pc-lien:focus-visible { color: var(--pc-lien-survol) !important; }

/* ------------------------------------------------------------------ Liste des pavillons */
.pc-recherche {
	display: flex; align-items: center; gap: 8px;
	padding: 35px 0;
}
.pc-recherche__champ { position: relative; flex: 1 1 auto; }
.pc-recherche__texte {
	width: 100%;
	min-height: 30px;
	margin: 0;
	padding: 3px 26px 3px 4px;
	font: inherit; font-size: 16px; /* 16px: no zoom-on-focus on iOS */
	color: #000;
	background: #fff;
	border: 1px solid #999;
	border-radius: 3px;
	-webkit-appearance: none; appearance: none;
}
.pc-recherche__texte::placeholder { color: #6b6b6b; opacity: 1; }
.pc-recherche__texte::-webkit-search-cancel-button, .pc-recherche__texte::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.pc-recherche__effacer {
	position: absolute; right: 1px; top: 50%; transform: translateY(-50%);
	width: 24px; height: 24px;
	background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 10 10%22 width=%2210%22 height=%2210%22%3E%3Cpath d=%22M1.5 1.5l7 7M8.5 1.5l-7 7%22 stroke=%22%23757575%22 stroke-width=%221.8%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") no-repeat center / 10px 10px !important;
}
.pc-recherche__loupe { flex: 0 0 30px; width: 30px; height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 30%22 width=%2230%22 height=%2230%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%228.5%22 fill=%22none%22 stroke=%22%230079be%22 stroke-width=%223%22/%3E%3Cpath d=%22M18.5 18.5l8 8%22 stroke=%22%230079be%22 stroke-width=%224%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") no-repeat center / 26px 26px; }

.pc-pavillons li { border-bottom: 1px solid var(--pc-filet); margin-bottom: 15px; }
.pc-pavillons a { display: block; padding-bottom: 15px; text-decoration: none; color: inherit; }
.pc-pavillons__titre { display: flex; color: var(--pc-lien); font-size: 14px; font-weight: bold; padding-bottom: 5px; }
.pc-pavillons__lettre { flex: 0 0 30px; color: var(--pc-lien); }
.pc-pavillons__nom { color: var(--pc-lien); }
.pc-pavillons__adresse { display: block; padding-left: 30px; color: var(--pc-texte); font-size: 14px; }
.pc-pavillons a, .pc-pavillons a:hover, .pc-pavillons a:focus { text-decoration: none !important; }
.pc-pavillons a:hover .pc-pavillons__nom, .pc-pavillons a:focus-visible .pc-pavillons__nom { color: var(--pc-lien-survol); }
.pc-pavillons__vide { color: #333; }

/* ------------------------------------------------------------------ Points d'intérêt */
.pc-acc__contenu.pc-poi { padding: 15px 15px calc(var(--pc-retour-hauteur) + 15px); }
.pc-cat { border-top: 1px solid var(--pc-filet-cat); }
.pc-cat:last-of-type { border-bottom: 1px solid var(--pc-filet-cat); }
.pc-cat__titre {
	display: block;
	position: relative;
	padding: 11px 0 10px 30px;
	margin-bottom: 0;
	color: var(--pc-bleu-fonce);
	font-size: 14px; line-height: 20px; font-weight: bold;
	text-transform: uppercase;
	list-style: none;
	cursor: pointer;
}
.pc-cat__titre::-webkit-details-marker { display: none; }
.pc-cat__contenu { padding: 5px 0 5px 28px; }
.pc-couche { margin: 5px 0 10px; }
.pc-couche__bascule {
	display: flex; align-items: center;
	width: 100%;
	min-height: 28px;
	padding: 2px 0;
	color: var(--pc-lien) !important;
	font-size: 14px; font-weight: bold; line-height: 20px;
	text-decoration: none;
}
.pc-couche__bascule img { flex: 0 0 24px; width: 24px; height: 24px; margin-right: 15px; opacity: .33333; object-fit: contain; }
.pc-couche__nom { flex: 1 1 auto; }
.pc-couche__case { flex: 0 0 24px; width: 24px; height: 24px; margin-left: 8px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 width=%2224%22 height=%2224%22%3E%3Crect x=%224.5%22 y=%224.5%22 width=%2215%22 height=%2215%22 rx=%222%22 fill=%22%23d2e9ee%22 stroke=%22%232b82ac%22 stroke-width=%221.5%22/%3E%3C/svg%3E") no-repeat center / 24px 24px; }
.pc-couche__bascule[aria-pressed="true"] { color: var(--pc-bleu-fonce) !important; }
.pc-couche__bascule[aria-pressed="true"] img { opacity: 1; }
.pc-couche__bascule[aria-pressed="true"] .pc-couche__case { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 width=%2224%22 height=%2224%22%3E%3Crect x=%224.5%22 y=%224.5%22 width=%2215%22 height=%2215%22 rx=%222%22 fill=%22%23d2e9ee%22 stroke=%22%232b82ac%22 stroke-width=%221.5%22/%3E%3Cpath d=%22M8 12.3l2.8 2.8 5.4-6%22 fill=%22none%22 stroke=%22%23205a7c%22 stroke-width=%222.4%22/%3E%3C/svg%3E"); }
@media (hover: hover) {
	.pc-couche__bascule:hover { color: var(--pc-lien-survol) !important; }
	.pc-couche__bascule:hover img { opacity: .66666; }
	.pc-couche__bascule[aria-pressed="true"]:hover img { opacity: 1; }
}
.pc-couche__points { margin-top: 6px !important; }
.pc-couche__points li { margin: 0 0 5px 33px; padding: 0 0 0 20px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 17%22 width=%2212%22 height=%2217%22%3E%3Cpath d=%22M3.5 4.5l4 4-4 4%22 fill=%22none%22 stroke=%22%23205a7c%22 stroke-width=%222%22/%3E%3C/svg%3E") no-repeat left 2px; }
.pc-couche__points .pc-lien { font-weight: normal; font-size: 14px; min-height: 24px; }
.pc-couche__points .pc-lien:hover, .pc-couche__points .pc-lien:focus-visible { color: var(--pc-lien-survol) !important; }
/* Metro: every station of the network, one folded list per line (summary = same chevron, turned when open). */
.pc-couche__points li.pc-couche__groupe { margin-top: 8px; padding: 0; background: none; }
.pc-couche__groupe summary { display: block; min-height: 24px; padding-left: 20px; color: var(--pc-lien); font-size: 14px; list-style: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 17%22 width=%2212%22 height=%2217%22%3E%3Cpath d=%22M3.5 4.5l4 4-4 4%22 fill=%22none%22 stroke=%22%23205a7c%22 stroke-width=%222%22/%3E%3C/svg%3E") no-repeat left 2px; }
.pc-couche__groupe summary::-webkit-details-marker { display: none; }
.pc-couche__groupe details[open] > summary { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 17%22 width=%2212%22 height=%2217%22%3E%3Cpath d=%22M2 6.5l4 4 4-4%22 fill=%22none%22 stroke=%22%23205a7c%22 stroke-width=%222%22/%3E%3C/svg%3E"); }
.pc-couche__groupe summary:hover, .pc-couche__groupe summary:focus-visible { color: var(--pc-lien-survol); }
.pc-couche__groupe ul { margin-top: 5px !important; }
.pc-couche__points .pc-couche__groupe li { margin-left: 20px; }
.pc-poi__masquer { margin: 15px 0 0; text-align: right; }
.pc-masquer {
	display: inline-flex !important; align-items: center; gap: 10px;
	min-height: 27px;
	padding: 4px 10px 4px 13px !important;
	background: var(--pc-rouge) !important;
	color: #fff !important;
	font-size: 12px; font-weight: bold;
}
.pc-masquer::after { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 12 12%22 width=%2212%22 height=%2212%22%3E%3Cpath d=%22M2 2l8 8M10 2l-8 8%22 stroke=%22%23fff%22 stroke-width=%222.2%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") no-repeat center / 12px 12px; }


.pc-carte__dev { position: absolute; left: 8px; top: 8px; z-index: 3; margin: 0; padding: 2px 8px; background: #fff3cd; color: #5c4400; font-size: 12px; border: 1px solid #c9a227; pointer-events: none; }
.pc-banane { position: absolute; left: 10px; bottom: 30px; z-index: 3; max-width: calc(100% - 20px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.pc-banane > * { pointer-events: auto; }
.pc-banane__fermer { padding: 4px 10px !important; background: #fff !important; border: 1px solid #757575 !important; border-radius: 4px; font-size: 13px; }

/* Notice required for dynamic map content (SGQRI 008 3.0): bottom of the sidebar, small and quiet. */
.pc-avis { flex: none; margin: var(--pc-esp-3, 12px) 0 0; font-size: 13px; line-height: 1.4; color: #4a4f55; }
.pc-avis a { color: var(--pc-bleu-fonce); text-decoration: underline; }
.pc-avis a:hover { color: var(--pc-bleu-survol); }
.pc-avis__pied { display: block; }
.pc-avis__version { color: #5f6368; white-space: nowrap; } /* 5.7:1 on white */
.pc-avis--bureau { display: none; }
.pc-avis--mobile { margin: var(--pc-esp-3, 12px) 10px 4px; }
@media (min-width: 992px) { .pc-avis--bureau { display: block; } .pc-avis--mobile { display: none; } }
/* 400 % zoom (about 320 × 256): while a card is open, the search gives its room to the card (WCAG 1.4.10). */
@media (max-height: 300px) { .pc-carte--fiche .pc-local { display: none; } }

/* ------------------------------------------------------------------ desktop (≥ 992px, as on prod) */
@media (min-width: 992px) {
	.pc-carte { display: flex; }
	.pc-carte__barre {
		position: relative;
		top: auto; left: auto; right: auto;
		flex: 0 0 25%;
		width: 25%;
		height: 100%;
		padding: 40px 10px 20px;
		background-color: var(--pc-barre-fond);
		z-index: 2;
	}
	.pc-acc { padding-top: 0; height: 100%; display: flex; flex-direction: column; min-height: 0; }
	.pc-acc__section { flex: 0 0 auto; margin-top: 2px; min-height: 0; }
	.pc-acc__section:first-child { margin-top: 0; }
	.pc-acc__section[open] { flex: 1 1 0; overflow-y: auto; overscroll-behavior: contain; background: var(--pc-panneau-fond); scroll-padding-top: 48px; } /* items scrolled to or focused stay clear of the sticky title (WCAG 2.4.11) */
	.pc-acc__titre {
		position: sticky;
		top: 0; left: auto !important;
		z-index: 1;
		width: 100% !important;
		height: 40px;
		padding: 0 30px 0 45px;
		display: flex; align-items: center; justify-content: flex-start;
		line-height: 1.1;
		text-align: left;
		border: 0 !important;
		background-position: left 8px center;
		background-size: auto 22px;
	}
	.pc-acc__contenu { max-height: none; overflow: visible; box-shadow: none; padding-bottom: 1em; }
	.pc-acc__contenu.pc-poi { padding-bottom: 15px; }
	.pc-carte__canevas { position: relative; top: auto; flex: 1 1 75%; height: 100%; }
	.pc-retour { display: none !important; }

	.pc-carte__dev { position: absolute; left: 8px; top: 8px; z-index: 3; margin: 0; padding: 2px 8px; background: #fff3cd; color: #5c4400; font-size: 12px; border: 1px solid #c9a227; pointer-events: none; }

}

/* Very large screens: the map is never CSS-zoomed (fitBounds frames it), but the sidebar and the info window
   scale up so text and controls stay comfortable at 2560 / 3840 px. */
@media (min-width: 2240px) { .pc-carte { --pc-e: 1.25; } }
@media (min-width: 2500px) { .pc-carte { --pc-e: 1.333; } }
@media (min-width: 3000px) { .pc-carte { --pc-e: 1.6; } }
@media (min-width: 3600px) { .pc-carte { --pc-e: 2; } }
@media (min-width: 2240px) {
	/* « Trouver mon local » (field, result, Mon horaire) scales with the accordion */
	.pc-acc, .pc-local { zoom: var(--pc-e); }
}

@media (prefers-reduced-motion: reduce) {
	.pc-carte * { scroll-behavior: auto !important; transition: none !important; }
}
@media (forced-colors: active) {
	.pc-acc__titre, .pc-couche__case, .pc-masquer, .pc-retour { forced-color-adjust: auto; border: 1px solid CanvasText; }
	.pc-couche__bascule[aria-pressed="true"] .pc-couche__nom { text-decoration: underline; }
}

/* ------------------------------------------------------------------ admin preview helper */
.pc-carte--admin { height: auto; }

/* =================================================================== rhythm (parent spacing tokens) + motion */
.pc-carte {
	--pc-esp-1: var(--wp--preset--spacing--xx-small, 0.5rem);  /* 8 */
	--pc-esp-2: var(--wp--preset--spacing--x-small, 0.75rem);  /* 12 */
	--pc-esp-3: var(--wp--preset--spacing--small, 1.125rem);   /* 18 */
	--pc-esp-4: var(--wp--preset--spacing--medium, 1.5rem);    /* 24 */
	--pc-duree: 200ms;
	--pc-courbe: cubic-bezier(0.22, 1, 0.36, 1); /* ease-out */
}
.pc-acc__contenu { padding: var(--pc-esp-3) var(--pc-esp-4) calc(var(--pc-retour-hauteur) + var(--pc-esp-3)); }
.pc-acc__contenu.pc-poi { padding: var(--pc-esp-2) var(--pc-esp-3) calc(var(--pc-retour-hauteur) + var(--pc-esp-3)); }
.pc-zooms li { margin-bottom: var(--pc-esp-2); background-position: left 2px; }
.pc-zooms li:last-child { margin-bottom: 0; }
.pc-recherche { padding: var(--pc-esp-2) 0 var(--pc-esp-4); }
.pc-pavillons li { margin-bottom: var(--pc-esp-2); }
.pc-pavillons a { padding-bottom: var(--pc-esp-2); }
.pc-cat__titre { padding: var(--pc-esp-2) 0 var(--pc-esp-2) 30px; background: none; }
.pc-cat__contenu { padding: 0 0 var(--pc-esp-2) 28px; }
.pc-couche { margin: var(--pc-esp-1) 0; }
.pc-poi__masquer { margin-top: var(--pc-esp-3); }

/* transitions: no instant colour flips */
.pc-acc__titre, .pc-cat__titre, .pc-lien, .pc-couche__bascule, .pc-pavillons__titre, .pc-pavillons__nom, .pc-masquer, .pc-info a, .pc-retour__bouton, .pc-recherche__texte {
	transition: color var(--pc-duree) var(--pc-courbe), background-color var(--pc-duree) var(--pc-courbe), border-color var(--pc-duree) var(--pc-courbe), box-shadow var(--pc-duree) var(--pc-courbe), opacity var(--pc-duree) var(--pc-courbe);
}
.pc-couche__bascule img, .pc-couche__case { transition: opacity var(--pc-duree) var(--pc-courbe), transform var(--pc-duree) var(--pc-courbe); }
.pc-couche__bascule:active .pc-couche__case { transform: scale(0.88); }
.pc-masquer:hover { filter: brightness(1.12); }
.pc-masquer { transition: filter var(--pc-duree) var(--pc-courbe); }

/* accordion height is animated in carte.js (same 200 ms both ways); desktop main sections fade in */
@keyframes pc-apparaitre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 992px) { .pc-acc__section[open] > .pc-pli > .pc-acc__contenu { animation: pc-apparaitre 180ms var(--pc-courbe); } }
.pc-retour:not([hidden]) { animation: pc-monter 220ms var(--pc-courbe); }
@keyframes pc-monter { from { transform: translateY(100%); } to { transform: none; } }

@media (min-width: 992px) {
	.pc-carte__barre { padding: var(--pc-esp-4) var(--pc-esp-2) var(--pc-esp-3); }
	.pc-acc__contenu { padding: var(--pc-esp-3) var(--pc-esp-4); }
	.pc-acc__contenu.pc-poi { padding: var(--pc-esp-2) var(--pc-esp-3) var(--pc-esp-3); }
}

@media (prefers-reduced-motion: reduce) {
	.pc-carte *, .pc-carte *::before, .pc-carte *::after, .pc-carte ::details-content, .pc-info { animation: none !important; transition: none !important; }
}

/* =================================================================== info window card */
/* Google's InfoWindow chrome around our card: no inner padding, close × on the card's padding grid. */
.gm-style .gm-style-iw-c:has(.pc-info) { padding: 0 !important; border-radius: 12px; max-height: none !important; }
.gm-style .gm-style-iw-c:has(.pc-info) .gm-style-iw-d { overflow: auto !important; padding: 0 !important; max-height: none !important; }
.gm-style .gm-style-iw-c:has(.pc-info) .gm-style-iw-chr { position: absolute; top: calc(10px * var(--pc-e, 1)); right: calc(10px * var(--pc-e, 1)); z-index: 2; }
.gm-style .gm-style-iw-c:has(.pc-info) .gm-style-iw-chr button { width: 32px !important; height: 32px !important; border-radius: 50%; }
.gm-style .gm-style-iw-c:has(.pc-info) .gm-style-iw-chr button span { margin: 4px !important; }
.gm-style-iw-chr:has(+ * .pc-info) { position: absolute; }

.pc-info {
	--k: var(--pc-e, 1);
	display: flex; flex-direction: column; align-items: flex-start;
	gap: calc(16px * var(--k));
	padding: calc(24px * var(--k));
	font-family: var(--pc-police, 'Asap', Arial, sans-serif);
	font-size: calc(14px * var(--k)); line-height: 1.45; color: #000;
	animation: pc-carte-in 200ms cubic-bezier(0.22, 1, 0.36, 1);
	transform-origin: 50% 100%;
}
@keyframes pc-carte-in { from { opacity: 0; transform: translateY(4px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (min-width: 440px) { .pc-info--photo { flex-direction: row; gap: calc(22px * var(--k)); } }
.pc-info__image { flex: 0 0 auto; margin: 0; }
.pc-info__image img { display: block; max-width: 100%; height: auto; border-radius: 8px; } /* width/height attributes reserve the space before the photo loads */ /* natural size (144 × 180), never upscaled */
.pc-info__texte {
	display: flex; flex-direction: column; gap: calc(12px * var(--k));
	min-width: min(calc(220px * var(--k)), 70vw); max-width: min(calc(320px * var(--k)), calc(100vw - 96px));
	padding-right: calc(24px * var(--k)); /* room for the × */
}
.pc-info__texte > * { margin: 0 !important; }
.pc-info__titre {
	margin: 0; padding: 0;
	color: #205a7c; font-family: inherit;
	font-size: calc(18px * var(--k)); line-height: 1.2; font-weight: bold; text-transform: uppercase;
	text-wrap: balance;
	margin-top: -0.12em !important; /* cap height on the photo's top edge */
}
.pc-carte .pc-info__titre:focus, .pc-info__titre:focus { outline: none !important; box-shadow: none !important; }
.pc-info__titre:focus-visible { outline: 2px solid var(--pc-focus, #14394f) !important; outline-offset: 3px; border-radius: 2px; }
.pc-info ul { margin: 0; padding: 0 0 0 1.2em; list-style: disc; }
.pc-info a { color: #0079bd; font-size: inherit; font-weight: bold; text-decoration: none; }
.pc-info a:hover, .pc-info a:focus-visible { color: #a86400; text-decoration: underline; }
.pc-info__ligne { display: grid; grid-template-columns: calc(16px * var(--k)) minmax(0, 1fr); column-gap: calc(12px * var(--k)); align-items: start; }
.pc-info__ligne::before { content: ""; height: 1lh; background: no-repeat center / contain; } /* icon centred on the first text line */
.pc-info__adresse { white-space: pre-line; }
.pc-insecable { white-space: nowrap; }
.pc-info__adresse::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 31 44%22 width=%2211%22 height=%2216%22%3E%3Cpath fill=%22%23ffae00%22 d=%22M26.2,4.7C23.3,1.7,19.5,0,15.5,0C11.4,0,7.6,1.5,4.8,4.2c-2.9,2.8-4.4,6.7-4.4,11c0,5.6,2.2,8.7,5.2,12.9 c2.5,3.4,5.6,7.7,8.7,15.2c0.2,0.5,0.7,0.8,1.3,0.8s1.1-0.3,1.3-0.8c3.2-7.6,6.3-12.2,8.8-15.9c2.9-4.3,5-7.3,5-12.1 C30.6,11.4,29,7.6,26.2,4.7z M15.5,20.6c-3,0-5.5-2.5-5.5-5.5s2.5-5.5,5.5-5.5s5.5,2.5,5.5,5.5S18.5,20.6,15.5,20.6z%22/%3E%3C/svg%3E"); background-size: calc(11px * var(--k)) calc(16px * var(--k)); }
.pc-info__url::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 width=%2216%22 height=%2216%22%3E%3Cg fill=%22none%22 stroke=%22%231a87c4%22 stroke-width=%221.6%22%3E%3Crect x=%228.2%22 y=%220.9%22 width=%224.6%22 height=%227.6%22 rx=%222.3%22 transform=%22rotate(45 10.5 4.7)%22/%3E%3Crect x=%223.2%22 y=%227.5%22 width=%224.6%22 height=%227.6%22 rx=%222.3%22 transform=%22rotate(45 5.5 11.3)%22/%3E%3C/g%3E%3C/svg%3E"); background-size: calc(16px * var(--k)); }
.pc-info__itineraire::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 width=%2216%22 height=%2216%22%3E%3Cpath d=%22M5.5 15.5V9.5L1.5 2.5%22 fill=%22none%22 stroke=%22%2399c9e5%22 stroke-width=%221.8%22/%3E%3Cpath d=%22M5.5 15.5V9.5l6.2-7%22 fill=%22none%22 stroke=%22%230079bd%22 stroke-width=%221.8%22/%3E%3Cpath d=%22M8.6 0.6h5.3v5.3z%22 fill=%22%230079bd%22/%3E%3C/svg%3E"); background-size: calc(16px * var(--k)); }
.pc-info__itineraire--apple::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 width=%2216%22 height=%2216%22%3E%3Cpath d=%22M14.6 1.4L1.6 7.1c-.5.2-.4.9.1 1l5.1 1.1 1.1 5.1c.1.5.8.6 1 .1l5.7-13c.2-.4-.2-.8-.6-.6z%22 fill=%22%230079bd%22/%3E%3C/svg%3E"); }
.pc-info__toilettes::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22 width=%2216%22 height=%2216%22%3E%3Cg fill=%22%23205a7c%22%3E%3Ccircle cx=%224.5%22 cy=%222.3%22 r=%221.8%22/%3E%3Ccircle cx=%2211.5%22 cy=%222.3%22 r=%221.8%22/%3E%3Cpath d=%22M2.5 5h4v5H5.6v5.5H3.4V10h-.9zM9.5 5h4l1 5.5h-1.6v5h-2.8v-5H8.5z%22/%3E%3C/g%3E%3C/svg%3E"); background-size: calc(16px * var(--k)); }
@media (pointer: coarse) {
	/* ≥ 44 px touch targets for the directions links */
	.pc-info__itineraire a { display: inline-flex; align-items: center; min-height: 44px; }
	.pc-info__itineraire::before { height: 44px; }
	.pc-info__texte { gap: calc(8px * var(--k)); }
}
@media (prefers-reduced-motion: reduce) { .pc-info { animation: none; } }

/* =================================================================== expand / collapse indicator (inline SVG) */
.pc-indicateur { display: inline-flex; flex: 0 0 auto; width: 16px; height: 16px; pointer-events: none; }
.pc-indicateur svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pc-indicateur__fond { fill: var(--pc-bleu-fonce); }
.pc-indicateur__h, .pc-indicateur__v { stroke: #fff; stroke-width: 2.4; stroke-linecap: butt; }
.pc-indicateur__v { transform-origin: 8px 8px; transition: transform var(--pc-duree, 200ms) var(--pc-courbe, ease-out); }
.pc-indicateur svg { transition: transform var(--pc-duree, 200ms) var(--pc-courbe, ease-out); }
details[open] > summary > .pc-indicateur .pc-indicateur__v { transform: scaleY(0); }
details[open] > summary > .pc-indicateur svg { transform: rotate(180deg); }
/* category level: circled plus at the left (prod shape) */
.pc-cat__titre .pc-indicateur { position: absolute; left: 8px; top: 50%; margin-top: -8px; }
/* main level: white sign at the right on desktop, hidden on the phone tabs (as on prod) */
.pc-acc__titre .pc-indicateur { display: none; }
@media (min-width: 992px) {
	.pc-acc__titre .pc-indicateur { display: inline-flex; position: absolute; right: 0.5em; top: 50%; margin-top: -6px; width: 12px; height: 12px; }
	.pc-acc__titre .pc-indicateur__fond { fill: none; }
	.pc-acc__titre .pc-indicateur__h, .pc-acc__titre .pc-indicateur__v { stroke: currentColor; stroke-width: 2; }
}

/* =================================================================== accordion reveal: grid 0fr ↔ 1fr (no measuring) */
.pc-pli { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 200ms cubic-bezier(0, 0, 0.2, 1), opacity 200ms cubic-bezier(0, 0, 0.2, 1); }
.pc-pli > * { min-height: 0; overflow: hidden; } /* paddings live on this inner element, never on the animated one */
.pc-pli--ferme { grid-template-rows: 0fr; opacity: 0; }
.pc-pli--fermeture { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
@media (max-width: 991.98px) { .pc-pli > .pc-acc__contenu { overflow-y: auto; } }
@media (min-width: 992px) { .pc-acc__section > .pc-pli { display: block; } .pc-acc__section > .pc-pli > .pc-acc__contenu { overflow: visible; } }
@media (prefers-reduced-motion: reduce) { .pc-pli { transition: none; } }

/* =================================================================== phones: bottom card + compact chrome */
.pc-fiche {
	position: absolute; z-index: 4;
	left: calc(8px + env(safe-area-inset-left, 0px)); right: calc(8px + env(safe-area-inset-right, 0px));
	bottom: calc(8px + env(safe-area-inset-bottom, 0px));
	max-height: 60%; overflow-y: auto; overscroll-behavior: contain;
	background: #fff; border-radius: 12px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
	animation: pc-fiche-in 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes pc-fiche-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.pc-fiche__fermer {
	position: absolute; top: 4px; right: 4px; z-index: 1;
	width: 44px; height: 44px; border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 10 10%22 width=%2210%22 height=%2210%22%3E%3Cpath d=%22M1.5 1.5l7 7M8.5 1.5l-7 7%22 stroke=%22%23757575%22 stroke-width=%221.8%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") no-repeat center / 14px 14px !important;
}
.pc-fiche .pc-info { padding: 16px 16px 12px; gap: 12px; animation: none; flex-direction: row; }
.pc-fiche .pc-info__image img { width: 72px; height: auto; }
.pc-fiche .pc-info__texte { min-width: 0; max-width: none; flex: 1 1 auto; padding-right: 32px; gap: 8px; }
.pc-fiche .pc-info__titre { font-size: 16px; }
@media (min-width: 992px) { .pc-fiche { display: none !important; } }

@media (max-width: 991.98px) {
	.pc-carte { --pc-entetes-mobile: 60px; --pc-retour-hauteur: 48px; }
	.pc-acc__titre { padding: 34px 4px 0; background-size: auto 20px; background-position: top 9px center; font-size: 11px; line-height: 14px; }
	.pc-acc__contenu, .pc-acc__contenu.pc-poi {
		padding: 12px calc(16px + env(safe-area-inset-right, 0px)) calc(var(--pc-retour-hauteur) + 12px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px));
		max-height: calc(var(--pc-vv, 100svh) - var(--pc-carte-haut-vv, 0px) - var(--pc-entetes-mobile));
	}
	.pc-zooms li { margin: 0; }
	.pc-zooms .pc-lien { display: flex; align-items: center; min-height: 44px; width: 100%; }
	.pc-zooms li { background-position: left center; }
	.pc-recherche { padding: 4px 0 12px; }
	.pc-pavillons li { margin: 0; }
	.pc-pavillons a { padding: 10px 0; min-height: 44px; }
	.pc-pavillons__titre { padding-bottom: 2px; }
	.pc-cat__titre { min-height: 44px; display: flex; align-items: center; padding-block: 0; }
	.pc-couche__bascule { min-height: 44px; }
	.pc-couche__points .pc-lien { display: flex; align-items: center; min-height: 40px; }
	.pc-couche__points li { margin-bottom: 0; background-position: left center; }
	.pc-couche__groupe summary { display: flex; align-items: center; min-height: 40px; background-position: left center; }
	.pc-cat__contenu { padding-bottom: 8px; }
	.pc-poi__masquer { margin-top: 12px; }
}

/* =================================================================== phones: QA r2 */
@media (max-width: 991.98px) {
	.pc-carte { --pc-entetes-mobile: 64px; --pc-carte-hauteur-min: 0px; }
	.pc-acc__titre { padding: 34px 4px 8px; font-size: 13px; line-height: 16px; background-position: top 8px center; background-size: auto 20px; }
	.pc-recherche__texte { min-height: 44px; font-size: 16px; padding-block: 8px; }
	.pc-recherche__effacer { width: 44px; height: 44px; }
	.pc-couche__points .pc-lien { min-height: 44px; }
	.pc-pavillons a { display: block !important; width: 100%; }
	.pc-acc__contenu, .pc-acc__contenu.pc-poi { padding-bottom: calc(var(--pc-retour-hauteur) + 8px + env(safe-area-inset-bottom, 0px)); }
	.pc-retour { height: calc(var(--pc-retour-hauteur) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); }
	/* bottom card: compact, title ≤ 2 lines, even 12 px rhythm */
	.pc-fiche .pc-info__titre { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.pc-fiche .pc-info__texte { gap: 12px; }
}
/* phones in landscape: the map gets the space; one-line tabs */
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 500px) {
	.pc-carte { --pc-entetes-mobile: 40px; }
	.pc-acc__titre { padding: 0 6px 0 32px; display: flex; align-items: center; justify-content: center; background-position: left 8px center; background-size: auto 18px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.pc-fiche { max-height: 75%; left: auto; width: min(420px, 60%); }
}

/* =================================================================== rhythm: one gutter for every panel, no stray rules */
.pc-cat:first-of-type { border-top: 0; }
.pc-cat:last-of-type { border-bottom: 0; }
@media (min-width: 992px) {
	.pc-acc__contenu, .pc-acc__contenu.pc-poi { padding: var(--pc-esp-3) var(--pc-esp-4); }
	.pc-cat__titre { padding-block: var(--pc-esp-2); }
	.pc-cat__contenu { padding: 0 0 var(--pc-esp-2) 30px; }
	.pc-recherche { padding-top: 0; }
}

.pc-couche__externe, .pc-couche__credit { margin: 2px 0 6px 39px; font-size: 13px; }
.pc-couche__externe a { color: var(--pc-lien); }

/* =================================================================== desktop card (OverlayView, replaces Google's InfoWindow) */
.pc-bulle {
	position: absolute; z-index: 10;
	width: max-content; max-width: calc(640px * var(--pc-e, 1));
	background: #fff; border-radius: 12px;
	box-shadow: 0 2px 7px 1px rgba(0, 0, 0, 0.3);
	cursor: auto;
}
.pc-bulle__corps { max-height: min(70vh, calc(560px * var(--pc-e, 1))); overflow-y: auto; overscroll-behavior: contain; border-radius: 12px; }
.pc-bulle::after { /* arrow pointing at the building */
	content: ""; position: absolute; left: 50%; bottom: -10px; margin-left: -10px;
	border: 10px solid transparent; border-bottom: 0; border-top-color: #fff;
	filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.15));
}
.pc-bulle__fermer {
	position: absolute; top: calc(8px * var(--pc-e, 1)); right: calc(8px * var(--pc-e, 1)); z-index: 1;
	width: calc(32px * var(--pc-e, 1)); height: calc(32px * var(--pc-e, 1)); border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 1.5l7 7M8.5 1.5l-7 7' stroke='%23333' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / calc(12px * var(--pc-e, 1)) calc(12px * var(--pc-e, 1)) !important;
	transition: background-color 150ms ease-out;
}
.pc-bulle__fermer:hover { background-color: #eee !important; }
.pc-bulle .pc-info { animation: none; }
.pc-bulle--visible { animation: pc-bulle-in 170ms cubic-bezier(0.22, 1, 0.36, 1); transform-origin: 50% calc(100% + 10px); }
@keyframes pc-bulle-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pc-bulle--visible { animation: none; } }
@media (max-width: 991.98px) { .pc-bulle { display: none !important; } }

/* =================================================================== card rows: one icon system, one row style */
.pc-info__ligne { display: grid; grid-template-columns: calc(20px * var(--pc-e, 1)) minmax(0, 1fr); column-gap: calc(10px * var(--pc-e, 1)); align-items: start; color: #205a7c; }
.pc-info__ligne::before { content: none !important; }
.pc-info__icone {
	width: calc(20px * var(--pc-e, 1)); height: calc(20px * var(--pc-e, 1));
	margin-top: calc((1lh - 20px * var(--pc-e, 1)) / 2); /* optically on the first text line */
	fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.pc-info__adresse .pc-info__icone { color: #c77700; }
.pc-info__ligne-texte { color: #000; }
.pc-info a, .pc-fiche .pc-info a { font-weight: 600; }
.pc-info__texte, .pc-fiche .pc-info__texte { gap: calc(12px * var(--pc-e, 1)); }
/* « 3 stations BIXI à moins de 300 m · 5 vélos »: a button that reads like the links of the card */
@media (pointer: coarse) {
	.pc-info__url a, .pc-info__toilettes a, .pc-info__bixi a, .pc-info__chrono a, .pc-info__ascenseurs a, .pc-info__itin-google a, .pc-info__itin-plans a, .pc-info__streetview a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; padding-inline: 2px; }
}
.pc-info__source { font-size: calc(12px * var(--pc-e, 1)); color: #5f6368; }
.pc-couche__source { color: #5f6368; }

/* address: the whole address is the copy button (max 2 lines, the copy icon glued to the last words) */
.pc-info__adr {
	display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 8px;
	background: none !important; font: inherit; line-height: inherit; color: #000 !important; text-align: left; cursor: pointer;
	transition: background-color 150ms ease-out;
	min-height: 24px; /* WCAG 2.5.8: never under 24 px, even on one line */
}
.pc-info__adr-texte { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-info__adr-fin { white-space: nowrap; }
.pc-info__adr .pc-info__icone { display: inline-block; width: calc(18px * var(--pc-e, 1)); height: calc(18px * var(--pc-e, 1)); margin: 0 0 0 calc(8px * var(--pc-e, 1)); vertical-align: calc(-3px * var(--pc-e, 1)); color: #205a7c; }
.pc-info__adr:hover .pc-info__icone { color: #0079bd; }
.pc-info__adr:active { background: #eef3f6 !important; }
.pc-info__adr--ok { color: #00702a !important; font-weight: 600; }
.pc-info__adr--ok .pc-info__icone, .pc-info__adr--ok:hover .pc-info__icone { color: #00702a; margin: 0 calc(8px * var(--pc-e, 1)) 0 0; }
@media (pointer: coarse) {
	.pc-carte .pc-info__adr { min-height: 44px; margin-block: -12px; padding-block: 12px; } /* beats the .pc-carte button reset: the text stays on the icon line */
}

/* « Y aller »: pills on one row that scrolls sideways (snap, no scrollbar), the next pill peeks under a fade
   (desktop card and phone sheet alike; the sheet's row runs edge to edge, see below) */
.pc-info__yaller { display: flex; flex-direction: column; gap: calc(8px * var(--pc-e, 1)); }
.pc-info .pc-info__yaller-titre { margin: 0; font-size: calc(14px * var(--pc-e, 1)); font-weight: 600; line-height: 1.2; color: #205a7c; }
/* Row overflows (carte.js): besides the fade on the right edge, a hand slides over the row until the first swipe.
   Decorative: the buttons never move and taps go through it. */
.pc-info__yaller { position: relative; }
.pc-info__geste {
	/* same height and bottom as the row's buttons (44 px): the hand sits on their vertical centre */
	position: absolute; right: 22px; bottom: 0; width: 44px; height: 44px; pointer-events: none;
	display: flex; align-items: center; justify-content: center; color: #205a7c;
	filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1.5px #fff) drop-shadow(0 2px 3px rgba(20, 57, 79, 0.35));
	opacity: 0; animation: pc-geste 1900ms ease-in-out 2 both 500ms;
}
.pc-info__geste svg { width: 28px; height: 28px; }
@keyframes pc-geste {
	0% { opacity: 0; transform: translateX(0) scale(0.9); }
	15% { opacity: 1; transform: translateX(0) scale(1); }
	60% { opacity: 1; transform: translateX(-110px) scale(1); }
	80%, 100% { opacity: 0; transform: translateX(-130px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) { .pc-info__geste { display: none; } }
.pc-info__rangee {
	display: flex; flex-wrap: nowrap; gap: calc(8px * var(--pc-e, 1));
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
	padding-block: 3px; margin-block: -3px; /* room for the focus ring */
	--pc-fondu-g: 0px; --pc-fondu-d: calc(40px * var(--pc-e, 1));
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--pc-fondu-g), #000 calc(100% - var(--pc-fondu-d)), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 var(--pc-fondu-g), #000 calc(100% - var(--pc-fondu-d)), transparent);
}
.pc-info__rangee::-webkit-scrollbar { display: none; }
.pc-info__rangee--milieu { --pc-fondu-g: calc(24px * var(--pc-e, 1)); }
.pc-info__rangee--fin { --pc-fondu-g: calc(24px * var(--pc-e, 1)); --pc-fondu-d: 0px; }
.pc-info__rangee--entier { --pc-fondu-g: 0px; --pc-fondu-d: 0px; }
.pc-info .pc-info__rangee .pc-info__pastille { flex: none; scroll-snap-align: start; }
.pc-info .pc-info__pastille {
	display: inline-flex; align-items: center; justify-content: center; gap: calc(6px * var(--pc-e, 1)); min-height: calc(38px * var(--pc-e, 1)); margin: 0; padding: 0 calc(14px * var(--pc-e, 1));
	border: 1px solid #c9dbe6; border-radius: calc(22px * var(--pc-e, 1)); background: #f2f7fa !important;
	color: #006aa6 !important; /* 4.5:1 on the pill and its hover/active fills (#0079bd: 4.35) */ font: inherit; font-size: calc(15px * var(--pc-e, 1)); font-weight: 600; line-height: 1.2; text-decoration: none !important; white-space: nowrap;
	cursor: pointer; -webkit-tap-highlight-color: transparent;
	transition: background-color 150ms ease-out, border-color 150ms ease-out, transform 120ms ease-out;
}
.pc-info .pc-info__pastille:hover { background: #e6f0f6 !important; border-color: #a9c6d8; }
.pc-info .pc-info__pastille:active { background: #dbe9f2 !important; transform: scale(0.97); }
.pc-info__pastille .pc-info__icone { width: calc(18px * var(--pc-e, 1)); height: calc(18px * var(--pc-e, 1)); margin: 0; flex: none; color: #205a7c; }
@media (pointer: coarse) { .pc-info .pc-info__pastille { min-height: 44px; } }
/* Phones: the « Y aller » pills; computers: plain links (.pc-info__liens-bureau), as on the former site */
.pc-info__liens-bureau { display: contents; }
.pc-info__liens-bureau > * { margin: 0 !important; } /* its lines are card rows too (display: contents) */
@media (max-width: 991.98px) { .pc-info .pc-info__liens-bureau { display: none; } }
@media (min-width: 992px) { .pc-info .pc-info__yaller { display: none; } }
@media (prefers-reduced-motion: reduce) { .pc-info .pc-info__pastille, .pc-info__adr { transition: none; } .pc-info .pc-info__pastille:active { transform: none; } }

/* =================================================================== phone tab bar (app-like): short labels, subtle separators */
/* labels: the full one (.pc-acc__long) is the accessible name and the only one shown on desktop; the short one carries
   the hidden attribute in the markup (hidden even with a stale or missing stylesheet) and is shown on phones only */
.pc-acc__court { display: none; }
.pc-acc__long { display: inline; }
@media (max-width: 991.98px) {
	.pc-carte .pc-acc__court[hidden] { display: block !important; }
	.pc-carte { --pc-entetes-mobile: 68px; }
	.pc-acc__titre {
		padding: 40px 8px 10px; /* 10 top + 22 icon + 8 gap */
		background-position: top 10px center; background-size: auto 22px;
		font-size: 13px; line-height: 16px; font-weight: 500; text-transform: none; letter-spacing: 0;
		text-wrap: balance;
		border-bottom: 0 !important; border-right: 0 !important;
		box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.2);
		transition: background-color 200ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms cubic-bezier(0.22, 1, 0.36, 1);
	}
	.pc-acc__section--points > .pc-acc__titre { box-shadow: none; }
	.pc-acc__titre:active { background-color: var(--pc-bleu-survol); }
	.pc-acc__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.pc-acc__court { display: block; }
}
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 500px) {
	.pc-carte { --pc-entetes-mobile: 44px; }
	.pc-acc__titre { padding: 0 8px 0 36px; background-position: left 10px center; background-size: auto 20px; }
}
@media (max-width: 380px) and (orientation: portrait) {
	/* narrow phones: « Points d'intérêt » may wrap on 2 balanced lines, 8 px from the cell edges */
	.pc-carte { --pc-entetes-mobile: 76px; }
	.pc-acc__titre { padding: 36px 8px 8px; background-position: top 8px center; background-size: auto 20px; }
}

/* phone tabs: icon + label block centred in a fixed-height cell (flex column, no top-only padding) */
@media (max-width: 991.98px) {
	.pc-carte { --pc-entetes-mobile: 64px; }
	.pc-acc__titre {
		display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
		padding: 0 8px !important;
		background-size: 0 0 !important; /* the icon is drawn by ::before */
		line-height: 16px;
	}
	.pc-acc__titre::before {
		content: ""; flex: 0 0 22px; width: 28px; height: 22px;
		background-image: inherit; background-repeat: no-repeat; background-position: center; background-size: contain;
	}
	.pc-acc__libelle { display: block; text-align: center; }
}
@media (max-width: 380px) and (orientation: portrait) {
	.pc-carte { --pc-entetes-mobile: 76px; }
}
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 500px) {
	.pc-carte { --pc-entetes-mobile: 44px; }
	.pc-acc__titre { flex-direction: row; gap: 8px; }
	.pc-acc__titre::before { flex-basis: 20px; width: 22px; height: 20px; }
}
@media (max-width: 380px) and (orientation: portrait) {
	/* narrow phones: give « Points d'intérêt » the room to stay on one line (all icons on the same line) */
	.pc-carte { --pc-entetes-mobile: 64px; }
	.pc-acc__section--zoom > .pc-acc__titre { left: 0; width: 30% !important; }
	.pc-acc__section--liste > .pc-acc__titre { left: 30% !important; width: 32% !important; }
	.pc-acc__section--points > .pc-acc__titre { left: 62% !important; width: 38% !important; }
}

/* =================================================================== phones: app shell on the map page */
@media (max-width: 991.98px) {
	/* logged in: core adds margin-top = admin bar height on <html>; the shell fills exactly the rest */
	html.pc-app, html.pc-app body, body.pc-app { height: calc(100% - var(--wp-admin--admin-bar--height, 0px)); height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px)); overflow: hidden; overscroll-behavior: none; }
	html.pc-app body, body.pc-app { height: 100%; }
	html.pc-app .pc-carte { --pc-carte-hauteur-min: 0px; overscroll-behavior: none; touch-action: manipulation; }
	html.pc-app .pc-carte__map { touch-action: none; } /* every gesture on the map goes to the map */
	html.pc-app .pc-acc__contenu, html.pc-app .pc-fiche { overscroll-behavior: contain; touch-action: pan-y; }
}

/* bottom-anchored UI above Safari's bottom bar (visualViewport) and the home indicator (safe area) */
@media (max-width: 991.98px) {
	.pc-carte { background: #e5e3df; }
	/* floating card: 12 px from the edges plus the safe areas, above Safari's bottom bar (--pc-vv-bas); corners follow
	   the rounded screen of recent iPhones (screen radius minus the margin), so nothing is cut by the screen curve */
	.pc-fiche {
		left: calc(12px + env(safe-area-inset-left, 0px)); right: calc(12px + env(safe-area-inset-right, 0px));
		bottom: calc(var(--pc-vv-bas, 0px) + 12px + env(safe-area-inset-bottom, 0px));
		max-height: calc((var(--pc-vv, 100dvh) - var(--pc-carte-haut-vv, 0px) - var(--pc-entetes-mobile)) * 0.7);
		border-radius: 28px;
		box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28), 0 1px 3px rgba(0, 0, 0, 0.12);
	}
	.pc-fiche .pc-info { padding: 20px 20px 18px; }
	.pc-fiche__fermer { top: 8px; right: 8px; }
	.pc-retour { bottom: var(--pc-vv-bas, 0px); height: calc(var(--pc-retour-hauteur) + max(0px, env(safe-area-inset-bottom, 0px))); padding-bottom: env(safe-area-inset-bottom, 0px); }
	.pc-acc__contenu, .pc-acc__contenu.pc-poi { padding-bottom: calc(var(--pc-retour-hauteur) + 8px + max(16px, env(safe-area-inset-bottom, 0px))); }
	.pc-banane { bottom: calc(var(--pc-vv-bas, 0px) + max(16px, env(safe-area-inset-bottom, 0px)) + 20px); }
}
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 500px) {
	.pc-fiche { left: auto; max-height: 75%; }
}

/* =================================================================== phones: bottom sheet (v0.1.2) */
/* Docked to the bottom (above Safari's bar and the home indicator), height set by JS before paint: the whole content
   up to 85 % of the screen, else a peek (header, address, actions) that expands and scrolls inside. */
@media (max-width: 991.98px) {
	.pc-fiche {
		left: env(safe-area-inset-left, 0px); right: env(safe-area-inset-right, 0px); bottom: var(--pc-vv-bas, 0px);
		max-height: none; display: flex; flex-direction: column; overflow: hidden;
		padding: 20px 0 env(safe-area-inset-bottom, 0px);
		border-radius: 20px 20px 0 0;
		box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.18), 0 -1px 3px rgba(0, 0, 0, 0.08);
		transition: height 200ms cubic-bezier(0.22, 1, 0.36, 1);
		animation: pc-fiche-monte 200ms cubic-bezier(0.22, 1, 0.36, 1);
	}
	.pc-fiche[hidden] { display: none; }
	.pc-fiche--glisse { transition: none; }
	@keyframes pc-fiche-monte { from { transform: translateY(24px); opacity: 0.6; } to { transform: none; opacity: 1; } }
	.pc-fiche__poignee {
		position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;
		width: 88px; height: 24px; padding: 0; border: 0; background: none !important; cursor: grab; touch-action: none; /* 24 px: WCAG 2.5.8 */
	}
	.pc-fiche__poignee::before { content: ""; display: block; width: 36px; height: 5px; margin: 8px auto 0; border-radius: 3px; background: #c4c7cb; }
	.pc-fiche__poignee:focus-visible { outline: 2px solid var(--pc-focus, #14394f); outline-offset: -2px; border-radius: 6px; }
	.pc-fiche__contenu { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
	.pc-fiche:not([data-etat="ouvert"]) .pc-fiche__contenu, .pc-fiche:not(.pc-fiche--repliable) .pc-fiche__contenu { overflow: hidden; }
	.pc-fiche.pc-fiche--repliable[data-etat="ouvert"] .pc-fiche__contenu { overflow-y: auto; }
	.pc-fiche:not(.pc-fiche--repliable) .pc-fiche__contenu, .pc-fiche[data-etat="replie"] .pc-fiche__contenu { touch-action: none; } /* drag the whole sheet */
	.pc-fiche .pc-info { display: block; padding: 0 20px 20px; font-size: 16px; line-height: 1.4; }

	/* header: photo, title (≤ 2 lines, balanced), × in the same row */
	.pc-fiche__entete { display: grid; grid-template-columns: auto minmax(0, 1fr) 44px; column-gap: 14px; align-items: start; margin-bottom: 16px; touch-action: none; }
	.pc-fiche__entete:not(:has(.pc-info__image)) { grid-template-columns: minmax(0, 1fr) 44px; }
	.pc-fiche .pc-info__image img { width: 72px; height: auto; border-radius: 12px; }
	.pc-fiche__entete--large { grid-template-columns: minmax(0, 1fr) 44px; }
	/* mini peek (small phones, little map left): title only, the photo comes back when the sheet is raised */
	.pc-fiche--mini .pc-fiche__entete { grid-template-columns: minmax(0, 1fr) 44px; margin-bottom: 8px; }
	.pc-fiche--mini .pc-fiche__entete .pc-info__image { display: none; }
	.pc-fiche__entete--large .pc-info__image { grid-column: 1 / -1; order: 3; margin-top: 12px; }
	.pc-fiche__entete--large .pc-info__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
	.pc-fiche .pc-info__titre {
		align-self: center; margin: 0 !important; padding-top: 2px;
		font-size: 19px; line-height: 1.2; text-wrap: balance;
		display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	}
	.pc-fiche .pc-fiche__fermer {
		position: static; width: 44px; height: 44px; margin: -10px -12px 0 0;
		background-color: transparent !important; background-size: 14px 14px !important; border-radius: 50%;
	}
	.pc-fiche .pc-fiche__fermer:active { background-color: #eef3f6 !important; }

	/* rows: 16 px text, 20 px icons on the first line, even 14 px rhythm, nothing reserved on the right */
	.pc-fiche .pc-info__texte { display: flex; flex-direction: column; gap: 14px; min-width: 0; max-width: none; padding: 0; }
	.pc-fiche .pc-info__ligne { grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; }
	.pc-fiche .pc-info__ligne a { display: inline; min-height: 0; margin: 0; padding: 0; }
	.pc-fiche .pc-info__url a, .pc-fiche .pc-info__toilettes a, .pc-fiche .pc-info__bixi a, .pc-fiche .pc-info__chrono a, .pc-fiche .pc-info__ascenseurs a { display: inline-block; padding-block: 10px; margin-block: -10px; }
	.pc-fiche .pc-info__icone { width: 20px; height: 20px; margin-top: calc((1lh - 20px) / 2); }
	.pc-fiche .pc-info__informations, .pc-fiche .pc-info__complementaires, .pc-fiche .pc-info__accessibilite { color: #333; }

	/* « Y aller »: the row runs edge to edge of the sheet (momentum, horizontal pan only) */
	.pc-fiche .pc-info__rangee {
		-webkit-overflow-scrolling: touch; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; touch-action: pan-x;
	}
	.pc-fiche .pc-info__pastille { min-height: 44px; }

	/* the map controls (camera, zoom) would peek past the sheet */
	.pc-carte--fiche .gm-bundled-control, .pc-carte--fiche .gmnoprint:has(> .gm-control-active), .pc-carte--fiche .maplibregl-ctrl-group { visibility: hidden; }
}
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 500px) {
	.pc-fiche { left: auto; right: calc(12px + env(safe-area-inset-right, 0px)); width: min(420px, 60%); }
}
@media (prefers-reduced-motion: reduce) { .pc-fiche, .pc-fiche .pc-info__pastille { animation: none !important; transition: none !important; } }

/* =================================================================== « Trouver mon local » (room code search) */
.pc-local { position: relative; font-size: 15px; }
.pc-local__titre { display: block; margin: 0 0 6px; font-weight: 700; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--pc-bleu-fonce); }
.pc-local__champ { position: relative; display: block; }
.pc-local__texte {
	width: 100%; min-height: 44px; margin: 0;
	padding: 8px 44px 8px 40px;
	font: inherit; font-size: 16px; /* 16px: no zoom-on-focus on iOS */
	color: #000; background: #fff url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 30%22 width=%2230%22 height=%2230%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%228.5%22 fill=%22none%22 stroke=%22%23205a7c%22 stroke-width=%223%22/%3E%3Cpath d=%22M18.5 18.5l8 8%22 stroke=%22%23205a7c%22 stroke-width=%224%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") no-repeat left 12px center / 18px 18px;
	border: 1px solid #8a8a8a; border-radius: 10px;
	-webkit-appearance: none; appearance: none;
	transition: border-color var(--pc-duree) var(--pc-courbe), box-shadow var(--pc-duree) var(--pc-courbe);
}
.pc-local__texte::placeholder { color: #6b6b6b; opacity: 1; }
/* Empty field: the clear button is hidden, so its 44 px go back to the example text; on a narrow field the example
   alone shrinks to fit (never under 13 px). The typed text stays at 16 px (no zoom-on-focus on iOS). The example is
   about 18.8 times its font size wide (20: a margin for font metrics); 52 px = the icon side plus the right padding. */
.pc-local__champ { container-type: inline-size; }
.pc-local__texte:placeholder-shown { padding-right: 12px; }
.pc-local__texte::placeholder { font-size: 16px; font-size: clamp(13px, calc((100cqi - 52px) / 20), 16px); }
.pc-local__texte::-webkit-search-cancel-button, .pc-local__texte::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.pc-carte .pc-local__texte:focus-visible { outline: 0; border-color: var(--pc-bleu-fonce); box-shadow: 0 0 0 3px var(--pc-bleu-fonce); } /* opaque ring: 3:1 against the panel (WCAG 2.4.13) */
.pc-local__effacer {
	position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 10 10%22 width=%2210%22 height=%2210%22%3E%3Cpath d=%22M1.5 1.5l7 7M8.5 1.5l-7 7%22 stroke=%22%23757575%22 stroke-width=%221.8%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") no-repeat center / 12px 12px !important;
}
.pc-local__resultat { margin-top: 8px; }
.pc-local__carte {
	padding: 14px 16px; background: #fff; border: 1px solid #d6dde2; border-radius: 14px;
	display: flex; flex-direction: column; gap: 4px;
	animation: pc-apparaitre 160ms var(--pc-courbe);
}
.pc-local__carte p { margin: 0; }
.pc-local__code { font-size: 20px; font-weight: 700; letter-spacing: 0.03em; color: var(--pc-bleu-fonce); }
.pc-local__pavillon { font-weight: 600; line-height: 1.3; }
.pc-local__code-pav { color: #5f6368; font-weight: 500; }
.pc-local__details { color: #333; }
.pc-local__message { font-weight: 600; }
.pc-local__aide { color: #5f6368; font-size: 14px; }
.pc-carte .pc-local__voir {
	align-self: flex-start; margin-top: 8px; min-height: 44px; padding: 0 18px;
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--pc-bleu-fonce); color: #fff; font-weight: 600; border-radius: 22px;
	transition: background-color var(--pc-duree) var(--pc-courbe);
}
.pc-carte .pc-local__voir::before {
	content: ""; width: 14px; height: 18px; flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 31 44%22%3E%3Cpath fill=%22%23fff%22 d=%22M15.5 0C7 0 .4 6.6.4 15.2c0 5.6 2.2 8.7 5.2 12.9 2.5 3.4 5.6 7.7 8.7 15.2.2.5.7.8 1.3.8s1.1-.3 1.3-.8c3.2-7.6 6.3-12.2 8.8-15.9 2.9-4.3 5-7.3 5-12.1C30.6 6.8 24 0 15.5 0zm0 20.6c-3 0-5.5-2.5-5.5-5.5s2.5-5.5 5.5-5.5 5.5 2.5 5.5 5.5-2.5 5.5-5.5 5.5z%22/%3E%3C/svg%3E") no-repeat center / contain;
}
.pc-carte .pc-local__voir:hover { background: var(--pc-bleu-survol); }
.pc-local__choix-liste { display: flex; flex-direction: column; margin-top: 4px; }
.pc-carte .pc-local__choix {
	display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 4px;
	border-top: 1px solid #e3e3e3; text-align: left;
}
.pc-carte .pc-local__choix:first-child { border-top: 0; }
.pc-carte .pc-local__choix:hover .pc-local__choix-nom { text-decoration: underline; }
.pc-local__choix-code { flex: none; min-width: 36px; padding: 2px 6px; border-radius: 6px; background: var(--pc-bleu-fonce); color: #fff; font-weight: 700; text-align: center; font-size: 13px; }
.pc-local__choix-nom { color: var(--pc-lien); font-weight: 600; line-height: 1.3; }
@media (prefers-reduced-motion: reduce) { .pc-local__carte { animation: none; } }

/* desktop: first block of the sidebar, the accordion takes the rest */
@media (min-width: 992px) {
	.pc-carte__barre { display: flex; flex-direction: column; }
	/* the search block gives way first (its result scrolls); the accordion always keeps its three headers and
	   a few lines of the open section: no header is ever cut at the bottom of the sidebar */
	.pc-local { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; margin-bottom: var(--pc-esp-3); }
	.pc-local > * { flex: none; }
	.pc-carte__barre > .pc-acc { flex: 1 1 auto; height: auto; min-height: calc(3 * 42px + 120px); }
	.pc-local__resultat { max-height: 40vh; overflow-y: auto; }
}
/* phones: a floating search pill over the map, just under the tab bar (hidden while a panel is open) */
@media (max-width: 991.98px) {
	.pc-local {
		position: absolute; z-index: 3;
		top: calc(var(--pc-entetes-mobile) + 12px);
		left: calc(12px + env(safe-area-inset-left, 0px)); right: calc(12px + env(safe-area-inset-right, 0px));
	}
	.pc-local__titre { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.pc-local__texte { min-height: 48px; border: 0; border-radius: 24px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06); }
	.pc-local__carte { border: 0; border-radius: 20px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); max-height: calc((var(--pc-vv, 100dvh) - var(--pc-carte-haut-vv, 0px) - var(--pc-entetes-mobile)) * 0.55); overflow-y: auto; }
	.pc-carte__barre:has(.pc-acc__section[open]) .pc-local { display: none; }
	.pc-carte__dev { display: none; }
}

/* « Rendre la carte disponible hors ligne » (OpenStreetMap engine), under « Zoomer sur » */
.pc-hl { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 16px; padding-top: 12px; border-top: 1px solid #d6dde2; font-size: 14px; }
.pc-hl p { margin: 0; }
.pc-hl .pc-lien { min-height: 44px; text-align: left; }
.pc-hl__ok { color: #00702a; font-weight: 600; }
.pc-hl__avis { color: #5f3b00; }
.pc-hl__partiel { color: #205a7c; font-weight: 600; }
.pc-hl__note { color: #444; font-size: 13px; }
.pc-hl__barre { width: 100%; height: 8px; accent-color: #205a7c; }

/* =================================================================== « Ajouter à l'écran d'accueil » (installer.js) */
/* A small card at the bottom left of the map: clear of the zoom buttons (bottom right), under the search (the
   sidebar stacks above the map), never with a pavilion sheet or an open panel. Grows upwards, shifts nothing. */
.pc-installer {
	position: absolute; z-index: 3;
	left: calc(12px + env(safe-area-inset-left, 0px));
	right: calc(64px + env(safe-area-inset-right, 0px)); /* the zoom buttons column */
	bottom: calc(12px + var(--pc-vv-bas, 0px) + env(safe-area-inset-bottom, 0px));
	max-width: 420px;
	display: grid; grid-template-columns: minmax(0, 1fr) 44px; column-gap: 4px; align-items: start;
	padding: 12px 4px 12px 16px;
	background: #fff; color: #000; border-radius: 16px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.06);
	font-size: 15px; line-height: 1.35;
	animation: pc-installer-in 200ms var(--pc-courbe, ease-out);
}
@keyframes pc-installer-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pc-installer > :not(.pc-installer__fermer) { grid-column: 1; }
.pc-installer__texte { margin: 0; padding-top: 2px; }
.pc-installer__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pc-carte .pc-installer__action {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
	background: var(--pc-bleu-fonce); color: #fff; font-weight: 600; border-radius: 22px;
	transition: background-color var(--pc-duree) var(--pc-courbe);
}
.pc-carte .pc-installer__action:hover { background: var(--pc-bleu-survol); }
.pc-carte .pc-installer__action[aria-expanded="true"] { background: #eef3f6; color: var(--pc-bleu-fonce); }
.pc-carte .pc-installer__fermer {
	grid-column: 2; grid-row: 1; justify-self: end;
	width: 44px; height: 44px; margin: -10px 0 0; border-radius: 50%;
	display: grid; place-items: center; color: #5f6368;
}
.pc-carte .pc-installer__fermer:hover { background: #eef3f6; }
.pc-installer__croix { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.pc-installer__etapes, .pc-hl-app .pc-installer__etapes { margin: 10px 0 0; padding: 0 0 0 1.4em; list-style: decimal; }
.pc-installer__etapes li { margin: 0 0 4px; padding-left: 2px; }
/* small phones (iPhone SE): 4 iOS 26 steps must never reach the search field at the top; the card scrolls instead */
.pc-installer { max-height: calc(100% - 150px - var(--pc-vv-bas, 0px)); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 400px) { .pc-installer__etapes { font-size: 14px; } .pc-installer__etapes li { margin-bottom: 2px; } }
.pc-installer__partager {
	display: inline-block; width: 20px; height: 20px; vertical-align: -4px; margin-left: 2px;
	fill: none; stroke: #006aa6; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
@media (pointer: coarse) { .pc-carte .pc-installer__action { min-height: 44px; } }
/* Google engine: its logo sits at the bottom left */
.pc-carte:has(.gm-style) .pc-installer { bottom: calc(32px + var(--pc-vv-bas, 0px) + env(safe-area-inset-bottom, 0px)); }
.pc-carte--fiche .pc-installer { display: none; }
@media (max-width: 991.98px) {
	.pc-carte:has(.pc-acc__section[open]) .pc-installer { display: none; }
}
@media (min-width: 2240px) { .pc-installer { zoom: var(--pc-e); } }
@media (prefers-reduced-motion: reduce) { .pc-installer { animation: none; } }
@media (forced-colors: active) {
	.pc-installer { border: 1px solid CanvasText; }
	.pc-carte .pc-installer__action, .pc-carte .pc-installer__fermer { forced-color-adjust: auto; border: 1px solid ButtonText; }
	.pc-installer__partager, .pc-installer__croix { stroke: CanvasText; }
}
/* quiet link in the offline section (same section as « Rendre la carte disponible hors ligne ») */
.pc-hl-app { margin-top: 2px; font-size: 14px; }
.pc-hl-app .pc-lien { min-height: 44px; text-align: left; }

/* =================================================================== phones: edge to edge under the iOS safe areas */
/* The map (canvas and ground) runs through the bottom / side safe areas; only the floating UI keeps clear of them
   (the sheet pads its content with env(safe-area-inset-bottom), see above; the hint likewise).
   - Shell height: the larger of the initial containing block (100 %: the whole web view when installed) and 100dvh,
     so neither unit leaves a strip when iOS gets the other one wrong (standalone, Safari's floating toolbar).
   - Whatever still shows under the shell (home indicator, under Safari's toolbar) has the map's ground colour, never
     the theme's white: Safari also tints its toolbar from it. */
@media (max-width: 991.98px) {
	html.pc-app, html.pc-app body, body.pc-app { background-color: #eef0f1; }
	html.pc-app { height: calc(max(100%, 100dvh) - var(--wp-admin--admin-bar--height, 0px)); }
	html.pc-app .wp-site-blocks { height: 100%; }
	.pc-carte { background: #eef0f1; }
	/* map controls (zoom, attribution): above the home indicator and Safari's bar, inside the side insets */
	.pc-carte .maplibregl-ctrl-bottom-right, .pc-carte .maplibregl-ctrl-bottom-left {
		bottom: calc(var(--pc-vv-bas, 0px) + env(safe-area-inset-bottom, 0px));
	}
	.pc-carte .maplibregl-ctrl-bottom-right { right: env(safe-area-inset-right, 0px); }
	.pc-carte .maplibregl-ctrl-bottom-left { left: env(safe-area-inset-left, 0px); }
}
