.elena-widget{position:fixed;z-index:1000;right:18px;bottom:14px;font-family:'DM Sans',Arial,sans-serif;color:#172b4a}.elena-widget *{box-sizing:border-box}.elena-launch{display:flex;flex-direction:column;align-items:center;justify-content:end;width:132px;height:170px;border:0;background:transparent;cursor:pointer;color:#fff}.elena-poses{position:relative;display:block;width:124px;height:154px;filter:drop-shadow(0 8px 12px #0009);animation:elena-float 4s ease-in-out infinite}.elena-poses img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .45s ease}.elena-poses .idle,.elena-widget[data-pose=idle] .idle,.elena-widget[data-pose=glasses] .glasses,.elena-widget[data-pose=wave] .wave{opacity:1}.elena-widget[data-pose=glasses] .idle,.elena-widget[data-pose=wave] .idle{opacity:0}.elena-launch-label{margin-top:-5px;position:relative;padding:3px 12px;border-radius:20px;background:#3858a8;font-size:12px;font-weight:700}.elena-launch:focus-visible,.elena-panel button:focus-visible,.elena-panel input:focus-visible{outline:3px solid #79b8ff;outline-offset:3px}.elena-pop{position:absolute;right:120px;bottom:105px;width:max-content;max-width:min(265px,calc(100vw - 155px));padding:13px 16px;background:#fff;border-radius:16px 16px 4px 16px;box-shadow:0 7px 25px #0005;color:#172b4a;font-size:15px;line-height:1.35;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .25s,transform .25s}.elena-pop.visible{opacity:1;transform:translateY(0)}.elena-panel{position:absolute;right:0;bottom:175px;width:min(370px,calc(100vw - 28px));height:min(510px,calc(100dvh - 210px));min-height:280px;background:#f6f8ff;border:1px solid #b8c9ee;border-radius:18px;box-shadow:0 18px 55px #0008;overflow:hidden;display:flex;flex-direction:column}.elena-panel[hidden]{display:none}.elena-panel header{background:#142c60;color:#fff;padding:14px 15px;display:flex;align-items:center;justify-content:space-between}.elena-panel header strong,.elena-panel-sub{display:block}.elena-panel-sub{font-size:12px;color:#d3e1ff}.elena-panel header button{width:36px;height:36px;color:#fff;border:1px solid #ffffff55;border-radius:8px;background:transparent;font-size:22px;cursor:pointer}.elena-panel header button[aria-pressed=true]{background:#4671c1}.elena-messages{flex:1;overflow:auto;padding:15px;display:flex;flex-direction:column;gap:9px}.elena-message{margin:0;padding:10px 12px;border-radius:14px;max-width:90%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.45}.elena-message.assistant{align-self:flex-start;background:#e1eafb;color:#172b4a}.elena-message.user{align-self:flex-end;background:#315eb8;color:#fff}.elena-privacy{font-size:11px;line-height:1.35;color:#50647f;margin:0;padding:4px 14px}.elena-form{display:flex;gap:8px;padding:10px 12px 13px}.elena-form input{min-width:0;flex:1;padding:10px;border:1px solid #aabbd9;border-radius:8px;background:white;color:#172b4a;font:inherit;font-size:14px}.elena-form button{border:0;border-radius:8px;background:#315eb8;color:white;padding:0 14px;font-weight:700;cursor:pointer}.elena-form button:disabled{opacity:.5}.elena-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@keyframes elena-float{50%{transform:translateY(-5px) rotate(1deg)}}@media(max-width:600px){.elena-widget{right:8px;bottom:8px}.elena-launch{width:102px;height:132px}.elena-poses{width:96px;height:119px}.elena-pop{right:92px;bottom:74px;max-width:calc(100vw - 115px);font-size:14px}.elena-panel{bottom:136px;right:0;height:min(490px,calc(100dvh - 160px))}}@media(prefers-reduced-motion:reduce){.elena-poses{animation:none}.elena-poses img,.elena-pop{transition:none}}
.elena-message a{color:#164a96;text-decoration:underline;font-weight:700}
.elena-motion{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;pointer-events:none}.elena-widget.has-motion .elena-motion{opacity:1}.elena-widget.has-motion .elena-poses img{opacity:0}@media(prefers-reduced-motion:reduce){.elena-motion{display:none}}
.elena-panel{min-height:0}
.elena-plan-link{align-self:flex-start;margin:0 14px;color:#23559c;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:2px}
/* Opera can inject a video pop-out control over Elena's decorative animation. */
#detach-button-host{display:none!important}

.elena-widget.has-motion .elena-motion{opacity:0;transition:opacity .45s ease}.elena-widget.has-motion .elena-motion.active{opacity:1}@media(prefers-reduced-motion:reduce){.elena-motion{transition:none}}
