/* 协作平台 · Shell（侧栏分组 / Lucide / 面包屑 / 页签） */

.sidebar-scroll {
  padding: 8px 0 16px;
}
.sidebar-group {
  margin: 10px 0 4px;
}
.sidebar-group-label {
  padding: 6px 18px 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #94a3b8);
  user-select: none;
}
.sidebar.collapsed .sidebar-group-label {
  display: none;
}
.sidebar-item {
  gap: 10px !important;
}
.sidebar-item .item-ico {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 20px !important;
  height: 20px;
  font-size: 0 !important;
  color: inherit;
}
.sidebar-item .item-ico svg,
.sidebar-item .item-ico i svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.sidebar-item.active .item-ico {
  color: var(--sidebar-item-active-color, #1890ff);
}

/* 面包屑 */
.breadcrumb-nav {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 4px !important;
  font-size: 13px !important;
  line-height: 1.2;
}
.bc-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--muted, #64748b);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.bc-home:hover {
  background: var(--accent-soft, rgba(24, 144, 255, 0.08));
  color: var(--accent, #1890ff);
}
.bc-home svg { width: 15px; height: 15px; }
.bc-sep {
  display: inline-flex !important;
  align-items: center;
  color: var(--border, #cbd5e1) !important;
  padding: 0 !important;
}
.bc-sep svg { width: 14px; height: 14px; }
.bc-link {
  display: inline-flex !important;
  align-items: center;
  height: 28px;
  padding: 0 8px !important;
  border-radius: 6px;
  color: var(--muted, #64748b) !important;
  text-decoration: none;
  font-weight: 500;
}
.bc-link:hover {
  color: var(--accent, #1890ff) !important;
  background: var(--accent-soft, rgba(24, 144, 255, 0.08)) !important;
}
.bc-current {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--text, #0f172a) !important;
  font-weight: 600 !important;
  background: var(--accent-soft, #e6f7ff);
}

/* 顶栏按钮图标化 */
.sidebar-toggle,
.theme-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.sidebar-toggle svg,
.theme-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

/* 页签条 */
.tabs-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px 0;
  background: var(--card, #fff);
  border-bottom: 1px solid var(--border, #e2e8f0);
  overflow-x: auto;
}
.tab-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px 8px 0 0;
  font-size: 12px;
  color: var(--muted, #64748b);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
}
.tab-item:hover {
  background: var(--accent-soft, #e6f7ff);
  color: var(--accent, #1890ff);
}
.tab-item.active {
  color: var(--accent, #1890ff);
  background: var(--card, #fff);
  border-color: var(--border, #e2e8f0);
  border-bottom-color: var(--card, #fff);
  font-weight: 600;
  margin-bottom: -1px;
}
.tab-item .tab-close {
  display: inline-flex;
  border: 0;
  background: transparent;
  color: var(--muted, #94a3b8);
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
}
.tab-item .tab-close:hover {
  color: #ff4949;
  background: var(--toast-err-bg, #fef2f2);
}
.tab-item .tab-close svg { width: 12px; height: 12px; }

.user-dropdown button {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-dropdown button svg {
  width: 14px;
  height: 14px;
}
