/* v2 外框：Tabler 之上的少量定制（风格 A · 浅色清爽）。红涨绿跌。 */
:root {
  --tblr-font-sans-serif: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --tblr-primary: #2563eb;
  --tblr-primary-rgb: 37, 99, 235;
  --v2-up: #e5484d;
  --v2-down: #16a34a;
  --v2-flat: #6b7280;
}
body { background: #f5f6f8; }

.v2-side { background: #fff; border-right: 1px solid #e5e7eb; }
.v2-side .navbar-brand.v2-brand { display: flex; align-items: center; justify-content: flex-start !important; gap: .5rem; font-weight: 600; font-size: 1.05rem; padding-left: .9rem; }
.v2-brand .ti { font-size: 1.5rem; color: var(--tblr-primary); }
.v2-side .navbar-nav .nav-link { border-radius: 6px; margin: 0 .5rem; padding: .28rem .65rem; min-height: 0; color: #374151; }
.v2-side .navbar-nav .nav-item.active > .nav-link,
.v2-side .navbar-nav .nav-link:hover { background: #eef2ff; color: #1d4ed8; }
.v2-side .navbar-nav .nav-link-icon { font-size: 1.15rem; opacity: 1; }
.v2-group { font-size: .72rem; color: #9ca3af; padding: .6rem 1.2rem .15rem; list-style: none; letter-spacing: .02em; }
.v2-side .dropdown-menu { border: 0; box-shadow: none; padding-left: 1.4rem; background: transparent; }
.v2-status { margin-top: auto; padding: 1rem 1.2rem; font-size: .75rem; color: #9ca3af; white-space: nowrap; }
.v2-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #d1d5db; margin-right: 6px; vertical-align: 1px; }
.v2-dot.ok { background: #22c55e; }
.v2-dot.bad { background: var(--v2-up); }
@media (min-width: 992px) {
  .v2-side .navbar-collapse { display: flex; flex-direction: column; align-items: stretch; height: calc(100vh - 4rem); }
}

.up { color: var(--v2-up) !important; }
.down { color: var(--v2-down) !important; }
.flat { color: var(--v2-flat) !important; }
.v2-kpi .subheader { margin-bottom: .35rem; }
.v2-kpi .h1 { margin-bottom: .2rem; }
.v2-empty { color: #9ca3af; text-align: center; padding: 1.75rem .5rem; font-size: .875rem; }
.v2-empty .ti { display: block; font-size: 1.6rem; margin-bottom: .35rem; color: #cbd5e1; }
.v2-side-chip { min-width: 2.6rem; justify-content: center; }
.v2-bar { position: relative; height: 6px; border-radius: 3px; background: #eef0f3; }
.v2-bar::after { content: ""; position: absolute; left: 50%; top: -3px; width: 1px; height: 12px; background: #cbd5e1; }
.v2-bar > span { position: absolute; top: 0; height: 6px; border-radius: 3px; }
