/* codex.leaibot.cn PRD 预览层：复用线上能力，按联想乐享 PC 端规范收敛入口、色彩和左聊右页密度 */
:root,
[data-theme="light"] {
  --bg: #f7f5fb;
  --bg-chat: #ffffff;
  --card: #fcfaff;
  --card2: #ffffff;
  --text: #252525;
  --text2: #454545;
  --text3: #606060;
  --border: #e2ddeb;
  --accent: #4d144a;
  --primary: #4d144a;
  --primary-grad: linear-gradient(90deg, #4d144a, #b8252e);
  --user-bubble-grad: linear-gradient(90deg, #fcf2f8, #e3eafd);
  --send-btn-bg: linear-gradient(90deg, #4d144a, #b8252e);
  --nav-bg: rgba(255, 255, 255, .92);
}

html.split-mode.in-chat #mainNav {
  border-right: 1px solid var(--border);
  background: #fff;
}

.logo::after {
  content: none;
}

.nlinks a.nav-active,
.site-seg a.on {
  color: #4d144a;
  border-bottom-color: #b8252e;
}

.site-seg {
  background: #fcfaff;
  border: 1px solid #e2ddeb;
}

.site-seg a.on {
  background: linear-gradient(90deg, #fcf2f8, #e3eafd);
  box-shadow: 0 1px 4px rgba(77, 20, 74, .08);
}

.nlinks .nav-sep,
.nlinks .nav-extra,
#navCartBtn,
#navOrdersBtn,
#navUserCenterBtn,
#navAuthArea,
#navUserArea {
  display: none !important;
}

.chat-main,
.chat-topbar,
.input-bar {
  background: #fff;
}

.chat-topbar {
  height: 56px;
}

.chat-title:empty::before {
  content: "联想乐享";
  color: #252525;
  font-weight: 800;
}

.welcome {
  padding-top: 30px;
}

.welcome h2 {
  font-size: 27px;
  letter-spacing: 0;
}

.welcome p {
  color: #606060;
  margin-bottom: 22px;
}

.wgrid {
  gap: 10px;
}

.wcard,
.wlist-item {
  border-radius: 8px;
  border-color: #e2ddeb;
  background: #fcfaff;
}

.wcard:hover,
.wlist-item:hover {
  border-color: #d3bfd2;
  background: linear-gradient(90deg, #fcf2f8, #e3eafd);
  color: #4d144a;
}

.msg.ai .mbubble {
  font-size: 15px;
  line-height: 29px;
}

.lx-choice-block {
  margin: 12px 0 4px;
  padding: 12px;
  border: 1px solid #e2ddeb;
  border-radius: 10px;
  background: #fcfaff;
}

.lx-choice-title {
  margin-bottom: 10px;
  color: #252525;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.lx-choice-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lx-choice-btn,
.lx-choice-confirm {
  appearance: none;
  border: 1px solid #e2ddeb;
  border-radius: 999px;
  background: #fff;
  color: #454545;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 1.2;
  padding: 8px 14px;
  transition: border-color .16s ease, color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease;
}

.lx-choice-btn:hover,
.lx-choice-btn.selected {
  border-color: #d3bfd2;
  background: linear-gradient(90deg, #fcf2f8, #e3eafd);
  color: #4d144a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(77, 20, 74, .08);
}

.lx-choice-confirm {
  margin-top: 10px;
  border-color: transparent;
  background: linear-gradient(90deg, #4d144a, #b8252e);
  color: #fff;
  font-weight: 700;
}

.msg.user .mbubble {
  border-radius: 8px 8px 2px 8px;
  background: linear-gradient(90deg, #fcf2f8, #e3eafd) !important;
  color: #252525;
}

.input-inner,
.ta-wrap {
  border-radius: 10px;
  border-color: #d3bfd2 !important;
}

.send-btn,
.search .send-btn {
  background: linear-gradient(90deg, #4d144a, #b8252e) !important;
}

.mode-pill.active,
.topbar-btn.active {
  border-color: rgba(77, 20, 74, .38);
  color: #4d144a;
  background: #fcf2f8;
}

html.in-chat.content-open #splitRoot {
  top: 56px;
  background: #f7f5fb;
}

#splitDivider {
  background: #e2ddeb;
}

.cp-header {
  height: 50px;
  min-height: 50px;
  background: #fff;
}

.cp-tab-wrap {
  border-radius: 8px;
}

.cp-tab-wrap:hover,
.cp-tab-wrap.active {
  background: linear-gradient(90deg, #fcf2f8, #e3eafd);
  border-color: rgba(77, 20, 74, .22);
}

.cp-tab-wrap.active::after {
  background: #b8252e;
}

.cp-tab:hover,
.cp-tab-wrap.active .cp-tab,
.cp-tab.active {
  color: #4d144a;
}

.cp-body {
  background: #f7f5fb;
}

.cp-products {
  gap: 14px;
}

.cp-product-card,
.cpd-shell,
.cp-info-page,
.cp-store-card {
  border-radius: 8px !important;
  border-color: #e2ddeb !important;
  box-shadow: 0 8px 22px rgba(77, 20, 74, .06) !important;
}

.cp-product-card:hover {
  border-color: rgba(77, 20, 74, .35) !important;
}

.cp-product-price,
.cpd-price,
.cp-sh-sec {
  color: #4d144a !important;
}

.cpd-actions .cpd-buy,
.cp-cmp-buy2,
.leai-modal-compare {
  background: linear-gradient(90deg, #4d144a, #b8252e) !important;
}

.ai-modal,
.leai-modal {
  border-radius: 8px;
}

.input-hint {
  color: #979797;
}
