.support-chat{position:fixed;z-index:100;right:22px;bottom:20px;font-family:Manrope,sans-serif;color:var(--ink)}
.chat-launch{position:relative;width:68px;height:68px;display:grid;place-items:center;padding:0;border:1px solid #e6c370;border-radius:50%;background:radial-gradient(circle at 34% 25%,#1d3d60,#0b1d33 72%);box-shadow:0 10px 34px #0005,0 0 0 5px color-mix(in srgb,var(--gold) 12%,transparent);cursor:pointer;transition:transform .22s,box-shadow .22s}.chat-launch:hover,.chat-launch[aria-expanded=true]{transform:translateY(-3px) scale(1.035);box-shadow:0 14px 38px #0006,0 0 0 7px color-mix(in srgb,var(--gold) 17%,transparent)}
.robot-avatar{z-index:1;width:49px;height:49px;overflow:visible;filter:drop-shadow(0 3px 5px #0005);animation:robot-hover 3.2s ease-in-out infinite}.robot-head{fill:#dfbd72;stroke:#f7dfa1;stroke-width:1.3}.robot-screen{fill:#112741;stroke:#fff0c6;stroke-width:1}.robot-eye{fill:#f8f2df;transform-box:fill-box;transform-origin:center;animation:robot-blink 4.5s ease-in-out infinite}.robot-eye:nth-of-type(2){animation-delay:.08s}.robot-smile,.robot-ear,.robot-antenna{fill:none;stroke:#f9edcf;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.robot-antenna{stroke:#dfbd72}.robot-sensor{fill:#5de0b2;stroke:#b8ffe8;stroke-width:1;filter:drop-shadow(0 0 4px #5de0b2)}.robot-chin{fill:none;stroke:#17304b;stroke-width:1.5;stroke-linecap:round}.robot-halo{position:absolute;inset:5px;border:1px solid #e6c37044;border-radius:50%;animation:robot-ring 3.8s ease-out infinite}.robot-status{position:absolute;right:4px;bottom:7px;width:11px;height:11px;border:2px solid #0b1d33;border-radius:50%;background:#4cd4a2;box-shadow:0 0 12px #4cd4a277}.robot-tooltip{position:absolute;right:79px;top:50%;transform:translate(5px,-50%);padding:9px 12px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font:600 10px Manrope;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;box-shadow:var(--shadow)}.chat-launch:hover .robot-tooltip,.chat-launch:focus-visible .robot-tooltip{opacity:1;transform:translate(0,-50%)}
.chat-panel{position:absolute;right:0;bottom:84px;width:min(390px,calc(100vw - 32px));height:min(590px,calc(100dvh - 125px));display:flex;flex-direction:column;overflow:hidden;border:1px solid color-mix(in srgb,var(--gold) 28%,var(--line));border-radius:22px;background:var(--panel);box-shadow:0 22px 75px #0006;animation:chat-in .24s cubic-bezier(.2,.8,.2,1) both}.chat-panel[hidden]{display:none}.chat-header{position:relative;display:flex;align-items:center;gap:12px;padding:18px 18px 17px;background:radial-gradient(ellipse at 80% 0%,#29425c,#10243c 62%);color:#fff}.chat-header:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#d9b96b88,transparent)}.chat-brand-avatar{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border:1px solid #dfbd7280;border-radius:15px;background:#ffffff0a}.chat-brand-avatar svg{width:36px;height:36px;overflow:visible}.chat-brand-avatar rect:first-child{fill:#dfbd72;stroke:#f7dfa1;stroke-width:1.2}.chat-brand-avatar rect:nth-child(2){fill:#112741;stroke:#fff0c6;stroke-width:1}.chat-brand-avatar ellipse{fill:#fff6df}.chat-brand-avatar path{fill:none;stroke:#fff6df;stroke-width:1.6;stroke-linecap:round}.chat-heading{flex:1}.chat-heading b,.chat-heading small{display:block}.chat-heading b{font-size:12px;letter-spacing:-.02em}.chat-heading small{margin-top:5px;color:#cad4df;font:10px 'DM Sans',sans-serif}.chat-heading small i{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#56d4a5;box-shadow:0 0 7px #56d4a5}.chat-close{width:31px;height:31px;display:grid;place-items:center;border:1px solid #ffffff38;border-radius:10px;background:#ffffff08;color:#fff;font-size:21px;cursor:pointer;transition:background .18s}.chat-close:hover{background:#ffffff20}
.chat-messages{flex:1;min-height:0;overflow:auto;padding:17px 15px;display:flex;flex-direction:column;gap:10px;scrollbar-color:color-mix(in srgb,var(--gold) 45%,transparent) transparent;scrollbar-width:thin}.chat-welcome{position:relative;padding:16px 15px 14px;border:1px solid var(--line);border-radius:15px 15px 15px 5px;background:color-mix(in srgb,var(--bg2) 84%,transparent);animation:chat-in .35s ease both}.chat-welcome b{font-size:13px}.chat-welcome p{margin:8px 0 0;color:var(--muted);font:11px/1.6 'DM Sans',sans-serif}.welcome-spark{position:absolute;right:13px;top:13px;color:var(--gold);animation:chat-spark 2s ease-in-out infinite}.chat-suggestions{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 4px}.chat-suggestions button{padding:7px 9px;border:1px solid color-mix(in srgb,var(--gold) 35%,var(--line));border-radius:999px;background:transparent;color:var(--gold);font:9px/1.35 'DM Sans',sans-serif;cursor:pointer;transition:background .18s,color .18s}.chat-suggestions button:hover{background:var(--gold);color:#10243c}
.chat-message{max-width:88%;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--bg2);font:11px/1.6 'DM Sans',sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;animation:chat-message-in .2s ease both}.chat-message.user{align-self:flex-end;border-color:#d7af61;border-bottom-right-radius:5px;background:#d7af61;color:#10243c}.chat-message.assistant{align-self:flex-start;border-bottom-left-radius:5px}.chat-message.pending{opacity:.7}.chat-message.chat-error{color:#c6524d}.chat-message-photo{display:block;width:min(230px,100%);max-height:190px;object-fit:cover;margin:0 0 7px;border-radius:9px}.chat-composer{padding:0 12px 11px;border-top:1px solid var(--line);background:var(--panel)}.chat-image-preview{position:relative;display:flex;align-items:center;gap:9px;margin:10px 2px 0;padding:7px;border:1px solid var(--line);border-radius:11px;background:var(--bg2)}.chat-image-preview[hidden]{display:none}.chat-image-preview img{width:46px;height:46px;object-fit:cover;border-radius:7px;background:#ddd}.image-name{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font:10px 'DM Sans',sans-serif}.remove-image{margin-left:auto;width:25px;height:25px;border:0;border-radius:50%;background:#e6e0d4;color:#26384a;font-size:18px;cursor:pointer}.chat-form{display:flex;align-items:center;gap:7px;margin-top:10px;padding:5px;border:1px solid var(--line);border-radius:15px;background:var(--bg2);transition:border-color .2s,box-shadow .2s}.chat-form:focus-within{border-color:color-mix(in srgb,var(--gold) 75%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 11%,transparent)}.chat-form input:not([type=file]){flex:1;min-width:0;padding:11px 5px;border:0;background:transparent;color:var(--ink);outline:none;font:11px 'DM Sans',sans-serif}.chat-form input::placeholder{color:var(--muted)}.chat-attach,.chat-send{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:0;border-radius:11px;cursor:pointer;transition:transform .16s,background .16s}.chat-attach{background:transparent;color:var(--muted)}.chat-attach:hover{background:color-mix(in srgb,var(--gold) 16%,transparent);color:var(--gold)}.chat-attach svg,.chat-send svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.chat-send{background:#d7af61;color:#10243c}.chat-send:hover{transform:translateX(1px);background:#efce7f}.chat-send:disabled,.chat-attach:disabled{opacity:.5;cursor:wait}.chat-privacy{display:block;padding:8px 3px 0;color:var(--muted);font:8px/1.4 'DM Sans',sans-serif;text-align:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes robot-hover{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-3px) rotate(2deg)}}@keyframes robot-blink{0%,42%,47%,100%{transform:scaleY(1)}44%,46%{transform:scaleY(.12)}}@keyframes robot-ring{0%{transform:scale(.88);opacity:.75}80%,100%{transform:scale(1.25);opacity:0}}@keyframes chat-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes chat-message-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes chat-spark{50%{transform:rotate(18deg) scale(1.18)}}
@media(max-width:650px){.support-chat{right:13px;bottom:13px}.chat-launch{width:61px;height:61px}.robot-avatar{width:45px;height:45px}.robot-tooltip{right:70px}.chat-panel{position:fixed;right:10px;bottom:82px;width:calc(100vw - 20px);height:min(72dvh,620px);border-radius:20px}.chat-header{padding:15px}.chat-messages{padding:14px 12px}.chat-composer{padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.chat-panel,.chat-message,.robot-avatar,.robot-halo,.welcome-spark{animation:none!important}.chat-launch,.chat-form,.chat-suggestions button{transition:none}}

/* Slightly more compact support assistant */
.chat-launch{width:60px;height:60px}.robot-avatar{width:44px;height:44px}.robot-tooltip{right:70px}.chat-panel{width:min(340px,calc(100vw - 32px));height:min(510px,calc(100dvh - 112px));bottom:75px;border-radius:19px}.chat-header{padding:14px 15px 13px}.chat-brand-avatar{width:39px;height:39px;flex-basis:39px}.chat-brand-avatar svg{width:33px;height:33px}.chat-messages{padding:14px 13px}.chat-welcome{padding:13px}.chat-composer{padding-inline:10px 11px}.chat-privacy{font-size:7px}
@media(max-width:650px){.chat-launch{width:54px;height:54px}.robot-avatar{width:40px;height:40px}.robot-tooltip{right:64px}.chat-panel{right:10px;bottom:70px;width:calc(100vw - 28px);height:min(64dvh,530px);border-radius:18px}.chat-header{padding:13px}.chat-messages{padding:12px 11px}.chat-welcome{padding:12px}.chat-composer{padding-inline:9px}}

/* Pin the support robot at the lower-left corner. */
.support-chat{left:22px;right:auto}
.robot-tooltip{left:79px;right:auto}
.chat-panel{left:0;right:auto}
@media(max-width:650px){.support-chat{left:13px;right:auto}.robot-tooltip{left:64px;right:auto}.chat-panel{left:10px;right:auto}}

/* A compact, translucent assistant button keeps page text visible beneath it. */
.chat-launch{width:46px;height:46px;background:color-mix(in srgb,var(--bg) 18%,transparent);border:1px solid color-mix(in srgb,var(--gold) 44%,transparent);box-shadow:0 4px 12px #0002}
.chat-launch:hover,.chat-launch[aria-expanded=true]{background:color-mix(in srgb,var(--bg) 32%,transparent);box-shadow:0 6px 16px #0003,0 0 0 3px color-mix(in srgb,var(--gold) 12%,transparent)}
.robot-avatar{width:34px;height:34px}
.robot-halo{inset:1px;opacity:.62}
.robot-status{width:8px;height:8px;right:2px;bottom:4px}
.robot-tooltip{left:57px}
@media(max-width:650px){.chat-launch{width:42px;height:42px}.robot-avatar{width:31px;height:31px}.robot-tooltip{left:53px}}

/* Keep the assistant icon visible without masking nearby copy. */
.chat-launch{width:40px;height:40px;background:transparent;border-color:transparent;box-shadow:none}
.chat-launch:hover,.chat-launch[aria-expanded=true]{background:transparent;box-shadow:0 0 0 2px color-mix(in srgb,var(--gold) 13%,transparent)}
.robot-avatar{width:28px;height:28px}
.robot-halo{display:none}
.robot-status{width:7px;height:7px;right:0;bottom:2px}
.robot-tooltip{left:49px}
@media(max-width:650px){.chat-launch{width:36px;height:36px}.robot-avatar{width:24px;height:24px}.robot-tooltip{left:44px}}
