.so-soreai-launch{position:fixed;right:22px;bottom:22px;z-index:88;width:76px;height:76px;display:grid!important;place-items:center;padding:3px;border:1px solid #c6a577;border-radius:50%;background:#211e19;box-shadow:0 8px 28px #0005;cursor:pointer}
.so-soreai-launch[aria-expanded=true]{display:none!important}
.so-companion-mascot{display:block;object-fit:contain;flex:none;filter:drop-shadow(0 3px 5px #0003)}
.so-soreai-launch-label{position:absolute;right:calc(100% + 10px);white-space:nowrap;padding:9px 12px;border-radius:9px;background:#211e19;color:#f6efe3;font:600 13px/1.3 'Paralucent',sans-serif;opacity:0;pointer-events:none}
.so-soreai-launch:hover .so-soreai-launch-label,.so-soreai-launch:focus-visible .so-soreai-launch-label{opacity:1}
.so-companion-window.so-soreai{position:fixed;z-index:90;right:20px;bottom:20px;width:min(520px,calc(100vw - 32px));height:min(820px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);display:none;flex-direction:column;overflow:hidden;border:1px solid #b28d5c;border-radius:22px;background:#fbf8f3;color:#211e19;box-shadow:0 22px 75px #0005,0 3px 12px #0003;font-family:'Paralucent',sans-serif}
.so-companion-window.is-open{display:flex}.so-companion-window[hidden]{display:none!important}
.so-companion-window.is-expanded{width:min(850px,calc(100vw - 48px));right:max(24px,calc((100vw - 850px)/2))}
.so-companion-window .so-soreai-top{display:flex;align-items:center;gap:10px;padding:14px 16px;flex:none;border-bottom:1px solid #c6a57755;background:#f3ede3}
.so-companion-window .so-soreai-top>.so-companion-mascot{width:52px;height:52px}
.so-companion-window .so-soreai-top>div{flex:1;min-width:0}.so-companion-window .so-soreai-top .kicker{display:none}
.so-companion-window .so-soreai-top h2{margin:0;font:600 22px/1.25 'Paralucent',sans-serif;color:#211e19}
.so-companion-status{display:block;margin-top:4px;font-size:13px;color:#74644e}
.so-companion-window .so-soreai-x,.so-companion-expand{width:44px;height:44px;padding:0;flex:none;background:transparent;color:#654c2d;border:1px solid #c6a57755;border-radius:12px;font-size:25px;cursor:pointer}
.so-companion-window .so-soreai-log{display:flex;flex-direction:column;align-items:stretch;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:22px 20px;gap:16px;scrollbar-width:thin;scrollbar-color:#aa8555 #efe8dd}
.so-companion-window .so-soreai-log::-webkit-scrollbar{width:7px}.so-companion-window .so-soreai-log::-webkit-scrollbar-thumb{background:#aa8555;border-radius:10px}
.so-companion-window .so-soreai-msg{align-self:flex-start;max-width:94%;margin:0;padding:0;border:0;background:transparent;font-size:17px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.so-companion-window .so-soreai-msg.is-user{align-self:flex-end;padding:12px 16px;border-radius:16px 16px 4px 16px;background:#ede3d3;color:#211e19}
.so-companion-window .so-soreai-msg.is-status{font-size:15px;color:#77533c}.so-companion-window .so-soreai-meta{font-size:12px;display:block;color:#74644e}
.so-companion-window .so-soreai-chips{display:flex;flex-wrap:wrap;gap:8px;padding:10px 18px;flex:none}
.so-companion-window .so-soreai-chips button{font:500 13px/1.4 'Paralucent',sans-serif;text-transform:none;letter-spacing:0;min-height:36px;border:1px solid #bda98a66;border-radius:18px;background:transparent;color:#654c2d;padding:6px 12px;cursor:pointer}
.so-companion-window form[data-soreai-form]{display:flex;gap:10px;align-items:center;flex:none;padding:14px 16px 18px;margin:0;border-top:1px solid #c6a57755;background:#fbf8f3}
.so-companion-window #so-soreai-q{flex:1;min-width:0;min-height:48px;padding:12px;border:1px solid #c5b79e;border-radius:12px;background:white;color:#211e19;font:400 16px/1.5 'Paralucent',sans-serif}
.so-companion-window form button[type=submit]{min-width:48px;min-height:48px;border:0;border-radius:14px;background:#806039;color:white;font-size:20px;cursor:pointer}
.so-companion-window button:disabled{opacity:.45;cursor:wait}.so-companion-window :focus-visible,.so-soreai-launch:focus-visible{outline:2px solid #806039;outline-offset:3px}
.so-companion-more{flex:none;min-height:32px;border:0;border-top:1px solid #c6a57733;background:#f3ede3;color:#654c2d;font-size:13px;cursor:pointer}.so-companion-more[hidden]{display:none}
.so-companion-backdrop{position:fixed;inset:0;border:0;z-index:89;background:#17130f40;cursor:default}.so-companion-backdrop[hidden]{display:none}
.so-companion-sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
[data-companion-state=working] .so-companion-mascot{animation:so-companion-breathe 2.6s ease-in-out infinite}
.so-soreai-launch[data-companion-state=done]:after{content:'';position:absolute;right:5px;top:6px;width:10px;height:10px;border:2px solid #211e19;border-radius:50%;background:#ebce9c}
@keyframes so-companion-breathe{50%{transform:translateY(-3px) scale(1.035)}}
@media(max-width:767px){.so-soreai-launch{width:62px;height:62px;right:14px;bottom:calc(82px + env(safe-area-inset-bottom,0px))}.so-soreai-launch .so-companion-mascot{width:56px;height:56px}.so-companion-window.so-soreai,.so-companion-window.is-expanded{right:12px;bottom:calc(76px + env(safe-area-inset-bottom,0px));width:calc(100vw - 24px);height:calc(100dvh - 118px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));max-height:none;border-radius:20px}.so-companion-window.keyboard-open{bottom:calc(var(--so-keyboard,0px) + 8px);height:calc(100dvh - var(--so-keyboard,0px) - 28px - env(safe-area-inset-top,0px))}.so-companion-window .so-soreai-top{padding:10px;gap:8px}.so-companion-window .so-soreai-log{padding:18px 16px}.so-companion-window .so-soreai-chips{padding:6px 12px}.so-companion-window .so-soreai-chips button{font-size:12px}.so-companion-status{font-size:12px}.so-companion-window .so-soreai-top>.so-companion-mascot{width:44px;height:44px}.so-companion-window.keyboard-open .so-soreai-chips{display:none}}
@media(prefers-reduced-motion:reduce){.so-companion-mascot{animation:none!important;transition:none!important}}
