/* 演示侧栏：仅隐藏入口，保留功能代码。移除此规则即可恢复。 */
[data-testid="cz-nav-rail"] div:has(> [data-testid="cz-nav-funds"]),
[data-testid="cz-nav-rail"] [data-testid="cz-nav-ai-chat"] {
  display: none !important;
}

/* Compact theme icon in the desktop header's right-hand action cluster. */
.demo-theme-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  margin-inline-start: -12px;
  border: 0;
  border-radius: 50%;
  color: var(--text-1, #101828);
  background: transparent;
  cursor: pointer;
}
.demo-theme-toggle:hover { background: var(--surface-2, #f2f4f7); }
.demo-theme-toggle:focus-visible {
  outline: 2px solid var(--brand-primary, #1570ef);
  outline-offset: 3px;
}
.demo-theme-icon { display: inline-flex; align-items: center; }
