#an-assistant{--an-brand:#a51d37;--an-dark:#242332;font-family:Vazir,Vazirmatn,Tahoma,sans-serif;font-size:14px;line-height:1.9;position:relative;z-index:10000}#an-assistant *{box-sizing:border-box}#an-assistant button,#an-assistant input,#an-assistant a{font:inherit}#an-assistant button{cursor:pointer}#an-assistant [hidden]{display:none!important}.an-launch{position:fixed;bottom:28px;left:24px;display:flex;gap:10px;align-items:center;border:1px solid #ffffff45;border-radius:50px;background:var(--an-dark);color:white;padding:12px 20px;box-shadow:0 8px 35px #25233340}.an-launch span{color:#e3b686;font-size:23px}.an-panel{position:fixed;bottom:95px;left:24px;width:390px;max-width:calc(100vw - 32px);height:620px;max-height:calc(100dvh - 120px);display:flex;flex-direction:column;background:#fbfaf7;border:1px solid #e4e0db;border-radius:22px;box-shadow:0 16px 80px #24233240;overflow:hidden}.an-head{display:flex!important;position:static!important;gap:12px;align-items:center;background:var(--an-dark);padding:18px;color:white;min-height:85px;border:0}.an-head div{flex:1}.an-head strong,.an-head small{display:block}.an-head small{font-size:11px;color:#ded6ce}.an-avatar{border:1px solid #bca88b;color:#e4c59f;border-radius:14px;padding:7px;font:20px Georgia,serif}.an-close{border:0;background:transparent;color:white;font-size:28px!important}.an-tabs{display:flex;gap:6px;padding:8px 12px;border-bottom:1px solid #e9e5df}.an-tabs button{font-size:11px!important;color:#5e5251;border:0;background:transparent;padding:4px}.an-tabs button:last-child{margin-right:auto}.an-messages{flex:1;overflow:auto;overscroll-behavior:contain;padding:16px;display:flex;flex-direction:column;gap:12px;min-height:80px}.an-bubble{padding:10px 14px;background:white;border:1px solid #eee8e0;border-radius:14px 3px 14px 14px;max-width:94%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.an-bubble.user{align-self:flex-end;background:var(--an-brand);color:white;border-color:var(--an-brand);border-radius:3px 14px 14px 14px}.an-summary{background:#f1ebe3}.an-choices{display:flex;flex-wrap:wrap;gap:7px;padding:0 14px 10px;max-height:150px;overflow:auto}.an-choices button{background:white;border:1px solid #d6c6bd;color:#713145;border-radius:16px;padding:5px 12px;font-size:12px!important}.an-wa{display:block;width:100%;text-align:center;background:#147b55;color:white!important;text-decoration:none;padding:9px 12px;border-radius:10px}.an-form{margin:0 12px;display:flex;border:1px solid #ddd4cd;border-radius:12px;background:white;overflow:hidden;flex-shrink:0}.an-form input{min-width:0;width:100%;border:0;background:none;padding:10px;color:#252332;outline-offset:-3px}.an-form button{border:0;background:var(--an-brand);color:white;padding:0 15px}.an-form input:disabled{background:#f3f0ec}.an-actions{padding:8px 14px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.an-actions button{background:none;border:0;color:#963149;font-size:11px!important}.an-actions small{font-size:9px;color:#6e6562}.an-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#an-assistant button:focus-visible,#an-assistant a:focus-visible{outline:3px solid #c99454;outline-offset:2px}@media(max-width:600px){.an-launch{bottom:88px;left:14px;padding:9px 14px;font-size:12px!important}.an-panel{left:12px;bottom:145px;width:calc(100vw - 24px);height:570px;max-width:none;max-height:calc(100dvh - 160px)}}@media(prefers-reduced-motion:no-preference){.an-panel{animation:an-appear .2s ease-out}@keyframes an-appear{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}}

body:has(#an-assistant) .floating-contact{left:auto;right:24px}body:has(#an-panel:not([hidden])) .floating-contact{visibility:hidden}
