/* Main Street Miami Lakes 3D map: every rule is scoped to #msml3d-root so it neither leaks into nor inherits from the theme */
  #msml3d-root {
    --brown: #542317; --orange: #d36433; --green: #719430; --olive: #716649; --navy: #253c62;
    --cream: #fffaf2; --paper: #fbf4ea; --ink: #3d2a22; --muted: #8a7b70;
    position: relative; display: block; width: 100%; height: auto;
    overflow: hidden; isolation: isolate; container-type: inline-size;
    background: var(--paper); color: var(--ink); text-align: left;
    font: 400 14px/1.4 'Poppins', sans-serif; -webkit-font-smoothing: antialiased;
  }
  #msml3d-root .msml3d-stage { position: relative; height: var(--msml3d-h, 80vh); min-height: 460px; overflow: hidden; }
  #msml3d-root * { box-sizing: border-box; font-family: inherit; letter-spacing: normal; text-transform: none; }
  #msml3d-root button, #msml3d-root input { all: unset; box-sizing: border-box; font-family: inherit; color: var(--ink); }
  #msml3d-root button { cursor: pointer; }
  #msml3d-root button:focus-visible, #msml3d-root input:focus-visible, #msml3d-root a:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
  #msml3d-root p, #msml3d-root h2, #msml3d-root ul, #msml3d-root li { margin: 0; padding: 0; }
  #msml3d-root svg { display: block; max-width: none; }
  #msml3d-root .msml3d-map { position: absolute; inset: 0; }
  #msml3d-root .msml3d-map canvas { display: block !important; width: 100% !important; height: 100% !important; max-width: none !important; outline: none; cursor: grab; }
  #msml3d-root .msml3d-map canvas:active { cursor: grabbing; }
  #msml3d-root .msml3d-labels { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

  /* Pins */
  #msml3d-root .msml3d-pin { pointer-events: auto; cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: opacity .18s ease; }
  #msml3d-root .msml3d-pin__marker {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--c, var(--brown)); color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 2px 6px rgba(61,42,34,.35); border: 2px solid #fff;
    transition: transform .18s ease;
  }
  #msml3d-root .msml3d-pin__marker svg { width: 13px; height: 13px; fill: currentColor; }
  #msml3d-root .msml3d-pin__label {
    margin-top: 3px; padding: 2px 7px; border-radius: 4px; color: var(--ink);
    background: rgba(255,250,242,.94); font-weight: 600; font-size: 10.5px; line-height: 1.25;
    text-align: center; white-space: nowrap; box-shadow: 0 1px 3px rgba(61,42,34,.18);
  }
  #msml3d-root .msml3d-pin.msml3d-is-culled .msml3d-pin__label { visibility: hidden; }
  #msml3d-root .msml3d-pin.msml3d-is-dot .msml3d-pin__marker { transform: scale(.42); }
  #msml3d-root .msml3d-pin.msml3d-is-dot .msml3d-pin__marker svg { visibility: hidden; }
  #msml3d-root .msml3d-pin:hover, #msml3d-root .msml3d-pin.msml3d-is-active { z-index: 2; }
  #msml3d-root .msml3d-pin:hover .msml3d-pin__marker, #msml3d-root .msml3d-pin.msml3d-is-active .msml3d-pin__marker { transform: scale(1.25); }
  #msml3d-root .msml3d-pin:hover .msml3d-pin__marker svg, #msml3d-root .msml3d-pin.msml3d-is-active .msml3d-pin__marker svg { visibility: visible; }
  #msml3d-root .msml3d-pin:hover .msml3d-pin__label, #msml3d-root .msml3d-pin.msml3d-is-active .msml3d-pin__label { visibility: visible; background: var(--brown); color: #fff; }
  #msml3d-root .msml3d-pin.msml3d-is-hidden { display: none; }

  /* Directory panel */
  #msml3d-root .msml3d-panel {
    position: absolute; top: 16px; left: 16px; bottom: 16px; z-index: 5; width: 290px; max-width: calc(100% - 32px);
    display: flex; flex-direction: column;
    background: rgba(255,250,242,.96); border-radius: 12px; box-shadow: 0 8px 28px rgba(61,42,34,.14);
    overflow: hidden;
  }
  #msml3d-root .msml3d-panel__head { padding: 16px 16px 10px; display: flex; align-items: flex-start; justify-content: center; gap: 12px; }
  #msml3d-root .msml3d-brand { color: var(--brown); line-height: 1; }
  #msml3d-root .msml3d-brand__logo { display: block; width: 168px; height: auto; }
  #msml3d-root .msml3d-panel__toggle { display: none; font-size: 12px; font-weight: 600; color: var(--orange); padding: 4px 2px; }
  #msml3d-root .msml3d-search { margin: 0 16px 10px; position: relative; }
  /* extra .msml3d + [type] so it outranks the theme's `#top .main_color input[type="search"]` (Enfold) */
  #msml3d-root.msml3d .msml3d-search input[type] {
    display: block; width: 100%; height: auto; min-height: 0; margin: 0; padding: 9px 12px 9px 34px;
    border-radius: 22px; background: #fff; border: 1px solid rgba(84,35,23,.18); box-shadow: none;
    font-size: 13px; line-height: 1.4; color: var(--ink); cursor: text;
  }
  #msml3d-root .msml3d-search input::placeholder { color: var(--muted); }
  #msml3d-root .msml3d-search svg { position: absolute; left: 12px; top: 50%; width: 15px; height: 15px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
  #msml3d-root .msml3d-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; border-bottom: 1px solid rgba(84,35,23,.1); }
  #msml3d-root .msml3d-cats button {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 16px;
    font-size: 12px; font-weight: 500; background: #fff; border: 1px solid rgba(84,35,23,.14);
  }
  #msml3d-root .msml3d-cats button i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); display: grid; place-items: center; color: #fff; }
  #msml3d-root .msml3d-cats button i svg { width: 9px; height: 9px; fill: currentColor; }
  #msml3d-root .msml3d-cats button b { font-weight: 400; color: var(--muted); }
  #msml3d-root .msml3d-cats button[aria-pressed="false"] { opacity: .4; }
  #msml3d-root .msml3d-list { flex: 1; overflow-y: auto; list-style: none; padding: 6px 8px 10px; overscroll-behavior: contain; }
  #msml3d-root .msml3d-list li { list-style: none; }
  #msml3d-root .msml3d-list li[hidden] { display: none; }
  #msml3d-root .msml3d-list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border-radius: 8px; font-size: 13px; line-height: 1.3; }
  #msml3d-root .msml3d-list button:hover, #msml3d-root .msml3d-list button.msml3d-is-active { background: rgba(211,100,51,.1); }
  #msml3d-root .msml3d-list button i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
  #msml3d-root .msml3d-list small { margin-left: auto; padding-left: 8px; font-size: 10px; font-weight: 600; color: var(--orange); white-space: nowrap; }
  #msml3d-root .msml3d-list__empty { padding: 14px 10px; color: var(--muted); font-size: 13px; }

  /* Controls */
  #msml3d-root .msml3d-controls { position: absolute; right: 16px; bottom: 16px; z-index: 5; display: flex; flex-direction: column; gap: 8px; }
  #msml3d-root .msml3d-controls button {
    width: 40px; height: 40px; border-radius: 8px;
    background: rgba(255,250,242,.96); color: var(--brown); font-size: 20px; font-weight: 600; line-height: 1;
    box-shadow: 0 4px 14px rgba(61,42,34,.14); display: grid; place-items: center;
  }
  #msml3d-root .msml3d-controls button:hover { background: #fff; }
  #msml3d-root .msml3d-controls svg { width: 18px; height: 18px; }
  #msml3d-root .msml3d-controls .msml3d-compass svg { width: 22px; height: 22px; }
  #msml3d-root .msml3d-controls__sep { display: block; height: 4px; }

  /* Info card */
  #msml3d-root .msml3d-card {
    position: absolute; z-index: 6; right: 16px; top: 16px; width: 310px; max-width: calc(100% - 32px);
    background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(61,42,34,.22);
    overflow: hidden; transform: translateX(calc(100% + 40px)); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  #msml3d-root .msml3d-card.msml3d-is-open { transform: none; }
  #msml3d-root .msml3d-card { max-height: calc(100% - 32px); overflow-y: auto; text-align: left; }
  /* the /map/ page section centres its headings and paragraphs (.map-section-one h2 { text-align: center }) */
  #msml3d-root .msml3d-card :is(h2, p, ul, li, span, div) { text-align: left; }
  /* …and forces their colour with !important (.map-section-one h2, p { color: #4f4f4f !important }) */
  #msml3d-root .msml3d-card h2.msml3d-card__title { color: var(--brown) !important; }
  #msml3d-root .msml3d-card p.msml3d-card__unit { color: var(--muted) !important; }
  #msml3d-root .msml3d-card__media { height: 172px; background: var(--cream); display: grid; place-items: center; border-bottom: 1px solid rgba(84,35,23,.08); }
  /* the site's logos all share one 586x512 canvas: show the whole canvas (never crop it) at one fixed size, so every
     logo keeps its designed size and margin and they all read the same; live data sends the full-size file */
  #msml3d-root .msml3d-card__media img { width: auto; height: 156px; max-width: 82%; max-height: none; object-fit: contain; mix-blend-mode: multiply; }
  #msml3d-root .msml3d-card__media span { width: 64px; height: 64px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; }
  #msml3d-root .msml3d-card__media span svg { width: 30px; height: 30px; fill: currentColor; }
  #msml3d-root .msml3d-card__body { padding: 16px 18px 18px; }
  #msml3d-root .msml3d-card__cats { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0 36px 0 0; }
  #msml3d-root .msml3d-card__cats span { display: inline-block; padding: 2px 9px; border-radius: 11px; border: 1px solid var(--c); color: var(--c); font-size: 11px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
  #msml3d-root .msml3d-card__cats span:first-child { background: var(--c); color: #fff; }
  #msml3d-root .msml3d-card__soon { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; color: var(--orange); font-size: 12px; font-weight: 600; line-height: 1.4; }
  #msml3d-root .msml3d-card__soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(211,100,51,.18); }
  #msml3d-root .msml3d-card__soon[hidden] { display: none; }
  #msml3d-root .msml3d-card__title { font-weight: 600; font-size: 21px; line-height: 1.2; margin: 8px 0 4px; padding: 0; color: var(--brown); }
  #msml3d-root .msml3d-card__unit { margin: 0; font-size: 13px; color: var(--muted); }
  #msml3d-root .msml3d-card__info { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid rgba(84,35,23,.1); display: grid; gap: 8px; }
  #msml3d-root .msml3d-card__info:empty { display: none; }
  #msml3d-root .msml3d-card__info li { display: flex; gap: 10px; margin: 0; padding: 0; font-size: 13px; line-height: 1.4; color: var(--brown); }
  #msml3d-root .msml3d-card__info li::before { content: none; }
  #msml3d-root .msml3d-card__info svg { flex: none; width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  #msml3d-root .msml3d-card__info span { white-space: pre-line; min-width: 0; overflow-wrap: anywhere; }
  #msml3d-root .msml3d-card__info a { color: var(--brown); text-decoration: underline; text-decoration-color: rgba(84,35,23,.3); text-underline-offset: 2px; }
  #msml3d-root .msml3d-card__info a:hover { color: var(--orange); }
  #msml3d-root .msml3d-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
  #msml3d-root .msml3d-card__link, #msml3d-root .msml3d-card__call {
    display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 22px;
    background: var(--orange); color: #fff; font-size: 13px; font-weight: 500; text-decoration: none;
  }
  #msml3d-root .msml3d-card__link:hover { background: var(--brown); color: #fff; }
  #msml3d-root .msml3d-card__call { display: none; background: #fff; color: var(--orange); box-shadow: inset 0 0 0 1.5px var(--orange); }
  #msml3d-root .msml3d-card__call svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  #msml3d-root .msml3d-card__call:hover { background: var(--orange); color: #fff; }
  #msml3d-root .msml3d-card__link[hidden], #msml3d-root .msml3d-card__call[hidden] { display: none; }
  #msml3d-root .msml3d-card__close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--brown); box-shadow: 0 1px 4px rgba(61,42,34,.15); }

  #msml3d-root .msml3d-hint, #msml3d-root .msml3d-zoomhint {
    position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 4;
    background: rgba(84,35,23,.86); color: #fff; font-size: 12px; line-height: 1.3; padding: 7px 14px; border-radius: 20px;
    transition: opacity .6s ease; pointer-events: none; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis;
  }
  #msml3d-root .msml3d-hint.msml3d-is-gone { opacity: 0; }
  #msml3d-root .msml3d-zoomhint { bottom: auto; top: 50%; transform: translate(-50%, -50%); font-size: 14px; padding: 10px 18px; opacity: 0; transition: opacity .25s ease; z-index: 7; }
  #msml3d-root .msml3d-zoomhint.msml3d-is-shown { opacity: 1; }

  #msml3d-root .msml3d-loading { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper); z-index: 10; transition: opacity .6s ease; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--brown); }
  #msml3d-root .msml3d-loading.msml3d-is-done { opacity: 0; pointer-events: none; }

  @container (min-width: 641px) { #msml3d-root .msml3d-hint { left: calc(50% + 153px); } }
  @container (max-width: 640px) {
    #msml3d-root .msml3d-stage { height: var(--msml3d-h-mobile, 75vh); }
    #msml3d-root .msml3d-panel { top: 12px; left: 12px; right: 12px; bottom: auto; width: auto; max-width: none; max-height: calc(100% - 24px); }
    #msml3d-root .msml3d-panel__head { padding: 10px 14px 8px; align-items: center; justify-content: space-between; }
    #msml3d-root .msml3d-brand__logo { width: auto; height: 34px; }
    #msml3d-root .msml3d-panel__toggle { display: inline-block; }
    #msml3d-root .msml3d-search { margin: 0 14px 8px; }
    #msml3d-root .msml3d-cats { padding: 0 14px 10px; }
    #msml3d-root .msml3d-panel.msml3d-is-collapsed .msml3d-search,
    #msml3d-root .msml3d-panel.msml3d-is-collapsed .msml3d-cats,
    #msml3d-root .msml3d-panel.msml3d-is-collapsed .msml3d-list { display: none; }
    #msml3d-root .msml3d-list { max-height: 34vh; }
    #msml3d-root .msml3d-card { top: auto; bottom: 12px; left: 12px; right: 12px; width: auto; max-width: 400px; margin: 0 auto; max-height: calc(100% - 24px); border-radius: 14px; transform: translateY(calc(100% + 24px)); }
    #msml3d-root .msml3d-card__media { height: 128px; }
    #msml3d-root .msml3d-card__media img { height: auto; max-width: 78%; max-height: 112px; }
    #msml3d-root .msml3d-card__body { padding: 14px 16px 16px; }
    #msml3d-root .msml3d-card__title { font-size: 19px; }
    #msml3d-root .msml3d-card__call { display: inline-flex; }
    #msml3d-root .msml3d-controls { bottom: 12px; right: 12px; }
    #msml3d-root .msml3d-controls button { width: 36px; height: 36px; }
  }
