* {
  box-sizing: border-box;
}

img {
  image-rendering: unset;
  image-rendering: unset;
  image-rendering: unset;
  image-rendering: unset;
  -ms-interpolation-mode: unset;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.ai-chat__camera-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 10007;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border-radius: 6px;
  background: rgba(42, 43, 46, 0.94);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ai-chat__camera-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.ai-chat-page {
  height: 100%;
  overflow: hidden;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(247, 249, 250, 0.5), rgba(247, 249, 250, 0.5)),
    url("../img/ai-panel-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ai-chat {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

.ai-chat__sidebar {
  flex-shrink: 0;
  width: 260px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat__sidebar-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 260px;
  min-width: 260px;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  padding-bottom: 16px;
  background: #fff;
  overflow: hidden;
  overflow-anchor: none;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    min-width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat__side-inner {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: 0 16px;
  overflow: hidden;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat__profile {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  padding: 32px 16px;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat__profile-avatar {
  width: 41px;
  height: 41px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #e8ecff 0%, #f0e8ff 100%);
}

.ai-chat__profile-text {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.ai-chat__profile-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  color: #2a2b2e;
  white-space: nowrap;
  flex-shrink: 0;
}

.ai-chat__profile-role {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  color: #9b9fa8;
  white-space: nowrap;
  flex-shrink: 0;
}

.ai-chat__menu-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-chat__menu {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
}

.ai-chat__menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #2a2b2e;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    min-width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat__menu-item:hover,
.ai-chat__menu-item.is-active {
  background: #f7f9fa;
}

.ai-chat__menu-item.is-active {
  font-weight: 700;
}

.ai-chat__menu-item img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.ai-chat__menu-item--sub {
  padding: 0 16px 0 44px;
  color: #6a6b6d;
}

a.ai-chat__menu-item {
  text-decoration: none;
}

a.ai-chat__menu-item--sub:hover {
  color: #6a6b6d;
}

.ai-chat__menu-item--expand .ai-chat__menu-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-left: auto;
  transition: transform 0.2s;
}

.ai-chat__menu-group.is-open .ai-chat__menu-arrow {
  transform: rotate(180deg);
}

.ai-chat__submenu {
  display: none;
}

.ai-chat__menu-group.is-open .ai-chat__submenu {
  display: block;
}

.ai-chat__history {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.ai-chat__section-title {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: #2a2b2e;
}

.ai-chat__history-item-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  transition: background 0.2s;
}

.ai-chat__history-item-wrap.is-active {
  background: #f7f9fa;
}

.ai-chat__history-item-wrap:hover:not(.is-active),
.ai-chat__history-item-wrap.is-menu-open:not(.is-active) {
  background: #f7f9fa;
}

.ai-chat__history-item-wrap.is-menu-open {
  z-index: 200;
}

.ai-chat__history-item {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 32px 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #9b9fa8;
  font-size: 14px;
  line-height: 48px;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-chat__history-item-wrap.is-active .ai-chat__history-item {
  color: #2a2b2e;
  font-weight: 700;
}

.ai-chat__history-more {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s;
}

.ai-chat__history-pin {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.ai-chat__history-item-wrap.is-pinned .ai-chat__history-pin {
  display: flex;
}

.ai-chat__history-item-wrap.is-pinned:hover .ai-chat__history-pin,
.ai-chat__history-item-wrap.is-pinned.is-menu-open .ai-chat__history-pin {
  display: none;
}

.ai-chat__history-pin img {
  display: block;
  width: 16px;
  height: 16px;
}

.ai-chat__history-item-wrap:hover .ai-chat__history-more,
.ai-chat__history-item-wrap.is-menu-open .ai-chat__history-more {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ai-chat__history-more img {
  display: block;
  width: 24px;
  height: 24px;
}

.ai-chat__history-menu {
  display: none;
  flex-direction: column;
  width: 128px;
  padding: 4px 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.ai-chat__history-menu.is-portal-open {
  position: fixed;
  z-index: 10001;
  display: flex;
}

.ai-chat__history-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: none;
  background: transparent;
  color: #2a2b2e;
  font-size: 14px;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}

.ai-chat__history-menu-item img {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.ai-chat__history-menu-item:hover {
  background: #f7f9fa;
}

.ai-chat__history-menu-item--danger {
  color: #e60039;
}

.ai-chat__side-footer {
  display: flex;
  flex: 0 0 auto;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  width: 228px;
  height: 48px;
  margin: 0 auto;
  padding: 0 16px;
  border-radius: 8px;
  color: #2a2b2e;
  font-size: 14px;
  text-decoration: none;
  overflow: hidden;
  max-height: 48px;
  opacity: 1;
  transition: background 0.2s, max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.2s ease, margin 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat__side-footer:hover {
  background: #f7f9fa;
}

.ai-chat__side-footer img {
  width: 6px;
  height: 12px;
}

.ai-chat__main {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.ai-chat__workspace {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.ai-chat__stage {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
}

.ai-chat__workspace:not(.is-thread-active) .ai-chat__stage {
  justify-content: flex-start;
}

.ai-chat__workspace.is-thread-active .ai-chat__stage {
  justify-content: flex-start;
  gap: 16px;
}

.ai-chat__messages-area {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.ai-chat__workspace:not(.is-thread-active) .ai-chat__messages-area {
  flex: 1 1 0;
  overflow: hidden;
}

.ai-chat__workspace.is-thread-active .ai-chat__messages-area {
  flex: 1 1 0;
}

.ai-chat__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.ai-chat__workspace:not(.is-thread-active) .ai-chat__content {
  flex: 1 1 0;
  min-height: 0;
  max-height: 100%;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
  padding-bottom: 0;
}

.ai-chat__workspace:not(.is-thread-active) .ai-chat__welcome-screen {
  flex: 1 1 0;
  min-height: 200px;
  margin-top: auto;
  margin-bottom: auto;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ai-chat__workspace:not(.is-thread-active) .ai-chat__welcome-screen::-webkit-scrollbar {
  display: none;
}

.ai-chat__workspace:not(.is-thread-active) .ai-chat__composer-stack {
  flex: 0 1 auto;
  /* 全屏稿输入框固定 1000px，勿在欢迎态被拉满宽 */
  width: min(1000px, calc(100% - 64px));
  max-width: 100%;
  max-height: calc(100% - 200px - 16px);
  min-height: 0;
  margin-top: 16px;
  margin-bottom: 0;
  box-sizing: border-box;
  justify-content: flex-end;
  overflow: hidden;
}

.ai-chat__workspace:not(.is-thread-active) .ai-chat__composer-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0;
  flex-shrink: 0;
}

.ai-chat__workspace.is-thread-active .ai-chat__content {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

.ai-chat__welcome-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 24px;
  width: min(720px, 100%);
  padding: 0;
}

.ai-chat__welcome-screen[hidden] {
  display: none !important;
}

.ai-chat__content.is-thread-active .ai-chat__welcome-screen {
  display: none !important;
}

.ai-chat__content.is-thread-active {
  overflow: hidden;
}

.ai-chat__welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: center;
}

.ai-chat__welcome-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ai-chat__welcome-avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.ai-chat__welcome-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(90deg, #0175e8 0%, #9436ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-chat__welcome-desc {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #6a6b6d;
  text-align: center;
}

.ai-chat__scene-tabs {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 100px;
  background: #fff;
}

.ai-chat__scene-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 60px;
  border: none;
  border-radius: 25px;
  background: transparent;
  color: #2a2b2e;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}

.ai-chat__scene-tab.is-active {
  background: linear-gradient(90deg, #0175e8 0%, #9436ff 100%);
  color: #fff;
  font-weight: 700;
}

.ai-chat__scene-tab--external {
  gap: 8px;
}

.ai-chat__scene-tab--external:not(.is-active) {
  font-weight: 400;
}

.ai-chat__scene-tab-icon {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.ai-chat__composer-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  flex-shrink: 0;
  width: min(1000px, calc(100% - 64px));
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.ai-chat__workspace.is-thread-active .ai-chat__composer-stack {
  margin-top: 0;
}

.ai-chat__workspace.is-thread-active .ai-chat__suggest-dock {
  display: none !important;
}

.ai-chat__suggest-dock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  height: 252px;
  max-height: 252px;
  min-height: 0;
  flex-shrink: 1;
  overflow: hidden;
  box-sizing: border-box;
}

.ai-chat__suggest-dock[data-mode="skills"] {
  align-items: stretch;
}

.ai-chat__suggest-dock[hidden],
.ai-chat__suggest-dock.is-occluded {
  display: flex !important;
  visibility: hidden;
  pointer-events: none;
}

/* 选中技能后隐藏列表，但保留占位高度：
   全屏欢迎区用 flex + 垂直居中，dock 收成 0 会让欢迎区变高、内容下移 */
.ai-chat__suggest-dock.is-skill-selected {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.ai-chat__suggest-refresh {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
  color: #9b9fa8;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}

.ai-chat__suggest-refresh img {
  width: 18px;
  height: 18px;
}

.ai-chat__suggestions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.ai-chat__suggestion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  height: 36px;
  padding: 0 12px;
  border: none;
  border-radius: 23px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.ai-chat__suggestion:hover {
  box-shadow: 0 4px 16px rgba(1, 117, 232, 0.12);
}

.ai-chat__suggestion-text {
  min-width: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #2a2b2e;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-chat__suggestion-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.ai-chat__skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.ai-chat__skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #0175e8;
  border-radius: 24px;
  background: #fff;
  color: #2a2b2e;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
}

.ai-chat__skill-chip img {
  width: 20px;
  height: 20px;
}

.ai-chat__skill-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 12px);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid #0175e8;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.ai-chat__skill-menu[hidden] {
  display: none !important;
}

.ai-chat__composer-wrap.is-skill-menu-open {
  z-index: 6;
}

.ai-chat__skill-menu-head {
  padding: 0 8px;
  color: #9b9fa8;
  font-size: 14px;
  line-height: 1.2;
}

.ai-chat__skill-menu-list {
  display: flex;
  flex-direction: column;
}

.ai-chat__skill-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  padding: 0 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #2a2b2e;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.ai-chat__skill-menu-item img {
  width: 20px;
  height: 20px;
}

.ai-chat__skill-menu-item:hover,
.ai-chat__skill-menu-item.is-active {
  background: #f7f9fa;
}

.ai-chat__composer-body {
  /* 外层限高滚动：技能与文案同属内层 flow，一起滚走 */
  flex: 1 0 100%;
  width: 100%;
  max-width: 100%;
  max-height: 120px;
  overflow-x: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ai-chat__composer-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.ai-chat__composer-flow {
  position: relative;
  width: 100%;
}

.ai-chat__skill-chip-host {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: auto;
  max-width: calc(100% - 24px);
}

.ai-chat__skill-chip-host[hidden] {
  display: none !important;
}

.ai-chat__skill-active {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 12px;
  border-radius: 24px;
  background: #f7f9fa;
  font-size: 14px;
  line-height: 1.2;
}

.ai-chat__skill-active > span {
  background: linear-gradient(90deg, #0175e8 0%, #9436ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-chat__skill-active > img {
  width: 18px;
  height: 18px;
}

.ai-chat__skill-active-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.ai-chat__skill-active-close img {
  width: 18px;
  height: 18px;
}

.ai-chat__thread {
  flex: 1 1 0;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.ai-chat__thread[hidden] {
  display: none !important;
}

.ai-chat__thread .ai-chat__messages-wrap {
  flex: 1;
  height: auto;
}

.ai-chat__messages-wrap {
  height: 100%;
  padding: 0 32px;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-anchor: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ai-chat__messages-wrap::-webkit-scrollbar {
  display: none;
}

.ai-chat__messages {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-chat__round {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-chat__msg {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-chat__msg--user {
  align-items: flex-end;
}

.ai-chat__msg-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-chat__msg-avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(19deg, #0175e8 4%, #9436ff 98%);
}

.ai-chat__msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-chat__msg-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #2a2b2e;
}

.ai-chat__card {
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.ai-chat__card--plain {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px;
}

.ai-chat__card-header {
  padding: 12px;
  border-bottom: 1px solid #e3e5e6;
  font-size: 14px;
  font-weight: 700;
  color: #2a2b2e;
}

.ai-chat__card-body {
  padding: 12px;
}

.ai-chat__summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-chat__summary-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 4px;
}

.ai-chat__summary-label {
  flex-shrink: 0;
  width: 100px;
  padding: 3px 8px 3px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #6a6b6d;
}

.ai-chat__summary-tags {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.ai-chat__tag {
  padding: 3px 6px;
  border-radius: 4px;
  background: #f1f3f5;
  font-size: 14px;
  line-height: 1.5;
  color: #6a6b6d;
}

.ai-chat__user-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  max-width: 80%;
  padding-bottom: 28px;
  margin-bottom: -28px;
}

.ai-chat__user-bubble {
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0175e8 0%, #9436ff 100%);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  width: fit-content;
  max-width: 100%;
}

.ai-chat__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #2a2b2e;
  word-break: break-word;
}

.ai-chat__text--bold {
  font-size: 16px;
  font-weight: 700;
}

.ai-chat__list {
  margin: 0;
  padding-left: 1.2em;
}

.ai-chat__list li {
  margin-bottom: 8px;
}

.ai-chat__list li:last-child {
  margin-bottom: 0;
}

.ai-chat__ref {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
  color: #6a6b6d;
  font-size: 14px;
  line-height: 25px;
  cursor: pointer;
}

.ai-chat__ref img {
  width: 24px;
  height: 24px;
}

/* 右侧对话轮次标注（弹窗内：文字列表 + 星号轨道） */
.ai-chat__round-nav {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 3;
  transform: translateY(-50%);
  pointer-events: auto;
}

.ai-chat__round-popup {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  max-height: 260px;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  padding: 0;
  transition: background 0.2s, box-shadow 0.2s, padding 0.2s;
}

.ai-chat__round-nav:hover .ai-chat__round-popup,
.ai-chat__round-nav.is-open .ai-chat__round-popup {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 4px;
}

.ai-chat__round-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: width 0.2s, opacity 0.2s;
}

.ai-chat__round-nav:hover .ai-chat__round-list,
.ai-chat__round-nav.is-open .ai-chat__round-list {
  width: 160px;
  max-height: 252px;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 1;
  pointer-events: auto;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ai-chat__round-nav:hover .ai-chat__round-list::-webkit-scrollbar,
.ai-chat__round-nav.is-open .ai-chat__round-list::-webkit-scrollbar {
  display: none;
}

.ai-chat__round-list > li {
  height: 36px;
}

.ai-chat__round-item {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 10px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #9b9fa8;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-chat__round-item:hover {
  color: #2a2b2e;
}

.ai-chat__round-item.is-active {
  background: #f7f9fa;
  color: #2a2b2e;
}

.ai-chat__round-list > li.is-faded .ai-chat__round-item {
  opacity: 0.3;
}

.ai-chat__round-rail {
  flex-shrink: 0;
  width: 20px;
  height: auto;
  max-height: 252px;
  overflow: hidden;
}

.ai-chat__round-rail-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform;
}

.ai-chat__round-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.ai-chat__round-slot.is-faded {
  opacity: 0.3;
}

.ai-chat__round-dot {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
}

.ai-chat__round-slot.is-active img {
  display: block;
  width: 20px;
  height: 36px;
  flex-shrink: 0;
}

.ai-chat__scroll-jump {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(180deg, #0175e8 0%, #9436ff 100%) border-box;
  box-shadow:
    0 0 0 1px rgba(1, 117, 232, 0.14),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 8px 28px rgba(1, 117, 232, 0.22);
  transform: translateX(-50%);
  cursor: pointer;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.ai-chat__scroll-jump:hover {
  opacity: 0.96;
  box-shadow:
    0 0 0 1px rgba(1, 117, 232, 0.2),
    0 6px 16px rgba(0, 0, 0, 0.12),
    0 10px 32px rgba(1, 117, 232, 0.28);
}

.ai-chat__scroll-jump[hidden] {
  display: none !important;
}

.ai-chat__scroll-jump img {
  display: block;
  width: 20px;
  height: 20px;
}

.ai-chat__composer-wrap {
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 1px;
  border: 1px solid transparent;
  border-radius: 20px;
  /* Figma 7793:14161 输入框：渐变描边 + 阴影 */
  box-shadow: 0 4px 20px rgba(1, 117, 232, 0.15);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(0deg, #0175e8 0%, #9436ff 100%) border-box;
}

.ai-chat__workspace:not(.is-thread-active) .ai-chat__composer-wrap {
  margin-top: 0;
  margin-bottom: 0;
}

.ai-chat__workspace.is-thread-active .ai-chat__composer-wrap {
  margin-top: 0;
}

.ai-chat__navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  flex-shrink: 0;
}

.ai-chat__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s;
}

.ai-chat__nav-btn--theme,
.ai-chat__nav-btn--theme[hidden] {
  display: none !important;
}

.ai-chat__nav-btn:hover {
  opacity: 0.7;
}

.ai-chat__nav-btn img {
  display: block;
  width: 24px;
  height: 24px;
}

.ai-chat__nav-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 61px;
  padding: 10px 10px 10px 20px;
  border-radius: 30px;
  background: #fff;
}

.ai-chat__nav-tools .ai-chat__nav-btn img,
.ai-chat__nav-user {
  flex-shrink: 0;
}

.ai-chat__nav-tools .ai-chat__nav-btn img {
  width: 24px;
  height: 24px;
}

.ai-chat__nav-user {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  text-align: center;
  color: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.ai-chat__nav-user.is-guest {
  background: #2a2b2e;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding-left: 0.1em;
}

.ai-chat__nav-user.is-logged-in {
  background: linear-gradient(19deg, #0175e8 4%, #9436ff 98%);
  font-size: 16px;
  letter-spacing: 0;
}

.ai-chat__composer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 8px;
  row-gap: 16px;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 19px;
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
}

.ai-chat__composer > .ai-chat__composer-attachments {
  flex: 1 0 100%;
  width: 100%;
}

.ai-chat__input {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 24px;
  max-height: none;
  padding: 0;
  border: none;
  outline: none;
  resize: none;
  overflow-x: hidden;
  overflow-y: hidden;
  background: transparent;
  color: #2a2b2e;
  font-size: 14px;
  line-height: 24px;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ai-chat__input::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.ai-chat__input::placeholder {
  color: #c1c6cf;
}

.ai-chat__composer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 0 100%;
  width: 100%;
}

.ai-chat__composer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-chat__composer-left .ai-chat__divider,
.ai-chat__composer-left .ai-chat__tool-btn:not(.ai-chat__tool-btn--icon) {
  display: none;
}

.ai-chat__tool-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  padding: 0 8px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #2a2b2e;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.ai-chat__tool-btn:hover {
  background: #f7f9fa;
}

.ai-chat__tool-btn--icon {
  width: 28px;
  padding: 0;
}

.ai-chat__tool-btn img {
  display: block;
  width: 18px;
  height: 18px;
}

.ai-chat__divider {
  width: 1px;
  height: 16px;
  background: #d5d5d5;
}

.ai-chat__send.is-stop {
  cursor: pointer;
}

.ai-chat__send.is-stop:hover {
  transform: scale(1.05);
}

.ai-chat__send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s;
}

.ai-chat__send:hover:not(:disabled) {
  transform: scale(1.05);
}

.ai-chat__send:disabled {
  cursor: default;
}

.ai-chat__send:disabled:hover {
  transform: none;
}

.ai-chat__send img {
  display: block;
  width: 28px;
  height: 28px;
}

.ai-chat__mobile-attach-overlay,
.ai-chat__mobile-attach-sheet {
  display: none;
}

.ai-chat__disclaimer {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* 输入框与底部提示固定 8px（flex 子项用 margin，避免被吃掉） */
  margin: 8px 0 0;
  padding: 0 32px 10px;
  text-align: center;
  font-size: 14px;
  color: #9b9fa8;
}

/* 仅底部免责声明里的「意见反馈」链接，勿影响消息区 .ai-chat__feedback 按钮组 */
.ai-chat__disclaimer .ai-chat__feedback {
  background: linear-gradient(90deg, #0175e8 0%, #9436ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
}

.ai-chat__workspace.is-thread-active .ai-chat__disclaimer {
  margin-top: 16px;
  padding-top: 0;
}

.ai-chat.is-sidebar-collapsed .ai-chat__sidebar {
  width: 68px;
}

.ai-chat.is-sidebar-collapsed .ai-chat__sidebar-panel {
  width: 68px;
  min-width: 68px;
}

.ai-chat.is-sidebar-collapsed .ai-chat__side-inner {
  align-items: center;
  padding: 0 8px;
}

.ai-chat.is-sidebar-collapsed .ai-chat__profile {
  justify-content: center;
  gap: 0;
  padding: 32px 0;
}

.ai-chat.is-sidebar-collapsed .ai-chat__profile-text {
  overflow: hidden;
  width: 0;
  max-width: 0;
  height: 0;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  margin: 0;
  padding: 0;
  flex: 0 0 0;
  transition: opacity 0.15s ease, max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-chat.is-sidebar-collapsed .ai-chat__menu-label,
.ai-chat.is-sidebar-collapsed .ai-chat__menu-arrow {
  overflow: hidden;
  width: 0;
  max-width: 0;
  height: 0;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  margin: 0;
  padding: 0;
  flex: 0 0 0;
  transition: opacity 0.15s ease;
}

.ai-chat.is-sidebar-collapsed .ai-chat__submenu {
  display: none;
}

.ai-chat.is-sidebar-collapsed .ai-chat__history {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ai-chat.is-sidebar-collapsed .ai-chat__side-footer {
  max-height: 0;
  height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
  visibility: hidden;
  pointer-events: none;
}

.ai-chat.is-sidebar-collapsed .ai-chat__menu-item {
  justify-content: center;
  width: 52px;
  min-width: 52px;
  padding: 0;
  gap: 0;
}

@media (max-width: 1280px) {
  .ai-chat__round-nav {
    display: none;
  }
}

@media (max-width: 1024px) {
  .ai-chat__sidebar {
    display: none;
  }

  .ai-chat__messages-wrap {
    padding: 0 16px;
  }

  .ai-chat__composer-stack {
    width: calc(100% - 32px);
  }

  .ai-chat__composer-wrap {
    width: 100%;
  }

  .ai-chat__scene-tab {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .ai-chat__workspace.is-mobile-input-focused:not(.is-thread-active) .ai-chat__welcome-screen,
  .ai-chat__workspace.is-mobile-input-focused:not(.is-thread-active) .ai-chat__suggest-dock {
    visibility: hidden;
    pointer-events: none;
  }
  .ai-chat__workspace.is-mobile-input-focused:not(.is-thread-active) .ai-chat__welcome-screen {
    display: none;
  }
  .ai-chat__workspace.is-mobile-input-focused:not(.is-thread-active) .ai-chat__messages-area {
    display: none;
  }
  .ai-chat__workspace.is-mobile-input-focused:not(.is-thread-active) .ai-chat__composer-stack {
    flex: 1 1 auto;
    max-height: none;
    justify-content: flex-end;
  }
  .ai-chat__workspace.is-mobile-input-focused:not(.is-thread-active) .ai-chat__suggest-dock {
    display: none !important;
  }
  .ai-chat__workspace.is-mobile-input-focused:not(.is-thread-active) .ai-chat__composer-wrap {
    flex: 0 0 auto;
  }

  .ai-chat__mobile-attach-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    background: rgba(0, 0, 0, 0.5);
  }

  .ai-chat__mobile-attach-overlay.is-open {
    display: block;
  }

  .ai-chat__mobile-attach-sheet {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    display: none;
    padding: 12px;
    border-radius: 16px 16px 0 0;
    background: #fff;
  }

  .ai-chat__mobile-attach-sheet.is-open {
    display: block;
  }

  .ai-chat__mobile-attach-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .ai-chat__mobile-attach-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 80px;
    padding: 8px 4px;
    border: 0;
    border-radius: 8px;
    background: #f7f9fa;
    color: #2a2b2e;
    font-size: 14px;
  }

  .ai-chat__mobile-attach-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
  }

  .ai-chat__mobile-attach-icon img {
    width: 24px;
    height: 24px;
  }

  .ai-chat__mobile-attach-title {
    margin: 12px 8px;
    color: #9b9fa8;
    font-size: 14px;
    height: 18px;
  }

  .ai-chat__mobile-attach-skills {
    display: flex;
    flex-direction: column;
  }

  .ai-chat__mobile-attach-skills button {
    height: 40px;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #2a2b2e;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ai-chat__mobile-attach-skills button img {
    width: 20px;
    height: 20px;
  }

  .ai-chat__navbar{
    padding: 16px 20px;
    position: relative;
    z-index: 21;
  }
  .ai-chat__nav-btn--collapse{
    display: none;
  }
  /* 头部导航头像 */
  .navbar__profile{
    display: flex !important;
    gap: 10px;
    cursor: pointer;
  }
  .navbar__profile-avatar{
    width: 41px;
    height: 41px;
    border-radius: 50%;
  }
  .navbar__profile-text{
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    justify-content: center;
  }
  .navbar__profile-name{
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    color: #2A2B2E;
    margin: 0;
  }
  .navbar__profile-role{
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: #9B9FA8;
    margin: 0;
  }
  /* 侧标边栏 */
  .ai-chat__sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: block;
    width: 80%;
    overflow: visible;
    background: #fff;
  }

  /* 脚本加载前移动端默认收起，避免刷新时先展示侧栏再收起 */
  .ai-chat:not(.is-sidebar-ready) .ai-chat__sidebar {
    width: 0;
  }

  .ai-chat:not(.is-sidebar-ready) .ai-chat__sidebar-panel {
    width: 0;
    min-width: 0;
  }

  .ai-chat:not(.is-sidebar-ready) .ai-chat__sidebar::after {
    opacity: 0;
    pointer-events: none;
  }

  .ai-chat.is-sidebar-ready:not(.is-sidebar-collapsed) .ai-chat__sidebar {
    width: 80%;
  }

  .ai-chat.is-sidebar-ready:not(.is-sidebar-collapsed) .ai-chat__sidebar-panel {
    width: 100%;
    max-width: 100%;
  }

  .ai-chat.is-sidebar-ready:not(.is-sidebar-collapsed) .ai-chat__sidebar::after {
    opacity: 1;
    pointer-events: auto;
  }

  /* 移动端历史对话：更多按钮常显、置顶图标让位，长按记录直接弹出操作菜单 */
  .ai-chat__history-item-wrap {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
  }
  .ai-chat__history-more {
    display: none;
  }
  .ai-chat__history-item {
    padding: 0;
  }
  .ai-chat__history-item-wrap.is-pinned .ai-chat__history-pin {
    display: none;
  }
  .ai-chat__history-item-wrap.is-pinned:hover .ai-chat__history-pin,
  .ai-chat__history-item-wrap.is-pinned.is-menu-open .ai-chat__history-pin {
    display: none;
  }

  .ai-chat__sidebar-panel,
  .ai-chat__side-inner,
  .ai-chat__profile,
  .ai-chat__menu-item {
    transition: none;
  }

  /* 遮罩阴影：铺满视口并置于面板之下，展开时只做透明度 0 → 0.5 过渡，不随侧栏宽度左右滑动 */
  .ai-chat__sidebar::after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    content: '';
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .ai-chat__sidebar-panel {
    width: 100%;
    max-width: 100%;
  }

  .ai-chat.is-sidebar-collapsed .ai-chat__sidebar {
    width: 0;
  }

  .ai-chat.is-sidebar-collapsed .ai-chat__sidebar-panel {
    width: 0;
    min-width: 0;
  }

  .ai-chat.is-sidebar-collapsed .ai-chat__sidebar::after {
    opacity: 0;
    pointer-events: none;
  }

  /* 真机短屏：给历史区保底高度，避免被菜单挤没 */
  .ai-chat:not(.is-sidebar-collapsed) .ai-chat__history {
    flex: 1 1 auto;
    min-height: 160px;
  }
  .ai-chat__history-list,
  .ai-chat__history-login {
    min-height: 80px;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }
  .ai-chat__side-inner,
  .ai-chat__history {
    touch-action: pan-y;
  }

  /* 首页 */
  .ai-chat__workspace:not(.is-thread-active) .ai-chat__composer-stack{
    width: calc(100% - 40px);
  }
  .ai-chat__welcome{
    width: calc(100% - 40px);
    align-items: flex-start;
    margin: 0 20px;
  }
  /* 欢迎区顶对齐：选技能后 dock 收起/输入区变高时，避免垂直居中把标题顶到中间 */
  .ai-chat__workspace:not(.is-thread-active) .ai-chat__welcome-screen {
    margin-top: 0;
    margin-bottom: 0;
    justify-content: flex-start;
  }
  .ai-chat__welcome-screen,
  .ai-chat__welcome-head{
    align-items: flex-start;
  }
  .ai-chat__welcome-screen {
    justify-content: flex-start;
  }
  .ai-chat__welcome-avatar{
    display: none !important;
    width: 46px;
    height: 46px;
    content: url("https://futurewindow.oss-cn-beijing.aliyuncs.com/chineseResources/UIA/static-page/AI-conversation/img/ai-welcome-avatar-h5.png");
  }
  .ai-chat__welcome,
  .ai-chat__welcome-head{
    gap: 16px;
  }
  .ai-chat__welcome-title{
    font-size: 28px;
  }
  .ai-chat__welcome-desc{
    font-size: 14px;
  }
  .ai-chat__scene-tabs{
    margin: 0 20px;
  }
  .ai-chat__scene-tab{
    padding: 0 14px;
  }
  .ai-chat__scene-tab--external{
    gap: 6px;
  }
  .ai-chat__skill-active{
    height: 20px;
  }
  .ai-chat__input{
    min-height: 20px;
    max-height: 100px;
    line-height: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ai-chat__send:disabled:not(.is-stop) img {
    content: url("https://futurewindow.oss-cn-beijing.aliyuncs.com/chineseResources/UIA/static-page/AI-conversation/img/ai-send-disabled-h5.svg");
  }
  .ai-chat__skill-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .ai-chat__skill-chips::-webkit-scrollbar {
    display: none;
  }
  .ai-chat__skill-chip {
    flex: 0 0 auto;
  }
  .ai-chat__disclaimer{
    font-size: 13px;
  }
  .ai-chat__profile{
    padding: 16px 4px;
  }
  .ai-chat__profile-text{
    align-items: flex-start;
    flex-direction: column;
  }
  .ai-chat__messages {
    padding-top: 16px;
  }

  .ai-chat__nav-tools {
    gap: 12px;
    height: auto;
    padding: 8px 12px 8px 16px;
  }

  .ai-chat__nav-tools .ai-chat__nav-user {
    width: 40px;
    height: 40px;
  }
}
