#guest-advice {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
  margin-block: 1rem;
  padding: 1rem;
  border: 1px solid #d5ded1;
  border-radius: 14px;
  background: #faf7ed;
  color: #254735;
}

#guest-advice h4,
#guest-advice p {
  margin: 0;
}

#guest-advice-title {
  font-size: 1rem;
  line-height: 1.5;
}

#guest-advice-ask {
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  width: fit-content;
  padding: 0.65rem 1rem;
  white-space: normal;
}

#guest-advice-source,
#guest-advice-partial {
  color: #526556;
  font-size: 0.85rem;
  line-height: 1.6;
}

#guest-advice-status {
  color: #315b40;
  font-size: 0.9rem;
  line-height: 1.6;
}

#guest-advice-answer {
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid #d5ded1;
  border-radius: 10px;
  background: #fffdf7;
  color: #243e2e;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#guest-advice-answer:focus-visible {
  outline: 2px solid #39764b;
  outline-offset: 3px;
}

#guest-advice[hidden],
#guest-advice [hidden] {
  display: none;
}

@media (max-width: 520px) {
  #guest-advice-ask {
    width: 100%;
  }
}

.guest-advice-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.guest-advice-heading h4 { min-width: 0; }
.guest-advice-heading .badge { flex: none; }
