/* FDF Bridge — styles de base (BEM, préfixe .fdf-) */

.fdf-carte--root {
	position: relative;
	width: 100%;
	border-radius: 4px;
	overflow: hidden;
	background: #e8eef2;
}

/* Marqueurs au-dessus du canvas (thèmes / Elementor / calques publicitaires). */
.fdf-carte--root .maplibregl-marker {
	z-index: 10;
}
.fdf-carte--root .maplibregl-marker .fdf-marker {
	box-sizing: content-box;
	flex-shrink: 0;
}

.fdf-carte-toolbar {
	position: absolute;
	z-index: 2;
	left: 12px;
	right: 12px;
	top: 12px;
	display: flex;
	gap: 8px;
	align-items: center;
}

.fdf-carte-toolbar__search {
	flex: 1;
	min-width: 0;
	padding: 8px 10px;
	border: 1px solid #cfd8dc;
	border-radius: 4px;
	font: inherit;
}

.fdf-carte-toolbar__btn {
	padding: 8px 12px;
	border: 1px solid #cfd8dc;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
}

/* Modale « Type de carte » (fonds MapLibre, alignée app mobile) */
.fdf-map-basemap-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
	box-sizing: border-box;
}

@media (min-width: 480px) {
	.fdf-map-basemap-backdrop {
		align-items: center;
		padding: 16px;
	}
}

.fdf-map-basemap-modal {
	background: #fff;
	border-radius: 16px 16px 0 0;
	max-width: 480px;
	width: 100%;
	max-height: 92vh;
	overflow: auto;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
	padding: 0 16px 20px;
	box-sizing: border-box;
}

@media (min-width: 480px) {
	.fdf-map-basemap-modal {
		border-radius: 16px;
	}
}

.fdf-map-basemap-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0 12px;
	position: sticky;
	top: 0;
	background: #fff;
	z-index: 1;
}

.fdf-map-basemap-modal__title {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: #263238;
}

.fdf-map-basemap-modal__close {
	border: none;
	background: none;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: #546e7a;
	padding: 4px 8px;
	border-radius: 8px;
}

.fdf-map-basemap-modal__close:hover {
	background: #eceff1;
}

.fdf-map-basemap-modal__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 16px;
}

.fdf-map-basemap-option {
	border: none;
	background: none;
	padding: 0;
	cursor: pointer;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.fdf-map-basemap-option__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 12px;
	border: 2px solid #cfd8dc;
	background: #eceff1 center / cover no-repeat;
	position: relative;
	box-sizing: border-box;
}

.fdf-map-basemap-option--selected .fdf-map-basemap-option__thumb {
	border-color: #1565c0;
	border-width: 3px;
}

.fdf-map-basemap-option__check {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #1565c0;
	color: #fff;
	font-size: 14px;
	line-height: 26px;
	text-align: center;
	font-weight: 700;
}

.fdf-map-basemap-option__label {
	font-size: 0.8rem;
	color: #37474f;
	line-height: 1.25;
}

.fdf-map-basemap-option--selected .fdf-map-basemap-option__label {
	color: #1565c0;
	font-weight: 600;
}

/* Icône calques sous zoom / géoloc (contrôle MapLibre) */
.maplibregl-ctrl-group.fdf-map-basemap-ctrl .fdf-map-basemap-ctrl__btn {
	width: 29px;
	height: 29px;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	cursor: pointer;
	color: #333;
	background: #fff;
	border: none;
	border-radius: 0;
}

.maplibregl-ctrl-group.fdf-map-basemap-ctrl .fdf-map-basemap-ctrl__btn:hover {
	background: #f2f3f5;
}

.maplibregl-ctrl-group.fdf-map-basemap-ctrl .fdf-map-basemap-ctrl__icon {
	display: block;
	flex-shrink: 0;
	pointer-events: none;
}

.fdf-signalement__basemap-btn,
.fdf-tracking__basemap-btn,
.fdf-risque-carte__basemap-btn {
	position: absolute;
	z-index: 5;
	top: 12px;
	left: 12px;
	padding: 8px 12px;
	border: 1px solid #cfd8dc;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 13px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.fdf-tracking__map-wrap {
	position: relative;
	width: 100%;
	min-height: 320px;
	margin-bottom: 10px;
}

.fdf-tracking__map-wrap .fdf-tracking__map {
	height: 320px;
	width: 100%;
}

.fdf-marker {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

/* Marqueurs PNG (plugin FDF) : annule le pastille de secours. */
.fdf-carte--root .fdf-marker.fdf-marker-feu,
.fdf-carte--root .fdf-marker.fdf-marker-signalement,
.fdf-carte--root .fdf-marker.fdf-marker-eteint {
	width: auto;
	height: auto;
	min-width: 0;
	border-radius: 0;
	border: none;
	box-shadow: none;
	background: transparent;
}

.fdf-marker--declare {
	background: #fb8c00;
}

.fdf-marker--attente {
	background: #ffc107;
	border: 2px dashed #fff;
}

.fdf-marker--actif {
	background: #c62828;
}

.fdf-marker--eteint {
	background: #90a4ae;
}

@keyframes fdf-blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.35;
	}
}

.fdf-marker--blink {
	animation: fdf-blink 1s infinite;
}

/* Popup carte — maquette FDF (capture référence) */
.fdf-popup--maquette {
	padding: 0;
	font-size: 14px;
	line-height: 1.45;
	font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
	color: #333;
}
.fdf-carte--root .maplibregl-popup-content {
	padding: 16px 18px 18px;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.06);
}
.fdf-carte--root .maplibregl-popup-close-button {
	color: #d00000;
	font-size: 22px;
	font-weight: 700;
	width: 32px;
	height: 32px;
	line-height: 1;
	padding: 0;
	right: 8px;
	top: 8px;
}
.fdf-carte--root .maplibregl-popup-close-button:hover {
	background: rgba(208, 0, 0, 0.08);
	color: #b30000;
}

/* Popup mobile : centré dans la fenêtre (au-dessus de la carte) */
@media (max-width: 768px) {
	.fdf-carte--root .maplibregl-popup.fdf-mobile-popup-fullscreen {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		width: 100vw !important;
		max-width: none !important;
		height: 100% !important;
		margin: 0 !important;
		transform: none !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding: clamp(12px, 4vw, 28px) !important;
		box-sizing: border-box !important;
		z-index: 10001 !important;
		background: rgba(0, 0, 0, 0.42) !important;
		-webkit-backdrop-filter: blur(3px);
		backdrop-filter: blur(3px);
		pointer-events: auto !important;
	}
	.fdf-carte--root .maplibregl-popup.fdf-mobile-popup-fullscreen::before {
		display: none !important;
	}
	.fdf-carte--root .maplibregl-popup.fdf-mobile-popup-fullscreen .maplibregl-popup-tip {
		display: none !important;
	}
	.fdf-carte--root .maplibregl-popup.fdf-mobile-popup-fullscreen .maplibregl-popup-content {
		position: relative !important;
		width: 100% !important;
		max-width: min(420px, 92vw) !important;
		min-width: 0 !important;
		margin: 0 auto !important;
	}
}

.fdf-popup-title {
	margin: 0 0 10px;
	padding-right: 28px;
	font-size: 1.25rem;
	font-weight: 800;
	color: #d30000;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.2;
}
.fdf-popup-title .fdf-popup-title-link {
	color: #d30000;
	font-weight: 800;
	text-decoration: none;
}
.fdf-popup-title .fdf-popup-title-link:hover {
	color: #b30000;
}
.fdf-popup-meta {
	margin: 0 0 12px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #444;
	line-height: 1.35;
}
.fdf-popup-description-box {
	margin: 0 0 14px;
	padding: 12px 14px;
	background: #eef1f5;
	border: 1px solid #e0e4ea;
	border-radius: 10px;
}
.fdf-popup-description-box .fdf-popup-description-text {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	border-radius: 0;
	font-style: italic;
	font-size: 0.95rem;
	color: #2f2f2f;
	line-height: 1.45;
}
.fdf-popup-etat-line {
	margin: 0 0 10px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #555;
}

/* Popup « modération app uniquement » (probable / douteux, mobile) */
.fdf-carte--root .fdf-popup--app-moderation .fdf-popup-meta {
	margin-bottom: 8px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eceff1;
}
.fdf-moderation-app-only-wrap {
	margin-top: 4px;
}
.fdf-carte--root .fdf-moderation-app-only {
	box-sizing: border-box;
	margin: 0;
	padding: 16px 14px 18px;
	border-radius: 12px;
	background: linear-gradient(165deg, #fffefb 0%, #f5f7fa 55%, #eef2f6 100%);
	border: 1px solid #e2e8f0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.fdf-carte--root .fdf-moderation-app-only--mobile {
	text-align: center;
}
.fdf-moderation-app-only__hero {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: linear-gradient(145deg, #d30000 0%, #9a0000 100%);
	box-shadow: 0 6px 18px rgba(208, 0, 0, 0.35);
}
.fdf-moderation-app-only__hero--muted {
	background: linear-gradient(145deg, #78909c 0%, #546e7a 100%);
	box-shadow: 0 4px 14px rgba(84, 110, 122, 0.28);
}
.fdf-moderation-app-only__hero-inner {
	display: block;
	width: 22px;
	height: 34px;
	border-radius: 5px;
	border: 3px solid rgba(255, 255, 255, 0.95);
	box-sizing: border-box;
	position: relative;
	top: 1px;
}
.fdf-moderation-app-only__hero-inner::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
}
.fdf-moderation-app-only__lead,
.fdf-moderation-app-only__desktop-msg {
	margin: 0 0 16px;
	font-size: 1rem;
	line-height: 1.5;
	color: #37474f;
	font-weight: 500;
}
.fdf-carte--root .fdf-moderation-app-only--mobile .fdf-moderation-app-only__lead {
	max-width: 22rem;
	margin-left: auto;
	margin-right: auto;
}
.fdf-moderation-app-only__cta-wrap {
	margin: 0 0 18px;
}
.fdf-moderation-app-only__cta {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 14px 18px;
	border-radius: 12px;
	border: none;
	background: linear-gradient(180deg, #e53935 0%, #c62828 45%, #b71c1c 100%);
	color: #fff !important;
	font-size: 1.05rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
	letter-spacing: 0.02em;
	box-shadow: 0 4px 14px rgba(198, 40, 40, 0.45);
	-webkit-tap-highlight-color: transparent;
	transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.fdf-moderation-app-only__cta:hover,
.fdf-moderation-app-only__cta:focus {
	color: #fff !important;
	filter: brightness(1.05);
	box-shadow: 0 6px 20px rgba(198, 40, 40, 0.5);
}
.fdf-moderation-app-only__cta:active {
	transform: scale(0.98);
}
.fdf-moderation-app-only__downloads {
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid #dfe4ea;
}
.fdf-moderation-app-only__downloads-label {
	display: block;
	margin: 0 0 10px;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #78909c;
}
.fdf-moderation-app-only__store-row {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	justify-content: center;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
}
.fdf-moderation-app-only__store-badge {
	display: block;
	flex: 0 0 auto;
	line-height: 0;
	text-decoration: none !important;
	border: none;
	border-radius: 0;
	overflow: visible;
	transition: transform 0.12s ease, opacity 0.12s ease, filter 0.12s ease;
	box-shadow: none;
	-webkit-tap-highlight-color: transparent;
}
.fdf-moderation-app-only__store-badge:hover,
.fdf-moderation-app-only__store-badge:focus {
	opacity: 0.92;
	filter: brightness(1.03);
}
.fdf-moderation-app-only__store-badge:active {
	transform: scale(0.98);
}
.fdf-moderation-app-only__store-badge img {
	display: block;
	width: auto;
	height: auto;
	max-height: 48px;
	object-fit: contain;
}
.fdf-moderation-app-only__nostore {
	margin: 12px 0 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: #90a4ae;
}
.fdf-carte--root .fdf-moderation-app-only--desktop {
	text-align: center;
	padding: 18px 16px 20px;
}
.fdf-carte--root .fdf-moderation-app-only__desktop-msg {
	margin-bottom: 0;
	color: #455a64;
}
.fdf-mobile-popup-fullscreen .maplibregl-popup-content {
	padding-bottom: 22px;
}
.fdf-mobile-popup-fullscreen .fdf-moderation-app-only__cta {
	padding: 16px 20px;
	font-size: 1.1rem;
	border-radius: 14px;
}

/* Article validé : bandeau opérationnel (au-dessus du « Le direct ») */
.fdf-ops-dashboard {
	margin: 1rem 0 0.35rem;
}
.fdf-ops-dashboard__status {
	display: flex;
	align-items: stretch;
	min-height: 72px;
	border-radius: 12px;
	overflow: hidden;
	background: #0d0d0d;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.fdf-ops-dashboard__status-cell {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 8px;
	text-align: center;
}
.fdf-ops-dashboard__status-value {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.25;
	max-width: 100%;
}
.fdf-ops-dashboard__status-divider {
	width: 1px;
	align-self: center;
	height: 56px;
	background: rgba(255, 255, 255, 0.22);
	flex-shrink: 0;
}
.fdf-ops-dashboard__situation {
	margin-top: 8px;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.45;
	color: #263238;
	margin-bottom: 1rem;
}
.fdf-ops-dashboard__situation p {
	margin: 0 0 0.45em;
}
.fdf-ops-dashboard__situation p:last-child {
	margin-bottom: 0;
}
.fdf-ops-dashboard__surface {
	margin-top: 6px;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 252, 0.98));
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
	padding: 14px;
}
.fdf-ops-dashboard__surface-inner {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.fdf-ops-dashboard__surface-cap {
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #607d8b;
}
.fdf-ops-dashboard__surface-cap--situation {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: normal;
	line-height: 1.4;
	color: #263238;
}
.fdf-ops-dashboard__surface-cap--situation p {
	margin: 0 0 0.4em;
}
.fdf-ops-dashboard__surface-cap--situation p:last-child {
	margin-bottom: 0;
}
.fdf-ops-dashboard__surface-ha {
	font-size: 1.15rem;
	font-weight: 800;
	color: #102027;
}
.fdf-ops-dashboard__surface-actions {
	margin: 10px 0 0;
}
.fdf-ops-dashboard__btn-visualiser {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	padding: 10px 12px;
	border-radius: 10px;
	background: #2e7d32;
	color: #fff !important;
	border: none;
	transition: background 0.15s ease, transform 0.1s ease;
}
.fdf-ops-dashboard__btn-visualiser:hover,
.fdf-ops-dashboard__btn-visualiser:focus {
	background: #1b5e20;
	color: #fff !important;
}
.fdf-ops-dashboard__resources {
	margin-top: 6px;
}
.fdf-ops-resources {
	box-sizing: border-box;
}
.fdf-ops-resources__title {
	display: block;
	text-align: center;
	font-size: 0.72rem;
	font-weight: 700;
	color: #37474f;
	margin-bottom: 4px;
}
.fdf-ops-resources__tiles {
	display: flex;
	align-items: stretch;
	gap: 6px;
	min-height: 96px;
}
.fdf-ops-resources--split {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	flex-wrap: nowrap;
	gap: 8px;
}
.fdf-ops-resources--split .fdf-ops-resources__col {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
}
.fdf-ops-resources--split .fdf-ops-resources__col--moyens {
	flex: 3;
}
.fdf-ops-resources--split .fdf-ops-resources__col--super {
	flex: 1;
}
.fdf-ops-resources__vsep {
	width: 1px;
	background: #cfd8dc;
	flex-shrink: 0;
	align-self: stretch;
}
.fdf-ops-resources--split .fdf-ops-resources__tiles {
	min-height: 88px;
}
.fdf-ops-resources--moyens-only .fdf-ops-resources__tiles,
.fdf-ops-resources--split .fdf-ops-resources__moyens .fdf-ops-resources__tiles {
	flex-wrap: nowrap;
}
.fdf-ops-resources--super-only .fdf-ops-resources__tiles {
	min-height: 104px;
}
.fdf-ops-tile {
	flex: 1;
	min-width: 0;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 8px 4px;
	box-sizing: border-box;
}
.fdf-ops-tile__ico {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4px;
	line-height: 0;
}
.fdf-ops-tile__img {
	display: block;
	width: 28px;
	height: 28px;
	object-fit: contain;
}
.fdf-ops-tile__val {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.1;
}
.fdf-ops-tile__lbl {
	font-size: 0.65rem;
	font-weight: 600;
	color: #37474f;
	margin-top: 2px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0 2px;
}
.fdf-ops-tile--pompiers {
	background: rgba(25, 118, 210, 0.12);
}
.fdf-ops-tile--pompiers .fdf-ops-tile__val {
	color: #1565c0;
}
.fdf-ops-tile--heli {
	background: rgba(239, 108, 0, 0.14);
}
.fdf-ops-tile--heli .fdf-ops-tile__val {
	color: #ef6c00;
}
.fdf-ops-tile--avions {
	background: rgba(198, 40, 40, 0.12);
}
.fdf-ops-tile--avions .fdf-ops-tile__val {
	color: #c62828;
}
.fdf-ops-tile--surface {
	background: rgba(46, 125, 50, 0.12);
}
.fdf-ops-tile--surface .fdf-ops-tile__val {
	color: #2e7d32;
}
/* Article validé : fil « Le direct » (snapshot main courante, style proche app) */
.fdf-mc-direct {
	margin: 1.25rem 0 1.5rem;
}
.fdf-mc-direct__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-bottom: 10px;
	margin-bottom: 4px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.fdf-mc-direct__title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.fdf-mc-direct__meta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8rem;
	font-weight: 600;
	color: #185fa5;
	white-space: nowrap;
}
.fdf-mc-direct__refresh {
	display: inline-block;
	font-size: 1.05rem;
	line-height: 1;
	opacity: 0.85;
}
.fdf-mc-direct__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
}
.fdf-mc-direct__filter-btn {
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	font: inherit;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid #b8c9d9;
	background: #fff;
	color: #37474f;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	transition:
		background 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease;
}
.fdf-mc-direct__filter-btn:hover {
	border-color: #185fa5;
	color: #185fa5;
	background: rgba(24, 95, 165, 0.07);
}
.fdf-mc-direct__filter-btn:focus-visible {
	outline: 2px solid #185fa5;
	outline-offset: 2px;
}
.fdf-mc-direct__filter-btn.active {
	border-color: #185fa5;
	background: #185fa5;
	color: #fff;
}
.fdf-mc-direct__filter-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	height: 1.35rem;
	padding: 0 6px;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	background: rgba(24, 95, 165, 0.14);
	color: #185fa5;
}
.fdf-mc-direct__filter-btn.active .fdf-mc-direct__filter-badge {
	background: rgba(255, 255, 255, 0.28);
	color: #fff;
}
.fdf-mc-direct__pill {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 10px;
	border: 1px solid #cfd8dc;
	background: #fff;
	font-size: 0.82rem;
	font-weight: 600;
	color: #455a64;
}
.fdf-mc-entries--cards {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.fdf-mc-entry-wrap {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.fdf-mc-entry-wrap__timeline {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 22px;
}
.fdf-mc-entry-wrap__time {
	font-size: 1rem;
	font-weight: 700;
	color: #185fa5;
	flex-shrink: 0;
}
.fdf-mc-entry-wrap__rule {
	flex: 1;
	height: 1px;
	background: #e0e0e0;
	min-width: 12px;
}
.fdf-mc-entry-card {
	border-radius: 14px;
	border: 1px solid #e0e0e0;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}
.fdf-mc-entry-card-wrap {
	position: relative;
}
.fdf-mc-entry-card__abuse {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(255, 236, 179, 0.95);
	color: #e65100;
	cursor: pointer;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
	transition:
		background 0.15s ease,
		transform 0.12s ease;
}
.fdf-mc-entry-card__abuse:hover {
	background: #ffca28;
	color: #bf360c;
}
.fdf-mc-entry-card__abuse:focus-visible {
	outline: 2px solid #f57f17;
	outline-offset: 2px;
}
.fdf-mc-entry-card__abuse-img {
	display: block;
	width: 13px;
	height: 13px;
	object-fit: contain;
}
.fdf-mc-entry-card__abuse-char {
	font-size: 14px;
	line-height: 1;
}
.fdf-mc-entry-card--point-situation {
	border-color: #e0e0e0;
	border-width: 1px;
}
.fdf-mc-entry-card--internaute {
	border-color: #cfd8dc;
}
.fdf-mc-ps-header {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding: 10px 12px;
	background: #eaf4ff;
	border-bottom: 1px solid rgba(24, 95, 165, 0.15);
}
.fdf-mc-entry-card--point-situation .fdf-mc-ps-header {
	background: #eaf4ff;
}
.fdf-mc-ps-header__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 6px;
	background: #185fa5;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1;
}
.fdf-mc-ps-header__label {
	font-size: 0.82rem;
	font-weight: 800;
	color: #185fa5;
	flex: 1;
	min-width: 0;
}
.fdf-mc-risk-pill {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	color: #185fa5;
	background: rgba(24, 95, 165, 0.12);
	border: 1px solid rgba(24, 95, 165, 0.22);
}
.fdf-mc-entry-card__inner {
	padding: 14px 16px 16px;
	min-width: 0;
}
.fdf-mc-entry-card__inner .fdf-mc-url-frame {
	min-width: 0;
	max-width: 100%;
}
.fdf-mc-entry-card__type-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}
.fdf-mc-entry-card__type-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 8px;
	border: 1px solid #cfd8dc;
	background: #fafafa;
	font-size: 0.75rem;
	font-weight: 700;
	color: #37474f;
}
.fdf-mc-entry-card__byline {
	margin: 6px 0 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: #78909c;
}
.fdf-mc-entry-card__body {
	font-size: 1rem;
	line-height: 1.45;
	color: #37474f;
}
.fdf-mc-entry-card__body p:first-child {
	margin-top: 0;
}
.fdf-mc-entry-card__body p:last-child {
	margin-bottom: 0;
}
.fdf-mc-entry-card__medias {
	margin-top: 10px;
}
.fdf-mc-entry-card__media {
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	background: #eceff1;
}
.fdf-mc-entry-card__media + .fdf-mc-entry-card__media {
	margin-top: 8px;
}
.fdf-mc-entry-card__media-link {
	display: block;
	position: relative;
	line-height: 0;
}
.fdf-mc-entry-card__media-link img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.fdf-mc-entry-card__media--video .fdf-mc-entry-card__play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}
.fdf-mc-entry-card__link {
	margin: 10px 0 0;
	font-size: 0.92rem;
	word-break: break-all;
}
.fdf-mc-weather-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	padding: 8px 12px;
	background: #f5f5f5;
	border-top: 1px solid #e0e0e0;
	font-size: 0.8rem;
	font-weight: 600;
	color: #455a64;
}
.fdf-mc-weather-strip__sep {
	color: #90a4ae;
}
.fdf-mc-entry-card__internaute {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: #78909c;
}
.fdf-mc-entry-card__internaute-label {
	flex: 1;
	min-width: 0;
	line-height: 1.3;
}
.fdf-mc-entry-card__internaute-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #b0bec5;
	flex-shrink: 0;
}
.fdf-mc-entry-card__community-info {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	border: 1px solid #90a4ae;
	background: #fff;
	color: #546e7a;
	font-size: 0.72rem;
	font-weight: 700;
	font-style: italic;
	font-family: Georgia, 'Times New Roman', serif;
	line-height: 1;
	cursor: help;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.fdf-mc-entry-card__community-info:hover,
.fdf-mc-entry-card__community-info:focus-visible {
	border-color: #546e7a;
	color: #37474f;
	outline: none;
	box-shadow: 0 0 0 2px rgba(84, 110, 120, 0.25);
}
.fdf-mc-entry-card__community-info-char {
	display: block;
	margin-top: 1px;
}
.fdf-mc-entry-tag--community {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	vertical-align: middle;
	margin-right: 6px;
}
.fdf-mc-entry-card__stats {
	margin: 10px 0 0;
	font-size: 0.78rem;
	color: #78909c;
}
.fdf-mc-entry-card__sep {
	margin: 12px 0 10px;
	border: none;
	border-top: 1px solid #eceff1;
}
.fdf-mc-entry-card__reactions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.fdf-mc-reaction-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 10px;
	border-radius: 10px;
	background: #f5f5f5;
	border: 1px solid #eceff1;
	font-size: 0.8rem;
	font-weight: 700;
	color: #37474f;
	font-family: inherit;
	cursor: default;
}
button.fdf-mc-reaction-pill--like {
	cursor: pointer;
}
button.fdf-mc-reaction-pill--like:hover:not(:disabled) {
	background: #eceff1;
}
button.fdf-mc-reaction-pill--like.is-liked {
	background: rgba(25, 135, 84, 0.15);
	border-color: rgba(25, 135, 84, 0.35);
	color: #146c43;
}
button.fdf-mc-reaction-pill--like:disabled {
	opacity: 0.65;
	cursor: wait;
}
.fdf-mc-reaction-pill__ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
	line-height: 0;
}
.fdf-mc-reaction-pill__img {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
}
.fdf-mc-reaction-pill__n {
	min-width: 1ch;
}
.fdf-mc-entry-card__composer {
	display: flex;
	align-items: stretch;
	gap: 8px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid #eceff1;
}
.fdf-mc-entry-card__composer-field {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #e0e0e0;
	background: #fff;
	font-size: 0.85rem;
	color: #37474f;
	font-family: inherit;
	resize: vertical;
	min-height: 44px;
	box-sizing: border-box;
}
.fdf-mc-entry-card__composer-send {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-height: 44px;
	flex-shrink: 0;
	border-radius: 8px;
	border: none;
	background: #185fa5;
	color: #fff;
	font-size: 1rem;
	line-height: 1;
	cursor: pointer;
}
.fdf-mc-entry-card__composer-send:hover:not(:disabled) {
	background: #144a84;
}
.fdf-mc-entry-card__composer-send:disabled {
	opacity: 0.65;
	cursor: wait;
}
.fdf-mc-entry-card__composer-feedback {
	margin: 8px 0 0;
	font-size: 0.78rem;
	color: #2e7d32;
}
.fdf-mc-entry-card__composer-feedback--err {
	color: #c62828;
}

/* Modération carte : 2 boutons + barre AJOUTER */
.fdf-moderation-actions {
	margin-top: 4px;
	padding-top: 0;
	border-top: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	align-items: stretch;
}
.fdf-moderation-actions.fdf-moderation-actions--done {
	display: block;
	text-align: center;
}
.fdf-carte--root .fdf-moderation-actions {
	position: relative;
	z-index: 1;
}
.fdf-moderation-actions .fdf-toggle-icon {
	flex-shrink: 0;
	line-height: 0;
	margin-bottom: 6px;
}
.fdf-moderation-actions .fdf-toggle-icon img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}
/* Hors carte : barres compactes par défaut */
.fdf-public-message-form:not(.fdf-popup-mc-cta) {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background-color: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
	font-size: 12px;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
	min-height: 48px;
}
.fdf-moderation-actions .fdf-public-message-form:not(.fdf-popup-mc-cta) {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 108px;
	padding: 12px 10px 14px;
	border: none;
	border-radius: 10px;
	font-size: 12px;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.fdf-moderation-actions .fdf-public-message-form.fdf-confirm {
	background-color: #e60012;
	color: #fff;
}
.fdf-moderation-actions .fdf-public-message-form.fdf-confirm:hover {
	background-color: #c4000f;
}
.fdf-moderation-actions .fdf-public-message-form.fdf-false-alert {
	background-color: #2c2c2c;
	color: #fff;
}
.fdf-moderation-actions .fdf-public-message-form.fdf-false-alert:hover {
	background-color: #1a1a1a;
}
.fdf-moderation-actions .fdf-public-message-form.fdf-confirm .fdf-public-bouton-title,
.fdf-moderation-actions .fdf-public-message-form.fdf-false-alert .fdf-public-bouton-title {
	color: #fff;
	font-weight: 800;
	font-size: 1.05em;
	letter-spacing: 0.02em;
}
.fdf-moderation-actions .fdf-public-message-form.fdf-confirm .fdf-public-form-text,
.fdf-moderation-actions .fdf-public-message-form.fdf-false-alert .fdf-public-form-text {
	color: rgba(255, 255, 255, 0.95);
	font-size: 11px;
	font-weight: 400;
	opacity: 1;
	text-transform: none;
}
.fdf-carte--root .fdf-moderation-actions .fdf-public-message-form:not(.fdf-popup-mc-cta) {
	min-height: 118px;
	border-radius: 12px;
	padding: 14px 10px 16px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.fdf-carte--root .fdf-moderation-actions .fdf-public-message-form.fdf-confirm {
	background-color: #d30000;
}
.fdf-carte--root .fdf-moderation-actions .fdf-public-message-form.fdf-confirm:hover {
	background-color: #b80000;
}
.fdf-carte--root .fdf-moderation-actions .fdf-public-message-form.fdf-false-alert {
	background-color: #333333;
}
.fdf-carte--root .fdf-moderation-actions .fdf-public-message-form.fdf-false-alert:hover {
	background-color: #1f1f1f;
}
.fdf-carte--root .fdf-moderation-actions .fdf-public-message-form.fdf-confirm .fdf-public-bouton-title,
.fdf-carte--root .fdf-moderation-actions .fdf-public-message-form.fdf-false-alert .fdf-public-bouton-title {
	text-transform: uppercase;
	font-size: 1.08rem;
	letter-spacing: 0.04em;
}
.fdf-public-message-form:not(.fdf-popup-mc-cta):not(.fdf-confirm):not(.fdf-false-alert):hover {
	background-color: #e9ecef;
}
.fdf-public-message-form-container {
	margin-top: 8px;
	width: 100%;
}
.fdf-public-message-form-container .fdf-message-form.fdf-public-message-form {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 12px;
	row-gap: 2px;
	justify-items: start;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	min-height: 56px;
	border: none;
	border-radius: 10px;
	background-color: #8a8a8a;
	color: #fff;
	cursor: pointer;
	font: inherit;
	text-align: left;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: background 0.2s ease;
}
.fdf-carte--root .fdf-public-message-form-container {
	margin-top: 10px;
}
.fdf-carte--root .fdf-public-message-form-container .fdf-message-form.fdf-public-message-form {
	min-height: 58px;
	padding: 14px 16px;
	border-radius: 12px;
	background-color: #808080;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.fdf-carte--root .fdf-public-message-form-container .fdf-message-form.fdf-public-message-form:hover {
	background-color: #6d6d6d;
}
.fdf-carte--root .fdf-public-message-form-container .fdf-public-bouton-title {
	text-transform: uppercase;
	font-size: 1.1rem;
	letter-spacing: 0.03em;
}
.fdf-public-message-form-container .fdf-message-form.fdf-public-message-form:hover {
	background-color: #767676;
}
.fdf-public-message-form-container .fdf-toggle-icon {
	margin-bottom: 0;
	line-height: 0;
	grid-row: 1 / span 2;
	align-self: center;
}
.fdf-public-message-form-container .fdf-toggle-icon img {
	width: 30px;
	height: 30px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}
.fdf-public-message-form-container .fdf-public-bouton-title {
	color: #fff;
	font-weight: 800;
	font-size: 1.05em;
	letter-spacing: 0.02em;
}
.fdf-public-message-form-container .fdf-public-form-text {
	color: rgba(255, 255, 255, 0.95);
	font-size: 11px;
	font-weight: 400;
	opacity: 1;
}
.fdf-public-message-form:not(.fdf-popup-mc-cta) .fdf-public-bouton-title {
	font-weight: 700;
	text-transform: uppercase;
}
.fdf-public-message-form:not(.fdf-popup-mc-cta) .fdf-public-form-text {
	font-size: 11px;
	opacity: 0.85;
}
.fdf-thank-you {
	color: #2e7d32 !important;
	font-style: italic;
	margin: 10px 0 !important;
	text-align: center;
	font-weight: 600 !important;
	font-size: 14px;
	line-height: 1.35;
}
.fdf-moderation-actions--done .fdf-thank-you {
	margin: 6px 0 10px !important;
}

/* Main courante popup — même graphisme FDF (fdf-main-courante.css) + ajustements carte */
.fdf-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
}

.fdf-carte--root .fdf-popup-main-courante {
	position: relative;
	z-index: 2;
	margin-top: 10px;
	padding-top: 0;
	border-top: none;
	max-width: 100%;
	pointer-events: auto;
}

/* Barre grise MESSAGE / main courante — même famille que AJOUTER info/média */
.fdf-carte--root .fdf-popup-mc-trigger--bar {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 14px;
	row-gap: 2px;
	width: 100%;
	margin: 0;
	padding: 14px 16px;
	min-height: 58px;
	border: none;
	border-radius: 12px;
	background-color: #808080;
	color: #fff;
	font: inherit;
	text-align: left;
	cursor: pointer;
	box-sizing: border-box;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	transition: background 0.2s ease;
	pointer-events: auto;
}
.fdf-carte--root .fdf-popup-mc-trigger--bar:hover {
	background-color: #6d6d6d;
}
.fdf-carte--root .fdf-popup-mc-trigger__icon {
	grid-row: 1 / span 2;
	align-self: center;
	line-height: 0;
}
.fdf-carte--root .fdf-popup-mc-trigger__icon img {
	display: block;
	width: 30px;
	height: 30px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}
.fdf-carte--root .fdf-popup-mc-trigger__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 2px;
	min-width: 0;
}
.fdf-carte--root .fdf-popup-mc-trigger__title {
	display: block;
	font-weight: 800;
	font-size: 1.08rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0;
}
.fdf-carte--root .fdf-popup-mc-trigger__hint {
	display: block;
	font-weight: 400;
	font-size: 0.8rem;
	opacity: 0.95;
	line-height: 1.3;
}
.fdf-carte--root .fdf-popup-mc-trigger--bar:not(:has(.fdf-popup-mc-trigger__icon)) {
	grid-template-columns: 1fr;
	justify-items: center;
	text-align: center;
}
.fdf-carte--root
	.fdf-popup-mc-trigger--bar:not(:has(.fdf-popup-mc-trigger__icon))
	.fdf-popup-mc-trigger__inner {
	align-items: center;
}

/* Modale MC : shell = carto.css (.fdf-form-modal, z-index 999999) ; champs spécifiques seulement */
.fdf-form-modal.fdf-mc-modal[hidden] {
	display: none !important;
}
.fdf-form-modal.fdf-mc-modal .fdf-form-modal-body {
	overflow-y: auto;
	max-height: min(78vh, 640px);
}
.fdf-form-modal.fdf-mc-modal .fdf-form-modal-content {
	cursor: default;
}
.fdf-mc-modal .fdf-mc-modal__type-row {
	margin-bottom: 12px;
}
.fdf-mc-modal .fdf-mc-modal__type-label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
	font-size: 0.95rem;
}
.fdf-mc-modal .fdf-mc-modal__type-radios {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	font-size: 0.9rem;
}
.fdf-mc-modal .fdf-mc-modal__type-radios label {
	cursor: pointer;
}
.fdf-mc-modal .fdf-message-section textarea#fdf-public-message {
	width: 100%;
	box-sizing: border-box;
	margin-bottom: 6px;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 8px;
	font: inherit;
	font-size: 13px;
	resize: vertical;
	min-height: 96px;
	background: #fff;
}
.fdf-mc-modal .fdf-mc-modal__hint {
	display: block;
	color: #666;
	font-size: 12px;
	margin-bottom: 4px;
}
.fdf-mc-modal .fdf-media-section {
	margin-bottom: 10px;
}
.fdf-mc-modal .fdf-mc-modal__file-label {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
	font-size: 0.9rem;
	color: #333;
}
.fdf-mc-modal .fdf-media-section input[type='file'] {
	max-width: 100%;
	font-size: 12px;
}
.fdf-mc-modal .fdf-accordion-responsabilite {
	margin-bottom: 14px;
	padding: 10px;
	font-size: 0.78rem;
	line-height: 1.35;
	color: #444;
	background: #fafafa;
	border-radius: 6px;
	border: 1px solid #eee;
}
.fdf-mc-modal .fdf-mc-modal__submit-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.fdf-mc-modal .button.button-primary {
	background: #d00000;
	color: #fff !important;
	border: none;
	padding: 10px 18px;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
	font-size: 14px;
}
.fdf-mc-modal .button.button-primary:hover {
	background: #b30000;
}
.fdf-mc-modal .button.button-primary:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}
.fdf-mc-modal .fdf-public-loading {
	font-size: 13px;
	color: #555;
}
.fdf-mc-modal .fdf-public-messages {
	margin-top: 10px;
	font-size: 13px;
	min-height: 0;
}
.fdf-mc-modal .fdf-public-messages--ok {
	color: #1b5e20;
}
.fdf-mc-modal .fdf-public-messages--err {
	color: #b71c1c;
}

/* Signalement formulaire — hérite police et couleurs du thème, sans effet glass ni fond image */
.fdf-signalement--root {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	position: relative;
	font: inherit;
	box-sizing: border-box;
}

@media screen and (min-width: 600px) {
	.fdf-signalement--root {
		max-width: 640px;
	}
}

@media screen and (min-width: 960px) {
	.fdf-signalement--root {
		max-width: 900px;
	}
}

.fdf-signalement--root.fdf-signalement--dismissed {
	display: none !important;
}

.fdf-signalement--root .fdf-signalement__shell {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	min-height: 520px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	background: transparent;
	box-shadow: none;
}

.fdf-signalement--root .fdf-signalement__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 520px;
	padding: 10px 12px 0;
	box-sizing: border-box;
	font: inherit;
}

.fdf-signalement--root .fdf-signalement__topbar {
	display: block;
	padding: 8px 2px 10px;
}

.fdf-signalement--root .fdf-step-dots {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 5px;
	margin: 0;
	align-items: end;
	width: 100%;
}

.fdf-signalement--root .fdf-step-dots [data-fdf-dot] {
	height: 3px;
	border-radius: 99px;
	background: rgba(0, 0, 0, 0.12);
	transition:
		height 0.2s ease,
		background 0.2s ease;
}

.fdf-signalement--root .fdf-step-dots [data-fdf-dot].is-done {
	background: rgba(208, 0, 0, 0.75);
	height: 4px;
}

.fdf-signalement--root .fdf-step-dots [data-fdf-dot].is-active {
	height: 5px;
	background: #d00000;
	box-shadow: 0 0 14px rgba(208, 0, 0, 0.45);
}

.fdf-signalement--root .fdf-signalement__form {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding-bottom: 8px;
}

.fdf-signalement--root .fdf-steps {
	flex: 1;
	min-height: 0;
}

.fdf-signalement--root .fdf-step-card {
	padding: 20px 18px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	box-sizing: border-box;
	margin-bottom: 8px;
}

.fdf-signalement--root .fdf-step-card--map {
	padding-bottom: 0;
	overflow: hidden;
}

.fdf-signalement--root .fdf-step-card__hero {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-bottom: 16px;
}

.fdf-signalement--root .fdf-step-card__hero-icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	font-size: 1.35rem;
	background: linear-gradient(145deg, #d00000 0%, #c2410c 100%);
	box-shadow: 0 4px 12px rgba(208, 0, 0, 0.32);
	filter: saturate(1.08);
	line-height: 1;
	box-sizing: border-box;
}

.fdf-signalement--root .fdf-step-card__title {
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
	color: #1a1a1a;
	letter-spacing: -0.01em;
}

.fdf-signalement--root .fdf-step-card__subtitle {
	margin: 6px 0 0;
	font-size: 0.88rem;
	line-height: 1.42;
	color: rgba(42, 42, 42, 0.78);
}

.fdf-signalement--root .fdf-step-card__bullets {
	margin: 0 0 14px;
	padding-left: 1.15rem;
	line-height: 1.52;
	font-size: 0.92rem;
	color: #263238;
}

.fdf-signalement--root .fdf-step-card__bullets li {
	margin-bottom: 8px;
}

.fdf-signalement--root .fdf-step-card__hint {
	font-size: 0.82rem;
	font-weight: 600;
	color: rgba(38, 50, 56, 0.78);
	margin: 0 0 10px;
}

.fdf-signalement--root .fdf-step-card__footnote {
	margin: 12px 0 0;
	font-size: 0.84rem;
	text-align: center;
	color: rgba(38, 50, 56, 0.88);
}

.fdf-signalement--root .fdf-step-card__legal {
	font-size: 0.72rem;
	line-height: 1.42;
	text-align: justify;
	color: rgba(38, 50, 56, 0.68);
	margin: 12px 0 0;
}

.fdf-signalement--root .fdf-btn:not(.fdf-step-actions__back) {
	border-radius: 14px;
	font-weight: 600;
	transition:
		transform 0.12s ease,
		box-shadow 0.15s ease,
		background 0.15s ease;
}

.fdf-signalement--root .fdf-btn:active:not(:disabled):not(.fdf-step-actions__back) {
	transform: scale(0.99);
}

.fdf-signalement--root .fdf-btn--outline-danger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex-wrap: wrap;
	width: 100%;
	padding: 12px;
	background: transparent;
	border: 2px solid rgba(208, 0, 0, 0.55);
	color: #d00000;
	box-sizing: border-box;
}

.fdf-signalement--root .fdf-btn--outline-danger:hover {
	background: rgba(208, 0, 0, 0.07);
	box-shadow: 0 4px 16px rgba(208, 0, 0, 0.12);
	border-color: #d00000;
}

.fdf-signalement--root .fdf-btn__phone {
	opacity: 0.95;
}

.fdf-signalement--root .fdf-btn--choice {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	text-align: left;
	width: 100%;
	box-sizing: border-box;
	min-height: 50px;
	padding: 14px;
	background: #fafafa;
	border: 1px solid rgba(0, 0, 0, 0.1);
	font-size: 0.93rem;
}

.fdf-signalement--root .fdf-btn--choice:hover {
	border-color: rgba(208, 0, 0, 0.35);
	background: #f5f5f5;
}

.fdf-signalement--root .fdf-btn--choice.is-active {
	border-width: 2px;
	border-color: rgba(208, 0, 0, 0.88);
	background: rgba(208, 0, 0, 0.08);
	color: inherit;
}

.fdf-signalement--root .fdf-choice-grid--2 {
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.fdf-signalement--root .fdf-choice-grid--3 {
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}

@media screen and (max-width: 400px) {
	.fdf-signalement--root .fdf-choice-grid--3 {
		grid-template-columns: 1fr;
	}
}

.fdf-signalement--root .fdf-context-block--panel {
	padding: 12px;
	margin-bottom: 10px;
	border-radius: 12px;
	background: #f7f7f7;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.fdf-signalement--root .fdf-context-block__title {
	margin: 0 0 4px;
	font-size: 0.95rem;
	font-weight: 800;
	color: #1a1a1a;
}

.fdf-signalement--root .fdf-context-block__hint {
	margin: 0 0 10px;
	font-size: 0.8rem;
	color: rgba(38, 50, 56, 0.62);
	line-height: 1.38;
	display: block;
}

.fdf-signalement--root .fdf-context-block__label {
	display: block;
	margin: 10px 0 6px;
	font-size: 0.76rem;
	font-weight: 700;
	color: #37474f;
	text-transform: none;
}

.fdf-signalement--root .fdf-signalement__map-wrap {
	position: relative;
	min-height: 280px;
	margin: 12px -18px -4px -18px;
	border-radius: 0 0 12px 12px;
	overflow: hidden;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	width: calc(100% + 36px);
}

.fdf-signalement--root .fdf-signalement__map {
	height: 320px;
	margin: 0;
	border-radius: 0;
	overflow: hidden;
	border: none;
	background: #e8eaf0;
	box-sizing: border-box;
}

.fdf-signalement--root .fdf-signalement__gps-fab {
	position: absolute;
	z-index: 5;
	bottom: 12px;
	right: 12px;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	background: #fff;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
	transition: transform 0.15s ease;
}

.fdf-signalement--root .fdf-signalement__gps-fab:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.26);
}

.fdf-signalement--root.fdf-signalement--has-map-geolocate .fdf-signalement__gps-fab {
	display: none !important;
}

.fdf-signalement--root .fdf-signalement__gps-icon {
	position: relative;
	display: inline-block;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	border: 3px solid #d00000;
	box-sizing: border-box;
}

.fdf-signalement--root .fdf-signalement__gps-icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #d00000;
}

.fdf-signalement--root .fdf-address-fallback {
	margin: 0;
	padding: 8px;
	font-size: 0.76rem;
	color: rgba(38, 50, 56, 0.65);
	text-align: center;
}

.fdf-signalement--root .fdf-commune-banner {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: -4px -18px;
	padding: 10px 16px;
	border-radius: 0 0 12px 12px;
	background: #e8f5e9;
	border-top: none;
	width: calc(100% + 36px);
	box-sizing: border-box;
}

.fdf-signalement--root .fdf-commune-banner__check {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(76, 175, 80, 0.95);
	color: #fff;
	font-size: 0.76rem;
	font-weight: bold;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(46, 125, 50, 0.35);
	margin-top: 2px;
}

.fdf-signalement--root .fdf-commune-banner__text {
	margin: 0;
	font-size: 0.86rem;
	font-weight: 500;
	line-height: 1.4;
	color: #1b5e20;
}

.fdf-signalement--root .fdf-btn--media-pick {
	display: inline-flex;
	width: 100%;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	margin-bottom: 10px;
	padding: 13px;
	box-sizing: border-box;
	cursor: pointer;
	background: #fafafa;
	border: 1px solid rgba(0, 0, 0, 0.12);
	min-height: 52px;
}

.fdf-signalement--root .fdf-dropzone {
	margin-top: 0;
	padding: 14px;
	border-style: dashed;
	border-color: rgba(0, 0, 0, 0.18);
	border-radius: 12px;
	background: #fafafa;
	min-height: 56px;
}

.fdf-signalement--root .fdf-dropzone__hint {
	margin: 0;
	font-size: 0.8rem;
	opacity: 0.85;
}

.fdf-signalement--root .fdf-textarea--glass {
	min-height: 136px;
	font: inherit;
	font-size: 0.95rem;
}

.fdf-signalement--root .fdf-input--glass {
	font: inherit;
}

.fdf-signalement--root .fdf-form-group--contact-stack {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fdf-signalement--root .fdf-checkbox--app {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9rem;
	line-height: 1.35;
	cursor: pointer;
}

.fdf-signalement--root .fdf-checkbox--app input[type='checkbox'] {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	accent-color: #d00000;
	flex-shrink: 0;
}

.fdf-signalement--root .fdf-checkbox--app a {
	color: #1565c0;
	font-weight: 600;
}

.fdf-signalement--root .fdf-counter--right {
	text-align: right;
	margin-top: 4px;
	font-size: 0.8rem;
	font-weight: 600;
	color: rgba(55, 71, 79, 0.85);
}

.fdf-signalement--root .fdf-step-actions {
	display: flex;
	gap: 10px;
	align-items: stretch;
	margin-top: auto;
	padding: 12px;
	margin-left: -12px;
	margin-right: -12px;
	margin-bottom: 0;
	background: #eceff1;
	border-radius: 0 0 12px 12px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	flex-shrink: 0;
	box-sizing: content-box;
}

.fdf-signalement--root .fdf-step-actions__back {
	flex-shrink: 0;
	width: 54px;
	height: auto;
	min-height: 52px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: #fff;
	font-size: 1.85rem;
	font-weight: 300;
	line-height: 1;
	color: #37474f;
}

.fdf-signalement--root .fdf-step-actions__back:hover {
	background: #f5f5f5;
}

.fdf-signalement--root .fdf-step-actions .fdf-btn--primary {
	flex: 1;
	align-self: stretch;
	min-height: 52px;
	padding: 12px;
	border-radius: 12px;
	background: #d00000;
	border: 1px solid #d00000;
	color: #fff;
	font: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	box-shadow: none;
}

.fdf-signalement--root .fdf-step-actions .fdf-btn--primary:hover {
	background: #b30000;
	border-color: #b30000;
}

.fdf-signalement--root .fdf-step-actions .fdf-submit-button:disabled {
	opacity: 0.45;
	filter: grayscale(0.15);
	cursor: not-allowed;
	box-shadow: none;
	background: #5a5a5a;
}

.fdf-signalement--root .fdf-signalement__msg {
	margin: 8px 4px 12px;
	padding: 8px 10px;
	font-size: 0.86rem;
	border-radius: 8px;
	background: #ffebee;
	border: 1px solid #ffcdd2;
	color: #b71c1c;
	min-height: 1.2em;
	font: inherit;
}

.fdf-signalement--single .fdf-signalement__intro {
	margin-bottom: 1.25rem;
	font-size: 0.95rem;
	line-height: 1.45;
}

.fdf-address-display {
	min-height: 1.25rem;
	font-size: 0.9rem;
	color: #37474f;
	margin: 0.5rem 0 0;
}

.fdf-form-group {
	margin-bottom: 1.25rem;
}

.fdf-form-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.fdf-radio-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.fdf-radio {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	cursor: pointer;
}

.fdf-input {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #cfd8dc;
	border-radius: 4px;
	font: inherit;
}

.fdf-form-group--contact {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

@media (max-width: 560px) {
	.fdf-form-group--contact {
		grid-template-columns: 1fr;
	}
}

.fdf-field-checkbox .fdf-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	cursor: pointer;
	font-size: 0.9rem;
	line-height: 1.35;
}

.fdf-text-footer {
	font-size: 0.8rem;
	margin-top: 0.5rem;
	color: #546e7a;
}

.fdf-text-info {
	font-size: 0.9rem;
	margin: 0.35rem 0;
}

.fdf-input-file {
	font-size: 0.9rem;
}

.fdf-form-submit {
	margin-top: 1.25rem;
}

.fdf-success {
	padding: 1rem;
	background: #e8f5e9;
	border-radius: 8px;
	border: 1px solid #a5d6a7;
}

.fdf-signalement__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fdf-step-dots {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 6px;
	margin: 0 0 12px;
}

.fdf-step-dots [data-fdf-dot] {
	height: 4px;
	border-radius: 999px;
	background: #d7dee2;
}

.fdf-step-dots [data-fdf-dot].is-active,
.fdf-step-dots [data-fdf-dot].is-done {
	background: #d00000;
}

.fdf-steps .fdf-step {
	display: none;
}

.fdf-steps[data-fdf-step='safety'] [data-fdf-step-id='safety'],
.fdf-steps[data-fdf-step='location'] [data-fdf-step-id='location'],
.fdf-steps[data-fdf-step='vue'] [data-fdf-step-id='vue'],
.fdf-steps[data-fdf-step='media'] [data-fdf-step-id='media'],
.fdf-steps[data-fdf-step='context'] [data-fdf-step-id='context'],
.fdf-steps[data-fdf-step='final'] [data-fdf-step-id='final'] {
	display: block;
}

.fdf-choice-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.fdf-btn.is-active {
	border-color: #d00000;
	background: rgba(208, 0, 0, 0.08);
}

.fdf-context-block p {
	margin: 10px 0 6px;
}

.fdf-step-actions {
	display: flex;
	gap: 8px;
	justify-content: space-between;
}

.fdf-signalement__steps {
	min-height: 240px;
}

.fdf-signalement__nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
}

.fdf-btn {
	display: inline-block;
	padding: 10px 16px;
	border-radius: 4px;
	border: 1px solid #cfd8dc;
	background: #fff;
	cursor: pointer;
	font: inherit;
}

.fdf-btn--primary {
	background: #1565c0;
	color: #fff;
	border-color: #1565c0;
}

.fdf-btn--ghost {
	background: transparent;
}

.fdf-type-card {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 8px;
	padding: 16px;
	min-width: 120px;
	border: 2px solid #cfd8dc;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
}

.fdf-type-card.is-active {
	border-color: #1565c0;
	box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.2);
}

.fdf-mini-map {
	height: 280px;
	margin-top: 12px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #cfd8dc;
}

.fdf-textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	font: inherit;
	border-radius: 4px;
	border: 1px solid #cfd8dc;
}

.fdf-counter {
	font-size: 0.85rem;
	color: #78909c;
	margin: 0.35rem 0 0;
}

.fdf-dropzone {
	padding: 16px;
	border: 2px dashed #90a4ae;
	border-radius: 8px;
	text-align: center;
}

.fdf-thumbs {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.fdf-thumbs li {
	padding: 0;
	font-size: 14px;
}

.fdf-thumbs__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 140px;
}

.fdf-thumbs__preview-wrap {
	position: relative;
	display: inline-block;
	line-height: 0;
}

.fdf-thumbs__remove {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fdf-thumbs__remove:hover,
.fdf-thumbs__remove:focus {
	background: rgba(0, 0, 0, 0.78);
	outline: none;
}

.fdf-thumbs__preview {
	width: 120px;
	height: 90px;
	object-fit: cover;
	border-radius: 6px;
	background: #eceff1;
	display: block;
}

.fdf-thumbs__preview--file {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: #90a4ae;
}

.fdf-thumbs__name {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.2;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #546e7a;
}

.fdf-step--contact label {
	display: block;
	margin: 10px 0;
}

.fdf-mc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 480px;
	overflow: auto;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
}

.fdf-mc__item {
	padding: 12px;
	border-bottom: 1px solid #eee;
}

.fdf-mc__badge {
	display: inline-block;
	margin-right: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	text-transform: uppercase;
}

.fdf-mc__badge--info {
	background: #e3f2fd;
	color: #0d47a1;
}

.fdf-mc__badge--important {
	background: #fff3e0;
	color: #e65100;
}

.fdf-mc__badge--urgent {
	background: #ffebee;
	color: #b71c1c;
}

.fdf-mc__badge--critique {
	background: #ede7f6;
	color: #4527a0;
}

.fdf-mc__form textarea,
.fdf-mc__form select {
	display: block;
	width: 100%;
	margin: 8px 0;
	font: inherit;
}

.fdf-feux__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

.fdf-feux__card {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 12px;
	background: #fff;
}

.fdf-feux__etat--attaque {
	color: #b71c1c;
	font-weight: 700;
}

.fdf-feux__etat--fixe {
	color: #ef6c00;
}

.fdf-feux__etat--maitrise {
	color: #f9a825;
}

.fdf-feux__etat--eteint {
	color: #78909c;
}

.fdf-tracking__map {
	height: 420px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #cfd8dc;
}

.fdf-tracking__toggle {
	margin-top: 8px;
}

.fdf-compteur {
	font-weight: 700;
}

.fdf-activite {
	list-style: disc;
	padding-left: 1.2em;
}

.fdf-meteo-risque {
	display: inline-block;
	padding: 12px;
	border-radius: 8px;
	border: 1px solid #cfd8dc;
}

/* [fdf_carte_risque] / [fdf-carte-risque] : conteneur .fdf-meteo-risque.fdf-carte-risque */

.fdf-meteo-risque__zone {
	display: block;
	font-size: 0.85em;
	color: #546e7a;
	margin-bottom: 6px;
	font-weight: 600;
}

.fdf-meteo-risque--faible {
	background: #e8f5e9;
}

.fdf-meteo-risque--modere {
	background: #fffde7;
}

.fdf-meteo-risque--eleve {
	background: #fff3e0;
}

.fdf-meteo-risque--tres-eleve {
	background: #ffebee;
}

.fdf-meteo-risque--extreme {
	background: #f3e5f5;
}

.fdf-meteo-risque__details {
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

/* Carte risque incendie ([fdf-risque] sans paramètres) — MapLibre */
.fdf-risque-carte-wrap {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 1rem 0;
}

.fdf-risque-carte__inner {
	width: 100%;
	overflow: hidden;
	background: #eceff1;
	position: relative;
}

.fdf-risque-carte__inner .maplibregl-map {
	width: 100%;
	height: 100%;
	border: none;
	outline: none;
}

.fdf-risque-carte__status {
	margin: 0 0 8px;
	font-size: 14px;
	color: #546e7a;
}

.fdf-risque-carte__status:not(.fdf-risque-carte__status--error) {
	display: none;
	margin: 0;
}

.fdf-risque-carte__status--error {
	color: #c62828;
}

.fdf-risque-carte__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: #37474f;
}

.fdf-risque-carte__legend li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.fdf-risque-carte__swatch {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 3px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	flex-shrink: 0;
}

.fdf-popup-risque {
	font-size: 14px;
	line-height: 1.35;
	color: #263238;
	max-width: 280px;
}

.fdf-popup-risque .fdf-popup-title-risque {
	font-weight: 600;
	margin-bottom: 6px;
}

.fdf-popup-risque p {
	margin: 4px 0 0;
}

@media (max-width: 600px) {
	.fdf-carte-toolbar {
		flex-wrap: wrap;
	}
}

/* Shortcode [fdf_public_message_form] — main courante (public), compatible Elementor */
.elementor .fdf-main-courante-container,
.elementor-element .fdf-main-courante-container,
.fdf-main-courante-container {
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	flex-wrap: nowrap !important;
	gap: 0;
	min-width: 0;
}

.elementor .fdf-main-courante-header,
.fdf-main-courante-header {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
	justify-content: space-between !important;
	gap: 12px;
	margin-bottom: 15px;
	width: 100%;
	box-sizing: border-box;
}

.elementor .fdf-main-courante-etat,
.fdf-main-courante-etat {
	flex: 1 1 200px !important;
	min-width: 0;
	display: flex !important;
	flex-direction: row !important;
	background-color: #2f2f2f !important;
	padding: 10px 12px !important;
	border-radius: 15px;
	color: #fff !important;
}

.elementor .fdf-main-courante-signal,
.elementor .fdf-main-courante-etat-feu,
.fdf-main-courante-signal,
.fdf-main-courante-etat-feu {
	flex: 1 1 40% !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	align-items: flex-start !important;
	min-width: 0;
}

.fdf-main-courante-signal {
	border-right: 2px solid #fff;
	padding-left: 8px;
	padding-right: 12px;
}

.fdf-main-courante-etat-feu {
	padding-left: 16px;
}

.fdf-main-courante-signal-label,
.fdf-main-courante-etat-feu-label {
	font-size: 0.95em;
	color: #fff !important;
	font-weight: 400;
	display: block;
}

.fdf-main-courante-signal-value,
.fdf-main-courante-etat-feu-value {
	font-size: 1.15em;
	color: #fff !important;
	font-weight: 600;
	display: block;
	margin-top: 2px;
}

.elementor .fdf-public-message-form.fdf-public-form-toggle,
.fdf-public-message-form.fdf-public-form-toggle {
	flex: 0 0 auto !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
	background-color: #d00000 !important;
	border-radius: 10px;
	padding: 12px 16px !important;
	text-align: center;
	min-width: 120px;
	cursor: pointer;
	user-select: none;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px;
}

.fdf-public-bouton-title {
	font-weight: 800;
	color: #fff !important;
	font-size: 1.25em;
	text-transform: uppercase;
	line-height: 1.2;
}

.fdf-public-form-text {
	font-weight: 600;
	color: #fff !important;
	font-size: 0.95em;
}

.fdf-public-form-content {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 0;
	clear: both;
}

.fdf-public-form-content .fdf-public-mc-form__form {
	background: #fafafa;
	border: 1px solid #cfd8dc;
	border-radius: 8px;
	padding: 16px;
}

.fdf-mc-legacy-inner {
	width: 100%;
	box-sizing: border-box;
}

.elementor .fdf-main-courante-filters,
.fdf-main-courante-filters {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	gap: 8px;
	margin: 12px 0 16px;
	align-items: center;
}

.fdf-main-courante-filters .fdf-filter-btn {
	padding: 8px 14px;
	border-radius: 8px;
	border: 2px solid #2f2f2f;
	background: #fff;
	font-weight: 600;
	cursor: pointer;
	font-size: 0.9rem;
}

.fdf-main-courante-filters .fdf-filter-btn.active {
	background: #2f2f2f;
	color: #fff;
}

.elementor .fdf-main-courante-list,
.fdf-main-courante-list {
	position: relative;
	width: 100%;
	box-sizing: border-box;
}

.fdf-main-courante-title-box {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 8px;
	margin-bottom: 12px;
	width: 100%;
}

.fdf-main-courante-title {
	font-size: 1.35rem;
	font-weight: 700;
	color: #000;
}

.fdf-last-update-box {
	text-align: right;
	flex: 1 1 auto;
	min-width: 0;
}

.fdf-main-courante-container .fdf-main-courante-item {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	gap: 12px;
	width: 100%;
	box-sizing: border-box;
}

.fdf-main-courante-action {
	word-break: break-word;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: flex-start;
}

.fdf-mc-inline-medias {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: flex-start;
	max-width: 100%;
}

.fdf-main-courante-container .fdf-mc-inline-thumb,
.fdf-mc-inline-thumb {
	max-width: min(140px, 100%);
	max-height: 140px;
	width: auto;
	height: auto;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	vertical-align: top;
}

.fdf-mc-inline-video-wrap {
	max-width: 100%;
}

.fdf-mc-inline-video {
	max-width: 100%;
	max-height: 260px;
	border-radius: 10px;
	vertical-align: top;
	background: #111;
}

.fdf-mc-signalement-medias-label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: #455a64;
	margin-bottom: 0.35rem;
}

@media screen and (max-width: 600px) {
	.elementor .fdf-main-courante-header,
	.fdf-main-courante-header {
		flex-direction: column !important;
		align-items: stretch !important;
	}
	.fdf-main-courante-etat {
		margin-right: 0 !important;
	}
	.fdf-public-message-form.fdf-public-form-toggle {
		width: 100%;
	}
}

.fdf-public-message-form.fdf-public-form-toggle {
	cursor: pointer;
	user-select: none;
}
.fdf-public-mc-form {
	margin: 1.25rem 0;
	padding: 1.25rem;
	border: 1px solid #cfd8dc;
	border-radius: 8px;
	background: #fafafa;
	max-width: 640px;
}

.fdf-public-mc-form__title {
	margin: 0 0 1rem;
	font-size: 1.1rem;
	color: #263238;
}

.fdf-public-mc-form__field {
	margin: 0 0 1rem;
}

.fdf-public-mc-form__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: #455a64;
}

.fdf-public-mc-form__file {
	max-width: 100%;
	font: inherit;
}

.fdf-public-mc-form__priorite select {
	margin-top: 0.25rem;
	padding: 8px 10px;
	font: inherit;
	border-radius: 4px;
	border: 1px solid #cfd8dc;
	min-width: 12rem;
}

.fdf-public-mc-form__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0;
}

.fdf-public-mc-form__loading {
	font-size: 0.9rem;
	color: #78909c;
}

.fdf-public-mc-form__feedback {
	margin-top: 0.75rem;
	padding: 0.65rem 0.85rem;
	border-radius: 4px;
	font-size: 0.95rem;
}

.fdf-public-mc-form__feedback--ok {
	background: #e8f5e9;
	color: #1b5e20;
	border: 1px solid #c8e6c9;
}

.fdf-public-mc-form__feedback--error {
	background: #ffebee;
	color: #b71c1c;
	border: 1px solid #ffcdd2;
}

.fdf-public-mc-form--error {
	color: #b71c1c;
	padding: 0.75rem;
}

/* Position utilisateur (carte) */
.fdf-carte--root .maplibregl-marker:has(.fdf-user-location-dot) {
	z-index: 15;
}

/* Shortcode [signalement_proximite] */
.fdf-signalement-proximite {
	margin: 1rem 0;
	padding: 1rem 1.25rem;
	border: 1px solid #cfd8dc;
	border-radius: 8px;
	background: #fff;
}

.fdf-signalement-proximite__title {
	margin: 0 0 0.75rem;
	font-size: 1.15rem;
	color: #2c3e50;
}

.fdf-signalement-proximite__status {
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
	color: #78909c;
	min-height: 1.25em;
}

.fdf-signalement-proximite__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fdf-signalement-proximite__item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.75rem;
	padding: 0.65rem 0;
	border-bottom: 1px solid #eceff1;
	font-size: 0.95rem;
}

.fdf-signalement-proximite__item:last-child {
	border-bottom: none;
}

.fdf-signalement-proximite__link {
	font-weight: 600;
	color: #c0392b;
	text-decoration: underline;
}

.fdf-signalement-proximite__link:hover {
	color: #922b21;
}

.fdf-signalement-proximite__nolink {
	font-weight: 600;
	color: #2c3e50;
}

.fdf-signalement-proximite__meta {
	color: #78909c;
	font-size: 0.9rem;
}

.fdf-signalement-proximite__dist {
	margin-left: auto;
	font-variant-numeric: tabular-nums;
	color: #37474f;
	font-weight: 600;
}
