#ellon-companion{position:fixed;left:30%;bottom:40px;width:104px;height:146px;z-index:80;isolation:isolate;transition:opacity .25s;--ellon-facing:1}
#ellon-companion.ellon-minimized{display:none}
#ellon-minimize{position:absolute;right:-5px;top:3px;z-index:4;width:24px;height:24px;display:grid;place-items:center;padding:0;border-radius:50%;border:1px solid #ffffff4d;background:#0b294699;color:#fff;text-shadow:0 1px 3px #000;font:20px/1 system-ui;backdrop-filter:blur(8px);cursor:pointer}
#ellon-restore{position:fixed;right:18px;bottom:83px;z-index:80;width:36px;height:36px;padding:0;border:1px solid #88d8ff77;border-radius:50%;color:#c9efff;background:#08243888;backdrop-filter:blur(8px);box-shadow:0 3px 12px #0003;font:30px/1 system-ui;cursor:pointer}
#ellon-restore[hidden]{display:none}
#ellon-restore:focus-visible,#ellon-minimize:focus-visible{outline:2px solid #51b7ff;outline-offset:3px}
#ellon-chat-minimize{margin-left:auto;flex:none;font-size:23px;width:24px;height:30px;color:#d0ebfa;padding:0}
#ellon-chat-minimize+#ellon-close{margin-left:0;flex:none}
#ellon-companion:has(#ellon-minimize:hover) .ellon-tooltip{opacity:0}
.export-mode #ellon-restore,.embed-mode #ellon-restore,.presenter-mode #ellon-restore{display:none}
#ellon-mascot{position:relative;width:100%;height:100%;display:block;cursor:pointer;background:none;border:0;color:#e8f4ff;padding:0;filter:drop-shadow(0 8px 14px #00192b40)}
#ellon-mascot canvas{width:104px;height:124px;display:block;position:relative;z-index:2;transform-origin:50% 88%;animation:ellon-breathe 3.9s ease-in-out infinite}
.ellon-halo{position:absolute;bottom:27px;left:14%;width:72%;height:12px;border-radius:50%;background:radial-gradient(ellipse,#45caff70,transparent 70%);filter:blur(3px);z-index:0}
.ellon-name{display:flex;gap:7px;justify-content:center;align-items:center;font:700 9px Inter,system-ui;letter-spacing:.15em;color:#162e43;background:#fffffff0;border:1px solid #d2e3ed;border-radius:20px;box-shadow:0 2px 12px #061e3819;width:max-content;margin:0 auto;padding:5px 9px;position:relative;z-index:2}
.ellon-name i{width:5px;height:5px;border-radius:50%;background:#17b397;box-shadow:0 0 6px #17b39766}
.ellon-tooltip{position:absolute;bottom:158px;left:-40px;width:184px;padding:12px 15px;font:12px/1.5 Inter,system-ui;background:#fff;color:#18354a;border:1px solid #d6e7ee;border-radius:17px 17px 17px 4px;box-shadow:0 12px 32px #002a4630;opacity:0;transform:translateY(7px);transition:opacity .2s,transform .2s;pointer-events:none}
#ellon-companion:has(button:hover) .ellon-tooltip,#ellon-companion:has(button:focus-visible) .ellon-tooltip{opacity:1;transform:translateY(0)}
#ellon-companion[data-state=walking] canvas{animation:ellon-step .27s ease-in-out infinite;transform:scaleX(var(--ellon-facing))}
#ellon-companion.ellon-speaking canvas{animation:ellon-talk .4s ease-in-out infinite}
#ellon-mascot:focus-visible{outline:2px solid #51b7ff;outline-offset:4px;border-radius:28px}
#ellon-chat[hidden]{display:none}
#ellon-chat{position:fixed;right:28px;bottom:84px;width:420px;max-width:calc(100vw - 32px);height:min(720px,calc(100dvh - 130px));display:flex;flex-direction:column;z-index:150;background:#f8fafb;color:#183347;border:1px solid #bdd8e7;border-radius:24px;box-shadow:0 28px 90px #00172966;overflow:hidden;font-family:Inter,system-ui;font-size:14px;animation:ellon-panel-in .45s cubic-bezier(.16,1,.3,1)}
#ellon-chat *{box-sizing:border-box}
#ellon-chat header{display:flex;align-items:center;gap:12px;background:linear-gradient(130deg,#082540,#0c4d76);padding:14px 17px;color:white;border-bottom:1px solid #6cbee633;flex:none}
.ellon-avatar{width:58px;height:66px;flex:none}.ellon-avatar canvas{width:58px;height:66px;display:block}
#ellon-chat h2{font:550 17px/1.3 Manrope,system-ui;letter-spacing:-.02em;margin:0 0 5px}#ellon-service-status{font:10px/1.5 Inter;color:#a8dce8}
#ellon-close{margin-left:auto;font-size:25px;color:#c6e2ee;width:30px;height:34px;border:0;background:none;border-radius:10px}
.ellon-context{padding:11px 20px;border-bottom:1px solid #dce6ec;display:flex;gap:4px;flex-direction:column;background:#eff5f7;flex:none}.ellon-context span{font-size:8px;letter-spacing:.14em;color:#6b8999}.ellon-context b{font-size:11px;font-weight:500;color:#264c65}
#ellon-messages{overflow:auto;overscroll-behavior:contain;min-height:100px;flex:1;padding:20px;scrollbar-width:thin;scrollbar-color:#b0c8d6 transparent}
.ellon-message{padding:13px 15px;border-radius:4px 18px 18px 18px;background:#fff;border:1px solid #e0e8ed;box-shadow:0 3px 9px #24465c05;margin-bottom:15px;max-width:96%;animation:ellon-bubble-in .25s ease-out}
.ellon-message>span{font-size:8px;font-weight:700;letter-spacing:.13em;color:#177cac}.ellon-message p{margin:7px 0 0;font-size:13px;line-height:1.65;color:#253e4c;white-space:normal;overflow-wrap:anywhere}.ellon-message.user{margin-left:auto;background:#0d4c79;border:0;border-radius:18px 4px 18px 18px;max-width:90%}.ellon-message.user p{color:#fff}.ellon-message.user>span{color:#a7d8f4}
.ellon-message small{display:block;font-size:9px;line-height:1.5;margin-top:12px;color:#80939d}.ellon-answer-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px}.ellon-answer-tools button{font-size:10px;padding:5px 8px;border:1px solid #d0e2eb;border-radius:7px;color:#216080;background:#f3f8fa}.ellon-answer-tools button:hover{background:#e6f3fb}
.ellon-pending p:after{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#309de7;margin-left:9px;animation:ellon-thinking .75s alternate infinite}
#ellon-suggestions{display:flex;gap:6px;padding:0 17px 12px;flex-wrap:wrap;flex:none}#ellon-suggestions button{font-size:10px;color:#326277;padding:7px 9px;background:#eaf2f7;border:1px solid #dae8ef;border-radius:9px}
#ellon-form{display:flex;align-items:center;gap:10px;margin:0 15px;padding:10px 10px 10px 14px;border:1px solid #b5cedc;border-radius:14px;background:#fff;flex:none}#ellon-question{background:none;resize:none;width:100%;color:#173b52;font:13px/1.5 Inter;outline:0;border:0;min-height:38px;padding:3px 0}#ellon-question::placeholder{color:#8aa0ad}#ellon-send{width:36px;height:36px;background:#117ba9;border:0;border-radius:11px;color:#fff;font-size:23px;flex:none}#ellon-send:disabled{opacity:.4}
#ellon-chat footer{display:flex;gap:13px;padding:12px 20px 6px;align-items:center;flex:none}#ellon-chat footer button{font:10px Inter;color:#38718b;background:none;border:0;padding:3px 0}#ellon-chat footer button[aria-pressed=true]{color:#087f64}#ellon-clear{margin-left:auto}.ellon-disclosure{margin:5px 20px 15px;font-size:9px;line-height:1.6;color:#82949e;flex:none}.ellon-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#ellon-chat button{cursor:pointer}#ellon-chat button:focus-visible,#ellon-question:focus-visible{outline:2px solid #339de5;outline-offset:3px}
.export-mode #ellon-companion,.embed-mode #ellon-companion,.presenter-mode #ellon-companion,.export-mode #ellon-chat,.embed-mode #ellon-chat{display:none}
@keyframes ellon-breathe{0%,100%{translate:0 0}50%{translate:0 -3px}}@keyframes ellon-step{0%,100%{translate:0 0}50%{translate:0 -3px}}@keyframes ellon-talk{0%,100%{translate:0 0;rotate:-1deg}50%{translate:0 -2px;rotate:1deg}}@keyframes ellon-thinking{from{opacity:.2;scale:.7}to{opacity:1;scale:1.2}}@keyframes ellon-panel-in{from{opacity:0;translate:0 25px;scale:.95}to{opacity:1;translate:0 0;scale:1}}@keyframes ellon-bubble-in{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}
@media(max-width:700px){#ellon-companion{width:70px;height:98px;bottom:85px;left:15%}#ellon-mascot canvas{width:70px;height:84px}.ellon-name{font-size:7px;padding:3px 7px;gap:4px}.ellon-halo{bottom:21px}.ellon-tooltip{bottom:104px;left:0;width:164px;font-size:11px}#ellon-chat{right:12px;bottom:90px;width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:min(670px,calc(100dvh - 116px));border-radius:20px}#ellon-chat header{padding:10px 13px}#ellon-messages{padding:13px}.ellon-message{padding:11px 13px}.ellon-message p{font-size:12px}.ellon-context{padding:8px 15px}#ellon-chat h2{font-size:15px}#ellon-chat footer{padding:9px 17px 3px}.ellon-disclosure{margin-bottom:11px}.ellon-avatar{width:44px;height:50px}.ellon-avatar canvas{width:44px;height:50px}}
@media(prefers-reduced-motion:reduce){#ellon-companion *,#ellon-chat,#ellon-chat *{animation:none!important;transition:none!important}}

/* Articulated, draggable character. Motion is rendered by its joints. */
#ellon-companion{width:84px;height:124px;bottom:43px}
#ellon-mascot{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
#ellon-mascot canvas{width:84px;height:105px;animation:none!important;transform:none!important}
.ellon-dragging #ellon-mascot{cursor:grabbing;filter:drop-shadow(0 14px 14px #00192b50)}
.ellon-tooltip{bottom:135px;left:-50px;width:185px}
.ellon-scene-bubble{position:absolute;bottom:132px;left:50%;width:min(232px,calc(100vw - 24px));translate:calc(-50% + var(--bubble-offset,0px)) 0;padding:13px 15px 13px 16px;border:1px solid #cee4ed;background:#fffffff5;color:#17394e;border-radius:18px;box-shadow:0 12px 38px #00182732;font:13px/1.55 Inter,system-ui;opacity:0;visibility:hidden;transform:translateY(7px) scale(.96);transition:opacity .3s,transform .35s,visibility .3s;pointer-events:none;display:flex;align-items:center;gap:9px}
.ellon-scene-bubble:after{content:'';position:absolute;bottom:-6px;left:calc(50% - var(--bubble-offset,0px));width:11px;height:11px;background:#fff;transform:rotate(45deg);border-right:1px solid #cee4ed;border-bottom:1px solid #cee4ed}
.ellon-comment-visible .ellon-scene-bubble{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.ellon-comment-visible .ellon-tooltip,.ellon-chat-open .ellon-scene-bubble{display:none}
.ellon-comment-voice{background:#edf6fa;color:#0c7096;border:1px solid #d5e8f0;border-radius:50%;height:26px;width:26px;flex:none;cursor:pointer;font-size:14px}
.ellon-near-top .ellon-scene-bubble{bottom:auto;top:133px}
.ellon-near-top .ellon-scene-bubble:after{top:-6px;bottom:auto;rotate:180deg}
@media(max-width:700px){#ellon-companion{width:64px;height:96px;bottom:85px;left:15%}#ellon-mascot canvas{width:64px;height:80px}.ellon-scene-bubble{bottom:106px;font-size:12px;width:210px}.ellon-near-top .ellon-scene-bubble{top:106px}.ellon-tooltip{bottom:106px}}

/* Quiet glass dialogue and a badge-free silhouette. */
#ellon-companion{width:92px;height:114px}
#ellon-mascot canvas{width:92px;height:114px}
.ellon-name{display:none}
.ellon-halo{bottom:15px;opacity:.5}
.ellon-tooltip{bottom:116px;font-size:11px;padding:8px 10px;background:#08243877;color:#f3fbff;text-shadow:0 1px 3px #000;border-color:#ffffff24;backdrop-filter:blur(8px)}
.ellon-scene-bubble{bottom:116px;width:min(195px,calc(100vw - 24px));padding:8px 10px;gap:6px;background:#08243857;color:#f7fbff;border:1px solid #ffffff26;border-radius:13px;backdrop-filter:blur(8px) saturate(1.15);font:550 12px/1.45 Inter,system-ui;text-shadow:0 1px 2px #000,0 0 5px #000b;box-shadow:0 5px 15px #00142118;transition:opacity .16s,transform .2s,visibility .16s}
.ellon-scene-bubble:after{width:7px;height:7px;bottom:-4px;background:#08243857;border-color:#ffffff26}
.ellon-comment-voice{height:20px;width:20px;font-size:12px;background:#ffffff12;color:#fff;border-color:#ffffff30;text-shadow:0 1px 3px #000}
.ellon-near-top .ellon-scene-bubble{top:116px}
#ellon-chat{width:360px;height:min(540px,calc(100dvh - 125px));background:#0b2946ba;backdrop-filter:blur(18px) saturate(1.15);border-color:#b9dfef35;box-shadow:0 20px 60px #00162545;color:#edfaff;border-radius:19px}
#ellon-chat header{background:#06223980;padding:10px 13px;gap:9px}.ellon-avatar,.ellon-avatar canvas{width:40px;height:48px}#ellon-chat h2{font-size:15px}
.ellon-context{background:#ffffff08;border-color:#ffffff12;padding:8px 15px}.ellon-context b{color:#e4f4fc}.ellon-context span{color:#adcedd}
#ellon-messages{padding:13px}.ellon-message{background:#ffffff0b;border-color:#d2efff20;box-shadow:none;padding:10px 12px;margin-bottom:10px}.ellon-message p{color:#eff9ff;text-shadow:0 1px 2px #0008;font-size:13px;line-height:1.55}.ellon-message>span{color:#9cddfb}.ellon-message.user{background:#0a629d88}.ellon-message small{color:#b2cfde}.ellon-answer-tools button,#ellon-suggestions button{background:#ffffff0c;color:#d5eefb;border-color:#ffffff20}.ellon-answer-tools button:hover{background:#ffffff20}
#ellon-suggestions{padding:0 13px 9px;gap:4px}#ellon-suggestions button{font-size:9px;padding:6px 7px}
#ellon-form{background:#03223d60;border-color:#cdeaff35;margin:0 12px;padding:8px 9px}#ellon-question{color:#fff;font-size:12px}#ellon-question::placeholder{color:#a5c5d9}
#ellon-chat footer{padding:9px 15px 4px}#ellon-chat footer button{color:#c0dfef}.ellon-disclosure{color:#abc5d5;margin:4px 15px 10px;font-size:8px}
@media(max-width:700px){#ellon-companion{width:68px;height:84px}#ellon-mascot canvas{width:68px;height:84px}.ellon-scene-bubble{bottom:88px;width:180px;font-size:11px}.ellon-near-top .ellon-scene-bubble{top:88px}#ellon-chat{width:calc(100vw - 24px);height:min(510px,calc(100dvh - 115px))}}

#ellon-companion.ellon-under-chat{visibility:hidden}

/* Porcelain character, quiet controls and a bright conversation surface. */
.ellon-tooltip{width:max-content;left:50%;translate:-50% 0;padding:6px 9px;border-radius:7px;white-space:nowrap;font-size:10px;letter-spacing:.01em;box-shadow:0 3px 10px #00182712}
body[data-palette=light] .ellon-tooltip,body[data-palette=light] .ellon-scene-bubble{background:#f7fcff94;color:#31576e;border-color:#6796ae29;text-shadow:0 1px 1px #fff,0 0 4px #fffa}
body[data-palette=light] .ellon-scene-bubble:after{background:#f7fcff94;border-color:#6796ae29}
body[data-palette=light] .ellon-comment-voice{color:#347a9b;background:transparent;border-color:#719bad30;text-shadow:none}
#ellon-mascot{filter:drop-shadow(0 5px 8px #17456324)}
#ellon-minimize{right:-2px;top:2px;background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;text-shadow:0 1px 2px #ffffffa0;color:#496b83;font:300 23px/1 system-ui;opacity:.4;transition:opacity .18s}
#ellon-companion:is(:hover,:focus-within) #ellon-minimize{opacity:1}
body[data-palette=dark] #ellon-minimize{color:#d7edfa;text-shadow:0 1px 3px #061b35}
#ellon-restore{right:19px;bottom:79px;width:40px;height:34px;background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;padding:0;opacity:.75;transition:opacity .2s,translate .2s;filter:drop-shadow(0 2px 3px #17456320)}
#ellon-restore canvas{width:40px;height:34px;display:block}
#ellon-restore:hover,#ellon-restore:focus-visible{opacity:1;translate:0 -2px}
#ellon-chat{background:#f7fcffd9;color:#244660;border:1px solid #ffffffd9;box-shadow:0 18px 60px #123c6920,0 2px 8px #16496e0c;border-radius:18px;backdrop-filter:blur(22px) saturate(1.2);width:360px}
#ellon-chat header{background:linear-gradient(125deg,#ffffffcc,#dff3ff80);color:#163b58;border-bottom:1px solid #3676a51c;padding:12px 14px;gap:11px}
.ellon-avatar,.ellon-avatar canvas{width:52px;height:44px}
#ellon-chat header>div{min-width:0}#ellon-chat h2{font-size:16px;font-weight:650;margin-bottom:3px}
#ellon-service-status{color:#527891;font-size:11px}
#ellon-chat-minimize,#ellon-close{background:transparent;border:0;border-radius:0;box-shadow:none;color:#68889e;font-weight:300}
.ellon-context{background:#deeff755;border-color:#3676a51a;padding:9px 15px}.ellon-context span{color:#688499;font-size:9px}.ellon-context b{color:#325871;font-size:12px}
#ellon-messages{padding:15px;scrollbar-color:#90b6d2 transparent}
.ellon-message{background:#ffffff9c;border:1px solid #507fa815;border-radius:4px 14px 14px 14px;padding:11px 12px;box-shadow:none}
.ellon-message p{color:#294d64;text-shadow:none;font-size:14px;line-height:1.6}.ellon-message>span{color:#2a7b9e;font-size:9px}
.ellon-message.user{background:#e0f2fb;border:1px solid #2d84ae16;border-radius:14px 4px 14px 14px}.ellon-message.user p{color:#1a506d}.ellon-message.user>span{color:#397f9e}.ellon-message small{color:#638395;font-size:10px}
.ellon-answer-tools button,#ellon-suggestions button{color:#39748d;background:transparent;border-color:#4d9ac029;border-radius:6px;font-size:11px}.ellon-answer-tools button:hover,#ellon-suggestions button:hover{background:#d7edf8}
#ellon-suggestions{padding:0 14px 10px;gap:5px}#ellon-suggestions button{padding:6px 8px}
#ellon-form{background:#ffffffbb;border-color:#669cb53d;border-radius:12px;padding:9px 10px;margin:0 13px}
#ellon-question{color:#244d67;font-size:14px}#ellon-question::placeholder{color:#7693a7}
#ellon-send{background:#207dab;color:#fff;border-radius:8px}
#ellon-chat footer{padding:10px 15px 5px}#ellon-chat footer button{color:#4d7d94;font-size:11px}
.ellon-disclosure{color:#6a879a;font-size:10px;line-height:1.45;margin:4px 15px 12px}
@media(max-width:700px){#ellon-chat{width:calc(100vw - 24px);height:min(570px,calc(100dvh - 115px))}#ellon-chat h2{font-size:15px}#ellon-service-status{font-size:10px}.ellon-avatar,.ellon-avatar canvas{width:44px;height:38px}#ellon-restore{bottom:88px;width:34px;height:29px;right:13px}#ellon-restore canvas{width:34px;height:29px}.ellon-disclosure{font-size:9px}#ellon-chat header{gap:8px}}
