/* 通发 OA 侧边栏分组折叠增强层 v1.0 (2026-09-24) — 配合 oa-sidebar.js */
.oa-grp { margin-top: 2px; }

.oa-grp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  padding: 10px 12px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: #94a3b8;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  text-align: left;
  transition: color .15s;
}
.oa-grp-head:hover { color: #475569; }
.oa-grp-head.oa-on { color: #017cc2; }

.oa-grp-arrow {
  width: 13px;
  height: 13px;
  flex: none;
  color: #cbd5e1;
  transition: transform .18s ease, color .15s;
}
.oa-grp-head.oa-on .oa-grp-arrow { color: #017cc2; }
.oa-grp.oa-closed .oa-grp-arrow { transform: rotate(-90deg); }

.oa-grp-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 2px;
}
.oa-grp.oa-closed .oa-grp-body { display: none; }

.oa-grp-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 9999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
}
