@font-face{font-family:HachWidgetFont;src:url('Vazirmatn.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}#hach-widget{--hach-color:#244d3e;font-family:HachWidgetFont,Tahoma,Arial,sans-serif;position:fixed;bottom:24px;z-index:999999;font-size:13px;color:#243c30;text-align:right}#hach-widget *{box-sizing:border-box}#hach-widget.hach-left{left:24px}#hach-widget.hach-right{right:24px}#hach-widget button,#hach-widget input{font-family:inherit}#hach-widget button{cursor:pointer}#hach-launcher{width:58px;height:58px;background:var(--hach-color);border:0;border-radius:20px;color:#fff;font-size:30px;box-shadow:0 8px 30px #183b3230}#hach-window[hidden]{display:none}#hach-window{position:absolute;bottom:75px;width:360px;max-width:calc(100vw - 32px);height:510px;max-height:calc(100dvh - 130px);background:#fff;border:1px solid #e1e7e0;border-radius:18px;box-shadow:0 16px 60px #183b3225;overflow:hidden;display:flex;flex-direction:column}.hach-left #hach-window{left:0}.hach-right #hach-window{right:0}#hach-window header{background:var(--hach-color);color:white;padding:20px;display:flex;align-items:center;justify-content:space-between}#hach-window header strong{display:block;font-size:15px}#hach-window header small{display:block;margin-top:7px;opacity:.7}#hach-close{background:none;border:none;color:white;font-size:25px}#hach-messages{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:14px;background:#fcfdfa}#hach-widget .hach-message{padding:12px 14px;max-width:92%;border-radius:12px;white-space:pre-wrap;line-height:1.9;overflow-wrap:anywhere}#hach-widget .hach-assistant{background:#edf2ea;align-self:flex-start;border-top-right-radius:3px}#hach-widget .hach-user{background:var(--hach-color);color:#fff;align-self:flex-end;border-bottom-left-radius:3px}#hach-form{display:flex;gap:8px;margin:10px 14px 4px;padding:6px;border:1px solid #dfe5dc;border-radius:11px}#hach-input{width:100%;min-width:0;outline:none;border:0;background:transparent;padding:8px;font-size:12px;color:#263b30}#hach-form:focus-within{border-color:var(--hach-color)}#hach-form button{background:var(--hach-color);color:white;border:0;border-radius:7px;min-width:36px;font-size:22px}#hach-form button:disabled{opacity:.5;cursor:wait}#hach-window footer{text-align:center;padding:10px;font-size:10px;color:#929b90}#hach-error{margin:0;padding:8px 16px;color:#a54d39;background:#fff3ed;font-size:11px;line-height:1.8}.hach-open-chat{padding:12px 20px;border:0;border-radius:10px;background:#244d3e;color:#fff;cursor:pointer}#hach-widget button:focus-visible{outline:3px solid #abbf8e;outline-offset:3px}@media(max-width:480px){#hach-widget.hach-left{left:16px}#hach-widget.hach-right{right:16px}#hach-widget{bottom:16px}#hach-window{width:calc(100vw - 32px)}}

/* 1.3 — AI head launcher, teaser bubble and richer chat surface */
#hach-launcher{position:relative;display:grid;place-items:center;width:62px;height:62px;border-radius:50%;color:#fff;background:radial-gradient(120% 120% at 30% 20%,#ffffff26,transparent 60%),var(--hach-color);box-shadow:0 10px 30px #12312529,0 0 0 1px #ffffff1f inset;transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s}
#hach-launcher:hover{transform:translateY(-3px) scale(1.04);box-shadow:0 16px 38px #12312536}
#hach-launcher:active{transform:translateY(-1px) scale(.99)}
#hach-launcher:before{content:"";position:absolute;inset:-6px;border-radius:50%;border:1px solid var(--hach-color);opacity:.28;animation:hach-pulse 3.2s ease-out infinite;pointer-events:none}
@keyframes hach-pulse{0%{transform:scale(.92);opacity:.34}70%{transform:scale(1.16);opacity:0}100%{opacity:0}}
#hach-launcher .hach-head{transition:transform .3s,opacity .2s}
#hach-launcher-close{position:absolute;font-size:30px;line-height:1;opacity:0;transform:rotate(-45deg) scale(.6);transition:transform .3s,opacity .2s}
#hach-launcher.hach-open .hach-head{opacity:0;transform:scale(.6) rotate(25deg)}
#hach-launcher.hach-open #hach-launcher-close{opacity:1;transform:rotate(0) scale(1)}
#hach-teaser{position:absolute;bottom:74px;width:236px;background:#fff;border:1px solid #e4eadf;border-radius:16px;padding:14px 15px;box-shadow:0 14px 38px #17352414;cursor:pointer;text-align:right;animation:hach-teaser-in .45s cubic-bezier(.22,1,.36,1)}
#hach-teaser[hidden]{display:none}
.hach-left #hach-teaser{left:0}.hach-right #hach-teaser{right:0}
#hach-teaser:after{content:"";position:absolute;bottom:-7px;width:13px;height:13px;background:#fff;border-right:1px solid #e4eadf;border-bottom:1px solid #e4eadf;transform:rotate(45deg)}
.hach-left #hach-teaser:after{left:24px}.hach-right #hach-teaser:after{right:24px}
#hach-teaser p{margin:0;font-size:12px;line-height:2;color:#41563c;padding-left:14px}
#hach-teaser-close{position:absolute;top:6px;left:8px;background:none;border:0;font-size:17px;line-height:1;color:#a9b69c;padding:2px 4px}
#hach-teaser-close:hover{color:#5d7450}
@keyframes hach-teaser-in{from{opacity:0;transform:translateY(10px) scale(.94)}to{opacity:1;transform:none}}
#hach-window{border-radius:20px;box-shadow:0 24px 70px #12312522}
#hach-window header{gap:11px;padding:16px 18px;background:linear-gradient(135deg,var(--hach-color),color-mix(in srgb,var(--hach-color) 78%,#000));align-items:center}
#hach-window header>div{flex:1;min-width:0}
#hach-window header strong{font-size:14px;letter-spacing:-.2px}
#hach-window header small{display:flex;align-items:center;gap:6px;margin-top:5px;font-size:10.5px;opacity:.82}
.hach-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#ffffff1f;border:1px solid #ffffff24;color:#fff;flex-shrink:0}
.hach-live{width:6px;height:6px;border-radius:50%;background:#b7e0a0;box-shadow:0 0 0 3px #b7e0a033;animation:hach-blink 2.4s ease-in-out infinite}
@keyframes hach-blink{50%{opacity:.45}}
#hach-restart{background:none;border:0;color:#fff;opacity:.72;font-size:18px;line-height:1;padding:4px 6px;border-radius:8px}
#hach-restart:hover{opacity:1;background:#ffffff1f}
#hach-messages{padding:16px;gap:12px;background:linear-gradient(180deg,#fbfcf8,#fdfdfb)}
#hach-widget .hach-message{font-size:12.5px;box-shadow:0 1px 2px #2c422c08;animation:hach-message-in .28s ease-out}
@keyframes hach-message-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#hach-widget .hach-assistant{border:1px solid #e7eee2;background:#f3f7ef;color:#3f5340}
#hach-widget .hach-user{box-shadow:0 4px 12px #1f453221}
.hach-resumed{align-self:center;font-size:9.5px;color:#a3ae98;background:#f1f4ec;border:1px solid #e6ebe0;border-radius:20px;padding:4px 12px}
#hach-widget .hach-thinking{display:flex;align-items:center;gap:8px;color:#7d8f72}
.hach-thinking-text{font-size:11px;line-height:1.9}
.hach-dots{display:inline-flex;gap:3px;flex-shrink:0}
.hach-dots i{width:5px;height:5px;border-radius:50%;background:var(--hach-color);opacity:.55;animation:hach-dot 1.1s ease-in-out infinite}
.hach-dots i:nth-child(2){animation-delay:.16s}.hach-dots i:nth-child(3){animation-delay:.32s}
@keyframes hach-dot{0%,100%{transform:translateY(0);opacity:.4}50%{transform:translateY(-4px);opacity:1}}
#hach-form{margin:10px 14px 6px;border-radius:14px;transition:border-color .2s,box-shadow .2s}
#hach-form:focus-within{box-shadow:0 0 0 3px color-mix(in srgb,var(--hach-color) 14%,transparent)}
#hach-form button[type=submit]{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font-size:19px;transition:transform .2s}
#hach-form button[type=submit]:hover:not(:disabled){transform:translateY(-1px)}
#hach-window footer{padding:8px 10px 12px}
@media(max-width:480px){#hach-launcher{width:56px;height:56px}#hach-teaser{width:calc(100vw - 96px);max-width:250px}#hach-teaser p{font-size:11.5px}.hach-avatar{width:36px;height:36px}#hach-window header{padding:14px}}
@media(prefers-reduced-motion:reduce){#hach-launcher:before,.hach-live,.hach-dots i,#hach-widget .hach-message,#hach-teaser{animation:none!important}#hach-launcher{transition:none}}

#hach-launcher .hach-head{filter:drop-shadow(0 2px 4px #0b241a3d)}
.hach-avatar .hach-head{opacity:.95}

/* 1.4 — Vazirmatn everywhere + independent bubble colours */
#hach-widget,#hach-widget p,#hach-widget div,#hach-widget span,#hach-widget strong,#hach-widget small,#hach-widget section,#hach-widget header,#hach-widget footer,#hach-widget button,#hach-widget input,#hach-widget textarea{font-family:HachWidgetFont,Vazirmatn,Tahoma,Arial,sans-serif!important}
#hach-widget{--hach-user:var(--hach-color);--hach-user-text:#fff;--hach-bot:#f1f5ec;--hach-bot-text:#354a36;font-feature-settings:"ss01";letter-spacing:-.1px}
#hach-widget .hach-message{font-weight:450}
#hach-widget .hach-assistant{background:var(--hach-bot);color:var(--hach-bot-text);border:1px solid color-mix(in srgb,var(--hach-bot) 88%,#0b1f14)}
#hach-widget .hach-user{background:var(--hach-user);color:var(--hach-user-text);box-shadow:0 4px 12px color-mix(in srgb,var(--hach-user) 32%,transparent)}
#hach-widget .hach-thinking{background:var(--hach-bot);color:var(--hach-bot-text);border:1px solid color-mix(in srgb,var(--hach-bot) 88%,#0b1f14)}
.hach-dots i{background:currentColor}
#hach-teaser p{font-weight:450}
#hach-input{font-weight:450}
