.quick-chat {
  max-width: 540px;
  min-width: 0;
  margin: 24px 0 20px;
  padding: 18px;
  border: 1px solid #a7b6a1;
  border-left: 3px solid var(--green, #264a40);
  border-radius: 8px;
  background: #f4f1e7;
}
.quick-chat-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.quick-chat-heading svg { width: 22px; height: 22px; flex: 0 0 22px; }
.quick-chat h2 {
  margin: 0;
  color: var(--ink, #203d34);
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.35px;
  line-height: 1.3;
}
.quick-chat > p {
  margin: 0 0 12px;
  color: #59685d;
  font-size: 12px;
  line-height: 1.6;
}
#quickChatForm { margin: 12px 0; }
.quick-chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
#quickChatInput {
  min-width: 0;
  min-height: 44px;
  border-color: #bac4b4;
  background: #fffdf7;
  font-size: 13px;
}
#quickChatInput::placeholder { color: #6a746b; opacity: 1; }
#quickChatOpen {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--green, #264a40);
  border-radius: 5px;
  background: var(--green, #264a40);
  color: #fffdf7;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
#quickChatOpen:hover:not(:disabled) { background: #17382f; }
.quick-chat-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.quick-chat [data-quick-prompt] {
  max-width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #c5cbb9;
  border-radius: 18px;
  background: #fffdf7;
  color: #355044;
  font-size: 11px;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
}
.quick-chat [data-quick-prompt]:hover:not(:disabled) { background: #e8ecdf; border-color: #8eaa8c; }
.quick-chat #quickChatNote {
  margin: 11px 0 0;
  font-size: 10px;
  line-height: 1.5;
}
.quick-chat[data-state="error"] #quickChatNote { color: #8b512f; }
.quick-chat-launcher {
  position: fixed;
  right: 24px;
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  max-width: calc(100vw - 32px);
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #426657;
  border-radius: 28px;
  background: var(--green, #264a40);
  color: #fffdf7;
  box-shadow: 0 5px 22px #203d3426;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.quick-chat-launcher svg { width: 20px; height: 20px; flex: 0 0 20px; }
.quick-chat-launcher:hover:not(:disabled) { background: #17382f; }
.quick-chat-launcher:disabled { opacity: .65; }
@media (max-width: 760px) {
  .quick-chat { max-width: none; padding: 16px; }
  #quickChatInput { font-size: 16px; }
  .quick-chat [data-quick-prompt] { min-height: 44px; }
  .quick-chat-launcher { right: 16px; }
}
@media (max-width: 420px) {
  .quick-chat-compose { grid-template-columns: minmax(0, 1fr); }
  #quickChatOpen { width: 100%; }
  .quick-chat-launcher { padding: 11px 15px; font-size: 11px; }
}
