/* v9 : styles isolés dans le Shadow DOM, hauteur intrinsèque. */
:host {display:block!important; width:100%!important; max-width:100%!important; min-width:0!important; height:auto!important; min-height:0!important; margin:0!important; padding:0!important; border:0!important;}
.nemo-map {display:block;position:relative;height:auto;min-height:0;margin:0;padding:0;}
.nemo-map .nm-layout,.nemo-map .nm-sidebar {height:auto;min-height:0;align-content:start;}
.nemo-map .nm-legend,.nemo-map .nm-places {align-content:start;grid-auto-rows:max-content;}
.nemo-map {--ink:#242424;--paper:#fff7f6;--green:#abe658;--icon-green:#6fa456;--forest:#253c2d;background:#ffffff;color:var(--ink);font-family:var(--e-global-typography-text-font-family, inherit);border-radius:18px 18px 18px 0;overflow:hidden;inline-size:100%;max-inline-size:100%;min-inline-size:0;box-sizing:border-box;container: nemo-map / inline-size}
.nemo-map * {box-sizing:border-box}
.nemo-map button {appearance:none;background:transparent;color:inherit;font:inherit;border:0;padding:0;cursor:pointer;box-shadow:none;text-transform:none}
.nemo-map button:focus-visible,.nemo-map .nm-viewport:focus-visible {outline:3px solid #6fa456;outline-offset:-3px}
.nemo-map .nm-header {display:flex;align-items:center;gap:20px;padding:16px 22px;background:#ffffff;color:#242424;flex-wrap:wrap}
.nemo-map .nm-logo {width:122px;height:auto}
.nemo-map .nm-kicker {font-size:11px;font-weight:700;letter-spacing:.10em;margin:0 0 5px}
.nemo-map .nm-header .nm-kicker {color:#426739}
.nemo-map h2 {font-family:var(--e-global-typography-primary-font-family, inherit);color:inherit;font-size:clamp(17px,2vw,25px);line-height:1.13;margin:0}
.nemo-map .nm-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(235px,285px)}
.nemo-map .nm-viewport {position:relative;min-height:clamp(420px,65svh,760px);overflow:hidden;cursor:grab;touch-action:pan-y}
.nemo-map .nm-viewport.is-dragging {cursor:grabbing}
.nemo-map .nm-world {position:absolute;left:0;top:0;transform-origin:0 0}
.nemo-map .nm-photo,.nemo-map .nm-overlay,.nemo-map .nm-markers {position:absolute;inset:0;width:100%;height:100%;margin:0;pointer-events:none}
.nemo-map .nm-photo {max-width:none;user-select:none}
.nemo-map .nm-marker {position:absolute;transform:translate(-50%,-50%) scale(var(--pin-scale,1));pointer-events:auto;display:grid;place-items:center;min-width:34px;min-height:34px;padding:3px 7px;border:2px solid white;border-radius:18px;background:var(--marker);color:#242424;font-size:12px;font-weight:800;white-space:nowrap;box-shadow:0 2px 6px #0006}
.nemo-map .nm-marker[aria-pressed=true] {outline:3px solid #fff;outline-offset:2px}
.nemo-map .nm-marker[hidden] {display:none}
.nemo-map .nm-tools {position:absolute;top:12px;right:12px;display:grid;gap:5px}
.nemo-map .nm-tools button {width:44px;height:44px;background:var(--paper);color:var(--icon-green);border:1px solid var(--icon-green);border-radius:9px;font-size:22px;font-weight:700}
.nemo-map .nm-note {position:absolute;bottom:12px;left:12px;max-width:calc(100% - 24px);padding:6px 10px;border-radius:8px;background:#242424;color:#fff;font-size:12px;pointer-events:none}
.nemo-map .nm-sidebar {min-inline-size:0;max-inline-size:100%;padding:17px;background:#ffffff;overflow-wrap:anywhere}
.nemo-map .nm-sidebar h3 {font-family:var(--e-global-typography-secondary-font-family, inherit);font-size:17px;color:var(--forest);margin:0 0 8px;line-height:1.2}
.nemo-map .nm-legend {display:grid;grid-template-columns:minmax(0,1fr);gap:3px;margin-bottom:14px}
.nemo-map .nm-legend button,.nemo-map .nm-places button {min-height:35px;height:auto;min-inline-size:0;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;padding:4px 6px;display:flex;align-items:center;gap:8px;border-radius:8px;font-size:13px;line-height:1.2}
.nemo-map .nm-legend button:hover,.nemo-map .nm-places button:hover,.nemo-map .nm-legend button[aria-pressed=true],.nemo-map .nm-places button[aria-pressed=true] {background:#e3edda}
.nemo-map .nm-chip {flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--marker);color:#242424;font-size:11px;font-weight:800}
.nemo-map .nm-places {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
.nemo-map .nm-detail {border-top:1px solid #cdd5c5;margin-top:12px;padding-top:11px;font-size:14px}
.nemo-map .nm-detail p {margin:4px 0}
.nemo-map .nm-detail button {display:block;text-align:left;min-height:36px;text-decoration:underline}
.nemo-map:fullscreen,.nemo-map.nm-expanded {display:flex;flex-direction:column;overflow:auto;border-radius:0;background:#ffffff}
.nemo-map:fullscreen .nm-layout,.nemo-map.nm-expanded .nm-layout {flex:1}
.nemo-map.nm-expanded {position:fixed;inset:0;z-index:2147483646}
@media(max-width:760px) {
  .nemo-map .nm-layout {display:block;height:auto;min-height:0}
  .nemo-map .nm-header {padding:12px;gap:10px}
  .nemo-map .nm-logo {width:86px}
  .nemo-map .nm-viewport {width:100%;min-height:0;height:auto;aspect-ratio:1.35}
  .nemo-map .nm-tools {display:none}
}

.nemo-map .nm-callout {border-radius:7px;background:var(--paper);border-color:var(--marker);min-height:28px}
.nemo-map .nm-truck {border-radius:8px}
.nemo-map .nm-truck svg,.nemo-map .nm-chip svg {width:20px;height:20px}
.nemo-map .nm-legend .nm-chip {width:20px;height:4px;border-radius:4px}
@media(max-width:760px) {
  .nemo-map .nm-callout {font-size:9px;min-height:23px;padding:2px 4px}
  .nemo-map .nm-truck {min-width:25px;min-height:25px;padding:2px}
  .nemo-map .nm-truck svg {width:15px;height:15px}
}

.nemo-map .nm-truck {--pin-size:32px;width:var(--pin-size);height:var(--pin-size);min-width:0;min-height:0;padding:0;border:0;background:transparent;box-shadow:none;color:var(--icon-green);transform-origin:50% 100%;transform:translate(-50%,-100%) scale(var(--pin-scale,1))}
.nemo-map .nm-truck::before {content:"";position:absolute;inset:0;border:2px solid currentColor;border-radius:50% 50% 0 50%;background:var(--paper);transform:translateY(-5px) rotate(45deg);box-shadow:0 2px 6px #0006}
.nemo-map .nm-truck svg {position:relative;width:18px;height:18px;transform:translateY(-5px)}
.nemo-map .nm-truck[aria-pressed=true],.nemo-map .nm-truck:focus-visible {outline:none}
.nemo-map .nm-truck[aria-pressed=true]::before {border-width:3px}
.nemo-map .nm-truck:focus-visible::before {box-shadow:0 0 0 3px var(--paper),0 0 0 5px var(--icon-green)}
.nemo-map .nm-chip.nm-truck-chip {background:var(--paper);border:1px solid var(--icon-green);color:var(--icon-green)}
.nemo-map .nm-access-key {display:flex;align-items:center;gap:8px;font-size:13px;margin:0 0 16px}
.nemo-map .nm-access-key::before {content:"";width:20px;border-top:2px dashed #fff;box-shadow:0 0 0 2px #536356;background:#536356}
@media(max-width:760px) {.nemo-map .nm-truck {--pin-size:25px}.nemo-map .nm-truck svg {width:15px;height:15px}}

@container nemo-map (max-width:760px) {
  .nemo-map .nm-layout {display:block;height:auto;min-height:0}
  .nemo-map .nm-header {padding:12px;gap:10px}
  .nemo-map .nm-logo {width:86px}
  .nemo-map .nm-viewport {width:100%;min-height:0;height:auto;aspect-ratio:1.35}
  .nemo-map .nm-callout {font-size:9px;min-height:23px;padding:2px 4px}
  .nemo-map .nm-truck {--pin-size:25px}
  .nemo-map .nm-truck svg {width:15px;height:15px}
}

@container nemo-map (max-width:600px) {
  .nemo-map .nm-sidebar {display:block;height:auto;min-height:0;padding:12px}
  .nemo-map .nm-legend,.nemo-map .nm-places {
    display:flex;flex-flow:row wrap;align-items:flex-start;align-content:flex-start;
    height:auto;min-height:0;gap:4px 8px;margin:0;
  }
  .nemo-map .nm-legend {margin-bottom:8px}
  .nemo-map .nm-legend > button,.nemo-map .nm-places > button {
    flex:0 0 calc((100% - 8px) / 2);min-width:0;max-width:calc((100% - 8px) / 2);
    height:auto;min-height:36px;margin:0;padding:3px 4px;gap:5px;
    font-size:12px;letter-spacing:normal;line-height:1.25;
  }
  .nemo-map .nm-legend .nm-chip {width:12px}
  .nemo-map .nm-access-key {margin-bottom:10px}
  .nemo-map .nm-detail:not([data-selected]) {display:none}
}

body.nm-standalone {margin:0;padding:0;font-family:system-ui,sans-serif}
