/* Compact, persistent access; conversation itself remains opaque and readable. */
html:root :is(body.studio,body#aiv-publication.studio) #aserva-widget-container,
html:root body.studio .aiv-assistant-fallback{position:fixed!important;inset:auto 20px var(--aiv-assistant-bottom,96px) auto!important;max-width:none!important;width:auto!important;margin:0!important;display:block!important;z-index:100000!important}
html:root body.studio #aserva-widget-container[data-aiv-input-editing=true],
html:root body.studio .aiv-assistant-fallback[data-aiv-input-editing=true]{visibility:hidden!important;pointer-events:none!important}
/* Do not flash the vendor's unstyled/full-height panel before the shadow CSS is ready. */
html:root :is(body.studio,body#aiv-publication.studio) #aserva-widget-container:not([data-aiv-floating-ready=true]){display:none!important}
html:root body.studio .aiv-assistant-fallback{display:inline-flex!important;align-items:center;gap:0;box-sizing:border-box;width:48px!important;min-height:48px;padding:10px;border:0;border-radius:0;background:transparent;color:#392438!important;opacity:.8;font:700 14px/1.3 Hanken,sans-serif;text-decoration:none;box-shadow:none;overflow:visible;transition:width 180ms ease-out,opacity 180ms ease-out}
.aiv-assistant-fallback span{white-space:nowrap;max-width:0;opacity:0;overflow:hidden;background:rgba(255,252,245,.94);border-radius:6px}
html:root body.studio .aiv-assistant-fallback:focus-visible{width:144px!important;gap:8px}
.aiv-assistant-fallback:focus-visible span{max-width:100px;opacity:1;padding:4px 6px}
@media(hover:hover) and (pointer:fine){html:root body.studio .aiv-assistant-fallback:hover{width:144px!important;gap:8px}.aiv-assistant-fallback:hover span{max-width:100px;opacity:1;padding:4px 6px}}
.aiv-assistant-fallback svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}
.aiv-assistant-fallback:hover,.aiv-assistant-fallback:focus-visible{background:transparent!important;opacity:1!important}
.aiv-assistant-fallback:focus-visible{outline:3px solid #694e8f;outline-offset:4px}
@media(max-width:720px){html:root :is(body.studio,body#aiv-publication.studio) #aserva-widget-container,html:root body.studio .aiv-assistant-fallback{right:max(12px,env(safe-area-inset-right))!important;bottom:calc(var(--aiv-assistant-bottom,96px) + env(safe-area-inset-bottom))!important}}
@media(prefers-reduced-motion:reduce){html:root body.studio .aiv-assistant-fallback{transition:none!important}}
