/* v8：侧边栏视觉重做（2026-09-29）
   根因：style.css 里 .tabs{background:var(--panel)} 的白底色块叠在深色侧边栏上，
   导致「深色底 + 白块 + 浅灰字」完全不协调。这里修根因，并把菜单文字改成纯白加粗。 */
.side nav.tabs, .side .tabs { background: transparent !important; border: 0 !important; box-shadow: none !important; position: static !important; }
.side { background: #0e1626 !important; background-image: none !important; border-right: 1px solid rgba(255,255,255,.06); padding: 16px 12px 14px; }

/* ---- 品牌区 + VC 图标重做 ---- */
.brandbox { display: flex; align-items: center; gap: 11px; padding: 2px 4px 15px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brandbox .lg { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(145deg, #34d97a 0%, #16a34a 55%, #0f8f7e 100%);
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: .5px; text-indent: .5px;
  box-shadow: 0 6px 15px rgba(20, 150, 90, .42), inset 0 1px 0 rgba(255, 255, 255, .42), inset 0 -3px 8px rgba(0, 0, 0, .18);
  text-shadow: 0 1px 2px rgba(3, 40, 24, .4); position: relative; }
.brandbox .lg::before { content: ''; position: absolute; inset: 0; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); pointer-events: none; }
.brandbox .lg::after { content: ''; position: absolute; left: 7px; right: 7px; top: 4px; height: 8px; border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .30), rgba(255, 255, 255, 0)); pointer-events: none; }
.brandbox .bt b { display: block; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .6px; }
.brandbox .bt i { font-style: normal; font-size: 11px; color: #bccbe0; letter-spacing: .3px; display: block; margin-top: 2px; }

/* ---- 菜单：纯白加粗 + 圆润胶囊 ---- */
.side .tabs { display: flex; flex-direction: column; gap: 4px; padding: 0; flex: 1 1 auto; }
.side .tab { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 10px 12px; border: 0; border-radius: 11px; background: transparent;
  color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .2px; cursor: pointer;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease; }
.side .tab .ti { opacity: 1; font-size: 15px; width: 20px; text-align: center; }
.side .tab .tt { flex: 1 1 auto; color: #fff; font-weight: 700; }
.side .tab:hover { background: rgba(255, 255, 255, .10); color: #fff; transform: translateX(1px); }
.side .tab.on { background: linear-gradient(90deg, rgba(34, 197, 94, .30), rgba(34, 197, 94, .08));
  color: #fff; font-weight: 700; box-shadow: inset 3px 0 0 0 #22c55e, 0 3px 12px rgba(0, 0, 0, .28); }
.side .tab.on .tt { font-weight: 700; }
.side .tab .tn { margin-left: auto; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .10); color: #fff;
  font-weight: 700; border-radius: 999px; padding: 1px 8px; font-size: 11px; font-style: normal; }
.side .tab.on .tn { background: rgba(34, 197, 94, .42); color: #fff; }

/* ---- 侧栏底部 ---- */
.sidefoot { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 12px; padding: 12px 6px 0; font-size: 11.5px; color: #bccbe0; }
.sidefoot .sf { color: #bccbe0; padding: 2px 0; }
.sidefoot .sf b { color: #fff; font-weight: 600; }
.sidefoot .tag.warn { display: inline-block; margin-bottom: 6px; background: rgba(251, 191, 36, .14); color: #fcd34d; border: 0; padding: 3px 9px; border-radius: 999px; }
.sbtn { width: 100%; margin: 6px 0; padding: 7px 8px; border-radius: 10px; cursor: pointer;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 12px; font-weight: 600; }
.sbtn:hover { background: rgba(255, 255, 255, .18); color: #fff; }
@media (max-width: 1000px) { .side .tab .tn { display: none; } }

/* ---- 整体排版：圆润流畅 ---- */
.board { border-radius: 14px; }
.tablebox { border-radius: 12px; }
.tbtn, .fsel, .datef input, .datef input[type=date], .pager button, .pager select { border-radius: 9px; }
.kpi { border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.bnote { border-radius: 0 10px 10px 0; }
.moref, .regtip { border-radius: 12px; }
.boardhead h2 { letter-spacing: .2px; }
