/* Illumicole identity; layout rules stay scoped to branding elements. */
img.illumicole-logo{display:block;width:195px;max-width:100%;height:auto;object-fit:contain}
.sidebar a.brand{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:0 6px}
.sidebar a.brand small{font-size:11px;font-weight:400;color:#64736e;letter-spacing:0;padding-left:4px}
.mobile-top>a img.illumicole-logo{width:140px;height:45px;object-fit:contain}
.site-header a.brand{display:block;line-height:0}
.auth-intro a.brand,.app>aside a.brand{display:block}
.auth-intro .brand span,.app>aside .brand span{margin-top:6px}
@media(max-width:650px){.site-header img.illumicole-logo{width:150px}.site-header nav{gap:12px}.site-header nav a{font-size:12px}}
@media(max-width:900px){.sidebar a.brand{display:none}}
/* Dedicated vector character: transparent silhouette, no logo crop or tile. */
.assistant-character{display:block;width:40px;height:44px;flex:0 0 auto;overflow:visible;pointer-events:none}
.chat-head .chat-identity{display:flex;align-items:center;gap:9px;min-width:0}
.chat-head .assistant-character{filter:drop-shadow(0 1px 1px #0002)}
button.chat-launcher{display:grid;place-items:center;padding:0;width:76px;height:84px;border:0;border-radius:24px;background:transparent;box-shadow:none;bottom:12px;right:14px;transition:transform .18s ease}
button.chat-launcher:hover{background:transparent;transform:translateY(-3px)}
button.chat-launcher:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
.chat-launcher .assistant-character{width:76px;height:84px;filter:drop-shadow(0 3px 3px #173c3220)}
.chat-widget{bottom:104px;height:min(560px,calc(100dvh - 124px))}
/* A short greeting, then stillness; hover/focus can greet again. */
.chat-launcher .mascot-body{transform-origin:73px 140px;animation:mascot-hello 3.8s ease-in-out 1}
.chat-launcher .mascot-eyes{transform-origin:73px 84px;animation:mascot-blink 3.8s ease-in-out 1}
.chat-launcher .mascot-wave{transform-origin:31px 90px;animation:mascot-wave 3.8s ease-in-out 1}
.chat-launcher:is(:hover,:focus-visible) .mascot-body{animation-name:mascot-hello-hover}
.chat-launcher:is(:hover,:focus-visible) .mascot-wave{animation-name:mascot-wave-hover}
@keyframes mascot-hello{0%,100%{transform:translateY(0) rotate(0)}35%,65%{transform:translateY(-3px) rotate(-2deg)}}
@keyframes mascot-hello-hover{0%,100%{transform:translateY(0) rotate(0)}35%,65%{transform:translateY(-3px) rotate(-2deg)}}
@keyframes mascot-blink{0%,24%,30%,74%,80%,100%{transform:scaleY(1)}27%,77%{transform:scaleY(.12)}}
@keyframes mascot-wave{0%,15%,70%,100%{transform:rotate(0)}25%,45%,65%{transform:rotate(12deg)}35%,55%{transform:rotate(-10deg)}}
@keyframes mascot-wave-hover{0%,15%,70%,100%{transform:rotate(0)}25%,45%,65%{transform:rotate(12deg)}35%,55%{transform:rotate(-10deg)}}
@media(prefers-reduced-motion:reduce){button.chat-launcher{transition:none}button.chat-launcher:hover{transform:none}.chat-launcher .mascot-body,.chat-launcher .mascot-eyes,.chat-launcher .mascot-wave{animation:none!important}}
@media print{button.chat-launcher{display:none!important}}
