.ai-assistant-container{position:fixed;bottom:2rem;right:2rem;z-index:99990}.assistant-toggle{width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#133dbd,#1a4fd6);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 24px #133dbd73;transition:transform .2s ease,box-shadow .2s ease;position:relative}.assistant-toggle:hover{transform:scale(1.07);box-shadow:0 6px 32px #133dbd99}.icon-close,.assistant-toggle.active .icon-chat{display:none}.assistant-toggle.active .icon-close{display:block}.pulse-indicator{position:absolute;top:9px;right:9px;width:10px;height:10px;background:#65d78d;border-radius:50%;border:2px solid white;animation:pulse-ring 2.5s ease-in-out infinite}@keyframes pulse-ring{0%{box-shadow:0 0 #65d78db3}70%{box-shadow:0 0 0 8px #65d78d00}to{box-shadow:0 0 #65d78d00}}.assistant-panel{position:fixed;bottom:5rem;right:2rem;font-size:14px;line-height:1.5;width:400px;max-width:calc(100vw - 3rem);height:600px;max-height:calc(100vh - 7rem);background:#f8fafc;border-radius:20px;box-shadow:0 16px 56px #0000002e,0 2px 10px #00000014;display:none;flex-direction:column;overflow:hidden;border:1px solid rgba(0,0,0,.08);z-index:99991}.assistant-panel.active{display:flex;animation:panelSlideUp .3s cubic-bezier(.34,1.56,.64,1)}.assistant-panel.fullscreen{position:fixed;inset:0;width:100vw;max-width:100vw;height:100vh;max-height:100vh;border-radius:0;border:none;animation:none;z-index:2147483000}body.ai-fullscreen-open .ai-assistant-container{z-index:2147483647}body.ai-fullscreen-open .assistant-panel.fullscreen{z-index:2147483647!important}body.ai-fullscreen-open header,body.ai-fullscreen-open .site-header,body.ai-fullscreen-open #site-header,body.ai-fullscreen-open footer,body.ai-fullscreen-open .site-footer{display:none!important}body.ai-fullscreen-open{overflow:hidden}@keyframes panelSlideUp{0%{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.assistant-header{background:linear-gradient(135deg,#133dbd,#1a4fd6);color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.header-left{display:flex;align-items:center;gap:10px}.assistant-avatar{width:40px;height:40px;background:#ffffff26;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1.5px solid rgba(255,255,255,.25)}.assistant-header h3{margin:0;font-size:.95rem;font-weight:700;letter-spacing:-.01em}.assistant-status{margin:2px 0 0;font-size:.72rem;opacity:.8;display:flex;align-items:center;gap:5px}.status-dot{width:6px;height:6px;background:#65d78d;border-radius:50%;flex-shrink:0;animation:status-pulse 2s infinite}@keyframes status-pulse{0%,to{opacity:1}50%{opacity:.4}}.header-actions{display:flex;gap:6px}.header-btn{background:#ffffff1f;border:1px solid rgba(255,255,255,.18);color:#fff;width:28px;height:28px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .15s;flex-shrink:0}.header-btn:hover{background:#ffffff3d}.header-btn--close:hover{background:#ef444466}.chat-messages{flex:1;overflow-y:auto;padding:16px 14px;display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth}.chat-messages::-webkit-scrollbar{width:3px}.chat-messages::-webkit-scrollbar-track{background:transparent}.chat-messages::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}.message{display:flex;gap:8px;animation:msgFadeIn .22s ease-out}@keyframes msgFadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.msg-avatar{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#133dbd,#1a4fd6);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:2px}.user-message{flex-direction:row-reverse}.user-message .msg-avatar{background:#e2e8f0;color:#64748b}.msg-bubble{background:#fff;padding:12px 14px;border-radius:14px 14px 14px 4px;max-width:82%;font-size:.88rem;line-height:1.58;color:#1e293b;box-shadow:0 1px 4px #0000000f;word-break:break-word}.msg-bubble p{margin:0 0 8px}.msg-bubble p:last-child{margin-bottom:0}.msg-bubble strong{color:#0f172a;font-weight:700}.user-message .msg-bubble{background:linear-gradient(135deg,#133dbd,#1a4fd6);color:#fff;border-radius:14px 14px 4px;box-shadow:none}.msg-properties{margin-top:10px;display:flex;flex-direction:column;gap:6px}.msg-properties-label{font-size:.7rem;font-weight:700;color:#133dbd;text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px}.msg-property-card{display:flex;align-items:center;gap:10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;text-decoration:none;transition:all .15s}.msg-property-card:hover{border-color:#133dbd;background:#eef2fc;transform:translate(2px)}.msg-property-card__info{flex:1;min-width:0}.msg-property-card__title{font-size:.8rem;font-weight:600;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.msg-property-card__meta{font-size:.71rem;color:#64748b;display:flex;gap:6px;margin-top:2px;flex-wrap:wrap}.msg-property-card__price{font-size:.8rem;font-weight:700;color:#133dbd;white-space:nowrap;flex-shrink:0}.msg-property-card__arrow{color:#94a3b8;flex-shrink:0;transition:color .15s}.msg-property-card:hover .msg-property-card__arrow{color:#133dbd}.msg-suggestions{display:flex;flex-direction:column;gap:6px;margin-top:10px;padding-top:10px;border-top:1px dashed #e2e8f0}.msg-suggestions__label{font-size:.68rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.06em;margin-bottom:2px}.msg-suggestion-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;background:#f0f4ff;border:1px solid #dbe4fb;color:#1440cc;padding:8px 12px;border-radius:10px;font-size:.8rem;font-weight:500;font-family:inherit;cursor:pointer;transition:all .15s ease;line-height:1.35}.msg-suggestion-btn:hover{background:#133dbd;color:#fff;border-color:#133dbd;transform:translate(2px)}.msg-suggestion-btn svg{flex-shrink:0;opacity:.7}.thinking-bubble{display:flex;align-items:center;gap:8px;color:#94a3b8;font-size:.82rem;font-style:italic;padding:10px 13px;background:#fff;border-radius:14px 14px 14px 4px;box-shadow:0 1px 4px #0000000f}.thinking-dots{display:flex;gap:4px}.thinking-dot{width:5px;height:5px;background:#cbd5e1;border-radius:50%;animation:thinkBounce 1.2s ease-in-out infinite}.thinking-dot:nth-child(2){animation-delay:.15s}.thinking-dot:nth-child(3){animation-delay:.3s}@keyframes thinkBounce{0%,60%,to{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}.typewriter-cursor{display:inline-block;width:2px;height:.9em;background:#133dbd;margin-left:2px;vertical-align:text-bottom;animation:blink .75s step-end infinite}@keyframes blink{0%,to{opacity:1}50%{opacity:0}}.quick-actions{display:flex;gap:5px;padding:0 12px 10px;flex-wrap:wrap;flex-shrink:0}.quick-action{background:#fff;border:1.5px solid #e2e8f0;padding:5px 10px;border-radius:20px;font-size:.75rem;color:#475569;cursor:pointer;transition:all .15s ease;font-family:inherit;line-height:1.3}.quick-action:hover{border-color:#133dbd;color:#133dbd;background:#eef2fc}.chat-input-container{padding:10px 12px;border-top:1px solid #e8ecf2;display:flex;gap:8px;align-items:flex-end;background:#fff;flex-shrink:0}#chatInput{flex:1;border:1.5px solid #e2e8f0;border-radius:14px;padding:9px 13px;font-family:inherit;font-size:.865rem;resize:none;max-height:100px;transition:border-color .15s,box-shadow .15s;background:#f8fafc;color:#1e293b;line-height:1.45}#chatInput:focus{outline:none;border-color:#133dbd;background:#fff;box-shadow:0 0 0 3px #133dbd14}#chatInput::placeholder{color:#94a3b8}#sendBtn{width:38px;height:38px;border-radius:10px;background:linear-gradient(135deg,#133dbd,#1a4fd6);border:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .15s,opacity .15s;flex-shrink:0}#sendBtn:hover:not(:disabled){transform:scale(1.08)}#sendBtn:disabled{opacity:.35;cursor:not-allowed}@media(max-width:768px){.ai-assistant-container{bottom:calc(70px + 1rem + env(safe-area-inset-bottom,0px));right:1rem}.assistant-toggle{width:52px;height:52px}.assistant-panel{bottom:calc(70px + 4rem + env(safe-area-inset-bottom,0px));right:.5rem;left:.5rem;width:auto;max-width:100%;height:calc(100dvh - 70px - 6rem);max-height:calc(100dvh - 70px - 6rem);border-radius:16px}.assistant-panel.fullscreen{inset:0;width:100vw;max-width:100vw;height:100vh;max-height:100vh;border-radius:0}}.assistant-panel p,.assistant-panel li,.assistant-panel label,.assistant-panel a,.assistant-panel span,.assistant-panel button,.assistant-panel input,.assistant-panel textarea,.assistant-panel select,.assistant-panel small{font-size:inherit}
