.kf-hg-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: #e8f72e;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  cursor: pointer;
  z-index: 999998;
  font-size: 30px;
}

.kf-hg-panel {
  position: fixed;
  right: 22px;
  bottom: 96px;
  width: min(390px, calc(100vw - 28px));
  height: min(620px, calc(100vh - 120px));
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  font-family: Inter, Arial, sans-serif;
}

.kf-hg-panel[hidden] { display: none; }

.kf-hg-header {
  min-height: 72px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.kf-hg-title {
  font-size: 21px;
  font-weight: 800;
  color: #242424;
}

.kf-hg-subtitle {
  margin-top: 3px;
  font-size: 11px;
  color: #777;
}

.kf-hg-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f2f2ee;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.kf-hg-body {
  flex: 1;
  overflow-y: auto;
  padding: 30px 18px 18px;
  background: linear-gradient(180deg, #fffef0 0%, #eef8e9 100%);
}

.kf-hg-avatar {
  width: 110px;
  height: 110px;
  margin: 12px auto 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 62px;
  background: #e8f72e;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

.kf-hg-welcome {
  text-align: center;
  color: #65c7bb;
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 24px;
}

.kf-hg-welcome strong,
.kf-hg-welcome span {
  display: block;
}

.kf-hg-quick {
  display: grid;
  gap: 10px;
}

.kf-hg-quick button {
  text-align: left;
  border: 1px solid #eee;
  background: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 14px 15px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.kf-hg-quick button:hover {
  background: #fff;
  border-color: #d7e78c;
}

.kf-hg-input {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid #eee;
}

.kf-hg-input input {
  flex: 1;
  min-width: 0;
  border: 1px solid #ddd;
  border-radius: 24px;
  padding: 13px 15px;
  outline: none;
  font-size: 14px;
}

.kf-hg-input button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #b8eadf;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.kf-hg-user,
.kf-hg-bot {
  max-width: 85%;
  padding: 11px 13px;
  margin: 8px 0;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.kf-hg-user {
  margin-left: auto;
  background: #e8f72e;
  color: #333;
  border-bottom-right-radius: 4px;
}

.kf-hg-bot {
  margin-right: auto;
  background: #fff;
  color: #555;
  border-bottom-left-radius: 4px;
}

@media (max-width: 520px) {
  .kf-hg-launcher { right: 14px; bottom: 14px; }
  .kf-hg-panel {
    right: 10px;
    bottom: 86px;
    width: calc(100vw - 20px);
    height: calc(100vh - 105px);
  }
}

.kf-hg-product {
  margin: 10px 0;
  padding: 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
}
.kf-hg-product-name { font-weight: 700; color: #333; margin-bottom: 5px; }
.kf-hg-product-price { color: #555; margin-bottom: 8px; }
.kf-hg-product a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 20px;
  background: #242424;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
}
.kf-hg-typing { opacity: .65; font-style: italic; }

.kf-hg-question{font-weight:800;font-size:18px;margin:10px 0 18px}.kf-hg-choice-grid{display:grid;gap:9px}.kf-hg-choice{text-align:left;padding:13px;border:1px solid #e1e1e1;background:#fff;border-radius:13px;cursor:pointer}.kf-hg-product img{width:70px;height:70px;object-fit:contain}.kf-hg-routine-title{margin:16px 0 8px;font-weight:800}.kf-hg-routine{padding:10px;margin:8px 0;background:#fff;border:1px solid #eee;border-radius:12px}.kf-hg-routine strong,.kf-hg-routine span,.kf-hg-routine p{display:block}.kf-hg-routine span{font-size:11px;color:#888}.kf-hg-routine p{font-size:12px;color:#555}