/* ============================================================ */
/* / 弱智菜单 (2026-08-19 集成, 配合 js/slash-menu.js) ⚠️          */
/* 风格与 .tpl-menu / .mention-menu 对齐 (深色 + 紫强调)         */
/* ============================================================ */
.sm-group { padding: 2px 0; }
.sm-group + .sm-group { border-top: 1px solid rgba(255,255,255,.05); margin-top: 2px; padding-top: 4px; }
.sm-cat {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  color: #8e8e96; text-transform: uppercase;
  padding: 4px 10px 2px;
}
.sm-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .1s;
}
.sm-item:hover { background: #252533; }
.sm-item.sm-active { background: #2a3048; }
.sm-arrow { color: #6c6c75; font-size: 18px; line-height: 1; flex-shrink: 0; padding: 0 4px; }
.sm-back { border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 2px; }
.sm-back .sm-name { color: #8e8e96; font-size: 12px; }
.sm-back .sm-desc { color: #6c6c75; }
.sm-add { border-top: 1px solid rgba(255,255,255,.07); margin-top: 2px; padding-top: 6px; }
.sm-add .sm-name { color: #5a4d8a; }
.sm-add .sm-add-plus { color: #5a4d8a; font-weight: 700; font-size: 20px; }
.sm-cat-item { /* 一级分类, 用 group 行间距 */ }

/* 双面板: 左分类 + 右预设 (2026-08-19, macOS Finder 风格) */
.sm-panes { display: flex; min-height: 0; }
.sm-pane-l {
  width: 130px; flex-shrink: 0;
  background: #14141a; border-right: 1px solid #2a2a32;
  padding: 4px 0; overflow-y: auto;
}
.sm-pane-r {
  flex: 1; min-width: 0; padding: 4px 0; overflow-y: auto;
}
.sm-pane-l .sm-item {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; cursor: pointer; margin: 0;
  border-radius: 0; border-left: 2px solid transparent;
}
.sm-pane-l .sm-item:hover { background: #1f1f2a; }
.sm-pane-l .sm-item.sm-active { background: #2a2a38; }
.sm-pane-l .sm-item.sm-expanded {
  background: #252533; border-left-color: #5a4d8a; color: #fff;
}
.sm-pane-l .sm-name { font-size: 13px; color: inherit; flex: 1; }
.sm-pane-l .sm-count {
  font-size: 10px; color: #6c6c75;
  background: #2a2a32; padding: 1px 6px; border-radius: 8px;
  flex-shrink: 0;
}
.sm-pane-r .sm-item {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; cursor: pointer; margin: 0;
  border-radius: 0;
}
.sm-pane-r .sm-item:hover { background: #1f1f2a; }
.sm-pane-r .sm-item.sm-active { background: #2a3048; }
.sm-pane-r .sm-add { border-top: 1px solid rgba(255,255,255,.07); margin-top: 4px; padding-top: 8px; }
.sm-pane-r .sm-add .sm-name { color: #5a4d8a; }
.sm-pane-r .sm-add .sm-add-plus { color: #5a4d8a; font-weight: 700; font-size: 18px; }
.sm-pane-r .sm-empty { padding: 14px 12px; }
.sm-del {
  background: transparent;
  color: #6c6c75;
  border: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-left: 4px;
}
.sm-del:hover { background: rgba(255,107,107,.2); color: #ff8a8a; }
.sm-body { flex: 1; min-width: 0; }

