#metta-ello{position:fixed;right:22px;bottom:22px;z-index:99999;font:15px/1.55 system-ui,sans-serif;color:#14181d}#metta-ello button{cursor:pointer;background:#094fa5;color:#fff;border:0;border-radius:12px;padding:12px 18px;font:inherit}#ello-panel{position:absolute;bottom:64px;right:0;width:min(380px,calc(100vw - 32px));background:#fff;border:1px solid #d8e3f0;border-radius:18px;box-shadow:0 12px 50px #013b7126;overflow:hidden}#ello-panel[hidden]{display:none}#ello-panel header{background:#094fa5;color:#fff;padding:14px 18px;font-weight:650;display:flex;align-items:center;justify-content:space-between}#ello-panel header button{padding:0 8px;font-size:24px}.ello-notice{font-size:12px;background:#f0f6fa;margin:0;padding:12px 18px}#ello-messages{height:300px;max-height:45vh;overflow:auto;padding:16px}#ello-messages .ello-answer,#ello-messages .ello-visitor{white-space:pre-wrap;background:#f0f6fa;border-radius:12px;padding:12px;margin:0 0 12px}#ello-messages .ello-visitor{background:#e6edf3;margin-left:28px}#ello-messages a{color:#094fa5}#ello-form{border-top:1px solid #d8e3f0;display:flex;flex-wrap:wrap;gap:8px;padding:14px}.ello-label{width:100%;font-size:12px}#ello-question{min-width:0;flex:1;border:1px solid #a2b8d0;border-radius:8px;padding:10px;font:inherit}#metta-ello :focus-visible{outline:3px solid #bf2b37;outline-offset:2px}#metta-ello button:disabled{opacity:.6;cursor:wait}
.ello-notice a{color:#094fa5}
#ello-panel header #ello-new{font-size:12px;min-height:44px;padding:4px 8px;border:1px solid #ffffff70}#ello-panel header #ello-close{min-width:44px;min-height:44px}
#ello-panel{display:flex;flex-direction:column;max-height:calc(100dvh - 110px)}#ello-panel header,#ello-form{flex-shrink:0}.ello-notice{max-height:30dvh;overflow:auto;flex-shrink:0}#ello-messages{min-height:0;flex:1 1 auto;overflow-wrap:anywhere}#ello-messages button{max-width:100%;text-align:left;white-space:normal}
@media(max-height:500px){.ello-notice{max-height:60px}#ello-form{padding:8px}.ello-label{display:none}#ello-panel header{padding:4px 10px}#ello-messages{padding:8px}}
#metta-ello{width:min(380px,calc(100% - 32px));right:16px;bottom:16px;pointer-events:none}#ello-launch{display:block;margin-left:auto;pointer-events:auto}#ello-panel{width:100%;box-sizing:border-box;pointer-events:auto}

#ello-panel header{gap:8px;border-bottom:3px solid #bf2b37}#ello-panel .ello-brand{display:flex;flex-direction:column;font-size:19px;line-height:1.3;margin-right:auto}#ello-panel .ello-brand small{font-size:10px;font-weight:500;letter-spacing:.02em}#ello-start{display:grid;gap:8px;padding:0 0 8px}#ello-start[hidden]{display:none}.ello-topics-label{font-size:12px;font-weight:650;color:#40566d}#metta-ello #ello-start button{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:1px solid #c6d6e9;border-radius:10px;background:#fff;color:#094fa5;padding:10px 12px;font-size:14px;font-weight:600;line-height:1.4}#metta-ello #ello-start button::after{content:"→";font-size:18px;color:#bf2b37}#metta-ello #ello-start button:hover{background:#f0f6fa;border-color:#094fa5}#metta-ello #ello-launch{box-shadow:0 4px 18px #013b7126}#metta-ello #ello-form>button{background:#bf2b37}#metta-ello #ello-form>button:hover{background:#9a2933}
.ello-avatar{display:inline-block;position:relative;width:44px;height:58px;overflow:hidden;flex:0 0 44px;vertical-align:middle;transform-origin:50% 100%}.ello-avatar img{position:absolute;left:0;top:0;width:44px!important;height:58px!important;max-width:none!important;object-fit:contain}#ello-panel header>.ello-avatar{width:32px;height:42px;flex-basis:32px}#ello-panel header>.ello-avatar img{width:32px!important;height:42px!important}#metta-ello #ello-launch{display:flex;align-items:center;gap:8px;padding:6px 16px 6px 8px;min-height:58px}#ello-launch>.ello-avatar{animation:ello-welcome .9s ease-out 1}#ello-panel{bottom:80px;max-height:calc(100dvh - 126px)}#metta-ello.ello-thinking header>.ello-avatar{animation:ello-thinking 1.4s ease-in-out infinite}#metta-ello[lang=zh-Hans]{font-family:system-ui,"PingFang SC","Microsoft YaHei",sans-serif}#ello-panel header .ello-brand small{white-space:nowrap}#ello-panel header{gap:6px}@keyframes ello-welcome{0%,100%{transform:translateY(0) rotate(0)}35%{transform:translateY(-5px) rotate(-4deg)}65%{transform:translateY(0) rotate(3deg)}}@keyframes ello-thinking{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}@media(prefers-reduced-motion:reduce){#metta-ello .ello-avatar{animation:none!important;transition:none!important}}@media(max-height:500px){#ello-panel header>.ello-avatar{display:none}}

.ello-status{font-size:13px;margin:6px 14px;color:#555}

.ello-notice summary{cursor:pointer;list-style-position:inside;line-height:1.5}.ello-notice p{margin:10px 0 0}.ello-notice:not([open]){max-height:none}.ello-notice[open]{max-height:30dvh}#ello-messages .ello-answer-body p{margin:0 0 8px}#ello-messages .ello-answer-body p:last-child{margin:0}#ello-messages .ello-answer-body ul{padding-left:20px;margin:6px 0}#metta-ello .ello-actions,#metta-ello .ello-feedback{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px;font-size:12px}#metta-ello .ello-actions button,#metta-ello .ello-feedback button{font-size:12px;padding:7px 10px;min-height:44px;background:#fff;border:1px solid #b7c9df;color:#094fa5;border-radius:8px}#metta-ello .ello-feedback button[aria-pressed=true]{background:#094fa5;color:white}#metta-ello time{color:#566679;margin-left:auto}#metta-ello .ello-source{display:inline-block;padding:8px 10px;border:1px solid #b7c9df;border-radius:8px;margin-top:8px;text-decoration:none;background:white}#ello-question{font-size:16px}#metta-ello{bottom:max(16px,env(safe-area-inset-bottom))}@media(max-width:480px){#ello-panel{max-height:calc(100dvh - 110px)}.ello-notice{padding:9px 14px}#ello-panel header{padding:10px 12px}}
