.jq-chat-launcher{position:fixed;z-index:10000;right:24px;bottom:24px;display:flex;align-items:center;gap:11px;padding:14px 19px;border:1px solid rgba(255,255,255,.32);border-radius:999px;background:#101d49;color:#fff;font:inherit;font-size:14px;font-weight:600;line-height:1.1;box-shadow:0 12px 36px #101d493d;cursor:pointer;transition:transform .2s,box-shadow .2s}
.jq-chat-launcher:hover{transform:translateY(-3px);box-shadow:0 16px 40px #101d4950}
.jq-chat-launcher svg{width:21px;height:21px;stroke:#d4b16d;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.jq-chat-panel{position:fixed;z-index:10001;right:24px;bottom:88px;width:min(390px,calc(100vw - 32px));height:min(590px,calc(100dvh - 120px));display:none;flex-direction:column;overflow:hidden;border:1px solid #e7e4dc;border-radius:22px;background:#fbfaf7;color:#172044;box-shadow:0 24px 90px #111b3a35;font-family:inherit}
.jq-chat-panel.is-open{display:flex;animation:jq-chat-in .2s ease-out}
@keyframes jq-chat-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.jq-chat-header{display:flex;align-items:center;gap:12px;padding:17px 18px;background:#101d49;color:#fff}
.jq-chat-emblem{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border:1px solid #d4b16d66;border-radius:14px;color:#e0c27f}
.jq-chat-emblem svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.jq-chat-heading{min-width:0;flex:1}.jq-chat-heading strong{display:block;font-size:15px;letter-spacing:.01em}.jq-chat-heading span{display:block;margin-top:4px;color:#d9ddeb;font-size:11px}
.jq-chat-close{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:#ffffff14;color:white;font-size:21px;cursor:pointer}
#jq-legal-chat .jq-chat-body{display:block;flex:1;min-height:150px;overflow:auto;padding:17px 14px 10px;scroll-behavior:smooth;background:#f7f5ef!important;color:#202943!important}
#jq-legal-chat .jq-chat-intro{display:block;max-width:100%;margin:0 0 12px;padding:13px 14px;border:1px solid #e7e3da;border-radius:5px 17px 17px 17px;background:#fff!important;color:#30374e!important;font-size:13px;line-height:1.6}
.jq-chat-examples{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}
.jq-chat-example{padding:7px 10px;border:1px solid #d9d4c8;border-radius:999px;background:transparent;color:#26335d;font:inherit;font-size:11px;font-weight:500;cursor:pointer}
.jq-chat-example:hover{border-color:#b08c4e;background:#f6f0e3}
.jq-chat-message{max-width:88%;margin:10px 0;padding:12px 14px;border:1px solid #e5e0d6;border-radius:15px;font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:#202943!important}
#jq-legal-chat .jq-chat-message.user{margin-left:auto;border:1px solid #d3b16e;border-radius:15px 5px 15px 15px;background:#f3ead7!important;color:#172044!important}
#jq-legal-chat .jq-chat-message.assistant{margin-right:auto;border:1px solid #e7e3da;border-radius:5px 15px 15px 15px;background:#fff!important;color:#30374e!important}
#jq-legal-chat .jq-chat-message.error{border-color:#e7c7b8;background:#fff5ef!important;color:#693b2b!important}
#jq-legal-chat .jq-chat-citations{display:block;margin-top:9px;padding-top:8px;border-top:1px solid #ece8df;color:#626a7d!important;font-size:11px;line-height:1.55}
.jq-chat-wa{display:inline-flex;align-items:center;gap:7px;margin-top:10px;padding:8px 11px;border-radius:999px;background:#d3b16e;color:#172044;text-decoration:none;font-size:11px;font-weight:700}
#jq-legal-chat .jq-chat-intro-wa{margin:0 0 14px;color:#172044!important}
.jq-chat-wa svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8}
.jq-chat-typing{display:inline-flex;gap:4px;align-items:center;padding:13px 14px}.jq-chat-typing i{width:5px;height:5px;border-radius:50%;background:#9a8a68;animation:jq-dot 1s infinite ease-in-out}.jq-chat-typing i:nth-child(2){animation-delay:.15s}.jq-chat-typing i:nth-child(3){animation-delay:.3s}@keyframes jq-dot{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
.jq-chat-disclaimer{padding:9px 14px;border-top:1px solid #ece8df;color:#737889;font-size:10px;line-height:1.45}
.jq-chat-form{display:flex;align-items:flex-end;gap:8px;padding:10px 12px 13px;background:white}
.jq-chat-input{min-height:44px;max-height:100px;flex:1;resize:none;padding:12px 13px;border:1px solid #dedbd4;border-radius:14px;background:#fbfaf7;color:#182247;font:inherit;font-size:13px;line-height:1.4;outline:none}
.jq-chat-input:focus{border-color:#b08c4e;box-shadow:0 0 0 3px #b08c4e1a}
.jq-chat-send{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;border:0;border-radius:14px;background:#101d49;color:#fff;cursor:pointer}
.jq-chat-send:disabled{opacity:.5;cursor:wait}.jq-chat-send svg{width:19px;height:19px;stroke:#e1c27e;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.jq-chat-panel .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}
#jq-legal-chat[dir="rtl"] .jq-chat-message.user{margin-right:auto;margin-left:0;border-radius:5px 15px 15px 15px}#jq-legal-chat[dir="rtl"] .jq-chat-message.assistant{margin-left:auto;margin-right:0;border-radius:15px 5px 15px 15px}
@media(max-width:540px){.jq-chat-launcher{right:15px;bottom:15px;padding:13px 16px}.jq-chat-panel{right:8px;bottom:76px;width:calc(100vw - 16px);height:min(620px,calc(100dvh - 92px));border-radius:19px}}
@media(prefers-reduced-motion:reduce){.jq-chat-panel.is-open,.jq-chat-typing i{animation:none}.jq-chat-launcher{transition:none}}
