.pars-chat-launch{position:fixed;z-index:90;left:24px;bottom:24px;padding:12px 18px;border:0;border-radius:999px;background:#ca002e;color:#fff;cursor:pointer}.pars-chat-panel{position:fixed;z-index:100;left:20px;bottom:20px;display:flex;flex-direction:column;overflow:hidden;width:min(380px,calc(100vw - 24px));height:min(660px,calc(100dvh - 24px));border-radius:12px;background:#f5f5f5;box-shadow:0 18px 54px #172b4d3d;color:#343434;font-family:inherit}.pars-chat-head{z-index:1;display:flex;align-items:center;flex:none;gap:8px;min-height:76px;padding:8px 10px;box-sizing:border-box;background:#ca002e;color:#fff;box-shadow:0 2px 5px #36091a22}.pars-chat-head>div:nth-child(2){min-width:0;flex:1;text-align:right}.pars-chat-head small,.pars-chat-head strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.pars-chat-head strong{font-size:13px;line-height:1.45}.pars-chat-head small{font-size:11px;opacity:.84}.pars-chat-head>button{display:grid;place-items:center;flex:none;width:31px;height:31px;margin-right:auto;border:0;border-radius:50%;background:#b5002a;color:#fff;font-size:22px;cursor:pointer}.pars-chat-avatars{display:flex;direction:ltr;flex:none;padding-left:14px}.pars-chat-avatars span{display:grid;place-items:center;width:37px;height:37px;margin-left:-14px;overflow:hidden;box-sizing:border-box;border:2px solid #ca002e;border-radius:50%;background:#fff3e5}.pars-chat-avatars img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.pars-chat-avatar-fallback{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:50%;background:#f9edce}.pars-chat-avatar-fallback:before{content:"";position:absolute;top:20%;left:33%;width:34%;height:34%;border-radius:50%;background:#a97862}.pars-chat-avatar-fallback:after{content:"";position:absolute;bottom:-15%;left:13%;width:74%;height:47%;border-radius:45% 45% 20% 20%;background:#718ca0}.pars-chat-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:15px 13px 12px;background:#f5f5f5 url(/images/chat-pattern.svg) repeat;background-size:160px 180px;scrollbar-width:thin;scrollbar-color:#999 transparent}.pars-chat-history{display:block;margin:0 auto 14px;padding:7px 18px;border:0;border-radius:30px;background:#fff;color:#bd002f;font-size:12px;cursor:pointer}.pars-chat-history-list{display:flex;flex-direction:column;gap:24px;margin-bottom:15px}.pars-chat-bubble{position:relative;box-sizing:border-box;width:-moz-max-content;width:max-content;max-width:calc(100% - 42px);padding:10px 13px;border-radius:22px;background:#fff;box-shadow:0 1px 4px #0000001c;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.pars-chat-bubble.customer{align-self:flex-end;margin-left:9px;background:#ca002e;color:#fff;box-shadow:none}.pars-chat-bubble.customer:after{content:"";position:absolute;bottom:-2px;left:-6px;width:13px;height:13px;background:#ca002e;clip-path:polygon(100% 0,100% 100%,0 100%)}.pars-chat-bubble.operator{align-self:flex-start;margin-right:42px}.pars-chat-bubble.operator:after,.pars-chat-start:after{content:"";position:absolute;bottom:0;right:-7px;width:15px;height:14px;background:#fff;clip-path:polygon(0 0,0 100%,100% 100%)}.pars-chat-bubble time{position:absolute;bottom:-19px;left:0;display:block;white-space:nowrap;text-align:left;font-size:10px;color:#777;opacity:.85}.pars-chat-bubble.operator time{left:auto;right:0}.pars-chat-speaker-avatar{position:absolute;right:-42px;bottom:0;display:block;width:31px;height:31px;overflow:hidden;border-radius:50%;background:#fff9df;box-shadow:0 1px 3px #00000012}.pars-chat-faq{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:0 0 12px}.pars-chat-faq .pars-chat-bubble.operator{width:min(272px,calc(100% - 42px));max-width:none;padding:12px 15px}.pars-chat-faq .pars-chat-bubble.customer{align-self:flex-end}.pars-chat-faq strong{display:block;margin-bottom:9px;font-size:12px;font-weight:400;text-align:right}.pars-chat-faq p{margin:8px 0;line-height:1.7}.pars-chat-faq-choice{display:block;width:100%;margin:5px 0;padding:7px 9px;border:0;border-radius:5px;background:#ca002e;color:#fff;text-align:right;font:inherit;font-size:12px;line-height:1.45;cursor:pointer}.pars-chat-faq-choice:hover{background:#ac0029}.pars-chat-faq-empty{color:#667085;font-size:11px}.pars-chat-back{display:block;margin:8px 0 0;padding:4px 8px;border:1px solid #d0d0d0;border-radius:6px;background:#fff;color:#555;font-size:11px;cursor:pointer}.pars-chat-start{position:relative;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;width:min(272px,calc(100% - 42px));margin:0 42px 12px 0;padding:12px 14px 18px;border-radius:22px;background:#fff;box-shadow:0 1px 4px #0000001c}.pars-chat-start strong{margin-bottom:2px;text-align:right;font-size:12px;font-weight:400;line-height:1.5}.pars-chat-start input,.pars-chat-start input[type=tel]{box-sizing:border-box;width:100%;height:35px;padding:0 2px;border:0;border-bottom:1px solid #d1d1d1;border-radius:0;background:transparent;color:#222;text-align:right;font:inherit;font-size:12px;outline:none}.pars-chat-start input:focus{border-bottom:2px solid #ca002e}.pars-chat-start select{box-sizing:border-box;width:100%;height:34px;margin-top:3px;padding:0 8px;border:1px solid #d0d0d0;border-radius:5px;background:#ececec;color:#333;font:inherit;font-size:12px}.pars-chat-start>button{align-self:center;min-width:100px;margin-top:6px;padding:7px 16px;border:0;border-radius:30px;background:#ca002e;color:#fff;font:inherit;font-size:13px;cursor:pointer}.pars-chat-muted{text-align:center;font-size:11px;color:#858585}.pars-chat-error{padding:8px;border-radius:7px;background:#ffedf1;color:#b00034;font-size:11px}.pars-chat-compose{position:relative;display:flex;align-items:center;flex:none;gap:4px;min-height:50px;padding:5px 8px;box-sizing:border-box;border-top:1px solid #ddd;background:#fff}.pars-chat-compose input:not([type=file]){flex:1;min-width:0;height:36px;border:0;outline:none;background:transparent;color:#222;font:inherit;font-size:12px}.pars-chat-compose>button{flex:none;border:0;background:none;color:#999;font-size:19px;cursor:pointer}.pars-chat-compose>button:disabled{opacity:.35;cursor:default}.pars-chat-compose .pars-chat-file-input{display:none}.pars-chat-emoji{position:absolute;left:8px;right:8px;bottom:50px;display:flex;flex-wrap:wrap;gap:5px;padding:8px;border-radius:10px;background:#fff;box-shadow:0 4px 18px #0002}.pars-chat-emoji button{border:0;background:transparent;font-size:20px;cursor:pointer}.pars-chat-bubble .pars-chat-media-image{display:block;max-width:100%;max-height:280px;border-radius:10px;-o-object-fit:contain;object-fit:contain}.pars-chat-bubble audio{display:block;max-width:100%;margin-top:8px}.pars-chat-bubble a{color:inherit;text-decoration:underline}.pars-chat-receipt{font-weight:800;letter-spacing:-3px;color:inherit}.pars-chat-receipt[aria-label="دیده شد"]{color:#b5f1e5}.pars-chat-preview-page{min-height:70vh;display:grid;place-content:center;padding:24px;text-align:center;color:#263043}.pars-chat-preview-page h1{font-size:24px;font-weight:700}.pars-chat-preview-page p{margin-top:10px;color:#64748b}.pars-chat-preview-status{position:fixed;z-index:100;left:50%;top:50%;transform:translate(-50%,-50%);width:min(460px,calc(100vw - 32px));padding:24px;border:1px solid #e1e6ef;border-radius:18px;background:#fff;color:#263043;text-align:center;box-shadow:0 16px 45px #172b4d25}.pars-chat-preview-panel{left:50%;top:50%;bottom:auto;transform:translate(-50%,-50%)}@media(max-width:600px){.pars-chat-launch{left:14px;bottom:16px}.pars-chat-panel,.pars-chat-preview-panel{left:0;right:0;top:0;bottom:0;transform:none;width:100vw;height:100dvh;border-radius:0}.pars-chat-head{min-height:76px;padding:8px 10px}.pars-chat-head strong{font-size:14px}.pars-chat-scroll{padding:15px 13px}.pars-chat-compose{padding-bottom:max(5px,env(safe-area-inset-bottom))}}@font-face{font-family:IRANSansX;src:url(/fonts/generated/IRANSansXFaNum-Light.61f8954eae9c50ce.woff2) format("woff2"),url(/fonts/generated/IRANSansXFaNum-Light.7186b3dd0533f3a4.woff) format("woff");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:IRANSansX;src:url(/fonts/generated/IRANSansXFaNum-Regular.2632d84f6f9bbb39.woff2) format("woff2"),url(/fonts/generated/IRANSansXFaNum-Regular.e9d8903342bd0db3.woff) format("woff");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:IRANSansX;src:url(/fonts/generated/IRANSansXFaNum-Medium.2b03f8ba42c1422a.woff2) format("woff2"),url(/fonts/generated/IRANSansXFaNum-Medium.862056e9fff4631d.woff) format("woff");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:IRANSansX;src:url(/fonts/generated/IRANSansXFaNum-DemiBold.a80e5beaa53129e4.woff) format("woff");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:IRANSansX;src:url(/fonts/generated/IRANSansXFaNum-Bold.3d765e47903d2a0c.woff2) format("woff2"),url(/fonts/generated/IRANSansXFaNum-Bold.debb4c9e88a42145.woff) format("woff");font-weight:700;font-style:normal;font-display:swap}