/* Interaction layer: consistent focus, compact discovery and the animated brand mark. */
html[data-theme] body.hodhod-v2 .unified-sidebar .sidebar-discovery{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:8px}
html[data-theme] body.hodhod-v2 .unified-sidebar .discovery-tile{display:flex!important;box-sizing:border-box!important;width:100%;min-width:0;gap:6px!important;padding:8px 7px!important;overflow:hidden}
html[data-theme] .unified-sidebar .discovery-tile>span:not(.discovery-icon){min-width:0;white-space:nowrap;font-size:11px;line-height:1.8}
html[data-theme] .unified-sidebar .discovery-icon{width:26px;height:28px;flex:0 0 26px}
html[data-theme] .unified-sidebar .discovery-chevron{width:11px!important;height:11px!important;min-width:11px;flex:0 0 11px;margin-inline-start:auto!important}
html[data-theme] .unified-sidebar .tool-discovery{min-width:0}
html[data-theme] .unified-sidebar .tool-discovery>summary:after,html[data-theme] .unified-sidebar .tool-discovery>summary:before{display:none!important;content:none!important}
html[data-theme] .unified-sidebar .tool-discovery .workspace-links{overflow:hidden}
/* Input focus never adds an inset frame or changes dimensions. Keyboard focus remains visible. */
html[data-theme] body.hodhod-v2 :is(input:not([type=checkbox]):not([type=radio]),select,textarea):is(:focus,:focus-visible),html[data-theme] .server-admin :is(input:not([type=checkbox]):not([type=radio]),select,textarea):is(:focus,:focus-visible){outline:0!important;outline-offset:0!important;border-color:#879dce!important;box-shadow:0 0 0 2px #607fbc15!important}
html[data-theme] body.hodhod-v2 .composer-box:focus-within{border-color:#9bafd5!important;box-shadow:0 0 0 2px #6684bb10!important}
html[data-theme] body.hodhod-v2 .composer-box textarea:is(:focus,:focus-visible){outline:0!important;border:0!important;box-shadow:none!important;background:transparent!important;appearance:none;-webkit-appearance:none;resize:none;scrollbar-width:thin;scrollbar-color:#9cabc155 transparent}
.hodhod-typing{align-items:center!important;gap:10px!important;min-height:62px;display:inline-flex;flex-wrap:wrap}
.hodhod-typing-dots.mascot-holder{display:inline-flex!important;width:70px!important;height:72px!important;flex:0 0 70px;animation:none!important;background:none!important;opacity:1!important;vertical-align:middle}
.hodhod-mascot{width:70px;height:72px;display:inline-block;position:relative;isolation:isolate;filter:drop-shadow(0 4px 5px #184c8e16)}.hodhod-mascot>svg:first-child{width:100%;height:100%;overflow:visible}.mascot-head{transform-origin:700px 780px;animation:hh-head 3.2s ease-in-out infinite}.mascot-wing{transform-origin:690px 875px;animation:hh-wing 3.2s ease-in-out infinite}.hodhod-mascot .mascot-idea{position:absolute;top:-8px;right:0;width:20px;height:25px;opacity:0;transform-origin:center bottom;animation:hh-idea 3.2s ease-in-out infinite}.mascot-spark{position:absolute;top:4px;left:-1px;font-size:14px;color:#c89939;opacity:0;animation:hh-spark 3.2s ease-in-out infinite}
@keyframes hh-head{0%,10%,100%{transform:rotate(0)}18%,29%{transform:rotate(10deg) translateY(8px)}39%,46%{transform:rotate(-8deg)}57%,65%{transform:rotate(13deg) translateY(22px)}76%,86%{transform:rotate(-9deg) translateY(-9px)}92%{transform:rotate(0)}}
@keyframes hh-wing{0%,8%,100%{transform:rotate(0)}18%,29%{transform:rotate(62deg) translate(5px,-15px)}39%,46%{transform:rotate(0)}55%,65%{transform:rotate(-14deg)}76%,86%{transform:rotate(35deg)}93%{transform:rotate(0)}}
@keyframes hh-idea{0%,69%,94%,100%{opacity:0;transform:scale(.5) translateY(6px)}76%,87%{opacity:1;transform:scale(1) translateY(0)}81%{transform:scale(1.12) translateY(-2px)}}
@keyframes hh-spark{0%,73%,93%,100%{opacity:0;transform:scale(.3)}80%,87%{opacity:1;transform:scale(1)}}
.voice-dialog.live-voice{width:min(580px,calc(100% - 24px));padding:24px;overscroll-behavior:contain}.voice-orb{width:116px;height:116px;margin:22px auto 12px;display:grid;place-items:center;border:1px solid #91a8dc44;border-radius:50%;position:relative;background:radial-gradient(circle,#688cdf1f,transparent 70%)}.voice-orb img{width:80px;height:80px;object-fit:contain}.voice-orb:before,.voice-orb:after{content:'';position:absolute;inset:-9px;border:1px solid #7795d333;border-radius:50%;transform:scale(calc(1 + var(--voice-level,0)*.3));transition:transform .12s}.voice-orb:after{inset:-18px;opacity:.55}.live-voice[data-state=listening] .voice-orb,.live-voice[data-state=speaking] .voice-orb{box-shadow:0 0 35px #5a8ae51e}.live-voice[data-state=transcribing] .voice-orb:before,.live-voice[data-state=waiting] .voice-orb:before{border-top-color:#456cba;animation:voice-orbit 2.5s linear infinite}.voice-state{text-align:center;min-height:26px;font-weight:600;margin:15px 0!important}.voice-transcript{background:var(--at-soft);border:1px solid var(--at-line);border-radius:14px;padding:14px;max-height:165px;overflow:auto;margin:18px 0;line-height:1.9;font-size:13px}.voice-transcript small{display:block;color:var(--at-muted);font-size:11px;margin-bottom:6px}.voice-transcript p{margin:0;color:var(--at-ink)}.voice-dialog .voice-session-actions{display:flex;gap:9px;justify-content:center;margin:18px 0}.voice-session-actions button{display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:43px;border:1px solid var(--at-line);background:var(--at-soft);color:var(--at-ink);border-radius:12px;padding:9px 16px;font:inherit;font-size:12px;cursor:pointer}.voice-session-actions svg{width:18px;height:18px}.voice-session-actions .voice-end{color:#bb4259;background:#e9517010;border-color:#d55a722e}.voice-recover{border:1px solid #bc8b3b45;border-radius:11px;padding:10px 14px;background:#e4b96716;color:var(--at-ink);font:inherit;cursor:pointer;width:100%}.voice-dialog [hidden]{display:none!important}.voice-dialog .voice-footer{font-size:11px;line-height:1.9;text-align:center;color:var(--at-muted)}.voice-dialog audio{max-width:100%;width:100%}.voice-file-entry{display:block;margin:10px auto;text-align:center;cursor:pointer;font-size:12px;color:var(--at-muted)}.voice-file-entry input{max-width:100%;font:inherit;margin-top:10px}.voice-dialog .voice-edit{margin-top:8px}.voice-dialog .voice-edit summary{cursor:pointer;font-size:12px;color:var(--at-muted);padding:8px}.voice-dialog .voice-edit textarea{min-height:70px;font:inherit}.voice-dialog .voice-edit button{margin-top:8px}.voice-answer-player button{font:inherit;background:transparent;color:inherit;border:1px solid #8ba0c344;border-radius:8px;padding:8px;cursor:pointer}.voice-dialog [data-voice-retry]{margin-top:10px}.voice-dialog::backdrop{touch-action:none}
@keyframes voice-orbit{to{transform:rotate(360deg)}}
@media(max-width:500px){.voice-dialog.live-voice{padding:18px;border-radius:22px;max-height:calc(100dvh - 20px)}.voice-orb{margin-block:16px;width:100px;height:100px}.voice-orb img{width:70px;height:70px}.voice-dialog h2{font-size:18px}.voice-session-actions button{flex:1;padding-inline:8px}.hodhod-typing-dots.mascot-holder{width:62px!important;flex-basis:62px;height:64px!important}.hodhod-mascot{width:62px;height:64px}}
@media(prefers-reduced-motion:reduce){.mascot-head,.mascot-wing,.mascot-idea,.mascot-spark,.voice-orb:before{animation:none!important}.hodhod-mascot .mascot-idea{opacity:1}.voice-orb:before,.voice-orb:after{transition:none}}

html[data-theme] .unified-sidebar .tool-discovery>summary{list-style:none!important}html[data-theme] .unified-sidebar .tool-discovery>summary::marker{content:""}html[data-theme] .unified-sidebar .tool-discovery>summary::-webkit-details-marker{display:none}

/* A quick sequence of three hops, a wing gesture and an idea. */
.hodhod-mascot{animation:hh-hop 3.2s cubic-bezier(.3,.05,.5,1) infinite;transform-origin:50% 95%;will-change:transform}
@keyframes hh-hop{0%,7%,20%,33%,46%,100%{transform:translateY(0) scale(1)}12%{transform:translateY(-9px) rotate(-3deg) scale(.98,1.03)}25%{transform:translateY(-13px) rotate(3deg) scale(.98,1.03)}38%{transform:translateY(-8px) rotate(-2deg)}49%{transform:scale(1.04,.97)}64%,75%{transform:rotate(2deg)}84%{transform:translateY(-3px)}92%{transform:rotate(-2deg)}}
@media(prefers-reduced-motion:reduce){.hodhod-mascot{animation:none!important;will-change:auto}}
