.umay-chat{position:fixed;z-index:95;right:clamp(14px,2.2vw,28px);bottom:calc(18px + env(safe-area-inset-bottom,0px));font-family:inherit;color:#e9f4ff;--chat-line:#23445c;--chat-cyan:#4bd8e8;--chat-muted:#91aabd}
.umay-chat-launcher{display:flex;align-items:center;gap:10px;min-height:58px;padding:7px 16px 7px 8px;border:1px solid #4bd8e88a;border-radius:999px;background:linear-gradient(135deg,#12334d 0%,#071a2d 76%);box-shadow:0 12px 38px #020a14b8,0 0 26px #16b9d52a;color:#f0fbff;font-family:inherit;text-align:left;cursor:pointer;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.umay-chat-launcher:hover{transform:translateY(-2px);border-color:var(--chat-cyan);box-shadow:0 15px 42px #020a14c7,0 0 30px #16b9d54a}
.umay-chat-launcher:focus-visible,.umay-chat button:focus-visible,.umay-chat a:focus-visible,.umay-chat textarea:focus-visible{outline:2px solid #75e7f2;outline-offset:3px}
.umay-chat-launcher-orb,.umay-chat-avatar,.umay-chat-message-avatar{display:grid;flex:none;place-items:center;overflow:hidden;border:1px solid #54d9ed;border-radius:50%;background:radial-gradient(circle at 35% 30%,#43d3e5,#122e57 68%);color:#fff;font-weight:800}
.umay-chat-launcher-orb{width:40px;height:40px;animation:umay-assistant-float 3.6s ease-in-out infinite;transform-origin:center bottom}.umay-chat-launcher-orb img,.umay-chat-avatar img,.umay-chat-message-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 27%;filter:drop-shadow(0 2px 5px #06152680)}
.umay-chat-launcher-copy{display:grid;gap:2px}.umay-chat-launcher-copy strong{font-size:.84rem;line-height:1.2}.umay-chat-launcher-copy small{color:#a4bed0;font-size:.66rem}.umay-chat-live,.umay-chat-status-dot{width:8px;height:8px;border-radius:50%;background:#48d6ad;box-shadow:0 0 12px #48d6ad}
.umay-chat-live{margin-left:3px}
.umay-chat-panel{position:absolute;right:0;bottom:72px;display:flex;flex-direction:column;width:min(410px,calc(100vw - 28px));height:min(610px,calc(100dvh - 112px));overflow:hidden;border:1px solid #2c526c;border-radius:22px;background:radial-gradient(ellipse at 12% 0%,#153650 0,transparent 42%),linear-gradient(160deg,#0d263c,#071729 78%);box-shadow:0 24px 76px #020812d9,0 0 0 1px #47cee522;animation:umay-chat-in .22s ease-out}
.umay-chat-panel[hidden]{display:none}
.umay-chat-header{display:flex;flex:none;align-items:center;justify-content:space-between;padding:14px 15px;border-bottom:1px solid #29435a;background:#102b43ed;backdrop-filter:blur(14px)}
.umay-chat-brand{display:flex;align-items:center;gap:10px}.umay-chat-avatar{width:42px;height:42px}.umay-chat-brand strong,.umay-chat-brand small{display:block}.umay-chat-brand strong{font-size:.92rem;letter-spacing:.01em}.umay-chat-brand small{display:flex;align-items:center;gap:7px;margin-top:4px;color:#9bb2c6;font-size:.67rem}.umay-chat-status-dot{width:6px;height:6px}
.umay-chat-header-actions{display:flex;align-items:center;gap:6px}.umay-chat-reset,.umay-chat-close{min-height:34px;border:1px solid transparent;border-radius:10px;background:transparent;color:#b4c8d8;font:inherit;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease}.umay-chat-reset{padding:0 9px;font-size:.67rem}.umay-chat-close{width:34px;font-size:1.4rem;line-height:1}.umay-chat-reset:hover,.umay-chat-close:hover{border-color:#395a70;background:#ffffff0c;color:#fff}
.umay-chat-messages{display:flex;flex:1;flex-direction:column;gap:13px;min-height:0;overflow-y:auto;padding:17px 14px 14px;overscroll-behavior:contain;scrollbar-color:#42647d transparent;scrollbar-width:thin}
.umay-chat-message{display:flex;align-items:flex-start;gap:8px;max-width:96%;animation:umay-message-in .18s ease-out}.umay-chat-message.is-user{align-self:flex-end;flex-direction:row-reverse}.umay-chat-message-avatar{flex:0 0 29px;width:29px;height:29px;margin-top:2px}.umay-chat-message-content{min-width:0}.umay-chat-message p{margin:0;padding:10px 12px;border:1px solid #29465e;border-radius:5px 15px 15px 15px;background:linear-gradient(145deg,#132e45,#10283d);color:#e5f0fb;font-size:.8rem;line-height:1.58;overflow-wrap:anywhere;white-space:pre-wrap}.umay-chat-message p+p{margin-top:6px}.umay-chat-message.is-user p{border-color:#216e83;border-radius:15px 5px 15px 15px;background:linear-gradient(145deg,#12445a,#10384f)}.umay-chat-message.is-error p{border-color:#874954;color:#ffd4d8}.umay-chat-message.is-pending p{color:#a9c5d3}.umay-chat-message strong{color:#fbfdff;font-weight:750}.umay-chat-message em{color:#d5edf5}.umay-chat-message code{padding:1px 5px;border:1px solid #38546b;border-radius:5px;background:#071a2c;color:#a8eefa;font:inherit;font-size:.94em}.umay-chat-message ul,.umay-chat-message ol{margin:1px 0 0;padding-left:19px;color:#deebf6;font-size:.78rem;line-height:1.55}.umay-chat-message li+li{margin-top:4px}
.umay-chat-actions{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0 2px}.umay-chat-action{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 11px;border:1px solid #317087;border-radius:10px;background:linear-gradient(135deg,#123d53,#102d44);color:#c9f7fc;text-decoration:none;font-size:.69rem;font-weight:700;transition:transform .16s ease,border-color .16s ease,background .16s ease}.umay-chat-action::after{content:'↗';color:#59d8e9;font-size:.75rem}.umay-chat-action:hover{transform:translateY(-1px);border-color:#58dbea;background:#16445b}
.umay-chat-suggestions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:4px 0 1px 37px}.umay-chat-suggestions[hidden]{display:none}.umay-chat-suggestions-title{flex-basis:100%;color:#829eb3;font-size:.64rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.umay-chat-suggestions button,.umay-chat-suggestions a{display:inline-flex;align-items:center;gap:5px;min-height:31px;padding:0 10px;border:1px solid #2a4c63;border-radius:999px;background:#0a2032;color:#b8d6e4;font:inherit;font-size:.67rem;text-decoration:none;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.umay-chat-suggestions button:hover,.umay-chat-suggestions a:hover{border-color:#45bed1;background:#10364a;color:#effcff}.umay-chat-suggestions a span{color:#55d6e7}
.umay-chat-form{display:flex;flex:none;align-items:flex-end;gap:8px;margin:0 12px;padding:9px;border:1px solid #294861;border-radius:15px;background:#081b2c;transition:border-color .15s ease,box-shadow .15s ease}.umay-chat-form:focus-within{border-color:#38bfd4;box-shadow:0 0 0 3px #38bfd41b}.umay-chat-form textarea{flex:1;min-width:0;max-height:126px;min-height:28px;resize:none;border:0;outline:0;background:transparent;color:#f3f8fc;font:inherit;font-size:.78rem;line-height:1.5}.umay-chat-form textarea::placeholder{color:#829aae}.umay-chat-form button{display:grid;flex:0 0 38px;place-items:center;width:38px;height:38px;border:0;border-radius:12px;background:linear-gradient(135deg,#27c6d7,#2c91c3);color:#031725;cursor:pointer;transition:filter .15s ease,transform .15s ease}.umay-chat-form button:hover:not(:disabled){filter:brightness(1.12);transform:translateY(-1px)}.umay-chat-form button:disabled{opacity:.5;cursor:wait}.umay-chat-form button svg{width:19px;height:19px}
.umay-chat-composer-meta{display:flex;justify-content:space-between;gap:8px;margin:6px 17px 0;color:#7791a7;font-size:.61rem}.umay-chat-note{flex:none;margin:7px 15px 11px;color:#7791a7;font-size:.61rem;line-height:1.4}.umay-chat-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 umay-chat-in{from{opacity:0;transform:translateY(9px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes umay-message-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.umay-chat{right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px))}.umay-chat-launcher{min-height:52px;padding-right:14px}.umay-chat-launcher-orb{width:36px;height:36px}.umay-chat-launcher-copy small{font-size:.62rem}.umay-chat-panel{right:0;bottom:62px;width:min(410px,calc(100vw - 24px));height:min(620px,calc(100dvh - 88px));border-radius:18px}.umay-chat-header{padding:12px}.umay-chat-messages{padding:14px 11px}.umay-chat-suggestions{padding-left:36px}.umay-chat-form{margin:0 10px}.umay-chat-note{margin-right:12px;margin-left:12px}}
@keyframes umay-assistant-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(prefers-reduced-motion:reduce){.umay-chat-launcher,.umay-chat-launcher-orb,.umay-chat-panel,.umay-chat-message{animation:none;transition:none}}
.umay-chat-provider{display:inline-flex;align-items:center;margin-left:2px;padding:2px 5px;border:1px solid #76394c;border-radius:999px;background:#381c2c;color:#e7a8b7;font-size:.48rem;font-weight:800;letter-spacing:.08em;line-height:1}
.umay-chat-code{width:100%;min-width:0;margin:5px 0 1px;overflow:hidden;border:1px solid #2b4d66;border-radius:12px;background:#061321;box-shadow:inset 0 1px #ffffff08}.umay-chat-code-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;border-bottom:1px solid #203b51;background:linear-gradient(90deg,#102a40,#0b2033);color:#9bb8cc;font-size:.62rem}.umay-chat-code-head span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.umay-chat-code-head button{flex:none;padding:4px 8px;border:1px solid #2e536c;border-radius:7px;background:#102b42;color:#c5e5f1;font:inherit;font-size:.6rem;cursor:pointer}.umay-chat-code-head button:hover{border-color:#42c9db;color:#fff}.umay-chat-code pre{max-width:100%;max-height:280px;margin:0;overflow:auto;padding:12px;color:#d9e8f4;font:500 .72rem/1.62 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2;scrollbar-color:#35556d transparent;scrollbar-width:thin}.umay-chat-code pre code{padding:0;border:0;border-radius:0;background:none;color:inherit;font:inherit;white-space:pre}.umay-code-keyword{color:#c792ea}.umay-code-string{color:#c3e88d}.umay-code-comment{color:#718b9d;font-style:italic}.umay-code-number{color:#f78c6c}.umay-code-function{color:#82aaff}.umay-code-tag{color:#f07178}.umay-code-attribute{color:#ffcb6b}
.umay-chat-form .umay-chat-attach{flex-basis:34px;width:34px;height:34px;border:1px solid #274a62;background:#0c2539;color:#92bfd0}.umay-chat-form .umay-chat-attach:hover{border-color:#43c9dc;color:#eaffff}.umay-chat-form .umay-chat-attach svg{width:17px;height:17px}.umay-chat-attachment{display:flex;align-items:center;gap:8px;max-width:calc(100% - 24px);margin:7px 12px 0;padding:6px 8px;border:1px solid #2a4e66;border-radius:10px;background:#0a2032;color:#bcd3e1;font-size:.65rem}.umay-chat-attachment[hidden]{display:none}.umay-chat-attachment-preview{display:grid;flex:none;width:30px;height:30px;place-items:center;overflow:hidden;border-radius:7px;background:#17354b;color:#66d8e6;font-weight:800}.umay-chat-attachment-preview img{width:100%;height:100%;object-fit:cover}.umay-chat-attachment-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.umay-chat-attachment button{flex:none;width:25px;height:25px;border:0;border-radius:7px;background:#ffffff0a;color:#a7c1d1;font-size:1.15rem;cursor:pointer}

.umay-chat-table-scroll{max-width:100%;margin:7px 0;overflow-x:auto;border:1px solid #29465e;border-radius:10px;scrollbar-color:#35556d transparent;scrollbar-width:thin}.umay-chat-table-scroll table{width:100%;border-collapse:collapse;color:#dbeaf5;font-size:.68rem;line-height:1.45}.umay-chat-table-scroll th,.umay-chat-table-scroll td{padding:7px 9px;border-bottom:1px solid #203b51;text-align:left;vertical-align:top}.umay-chat-table-scroll th{background:#102b42;color:#bcebf2;font-weight:750;white-space:nowrap}.umay-chat-table-scroll tr:last-child td{border-bottom:0}.umay-chat-table-scroll code{white-space:nowrap}

/* Refined mascot launcher, message bubbles, and expanding composer. */
.umay-chat-launcher{position:relative;display:grid;place-items:center;width:76px;height:76px;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;isolation:isolate}
.umay-chat-launcher::before{position:absolute;z-index:-1;inset:8px;border-radius:50%;background:radial-gradient(circle,#50e8ff75 0,#31cfee38 34%,#448cff16 55%,transparent 74%);filter:blur(7px);content:"";animation:umay-launcher-glow 3s ease-in-out infinite}
.umay-chat-launcher::after{position:absolute;z-index:-1;inset:-4px;border-radius:50%;background:conic-gradient(from 25deg,transparent 0 22%,#67eaffb8 25%,transparent 29% 57%,#a0f5ff9c 60%,transparent 64% 100%);filter:blur(9px);opacity:.52;content:"";animation:umay-launcher-shimmer 7s linear infinite}
.umay-chat-launcher:hover{transform:translateY(-2px);border:0;background:transparent;box-shadow:none}
.umay-chat-launcher:focus-visible{outline:2px solid #75e7f2;outline-offset:5px;border-radius:18px}
.umay-chat-launcher-orb{position:relative;z-index:1;display:grid;width:66px;height:66px;place-items:center;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;animation:umay-assistant-float 4s ease-in-out infinite;transform-origin:center}
.umay-chat-launcher-orb img{width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 4px 13px #29d9f6a8)}
.umay-chat-launcher .umay-chat-live{display:none}
.umay-chat-launcher .umay-chat-live{position:absolute;right:9px;bottom:12px;z-index:2;width:7px;height:7px;margin:0;border:1px solid #092238;box-shadow:0 0 10px #48d6ad}
.umay-chat-header{min-height:72px;padding:13px 15px;background:linear-gradient(120deg,#12344df2,#0b2238f2);box-shadow:inset 0 1px #ffffff0a}
.umay-chat-brand{gap:11px}.umay-chat-avatar{width:44px;height:44px;box-shadow:0 0 0 3px #41cde51b,0 0 22px #31d9ef24}
.umay-chat-brand strong{font-size:.94rem;font-weight:800}.umay-chat-brand small{font-size:.68rem}
.umay-chat-reset,.umay-chat-close{border-color:#ffffff0c;background:#ffffff06}.umay-chat-reset{min-height:32px;border-radius:999px}
.umay-chat-messages{gap:12px;padding:18px 14px 15px}
.umay-chat-message{width:fit-content;max-width:88%;gap:8px}
.umay-chat-message.is-user{max-width:86%}
.umay-chat-message-avatar{box-shadow:0 0 0 2px #37cbe51b}
.umay-chat-message-content{min-width:0;max-width:100%;padding:10px 13px;border:1px solid #2b4d65;border-radius:5px 16px 16px 16px;background:linear-gradient(145deg,#15344c,#10283e);box-shadow:0 5px 16px #020b1570;color:#e5f0fb;font-size:.8rem;line-height:1.58;overflow-wrap:anywhere;white-space:normal}
.umay-chat-message.is-user .umay-chat-message-content{border-color:#28788d;border-radius:16px 5px 16px 16px;background:linear-gradient(145deg,#15506a,#10384f);box-shadow:0 5px 16px #03152070}
.umay-chat-message.is-error .umay-chat-message-content{border-color:#874954;color:#ffd4d8}
.umay-chat-message.is-pending .umay-chat-message-content{color:#a9c5d3}
.umay-chat-message p{margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;overflow-wrap:anywhere;white-space:pre-wrap}
.umay-chat-message p+p{margin-top:8px}
.umay-chat-message ul,.umay-chat-message ol{margin:5px 0;padding-left:19px}
.umay-chat-message .umay-chat-code,.umay-chat-message .umay-chat-table-scroll{margin-top:8px;margin-bottom:2px}
.umay-chat-actions{margin-top:9px}
.umay-chat-form{gap:8px;margin:0 12px;padding:9px 10px;border-radius:17px;background:linear-gradient(145deg,#091e30,#071827);box-shadow:inset 0 1px #ffffff08}
.umay-chat-form{align-items:center}
.umay-chat-form textarea{display:block;align-self:center;max-height:140px;min-height:38px;padding:8px 4px;overflow-x:hidden;overflow-y:hidden;resize:none;scrollbar-width:none;line-height:1.45;overflow-wrap:anywhere}
.umay-chat-form textarea:focus,.umay-chat-form textarea:focus-visible{outline:none;box-shadow:none}
.umay-chat-form textarea::-webkit-scrollbar{display:none}
.umay-chat-form .umay-chat-attach{flex-basis:38px;width:38px;height:38px;border-radius:12px}
.umay-chat-form button:not(.umay-chat-attach){flex-basis:40px;width:40px;height:40px;border-radius:13px;box-shadow:0 4px 14px #16b9d538}
.umay-chat-attachment{order:0;margin:8px 12px 7px;border-radius:12px}
.umay-chat-composer-meta{margin-top:7px}
.umay-chat-note{margin-top:6px}
@keyframes umay-launcher-glow{0%,100%{opacity:.55;transform:scale(.82)}50%{opacity:1;transform:scale(1.12)}}
@keyframes umay-launcher-shimmer{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@media(max-width:600px){.umay-chat-launcher{width:68px;height:68px;min-height:0;padding:0}.umay-chat-launcher-orb{width:60px;height:60px}.umay-chat-launcher .umay-chat-live{right:7px;bottom:10px}.umay-chat-panel{bottom:72px}.umay-chat-message{max-width:92%}.umay-chat-message.is-user{max-width:89%}.umay-chat-form{margin:0 10px}}
@media(prefers-reduced-motion:reduce){.umay-chat-launcher::before,.umay-chat-launcher::after{animation:none}.umay-chat-launcher-orb{animation:none}}
@media(max-height:760px){.umay-chat-panel{height:min(540px,calc(100dvh - 190px));bottom:74px}}
@media(max-width:600px){.umay-chat-launcher .umay-chat-live{display:none}}
