/* The support assistant is intentionally scoped so existing page styles stay intact. */
.is-support-launcher,.is-support-panel{font-family:inherit;font-synthesis:none;box-sizing:border-box}
.is-support-launcher{position:fixed;inset-inline-end:24px;bottom:max(22px,env(safe-area-inset-bottom));z-index:80;display:flex;align-items:center;gap:11px;min-height:56px;padding:9px 18px 9px 10px;border:1px solid #ffffff35;border-radius:999px;background:#151523;color:#fff;box-shadow:0 7px 30px #08081040;cursor:pointer;transition:transform .2s,box-shadow .2s}
.is-support-launcher:hover{transform:translateY(-3px);box-shadow:0 12px 36px #08081060}
.is-support-launcher:focus-visible,.is-support-panel :is(button,a,input,textarea,summary):focus-visible{outline:3px solid #47d9f8;outline-offset:4px}
.is-support-launcher[hidden],.is-support-panel [hidden]{display:none!important}
.is-support-launcher>span:last-child{font-size:13px;font-weight:600;letter-spacing:.1px}
.is-support-mark{width:36px;height:36px;flex:none;display:grid;place-items:center;position:relative;border-radius:50%;background:conic-gradient(from 45deg,#37d7f3,#a186ff,#f46bad,#ffda72,#37d7f3);color:#fff}
.is-support-mark:before{content:'';position:absolute;inset:2px;background:#171724;border-radius:50%}
.is-support-mark svg{width:19px;height:19px;position:relative;z-index:1}
.is-support-panel{position:fixed;inset:auto 24px max(90px,calc(env(safe-area-inset-bottom) + 82px)) auto;width:420px;max-width:calc(100vw - 32px);height:min(670px,calc(100dvh - 120px));max-height:calc(100dvh - 24px);padding:0;margin:0;border:1px solid #ffffff25;border-radius:24px;background:#151521;color:#fff;box-shadow:0 25px 85px #07070e60;overflow:hidden;isolation:isolate}
html[dir=rtl] .is-support-panel{inset-inline-start:auto;inset-inline-end:24px}
.is-support-panel::backdrop{background:#0e0e1725}
.is-support-panel[open]{display:flex;flex-direction:column;animation:is-support-enter .2s ease-out}
.is-support-panel *{box-sizing:border-box}
.is-support-panel :is(button,input,textarea){font:inherit}
.is-support-panel button{cursor:pointer}
.is-support-panel button:disabled{opacity:.6;cursor:wait}
.is-support-panel p{margin:0;line-height:1.6}
.is-support-header{display:flex;align-items:center;gap:12px;padding:20px 20px 17px;background:radial-gradient(ellipse at 15% 0,#277bc329,transparent 70%),#191926;border-bottom:1px solid #ffffff14;flex:none}
.is-support-header .is-support-mark{width:40px;height:40px}
.is-support-heading{min-width:0;flex:1}
.is-support-heading h2{font-size:16px;font-weight:650;line-height:1.5;letter-spacing:0;margin:0}
.is-support-heading p{font-size:11px;color:#c7c3d2;margin-top:2px}
.is-support-icon-button{width:36px;height:36px;flex:none;display:grid;place-items:center;border:1px solid #ffffff22;border-radius:50%;background:#ffffff08;color:#dedbe7}
.is-support-icon-button:hover{background:#ffffff17}
.is-support-icon-button svg{width:17px;height:17px}
.is-support-mode{display:flex;gap:7px;align-items:center;font-size:10px;color:#cbc7d7;padding:10px 20px;background:#11111c;flex:none}
.is-support-mode>i{display:block;width:5px;height:5px;background:#65d9d4;border-radius:50%}
.is-support-chat{min-height:0;display:flex;flex:1;flex-direction:column}
.is-support-history{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 20px 16px;scrollbar-width:thin;scrollbar-color:#666078 #171723}
.is-support-welcome{padding-bottom:21px}
.is-support-welcome h3{font-size:24px;font-weight:550;line-height:1.25;letter-spacing:-.6px;margin:0 0 9px;max-width:280px}
.is-support-welcome h3 em{font-style:normal;background:linear-gradient(110deg,#55d8f6,#f483c2 65%,#ffe18c);color:transparent;background-clip:text;-webkit-background-clip:text}
.is-support-welcome p{font-size:13px;color:#c6c1d2}
.is-support-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}
.is-support-chip{font-size:12px!important;line-height:1.5;padding:11px 12px;text-align:start;border:1px solid #ffffff1e;border-radius:12px;background:#ffffff06;color:#e6e1ef;min-height:43px;transition:background .2s,border-color .2s}
.is-support-chip:hover{background:#ffffff11;border-color:#ba9de460}
.is-support-message{width:92%;margin-bottom:15px}
.is-support-message.user{margin-inline-start:auto;width:fit-content;max-width:88%;background:#2f3047;border:1px solid #56547880;border-radius:15px 15px 4px 15px;padding:11px 14px;overflow-wrap:anywhere}
html[dir=rtl] .is-support-message.user{border-radius:15px 15px 15px 4px}
.is-support-message.assistant{border-inline-start:2px solid #e56aa7;padding-inline-start:13px}
.is-support-message .is-support-message-label{font-size:9px;font-weight:600;color:#b7afc4;margin-bottom:5px;text-transform:uppercase;letter-spacing:.5px}
.is-support-message p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;color:#eee9f4}
.is-support-sources{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.is-support-panel a{color:#8fdeed;text-underline-offset:3px}
.is-support-sources a{font-size:11px}
.is-support-inline-button{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;margin-top:10px;border-radius:9px;border:1px solid #f48dbc45;color:#ffc4e2;background:#ed78b210;font-size:11px!important}
.is-support-compose{display:flex;align-items:flex-end;gap:8px;margin:0 15px;padding:9px;background:#232333;border:1px solid #ffffff27;border-radius:16px;flex:none}
.is-support-compose textarea{flex:1;resize:none;border:0;background:transparent;outline:none;box-shadow:none;min-height:39px;max-height:90px;height:39px;margin:0;padding:9px 5px;color:#fff;line-height:1.45;font-size:13px;border-radius:5px}
.is-support-compose textarea::placeholder{color:#ada6bd}
.is-support-send{width:39px;height:39px;display:grid;place-items:center;flex:none;border:0;border-radius:11px;background:#ec9cc7;color:#201629;transition:background .2s}
.is-support-send:hover{background:#ffc6e3}
.is-support-send svg{width:20px;height:20px}
html[dir=rtl] .is-support-send svg{transform:scaleX(-1)}
.is-support-compose textarea:focus-visible{outline-offset:0}
.is-support-chat-footer{padding:11px 20px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex:none}
.is-support-chat-footer p{color:#b1a9bf;font-size:9px}
.is-support-text-button{padding:4px 0;border:0;background:transparent;color:#ded5eb;font-size:11px!important;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.is-support-handoff{overflow-y:auto;overscroll-behavior:contain;padding:18px 20px 22px;min-height:0;flex:1;scrollbar-width:thin}
.is-support-handoff h3{font-size:21px;font-weight:550;letter-spacing:-.4px;margin:12px 0 7px;line-height:1.4}
.is-support-handoff .is-support-lead{font-size:12px;color:#c6bfd2;margin-bottom:18px}
.is-support-handoff form{display:grid;gap:13px}
.is-support-panel label{font-size:11px;color:#d4ccdf;font-weight:500;line-height:1.6}
.is-support-field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.is-support-panel :is(input:not([type=radio]):not([type=checkbox]),.is-support-handoff textarea){display:block;width:100%;border:1px solid #ffffff27;border-radius:10px;background:#222231;color:#fff;min-height:43px;padding:10px 11px;font-size:13px;margin-top:5px;line-height:1.5}
.is-support-handoff textarea{resize:vertical;min-height:95px!important;max-height:180px}
.is-support-panel input::placeholder,.is-support-handoff textarea::placeholder{color:#a99fb8}
.is-support-panel input[type=email],.is-support-panel input[type=tel]{direction:ltr;text-align:start}
.is-support-panel fieldset{margin:0;padding:0;border:0;display:flex;gap:10px}
.is-support-panel legend{font-size:11px;color:#d4ccdf;margin-bottom:7px}
.is-support-channel{display:flex;flex:1;align-items:center;gap:8px;padding:10px;border:1px solid #ffffff29;border-radius:10px}
.is-support-channel:has(input:checked){border-color:#e694c5;background:#e694c512}
.is-support-panel input:is([type=radio],[type=checkbox]){width:16px;height:16px;min-height:16px;margin:0;flex:none;accent-color:#e8a0cb}
.is-support-check{display:flex;align-items:flex-start;gap:9px;font-size:11px!important;font-weight:400!important}
.is-support-check input{margin-top:3px!important}
.is-support-review{border:1px solid #ffffff1a;border-radius:11px;background:#ffffff04;padding:10px 12px;color:#c6bfd2}
.is-support-review summary{font-size:11px;cursor:pointer;min-height:24px}
.is-support-review-log{max-height:140px;overflow-y:auto;font-size:10px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:8px;color:#cbc3d9;direction:inherit}
.is-support-action{display:flex;justify-content:center;align-items:center;gap:9px;width:100%;border:0;background:#f0a9d1;color:#23152c;min-height:43px;border-radius:12px;padding:10px 12px;font-size:12px!important;font-weight:600}
.is-support-action:hover{background:#ffcae6}
.is-support-action svg{width:16px;height:16px}
.is-support-form-note{font-size:10px;color:#c5bdd1;line-height:1.5}
.is-support-result{display:grid;gap:12px;margin-top:16px;padding:15px;border:1px solid #68d9c843;border-radius:13px;background:#52b7a908}
.is-support-result p{font-size:12px;color:#e4dbef}
.is-support-result .is-support-action{text-decoration:none;color:#23152c}
.is-support-error{font-size:12px;color:#ffc6d6;line-height:1.5}
.is-support-panel .is-support-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html:is([lang=fa],[lang=ar]) .is-support-panel,html:is([lang=fa],[lang=ar]) .is-support-launcher{font-family:'Vazirmatn',Tahoma,sans-serif;letter-spacing:0}
html:is([lang=fa],[lang=ar]) .is-support-welcome h3{line-height:1.7;letter-spacing:0;font-size:23px}
html:is([lang=fa],[lang=ar]) .is-support-heading p{font-size:12px}
html:is([lang=fa],[lang=ar]) .is-support-message p{font-size:14px;line-height:1.85}
html:is([lang=fa],[lang=ar]) .is-support-message-label{letter-spacing:0}
@keyframes is-support-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:520px){.is-support-launcher{inset-inline-end:16px;bottom:max(16px,env(safe-area-inset-bottom));min-height:52px;padding:8px 15px 8px 8px;gap:9px}.is-support-launcher>span:last-child{font-size:12px}.is-support-panel,html[dir=rtl] .is-support-panel{inset: auto 12px max(12px,env(safe-area-inset-bottom)) 12px;width:calc(100vw - 24px);max-width:none;height:min(740px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);border-radius:20px}.is-support-header{padding:16px 17px 14px}.is-support-history{padding:20px 17px 12px}.is-support-handoff{padding:15px 17px 20px}.is-support-panel::backdrop{background:#08081070}.is-support-chat-footer{padding:10px 17px 12px}.is-support-panel label{font-size:12px}}
@media(max-width:350px){.is-support-field-row{grid-template-columns:1fr}.is-support-heading h2{font-size:14px}.is-support-heading p{font-size:10px}.is-support-header{gap:9px}.is-support-chip{font-size:11px!important;padding:9px}.is-support-chat-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.is-support-panel[open]{animation:none}.is-support-launcher,.is-support-chip,.is-support-send{transition:none}.is-support-launcher:hover{transform:none}}
