.amanat-chat{--chat-red:#e21d2c;--chat-bg:#101013;--chat-line:#ffffff20;position:fixed;right:24px;bottom:max(24px,env(safe-area-inset-bottom));z-index:1100;font:16px/1.5 'Nunito Sans',sans-serif;color:#f6f5f3;text-align:left;letter-spacing:normal}
.amanat-chat *, .amanat-chat *::before,.amanat-chat *::after{box-sizing:border-box}
.amanat-chat [hidden]{display:none!important}
.amanat-chat button,.amanat-chat textarea{font:inherit;letter-spacing:normal}
.amanat-chat button{cursor:pointer;color:inherit}
.amanat-chat button:disabled{cursor:wait;opacity:.55}
.amanat-chat :focus-visible{outline:2px solid #ff8990;outline-offset:4px}
.amanat-chat-launch{display:flex;align-items:center;gap:12px;min-height:60px;padding:12px 22px 12px 15px;border:1px solid #fa858c;border-radius:999px;background:linear-gradient(150deg,#fa6870,#dc1e2c 65%,#ac1427);box-shadow:inset 0 2px 1px #ffffff40,0 8px 32px #0008;font-weight:750!important}
.amanat-chat-launch svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.6}
.amanat-chat-launch .amanat-chat-avatar{display:block;width:44px;height:44px;max-width:none;flex:none;border:1px solid #ffc4c58f;border-radius:50%;object-fit:cover;object-position:50% 12%}
.amanat-chat-launch:has(.amanat-chat-avatar){padding:7px 20px 7px 7px}
.amanat-chat-portrait{display:block;width:48px;height:48px;max-width:none;flex:none;object-fit:cover;object-position:50% 12%;border:1px solid #d97a8955;border-radius:50%}
.amanat-chat-panel{display:flex;flex-direction:column;width:min(420px,calc(100vw - 40px));height:min(680px,calc(100dvh - 48px));border:1px solid #ffffff29;border-radius:24px;background:var(--chat-bg);box-shadow:0 20px 80px #000a;overflow:hidden}
.amanat-chat-head{display:flex;align-items:center;gap:12px;padding:22px 20px 18px;border-bottom:1px solid var(--chat-line);background:linear-gradient(130deg,#42171f,#161215 80%)}
.amanat-chat-mark{width:42px;height:42px;flex:none;display:grid;place-items:center;border:1px solid #e3465666;border-radius:13px;background:#e21d2c1a;color:#ff6d78;font:800 26px/1 'Montserrat',sans-serif}
.amanat-chat-heading{flex:1;min-width:0}
.amanat-chat-heading h2{margin:0 0 3px;font:700 15px/1.4 'Montserrat',sans-serif;color:#fff}
.amanat-chat-heading p{margin:0;color:#c8bbc0;font-size:12px}
.amanat-chat-actions{display:flex;align-items:center;gap:6px;flex:none}
.amanat-chat-actions button{display:grid;place-items:center;flex:none;width:40px;height:40px;min-width:40px;padding:0;margin:0;border:1px solid #ffffff2b;border-radius:50%;background:transparent;line-height:1;appearance:none}
.amanat-chat-actions button:hover{background:#ffffff0c;border-color:#ffffff60}
.amanat-chat-actions svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.amanat-chat.is-expanded .amanat-chat-panel{width:min(900px,calc(100vw - 48px));height:calc(100dvh - 48px)}
.amanat-chat.is-expanded .amanat-chat-message{max-width:min(85%,640px)}
@media(max-width:600px){.amanat-chat.is-expanded .amanat-chat-panel{width:calc(100vw - 20px);height:calc(100dvh - 20px)}.amanat-chat-actions button{width:40px;height:40px}.amanat-chat-head{gap:8px}.amanat-chat-heading h2{font-size:14px}}

.amanat-chat-context{margin:0;padding:11px 20px;border-bottom:1px solid var(--chat-line);color:#d8c9cd;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.amanat-chat-preview{margin:0;padding:8px 20px;background:#322414;color:#e9c897;font-size:12px}
.amanat-chat-log{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 16px;display:flex;flex-direction:column;gap:15px;scrollbar-width:thin;scrollbar-color:#5f4249 transparent}
.amanat-chat-message{align-self:flex-start;max-width:91%;margin:0;padding:13px 15px;border:1px solid #ffffff10;border-radius:3px 18px 18px 18px;background:#202024;color:#f0edef;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.55}
.amanat-chat-message[data-role=user]{align-self:flex-end;border-radius:18px 3px 18px 18px;background:#5c202a;border-color:#8b3442;color:#fff}
.amanat-chat-message small{display:block;margin-bottom:5px;color:#b8a9ae;font-size:10px}
.amanat-chat-typing{align-self:flex-start;display:flex;align-items:center;gap:11px;min-height:44px;padding:11px 15px;border:1px solid #ffffff10;border-radius:3px 18px 18px 18px;background:#202024;color:#bfb1b7;font-size:12px;flex:none}
.amanat-chat-typing-dots{display:flex;align-items:center;gap:5px;height:14px}
.amanat-chat-typing-dots i{display:block;width:5px;height:5px;border-radius:50%;background:#f07b87;animation:amanat-chat-dot 1.05s cubic-bezier(.45,0,.35,1) infinite}
.amanat-chat-typing-dots i:nth-child(2){animation-delay:.14s}.amanat-chat-typing-dots i:nth-child(3){animation-delay:.28s}
@keyframes amanat-chat-dot{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}
@media(prefers-reduced-motion:reduce){.amanat-chat-typing-dots i{animation:none;opacity:.8}}
.amanat-chat-quick{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 14px}
.amanat-chat-quick button{border:1px solid #ffffff28;background:transparent;border-radius:20px;padding:8px 12px;font-size:12px;min-height:36px}
.amanat-chat-quick button:hover{background:#ffffff0c;border-color:#ff6c7880}
.amanat-chat-compose{display:flex;gap:10px;margin:0;padding:14px 16px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--chat-line);background:#151518}
.amanat-chat-compose textarea{resize:none;min-width:0;width:100%;height:48px;max-height:100px;border:1px solid #ffffff2a;border-radius:13px;padding:11px 12px;background:#0e0e11;color:#fff;font-size:16px}
.amanat-chat-compose textarea::placeholder{color:#9b9096}
.amanat-chat-send{width:48px;height:48px;flex:none;border:1px solid #ff6c77;border-radius:14px;background:linear-gradient(145deg,#ee5361,#c41128);font-size:24px!important}
.amanat-chat-status{margin:0;padding:0 18px 10px;font-size:12px;color:#d6b7be;min-height:0}
.amanat-chat-contact{margin:0 16px 16px;padding:16px;border:1px solid #8e3647;border-radius:16px;background:#24171d}
.amanat-chat-contact p{margin:0 0 12px;color:#fff;white-space:pre-line;overflow-wrap:anywhere}
.amanat-chat-contact label{display:flex;align-items:flex-start;gap:10px;color:#cbbec3;font-size:12px;line-height:1.5}
.amanat-chat-contact input{margin-top:3px;width:17px;height:17px;flex:none;accent-color:var(--chat-red)}
.amanat-chat-contact a{color:#eee0e5;text-decoration:underline;text-underline-offset:2px}
.amanat-chat-confirm{width:100%;border:1px solid #fb6672;border-radius:999px;padding:12px;margin-top:14px;background:linear-gradient(140deg,#ef5360,#c8152c);font-size:14px;font-weight:700!important}
.amanat-chat-contact .amanat-chat-edit{border:0;background:transparent;width:100%;padding:10px 0 0;font-size:12px;text-decoration:underline}
.amanat-chat-result{margin:0 16px 14px;font-size:12px;max-height:180px;overflow:auto;flex:none}
.amanat-chat-result summary{cursor:pointer;padding:8px 0;color:#d6bec5}
.amanat-chat-result pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.5 'Nunito Sans',sans-serif;color:#cbbcc1}
@media(max-width:600px){.amanat-chat{right:14px;bottom:max(16px,env(safe-area-inset-bottom))}.amanat-chat-launch{min-height:54px;padding:10px 16px;gap:9px;font-size:13px}.amanat-chat-panel{width:calc(100vw - 20px);height:min(720px,calc(100dvh - 20px));border-radius:20px}.amanat-chat.is-open{right:10px;bottom:max(10px,env(safe-area-inset-bottom))}.amanat-chat-head{padding:16px}.amanat-chat-message{max-width:95%;font-size:14px}.amanat-chat-log{padding:16px 12px}.amanat-chat-context{padding-inline:16px}}
@media(max-height:500px){.amanat-chat-panel{height:calc(100dvh - 16px)}.amanat-chat-head{padding:10px 14px}.amanat-chat-preview,.amanat-chat-context{padding-block:5px}.amanat-chat-quick{padding-bottom:8px}}

.amanat-chat-car{margin-top:14px;border:1px solid #ffffff24;border-radius:14px;overflow:hidden;background:#131316;white-space:normal}
.amanat-chat-car>img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;margin:0}
.amanat-chat-car-content{padding:14px}
.amanat-chat-car h3{margin:0 0 6px;font:700 16px/1.4 'Nunito Sans',sans-serif;color:#fff;letter-spacing:normal}
.amanat-chat-car p{margin:5px 0}
.amanat-chat-car-meta{font-size:12px;line-height:1.5;color:#b8b1b5}
.amanat-chat-car-price{display:block;margin:10px 0 0;font-size:21px;color:#fff}
.amanat-chat-car ul{padding-left:17px;margin:12px 0;font-size:13px;line-height:1.5}
.amanat-chat-car li+li{margin-top:6px}
.amanat-chat-car a{display:block;margin-top:12px;padding:10px;border:1px solid #eb60767a;border-radius:10px;color:#ffd5db;text-decoration:none;font-size:13px;text-align:center;background:#8f243633}
