/* Reachmark AI receptionist widget — brand: charcoal #20251F, lime #D5F268 */
#rm-receptionist-launch{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:40;display:inline-flex;align-items:center;gap:9px;
  background:#20251F;color:#F5F5EF;border:1px solid #3a4433;border-radius:999px;padding:12px 16px;font:600 13px 'DM Sans',system-ui,sans-serif;
  cursor:pointer;box-shadow:0 12px 34px rgba(15,20,12,.28);transition:transform .18s ease,box-shadow .18s ease}
#rm-receptionist-launch:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(15,20,12,.34)}
#rm-receptionist-launch .rm-dot{width:8px;height:8px;border-radius:50%;background:#D5F268;box-shadow:0 0 0 3px rgba(213,242,104,.22)}
.rm-panel[hidden]{display:none}
.rm-panel{position:fixed;right:16px;bottom:calc(72px + env(safe-area-inset-bottom,0px));z-index:41;width:min(390px,calc(100vw - 24px));max-height:min(62vh,560px);
  display:flex;flex-direction:column;background:#FFFFFF;border:1px solid #e2e7d6;border-radius:18px;overflow:hidden;
  box-shadow:0 26px 70px rgba(19,26,15,.26);font:14px/1.55 'DM Sans',system-ui,sans-serif;color:#20251F}
.rm-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px 16px;background:#20251F;color:#F5F5EF}
.rm-head b{display:block;font:700 14px 'Manrope','DM Sans',sans-serif}
.rm-head small{display:block;color:#a9b894;font-size:11px;line-height:1.4;margin-top:3px}
#rm-close{background:transparent;border:0;color:#cbd6bd;font-size:20px;line-height:1;cursor:pointer;padding:0 2px}
#rm-close:hover{color:#D5F268}
.rm-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;background:#fbfcf7}
.rm-msg{max-width:88%;padding:10px 13px;border-radius:14px;font-size:13.5px;white-space:pre-wrap;overflow-wrap:anywhere}
.rm-msg.visitor{align-self:flex-end;background:#20251F;color:#F5F5EF;border-bottom-right-radius:4px}
.rm-msg.assistant{align-self:flex-start;background:#EDF3E1;border:1px solid #dde5cd;border-bottom-left-radius:4px}
.rm-msg.note{align-self:flex-start;background:transparent;border:1px dashed #d5dfc2;color:#5c6a4d;font-size:12.5px}
.rm-msg.error{background:#FFF3F1;border-color:#f3cdc6;color:#8a3226}
.rm-msg.thinking{opacity:.72;font-style:italic}
.rm-form{display:flex;flex-wrap:wrap;gap:8px;padding:12px;border-top:1px solid #eef2e6;background:#FFFFFF;align-items:center}
.rm-form input:not(.rm-hp){flex:1;min-width:120px;border:1px solid #dfe5d2;border-radius:11px;padding:11px 13px;font:inherit;background:#fbfcf7!important;color:#20251F!important;-webkit-text-fill-color:#20251F!important;caret-color:#20251F}
.rm-form input:not(.rm-hp)::placeholder{color:#68745f!important;opacity:1}
.rm-form input:not(.rm-hp):-webkit-autofill{-webkit-text-fill-color:#20251F!important;box-shadow:0 0 0 1000px #fbfcf7 inset}
.rm-form input:focus{outline:2px solid #D5F268;outline-offset:1px;background:#fff}
.rm-form .rm-hp{position:absolute;left:-9999px;width:1px;height:1px}
#rm-send{background:#D5F268;color:#1b201a;border:0;border-radius:11px;padding:11px 18px;font:700 13px 'Manrope','DM Sans',sans-serif;cursor:pointer}
#rm-send:disabled{opacity:.6;cursor:progress}
.rm-voice{background:#f4f7ea;color:#20251f;border:1px solid #dfe5d2;border-radius:11px;padding:10px 12px;font:650 12px 'Manrope',sans-serif;cursor:pointer}
.rm-voice[aria-pressed="true"]{background:#20251f;color:#d5f268;border-color:#20251f}
.rm-note{margin:0;padding:0 14px 12px;color:#7b866c;font-size:11px;background:#FFFFFF}
.rm-note a{color:#42502f}
.rm-sr{position:absolute;left:-9999px}
@media(max-width:520px){.rm-panel{right:8px;left:8px;width:auto;bottom:calc(64px + env(safe-area-inset-bottom,0px));max-height:min(58vh,480px)}
  #rm-receptionist-launch{right:10px;bottom:calc(12px + env(safe-area-inset-bottom,0px));padding:10px 13px;font-size:12.5px}}
body{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
@media(prefers-reduced-motion:reduce){#rm-receptionist-launch{transition:none}}
body.rx-page #rm-receptionist-launch{position:static;margin:18px auto 0;display:inline-flex}
body.rx-page .rm-panel{position:relative;right:auto;bottom:auto;width:min(560px,100%);max-height:min(70vh,640px);margin:0 auto;box-shadow:0 18px 50px rgba(19,26,15,.16)}
body.rx-page .rm-panel[hidden]{display:none}

/* WhatsApp stays a quiet, optional handoff inside the receptionist—not a competing floating launcher. */
.rm-note-sep{padding:0 3px;color:#9aa58b}.rm-whatsapp-link{display:inline-flex;align-items:center;gap:4px;color:#43552e!important;text-decoration:underline;text-decoration-color:#c9df8d;text-underline-offset:3px;font-weight:650}.rm-whatsapp-link:hover{color:#20251f!important}

/* ── Brand avatar launcher (logo mark + live status dot) ───────────────── */
#rm-receptionist-launch{padding:6px 18px 6px 6px;gap:11px;font:700 14px 'Manrope','DM Sans',system-ui,sans-serif;letter-spacing:-.01em}
#rm-receptionist-launch .rm-launch-av,.rm-head-av{position:relative;display:inline-grid;place-items:center;flex:0 0 auto}
#rm-receptionist-launch .rm-launch-av .rm-mark{display:block;border-radius:12px;box-shadow:0 0 0 2px rgba(213,242,104,.18);animation:rmAvBreath 3.6s ease-in-out infinite}
#rm-receptionist-launch .rm-dot,.rm-head-av .rm-dot{position:absolute;right:-2px;bottom:-2px;width:11px;height:11px;border-radius:50%;background:#3ddc84;border:2px solid #20251F;box-shadow:none}
#rm-receptionist-launch .rm-dot::after,.rm-head-av .rm-dot::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2px solid #3ddc84;animation:rmPing 2.4s cubic-bezier(0,0,.2,1) infinite}
#rm-receptionist-launch[aria-expanded="true"] .rm-launch-av .rm-mark{animation:none}
.rm-head{align-items:center}
.rm-head-av .rm-mark{display:block;border-radius:11px}
.rm-head-copy{flex:1;min-width:0}
#rm-close{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;padding:0}
#rm-close:hover{background:rgba(213,242,104,.12)}
@keyframes rmPing{0%{transform:scale(1);opacity:.85}80%,100%{transform:scale(2.1);opacity:0}}
@keyframes rmAvBreath{0%,100%{transform:rotate(0) scale(1)}50%{transform:rotate(-4deg) scale(1.04)}}
@media(max-width:640px){#rm-receptionist-launch{padding:5px 14px 5px 5px;font-size:13px}#rm-receptionist-launch .rm-launch-av .rm-mark{width:30px;height:30px}}
@media(max-width:380px){#rm-receptionist-launch .rm-launch-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}#rm-receptionist-launch{padding:5px}}
@media(prefers-reduced-motion:reduce){#rm-receptionist-launch .rm-launch-av .rm-mark,#rm-receptionist-launch .rm-dot::after,.rm-head-av .rm-dot::after{animation:none}}
