.coco-assistant{font:14px Ubuntu,system-ui,sans-serif;color:#edf0f6}.coco-assistant[hidden]{display:none}.ca-launch{position:fixed;bottom:22px;right:22px;z-index:710;display:flex;align-items:center;gap:8px;background:#e9edf5;color:#172132;border:1px solid #a6b4c7;border-radius:30px;padding:10px 17px 10px 10px;box-shadow:0 8px 30px #0003;cursor:pointer;font:600 13px Ubuntu,system-ui,sans-serif}.ca-launch img{width:29px;height:29px}.ca-panel{position:fixed;bottom:83px;right:22px;width:min(390px,calc(100vw - 28px));height:min(630px,calc(100dvh - 115px));display:flex;flex-direction:column;z-index:720;background:#171d26;color:#edf0f6;border:1px solid #414b5c;border-radius:23px;box-shadow:0 24px 100px #0005;overflow:hidden}.ca-panel[hidden]{display:none}.ca-panel header{display:flex;gap:10px;padding:17px;align-items:center;border-bottom:1px solid #313b49}.ca-panel header img{width:34px;height:34px}.ca-panel header div{flex:1}.ca-panel header b{display:block;font-size:18px}.ca-panel header small{display:block;color:#96a5bc;font-size:10px;margin-top:3px}.ca-panel button{font:inherit;cursor:pointer;color:inherit}.ca-panel header button{background:transparent;border:0;padding:7px;font-size:20px}.ca-context{padding:10px 17px;color:#95a9c4;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#1e2734}.ca-messages{flex:1;min-height:100px;overflow:auto;padding:16px;overscroll-behavior:contain}.ca-message{padding:12px 14px;border-radius:15px;background:#232e3f;margin:0 20px 12px 0}.ca-message.ca-user{background:#34334a;margin:0 0 12px 20px}.ca-message small{font-size:9px;letter-spacing:.05em;color:#a6b8d2}.ca-message p{font-size:12px;white-space:pre-wrap;line-height:1.8;margin:7px 0 0;overflow-wrap:anywhere}.ca-welcome{text-align:center;padding:25px 16px}.ca-welcome img{width:54px;height:54px;margin:0 auto 15px}.ca-welcome h3{font-size:21px;letter-spacing:-.03em}.ca-welcome p{font-size:12px;line-height:1.8;color:#a3b0c5}.ca-suggestions{display:flex;gap:6px;flex-wrap:wrap;padding:9px 15px}.ca-suggestions button{border:1px solid #414d61;background:#252d3a;border-radius:16px;padding:6px 9px;font-size:10px}.ca-panel form{display:flex;align-items:flex-end;gap:8px;margin:0 14px 10px;border:1px solid #4a566a;border-radius:16px;padding:8px;background:#232b38}.ca-panel textarea{width:100%;resize:none;border:0;background:transparent;color:#edf0f6;font:12px Ubuntu,system-ui,sans-serif;line-height:1.6;padding:4px;min-height:43px;outline:none}.ca-panel form button{border:0;border-radius:50%;min-width:34px;height:34px;background:#bbceec;color:#152338;font-size:22px}.ca-panel footer{display:flex;justify-content:space-between;padding:0 16px 12px;color:#8e9db4;font-size:9px}.ca-settings{padding:14px 18px;background:#202938;max-height:220px;overflow:auto}.ca-settings[hidden]{display:none}.ca-settings label{font-size:11px}.ca-settings input{width:100%;margin-top:8px;background:#141b25;border:1px solid #516078;border-radius:8px;padding:10px;color:white}.ca-settings p{font-size:10px;line-height:1.7;color:#a7b6cc}.ca-settings button{border:1px solid #55657e;background:transparent;border-radius:12px;padding:7px 10px;font-size:10px}.ca-thinking{font-size:11px;color:#9eb9e2}.ca-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ca-panel button:focus-visible,.ca-launch:focus-visible{outline:2px solid #a9c7fb;outline-offset:3px}@media(max-width:700px){.ca-launch{bottom:12px;right:12px;padding:8px}.ca-launch span{display:none}.ca-panel{bottom:70px;right:14px;height:min(600px,calc(100dvh - 90px))}}@media(prefers-reduced-motion:reduce){.ca-panel,.ca-launch{animation:none;transition:none}}

/* Coco companion: the image is original artwork; motion stays subtle and optional. */
.ca-companion{position:fixed;right:20px;bottom:14px;width:106px;height:124px;z-index:710}
.ca-companion .ca-launch{position:relative;inset:auto;display:block;width:106px;height:112px;padding:0;border:0;border-radius:38%;background:transparent;box-shadow:none;animation:ca-hover 4.8s ease-in-out infinite;transform-origin:50% 65%;-webkit-tap-highlight-color:transparent}
.ca-companion .ca-launch img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 5px 9px #0003)}
.ca-shadow{position:absolute;bottom:1px;left:25px;width:56px;height:9px;border-radius:50%;background:#0004;filter:blur(5px);animation:ca-shadow 4.8s ease-in-out infinite;pointer-events:none}
.ca-greeting{position:absolute;right:114px;bottom:41px;width:220px;padding:16px 18px;background:#202127;border:1px solid #494b55;border-radius:20px 20px 4px 20px;box-shadow:0 10px 36px #0004;opacity:0;visibility:hidden;transform:translate(8px,4px) scale(.97);transition:opacity .18s,transform .18s,visibility .18s;pointer-events:none}
.ca-greeting:after{content:"";position:absolute;right:-13px;top:0;bottom:0;width:15px}
.ca-greeting b,.ca-greeting>span{display:block}.ca-greeting b{font-size:15px;font-weight:500}.ca-greeting>span{font-size:12px;color:#aeb0bd;margin-top:6px;line-height:1.5}
.ca-greeting button{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:13px;padding:9px 11px;border:1px solid #e4aa74;border-radius:11px;background:#ffca91;color:#322416;font:500 12px Ubuntu,system-ui,sans-serif;cursor:pointer}
.ca-companion:hover .ca-greeting,.ca-companion:focus-within .ca-greeting{opacity:1;visibility:visible;transform:none;pointer-events:auto}
.ca-open .ca-greeting{display:none}.ca-open .ca-launch{animation-play-state:paused}
.ca-panel{bottom:145px;height:min(630px,calc(100dvh - 170px))}.ca-panel header img{object-fit:contain;width:42px;height:44px}.ca-welcome img{object-fit:contain;width:76px;height:86px;margin-bottom:5px}
@keyframes ca-hover{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-7px) rotate(2deg)}}
@keyframes ca-shadow{0%,100%{transform:scaleX(1);opacity:.5}50%{transform:scaleX(.76);opacity:.28}}
@media(max-width:700px){.ca-companion{right:8px;bottom:8px;width:80px;height:96px}.ca-companion .ca-launch{width:80px;height:88px}.ca-shadow{left:19px;width:42px}.ca-greeting{right:86px;bottom:25px;width:min(220px,calc(100vw - 110px))}.ca-panel{bottom:108px;max-height:calc(100dvh - 124px)}}
@media(prefers-reduced-motion:reduce){.ca-companion .ca-launch,.ca-shadow{animation:none}.ca-greeting{transition:none}}

.ca-creature{display:block;width:100%;height:100%;overflow:visible;pointer-events:none;filter:drop-shadow(0 5px 8px #0003)}
.ca-wave{transform-box:view-box;transform-origin:875px 637px;animation:ca-wave 7s ease-in-out infinite}
@keyframes ca-wave{0%,52%,78%,100%{transform:rotate(0)}58%,70%{transform:rotate(-6deg)}64%,75%{transform:rotate(2deg)}}
.ca-companion:hover .ca-wave{animation-duration:2s}
@media(prefers-reduced-motion:reduce){.ca-wave{animation:none}}

/* After inactivity only the crest and eyes peek above the screen edge. */
.ca-companion{transition:transform .6s cubic-bezier(.22,1,.36,1)}
.ca-peeking .ca-companion{transform:translate(12px,90px)}
.ca-peeking .ca-companion .ca-launch{animation:none;transform:none}
.ca-peeking .ca-wave{animation-play-state:paused}
.ca-peeking .ca-shadow{opacity:0;animation:none}
.ca-peeking .ca-greeting{visibility:hidden;opacity:0;pointer-events:none}
@media(max-width:700px){.ca-peeking .ca-companion{transform:translateY(66px)}}
@media(prefers-reduced-motion:reduce){.ca-companion{transition:none}}
/* Keep the corner hover area stable while Coco slides upward. */
.ca-companion::after{content:"";position:absolute;top:0;left:0;right:-20px;bottom:-14px;z-index:-1}
/* Original Coco model supplied by the team; Rico stays reserved for future roles. */
.ca-companion{width:126px;height:146px;right:10px;bottom:8px}
.ca-companion .ca-launch{width:126px;height:136px;animation:none}
.ca-companion .ca-launch .ca-avatar{display:block;position:relative;width:100%;height:100%}
.ca-avatar>img,.ca-model{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.ca-avatar>img[hidden],.ca-model[hidden]{display:none!important}
.ca-model{filter:drop-shadow(0 5px 8px #0003)}
.ca-zzz{display:none;position:absolute;right:2px;top:19%;font:500 15px Ubuntu,system-ui,sans-serif;letter-spacing:3px;color:#bdc8de;text-shadow:0 2px 7px #111;animation:ca-doze 3s ease-in-out infinite}
[data-coco-state=sleep] .ca-zzz{display:block}
.ca-peeking .ca-companion{transform:translateY(72px)}
.ca-companion .ca-shadow{left:35px}
.ca-greeting{right:132px}
.ca-panel{bottom:163px;height:min(630px,calc(100dvh - 182px))}
.ca-model-fallback .ca-avatar>img{animation:ca-breathe 4s ease-in-out infinite;transform-origin:50% 90%}
@keyframes ca-breathe{50%{transform:scale(1.015,1.025) rotate(-1deg)}}
@keyframes ca-doze{0%,100%{opacity:.35;transform:translateY(1px)}50%{opacity:.9;transform:translateY(-6px)}}
@media(max-width:700px){.ca-companion{width:96px;height:118px;right:6px;bottom:6px}.ca-companion .ca-launch{width:96px;height:108px}.ca-peeking .ca-companion{transform:translateY(58px)}.ca-greeting{right:102px;width:min(220px,calc(100vw - 122px))}.ca-panel{bottom:128px;height:min(600px,calc(100dvh - 146px))}.ca-companion .ca-shadow{left:25px}}
@media(prefers-reduced-motion:reduce){.ca-zzz,.ca-model-fallback .ca-avatar>img{animation:none}}
/* Compact, grounded companion. Preferences never hide the settings/chat panel. */
.ca-companion{width:84px;height:104px;right:8px;bottom:0}
.ca-companion .ca-launch{width:84px;height:96px;animation:none;transform:none}
.ca-companion .ca-shadow{left:21px;bottom:4px;width:42px;animation:none;opacity:.25}
.ca-peeking .ca-companion{transform:translateY(48px)}
.ca-greeting{right:92px;bottom:30px}.ca-panel{bottom:112px;height:min(630px,calc(100dvh - 132px))}
.ca-mascot-hidden .ca-companion{display:none}
.ca-behavior{border:0;border-bottom:1px solid #445067;margin:0 0 14px;padding:0 0 12px}.ca-behavior legend{font-size:14px;margin-bottom:8px}.ca-settings .ca-behavior label{display:flex;align-items:center;gap:9px;margin:9px 0}.ca-settings .ca-behavior input{width:auto;margin:0;accent-color:#ffbc83}
.ca-model-fallback .ca-avatar>img{animation:none;transform:none}
[data-coco-animated=false] .ca-companion,[data-coco-animated=false] .ca-zzz,[data-coco-animated=false] .ca-shadow{animation:none!important;transition:none!important}
@media(max-width:700px){.ca-companion{width:72px;height:90px;right:6px;bottom:0}.ca-companion .ca-launch{width:72px;height:82px}.ca-peeking .ca-companion{transform:translateY(34px)}.ca-greeting{right:80px;width:min(220px,calc(100vw - 100px))}.ca-companion .ca-shadow{left:18px;width:36px}.ca-panel{bottom:98px;height:min(600px,calc(100dvh - 116px))}}
/* Compact conversation and a bubble above the standing companion. */
.ca-panel{width:min(308px,calc(100vw - 24px));height:min(390px,calc(100dvh - 120px));right:12px;bottom:108px;border-radius:18px}
.ca-panel header{padding:10px 12px;gap:8px}.ca-panel header b{font-size:15px}.ca-panel header img{width:28px;height:30px}.ca-messages{padding:10px;min-height:70px}.ca-message{padding:8px 10px;margin-bottom:8px;border-radius:12px}.ca-message p{font-size:12px;line-height:1.55}.ca-welcome{padding:10px 8px}.ca-welcome img{width:42px;height:48px}.ca-welcome h3{font-size:16px;margin:6px 0}.ca-welcome p{font-size:11px;line-height:1.5;margin:8px 0}.ca-suggestions{padding:5px 10px;gap:4px}.ca-suggestions button{font-size:10px;padding:5px 7px}.ca-panel form{margin:5px 10px 8px;padding:4px 6px}.ca-panel textarea{min-height:28px;max-height:72px}.ca-panel footer{padding:0 11px 8px}.ca-greeting{right:0;bottom:108px;width:190px;padding:11px 13px;border-radius:15px 15px 4px 15px;opacity:1;visibility:visible;transform:none;pointer-events:auto}.ca-greeting b{font-size:13px}.ca-greeting>span{font-size:11px;margin-top:4px}.ca-greeting button{margin-top:8px;padding:6px 9px;font-size:11px}.ca-peeking .ca-greeting{visibility:hidden;opacity:0;pointer-events:none}.ca-behavior{display:none}.ca-preferences-open .ca-behavior{display:block}
@media(max-width:700px){.ca-panel{width:min(292px,calc(100vw - 20px));height:min(360px,calc(100dvh - 110px));bottom:94px;right:10px}.ca-greeting{bottom:94px;right:0;width:178px}}
/* A warm, small speech bubble matching the supplied cream-and-coral mascots. */
.ca-greeting{width:153px;bottom:106px;padding:10px 23px 10px 11px;border:1px solid #edceb6;background:#fff1df;color:#46372d;border-radius:17px 17px 5px 17px;box-shadow:0 4px 18px #432d2020}
.ca-greeting[hidden]{display:none!important}.ca-greeting .ca-bubble-open{display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;font:inherit}.ca-greeting .ca-bubble-open b{font-size:11px;line-height:1.4;font-weight:600}.ca-greeting .ca-bubble-open>span{display:block;font-size:10px;color:#786150;line-height:1.4;margin-top:3px}.ca-greeting .ca-dismiss{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:22px;height:22px;min-width:22px;margin:0;padding:0;border:0;background:transparent;color:#97765d;font-size:16px;line-height:1}.ca-greeting .ca-dismiss:hover{color:#c84d3b;background:#fbe0c8}
.ca-character-picker{display:flex;gap:7px;padding:7px 10px;border-bottom:1px solid #313b49}.ca-character-picker button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:5px 10px;border:1px solid #414b5c;border-radius:10px;background:transparent;color:#b9c2d1;font:12px Ubuntu,system-ui,sans-serif;cursor:pointer}.ca-character-picker button[aria-pressed=true]{background:#fff0dc;color:#49372c;border-color:#efbc8b}.ca-character-picker img{width:23px;height:27px;object-fit:contain}.ca-nap{position:absolute;left:-13px;bottom:9px;width:25px;height:25px;display:grid;place-items:center;padding:0;border:1px solid #e8c9ad;border-radius:50%;background:#fff1df;color:#8a6750;font:600 9px Ubuntu,system-ui,sans-serif;cursor:pointer;z-index:2}.ca-peeking .ca-nap{display:none}.ca-panel header [data-ca-nap]{font-size:11px}
@media(max-width:700px){.ca-greeting{width:145px;bottom:92px}}
.ca-peeking .ca-companion .ca-greeting{visibility:hidden!important;opacity:0!important;pointer-events:none}
/* User-positioned companion. The conversation follows and stays inside the viewport. */
.ca-companion .ca-launch{touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.ca-dragging .ca-companion{transition:none!important}.ca-dragging .ca-launch{cursor:grabbing}.ca-dragging .ca-greeting{visibility:hidden!important;opacity:0!important}.ca-dragging .ca-companion::after{display:none}
.coco-assistant[data-bubble-left=true] .ca-greeting{left:0;right:auto}.coco-assistant[data-bubble-below=true] .ca-greeting{top:108px;bottom:auto;border-radius:5px 17px 17px 17px}
.coco-assistant[data-companion-positioned=true].ca-peeking .ca-companion{top:calc(100dvh - 104px)!important}
.ca-panel form{margin-bottom:10px}
@media(max-width:700px){.coco-assistant[data-companion-positioned=true].ca-peeking .ca-companion{top:calc(100dvh - 90px)!important}}

/* Coco is the single companion. Sleeping letters stay just above his right side. */
.ca-companion .ca-avatar .ca-zzz{right:-2px;top:-2px;font-size:12px;letter-spacing:1px;line-height:1;animation:ca-doze-close 3s ease-in-out infinite;text-shadow:0 1px 3px #252b3655;color:#8f9db1}
@keyframes ca-doze-close{0%,100%{opacity:.4;transform:translateY(0)}50%{opacity:.9;transform:translateY(-2px)}}
.ca-suggestions[hidden],.ca-examples[hidden]{display:none!important}.ca-panel form .ca-more{align-self:center;flex:0 0 28px;width:28px;height:28px;padding:0;border:0;background:transparent;color:#aebed2;font:700 20px/1 Ubuntu,system-ui,sans-serif;letter-spacing:1px}.ca-panel form .ca-more:hover,.ca-panel form .ca-more[aria-expanded=true]{background:#344052;color:#fff}.ca-examples{position:absolute;z-index:5;left:9px;right:9px;top:62px;bottom:55px;border:1px solid #455268;border-radius:13px;background:#202a38;box-shadow:0 10px 30px #0004;display:flex;flex-direction:column;overflow:hidden}.ca-examples header{padding:12px;border-bottom:1px solid #3a4658}.ca-examples header b{font-size:12px}.ca-examples header small{display:block;font-size:9px;color:#a2b0c3;margin-top:3px}.ca-examples header button{border:0;background:transparent;color:inherit;font-size:19px}.ca-examples>div{overflow:auto;padding:4px 10px 10px;scrollbar-width:thin}.ca-examples h4{font:500 9px Ubuntu,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#91a2b9;margin:13px 5px 5px}.ca-examples section>button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;text-align:left;padding:8px 7px;border:0;border-radius:8px;background:transparent;color:#eef0f5;font:11px/1.4 Ubuntu,system-ui,sans-serif;cursor:pointer}.ca-examples section>button:hover{background:#354257}.ca-examples section>button span{color:#a2b3ca}.ca-examples button:focus-visible,.ca-more:focus-visible{outline:2px solid #efbca0;outline-offset:-2px}
