#ustkonder-ai-root{--ai-navy:#04162f;--ai-navy-2:#0a2f61;--ai-gold:#d6ae4b;--ai-gold-light:#efd581;--ai-text:#172033;--ai-muted:#667085;--ai-line:#e6eaf0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;position:relative;z-index:1290}
.ust-ai-launcher{position:fixed;right:22px;bottom:92px;z-index:1293;width:58px;height:58px;border:1px solid rgba(239,213,129,.62);border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,var(--ai-navy-2),var(--ai-navy));color:var(--ai-gold-light);box-shadow:0 16px 38px rgba(2,11,27,.28);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.ust-ai-launcher:hover{transform:translateY(-2px);box-shadow:0 20px 42px rgba(2,11,27,.34)}.ust-ai-launcher svg{width:27px;height:27px}.ust-ai-launcher-dot{position:absolute;right:2px;top:3px;width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:#2ab673}
.ust-ai-greeting{position:fixed;right:22px;bottom:160px;z-index:1292;width:min(310px,calc(100vw - 32px));padding:14px 16px;border:1px solid rgba(214,174,75,.24);border-radius:18px 18px 5px 18px;background:#fff;color:#243047;box-shadow:0 18px 50px rgba(2,11,27,.18);font-size:13px;line-height:1.55;opacity:0;transform:translateY(8px);pointer-events:none;transition:.25s ease}.ust-ai-greeting.is-visible{opacity:1;transform:none;pointer-events:auto}.ust-ai-greeting strong{display:block;margin-bottom:3px;color:var(--ai-navy);font-size:13px}.ust-ai-greeting button{position:absolute;right:7px;top:5px;border:0;background:transparent;color:#98a2b3;font-size:18px;line-height:1;cursor:pointer}
.ust-ai-panel{position:fixed;right:22px;bottom:162px;z-index:1294;width:min(390px,calc(100vw - 30px));height:min(610px,calc(100dvh - 190px));max-height:calc(100dvh - 112px);min-height:470px;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(214,174,75,.24);border-radius:26px;background:#fff;box-shadow:0 26px 80px rgba(2,11,27,.28);opacity:0;visibility:hidden;transform:translateY(12px) scale(.985);transform-origin:bottom right;transition:opacity .22s ease,transform .22s ease,visibility .22s}.ust-ai-panel.is-open{opacity:1;visibility:visible;transform:none}
.ust-ai-header{display:flex;align-items:center;gap:12px;padding:17px 18px;background:linear-gradient(135deg,var(--ai-navy),#082f63);color:#fff}.ust-ai-brandmark{flex:0 0 42px;width:42px;height:42px;border:1px solid rgba(239,213,129,.45);border-radius:14px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.06);color:var(--ai-gold-light)}.ust-ai-brandmark svg{width:23px;height:23px}.ust-ai-title{min-width:0;flex:1}.ust-ai-title strong{display:block;font-size:14px;font-weight:900;letter-spacing:-.01em}.ust-ai-status{display:flex;align-items:center;gap:6px;margin-top:2px;color:rgba(255,255,255,.72);font-size:11px}.ust-ai-status i{display:block;width:7px;height:7px;border-radius:50%;background:#42c98b}.ust-ai-close{width:36px;height:36px;border:0;border-radius:12px;background:rgba(255,255,255,.08);color:#fff;font-size:22px;line-height:1;cursor:pointer}.ust-ai-close:hover{background:rgba(255,255,255,.15)}
.ust-ai-messages{flex:1 1 auto;min-height:180px;overflow-y:auto;padding:18px;background:linear-gradient(180deg,#fbfcfe,#f6f8fb);scroll-behavior:smooth;-webkit-overflow-scrolling:touch}.ust-ai-message{display:flex;margin:0 0 12px}.ust-ai-message--user{justify-content:flex-end}.ust-ai-bubble{max-width:86%;padding:11px 13px;border-radius:17px;color:#344054;background:#fff;border:1px solid var(--ai-line);font-size:13px;line-height:1.58;white-space:pre-wrap;word-break:break-word;box-shadow:0 5px 14px rgba(4,22,47,.04)}.ust-ai-message--user .ust-ai-bubble{border-color:#0b356e;border-radius:17px 17px 5px 17px;background:#092d5d;color:#fff}.ust-ai-message--assistant .ust-ai-bubble{border-radius:17px 17px 17px 5px}.ust-ai-links{display:flex;flex-wrap:wrap;gap:7px;margin:3px 0 15px}.ust-ai-link{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid rgba(214,174,75,.38);border-radius:999px;background:#fffaf0;color:#7b5d18;font-size:11px;font-weight:800;text-decoration:none!important}.ust-ai-link:hover{background:#f8edc9;color:#4f3b0f}.ust-ai-thinking{display:inline-flex;align-items:center;gap:4px}.ust-ai-thinking span{width:6px;height:6px;border-radius:50%;background:#9aa4b2;animation:ust-ai-pulse 1s infinite ease-in-out}.ust-ai-thinking span:nth-child(2){animation-delay:.14s}.ust-ai-thinking span:nth-child(3){animation-delay:.28s}@keyframes ust-ai-pulse{0%,80%,100%{opacity:.35;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}
.ust-ai-quick{display:flex;gap:7px;overflow-x:auto;padding:10px 14px 0;background:#fff;scrollbar-width:none}.ust-ai-quick::-webkit-scrollbar{display:none}.ust-ai-quick button{flex:0 0 auto;border:1px solid #dfe5ed;border-radius:999px;padding:7px 10px;background:#fff;color:#17365e;font-size:11px;font-weight:800;cursor:pointer}.ust-ai-quick button:hover{border-color:var(--ai-gold);background:#fffaf0}.ust-ai-composer{flex:0 0 auto;padding:10px 13px 12px;background:#fff;border-top:1px solid #eef1f5}.ust-ai-inputrow{display:flex;align-items:flex-end;gap:8px;padding:7px 7px 7px 12px;border:1px solid #dfe5ed;border-radius:17px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease}.ust-ai-inputrow:focus-within{border-color:rgba(11,63,125,.52);box-shadow:0 0 0 3px rgba(11,63,125,.08)}.ust-ai-input{flex:1;min-width:0;max-height:92px;resize:none;border:0;outline:0;background:transparent;color:var(--ai-text);font:500 13px/1.45 inherit;padding:6px 0}.ust-ai-input::placeholder{color:#98a2b3}.ust-ai-send{flex:0 0 39px;width:39px;height:39px;border:0;border-radius:12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#d6ae4b,#efd581);color:#04162f;cursor:pointer}.ust-ai-send:disabled{opacity:.5;cursor:not-allowed}.ust-ai-send svg{width:18px;height:18px}.ust-ai-note{margin:7px 4px 0;color:#98a2b3;font-size:9.5px;line-height:1.35;text-align:center}
html[dir="rtl"] .ust-ai-launcher,html[dir="rtl"] .ust-ai-greeting,html[dir="rtl"] .ust-ai-panel{right:auto;left:22px}html[dir="rtl"] .ust-ai-panel{transform-origin:bottom left}html[dir="rtl"] .ust-ai-greeting{border-radius:18px 18px 18px 5px}html[dir="rtl"] .ust-ai-greeting button{right:auto;left:7px}html[dir="rtl"] .ust-ai-message--user{justify-content:flex-start}html[dir="rtl"] .ust-ai-message--assistant{justify-content:flex-end}html[dir="rtl"] .ust-ai-message--user .ust-ai-bubble{border-radius:17px 17px 17px 5px}html[dir="rtl"] .ust-ai-message--assistant .ust-ai-bubble{border-radius:17px 17px 5px 17px}
@media(max-width:600px){.ust-ai-launcher{right:16px;bottom:88px;width:54px;height:54px}.ust-ai-greeting{right:14px;bottom:151px}.ust-ai-panel{right:12px;bottom:150px;width:calc(100vw - 24px);height:min(640px,calc(100dvh - 118px));max-height:calc(100dvh - 88px);min-height:420px;border-radius:23px}html[dir="rtl"] .ust-ai-launcher{left:16px;right:auto}html[dir="rtl"] .ust-ai-greeting{left:14px;right:auto}html[dir="rtl"] .ust-ai-panel{left:12px;right:auto}.ust-ai-messages{padding:15px;min-height:220px}.ust-ai-bubble{max-width:91%}}
@media(max-height:650px){.ust-ai-panel{bottom:82px;height:calc(100dvh - 100px);max-height:calc(100dvh - 100px);min-height:0}.ust-ai-greeting{display:none}}

/* V10.8 floating action stack: WhatsApp -> Instagram -> AI; scroll-to-top stays separate. */
.instagram-float{position:fixed!important;right:22px!important;left:auto!important;bottom:86px!important;z-index:1288!important;width:54px!important;height:54px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:17px!important;color:#fff!important;background:radial-gradient(circle at 32% 100%,#ffd600 0 15%,#ff7a00 31%,#ff0169 58%,#d300c5 78%,#7638fa 100%)!important;box-shadow:0 16px 35px rgba(0,0,0,.2)!important;font-size:25px!important;text-decoration:none!important;transition:transform .22s ease,box-shadow .22s ease!important}.instagram-float:hover{color:#fff!important;transform:translateY(-4px) scale(1.03)!important;box-shadow:0 20px 40px rgba(42,20,70,.28)!important}.whatsapp{right:22px!important;left:auto!important;bottom:22px!important;z-index:1288!important}.scroll-top{left:22px!important;right:auto!important;bottom:22px!important;z-index:1287!important}.ust-ai-launcher{right:22px!important;left:auto!important;bottom:150px!important;z-index:1293!important}.ust-ai-greeting{right:22px!important;left:auto!important;bottom:218px!important}.ust-ai-panel{right:22px!important;left:auto!important;bottom:88px!important;max-height:calc(100dvh - 112px)!important}html[dir="rtl"] .instagram-float,html[dir="rtl"] .whatsapp{left:22px!important;right:auto!important}html[dir="rtl"] .scroll-top{right:22px!important;left:auto!important}html[dir="rtl"] .ust-ai-launcher,html[dir="rtl"] .ust-ai-greeting,html[dir="rtl"] .ust-ai-panel{left:22px!important;right:auto!important}#ustkonder-ai-root.is-open .ust-ai-launcher{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
@media(max-width:600px){.whatsapp{right:max(14px,env(safe-area-inset-right))!important;bottom:max(14px,env(safe-area-inset-bottom))!important;width:50px!important;height:50px!important;border-radius:15px!important}.instagram-float{right:max(14px,env(safe-area-inset-right))!important;bottom:calc(max(14px,env(safe-area-inset-bottom)) + 60px)!important;width:50px!important;height:50px!important;border-radius:15px!important;font-size:23px!important}.scroll-top{left:max(14px,env(safe-area-inset-left))!important;right:auto!important;bottom:max(14px,env(safe-area-inset-bottom))!important;width:50px!important;height:50px!important}.ust-ai-launcher{right:max(14px,env(safe-area-inset-right))!important;bottom:calc(max(14px,env(safe-area-inset-bottom)) + 120px)!important;width:52px!important;height:52px!important}.ust-ai-greeting{right:14px!important;bottom:calc(max(14px,env(safe-area-inset-bottom)) + 180px)!important}.ust-ai-panel{right:10px!important;bottom:76px!important;width:calc(100vw - 20px)!important;height:min(640px,calc(100dvh - 96px))!important;max-height:calc(100dvh - 92px)!important;min-height:0!important}html[dir="rtl"] .whatsapp,html[dir="rtl"] .instagram-float,html[dir="rtl"] .ust-ai-launcher,html[dir="rtl"] .ust-ai-greeting,html[dir="rtl"] .ust-ai-panel{left:14px!important;right:auto!important}html[dir="rtl"] .scroll-top{right:max(14px,env(safe-area-inset-right))!important;left:auto!important}}
