
/* ProcessHive AI Receptionist widget */
.ph-ai-button{position:fixed;right:22px;bottom:22px;z-index:1000;display:flex;align-items:center;gap:9px;border:0;border-radius:999px;padding:13px 17px;background:linear-gradient(90deg,var(--a),#75a0ff);color:#06111f;font:700 14px "DM Sans";box-shadow:0 14px 35px rgba(7,17,31,.22);cursor:pointer}
.ph-ai-icon{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#06111f;color:#fff}
.ph-ai-widget{position:fixed;right:22px;bottom:82px;z-index:1001;width:min(390px,calc(100vw - 28px));height:min(650px,calc(100vh - 105px));min-height:520px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 25px 80px rgba(8,20,36,.25);display:flex;flex-direction:column;overflow:hidden;opacity:0;transform:translateY(12px) scale(.98);pointer-events:none;transition:.2s}
.ph-ai-widget.open{opacity:1;transform:none;pointer-events:auto}
.ph-ai-header{display:flex;align-items:center;gap:11px;padding:16px;border-bottom:1px solid #edf0f4;background:#fff}
.ph-ai-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#111827;color:#fff;font-weight:800;font-size:13px}
.ph-ai-headtext{display:flex;flex-direction:column;gap:3px;flex:1}
.ph-ai-headtext strong{font:700 17px "Space Grotesk";color:#111827}
.ph-ai-headtext span{font-size:11px;color:#718095}.ph-ai-headtext i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22c55e;margin-right:4px}
.ph-ai-close{border:0;background:#f1f5f9;color:#111827;width:32px;height:32px;border-radius:50%;font-size:22px;cursor:pointer}
.ph-ai-messages{flex:1;overflow:auto;padding:17px;background:#fff}
.ph-ai-msg{display:flex;margin-bottom:12px}.ph-ai-msg.user{justify-content:flex-end}
.ph-ai-bubble{max-width:84%;padding:11px 13px;border-radius:15px;background:#f1f5f9;color:#111827;font-size:14px;line-height:1.5;white-space:pre-wrap}
.ph-ai-msg.user .ph-ai-bubble{background:#111827;color:#fff}
.ph-ai-quick{display:flex;gap:7px;padding:0 12px 10px;overflow:auto}
.ph-ai-quick button{white-space:nowrap;border:1px solid #dbe1e8;background:#fff;border-radius:999px;padding:8px 10px;cursor:pointer;font:12px "DM Sans"}
.ph-ai-composer{display:flex;gap:7px;padding:12px;border-top:1px solid #edf0f4}
.ph-ai-composer input{margin:0;flex:1;min-width:0}.ph-ai-composer button{border:0;border-radius:10px;padding:0 12px;cursor:pointer;background:#111827;color:#fff}
.ph-ai-composer #phAiMic{background:#eef2f7;color:#111827;font-size:16px}
.ph-ai-status{min-height:22px;padding:0 13px 7px;color:#718095;font-size:11px}
.ph-ai-lead{margin:0 12px 12px;padding:13px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;max-height:290px;overflow:auto}
.ph-ai-lead h3{font-size:15px;margin:0 0 9px}.ph-ai-lead input{margin:0 0 7px;padding:10px;font-size:13px}
.ph-ai-lead button{width:100%;padding:10px;border:0;border-radius:9px;background:#111827;color:#fff;cursor:pointer}
#phLeadStatus{font-size:11px;margin-top:7px;color:#166534}
@media(max-width:600px){.ph-ai-button{right:14px;bottom:14px}.ph-ai-widget{right:14px;bottom:72px;width:calc(100vw - 28px);height:calc(100vh - 90px)}}
