/* Ask Patrick widget — Moose colors (green / black / white). Scoped to #mmap so theme button styles can't leak in. */
#mmap { --g: #88B535; --gd: #6e9532; --gl: #eef5e1; --ink: #1b1b1b; --mute: #6b7280; --line: #e4e8dc; --gold: #f2b632;
  position: fixed; left: 20px; bottom: 20px; z-index: 99990; font-family: inherit; font-size: 15px; line-height: 1.45; color: var(--ink); -webkit-font-smoothing: antialiased; }
#mmap *, #mmap *::before, #mmap *::after { box-sizing: border-box; }
#mmap button { all: unset; box-sizing: border-box; cursor: pointer; font-family: inherit; -webkit-tap-highlight-color: transparent; }
#mmap button:focus-visible { outline: 3px solid var(--g); outline-offset: 2px; }
#mmap a { font-family: inherit; }
#mmap input, #mmap textarea { font-family: inherit; color: var(--ink); background: #fff; box-shadow: none; margin: 0; }

/* Launcher */
#mmap .mmap__launch { display: flex; align-items: center; gap: 10px; height: 62px; padding: 5px 22px 5px 5px; border-radius: 999px;
  background: linear-gradient(135deg, #9bc845 0%, #88B535 55%, #6e9532 100%); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .2px;
  box-shadow: 0 10px 28px rgba(27,27,27,.28), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .18s ease, box-shadow .18s ease; }
#mmap .mmap__launch:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(27,27,27,.32); }
#mmap .mmap__launch-img { width: 52px; height: 52px; flex: none; border-radius: 50%; background: #fff; border: 3px solid #fff; object-fit: cover; object-position: 50% 10%; }
#mmap .mmap__launch-txt { display: flex; flex-direction: column; line-height: 1.1; }
#mmap .mmap__launch-txt small { font-size: 11.5px; font-weight: 600; opacity: .92; letter-spacing: .3px; }
#mmap[data-open="true"] .mmap__launch { padding: 5px; }
#mmap[data-open="true"] .mmap__launch-txt { display: none; }
#mmap .mmap__dot { position: absolute; left: 44px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #3ccf5b; border: 2px solid #fff; }

/* Teaser bubble */
#mmap .mmap__tease { position: absolute; left: 0; bottom: 74px; max-width: 250px; padding: 12px 34px 12px 14px; background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px;
  box-shadow: 0 10px 30px rgba(27,27,27,.18); font-size: 14px; font-weight: 600; cursor: pointer; animation: mmapPop .35s ease both; }
#mmap .mmap__tease b { color: var(--gd); }
#mmap .mmap__tease-x { position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: var(--mute); font-size: 16px; }
#mmap .mmap__tease-x:hover { background: #f1f3ee; }
@keyframes mmapPop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

/* Panel */
#mmap .mmap__panel { position: absolute; left: 0; bottom: 78px; width: 390px; height: min(640px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: #fff; border-radius: 22px; box-shadow: 0 24px 60px rgba(27,27,27,.30); overflow: hidden; animation: mmapPop .25s ease both; }
#mmap .mmap__panel[hidden] { display: none; }
#mmap .mmap__head { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 16px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #2b2b2b 0%, #141414 60%), #141414; }
#mmap .mmap__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #88B535, #b6d76f, #88B535); }
#mmap .mmap__head-img { width: 50px; height: 50px; flex: none; border-radius: 50%; background: #fff; border: 3px solid var(--g); object-fit: cover; object-position: 50% 10%; }
#mmap .mmap__head-txt { flex: 1; min-width: 0; }
#mmap .mmap__head-txt strong { display: block; font-size: 18px; font-weight: 800; letter-spacing: .2px; }
#mmap .mmap__head-txt span { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #cfd8c0; }
#mmap .mmap__head-txt span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ccf5b; box-shadow: 0 0 0 3px rgba(60,207,91,.25); }
#mmap .mmap__close { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; font-size: 24px; line-height: 1; transition: background .15s; }
#mmap .mmap__close:hover { background: rgba(255,255,255,.2); }
#mmap .mmap__grow { height: 34px; padding: 0 12px 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .15s; }
#mmap .mmap__grow[hidden] { display: none; }
#mmap .mmap__grow:hover, #mmap .mmap__grow:focus-visible { background: rgba(255,255,255,.22); }
#mmap .mmap__grow svg { width: 16px; height: 16px; fill: currentColor; }
#mmap .mmap__grow--hint { background: var(--g); animation: mmapNudge 1.6s ease 2; }
@keyframes mmapNudge { 0%, 100% { transform: none; } 50% { transform: scale(1.08); } }
/* Bigger chat */
#mmap.mmap--big .mmap__panel { width: min(780px, calc(100vw - 48px)); height: calc(100vh - 110px); }
#mmap.mmap--big .mmap__msg { max-width: 78%; font-size: 15.5px; }
#mmap.mmap--big .mmap__home { flex-basis: 260px; }

#mmap .mmap__log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; background: #f6f8f2; overscroll-behavior: contain; scroll-behavior: smooth; }
#mmap .mmap__msg { max-width: 85%; margin: 0 0 10px; padding: 11px 14px; border-radius: 18px; word-wrap: break-word; font-size: 15px; animation: mmapPop .2s ease both; }
#mmap .mmap__msg--pat { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: 0 2px 6px rgba(27,27,27,.05); }
#mmap .mmap__msg--me { margin-left: auto; background: var(--g); color: #fff; border-bottom-right-radius: 6px; }
#mmap .mmap__msg a { color: var(--gd); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; font-size: inherit; }
#mmap .mmap__msg--me a { color: #fff; }
#mmap .mmap__msg strong { font-weight: 800; }
#mmap .mmap__src { margin-top: 9px; padding-top: 7px; border-top: 1px dashed var(--line); font-size: 12px; color: var(--mute); }
#mmap .mmap__src a { font-weight: 500; color: var(--mute); }
#mmap .mmap__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
#mmap .mmap__book { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 9px 16px; border-radius: 12px; background: var(--ink); color: #fff !important;
  font-weight: 800 !important; font-size: 14px; text-decoration: none !important; box-shadow: 0 4px 12px rgba(27,27,27,.2); transition: transform .15s, background .15s; }
#mmap .mmap__book:hover { background: #000; transform: translateY(-1px); }
#mmap .mmap__book::after { content: "→"; color: var(--g); font-weight: 800; }
#mmap .mmap__link { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink) !important; font-size: 13.5px; font-weight: 700 !important; text-decoration: none !important; }
#mmap .mmap__link:hover { border-color: var(--g); }

#mmap .mmap__chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 12px; }
#mmap .mmap__chip { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 15px; border: 1.5px solid var(--g); border-radius: 999px; background: #fff; color: var(--gd);
  font-size: 14px; font-weight: 700; line-height: 1.2; transition: background .15s, color .15s, transform .15s; }
#mmap .mmap__chip:hover { background: var(--g); color: #fff; transform: translateY(-1px); }

#mmap .mmap__typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
#mmap .mmap__typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); opacity: .5; animation: mmapDot 1s infinite ease-in-out; }
#mmap .mmap__typing i:nth-child(2) { animation-delay: .15s; } #mmap .mmap__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mmapDot { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-5px); opacity: 1; } }

#mmap .mmap__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 12px 8px; border-top: 1px solid var(--line); background: #fff; }
#mmap .mmap__input { flex: 1; min-height: 46px; max-height: 110px; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 23px; font-size: 16px; resize: none; line-height: 1.35; outline: none; }
#mmap .mmap__input:focus { border-color: var(--g); box-shadow: 0 0 0 4px rgba(136,181,53,.15); }
#mmap .mmap__send { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--g); display: grid; place-items: center; transition: background .15s, transform .15s; }
#mmap .mmap__send:hover { background: var(--gd); transform: scale(1.04); }
#mmap .mmap__send svg { width: 20px; height: 20px; fill: #fff; margin-left: 2px; }
#mmap .mmap__send[disabled] { opacity: .5; cursor: wait; }
#mmap .mmap__foot { margin: 0; padding: 0 14px 10px; background: #fff; font-size: 11px; line-height: 1.4; color: var(--mute); text-align: center; }
#mmap .mmap__foot a { color: var(--mute); font-size: 11px; font-weight: 600; text-decoration: underline; }

#mmap .mmap__ho { display: grid; gap: 8px; max-width: 94%; margin: 0 0 12px; padding: 14px; background: #fff; border-radius: 16px; border: 1.5px solid var(--g); box-shadow: 0 4px 14px rgba(27,27,27,.06); }
#mmap .mmap__ho-t { margin: 0; font-weight: 800; }
#mmap .mmap__plan { max-width: 94%; margin: 0 0 12px; padding: 14px; background: #fff; border-radius: 16px; border: 1.5px solid var(--g); box-shadow: 0 4px 14px rgba(27,27,27,.06); display: grid; gap: 10px; }
#mmap .mmap__plan-t { font-size: 16px; font-weight: 800; }
#mmap .mmap__plan-d b { display: block; font-size: 14px; border-left: 4px solid var(--g); padding-left: 8px; margin-bottom: 4px; }
#mmap .mmap__plan-d ul { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.45; }
#mmap .mmap__plan-d li { margin: 0 0 3px; list-style: disc; }
#mmap .mmap__plan .mmap__mini { justify-self: start; }
#mmap .mmap__homes-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 12px; }
#mmap .mmap__mini { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--g); color: var(--gd); background: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; }
#mmap .mmap__mini:hover { background: var(--gl); }
#mmap .mmap__cmp { margin: 0 -14px 12px; padding: 0 14px; overflow-x: auto; }
#mmap .mmap__cmp-t { border-collapse: separate; border-spacing: 0; min-width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 13px; }
#mmap .mmap__cmp-t th, #mmap .mmap__cmp-t td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 120px; line-height: 1.35; }
#mmap .mmap__cmp-t th { min-width: 78px; color: var(--mute); font-weight: 700; background: #fafbf7; position: sticky; left: 0; }
#mmap .mmap__cmp-h td { font-weight: 800; }
#mmap .mmap__cmp-h img { display: block; width: 100%; max-width: 160px; height: 84px; object-fit: cover; border-radius: 10px; margin-bottom: 6px; }
#mmap .mmap__cmp-f td, #mmap .mmap__cmp-f th { border-bottom: 0; }
#mmap .mmap__cmp-f .mmap__book { padding: 8px 12px; font-size: 13px; }
#mmap .mmap__cmp-n { margin: 6px 2px 0; font-size: 11.5px; color: var(--mute); }
#mmap .mmap__gp { display: grid; gap: 4px; max-width: 94%; margin: 0 0 12px; padding: 10px 14px 14px; background: #fff; border-radius: 16px; border: 1.5px solid var(--g); box-shadow: 0 4px 14px rgba(27,27,27,.06); }
#mmap .mmap__gp-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
#mmap .mmap__gp-l { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
#mmap .mmap__gp-l b { font-weight: 800; font-size: 15px; }
#mmap .mmap__gp-l small { font-size: 12px; color: var(--mute); }
#mmap .mmap__gp-b { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--g); color: var(--gd); font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; background: #fff; }
#mmap .mmap__gp-b:hover { background: var(--gl); }
#mmap .mmap__gp-b:disabled { opacity: .35; cursor: default; background: #fff; }
#mmap .mmap__gp-n { min-width: 26px; text-align: center; font-size: 18px; font-weight: 800; }
#mmap .mmap__gp-go { justify-content: center; margin-top: 8px; }
#mmap .mmap__ho select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 16px; background: #fff; color: inherit; }
#mmap .mmap__ho input, #mmap .mmap__ho textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 16px; outline: none; }
#mmap .mmap__ho input:focus, #mmap .mmap__ho textarea:focus { border-color: var(--g); }
#mmap .mmap__ho .mmap__book { justify-content: center; }
#mmap .mmap__ho-or { margin: 0; font-size: 13px; color: var(--mute); }
#mmap .mmap__ho-or a { color: var(--gd); font-weight: 800; }
#mmap .mmap__ho-msg { margin: 0; font-size: 13px; color: #8a1c12; }
#mmap .mmap__hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }

@media (max-width: 639px) {
  #mmap { left: 12px; bottom: 12px; }
  #mmap .mmap__launch { height: 56px; font-size: 15px; padding-right: 18px; }
  #mmap .mmap__launch-img { width: 46px; height: 46px; }
  #mmap .mmap__dot { left: 38px; }
  #mmap[data-open="true"] .mmap__launch { display: none; }
  #mmap .mmap__tease { bottom: 66px; }
  #mmap .mmap__panel { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; height: 88vh; height: 88dvh; border-radius: 22px 22px 0 0; }
  #mmap .mmap__msg { max-width: 90%; }
  #mmap.mmap--big .mmap__panel { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; }
  #mmap.mmap--big .mmap__msg { max-width: 90%; font-size: 15px; }
  #mmap .mmap__grow span { display: none; }
  #mmap .mmap__grow { padding: 0 9px; }
}
html.mmap-lock, html.mmap-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { #mmap *, #mmap { animation: none !important; transition: none !important; } }
@media print { #mmap { display: none !important; } }

/* Home cards (guided booking) */
#mmap .mmap__homes { display: flex; gap: 10px; overflow-x: auto; margin: 2px -14px 12px; padding: 2px 14px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
#mmap .mmap__home { flex: 0 0 236px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  text-decoration: none !important; color: var(--ink) !important; box-shadow: 0 4px 14px rgba(27,27,27,.08); transition: transform .15s, box-shadow .15s; }
#mmap .mmap__home:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27,27,27,.14); }
#mmap .mmap__home-img { width: 100%; height: 132px; object-fit: cover; display: block; background: #e9eee1; }
#mmap .mmap__home-bd { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; }
#mmap .mmap__home-name { font-size: 14.5px; font-weight: 800; line-height: 1.25; }
#mmap .mmap__home-facts { font-size: 12.5px; color: var(--mute); }
#mmap .mmap__home-tags { display: flex; gap: 5px; flex-wrap: wrap; }
#mmap .mmap__home-tags em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--gd); background: var(--gl); border-radius: 999px; padding: 2px 8px; }
#mmap .mmap__home-price { margin-top: 2px; font-size: 14px; font-weight: 800; }
#mmap .mmap__home-cta { margin-top: 6px; text-align: center; padding: 8px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; }
#mmap .mmap__home:hover .mmap__home-cta { background: #000; }
#mmap .mmap__home-cta::after { content: " →"; color: var(--g); }
/* Golf tee times */
#mmap .mmap__tee { max-width: 94%; margin: 0 0 12px; padding: 14px; background: #fff; border-radius: 16px; border: 1.5px solid var(--g); box-shadow: 0 4px 14px rgba(27,27,27,.06); display: grid; gap: 8px; }
#mmap .mmap__tee strong { font-size: 15px; font-weight: 800; }
#mmap .mmap__tee span { font-size: 13px; color: var(--mute); }
#mmap .mmap__tee .mmap__book { justify-self: start; }
#mmap-tee { position: fixed; inset: 0; z-index: 2147483600; background: rgba(27,27,27,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
#mmap-tee .mmap-tee__box { width: min(980px, 100%); height: min(88vh, 900px); background: #fff; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
#mmap-tee .mmap-tee__top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #1b1b1b; color: #fff; font: 700 15px/1.2 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
#mmap-tee .mmap-tee__top strong { flex: 1; }
#mmap-tee .mmap-tee__top a { color: #b6d76f; font-size: 13px; text-decoration: underline; }
#mmap-tee .mmap-tee__top button { all: unset; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: rgba(255,255,255,.12); }
#mmap-tee iframe { flex: 1; width: 100%; border: 0; }
@media (max-width: 639px) { #mmap-tee { padding: 0; } #mmap-tee .mmap-tee__box { height: 100%; border-radius: 0; } }
#mmap .mmap__tee-h { display: flex; align-items: center; gap: 10px; }
#mmap .mmap__tee-h img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--g); object-fit: cover; background: #000; }
/* Rate Patrick */
#mmap .mmap__rate { max-width: 94%; margin: 4px 0 12px; padding: 14px; background: var(--gl); border-radius: 16px; display: grid; gap: 8px; }
#mmap .mmap__rate strong { font-weight: 800; font-size: 14.5px; }
#mmap .mmap__stars { display: flex; gap: 4px; }
#mmap .mmap__star { font-size: 30px; line-height: 1; color: #c9d2b8; cursor: pointer; padding: 2px; transition: transform .1s, color .1s; }
#mmap .mmap__star.on { color: var(--gold); }
#mmap .mmap__star:hover { transform: scale(1.12); }
#mmap .mmap__rate-f { display: grid; gap: 8px; }
#mmap .mmap__rate-f textarea { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 16px; background: #fff; }
#mmap .mmap__rate-f .mmap__mini { justify-self: start; }
#mmap .mmap__rate-thx { font-size: 13.5px; color: var(--gd); font-weight: 700; }
#mmap .mmap__dine-b { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#mmap .mmap__dine-b a { text-decoration: none; }
#mmap .mmap__park { font-size: 12.5px; color: var(--mute); background: var(--gl); border-radius: 10px; padding: 8px 10px; line-height: 1.4; }
#mmap .mmap__park a { color: var(--gd); font-weight: 700; }
#mmap .mmap__conf { border-top: 1px dashed var(--line); padding-top: 8px; }
#mmap .mmap__conf-t { background: none; border: 0; padding: 0; color: var(--gd); font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: underline; }
#mmap .mmap__conf-f { display: flex; gap: 8px; }
#mmap .mmap__conf-f input { flex: 1; min-width: 0; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 16px; }
#mmap .mmap__conf-ok { font-size: 13px; color: var(--gd); font-weight: 700; }
#mmap .mmap__home-tags em.mmap__deal { background: var(--gold); color: #1b1b1b; }
/* Move Patrick */
@media (min-width: 640px) { #mmap .mmap__head { cursor: grab; touch-action: none; } }
#mmap .mmap__launch { touch-action: none; }
#mmap.mmap--drag, #mmap.mmap--drag * { cursor: grabbing !important; user-select: none; }
#mmap.mmap--drag .mmap__panel { animation: none; }
#mmap .mmap__forget { color: var(--gd); font-weight: 700; text-decoration: underline; font-size: inherit; }
