/* Akrep Əmlak v4: WhatsApp üslublu, Sanimob AI Mərkəzinə bağlı dəstək pəncərəsi */
#akrep-support-widget{position:relative;z-index:10020;font-family:inherit;color:var(--text,#202b3b)}
.asw-fab{position:fixed;right:18px;bottom:92px;width:58px;height:58px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#20b66f,#128c54);color:#fff;box-shadow:0 10px 30px #0c824a55;cursor:pointer;z-index:10020;transition:transform .18s ease,box-shadow .18s ease}
.asw-fab:hover{transform:translateY(-2px);box-shadow:0 14px 34px #0c824a66}.asw-fab svg{width:27px;height:27px}
.asw-panel{position:fixed;right:18px;bottom:162px;width:min(390px,calc(100vw - 24px));height:min(610px,calc(100dvh - 190px));min-height:340px;display:flex;flex-direction:column;background:#f4f7f8;border:1px solid #d9e3e5;border-radius:21px;overflow:hidden;box-shadow:0 22px 70px #102a3a35;z-index:10021;color:#182b35}
.asw-panel[hidden],.asw-fab[hidden]{display:none!important}
.asw-head{display:flex;align-items:center;gap:10px;padding:14px 15px;color:#fff;background:linear-gradient(130deg,#075e54,#128c7e);min-height:70px}
.asw-avatar{width:39px;height:39px;border-radius:50%;flex:0 0 auto;display:grid;place-items:center;background:#ffffff24;font-size:19px}.asw-headcopy{min-width:0;flex:1}.asw-headcopy b{display:block;font-size:14px}.asw-headcopy small{display:block;margin-top:3px;font-size:11px;opacity:.86}.asw-close{border:0;background:#ffffff20;color:#fff;border-radius:9px;width:34px;height:34px;font-size:23px;cursor:pointer}
.asw-body{flex:1;min-height:0;overflow:auto;padding:14px 12px;background-color:#eaf0ed;background-image:radial-gradient(#7ba08d12 1px,transparent 1px);background-size:13px 13px}
.asw-intro{max-width:90%;margin:0 auto 14px;padding:10px 12px;border-radius:12px;background:#fff;color:#38524c;font-size:12px;line-height:1.5;box-shadow:0 1px 2px #1232;text-align:center}
.asw-message{display:flex;margin:7px 0;align-items:flex-end;gap:6px}.asw-message.mine{justify-content:flex-end}.asw-bubble{max-width:86%;padding:9px 10px 6px;border-radius:12px;background:#fff;box-shadow:0 1px 1px #18342a14;overflow-wrap:anywhere;font-size:13px;line-height:1.48;white-space:normal}.asw-message.mine .asw-bubble{background:#d9fdd3;border-top-right-radius:3px}.asw-message:not(.mine) .asw-bubble{border-top-left-radius:3px}.asw-bubble img{display:block;max-width:100%;max-height:190px;object-fit:contain;border-radius:8px;margin-bottom:5px}.asw-bubble .asw-t{display:block;color:#70827b;font-size:9px;text-align:right;margin-top:4px}.asw-ai-label{display:block;font-size:10px;color:#008b70;font-weight:800;margin:0 0 3px}.asw-typing{display:flex;gap:4px;align-items:center;padding:12px}.asw-typing i{width:5px;height:5px;border-radius:50%;background:#7c9388;animation:aswPulse 1s infinite ease-in-out}.asw-typing i:nth-child(2){animation-delay:.12s}.asw-typing i:nth-child(3){animation-delay:.24s}@keyframes aswPulse{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.asw-guest{background:#fff;border-radius:14px;padding:14px;text-align:center;line-height:1.55;font-size:13px}.asw-guest a{display:block;text-decoration:none;padding:11px;margin-top:8px;border-radius:10px;background:#0d8b60;color:#fff;font-weight:750}.asw-actions{padding:7px 10px;display:flex;gap:7px;flex-wrap:wrap;background:#f9fbfa;border-top:1px solid #e0e8e4}.asw-actions[hidden]{display:none}.asw-actions button,.asw-actions a{border:1px solid #c9d7d0;background:#fff;color:#285447;border-radius:999px;padding:7px 10px;font:600 11px/1.2 system-ui;text-decoration:none;cursor:pointer}.asw-actions .asw-walink{margin-left:auto;background:#e8f8ec;color:#087d46}
.asw-compose{display:flex;gap:7px;align-items:flex-end;padding:10px;background:#f8fbf9;border-top:1px solid #dce7e1}.asw-compose textarea{min-width:0;max-height:100px;min-height:39px;resize:none;flex:1;border:1px solid #d5e2dc;background:#fff;border-radius:20px;padding:10px 12px;font:13px/1.4 system-ui;outline:none}.asw-compose textarea:focus{border-color:#159874;box-shadow:0 0 0 3px #15987416}.asw-attach,.asw-send{width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;flex:0 0 auto}.asw-attach{background:#e5efea;color:#45675b}.asw-send{background:#128c7e;color:#fff}.asw-send:disabled{opacity:.5;cursor:wait}.asw-compose svg{width:18px;height:18px}.asw-file-note{padding:5px 12px;background:#f8fbf9;font-size:11px;color:#58756a}.asw-file-note[hidden]{display:none}.asw-error{margin:8px auto;background:#fff1f0;color:#9b2828;padding:9px;border-radius:10px;font-size:12px}
@media(max-width:600px){.asw-fab{right:13px;bottom:82px;width:54px;height:54px}.asw-panel{right:0;bottom:0;width:100vw;height:min(78dvh,700px);max-height:calc(100dvh - 75px);border-radius:20px 20px 0 0;border-bottom:0}.asw-actions{padding-bottom:calc(7px + env(safe-area-inset-bottom))}.asw-panel.asw-expanded{height:calc(100dvh - 65px)}}
@media(prefers-reduced-motion:reduce){.asw-fab,.asw-typing i{animation:none;transition:none}}
/* v72: mobil — kiçik və alt menyunun üstündə; yan menyu açıq olanda gizlənir */
@media(max-width:600px){.asw-fab{right:10px;bottom:calc(78px + env(safe-area-inset-bottom));width:46px;height:46px;box-shadow:0 8px 20px #0c824a44}.asw-fab svg{width:23px;height:23px}}
body.menu-open #akrep-support-widget{display:none}
