@charset "UTF-8";
/* B 版首屏。标题区不复用 QuickSearch 的 quick-search-*：设计稿上两版标题的形态不同
   （B 版标语是标题上方的胶囊、主标题深色不带渐变、没有副标题行），所以这里自成一套。 */
@keyframes startChoiceFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.start-choice-section {
  position: relative;
  width: 100%;
  padding: 100px 0 0;
  background: #F9FBFF;
  box-sizing: border-box;
  /* 色带下沿硬切在卡片中间（设计稿）。156 = 本区块 padding-bottom 的 80 + 卡片露在色带外的 76。
     用 bottom 而不是写死高度，标题行数、间距一改色带跟着长。 */
}
.start-choice-section .hero-glow {
  bottom: 80px;
}
.start-choice-section .start-choice-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: var(--content-width);
  max-width: calc(100% - 160px);
  margin: 0 auto;
}
.start-choice-section .start-choice-badge {
  margin-bottom: 36px;
  padding: 16px 24px;
  box-sizing: border-box;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 500;
  background: linear-gradient(90deg, #ffe6ff 0%, #f0f5ff 100%);
  box-sizing: border-box;
  border: 1px solid #BA8DFF;
  animation: startChoiceFadeUp 0.6s ease-out 0.1s both;
}
.start-choice-section .start-choice-title {
  width: calc(100vw - 80px);
  margin-bottom: 32px;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  animation: startChoiceFadeUp 0.6s ease-out 0.2s both;
}
.start-choice-section .start-choice-tip {
  margin-bottom: 24px;
  font-size: 18px;
  line-height: 28px;
  color: #888;
  text-align: center;
  animation: startChoiceFadeUp 0.6s ease-out 0.3s both;
}
.start-choice-section .start-choice-cards {
  display: flex;
  gap: 40px;
  width: 100%;
  margin: 0 auto;
  animation: startChoiceFadeUp 0.6s ease-out 0.4s both;
}
.start-choice-section .start-choice-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  box-sizing: border-box;
  border: 1px solid #E5E5E5;
  border-radius: 16px;
  background: #fff;
  /* 负 spread 把横向外扩收成 0（blur/2 + spread = 20 - 20），
     两卡之间那 40px 间隙才不会被两边的投影糊满；浮起感靠 offset-y 往下露 */
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}
@media (hover: hover) {
  .start-choice-section .start-choice-card:hover {
    transform: translateY(-3px);
  }
}
.start-choice-section {
  /* Guide Me 卡是主推项，用淡紫底 + 紫描边和左卡区分 */
}
.start-choice-section .start-choice-card-guide {
  background: #FCF8FF;
  border: 1px solid #BA8DFF;
}
.start-choice-section .start-choice-card-title {
  margin-bottom: 11px;
  font-size: 20px;
  font-weight: bold;
  color: #222;
}
.start-choice-section .start-choice-card-desc {
  /* 描述与按钮之间用 auto 撑开，两张卡描述行数不同时按钮仍能底对齐 */
  margin-bottom: auto;
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 24px;
  color: #888;
}
.start-choice-section .start-choice-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  box-sizing: border-box;
  border-radius: 8px;
  cursor: pointer;
}
@media (hover: hover) {
  .start-choice-section .start-choice-card-btn:hover {
    opacity: 0.8;
  }
}
.start-choice-section .start-choice-card-trial .start-choice-card-btn {
  color: #6F1CED;
  border: 1px solid #6F1CED;
  background-color: #fff;
}
.start-choice-section {
  /* 渐变与首页底部 CTA 按钮（.cta-btn）是同一条，设计稿上取色一致 */
}
.start-choice-section .start-choice-card-guide .start-choice-card-btn {
  color: #fff;
  border: none;
  background: linear-gradient(78deg, #fe59fd 0%, #f202b0 25%, #5151ff 50%, #0e5bf2 74%, #1fceec 99%);
}

/* 断点与降档比例跟 .quick-search-title 保持一致（A 版 50 / 44 / 34），
   line-height 走 1.5 的比例值，断点里只改 font-size */
@media (max-width: 1920px) {
  .start-choice-section .start-choice-title {
    font-size: 48px;
  }
}
@media (max-width: 1440px) {
  .start-choice-section .start-choice-title {
    font-size: 44px;
  }
}
@media (max-width: 900px) {
  .start-choice-section {
    padding: 60px 0;
  }
  .start-choice-section .start-choice-badge {
    font-size: 16px;
    line-height: 24px;
    padding: 10px 18px;
  }
  .start-choice-section .start-choice-title {
    font-size: 40px;
  }
  .start-choice-section .start-choice-cards {
    flex-direction: column;
    gap: 20px;
  }
}
.landing-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 内容宽度不在页面这层统一约束：各区块要有自己的背景色，根节点得铺满视口，
   所以约束下放到每个区块内部那层容器（.quick-search-content / .why-content /
   .demo-content / .cta-content / .start-choice-content），各自 max-width + 居中，
   横向留白由区块自己的 padding 给。 */
/* 首页主标题不受内容宽度约束：铺到视口宽，两边各留 80px 防贴边。
   只挂在 .landing-page 下，对话页 Welcome 态和触屏两端各有自己的宽度约定，不受影响。 */
.landing-page .quick-search-title {
  width: calc(100vw - 80px);
  max-width: none;
}

.landing-header {
  width: 100%;
  background: #fff;
}
.landing-header .home-header-nav {
  margin: 0 auto;
}
.landing-header .header-user-menu .nav-user-avatar {
  border-radius: 8px;
}

.demo-section,
.landing-cta-section,
.layout-footer {
  position: relative;
  z-index: 1;
}.pp-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.pp-page .pp-header {
  background: #222;
  color: #fff;
  padding: 18px 0;
  box-sizing: border-box;
}
.pp-page .pp-header-inner {
  width: var(--content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pp-page .pp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 31.79px;
  font-weight: 600;
  cursor: pointer;
}
.pp-page .pp-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.pp-page .pp-nav-link {
  font-size: 16px;
  color: #fff;
  border: none;
  border-radius: 12px;
  background-color: transparent;
  padding: 10px 15px;
  box-sizing: border-box;
  cursor: pointer;
}
.pp-page .pp-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}
.pp-page .pp-nav-link-primary {
  background-color: var(--color-primary);
}
.pp-page .pp-nav-link-primary:hover {
  background-color: var(--color-primary);
  opacity: 0.8;
}
.pp-page .pp-content {
  background-color: #f2f2f2;
}
.pp-page .pp-content-inner {
  margin: 20px auto;
  padding: 20px;
  box-sizing: border-box;
  width: var(--content-width);
  background-color: #fff;
}
.pp-page .pp-content-title {
  padding: 20px 0;
  box-sizing: border-box;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
}.alpha-program-page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.alpha-program-page .alpha-program-header {
  margin: 0 auto;
  width: var(--content-width);
}

/* ========== Hero ========== */
.alpha-hero {
  text-align: center;
  padding: 80px 0;
  box-sizing: border-box;
  margin: 0 auto;
}
.alpha-hero .alpha-hero-title {
  font-size: 48px;
  font-weight: bold;
  line-height: 64px;
  margin-bottom: 5px;
}
.alpha-hero .alpha-hero-brand {
  display: inline-block;
  background: linear-gradient(90deg, #F936DE 0%, #E00BB9 25%, #1F58F5 75%, #1EC1ED 99%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}
.alpha-hero .alpha-hero-subtitle,
.alpha-hero .alpha-hero-subtitle-highlight {
  font-size: 18px;
  line-height: 28px;
}
.alpha-hero .alpha-hero-subtitle {
  margin-bottom: 5px;
  color: #888;
}
.alpha-hero .alpha-hero-subtitle-highlight {
  font-weight: 600;
  color: #F936DE;
  margin-bottom: 40px;
}

/* ========== CTA Button ========== */
.alpha-cta-btn {
  display: inline-block;
  padding: 15px 50px;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(83deg, #FE59FD 0%, #F202B0 24%, #5151FF 50%, #0E5BF2 74%, #1FCEEC 99%);
  border-radius: 77px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
}
.alpha-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.4);
  opacity: 0.8;
  color: #fff;
  text-decoration: none;
}

/* ========== Section Common ========== */
.alpha-section {
  width: var(--content-width);
  margin: 0 auto;
  padding: 80px 0;
  box-sizing: border-box;
}
.alpha-section .alpha-section-title {
  font-size: 48px;
  font-weight: bold;
  line-height: 64px;
  text-align: center;
  margin-bottom: 40px;
}

/* ========== How it Works ========== */
.alpha-section-steps {
  padding-top: 0;
  box-sizing: border-box;
  width: 1152px;
}
.alpha-section-steps .alpha-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.alpha-section-steps .alpha-step-card {
  border-radius: 16px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  padding: 40px;
  box-sizing: border-box;
  text-align: center;
  transition: box-shadow 0.2s ease;
}
.alpha-section-steps .alpha-step-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.alpha-section-steps .alpha-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(138deg, #FC48EE 12%, #1276F1 84%);
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.alpha-section-steps .alpha-step-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 16px;
}
.alpha-section-steps .alpha-step-desc {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #666;
}

/* ========== Rewards Breakdown ========== */
.alpha-section-rewards {
  width: 100%;
  background: #F9FAFB;
}
.alpha-section-rewards .alpha-rewards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
  width: 896px;
  box-sizing: border-box;
}
.alpha-section-rewards .alpha-reward-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 24px 30px;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.alpha-section-rewards .alpha-reward-row:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1);
}
.alpha-section-rewards .alpha-reward-left-border {
  position: absolute;
  left: -1px;
  top: -1px;
  bottom: -1px;
  width: 10px;
  border-radius: 16px 0 0 16px;
  clip-path: inset(0 6px 0 0);
}
.alpha-section-rewards .alpha-reward-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.alpha-section-rewards .alpha-reward-icon img {
  width: 100%;
  height: 100%;
  display: block;
}
.alpha-section-rewards .alpha-reward-info {
  flex: 1;
  min-width: 0;
}
.alpha-section-rewards .alpha-reward-label {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}
.alpha-section-rewards .alpha-reward-desc {
  font-size: 16px;
  line-height: 24px;
  color: #4B5563;
}
.alpha-section-rewards .alpha-reward-amount {
  font-size: 24px;
  font-weight: 600;
  flex-shrink: 0;
}

/* ========== Who are we looking for ========== */
.alpha-section-who {
  width: 1152px;
}
.alpha-section-who .alpha-who-content {
  display: flex;
  align-items: center;
  gap: 80px;
}
.alpha-section-who .alpha-who-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.alpha-section-who .alpha-who-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}
.alpha-section-who .alpha-who-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(138deg, #FC48EE 12%, #1276F1 84%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.alpha-section-who .alpha-who-image {
  flex-shrink: 0;
  width: 552px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F9FAFB;
  border-radius: 16px;
}
.alpha-section-who .alpha-who-image img {
  width: 375px;
  height: 296px;
  display: block;
}

/* ========== Bottom CTA ========== */
.alpha-bottom-cta {
  text-align: center;
}
.alpha-bottom-cta .alpha-bottom-cta-title {
  font-size: 48px;
  font-weight: bold;
  line-height: 64px;
  margin-bottom: 40px;
}.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 20px;
  color: #374151;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-item:hover {
  background: #f3f4f6;
  color: #1f2937;
}
.nav-item.active {
  background: #eef0f3;
  color: #111827;
  font-weight: 500;
  box-shadow: none;
}
.nav-item.active .nav-pin,
.nav-item.active .nav-delete {
  color: #6b7280;
}
.nav-item.active .nav-pin:hover {
  background: rgba(17, 24, 39, 0.08);
  color: #111827;
}
.nav-item.active .nav-delete:hover {
  background: rgba(17, 24, 39, 0.08);
  color: #111827;
}
.nav-item .nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.nav-item .nav-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-item .nav-pin,
.nav-item .nav-delete {
  display: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 12px;
  transition: background 0.1s, color 0.1s;
}
.nav-item .nav-pin:hover,
.nav-item .nav-delete:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.nav-item .nav-pin:hover {
  background: rgba(17, 24, 39, 0.08);
  color: #111827;
}
.nav-item:hover .nav-pin, .nav-item:hover .nav-delete {
  display: flex;
}.sidebar {
  width: 260px;
  display: flex;
  flex-direction: column;
  z-index: 10;
  overflow: hidden;
  border-right: 1px solid #E5E5E5;
  transition: none;
  --sidebar-gutter: 15px;
  padding: 24px var(--sidebar-gutter);
  box-sizing: border-box;
  gap: 16px;
}
.sidebar.collapsed {
  width: var(--sidebar-collapsed-w);
  min-width: var(--sidebar-collapsed-w);
  --sidebar-gutter: 20px;
}
.sidebar.collapsed .sidebar-brand {
  flex-direction: column;
}
.sidebar.collapsed .sidebar-logo {
  justify-content: center;
}
.sidebar.collapsed .sidebar-logo .logo-text {
  opacity: 0;
  width: 0;
  transition-delay: 0s;
}
.sidebar.collapsed .sidebar-logo:hover .sidebar-logo-img {
  opacity: 0;
}
.sidebar.collapsed .sidebar-logo:hover .sidebar-logo-toggle {
  opacity: 1;
  pointer-events: auto;
  background: #f3f4f6;
}
.sidebar.collapsed .sidebar-toggle-btn {
  display: none;
}
.sidebar.collapsed .sidebar-new-chat .new-chat-label {
  display: none;
}
.sidebar.collapsed .sidebar-new-chat {
  justify-content: center;
}
.sidebar.collapsed .sidebar-nav-title {
  display: none;
}
.sidebar.collapsed .history-toggle-btn {
  display: none;
}
.sidebar.collapsed .sidebar-user {
  background: transparent;
}
.sidebar.collapsed .sidebar-action-btn {
  justify-content: center;
  border-radius: 10px;
}
.sidebar.collapsed .sidebar-action-label {
  display: none;
}

.sidebar-brand {
  margin-bottom: 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  height: 40px;
  cursor: pointer;
}
.sidebar-logo:hover .logo-text {
  color: var(--primary);
}
.sidebar-logo .logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  opacity: 1;
  width: auto;
  transition: opacity 0.2s ease, width 0.2s ease;
  transition-delay: 0.15s;
}

.sidebar-logo-icon {
  position: relative;
  width: 36px;
  height: 34px;
  flex-shrink: 0;
}

.sidebar-logo-img {
  width: 36px;
  height: 34px;
  display: block;
  transition: opacity 0.15s ease;
}

.sidebar-logo-toggle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, background 0.15s ease;
}
.sidebar-logo-toggle img {
  width: 24px;
  height: 24px;
  display: block;
}
.sidebar-logo-toggle:hover {
  background: #f3f4f6;
}

.sidebar-toggle-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.sidebar-toggle-btn img {
  width: 24px;
  height: 24px;
  display: block;
}
.sidebar-toggle-btn:hover {
  background: #f3f4f6;
}

.sidebar-new-chat {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  box-sizing: border-box;
  border: none;
  border-radius: var(--radius-sm);
  background: #F5EEFF;
  cursor: pointer;
  color: #6F1CED;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.15s, box-shadow 0.15s;
  width: 100%;
}
.sidebar-new-chat:hover {
  background: #ece9ff;
  box-shadow: 0 6px 16px rgba(123, 114, 232, 0.1);
}
.sidebar-new-chat .new-chat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  font-size: 20px;
}
.sidebar-new-chat .new-chat-label {
  flex: 1;
  text-align: left;
}

.sidebar-smart-negotiation {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  box-sizing: border-box;
  margin: 0 12px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  color: #334155;
  position: relative;
  overflow: hidden;
  transition: background 0.15s, color 0.15s;
  width: calc(100% - 24px);
}
.sidebar-smart-negotiation:hover {
  background: #f3f4f6;
  color: #111827;
}
.sidebar-smart-negotiation .smart-negotiation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  box-sizing: border-box;
  flex-shrink: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 20px;
}
.sidebar-smart-negotiation .smart-negotiation-label {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: inherit;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-sizing: border-box;
  margin-right: calc(var(--sidebar-gutter) * -1);
  padding-right: var(--sidebar-gutter);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #d8dee8 transparent;
}
.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: #d8dee8;
  border-radius: 4px;
}
.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 5px 0 5px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.sidebar-nav-title--history {
  width: 100%;
  padding: 9px 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: var(--text-muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.sidebar-nav-title--history:hover {
  background: var(--border-light);
  color: var(--text);
}
.sidebar-nav-title--history .history-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.sidebar-nav-title--pinned {
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}
.sidebar-nav-title--pinned span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sidebar-nav-title--history {
  cursor: pointer;
  border-radius: 4px;
  padding: 6px 8px;
  margin-bottom: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
.sidebar-nav-title--history:hover {
  background: var(--border-light);
  color: var(--text);
}

.history-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  transition: background 0.15s ease, color 0.15s ease;
}
.history-toggle-btn:hover {
  background: var(--border-light);
  color: var(--text);
}

.history-collapsed-slot {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.history-collapsed-hover {
  display: flex;
  justify-content: center;
}

.history-collapsed-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.15s ease, color 0.15s ease;
}
.history-collapsed-trigger:hover {
  background: #e9e9e9;
  color: #111827;
}

.history-custom-flyout {
  position: fixed;
  top: 128px;
  left: calc(var(--sidebar-collapsed-w) - 12px);
  z-index: 1100;
  padding-left: 12px;
}

.history-popover-list {
  width: 300px;
  max-height: 460px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.12);
  overflow-y: auto;
  scrollbar-width: thin;
}
.history-popover-list::-webkit-scrollbar {
  width: 8px;
}
.history-popover-list::-webkit-scrollbar-thumb {
  background: #9b9b9b;
  border: 2px solid #fff;
  border-radius: 999px;
}
.history-popover-list::-webkit-scrollbar-track {
  background: transparent;
}
.history-popover-list .nav-item {
  padding: 7px 10px;
  gap: 8px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  box-shadow: none;
}
.history-popover-list .sidebar-pinned-list {
  margin-bottom: 8px;
}
.history-popover-list .nav-icon {
  display: none;
}
.history-popover-list .nav-pin,
.history-popover-list .nav-delete {
  display: none;
}
.history-popover-list .history-empty,
.history-popover-list .history-loading {
  padding: 18px;
  font-size: 14px;
}

.history-empty {
  padding: 24px 16px;
  box-sizing: border-box;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

.sidebar-session-list {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: auto;
  overflow: visible;
}

.sidebar-session-list--collapsed-hidden {
  display: none;
  overflow: hidden;
}

.history-session-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-pinned-list {
  flex: 0 0 auto;
  margin-bottom: 10px;
}
.sidebar-pinned-list .nav-item {
  background: rgba(123, 114, 232, 0.05);
  border: 1px solid rgba(123, 114, 232, 0.1);
}
.sidebar-pinned-list .nav-item:hover {
  background: rgba(123, 114, 232, 0.08);
  border-color: rgba(123, 114, 232, 0.14);
}
.sidebar-pinned-list .nav-item.active {
  background: #eef0f3;
  border-color: transparent;
  color: #111827;
}

.history-section-title {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.history-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.history-end {
  padding: 12px 16px;
  box-sizing: border-box;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-user {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 0 0;
  margin-top: auto;
  background: transparent;
}

.sidebar-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  box-sizing: border-box;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.sidebar-action-btn:hover {
  background: #f3f4f6;
  color: #111827;
}
.sidebar-action-btn:hover .sidebar-action-icon {
  color: #111827;
}
.sidebar-action-btn:active {
  transform: translateY(1px);
}
.sidebar-action-btn + .sidebar-action-btn {
  margin-top: 0;
}

.sidebar-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #6b7280;
  font-size: 20px;
  transition: color 0.15s ease;
}

.sidebar-action-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-download-popover .ant-popover-inner {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.sidebar-download-qrcodes {
  display: flex;
  gap: 12px;
}

.sidebar-download-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  min-width: 126px;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}
.sidebar-download-qr-item img {
  width: 120px;
  height: 120px;
  display: block;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.sidebar-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 16px;
}
.sidebar-user-avatar:hover {
  background: var(--border-light);
  color: var(--text);
}

.sidebar-user-login {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--primary);
  border: none;
  background: transparent;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.15s;
  overflow: hidden;
}
.sidebar-user-login:hover {
  background: var(--primary-bg);
}
.sidebar-user-login .login-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  font-size: 16px;
}
.sidebar-user-login .login-label {
  flex: 1;
  text-align: left;
  opacity: 1;
  width: auto;
  transition: opacity 0.2s ease, width 0.2s ease;
  transition-delay: 0.15s;
}

.sidebar-user-info {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 4px 0;
  box-sizing: border-box;
  border: none;
  border-radius: 10px;
  background: rgba(92, 59, 238, 0.04);
  cursor: default;
  overflow: hidden;
  gap: 0;
}
.sidebar-user-info .user-row-divider {
  height: 1px;
  margin: 3px 10px;
  background: rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}
.sidebar-user-info .user-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: calc(100% - 8px);
  height: 36px;
  padding: 0 6px;
  box-sizing: border-box;
  margin: 0 4px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s;
}
.sidebar-user-info .user-row:hover {
  background: rgba(92, 59, 238, 0.06);
}
.sidebar-user-info .user-row-bottom {
  color: #6F7684;
  font-size: 13px;
  font-weight: 600;
}
.sidebar-user-info .user-row-bottom:hover .credits-label {
  color: #5C3BEE;
}
.sidebar-user-info .user-row-bottom:hover .credits-icon-wrap {
  background: rgba(92, 59, 238, 0.1);
}
.sidebar-user-info .user-row-bottom:hover .credits-icon-wrap .credits-icon {
  color: #5C3BEE;
}
.sidebar-user-info .user-row-bottom:hover .credits-arrow {
  opacity: 0.8;
}
.sidebar-user-info .user-avatar {
  padding: 0;
  box-sizing: border-box;
  border: none;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  cursor: pointer;
}
.sidebar-user-info .user-avatar .letter-avatar {
  width: 28px;
  height: 28px;
  font-size: 13px;
  line-height: 13px;
}
.sidebar-user-info .user-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color 0.15s;
}
.sidebar-user-info .user-name:hover {
  color: var(--color-primary);
}
.sidebar-user-info .user-logout-btn {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  flex-shrink: 0;
  transition: background 0.15s, opacity 0.15s;
}
.sidebar-user-info .user-logout-btn:hover {
  background: rgba(0, 0, 0, 0.07);
  opacity: 1;
}
.sidebar-user-info .credits-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(92, 59, 238, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.sidebar-user-info .credits-icon-wrap .credits-icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
}
.sidebar-user-info .credits-label {
  flex: 1;
  min-width: 0;
  text-align: left;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}
.sidebar-user-info .credits-count {
  padding: 1px 7px;
  box-sizing: border-box;
  border-radius: 999px;
  background: rgba(92, 59, 238, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.sidebar-user-info .credits-arrow {
  font-size: 10px;
  opacity: 0.3;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.sidebar-user-info .credits-buy-btn {
  height: 17px;
  padding: 0 7px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.sidebar-user-info .credits-buy-btn:hover {
  background: #4F31DA;
}

.delete-confirm-modal .ant-modal-content {
  padding: 30px 40px;
  box-sizing: border-box;
  border-radius: 20px;
}
.delete-confirm-modal .delete-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.delete-confirm-modal .delete-modal-content .delete-modal-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: 50%;
  margin-bottom: 16px;
  font-size: 24px;
  color: var(--primary);
}
.delete-confirm-modal .delete-modal-content .delete-modal-title {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
  line-height: 32px;
  color: #1a1a2e;
}
.delete-confirm-modal .delete-modal-content .delete-modal-text {
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 24px;
  color: #6b7280;
}
.delete-confirm-modal .delete-modal-content .delete-modal-buttons {
  width: 100%;
  display: flex;
  gap: 12px;
}
.delete-confirm-modal .delete-modal-content .delete-modal-buttons .delete-btn-confirm,
.delete-confirm-modal .delete-modal-content .delete-modal-buttons .delete-btn-cancel {
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  flex: 1;
}
.delete-confirm-modal .delete-modal-content .delete-modal-buttons .delete-btn-confirm {
  border: none;
  color: #fff;
  background: linear-gradient(83deg, #FE59FD 0%, #F202B0 24%, #5151FF 50%, #0E5BF2 74%, #1FCEEC 99%);
}
.delete-confirm-modal .delete-modal-content .delete-modal-buttons .delete-btn-confirm:hover {
  background: linear-gradient(83deg, #FE59FD 0%, #F202B0 24%, #5151FF 50%, #0E5BF2 74%, #1FCEEC 99%);
  filter: brightness(0.96);
}
.delete-confirm-modal .delete-modal-content .delete-modal-buttons .delete-btn-cancel {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
}
.delete-confirm-modal .delete-modal-content .delete-modal-buttons .delete-btn-cancel:hover {
  background: #f3f4f6;
  color: #1a1a2e;
}.app-layout {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}.chat-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 400px;
  min-height: 0;
  background: var(--white);
  position: relative;
  transition: flex 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-topbar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 0;
  padding: 15px 80px 15px 22px;
  border-bottom: none;
  background: transparent;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.chat-topbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  padding-right: 0;
  overflow: hidden;
  color: #202637;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.chat-topbar-title-text {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
  margin-left: auto;
}

.chat-topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 16px;
  box-sizing: border-box;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background-color: #fff;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.chat-topbar-btn:hover {
  transform: translateY(-1px);
}

.chat-topbar-challenge-btn {
  border-color: rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.08);
  color: #6d28d9;
  font-weight: 650;
  text-decoration: none;
}
.chat-topbar-challenge-btn:hover, .chat-topbar-challenge-btn:focus, .chat-topbar-challenge-btn:active, .chat-topbar-challenge-btn:visited {
  color: #6d28d9;
}
.chat-topbar-challenge-btn .anticon {
  font-size: 12px;
}

.chat-topbar-assets-btn strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 19px;
  padding: 0 6px;
  border-radius: 999px;
  background: #8b5cf6;
  color: #fff;
  font-size: 12px;
  line-height: 19px;
}

.chat-topbar-credits-icon {
  width: 14px;
  height: 14px;
  color: #f59e0b;
}

.chat-topbar-guide-btn {
  border-color: #222222;
  background: #fff;
  color: #222;
}
@media (hover: hover) {
  .chat-topbar-guide-btn:hover {
    opacity: 0.8;
  }
}

.chat-topbar-user {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.chat-topbar .header-user-menu .nav-user-avatar .nav-user-name {
  font-size: 16px;
  line-height: 24px;
}

.app-layout.has-detail .chat-panel {
  flex: 2;
  min-width: 400px;
  max-width: 600px;
}

@media screen and (max-width: 900px) {
  .chat-topbar-title {
    padding-right: 220px;
  }
}
.detail-panel {
  background: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  flex: 0 0 0;
  max-width: 0;
  margin: 0 0 10px 5px;
  opacity: 0;
  border-radius: 16px 0 0 16px;
  transform: translateX(24px);
  transition: none;
  pointer-events: none;
}

/* loading overlay 样式，覆盖整个面板 */
.detail-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

/* 展开态 —— transition 放在此处，只在「打开」方向生效 */
.app-layout.has-detail .detail-panel {
  flex: 5;
  max-width: 100%;
  opacity: 1;
  pointer-events: auto;
  border: 1px solid #f0ecff;
  border-right: none;
  transform: translateX(0);
  box-shadow: -5px 0 18px rgba(87, 64, 145, 0.08), -1px 0 0 rgba(124, 58, 237, 0.06);
  transition: flex 0.45s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), margin 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-header {
  display: flex;
  align-items: center;
  padding: 0 16px 0 10px;
  height: 55px;
  border-bottom: 1px solid #ede9fe;
  flex-shrink: 0;
  gap: 8px;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 10;
}

/* 下载 PDF 按钮区域 - detail-header 下面 */
.download-pdf-header-bar {
  position: sticky;
  top: 55px;
  background: rgba(253, 251, 255, 0.96);
  padding: 6px 14px;
  border-bottom: 1px solid #f1edff;
  z-index: 9;
  flex-shrink: 0;
  backdrop-filter: blur(6px);
}

/* 下载 PDF 按钮 */
.download-pdf-btn-header {
  padding: 5px 13px;
  border-radius: 8px;
  background: #faf7ff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #6b46c1;
  border: 1px solid #e4dcff;
  box-shadow: 0 1px 2px rgba(109, 40, 217, 0.04);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.download-pdf-btn-header:hover:not(:disabled) {
  background: #f3efff;
  border-color: #d6c8ff;
  color: #5b21b6;
}
.download-pdf-btn-header:disabled {
  background: #faf7ff;
  color: #b8a5f2;
  cursor: not-allowed;
  box-shadow: none;
}

.detail-header-title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 分享按钮与折叠按钮共用一套图标按钮外观，只差 margin */
.detail-share-btn,
.detail-close-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
  font-size: 17px;
}
.detail-share-btn:hover,
.detail-close-btn:hover {
  background: #f5f3ff;
  color: #4f46e5;
}

/* 两个按钮之间的间距由 .detail-header 的 gap 负责，这里只留最右侧的收边 */
.detail-close-btn {
  margin-right: 4px;
}

.detail-body {
  flex: 1;
  overflow-y: auto;
}

.detail-body-content {
  min-height: 100%;
}

/* ── Report View ── */
/* 这条和 ReportView/index.scss 里的 .report-view 同权重，本文件的样式加载在后面会覆盖它，
   所以小屏的 10px 也要在这里跟一份，否则会被这里的 16px 盖掉 */
.report-view {
  padding: 16px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .report-view {
    padding: 10px;
  }
}

/* ── Dashboard View ── */
.dashboard-view {
  padding: 16px;
  box-sizing: border-box;
}

/* ── 浮动 View Key Assets 按钮 ── */
/* ── Key Assets Drawer ── */
.key-assets-drawer .drawer-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.key-assets-drawer .drawer-title {
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}
.key-assets-drawer .drawer-count {
  background: #7c3aed;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  padding: 1px 7px;
  box-sizing: border-box;
  min-width: 18px;
  text-align: center;
  line-height: 16px;
}
.key-assets-drawer .drawer-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
}
.key-assets-drawer .drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: none;
}
.key-assets-drawer .drawer-item:focus, .key-assets-drawer .drawer-item:focus-visible {
  outline: none;
  box-shadow: none;
  background: #faf8ff;
}
.key-assets-drawer .drawer-item:hover {
  background: #faf8ff;
  transform: translateX(2px);
}
.key-assets-drawer .drawer-item.active {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1px solid #e9d5ff;
}
.key-assets-drawer .drawer-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.key-assets-drawer .drawer-item-icon svg {
  width: 16px;
  height: 16px;
}
.key-assets-drawer .drawer-item-icon.icon-search {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  color: #7c3aed;
}
.key-assets-drawer .drawer-item-icon.icon-analysis {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  color: #0284c7;
}
.key-assets-drawer .drawer-item-icon.icon-comparison {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
}
.key-assets-drawer .drawer-item-icon.icon-evaluation {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
  color: #9333ea;
}
.key-assets-drawer .drawer-item-icon.icon-default {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #ea580c;
}
.key-assets-drawer .drawer-item-info {
  flex: 1;
  min-width: 0;
}
.key-assets-drawer .drawer-item-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.key-assets-drawer .drawer-item-desc {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 3px;
  font-weight: 500;
}
.key-assets-drawer .drawer-view-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  box-sizing: border-box;
  margin-top: 8px;
  border: 1px solid #e9d5ff;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #7c3aed;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: none;
}
.key-assets-drawer .drawer-view-more:hover:not(:disabled) {
  background: #faf5ff;
  border-color: #c4b5fd;
}
.key-assets-drawer .drawer-view-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.key-assets-drawer .drawer-no-more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
  margin-top: 8px;
  font-size: 12px;
  color: #9ca3af;
  background: #f9fafb;
  border-radius: 8px;
  text-align: center;
}

/* ── Dashboard 切换吸底按钮 ── */
.dashboard-toggle-wrapper {
  flex-shrink: 0;
  padding: 9px 16px;
  background: rgba(253, 251, 255, 0.96);
  display: flex;
  justify-content: center;
  border-top: 1px solid #f1edff;
  backdrop-filter: blur(6px);
}

.dashboard-toggle-btn.floating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #faf7ff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #6b46c1;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  font-family: inherit;
  border: 1px solid #e4dcff;
  box-shadow: 0 1px 2px rgba(109, 40, 217, 0.04);
}
.dashboard-toggle-btn.floating:hover {
  background: #f3efff;
  border-color: #d6c8ff;
  color: #5b21b6;
}
.dashboard-toggle-btn.floating:active {
  background: #ebe4ff;
  box-shadow: none;
}
.dashboard-toggle-btn.floating .anticon {
  font-size: 12px;
}.sourcing-chat-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: transparent;
}
.sourcing-chat-shell.is-welcome {
  background: #F9FBFF;
}

.sourcing-chat-body {
  flex: 1;
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}.guide-me-login {
  display: flex;
  justify-content: center;
}
.guide-me-login .sx-login-dialog {
  width: 100%;
  max-width: 680px;
  min-width: 0;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.04);
}

@media screen and (max-width: 768px) {
  .guide-me-login .sx-login-dialog {
    padding: 24px 20px;
  }
}.guide-me-card {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 20px;
  box-sizing: border-box;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #E5E5E5;
  box-shadow: 0px 10px 40px 5px rgba(0, 0, 0, 0.05);
}
.guide-me-card .guide-me-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.guide-me-card .guide-me-card-brand {
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  color: #555;
}
.guide-me-card .guide-me-card-progress {
  display: flex;
  gap: 8px;
}
.guide-me-card .guide-me-card-progress-item {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: #E5E5E5;
}
.guide-me-card .guide-me-card-progress-item.is-done {
  background: #6F1CED;
}
.guide-me-card .guide-me-card-step {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 20px;
  color: #6F1CED;
}
.guide-me-card .guide-me-card-title {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: bold;
  line-height: 28px;
}
.guide-me-card .guide-me-card-desc {
  font-size: 14px;
  line-height: 20px;
  color: #888;
}
.guide-me-card .guide-me-card-body {
  margin-top: 16px;
}
.guide-me-card .guide-me-card-footer {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.guide-me-card .guide-me-card-back,
.guide-me-card .guide-me-card-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 32px;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}
@media (hover: hover) {
  .guide-me-card .guide-me-card-back:hover,
  .guide-me-card .guide-me-card-next:hover {
    opacity: 0.8;
  }
}
.guide-me-card .guide-me-card-back {
  border: 1px solid #E5E5E5;
  background: #fff;
  color: #222;
}
.guide-me-card .guide-me-card-next {
  flex: 1;
  border: none;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(87deg, #fe59fd 0%, #f202b0 24%, #5151ff 50%, #0e5bf2 74%, #1fceec 99%);
}
.guide-me-card .guide-me-card-next:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

@media screen and (max-width: 768px) {
  .guide-me-card {
    padding: 20px 16px;
  }
  .guide-me-card .guide-me-card-title {
    font-size: 22px;
  }
  .guide-me-card .guide-me-card-footer {
    gap: 12px;
  }
  .guide-me-card .guide-me-card-back,
  .guide-me-card .guide-me-card-next {
    height: 48px;
    padding: 0 16px;
  }
}.step-task-type {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step-task-type .step-task-type-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  box-sizing: border-box;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
@media (hover: hover) {
  .step-task-type .step-task-type-item:hover {
    border: 1px solid #BA8DFF;
  }
}
.step-task-type .step-task-type-item.is-active {
  border-color: #BA8DFF;
  background: #FCF8FF;
}
.step-task-type .step-task-type-item.is-active .step-task-type-icon {
  background: #F3E4FE;
}
.step-task-type .step-task-type-item.is-active .step-task-type-mark {
  color: #6F1CED;
}
.step-task-type .step-task-type-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F5F5F7;
}
.step-task-type .step-task-type-icon img {
  width: 20px;
  height: 20px;
}
.step-task-type .step-task-type-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.step-task-type .step-task-type-title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
}
.step-task-type .step-task-type-desc {
  font-size: 14px;
  line-height: 20px;
  color: #888;
}
.step-task-type .step-task-type-mark {
  flex-shrink: 0;
  font-size: 16px;
  color: #888;
}.step-key-info .step-key-info-input {
  display: block;
  width: 100%;
  height: 88px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  font-size: 16px;
  line-height: 24px;
  color: #222;
  resize: none;
  outline: none;
}
.step-key-info .step-key-info-input::placeholder {
  color: #bbb;
}
.step-key-info .step-key-info-input:focus {
  border-color: #BA8DFF;
}
.step-key-info .step-key-info-input.is-error {
  border-color: #f5222d;
}
.step-key-info .step-key-info-error {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
  color: #f5222d;
}
.step-key-info .step-key-info-market {
  margin-top: 16px;
  padding: 16px;
  box-sizing: border-box;
  border: 1px solid #E5E5E5;
  border-radius: 12px;
  background: #FAFAFC;
}
.step-key-info .step-key-info-market-title {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: bold;
  color: #222;
}
.step-key-info .step-key-info-market-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.step-key-info .step-key-info-market-option {
  padding: 8px 16px;
  box-sizing: border-box;
  border: 1px solid #E5E5E5;
  border-radius: 20px;
  background: #fff;
  font-size: 14px;
  color: #555;
  cursor: pointer;
}
@media (hover: hover) {
  .step-key-info .step-key-info-market-option:hover {
    border-color: #BA8DFF;
  }
}
.step-key-info .step-key-info-market-option.is-active {
  border-color: #BA8DFF;
  background: #F3E8FF;
  color: #6F1CED;
}
.step-key-info .step-key-info-market-country {
  max-width: 320px;
  margin-top: 12px;
}
.step-key-info .step-key-info-market-country .search-box input:focus {
  border-color: #BA8DFF;
}
.step-key-info .step-key-info-market-country .country-list li.selected {
  background-color: #F3E8FF;
  color: #6F1CED;
}
/*一行省略号*/
/*多行省略号(默认两行)*/
/*水平垂直居中 不固定宽高*/
/*animate*/
/*Scrollbar*/
/*更改svg图片颜色 父级样式要加overflow: hidden;*/
.step-review {
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #BA8DFF;
  border-radius: 12px;
  background: #FCF8FF;
}
.step-review .step-review-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.step-review .step-review-row + .step-review-row {
  margin-top: 16px;
}
.step-review .step-review-badge,
.step-review .step-review-label {
  flex-shrink: 0;
  width: 56px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
}
.step-review .step-review-badge {
  padding: 4px 0;
  box-sizing: border-box;
  border-radius: 6px;
  background: #F3E8FF;
  color: #6F1CED;
}
.step-review .step-review-label {
  padding: 4px 0;
  color: #888;
}
.step-review .step-review-task {
  font-size: 18px;
  font-weight: bold;
  line-height: 26px;
  color: #222;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.step-review .step-review-plan {
  font-size: 15px;
  line-height: 24px;
  color: #555;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}.guide-me-page {
  min-height: 100vh;
  background: #F9FBFF;
}

.guide-me-header {
  width: 100%;
  background: #fff;
}
.guide-me-header .home-header-nav {
  margin: 0 auto;
}

.guide-me-content {
  width: var(--content-width);
  max-width: calc(100% - 160px);
  margin: 0 auto;
  padding: 24px 0 80px;
}

.guide-me-breadcrumb {
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  .guide-me-content {
    width: 100%;
    max-width: 100%;
    padding: 16px 20px 40px;
  }
  .guide-me-breadcrumb {
    margin-bottom: 24px;
  }
}