.pd-chat-btn{height:64px;padding:0 18px;justify-content:center;font-size:14px;border:none;font-weight:600;right:24px;color:#1d1d1f;transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease;position:fixed;bottom:10px;min-width:64px;gap:8px;align-items:center;box-shadow:0 10px 24px rgba(0,0,0,.15);border-radius:999px;background:#c9f46c;cursor:pointer;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex;z-index:9999}.pd-chat-btn span{font-size:22px;line-height:1}.pd-chat-btn:after{content:"Задать вопрос";white-space:nowrap}.pd-chat-btn:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(0,0,0,.18);background:#b9e85d}.pd-chat-btn:active{transform:translateY(0);box-shadow:0 6px 18px rgba(0,0,0,.2)}.pd-chat-window{height:460px;overflow:hidden;transform:translateY(10px);pointer-events:none;right:24px;transition:opacity .2s ease,transform .2s ease;position:fixed;max-width:calc(100% - 32px);flex-direction:column;opacity:0;bottom:10px;box-shadow:0 18px 45px rgba(0,0,0,.25);border-radius:24px;background:#fff;width:360px;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:flex;z-index:9999}.pd-chat-window.pd-open{transform:translateY(0);pointer-events:auto;opacity:1}.pd-chat-window.pd-open+.pd-chat-btn{transform:translateY(10px);pointer-events:none;opacity:0}.pd-chat-header{padding:10px 16px;justify-content:space-between;font-size:14px;color:#111827;border-bottom:1px solid #e5f5c2;align-items:center;background:#c9f46c;display:flex}.pd-chat-header-left{flex:1;flex-direction:column;display:flex}.pd-chat-header-title{font-size:13px;font-weight:600}.pd-chat-header-status{font-size:11px;color:#4b5563}.pd-chat-header-right{gap:8px;align-items:center;display:flex}.pd-chat-header-operator{display:none}.pd-chat-window.pd-has-operator .pd-chat-header-operator{gap:6px;align-items:center;display:flex}.pd-chat-header-avatar{height:28px;border:2px solid #fff;object-fit:cover;border-radius:50%;width:28px}.pd-chat-header-name{font-size:13px;font-weight:600;line-height:1.1}.pd-chat-header-right button{font-size:20px;border:none;color:#111827;background:none;cursor:pointer;margin-left:6px;line-height:1}.pd-chat-messages{flex:1;overflow-y:auto;padding:10px 12px;font-size:14px;background:#f6f7fa}.pd-chat-msg{padding:8px 10px;margin-bottom:8px;max-width:90%;border-radius:14px;line-height:1.4;word-wrap:break-word}.pd-chat-msg-user{border-bottom-right-radius:4px;color:#fff;background:#4f46e5;margin-left:auto}.pd-chat-msg-bot{border-bottom-left-radius:4px;margin-right:0;color:#111827;box-shadow:0 2px 6px rgba(15,23,42,.06);background:#fff}.pd-chat-msg-system{padding:0;font-size:11px;color:#9ca3af;text-align:center;margin:4px auto;background:none}.pd-chat-msg-typing{font-size:11px;font-style:italic;color:#9ca3af}.pd-chat-row{margin-bottom:8px;align-items:flex-end;display:flex}.pd-chat-row-bot{justify-content:flex-start}.pd-chat-avatar{height:28px;overflow:hidden;flex-shrink:0;margin-right:6px;border-radius:50%;width:28px}.pd-chat-avatar img{height:100%;object-fit:cover;width:100%}.pd-chat-footer{padding:10px 14px;border-top:1px solid #e5e7eb;gap:8px;align-items:center;background:#fff;display:flex}.pd-chat-footer textarea{flex:1;height:56px;min-height:56px;overflow-y:hidden;padding:10px 16px;resize:none;border:1px solid #d1d5db;font:inherit;font-size:14px;max-height:56px;outline:none;box-sizing:border-box;border-radius:24px}.pd-chat-footer textarea::-webkit-scrollbar{display:none}.pd-chat-footer button{height:56px;padding:0 18px;border:none;color:#fff;font:inherit;font-size:14px;border-radius:28px;background:#4f46e5;cursor:pointer;white-space:nowrap}.pd-chat-footer button:disabled{opacity:.6;cursor:default}@media (max-width:600px){.pd-chat-window{height:calc(100vh - 180px);right:8px;max-height:600px;bottom:10px;left:8px;width:auto}.pd-chat-btn{right:16px;bottom:10px}}.pd-chat-window.pd-has-operator .pd-chat-header-left{display:none}.pd-chat-window.pd-has-operator .pd-chat-header-right{flex:1;gap:8px;align-items:center;display:flex}.pd-chat-window.pd-has-operator .pd-chat-header-right button{margin-left:auto}