:root {
--mrdi-terracotta: #C97B4A;
--mrdi-navy: #1F2D43;
--mrdi-ivory: #F8F5F1;
--mrdi-blush: #F6EAE2;
--mrdi-border: rgba(31, 45, 67, .12);
--mrdi-shadow: 0 14px 40px rgba(31, 45, 67, .10);
}
.mrdi-dvf-explorer,
.mrdi-dvf-explorer * { box-sizing: border-box; }
.mrdi-dvf-explorer {
width: 100%;
max-width: 100%;
color: var(--mrdi-navy);
font-family: inherit;
}
.mrdi-dvf-toolbar,
.mrdi-dvf-summary,
.mrdi-dvf-map-shell {
max-width: 100%;
}
.mrdi-dvf-filters {
margin: 0 0 18px;
border: 1px solid var(--mrdi-border);
border-radius: 18px;
background: #fff;
box-shadow: 0 10px 28px rgba(31, 45, 67, .06);
overflow: hidden;
}
.mrdi-dvf-filters > summary {
list-style: none;
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 17px 20px;
cursor: pointer;
font-weight: 700;
color: var(--mrdi-navy);
}
.mrdi-dvf-filters > summary::-webkit-details-marker { display: none; }
.mrdi-dvf-filter-toggle {
width: 12px;
height: 12px;
border-right: 2px solid var(--mrdi-terracotta);
border-bottom: 2px solid var(--mrdi-terracotta);
transform: rotate(45deg) translateY(-2px);
transition: transform .2s ease;
flex: 0 0 auto;
}
.mrdi-dvf-filters[open] .mrdi-dvf-filter-toggle { transform: rotate(225deg) translate(-2px, -2px); }
.mrdi-dvf-filter-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 14px;
padding: 0 20px 20px;
border-top: 1px solid rgba(31,45,67,.07);
padding-top: 18px;
}
.mrdi-dvf-filter-grid label {
display: flex;
flex-direction: column;
min-width: 0;
gap: 7px;
}
.mrdi-dvf-filter-grid label > span {
font-size: 12px;
line-height: 1.35;
font-weight: 700;
color: rgba(31,45,67,.78);
}
.mrdi-dvf-filter-grid select,
.mrdi-dvf-filter-grid input {
width: 100%;
min-width: 0;
height: 44px;
padding: 0 12px;
border: 1px solid rgba(31,45,67,.16);
border-radius: 10px;
background: #fff;
color: var(--mrdi-navy);
font: inherit;
font-size: 14px;
outline: none;
transition: border-color .2s ease, box-shadow .2s ease;
}
.mrdi-dvf-filter-grid select:focus,
.mrdi-dvf-filter-grid input:focus {
border-color: var(--mrdi-terracotta);
box-shadow: 0 0 0 3px rgba(201,123,74,.13);
}
.mrdi-dvf-filter-actions {
grid-column: 1 / -1;
display: flex;
justify-content: flex-end;
padding-top: 2px;
}
.mrdi-dvf-reset {
appearance: none;
border: 1px solid rgba(201,123,74,.35);
border-radius: 999px;
background: var(--mrdi-blush);
color: var(--mrdi-navy);
font: inherit;
font-size: 13px;
font-weight: 700;
padding: 9px 16px;
cursor: pointer;
}
.mrdi-dvf-reset:hover { background: #f2dfd3; }
.mrdi-dvf-summary {
display: grid;
grid-template-columns: 1.45fr repeat(3, 1fr);
gap: 10px;
margin: 0 0 14px;
}
.mrdi-dvf-summary-main,
.mrdi-dvf-summary-item {
min-width: 0;
border-radius: 15px;
padding: 14px 16px;
background: var(--mrdi-ivory);
border: 1px solid rgba(31,45,67,.06);
}
.mrdi-dvf-summary-main {
display: flex;
align-items: baseline;
gap: 9px;
background: var(--mrdi-navy);
color: #fff;
}
.mrdi-dvf-summary-main strong { font-size: 26px; line-height: 1; color: #fff; }
.mrdi-dvf-summary-main span { font-size: 13px; line-height: 1.35; opacity: .88; }
.mrdi-dvf-summary-item { display: flex; flex-direction: column; gap: 4px; }
.mrdi-dvf-summary-item span { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: rgba(31,45,67,.62); }
.mrdi-dvf-summary-item strong { font-size: 18px; color: var(--mrdi-navy); }
.mrdi-dvf-map-shell {
position: relative;
width: 100%;
overflow: hidden;
border: 1px solid var(--mrdi-border);
border-radius: 20px;
background: var(--mrdi-ivory);
box-shadow: var(--mrdi-shadow);
}
.mrdi-dvf-map { width: 100%; height: 650px; max-height: 72vh; min-height: 480px; background: #eef0ed; }
.mrdi-dvf-map-status {
position: absolute;
z-index: 700;
left: 50%;
bottom: 18px;
transform: translateX(-50%);
max-width: calc(100% - 32px);
padding: 9px 13px;
border-radius: 999px;
background: rgba(255,255,255,.94);
box-shadow: 0 6px 24px rgba(31,45,67,.15);
color: var(--mrdi-navy);
font-size: 12px;
font-weight: 600;
text-align: center;
backdrop-filter: blur(6px);
}
.mrdi-dvf-map-status[data-kind="error"] { color: #8a2f2f; background: rgba(255,242,240,.97); }
.mrdi-dvf-map-status[data-kind="notice"] { background: rgba(246,234,226,.97); }
.mrdi-dvf-map-status[hidden] { display: none; }
.mrdi-dvf-source { margin: 11px 4px 0; font-size: 11px; color: rgba(31,45,67,.63); }
.mrdi-dvf-marker { background: transparent !important; border: 0 !important; }
.mrdi-dvf-marker span {
display: block;
width: 16px;
height: 16px;
border: 3px solid #fff;
border-radius: 50%;
box-shadow: 0 2px 8px rgba(31,45,67,.30);
}
.mrdi-dvf-marker--maison span { background: var(--mrdi-terracotta); }
.mrdi-dvf-marker--appartement span { background: var(--mrdi-navy); }
.mrdi-dvf-cluster { background: transparent !important; border: 0 !important; }
.mrdi-dvf-cluster > span {
display: flex;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
border: 3px solid rgba(255,255,255,.9);
border-radius: 50%;
background: var(--mrdi-terracotta);
color: #fff;
font-size: 11px;
font-weight: 800;
box-shadow: 0 4px 14px rgba(31,45,67,.26);
}
.mrdi-dvf-cluster--medium > span { background: #a86039; }
.mrdi-dvf-cluster--large > span { background: var(--mrdi-navy); font-size: 12px; }
.leaflet-popup-content-wrapper {
border-radius: 15px;
box-shadow: 0 10px 35px rgba(31,45,67,.19);
}
.leaflet-popup-content { margin: 16px 17px; font-family: inherit; color: var(--mrdi-navy); }
.mrdi-dvf-popup-title { margin-bottom: 10px; font-size: 15px; font-weight: 800; color: var(--mrdi-navy); }
.mrdi-dvf-popup-row {
display: grid;
grid-template-columns: minmax(90px, 1fr) minmax(100px, 1.2fr);
gap: 14px;
padding: 5px 0;
border-bottom: 1px solid rgba(31,45,67,.07);
font-size: 12px;
}
.mrdi-dvf-popup-row span { color: rgba(31,45,67,.62); }
.mrdi-dvf-popup-row strong { color: var(--mrdi-navy); text-align: right; font-weight: 700; }
.mrdi-dvf-popup-source { margin-top: 10px; font-size: 10px; color: rgba(31,45,67,.52); }
.mrdi-dvf-map .leaflet-tile-pane {
filter: saturate(.72) brightness(1.04) contrast(.94);
}
.leaflet-container a { color: var(--mrdi-navy); }
.leaflet-control-zoom a { color: var(--mrdi-navy) !important; }
@media (max-width: 980px) {
.mrdi-dvf-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mrdi-dvf-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mrdi-dvf-summary-main { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
.mrdi-dvf-explorer { width: 100%; overflow-x: hidden; overflow-x: clip; }
.mrdi-dvf-filters { border-radius: 14px; margin-bottom: 12px; }
.mrdi-dvf-filters > summary { padding: 14px 15px; font-size: 14px; }
.mrdi-dvf-filter-grid { grid-template-columns: 1fr; gap: 12px; padding: 15px; }
.mrdi-dvf-filter-actions { justify-content: stretch; }
.mrdi-dvf-reset { width: 100%; }
.mrdi-dvf-summary { grid-template-columns: 1fr 1fr; gap: 8px; }
.mrdi-dvf-summary-main { grid-column: 1 / -1; padding: 13px 14px; }
.mrdi-dvf-summary-main strong { font-size: 23px; }
.mrdi-dvf-summary-item { padding: 12px; }
.mrdi-dvf-summary-item:last-child { grid-column: 1 / -1; }
.mrdi-dvf-map-shell { border-radius: 14px; }
.mrdi-dvf-map { height: 64vh; min-height: 520px; max-height: 720px; }
.mrdi-dvf-map-status { bottom: 12px; max-width: calc(100% - 20px); border-radius: 12px; }
.leaflet-control-attribution { max-width: 80vw; white-space: normal; line-height: 1.2; }
}
@media (max-width: 420px) {
.mrdi-dvf-summary { grid-template-columns: 1fr; }
.mrdi-dvf-summary-item:last-child { grid-column: auto; }
.mrdi-dvf-map { min-height: 500px; height: 67vh; }
}
.mrdi-dvf-credit { margin: 14px 4px 2px; font-size: 12px; line-height: 1.5; color: rgba(31,45,67,.78); }
.mrdi-dvf-credit strong { color: #1F2D43; font-weight: 700; } .mrdi-dvf-caption {
margin: 12px 4px 0;
color: rgba(31,45,67,.62);
font-size: 11px;
line-height: 1.55;
}
.mrdi-dvf-caption strong {
color: rgba(31,45,67,.82);
font-weight: 700;
}
@media (max-width: 767px) {
.mrdi-dvf-caption { margin-top: 10px; font-size: 10.5px; line-height: 1.5; }
} .mrdi-dvf-caption-wrap { margin: 0; }
.mrdi-dvf-caption-toggle { display: none; }
@media (max-width: 767px) {
.mrdi-dvf-caption-wrap { margin-top: 9px; }
.mrdi-dvf-caption-toggle {
appearance: none; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
width: auto; max-width: 100%; margin: 0; padding: 8px 11px;
border: 1px solid rgba(31,45,67,.12); border-radius: 999px;
background: #fff; color: #1F2D43; box-shadow: 0 4px 14px rgba(31,45,67,.06);
font: inherit; font-size: 11px; font-weight: 750; line-height: 1.15; cursor: pointer;
}
.mrdi-dvf-caption-chevron { display: inline-block; font-size: 14px; line-height: 1; transition: transform .18s ease; }
.mrdi-dvf-caption-wrap .mrdi-dvf-caption { display: none; margin: 8px 4px 0; }
.mrdi-dvf-caption-wrap.is-open .mrdi-dvf-caption { display: block; }
.mrdi-dvf-caption-wrap.is-open .mrdi-dvf-caption-chevron { transform: rotate(180deg); }
} .mrdi-dvf-mobile-map-legend { display: none; }
@media (max-width: 767px) {
.mrdi-dvf-caption--desktop { display: none !important; }
.mrdi-dvf-mobile-map-legend {
display: block;
position: absolute;
z-index: 760;
left: 10px;
bottom: 10px;
}
.mrdi-dvf-map-legend-toggle {
appearance: none;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 34px;
margin: 0;
padding: 7px 10px;
border: 1px solid rgba(31,45,67,.13);
border-radius: 10px;
background: rgba(255,255,255,.96);
color: var(--mrdi-navy);
box-shadow: 0 5px 18px rgba(31,45,67,.16);
backdrop-filter: blur(6px);
font: inherit;
font-size: 11px;
font-weight: 800;
line-height: 1;
cursor: pointer;
}
.mrdi-dvf-map-legend-chevron {
display: inline-block;
font-size: 12px;
line-height: 1;
transition: transform .18s ease;
}
.mrdi-dvf-mobile-map-legend.is-open .mrdi-dvf-map-legend-chevron { transform: rotate(180deg); }
.mrdi-dvf-map-legend-panel {
display: none;
position: absolute;
left: 0;
bottom: 42px;
width: 280px;
max-width: calc(100vw - 44px);
max-height: min(50vh, 330px);
overflow: auto;
padding: 12px;
border: 1px solid rgba(31,45,67,.11);
border-radius: 13px;
background: rgba(255,255,255,.97);
box-shadow: 0 10px 28px rgba(31,45,67,.18);
backdrop-filter: blur(8px);
color: var(--mrdi-navy);
}
.mrdi-dvf-mobile-map-legend.is-open .mrdi-dvf-map-legend-panel { display: block; }
.mrdi-dvf-map-legend-title { margin: 0 0 9px; font-size: 12px; font-weight: 800; }
.mrdi-dvf-map-legend-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 10px; color: rgba(31,45,67,.76); }
.mrdi-dvf-map-legend-dot {
width: 14px; height: 14px; flex: 0 0 14px;
border: 2px solid #fff; border-radius: 50%;
box-shadow: 0 1px 5px rgba(31,45,67,.24);
}
.mrdi-dvf-map-legend-dot--house { background: var(--mrdi-terracotta); }
.mrdi-dvf-map-legend-dot--flat { background: var(--mrdi-navy); }
.mrdi-dvf-map-legend-cluster {
display: inline-flex; align-items: center; justify-content: center;
width: 22px; height: 22px; flex: 0 0 22px;
border: 2px solid rgba(255,255,255,.9); border-radius: 50%;
background: var(--mrdi-terracotta); color: #fff;
box-shadow: 0 2px 7px rgba(31,45,67,.22);
font-style: normal; font-size: 8px; font-weight: 800;
}
.mrdi-dvf-map-legend-panel p {
margin: 10px 0 0;
padding-top: 9px;
border-top: 1px solid rgba(31,45,67,.08);
font-size: 9px;
line-height: 1.45;
color: rgba(31,45,67,.60);
}
.mrdi-dvf-map .leaflet-control-attribution {
max-width: 56vw;
padding: 1px 3px;
font-size: 8px;
line-height: 1.1;
}
}