.food-help-assistant {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 9998;
  color: #101820;
  font-family: inherit;
}

.food-help-assistant * {
  box-sizing: border-box;
}

.food-help-fab {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 950;
  padding: 0;
}

.food-help-fab:hover {
  transform: translateY(-2px) scale(1.04);
}

.food-help-assistant.is-active .food-help-fab {
  outline: 3px solid rgba(255, 159, 28, 0.76);
  outline-offset: 4px;
  box-shadow: none;
}

.food-help-assistant.is-active {
  z-index: 2147482300;
}

.food-help-fab-img:not([src]),
.food-help-fab-img[src=""] {
  display: none;
}

.food-help-fab-img[src]:not([src=""]) + span {
  display: none;
}

.food-help-fab-img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.food-help-panel {
  position: fixed;
  right: 20px;
  border: 1px solid rgba(16, 24, 32, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(14px);
}

.food-help-panel.hidden,
.food-help-answer.hidden,
.food-help-tour.hidden,
.food-help-memory-guide.hidden {
  display: none;
}

.food-help-panel {
  bottom: 170px;
  width: min(420px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 196px));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 18px;
}

.food-help-close {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 50%;
  color: #334155;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.food-help-close-panel {
  position: absolute;
  top: 12px;
  right: 12px;
}

.food-help-eyebrow {
  margin: 0 40px 6px 0;
  color: #ff3c00;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.food-help-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.food-help-input-row {
  display: grid;
  gap: 8px;
}

.food-help-input-row textarea {
  width: 100%;
  min-height: 86px;
  border: 1px solid rgba(16, 24, 32, 0.16);
  border-radius: 8px;
  padding: 12px;
  color: #101820;
  background: #fff;
  resize: vertical;
  outline: none;
  font: inherit;
}

.food-help-input-row textarea:focus {
  border-color: #ff3c00;
  box-shadow: 0 0 0 3px rgba(255, 60, 0, 0.12);
}

.food-help-input-row button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #ff3c00;
  cursor: pointer;
  font-weight: 900;
}

.food-help-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0;
}

.food-help-suggestions button {
  min-height: 32px;
  border: 1px solid rgba(255, 60, 0, 0.22);
  border-radius: 999px;
  padding: 0 10px;
  color: #b62a00;
  background: rgba(255, 60, 0, 0.08);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.food-help-answer {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(16, 24, 32, 0.12);
  max-height: min(340px, 38vh);
  overflow: auto;
  overscroll-behavior: contain;
  padding-top: 12px;
  padding-right: 4px;
}

.food-help-answer-top {
  display: grid;
  gap: 2px;
}

.food-help-answer-top span,
.food-help-answer small {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.food-help-answer-top strong {
  color: #101820;
  font-size: 18px;
}

.food-help-answer p,
.food-help-answer ol {
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.food-help-answer ol {
  padding-left: 20px;
}

.food-help-detail-block {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 60, 0, 0.16);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 60, 0, 0.05);
}

.food-help-detail-block section {
  display: grid;
  gap: 5px;
}

.food-help-detail-block strong {
  color: #b62a00;
  font-size: 13px;
}

.food-help-detail-block ul {
  margin: 0;
  padding-left: 18px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.food-help-tour {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10001;
  width: min(560px, calc(100vw - 28px));
  max-height: min(260px, calc(100vh - 48px));
  overflow: auto;
  overscroll-behavior: contain;
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 60, 0, 0.22);
  border-radius: 8px;
  padding: 14px 48px 14px 16px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 62px rgba(15, 23, 42, 0.24);
  transform: translateX(-50%);
}

.food-help-tour > span {
  color: #ff3c00;
  font-size: 12px;
  font-weight: 950;
}

.food-help-tour strong {
  font-size: 17px;
}

.food-help-tour p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.food-help-tour-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.food-help-memory-guide {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2147482350;
  width: min(460px, calc(100vw - 28px));
  max-height: min(420px, calc(100vh - 48px));
  overflow: auto;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 159, 28, 0.46);
  border-radius: 8px;
  padding: 18px 50px 18px 18px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(22px) saturate(1.18);
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.32);
}

.food-help-memory-guide-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.food-help-memory-guide > span {
  color: #ff3c00;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.food-help-memory-guide strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.food-help-memory-guide p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.48;
}

.food-help-memory-guide-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.food-help-memory-guide-actions button {
  width: 44px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #ff3c00;
  cursor: pointer;
  font-size: 20px;
  font-weight: 950;
}

.food-help-memory-guide-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

body.hangoo-dark-mode .food-help-panel,
body.hangoo-dark-mode .food-help-tour {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.94);
}

body.hangoo-dark-mode .food-help-panel h2,
body.hangoo-dark-mode .food-help-answer-top strong,
body.hangoo-dark-mode .food-help-tour strong {
  color: #f8fafc;
}

body.hangoo-dark-mode .food-help-answer p,
body.hangoo-dark-mode .food-help-answer ol,
body.hangoo-dark-mode .food-help-tour p {
  color: #cbd5e1;
}

body.hangoo-dark-mode .food-help-input-row textarea,
body.hangoo-dark-mode .food-help-close {
  border-color: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  background: #020617;
}

@media (max-width: 980px) {
  .food-help-panel {
    right: 14px;
    bottom: 166px;
  }

}

@media (max-width: 620px) {
  .food-help-assistant {
    right: 14px;
    bottom: 88px;
  }

  .food-help-fab {
    width: 58px;
    height: 58px;
  }

  .food-help-panel {
    right: 10px;
    width: calc(100vw - 20px);
  }
}
