/* One scoped rental design surface, shared by public DA/EN and B2B. */
.elx-rental-explorer {
  --map-bg: var(--color-bg, #101112);
  --map-surface: var(--color-surface, #1a1c1d);
  --map-text: var(--color-text, #f6f6f6);
  --map-muted: var(--color-text-muted, #a9aeb2);
  --map-border: #36393c;
  --map-accent: var(--color-accent, #924e7d);
  color: var(--map-text); font-size: 16px; line-height: 1.55; width: 100%; min-width: 0;
}
html[data-elx-theme="light"] .elx-rental-explorer { --map-bg: #f7f7f8; --map-surface: #fff; --map-text: #18191b; --map-muted: #565b60; --map-border: #d5d7da; }
.elx-rental-explorer [hidden] { display: none !important; }
.elx-rental-explorer :is(input, select, button, a, summary):focus-visible { outline: 2px solid var(--map-accent); outline-offset: 3px; }
.elx-rental-explorer :is(h2, h3, h4, p) { margin: 0; }
.elx-rental-explorer > h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 16px; }
.elx-rental-explorer h3 { font-size: 22px; line-height: 1.3; }
.elx-rental-explorer h4 { font-size: 19px; line-height: 1.35; overflow-wrap: anywhere; }
.elx-rental-explorer svg { flex: 0 0 20px; width: 20px; height: 20px; }
.elx-rental-explorer button,
.elx-rental-explorer .elx-map-card-actions a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 14px; border: 1px solid var(--map-border); border-radius: 10px;
  background: var(--map-surface); color: var(--map-text); font: inherit; font-size: 14px; font-weight: 600;
  line-height: 1.3; text-decoration: none; cursor: pointer; margin: 0;
}
.elx-rental-explorer button:hover { border-color: var(--map-accent); }
.elx-rental-explorer button:disabled { opacity: .55; cursor: wait; }
.elx-rental-explorer [data-map-load] { background: var(--map-accent); border-color: var(--map-accent); color: #fff; }
.elx-map-demo-notice { padding: 12px 16px; border: 1px dashed var(--map-accent); border-radius: 12px; margin-bottom: 20px !important; font-size: 14px; }
.elx-map-demo-notice strong { margin-right: 8px; color: var(--map-text); }
.elx-map-filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.elx-map-filters label { display: grid; gap: 8px; min-width: 0; }
.elx-map-filters label > span { font-size: 14px; font-weight: 600; }
.elx-map-filters :is(input, select) { width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid var(--map-border); border-radius: 10px; background: var(--map-surface); color: var(--map-text); font: inherit; font-size: 16px; }
.elx-map-filters input::placeholder { color: var(--map-muted); }
.elx-map-filters button { min-height: 48px; }
.elx-map-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0; }
.elx-map-summary p { font-size: 14px; color: var(--map-muted); }
.elx-map-layout { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.5fr); grid-template-areas: "list map"; align-items: start; gap: 20px; }
.elx-map-stage { grid-area: map; min-width: 0; overflow: hidden; border: 1px solid var(--map-border); border-radius: 16px; background: var(--map-surface); }
.elx-map-canvas { height: 560px; width: 100%; background: var(--map-bg); z-index: 0; }
.elx-map-consent { min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 32px; text-align: center; }
.elx-map-consent > svg { width: 48px; height: 48px; flex-basis: 48px; color: var(--map-accent); }
.elx-map-consent p { max-width: 42ch; color: var(--map-muted); }
.elx-map-consent a { font-size: 14px; color: var(--map-muted); text-decoration: underline; }
.elx-map-toolbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding: 12px; border-top: 1px solid var(--map-border); }
.elx-map-error { padding: 12px 16px; font-size: 14px; }
.elx-map-results { grid-area: list; min-width: 0; display: grid; gap: 12px; max-height: 650px; overflow-y: auto; padding: 3px; scrollbar-width: thin; scrollbar-color: var(--map-accent) transparent; }
.elx-map-results > h3 { font-size: 18px; margin-bottom: 4px; }
.elx-map-card { border: 1px solid var(--map-border); background: var(--map-surface); border-radius: 14px; padding: 18px; min-width: 0; }
.elx-map-card.is-selected { border-color: var(--map-accent); box-shadow: 0 0 0 1px var(--map-accent); }
.elx-map-card-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.elx-map-card-heading > div { min-width: 0; flex: 1; }
.elx-map-card-heading p { font-size: 14px; color: var(--map-muted); }
.elx-map-number { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: var(--map-accent); color: #fff; font-weight: 700; }
.elx-map-badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; border: 1px dashed var(--map-accent); padding: 3px 5px; border-radius: 5px; }
.elx-map-card > p { color: var(--map-muted); font-size: 14px; }
.elx-map-card details { margin-top: 12px; border-top: 1px solid var(--map-border); padding-top: 8px; }
.elx-map-card summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-size: 14px; font-weight: 600; }
.elx-map-card ul { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 12px; }
.elx-map-card li { display: grid; gap: 4px; font-size: 14px; }
.elx-map-card li a { color: var(--map-text); text-decoration: underline; }
.elx-map-card li span { color: var(--map-muted); }
.elx-map-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.elx-map-card-actions > span { color: var(--map-muted); font-size: 14px; }
.elx-map-disclaimer { margin-top: 18px !important; color: var(--map-muted); font-size: 14px; max-width: 95ch; }
.elx-map-pin { display: grid; place-items: center; border: none; background: transparent; }
.elx-map-pin span { display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid #fff; border-radius: 50%; background: #924e7d; color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 2px 8px #0008; }
.elx-rental-explorer .leaflet-tile-pane { filter: grayscale(1) invert(.92) hue-rotate(180deg) brightness(.85) contrast(.95); }
html[data-elx-theme="light"] .elx-rental-explorer .leaflet-tile-pane { filter: grayscale(.8); }
.elx-rental-explorer :is(.leaflet-popup-content-wrapper, .leaflet-popup-tip) { background: var(--map-surface); color: var(--map-text); }
.elx-rental-explorer .leaflet-popup-content { font: inherit; font-size: 15px; line-height: 1.5; }
.elx-rental-explorer .leaflet-popup-content p { margin: 8px 0 12px; }
.elx-rental-explorer .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; background: var(--map-surface); color: var(--map-text); border-color: var(--map-border); }
.elx-rental-explorer .leaflet-control-attribution { background: #fff; color: #222; font-size: 11px; }
.elx-rental-explorer .leaflet-control-attribution a { color: #23517c; }
@media (max-width: 991px) { .elx-map-filters { grid-template-columns: 1fr 1fr; } .elx-map-layout { grid-template-columns: minmax(270px, 1fr) minmax(0, 1.3fr); } }
@media (max-width: 767px) {
  .elx-map-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "map" "list"; gap: 20px; }
  .elx-map-filters > label:first-child { grid-column: 1 / -1; }
  .elx-map-filters > button { grid-column: 1 / -1; }
  .elx-map-summary { flex-wrap: wrap; }
  .elx-map-canvas, .elx-map-consent { height: 360px; min-height: 360px; }
  .elx-map-consent { padding: 20px; gap: 16px; }
  .elx-map-results { max-height: none; overflow: visible; }
}
