/* chat.css — the chat button and panel (chat.js). Self-contained (scoped .ec-*), so it works on pages with and without site.css.
 * Phone first: the panel is a bottom sheet on a phone, a 380 px card bottom-right from 720 px. The button sits in the bottom-right
 * corner; the page gets bottom padding while the button is there so nothing on the page ends up under it. */
html.ec-ready body{padding-bottom:84px}
.ec-launch{position:fixed;right:16px;bottom:16px;z-index:9998;display:inline-flex;align-items:center;gap:8px;height:52px;padding:0 18px 0 16px;border:0;border-radius:999px;background:#0A0A0A;color:#FAFAFA;font:600 15px/1 Poppins,system-ui,-apple-system,sans-serif;box-shadow:0 6px 20px rgba(0,0,0,.22);cursor:pointer}
.ec-launch:focus-visible{outline:3px solid #C9A227;outline-offset:2px}
html.ec-open .ec-launch{display:none}
.ec-panel{position:fixed;left:0;right:0;bottom:0;z-index:9999;display:flex;flex-direction:column;height:min(78vh,620px);background:#FAFAFA;color:#0A0A0A;border-radius:16px 16px 0 0;box-shadow:0 -8px 30px rgba(0,0,0,.25);font-family:Poppins,system-ui,-apple-system,sans-serif}
.ec-panel[hidden]{display:none}
.ec-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #E6E6E2;background:#0A0A0A;color:#FAFAFA;border-radius:16px 16px 0 0}
.ec-titles{display:flex;flex-direction:column;gap:2px}
.ec-title{margin:0;font-weight:600;font-size:16px}
.ec-wa{color:#E7C27A;font-size:13px;text-decoration:underline;text-underline-offset:3px}
.ec-close{border:0;background:transparent;color:#FAFAFA;font-size:28px;line-height:1;width:44px;height:44px;margin:-8px -8px 0 0;cursor:pointer}
.ec-log{flex:1;overflow-y:auto;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.ec-msg{margin:0;max-width:85%;padding:10px 12px;border-radius:14px;font-size:15px;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.ec-bot{align-self:flex-start;background:#fff;border:1px solid #E6E6E2}
.ec-me{align-self:flex-end;background:#0A0A0A;color:#FAFAFA}
.ec-typing{color:#4A4A48}
.ec-form{display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #E6E6E2;background:#fff}
.ec-input{flex:1;resize:none;border:1px solid #CFCFCB;border-radius:10px;padding:10px 12px;font:16px/1.4 Poppins,system-ui,-apple-system,sans-serif;max-height:120px}
.ec-send{border:0;border-radius:10px;padding:0 16px;background:#7A1F2B;color:#fff;font:600 15px Poppins,system-ui,-apple-system,sans-serif;cursor:pointer;min-height:44px}
.ec-send[disabled]{opacity:.6}
.ec-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(min-width:720px){
  .ec-panel{left:auto;right:16px;bottom:16px;width:380px;border-radius:16px}
  .ec-launch{right:24px;bottom:24px}
}
@media print{.ec-launch,.ec-panel{display:none!important}html.ec-ready body{padding-bottom:0}}
/* WEB 6: the button moves to the bottom-left, or steps away, when its corner would cover a form note, a field, a button or the footer */
.ec-launch.ec-left{right:auto;left:16px}
.ec-launch.ec-away{opacity:0;visibility:hidden;pointer-events:none}
.ec-launch{transition:opacity .15s ease}
@media(min-width:720px){.ec-launch.ec-left{left:24px}}
/* the header entry (WEB 6): always there, never over anything */
.ec-head-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid #0A0A0A;border-radius:999px;background:#0A0A0A;color:#FAFAFA;font:600 14px Poppins,system-ui,-apple-system,sans-serif;cursor:pointer}
.ec-head-btn:focus-visible{outline:3px solid #C9A227;outline-offset:2px}
