@font-face{font-family:STLSVazirmatn;src:url(vazirmatn-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:STLSVazirmatn;src:url(vazirmatn-600.woff2) format('woff2');font-weight:600 800;font-display:swap}
.stls-widget,.stls-desk{--stls-navy:#071d32;--stls-blue:#007fab;--stls-cyan:#56d5f1;--stls-ink:#153048;--stls-muted:#667987;--stls-line:#dfe8ee;--stls-paper:#f4f8fa;font-family:STLSVazirmatn,Vazirmatn,Tahoma,sans-serif;color:var(--stls-ink);font-size:14px;line-height:1.7;text-align:right}
.stls-widget *,.stls-desk *{box-sizing:border-box}
.stls-widget [hidden],.stls-desk [hidden]{display:none!important}
.stls-widget button,.stls-widget input,.stls-widget textarea,.stls-widget select,.stls-desk button,.stls-desk input,.stls-desk textarea,.stls-desk select{font:inherit}
.stls-widget button,.stls-desk button{cursor:pointer}
.stls-widget button:disabled,.stls-desk button:disabled{opacity:.55;cursor:wait}
.stls-widget :focus-visible,.stls-desk :focus-visible{outline:3px solid #0089b8;outline-offset:3px}
.stls-widget{position:fixed;bottom:24px;right:24px;z-index:99990}
.stls-widget.stls-position-left{right:auto;left:24px}
.stls-launch{display:flex;align-items:center;gap:11px;border:1px solid #ffffff33;background:var(--stls-navy);color:#fff;min-height:54px;padding:12px 19px;border-radius:16px;box-shadow:0 9px 32px #06233b2d;font-weight:600;transition:background .18s,transform .18s}
.stls-launch:hover{background:#0a3752;transform:translateY(-2px)}
.stls-launch svg{color:var(--stls-cyan)}
.stls-badge{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;border-radius:8px;padding:0 5px;background:#fbe6dc;color:#99451e;font-size:12px;font-weight:600}
.stls-launch .stls-badge{background:var(--stls-cyan);color:var(--stls-navy)}
.stls-panel{position:absolute;right:0;bottom:69px;display:flex;flex-direction:column;width:390px;max-width:calc(100vw - 36px);height:auto;max-height:calc(100vh - 130px);max-height:calc(100dvh - 130px);overflow:auto;background:#fff;border:1px solid #d6e4ec;border-radius:22px;box-shadow:0 24px 80px #071d3233}
.stls-panel.has-conversation{height:640px}
.stls-position-left .stls-panel{right:auto;left:0}
.stls-header{display:flex;align-items:center;gap:11px;flex-shrink:0;padding:18px 20px;background:linear-gradient(120deg,#071d32,#0c3653);color:#fff}
.stls-header>div{flex:1}
.stls-header strong{display:block;font-size:16px;line-height:1.6;font-weight:600;color:#fff}
.stls-mark{display:flex;align-items:center;justify-content:center;width:39px;height:43px;flex-shrink:0;background:#0c9ec1;border:1px solid #61def36e;border-radius:13px 13px 18px 18px;font:600 24px/1 Arial,sans-serif;color:#fff}
.stls-presence{display:flex;align-items:center;gap:6px;font-size:11px;color:#d1e2eb;margin-top:3px}
.stls-presence:before{content:'';display:block;width:6px;height:6px;background:#a7b9c4;border-radius:50%}
.stls-presence.is-online:before{background:#68e6a4;box-shadow:0 0 0 3px #68e6a415}
.stls-icon-button{border:0;background:transparent;color:#d2e5ee;min-width:34px;min-height:36px;padding:0;font-size:25px!important;line-height:1}
.stls-icon-button:hover{color:#fff;background:#ffffff12;border-radius:8px}
.stls-welcome{background:var(--stls-paper);padding:17px 20px;font-size:13px;color:#405c6f;border-bottom:1px solid var(--stls-line);flex-shrink:0}
.stls-messages{min-height:100px;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:18px;display:flex;flex-direction:column;gap:13px;background:linear-gradient(#fff,#f8fbfc);scrollbar-width:thin}
.stls-widget .stls-messages:empty{display:none}
.stls-older{border:0;border-bottom:1px solid var(--stls-line);background:#fff;color:#087d9f;padding:8px 12px;font-size:11px!important;flex-shrink:0}
.stls-message{max-width:88%;padding:11px 14px;border:1px solid #dbe8ee;border-radius:15px 15px 5px 15px;background:#f0f6f9;align-self:flex-start;overflow-wrap:anywhere}
.stls-message strong{display:block;color:#577586;font-size:11px;font-weight:600}
.stls-message p{white-space:pre-wrap;color:var(--stls-ink);font-size:13px;line-height:1.8;margin:3px 0 6px}
.stls-message time{display:block;font-size:10px;color:#718a9a;text-align:left}
.stls-from-operator{align-self:flex-end;background:#e9f8fb;border-color:#c6eaf1;border-radius:15px 15px 15px 5px}
.stls-from-operator strong{color:#067c9a}
.stls-form,.stls-reply-form{padding:17px 20px;background:#fff;border-top:1px solid var(--stls-line);flex-shrink:0;margin:0}
.stls-details{margin-bottom:12px}
.stls-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stls-form label,.stls-settings label,.stls-reply-form label{display:block;font-size:12px;font-weight:600;color:#345269;margin-bottom:10px}
.stls-form label>span{font-weight:400;color:#6b7e89;font-size:10px}
.stls-form input:not([type=checkbox]),.stls-form select,.stls-form textarea,.stls-desk input:not([type=checkbox]),.stls-desk select,.stls-desk textarea{display:block;width:100%;min-height:39px;border:1px solid #d5e2e9;border-radius:9px;background:#fff;color:var(--stls-ink);padding:8px 10px;margin:5px 0 0;box-shadow:none;max-width:100%;font-size:12px;line-height:1.7}
.stls-form textarea,.stls-desk textarea{resize:vertical;max-height:160px}
.stls-form .stls-consent{display:flex;align-items:flex-start;gap:8px;font-weight:400;line-height:1.6}
.stls-consent input{margin:3px 0 0;accent-color:#0089b8;flex-shrink:0;width:15px;height:15px}
.stls-consent span{font-size:10px!important}
.stls-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0;pointer-events:none}
.stls-form-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}
.stls-form-bottom small{font-size:10px;color:#6b7e89;max-width:190px}
.stls-primary{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:39px;border:1px solid transparent;border-radius:9px;background:var(--stls-blue);color:#fff;padding:8px 14px;font-size:12px!important;font-weight:600;white-space:nowrap}
.stls-primary:hover{background:#006c92;color:#fff}
.stls-secondary{min-height:36px;padding:7px 12px;border:1px solid #d3e1e9;border-radius:9px;background:#fff;color:var(--stls-ink);font-size:12px!important;white-space:nowrap}
.stls-secondary:hover{background:#f0f6fa}
.stls-error{margin:8px 0!important;padding:9px 12px;color:#9f291d!important;background:#fff1ec;border:1px solid #f5d1c5;border-radius:8px;font-size:12px;line-height:1.8}
.stls-panel-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;padding:9px 20px;background:#f6f9fb;border-top:1px solid var(--stls-line);color:#6c8390;font-size:10px}
.stls-panel-footer button{border:0;padding:4px;background:transparent;font-size:10px;color:#537184}
.stls-closed{padding:18px 20px;background:#fff;flex-shrink:0;border-top:1px solid var(--stls-line)}
.stls-closed p{font-size:12px;color:#627a88;margin:0 0 12px}
.stls-desk{max-width:1350px;margin-top:22px}
.stls-desk-header{display:flex;align-items:center;justify-content:space-between;gap:25px;border:1px solid #173b57;border-radius:18px;padding:26px 30px;background:radial-gradient(ellipse at 5% 0,#185d7850,transparent 65%),var(--stls-navy);color:#fff}
.stls-desk-header h1{font:600 25px/1.7 STLSVazirmatn,Tahoma,sans-serif;margin:6px 0 0;color:#fff;padding:0}
.stls-desk-header p{margin:4px 0 0;color:#b2cbd8;font-size:13px}
.stls-eyebrow{font:600 9px/1.5 Arial,sans-serif;letter-spacing:2px;color:var(--stls-cyan)}
.stls-desk-controls{display:flex;flex-direction:column;align-items:flex-start;gap:12px;white-space:nowrap}
.stls-switch{display:flex!important;align-items:center;gap:8px;font-size:13px!important;font-weight:400!important;margin:0!important}
.stls-switch input{margin:0;accent-color:#02a6cf}
.stls-presence-note{font-size:11px;color:#607a8a;margin:12px 5px 18px}
.stls-desk-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;min-height:590px}
.stls-inbox,.stls-admin-conversation{border:1px solid #dbe5ec;border-radius:16px;overflow:hidden;background:#fff;min-width:0}
.stls-inbox{display:flex;flex-direction:column;max-height:700px}
.stls-inbox-heading{padding:20px;border-bottom:1px solid var(--stls-line);background:#fbfcfd}
.stls-inbox-heading h2{display:flex;gap:10px;align-items:center;font-size:16px;margin:0 0 12px}
.stls-inbox-heading h2 span{font-size:12px;color:#728c9d}
.stls-inbox-list{overflow-y:auto;flex:1;min-height:120px}
.stls-inbox-item{display:block;text-align:right;border:0;border-bottom:1px solid #edf2f5;background:#fff;width:100%;padding:17px 20px;color:var(--stls-ink)}
.stls-inbox-item:hover{background:#f7fbfd}
.stls-inbox-item.is-selected{background:#eaf7fb;border-right:3px solid #0087b5;padding-right:17px}
.stls-inbox-item>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
.stls-inbox-item strong{font-size:13px;font-weight:600}
.stls-inbox-item p{margin:7px 0 4px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#627b8c}
.stls-inbox-item small{font-size:10px;color:#758e9f}
.stls-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;border-top:1px solid var(--stls-line)}
.stls-pagination span{font-size:11px;color:#627b8c}
.stls-admin-empty{min-height:580px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px;text-align:center;background:radial-gradient(ellipse at center,#edf8fb,transparent 60%)}
.stls-admin-empty>span{display:flex;align-items:center;justify-content:center;width:85px;height:85px;background:#e5f5fa;color:#087e9f;font-size:38px;border-radius:28px;margin-bottom:22px}
.stls-admin-empty h2{font-size:20px;color:#183d56;margin:0 0 10px}
.stls-admin-empty p{font-size:12px;color:#6b8493;max-width:340px;line-height:1.9}
#stls-admin-thread{height:100%;display:flex;flex-direction:column}
.stls-thread-header{padding:21px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--stls-line)}
.stls-thread-header h2{margin:0;font-size:17px}
.stls-thread-header p{margin:5px 0 0;font-size:11px;color:#657f91}
.stls-page-context{padding:9px 24px;font-size:10px;background:#f7fafc;border-bottom:1px solid var(--stls-line);color:#738b9a}
.stls-page-context a{direction:ltr;display:inline-block;margin-right:6px;color:#1b688f;max-width:90%;overflow-wrap:anywhere;text-decoration:none}
#stls-admin-messages{height:370px;min-height:240px;max-height:440px;padding:24px}
.stls-desk .stls-message p{font-size:14px}
.stls-reply-form{padding:17px 24px}
.stls-reply-form textarea{font-size:14px;min-height:74px}
.stls-empty{padding:25px;margin:0;font-size:12px;color:#758b98;text-align:center}
.stls-settings{margin-top:20px;background:#fff;border:1px solid var(--stls-line);border-radius:14px;padding:20px 24px}
.stls-settings summary{cursor:pointer;font-size:14px;font-weight:600}
.stls-settings form{max-width:800px;margin-top:22px;display:grid;gap:15px}
.stls-settings p{font-size:12px;color:#6b8392;max-width:800px}
#stls-settings-result{font-size:12px;color:#187545}
@media(max-width:900px){.stls-desk-grid{grid-template-columns:270px minmax(0,1fr)}.stls-desk-header{padding:23px;align-items:flex-start;flex-direction:column;gap:16px}.stls-desk-controls{flex-direction:row;flex-wrap:wrap;align-items:center}.stls-thread-header{padding:16px;align-items:flex-start;flex-direction:column}.stls-thread-header h2{font-size:16px}}
@media(max-width:600px){.stls-widget{right:12px;bottom:15px}.stls-widget.stls-position-left{left:12px}.stls-launch{min-height:46px;padding:10px 12px;border-radius:12px;font-size:12px;gap:8px}.stls-launch svg{width:21px;height:21px}.stls-panel{bottom:60px;max-width:calc(100vw - 24px);width:390px;max-height:calc(100vh - 104px);max-height:calc(100dvh - 104px);border-radius:16px}.stls-header{padding:15px 16px}.stls-header strong{font-size:15px}.stls-welcome{padding:13px 16px;font-size:12px}.stls-form{padding:13px 16px}.stls-details label{font-size:11px}.stls-fields{gap:8px}.stls-form-bottom small{max-width:155px}.stls-panel-footer{padding:8px 16px}.stls-desk{margin-right:10px}.stls-desk-grid{grid-template-columns:1fr;min-height:0}.stls-inbox{max-height:350px}.stls-admin-empty{min-height:280px}.stls-desk-header h1{font-size:21px}.stls-desk-controls{flex-direction:column;align-items:flex-start}.stls-settings{padding:18px}.stls-desk .stls-fields{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.stls-launch{transition:none}}
.stls-bale{padding:12px 16px;border-top:1px solid #dbe6f0;font-size:12px;line-height:1.8;background:#f6fbfd}.stls-bale[hidden],.stls-bale div[hidden]{display:none}.stls-bale button{border:1px solid #0a9677;border-radius:10px;color:#05725a;padding:7px 10px;background:#fff;cursor:pointer}.stls-bale code{display:block;overflow-wrap:anywhere;background:#e8f4ef;padding:7px;border-radius:6px;user-select:all}.stls-bale a{display:inline-block;margin-top:8px;color:#04705e}.stls-bale p{margin:6px 0}
.stls-routing{margin:12px 20px;padding:12px 14px;border:1px solid #d9e8ee;border-radius:12px;background:#f6fbfd}.stls-routing[hidden]{display:none}.stls-routing form{display:flex;align-items:end;gap:10px}.stls-routing label{display:flex;flex:1;flex-direction:column;gap:5px;font-size:12px}.stls-routing select{width:100%;font-family:inherit;border:1px solid #cbdce6;border-radius:8px;padding:8px;background:white}.stls-routing small{display:block;margin-top:7px;color:#426779}@media(max-width:600px){.stls-routing form{flex-direction:column;align-items:stretch}.stls-routing{margin:10px 12px}}
