.pmml-chatbot-container{--primary-color: #052356;--accent-color: #f37021;--bg-color: #ffffff;--text-color: #111827;--bubble-bg-user: var(--primary-color);--bubble-bg-bot: #eff3f8;--bubble-text-user: #ffffff;--bubble-text-bot: #111827;--muted-text: #526173;--border-color: #d6dee9;--border-radius: 16px;--z-index: 10000;font-family:Segoe UI,Arial,sans-serif;font-size:14px;color:var(--text-color)}.pmml-chatbot-launcher{position:fixed;bottom:20px;right:20px;width:66px;height:66px;border-radius:50%;background-color:var(--accent-color);color:#fff;border:none;cursor:pointer;box-shadow:0 8px 22px #0523563d;z-index:var(--z-index);display:flex;align-items:center;justify-content:center;transition:transform .2s ease,box-shadow .2s ease}.pmml-chatbot-launcher:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 11px 26px #0523564d}.pmml-chatbot-launcher:focus-visible{outline:3px solid var(--primary-color);outline-offset:2px}.pmml-chatbot-dialog{position:fixed;bottom:90px;right:20px;width:min(420px,calc(100vw - 32px));height:650px;max-height:calc(100vh - 110px);background:var(--bg-color);border-radius:var(--border-radius);color:var(--text-color);box-shadow:0 16px 42px #05235633;z-index:var(--z-index);display:flex;flex-direction:column;overflow:hidden}.pmml-chatbot-header{background:var(--primary-color);color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.pmml-chatbot-header-title-row{display:flex;align-items:center;gap:8px}.pmml-chatbot-header-mark{display:inline-flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.pmml-chatbot-header h2{margin:0;font-size:16px;font-weight:600}.pmml-chatbot-header>div:first-child{min-width:0}.pmml-chatbot-header p{margin:2px 0 0;color:#dbe7f7;font-size:12px;font-weight:400}.pmml-chatbot-close{background:none;border:none;color:#fff;cursor:pointer;font-size:18px;padding:4px;border-radius:6px}.pmml-chatbot-close:focus-visible,.pmml-chatbot-send:focus-visible,.pmml-chatbot-suggestion:focus-visible,.pmml-chatbot-support-button:focus-visible,.pmml-chatbot-buttons button:focus-visible,.pmml-chatbot-quick-query-btn:focus-visible,.pmml-chatbot-sources-toggle:focus-visible{outline:3px solid #ffb27e;outline-offset:2px}.pmml-chatbot-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px;min-height:0}.pmml-chatbot-message{display:flex;flex-direction:column;max-width:88%;min-width:0}.pmml-chatbot-user{align-self:flex-end}.pmml-chatbot-assistant{align-self:flex-start}.pmml-chatbot-bubble{padding:10px 14px;border-radius:var(--border-radius);word-wrap:break-word;overflow-wrap:anywhere;line-height:1.5}.pmml-chatbot-user .pmml-chatbot-bubble{background:var(--bubble-bg-user);color:var(--bubble-text-user);border-bottom-right-radius:4px}.pmml-chatbot-assistant .pmml-chatbot-bubble{background:var(--bubble-bg-bot);color:var(--bubble-text-bot);border:1px solid #e0e0e0;border-bottom-left-radius:4px;width:fit-content;max-width:100%}.pmml-chatbot-welcome-panel{padding:14px;background:#f8fafc;border:1px solid var(--border-color);border-radius:var(--border-radius);color:var(--text-color);margin-bottom:4px}.pmml-chatbot-welcome-panel h3{margin:0 0 6px;color:var(--primary-color);font-size:15px;font-weight:700}.pmml-chatbot-welcome-panel p{margin:0 0 12px;color:var(--muted-text);font-size:12px;line-height:1.45}.pmml-chatbot-quick-queries{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.pmml-chatbot-quick-query-btn{padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:var(--primary-color);cursor:pointer;font:inherit;font-size:12px;font-weight:600;text-align:left;transition:border-color .2s ease,background-color .2s ease}.pmml-chatbot-quick-query-btn:hover{border-color:var(--accent-color);background:#fff8f5}.pmml-chatbot-welcome-footer{margin:0!important;color:var(--muted-text);font-size:11px;font-style:italic}.pmml-chatbot-sources-section{margin-top:8px;border-top:1px solid var(--border-color);padding-top:6px;width:100%;box-sizing:border-box}.pmml-chatbot-sources-toggle{display:flex;align-items:center;justify-content:space-between;width:auto;padding:4px 8px;border:1px solid var(--border-color);border-radius:6px;background:transparent;color:var(--primary-color);cursor:pointer;font:inherit;font-size:12px;font-weight:600;transition:background-color .2s ease,border-color .2s ease}.pmml-chatbot-sources-toggle:hover{background:#f0f4f9;border-color:var(--accent-color)}.pmml-chatbot-sources-chevron{display:inline-flex;align-items:center;margin-left:6px;transition:transform .2s ease}.pmml-chatbot-sources-toggle[aria-expanded=true] .pmml-chatbot-sources-chevron{transform:rotate(180deg)}.pmml-chatbot-sources-list{margin:8px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px}.pmml-chatbot-sources-list[hidden]{display:none!important}.pmml-chatbot-source-card{padding:8px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 1px 3px #0000000a}.pmml-chatbot-source-card-header{display:flex;flex-direction:column;gap:4px}.pmml-chatbot-source-title{font-weight:600;color:var(--primary-color);font-size:12px;line-height:1.35;word-break:break-word}.pmml-chatbot-source-card-link{display:inline-flex;align-items:center;gap:4px;color:var(--accent-color);font-size:11px;font-weight:600;text-decoration:none;margin-top:2px}.pmml-chatbot-source-card-link:hover{text-decoration:underline}.pmml-chatbot-source-excerpt{margin:4px 0 0;color:var(--muted-text);font-size:11px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.pmml-chatbot-actions{display:grid;gap:7px;margin-top:8px}.pmml-chatbot-action-link{display:inline-block;padding:10px 12px;border-radius:8px;background:var(--accent-color);color:#fff;font-weight:700;text-decoration:none}.pmml-chatbot-action-link:hover{filter:brightness(.94)}.pmml-chatbot-feedback{display:flex;gap:6px;margin-top:6px}.pmml-chatbot-feedback-btn{padding:4px 8px;border:1px solid var(--border-color);border-radius:6px;background:transparent;color:var(--muted-text);cursor:pointer;font:inherit;font-size:11px;font-weight:500;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.pmml-chatbot-feedback-btn:hover{background:#f0f4f9;border-color:var(--accent-color);color:var(--primary-color)}.pmml-chatbot-bubble p,.pmml-chatbot-bubble ul,.pmml-chatbot-bubble ol,.pmml-chatbot-bubble h1,.pmml-chatbot-bubble h2,.pmml-chatbot-bubble h3,.pmml-chatbot-bubble table{margin-top:0;margin-bottom:10px}.pmml-chatbot-answer-content h1,.pmml-chatbot-answer-content h2,.pmml-chatbot-answer-content h3{color:var(--primary-color);line-height:1.3}.pmml-chatbot-answer-content h1{font-size:1.12rem}.pmml-chatbot-answer-content h2{font-size:1.05rem}.pmml-chatbot-answer-content h3{font-size:1rem}.pmml-chatbot-answer-content ul,.pmml-chatbot-answer-content ol{padding-left:22px}.pmml-chatbot-answer-content li{margin-bottom:4px}.pmml-chatbot-answer-content strong{font-weight:700}.pmml-chatbot-answer-content hr{margin:12px 0;border:0;border-top:1px solid var(--border-color)}.pmml-chatbot-answer-content blockquote{margin-left:0;padding-left:10px;border-left:3px solid var(--accent-color);color:var(--muted-text)}.pmml-chatbot-answer-content code{padding:1px 4px;border-radius:4px;background:#e2eaf4;color:var(--primary-color)}.pmml-chatbot-streaming-caret{display:inline-block;width:6px;height:1em;margin-left:3px;vertical-align:-2px;background:var(--accent-color);animation:pmml-chatbot-caret 1s steps(2,start) infinite}.pmml-chatbot-interruption-notice{margin:8px 0 0;color:var(--muted-text);font-size:12px}@keyframes pmml-chatbot-caret{50%{opacity:0}}@media (prefers-reduced-motion: reduce){.pmml-chatbot-streaming-caret{animation:none}}.pmml-chatbot-bubble p:last-child,.pmml-chatbot-bubble ul:last-child,.pmml-chatbot-bubble ol:last-child,.pmml-chatbot-bubble table:last-child{margin-bottom:0}.pmml-chatbot-table-wrap{max-width:100%;overflow-x:auto}.pmml-chatbot-bubble table{border-collapse:collapse;min-width:100%;font-size:12px}.pmml-chatbot-bubble th,.pmml-chatbot-bubble td{border:1px solid var(--border-color);padding:6px 8px;text-align:left}.pmml-chatbot-bubble th{background:#e2eaf4;color:var(--primary-color);font-weight:700}.pmml-chatbot-input-area{padding:12px 16px;border-top:1px solid var(--border-color);display:flex;flex-direction:column;gap:4px;background:var(--bg-color);flex-shrink:0}.pmml-chatbot-input-wrapper{display:flex;align-items:center;position:relative;width:100%}.pmml-chatbot-input{width:100%;border:1px solid #cbd5e1;border-radius:20px;padding:11px 46px 11px 14px;resize:none;height:44px;min-height:44px;max-height:112px;overflow-y:hidden;font-family:inherit;font-size:13px;color:#111827;background:#fff;caret-color:var(--primary-color);line-height:1.4;box-sizing:border-box}.pmml-chatbot-input::placeholder{color:#64748b;opacity:1}.pmml-chatbot-input:focus-visible{outline:2px solid var(--accent-color)}.pmml-chatbot-send{position:absolute;right:4px;top:50%;transform:translateY(-50%);background:var(--accent-color);color:#fff;border:none;border-radius:50%;width:36px;height:36px;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0}.pmml-chatbot-input-hint{font-size:11px;color:var(--muted-text);text-align:right;padding-right:4px}.pmml-chatbot-dots{padding:10px 14px;color:var(--muted-text);font-size:12px;background:var(--bubble-bg-bot);border:1px solid var(--border-color);border-radius:var(--border-radius)}.pmml-chatbot-dots span{width:6px;height:6px;background:#666;border-radius:50%;animation:pmml-bounce 1.4s infinite ease-in-out both}.pmml-chatbot-loading-text{display:inline-flex;align-items:center;gap:5px}.pmml-chatbot-loading-text:after{content:"...";animation:pmml-typing 1.2s infinite steps(4,end)}.pmml-chatbot-escalation-prompt,.pmml-chatbot-escalation-success{padding:14px;border:1px solid #f3c4a4;border-radius:var(--border-radius);background:#fff8f3;color:var(--text-color)}.pmml-chatbot-escalation-prompt p,.pmml-chatbot-escalation-success p{margin:0 0 10px}.pmml-chatbot-support-button,.pmml-chatbot-btn-primary{padding:10px 14px;border:0;border-radius:8px;background:var(--accent-color);color:#fff;cursor:pointer;font:inherit;font-weight:600}.pmml-chatbot-escalation-form{display:grid;gap:11px;padding:15px;border:1px solid var(--border-color);border-radius:var(--border-radius);background:#fff;color:var(--text-color)}.pmml-chatbot-escalation-form h3,.pmml-chatbot-escalation-form p{margin:0}.pmml-chatbot-escalation-form label{display:grid;gap:5px;color:var(--text-color);font-size:12px;font-weight:600}.pmml-chatbot-escalation-form input,.pmml-chatbot-escalation-form select,.pmml-chatbot-escalation-form textarea{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid #bdc9d7;border-radius:7px;background:#fff;color:#111827;font:inherit;font-weight:400}.pmml-chatbot-escalation-form textarea{min-height:74px;resize:vertical}.pmml-chatbot-checkbox-label{display:flex!important;grid-template-columns:auto 1fr;align-items:flex-start;gap:7px!important;font-weight:400!important}.pmml-chatbot-checkbox-label input{width:auto;margin-top:2px}.pmml-chatbot-error{color:#9b1c1c;font-size:12px}.pmml-chatbot-buttons{display:flex;justify-content:flex-end;gap:8px}.pmml-chatbot-btn-secondary{padding:10px 14px;border:1px solid #bdc9d7;border-radius:8px;background:#fff;color:var(--primary-color);cursor:pointer;font:inherit}.pmml-chatbot-dots span:nth-child(1){animation-delay:-.32s}.pmml-chatbot-dots span:nth-child(2){animation-delay:-.16s}@keyframes pmml-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}@keyframes pmml-typing{0%,25%{content:"."}50%{content:".."}75%,to{content:"..."}}@media (max-width: 480px){.pmml-chatbot-dialog{width:100%;height:100%;max-height:100vh;bottom:0;right:0;border-radius:0}.pmml-chatbot-launcher{bottom:14px;right:14px}.pmml-chatbot-quick-queries{grid-template-columns:1fr}.pmml-chatbot-input-hint{display:none}}@media (prefers-reduced-motion: reduce){.pmml-chatbot-launcher,.pmml-chatbot-dots span,.pmml-chatbot-loading-text:after,.pmml-chatbot-sources-chevron{animation:none;transition:none}}.pmml-chatbot-language-select{margin-right:8px;border:1px solid #dcdcdc;border-radius:6px;padding:4px 8px;background:#fff;font-size:12px}
