/* Heeps guide widget only. Does not restyle site chrome. */
#heeps-guide {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 45;
  font-family: Inter, "Segoe UI", sans-serif;
  color: #fff8f0;
}
#heeps-guide .heeps-guide__fab,
#heeps-guide .heeps-guide__actions button,
#heeps-guide .heeps-guide__chips button,
#heeps-guide .heeps-guide__form button {
  font-family: Nunito, Inter, sans-serif;
  font-weight: 800;
  cursor: pointer;
}
#heeps-guide .heeps-guide__fab {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 0;
  background: #1a1033;
  color: #f5b942;
  box-shadow: 0 10px 28px rgba(26, 16, 51, 0.35);
  font-size: 0.95rem;
}
#heeps-guide.is-collapsed .heeps-guide__panel { display: none; }
#heeps-guide:not(.is-collapsed) .heeps-guide__fab { display: none; }
#heeps-guide .heeps-guide__panel {
  width: min(360px, calc(100vw - 24px));
  max-height: min(70vh, 540px);
  display: flex;
  flex-direction: column;
  background: #1a1033;
  border: 1px solid rgba(245, 185, 66, 0.45);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(18, 11, 36, 0.45);
  overflow: hidden;
}
#heeps-guide .heeps-guide__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(255, 248, 240, 0.1);
}
#heeps-guide .heeps-guide__mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #f5b942;
  flex: 0 0 auto;
}
#heeps-guide .heeps-guide__mark.is-talking {
  animation: heeps-guide-talk 0.7s ease-in-out infinite;
}
@keyframes heeps-guide-talk {
  50% { transform: scale(1.25); background: #ff6b4a; }
}
#heeps-guide .heeps-guide__title { flex: 1; min-width: 0; }
#heeps-guide .heeps-guide__title strong {
  display: block;
  font-family: Nunito, Inter, sans-serif;
  font-size: 1rem;
}
#heeps-guide .heeps-guide__title span {
  display: block;
  color: #b9aed4;
  font-size: 0.78rem;
}
#heeps-guide .heeps-guide__actions { display: flex; gap: 6px; }
#heeps-guide .heeps-guide__actions button {
  background: transparent;
  color: #fff8f0;
  border: 1px solid rgba(255, 248, 240, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
}
#heeps-guide .heeps-guide__body {
  padding: 12px;
  overflow: auto;
}
#heeps-guide .heeps-guide__answer {
  margin: 0 0 8px;
  line-height: 1.45;
  font-size: 0.95rem;
}
#heeps-guide .heeps-guide__tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 0 0 10px;
}
#heeps-guide .heeps-guide__more { margin: 0; }
#heeps-guide .heeps-guide__more a {
  color: #f5b942;
  font-weight: 700;
}
#heeps-guide .heeps-guide__share {
  margin-left: auto;
  background: transparent;
  color: #f5b942;
  border: 0;
  padding: 0;
  font-size: 0.82rem;
}
#heeps-guide .heeps-guide__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
#heeps-guide .heeps-guide__chips button {
  background: #2b1e52;
  color: #fff8f0;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
}
#heeps-guide .heeps-guide__form {
  display: flex;
  gap: 8px;
}
#heeps-guide .heeps-guide__form input[type="text"] {
  flex: 1;
  min-width: 0;
  background: #fff8f0;
  color: #241a38;
  border: 1.5px solid rgba(245, 185, 66, 0.7);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.95rem;
}
#heeps-guide .heeps-guide__form input[type="text"]::placeholder { color: #5c5170; opacity: 1; }
#heeps-guide .heeps-guide__form button {
  background: #f5b942;
  color: #1a1033;
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
}
#heeps-guide .heeps-guide__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
#heeps-guide button:focus-visible,
#heeps-guide input:focus-visible,
#heeps-guide a:focus-visible {
  outline: 2px solid #f5b942;
  outline-offset: 2px;
}
@media (max-width: 640px) {
  #heeps-guide { left: 12px; bottom: 12px; }
  #heeps-guide .heeps-guide__panel { max-height: 62vh; }
}
