/* GKZiD Help — Tina */

.help-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(0, 245, 42, 0.08), transparent 55%),
    #06080c;
  color: #e8edf5;
  font-family: Outfit, system-ui, sans-serif;
}

.help-main {
  max-width: 40rem;
  margin: 0 auto;
  padding: calc(var(--gkz-spine-h, 52px) + 1.25rem) 1.15rem 3rem;
}

.help-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7a94;
}

.help-title {
  margin: 0 0 0.45rem;
  font-family: Syne, system-ui, sans-serif;
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.help-lead {
  margin: 0 0 1.15rem;
  color: #aab6ca;
  font-size: 1rem;
  line-height: 1.5;
}

.help-agent {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.help-agent__meta {
  flex: 1;
  min-width: 0;
}

.help-newchat {
  appearance: none;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #e8edf5;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.help-newchat:hover {
  border-color: rgba(0, 245, 42, 0.45);
  color: #00f52a;
}

.help-chat {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.help-agent__avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 245, 42, 0.12);
  border: 1px solid rgba(0, 245, 42, 0.35);
  font-weight: 800;
  color: #00f52a;
  font-size: 0.85rem;
}

.help-agent__name {
  margin: 0;
  font-weight: 700;
}

.help-agent__role {
  margin: 0.1rem 0 0;
  font-size: 0.82rem;
  color: #8a97ad;
}

.help-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
}

.help-chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e8edf5;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.help-chip:hover {
  border-color: rgba(0, 245, 42, 0.45);
  color: #00f52a;
}

.help-chip--pulse {
  border-color: rgba(255, 214, 0, 0.4);
  color: #ffe566;
}

.help-composer {
  margin-top: 0;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 245, 42, 0.4);
  background:
    linear-gradient(180deg, rgba(0, 245, 42, 0.1), rgba(0, 245, 42, 0.03)),
    #0b1018;
  box-shadow: 0 0 0 1px rgba(0, 245, 42, 0.12), 0 8px 28px rgba(0, 245, 42, 0.08);
}

.help-composer__hint {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #7dff9a;
}

.help-search {
  display: flex;
  gap: 0.5rem;
  margin: 0;
}

.help-search__input {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 245, 42, 0.55);
  background: rgba(0, 0, 0, 0.35);
  color: #e8edf5;
  padding: 0.8rem 0.95rem;
  font: inherit;
  font-size: 0.95rem;
  box-shadow: inset 0 0 0 1px rgba(0, 245, 42, 0.12);
}

.help-search__input::placeholder {
  color: rgba(232, 237, 245, 0.55);
}

.help-search__input:focus {
  outline: none;
  border-color: #00f52a;
  box-shadow: 0 0 0 3px rgba(0, 245, 42, 0.22);
}

.help-search__btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  background: #00f52a;
  color: #041008;
  font: inherit;
  font-weight: 800;
  padding: 0 1rem;
  cursor: pointer;
  white-space: nowrap;
}

.help-search__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.help-thread {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 0;
  margin: 0;
  padding-right: 0.15rem;
}

.help-thread.has-msgs {
  display: flex;
  max-height: min(42vh, 22rem);
  overflow-y: auto;
  margin-bottom: 0.15rem;
}

.help-msg {
  max-width: 92%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.help-msg--user {
  align-self: flex-end;
  background: rgba(0, 245, 42, 0.12);
  border: 1px solid rgba(0, 245, 42, 0.25);
}

.help-msg--tina {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.help-msg--pending {
  color: #8a97ad;
  font-style: italic;
}

.help-status {
  margin: 0;
  font-size: 0.85rem;
  color: #8a97ad;
}

.help-status.is-error {
  color: #ff8a8a;
}

.help-pulse {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.help-pulse.is-visible {
  display: flex;
}

.help-pulse__label {
  font-size: 0.82rem;
  color: #8a97ad;
  width: 100%;
}

.help-pulse__stars {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.help-pulse__star {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.28);
  padding: 0.2rem 0.28rem;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.12s ease;
}

.help-pulse__star:hover,
.help-pulse__star:focus-visible,
.help-pulse__stars:hover .help-pulse__star {
  color: #ffc857;
}

.help-pulse__stars:hover .help-pulse__star:hover ~ .help-pulse__star {
  color: rgba(255, 255, 255, 0.28);
}

.help-pulse__star:hover,
.help-pulse__star:focus-visible {
  transform: scale(1.12);
}

.help-foot {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: #8a97ad;
}

.help-foot a {
  color: #00f52a;
  font-weight: 600;
}
