.agent-header-controls{display:flex;align-items:center;gap:8px}.agent-header-controls button,.agent-profile-trigger{cursor:pointer}.agent-credits,.agent-profile-trigger,.agent-theme-button{display:flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 8px;border-radius:10px;font-size:13px;color:var(--foreground);background:transparent}.agent-credits{background:#ffffff0a}.ai-agent-workspace[data-theme=light] .agent-credits{background:#00000005}.agent-credit-dot{width:10px;height:10px;border-radius:50%;background:currentColor;opacity:.7}.agent-host-icon{display:block;width:20px;height:20px;background:currentColor;mask:var(--agent-icon) center /contain no-repeat}.agent-host-icon.is-sun{--agent-icon:url(/images/agent/appearance.svg)}.agent-host-icon.is-moon{--agent-icon:url(/images/agent/moon.svg)}.agent-host-icon.is-language{--agent-icon:url(/images/agent/language.svg)}.agent-profile-trigger:hover,.agent-theme-button:hover{background:var(--muted)}.agent-profile-avatar{border-radius:50%;width:29px;height:29px;font-size:12px}.agent-profile-trigger.is-sidebar{width:100%;height:48px;justify-content:flex-start;padding:8px;background:var(--muted)}.agent-profile-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.agent-profile-menu{position:fixed;margin:0;right:auto;bottom:auto;width:236px;max-width:calc(100vw - 24px);max-height:min(440px,calc(100dvh - 80px));overflow-y:auto;padding:10px;border:1px solid #ffffff20;border-radius:14px;background:#202020;color:#ececec;box-shadow:0 16px 40px #0003}.agent-profile-menu[data-theme=light]{background:#fff;color:#252525;border-color:#dededc}.agent-profile-menu strong{display:block;padding:8px 10px;overflow-wrap:anywhere}.agent-profile-menu a,.agent-profile-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border-radius:8px;font-size:13px;text-align:left}.agent-profile-menu a:hover,.agent-profile-menu button:hover{background:#8882}.agent-profile-menu a>svg{width:18px;height:18px;flex-shrink:0}.agent-language-compact{position:relative;display:flex;align-items:center;justify-content:center;width:36px;height:36px}.agent-language-compact select{position:absolute;inset:0;width:100%;height:100%;cursor:pointer;opacity:0}.agent-language-compact:focus-within{outline:2px solid var(--ring);border-radius:8px}.agent-language-error{position:absolute;top:100%;right:0;width:220px;padding:8px;background:var(--card);border:1px solid var(--border);z-index:20}@media (max-width:767px){.agent-header-controls{gap:2px}.agent-credits,.agent-profile-trigger,.agent-theme-button{padding:0 6px}}.ai-agent-workspace[data-theme=light] .agent-profile-avatar{background:#e7e7e5;border-color:#e7e7e5;color:#292929}.agent-more-tools{font-size:13px}.agent-more-tools summary{cursor:pointer;padding:8px}.agent-more-tools a{display:block;border-radius:8px;padding:8px 12px}.agent-more-tools a:focus-visible,.agent-more-tools a:hover{background:var(--muted)}