/* 1Logement — styles des pages et composants rendus par l'extension. */

:root {
	--ol-blue: #2563eb;
	--ol-blue-hover: #1d4ed8;
	--ol-blue-soft: #eff6ff;
	--ol-ink: #111827;
	--ol-ink-hover: #374151;
	--ol-bg: #f9fafb;
	--ol-surface: #ffffff;
	--ol-border: #e5e7eb;
	--ol-text-2: #6b7280;
	--ol-text-3: #9ca3af;
	--ol-heart: #ef4444;
	--ol-radius: 12px;
	--ol-radius-card: 16px;
	--ol-header-h: 80px;
	--ol-sticky-top: 0px;
	--ol-font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.admin-bar { --ol-sticky-top: 32px; }
@media (max-width: 782px) { .admin-bar { --ol-sticky-top: 46px; } }
@media (max-width: 600px) { .admin-bar { --ol-sticky-top: 0px; } }

/* Base ------------------------------------------------------------------ */

body.onel {
	margin: 0;
	background: var(--ol-bg);
	color: var(--ol-ink);
	font-family: var(--ol-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
:where(body.onel) *, :where(body.onel) *::before, :where(body.onel) *::after { box-sizing: border-box; }
:where(body.onel) img { max-width: 100%; height: auto; display: block; }
:where(body.onel) a { color: inherit; }
:where(body.onel) :where(button, input, select, textarea) { font: inherit; color: inherit; }
body.onel.ol-lock { overflow: hidden; }
:where(body.onel) button { border: 0; background: none; padding: 0; cursor: pointer; }
:where(body.onel) :where(input, select, textarea) { margin: 0; }

body.onel :focus-visible {
	outline: 2px solid var(--ol-blue);
	outline-offset: 2px;
}
:where(body.onel) :focus:not(:focus-visible) { outline: none; }

.ol-sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.ol-skip {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--ol-ink); color: #fff !important;
	padding: 12px 16px; border-radius: var(--ol-radius);
	text-decoration: none; font-weight: 700;
}
.ol-skip:focus { top: calc(var(--ol-sticky-top) + 12px); }

.ol-container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.ol-main { min-height: 60vh; outline: none; }
.ol-main-center { display: flex; align-items: center; }
.ol-section { padding-top: 40px; padding-bottom: 64px; }
.ol-section-tight { padding-top: 24px; padding-bottom: 64px; }

.ol-h1 { font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; margin: 0; }
@media (min-width: 768px) { .ol-h1 { font-size: 36px; } }
.ol-h2 { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.025em; margin: 0; }
.ol-h3 { font-size: 18px; font-weight: 600; margin: 0; }
.ol-muted { color: var(--ol-text-2); font-size: 14px; margin: 4px 0 0; }
.ol-small { font-size: 12px; }
.ol-link { color: var(--ol-ink); text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.ol-link:hover { color: var(--ol-blue); }
.ol-icon { flex-shrink: 0; }

/* Boutons --------------------------------------------------------------- */

.ol-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px;
	border-radius: var(--ol-radius); border: 1px solid transparent;
	font-size: 15px; font-weight: 600; line-height: 1.2;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .15s, color .15s, border-color .15s;
}
.ol-btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }
.ol-btn-lg { min-height: 52px; padding: 12px 24px; font-size: 16px; }
.ol-btn-block { width: 100%; }
.ol-btn-primary { background: var(--ol-blue); color: #fff !important; }
.ol-btn-primary:hover { background: var(--ol-blue-hover); }
.ol-btn-dark { background: var(--ol-ink); color: #fff !important; }
.ol-btn-dark:hover { background: var(--ol-ink-hover); }
.ol-btn-outline { background: #fff; color: var(--ol-ink); border-color: var(--ol-ink); }
.ol-btn-outline:hover { background: var(--ol-ink); color: #fff; }
.ol-btn-ghost { background: transparent; color: var(--ol-ink); }
.ol-btn-ghost:hover { background: #f3f4f6; }
.ol-btn[disabled], .ol-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }

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

.ol-header {
	position: sticky; top: var(--ol-sticky-top); z-index: 50;
	background: #fff; border-bottom: 1px solid var(--ol-border);
}
.ol-header-inner { height: var(--ol-header-h); display: flex; align-items: center; gap: 24px; }
.ol-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.ol-wordmark { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
.ol-wordmark-1 { color: var(--ol-ink); }
.ol-wordmark-l { color: var(--ol-blue); }
.ol-nav { display: none; gap: 28px; margin: 0 auto; }
.ol-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; }
.ol-nav a:hover { color: var(--ol-blue); }
.ol-header-actions { display: none; align-items: center; gap: 8px; }
.ol-burger { margin-left: auto; display: inline-flex; background: none; border: 0; padding: 10px; border-radius: var(--ol-radius); cursor: pointer; }
.ol-burger:hover { background: #f3f4f6; }
.ol-burger .ol-burger-open { display: inline-flex; }
.ol-burger .ol-burger-close { display: none; }
.ol-burger[aria-expanded="true"] .ol-burger-open { display: none; }
.ol-burger[aria-expanded="true"] .ol-burger-close { display: inline-flex; }
.ol-mobile-menu { border-top: 1px solid var(--ol-border); background: #fff; }
.ol-mobile-menu nav { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; padding-bottom: 20px; }
.ol-mobile-menu nav > a:not(.ol-btn) { padding: 12px 0; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ol-border); }
.ol-mobile-menu .ol-btn { margin-top: 8px; }
@media (min-width: 1024px) {
	.ol-nav, .ol-header-actions { display: flex; }
	.ol-burger, .ol-mobile-menu { display: none !important; }
}

/* Pied de page ---------------------------------------------------------- */

.ol-footer { background: #fff; border-top: 1px solid var(--ol-border); padding: 48px 0 24px; margin-top: 0; }
.ol-footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ol-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ol-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.ol-footer-tagline { color: var(--ol-text-2); font-size: 14px; max-width: 280px; margin: 12px 0 0; }
.ol-footer-heading { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.ol-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ol-footer ul a { color: var(--ol-text-2); text-decoration: none; font-size: 14px; }
.ol-footer ul a:hover { color: var(--ol-ink); text-decoration: underline; }
.ol-footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ol-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.ol-footer-bottom p { margin: 0; font-size: 12px; color: var(--ol-text-2); }
.ol-footer-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ol-footer-contact a { color: inherit; }
.ol-footer-contact a:hover { color: var(--ol-ink); }

/* Champs ---------------------------------------------------------------- */

.ol-field { position: relative; display: flex; align-items: center; }
.ol-field input, .ol-field select {
	height: 44px; width: 100%;
	border: 1px solid var(--ol-border); border-radius: var(--ol-radius);
	background: #fff; padding: 0 14px; font-size: 15px;
}
.ol-field select { padding-right: 34px; appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; }
.ol-field input::placeholder { color: var(--ol-text-2); }
.ol-field-icon { position: absolute; left: 12px; color: var(--ol-text-2); display: inline-flex; pointer-events: none; }
.ol-field-icon + input { padding-left: 40px; }
.ol-field-grow { flex: 1 1 220px; }
.ol-field-num { flex: 0 1 130px; }
.ol-field-lg input { height: 52px; font-size: 16px; }
.ol-field-lg .ol-field-icon + input { padding-left: 44px; }

.ol-form { display: grid; gap: 16px; }
.ol-form-field { display: grid; gap: 6px; }
.ol-form-field label { font-weight: 600; font-size: 14px; }
.ol-form-field input { height: 48px; border: 1px solid #d1d5db; border-radius: var(--ol-radius); padding: 0 14px; font-size: 16px; background: #fff; }
.ol-optional { color: var(--ol-text-2); font-weight: 400; }
.ol-help { margin: 0; font-size: 13px; color: var(--ol-text-2); }
.ol-error, .ol-notice { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: var(--ol-radius); font-size: 14px; margin: 0; }
.ol-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.ol-notice { background: var(--ol-blue-soft); color: #1e3a8a; border: 1px solid #bfdbfe; margin-bottom: 24px; }

/* Grilles --------------------------------------------------------------- */

.ol-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ol-grid-3, .ol-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.ol-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ol-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Carte d'annonce ------------------------------------------------------- */

.ol-card {
	background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card);
	overflow: hidden; display: flex; flex-direction: column;
	transition: box-shadow .2s, border-color .2s;
	scroll-margin: 16px;
}
.ol-card:hover { box-shadow: 0 10px 25px -5px rgb(17 24 39 / .12), 0 4px 10px -6px rgb(17 24 39 / .08); }
.ol-card.is-selected { border-color: var(--ol-blue); box-shadow: 0 0 0 2px var(--ol-blue); }
.ol-card-media { position: relative; aspect-ratio: 4 / 3; background: #e5e7eb; }
.ol-card-media img { width: 100%; height: 100%; object-fit: cover; }
.ol-badge-new { position: absolute; top: 12px; left: 12px; background: var(--ol-blue); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ol-fav {
	position: absolute; top: 10px; right: 10px;
	width: 40px; height: 40px; border-radius: 999px; border: 0;
	background: #fff; color: var(--ol-ink); cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 1px 3px rgb(0 0 0 / .15);
}
.ol-fav:hover { transform: scale(1.06); }
.ol-fav[aria-pressed="true"] { color: var(--ol-heart); }
.ol-fav[aria-pressed="true"] svg, .ol-save[aria-pressed="true"] svg { fill: var(--ol-heart); stroke: var(--ol-heart); }
.ol-photo-count { position: absolute; top: 58px; right: 10px; display: inline-flex; align-items: center; gap: 4px; background: rgb(3 7 18 / .6); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.ol-card-trans { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--ol-ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 8px; }
.ol-card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ol-card-price { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.ol-card-price-sub { font-size: 13px; font-weight: 400; color: var(--ol-text-2); letter-spacing: 0; white-space: nowrap; }
.ol-card-specs { margin: 0; font-size: 14px; color: var(--ol-ink); }
.ol-card-place { margin: 0; font-size: 14px; color: var(--ol-text-2); display: flex; align-items: center; gap: 4px; }
.ol-card-title { margin: 0 0 10px; font-size: 14px; font-weight: 400; color: var(--ol-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ol-card .ol-btn { margin-top: auto; }

/* États ----------------------------------------------------------------- */

.ol-state {
	background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card);
	max-width: 560px; margin: 24px auto; padding: 40px 24px;
	text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.ol-state-page { margin: 48px auto; }
.ol-state-icon { width: 56px; height: 56px; border-radius: 999px; background: #f3f4f6; display: inline-flex; align-items: center; justify-content: center; color: var(--ol-text-2); }
.ol-state-title { font-size: 20px; font-weight: 700; margin: 4px 0 0; letter-spacing: -0.02em; }
.ol-state-text { color: var(--ol-text-2); margin: 0 0 8px; max-width: 420px; }
.ol-state-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 4px; }

.ol-skeleton { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ol-skeleton { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ol-skeleton { grid-template-columns: repeat(3, 1fr); } }
.ol-skeleton div { height: 360px; border-radius: var(--ol-radius-card); background: #e5e7eb; animation: ol-pulse 1.4s ease-in-out infinite; }
@keyframes ol-pulse { 50% { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .ol-skeleton div { animation: none; } }

/* Recherche ------------------------------------------------------------- */

.ol-filters { position: sticky; top: calc(var(--ol-sticky-top) + var(--ol-header-h)); z-index: 40; background: #fff; border-bottom: 1px solid var(--ol-border); }
.ol-filters-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.ol-filters .ol-field:not(.ol-field-grow):not(.ol-field-num) { flex: 0 1 170px; }
.ol-filter-count { font-size: 13px; font-weight: 600; color: var(--ol-blue); background: var(--ol-blue-soft); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 1023px) { .ol-filters { position: static; } }

.ol-results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; scroll-margin-top: calc(var(--ol-sticky-top) + var(--ol-header-h) + 90px); outline: none; }
.ol-results-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ol-results-tools .ol-field { width: 210px; }
.ol-toggle { display: inline-flex; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); background: #fff; padding: 3px; }
.ol-toggle a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ol-text-2); }
.ol-toggle a[aria-pressed="true"] { background: var(--ol-ink); color: #fff; }

.ol-results.is-list .ol-results-map { display: none; }
.ol-results.is-map { display: grid; gap: 24px; grid-template-columns: 1fr; }
.ol-results.is-map .ol-grid-3 { grid-template-columns: 1fr; }
.ol-results.is-map .ol-map { height: 420px; }
@media (min-width: 1024px) {
	.ol-results.is-map { grid-template-columns: minmax(340px, 5fr) 7fr; align-items: start; }
	.ol-results.is-map .ol-results-list { max-height: 650px; overflow-y: auto; padding: 4px 12px 4px 4px; overscroll-behavior: contain; }
	.ol-results.is-map .ol-results-map { position: sticky; top: calc(var(--ol-sticky-top) + var(--ol-header-h) + 90px); }
	.ol-results.is-map .ol-map { height: 650px; }
	.ol-results.is-map .ol-card { flex-direction: row; }
	.ol-results.is-map .ol-card-media { width: 44%; aspect-ratio: auto; min-height: 220px; flex-shrink: 0; }
	.ol-results.is-map .ol-card-body { min-width: 0; }
}

.ol-pagination { margin-top: 40px; }
.ol-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.ol-page-num, .ol-page-step { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--ol-radius); border: 1px solid var(--ol-border); background: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.ol-page-num:hover, a.ol-page-step:hover { border-color: var(--ol-ink); }
.ol-page-num.is-current { background: var(--ol-ink); border-color: var(--ol-ink); color: #fff; }
.ol-page-step.is-disabled { color: var(--ol-text-3); }
.ol-page-gap { padding: 0 4px; color: var(--ol-text-2); }

/* Carte géographique ---------------------------------------------------- */

.ol-map { width: 100%; border-radius: var(--ol-radius-card); border: 1px solid var(--ol-border); overflow: hidden; background: #e5e7eb; z-index: 0; }
.ol-map-listing { height: 380px; margin-top: 16px; }
.ol-pin { background: none !important; border: 0 !important; }
.ol-pin span {
	display: inline-block; transform: translate(-50%, -100%);
	background: var(--ol-ink); color: #fff; font: 700 12px/1 var(--ol-font);
	padding: 7px 10px; border-radius: 999px; white-space: nowrap;
	box-shadow: 0 2px 6px rgb(0 0 0 / .3); border: 2px solid #fff; cursor: pointer;
}
.ol-pin.is-selected span, .ol-pin.is-self span { background: var(--ol-blue); }
.ol-pin.is-selected { z-index: 1000 !important; }
.ol-cluster { background: none !important; }
.ol-cluster span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--ol-ink); color: #fff; font: 700 13px var(--ol-font); border: 3px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .3); }
.leaflet-popup-content-wrapper { border-radius: 14px !important; padding: 0 !important; overflow: hidden; }
.leaflet-popup-content { margin: 0 !important; width: 240px !important; font-family: var(--ol-font); }
.ol-popup img { width: 100%; height: 150px; object-fit: cover; }
.ol-popup-body { padding: 12px; display: grid; gap: 4px; }
.ol-popup-body p { margin: 0 !important; }
.ol-popup-price { font-weight: 700; font-size: 16px; }
.ol-popup-specs, .ol-popup-place { font-size: 13px; color: var(--ol-text-2); }
.ol-popup .ol-btn { margin-top: 8px; color: var(--ol-ink); }
.ol-popup .ol-btn:hover { color: #fff; }

/* Fiche annonce --------------------------------------------------------- */

.ol-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ol-text-2); margin-bottom: 20px; }
.ol-back:hover { color: var(--ol-ink); }
.ol-listing-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; }
.ol-tags { display: flex; gap: 8px; margin-bottom: 12px; }
.ol-tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #f3f4f6; color: var(--ol-ink); }
.ol-tag-blue { background: var(--ol-blue-soft); color: var(--ol-blue); }
.ol-listing-place { display: flex; align-items: center; gap: 6px; color: var(--ol-text-2); margin: 8px 0 16px; }
.ol-listing-price { text-align: left; }
@media (min-width: 768px) { .ol-listing-price { text-align: right; } }
.ol-price-big { font-size: 30px; font-weight: 700; letter-spacing: -0.025em; margin: 0; }
@media (min-width: 768px) { .ol-price-big { font-size: 36px; } }

.ol-gallery { position: relative; display: grid; gap: 8px; border-radius: var(--ol-radius-card); overflow: hidden; margin-bottom: 32px; height: 300px; }
@media (min-width: 768px) {
	.ol-gallery { height: 460px; }
	.ol-gallery-2 { grid-template-columns: 2fr 1fr; }
	.ol-gallery-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
	.ol-gallery-3 .ol-gallery-tile:first-child { grid-row: 1 / 3; }
}
@media (max-width: 767px) { .ol-gallery-tile:not(:first-child) { display: none; } }
.ol-gallery-tile { padding: 0; border: 0; cursor: zoom-in; background: #e5e7eb; overflow: hidden; min-height: 0; }
.ol-gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ol-gallery-tile:hover img { transform: scale(1.03); }
.ol-gallery-tile:focus-visible { outline-offset: -4px !important; outline-color: #fff !important; }
.ol-gallery-count { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ol-ink); font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; pointer-events: none; box-shadow: 0 1px 3px rgb(0 0 0 / .2); }

.ol-listing-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .ol-listing-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; } }
.ol-figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0 0 8px; background: var(--ol-border); border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); overflow: hidden; }
@media (min-width: 640px) { .ol-figures { grid-template-columns: repeat(4, 1fr); } }
.ol-figures div { background: #fff; padding: 16px; }
.ol-figures dt { font-size: 13px; color: var(--ol-text-2); }
.ol-figures dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; }
.ol-block { padding-top: 32px; }
.ol-block .ol-h2 { margin-bottom: 12px; }
.ol-prose { color: #374151; }
.ol-prose p { margin: 0 0 12px; }
.ol-conditions { margin: 0; display: grid; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); background: #fff; overflow: hidden; }
.ol-conditions div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--ol-border); }
.ol-conditions div:first-child { border-top: 0; }
.ol-conditions dt { color: var(--ol-text-2); }
.ol-conditions dd { margin: 0; font-weight: 600; text-align: right; }

.ol-listing-aside { align-self: start; }
@media (min-width: 1024px) { .ol-listing-aside { position: sticky; top: calc(var(--ol-sticky-top) + var(--ol-header-h) + 24px); } }
.ol-contact { background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); padding: 24px; display: grid; gap: 12px; }
.ol-contact-label { margin: 0; font-size: 13px; color: var(--ol-text-2); }
.ol-contact-name { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.ol-share { justify-self: center; margin-top: 4px; }
.ol-contact-note { margin: 4px 0 0; font-size: 12px; color: var(--ol-text-2); text-align: center; }
.ol-contact-ref { margin: 0; font-size: 12px; color: var(--ol-text-2); text-align: center; }
.ol-similar { padding-top: 56px; }
.ol-similar .ol-h2 { margin-bottom: 20px; }

/* Visionneuse ----------------------------------------------------------- */

.ol-lightbox { position: fixed; inset: 0; z-index: 9999; background: #030712; display: flex; align-items: center; justify-content: center; }
.ol-lightbox[hidden] { display: none; }
.ol-lightbox-img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); object-fit: contain; }
@media (min-width: 768px) { .ol-lightbox-img { max-width: calc(100vw - 200px); } }
.ol-lightbox-count { position: absolute; top: 20px; left: 24px; margin: 0; color: #fff; font-weight: 600; font-size: 15px; }
.ol-lightbox-btn { position: absolute; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ol-lightbox-btn:hover { background: rgb(255 255 255 / .25); }
.ol-lightbox-btn:focus-visible { outline-color: #fff !important; }
.ol-lightbox-close { top: 12px; right: 16px; }
.ol-lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.ol-lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) { .ol-lightbox-prev, .ol-lightbox-next { top: auto; bottom: 20px; transform: none; } }

/* Accueil (composants insérés dans la page Elementor) ------------------- */

.ol-hero-search { background: #fff; border-radius: var(--ol-radius-card); box-shadow: 0 25px 50px -12px rgb(0 0 0 / .35); width: 100%; max-width: 768px; margin: 0 auto; text-align: left; color: var(--ol-ink); overflow: hidden; }
.ol-hero-tabs { display: flex; border-bottom: 1px solid var(--ol-border); }
.ol-hero-tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 12px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; font-size: 15px; color: var(--ol-text-2); cursor: pointer; }
.ol-hero-tabs button:hover { color: var(--ol-ink); }
.ol-hero-tabs button[aria-selected="true"] { color: var(--ol-blue); border-bottom-color: var(--ol-blue); }
.ol-hero-panel { padding: 20px; }
.ol-hero-form { display: flex; flex-wrap: wrap; gap: 12px; }
.ol-hero-form .ol-btn { flex: 1 0 auto; }
@media (min-width: 640px) { .ol-hero-form .ol-btn { flex: 0 0 auto; } }
.ol-hero-estimate { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.ol-hero-estimate p { margin: 0; flex: 1 1 280px; color: #374151; }
.ol-hero-panel[hidden] { display: none; }

.ol-band { padding: 48px 0 0; }
.ol-band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }

/* Favoris, compte -------------------------------------------------------- */

.ol-page-head { margin-bottom: 32px; }
.ol-account { max-width: 480px; margin: 0 auto; width: 100%; }
.ol-account > .ol-muted { margin-bottom: 24px; }
.ol-tabs { background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); overflow: hidden; }
.ol-tablist { display: flex; border-bottom: 1px solid var(--ol-border); }
.ol-tablist button { flex: 1; padding: 16px 12px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; font-size: 15px; color: var(--ol-text-2); cursor: pointer; }
.ol-tablist button[aria-selected="true"] { color: var(--ol-ink); border-bottom-color: var(--ol-ink); }
.ol-tabs [role="tabpanel"] { padding: 24px; }
.ol-tabs [role="tabpanel"] .ol-link { justify-self: center; }
.ol-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.ol-shortcut { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); text-decoration: none; font-weight: 600; }
.ol-shortcut:hover { border-color: var(--ol-ink); }

/* Pages Elementor : on laisse Elementor gérer la largeur. */
.ol-main-page > .elementor { width: 100%; }

/* Étiquettes supplémentaires ----------------------------------------------- */

.ol-tag-dark { background: var(--ol-ink); color: #fff; }
.ol-tag-green { background: #dcfce7; color: #166534; }

/* Commodités (fiche et aperçu) ---------------------------------------------- */

.ol-amenities { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.ol-amenities li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); font-size: 15px; font-weight: 600; }
.ol-amenities li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 999px; background: var(--ol-blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Compte : statut et « Mes annonces » -------------------------------------- */

.ol-account-statut { margin: 12px 0 0; display: flex; align-items: center; gap: 8px; }
.ol-my-listings { margin: 8px 0 24px; }
.ol-my-listings .ol-h3 { margin-bottom: 12px; }
.ol-my-listings ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ol-my-listings li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); }
.ol-my-title { display: grid; gap: 2px; font-weight: 600; min-width: 0; }
.ol-my-title a { text-decoration: none; }
.ol-my-title a:hover { text-decoration: underline; }
.ol-my-title .ol-muted { margin: 0; font-weight: 400; }
.ol-my-listings .ol-tag { flex-shrink: 0; }

.ol-statuts { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.ol-statuts legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.ol-statut { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: var(--ol-radius); cursor: pointer; background: #fff; }
.ol-statut:has(input:checked) { border-color: var(--ol-ink); box-shadow: 0 0 0 1px var(--ol-ink); }
.ol-statut input { margin-top: 3px; accent-color: var(--ol-ink); width: 18px; height: 18px; flex-shrink: 0; }
.ol-statut-body { display: grid; gap: 2px; }
.ol-statut-label { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ol-statut-hint { font-size: 13px; color: var(--ol-text-2); }

/* Déposer une annonce ------------------------------------------------------- */

.ol-deposit-page { padding-top: 24px; padding-bottom: 64px; }
.ol-deposit-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ol-deposit-title { margin: 0; font-size: 16px; font-weight: 400; color: var(--ol-text-2); }
.ol-deposit { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.ol-wizard { order: -1; }
@media (min-width: 1024px) {
	.ol-deposit { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px; align-items: start; }
	.ol-wizard { order: 0; position: sticky; top: calc(var(--ol-sticky-top) + var(--ol-header-h) + 16px); }
}

.ol-wizard { background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.ol-stepper { list-style: none; margin: 0; padding: 10px 12px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); }
.ol-stepper li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ol-text-2); flex: 1; min-width: 0; }
.ol-stepper li:not(:last-child)::after { content: ""; flex: 1; height: 1px; background: var(--ol-border); min-width: 8px; }
.ol-stepper-num { flex-shrink: 0; width: 22px; height: 22px; border-radius: 999px; border: 1px solid var(--ol-border); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.ol-stepper-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ol-stepper li.is-current { color: var(--ol-ink); font-weight: 600; }
.ol-stepper li.is-current .ol-stepper-num { background: var(--ol-blue); border-color: var(--ol-blue); color: #fff; }
.ol-stepper li.is-done { color: var(--ol-ink); }
.ol-stepper li.is-done .ol-stepper-num { background: var(--ol-ink); border-color: var(--ol-ink); color: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-size: 12px; background-position: center; background-repeat: no-repeat; }
@media (max-width: 420px) { .ol-stepper li:not(.is-current) .ol-stepper-label { display: none; } }

.ol-step { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.ol-wizard:not(.is-js) .ol-step + .ol-step { border-top: 1px solid var(--ol-border); padding-top: 16px; }
.ol-step-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; padding: 0; margin-bottom: 16px; outline: none; }
.ol-label { font-weight: 600; font-size: 14px; display: block; padding: 0; }
.ol-form-row { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 480px) { .ol-form-row { grid-template-columns: minmax(0, 1fr); } }
.ol-form-field select, .ol-form-field textarea { border: 1px solid #d1d5db; border-radius: var(--ol-radius); padding: 10px 14px; font-size: 16px; background: #fff; width: 100%; }
.ol-form-field select { height: 48px; }
.ol-form-field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.ol-form-field input, .ol-form-field select, .ol-form-field textarea { width: 100%; }
.ol-form-field [aria-invalid="true"] { border-color: #dc2626; }
.ol-field-error { margin: 0; font-size: 13px; color: #b91c1c; font-weight: 600; }
.ol-subhead { margin: 4px 0 -4px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ol-text-2); }

.ol-segmented { display: inline-flex; padding: 3px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); background: #fff; gap: 2px; justify-self: start; }
.ol-segmented label { position: relative; cursor: pointer; }
.ol-segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ol-segmented span { display: inline-block; padding: 8px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ol-text-2); }
.ol-segmented input:checked + span { background: var(--ol-ink); color: #fff; }
.ol-segmented input:focus-visible + span { outline: 2px solid var(--ol-blue); outline-offset: 2px; }

.ol-input-suffix, .ol-input-prefix { display: flex; align-items: stretch; border: 1px solid #d1d5db; border-radius: var(--ol-radius); background: #fff; overflow: hidden; }
.ol-input-suffix:focus-within, .ol-input-prefix:focus-within { outline: 2px solid var(--ol-blue); outline-offset: 2px; }
.ol-form-field .ol-input-suffix input, .ol-form-field .ol-input-prefix input { border: 0; border-radius: 0; min-width: 0; outline: none; }
.ol-input-suffix span, .ol-input-prefix span { display: inline-flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 600; color: var(--ol-text-2); background: #f9fafb; }
.ol-input-prefix span { border-right: 1px solid var(--ol-border); }
.ol-input-suffix span { border-left: 1px solid var(--ol-border); }
.ol-input-suffix:has([aria-invalid="true"]), .ol-input-prefix:has([aria-invalid="true"]) { border-color: #dc2626; }

.ol-stepper-input { display: flex; align-items: center; border: 1px solid #d1d5db; border-radius: var(--ol-radius); background: #fff; height: 48px; overflow: hidden; }
.ol-stepper-input button { width: 44px; height: 100%; font-size: 20px; color: var(--ol-ink); }
.ol-stepper-input button:hover { background: #f3f4f6; }
.ol-form-field .ol-stepper-input input { border: 0; text-align: center; height: 100%; font-weight: 700; -moz-appearance: textfield; }
.ol-stepper-input input::-webkit-inner-spin-button, .ol-stepper-input input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.ol-chips-field { border: 0; margin: 0; padding: 0; }
.ol-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ol-chip { position: relative; cursor: pointer; }
.ol-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ol-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 999px; font-size: 14px; background: #fff; }
.ol-chip span::before { content: "+"; font-weight: 700; color: var(--ol-text-2); }
.ol-chip input:checked + span { background: var(--ol-ink); border-color: var(--ol-ink); color: #fff; }
.ol-chip input:checked + span::before { content: "✓"; color: #fff; }
.ol-chip input:focus-visible + span { outline: 2px solid var(--ol-blue); outline-offset: 2px; }

.ol-dropzone { position: relative; display: grid; justify-items: center; gap: 4px; padding: 20px 16px; border: 1.5px dashed #d1d5db; border-radius: var(--ol-radius); text-align: center; cursor: pointer; color: var(--ol-text-2); background: #fafafa; }
.ol-dropzone:hover, .ol-dropzone:focus-within { border-color: var(--ol-ink); color: var(--ol-ink); }
.ol-dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ol-dropzone-text { font-weight: 600; color: var(--ol-ink); }
.ol-dropzone.is-busy { opacity: .6; pointer-events: none; }
.ol-dropzone.is-busy .ol-dropzone-text::after { content: " — préparation…"; font-weight: 400; }
.ol-dropzone:has([aria-invalid="true"]) { border-color: #dc2626; }
.ol-thumbs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.ol-thumbs:empty { display: none; }
.ol-thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #e5e7eb; }
.ol-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ol-thumb-cover { position: absolute; left: 4px; bottom: 4px; background: var(--ol-ink); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.ol-thumb-actions { position: absolute; top: 4px; right: 4px; display: flex; gap: 4px; }
.ol-thumb-actions button { background: rgb(3 7 18 / .7); color: #fff; font-size: 11px; font-weight: 600; border-radius: 6px; padding: 2px 6px; min-height: 22px; }
.ol-thumb-actions button[data-remove] { font-size: 15px; line-height: 1; width: 22px; padding: 0; }
.ol-thumb-actions button[data-cover] { opacity: 0; transition: opacity .15s; }
.ol-thumb:hover button[data-cover], .ol-thumb button[data-cover]:focus-visible { opacity: 1; }

.ol-readonly { margin: 0; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); background: #f9fafb; font-weight: 600; font-size: 14px; }
.ol-readonly-split { justify-content: space-between; }
.ol-fixed { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ol-text-2); background: #e5e7eb; padding: 2px 6px; border-radius: 6px; }
.ol-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.ol-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ol-ink); flex-shrink: 0; }

.ol-wizard-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--ol-border); padding-top: 16px; }
.ol-wizard-foot .ol-muted { margin: 0; }
.ol-wizard-actions { display: flex; gap: 8px; margin-left: auto; }
.ol-wizard:not(.is-js) [data-next], .ol-wizard:not(.is-js) [data-prev], .ol-wizard:not(.is-js) [data-step-text] { display: none; }
.ol-wizard [hidden] { display: none !important; }

/* Aperçu en direct */
.ol-preview { display: grid; gap: 16px; min-width: 0; }
.ol-preview-note { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ol-text-2); }
.ol-preview .is-empty { color: var(--ol-text-3); }
.ol-pv-media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--ol-radius-card); overflow: hidden; background: #e5e7eb; }
.ol-pv-media img { width: 100%; height: 100%; object-fit: cover; }
.ol-pv-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--ol-text-2); font-size: 14px; font-weight: 600; }
.ol-pv-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; }
.ol-pv-badge { background: #fff; color: var(--ol-ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; box-shadow: 0 1px 3px rgb(0 0 0 / .15); }
.ol-pv-badge-dark { background: var(--ol-ink); color: #fff; }
.ol-pv-counter { position: absolute; right: 14px; bottom: 14px; background: rgb(3 7 18 / .7); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ol-pv-card, .ol-pv-block { background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); padding: 24px; }
.ol-pv-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.ol-pv-type { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ol-text-2); }
.ol-pv-place { margin: 0; display: flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ol-text-2); }
.ol-pv-title { margin: 8px 0 16px; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; word-break: break-word; }
.ol-pv-price { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #f9fafb; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); }
.ol-pv-price p { margin: 0; }
.ol-pv-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ol-text-2); }
.ol-pv-amount { font-size: 28px; font-weight: 700; letter-spacing: -0.025em; margin-top: 4px !important; }
.ol-pv-price-side { text-align: right; }
.ol-pv-label-sm { font-size: 12px; color: var(--ol-text-2); }
.ol-pv-side { font-weight: 600; margin-top: 6px !important; }
.ol-pv-figures { margin: 0; }
.ol-pv-h { margin: 0 0 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.ol-pv-desc { margin: 0; color: #374151; white-space: pre-line; word-break: break-word; }
.ol-pv-block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ol-pv-block-head .ol-muted { margin: 0; }
.ol-pv-advertiser { display: flex; gap: 16px; align-items: center; }
.ol-pv-avatar { flex-shrink: 0; width: 56px; height: 56px; border-radius: 999px; background: var(--ol-blue-soft); color: var(--ol-blue); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; }
.ol-pv-avatar-sm { width: 28px; height: 28px; font-size: 13px; }
.ol-pv-adv-name { margin: 6px 0 0; font-size: 18px; font-weight: 700; }
.ol-pv-advertiser .ol-muted { margin: 2px 0 0; }
.ol-pv-map { height: 300px; margin-top: 12px; }
@media (max-width: 640px) {
	.ol-pv-title { font-size: 22px; }
	.ol-pv-amount { font-size: 22px; }
	.ol-pv-card, .ol-pv-block { padding: 18px; }
}
.ol-preview [hidden] { display: none !important; }
@media (max-width: 420px) { .ol-stepper li.is-current { flex: 0 0 auto; } }

/* Activation du compte annonceur ------------------------------------------- */

.ol-tag-red { background: #fee2e2; color: #991b1b; }
.ol-onboard, .ol-status { max-width: 1000px; margin: 0 auto; }
.ol-onboard { background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); padding: 40px; display: grid; gap: 18px; }
@media (max-width: 640px) { .ol-onboard { padding: 20px; } }
.ol-onboard-steps { list-style: none; margin: 0 0 8px; padding: 0 0 20px; border-bottom: 1px solid var(--ol-border); display: flex; gap: 12px; align-items: center; }
.ol-onboard-steps li { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: var(--ol-text-2); }
.ol-onboard-steps li:not(:last-child)::after { content: ""; flex: 1; height: 1px; background: var(--ol-border); min-width: 12px; }
.ol-onboard-steps li.is-done:not(:last-child)::after { background: var(--ol-ink); }
.ol-onboard-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--ol-border); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: #fff; }
.ol-onboard-steps li > span:last-child { display: grid; min-width: 0; }
.ol-onboard-label { font-weight: 600; color: var(--ol-ink); white-space: nowrap; }
.ol-onboard-sub { font-size: 12px; white-space: nowrap; }
.ol-onboard-steps li.is-current .ol-onboard-num { background: var(--ol-blue); border-color: var(--ol-blue); color: #fff; }
.ol-onboard-steps li.is-current .ol-onboard-label { color: var(--ol-blue); }
.ol-onboard-steps li.is-done .ol-onboard-num { background: var(--ol-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--ol-ink); color: transparent; }
@media (max-width: 900px) {
	.ol-onboard-steps li:not(.is-current) > span:last-child { display: none; }
	.ol-onboard-sub { display: none; }
}
.ol-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ol-blue); }
.ol-lead { margin: -8px 0 4px; color: var(--ol-text-2); font-size: 16px; }
.ol-onboard-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--ol-border); padding-top: 20px; margin-top: 8px; }
.ol-onboard-foot .ol-muted { margin: 0; }
.ol-onboard-foot .ol-btn-primary { margin-left: auto; }

/* Profils */
.ol-profiles { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ol-profile { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); cursor: pointer; background: #fff; }
.ol-profile:hover { border-color: #9ca3af; }
.ol-profile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ol-profile:has(input:checked) { border-color: var(--ol-blue); box-shadow: 0 0 0 1px var(--ol-blue); background: var(--ol-blue-soft); }
.ol-profile:has(input:focus-visible) { outline: 2px solid var(--ol-blue); outline-offset: 2px; }
.ol-profile-icon { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--ol-border); background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--ol-blue); }
.ol-profile-title { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.ol-profile-text { color: var(--ol-text-2); font-size: 14px; }
.ol-profile-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ol-profile-chips span { font-size: 12px; padding: 4px 10px; border: 1px solid var(--ol-border); border-radius: 8px; background: #fff; }
.ol-profile-check { position: absolute; top: 18px; right: 18px; width: 24px; height: 24px; border-radius: 999px; border: 1.5px solid var(--ol-border); display: inline-flex; align-items: center; justify-content: center; color: transparent; }
.ol-profile:has(input:checked) .ol-profile-check { background: var(--ol-blue); border-color: var(--ol-blue); color: #fff; }

/* Justificatifs */
.ol-docs { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.ol-docs legend { margin-bottom: 8px; }
.ol-doc { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); background: #f9fafb; }
.ol-doc-icon { color: var(--ol-text-2); display: inline-flex; }
.ol-doc.is-done .ol-doc-icon, .ol-doc.is-selected .ol-doc-icon { color: #15803d; }
.ol-doc-text { display: grid; gap: 2px; min-width: 0; }
.ol-doc-label { font-weight: 600; }
.ol-doc-hint { font-size: 13px; color: var(--ol-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ol-doc.is-selected .ol-doc-hint, .ol-doc.is-done .ol-doc-hint { color: #15803d; }
.ol-doc.is-error { border-color: #dc2626; }
.ol-doc.is-error .ol-doc-hint { color: #b91c1c; }
.ol-doc .ol-field-error { grid-column: 1 / -1; }
.ol-doc-btn { position: relative; overflow: hidden; }
.ol-doc-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ol-doc-btn:focus-within { outline: 2px solid var(--ol-blue); outline-offset: 2px; }
@media (max-width: 520px) { .ol-doc { grid-template-columns: auto 1fr; } .ol-doc-btn { grid-column: 1 / -1; } }

/* Formules */
.ol-plans { border: 0; margin: 0; padding: 12px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ol-plan { position: relative; display: grid; gap: 6px; align-content: start; padding: 24px 22px 20px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); cursor: pointer; background: #fff; }
.ol-plan input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ol-plan:has(input:checked) { border-color: var(--ol-blue); box-shadow: 0 0 0 1px var(--ol-blue); }
.ol-plan:has(input:focus-visible) { outline: 2px solid var(--ol-blue); outline-offset: 2px; }
.ol-plan-dark { background: var(--ol-ink); color: #fff; border-color: var(--ol-ink); }
.ol-plan-reco { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--ol-blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.ol-plan-name { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ol-plan-price { font-size: 32px; font-weight: 700; letter-spacing: -0.025em; }
.ol-plan-price small { font-size: 14px; font-weight: 600; }
.ol-plan-period { font-size: 14px; color: var(--ol-text-2); padding-bottom: 12px; border-bottom: 1px solid var(--ol-border); }
.ol-plan-dark .ol-plan-period { color: #9ca3af; border-color: #374151; }
.ol-plan ul { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.ol-plan li { display: flex; gap: 8px; }
.ol-plan li::before { content: "✓"; font-weight: 700; color: var(--ol-blue); }
.ol-plan-dark li::before { color: #93c5fd; }
.ol-plan-cta { margin-top: auto; text-align: center; padding: 10px; border-radius: 999px; font-weight: 600; font-size: 14px; background: #f3f4f6; color: var(--ol-ink); }
.ol-plan-dark .ol-plan-cta { background: #fff; }
.ol-plan-cta-on { display: none; }
.ol-plan:has(input:checked) .ol-plan-cta { background: var(--ol-ink); color: #fff; }
.ol-plan-dark:has(input:checked) .ol-plan-cta { background: #fff; color: var(--ol-ink); }
.ol-plan:has(input:checked) .ol-plan-cta-on { display: inline; }
.ol-plan:has(input:checked) .ol-plan-cta-off { display: none; }

/* Règlement */
.ol-amount { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; background: #f9fafb; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); }
.ol-amount-value { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ol-ink); }
.ol-paymethods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.ol-paymethods li { padding: 16px; text-align: center; font-weight: 700; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); }
.ol-onboard .ol-notice { margin: 0; }

/* Suivi du dossier */
.ol-status { display: grid; gap: 20px; }
.ol-status > .ol-h1, .ol-status > .ol-lead, .ol-status > .ol-pill { text-align: center; justify-self: center; }
.ol-status > .ol-lead { max-width: 680px; margin: -8px auto 0; }
.ol-pill { margin: 0; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid; }
.ol-pill span { width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.ol-pill.is-amber { background: #fef9c3; color: #854d0e; border-color: #fde68a; }
.ol-pill.is-green { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.ol-pill.is-red { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.ol-ticket { background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); overflow: hidden; box-shadow: 0 10px 30px -18px rgb(17 24 39 / .35); }
.ol-ticket-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 28px; background: var(--ol-ink); color: #fff; }
.ol-ticket-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .14em; }
.ol-ticket-state { font-size: 14px; color: #fde68a; }
.ol-ticket-body { margin: 0; padding: 24px 28px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.ol-ticket-body dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ol-text-2); }
.ol-ticket-body dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.ol-ticket-body dd.ol-ticket-sub { margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--ol-text-2); }
.ol-ticket-num { color: var(--ol-blue); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.ol-status-pay { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid #fde68a; background: #fffbeb; border-radius: var(--ol-radius); }
.ol-status-pay p { margin: 0; }
.ol-protocol { background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); padding: 28px; }
.ol-protocol .ol-h3 { margin-bottom: 16px; }
.ol-protocol ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ol-protocol li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.ol-protocol li p { margin: 0; }
.ol-protocol-icon { width: 38px; height: 38px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #f3f4f6; color: var(--ol-text-2); }
.ol-protocol li.is-done .ol-protocol-icon { background: #dcfce7; color: #15803d; }
.ol-protocol li.is-amber .ol-protocol-icon { background: #fef9c3; color: #a16207; }
.ol-protocol li.is-red .ol-protocol-icon { background: #fee2e2; color: #b91c1c; }
.ol-protocol-k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ol-text-2); }
.ol-protocol li.is-done .ol-protocol-k { color: #15803d; }
.ol-protocol li.is-amber .ol-protocol-k { color: #a16207; }
.ol-protocol li.is-red .ol-protocol-k { color: #b91c1c; }
.ol-protocol-t { font-weight: 700; font-size: 16px; margin-top: 2px !important; }
.ol-status-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Compte : encart dossier */
.ol-account-box { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: center; margin: 20px 0 0; padding: 16px 18px; background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); }
.ol-account-box p { margin: 0; }
.ol-account-box-k { font-size: 12px; color: var(--ol-text-2); }
.ol-account-box-v { font-weight: 600; margin-top: 4px !important; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ol-account-box code { font-size: 12px; }
@media (max-width: 560px) { .ol-account-box { grid-template-columns: 1fr; } }

/* Connexion / création : onglets-liens */
.ol-tablist-item { flex: 1; padding: 16px 12px; text-align: center; font-weight: 600; font-size: 15px; color: var(--ol-text-2); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.ol-tablist-item[aria-current] { color: var(--ol-ink); border-bottom-color: var(--ol-ink); }
a.ol-tablist-item:hover { color: var(--ol-ink); background: #f9fafb; }
#panel-login { padding: 24px; }
#panel-login .ol-link { justify-self: center; }

/* Activation : bascule vers la connexion, identifiants */
.ol-switch { margin: 0; justify-self: end; font-size: 14px; color: var(--ol-text-2); }
.ol-switch a { color: var(--ol-ink); font-weight: 600; text-underline-offset: 3px; }
.ol-onboard .ol-switch { margin-bottom: -8px; }
.ol-credentials { border: 0; margin: 4px 0 0; padding: 20px 0 0; border-top: 1px solid var(--ol-border); display: grid; gap: 12px; }
.ol-credentials legend { padding: 0; margin: 0 0 12px; }
.ol-credentials .ol-form-row { align-items: start; }

/* Formules : mensuel / annuel */
.ol-cycle { border: 0; margin: 0 auto; padding: 4px; display: inline-flex; gap: 4px; background: #f3f4f6; border-radius: 999px; justify-self: center; }
.ol-cycle label { position: relative; cursor: pointer; }
.ol-cycle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ol-cycle span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ol-text-2); }
.ol-cycle em { font-style: normal; font-size: 12px; font-weight: 700; color: #15803d; background: #dcfce7; padding: 2px 8px; border-radius: 999px; }
.ol-cycle input:checked + span { background: var(--ol-ink); color: #fff; }
.ol-cycle input:focus-visible + span { outline: 2px solid var(--ol-blue); outline-offset: 2px; }
.ol-when-annuel { display: none; }
.ol-onboard:has(.ol-cycle input[value="annuel"]:checked) .ol-when-annuel { display: block; }
.ol-onboard:has(.ol-cycle input[value="annuel"]:checked) .ol-when-mensuel { display: none; }

/* Espace annonceur ---------------------------------------------------------- */

.ol-tag-amber { background: #fef3c7; color: #92400e; }
.ol-nowrap { white-space: nowrap; }
.ol-esp-head { background: #fff; border-bottom: 1px solid var(--ol-border); }
.ol-esp-head-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; padding-bottom: 12px; }
.ol-esp-id { display: flex; align-items: center; gap: 14px; }
.ol-esp-avatar { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.ol-esp-avatar-txt { display: inline-flex; align-items: center; justify-content: center; background: var(--ol-blue-soft); color: var(--ol-blue); font-weight: 700; font-size: 20px; }
.ol-esp-name { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.ol-esp-badges { margin: 4px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.ol-esp-badges .ol-tag, .ol-profile-card .ol-tag { display: inline-flex; align-items: center; gap: 4px; }
.ol-esp-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ol-esp-tabs::-webkit-scrollbar { display: none; }
.ol-esp-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 12px; font-weight: 600; font-size: 15px; color: var(--ol-text-2); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.ol-esp-tabs a:hover { color: var(--ol-ink); }
.ol-esp-tabs a[aria-current] { color: var(--ol-ink); border-bottom-color: var(--ol-blue); }
.ol-esp-count { font-size: 12px; background: #f3f4f6; color: var(--ol-ink); padding: 1px 7px; border-radius: 999px; }
.ol-esp-body { padding-top: 28px; padding-bottom: 64px; display: grid; gap: 24px; }
.ol-esp-body > .ol-notice, .ol-esp-body > .ol-error { margin: 0; }
.ol-esp-intro { margin: -16px 0 0; }
.ol-esp-banner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: var(--ol-blue-soft); border: 1px solid #bfdbfe; border-radius: var(--ol-radius-card); }
.ol-esp-banner p { margin: 0; }
.ol-esp-banner-t { font-weight: 700; font-size: 16px; }

.ol-kpis { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ol-kpi { background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); padding: 20px 22px; }
.ol-kpi p { margin: 0; }
.ol-kpi-k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ol-text-2); }
.ol-kpi-v { font-size: 30px; font-weight: 700; letter-spacing: -0.025em; margin: 10px 0 6px !important; }
.ol-kpi-v small { font-size: 15px; font-weight: 600; color: var(--ol-text-2); }
.ol-kpi-s { font-size: 13px; color: var(--ol-text-2); }
.ol-kpi-s a { color: var(--ol-ink); font-weight: 600; margin-left: 6px; }

.ol-esp-cols { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) {
	.ol-esp-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.ol-esp-cols-visits { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
	.ol-esp-cols-profile { grid-template-columns: 320px minmax(0, 1fr); }
}
.ol-panel { background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); padding: 24px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.ol-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ol-panel-head .ol-h3 { display: flex; align-items: center; gap: 8px; }
.ol-panel-head .ol-muted { margin: 2px 0 0; }
.ol-empty { margin: 0; padding: 20px; text-align: center; color: var(--ol-text-2); background: #f9fafb; border: 1px dashed var(--ol-border); border-radius: var(--ol-radius); font-size: 14px; }

.ol-visit { border: 1px solid var(--ol-border); border-radius: var(--ol-radius); padding: 14px 16px; display: grid; gap: 8px; background: #fcfcfd; }
.ol-visit p { margin: 0; }
.ol-visit-top, .ol-visit-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-size: 14px; }
.ol-visit-foot span, .ol-visit-top .ol-muted { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.ol-time { display: inline-flex; align-items: center; gap: 6px; background: var(--ol-ink); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 8px; }
.ol-visit-title { font-weight: 700; }
.ol-visit-title a { text-decoration: none; }
.ol-phone { display: inline-flex; align-items: center; gap: 6px; color: #15803d; font-weight: 600; text-decoration: none; background: #f0fdf4; padding: 4px 10px; border-radius: 8px; }
.ol-visit-row { grid-template-columns: 150px minmax(0, 1fr) auto; align-items: start; gap: 16px; }
@media (max-width: 640px) { .ol-visit-row { grid-template-columns: 1fr; } }
.ol-visit-hour { font-weight: 700; font-size: 16px; }
.ol-visit-main { display: grid; gap: 4px; min-width: 0; }
.ol-visit-main .ol-visit-foot { justify-content: flex-start; margin-top: 4px !important; }
.ol-visit-msg { font-size: 14px; color: #374151; font-style: italic; }
.ol-visit-side { display: grid; justify-items: end; gap: 8px; }

.ol-mini { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); text-decoration: none; }
.ol-mini:hover { border-color: var(--ol-ink); }
.ol-mini img, .ol-table-bien img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.ol-mini > span, .ol-table-bien > span { display: grid; gap: 2px; min-width: 0; }
.ol-mini .ol-muted, .ol-table-bien .ol-muted { margin: 0; font-size: 13px; display: flex; align-items: center; gap: 4px; }
.ol-mini-t { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ol-mini-s { font-size: 13px; font-weight: 600; }

.ol-esp-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ol-esp-toolbar .ol-field-grow { flex: 1 1 260px; max-width: 420px; }
.ol-esp-filter { margin: 0; }
.ol-table-wrap { background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); overflow-x: auto; }
.ol-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ol-table th { text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ol-text-2); padding: 14px 16px; border-bottom: 1px solid var(--ol-border); white-space: nowrap; }
.ol-table td { padding: 14px 16px; border-bottom: 1px solid var(--ol-border); vertical-align: middle; }
.ol-table tr:last-child td { border-bottom: 0; }
.ol-table-compact td, .ol-table-compact th { padding: 10px 8px; }
.ol-table-bien { display: flex; gap: 12px; align-items: center; min-width: 260px; }
.ol-table-actions { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.ol-table-actions form { margin: 0; }
.ol-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--ol-border); border-radius: 10px; background: #fff; color: var(--ol-ink); text-decoration: none; cursor: pointer; flex-shrink: 0; }
.ol-icon-btn:hover { border-color: var(--ol-ink); }
.ol-form-row-4 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important; }

.ol-seg { display: inline-flex; gap: 4px; padding: 4px; background: #f3f4f6; border-radius: 12px; }
.ol-seg a { padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ol-text-2); text-decoration: none; }
.ol-seg a[aria-current] { background: #fff; color: var(--ol-ink); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }

.ol-dispo-days, .ol-dispo-duree { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ol-dispo-days legend, .ol-dispo-duree legend { width: 100%; margin-bottom: 8px; }
.ol-day { position: relative; cursor: pointer; }
.ol-day input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ol-day span { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; padding: 9px 12px; border: 1px solid var(--ol-border); border-radius: 10px; font-weight: 600; font-size: 14px; background: #fff; color: var(--ol-text-2); }
.ol-day input:checked + span { background: var(--ol-ink); border-color: var(--ol-ink); color: #fff; }
.ol-day input:focus-visible + span { outline: 2px solid var(--ol-blue); outline-offset: 2px; }
.ol-dispo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ol-slots { display: grid; gap: 8px; }
.ol-slot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); }
.ol-slot:has(.ol-slot-on input:checked) { border-color: var(--ol-ink); }
.ol-slot-on input { width: 18px; height: 18px; accent-color: var(--ol-ink); }
.ol-slot-label { border: 0; font-weight: 600; font-size: 14px; min-width: 0; padding: 4px; border-radius: 6px; }
.ol-slot-label:hover, .ol-slot-label:focus { background: #f9fafb; }
.ol-slot-times { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.ol-slot-times input { border: 1px solid var(--ol-border); border-radius: 8px; padding: 4px 6px; font-weight: 600; }
@media (max-width: 520px) { .ol-slot { grid-template-columns: auto minmax(0, 1fr) auto; } .ol-slot-times { grid-column: 1 / -1; } }

.ol-formule-name { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.ol-quota { display: grid; gap: 8px; padding: 16px; background: #f9fafb; border-radius: var(--ol-radius); }
.ol-quota-head { display: flex; justify-content: space-between; font-size: 14px; }
.ol-quota-bar { height: 8px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.ol-quota-bar span { display: block; height: 100%; background: var(--ol-ink); border-radius: 999px; }
.ol-quota .ol-help { margin: 0; }

.ol-profile-card { justify-items: center; text-align: center; }
.ol-profile-card p { margin: 0; }
.ol-profile-card .ol-muted { display: inline-flex; align-items: center; gap: 4px; }
.ol-avatar-edit { position: relative; width: 120px; height: 120px; cursor: pointer; }
.ol-avatar-edit img, .ol-avatar-edit .ol-esp-avatar-txt { width: 120px; height: 120px; border-radius: 999px; object-fit: cover; display: inline-flex; font-size: 44px; }
.ol-avatar-edit input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ol-avatar-edit:focus-within { outline: 2px solid var(--ol-blue); outline-offset: 4px; border-radius: 999px; }
.ol-avatar-btn { position: absolute; right: 2px; bottom: 2px; width: 36px; height: 36px; border-radius: 999px; background: var(--ol-ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; border: 3px solid #fff; }
.ol-profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; padding-top: 16px; border-top: 1px solid var(--ol-border); }
.ol-profile-stats div { display: grid; gap: 2px; }
.ol-profile-stats strong { font-size: 20px; }
.ol-profile-stats span { font-size: 12px; color: var(--ol-text-2); }

.ol-settings { display: grid; gap: 20px; max-width: 760px; }
.ol-switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--ol-border); cursor: pointer; }
.ol-switch-row > span { display: grid; gap: 2px; }
.ol-switch-row .ol-muted { margin: 0; font-size: 13px; }
.ol-switch-t { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.ol-toggle-input { appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: 999px; background: #d1d5db; position: relative; cursor: pointer; flex-shrink: 0; transition: background .15s; }
.ol-toggle-input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 999px; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgb(0 0 0 / .2); }
.ol-toggle-input:checked { background: var(--ol-ink); }
.ol-toggle-input:checked::after { transform: translateX(20px); }
.ol-toggle-input:focus-visible { outline: 2px solid var(--ol-blue); outline-offset: 2px; }
.ol-sessions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ol-sessions li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: #f9fafb; border: 1px solid var(--ol-border); border-radius: var(--ol-radius); }
.ol-sessions li > span:last-child { display: grid; gap: 2px; }
.ol-sessions .ol-muted { margin: 0; font-size: 13px; }
.ol-sessions-icon { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--ol-border); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Fiche : réservation de visite */
.ol-contact-mail { justify-self: center; }
.ol-contact-name { display: flex; align-items: center; gap: 10px; }
.ol-contact-avatar { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; }
.ol-modal { position: fixed; inset: 0; z-index: 9998; background: rgb(3 7 18 / .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ol-modal[hidden] { display: none; }
.ol-modal-box { position: relative; background: #fff; border-radius: var(--ol-radius-card); width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; padding: 24px; display: grid; gap: 14px; }
.ol-modal-box > .ol-muted { margin: -8px 0 0; }
.ol-modal-box .ol-h3 { outline: none; padding-right: 40px; }
.ol-modal-close { position: absolute; top: 14px; right: 14px; }
.ol-modal [data-book-step] { display: grid; gap: 12px; }
.ol-modal [data-book-step][hidden] { display: none; }
.ol-modal .ol-label { margin: 4px 0 0; }
.ol-book-days, .ol-book-times { display: flex; flex-wrap: wrap; gap: 8px; }
.ol-book-days .ol-skeleton { width: 100%; grid-template-columns: 1fr 1fr 1fr; }
.ol-book-days .ol-skeleton div { height: 40px; }
.ol-book-chip { padding: 9px 12px; border: 1px solid var(--ol-border); border-radius: 10px; background: #fff; font-weight: 600; font-size: 14px; cursor: pointer; }
.ol-book-chip:hover { border-color: var(--ol-ink); }
.ol-book-chip[aria-pressed="true"] { background: var(--ol-ink); border-color: var(--ol-ink); color: #fff; }
.ol-book-chosen { margin: 0; padding: 12px 14px; background: var(--ol-blue-soft); color: #1e3a8a; border-radius: var(--ol-radius); font-weight: 600; }
.ol-modal .ol-state { margin: 0; border: 0; padding: 12px 0 0; }
.ol-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Espace agence : barre latérale */
.ol-esp-agence { display: grid; gap: 24px; padding-top: 24px; padding-bottom: 64px; grid-template-columns: minmax(0, 1fr); }
.ol-esp-agence .ol-esp-main { padding: 0; }
.ol-esp-side { display: grid; gap: 14px; align-content: start; }
.ol-esp-side-card { background: #fff; border: 1px solid var(--ol-border); border-radius: var(--ol-radius-card); padding: 16px; }
.ol-esp-side-card .ol-esp-avatar { width: 44px; height: 44px; border-radius: 12px; }
.ol-esp-side-card .ol-esp-name { font-size: 16px; }
.ol-esp-side-k { margin: 8px 0 -4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ol-text-2); padding: 0 8px; }
.ol-esp-side-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ol-esp-side-link { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: var(--ol-radius); font-weight: 600; font-size: 15px; color: #374151; text-decoration: none; white-space: nowrap; }
.ol-esp-side-link:hover { background: #f3f4f6; color: var(--ol-ink); }
.ol-esp-side-link[aria-current] { background: var(--ol-ink); color: #fff; }
.ol-esp-side-link .ol-esp-count { margin-left: auto; }
.ol-esp-side-link[aria-current] .ol-esp-count { background: rgb(255 255 255 / .2); color: #fff; }
.ol-esp-side-foot { margin: 8px 0 0; padding: 14px 8px 0; border-top: 1px solid var(--ol-border); font-size: 13px; color: var(--ol-text-2); display: flex; align-items: center; gap: 8px; }
@media (max-width: 1023px) { .ol-esp-side-k, .ol-esp-side-foot { display: none; } }
@media (min-width: 1024px) {
	.ol-esp-agence { grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
	.ol-esp-side { position: sticky; top: calc(var(--ol-sticky-top) + var(--ol-header-h) + 16px); }
	.ol-esp-side-nav { flex-direction: column; overflow: visible; }
	.ol-esp-agence .ol-esp-cols-profile { grid-template-columns: 280px minmax(0, 1fr); }
}
.ol-contact-bureau { margin: -6px 0 0; font-size: 13px; color: var(--ol-text-2); display: flex; gap: 6px; align-items: flex-start; }
.ol-esp-agence .ol-kpis { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.ol-esp-agence .ol-kpi-v { font-size: 26px; }
