/* ============================================================
   AI 智能客服工作台 · 样式
   设计令牌集中在 :root，换平台时由 app.js 覆写 --brand / --brand-soft
   ============================================================ */

:root {
  --brand: #FF4C2B;
  --brand-soft: #FFF0EB;

  --ink: #16161A;
  --ink-2: #4C4841;
  --ink-3: #67635C;
  --ink-4: #75706A;

  --line: #ECEAE5;
  --line-2: #F4F2ED;
  --surface: #F7F6F3;
  --canvas: #EAE8E2;
  --white: #fff;

  --green: #16A34A;
  --green-soft: #E9F6EE;
  --amber: #EF9F27;

  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;

  --font: "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 13px;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; }

/* ---------- 页面骨架 ---------- */
.page {
  min-height: 100vh;
  padding: 32px 24px 40px;
}

.hero {
  max-width: 1440px;
  margin: 0 auto 22px;
}

.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .7);
  color: var(--ink-2);
  letter-spacing: .01em;
}

.pill-brand {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.pill-quiet { color: var(--ink-3); }

.hero-nav {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hero-nav-item {
  font-size: 12px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 0, 0, .04);
  transition: .16s;
}

.hero-nav-item:hover {
  background: #fff;
  color: var(--ink);
}

.hero-nav-item.is-on {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(20, 18, 14, .07);
}

.hero h1 {
  margin: 12px 0 0;
  font-size: 31px;
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 700;
}

.hero-sub {
  margin: 8px 0 0;
  max-width: 720px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.platform-label {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .04em;
}

.platform-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, .72);
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .04);
}

.platform-btn {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}

.platform-btn::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-accent, var(--ink-4));
  display: block;
  opacity: .55;
  transition: opacity .16s;
}

.platform-btn:hover { background: rgba(255, 255, 255, .9); color: var(--ink); }

.platform-btn.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(20, 18, 14, .08), 0 6px 16px -12px rgba(20, 18, 14, .4);
}

.platform-btn.is-active::before { opacity: 1; }

/* ---------- 工作台外壳 ---------- */
.app {
  max-width: 1440px;
  margin: 0 auto;
  height: clamp(600px, calc(100vh - 300px), 880px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 30px 70px -40px rgba(20, 18, 14, .45), 0 2px 6px rgba(20, 18, 14, .05);
  overflow: hidden;
}

/* 顶栏 */
.topbar {
  flex: none;
  height: 56px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--brand);
  flex: none;
  transition: background .2s;
}

.brand-text {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mode-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--surface);
  border-radius: 8px;
}

.mode-btn {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-size: 11px;
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background .16s var(--ease), color .16s var(--ease);
}

.mode-btn:hover { color: var(--ink-2); }

.mode-btn.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(20, 18, 14, .07);
}

.mode-btn .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  display: block;
  opacity: 0;
  transition: opacity .16s;
}

.mode-btn.is-active .dot { opacity: 1; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sync {
  font-size: 11px;
  color: var(--ink-2);
}

.agent-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(140deg, #97A3B0, #55606D);
  background-size: cover;
  background-position: center;
}

/* 三栏 */
.workspace {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr) 328px;
}

.col {
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.col-queue {
  padding: 12px;
  gap: 10px;
  border-right: 1px solid var(--line);
}

.col-context {
  padding: 14px;
  gap: 12px;
  border-left: 1px solid var(--line);
  overflow-y: auto;
}

/* ---------- 左栏 ---------- */
.search {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 10px;
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: .16s;
  flex: none;
}

.search:focus-within {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.search svg {
  width: 14px;
  height: 14px;
  color: var(--ink-3);
  flex: none;
}

.search input {
  border: 0;
  background: none;
  outline: none;
  font: inherit;
  font-size: 12px;
  color: var(--ink);
  width: 100%;
}

.search input::placeholder { color: var(--ink-3); }

.filters {
  display: flex;
  gap: 6px;
  flex: none;
}

.filter {
  border: 0;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 11px;
  height: 26px;
  padding: 0 8px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: .16s;
}

.filter b { font-weight: 600; color: var(--ink-3); }

.filter:hover { background: #EFEDE8; }

.filter.is-active {
  background: var(--brand);
  color: #fff;
}

.filter.is-active b { color: rgba(255, 255, 255, .8); }

.queue {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 -4px;
  padding: 0 4px;
}

.q-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px;
  border: 0;
  background: transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: left;
  transition: background .14s var(--ease);
}

.q-item:hover { background: var(--surface); }

.q-item.is-active { background: var(--brand-soft); }

.q-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(140deg, var(--a1, #d9d5cd), var(--a2, #b3aea3));
  background-size: cover;
  background-position: center;
}

.q-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.q-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.q-name {
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.q-item.is-active .q-name { font-weight: 600; }

.q-time {
  font-size: 10px;
  color: var(--ink-4);
  flex: none;
}

.q-prev {
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.q-badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
  flex: none;
}

.queue-stats {
  flex: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 8px;
  background: var(--surface);
  border-radius: var(--r-md);
}

.queue-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.queue-stats b {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.queue-stats span {
  font-size: 9px;
  color: var(--ink-3);
}

.queue-foot,
.queue-empty {
  font-size: 10px;
  color: var(--ink-4);
  text-align: center;
  padding: 8px 0 2px;
  margin: 0;
  flex: none;
}

/* ---------- 中栏 ---------- */
.col-chat { background: #fff; }

.chat-head {
  flex: none;
  height: 60px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.ch-info { min-width: 0; }

.ch-name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-meta {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ch-meta .live { color: var(--green); }
.ch-meta .handed { color: var(--ink-2); font-weight: 600; }

.ch-actions {
  display: flex;
  gap: 8px;
  flex: none;
}

/* 消息区 */
.messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 20px);
}

.msg-list {
  margin-top: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msg {
  display: flex;
  gap: 10px;
  animation: fadeUp .26s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.msg-user { justify-content: flex-end; }

.msg-system {
  justify-content: center;
}

.msg-system span {
  font-size: 10px;
  color: var(--ink-4);
  background: rgba(255, 255, 255, .7);
  padding: 3px 10px;
  border-radius: 100px;
}

.msg-time {
  justify-content: center;
}

.msg-time span {
  font-size: 10px;
  color: var(--ink-4);
}

.m-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  background: url('assets/ai-avatar.jpg') center/cover;
}

.m-avatar--human {
  background: linear-gradient(140deg, #97A3B0, #55606D);
}

.m-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  max-width: 460px;
}

.msg-user .m-body { align-items: flex-end; }

.m-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  font-size: 9px;
  line-height: 1.4;
  padding: 3px 6px;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: .02em;
}

.tag-ai { background: var(--brand-soft); color: var(--brand); }
.tag-auto { background: var(--green-soft); color: var(--green); }
.tag-human { background: #EEF1F4; color: #5A6572; }

.m-src { font-size: 10px; color: var(--ink-4); }

.bubble {
  background: #fff;
  border: 1px solid #F0EEE9;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink);
  word-break: break-word;
}

.msg-user .bubble {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* 输入中 */
.typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 12px 13px;
}

.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink-4);
  display: block;
  animation: blink 1.1s infinite;
}

.typing i:nth-child(2) { animation-delay: .16s; }
.typing i:nth-child(3) { animation-delay: .32s; }

@keyframes blink {
  0%, 60%, 100% { opacity: .28; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

/* ---------- 卡片 ---------- */
.msg-card { padding-left: 40px; }

.msg-user.msg-card { padding-left: 0; padding-right: 40px; justify-content: flex-end; }

.card {
  background: #fff;
  border: 1px solid #F0EEE9;
  border-radius: 12px;
  padding: 10px;
  width: 340px;
  max-width: 100%;
  animation: fadeUp .26s var(--ease) both;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}

.card-title {
  font-size: 11px;
  color: var(--ink-3);
}

.status-tag {
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 4px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 500;
}

.status-tag--wait { background: var(--brand-soft); color: var(--brand); }

/* 商品卡 */
.card-product {
  display: flex;
  align-items: center;
  gap: 10px;
}

.p-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  flex: none;
  background: linear-gradient(140deg, #E6D7C1, #B99B79) center/cover;
}

.p-info { flex: 1; min-width: 0; }

.p-name {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink);
}

.p-spec {
  margin: 3px 0 0;
  font-size: 10px;
  color: var(--ink-3);
}

.p-price {
  margin: 5px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

.p-price s {
  font-size: 10px;
  color: var(--ink-4);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 4px;
}

/* 订单 / 物流 */
.o-item {
  display: flex;
  align-items: center;
  gap: 9px;
}

.o-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  flex: none;
  background: linear-gradient(140deg, #E6D7C1, #B99B79) center/cover;
}

.o-name {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
}

.o-spec {
  margin: 2px 0 0;
  font-size: 10px;
  color: var(--ink-3);
}

.o-price {
  font-size: 12px;
  font-weight: 600;
  margin-left: auto;
  flex: none;
}

.o-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line-2);
  font-size: 11px;
  color: var(--ink-2);
}

/* 物流轨迹 */
.track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.track li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-3);
}

.track .n {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E4E1DA;
  flex: none;
}

.track li.is-done { color: var(--ink-2); }
.track li.is-done .n { background: var(--brand); }
.track li.is-now { color: var(--ink); font-weight: 500; }
.track li.is-now .n { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

.track .tm {
  margin-left: auto;
  font-size: 10px;
  color: var(--ink-4);
  flex: none;
}

/* 售后单 */
.kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  padding: 3px 0;
}

.kv span { color: var(--ink-3); }
.kv b { font-weight: 500; color: var(--ink); }
.kv b.accent { color: var(--brand); font-weight: 600; font-size: 12px; }

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.card-actions .btn { flex: 1; justify-content: center; }

/* 人机分界线：线以上是 AI 答的，线以下是人工答的 */
.msg-boundary {
  flex-direction: column;
  gap: 5px;
  margin: 4px 0;
}

.mbd-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mbd-line {
  flex: 1;
  height: 1px;
  background: #E2DFD8;
}

.mbd-pill {
  flex: none;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink-2);
  background: #fff;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.mbd-pill em {
  font-style: normal;
  color: var(--ink-4);
  margin: 0 3px;
}

.mbd-why {
  margin: 0;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--ink-3);
  padding: 0 12px;
}

/* 交接摘要卡 */
.hbrief {
  width: 360px;
}

.hb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.hb-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-3);
  background: var(--surface);
  padding: 3px 7px;
  border-radius: 4px;
}

.hb-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--ink-3);
}

.hb-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  animation: hbPulse 1.6s var(--ease) infinite;
}

@keyframes hbPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}

.hb-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hb-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.hb-row dt {
  flex: none;
  width: 52px;
  font-size: 10px;
  color: var(--ink-4);
}

.hb-row dd {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink);
  word-break: break-word;
}

.hb-foot {
  margin: 10px 0 0;
  font-size: 10px;
  color: var(--ink-4);
}

.hb-acts {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line-2);
}

.hb-acts .btn { flex: 1; justify-content: center; }

.hbrief.is-misfire .hb-tag {
  color: var(--ink-4);
}

/* 排队卡（已由交接摘要卡取代，样式随之移除） */

/* 评价卡 */
.rating { text-align: center; }

.rating h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 11px;
}

.star {
  border: 0;
  background: none;
  padding: 0;
  width: 24px;
  height: 24px;
  cursor: pointer;
  color: #DDDBD4;
  transition: transform .14s var(--ease), color .14s;
}

.star:hover { transform: scale(1.12); }

.star.is-on { color: var(--brand); }

.star svg { width: 100%; height: 100%; fill: currentColor; display: block; }

.rating-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
}

.r-chip {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: .14s;
}

.r-chip:hover { border-color: var(--brand); color: var(--brand); }

.r-chip.is-on {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 500;
}

/* ---------- AI 建议回复 ---------- */
.suggest {
  flex: none;
  background: #FFFBF9;
  border-top: 1px solid var(--line);
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sg-head-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.sg-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  flex: none;
}

.sg-meta {
  font-size: 10px;
  color: var(--ink-4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-btn {
  border: 0;
  background: none;
  font-size: 10px;
  color: var(--ink-2);
  cursor: pointer;
  padding: 2px 0;
  flex: none;
}

.link-btn:hover { color: var(--brand); }

.sg-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.sg-card {
  border: 1px solid #EFEDE7;
  background: #fff;
  border-radius: var(--r-md);
  padding: 8px 9px;
  font-size: 11px;
  line-height: 1.62;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .16s, transform .16s var(--ease), box-shadow .16s;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 56px;
}

.sg-card:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -14px rgba(20, 18, 14, .5);
}

.sg-card.is-best { border-color: rgba(255, 76, 43, .35); }

.sg-card em {
  font-style: normal;
  font-size: 9px;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 2px 5px;
  border-radius: 4px;
  align-self: flex-start;
  font-weight: 600;
}

/* ---------- 输入区 ---------- */
.composer {
  flex: none;
  border-top: 1px solid var(--line);
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comp-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 24px;
  height: 24px;
  border: 0;
  background: none;
  color: var(--ink-3);
  cursor: pointer;
  padding: 0;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  transition: .14s;
}

.icon-btn:hover { background: var(--surface); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

.comp-hint {
  font-size: 10px;
  color: var(--ink-4);
  margin-left: auto;
}

.comp-input textarea {
  width: 100%;
  border: 1px solid #E9E6E0;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 9px 10px;
  font: inherit;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink);
  resize: none;
  outline: none;
  transition: border-color .16s, box-shadow .16s, background .16s;
  display: block;
  min-height: 38px;
  max-height: 120px;
  overflow-y: auto;
}

.comp-input textarea::placeholder { color: var(--ink-4); }

.comp-input textarea:focus {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.comp-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- 托管态状态条 ---------- */
.autobar {
  flex: none;
  border-top: 1px solid var(--line);
  background: #FBFFFC;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ab-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ab-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.ab-meta { font-size: 10px; color: #8FA396; }
.ab-right { font-size: 10px; color: var(--ink-4); margin-left: auto; }

.ab-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ab-sim {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ab-sim-label { font-size: 10px; color: var(--ink-4); flex: none; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }

.chip {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 12px;
  border: 1px solid #DCE9DF;
  background: #fff;
  color: #2F6B45;
  cursor: pointer;
  transition: .14s;
}

.chip:hover { border-color: var(--green); color: var(--green); }

/* ---------- 右栏 ---------- */
.cust {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.cust-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(140deg, var(--a1, #f5b98a), var(--a2, #d17f59));
  background-size: cover;
  background-position: center;
}

.cust-body { min-width: 0; }

.cust-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.cust-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.cust-level {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 500;
}

.cust-meta {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cust-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: none;
}

.cust-tag {
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 4px;
  background: #F5F4F1;
  color: #6B6A66;
}

.cust-tag.is-accent {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 500;
}

.tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 9px;
  flex: none;
}

.tab {
  border: 0;
  background: none;
  font-size: 12px;
  color: var(--ink-4);
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: color .14s;
}

.tab:hover { color: var(--ink-2); }

.tab.is-active { color: var(--ink); font-weight: 600; }

.tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.tab-panel { flex: none; }

.summary {
  background: #FFFBF9;
  border-radius: var(--r-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: none;
}

.summary-head {
  display: flex;
  align-items: center;
}

.summary-title {
  font-size: 10px;
  font-weight: 600;
  color: var(--brand);
}

.summary-live {
  font-size: 10px;
  color: var(--ink-4);
  margin-left: auto;
}

.summary-body {
  margin: 0;
  font-size: 11px;
  line-height: 1.72;
  color: #5A5852;
}

/* ---------- 按钮 ---------- */
.btn {
  border: 1px solid transparent;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: .16s var(--ease);
  white-space: nowrap;
}

.btn:active { transform: translateY(.5px); }

.btn-sm { height: 28px; padding: 0 10px; font-size: 11px; }
.btn-block { width: 100%; justify-content: center; height: 34px; }

.btn-brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  font-weight: 500;
}

.btn-brand:hover { filter: brightness(.94); }

.btn-line {
  background: #fff;
  border-color: #E4E1DA;
  color: var(--ink);
}

.btn-line:hover { background: #FCFBF9; border-color: #CFCBC2; }

.btn-plain {
  background: #F5F4F1;
  color: #6B6A66;
}

.btn-plain:hover { background: #EDEBE6; }

.btn-soft {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

.btn-soft:hover { filter: brightness(.97); }

/* ---------- 能力区 / 页脚 ---------- */
.caps {
  max-width: 1440px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cap {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(0, 0, 0, .04);
  border-radius: 12px;
  padding: 18px;
}

.cap-no {
  font-size: 11px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: .08em;
}

.cap h3 {
  margin: 8px 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.cap p {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-2);
}

.cap code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  background: rgba(0, 0, 0, .05);
  padding: 1px 5px;
  border-radius: 4px;
}

.page-foot {
  max-width: 1440px;
  margin: 26px auto 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--ink-3);
}

.dot-sep { color: var(--ink-4); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 12px);
  background: rgba(22, 22, 26, .92);
  color: #fff;
  font-size: 12px;
  padding: 9px 16px;
  border-radius: 100px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 50;
  max-width: 90vw;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 显隐与排队进度 ---------- */
[hidden] { display: none !important; }

.bar i {
  animation: barGrow 2.6s var(--ease) forwards;
}

@keyframes barGrow {
  from { width: 10%; }
  to { width: 64%; }
}

/* ---------- 滚动条 ---------- */
.queue::-webkit-scrollbar,
.messages::-webkit-scrollbar,
.col-context::-webkit-scrollbar {
  width: 8px;
}

.queue::-webkit-scrollbar-thumb,
.messages::-webkit-scrollbar-thumb,
.col-context::-webkit-scrollbar-thumb {
  background: #DEDBD3;
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.queue::-webkit-scrollbar-thumb:hover,
.messages::-webkit-scrollbar-thumb:hover,
.col-context::-webkit-scrollbar-thumb:hover {
  background: #C9C5BB;
  background-clip: content-box;
}

.queue::-webkit-scrollbar-track,
.messages::-webkit-scrollbar-track,
.col-context::-webkit-scrollbar-track {
  background: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 布局响应式统一由 shell.css 接管（三端断点在那里维护） */

/* ============================================================
   消息级操作：引用 / 内部备注 / 转发
   ============================================================ */

/* ---------- 消息可操作性 ---------- */
.msg[data-mi] {
  cursor: default;
  position: relative;
  border-radius: 10px;
  transition: background .16s;
}

.msg[data-mi]:hover {
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .58);
}

/* 长按选中反馈 */
.msg.is-pressing {
  background: #fff;
  box-shadow: 0 0 0 8px #fff, 0 2px 8px rgba(20, 18, 14, .07);
}

/* ---------- 引用块 ---------- */
.m-quote {
  display: block;
  margin: 0 0 7px;
  padding: 6px 9px;
  border-left: 2px solid var(--ink-4);
  background: rgba(22, 22, 26, .045);
  border-radius: 0 6px 6px 0;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.m-quote b {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 2px;
  letter-spacing: .02em;
}

.msg-user .m-quote {
  border-left-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .17);
  color: rgba(255, 255, 255, .92);
}

.msg-user .m-quote b { color: rgba(255, 255, 255, .72); }

/* ---------- 内部备注 ---------- */
.m-note {
  margin: 0 0 0 40px;
  max-width: 452px;
  padding: 8px 11px 9px;
  border-radius: 8px;
  background: #FFFAE9;
  border: 1px dashed #E4C877;
  animation: fadeUp .22s var(--ease) both;
}

.m-note-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  color: #A2853C;
  margin-bottom: 3px;
}

.m-note-head b {
  font-weight: 600;
  color: #8A6E28;
}

.m-note-head .sp { margin-left: auto; }

.m-note-body {
  font-size: 12px;
  line-height: 1.65;
  color: #6C5A2E;
  word-break: break-word;
}

.m-note-del {
  border: 0;
  background: none;
  color: #C0A96A;
  font-size: 13px;
  line-height: 1;
  padding: 0 2px;
  cursor: pointer;
  border-radius: 4px;
}

.m-note-del:hover { color: #8A6E28; background: #F6ECC9; }

/* ---------- 聊天头备注开关 ---------- */
.btn-notes {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-notes b {
  font-weight: 600;
  color: var(--ink-2);
}

.note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E4C877;
  flex: none;
}

.btn-notes.is-off .note-dot { background: var(--ink-4); }
.btn-notes.is-off b { color: var(--ink-4); }

/* ---------- 长按 / 右键菜单 ---------- */
.ctx-menu {
  position: fixed;
  z-index: 90;
  min-width: 176px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 36px rgba(20, 18, 14, .16), 0 2px 6px rgba(20, 18, 14, .06);
  display: flex;
  flex-direction: column;
  animation: ctxIn .13s var(--ease) both;
}

@keyframes ctxIn {
  from { opacity: 0; transform: scale(.96) translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.ctx-head {
  padding: 5px 9px 7px;
  font-size: 10px;
  color: var(--ink-4);
  line-height: 1.4;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 4px;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ctx-item {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 0;
  background: none;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background .12s;
}

.ctx-item:hover { background: var(--surface); }
.ctx-item svg { width: 15px; height: 15px; flex: none; color: var(--ink-3); }
.ctx-item .ctx-key { margin-left: auto; font-size: 10px; color: var(--ink-4); }
.ctx-item.is-warn { color: #B4562F; }
.ctx-item.is-warn svg { color: #C97A50; }

.ctx-sep {
  height: 1px;
  background: var(--line-2);
  margin: 4px 6px;
}

/* ---------- 输入区：引用条 / 备注模式 ---------- */
.comp-quote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--surface);
  border-left: 2px solid var(--brand);
}

.cq-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cq-body b {
  font-size: 10px;
  font-weight: 600;
  color: var(--brand);
}

.cq-body span {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cq-x,
.cm-x {
  border: 0;
  background: none;
  color: var(--ink-4);
  font-size: 15px;
  line-height: 1;
  padding: 1px 3px;
  cursor: pointer;
  border-radius: 4px;
  flex: none;
}

.cq-x:hover,
.cm-x:hover { background: rgba(0, 0, 0, .06); color: var(--ink-2); }

.comp-mode {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #FFFAE9;
  border: 1px dashed #E4C877;
  font-size: 11px;
  color: #8A6E28;
}

.cm-tag {
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: #F6E6B4;
  color: #7A5F1E;
  flex: none;
}

.cm-x { margin-left: auto; color: #B99C55; }
.cm-x:hover { background: #F6ECC9; color: #7A5F1E; }

/* 备注模式下输入框变琥珀色，明确「这不是发给客户的」 */
.composer.is-note .comp-input textarea {
  background: #FFFDF4;
  border-color: #E4C877;
}

.composer.is-note .comp-input textarea:focus {
  background: #fff;
  border-color: #D9B24F;
  box-shadow: 0 0 0 3px #FBF1D2;
}

.composer.is-note #btnSend {
  background: #C79A2E;
  color: #fff;
}

/* ---------- 转发：来源与转发消息 ---------- */
.m-avatar--fwd {
  background: #EEF1F4;
  color: #5A6572;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
}

.tag-fwd { background: #EEF1F4; color: #5A6572; }

.bubble-fwd {
  background: #FBFAFE;
  border-style: dashed;
  border-color: #DFDCEC;
}

.msg.is-fwd .m-body { max-width: 460px; }

/* ---------- 转发弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, .34);
  backdrop-filter: blur(2px);
}

.modal-card {
  position: relative;
  width: 392px;
  max-width: 100%;
  max-height: 76vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 26px 68px rgba(20, 18, 14, .26);
  overflow: hidden;
  animation: modalIn .2s var(--ease) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px 11px;
}

.modal-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.modal-x {
  border: 0;
  background: none;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-3);
  cursor: pointer;
  padding: 2px 5px;
  border-radius: 6px;
}

.modal-x:hover { background: var(--surface); color: var(--ink); }

.fwd-src {
  margin: 0 16px 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--surface);
  border-left: 2px solid var(--ink-4);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fwd-src b {
  display: block;
  font-size: 9.5px;
  color: var(--ink-3);
  margin-bottom: 2px;
  font-weight: 600;
}

.modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 10px 6px;
}

.fwd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  text-align: left;
  transition: .14s;
}

.fwd-item:hover { background: var(--surface); }

.fwd-item.is-on {
  background: var(--brand-soft);
  border-color: rgba(0, 0, 0, .04);
}

.fwd-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  background-size: cover;
  background-position: center;
  background-color: #E2DED6;
}

.fwd-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fwd-info b {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}

.fwd-info span {
  font-size: 10.5px;
  color: var(--ink-4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fwd-check {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid #DCD8D0;
  flex: none;
  position: relative;
  transition: .14s;
}

.fwd-item.is-on .fwd-check {
  border-color: var(--brand);
  background: var(--brand);
}

.fwd-item.is-on .fwd-check::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2l2.2 2.2 4.6-4.6' stroke='white' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

.modal-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px 14px;
  border-top: 1px solid var(--line);
}

.fwd-tip {
  font-size: 10px;
  color: var(--ink-4);
  line-height: 1.4;
  flex: 1;
}

#fwdConfirm[disabled] {
  opacity: .38;
  cursor: not-allowed;
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ============================================================
   细节打磨（企业级质感）
   ------------------------------------------------------------
   1. 照片头像：环形描边，防止浅色背景的人像糊进卡片
   2. 键盘可达：统一的 focus-visible 焦点环
   3. 滚动条：细、半透明，不抢内容
   4. 卡片与按钮：统一的 press 反馈
   ============================================================ */

/* ---------- 1. 头像 ---------- */
.q-avatar,
.cust-avatar,
.conv-av,
.live-av,
.set-av,
.agent-avatar,
.agent-av,
.m-avatar,
.mm-av,
.set-who .set-av {
  box-shadow: inset 0 0 0 1px rgba(20, 18, 14, .08);
}

/* 头像在深色底上需要反向的描边 */
.shell-foot .av {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

/* ---------- 2. 焦点环 ---------- */
:focus-visible {
  outline: 2px solid var(--brand, #FF4C2B);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 输入类元素已经有自己的 focus 态，不再叠一层 */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
}

/* ---------- 3. 滚动条 ---------- */
.messages,
.page-scroll,
.col-queue,
.adm-drawer-bd,
.m-msg {
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 18, 14, .18) transparent;
}

.messages::-webkit-scrollbar,
.page-scroll::-webkit-scrollbar,
.col-queue::-webkit-scrollbar,
.adm-drawer-bd::-webkit-scrollbar,
.m-msg::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.messages::-webkit-scrollbar-thumb,
.page-scroll::-webkit-scrollbar-thumb,
.col-queue::-webkit-scrollbar-thumb,
.adm-drawer-bd::-webkit-scrollbar-thumb,
.m-msg::-webkit-scrollbar-thumb {
  background: rgba(20, 18, 14, .16);
  border-radius: 100px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.messages:hover::-webkit-scrollbar-thumb,
.page-scroll:hover::-webkit-scrollbar-thumb,
.col-queue:hover::-webkit-scrollbar-thumb,
.adm-drawer-bd:hover::-webkit-scrollbar-thumb {
  background: rgba(20, 18, 14, .26);
  background-clip: content-box;
}

.messages::-webkit-scrollbar-track,
.page-scroll::-webkit-scrollbar-track,
.col-queue::-webkit-scrollbar-track,
.adm-drawer-bd::-webkit-scrollbar-track {
  background: transparent;
}

/* ---------- 4. 按压反馈 ---------- */
.btn:active,
.adm-btn:active,
.btn-save:active,
.sg-card:active {
  transform: translateY(.5px);
}

@media (prefers-reduced-motion: reduce) {
  .btn:active,
  .adm-btn:active,
  .btn-save:active { transform: none; }
}

/* ---------- 5. 商品缩略图：细描边，避免浅底商品图糊在卡片上 ---------- */
.p-thumb,
.o-thumb,
.mc-thumb {
  box-shadow: inset 0 0 0 1px rgba(20, 18, 14, .07);
}

/* ---------- 6. 看板指标卡：桌面端轻微抬升，强调可点 ---------- */
@media (hover: hover) and (min-width: 768px) {
  .kpi,
  .adm-stat {
    transition: box-shadow .18s var(--ease, ease), border-color .18s var(--ease, ease);
  }

  .kpi:hover,
  .adm-stat:hover {
    border-color: #DCD7CC;
    box-shadow: 0 10px 24px -20px rgba(20, 18, 14, .55);
  }
}
