/* AFNAAN STORE — IRIS AI (2026-11-30). On-site AI chat panel opened
   from the floating help widget. Cloned from live-chat-20261112.css:
   same panel positioning (bottom calc(86px + safe-area) above the bottom
   nav), same bubble/chip/card language, luma (light) default + nova (dark)
   under html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]). Scoped to .help-ai-assistant /
   .af-ai-* only; the help-widget, Live Chat panel and bottom-nav rules are
   untouched. No sound/vibration. No proactive greeting bubble. */

/* ── Widget option ─────────────────────────────────────────────── */
.help-option.help-ai-assistant{font:inherit;cursor:pointer;text-align:left;color:#fff}
.help-option.help-ai-assistant .help-option-icon{position:relative;background:linear-gradient(135deg,#22d3ee,#818cf8 50%,#7c3aed);color:#fff;box-shadow:0 0 14px rgba(56,189,248,.55);animation:afAiIconGlow 3s ease-in-out infinite}
/* PANEL REDO (2026-11-30): the AI pill breathes — a slow glow pulse so the
   chat draws the eye. Transform/opacity-free (box-shadow only, tiny
   element). B6.2 (owner order 2026-12-01): animations ALWAYS show at
   full speed on every phone — there is no toggle and no OS-setting
   gate anywhere in this file. */
@keyframes afAiIconGlow{0%,100%{box-shadow:0 0 10px rgba(56,189,248,.40)}50%{box-shadow:0 0 20px rgba(56,189,248,.75),0 0 8px rgba(124,58,237,.55)}}
/* Three options now: WhatsApp, Telegram, IRIS AI — bottom (IRIS AI)
   first in DOM order — stagger continues the .12s/.07s/.02s pattern.
   Per-pill classes (help-stagger-1..3, set in footer.php) instead of
   conditional pill (WhatsApp/Telegram) is hidden by an empty support URL.
   This also replaces the old non-namespaced :nth-child(1–3) rules (MINOR 19):
   each rule now matches only its own pill. */
.help-widget.open .help-option.help-stagger-1{transition-delay:.12s}
.help-widget.open .help-option.help-stagger-2{transition-delay:.07s}
.help-widget.open .help-option.help-stagger-3{transition-delay:.02s}
/* Luma (light) re-asserts the AI icon, mirroring the Live Chat / WhatsApp /
   Telegram rules in live-chat-20261112.css and the footer inline style. */
html:is([data-af-mode="light"],:not([data-af-mode])[data-af-ux="luma"]) .help-option.help-ai-assistant .help-option-icon{background:linear-gradient(135deg,#22d3ee,#818cf8 50%,#7c3aed)!important;color:#fff!important;box-shadow:0 0 14px rgba(56,189,248,.55)!important}
html:is([data-af-mode="light"],:not([data-af-mode])[data-af-ux="luma"]) .help-widget .help-option.help-ai-assistant{background:linear-gradient(135deg,rgba(255,255,255,.94) 0%,rgba(236,247,252,.95) 100%)!important;border:1px solid rgba(176,146,233,.52)!important;box-shadow:0 10px 24px rgba(172,148,204,.24),0 0 16px rgba(126,71,220,.12)!important;color:rgba(32,24,45,1)!important}

/* ── Panel ─────────────────────────────────────────────────────── */
.af-ai-panel,.af-ai-shade{box-sizing:border-box}
.af-ai-panel *,.af-ai-shade *{box-sizing:border-box}
.af-ai-panel[hidden],.af-ai-shade[hidden]{display:none!important}
/* Defect #2: the guest form is hidden via the [hidden] attribute, but the
   author display:grid beats the UA [hidden] rule — guests could type
   into a dead box. */
.af-ai-panel .af-ai-form[hidden]{display:none!important}
.af-ai-shade{position:fixed;inset:0;z-index:2147483640;background:transparent;animation:afAiShadeIn .25s ease-out both}
@keyframes afAiShadeIn{from{opacity:0}to{opacity:1}}
/* PANEL REDO (2026-11-30): smooth open — the panel rises + fades in
   (CSS owns this; Live Chat's open motion is WAAPI in its JS). The
   animation restarts each time [hidden] is removed, and `both` holds the
   identity end-state, so nothing is left transformed. */
.af-ai-panel{position:fixed;z-index:2147483641;right:16px;bottom:calc(86px + env(safe-area-inset-bottom,0px));width:min(380px,calc(100vw - 32px));max-height:min(560px,calc(100dvh - 110px));display:flex;flex-direction:column;overflow:hidden;border-radius:22px;border:1px solid rgba(56,189,248,.45);background:linear-gradient(160deg,#f8fbff,#eef3ff 70%,#f3edff);background-color:#eef3ff;color:#223a58;box-shadow:0 24px 60px rgba(6,12,41,.45),0 0 0 1px rgba(124,58,237,.12),inset 0 1px 2px #fff;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;animation:afAiPanelIn .34s cubic-bezier(.22,.72,.22,1) both}
@keyframes afAiPanelIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
body.af-ai-assistant-open{overflow:hidden!important}
body.af-ai-assistant-open .help-widget{visibility:hidden!important;pointer-events:none!important}
.af-ai-panel :is(button,a,textarea):focus-visible{outline:3px solid #4a9dd9;outline-offset:2px}
.af-ai-panel button{cursor:pointer;font:inherit}

.af-ai-head{position:relative;flex:none;display:flex;align-items:center;gap:8px;padding:10px 12px 9px;background:linear-gradient(135deg,#0e7490,#4f46e5 55%,#6d28d9);color:#fff;border-bottom:1px solid rgba(255,255,255,.16);overflow:hidden}
/* PANEL REDO (2026-11-30): a slow light sweep across the header — the
   Cosmic Galaxy shimmer. transform-only, clipped by overflow:hidden. */
.af-ai-head::before{content:'';position:absolute;top:0;bottom:0;left:0;width:45%;background:linear-gradient(105deg,transparent,rgba(255,255,255,.14),transparent);transform:translateX(-220%) skewX(-18deg);animation:afAiHeadSheen 6s ease-in-out infinite;pointer-events:none}
@keyframes afAiHeadSheen{0%,55%{transform:translateX(-220%) skewX(-18deg)}85%,100%{transform:translateX(320%) skewX(-18deg)}}
/* Defect #18: a soft shine line under the header, once the tagline is
   shortened on mobile. */
.af-ai-head::after{content:'';position:absolute;left:14px;right:14px;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);pointer-events:none}
.af-ai-logo{position:relative;width:36px;height:36px;flex:none;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);box-shadow:0 0 14px rgba(255,255,255,.25);overflow:hidden;animation:afAiEmblemGlow 3s ease-in-out infinite}
/* B6.1 WORKER 3 ROUND 2 (live test: "EMBLEM GLOW was NOT observed"):
   the header emblem NEVER had a glow animation — its box-shadow was
   static, and the only motion was the thin rotating ::after streak
   (afAiEmblemSpin), too subtle to see on a 32px disc. Now the disc
   itself breathes: afAiEmblemGlow pulses the halo (white + violet),
   same 3s period as the help-pill glow (afAiIconGlow). The keyframes
   carry the FULL shadow stack (drop + inset top edge), because a
   running animation overrides the static box-shadow entirely. */
@keyframes afAiEmblemGlow{0%,100%{box-shadow:0 0 10px rgba(255,255,255,.22),0 2px 8px rgba(3,7,30,.25),inset 0 1px 0 rgba(255,255,255,.35)}50%{box-shadow:0 0 24px rgba(255,255,255,.65),0 0 14px rgba(167,139,250,.6),0 2px 8px rgba(3,7,30,.25),inset 0 1px 0 rgba(255,255,255,.35)}}
/* PANEL REDO: a slow rotating light streak over the emblem disc — the
   logo itself never changes (owner-picked emblem, untouched). The streak
   is a transform-only rotation of a conic gradient, clipped to the disc. */
.af-ai-logo::after{content:'';position:absolute;inset:-45%;background:conic-gradient(from 0deg,transparent 0 72%,rgba(255,255,255,.5) 84%,transparent 96%);animation:afAiEmblemSpin 5s linear infinite;pointer-events:none}
@keyframes afAiEmblemSpin{to{transform:rotate(360deg)}}
.af-ai-logo img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block}
/* D8 (B2, 2026-11-30): the header name was squeezed to "A…" at every
   width. ROOT CAUSE: the 37-char tagline wrapped to 3 lines (109px
   header on desktop) and the name span could flex-shrink to ~0
   (min-width:0 + max-width:76px) — and even with the tagline hidden,
   name + "IRIS AI" + the 108px Live Chat pill cannot fit side-by-side
   in a 380px panel. Fix: the name now sits UNDER "IRIS AI" as the
   second line of the head-text block (reading order unchanged: IRIS AI
   first, then the name, then Live Chat beside the block) — it owns the
   full head-text width at every viewport, so "AFNAAN X STORE" fits at
   320/360/390/500/desktop. When a name is shown the panel gets
   .af-ai-has-name and the tagline line hides (the name takes its
   place); the tagline itself wraps to two lines, never truncating
   (B5/D2 — the old one-line ellipsis cut it to "Beyond Intelligence,
   Closer…" at desktop width). Ellipsis past the block width is the
   last resort only, never a single character. Live Chat's label is
   wrapped (.af-ai-livechat-label) so the tightest phones can drop to
   an icon-only pill. Verified headless at 320/360/390/500/desktop. */
.af-ai-head-text{flex:1 1 auto;min-width:0}
.af-ai-head-text strong{display:block;font-size:17px;line-height:1.25;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 3px rgba(3,7,30,.35)}
.af-ai-head-text small{display:flex;align-items:center;gap:6px;font-size:10.5px;opacity:.92;margin-top:2px;min-width:0}
/* B5 (D2): the tagline NEVER truncates — it wraps to two lines instead
   of the old one-line ellipsis ("Beyond Intelligence, Closer…" at
   desktop width). The old nowrap + ellipsis is what cut it; the header
   grows by one line at narrow widths, which is the accepted trade. */
.af-ai-tagline{white-space:normal;overflow:visible;text-overflow:clip;min-width:0;line-height:1.35;text-shadow:0 1px 2px rgba(3,7,30,.3)}
.af-ai-panel.af-ai-has-name .af-ai-head-text small{display:none}
/* DEFECT 3 (2026-11-30): signed-in customer's first name, on the second
   line under IRIS AI (D8: the only layout where the full name fits at
   every width). Block line, ellipsis only past the head-text width.
   Guests / unknown name: hidden entirely (see [hidden] rule below). */
.af-ai-customer-name{display:block;min-width:0;max-width:100%;margin-top:2px;font-size:12px;font-weight:700;line-height:1.3;color:#fff;opacity:.95;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.af-ai-customer-name[hidden]{display:none}
.af-ai-online{width:7px;height:7px;flex:none;border-radius:50%;background:#4ade80;box-shadow:0 0 7px #4ade80;animation:afAiPulse 2s ease-in-out infinite}
@keyframes afAiPulse{0%,100%{opacity:.65}50%{opacity:1}}
/* PANEL REDO (2026-11-30): the Live Chat button is a SMALL ROUND PILL —
   34px tall, fully rounded — not the old 44px square-ish block. The
   44px touch target is kept by an invisible hit area (::before), so the
   button looks small and taps big. */
.af-ai-livechat{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:118px;height:32px;min-height:0;padding:0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.18);color:#fff;font-size:11px;font-weight:700;line-height:1;text-align:center;white-space:nowrap;box-shadow:0 2px 8px rgba(3,7,30,.22);transition:background .16s,transform .16s,box-shadow .16s}
/* D8 (B2): .af-ai-panel button{font:inherit} beats the 11px above (it
   rendered the pill label at 16px, ~108px wide) — re-assert 11px here. */
.af-ai-panel button.af-ai-livechat{font-size:11px}
/* B5 (D17): the SAME specificity trap rendered the chips and the retry
   pill at 16px (the inherited body font) instead of their 12px / 11.5px
   rules — .af-ai-panel button (0,1,1) beats .af-ai-chip / .af-ai-retry
   (0,1,0). Re-assert both here, next to the livechat one. */
.af-ai-panel button.af-ai-chip{font-size:12px}
.af-ai-panel button.af-ai-retry{font-size:11.5px}
.af-ai-livechat::before{content:'';position:absolute;inset:-6px -2px}
.af-ai-livechat svg{width:13px;height:13px;flex:none}
.af-ai-livechat:hover{background:rgba(255,255,255,.3);box-shadow:0 3px 10px rgba(3,7,30,.28)}
.af-ai-livechat:active{transform:scale(.95)}
.af-ai-livechat:disabled{opacity:.6}
.af-ai-livechat-loading > svg{animation:afAiSpin .8s linear infinite}
@keyframes afAiSpin{to{transform:rotate(360deg)}}
.af-ai-close{width:44px;height:44px;flex:none;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.14);color:#fff;display:grid;place-items:center;font-size:16px;box-shadow:0 2px 8px rgba(3,7,30,.22);transition:transform .16s,background .16s}
.af-ai-close svg{display:block}
.af-ai-close:hover{transform:scale(1.08);background:rgba(255,255,255,.26)}
.af-ai-close:active{transform:scale(.94)}

/* B6.2 (owner order 2026-12-01): the in-app motion on/off toggle is
   REMOVED completely — no toggle row under the header, no storage key,
   no toggle CSS. Motion always plays at full speed. */

/* Defect #18: centred grabber for the mobile bottom sheet (JS renders
   the span first inside the panel; hidden on desktop). */
.af-ai-grabber{display:none}
.af-ai-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin}
/* Defect #5: a short/empty thread is vertically centred instead of
   leaving a ~337px empty gradient below the greeting. */
.af-ai-body.af-ai-body-empty{justify-content:center}
.af-ai-intro{font-size:12px;line-height:1.6;color:#4c6378;background:linear-gradient(160deg,#ffffff,#f6f0ff);border:1px solid #c9b8f2;border-radius:16px;padding:10px 12px;box-shadow:0 2px 9px rgba(35,69,110,.07);animation:afAiIn .3s cubic-bezier(.22,.72,.22,1) both;white-space:normal;line-clamp:none;-webkit-line-clamp:unset}
/* D11 (B2): a long greeting wraps cleanly and is NEVER cut off — no
   line-clamp anywhere on the greeting bubble (locked in here, so a
   future rule cannot silently clamp it). */
/* Defect #18: the intro card carries a small iris mark, so it reads as
   the assistant speaking, not flat text. */
.af-ai-intro::before{content:'✦ ';color:#7c3aed}
.af-ai-thread{display:flex;flex-direction:column;gap:10px}
.af-ai-bubble{position:relative;max-width:86%;padding:9px 12px;border-radius:18px 18px 18px 6px;background:linear-gradient(160deg,#ffffff,#f8f4ff 55%,#eef3ff);border:1px solid #cfdeec;border-left:3px solid #a78bfa;color:#273e58;font-size:13.5px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 2px 8px rgba(35,69,110,.06);align-self:flex-start;animation:afAiIn .28s cubic-bezier(.22,.72,.22,1) both;transition:box-shadow .18s}
@keyframes afAiIn{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
.af-ai-bubble small{display:block;font-size:11px;color:#576d84;margin-top:5px}
.af-ai-bubble.mine{align-self:flex-end;background:linear-gradient(145deg,#dbeafe,#e0e7ff);border-color:#93c5fd;border-radius:18px 18px 6px 18px}
/* PANEL REDO: linkified URLs inside a message (plain-text order links)
   render as small tappable pill chips — never a bare blue URL string.
   The URL text truncates with an ellipsis inside the pill. */
.af-ai-bubble a,.af-ai-intro a{display:inline-flex;align-items:center;max-width:100%;padding:4px 11px;border-radius:999px;background:#ede9fe;border:1px solid #ddd6fe;color:#5b21b6;font-size:12px;font-weight:700;line-height:1.35;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;transition:filter .16s,transform .16s}
.af-ai-bubble a:hover,.af-ai-intro a:hover{filter:brightness(1.04)}
.af-ai-bubble a:active,.af-ai-intro a:active{transform:scale(.97)}
.af-ai-bubble.mine small{color:#4a6178}
.af-ai-bubble + .af-ai-bubble{margin-top:-3px}
.af-ai-bubble.mine + .af-ai-bubble.mine{margin-top:-3px}
.af-ai-bubble:hover{box-shadow:0 4px 13px rgba(35,69,110,.14)}
.af-ai-bubble.mine:hover{box-shadow:0 4px 13px rgba(92,67,166,.24)}

/* B5 (D10): the B4 typing dots were effectively STATIC in 0.5s-apart
   screenshots (12/6916 px changed, headless) — a 1.1s period with
   9px dots and a -6px lift is too subtle to read as motion from
   stills. Now OBVIOUS: 10px dots, -8px lift, scale 1.4, a 1.6s period
   (so samples 0.5s apart land 31% of a cycle apart — always a different
   pose), delays spread evenly across the cycle (0 / .35s / .7s), and a
   stronger label pulse + shimmer. Verified by 0.5s-apart screenshots. */
.af-ai-typing{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:18px 18px 18px 6px;background:linear-gradient(120deg,#ffffff,#f6f0ff 45%,#eef3ff 70%,#ffffff);background-size:220% 100%;border:1px solid #cfdeec;box-shadow:0 2px 8px rgba(35,69,110,.06);animation:afAiIn .28s cubic-bezier(.22,.72,.22,1) both,afAiTypingShimmer 2.4s ease-in-out infinite}
@keyframes afAiTypingShimmer{0%,100%{background-position:0% 0}50%{background-position:100% 0}}
.af-ai-typing-label{font-size:11.5px;font-weight:700;color:#5b21b6;white-space:nowrap;animation:afAiTypingLabel 1.6s ease-in-out infinite}
@keyframes afAiTypingLabel{0%,100%{opacity:.6}50%{opacity:1}}
.af-ai-typing-dots{display:inline-flex;align-items:center;gap:6px}
.af-ai-typing-dots span{width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,#22d3ee,#7c3aed);animation:afAiTypingBounce 1.6s ease-in-out infinite}
.af-ai-typing-dots span:nth-child(2){animation-delay:.35s}
.af-ai-typing-dots span:nth-child(3){animation-delay:.7s}
@keyframes afAiTypingBounce{0%,100%{opacity:.3;transform:translateY(0) scale(.8);background:linear-gradient(135deg,#94a3b8,#cbd5e1)}50%{opacity:1;transform:translateY(-8px) scale(1.4);background:linear-gradient(135deg,#22d3ee,#7c3aed)}}
@keyframes afAiBlink{0%,100%{opacity:.35;transform:translateY(0) scale(.9)}50%{opacity:1;transform:translateY(-4px) scale(1.08)}}

/* Live-streaming bubble: blinking caret while deltas arrive; Retry
   control under the bubble on failure. Namespaced .af-ai-* like everything else. */
.af-ai-bubble.af-ai-streaming::after{content:'▍';color:#7c3aed;animation:afAiBlink 1s ease-in-out infinite}
.af-ai-retry{align-self:flex-start;margin-top:-4px;padding:6px 12px;border-radius:999px;border:1px solid #7c3aed;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;font-size:11.5px;font-weight:800;line-height:1.3;box-shadow:0 3px 10px rgba(124,58,237,.35),inset 0 1px 0 rgba(255,255,255,.35);transition:filter .16s,transform .16s}
.af-ai-error-bubble{align-self:flex-start;max-width:86%;padding:7px 10px;border-radius:14px 14px 14px 4px;background:#fdf0f3;border:1px solid #e5b3bf;color:#8f2740;font-size:12px;line-height:1.55;box-shadow:0 2px 8px rgba(143,39,64,.08)}
.af-ai-meta{align-self:flex-start;font-size:10.5px;color:#72859a;margin-top:-6px;padding-left:2px}
/* B5 (N13): the "still working" status line — a plain meta line, never
   an error colour: the wait is normal, just slow. */
.af-ai-slow{margin-top:2px}
.af-ai-retry:hover{filter:brightness(1.03)}
.af-ai-retry:active{transform:scale(.96)}

/* Quick-reply chips under the greeting and after the latest short answer.
   PANEL REDO: SMALL pills (30px) in ONE row — the row scrolls sideways
   instead of wrapping into a tall block. 44px tap kept by ::before. */
.af-ai-chips{display:flex;flex-wrap:nowrap;gap:7px;align-self:stretch;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x;cursor:grab;scroll-snap-type:x proximity}
.af-ai-chips:active{cursor:grabbing}
.af-ai-chips::-webkit-scrollbar{display:none}
/* B5 (D11): the B4 chevron was a ::after INSIDE the masked row, so the
   fade masked the chevron itself faint — and the 4th chip still clipped
   mid-word at rest at every width. Now the affordance lives OUTSIDE the
   row: .af-ai-chips-wrap (JS chipsHtml) holds the row + a sibling
   .af-ai-chips-more badge that the row's mask can never fade. When the
   row overflows, the wrap gets .af-ai-chips-scrollable: the row's right
   edge fades AND the badge shows — a solid gradient circle with a
   pulsing nudge, unmistakable. scroll-snap keeps a drag from resting
   mid-chip: after a flick the row settles on a chip boundary. */
.af-ai-chips-wrap{position:relative;align-self:stretch}
.af-ai-chips-more{display:none;position:absolute;right:0;top:50%;z-index:2;width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,#8b5cf6,#6d28d9);border:1px solid rgba(255,255,255,.5);color:#fff;font-size:15px;font-weight:800;line-height:1;place-items:center;box-shadow:0 2px 8px rgba(124,58,237,.45);pointer-events:none}
.af-ai-chips-wrap.af-ai-chips-scrollable .af-ai-chips-more{display:grid;animation:afAiChevronNudge 1.6s ease-in-out infinite}
@keyframes afAiChevronNudge{0%,100%{transform:translateY(-50%) translateX(0)}50%{transform:translateY(-50%) translateX(-3px)}}
.af-ai-chips-wrap.af-ai-chips-scrollable .af-ai-chips{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 36px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 36px),transparent 100%)}
/* Defect #5: tappable topic cards in the empty state — same chip values,
   card treatment, so a new chat fills the panel. */
.af-ai-topics{display:flex;flex-direction:column;gap:9px;align-self:stretch}
.af-ai-topic{display:flex;align-items:center;gap:8px;width:100%;text-align:left;padding:10px 12px;border-radius:16px;border:1px solid #d3c8f5;background:linear-gradient(160deg,#ffffff,#f6f0ff);color:#4c1d95;font-size:12.5px;font-weight:700;line-height:1.4;box-shadow:0 2px 9px rgba(35,69,110,.07);transition:filter .16s,transform .16s;animation:afAiIn .35s cubic-bezier(.22,.72,.22,1) both}
.af-ai-topics .af-ai-topic:nth-child(2){animation-delay:.06s}
.af-ai-topics .af-ai-topic:nth-child(3){animation-delay:.12s}
.af-ai-topics .af-ai-topic:nth-child(4){animation-delay:.18s}
.af-ai-topic:hover{filter:brightness(1.03);transform:translateY(-1px)}
.af-ai-topic:active{transform:scale(.98)}
.af-ai-topic-ic{flex:none;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#22d3ee,#818cf8 50%,#7c3aed);color:#fff;font-size:12px}
.af-ai-chip{position:relative;flex:none;display:inline-flex;align-items:center;height:30px;padding:0 11px;border-radius:999px;border:1px solid #a78bfa;background:#fff;color:#5b21b6;font-size:12px;font-weight:700;line-height:1.3;white-space:nowrap;scroll-snap-align:start;box-shadow:0 2px 8px rgba(124,58,237,.14);transition:filter .16s,transform .16s}
.af-ai-chip::before{content:'';position:absolute;inset:-7px 0}
.af-ai-chip:hover:not(:disabled){filter:brightness(1.03);transform:translateY(-1px)}
.af-ai-chip:active:not(:disabled){transform:scale(.96)}
.af-ai-chip:disabled{opacity:.55}

/* Product cards (name, detail/diamonds, price ৳, deep-link button). The
   button is a normal link to the product page — it never completes a
   purchase. Order-status card: code, product, UID, amount, display status. */
/* PANEL REDO (2026-11-30, Worker B) — NEW ORDER CARD: small, compact,
   premium. Name + price (+ diamond total for membership, in the detail
   line) + ONE small round "Order Now" pill. The whole card is the link
   when it has a URL (JS renders <a class="af-ai-card af-ai-card-linkable
   af-ai-order-card">); the button span (.af-ai-card-order-btn) carries
   the REAL English "Order Now" text from the JS (t('orderNow') — English
   in every language), so CSS styles it directly, no content trick.
   NOT a big purple bar. Order-status card: code, product, UID, amount,
   display status (plain .af-ai-card, no order button). */
/* B6 (2026-11-30, owner order 18:49 — VERTICAL STACK, supersedes B5):
   row 1 package name, row 2 price BELOW it, row 3 the Order Now button
   BELOW the price, full-width on its own row. (B5's side-by-side
   price+button row is gone.) Measurements below are the honest floor
   for three readable rows: name 12px/1.1, price 12px/1.1, button 16px,
   card padding 2px 9px, gap 1px, border 2px. Measured headless
   (Playwright headless shell, mocked API, 390px AND desktop,
   identical): diamond/likes/level-up/guild 50px, membership (one
   detail line) 65px, no-link card 33px, order-status card 104px
   (was 53 / 71 / 44 / 146 in this build). The B5 numbers (44/61) never
   matched this build anyway: the trailing .af-ai-panel override block
   below forced min-height:44px + a 23px button over B5's values, so
   live measured 53/71. That override is corrected here too, so the
   base values below are what actually renders.
   Long names clamp to 2 lines so a service card can never blow up.
   The button keeps a 44px tap target via its ::before hit area.
   B6.1 (2026-11-30, owner complaint 21:08 — cards STILL tall on his
   phone): the B6 50.4px number was CSS px of the whole <a>, reproduced
   exactly headless (50.38) — but on his phone that is ~130 device px
   and ~6% of the screen height, so it READ tall. His effective
   viewport is ~360 CSS px (calibrated from the close 38px / logo 32px /
   Live Chat 77px elements in his screenshot), not 390. Floor math for
   the vertical stack (name / price / button): name 10.5px/1.05 +
   price 10.5px/1.05 + button 13px + padding 2px + border 2px = ~39px
   (~4.9% of an 800px viewport, ~101 device px). Below that needs
   <10px type. Card + button now pin box-sizing:border-box on
   themselves, so the height holds even if a live build drops the
   panel-wide box-sizing rule.
   B6.1 WORKER 2 (2026-11-30, owner order 21:23 — STILL too tall):
   pushed to the floor without dropping under 10px type — name and
   price line-height 1.05 → 1.0 (each row is its own block, so a
   unit line-height cannot collide with the next row), button
   13px → 12px (10px text at line-height 1 fits exactly inside the
   12px border-box button), detail 12.5px → 10px (line-height 1.25
   → 1.0 in the trailing override below). New floor: 3-row card
   10.5 + 10.5 + 12 + padding 2 + border 2 = 37px; 4-row card
   (membership / level-up detail line) 37 + 10 = 47px. Padding stays
   1px top/bottom — 0px would let the text touch the border.
   Order-status card tightened the same way (grid 11px/1.35 → 10.5px/
   1.25, row gap 2px → 1px, status pill padding 1px → 0).
   B6.1 WORKER 3 ROUND 2 (card order STILL stands — shrink further):
   the last legitimate room was the 1px borders. Card border 1px →
   0: the edge is now an `inset 0 0 0 1px` ring inside the
   box-shadow (same colour, same 9px radius, zero layout cost) in
   EVERY shadow stack (base, B3, dark, trailing, hover, hover:none —
   a stack without the ring shows a borderless card). Button 12px →
   10px the same way (10px text at line-height 1 fits exactly in a
   10px border-box button; "Order Now" has no descenders; the
   ::before hit area grows -14px → -17px so the 44px tap target
   stays). Fonts stay 10.5/10px — dropping under 10px type is NOT
   legitimate room. New floor: 3-row card 10.5 + 10.5 + 10 + padding
   2 + border 0 = 33px; 4-row card 33 + 10 = 43px. Below 33px needs
   <10px type or 0px padding — both rejected. THIS IS THE FLOOR. */
.af-ai-card{align-self:stretch;background:#fff;border:0;border-radius:9px;padding:1px 8px;box-sizing:border-box;box-shadow:0 3px 10px rgba(35,69,110,.08);display:flex;flex-direction:column;gap:0;transition:transform .18s,box-shadow .18s;animation:afAiIn .3s cubic-bezier(.22,.72,.22,1) both}
/* Order card (Worker B hook): a premium tint marking product/membership
   cards apart from the plain order-status card. */
.af-ai-order-card{border-color:#d3c8f5;background:linear-gradient(160deg,#ffffff,#f9f5ff)}
/* Fresh-message entrance (Worker B hook .af-ai-enter): JS adds it ONLY
   to freshly received bubbles, cards and the streaming bubble —
   history/poll re-renders never get it, so a poll never re-animates the
   thread. Placed after .af-ai-bubble/.af-ai-card so it wins over afAiIn
   on fresh elements; history keeps the base afAiIn. .af-ai-bubble keeps
   its white-space:pre-wrap + afAiIn (line-by-line behaviour). */
.af-ai-enter{animation:afAiEnter .32s cubic-bezier(.22,.72,.22,1) both}
@keyframes afAiEnter{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
a.af-ai-card-linkable{text-decoration:none;color:inherit;cursor:pointer}
a.af-ai-card-linkable:hover{transform:translateY(-1px);box-shadow:inset 0 0 0 1px #cfdeec,0 6px 16px rgba(35,69,110,.14)}
a.af-ai-card-linkable:hover .af-ai-card-order-btn{filter:brightness(1.08);box-shadow:inset 0 0 0 1px #5278c8,0 5px 14px rgba(124,58,237,.45)}
a.af-ai-card-linkable:active{transform:scale(.99)}
.af-ai-card-name{font-size:10.5px;font-weight:800;color:#1e3a5f;line-height:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.af-ai-card-detail{font-size:10px;line-height:1;color:#4c6378}
/* B6: the button row — the Order Now button lives BELOW the price on
   its own row and stretches full-width (owner order 18:49). */
.af-ai-card-row{display:flex}
.af-ai-card-price{font-size:10.5px;font-weight:800;line-height:1;background:linear-gradient(135deg,#7c3aed,#2563eb);-webkit-background-clip:text;background-clip:text;color:transparent}
.af-ai-card-order-btn{position:relative;flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;min-height:10px;padding:0 8px;box-sizing:border-box;border-radius:999px;border:0;background:linear-gradient(135deg,#255cb2,#5142a7);color:#fff;font-size:10px;font-weight:800;letter-spacing:.01em;line-height:1;white-space:nowrap;box-shadow:0 3px 10px rgba(124,58,237,.35);transition:filter .16s,transform .16s,box-shadow .16s}
/* B6.1 WORKER 3 (contrast audit, item 4i): the old base gradient
   (#8b5cf6→#6d28d9) put white text at 4.23:1 on its lightest stop —
   below WCAG AA 4.5:1. The live button already rendered the trailing
   override gradient (#255cb2→#5142a7, 6.46:1 / 7.81:1), so this change
   is invisible live; it makes the BASE rule pass on its own, so the
   button stays AA even if the override block is ever dropped. */
.af-ai-card-order-btn::before{content:'';position:absolute;inset:-17px -4px}
.af-ai-card-order-btn:active{transform:scale(.96)}
.af-ai-order-grid{display:grid;grid-template-columns:auto 1fr;gap:1px 8px;font-size:10.5px;line-height:1.25;color:#4c6378;margin:0}
.af-ai-order-grid dt{font-weight:700;color:#3d5570}
.af-ai-order-grid dd{margin:0;color:#273e58;overflow-wrap:anywhere}
.af-ai-order-status{display:inline-block;padding:0 8px;border-radius:999px;background:#ede9fe;color:#5b21b6;font-size:10.5px;font-weight:800;line-height:1.25}

/* Web-research sources under an AI answer (links only). */
.af-ai-sources{align-self:stretch;font-size:11.5px;line-height:1.6;color:#3d5570;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:6px 10px;overflow-wrap:anywhere}
.af-ai-sources a{color:#5b21b6;text-decoration:underline}

/* Guest "please log in" state (mirrors Live Chat). */
.af-ai-guest{text-align:center;padding:16px 12px;display:flex;flex-direction:column;align-items:center;gap:10px}
.af-ai-guest p{margin:0;font-size:12.5px;line-height:1.7;color:#3d5570}
.af-ai-login{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:999px;border:1px solid #7c3aed;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff!important;text-decoration:none;font-size:12.5px;font-weight:800;box-shadow:0 6px 16px rgba(124,58,237,.35);transition:filter .16s,transform .16s,box-shadow .16s}
.af-ai-login:hover{filter:brightness(1.07);transform:translateY(-1px);box-shadow:0 8px 19px rgba(124,58,237,.42)}
.af-ai-login:active{transform:scale(.97)}
.af-ai-guest small{font-size:11px;color:#64748b;line-height:1.6}
/* Defect #13: WhatsApp / Telegram links inside the guest card. */
.af-ai-guest-links{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.af-ai-guest-link{display:inline-flex;align-items:center;gap:6px;padding:9px 14px;min-height:40px;border-radius:999px;font-size:12.5px;font-weight:800;text-decoration:none;color:#fff!important;box-shadow:0 4px 12px rgba(35,69,110,.18)}
.af-ai-guest-wa{background:linear-gradient(135deg,#4be07f,#25D366 45%,#128C7E)}
.af-ai-guest-tg{background:linear-gradient(135deg,#5ec2f2,#229ED9 45%,#0e7ab8)}

/* PANEL REDO (2026-11-30): the composer is COMPACT — a single-line pill
   (~44px) with a small round 44px send button, not the old 70px box +
   tall rectangle. WHY field-sizing: the JS autoGrowComposer measures
   scrollHeight after setting height:auto — with rows=2 that measures
   ~61px, so a plain CSS height never wins and the field sat at 61px.
   field-sizing:content makes the field size to its CONTENT (1 line ≈
   44px via min-height) while height:auto!important beats the JS inline
   height (44–110px); typing still grows it to the 110px cap, then it
   scrolls internally — probe-verified headless (empty 44, 3 lines 85,
   cleared 44). Without field-sizing support the fallback is the rows=2
   height (~61px) — taller, never broken. The send button's 44px circle
   is pinned with !important because the JS also sets its inline height
   while typing. Placeholder: 12.5px so the Bengali line fits on ONE line
   at 390px, and :placeholder-shown{white-space:nowrap} so it can never
   wrap into a clipped second line on narrower phones — typed text still
   wraps. */
.af-ai-form{position:relative;flex:none;display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:end;padding:8px 12px max(10px,env(safe-area-inset-bottom));background:linear-gradient(160deg,#f1f8ff,#e3edfd);border-top:1px solid #c4d6e8}
.af-ai-form textarea{width:100%;min-width:0;height:auto!important;min-height:44px;max-height:110px;field-sizing:content;resize:none;padding:10px 12px;border:1px solid #b6cae5;border-radius:999px;background:#fff;color:#203954;font:13.5px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:inset 0 1px 4px rgba(37,58,84,.10);transition:border-color .16s,box-shadow .16s}
.af-ai-form textarea:placeholder-shown{white-space:nowrap}
.af-ai-form textarea::placeholder{color:#72859a;font-size:12.5px;line-height:1.4}
.af-ai-form textarea:focus{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.18),inset 0 1px 4px rgba(37,58,84,.12);outline:none}
.af-ai-send{width:44px;height:44px!important;min-height:44px;display:grid;place-items:center;border:1px solid #7c3aed;border-radius:50%;background:linear-gradient(135deg,#38bdf8,#7c3aed);color:#fff;font-size:17px;box-shadow:0 4px 12px rgba(76,84,161,.35);transition:filter .16s,transform .16s,box-shadow .16s}
.af-ai-send svg{display:block}
.af-ai-send:hover:not(:disabled){filter:brightness(1.08);box-shadow:0 6px 16px rgba(124,58,237,.45)}
.af-ai-send:active:not(:disabled){transform:scale(.94)}
.af-ai-send:disabled{opacity:.55}
/* B6 (ADDENDUM) — "↓ New messages" jump pill: floats above the composer
   (anchored to the form, which is position:relative), centred, 26px
   tall. Absolutely positioned, so it never disturbs the form grid.
   Shown only while the reader is scrolled up and new content landed
   (JS toggles [hidden]); tapping it jumps to the latest. Same purple
   gradient as the Order Now button, so it reads as part of the panel. */
.af-ai-newmsgs{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);z-index:3;display:inline-flex;align-items:center;justify-content:center;height:26px;padding:0 12px;border-radius:999px;border:1px solid #7c3aed;background:linear-gradient(135deg,#8b5cf6,#6d28d9);color:#fff;font-size:11px;font-weight:800;line-height:1;white-space:nowrap;box-shadow:0 4px 12px rgba(124,58,237,.4),inset 0 1px 0 rgba(255,255,255,.35)}
.af-ai-panel button.af-ai-newmsgs{font-size:11px}
.af-ai-newmsgs[hidden]{display:none!important}
.af-ai-newmsgs:active{transform:translateX(-50%) scale(.96)}
.af-ai-error{flex:none;margin:0;padding:7px 14px;font-size:12px;line-height:1.5;color:#8f2740;background:#fdf0f3;border-top:1px solid #e5b3bf}
.af-ai-error:empty{display:none}

/* ── Dark theme (nova) ─────────────────────────────────────────── */
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-panel{background:linear-gradient(155deg,#172441,#1f2b50 76%,#2c2556);background-color:#1f2b50;border-color:#6474af;color:#e8f4ff;box-shadow:0 24px 60px rgba(0,0,0,.6)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-head{background:linear-gradient(135deg,#0e7490,#3730a3 60%,#4c1d95);border-bottom-color:#455d92}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-intro{background:#2a3c62;border-color:#405d8a;color:#dbe9ff}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-bubble{background:#2d4169;border-color:#49658f;color:#ecf6ff}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-bubble small{color:#c1cce7}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-bubble.mine{background:linear-gradient(145deg,#155e75,#3730a3);border-color:#7561ae}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-bubble.mine small{color:#d5cdea}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-bubble.af-ai-streaming::after{color:#67e8f9}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-retry{background:#2d4169;border-color:#818cf8;color:#c7d2fe}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-typing{background:#2d4169;border-color:#49658f}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-typing-label{color:#c7d2fe}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-meta{color:#9fb0cc}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-error-bubble{background:#3a2430;border-color:#6b3a4a;color:#ffc9d6}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-typing-dots span{background:#67e8f9}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-chip{background:#2d4169;border-color:#818cf8;color:#c7d2fe}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-card{background:#2d4169;border-color:#49658f}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-order-card{background:linear-gradient(160deg,#2d4169,#2c2a55);border-color:#5b54a8}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-card-name{color:#ecf6ff}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-card-detail{color:#c1cce7}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-card-price{color:#c4b5fd;background:linear-gradient(135deg,#c4b5fd,#93c5fd);-webkit-background-clip:text;background-clip:text}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) a.af-ai-card-linkable:hover{box-shadow:inset 0 0 0 1px #49658f,0 6px 16px rgba(0,0,0,.45)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-bubble a,html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-intro a{background:#3730a3;border-color:#6d5bd0;color:#ddd6fe}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-typing{background:linear-gradient(160deg,#2d4169,#2b2a55);border-color:#49658f}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-order-grid{color:#c1cce7}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-order-grid dt{color:#d5e2f5}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-order-grid dd{color:#ecf6ff}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-order-status{background:#3730a3;color:#ddd6fe}
/* Defect #10: dark styling for sources (were pale slabs on a dark panel),
   matching the chip/card treatment. */
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-sources{background:#2a3c62;border-color:#405d8a;color:#c1cce7}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-sources a{color:#c4b5fd}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-intro{background:linear-gradient(160deg,#2a3c62,#2c2a55);border-color:#5b54a8;color:#dbe9ff}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-topic{background:linear-gradient(160deg,#2d4169,#2c2a55);border-color:#5b54a8;color:#ddd6fe}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-bubble{background:linear-gradient(160deg,#2d4169,#2b2a55);border-color:#49658f;border-left-color:#a78bfa}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-guest p{color:#d5e2f5}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-guest small{color:#9fb0cc}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-form{background:linear-gradient(150deg,#1d2b4a,#252c55);border-top-color:#405c86}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-form textarea{background:#16213d;color:#fff;border-color:#536992}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-form textarea::placeholder{color:#8fa1bd}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-form textarea:focus{border-color:#a78bfa;box-shadow:0 0 0 3px rgba(167,139,250,.30),inset 0 1px 4px rgba(0,0,0,.25)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-error{background:#3a2430;color:#ffc9d6;border-top-color:#6b3a4a}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-bubble:hover{box-shadow:0 4px 13px rgba(0,0,0,.4)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-bubble.mine:hover{box-shadow:0 4px 13px rgba(0,0,0,.45)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-intro{box-shadow:0 2px 9px rgba(0,0,0,.3)}

/* ── Mobile: bottom sheet — never covers the close button or the composer ──
   Same geometry as Live Chat: 92dvh, head + composer flex:none, body flex:1. */
@media(max-width:680px){
  .af-ai-shade{background:rgba(8,15,37,.45)}
  .af-ai-panel{right:0;left:0;bottom:0;width:100%;height:92vh;height:92dvh;min-height:min(420px,92vh);min-height:min(420px,92dvh);max-height:92vh;max-height:92dvh;border-radius:20px 20px 0 0;border-bottom:none}
  /* Defect #1: at real phone widths the 37-char tagline wrapped to 4
     lines and the header hit 109px (26% of the panel at keyboard height).
     Mobile hides the tagline entirely, drops header padding to 10px,
     and the head-text keeps a real min-width — a 109px header can never
     form. Desktop keeps the full tagline. */
  .af-ai-head{gap:8px;padding:16px 12px 10px}
  /* B4 (owner order): the tagline stays visible on mobile too — it
     wraps to two lines (B5/D2), never truncating, never pushing the
     header tall. */
  .af-ai-head-text small{display:flex}
  .af-ai-head-text{min-width:0}
  .af-ai-logo{width:32px;height:32px}
  .af-ai-livechat{max-width:104px;padding:0 10px}
  /* Defect #18: centred grabber on the mobile sheet. */
  .af-ai-grabber{display:block;position:absolute;top:6px;left:50%;transform:translateX(-50%);width:44px;height:5px;border-radius:999px;background:rgba(255,255,255,.65);z-index:2;pointer-events:none}
  .af-ai-body{padding:14px 14px 16px}
  .af-ai-form{padding:10px 14px max(10px,env(safe-area-inset-bottom))}
}
/* Defect #1, tightest phones: the name column shrinks first, never the
   product name. B6: the Order Now button is full-width BELOW the price
   by owner order, so there is no price+button row left to wrap. The
   Bengali placeholder drops to 11px so it still fits on ONE line at 320px. */
/* B4 (owner order): the Live Chat TEXT label is visible at ALL widths —
   the owner's phone (390px) showed icon-only while the 500px test
   showed text. At ≤480px the pill compacts (smaller label/padding)
   but the label never disappears; at ≤380px it shrinks further. */
@media(max-width:480px){
  .af-ai-livechat{max-width:96px;font-size:10px;padding:0 8px;gap:4px}
  .af-ai-panel button.af-ai-livechat{font-size:10px}
  .af-ai-livechat svg{width:12px;height:12px}
  /* B6.1 (tagline, owner screenshot 21:08): the tagline wrapped to 2
     lines on his phone although B6 claimed 1 line at 390px — his
     effective viewport is ~360 CSS px (calibrated from the 38px close
     / 32px logo / 77px Live Chat elements in the screenshot), where
     the head-text is ~170px and the tagline gets ~157px after the
     online dot, but the 37-char tagline needs ~171px at 10.5px.
     At 9px it needs ~147px: 1 line at 360px with ~10px slack
     headless (DejaVu is wider than Android Roboto, so the slack
     holds on the phone). Desktop keeps 10.5px. Wrapping stays
     allowed, so a wider font can still wrap gracefully instead of
     overflowing into the Live Chat pill. */
  .af-ai-tagline{font-size:9px}
}
@media(max-width:380px){
  .af-ai-head{gap:7px;padding:16px 10px 10px}
  .af-ai-livechat{max-width:88px;min-width:0;height:30px;padding:0 8px}
  .af-ai-livechat-label{display:inline;font-size:10px}
  .af-ai-form textarea::placeholder{font-size:11px}
}
/* B6.2 (owner order 2026-12-01): animations ALWAYS show at full speed —
   no OS-setting gate anywhere in this file. */

/* 2026-11-19 final: consistent 44px+ accessible compact support controls.
   The AI pill uses the same fixed 154px×46px box as the other three options. */
html[data-af-appearance="store"] .help-widget .help-option.help-ai-assistant{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:154px!important;height:46px!important;min-width:154px!important;max-width:154px!important;min-height:46px!important;max-height:46px!important;gap:8px!important;padding:0 12px 0 10px!important;font-size:12.5px!important;font-weight:650!important;line-height:1.15!important;border-radius:999px!important;letter-spacing:0!important;white-space:nowrap!important;box-sizing:border-box!important;font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important}
html[data-af-appearance="store"][data-af-ux="luma"] .help-widget .help-option.help-ai-assistant{background:linear-gradient(140deg,rgba(250,254,255,.97),rgba(227,242,250,.95))!important;color:#1b3853!important;border:1px solid rgba(160,182,216,.64)!important;box-shadow:0 5px 16px rgba(73,97,144,.16),inset 0 1px 0 rgba(255,255,255,.82)!important}
html[data-af-appearance="store"][data-af-ux="nova"] .help-widget .help-option.help-ai-assistant{background:linear-gradient(140deg,rgba(34,37,73,.95),rgba(19,22,48,.96))!important;color:#f6f5ff!important;border:1px solid rgba(132,116,191,.5)!important;box-shadow:0 7px 20px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.07)!important}

/* ── B3 PREMIUM (2026-11-30) ────────────────────────────────────────────
   Tasteful Neumorphism + Apple Liquid Glass, CSS-only, lightweight.
   Same structure, upgraded finish: soft layered shadows, subtle glass
   blur on the panel + header (backdrop-filter WITH the solid gradient
   fallback above it for browsers without it), gentle glow accents,
   tiny premium pills (34px kept — only padding / radius / shadow
   refined). No new keyframes. B6.2 (owner order 2026-12-01):
   motion ALWAYS shows at full speed — no OS-setting gate
   anywhere in this file. */

/* Panel: layered neumorphic depth — soft outer shadow, faint violet
   ring, bright top edge + faint bottom shade (inset). */
.af-ai-panel{box-shadow:0 24px 60px rgba(6,12,41,.45),0 2px 8px rgba(6,12,41,.14),0 0 0 1px rgba(124,58,237,.14),inset 0 1px 2px rgba(255,255,255,.85),inset 0 -1px 2px rgba(124,58,237,.07)}
/* Liquid Glass: translucent sheet + blur where supported; the solid
   gradient above stays the fallback everywhere else. */
/* B5 (N16): the glass layer is nearly opaque now (.95/.94, was .88/.86)
   over the solid background-color above — the old translucency flashed
   the white page through during the open fade, which read as a white
   flash on mobile. The blur still shows; the flash does not. */
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .af-ai-panel{background:linear-gradient(160deg,rgba(248,251,255,.95),rgba(238,243,255,.94) 70%,rgba(243,237,255,.95));background-color:#eef3ff;-webkit-backdrop-filter:blur(14px) saturate(1.35);backdrop-filter:blur(14px) saturate(1.35)}
  .af-ai-head{background:linear-gradient(135deg,rgba(14,116,144,.95),rgba(79,70,229,.95) 55%,rgba(109,40,217,.95));-webkit-backdrop-filter:blur(10px) saturate(1.25);backdrop-filter:blur(10px) saturate(1.25)}
  html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-panel{background:linear-gradient(155deg,rgba(23,36,65,.95),rgba(31,43,80,.94) 76%,rgba(44,37,86,.95));background-color:#1f2b50;-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3)}
  html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-head{background:linear-gradient(135deg,rgba(14,116,144,.95),rgba(55,48,163,.95) 60%,rgba(76,29,149,.95));-webkit-backdrop-filter:blur(10px) saturate(1.25);backdrop-filter:blur(10px) saturate(1.25)}
}
/* Bubbles / intro / topics / typing: soft neumorphic lift — a near
   shadow, a far shadow, and a bright top edge. */
.af-ai-bubble{box-shadow:0 1px 2px rgba(35,69,110,.05),0 6px 16px rgba(35,69,110,.07),inset 0 1px 0 rgba(255,255,255,.75)}
.af-ai-bubble.mine{box-shadow:0 1px 2px rgba(37,99,235,.08),0 6px 16px rgba(37,99,235,.10),inset 0 1px 0 rgba(255,255,255,.6)}
.af-ai-intro{box-shadow:0 1px 2px rgba(35,69,110,.05),0 6px 16px rgba(35,69,110,.07),inset 0 1px 0 rgba(255,255,255,.75)}
.af-ai-topic{box-shadow:0 1px 2px rgba(35,69,110,.05),0 6px 16px rgba(35,69,110,.07),inset 0 1px 0 rgba(255,255,255,.75)}
.af-ai-typing{box-shadow:0 1px 2px rgba(35,69,110,.05),0 6px 16px rgba(35,69,110,.07),inset 0 1px 0 rgba(255,255,255,.75)}
/* Cards: the same lift, with a violet tint on the order card. */
.af-ai-card{box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 0 0 1px #cfdeec,0 1px 2px rgba(35,69,110,.05),0 8px 20px rgba(35,69,110,.09)}
.af-ai-order-card{box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 0 0 1px #d3c8f5,0 1px 2px rgba(124,58,237,.08),0 8px 20px rgba(124,58,237,.12)}
/* Tiny premium pills (30px kept): slimmer side padding, layered
   shadow + bright top edge so they read as glass, not chunky plastic. */
.af-ai-chip{padding:0 11px;box-shadow:0 1px 2px rgba(124,58,237,.12),0 4px 12px rgba(124,58,237,.12),inset 0 1px 0 rgba(255,255,255,.85)}
.af-ai-livechat{box-shadow:0 1px 3px rgba(3,7,30,.25),0 4px 12px rgba(3,7,30,.18),inset 0 1px 0 rgba(255,255,255,.35)}
.af-ai-card-order-btn{padding:0 8px;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 0 0 1px #5278c8,0 2px 6px rgba(124,58,237,.3),0 5px 14px rgba(124,58,237,.25)}
.af-ai-retry{box-shadow:0 1px 2px rgba(124,58,237,.10),0 4px 12px rgba(124,58,237,.12),inset 0 1px 0 rgba(255,255,255,.8)}
/* Close: a smaller 38px glass disc (was a chunky 44px) — the invisible
   ::before hit area keeps the full 48px tap target. */
.af-ai-close{position:relative;width:38px;height:38px;background:rgba(255,255,255,.16);box-shadow:0 1px 3px rgba(3,7,30,.25),0 4px 12px rgba(3,7,30,.18),inset 0 1px 0 rgba(255,255,255,.35)}
.af-ai-close::before{content:'';position:absolute;inset:-5px;border-radius:50%}
/* Emblem disc + send button: gentle glow accents, bright top edge. */
.af-ai-logo{box-shadow:0 0 14px rgba(255,255,255,.25),0 2px 8px rgba(3,7,30,.25),inset 0 1px 0 rgba(255,255,255,.35)}
.af-ai-send{box-shadow:0 2px 6px rgba(76,84,161,.3),0 6px 16px rgba(124,58,237,.35),inset 0 1px 0 rgba(255,255,255,.4)}
.af-ai-login{box-shadow:0 4px 12px rgba(124,58,237,.35),inset 0 1px 0 rgba(255,255,255,.35)}
/* Composer: a faint top highlight so the sheet reads as layered glass. */
.af-ai-form{box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
/* Dark (nova) mirrors of the layered shadows. */
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-panel{box-shadow:0 24px 60px rgba(0,0,0,.6),0 2px 8px rgba(0,0,0,.35),0 0 0 1px rgba(124,58,237,.2),inset 0 1px 2px rgba(255,255,255,.09),inset 0 -1px 2px rgba(0,0,0,.25)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-bubble{box-shadow:0 1px 2px rgba(0,0,0,.3),0 6px 16px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-bubble.mine{box-shadow:0 1px 2px rgba(0,0,0,.3),0 6px 16px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.08)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-intro{box-shadow:0 1px 2px rgba(0,0,0,.3),0 6px 16px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-topic{box-shadow:0 1px 2px rgba(0,0,0,.3),0 6px 16px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-typing{box-shadow:0 1px 2px rgba(0,0,0,.3),0 6px 16px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-card{box-shadow:inset 0 1px 0 rgba(255,255,255,.06),inset 0 0 0 1px #49658f,0 1px 2px rgba(0,0,0,.3),0 8px 20px rgba(0,0,0,.35)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-order-card{box-shadow:inset 0 1px 0 rgba(255,255,255,.06),inset 0 0 0 1px #5b54a8,0 1px 2px rgba(0,0,0,.3),0 8px 20px rgba(0,0,0,.4)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-chip{box-shadow:0 1px 2px rgba(0,0,0,.35),0 4px 12px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.08)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-card-order-btn{box-shadow:inset 0 1px 0 rgba(255,255,255,.25),inset 0 0 0 1px #5278c8,0 2px 6px rgba(0,0,0,.4),0 5px 14px rgba(124,58,237,.3)}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-form{box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}

/* ── B5 (N16): touch devices have no hover — a :hover lift/filter that
   fires on tap STICKS until the next tap elsewhere (a "stuck" card,
   chip or button). On hover:none pointers the hover treatments are
   neutralised; :active press states above still work. */
@media (hover:none){
  a.af-ai-card-linkable:hover{transform:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 0 0 1px #cfdeec,0 1px 2px rgba(35,69,110,.05),0 8px 20px rgba(35,69,110,.09)}
  a.af-ai-card-linkable:hover .af-ai-card-order-btn{filter:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 0 0 1px #5278c8,0 2px 6px rgba(124,58,237,.3),0 5px 14px rgba(124,58,237,.25)}
  .af-ai-chip:hover:not(:disabled),.af-ai-topic:hover,.af-ai-livechat:hover,.af-ai-close:hover,.af-ai-send:hover:not(:disabled),.af-ai-login:hover,.af-ai-retry:hover{transform:none;filter:none}
}

/* Glass surfaces and motion are scoped to the IRIS panel. */
.af-ai-panel {
  border-color: rgba(78, 126, 205, .42);
  background: linear-gradient(155deg, rgba(255,255,255,.97), rgba(233,244,255,.95) 65%, rgba(240,238,255,.96));
  box-shadow: 0 24px 58px rgba(19,44,101,.27), inset 0 1px 1px rgba(255,255,255,.9);
}
.af-ai-panel .af-ai-head {
  background: linear-gradient(118deg, #123752, #224e89 48%, #4b37a4);
  isolation: isolate;
}
.af-ai-panel .af-ai-head::before {
  width: 62%;
  background: linear-gradient(100deg, transparent, rgba(155,227,255,.16), transparent);
  animation: afAiHeadSheen 7s ease-in-out infinite;
}
.af-ai-panel a.af-ai-order-card {
  /* B6: the old min-height:44px + padding:5px floor below is what kept
     live cards at 53/71px despite B5's compact base values — the later
     block wins. Corrected to the B6 base values (padding 2px 9px, no
     floor); a linked card always carries name+price+button (≈50px),
     so no tap-target floor is needed.
     B6.1: same rule, B6.1 values — padding 1px 8px, button 13px
     (≈39px a card). B6.1 WORKER 2: button 12px (≈37px a card),
     name/price line-height 1.0. B6.1 WORKER 3 ROUND 2 (card order
     still stands): the 1px card border is GONE — its edge is now an
     `inset 0 0 0 1px` ring inside the box-shadow (same colour, same
     radius, zero layout cost), and the button drops 12px → 10px
     (10px text at line-height 1, no descenders in "Order Now"; its
     1px border is the same ring trick). New floor: 3-row card
     10.5 + 10.5 + 10 + padding 2 + border 0 = 33px; 4-row
     (membership / level-up detail line) 33 + 10 = 43px. The
     `border-color` lines below are now dead (border-width is 0) —
     they stay as the documented ring colours. This trailing block
     MUST stay in sync with the base .af-ai-card /
     .af-ai-card-order-btn rules above; it wins on equal specificity
     because it comes later. */
  min-height: 0;
  padding: 1px 8px;
  border-color: rgba(91,125,197,.36);
  background: linear-gradient(125deg, rgba(255,255,255,.99), rgba(231,244,255,.96));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 0 0 1px rgba(91,125,197,.36), 0 4px 12px rgba(32,72,135,.12);
}
.af-ai-panel a.af-ai-order-card .af-ai-card-order-btn {
  min-height: 10px;
  padding: 0 8px;
  background: linear-gradient(130deg, #255cb2, #5142a7);
  border-color: #5278c8;
}
.af-ai-panel a.af-ai-order-card:focus-visible,
.af-ai-panel .af-ai-older:focus-visible {
  outline: 2px solid #447ae5;
  outline-offset: 2px;
}
.af-ai-panel .af-ai-older {
  align-self: center;
  min-height: 38px;
  margin: 2px 0 10px;
}
.af-ai-panel .af-ai-thread .af-ai-bubble:not(.af-ai-enter),
.af-ai-panel .af-ai-thread .af-ai-card:not(.af-ai-enter) { animation: none; }
html[data-af-mode="dark"] .af-ai-panel a.af-ai-order-card,
html:not([data-af-mode])[data-af-ux="nova"] .af-ai-panel a.af-ai-order-card {
  border-color: rgba(137,175,239,.46);
  background: linear-gradient(133deg, #203a61, #293252 70%, #34315e);
  box-shadow: inset 0 1px 1px rgba(216,238,255,.15), inset 0 0 0 1px rgba(137,175,239,.46), 0 5px 13px rgba(2,10,27,.35);
}
@media (hover: hover) {
  .af-ai-panel a.af-ai-order-card:hover {
    border-color: #7497e6;
    box-shadow: inset 0 0 0 1px #7497e6, 0 7px 16px rgba(48,92,166,.26);
  }
}
/* B6.2 (owner order 2026-12-01): animations ALWAYS show at full speed —
   no OS-setting gate anywhere in this file. */

/* Readable calculation and rule replies on touch screens and desktop. */
.af-ai-panel .af-ai-bubble:not(.mine) {
  line-height: 1.58;
  padding-block: 10px;
  overflow-wrap: anywhere;
}
.af-ai-panel .af-ai-bubble strong {
  font-weight: 750;
}
/* B6.1 WORKER 2: detail line-height 1.0 (was 1.25) — the detail is a
   single line, and the 2.5px it cost is what kept membership/level-up
   cards at 51.53px. Card total now 47px. */
.af-ai-panel .af-ai-card-detail {
  line-height: 1;
}

/* ── B6.2 — motion ALWAYS plays at full speed ────────────────────────
   Owner order 2026-12-01 (explicit, twice): NO motion on/off toggle,
   and the panel motion must show on ALL mobiles, ALWAYS, even when
   the phone's "Remove animations" setting is ON. So B6.2 REMOVES:
   (a) the in-app toggle (row, storage key, JS logic — all gone);
   (b) every OS-setting gate in this file — the OS-gated media block,
       the fade-only entrances, the slowed essential-motion
       re-assertions and the decorative-loop stops are all deleted;
   (c) the toggle OFF-state block. The mechanism: the OS setting only
       reaches a page through that media query — this file no longer
       listens to it, so the base motion below (panel slide .34s,
       message slide-in, typing dots 1.6s, emblem glow 3s, shimmer
       2.4s, pulse 2s, spinner .8s, caret 1s, fades) plays at FULL
       speed always. Nothing flashes faster than 3/s: the fastest
       repeating motion is the 1s caret blink (1Hz).
       NOTE: the one remaining `animation:none` in this file is the
       by-design history rule (.af-ai-thread .af-ai-card/.af-ai-bubble
       :not(.af-ai-enter)) — it stops ALREADY-RENDERED messages from
       re-animating on every poll re-render, is identical with the OS
       setting on or off, and never touches a fresh (.af-ai-enter)
       element. It is not a gate. */

/* B7.1 — single consolidated IRIS visual layer; replaces B6.3–B7.0. */
@font-face{font-family:'IRIS Bengali';src:url('/assets/fonts/af-bengali-500.ttf') format('truetype');font-weight:400 600;font-display:swap;unicode-range:U+0980-09FF,U+200C-200D,U+25CC}
@font-face{font-family:'IRIS Bengali';src:url('/assets/fonts/af-bengali-700.ttf') format('truetype');font-weight:601 900;font-display:swap;unicode-range:U+0980-09FF,U+200C-200D,U+25CC}
.af-ai-panel{--iris-bg:#edf5ff;--iris-ink:#203653;--iris-glass:linear-gradient(145deg,#ffffff,#f1f6ff);--iris-line:#b9cbe5;--iris-mine:linear-gradient(135deg,#e1f2ff,#e8e7ff);--iris-mine-ink:#213f75;--iris-meta:#536b86;--iris-money:#14568a;--iris-aurora:radial-gradient(ellipse at 15% 15%,#73d8ff45,transparent 54%),radial-gradient(ellipse at 90% 72%,#9f91fc40,transparent 54%);--iris-star:#3476b38c;--iris-star2:#8166c687;--iris-card-bg:linear-gradient(145deg,#ffffff,#edf4ff);--iris-card-ink:#203653;--iris-card-sub:#4b6384;--iris-card-edge:#a9c4e8;font-family:'IRIS Bengali',system-ui,-apple-system,'Segoe UI',sans-serif;background:var(--iris-bg);color:var(--iris-ink);backdrop-filter:none;-webkit-backdrop-filter:none;}
html[data-af-ux="nova"] .af-ai-panel{--iris-bg:#f7faff;--iris-aurora:radial-gradient(ellipse at 10% 20%,#72e0ec40,transparent 56%),radial-gradient(ellipse at 90% 75%,#b7b5ff3d,transparent 54%);}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-panel{--iris-bg:#0c162e;--iris-ink:#edf5ff;--iris-glass:linear-gradient(145deg,#1b2e4d,#202544);--iris-line:#455f85;--iris-mine:linear-gradient(140deg,#185579,#3a3688);--iris-mine-ink:#f4f9ff;--iris-meta:#aabbd5;--iris-money:#85e6ff;--iris-aurora:radial-gradient(ellipse at 10% 15%,#057da74d,transparent 52%),radial-gradient(ellipse at 90% 74%,#7441c853,transparent 57%),radial-gradient(ellipse at 66% 30%,#2349a03b,transparent 46%);--iris-star:#c8eeffba;--iris-star2:#ac9cffb0;--iris-card-bg:linear-gradient(145deg,#192d4d,#242344);--iris-card-ink:#f4f8ff;--iris-card-sub:#b9cde6;--iris-card-edge:#526fa5;background:var(--iris-bg);color:var(--iris-ink);backdrop-filter:none;-webkit-backdrop-filter:none;}
html[data-af-ux="nova"][data-af-mode="dark"] .af-ai-panel{--iris-bg:#11172d;--iris-aurora:radial-gradient(ellipse at 5% 17%,#177c9b40,transparent 53%),radial-gradient(ellipse at 94% 72%,#5743ac50,transparent 56%);}
/* Compact header with 44px actual controls; crown anchored to Live Chat. */
.af-ai-panel .af-ai-head,html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-panel .af-ai-head{display:grid;grid-template-columns:32px minmax(0,1fr) auto 44px;grid-template-areas:'logo title live close' 'sub sub sub sub';align-items:center;gap:0 5px;margin:8px 8px 0;padding:1px 7px 2px;border:1px solid #82c9f49c;border-radius:15px;background:radial-gradient(ellipse at 0% 100%,#0d749b90,transparent 60%),linear-gradient(115deg,#102d52,#253e82 60%,#4d3186);box-shadow:inset 0 1px 1px #d5edff55,0 3px 12px #13274b42;backdrop-filter:none;-webkit-backdrop-filter:none;isolation:isolate;}
.af-ai-panel .af-ai-logo{grid-area:logo;width:32px;height:32px;align-self:center;border-color:#8ddaff;animation:irisHalo 3.8s ease-in-out infinite;}
@keyframes irisHalo{0%,100%{box-shadow:0 0 7px #6bdfff55}50%{box-shadow:0 0 14px #8bcaffaa}}
.af-ai-panel .af-ai-head-text{grid-area:title;min-width:0;position:relative;z-index:1;}
.af-ai-panel .af-ai-title-row{display:flex;align-items:center;gap:3px;white-space:nowrap;}
.af-ai-panel .af-ai-title-row strong{font-family:system-ui,sans-serif;font-size:16px;font-weight:800;line-height:1.12;letter-spacing:-.02em;color:#fff;overflow:visible;text-overflow:clip;text-shadow:0 1px 6px rgba(120,195,255,.18);}
.af-ai-panel .af-ai-title-spark{font-size:10px;color:#a5edff;animation:irisTwinkle 3s ease-in-out infinite;}
.af-ai-panel .af-ai-head-sub{grid-area:sub;display:flex;align-items:center;justify-content:center;gap:4px 6px;flex-wrap:wrap;min-width:0;z-index:1;}
.af-ai-panel .af-ai-title-badge{flex:none;border:1px solid #a0defa9e;border-radius:999px;background:#123f6e;color:#f3faff;font-size:10px;font-weight:700;line-height:1.15;padding:1px 6px;white-space:nowrap;}
.af-ai-panel .af-ai-tagline{color:#eff6ff;font-size:11px;line-height:1.25;text-align:center;}
.af-ai-panel .af-ai-livechat,.af-ai-panel .af-ai-close{height:44px;min-height:44px;position:relative;isolation:isolate;border:0;background:transparent;box-shadow:none;color:#fff;z-index:1;}
.af-ai-panel .af-ai-livechat{grid-area:live;max-width:none;min-width:44px;padding:0 10px;gap:5px;background:linear-gradient(145deg,rgba(255,255,255,.18),rgba(90,112,214,.16) 52%,rgba(111,63,196,.22));border:1px solid rgba(222,238,255,.42);border-radius:13px;box-shadow:inset 0 1px 0 rgba(255,255,255,.26),0 3px 10px rgba(8,22,47,.22);}
.af-ai-panel button.af-ai-livechat,.af-ai-panel .af-ai-livechat-label{font-size:11px;font-weight:650;white-space:nowrap;}
.af-ai-panel .af-ai-close{grid-area:close;width:44px;min-width:44px;}
.af-ai-panel .af-ai-livechat::before,.af-ai-panel .af-ai-close::before{content:'';position:absolute;inset:6px 1px;border-radius:12px;border:1px solid #d7eaff70;background:linear-gradient(145deg,#ffffff29,#1b2f6766);box-shadow:inset 0 1px 1px #ffffff30,0 2px 5px #08162f40;z-index:-1;pointer-events:none;}
.af-ai-panel .af-ai-livechat::before{display:none;}
.af-ai-panel .af-ai-close::before{inset:6px;border-radius:50%;}
.af-ai-panel .af-ai-head-crown{position:absolute;right:3px;top:0;width:17px;height:11px;color:#a6edff;pointer-events:none;filter:drop-shadow(0 0 3px #79dfff88);animation:irisTwinkle 3.8s ease-in-out infinite;}
.af-ai-panel .af-ai-head-crown svg{display:block;width:100%;height:100%;}
.af-ai-panel .af-ai-livechat:hover,.af-ai-panel .af-ai-close:hover{background:transparent;box-shadow:none;}
@media(max-width:680px){.af-ai-panel .af-ai-head{margin-top:10px;}}
@media(max-width:340px){.af-ai-panel .af-ai-head{grid-template-columns:30px minmax(0,1fr) auto 44px;gap:0 3px;padding-inline:5px;}.af-ai-panel .af-ai-logo{width:30px;height:30px}.af-ai-panel .af-ai-title-row strong{font-size:16px}.af-ai-panel .af-ai-livechat{padding-inline:6px}.af-ai-panel .af-ai-tagline{font-size:10.5px}}
/* Independent ambient layers, not inside scroll contents. */
.af-ai-chat-viewport{position:relative;isolation:isolate;display:flex;flex:1 1 auto;min-height:0;overflow:hidden;background:var(--iris-bg);}
.af-ai-chat-viewport::before,.af-ai-chat-viewport::after{content:'';position:absolute;inset:-20px;pointer-events:none;z-index:0;}
.af-ai-chat-viewport::before{background:var(--iris-aurora);animation:afAiAuroraFloat 12s ease-in-out infinite alternate;}
.af-ai-chat-viewport::after{background-image:radial-gradient(circle,var(--iris-star) 0 1px,transparent 1.7px),radial-gradient(circle,var(--iris-star2) 0 .9px,transparent 1.6px);background-size:103px 131px,151px 167px;background-position:11px 21px,39px 67px;animation:afAiStarTwinkle 6s ease-in-out infinite;}
.af-ai-chat-viewport>.af-ai-body{position:relative;z-index:1;min-width:0;min-height:0;background:transparent;}
.af-ai-meteor{position:absolute;z-index:0;top:7%;right:0;width:66px;height:1px;border-radius:99px;background:linear-gradient(90deg,transparent,var(--iris-star));pointer-events:none;opacity:0;animation:irisMeteor 13s linear infinite;}
@keyframes irisMeteor{0%,82%{opacity:0;transform:translate3d(20px,-20px,0) rotate(-37deg)}84%{opacity:.65}91%,100%{opacity:0;transform:translate3d(-220px,160px,0) rotate(-37deg)}}
@keyframes afAiAuroraFloat{0%{transform:translate3d(-10px,-8px,0) scale(1);opacity:.65}100%{transform:translate3d(12px,10px,0) scale(1.06);opacity:1}}
@keyframes afAiStarTwinkle{0%,100%{opacity:.35;transform:translate3d(0,0,0)}50%{opacity:.8;transform:translate3d(2px,-9px,0)}}
@keyframes irisTwinkle{0%,100%{opacity:.55}50%{opacity:1}}
/* Message typography and theme-correct contrast. */
.af-ai-panel :is(.af-ai-intro,.af-ai-bubble,.af-ai-card,.af-ai-chip,.af-ai-topic){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
.af-ai-panel .af-ai-bubble,.af-ai-panel .af-ai-intro{font-size:14px;font-weight:450;line-height:1.65;letter-spacing:normal;overflow-wrap:anywhere;}
.af-ai-panel .af-ai-bubble:not(.mine):not(.af-ai-error-bubble),.af-ai-panel .af-ai-intro,html[data-af-mode] .af-ai-panel .af-ai-intro{background:var(--iris-glass);color:var(--iris-ink);border:1px solid var(--iris-line);border-left:3px solid #8b85db;box-shadow:0 3px 10px #0b1a3d14,inset 0 1px 0 #ffffff19;}
html[data-af-mode] .af-ai-panel .af-ai-bubble.mine,.af-ai-panel .af-ai-bubble.mine{background:var(--iris-mine);color:var(--iris-mine-ink);border:1px solid var(--iris-line);box-shadow:0 3px 10px #0b1a3d14,inset 0 1px 0 #ffffff19;}
.af-ai-panel .af-ai-bubble strong{font-weight:750;}
.af-ai-panel .af-ai-money{color:var(--iris-money);font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap;}
.af-ai-panel .af-ai-bubble small,.af-ai-panel .af-ai-meta{font-size:11px;color:var(--iris-meta);line-height:1.4;}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-panel .af-ai-bubble.mine small{color:#e0eaff;}
.af-ai-panel .af-ai-form textarea{font-family:'IRIS Bengali',system-ui,sans-serif;}
/* Product card preserves 244px width and a stable 36px button row. */
.af-ai-panel .af-ai-thread .af-ai-card.af-ai-card{position:relative;overflow:hidden;box-sizing:border-box;background:var(--iris-card-bg);border:0;border-radius:15px;padding:9px;box-shadow:inset 0 1px 1px #ffffff32,inset 0 0 0 1px var(--iris-card-edge),0 4px 11px #0b1a3d20;}
.af-ai-panel .af-ai-thread .af-ai-card.af-ai-order-card{align-self:flex-start;width:244px;max-width:100%;gap:0;}
.af-ai-panel .af-ai-card .af-ai-card-top{display:flex;align-items:center;gap:10px;min-width:0;}
.af-ai-panel .af-ai-card-icon{flex:none;width:52px;height:52px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#234975,#14213d 65%,#302c58);border:1px solid #75bdf27a;box-shadow:inset 0 1px 1px #c4edff55,0 2px 7px #10264b35;overflow:hidden;}
.af-ai-panel .af-ai-card-icon--diamond{background:radial-gradient(ellipse at 50% 42%,#156e9d,#172744 67%,#16223e);}
.af-ai-panel .af-ai-gem{width:46px;height:46px;display:block;object-fit:contain;}
.af-ai-panel .af-ai-service-icon{width:38px;height:38px;display:block;filter:drop-shadow(0 2px 2px #0006);}
.af-ai-panel .af-ai-card .af-ai-card-main{flex:1 1 auto;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;}
.af-ai-panel .af-ai-thread .af-ai-card .af-ai-card-name{display:block;color:var(--iris-card-ink);font-size:14px;font-weight:800;line-height:1.25;overflow:visible;overflow-wrap:anywhere;}
.af-ai-panel .af-ai-thread .af-ai-card .af-ai-card-detail{display:block;color:var(--iris-card-sub);font-size:11px;line-height:1.35;overflow-wrap:anywhere;}
.af-ai-panel .af-ai-thread .af-ai-card .af-ai-card-price{display:inline-flex;margin-top:2px;padding:4px 11px;border-radius:999px;background:linear-gradient(110deg,#08638b,#3653a4 60%,#59349e);color:#f3ffff;-webkit-text-fill-color:#f3ffff;font-size:14px;font-weight:800;line-height:1.2;box-shadow:inset 0 1px 1px #a5f6ff77,0 2px 6px #38a5ff28;border:1px solid #85dfff66;font-variant-numeric:tabular-nums;}
.af-ai-panel a.af-ai-card.af-ai-order-card .af-ai-card-row{display:flex;align-items:center;justify-content:center;min-height:36px;margin-top:3px;}
.af-ai-panel a.af-ai-card.af-ai-order-card .af-ai-card-order-btn{flex:0 1 160px;width:160px;max-width:100%;min-width:0;height:32px;min-height:32px;padding:0 11px;gap:7px;border-radius:12px;font-size:12px;font-weight:780;line-height:1.1;background:linear-gradient(110deg,#0b74b6,#3654d0 50%,#7140c8);box-shadow:inset 0 1px 1px #bcf4ff80,inset 0 0 0 1px #b4b9ff80,0 3px 8px #3b69d64d;position:relative;overflow:hidden;}
.af-ai-panel .af-ai-card-order-btn::before{display:none;}
.af-ai-panel .af-ai-card-cart{display:grid;place-items:center;}
.af-ai-panel .af-ai-card-cart svg{width:14px;height:14px;}
.af-ai-panel .af-ai-card-arrow{font-size:12px;}
.af-ai-panel .af-ai-card-spark{position:absolute;right:7px;top:5px;font-size:9px;line-height:1;color:#bdefff;}
.af-ai-panel .af-ai-card .af-ai-order-grid,.af-ai-panel .af-ai-card .af-ai-order-grid dt,.af-ai-panel .af-ai-card .af-ai-order-grid dd{color:var(--iris-card-ink);line-height:1.5;}
.af-ai-panel a.af-ai-card.af-ai-order-card.af-ai-enter .af-ai-card-order-btn::after,.af-ai-panel a.af-ai-card.af-ai-order-card.af-ai-latest-card .af-ai-card-order-btn::after{content:'';position:absolute;inset:-15% auto -15% 0;width:32%;background:linear-gradient(90deg,transparent,#ffffff50,transparent);transform:translateX(-150%) skewX(-18deg);animation:afAiBtnSweep 1.6s ease-out 1;pointer-events:none;}
.af-ai-panel a.af-ai-card.af-ai-order-card.af-ai-latest-card .af-ai-card-order-btn::after{animation:afAiBtnSweep 5s ease-in-out infinite;}
@keyframes afAiBtnSweep{0%,45%{transform:translateX(-150%) skewX(-18deg)}85%,100%{transform:translateX(430%) skewX(-18deg)}}
@media(hover:none){.af-ai-panel .af-ai-thread a.af-ai-card.af-ai-order-card:hover{transform:none;box-shadow:inset 0 1px 1px #ffffff32,inset 0 0 0 1px var(--iris-card-edge),0 4px 11px #0b1a3d20}.af-ai-panel a.af-ai-card.af-ai-order-card:hover .af-ai-card-order-btn{filter:none}}
/* Keep local motion active during the site's scrolling throttle. */
html.af-mobile-perf.af-scrolling:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]),html.af-mobile-perf.af-scrolling:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) *,html.af-mobile-perf.af-scrolling:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) *::before,html.af-mobile-perf.af-scrolling:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) *::after{animation-play-state:running!important;}
@media(prefers-reduced-motion:reduce){.af-ai-panel .af-ai-chat-viewport::before{animation-duration:14s}.af-ai-panel .af-ai-chat-viewport::after{animation-duration:8s}.af-ai-panel .af-ai-meteor{animation:irisMeteorSoft 12s linear infinite}.af-ai-panel .af-ai-logo::after{animation-duration:6s}.af-ai-panel .af-ai-enter{animation:irisSoftEnter .2s ease-out both}}
@keyframes irisMeteorSoft{0%,86%{opacity:0;transform:translate3d(0,0,0) rotate(-37deg)}90%{opacity:.35}96%,100%{opacity:0;transform:translate3d(-48px,34px,0) rotate(-37deg)}}
@keyframes irisSoftEnter{from{opacity:.65}to{opacity:1}}
html.af-page-hidden body.af-ai-assistant-open .af-ai-panel:not([hidden]),html.af-page-hidden body.af-ai-assistant-open .af-ai-panel:not([hidden]) *,html.af-page-hidden body.af-ai-assistant-open .af-ai-panel:not([hidden]) *::before,html.af-page-hidden body.af-ai-assistant-open .af-ai-panel:not([hidden]) *::after{animation-play-state:paused!important;}

/* B7.2: composer compatibility and short viewport support. */
.af-ai-panel .af-ai-form textarea{overflow-y:auto;border-radius:18px;height:var(--iris-composer-height,44px)!important;}
@supports (field-sizing:content){.af-ai-panel .af-ai-form textarea{height:auto!important;}}
@media(max-width:680px){.af-ai-panel .af-ai-form textarea{font-size:16px;line-height:1.35;padding:9px 12px;} .af-ai-panel .af-ai-form textarea::placeholder{font-size:12px;}}
.af-ai-panel .af-ai-card-name,.af-ai-panel .af-ai-card-detail{word-break:normal;overflow-wrap:anywhere;}
.af-ai-panel .af-ai-card-price{max-width:100%;overflow-wrap:anywhere;}
.af-ai-panel .af-ai-form textarea:focus-visible{outline:2px solid #5ca8dc;outline-offset:1px;}
@media(max-height:440px){.af-ai-panel{min-height:0;}.af-ai-panel .af-ai-body{padding-block:8px;}.af-ai-panel .af-ai-form{padding-block:5px;}}

/* B7.3: isolate header controls from global button surface rules. */
html body.af-ai-assistant-open .af-ai-panel button.af-ai-livechat,
html body.af-ai-assistant-open .af-ai-panel button.af-ai-close{background:linear-gradient(145deg,#ffffff22,#39568b40)!important;border:1px solid #c0d8ff70!important;box-shadow:inset 0 1px 0 #ffffff28,0 2px 6px #08162f35!important;filter:none!important;}
html body.af-ai-assistant-open .af-ai-panel button.af-ai-livechat{border-radius:13px!important;}
html body.af-ai-assistant-open .af-ai-panel button.af-ai-close{border-radius:50%!important;}
html body.af-ai-assistant-open .af-ai-panel button.af-ai-livechat::before,
html body.af-ai-assistant-open .af-ai-panel button.af-ai-livechat::after,
html body.af-ai-assistant-open .af-ai-panel button.af-ai-close::before,
html body.af-ai-assistant-open .af-ai-panel button.af-ai-close::after{content:none!important;display:none!important;}
.af-ai-panel .af-ai-head-crown{top:1px;right:4px;width:14px;height:9px;}
/* The production app applies !important duration and count to ALL descendants.
   Restore only the low-displacement IRIS effects; keep the OS setting elsewhere. */
html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-chat-viewport::before{animation:afAiAuroraFloat 12s ease-in-out infinite alternate!important;}
html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-chat-viewport::after{animation:afAiStarTwinkle 6s ease-in-out infinite!important;}
html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-meteor{animation:irisMeteor 13s linear infinite!important;}
html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-logo{animation:irisHalo 3.8s ease-in-out infinite!important;}
html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) :is(.af-ai-title-spark,.af-ai-head-crown){animation:irisTwinkle 3.8s ease-in-out infinite!important;}
html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-typing-dots span{animation:afAiTypingBounce 1.6s ease-in-out infinite!important;}
html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-typing-dots span:nth-child(2){animation-delay:.35s!important;}
html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-typing-dots span:nth-child(3){animation-delay:.7s!important;}
html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-latest-card .af-ai-card-order-btn::after{animation:afAiBtnSweep 5s ease-in-out infinite!important;}
@media(prefers-reduced-motion:reduce){
 html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-chat-viewport::before{animation:afAiAuroraFloat 18s ease-in-out infinite alternate!important;}
 html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-chat-viewport::after{animation:afAiStarTwinkle 9s ease-in-out infinite!important;}
 html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-meteor{animation:irisMeteorSoft 18s linear infinite!important;}
}

html:not(.af-page-hidden) body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-logo::after{animation:afAiEmblemSpin 6s linear infinite!important;}

/* B7.6 — IRIS signature glass. Same card dimensions and reply markup. */
.af-ai-panel{--iris-bg:#f4f9ff;--iris-glass:linear-gradient(150deg,#ffffff,#ecf5fc);--iris-line:#bfcee2;--iris-mine:linear-gradient(145deg,#d9efff,#e3e8ff);--iris-card-bg:linear-gradient(155deg,#ffffff,#eaf4ff);--iris-card-edge:#a8c2e2;--iris-aurora:radial-gradient(ellipse at 0% 19%,#62d9f34d,transparent 48%),radial-gradient(ellipse at 100% 64%,#aca1ff55,transparent 52%),radial-gradient(ellipse at 45% 100%,#9cdef848,transparent 48%);}
html[data-af-ux="nova"][data-af-mode="light"] .af-ai-panel{--iris-bg:#fafcff;--iris-aurora:radial-gradient(ellipse at 6% 15%,#8ce8f038,transparent 52%),radial-gradient(ellipse at 96% 82%,#b9b8ff45,transparent 53%);}
html:is([data-af-mode="dark"],:not([data-af-mode])[data-af-ux="nova"]) .af-ai-panel{--iris-bg:#091327;--iris-line:#405978;--iris-glass:linear-gradient(145deg,#20334d,#18263d 65%,#222642);--iris-mine:linear-gradient(145deg,#145a79,#304b86 60%,#413b85);--iris-card-bg:linear-gradient(155deg,#203b57,#1a2945 55%,#252746);--iris-card-edge:#4f719c;--iris-aurora:radial-gradient(ellipse at 8% 15%,#148cb865,transparent 49%),radial-gradient(ellipse at 92% 58%,#7350cf65,transparent 54%),radial-gradient(ellipse at 40% 97%,#165eaa50,transparent 48%);}
html[data-af-ux="nova"][data-af-mode="dark"] .af-ai-panel{--iris-bg:#10172a;--iris-aurora:radial-gradient(ellipse at 7% 13%,#1b8cb94e,transparent 50%),radial-gradient(ellipse at 92% 76%,#6654bf60,transparent 57%);}
html body.af-ai-assistant-open .af-ai-panel:not([hidden]){background:var(--iris-bg);border:1px solid var(--iris-line);box-shadow:0 22px 60px #020b2640,inset 0 1px 1px #bde5ff35;}
html body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-head{grid-template-columns:37px minmax(0,1fr) auto 44px;gap:1px 6px;padding:3px 7px 5px;margin-inline:9px;border-radius:17px;border:1px solid #a2ddff82;background:radial-gradient(ellipse at 0% 90%,#168eae77,transparent 60%),radial-gradient(ellipse at 100% 0%,#8265c355,transparent 50%),linear-gradient(118deg,#102c46,#203d70 58%,#3b326f);box-shadow:inset 0 1px 1px #d6f6ff66,0 5px 15px #0b214a35;}
.af-ai-panel .af-ai-logo{width:37px;height:37px;border-radius:13px;border:1px solid #a1e5ffb5;}
.af-ai-panel .af-ai-logo img{border-radius:11px;object-fit:cover;}
.af-ai-panel .af-ai-title-row strong{font-size:17px;letter-spacing:-.025em;font-weight:780;}
.af-ai-panel .af-ai-title-badge{border-radius:7px;background:#7bd7f322;border-color:#a4e6ff65;font-size:9.5px;padding:2px 6px;}
.af-ai-panel .af-ai-tagline{font-size:10.5px;color:#dbe9ff;letter-spacing:.005em;}
html body.af-ai-assistant-open .af-ai-panel button.af-ai-livechat{background:linear-gradient(145deg,#5ad4ee29,#a6b5ff20)!important;border-radius:13px!important;border-color:#b9e8ff77!important;}
html body.af-ai-assistant-open .af-ai-panel button.af-ai-close{border-radius:14px!important;}
.af-ai-panel .af-ai-head-crown{right:4px;top:1px;width:14px;height:9px;}
.af-ai-panel .af-ai-chat-viewport::after{background-image:radial-gradient(circle,var(--iris-star) 0 1px,transparent 1.6px),radial-gradient(circle,var(--iris-star2) 0 .8px,transparent 1.4px),radial-gradient(circle,var(--iris-star) 0 .7px,transparent 1.3px);background-size:97px 119px,139px 167px,211px 193px;background-position:11px 21px,39px 67px,17px 85px;}
.af-ai-panel .af-ai-body{padding-inline:14px;}
.af-ai-panel .af-ai-thread{gap:11px;}
html body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-bubble:not(.mine):not(.af-ai-error-bubble),html body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-intro{border:1px solid var(--iris-line);border-left:3px solid #769fdf;border-radius:17px 17px 17px 6px;box-shadow:0 5px 12px #061b3518,inset 0 1px 0 #c9e7ff24;padding:10px 12px;}
html body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-bubble.mine{border-radius:17px 17px 6px 17px;box-shadow:0 5px 12px #061b3518,inset 0 1px 0 #c9e7ff24;}
.af-ai-panel .af-ai-intro{border-radius:20px!important;}
.af-ai-panel .af-ai-topic{border-radius:13px;min-height:44px;}
.af-ai-panel .af-ai-thread .af-ai-card.af-ai-order-card{border-radius:16px;box-shadow:inset 0 1px 1px #e0f6ff40,inset 0 0 0 1px var(--iris-card-edge),0 5px 14px #081d4026;}
.af-ai-panel .af-ai-thread .af-ai-card .af-ai-card-price{border-radius:9px;background:linear-gradient(115deg,#087496,#3456a6 65%,#5742a1);}
.af-ai-panel a.af-ai-card.af-ai-order-card .af-ai-card-order-btn{background:linear-gradient(112deg,#0b77a8,#3856bd 58%,#6844bb);}
html body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-form{background:var(--iris-glass);border-top:1px solid var(--iris-line);box-shadow:inset 0 1px 0 #ffffff22;}
html body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-form textarea{background:var(--iris-bg);color:var(--iris-ink);border:1px solid var(--iris-line);border-radius:15px;box-shadow:inset 0 2px 5px #0b1d3519;}
html body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-form textarea::placeholder{color:var(--iris-meta);}
html body.af-ai-assistant-open .af-ai-panel button.af-ai-send{border-radius:15px!important;background:linear-gradient(135deg,#168da7,#3268bb 70%,#6550b4)!important;color:#fff!important;border:1px solid #a4dfff80!important;box-shadow:inset 0 1px 0 #e2f8ff88,0 4px 10px #20599a42!important;}
html body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-chip{background:var(--iris-glass);color:var(--iris-ink);border:1px solid var(--iris-line);border-radius:11px;box-shadow:0 2px 6px #081b3215,inset 0 1px 0 #ffffff22;}
@media(max-width:340px){html body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-head{grid-template-columns:32px minmax(0,1fr) auto 44px;gap:1px 4px;padding-inline:5px;}.af-ai-panel .af-ai-logo{width:32px;height:32px;}.af-ai-panel .af-ai-title-row strong{font-size:16px;}.af-ai-panel .af-ai-tagline{font-size:10px;}.af-ai-panel .af-ai-body{padding-inline:10px;}}

/* B7.7 — clear icon surfaces; keep logo artwork and card dimensions. */
html body.af-ai-assistant-open .af-ai-panel:not([hidden]),html body.af-ai-assistant-open .af-ai-panel:not([hidden]) :is(.af-ai-head,.af-ai-bubble,.af-ai-intro,.af-ai-card,.af-ai-card-icon,.af-ai-chip,.af-ai-topic,.af-ai-form,.af-ai-form textarea,.af-ai-logo){backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;}
html body.af-ai-assistant-open .af-ai-panel:not([hidden]) :is(.af-chat-vector,.af-ai-gem,.af-ai-logo img,.af-ai-service-icon,.af-ai-head-crown){filter:none!important;opacity:1;image-rendering:auto;}
.af-ai-panel :is(.af-ai-head-text,.af-ai-head-text strong,.af-ai-tagline,.af-ai-title-badge,.af-ai-bubble,.af-ai-intro,.af-ai-card,.af-ai-card-price,.af-ai-chip,.af-ai-topic,.af-ai-form textarea,.af-ai-meta){text-shadow:none!important;}
.af-ai-panel .af-ai-logo img{object-fit:contain;}
html body.af-ai-assistant-open .af-ai-panel:not([hidden]) .af-ai-logo::after{content:none!important;display:none!important;animation:none!important;}
.af-ai-panel .af-chat-vector{display:block;flex:none;max-width:100%;max-height:100%;shape-rendering:geometricPrecision;}
.af-ai-panel .af-ai-service-icon{width:36px;height:36px;display:grid;place-items:center;color:#e7f6ff;}
.af-ai-panel .af-ai-service-icon svg{width:29px;height:29px;}
.af-ai-panel .af-ai-vector--like{color:#ff7b93;}.af-ai-panel .af-ai-vector--membership,.af-ai-panel .af-ai-vector--levelup{color:#ffd575;}.af-ai-panel .af-ai-vector--guild{color:#9ceada;}
.af-ai-panel :is(.af-ai-card-icon--tiktok,.af-ai-card-icon--youtube,.af-ai-card-icon--instagram,.af-ai-card-icon--facebook,.af-ai-card-icon--telegram,.af-ai-card-icon--whatsapp){background:#101b2c;}
.af-ai-panel .af-ai-vector--tiktok{color:#fff;}.af-ai-panel .af-ai-vector--instagram{color:#f6a6ce;}.af-ai-panel .af-ai-vector--facebook{color:#78b8ff;}.af-ai-panel .af-ai-vector--youtube{color:#ff6a72;}.af-ai-panel .af-ai-vector--telegram{color:#7edbff;}.af-ai-panel .af-ai-vector--whatsapp{color:#68e29a;}
.af-ai-panel .af-ai-card-icon{border-color:#79b8ddaa;box-shadow:inset 0 1px 0 #c4edff50,0 2px 5px #10264b25;}
.af-ai-panel .af-ai-chip-icon{display:inline-grid;place-items:center;flex:none;width:17px;height:17px;color:var(--iris-money);}
.af-ai-panel .af-ai-chip-icon svg{width:14px;height:14px;}
.af-ai-panel .af-ai-topic .af-ai-chip-icon{width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,#136e9b,#5049b6);color:white;}
.af-ai-panel .af-ai-topic .af-ai-chip-icon svg{width:18px;height:18px;}
.af-ai-panel .af-ai-chip{gap:6px;}.af-ai-panel .af-ai-topic{gap:9px;}
.af-ai-panel .af-ai-title-spark svg,.af-ai-panel .af-ai-card-spark svg{width:9px;height:9px;}
.af-ai-panel .af-ai-card-arrow svg{width:12px;height:12px;}
.af-ai-panel .af-ai-chips-more svg{width:10px;height:10px;}
.af-ai-panel .af-ai-chips-wrap.af-ai-chips-scrollable .af-ai-chips{mask-image:none;-webkit-mask-image:none;padding-right:30px;}
.af-ai-panel .af-ai-livechat>svg{width:14px;height:14px;}.af-ai-panel .af-ai-close>svg{width:17px;height:17px;}.af-ai-panel .af-ai-send>svg{width:20px;height:20px;}
.af-ai-panel .af-ai-head-crown svg{width:100%;height:100%;}
html body .help-widget .help-option .help-option-icon :is(svg,img){filter:none!important;opacity:1;image-rendering:auto;}
html body .help-widget .help-option.help-ai-assistant .help-option-icon img{object-fit:contain!important;}
html body .help-widget .help-option .help-option-label{text-shadow:none!important;}
