.ula-chat-launcher{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(52px + env(safe-area-inset-bottom));z-index:1040;display:grid;place-items:center;width:52px;height:52px;border:2px solid #fff;border-radius:50%;background:#184e9f;color:#fff;box-shadow:0 4px 20px #12295340}.ula-chat-launcher:hover,.ula-chat-launcher:focus-visible{background:#103b7e;outline:3px solid #93dcff;outline-offset:2px}.ula-chat-launcher .ua-icon{width:28px;height:28px}.ula-chat-panel[hidden]{display:none!important}.ula-chat-panel{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(114px + env(safe-area-inset-bottom));width:min(368px,calc(100vw - 24px));max-height:calc(100dvh - 150px);display:flex;flex-direction:column;z-index:1041;background:#fff;color:#172c48;border:1px solid #c4d4e9;border-radius:16px;box-shadow:0 10px 40px #142d5940;overflow:hidden}.ula-chat-header{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#184e9f;color:#fff}.ula-chat-header>div{display:flex;align-items:center;gap:8px}.ula-chat-header button{border:0;background:0 0;color:inherit;display:grid;place-items:center;width:36px;height:36px;border-radius:6px}.ula-chat-header button:focus-visible{outline:2px solid #fff}.ula-chat-messages{min-height:100px;max-height:310px;flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}.ula-chat-message{padding:9px 11px;border-radius:12px;background:#edf3fb;max-width:95%;font-size:.83rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;flex-shrink:0}.ula-chat-message.user{align-self:flex-end;background:#184e9f;color:#fff}.ula-chat-sources{display:flex;flex-direction:column;margin-top:8px;gap:5px}.ula-chat-sources a{color:#174581;text-decoration:underline;font-size:.74rem}.ula-chat-panel form{display:grid;gap:8px;padding:10px 12px;border-top:1px solid #d9e2ef;flex-shrink:0}.ula-chat-panel textarea{resize:vertical;max-height:110px;font-size:16px}.ula-chat-send{display:flex;align-items:center;gap:10px;justify-content:space-between}.ula-chat-send small{font-size:.67rem;color:#465b76}.ula-chat-status{font-size:.72rem;margin:0;color:#405570}.ula-chat-status:empty{display:none}.ula-participation-confetti{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:11000}.swal2-container{z-index:10900!important}.swal2-popup{max-width:calc(100vw - 24px)}@media (max-width:575px){.ula-chat-panel{right:12px;bottom:calc(108px + env(safe-area-inset-bottom));max-height:calc(100dvh - 132px)}.ula-chat-launcher{right:14px;width:48px;height:48px}.ula-chat-messages{max-height:40dvh}}@media (prefers-reduced-motion:reduce){.ula-chat-panel,.ula-chat-launcher{scroll-behavior:auto}}

.ula-chat-panel{position:fixed;top:calc(var(--ula-gnav-h,56px) + 8px);right:max(8px,env(safe-area-inset-right));bottom:auto;left:auto;z-index:1050;width:min(360px,calc(100vw - 16px));height:min(430px,calc(100dvh - var(--ula-gnav-h,56px) - var(--ula-gfoot-h,50px) - 20px));max-height:calc(100dvh - var(--ula-gnav-h,56px) - 16px);display:flex;flex-direction:column;background:#fff;border:1px solid #d7e2f0;border-radius:12px;box-shadow:0 12px 34px rgba(11,44,97,.22);overflow:hidden}
.ula-chat-panel[hidden]{display:none!important}
.ula-chat-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:var(--ula-navy,#0b2c61);color:#fff}
.ula-chat-header-actions{display:flex;align-items:center;gap:4px}
.ula-chat-header a,.ula-chat-header button{display:inline-grid;place-items:center;width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:#fff;text-decoration:none}
.ula-chat-header a:hover,.ula-chat-header button:hover{background:rgba(255,255,255,.15)}
.ula-chat-messages{flex:1;overflow:auto;padding:12px;background:#f4f7fb}
.ula-chat-panel form{padding:10px 12px 12px;border-top:1px solid #e3ebf5;background:#fff;display:grid;gap:8px}
.ula-gnav-icon[data-ula-chat-toggle][aria-expanded=true]{background:rgba(255,255,255,.22)!important;color:var(--ula-accent,#8bebff)!important}
@media (max-width:480px){.ula-chat-panel{width:calc(100vw - 16px);height:min(70dvh,calc(100dvh - var(--ula-gnav-h,56px) - 16px))}.ula-account-name{display:none!important}.ula-gnav-tools .ula-gnav-icon{min-width:32px;height:32px;padding:0 6px}}
.ula-chat-launcher{display:none!important}
