/* map/ - full-screen live map. Bright palette and the person card follow me/visit-cards/bright-visit-card.html. */
:root {
  --ink: #14203d; --ink-2: #4a5675; --ink-3: #67718f;
  --line: #cfd8e8; --panel-2: #f2f6fe; --link-line: #7aa2f7;
  --blue: #2f6df0; --green: #17a35a; --amber: #c9791a; --red: #d13c41;
  --shadow: 0 1px 3px rgba(11,18,38,.18), 0 8px 24px rgba(11,18,38,.2);
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body { font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: #edf0f5; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Google writes position:relative inline on this element; without !important and a real size the map has no height. */
#map { position: fixed !important; inset: 0; width: 100%; height: 100%; touch-action: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.mp-map-msg { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; text-align: center; color: var(--ink-2); font-weight: 600; }

/* ---- top bar ---- */
.mp-top { position: fixed; z-index: 20; top: calc(10px + var(--safe-t)); left: 10px; right: 10px; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.mp-top > * { pointer-events: auto; }
.mp-round { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.mp-qr-btn { position: absolute; top: 54px; right: 0; }
.mp-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }

.mp-status { flex: none; height: 46px; padding: 0 14px 0 12px; display: flex; align-items: center; gap: 8px; border-radius: 23px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 800; }
.mp-status i { width: 12px; height: 12px; border-radius: 50%; background: #98a3bb; }
.mp-status.available i { background: var(--amber); }
.mp-status.sharing i { background: var(--green); animation: mp-beacon 1.8s infinite; }
@keyframes mp-beacon { 0% { box-shadow: 0 0 0 0 rgba(23,163,90,.55); } 100% { box-shadow: 0 0 0 11px rgba(23,163,90,0); } }

.mp-people { flex: 1; min-width: 0; display: flex; gap: 6px; padding: 3px 2px; overflow-x: auto; scrollbar-width: none; }
.mp-people::-webkit-scrollbar { display: none; }
.mp-av { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #fff; color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(20,32,61,.4), 0 3px 8px rgba(11,18,38,.35); }
.mp-av.selected { box-shadow: 0 0 0 3px var(--blue), 0 3px 8px rgba(11,18,38,.35); }
.mp-av.mine { box-shadow: 0 0 0 2px var(--green), 0 3px 8px rgba(11,18,38,.35); }
.mp-signin { flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 20px; background: var(--blue); color: #fff; font-weight: 800; font-size: 13px; box-shadow: var(--shadow); }

/* ---- controls, lower right ---- */
.mp-controls { position: fixed; z-index: 20; right: 12px; bottom: calc(22px + var(--safe-b)); display: flex; flex-direction: column; align-items: center; gap: 10px; }
#mp-needle { transition: transform .15s linear; }
.mp-zoom { width: 46px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.mp-zoom button { height: 46px; border: 0; background: none; font-size: 24px; font-weight: 600; line-height: 1; }
.mp-zoom button + button { border-top: 1px solid var(--line); }

/* ---- pins ---- */
.mp-pin { position: absolute; width: 42px; height: 42px; margin: -21px 0 0 -21px; padding: 0; border-radius: 50%; border: 3px solid #fff; color: #fff; font-size: 14px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(20,32,61,.45), 0 3px 10px rgba(11,18,38,.4); cursor: pointer; }
.mp-pin.selected { z-index: 3; animation: mp-found 1.1s ease-in-out infinite; }
@keyframes mp-found { 0%,100% { box-shadow: 0 0 0 3px var(--blue), 0 0 0 7px rgba(47,109,240,.35); transform: scale(1); } 50% { box-shadow: 0 0 0 3px var(--blue), 0 0 0 16px rgba(47,109,240,.1); transform: scale(1.14); } }
.mp-me { position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(20,32,61,.4), 0 0 0 11px rgba(47,109,240,.16); pointer-events: none; }
.mp-me-cone { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; z-index: -1; background: conic-gradient(from -35deg, rgba(47,109,240,.62) 0 70deg, transparent 70deg); -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 72%); mask-image: radial-gradient(circle, #000 25%, transparent 72%); transition: transform .15s linear; }
.mp-me-cone[hidden] { display: none; }

.mp-arrow { position: fixed; z-index: 19; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; border: 2px solid #fff; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }

/* ---- peek chip + toasts ---- */
.mp-peek { position: fixed; z-index: 21; left: 70px; right: 70px; max-width: 360px; bottom: calc(22px + var(--safe-b)); display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.mp-peek div { flex: 1; min-width: 0; }
.mp-peek b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-peek small { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.mp-tops { position: fixed; z-index: 30; top: calc(66px + var(--safe-t)); left: 50%; transform: translateX(-50%); width: min(92vw, 420px); display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.mp-toasts { display: flex; flex-direction: column; gap: 8px; }
.mp-toast { pointer-events: auto; width: 100%; display: flex; gap: 8px; align-items: center; padding: 11px 14px; text-align: left; background: var(--ink); color: #fff; border: 0; border-radius: 14px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); animation: mp-in .22s ease-out; }
.mp-toast.bad { background: var(--red); }
@keyframes mp-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---- buttons ---- */
.mp-btn { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; color: var(--ink); }
.mp-btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.mp-btn.ok { background: var(--green); border-color: var(--green); color: #fff; }
.mp-btn.small { min-height: 36px; padding: 0 12px; font-size: 13px; }
.mp-btn.wide { width: 100%; }
.mp-conn-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.mp-conn-foot .mp-hint { margin: 0; }
.mp-btn[disabled] { opacity: .55; cursor: default; }
.mp-link { padding: 8px 2px; border: 0; background: none; color: var(--blue); font-size: 13px; font-weight: 700; }

/* ---- panels ---- */
.mp-overlay { position: fixed; z-index: 40; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgba(11,18,38,.35); }
.mp-overlay.side { justify-content: flex-end; align-items: flex-start; }
.mp-sheet { position: relative; width: min(100%, 440px); max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 20px 18px calc(18px + var(--safe-b)); box-shadow: var(--shadow); animation: mp-up .2s ease-out; }
.mp-overlay.side .mp-sheet { width: min(88vw, 240px); max-height: 100%; border-radius: 22px 0 0 22px; padding-top: calc(20px + var(--safe-t)); animation: mp-side .2s ease-out; }
.mp-help { display: flex; gap: 12px; padding: 8px 0; }
.mp-help span { width: 26px; flex: none; text-align: center; font-size: 19px; }
.mp-help p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.mp-help b { display: block; font-size: 14px; color: inherit; }
@media (min-width: 620px) { .mp-overlay:not(.side) { align-items: center; } .mp-overlay:not(.side) .mp-sheet { border-radius: 22px; } }
@keyframes mp-up { from { transform: translateY(24px); opacity: .4; } }
@keyframes mp-side { from { transform: translateX(24px); opacity: .4; } }
.mp-sheet:focus { outline: none; }
.mp-sheet h2 { margin: 0 44px 14px 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.mp-x { position: absolute; z-index: 2; top: 12px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; font-size: 22px; line-height: 1; color: var(--ink-2); }
.mp-i { position: absolute; z-index: 2; top: 12px; left: 10px; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--ink-2); }
.mp-i:hover { background: rgba(20,32,61,.08); }
.mp-i ~ h2, .mp-i ~ .mp-who { margin-left: 34px; }
.mp-actions .mp-i { position: static; align-self: flex-end; margin: 0 -8px -8px auto; }
.mp-help a { color: inherit; text-decoration: underline; }
.mp-help p { flex: 1; min-width: 0; }
.mp-help a.mp-help-more { float: right; margin: 0 0 4px 10px; padding: 7px 10px; border-radius: 999px; background: rgba(20,32,61,.06); color: var(--blue); font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; text-decoration: none; }
.mp-help a.mp-help-more:hover { background: rgba(20,32,61,.12); }
.mp-hint { margin: 0 0 12px; color: var(--ink-3); font-size: 13px; line-height: 1.45; }

.mp-row { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-bottom: 1px solid #e8edf5; }
.mp-row > div { flex: 1; min-width: 0; }
.mp-row b { display: block; font-size: 15px; }
.mp-row small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.mp-switch { flex: none; position: relative; width: 52px; height: 32px; padding: 0; border: 0; border-radius: 16px; background: #c3ccdc; transition: background .15s; }
.mp-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
.mp-switch[aria-checked="true"] { background: var(--green); }
.mp-switch[aria-checked="true"]::after { transform: translateX(20px); }
.mp-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mp-chip { padding: 6px 12px; min-height: 34px; border-radius: 17px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; }
.mp-chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.mp-chip.x { display: inline-flex; align-items: center; gap: 6px; background: var(--panel-2); }
.mp-actions { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; }

/* menu */
.mp-persona { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-right: 72px; border-bottom: 1px solid #e8edf5; }
.mp-persona i { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; }
.mp-persona div { flex: 1; min-width: 0; }
.mp-persona b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-persona-type { display: block; color: var(--ink-3); font-size: 12.5px; font-weight: 500; }
.mp-item { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 4px; border: 0; background: none; text-align: left; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: none; }
.mp-item.plain, .mp-link.plain { font-weight: 400; }
.mp-item.danger { color: var(--red); }
.mp-item > span:first-child svg { display: block; width: 22px; height: 22px; margin: 0 auto; }
.mp-profile-skills { display: block; width: 100%; margin: 4px 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; color: var(--ink); font-size: 14px; }
.mp-profile-skills small { display: block; margin-top: 3px; color: var(--ink-2); font-size: 13px; }
.mp-profile-skills .mp-tags { margin-top: 8px; }
.mp-item span:first-child { width: 26px; text-align: center; font-size: 19px; }
.mp-item em { margin-left: auto; min-width: 22px; padding: 0 6px; border-radius: 11px; background: var(--red); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; line-height: 22px; text-align: center; }
.mp-sep { height: 1px; margin: 8px 0; background: #e8edf5; }

/* forms */
.mp-field { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.mp-field-optional { font-weight: 400; }
.mp-name-row { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 12px; }
.mp-name-row .mp-field { flex: 1; min-width: 0; margin-bottom: 0; }
.mp-flag { flex: none; width: 46px; height: 46px; border: 1px solid #aab6cc; border-radius: 12px; background: #fff; font-size: 24px; line-height: 1; }
.mp-field input { display: block; width: 100%; height: 46px; margin-top: 4px; padding: 0 12px; border-radius: 12px; border: 1px solid #aab6cc; background: #fff; font-size: 16px; font-weight: 500; color: var(--ink); }
.mp-err { margin: 0 0 10px; color: var(--red); font-size: 13px; font-weight: 600; }
.mp-suggest { display: flex; flex-direction: column; margin: -6px 0 10px; }
.mp-suggest small { color: var(--ink-3); font-weight: 500; }
.mp-suggest button { padding: 10px 6px; min-height: 42px; border: 0; border-bottom: 1px solid #e8edf5; background: none; text-align: left; font-weight: 600; }

/* notifications */
.mp-note { padding: 12px 2px; border-bottom: 1px solid #e8edf5; }
.mp-note.new { background: linear-gradient(90deg, rgba(47,109,240,.08), transparent 60%); }
.mp-note p { margin: 0; font-size: 14px; line-height: 1.4; }
.mp-note small { color: var(--ink-3); font-size: 12px; }
.mp-note q { display: block; margin-top: 3px; color: var(--ink-2); font-size: 13.5px; }
.mp-note .do { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.mp-note.who { display: flex; gap: 10px; align-items: flex-start; }
.mp-note.who > div { flex: 1; min-width: 0; }
.mp-note-av { flex: none; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; }
span.mp-note-av { cursor: default; }
.mp-note-av i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; font-size: 14px; }
.mp-note-name { padding: 0; border: 0; background: none; font: inherit; font-weight: 800; color: var(--blue); cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.mp-note-name:hover { text-decoration: underline; }
a.mp-note-av { display: block; text-decoration: none; }
a.mp-note-name { text-decoration: none; }
a.mp-note-name:hover { text-decoration: underline; }
.mp-empty { padding: 26px 8px; text-align: center; color: var(--ink-3); font-size: 14px; font-weight: 600; }

/* ---- the person card (visit card's .member) ---- */
.mp-card { position: relative; }
.mp-who { display: flex; gap: 14px; margin-right: 44px; }
.mp-who .av { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mp-who .av i { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; font-size: 18px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(231,160,90,.85); }
.mp-who .av small { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.mp-who h1 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; overflow-wrap: anywhere; }
.mp-who p { margin: 2px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.mp-who > div:last-child { min-width: 0; }
.mp-who p.mp-who-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-box { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 9px 12px; border: 1.5px solid var(--link-line); border-radius: 10px; background: var(--panel-2); text-decoration: none; color: var(--ink); }
.mp-box b { display: block; color: var(--blue); font-size: 14px; }
.mp-box span { display: block; font-size: 13px; overflow-wrap: anywhere; }
.mp-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.mp-tags span { padding: 3px 9px; border-radius: 11px; background: var(--panel-2); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); }
.mp-foot { margin-top: 10px; color: var(--ink-3); font-size: 12.5px; }
.mp-opt { padding: 10px 0; border-bottom: 1px solid #e8edf5; }
.mp-opt h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.mp-opt h4 { margin: 8px 0 0; color: var(--ink-2); font-size: 12.5px; font-weight: 800; }
.mp-opt + .mp-err { margin-top: 10px; }
.mp-opt ~ .mp-btn { margin-top: 12px; }
.mp-links-head { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.mp-add { flex: none; width: 32px; height: 32px; padding: 0; border: 1px solid var(--blue); border-radius: 50%; background: #fff; color: var(--blue); font: inherit; font-size: 20px; font-weight: 600; line-height: 1; cursor: pointer; }
.mp-chips.mp-emoji-mono .mp-emoji span { filter: grayscale(1); }
.mp-check input { flex: none; }
.mp-check span { min-width: 0; overflow-wrap: anywhere; }
.mp-check small { display: block; color: var(--ink-3); font-size: 12.5px; font-weight: 500; line-height: 1.4; }
.mp-check b { font-size: 15px; font-weight: 800; }
.mp-chip.mp-emoji { width: 42px; min-height: 42px; padding: 0; font-size: 19px; }
.mp-chip.mp-emoji[aria-pressed="true"] { background: #dbe7ff; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.mp-pin.meet { box-shadow: 0 0 0 3px var(--green), 0 3px 10px rgba(11,18,38,.4); }
.mp-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 600; }
.mp-at-event { padding: 13px 2px 4px; border-bottom: 1px solid #e8edf5; }
.mp-at-event > b { display: block; font-size: 15px; }
.mp-at-event small { display: block; color: var(--ink-3); font-size: 12.5px; font-weight: 500; }
.mp-check input { width: 20px; height: 20px; accent-color: var(--blue); }
.mp-sent { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); font-size: 14px; font-weight: 700; }

/* ---- radius messaging, lower left ---- */
.mp-msg-btn { position: fixed; z-index: 20; left: 12px; bottom: calc(22px + var(--safe-b)); }
.mp-msg-btn[aria-expanded="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
/* Create event + B2B + Any.Company, stacked above the messages icon; hidden while the translucent messages panel covers that spot */
.mp-site-links { position: fixed; z-index: 20; left: 12px; bottom: calc(78px + var(--safe-b)); display: flex; flex-direction: column; gap: 10px; }
.mp-site-links img { display: block; width: 26px; height: 26px; object-fit: contain; }
.mp-msg-btn[aria-expanded="true"] + .mp-site-links { display: none; }
.mp-msg-top { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-msgs { position: fixed; z-index: 22; left: 12px; bottom: calc(78px + var(--safe-b)); width: min(calc(100vw - 24px), 380px); height: min(58vh, 520px); display: flex; flex-direction: column; border: 1px solid rgba(207,216,232,.8); border-radius: 18px; background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: var(--shadow); }
.mp-msgs-head { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 8px 8px 14px; border-bottom: 1px solid rgba(20,32,61,.12); }
.mp-msgs-head > div { flex: 1; min-width: 0; }
.mp-msgs-head h2 { margin: 0; font-size: 15px; font-weight: 800; }
.mp-msgs-head p { margin: 1px 0 0; color: var(--ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-msg-icon { flex: none; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--ink-2); font-size: 18px; line-height: 1; }
.mp-msg-icon:hover { background: rgba(20,32,61,.08); }
.mp-msg-list { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 12px; }
.mp-m { padding: 6px 0; font-size: 14px; line-height: 1.38; }
.mp-m-top { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.mp-m-top b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-m-top time { color: var(--ink-2); }
.mp-m-dm { flex: none; padding: 0 6px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; }
.mp-m-do { display: flex; margin-left: auto; }
.mp-m-do .mp-msg-icon { width: 30px; height: 30px; font-size: 15px; }
.mp-m p { margin: 1px 0 0; overflow-wrap: anywhere; }
/* a company promo message (markup, ../shared/markup.js) */
.mp-m-promo { margin: 3px 0 0; padding: 8px 10px; border: 1px solid var(--line); border-left: 3px solid var(--link-line); border-radius: 10px; background: var(--panel-2); overflow-wrap: anywhere; }
.mp-m-promo p, .mp-m-promo ul { margin: 0 0 6px; }
.mp-m-promo > :last-child { margin-bottom: 0; }
.mp-m-promo ul { padding-left: 20px; }
.mp-m blockquote { margin: 2px 0 0; padding-left: 8px; border-left: 3px solid var(--link-line); color: var(--ink-2); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-msg-pick { flex: none; padding: 10px 14px 14px; font-size: 13px; line-height: 1.4; }
.mp-msg-pick p { margin: 0 0 8px; }
.mp-msg-form { flex: none; padding: 6px 8px 8px; border-top: 1px solid rgba(20,32,61,.12); }
.mp-msg-row { display: flex; align-items: center; gap: 2px; }
.mp-msg-row input, .mp-dm-text { flex: 1; min-width: 0; height: 40px; margin: 0 4px; padding: 0 10px; border-radius: 12px; border: 1px solid #aab6cc; background: #fff; font-size: 16px; }
.mp-dm-text { display: block; width: 100%; margin: 12px 0 4px; }
.mp-msg-reply { display: flex; align-items: center; gap: 6px; padding: 0 4px 4px 8px; color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.mp-msg-reply span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-msg-tools { max-height: 220px; overflow-y: auto; padding: 2px 2px 6px; }
.mp-msg-emoji { display: flex; flex-wrap: wrap; }
.mp-msg-tools h3 { margin: 4px 4px 2px; color: var(--ink-2); font-size: 12px; font-weight: 800; }
.mp-msg-tools .mp-msg-link { display: block; width: 100%; min-height: 34px; padding: 4px; border: 0; background: none; text-align: left; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-msg-tools .mp-msg-link small { color: var(--ink-2); font-weight: 500; }
.mp-msg-tools p { margin: 4px; color: var(--ink-2); font-size: 12.5px; }
.mp-info p { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.mp-event-row small { display: block; }

/* ---- connect with QR ---- */
.mp-qr-head { display: flex; align-items: center; gap: 12px; }
.mp-qr-av { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: #fff; font-style: normal; font-weight: 800; font-size: 20px; }
.mp-qr-av img { width: 100%; height: 100%; object-fit: cover; }
.mp-qr-head b { flex: 1; min-width: 0; font-size: 18px; overflow-wrap: anywhere; }
.mp-qr-flag { flex: none; font-size: 24px; line-height: 1; }
.mp-qr-info { text-align: center; margin: 10px 0 0; color: var(--ink-2); font-size: 14px; overflow-wrap: anywhere; }
.mp-qr-set-role { margin: 8px 0 0; text-align: center; }
.mp-qr-company { text-align: center; margin: 4px 0 0; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.mp-qr-code { width: min(100%, 280px); margin: 16px auto 0; background: #fff; }
.mp-qr-code svg { display: block; width: 100%; height: auto; }
.mp-sheet .mp-qr-title { margin: 12px 0 0; text-align: center; }
.mp-qr-copy { margin: 10px 0 0; text-align: center; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 480px) { .mp-status span { display: none; } .mp-status { padding: 0 16px; } }
/* Phones: no Remove / Cancel invitation in the connections sheet (persona page still has Disconnect). */
@media (max-width: 619px) { .mp-note .mp-conn-do { display: none; } }
.mp-pan-back { position: fixed; z-index: 19; left: 50%; transform: translateX(-50%); bottom: calc(92px + var(--safe-b)); } /* above the peek card */
/* Help a local business: the walk bar sits above "Back to your area"; saved places are star pins. */
.mp-walk { position: fixed; z-index: 19; left: 50%; transform: translateX(-50%); bottom: calc(140px + var(--safe-b)); width: min(420px, calc(100vw - 20px)); display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.mp-walk[hidden] { display: none; }
.mp-walk-text { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 14px; line-height: 1.25; }
.mp-walk-text small { color: var(--ink-2); font-size: 12px; }
.mp-walk-x { width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: transparent; font-size: 22px; line-height: 1; color: var(--ink-2); }
.mp-walk-x:hover { background: #eef1f7; }
.mp-pin.place { width: 32px; height: 32px; margin: -16px 0 0 -16px; background: #f5b400; border-width: 2px; font-size: 16px; color: #fff; }
.mp-steps { margin: 0 0 14px; padding-left: 22px; font-size: 14px; line-height: 1.45; }
.mp-steps li + li { margin-top: 6px; }

/* Cookie banner (cookie-consent.js, shown after data-delay): this page doesn't load styles.css. Above the controls/peek (19-22), below sheets/dialogs (30+). */
#cookie-consent-banner { position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); z-index: 25; max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding: 10px 12px; background: rgba(255, 255, 255, .97); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.35; animation: mp-cookie-in .25s ease-out; }
.cookie-consent-text { margin: 0; flex: 1 1 240px; }
.cookie-consent-actions { display: flex; gap: 8px; margin-left: auto; }
.cookie-consent-btn { border: 0; border-radius: 999px; min-height: 40px; padding: 0 16px; font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; }
.cookie-consent-reject { background: var(--panel-2); color: var(--ink); }
.cookie-consent-accept { background: var(--blue); color: #fff; }
@keyframes mp-cookie-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Advert roll-up (shared/ad-rollup.js): bottom centre, clear of the side button stacks (46 px buttons at 12 px from each edge).
   The peek card uses the same spot, so the roll-up steps aside while it's shown. */
#ad-rollup { position: fixed; z-index: 21; left: 66px; right: 66px; bottom: calc(10px + var(--safe-b)); max-width: 440px; margin: 0 auto; }
#mp-peek:not([hidden]) ~ #ad-rollup { display: none; }

/* "Select your interest", on every landing (map.js askInterest): no panel - only the title and the two badges get a
   rounded background, so the map stays visible around them. Each badge spins once. */
.mp-interest { position: fixed; z-index: 45; inset: 0; display: grid; place-items: center; padding: 20px; background: transparent; animation: mp-fade .2s ease-out; pointer-events: none; }
.mp-interest.out { opacity: 0; transition: opacity .25s; }
.mp-interest-card { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; pointer-events: auto; }
/* After a pick: the tagline replaces the card, white halo around dark text, fades out over 2 s (or on any click). */
.mp-interest-tagline { margin: 0; max-width: 92vw; font-size: 28px; font-weight: 900; line-height: 1.2; color: #fff; text-align: center; white-space: pre-line; pointer-events: auto; cursor: pointer;
  /* Thick navy outline (a ring of offset shadows, works in every browser) plus a soft dark drop shadow, readable on any map. */
  text-shadow: 3px 0 0 #10224f, -3px 0 0 #10224f, 0 3px 0 #10224f, 0 -3px 0 #10224f,
    2px 2px 0 #10224f, -2px 2px 0 #10224f, 2px -2px 0 #10224f, -2px -2px 0 #10224f,
    3px 1.5px 0 #10224f, -3px 1.5px 0 #10224f, 3px -1.5px 0 #10224f, -3px -1.5px 0 #10224f,
    1.5px 3px 0 #10224f, -1.5px 3px 0 #10224f, 1.5px -3px 0 #10224f, -1.5px -3px 0 #10224f,
    0 4px 14px rgba(0,0,0,.55); animation: mp-tagline 2.5s linear forwards; }
.mp-interest-tagline.static { animation: mp-fade .5s ease-out; cursor: default; }
/* After picking Business: next steps under the tagline (map.js businessOptions). */
.mp-interest-opts { display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: min(300px, 86vw); }
.mp-interest-opt { display: block; padding: 12px 18px; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); box-shadow: var(--shadow);
  font: inherit; font-size: 16px; font-weight: 800; color: var(--ink); text-align: center; text-decoration: none; cursor: pointer; }
.mp-interest-opt:hover { background: #fff; }
.mp-interest-opt:focus-visible { outline: 3px solid #2f6fed; outline-offset: 2px; }
.mp-interest-opt:disabled { opacity: .7; cursor: default; }
/* 0.5 s fade in, hold, then fade out over the last second. */
@keyframes mp-tagline { 0% { opacity: 0; transform: scale(.96); } 20% { opacity: 1; transform: none; } 60% { opacity: 1; } 100% { opacity: 0; } }
.mp-interest-card h2 { margin: 0; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); font-size: 20px; font-weight: 800; }
.mp-interest-row { display: flex; justify-content: center; gap: 22px; }
.mp-interest-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 14px 10px; border: 0; border-radius: 22px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); font-size: 16px; font-weight: 800; color: var(--ink); }
.mp-interest-btn:hover { background: #fff; }
.mp-interest-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); animation: mp-spin 1.2s ease-in-out 1 both; }
.mp-interest-btn.social .mp-interest-icon { animation-delay: .15s; }
.mp-interest-icon img { width: 100%; height: 100%; object-fit: cover; }
@keyframes mp-spin { from { transform: perspective(400px) rotateY(0); } to { transform: perspective(400px) rotateY(360deg); } }
@keyframes mp-fade { from { opacity: 0; } }
.mp-field textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border-radius: 12px; border: 1px solid #aab6cc; background: #fff; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); resize: vertical; box-sizing: border-box; }
.mp-co-logo { margin-bottom: 12px; }
.mp-co-logo[hidden] { display: none; }
.mp-co-logo img { display: block; width: 100%; max-height: 160px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #fff; margin-bottom: 4px; }

/* Company products/services as cards (company/editor/ → Offer → "promo for Radius Messaging"; AnyMarkup.card/cardHtml) */
.mp-msg-svc { display: block; width: 100%; padding: 6px; margin: 2px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); cursor: pointer; font-size: 13px; }
.mp-msg-svc:hover, .mp-msg-svc:focus-visible { border-color: var(--link-line); outline: none; }
.mp-msg-svc .mk-card-img, .mp-msg-attach .mk-card-img { width: 44px; height: 44px; }
.mp-msg-svc .mk-card-d { color: var(--ink-2); }
.mp-m-card .mk-card-t a, .mp-msg-svc .mk-card-t a { color: var(--link, inherit); }
.mp-msg-attach { display: flex; align-items: flex-start; gap: 6px; padding: 0 4px 6px; font-size: 13px; }
.mp-msg-attach .mp-m-promo { flex: 1; min-width: 0; margin: 0; }
.mp-msg-tools .mp-msg-svc .mk-card-d { margin: 2px 0 0; }
