.assistant-launcher{position:fixed;right:24px;bottom:22px;z-index:70;display:flex;align-items:center;gap:9px;padding:8px 19px 8px 7px;border:1px solid #fff;border-radius:25px;background:linear-gradient(120deg,#f8fcfff2,#e5f1fff5);box-shadow:0 7px 30px #264d7d33;color:#315d8d;cursor:pointer;text-align:left;backdrop-filter:blur(15px);font:inherit}.assistant-launcher[hidden]{display:none}.assistant-launcher img{width:51px;height:51px;object-fit:contain}.assistant-launcher strong{display:block;font-size:14px}.assistant-launcher small{display:block;font-size:11px;color:#7e96b2;margin-top:4px}.assistant-launcher>i{position:absolute;right:0;top:-6px;border-radius:10px;background:#488bdd;color:white;padding:3px 7px;font:normal 10px sans-serif}.assistant-launcher>i[hidden]{display:none}.assistant-launcher:hover{box-shadow:0 9px 32px #264d7d55;transform:translateY(-2px)}
.assistant-dialog{position:fixed;right:24px;bottom:22px;z-index:75;width:min(430px,calc(100vw - 40px));height:min(650px,calc(100dvh - 44px));box-sizing:border-box;display:flex;flex-direction:column;padding:0 18px 13px;border:1px solid #fff;border-radius:23px;background:linear-gradient(145deg,#f7fbff,#edf5ff);box-shadow:0 14px 64px #18386940;color:#284b70;font-family:inherit;text-align:left}.assistant-dialog[hidden]{display:none}.assistant-dialog.expanded{width:min(780px,calc(100vw - 48px));height:calc(100dvh - 44px)}.assistant-heading{display:flex;align-items:center;gap:9px;flex:none;margin:0 -18px 0;padding:15px 16px;background:linear-gradient(110deg,#e7f3ff,#f3f8ff);border-bottom:1px solid #d7e5f3;border-radius:23px 23px 0 0}.assistant-heading>img{width:40px;height:40px;object-fit:contain}.assistant-heading>div{flex:1}.assistant-heading h2{font-size:17px;margin:0;color:#2d527e}.assistant-heading span{font-size:10px;color:#7894af;display:block;margin-top:4px}.assistant-heading span i{display:inline-block;width:6px;height:6px;background:#62bca6;border-radius:50%;margin-right:2px}.assistant-heading>button{display:grid;place-items:center;width:30px;height:30px;padding:0;background:#fff8;border:1px solid #d3e4f3;border-radius:9px;color:#7597b6;cursor:pointer;font-size:20px}.assistant-heading>button:hover{background:white;color:#2e73be}.chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;padding:10px 0;color:#7d92a9;font-size:10px}.chat-toolbar button{border:1px solid #d1e2f2;background:#fff9;border-radius:8px;padding:6px 10px;color:#527fa9;white-space:nowrap;cursor:pointer;font-size:11px}.chat-messages{flex:1;min-height:0;overflow:auto;padding:12px 1px;overscroll-behavior:contain;scrollbar-width:thin}.chat-welcome{text-align:center;padding:0 5px}.chat-welcome>img{height:90px;object-fit:contain}.chat-welcome h3{font-size:18px;margin:10px 0;color:#2d527e}.chat-welcome p{color:#71839c;font-size:12px;line-height:1.8}.chat-suggestions{display:grid;gap:8px;margin-top:17px}.chat-suggestions button{display:flex;justify-content:space-between;gap:8px;align-items:center;text-align:left;padding:11px 13px;border-radius:12px;border:1px solid #d2e3f2;color:#4a6d94;background:#fff9;font-size:12px;cursor:pointer}.chat-suggestions button:hover{background:#edf6ff}.chat-message{display:flex;gap:8px;align-items:flex-start;margin-bottom:18px}.chat-avatar{background:linear-gradient(140deg,#7dcde7,#658fe2);color:white;border-radius:10px;display:grid;place-items:center;width:26px;height:26px;flex:none;font-size:13px}.chat-message>div{max-width:calc(100% - 38px);min-width:0}.chat-message small{font-size:10px;color:#7890a7;display:block;margin-bottom:5px}.chat-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.85;color:#284b70;background:#fff;border:1px solid #deebf5;padding:11px 13px;border-radius:3px 14px 14px;min-height:24px}.chat-message.user{flex-direction:row-reverse}.chat-message.user .chat-avatar{background:#d2e4f8;color:#426c9b}.chat-message.user small{text-align:right}.chat-message.user .chat-text{background:linear-gradient(120deg,#e6f2ff,#deedff);border-color:#c8def7;border-radius:14px 3px 14px 14px}.chat-copy{background:none;border:none;color:#8a9daf;font-size:10px;cursor:pointer;padding:6px 2px}.chat-feedback{flex:none;font-size:12px;color:#94594d}.chat-feedback p{margin:0 0 8px}.chat-feedback button{background:#edf3fc;border:1px solid #cadbf0;border-radius:8px;color:#496d9b;padding:6px 10px;margin-bottom:8px;cursor:pointer;font-size:11px}.chat-feedback [hidden]{display:none}.chat-composer{border:1px solid #b8d3ed;background:#fff;border-radius:15px;padding:9px 11px;flex:none}.chat-composer:focus-within{border-color:#6d9ee6;box-shadow:0 0 0 3px #6d9ee61a}.chat-composer textarea{font:inherit;font-size:13px;line-height:1.6;display:block;width:100%;resize:none;box-sizing:border-box;border:0;background:transparent;outline:0;padding:2px;color:#284b70;max-height:140px}.chat-composer>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.chat-composer span{color:#90a2b5;font-size:10px}.chat-composer .button{padding:8px 14px;min-height:0;border-radius:10px;font-size:12px}.chat-composer .button:disabled{opacity:.45;cursor:default}.chat-privacy{font-size:10px;line-height:1.6;color:#8495aa;margin:8px 2px 0;flex:none}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){.assistant-launcher{right:12px;bottom:max(14px,env(safe-area-inset-bottom));padding:5px 13px 5px 4px;gap:6px;border-radius:21px}.assistant-launcher img{width:43px;height:43px}.assistant-launcher strong{font-size:12px}.assistant-launcher small{font-size:10px}.assistant-dialog,.assistant-dialog.expanded{right:8px;bottom:max(8px,env(safe-area-inset-bottom));width:calc(100vw - 16px);height:min(700px,calc(100dvh - 16px));padding:0 14px 12px;border-radius:20px}.assistant-heading{margin:0 -14px;padding:12px 14px;border-radius:20px 20px 0 0}.chat-welcome>img{height:85px}.chat-messages{padding-top:10px}.chat-text{font-size:14px}.chat-composer textarea{font-size:16px}.chat-toolbar{font-size:10px}.chat-privacy{font-size:10px}}
@media(prefers-reduced-motion:reduce){.assistant-launcher:hover{transform:none}}
