@font-face{font-family:Vazirmatn;src:url('/assets/vazirmatn-arabic.woff2') format('woff2');font-weight:100 900;font-display:swap}
.cs-chat-launcher,.cs-chat-panel,.cs-chat-panel *{font-family:Vazirmatn,Tahoma,sans-serif}
.cs-chat-launcher{position:fixed;z-index:40;right:calc(16px + env(safe-area-inset-right,0px));bottom:calc(16px + env(safe-area-inset-bottom,0px));left:auto;width:auto;min-width:132px;height:52px;padding:0 18px;display:flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:18px;background:#eef1f5;color:#334155;box-shadow:0 12px 32px #0006;font-size:14px;font-weight:700;cursor:pointer;direction:rtl}
.cs-chat-launcher svg{display:block;width:24px;height:24px;color:#475569;flex:none}
.cs-chat-panel{position:fixed;z-index:40;direction:rtl;left:50%;top:50%;width:min(780px,calc(100vw - 32px));height:min(544px,calc(80dvh - 92.8px));display:flex;padding:10px;box-sizing:border-box;background:#0B0B0F;color:#F5F7FB;border:1px solid rgba(255,255,255,.14);border-radius:32px;box-shadow:0 20px 54px rgba(0,0,0,.68),0 0 0 1px rgba(255,255,255,.04),0 8px 28px rgba(15,23,42,.38);transform:translate(-50%,-50%)}
.cs-chat-panel[data-state="open"]{animation:cs-chat-open 160ms ease-out both}
.cs-chat-panel[data-state="closing"]{animation:cs-chat-close 140ms ease-in both;pointer-events:none}
.cs-chat-screen{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;background:#0B0B0F;border-radius:28px;overflow:hidden}
.cs-chat-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:58px;padding:10px 14px;background:#0B0B0F;border-bottom:1px solid #1E2330}
.cs-chat-head h2{margin:0;font-size:16px;font-weight:700;color:#F5F7FB}
.cs-chat-identity{display:flex;align-items:center;gap:10px}
.cs-chat-head-actions{display:flex;align-items:center;gap:4px}
.cs-chat-avatar{position:relative;display:block;width:38px;height:38px;flex:none;border:1px solid rgba(255,255,255,.14);border-radius:50%;overflow:hidden;background:#161B26}
.cs-chat-avatar-img{display:block;width:100%;height:100%;object-fit:cover}
.cs-chat-close{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#F5F7FB;font-size:22px;cursor:pointer}
.cs-chat-status{margin:0;padding:10px 20px 0;color:#9CA3AF;font-size:12px;line-height:1.7;background:#0B0B0F}
.cs-chat-status:empty{display:none}
.cs-chat-log{flex:1 1 auto;min-height:0;overflow-y:auto;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:16px 18px 14px;background:#0B0B0F}
.cs-chat-msg{align-self:flex-end;max-width:78%;margin-top:8px;padding:11px 15px;border:0;border-radius:18px;background:#19212E;color:#F5F7FB;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.cs-chat-msg.staff{animation:cs-chat-message 160ms ease-out both}
.cs-chat-msg.continued{margin-top:4px}
.cs-chat-msg.mine{align-self:flex-start;background:#0066FE;color:#fff}
.cs-chat-log[data-info="true"] .cs-chat-msg{align-self:center;max-width:90%;text-align:center;margin:auto 0}
.cs-chat-meta{display:block;margin-top:5px;color:#9CA3AF;font-size:10px;line-height:1.4;text-align:end}
.cs-chat-msg.mine .cs-chat-meta{color:#E0EDFF}
.cs-chat-log[data-info="true"] .cs-chat-meta{display:none}
.cs-chat-attachments{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.cs-chat-att-image-link{display:block;max-width:220px;border-radius:12px;overflow:hidden;border:1px solid #1E2330}
.cs-chat-att-image{display:block;max-width:100%;max-height:180px;object-fit:cover}
.cs-chat-att-file{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #2A3142;border-radius:12px;background:#11141D;color:#F5F7FB;font-size:12px;text-decoration:none}
.cs-chat-att-badge{display:inline-grid;place-items:center;min-width:28px;height:24px;padding:0 6px;border-radius:6px;font-size:10px;font-weight:800;letter-spacing:.03em;flex:none}
.cs-chat-att-badge.is-pdf{background:#dc2626;color:#fff}
.cs-chat-att-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-chat-att-audio-card{padding:6px;border:1px solid #2A3142;border-radius:12px;background:#11141D}
.cs-chat-att-audio{display:block;max-width:240px;height:36px}
.cs-chat-msg.mine .cs-chat-att-file{background:#0052cc;border-color:#3b82f6;color:#fff}
.cs-chat-intake{flex:1;justify-content:flex-end;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:24px 20px 20px;background:#0B0B0F;border-top:0}
.cs-chat-intake-hero{display:flex;justify-content:center;align-items:center;margin:auto 0 8px}
.cs-chat-intake label{display:block;text-align:right;color:#D6D8DE;font-size:13px;font-weight:600;margin-top:4px}
.cs-chat-intake input[type="text"],.cs-chat-intake input[type="tel"],.cs-chat-intake input:not([type]){width:100%;min-width:0;min-height:46px;box-sizing:border-box;border:1px solid #1E2330;border-radius:14px;background:#161B26;color:#F5F7FB;padding:12px 14px;font:14px Vazirmatn,Tahoma,sans-serif;transition:border-color 140ms ease,outline-color 140ms ease}
.cs-chat-intake button,.cs-chat-otp button,.cs-chat-enter,.cs-chat-dismiss,.cs-chat-verify-action{box-sizing:border-box;flex:none;height:44px;min-height:44px;max-height:44px;padding:0 16px;line-height:1;border:0;border-radius:999px;background:#0066FE;color:#fff;font:700 14px Vazirmatn,Tahoma,sans-serif;cursor:pointer}
.cs-chat-intake button{width:100%;margin-top:10px;border-radius:14px;background:#ffffff;color:#0B0B0F}
.cs-chat-intake button:hover{background:#f1f5f9}
.cs-chat-enter{background:#eef1f5;color:#11141D;border:1px solid #d1d5db}
.cs-chat-enter:hover{background:#e2e8f0}
.cs-chat-enter[hidden]{display:none!important}
.cs-chat-loading{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;background:#0B0B0F}
.cs-chat-spinner{width:22px;height:22px;border:2px solid #2A3142;border-top-color:#D6D8DE;border-radius:50%;animation:cs-chat-spin .8s linear infinite}
.cs-chat-tiger{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.cs-chat-tiger-frame{position:relative;width:112px;height:112px;border-radius:26px;overflow:hidden;display:grid;place-items:center;background:#111722}
.cs-chat-tiger[data-sticker-state="ready"] .cs-chat-tiger-frame{background:transparent}
.cs-chat-tiger.is-compact .cs-chat-tiger-frame{width:84px;height:84px;border-radius:20px}
.cs-chat-tiger-shimmer{position:absolute;inset:0;background:linear-gradient(110deg,#111722 20%,#253043 45%,#111722 70%);background-size:220% 100%;animation:cs-tiger-shimmer 1.25s ease-in-out infinite;transition:opacity 220ms ease}
.cs-chat-tiger[data-sticker-state="ready"] .cs-chat-tiger-shimmer{opacity:0;pointer-events:none;animation:none}
.cs-chat-tiger[data-sticker-state="error"] .cs-chat-tiger-shimmer{opacity:.35;animation:none}
.cs-chat-tiger-img{position:relative;z-index:1;display:block;width:92%;height:92%;object-fit:contain;opacity:0;transform:scale(.94);transition:opacity 240ms ease,transform 260ms ease;animation:cs-tiger-float 3.4s ease-in-out infinite}
.cs-chat-tiger[data-sticker-state="ready"] .cs-chat-tiger-img{opacity:1;transform:scale(1)}
.cs-chat-tiger-caption{font-size:12px;color:#9CA3AF;text-align:center}
.cs-chat-empty{margin:auto 0;padding:20px 0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.cs-chat-categories{flex:1 1 auto;min-height:0;overflow-y:auto;display:flex;flex-direction:column;justify-content:flex-start;gap:16px;padding:18px 20px 24px;background:#0B0B0F}
.cs-chat-category{box-sizing:border-box;flex:0 0 auto;min-height:68px;padding:18px 20px;background:#16538D;border:1px solid rgba(255,255,255,.08);box-shadow:0 4px 14px rgba(0,0,0,.28);outline:none;border-radius:16px;color:#F5F7FB;font:700 14px Vazirmatn,Tahoma,sans-serif;text-align:right;cursor:pointer;transition:transform 140ms ease,filter 140ms ease}
.cs-chat-category:hover{filter:brightness(1.1)}
.cs-chat-category[data-tone="0"]{background:#16538D}
.cs-chat-category[data-tone="1"]{background:#174539}
.cs-chat-category[data-tone="2"]{background:#253043}
.cs-chat-category[data-tone="3"]{background:#382816}
.cs-chat-category[data-tone="4"]{background:#242442}
.cs-chat-category[data-tone="5"]{background:#3B1B22}
.cs-chat-category.cs-chat-category-back{flex:0 0 auto;align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 18px;margin-top:4px;font-size:12px;border:1px solid rgba(255,255,255,.28);box-shadow:none;background:transparent!important;color:#D6D8DE;border-radius:999px}
.cs-chat-category.cs-chat-category-back:hover{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.46)}
.cs-chat-info-actions,.cs-chat-otp,.cs-chat-verify-actions{display:flex;justify-content:center;gap:10px;padding:10px 20px 16px;background:#0B0B0F}
.cs-chat-choice{display:flex;flex-direction:column;gap:12px;padding:16px 20px;background:#0B0B0F}
.cs-chat-choice-prompt{margin:0;color:#D6D8DE;font-size:13px;line-height:1.6}
.cs-chat-choice-buttons{display:flex;flex-wrap:wrap;gap:10px}
.cs-chat-dismiss{background:transparent;color:#F5F7FB;border:2px solid #D6D8DE}
.cs-chat-otp{align-items:center}
.cs-chat-otp-digit{box-sizing:border-box;width:40px;height:44px;border:2px solid #D6D8DE;border-radius:12px;background:transparent;color:#F5F7FB;text-align:center;font:700 18px Vazirmatn,Tahoma,sans-serif}
.cs-chat-composer{flex:0 0 auto;position:relative;z-index:2;display:flex;flex-direction:column;gap:10px;padding:10px 14px max(14px,env(safe-area-inset-bottom,0px));background:#0B0B0F;border-top:1px solid #1E2330}
.cs-chat-pending-attachments{display:flex;flex-wrap:wrap;gap:8px;padding:2px 2px 0}
.cs-chat-pending-chip{position:relative;display:inline-flex;align-items:center;gap:8px;max-width:210px;padding:8px 10px;border:1px solid #2A3142;border-radius:14px;background:#161B26;color:#F5F7FB;font-size:12px;overflow:hidden}
.cs-chat-pending-chip.is-image{width:64px;height:64px;padding:0;border-radius:14px}
.cs-chat-pending-thumb{display:block;width:100%;height:100%;object-fit:cover}
.cs-chat-pending-badge{display:inline-grid;place-items:center;min-width:28px;height:28px;padding:0 6px;border-radius:8px;font-size:10px;font-weight:800;flex:none}
.cs-chat-pending-badge.is-pdf{background:#dc2626;color:#fff}
.cs-chat-pending-badge.is-audio{background:#2563eb;color:#fff;font-size:13px}
.cs-chat-pending-badge.is-file{background:#334155;color:#fff}
.cs-chat-pending-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:ltr;font-size:11.5px;color:#E5E7EB}
.cs-chat-pending-chip.is-uploading .cs-chat-pending-thumb,.cs-chat-pending-chip.is-uploading .cs-chat-pending-badge,.cs-chat-pending-chip.is-uploading .cs-chat-pending-name{filter:blur(3px);opacity:.55}
.cs-chat-pending-spinner{position:absolute;left:50%;top:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border:2px solid rgba(255,255,255,.28);border-top-color:#fff;border-radius:50%;animation:cs-chat-spin .75s linear infinite;pointer-events:none}
.cs-chat-pending-remove{position:relative;z-index:2;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:rgba(11,11,15,.85);color:#F5F7FB;cursor:pointer;line-height:1;flex:none;display:grid;place-items:center;font-size:13px}
.cs-chat-pending-chip.is-image .cs-chat-pending-remove{position:absolute;top:4px;left:4px}
.cs-chat-composer-pill{display:flex;align-items:flex-end;gap:4px;direction:ltr;min-width:0;padding:6px;border:1px solid #1E2330;border-radius:26px;background:#161B26;transition:border-color 140ms ease,box-shadow 140ms ease}
.cs-chat-composer-pill:focus-within{border-color:rgba(226,232,240,.55);box-shadow:0 0 0 2px rgba(226,232,240,.14)}
.cs-chat-attachment{order:0;width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#9CA3AF;cursor:pointer}
.cs-chat-composer textarea{order:2;direction:rtl;flex:1;min-width:0;min-height:40px;max-height:160px;box-sizing:border-box;border:0;background:transparent;color:#F5F7FB;padding:9px 8px;margin:0;resize:none;overflow-y:auto;line-height:1.5;font:14px Vazirmatn,Tahoma,sans-serif}
.cs-chat-composer textarea::placeholder{color:#6B7280}
.cs-chat-composer textarea:focus,.cs-chat-composer textarea:focus-visible{outline:none}
.cs-chat-emoji-toggle{order:1;width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:#9CA3AF;cursor:pointer}
.cs-chat-attachment:hover,.cs-chat-emoji-toggle:hover{color:#F5F7FB;background:#1E2330}
.cs-chat-emoji-row{display:flex;flex-wrap:wrap;gap:4px;overflow-x:auto;padding:6px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:#161B26;box-shadow:0 8px 24px rgba(0,0,0,.4)}
.cs-chat-launcher[hidden],.cs-chat-panel[hidden],.cs-chat-log[hidden],.cs-chat-intake[hidden],.cs-chat-loading[hidden],.cs-chat-categories[hidden],.cs-chat-info-actions[hidden],.cs-chat-otp[hidden],.cs-chat-choice[hidden],.cs-chat-verify-actions[hidden],.cs-chat-composer[hidden],.cs-chat-pending-attachments[hidden],.cs-chat-file-input[hidden],.cs-chat-emoji-row[hidden],.cs-chat-drop-overlay[hidden]{display:none!important}
.cs-chat-emoji-row button{width:36px;height:36px;flex:0 0 36px;display:grid;place-items:center;padding:0;border:0;border-radius:10px;background:transparent;color:#F5F7FB;font-size:18px;cursor:pointer}
.cs-chat-emoji-row button:hover{background:#1E2330}
.cs-chat-send{order:3;width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#0066FE;color:#fff;cursor:pointer}
.cs-chat-send:hover{background:#1976FF}
.cs-chat-attachment svg,.cs-chat-emoji-toggle svg,.cs-chat-send svg{display:block;width:18px;height:18px}
.cs-chat-panel button:focus-visible,.cs-chat-launcher:focus-visible{outline:2px solid #cbd5e1;outline-offset:2px}
.cs-chat-intake input:focus-visible{outline:2px solid #cbd5e1;outline-offset:2px;border-color:#94a3b8}
.cs-chat-drop-overlay{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(11,11,15,.78);backdrop-filter:blur(4px);border-radius:inherit;pointer-events:none}
.cs-chat-drop-box{width:100%;height:100%;display:grid;place-items:center;border:2px dashed rgba(226,232,240,.58);border-radius:24px;background:rgba(22,27,38,.45)}
.cs-chat-drop-plus{font-size:48px;font-weight:300;line-height:1;color:#F5F7FB}
@keyframes cs-chat-open{from{opacity:0;scale:.98}to{opacity:1;scale:1}}
@keyframes cs-chat-close{from{opacity:1;scale:1}to{opacity:0;scale:.98}}
@keyframes cs-chat-message{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@keyframes cs-chat-spin{to{transform:rotate(360deg)}}
@keyframes cs-tiger-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes cs-tiger-shimmer{0%{background-position:120% 0}100%{background-position:-100% 0}}
@media (min-width:1024px){
  .cs-chat-launcher{right:calc(24px + env(safe-area-inset-right,0px));bottom:calc(24px + env(safe-area-inset-bottom,0px))}
  .cs-chat-panel{left:auto;top:auto;right:calc(24px + env(safe-area-inset-right,0px));bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:none;width:min(420px,calc(100vw - 48px));height:min(var(--cs-chat-panel-height,544px),calc(100dvh - 48px))}
}
@media (min-width:601px) and (max-width:1023px){
  .cs-chat-panel{left:50%;top:50%;transform:translate(-50%,-50%);width:min(680px,calc(100vw - 48px));height:min(84dvh,780px);padding:14px}
}
@media (max-width:600px){
  .cs-chat-panel{inset:0;width:100%;height:100dvh;padding:0;border:0;border-radius:0;box-shadow:none;transform:none}
  .cs-chat-screen{border-radius:0}
  .cs-chat-head{padding-top:max(10px,env(safe-area-inset-top,0px))}
  .cs-chat-log{padding-inline:14px}
}
@media (prefers-reduced-motion:reduce){
  .cs-chat-panel[data-state],.cs-chat-msg.staff,.cs-chat-spinner,.cs-chat-pending-spinner,.cs-chat-tiger-img,.cs-chat-tiger-shimmer{animation:none}
}

.cs-chat-header,.cs-chat-panel,.cs-chat-body,.cs-chat-composer,.cs-chat-otp{background:#0B0B0F!important}.cs-chat-header{border-bottom:1px solid #29303d}.cs-chat-composer{position:relative}.cs-chat-emoji-row{position:absolute;bottom:100%;left:12px;right:12px;z-index:5;padding:12px;border:1px solid #343c4b;border-radius:14px;background:#161b26;box-shadow:0 12px 30px #0008}.cs-chat-emoji-row[hidden]{display:none}.cs-chat-category:not(.cs-chat-category-back){background:#161b26!important}.cs-chat-otp{justify-content:center}.cs-chat-otp button{width:63%;margin:8px auto}.cs-chat-tiger img{max-width:180px}
.cs-chat-log{scrollbar-width:thin;scrollbar-color:transparent transparent}
.cs-chat-log:hover{scrollbar-color:#596273 transparent}
.cs-chat-log::-webkit-scrollbar{width:6px}
.cs-chat-log::-webkit-scrollbar-track{background:transparent}
.cs-chat-log::-webkit-scrollbar-thumb{background:transparent;border-radius:999px}
.cs-chat-log:hover::-webkit-scrollbar-thumb{background:rgba(148,163,184,.48)}
@media(max-width:760px){.cs-chat-log{scrollbar-width:none}.cs-chat-log::-webkit-scrollbar{display:none}}

.cs-chat-otp{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.cs-chat-otp button{flex:0 0 63%}.cs-chat-composer-pill .cs-chat-emoji-toggle{order:2}.cs-chat-composer-pill textarea{order:1}.cs-chat-composer-pill .cs-chat-send{order:3}.cs-chat-notice{display:none}

.cs-chat-intake .cs-chat-tiger-frame{width:clamp(160px,24vw,220px);height:clamp(160px,24vw,220px);max-width:100%;border-radius:28px}.cs-chat-intake .cs-chat-tiger-img{width:100%;height:100%;max-width:none}.cs-chat-intake .cs-chat-tiger{margin:12px auto 24px}

.cs-chat-composer textarea{max-height:112px;resize:none;scrollbar-width:thin;scrollbar-color:#424958 #101217}.cs-chat-composer textarea::-webkit-scrollbar{width:5px}.cs-chat-composer textarea::-webkit-scrollbar-thumb{background:#424958;border-radius:8px}@media(min-width:601px) and (max-width:1023px){.cs-chat-panel{width:min(640px,calc(100vw - 64px));height:min(86dvh,800px);padding:20px}.cs-chat-intake{padding:24px;gap:16px}.cs-chat-intake input{width:100%;min-height:48px}.cs-chat-intake button{min-height:48px;align-self:stretch}}
/* Nov17 H01–H03: floating tools, ordinary ascending log, bounded keyboard viewport. */
.cs-chat-launcher{z-index:2147482999}.cs-chat-panel{z-index:2147483000;border:0;box-shadow:0 22px 64px #0009;isolation:isolate}
.cs-chat-screen{position:relative}.cs-chat-log{flex-direction:column;overflow-anchor:none;overscroll-behavior:contain;scroll-behavior:auto}.cs-chat-log>.cs-chat-msg:first-child{margin-top:auto}
.cs-chat-emoji-row{position:absolute;bottom:calc(100% + 6px);left:12px;right:12px;z-index:10;max-height:min(240px,40dvh);overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(auto-fit,minmax(36px,1fr))}.cs-chat-emoji-row button{touch-action:manipulation}
.cs-chat-jump{position:absolute;bottom:86px;left:50%;transform:translateX(-50%);z-index:4;border:1px solid #334155;border-radius:999px;padding:8px 14px;background:#161b26;color:#eef1f5;font:inherit;font-size:12px;min-height:40px;cursor:pointer}.cs-chat-jump[hidden],.cs-chat-unread[hidden],.cs-chat-viewer[hidden]{display:none!important}
.cs-chat-unread{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:#0670ff;color:white;font-size:11px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}.cs-chat-identity{min-width:0}.cs-chat-identity h2{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-chat-notify{width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:#9ca3af;border-radius:50%;cursor:pointer}.cs-chat-notify svg{width:20px;height:20px}.cs-chat-notify[aria-pressed=true]{color:#60a5fa}
.cs-chat-viewer{position:absolute;inset:0;z-index:30;background:#090b10f5;display:flex;align-items:center;justify-content:center;padding:52px 12px 16px;box-sizing:border-box;border-radius:inherit;overscroll-behavior:contain}.cs-chat-viewer-content{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;pointer-events:none}.cs-chat-viewer-content img,.cs-chat-viewer-content video{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;pointer-events:auto}.cs-chat-viewer-close{position:absolute;top:8px;left:8px;width:44px;height:44px;border:0;border-radius:50%;background:#1e2330;color:#fff;font-size:26px;cursor:pointer}.cs-chat-att-image-link{padding:0;background:none;cursor:zoom-in;text-align:inherit}.cs-chat-att-image{object-fit:contain}
@media(max-width:600px){.cs-chat-panel{top:var(--cs-chat-viewport-top,0px);bottom:auto;height:var(--cs-chat-viewport-height,100dvh);max-height:100dvh}.cs-chat-jump{bottom:calc(86px + env(safe-area-inset-bottom,0px))}.cs-chat-viewer{border-radius:0}}
/* Wave02 H01/H02: physical bubble alignment independent of RTL flex direction. */
.cs-chat-log{container-type:inline-size}.cs-chat-msg{box-sizing:border-box;align-self:flex-start;max-width:82%;max-inline-size:82%;margin-left:0;margin-right:auto}.cs-chat-msg.mine{align-self:flex-end;margin-right:0;margin-left:auto}.cs-chat-log[data-info=true] .cs-chat-msg{margin-inline:auto}
.cs-chat-screen,.cs-chat-composer,.cs-chat-composer-pill{width:100%;min-width:0;box-sizing:border-box}.cs-chat-composer{align-self:stretch}.cs-chat-composer-pill{flex:1 1 auto}.cs-chat-composer textarea{width:0;flex:1 1 0%;font-size:16px}.cs-chat-emoji-row{max-height:min(280px,40dvh);overflow-y:auto;grid-template-columns:repeat(auto-fill,minmax(38px,1fr))}.cs-chat-emoji-row button{font-size:23px;width:38px;height:40px}
.cs-chat-otp{flex:1;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:stretch;gap:14px;overflow-y:auto;padding:24px;min-height:0}.cs-chat-otp-digits{direction:ltr;display:flex;justify-content:center;align-items:center;gap:clamp(5px,2vw,10px);width:100%;min-width:0}.cs-chat-otp-digit{direction:ltr;unicode-bidi:isolate;flex:0 1 44px;min-width:0;width:44px;height:50px;font:700 22px/1 Vazirmatn,Tahoma,sans-serif;text-align:center}.cs-chat-otp button{width:100%;flex:0 0 auto;margin:0;min-height:46px;height:auto;border-radius:14px;background:#eef1f5;color:#111827}.cs-chat-otp button[type=button]{background:transparent;border:1px solid #475569;color:#e2e8f0}.cs-chat-otp button:disabled{opacity:.5;cursor:not-allowed}.cs-chat-otp-countdown{margin:0;text-align:center;color:#aab3c2;font-size:13px;font-variant-numeric:tabular-nums}
.cs-chat-expired{flex:1;display:flex;flex-direction:column;justify-content:center;gap:24px;padding:28px 24px;text-align:center;line-height:1.9;color:#cbd5e1;min-height:0;overflow-y:auto}.cs-chat-expired p{margin:0}.cs-chat-new-session{width:100%;min-height:48px;border:0;border-radius:14px;background:#eef1f5;color:#111827;font:700 14px Vazirmatn,Tahoma,sans-serif;cursor:pointer}.cs-chat-new-session:disabled{opacity:.5;cursor:wait}.cs-chat-expired[hidden]{display:none!important}
@media(min-width:601px) and (max-width:1023px){.cs-chat-composer{padding-inline:14px;align-self:stretch;width:100%}.cs-chat-msg{max-width:82%;font-size:15px}}

/* Override the landing page generic form max-width/margin inside Messenger only. */
.cs-chat-panel form{width:100%;max-width:none;min-width:0;margin:0;box-sizing:border-box}.cs-chat-intake input{font-size:16px}

/* Apple wave03: defeat the existing type-selector 14px shorthand; no zoom lock. */
.cs-chat-panel .cs-chat-intake input[type="text"],.cs-chat-panel .cs-chat-intake input[type="tel"],.cs-chat-panel .cs-chat-intake input:not([type]){font-size:16px}
.cs-chat-intake,.cs-chat-otp{padding-bottom:max(24px,env(safe-area-inset-bottom,0px))}.cs-chat-composer{padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px))}
@media(min-width:601px) and (max-width:1023px){.cs-chat-panel{top:calc(var(--cs-chat-viewport-top,0px) + var(--cs-chat-viewport-height,100dvh)/2);height:min(86dvh,800px,calc(var(--cs-chat-viewport-height,100dvh) - 24px))}}
@media(min-width:1024px){.cs-chat-panel{bottom:calc(24px + env(safe-area-inset-bottom,0px) + var(--cs-chat-keyboard-bottom,0px));max-height:calc(var(--cs-chat-viewport-height,100dvh) - 48px)}}

/* Wave04 C06-C08: stacked information actions and genuine activation/unread. */
.cs-chat-info-actions{flex-direction:column;align-items:stretch;gap:10px;padding:14px 20px max(18px,env(safe-area-inset-bottom,0px))}.cs-chat-info-actions button{width:100%;height:auto;min-height:48px;max-height:none;padding:12px 16px;border-radius:14px;line-height:1.7;white-space:normal}.cs-chat-info-actions .cs-chat-dismiss{border:1px solid #64748b;background:#ffffff08;color:#e2e8f0}
.cs-chat-launcher{position:fixed}.cs-chat-launcher>.cs-chat-unread{position:absolute;top:-8px;left:-8px;min-width:26px;height:26px;border:2px solid #0b0b0f;font-size:12px;box-shadow:0 2px 8px #0005}.cs-chat-notify[hidden]{display:none!important}
@media(max-width:600px){.cs-chat-panel{inset:auto 0 0;top:var(--cs-chat-viewport-top,0px);height:var(--cs-chat-viewport-height,100dvh);width:100%;max-height:100dvh;transform:none}.cs-chat-panel[data-state=open]{animation:cs-chat-drawer-open 180ms ease-out both}.cs-chat-panel[data-state=closing]{animation:cs-chat-drawer-close 140ms ease-in both}.cs-chat-head h2{font-size:14px}.cs-chat-head{padding-inline:10px}}
@keyframes cs-chat-drawer-open{from{opacity:.6;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}@keyframes cs-chat-drawer-close{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(100%)}}
@media(prefers-reduced-motion:reduce){.cs-chat-panel[data-state]{animation:none}}
/* Wave05 receipts, captured unread divider and authorized reply surfaces. */
.cs-chat-msg{position:relative}.cs-chat-meta{display:flex;direction:ltr;justify-content:flex-end;align-items:center;gap:5px}.cs-chat-receipt{display:inline-block;color:inherit;white-space:nowrap;font:12px/1.2 Arial,sans-serif;letter-spacing:-3px;padding-right:3px}.cs-chat-receipt[data-receipt=read]{color:#67c1ff}.cs-chat-receipt[data-receipt=failed]{letter-spacing:normal;font:inherit;color:#fca5a5}
.cs-chat-quote{display:flex;flex-direction:column;gap:3px;border-inline-start:3px solid #76baff;padding:6px 10px;margin:0 0 8px;border-radius:6px;background:#ffffff12;font-size:12px;line-height:1.6;overflow-wrap:anywhere;max-width:100%}.cs-chat-quote strong{color:#a5d3ff}.cs-chat-quote span{white-space:pre-wrap}.cs-chat-reply-preview{display:flex;align-items:center;gap:8px;animation:cs-chat-message 100ms ease-out}.cs-chat-reply-preview .cs-chat-quote{flex:1;margin:0;min-width:0;max-height:90px;overflow:auto}.cs-chat-reply-preview>button{flex:none;background:transparent;border:0;color:#cbd5e1;width:40px;height:40px;font-size:22px;cursor:pointer}.cs-chat-reply-preview[hidden],.cs-chat-retry[hidden]{display:none!important}
.cs-chat-reply-action{display:block;margin:4px 0 0 auto;min-height:30px;border:0;border-radius:8px;padding:3px 8px;background:#0002;color:inherit;font:inherit;font-size:11px;cursor:pointer;opacity:.65}.cs-chat-reply-action:focus-visible,.cs-chat-msg:hover .cs-chat-reply-action,.cs-chat-msg[data-context=true] .cs-chat-reply-action{opacity:1;background:#ffffff18}.cs-chat-msg[data-context=true] .cs-chat-reply-action{box-shadow:0 4px 12px #0004}.cs-chat-retry{border:1px solid #cbd5e1;border-radius:8px;background:transparent;color:inherit;padding:5px 10px;font:inherit;font-size:12px;cursor:pointer}
.cs-chat-unread-divider{display:flex;align-items:center;gap:12px;flex:none;align-self:stretch;font-size:12px;font-weight:700;color:#bdc6d4;margin:14px 0;transition:opacity 160ms ease}.cs-chat-unread-divider:before,.cs-chat-unread-divider:after{content:'';flex:1;height:1px;background:#cbd5e14d}.cs-chat-unread-divider[data-fading=true]{opacity:0}
.cs-chat-msg.staff[data-historical=true]{animation:none}.cs-chat-msg[data-historical=false]{animation:cs-chat-message 120ms ease-out both}
@media(prefers-reduced-motion:reduce){.cs-chat-msg[data-historical],.cs-chat-reply-preview{animation:none}.cs-chat-unread-divider{transition:none}}

/* Wave06 OTP keeps a single native field for whole-code input and autofill. */
.cs-chat-otp-field{display:grid;justify-items:center;gap:8px;color:#cbd5e1;font-size:13px}
.cs-chat-otp-code{inline-size:min(100%,16rem);min-block-size:50px;box-sizing:border-box;border:2px solid #d6d8de;border-radius:12px;background:transparent;color:#f5f7fb;text-align:center;font:700 22px/1 Vazirmatn,Tahoma,sans-serif;letter-spacing:.35em;text-indent:.35em;font-variant-numeric:tabular-nums}
.cs-chat-otp-code:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}

/* Wave07 neutral receipts and context-only reply action. */
.cs-chat-msg{min-inline-size:min(100%,8rem);padding:12px 17px}
.cs-chat-meta{background:transparent;border:0;box-shadow:none;justify-content:flex-end}
.cs-chat-receipt[data-receipt=read]{color:inherit}
.cs-chat-reply-action[hidden]{display:none!important}
.cs-chat-reply-action{position:absolute;z-index:3;inset-inline-end:6px;inset-block-start:6px;margin:0;opacity:1;background:#243044;box-shadow:0 4px 12px #0005}
.cs-chat-msg[tabindex]:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}

/* Empty conversation artwork scales to the log's available content box. */
.cs-chat-empty{padding-block:0}
.cs-chat-log:has(>.cs-chat-empty){container-type:size}
.cs-chat-empty .cs-chat-tiger.is-compact .cs-chat-tiger-frame{
  --cs-empty-tiger-size:min(168px,100cqw,max(0px,calc(100cqh - 12px)));
  inline-size:var(--cs-empty-tiger-size);
  block-size:var(--cs-empty-tiger-size);
}

/* Information card and one native OTP control over six visual cells. */
.cs-chat-info-view{display:grid;flex:none;align-self:center;inline-size:90%;margin-block:auto;gap:10px;font-size:14px;line-height:1.95}
.cs-chat-info-card{box-sizing:border-box;padding:20px 22px;border-radius:18px;background:#19212e;color:#f5f7fb;text-align:center}
.cs-chat-info-card p{margin:0;white-space:pre-line;overflow-wrap:anywhere}
.cs-chat-info-back{display:inline-flex;align-items:center;justify-self:right;gap:4px;min-block-size:44px;padding-inline:8px;border:1px solid #354153;border-radius:12px;background:transparent;color:#e2e8f0;font:inherit;cursor:pointer}
.cs-chat-info-back svg{inline-size:20px;block-size:20px}
.cs-chat-info-back:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}
.cs-chat-quote{border-inline-start:0;border-right:3px solid #76baff}
.cs-chat-otp-control{position:relative;inline-size:100%}
.cs-chat-otp-cells{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(4px,1.5vw,10px)}
.cs-chat-otp-cell{display:grid;place-items:center;aspect-ratio:1;box-sizing:border-box;border:1px solid #64748b;border-radius:12px;color:#f5f7fb;font-size:clamp(16px,4.5vw,25px);font-weight:700;font-variant-numeric:tabular-nums}
.cs-chat-otp-cell[data-filled=true]{border-color:#3b82f6}
.cs-chat-otp-control .cs-chat-otp-code{position:absolute;inset:0;inline-size:100%;block-size:100%;min-block-size:0;border:0;border-radius:12px;background:transparent;color:transparent;caret-color:transparent;font-size:16px;letter-spacing:normal;text-indent:0}
.cs-chat-otp-control .cs-chat-otp-code::selection{color:transparent;background:transparent}
.cs-chat-otp-control .cs-chat-otp-code:focus-visible{outline:none}
.cs-chat-otp-control:focus-within .cs-chat-otp-cell[data-cursor=true]{outline:2px solid #93c5fd;outline-offset:-3px}
