/* One VisuAI character across the Core. Corporate Visucio logos stay unchanged. */
html .visuai-brand-mark, html .vis-ui .visuai-brand-mark, html .vis-ui .sidebar .visuai-brand-mark {
  position: relative; display: inline-block; flex: 0 0 auto; width: 32px; height: 32px; vertical-align: middle; overflow: visible; color: inherit; pointer-events: none;
}
html .visuai-brand-mark > visuai-energy { position: absolute; display: block; width: 72px; height: 72px; left: 50%; top: 50%; transform: translate(-50%,-50%); pointer-events: none; }
html .vis-ui .premium-shell .client-experience .ce-command-brand { width: 74px; height: 68px; margin: -7px -4px -7px -12px; }
html .vis-ui .premium-shell .client-experience .ce-ai-mark { width: 68px; height: 68px; }
html .vis-ui .premium-shell .client-experience .ce-ai-mark > visuai-energy { width: 144px; height: 144px; }
html .home-assistant-emblem .visuai-brand-mark { width: 78px; height: 78px; }
html .home-assistant-emblem .visuai-brand-mark > visuai-energy { width: 150px; height: 150px; }
html .vis-ui .visuai-help-pill {
  position: fixed; inset: auto 24px 24px auto; z-index: 40; display: flex; align-items: center; justify-content: flex-start; gap: 10px; width: auto; min-width: 170px; height: 64px; padding: 8px 20px 8px 10px; border: 1px solid rgb(103 143 255 / 24%); border-radius: 999px; color: var(--vis-ink,#1d2a42); background: rgb(255 255 255 / 84%); box-shadow: 0 8px 32px rgb(51 83 154 / 10%), inset 0 1px 0 rgb(255 255 255 / 90%); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); cursor: pointer; font: inherit; text-align: left; transition: transform .18s ease, box-shadow .18s ease;
}
html .vis-ui .visuai-help-pill[hidden] { display: none !important; }
html .vis-ui .visuai-help-pill .visuai-help-mascot { width: 46px; height: 46px; }
html .vis-ui .visuai-help-pill .visuai-help-mascot > visuai-energy { width: 100px; height: 100px; }
.visuai-help-copy { display: grid; gap: 3px; }
.visuai-help-copy strong { font-size: 13px; font-weight: 650; letter-spacing: -.02em; }
.visuai-help-copy small { color: var(--vis-muted,#65738d); font-size: 11px; white-space: nowrap; }
html .vis-ui .visuai-help-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgb(51 83 154 / 16%); }
html .vis-ui .visuai-help-pill:focus-visible { outline: 2px solid #678fff; outline-offset: 4px; }
html[data-theme="dark"] .vis-ui .visuai-help-pill { background: rgb(24 35 55 / 88%); border-color: rgb(148 177 255 / 25%); box-shadow: 0 8px 32px rgb(0 0 0 / 18%), inset 0 1px 0 rgb(255 255 255 / 6%); }
html .vis-ui:has(.pwa-install-chip:not([hidden])) .visuai-help-pill { bottom: calc(82px + env(safe-area-inset-bottom,0px)); }
html.drawer-open .visuai-help-pill, html .vis-ui:has(.modal-backdrop) .visuai-help-pill, html .vis-ui:has(#notification-drawer) .visuai-help-pill { visibility: hidden; }
@media(max-width:760px) {
  html .vis-ui .premium-shell .client-experience .ce-command-brand { width: 60px; height: 62px; margin-left: -14px; margin-right: -6px; }
  html .vis-ui .premium-shell .client-experience .ce-ai-mark { width: 60px; height: 62px; }
  html .vis-ui .premium-shell .client-experience .ce-ai-mark > visuai-energy { width: 132px; height: 132px; }
  html .vis-ui .visuai-help-pill { display: flex; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom,0px)); min-width: 152px; height: 58px; padding: 6px 16px 6px 8px; gap: 7px; }
  html .vis-ui:has(.pwa-install-chip:not([hidden])) .visuai-help-pill { bottom: calc(150px + env(safe-area-inset-bottom,0px)); }
}
@media(prefers-reduced-motion:reduce) { html .vis-ui .visuai-help-pill { transition: none; } html .vis-ui .visuai-help-pill:hover { transform: none; } }
@media(prefers-reduced-transparency:reduce) { html .vis-ui .visuai-help-pill { background: var(--vis-surface,#fff); backdrop-filter: none; } }
@media(forced-colors:active) { html .vis-ui .visuai-help-pill { border: 1px solid ButtonText; background: Canvas; color: CanvasText; box-shadow: none; } }
/* Override retired rules that hid the old circular launcher throughout the Hub. */
html .vis-ui .app-shell.client-shell > .visuai-help-pill:not([hidden]) { display: flex; }
