/* 赛美员工端 · 视觉层（2026-11-28 重设计）
   原则：暖白纸感 + 墨绿（沿用 biz.css 的 --m-brand #2d5a43）+ 细字重 + 一根发丝线。
   只覆盖外观，不动任何布局结构与交互逻辑。加载顺序：biz.css 之后。 */

/* ── 兜底：任何弹层、长文案都不许把整页撑出横向滚动（微信里最容易踩） ── */
html, body { overflow-x: hidden; max-width: 100%; }

/* ── 底色：从冷灰换成暖白纸 ── */
body,
.chat-msgs,
.chat-input-wrap,
.func-panel { background: #fbfbf9; }

/* ── 标题栏：Muse 同构（左 ★ / 中 品牌 / 右 三点），发丝线收底 ── */
.chat-header {
  background: #fff;
  border-bottom: 1px solid #eef0f2;
  padding: 13px 52px 11px;
  box-shadow: none;
}
.chat-header .brand-mark {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .3em;
  text-indent: .3em;
  color: #1c1c1e;
}
.chat-header .brand-sub {
  font-size: 10.5px;
  letter-spacing: .22em;
  text-indent: .22em;
  color: #9ca3af;
  font-weight: 400;
}

/* ── 气泡：白纸卡 + 一根线，去掉重影 ── */
.chat-msg {
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  line-height: 1.78;
}
.chat-msg.bot {
  background: #fff;
  border: 1px solid #eef0f2;
  color: #1c1c1e;
  font-size: 15px;
  padding: 12px 14px;
}
.chat-msg.user {
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
}
.chat-msg .sender {
  font-size: 10.5px;
  letter-spacing: .14em;
  color: #a6abb3;
  font-weight: 500;
  margin-bottom: 4px;
}
.chat-msg .ts {
  font-size: 10px;
  color: #b8bcc4;
  letter-spacing: .04em;
  margin-top: 6px;
}
.chat-msg.bot h1, .chat-msg.bot h2, .chat-msg.bot h3 { font-weight: 600; letter-spacing: .02em; }
.chat-msg.bot strong, .chat-msg.bot b { font-weight: 600; }
.chat-msg.bot table { font-size: 13px; }
.chat-msg.bot code { background: #f4f5f3; border-radius: 5px; padding: 1px 5px; font-size: 13px; }

/* ── 输入条：白底 + 一条 hairline，输入框做奶白圆角 ── */
.chat-input-wrap {
  border-top: 1px solid #eef0f2;
  box-shadow: none;
}
.chat-input {
  background: #fff;
  border: 1px solid #e6e8eb;
  border-radius: 20px;
  font-size: 16px;
  color: #1c1c1e;
  box-shadow: none;
}
.chat-input::placeholder { color: #aab0b8; }
.chat-input:focus { border-color: #cfd6cd; }

/* ── ＋ 面板：白纸 + 小标题字距 ── */
.func-panel {
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -6px 24px rgba(16, 24, 40, .08);
}
.func-title {
  font-size: 10.5px;
  letter-spacing: .22em;
  text-indent: .22em;
  color: #9ca3af;
  font-weight: 500;
}
.func-grab { background: #e2e5e1; }
.func-item .f-text { font-size: 12px; color: #3d4740; letter-spacing: .02em; }

/* ── 气泡下的 ⋮：更轻 ── */
.chat-msg .sf-dots { color: #c9ced6; margin-top: 4px; }
.chat-msg .sf-dots:active { color: #2d5a43; }
