/* Guest Ask us uses the existing messaging shell, not the account sign-in form. */
.am-product-chat__guest.am-product-chat__guest-interactive {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-content: stretch;
  justify-content: flex-start;
  gap: 0;
  min-height: 0;
  padding: 0;
  background: #fbfbfa;
  text-align: left;
}
.am-product-chat__guest-history.am-product-chat__history {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 16px;
}
.am-product-chat__guest-empty {
  margin: auto !important;
  max-width: 260px;
  color: #817d78;
  text-align: center;
  font: 400 13px/1.55 "Rubik", sans-serif;
}
.am-product-chat__guest-empty[hidden] { display: none !important; }
.am-product-chat__guest-message {
  flex: none;
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 15px 15px 15px 5px;
  background: #eeece8;
  font: 400 13px/1.5 "Rubik", sans-serif;
  overflow-wrap: anywhere;
}
.am-product-chat__guest-message.is-mine {
  align-self: flex-end;
  border-radius: 15px 15px 5px 15px;
  background: #ebe5dc;
}
.am-product-chat__guest-message.is-curator { align-self: flex-start; }
.am-product-chat__guest-message strong { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 600; }
.am-product-chat__guest-message p { margin: 0; color: #1b1b1b; white-space: pre-wrap; font: inherit; }
.am-product-chat__guest-footer {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 12px 12px;
  border-top: 1px solid #eceae6;
  background: #fff;
}
.am-product-chat__guest-email-toggle {
  align-self: flex-start;
  border: 0;
  padding: 5px 2px 10px;
  background: transparent;
  color: #6d6760;
  text-align: left;
  font: 500 11px/1.4 "Rubik", sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.am-product-chat__guest-email-toggle[hidden],
.am-product-chat__guest-email[hidden],
.am-product-chat__guest-status[hidden],
.am-product-chat__honeypot[hidden] { display: none !important; }
.am-product-chat__guest-email {
  flex: none;
  display: grid;
  gap: 8px;
  padding: 8px 2px 12px;
}
.am-product-chat__guest-email label { color: #56514b; font: 500 12px "Rubik", sans-serif; }
.am-product-chat__guest-email-row { display: flex; gap: 8px; min-width: 0; }
.am-product-chat__guest-email input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 10px 12px;
  border: 1px solid #d8d6d2;
  border-radius: 8px;
  background: #fff;
  color: #171717;
  font: 400 14px "Rubik", sans-serif;
}
.am-product-chat__guest-email button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: #171717;
  color: #fff;
  font: 500 12px "Rubik",sans-serif;
  cursor: pointer;
}
.am-product-chat__guest-email small { color: #8b847d; font: 400 10px/1.4 "Rubik", sans-serif; }
.am-product-chat__guest-status {
  margin: 0 !important;
  padding: 3px 2px 8px;
  color: #756e66;
  font: 400 11px/1.4 "Rubik", sans-serif;
}
.am-product-chat__guest-form.am-product-chat__composer {
  display: grid;
  grid-template-columns: minmax(0,1fr) 42px;
  flex: 0 0 auto;
  align-items: end;
  gap: 8px;
  padding: 0;
  border: 0;
  background: #fff;
}
.am-product-chat__guest-form textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  max-height: 110px;
  margin: 0;
  padding: 11px 14px;
  resize: none;
  border: 1px solid #dfdcd7;
  border-radius: 22px;
  background: #f8f7f5;
  color: #1b1b1b;
  font: 400 14px/1.4 "Rubik", sans-serif;
}
.am-product-chat__guest-form textarea:focus-visible { outline: 1px solid #8c8174; outline-offset: 0; }
.am-product-chat__guest-form .am-product-chat__send {
  width: 42px;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #171717;
  color: #fff;
  font: 400 20px/1 "Rubik",sans-serif;
  cursor: pointer;
}
.am-product-chat__guest-form .am-product-chat__send:disabled { opacity: .45; cursor: wait; }
.am-product-chat__honeypot { display: none !important; position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
@media (max-width: 640px) {
  .am-product-chat__guest-history.am-product-chat__history { padding: 16px; }
  .am-product-chat__guest-footer { padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); }
  .am-product-chat__guest-form textarea { font-size: 16px; }
}
