/* PixelForge AI Receptionist — Brooklyn Editorial Craft theme */
.pf-chat-btn {
  position: fixed; right: 22px; bottom: 22px; z-index: 9998;
  width: 60px; height: 60px; border-radius: 50%;
  background: #315B46; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(32,37,31,.25);
  transition: transform .15s ease;
}
.pf-chat-btn:hover { transform: scale(1.06); }
.pf-chat-btn svg { width: 28px; height: 28px; fill: #F7F5F0; }
.pf-chat-btn .pf-dot {
  position: absolute; top: 2px; right: 2px; width: 14px; height: 14px;
  border-radius: 50%; background: #B65E40; border: 2px solid #F7F5F0;
}
.pf-chat-panel {
  position: fixed; right: 22px; bottom: 94px; z-index: 9999;
  width: 360px; max-width: calc(100vw - 32px); height: 480px; max-height: calc(100vh - 130px);
  background: #F7F5F0; border: 1px solid #DCD8CC; border-radius: 10px;
  box-shadow: 0 12px 40px rgba(32,37,31,.22);
  display: none; flex-direction: column; overflow: hidden;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.pf-chat-panel.open { display: flex; }
.pf-chat-head {
  background: #20251F; color: #F7F5F0; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
}
.pf-chat-head .pf-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #315B46;
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', Georgia, serif; font-size: 18px; color: #F7F5F0;
  flex-shrink: 0;
}
.pf-chat-head .pf-title { font-weight: 600; font-size: 15px; line-height: 1.2; }
.pf-chat-head .pf-sub { font-size: 12px; color: #ACBEC6; }
.pf-chat-head .pf-close {
  margin-left: auto; background: none; border: none; color: #F7F5F0;
  font-size: 20px; cursor: pointer; padding: 4px 8px;
}
.pf-chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pf-msg { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.pf-msg.bot { background: #FFFFFF; border: 1px solid #DCD8CC; color: #20251F; align-self: flex-start; border-bottom-left-radius: 4px; }
.pf-msg.user { background: #315B46; color: #F7F5F0; align-self: flex-end; border-bottom-right-radius: 4px; }
.pf-msg.bot a { color: #315B46; font-weight: 600; }
.pf-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.pf-quick button {
  background: #FFFFFF; border: 1px solid #315B46; color: #315B46; border-radius: 20px;
  padding: 6px 12px; font-size: 13px; cursor: pointer; font-family: inherit;
}
.pf-quick button:hover { background: #315B46; color: #F7F5F0; }
.pf-chat-input { display: flex; border-top: 1px solid #DCD8CC; padding: 10px; gap: 8px; background: #FFFFFF; }
.pf-chat-input input {
  flex: 1; border: 1px solid #DCD8CC; border-radius: 20px; padding: 9px 14px;
  font-size: 14px; font-family: inherit; outline: none; color: #20251F; background: #F7F5F0;
}
.pf-chat-input input:focus { border-color: #315B46; }
.pf-chat-input button {
  background: #315B46; color: #F7F5F0; border: none; border-radius: 20px;
  padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.pf-chat-input button:disabled { opacity: .5; }
.pf-typing { font-size: 13px; color: #727764; font-style: italic; }
@media (max-width: 480px) {
  .pf-chat-panel { right: 12px; bottom: 88px; width: calc(100vw - 24px); }
  .pf-chat-btn { right: 14px; bottom: 14px; }
}
