.eki-chatbot-wrap {
  --eki-primary: #1f7a4d;
  font-family: inherit;
}
.eki-chatbot-wrap--floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999999;
}
.eki-chatbot-toggle {
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: var(--eki-primary, #1f7a4d);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,.24);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
}
.eki-chatbot-toggle:hover {
  transform: translateY(-1px);
}
.eki-chatbot-toggle__close {
  display: none;
  font-size: 36px;
  font-weight: 300;
}
.eki-chatbot-wrap--open .eki-chatbot-toggle__icon {
  display: none;
}
.eki-chatbot-wrap--open .eki-chatbot-toggle__close {
  display: inline;
}
.eki-chatbot {
  width: 100%;
  max-width: 720px;
  border: 1px solid #d8ded9;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  font-family: inherit;
}
.eki-chatbot--floating {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: 390px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 16px 48px rgba(0,0,0,.24);
}
.eki-chatbot__header {
  padding: 16px 18px;
  background: var(--eki-primary, #1f7a4d);
  color: #fff;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.eki-chatbot__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.eki-chatbot__messages {
  height: 380px;
  overflow-y: auto;
  padding: 18px;
  background: #f7faf8;
}
.eki-message {
  max-width: 84%;
  margin: 0 0 12px;
  padding: 11px 13px;
  border-radius: 14px;
  line-height: 1.45;
  font-size: 15px;
}
.eki-message--assistant {
  background: #fff;
  border: 1px solid #e1e7e3;
  color: #17251d;
}
.eki-message--user {
  margin-left: auto;
  background: var(--eki-primary, #1f7a4d);
  color: #fff;
}
.eki-chatbot__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e1e7e3;
  background: #fff;
}
.eki-chatbot__input {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 1px solid #cfd8d2;
  border-radius: 10px;
}
.eki-chatbot__button {
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  background: var(--eki-primary, #1f7a4d);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}
.eki-chatbot__button:disabled,
.eki-chatbot__input:disabled {
  opacity: .65;
  cursor: not-allowed;
}
.eki-chatbot__privacy {
  padding: 10px 14px 14px;
  font-size: 12px;
  color: #59655e;
  background: #fff;
}
@media (max-width: 600px) {
  .eki-chatbot-wrap--floating {
    right: 16px;
    bottom: 16px;
  }
  .eki-chatbot-toggle {
    width: 58px;
    height: 58px;
  }
  .eki-chatbot--floating {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 86px;
    width: auto;
    max-width: none;
  }
  .eki-chatbot__messages { height: 320px; }
  .eki-chatbot__form { flex-direction: column; }
  .eki-chatbot__button { width: 100%; }
}
.eki-message__recommendation {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--eki-primary, #1f7a4d);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
}
.eki-message__recommendation:hover { color: #fff; filter: brightness(.94); }
