/* V800kq waypoint marker/picker. Only created for Public and Admin where enabled. */
#expoWpPublicMarkerV800kq,.expoWpExtraPinV800kq,.expoWpAdminPin{position:absolute;z-index:91;transform:translate(-50%,-95%);border-radius:100%;width:38px;height:38px;display:grid;place-items:center;background:var(--accentText,#66317b);border:3px solid #fff;color:#fff;box-shadow:0 1px 8px rgba(0,0,0,.33);font:900 22px/1 system-ui;pointer-events:auto;touch-action:manipulation;cursor:pointer}
.expoWpExtraPinV800kq{width:25px;height:25px;font-size:16px;opacity:.75;z-index:89}
#expoWpPublicMarkerV800kq[hidden],.expoWpExtraPinV800kq[hidden],.expoWpAdminPin[hidden]{display:none!important}
.expoWpDockV800kq{position:absolute;top:9px;right:9px;z-index:92;display:flex;flex-direction:column;gap:5px;max-width:min(65%,260px);pointer-events:none}
.expoWpDockV800kq>*{pointer-events:auto}
.expoWpDockV800kq button,.expoWpDockV800kq .expoWpLabel{border:1px solid var(--border,#ded6e3);border-radius:12px;background:var(--card,#fff);color:var(--text,#222);padding:7px 10px;font:800 11px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 2px 10px #0002}
.expoWpDockV800kq button{cursor:pointer;font-family:inherit;font-weight:800}
.expoWpPickerV800kq{position:absolute;z-index:100;top:9px;left:50%;transform:translateX(-50%);width:min(370px,calc(100% - 20px));max-height:65%;overflow:auto;border:1px solid var(--border,#c3b6ce);border-radius:14px;background:var(--card,#fff);color:var(--text,#222);padding:13px;box-shadow:0 12px 25px #0003;font:600 13px/1.4 system-ui;touch-action:pan-y}
.expoWpPickerV800kq[hidden]{display:none!important}
.expoWpPickerV800kq button{display:block;width:100%;text-align:left;margin-top:7px;padding:9px;border:1px solid var(--border,#ddd);border-radius:10px;background:var(--card,#fff);color:var(--text,#222);font:750 13px/1.2 system-ui}
.expoWpPickerV800kq button[data-active="true"]{outline:2px solid var(--accentText,#66317b)}
.expoWpPickerV800kq strong{display:block;margin-bottom:7px}
.expoWpRow{display:block;width:100%;margin:6px 0;text-align:left;padding:9px;border:1px solid var(--border,#aaa);border-radius:10px;background:transparent;color:inherit;font:inherit;cursor:pointer}
.expoWpRow[aria-pressed="true"]{outline:2px solid var(--accentText,#74468b)}
.expoWpAdminPin{z-index:105;pointer-events:none}
.expoWpPlacing #zoomWrap{cursor:crosshair!important}
.expoWpAdminFields{display:grid;gap:8px;margin:10px 0}
.expoWpAdminFields label{display:grid;gap:3px;font-weight:700;font-size:12px}
.expoWpAdminFields input{max-width:100%;min-height:38px;border:1px solid var(--border,#b8a2c7);border-radius:9px;padding:7px;background:var(--card,#fff);color:var(--text,#111);font:inherit}
.expoWpControls{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}
.expoWpControls button{padding:8px 10px;border-radius:10px;border:1px solid var(--border,#ddd);background:transparent;color:inherit;font:750 12px system-ui}
[data-wp-status][data-error="1"]{color:#a12222}
@media (max-width:540px){.expoWpDockV800kq{top:8px;right:7px;max-width:65%}.expoWpDockV800kq .expoWpLabel{font-size:10px;padding:6px 8px}}

.expoWpQrPreviewV800kq{padding:12px;text-align:center;background:#fff;color:#222;border-radius:13px;margin:10px 0;border:1px solid #ccc}
.expoWpQrPreviewV800kq[hidden]{display:none!important}
.expoWpQrPreviewV800kq svg{display:block;max-width:100%;height:auto;margin:8px auto}

/* V800kq1: transparent pointer shield active ONLY during explicit placement.
   It blocks the map's pan handlers while dragging a waypoint, without changing
   zoom/pan behavior the rest of the time. Marker geometry lives in the SVG. */
#expoWpPlacementShieldV800kq1{position:absolute;inset:0;z-index:106;display:none;cursor:crosshair;touch-action:none;background:transparent;user-select:none;-webkit-user-select:none;}
#expoWpAdminSvgMarkerV800kq1{pointer-events:none;}


/* V800kq2 — Public QR origin reuses the existing Touchscreen pin/halo,
   two-ring attract animation and floating label. Marker centre is EXACTLY
   the plan coordinate; the label is independently floated, no leader line. */
#expoWpPublicMarkerV800kq{
  position:absolute;z-index:91;width:40px;height:40px;
  transform:translate(-50%,-50%);padding:0;border:0;border-radius:0;
  background:none;box-shadow:none;color:inherit;display:block;
  overflow:visible;cursor:pointer;touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
#expoWpPublicMarkerV800kq .expoWpPublicPinV800kq2,
#expoWpPublicMarkerV800kq .expoWpPublicPulseV800kq2{
  left:50%;top:50%;pointer-events:none;
}
#expoWpPublicMarkerV800kq .expoWpPublicPulseV800kq2{
  animation-play-state:running;
}
#expoWpPublicMarkerV800kq .expoWpPublicFloatingLabelV800kq2{
  left:50%;top:-35px;z-index:4;
  transform:translate(calc(-50% + var(--expo-wp-label-nudge, 0px)),-50%);
  font:950 12px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:rgba(255,255,255,.96);color:#17111c;
  pointer-events:none;
  max-width:calc(100vw - 32px);
}
#expoWpPublicMarkerV800kq.expoWpPublicLabelBelowV800kq2 .expoWpPublicFloatingLabelV800kq2{
  top:78px;
}
#expoWpPublicMarkerV800kq:focus-visible{
  outline:2px solid var(--touchscreenMarkerColor,var(--selected,#2563eb));
  outline-offset:14px;border-radius:50%;
}
/* Other named locations are selectable pins, NOT another 'you are here'. */
.expoWpExtraPinV800kq{
  width:30px;height:30px;transform:translate(-50%,-50%);
  background:rgba(255,255,255,.92);color:var(--touchscreenMarkerColor,var(--selected,#2563eb));
  border:2px solid currentColor;border-radius:50%;padding:5px;
  box-shadow:0 2px 7px #0003;opacity:.9;
}
.expoWpExtraPinV800kq svg{display:block;width:100%;height:100%;overflow:visible;fill:currentColor;}
.expoWpExtraPinV800kq svg circle{fill:#fff;}
@media(prefers-reduced-motion:reduce){
  #expoWpPublicMarkerV800kq .expoWpPublicPulseV800kq2{display:none!important;}
}

/* V800kq2 phone non-regression: earlier invalid CSS font shorthand allowed
   the site's large default button font to enlarge the starting-point dock. */
@media(max-width:540px){
  .expoWpDockV800kq{width:max-content;max-width:min(58%,210px);align-items:flex-end;}
  .expoWpDockV800kq .expoWpLabel,.expoWpDockV800kq button{
    width:max-content;max-width:100%;min-height:0;
    padding:6px 10px;font-size:11px;line-height:1.25;text-align:center;
    white-space:normal;
  }
}

/* V800kq3: QR origin is a visible tap target, not a square button. Strong
   specificity prevents inherited branded-button backgrounds/text fills from
   swallowing the pulse label on iPhone Safari. */
#zoomWrap #expoWpPublicMarkerV800kq{
  background:transparent!important;background-color:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  -webkit-appearance:none!important;appearance:none!important;
  outline:none;opacity:1!important;
  min-width:40px!important;min-height:40px!important;max-width:none!important;
  padding:0!important;overflow:visible!important;
}
#zoomWrap #expoWpPublicMarkerV800kq .expoWpPublicFloatingLabelV800kq2{
  width:max-content;max-width:min(220px,calc(100vw - 28px));
  min-height:0;min-width:0;box-sizing:border-box;display:inline-flex!important;
  align-items:center!important;gap:8px!important;
  padding:8px 11px!important;
  white-space:nowrap!important;
  background:#fff!important;background-color:#fff!important;
  color:#281c30!important;-webkit-text-fill-color:#281c30!important;
  opacity:1!important;visibility:visible!important;
  border:1px solid color-mix(in srgb,var(--touchscreenMarkerColor) 35%,#fff)!important;
  box-shadow:0 5px 16px #0002!important;border-radius:18px!important;
  /* The floating text is part of the hit target: tap anywhere on the pill. */
  pointer-events:auto!important;cursor:pointer!important;
}
#zoomWrap #expoWpPublicMarkerV800kq .expoWpPublicFloatingCopyV800kq3{
  display:flex!important;flex-direction:column;align-items:flex-start;
  gap:2px;min-width:0;color:#281c30!important;-webkit-text-fill-color:#281c30!important;
}
#zoomWrap #expoWpPublicMarkerV800kq .touchscreenMarkerLabelText{
  display:block!important;color:#281c30!important;-webkit-text-fill-color:#281c30!important;
  opacity:1!important;visibility:visible!important;
  font:900 13px/1.15 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
#zoomWrap #expoWpPublicMarkerV800kq .expoWpPublicRouteHintV800kq3{
  display:block!important;color:#5b4768!important;-webkit-text-fill-color:#5b4768!important;
  opacity:1!important;visibility:visible!important;
  font:800 11px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
#zoomWrap #expoWpPublicMarkerV800kq .touchscreenMarkerLabelIcon{
  color:var(--touchscreenMarkerColor)!important;
  -webkit-text-fill-color:var(--touchscreenMarkerColor)!important;
}
#zoomWrap #expoWpPublicMarkerV800kq .expoWpPublicPinV800kq2{
  background:color-mix(in srgb,var(--touchscreenMarkerColor) 10%,transparent)!important;
  border-radius:50%!important;
}
#zoomWrap .expoWpDockV800kq{right:auto!important;top:auto!important;left:8px!important;bottom:8px!important;max-width:calc(100% - 16px)!important;}
#zoomWrap .expoWpDockV800kq[hidden],#zoomWrap .expoWpDockV800kq button[hidden]{display:none!important;}
@media(max-width:700px){
  #zoomWrap #expoWpPublicMarkerV800kq .expoWpPublicFloatingLabelV800kq2{padding:7px 9px!important;}
  #zoomWrap #expoWpPublicMarkerV800kq .touchscreenMarkerLabelText{font-size:12px!important;}
  #zoomWrap #expoWpPublicMarkerV800kq .expoWpPublicRouteHintV800kq3{font-size:10px!important;}
}
