/* 旧 SPA 深色补丁（2026-10-26）：theme-dark.css 只换了变量，顶栏本身是写死浅色，这里强制覆盖
   放在 app.html 最后加载；回滚 = 删掉那一行 <link> */
html, body { background: #0d1026 !important; }

/* 顶栏 / 侧栏 */
.side {
  background: #141a3a !important;
  border-color: rgba(255, 255, 255, .12) !important;
  color: #e7e9f5 !important;
}
.side .brand, .side .brand i, .side .brand small { color: #e7e9f5 !important; }
.side .hi { color: #9aa3c7 !important; }
.side .nav { color: #cfd6ee !important; }
.side .nav:hover { background: rgba(255, 255, 255, .08) !important; color: #fff !important; }
.side .nav.on { background: linear-gradient(90deg, #7c5cf0, #4f6df5) !important; color: #fff !important; }
.side .nav.off { color: #6b749a !important; }
.side .card { background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .12) !important; }
.side .muted, .side .small { color: #9aa3c7 !important; }
.side a { color: #cfd6ee; }

/* 顶部那条浅色带（有的布局把整条放在 .app 顶部） */
.app { background: #0d1026 !important; }
header, .topbar, .app > .top, .app > header {
  background: #141a3a !important;
  border-color: rgba(255, 255, 255, .12) !important;
  color: #e7e9f5 !important;
}

/* 内容区浅底块 */
pre.out, .cc-stmt pre, .cc-editor, .cc-sample pre.out {
  background: #111735 !important;
  color: #e7e9f5 !important;
  border-color: rgba(255, 255, 255, .12) !important;
}
