.topbar .assistant-toggle { position: relative; padding: .25rem; margin-left: .5rem; }
.assistant-toggle::before { content: ""; position: absolute; left: -.4rem; top: 25%; height: 50%; border-left: 1px solid #817d78; pointer-events: none; }
.assistant-ai-mark { position: relative; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; overflow: hidden; border-radius: 5px; background: #326c76 url("/images/console-ai/console-ai-avatar-static.webp") center / cover; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 22%); }
.assistant-ai-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.assistant-ai-lettering { position: relative; width: 17px; height: 14px; pointer-events: none; }
.assistant-toggle[aria-expanded="true"] { background: rgb(255 255 255 / 12%); border-color: #bbb4ac; }
.assistant-console { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; height: 100dvh; width: min(var(--assistant-console-width, max(360px, 45vw)), 100vw); max-width: 100vw; background: #faf9f8; border: 0; box-shadow: -6px 0 24px rgb(32 30 28 / 14%); }
.assistant-console::before { content: ""; position: absolute; z-index: 3; top: 8px; bottom: 0; left: 0; border-left: 1px solid #b9b5b1; pointer-events: none; }
.assistant-console[hidden] { display: none; }
#assistant-console-content { width: 100%; height: 100%; min-width: 0; }
.console-resize { position: absolute; z-index: 4; top: 8px; left: calc(var(--assistant-guide-width, 0px) - 5px); bottom: 0; width: 10px; cursor: ew-resize; touch-action: none; }
.console-guide-resize { left: -5px; }
.console-resize[hidden] { display: none; }
.console-resize::after { content: ""; position: absolute; left: 4px; top: 48%; width: 3px; height: 20px; border-inline: 1px solid #807b76; }
.console-resize:hover, .console-resize:focus-visible { background: rgb(0 107 143 / 14%); outline: 2px solid #006b8f; outline-offset: -2px; }
body.console-resizing { cursor: ew-resize; user-select: none; }
.chat-console-placeholder { display: grid; justify-items: center; align-content: center; min-height: 16rem; gap: .8rem; padding: 2rem; color: #625c56; text-align: center; }
.chat-console-placeholder > span { font-size: 2rem; color: #006b8f; }
.chat-console-placeholder p { margin: 0; }
@media (max-width: 799px) {
  .assistant-console { width: 100vw; }
  .console-resize { display: none; }
}
@media (max-width: 600px) {
  .topbar .assistant-toggle { margin-left: .25rem; }
  .topbar .user-menu-panel { position: fixed; top: calc(var(--topbar-h) + .4rem); right: .5rem; }
}

.console-info.tooltip-dismissed .console-tooltip { opacity: 0; visibility: hidden; }
