#xchat-root{position:fixed;z-index:2147483000;font-family:var(--xc-font);font-size:14px;line-height:1.45;color:#111827;box-sizing:border-box}#xchat-root *,#xchat-root *:before,#xchat-root *:after{box-sizing:border-box}#xchat-root[data-position=right]{right:18px;bottom:18px}#xchat-root[data-position=left]{left:18px;bottom:18px}.xchat-launcher{width:66px;height:66px;border-radius:50%;border:5px solid rgba(255,255,255,.88);background:var(--xc-launcher-bg);color:var(--xc-launcher-text);box-shadow:0 18px 45px rgba(15,23,42,.28);display:grid;place-items:center;font-size:25px;cursor:pointer;position:relative;transition:.25s transform}.xchat-launcher:hover{transform:translateY(-3px) scale(1.03)}.xchat-launcher-pulse{position:absolute;inset:-7px;border:2px solid color-mix(in srgb,var(--xc-launcher-bg) 45%,transparent);border-radius:50%;animation:xcPulse 2.2s infinite}#xchat-root[data-position=right] .xchat-panel{right:0;transform-origin:bottom right}#xchat-root[data-position=left] .xchat-panel{left:0;transform-origin:bottom left}#xchat-root[data-position=left] .xchat-teaser{left:78px;right:auto}#xchat-root[data-position=left] .xchat-toast{left:0;right:auto}.xchat-panel{position:absolute;width:min(500px,calc(100vw - 28px));height:min(680px,calc(100dvh - 110px));bottom:78px;background:var(--xc-panel-bg);border:1px solid rgba(148,163,184,.26);border-radius:var(--xc-radius);box-shadow:var(--xc-shadow);overflow:hidden;display:flex;flex-direction:column;opacity:0;pointer-events:none;transform:translateY(22px) scale(.97);transform-origin:bottom right;transition:.25s ease}.xchat-panel.is-open{opacity:1;pointer-events:auto;transform:none}.xchat-panel.is-expanded{width:min(740px,calc(100vw - 32px));height:min(800px,calc(100dvh - 36px));bottom:0}.xchat-panel.is-minimized{height:64px}.xchat-panel.is-minimized .xchat-body,.xchat-panel.is-minimized .xchat-quick,.xchat-panel.is-minimized .xchat-compose,.xchat-panel.is-minimized .xchat-footer{display:none}.xchat-header{height:64px;min-height:64px;padding:9px 10px 9px 13px;background:linear-gradient(135deg,var(--xc-header),color-mix(in srgb,var(--xc-header) 78%,#000));color:var(--xc-header-text);display:flex;align-items:center;gap:10px}.xchat-avatar{width:40px;height:40px;border-radius:13px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:18px;position:relative}.xchat-online{position:absolute;width:10px;height:10px;background:#38d879;border:2px solid #fff;border-radius:50%;right:-2px;bottom:-2px}.xchat-heading{min-width:0;flex:1}.xchat-heading strong,.xchat-heading small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xchat-heading strong{font-size:14.5px}.xchat-heading small{font-size:10.5px;opacity:.86}.xchat-controls{display:flex;gap:5px}.xchat-controls button{width:30px;height:30px;border-radius:9px;border:1px solid rgba(255,255,255,.24);background:rgba(255,255,255,.12);color:inherit;cursor:pointer}.xchat-controls button:hover{background:rgba(255,255,255,.24)}.xchat-body{flex:1;min-height:0;overflow:auto;background:linear-gradient(180deg,color-mix(in srgb,var(--xc-panel-bg) 98%,#fff),var(--xc-panel-bg));scrollbar-width:thin}.xchat-messages{padding:18px 13px 4px;display:flex;flex-direction:column;gap:11px}.xchat-message{display:flex;gap:8px;align-items:flex-end;animation:xcIn .25s ease}.xchat-message.user{justify-content:flex-end}.xchat-mini-avatar{width:27px;height:27px;border-radius:9px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.12);display:grid;place-items:center;flex:0 0 auto;font-size:12px}.xchat-bubble{max-width:82%;padding:11px 14px;border-radius:18px;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 5px 18px rgba(15,23,42,.07)}.xchat-message.bot .xchat-bubble{background:var(--xc-bot-bg);color:var(--xc-bot-text);border-bottom-left-radius:5px}.xchat-message.user .xchat-bubble{background:var(--xc-user-bg);color:var(--xc-user-text);border-bottom-right-radius:5px}.xchat-typing{display:flex;gap:4px;align-items:center;min-width:54px}.xchat-typing i{width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.45;animation:xcTyping 1.1s infinite}.xchat-typing i:nth-child(2){animation-delay:.16s}.xchat-typing i:nth-child(3){animation-delay:.32s}.xchat-topics{padding:8px 12px 20px}.xchat-topics p{text-align:center;color:#64748b;font-size:11px;margin:3px 0 10px}.xchat-chip-list{display:flex;flex-wrap:wrap;gap:9px}.xchat-chip{border:1px solid rgba(148,163,184,.3);background:var(--xc-chip-bg);color:var(--xc-chip-text);border-radius:999px;padding:9px 13px;display:inline-flex;align-items:center;gap:8px;box-shadow:0 7px 18px rgba(15,23,42,.06);cursor:pointer;transition:.2s}.xchat-chip:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--xc-accent) 55%,#fff);box-shadow:0 10px 24px rgba(15,23,42,.1)}.xchat-chip i{width:24px;height:24px;border-radius:50%;background:#f1f5f9;display:grid;place-items:center;color:var(--xc-primary)}.xchat-quick{min-height:43px;padding:6px 10px;display:flex;gap:7px;overflow-x:auto;background:#fff;border-top:1px solid #e5e7eb;scrollbar-width:none}.xchat-quick:empty{display:none}.xchat-quick .xchat-chip{padding:5px 10px;font-weight:650;font-size:11px;white-space:nowrap;box-shadow:none}.xchat-quick .xchat-chip i{width:auto;height:auto;background:transparent}.xchat-compose{margin:8px 10px 4px;padding:4px 5px 4px 13px;border-radius:999px;border:1.5px solid color-mix(in srgb,var(--xc-accent) 55%,#dbeafe);background:#fff;display:flex;align-items:center;box-shadow:0 0 0 5px color-mix(in srgb,var(--xc-accent) 10%,transparent)}.xchat-compose:focus-within{border-color:var(--xc-accent)}.xchat-compose input{border:0;outline:0;background:transparent;min-width:0;flex:1;height:38px;font:inherit}.xchat-compose button{width:40px;height:40px;border-radius:50%;border:0;background:var(--xc-primary);color:#fff;cursor:pointer;font-size:16px;box-shadow:0 8px 18px color-mix(in srgb,var(--xc-primary) 28%,transparent)}.xchat-footer{text-align:center;color:#64748b;font-size:9.5px;padding:4px 8px 8px;background:#fff}.xchat-teaser{position:absolute;right:78px;bottom:8px;min-width:260px;max-width:340px;border:1px solid rgba(148,163,184,.3);background:#fff;color:#111827;border-radius:18px;padding:10px 12px;box-shadow:0 16px 40px rgba(15,23,42,.18);display:flex;align-items:center;gap:9px;cursor:pointer;opacity:0;pointer-events:none;transform:translateX(15px);transition:.3s}.xchat-teaser.is-visible{opacity:1;pointer-events:auto;transform:none}.xchat-teaser-dot{width:30px;height:30px;border-radius:10px;background:color-mix(in srgb,var(--xc-primary) 12%,#fff);color:var(--xc-primary);display:grid;place-items:center}.xchat-teaser-text{flex:1;text-align:left;font-weight:650}.xchat-teaser>i{color:#94a3b8}.xchat-toast{position:absolute;bottom:88px;right:0;width:300px;background:#0f172a;color:#fff;border-radius:14px;padding:10px 14px;box-shadow:0 15px 35px rgba(15,23,42,.26);opacity:0;pointer-events:none;transform:translateY(10px);transition:.25s}.xchat-toast.show{opacity:1;transform:none}.xchat-lead-card{margin:4px 0 8px 35px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:13px;box-shadow:0 12px 30px rgba(15,23,42,.09)}.xchat-lead-card h4{margin:0 0 4px;font-size:14px}.xchat-lead-card p{margin:0 0 10px;color:#64748b;font-size:11px}.xchat-lead-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.xchat-lead-grid .full{grid-column:1/-1}.xchat-lead-card input,.xchat-lead-card select,.xchat-lead-card textarea{width:100%;border:1px solid #dbe2ea;border-radius:10px;padding:8px 9px;font:inherit;outline:0}.xchat-lead-card textarea{resize:vertical;min-height:65px}.xchat-lead-card input:focus,.xchat-lead-card select:focus,.xchat-lead-card textarea:focus{border-color:var(--xc-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--xc-accent) 10%,transparent)}.xchat-lead-card button{width:100%;border:0;border-radius:11px;background:var(--xc-primary);color:#fff;padding:10px;font-weight:700;cursor:pointer}.xchat-whatsapp{display:inline-flex;align-items:center;gap:7px;margin-top:9px;background:#19a95b;color:#fff;text-decoration:none;border-radius:999px;padding:9px 13px;font-weight:700}@keyframes xcTyping{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-5px);opacity:.9}}@keyframes xcIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes xcPulse{0%{transform:scale(.85);opacity:.8}70%,100%{transform:scale(1.22);opacity:0}}@media(max-width:600px){#xchat-root,#xchat-root[data-position=right],#xchat-root[data-position=left]{right:10px;left:auto;bottom:10px}.xchat-panel,.xchat-panel.is-expanded{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;border-radius:0;border:0}.xchat-panel.is-minimized{inset:auto 8px 82px 8px;width:auto;height:64px;border-radius:18px}.xchat-header{padding-left:10px}.xchat-controls{gap:3px}.xchat-controls button{width:29px}.xchat-bubble{max-width:88%}.xchat-teaser{right:72px;min-width:0;width:min(280px,calc(100vw - 98px))}.xchat-launcher{width:62px;height:62px}.xchat-lead-grid{grid-template-columns:1fr}.xchat-lead-grid .full{grid-column:auto}}

/* xChat 2.1 · resultados inteligentes */
.xchat-property-results{margin:2px 12px 14px 35px;display:grid;gap:10px}.xchat-result-head{display:flex;justify-content:space-between;align-items:end;gap:10px}.xchat-result-head strong{font-size:13px}.xchat-result-head small{font-size:10px;color:#64748b}.xchat-property-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;overflow:hidden;box-shadow:0 12px 30px rgba(15,23,42,.09)}.xchat-property-media{height:145px;position:relative;overflow:hidden;background:#e2e8f0}.xchat-property-media img{width:100%;height:100%;object-fit:cover;display:block;transition:.35s}.xchat-property-card:hover .xchat-property-media img{transform:scale(1.035)}.xchat-match,.xchat-operation{position:absolute;top:10px;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:700;backdrop-filter:blur(10px)}.xchat-match{left:10px;background:rgba(15,23,42,.82);color:#fff}.xchat-match b{font-size:12px}.xchat-operation{right:10px;background:rgba(255,255,255,.92);color:#0f172a}.xchat-property-content{padding:12px}.xchat-code{font-size:9.5px;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.xchat-property-content h4{font-size:14px;margin:4px 0 2px}.xchat-price{font-size:18px;font-weight:800;color:var(--xc-primary);margin-bottom:8px}.xchat-property-features{display:flex;flex-wrap:wrap;gap:6px 10px;color:#475569;font-size:10.5px}.xchat-property-features span{display:inline-flex;align-items:center;gap:4px}.xchat-property-features i{color:var(--xc-primary)}.xchat-property-content p{font-size:10.5px;color:#64748b;margin:9px 0}.xchat-property-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.xchat-property-actions a,.xchat-property-actions button{border:0;border-radius:10px;padding:9px 8px;text-decoration:none;text-align:center;font:inherit;font-size:10.5px;font-weight:700;cursor:pointer}.xchat-property-actions a{background:#f1f5f9;color:#0f172a}.xchat-property-actions button{background:var(--xc-primary);color:#fff}.xchat-smart-card{margin:3px 12px 12px 35px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:13px;box-shadow:0 12px 30px rgba(15,23,42,.09)}.xchat-smart-title{display:flex;align-items:center;gap:10px;margin-bottom:11px}.xchat-smart-title>i{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:color-mix(in srgb,var(--xc-primary) 11%,#fff);color:var(--xc-primary)}.xchat-smart-title strong,.xchat-smart-title small{display:block}.xchat-smart-title strong{font-size:13px}.xchat-smart-title small{font-size:10px;color:#64748b}.xchat-sim-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.xchat-sim-grid div{padding:9px;border-radius:11px;background:#f8fafc;border:1px solid #edf2f7}.xchat-sim-grid small,.xchat-sim-grid b{display:block}.xchat-sim-grid small{font-size:9px;color:#64748b}.xchat-sim-grid b{font-size:11px;margin-top:2px}.xchat-disclaimer{font-size:9px;color:#64748b;margin:10px 0 0}.xchat-agent-card{display:flex;align-items:center;gap:10px}.xchat-agent-avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#e0f2fe;color:#0369a1;flex:0 0 auto}.xchat-agent-card>div:nth-child(2){min-width:0;flex:1}.xchat-agent-card small,.xchat-agent-card strong,.xchat-agent-card span{display:block}.xchat-agent-card small{font-size:9px;color:#64748b}.xchat-agent-card strong{font-size:13px}.xchat-agent-card span{font-size:9.5px;color:#64748b}.xchat-agent-card>a{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#16a34a;color:#fff;text-decoration:none}.xchat-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.xchat-form-grid .full{grid-column:1/-1}.xchat-form-grid input,.xchat-form-grid select,.xchat-form-grid textarea{width:100%;min-width:0;border:1px solid #dbe2ea;border-radius:10px;padding:9px;font:inherit;font-size:11px;outline:0;background:#fff}.xchat-form-grid textarea{min-height:62px;resize:vertical}.xchat-form-grid input:focus,.xchat-form-grid select:focus,.xchat-form-grid textarea:focus{border-color:var(--xc-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--xc-accent) 10%,transparent)}.xchat-form-grid button{border:0;border-radius:11px;background:var(--xc-primary);color:#fff;padding:10px;font:inherit;font-size:11px;font-weight:750;cursor:pointer}.xchat-form-grid button:disabled{opacity:.65;cursor:wait}.xchat-check{display:flex;align-items:center;gap:7px;padding:8px;border:1px solid #dbe2ea;border-radius:10px;font-size:10.5px;background:#fff}.xchat-check input{width:auto}.xchat-compose input::placeholder{color:#6b7280}
@media(max-width:600px){.xchat-property-results,.xchat-smart-card{margin-left:8px;margin-right:8px}.xchat-property-media{height:168px}.xchat-form-grid{grid-template-columns:1fr}.xchat-form-grid .full{grid-column:auto}.xchat-sim-grid{grid-template-columns:1fr 1fr}}
.xchat-field-label{display:grid;gap:5px;font-size:10px;color:#64748b;font-weight:700}.xchat-field-label input{width:100%;font-weight:400;color:#172033}

/* NexoProp 3.0 · correcciones de conversación y acabado visual */
.xchat-body{overscroll-behavior:contain;scroll-behavior:smooth}
.xchat-messages{min-height:0;padding-bottom:6px}
.xchat-message.bot .xchat-bubble{border:1px solid color-mix(in srgb,var(--xc-bot-bg) 82%,#cbd5e1);background:linear-gradient(145deg,color-mix(in srgb,var(--xc-bot-bg) 96%,#fff),var(--xc-bot-bg))}
.xchat-message.user .xchat-bubble{background:linear-gradient(145deg,var(--xc-user-bg),color-mix(in srgb,var(--xc-user-bg) 78%,#000));box-shadow:0 9px 24px color-mix(in srgb,var(--xc-user-bg) 22%,transparent)}
.xchat-topics{margin:4px 12px 16px;padding:12px;border:1px solid rgba(148,163,184,.22);border-radius:18px;background:rgba(255,255,255,.72);box-shadow:0 10px 28px rgba(15,23,42,.05)}
.xchat-topics p{margin:0 0 10px;font-weight:600}
.xchat-compose{transition:opacity .2s,transform .2s,border-color .2s}
.xchat-compose.is-busy{opacity:.72;transform:scale(.995)}
.xchat-compose input:disabled{cursor:wait}
.xchat-compose button{transition:transform .2s,filter .2s}
.xchat-compose button:hover{transform:scale(1.04);filter:brightness(1.04)}
.xchat-quick{box-shadow:0 -8px 22px rgba(15,23,42,.035)}
.xchat-footer{border-top:1px solid rgba(226,232,240,.7)}
.xchat-property-card,.xchat-smart-card,.xchat-lead-card{transition:transform .2s,box-shadow .2s,border-color .2s}
.xchat-property-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--xc-primary) 22%,#e2e8f0);box-shadow:0 16px 36px rgba(15,23,42,.12)}

@media(max-width:600px){
  #xchat-root,#xchat-root[data-position=right],#xchat-root[data-position=left]{right:8px;left:auto;bottom:8px}
  .xchat-panel,.xchat-panel.is-expanded{position:fixed;inset:8px;width:auto;height:calc(100dvh - 16px);max-width:none;border:1px solid rgba(148,163,184,.28);border-radius:22px;box-shadow:0 24px 70px rgba(15,23,42,.3)}
  .xchat-panel.is-minimized{inset:auto 8px 82px 8px;width:auto;height:64px;border-radius:18px}
  .xchat-header{min-height:64px;height:64px;border-radius:21px 21px 0 0}
  .xchat-heading strong{font-size:14px}
  .xchat-heading small{font-size:9.5px}
  .xchat-controls button{width:29px;height:29px}
  .xchat-messages{padding:16px 10px 12px;gap:12px}
  .xchat-bubble{max-width:87%;padding:11px 13px;line-height:1.48}
  .xchat-topics{margin:4px 9px 13px;padding:10px}
  .xchat-chip-list{gap:7px}
  .xchat-chip{padding:8px 11px}
  .xchat-quick{padding:6px 8px}
  .xchat-compose{margin:7px 8px 4px}
  .xchat-footer{padding-bottom:7px}
}

/* NexoProp 3.0 · chips inmediatamente bajo la conversación */
.xchat-body{display:block}
.xchat-messages+.xchat-topics{margin-top:0}
.xchat-topics{animation:xcTopicsIn .2s ease}
.xchat-chip-list{max-height:245px;overflow:auto;overscroll-behavior:contain;padding:1px 2px 4px;scrollbar-width:thin}
@keyframes xcTopicsIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:600px){.xchat-chip-list{max-height:270px}.xchat-topics{margin-top:0}.xchat-messages{padding-bottom:4px}}

/* NexoProp 3.0 · catálogo y motor social */
.xchat-match.xchat-available{background:rgba(22,163,74,.9);color:#fff}
.xchat-property-results{scroll-margin-top:12px}
.xchat-property-card{contain:content}
.xchat-property-content h4{line-height:1.25}
@media(max-width:600px){
  .xchat-property-results{margin-top:6px}
  .xchat-property-card{border-radius:16px}
  .xchat-property-media{height:154px}
}
.xchat-message.human-agent .xchat-mini-avatar{background:linear-gradient(135deg,#6d5dfc,#20c7b7);color:#fff}.xchat-agent-label{display:block;font-weight:800;color:#5a4ce6;margin-bottom:6px;font-size:11px}.xchat-message.human-agent .xchat-bubble{border:1px solid rgba(109,93,252,.18);box-shadow:0 10px 28px rgba(80,67,180,.12)}
