.ekh-chat{position:fixed;right:24px;bottom:86px;z-index:65;color:#234332;font-family:inherit;font-size:14px;line-height:1.5}
.ekh-chat *{box-sizing:border-box}
.ekh-chat button,.ekh-chat textarea{font:inherit;margin:0;letter-spacing:normal;text-transform:none}
.ekh-chat button{cursor:pointer;min-height:44px;box-shadow:none}
.ekh-chat [hidden]{display:none!important}
.ekh-chat-panel>:not(.ekh-chat-log){flex-shrink:0}
.ekh-chat button:focus-visible,.ekh-chat a:focus-visible,.ekh-chat textarea:focus-visible{outline:3px solid #507f27;outline-offset:3px}
.ekh-chat-launch{display:grid;place-items:center;width:68px;height:68px;padding:5px;border-radius:50%;border:1px solid #d6e3c7;background:#fff;box-shadow:0 8px 28px #203e3126!important;color:#234332;line-height:1;position:relative;isolation:isolate}
.ekh-chat-launch:before,.ekh-chat-launch:after{content:'';position:absolute;inset:0;border:2px solid #8fc73e;border-radius:50%;pointer-events:none;z-index:-1;opacity:0}
.ekh-chat-launch img{display:block;width:56px;height:56px}
.ekh-chat-panel{width:390px;max-width:calc(100vw - 48px);height:650px;max-height:calc(100dvh - 112px);display:flex;flex-direction:column;overflow:hidden;border-radius:22px;background:#fff;border:1px solid #d6e3c7;box-shadow:0 20px 70px #203e3138}
.ekh-chat-header{display:flex;align-items:center;gap:10px;padding:16px;background:linear-gradient(115deg,#edf6da,#f8faef);border-bottom:1px solid #e0e9d8}
.ekh-chat-header img{width:48px;height:48px}
.ekh-chat-header h2{font-family:inherit;color:#234332;font-size:16px;font-weight:600;line-height:1.4;margin:0}
.ekh-chat-header p{font-size:11px;color:#52634b;margin:3px 0 0}
.ekh-chat-close{margin-left:auto!important;background:transparent;border:0;border-radius:50%;color:#234332;width:44px;font-size:27px!important;padding:0}
.ekh-chat-log{overflow:auto;flex:1;min-height:80px;padding:18px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain;background:linear-gradient(#fafbf7,#fff)}
.ekh-chat-message{max-width:92%;padding:12px 14px;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}
.ekh-chat-message.is-bot{align-self:flex-start;background:#eef3e7;border:1px solid #e1e9d7;border-bottom-left-radius:4px}
.ekh-chat-message.is-user{align-self:flex-end;background:#d6edb2;border-bottom-right-radius:4px}
.ekh-chat-suggestions{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px}
.ekh-chat-suggestions button{background:#fff;border:1px solid #d5e3c7;border-radius:20px;padding:8px 11px;color:#365b29;font-size:12px;line-height:1.4;min-height:36px}
.ekh-chat-status{margin:0;padding:0 18px 8px;font-size:12px;color:#52634b}
.ekh-chat-status:empty{display:none}
.ekh-chat-form{display:flex;align-items:flex-end;gap:6px;padding:5px;margin:0 16px 10px;border:1px solid #ccdabb;border-radius:16px;background:#fafbf7}
.ekh-chat-form:focus-within{border-color:#59852e;box-shadow:0 0 0 2px #8fc73e26}
.ekh-chat-form textarea{resize:none;flex:1;min-width:0;width:100%;height:44px;min-height:44px;max-height:112px;overflow-y:hidden;border:0;border-radius:10px;padding:11px 8px;background:transparent;color:#234332;box-shadow:none;line-height:22px;font-size:16px}
.ekh-chat .ekh-chat-form textarea:focus-visible{outline:none;box-shadow:none}
.ekh-chat-form textarea::placeholder{color:#6c7865;font-size:14px}
.ekh-chat-form button{width:44px;height:44px;flex-shrink:0;padding:0;background:#8fc73e;border:0;border-radius:12px;color:#234332;display:grid;place-items:center}
.ekh-chat button:disabled{opacity:.55;cursor:wait}
.ekh-chat-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:0 16px}
.ekh-chat-links a{color:#365b29;text-decoration:underline;text-underline-offset:3px;font-size:12px;min-height:36px;display:inline-flex;align-items:center}
.ekh-chat-reset{border:0;background:transparent;color:#52634b;font-size:11px!important;padding:0;min-height:36px!important}
.ekh-chat-note{font-size:10px;line-height:1.5;color:#5a6752;margin:0;padding:4px 16px 12px}
.ekh-chat-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){.ekh-chat{right:16px;bottom:78px}.ekh-chat-launch{width:62px;height:62px;padding:4px}.ekh-chat-launch img{width:52px;height:52px}.ekh-chat-panel{width:calc(100vw - 48px);height:620px;max-height:calc(100dvh - 100px)}.ekh-chat-header{padding:12px}.ekh-chat-suggestions button{min-height:44px}.ekh-chat-log{padding:14px}}
@media(prefers-reduced-motion:no-preference){.ekh-chat-panel{animation:ekh-chat-in 180ms ease-out}@keyframes ekh-chat-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}}

@media(prefers-reduced-motion:no-preference){
  .ekh-chat-launch:before,.ekh-chat-launch:after{animation:ekh-bot-ripple 4s ease-out infinite}
  .ekh-chat-launch:after{animation-delay:1.1s}
  .ekh-chat-launch:hover:before,.ekh-chat-launch:hover:after,.ekh-chat-launch:focus-visible:before,.ekh-chat-launch:focus-visible:after{animation-play-state:paused}
  .ekh-chat-launch img{animation:ekh-bot-greet 6s ease-in-out infinite;transform-origin:50% 70%}
  .ekh-chat-launch:hover img,.ekh-chat-launch:focus-visible img{animation-play-state:paused}
  @keyframes ekh-bot-greet{0%,60%,100%{transform:translateY(0) rotate(0)}68%{transform:translateY(-4px) rotate(-7deg)}76%{transform:translateY(-4px) rotate(7deg)}84%{transform:translateY(-4px) rotate(-4deg)}92%{transform:translateY(-2px) rotate(0)}}
  @keyframes ekh-bot-ripple{0%{transform:scale(1);opacity:.45}65%,100%{transform:scale(1.45);opacity:0}}
}
