/* ============================================================
   tech-theme.css — AngularJS 主框架科技感主题覆盖层 v2
   作用域: body.tech-theme (外层 AngularJS + INSPINIA 主题)
   设计基准: tech-theme-preview-light.html（亮色加粗版）
     · 背景 #eaf2fb / 主青 #0e9fd8 / 青绿 #0bbfa6
     · 深黑蓝标题 #0b1526 / 主文 #14181f / 弱文 #4a5568
     · 玻璃拟态 rgba(255,255,255,.80) + blur(22px)
     · 菜单加重(15px/700-800)，其余区域适中(500-600)
   生成日期: 2026-08-20 v2（按亮色加粗版效果图整体重设计）
   ============================================================ */

:root {
  --tt-bg-0: #eaf2fb;
  --tt-bg-1: #f2f7fd;
  --tt-card: #ffffff;
  --tt-cyan: #0e9fd8;
  --tt-teal: #0bbfa6;
  --tt-deep: #0b1526;
  --tt-text: #14181f;
  --tt-muted: #4a5568;
  --tt-border: rgba(14, 159, 216, .28);
  --tt-border-soft: rgba(14, 159, 216, .14);
  --tt-glass: rgba(255, 255, 255, .80);
  --tt-red: #e5484d;
  --tt-yellow: #d99a06;
  --tt-green: #0bbfa6;
  --tt-blue: #2f7fe0;
  --tt-glow: 0 0 14px rgba(14, 159, 216, .30);
  --tt-radius: 12px;
  --tt-mono: "Consolas", "Courier New", monospace;
}

/* ============ 0. 动画库（HUD 装饰/呼吸灯/流光） ============ */
@keyframes tech-blink { 0%, 100% { opacity: 1 } 50% { opacity: .35 } }
@keyframes tech-spin { to { transform: rotate(360deg) } }
@keyframes tech-drift { to { background-position: 0 560px, 560px 0 } }
@keyframes tech-scan { 0% { top: -160px } 100% { top: 110% } }
@keyframes tech-stream {
  0% { top: -100px; opacity: 0 } 10% { opacity: 1 }
  90% { opacity: 1 } 100% { top: 110%; opacity: 0 }
}
@keyframes tech-brand-shine {
  0% { background-position: 220% 0 } 100% { background-position: -120% 0 }
}

/* ============ 0.5 HUD 装饰层（index.html 中 .tech-* 装饰 div 的样式） ============ */
/* 粗网格 */
body.tech-theme .tech-hud-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(14, 159, 216, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 159, 216, .08) 1px, transparent 1px);
  background-size: 56px 56px;
}
/* 细网格（缓慢漂移） */
body.tech-theme .tech-hud-grid-fine {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(14, 159, 216, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 159, 216, .04) 1px, transparent 1px);
  background-size: 14px 14px;
  animation: tech-drift 40s linear infinite;
}
/* 极光光斑 */
body.tech-theme .tech-aurora {
  position: fixed; border-radius: 50%;
  filter: blur(90px); z-index: 0; pointer-events: none; opacity: .55;
}
body.tech-theme .tech-aurora.ta1 { width: 700px; height: 700px; background: rgba(14, 159, 216, .18); top: -220px; left: -180px; }
body.tech-theme .tech-aurora.ta2 { width: 600px; height: 600px; background: rgba(11, 191, 166, .16); bottom: -260px; right: -140px; }
body.tech-theme .tech-aurora.ta3 { width: 480px; height: 480px; background: rgba(47, 127, 224, .13); top: 35%; left: 55%; }
/* 数据流竖线 */
body.tech-theme .tech-data-stream {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
body.tech-theme .tech-data-stream i {
  position: absolute; top: -100px; width: 1px; height: 70px;
  background: linear-gradient(180deg, transparent, rgba(14, 159, 216, .35), transparent);
  animation: tech-stream 9s linear infinite;
}
body.tech-theme .tech-data-stream i:nth-child(1) { left: 6%; animation-delay: 0s }
body.tech-theme .tech-data-stream i:nth-child(2) { left: 14%; animation-delay: 2.2s }
body.tech-theme .tech-data-stream i:nth-child(3) { left: 27%; animation-delay: 4.5s }
body.tech-theme .tech-data-stream i:nth-child(4) { left: 38%; animation-delay: 1.1s }
body.tech-theme .tech-data-stream i:nth-child(5) { left: 52%; animation-delay: 6s }
body.tech-theme .tech-data-stream i:nth-child(6) { left: 63%; animation-delay: 3.3s }
body.tech-theme .tech-data-stream i:nth-child(7) { left: 74%; animation-delay: 7.4s }
body.tech-theme .tech-data-stream i:nth-child(8) { left: 86%; animation-delay: 5.2s }
body.tech-theme .tech-data-stream i:nth-child(9) { left: 93%; animation-delay: .8s }
/* 扫描线 */
body.tech-theme .tech-scanline {
  position: fixed; left: 0; right: 0; height: 140px; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(14, 159, 216, .06), transparent);
  animation: tech-scan 7s linear infinite;
}
/* 屏幕四角刻度 */
body.tech-theme .tech-page-corner {
  position: fixed; width: 26px; height: 26px; z-index: 1;
  pointer-events: none; opacity: .55;
}
body.tech-theme .tech-page-corner.tl { top: 10px; left: 10px; border-top: 2px solid var(--tt-cyan); border-left: 2px solid var(--tt-cyan); }
body.tech-theme .tech-page-corner.tr { top: 10px; right: 10px; border-top: 2px solid var(--tt-cyan); border-right: 2px solid var(--tt-cyan); }
body.tech-theme .tech-page-corner.bl { bottom: 10px; left: 10px; border-bottom: 2px solid var(--tt-cyan); border-left: 2px solid var(--tt-cyan); }
body.tech-theme .tech-page-corner.br { bottom: 10px; right: 10px; border-bottom: 2px solid var(--tt-cyan); border-right: 2px solid var(--tt-cyan); }

/* ============ 1. 全局背景（body.tech-theme 作用域） ============ */
body.tech-theme {
  background: var(--tt-bg-0) !important;
  color: var(--tt-text);
  font-weight: 500;
}
body.tech-theme #wrapper,
body.tech-theme #page-wrapper.gray-bg,
body.tech-theme .gray-bg {
  background: var(--tt-bg-0) !important;
}
body.tech-theme .white-bg { background: #fff !important; }
body.tech-theme .wrapper-content { padding: 18px 22px 26px; }

/* 主区 HUD 网格（与 index.html 装饰层冗余兜底） */
body.tech-theme #wrapper::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(14, 159, 216, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 159, 216, .08) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ============ 2. 侧栏（玻璃拟态 + 左侧渐变能量线） ============ */
/* ★ 关键修复：原 .navbar-default.navbar-static-side 在此项目里是 position:relative，
   会占 220×900px 文档流空间，把 #page-wrapper 推到 y=900。
   改为 fixed 脱离文档流，让 page-wrapper 回到 y=0。 */
body.tech-theme .navbar-default.navbar-static-side,
body.tech-theme nav.navbar-default.navbar-static-side {
  position: fixed !important;
  top: 0; left: 0; bottom: 0;
  width: 220px !important;
  z-index: 1200;  /* 高于顶栏 1100，菜单下拉盖在顶栏之上 */
  background: var(--tt-glass) !important;
  background-color: var(--tt-glass) !important;
  border-right: 1px solid var(--tt-border) !important;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden auto;
  transition: width .2s;
}
/* mini-navbar 折叠态宽度 */
body.tech-theme.mini-navbar .navbar-default.navbar-static-side { width: 70px !important; }
/* ng-include 生成的包装层（#wrapper > .ng-scope > nav）让 fixed 侧栏的父容器不要占流空间 */
body.tech-theme #wrapper > .ng-scope { display: contents; }
/* 侧栏内部的 m-custom-scrollbar 容器 */
body.tech-theme .m-custom-scrollbar { height: 100vh !important; max-height: 100vh !important; }
/* 左侧 2px 青→青绿能量线 */
body.tech-theme nav.navbar-default.navbar-static-side::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 2px;
  background: linear-gradient(180deg, var(--tt-cyan), var(--tt-teal) 40%, transparent);
  opacity: .5; z-index: 2; pointer-events: none;
}
body.tech-theme .sidebar-collapse { background: transparent !important; }
body.tech-theme ul.metismenu,
body.tech-theme #side-menu { background: transparent !important; }

/* ---- 2.1 品牌区（按设计图：易字圆形 logo + 横排文字） ---- */
body.tech-theme .nav-header {
  background: rgba(255, 255, 255, .5) !important;
  background-image: none !important;
  border-bottom: 1px solid var(--tt-border) !important;
  position: relative; overflow: hidden;
  padding: 0 !important;
}
body.tech-theme .nav-header::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(14, 159, 216, .10) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: tech-brand-shine 4s linear infinite;
  pointer-events: none;
}
body.tech-theme .nav-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--tt-cyan) 30%, var(--tt-teal) 60%, transparent);
}
/* 品牌横排：易字圆标 + 名称 */
body.tech-theme .brand {
  position: relative; z-index: 1;
  height: 68px; display: flex; align-items: center; gap: 12px;
  padding: 0 18px;
}
body.tech-theme .brand-logo {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  position: relative;
  background: linear-gradient(135deg, var(--tt-cyan), var(--tt-teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: #fff;
  box-shadow: var(--tt-glow);
}
body.tech-theme .brand-logo::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px dashed rgba(14, 159, 216, .5);
  animation: tech-spin 8s linear infinite;
}
body.tech-theme .brand-name {
  color: var(--tt-deep); font-size: 15px; font-weight: 600;
  letter-spacing: 1px; line-height: 1.2;
}
body.tech-theme .brand-sub {
  display: block; font: 10px/1.4 var(--tt-mono);
  color: var(--tt-muted); letter-spacing: 1.5px; font-weight: 700;
}
/* 旧结构（profile-element / logo-element）已弃用，强制隐藏避免干扰 */
body.tech-theme .profile-element,
body.tech-theme .logo-element { display: none !important; }

/* ---- 2.2 一级菜单（15px 加粗 + 左侧发光激活条） ---- */
body.tech-theme ul.metismenu > li > a,
body.tech-theme #side-menu > li.side-menu-li > a {
  color: var(--tt-text) !important;
  font-size: 15px !important; font-weight: 700 !important;
  padding: 13px 20px !important;
  border-left: 3px solid transparent !important;
  border-radius: 0 !important; margin: 0 !important;
  background: transparent !important;
  position: relative; overflow: hidden;
  transition: all .2s;
}
/* 菜单项底部细分隔线 */
body.tech-theme ul.metismenu > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, rgba(14, 159, 216, .12), transparent);
}
body.tech-theme ul.metismenu > li > a:hover,
body.tech-theme ul.metismenu > li.side-menu-li > a:hover {
  color: var(--tt-cyan) !important;
  background: rgba(14, 159, 216, .08) !important;
  /* 已移除鼠标悬停时蓝色左边框 */
  border-left-color: transparent !important;
}
body.tech-theme ul.metismenu > li > a:hover .menu-icon,
body.tech-theme ul.metismenu > li.side-menu-li > a:hover .menu-icon {
  color: var(--tt-cyan) !important;
  text-shadow: 0 0 8px rgba(14, 159, 216, .6);
}
body.tech-theme ul.metismenu .menu-icon {
  color: var(--tt-deep) !important; font-weight: 800;
  margin-right: 8px; font-size: 15px; transition: all .2s;
}
body.tech-theme ul.metismenu .nav-label { font-weight: 700; letter-spacing: .5px; }

/* ★ 菜单项右侧编号徽标（效果图 01-15）：
   用 nth-child 自动给前 15 个一级菜单项加编号（最多 20 个安全） */
body.tech-theme #side-menu > li.side-menu-li > a > .idx,
body.tech-theme ul.metismenu > li > a > .idx {
  font-family: "Consolas", monospace !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  color: rgba(108, 134, 166, .6) !important;
  margin-left: auto !important;
  letter-spacing: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  text-shadow: none !important;
}
/* 激活菜单项编号高亮 */
body.tech-theme #side-menu > li.active > a > .idx,
body.tech-theme ul.metismenu > li.active > a > .idx {
  color: var(--tt-cyan) !important;
}

/* ★ 菜单分组标签（效果图 MAIN MENU / SYSTEM）：
   由 menu.html 用 ng-if 注入真实元素（<span class="tech-group-label">），
   不依赖 nth-child（菜单是 ng-repeat 渲染，nth-child 位置不稳定）。
   第 1 项前注入 "MAIN MENU"，第 8 项前注入 "SYSTEM"。 */
.tech-group-label {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  padding: 24px 20px 8px !important;
  margin: 0 !important;
  pointer-events: none;
  border: 0 !important;
  background: transparent !important;
  height: auto !important;
  list-style: none;
}
.tech-group-label .tech-group-title {
  font-family: "Consolas", monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--tt-deep);
  letter-spacing: 2.5px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--tt-cyan), var(--tt-teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 6px rgba(14, 159, 216, .25);
}
.tech-group-label .tech-group-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(14, 159, 216, .55), transparent);
}
body.tech-theme .tech-group-label:hover {
  background: transparent !important;
  color: inherit !important;
  border-left-color: transparent !important;
}

/* 激活态（父菜单）：渐变底 + 左侧 4px 发光渐变条 */
body.tech-theme .metismenu > li.active,
body.tech-theme ul.nav.metismenu > li.active,
body.tech-theme #side-menu > li.active,
body.tech-theme .nav > li.active {
  background: linear-gradient(90deg, rgba(14, 159, 216, .16), rgba(14, 159, 216, .02)) !important;
  /* 已移除一级菜单激活时左侧蓝色竖线 */
  border-left: 3px solid transparent !important;
}
body.tech-theme .metismenu > li.active > a,
body.tech-theme ul.nav.metismenu > li.active > a,
body.tech-theme #side-menu > li.active > a,
body.tech-theme ul.metismenu > li.side-menu-li.active > a {
  background: transparent !important;
  color: var(--tt-cyan) !important;
  font-weight: 800 !important;
  border-left: none !important;
}
body.tech-theme .metismenu > li.active > a::before,
body.tech-theme ul.nav.metismenu > li.active > a::before,
body.tech-theme #side-menu > li.active > a::before {
  /* 已移除一级菜单激活时左侧渐变发光竖线 */
  display: none !important;
}
body.tech-theme .metismenu > li.active > a .menu-icon,
body.tech-theme ul.metismenu > li.active > a .menu-icon {
  color: var(--tt-cyan) !important;
  text-shadow: 0 0 10px var(--tt-cyan);
}
/* 父菜单 hover 不回落深蓝（覆盖 style.css .nav>li:hover） */
body.tech-theme .metismenu > li:hover,
body.tech-theme .nav > li:hover:not(.active) {
  background: rgba(14, 159, 216, .08) !important;
}

/* ---- 2.3 二级菜单 ---- */
body.tech-theme ul.metismenu .nav-second-level {
  background: rgba(14, 159, 216, .04) !important;
}
body.tech-theme ul.metismenu .nav-second-level > li > a {
  color: var(--tt-text) !important;
  font-size: 13.5px !important; font-weight: 500;
  background: transparent !important;
  padding: 9px 20px 9px 48px !important;
  transition: all .18s;
  /* 已移除二级菜单点击后黑色 focus 边框 */
  outline: none !important;
  border: none !important;
}
body.tech-theme ul.metismenu .nav-second-level > li > a:hover {
  color: var(--tt-cyan) !important;
  background: rgba(14, 159, 216, .06) !important;
}
body.tech-theme ul.metismenu .nav-second-level > li.active > a {
  color: var(--tt-cyan) !important;
  background: rgba(11, 191, 166, .08) !important;
  font-weight: 600;
}
/* 移除菜单点击瞬时黑色左边框（focus/active 状态浏览器默认样式） */
body.tech-theme ul.metismenu li a:focus,
body.tech-theme ul.metismenu li a:active,
body.tech-theme ul.metismenu li a:focus-visible {
  outline: none !important;
  border-left-color: transparent !important;
  box-shadow: none !important;
}

/* ---- 2.4 侧栏底部折叠按钮 ---- */
body.tech-theme .sidebar-scale-btn {
  background: rgba(255, 255, 255, .5) !important;
  border-top: 1px solid var(--tt-border-soft);
}
body.tech-theme .sidebar-scale-btn .btn {
  color: var(--tt-deep) !important;
}
body.tech-theme .sidebar-scale-btn .btn:hover {
  color: var(--tt-cyan) !important;
  background: rgba(14, 159, 216, .08) !important;
}

/* ---- 2.5 移除 ui-select 搜索框选择后黑色边框 ---- */
body.tech-theme .ui-select-container button.btn.ui-select-match:focus,
body.tech-theme .ui-select-container button.btn.ui-select-match:active,
body.tech-theme .ui-select-container .ui-select-choices:focus,
body.tech-theme .ui-select-container .ui-select-search:focus {
  outline: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.tech-theme .ui-select-bootstrap > .ui-select-choices {
  border: none !important;
  box-shadow: 0 4px 12px rgba(0,0,0,.15) !important;
}
/* 移除 ui-select 选择后 btn-default-focus 的黑色 outline（5px纯黑框） */
body .ui-select-match.btn-default-focus,
body .btn-default-focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ============ 3. 顶栏（玻璃 + 呼吸点标题 + 流光按钮） ============ */
/* 顶栏容器: navbar(50) + tabs(38) = 88px + 12 padding = 100px
   v6 居中保留 flex 但 tabs 用 relative 不重叠
   ★ 修复要点: nav 居中, tabs 紧贴 nav 下方, 不重叠 */
body.tech-theme .border-bottom.white-bg {
  position: fixed !important;
  top: 0; left: 220px; right: 0;
  height: 100px !important;
  background: var(--tt-glass) !important;
  background-color: var(--tt-glass) !important;
  border-bottom: none !important;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  z-index: 1100 !important;
  /* 不再 flex 居中容器 - 会导致 absolute 的 tabs-box 跳出 flex 布局重叠在 nav 上 */
  padding: 6px 0 6px 0 !important;
  overflow: visible !important;
}
/* 内层 navbar 允许溢出（右侧下拉菜单需要显示），高度锁定 50px */
body.tech-theme nav.navbar.navbar-static-top {
  overflow: visible;
  height: 50px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;  /* nav 内部所有元素垂直居中 */
  flex-shrink: 0 !important;
}
/* tabs 行紧接 nav 下方,文档流排版(顶部活动条仍在) */
body.tech-theme .navbar-tabs-box {
  background: rgba(255, 255, 255, .45) !important;
  border-bottom: 1px solid var(--tt-border-soft) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative !important;  /* 改 absolute 为 relative 让其在文档流中自然排版,不重叠在 nav 上 */
  top: 0 !important;
  bottom: auto !important;
  height: 38px !important;
  overflow: hidden !important;
}
/* 侧栏收起（mini-navbar）时 topbar 跟着左移 */
body.tech-theme.mini-navbar .border-bottom.white-bg { left: 70px !important; }
/* 顶栏底边青色渐变能量线 */
body.tech-theme .border-bottom.white-bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--tt-cyan), var(--tt-teal) 35%, transparent 75%);
  z-index: 1;
}
/* 给主区留出顶栏空间，避免内容被 fixed 顶栏遮住 */
body.tech-theme #page-wrapper { padding-top: 100px !important; }
body.tech-theme nav.navbar.navbar-static-top,
body.tech-theme .navbar.navbar-default.navbar-static-top,
body.tech-theme nav.navbar-static-top {
  background: transparent !important;
  border: none !important;
  height: 50px !important;
  margin: 0 !important;
  box-shadow: none;
  display: flex !important;
  align-items: center !important;  /* 让 navbar-header 和 navbar-right 内的所有按钮垂直居中 */
  flex-shrink: 0 !important;
}
/* 让顶栏左侧标题组也垂直居中 */
body.tech-theme .navbar.navbar-static-top .navbar-header {
  display: flex !important;
  align-items: center !important;
  height: 50px;
}
body.tech-theme .navbar.navbar-static-top .navbar-header > * {
  align-self: center !important;
}
/* 顶栏右侧容器垂直居中 */
body.tech-theme .navbar.navbar-static-top .navbar-top-links.navbar-right {
  margin: 0 !important;
  align-items: center !important;
  height: 50px;
}
/* 顶栏右侧区域：紧凑、避免溢出 */
body.tech-theme .navbar-top-links.navbar-right {
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  padding-right: 16px !important;
}
body.tech-theme .navbar-top-links.navbar-right > li {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
}
body.tech-theme .navbar-top-links.navbar-right > li.divider {
  width: 1px; height: 22px;
  background: rgba(14, 159, 216, .25);
  margin: 0 6px !important;
  display: inline-block;
}

/* ---- 3.1 系统标题（呼吸点 + 深黑蓝加粗） ---- */
body.tech-theme .navbar.navbar-static-top .navbar-header {
  padding: 0 6px 0 22px !important;
  display: flex; align-items: center; gap: 10px;
}
body.tech-theme .navbar.navbar-static-top .title {
  position: relative;
  padding-left: 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  color: var(--tt-deep) !important;
  white-space: nowrap;
}
/* 标题前 8×8 呼吸方块（效果图 topbar-title） */
body.tech-theme .navbar.navbar-static-top .title::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--tt-cyan);
  box-shadow: 0 0 8px var(--tt-cyan);
  animation: tech-blink 1.6s infinite;
}
/* "// SMART CLOUD" 标签（效果图基准） */
body.tech-theme .tech-smart-cloud-tag {
  font-family: "Consolas", monospace;
  font-size: 10px; font-weight: 600;
  color: var(--tt-teal); letter-spacing: 2px;
  border: 1px solid rgba(11, 191, 166, .4);
  border-radius: 3px;
  padding: 3px 8px;
  background: rgba(11, 191, 166, .06);
  white-space: nowrap;
}

/* ---- 3.2 顶部动作按钮（大屏监控/数据分析/集中监控：渐变描边药丸） ---- */
body.tech-theme .border-bottom.white-bg .big-monitor-btn {
  position: relative;
  display: inline-flex !important;
  background: linear-gradient(135deg, rgba(14,159,216,.05), rgba(11,191,166,.04)) !important;
  border: none !important;
  border-radius: 20px !important;
  color: var(--tt-cyan) !important;
  font-size: 13px !important; font-weight: 600 !important;
  padding: 6px 18px !important;
  box-shadow: none !important;
  transition: all .25s ease;
  overflow: hidden;
  letter-spacing: .5px;
  margin-left: 10px !important;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
}
/* 渐变边框 (mask 方式实现圆角渐变描边) */
body.tech-theme .border-bottom.white-bg .big-monitor-btn::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, var(--tt-cyan), var(--tt-teal));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
/* 流光扫过效果 */
body.tech-theme .border-bottom.white-bg .big-monitor-btn::after {
  content: ""; position: absolute; top: 0; left: -60%;
  width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(14, 159, 216, .12), transparent);
  transform: skewX(-25deg);
  animation: tech-btn-light 3.2s ease infinite;
  border-radius: 20px;
  z-index: 0;
}
@keyframes tech-btn-light {
  0%, 55% { left: -60% } 100% { left: 160% }
}
body.tech-theme .border-bottom.white-bg .big-monitor-btn:hover {
  background: linear-gradient(135deg, rgba(14,159,216,.12), rgba(11,191,166,.08)) !important;
  box-shadow: 0 2px 16px rgba(14, 159, 216, .22), 0 0 0 1px rgba(14,159,216,.12) !important;
  color: var(--tt-cyan) !important;
  transform: translateY(-1px);
}

/* ---- 3.3 设备统计（彩色左侧指示条胶囊组） ---- */
body.tech-theme .border-bottom.white-bg .site-counts {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  color: var(--tt-deep) !important;
  transition: none;
  display: inline-flex; align-items: center; gap: 6px;
  flex-wrap: nowrap;
  margin-right: 8px;
}
body.tech-theme .border-bottom.white-bg .site-counts:hover {
  transform: none;
  box-shadow: none;
}
body.tech-theme .border-bottom.white-bg .site-counts .fa { display: none !important; }
/* 每个统计项 = 独立胶囊 + 左侧彩色指示条 */
body.tech-theme .border-bottom.white-bg .site-counts-item {
  font-family: var(--tt-mono);
  font-size: 12px !important; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px 5px 10px !important;
  border: 1px solid var(--tt-border-soft);
  border-radius: 18px !important;
  background: rgba(255, 255, 255, .80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  transition: all .2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  color: var(--tt-muted) !important;
}
/* 左侧细色条指示器 */
body.tech-theme .border-bottom.white-bg .site-counts-item::before {
  content: "";
  position: absolute; left: 0; top: 3px; bottom: 3px;
  width: 3px; border-radius: 0 2px 2px 0;
  transition: all .2s;
}
body.tech-theme .border-bottom.white-bg .site-counts-item:nth-child(1)::before,
body.tech-theme .border-bottom.white-bg .site-counts-item.text-primary::before {
  background: var(--tt-cyan); /* 设备总数 */
}
body.tech-theme .border-bottom.white-bg .site-counts-item:nth-child(2)::before {
  background: #9b9b9b; /* 离线 */
}
body.tech-theme .border-bottom.white-bg .site-counts-item.text-info::before {
  background: var(--tt-green); /* 正常 */
}
body.tech-theme .border-bottom.white-bg .site-counts-item.text-warning::before {
  background: var(--tt-yellow); /* 告警 */
}
body.tech-theme .border-bottom.white-bg .site-counts-item.text-danger::before {
  background: var(--tt-red); /* 故障 */
}
body.tech-theme .border-bottom.white-bg .site-counts-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(14, 159, 216, .18);
  border-color: var(--tt-border);
  background: #fff;
}
body.tech-theme .border-bottom.white-bg .site-counts-item b {
  font-weight: 700;
  color: var(--tt-deep);
  font-family: var(--tt-mono);
  font-size: 13px;
}
body.tech-theme .border-bottom.white-bg .site-counts-item.text-primary b { color: var(--tt-cyan) !important; }
body.tech-theme .border-bottom.white-bg .site-counts-item.text-info b { color: var(--tt-green) !important; }
body.tech-theme .border-bottom.white-bg .site-counts-item.text-warning b { color: var(--tt-yellow) !important; }
body.tech-theme .border-bottom.white-bg .site-counts-item.text-danger b { color: var(--tt-red) !important; }
body.tech-theme .border-bottom.white-bg .site-counts-item.text-primary { color: var(--tt-deep) !important; }
body.tech-theme .border-bottom.white-bg .site-counts-item.text-info { color: var(--tt-green) !important; opacity: .85; }
body.tech-theme .border-bottom.white-bg .site-counts-item.text-warning { color: var(--tt-yellow) !important; opacity: .85; }
body.tech-theme .border-bottom.white-bg .site-counts-item.text-danger { color: var(--tt-red) !important; opacity: .85; }

/* ---- 3.4 告警铃铛（圆形玻璃钮 + 红色呼吸徽标） ---- */
body.tech-theme .border-bottom.white-bg .navbar-warning-dropdown .header-btn,
body.tech-theme .border-bottom.white-bg .count-info {
  background: rgba(255, 255, 255, .82) !important;
  border: 1px solid var(--tt-border-soft) !important;
  border-radius: 50% !important;
  width: 40px !important; height: 40px !important;
  min-width: 40px !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  margin: 0 4px !important;
  color: var(--tt-deep) !important;
  box-shadow: 0 2px 10px rgba(14, 159, 216, .10);
  transition: all .25s ease;
  padding: 0 !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.tech-theme .border-bottom.white-bg .navbar-warning-dropdown .header-btn:hover {
  color: var(--tt-cyan) !important;
  background: rgba(14, 159, 216, .08) !important;
  border-color: var(--tt-cyan) !important;
  box-shadow: 0 0 18px rgba(14, 159, 216, .35);
  transform: translateY(-2px) scale(1.06);
}
body.tech-theme .border-bottom.white-bg .navbar-top-links .navbar-warning-dropdown > a.header-btn .fa {
  font-size: 17px !important;
  color: var(--tt-cyan) !important;
  opacity: 1 !important;
}
body.tech-theme .border-bottom.white-bg .navbar-top-links .label-danger,
body.tech-theme .border-bottom.white-bg .navbar-top-links .label.label-warning,
body.tech-theme .border-bottom.white-bg .navbar-top-links .label.label-primary {
  position: absolute !important;
  top: -6px !important; right: -8px !important;
  width: auto !important; max-width: none !important;
  height: auto !important;
  padding: 1px 6px !important; line-height: 1.35 !important;
  font-size: 12px !important; font-weight: 600 !important;
  border-radius: 10px !important;
  border: 2px solid #fff !important;
  background: var(--tt-red) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(229, 72, 77, .45);
  animation: tech-blink 1.6s infinite;
  display: inline-flex !important; align-items: center; justify-content: center;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

/* ---- 3.5 顶栏右侧功能钮（语言/帮助/用户：玻璃药丸） ---- */
body.tech-theme .border-bottom.white-bg .navbar-top-links li a,
body.tech-theme .border-bottom.white-bg .navbar-top-links .header-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: var(--tt-text) !important;
  background: rgba(255, 255, 255, .78) !important;
  border: 1px solid var(--tt-border-soft) !important;
  border-radius: 20px !important;
  padding: 7px 14px !important;
  margin: 0 3px !important;
  height: 36px !important;
  min-height: 36px !important;
  transition: all .22s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(14, 159, 216, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px !important;
  font-weight: 500 !important;
}
body.tech-theme .border-bottom.white-bg .navbar-top-links li a:not(.count-info):hover,
body.tech-theme .border-bottom.white-bg .navbar-top-links .header-btn:not(.count-info):hover {
  color: var(--tt-cyan) !important;
  background: rgba(14, 159, 216, .08) !important;
  border-color: var(--tt-cyan) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 159, 216, .18);
}
body.tech-theme .border-bottom.white-bg .navbar-static-top .header-btn .fa {
  opacity: 1 !important;
  font-size: 15px !important;
  color: var(--tt-cyan) !important;
}
body.tech-theme .border-bottom.white-bg .navbar-static-top .header-btn .text-black {
  color: var(--tt-text) !important; opacity: 1;
  font-size: 13px !important; font-weight: 500;
}

/* ---- 3.6 下拉菜单（玻璃卡片 + 顶部能量线） ---- */
body.tech-theme .dropdown-menu {
  background: rgba(255, 255, 255, .98) !important;
  border: 1px solid var(--tt-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 36px rgba(14, 159, 216, .22) !important;
  padding: 6px !important;
}
body.tech-theme .dropdown-menu > li > a {
  color: var(--tt-text) !important;
  border-radius: 6px; padding: 8px 12px;
  transition: all .15s;
}
body.tech-theme .dropdown-menu > li > a:hover {
  background: rgba(14, 159, 216, .08) !important;
  color: var(--tt-cyan) !important;
}

/* ====== 告警铃铛下拉弹窗（核心修复：层级 + 定位 + 样式） ====== */
/* li 容器：必须 relative 才能让内部 absolute 的 dropdown 正确定位 */
body.tech-theme .navbar-warning-dropdown {
  position: relative !important;
  z-index: 1250 !important;
}
/* 告警下拉面板：高层级 + 玻璃卡片 + 右上角定位 */
body.tech-theme .navbar-top-links .dropdown-messages,
body.tech-theme .navbar-warning-dropdown .dropdown-messages.dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  margin-right: 0 !important;
  margin-top: 8px !important;
  z-index: 1300 !important;   /* 最高层级，确保不被任何内容区遮挡 */
  background: rgba(255, 255, 255, .97) !important;
  border: 1px solid var(--tt-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 48px rgba(11, 22, 38, .18), 0 4px 12px rgba(14, 159, 216, .12) !important;
  padding: 0 !important;
  min-width: 400px;
  max-width: 440px;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
/* 滚动条美化 */
body.tech-theme .navbar-warning-dropdown .dropdown-messages.dropdown-menu::-webkit-scrollbar { width: 4px; }
body.tech-theme .navbar-warning-dropdown .dropdown-messages.dropdown-menu::-webkit-scrollbar-thumb { background: rgba(14,159,216,.3); border-radius: 4px; }
body.tech-theme .navbar-warning-dropdown .dropdown-messages.dropdown-menu::-webkit-scrollbar-track { background: transparent; }
/* 告警下拉顶部能量线 */
body.tech-theme .navbar-warning-dropdown .dropdown-messages.dropdown-menu::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tt-cyan), var(--tt-teal), var(--tt-cyan));
  border-radius: 12px 12px 0 0;
  z-index: 2;
}
/* ====== 告警下拉头部 ====== */
body.tech-theme .navbar-warning-dropdown .dropdown-messages > li:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 10px !important;
  border-bottom: 1px solid var(--tt-border-soft);
  font-weight: 700;
  color: var(--tt-deep);
  font-size: 14px;
  background: transparent !important;
  position: sticky;
  top: 0;
  z-index: 1;
}
/* 头部音效按钮 */
body.tech-theme .navbar-warning-dropdown .dropdown-messages > li:first-child .btn-link {
  color: var(--tt-cyan) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all .2s;
}
body.tech-theme .navbar-warning-dropdown .dropdown-messages > li:first-child .btn-link:hover {
  background: rgba(14, 159, 216, .08) !important;
}

/* ====== 告警条目（卡片化：左侧色条 + 白底 + 柔和层次） ====== */
body.tech-theme .navbar-warning-dropdown .dropdown-messages-item {
  margin: 0 !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
  transition: all .2s ease;
  border: none !important;
  border-bottom: 1px solid rgba(14, 159, 216, .06) !important;
  background: #fff !important;
  color: var(--tt-text) !important;
  position: relative;
  overflow: hidden;
}
/* 左侧状态指示条（极淡渐变，无硬边框） */
body.tech-theme .navbar-warning-dropdown .dropdown-messages-item.warn-status-1 {
  background: linear-gradient(90deg, rgba(248, 172, 89, .05), transparent 10px) !important;
  border-left: none !important;
  color: var(--tt-text) !important;
}
body.tech-theme .navbar-warning-dropdown .dropdown-messages-item.warn-status-2 {
  background: linear-gradient(90deg, rgba(229, 72, 77, .05), transparent 10px) !important;
  border-left: none !important;
  color: var(--tt-text) !important;
}
body.tech-theme .navbar-warning-dropdown .dropdown-messages-item.warn-status-0 {
  border-left: none !important;
}
/* 条目 hover 效果 */
body.tech-theme .navbar-warning-dropdown .dropdown-messages-item:hover {
  background: rgba(14, 159, 216, .04) !important;
}

/* 告警内容盒子 */
body.tech-theme .navbar-warning-dropdown .dropdown-messages-box {
  color: var(--tt-text);
  line-height: 1.65;
  font-size: 13px;
}
/* 公司名称（第一行） */
body.tech-theme .navbar-warning-dropdown .dropdown-messages-box > div > br + strong,
body.tech-theme .navbar-warning-dropdown .dropdown-messages-box strong {
  color: var(--tt-deep);
  font-weight: 600;
  font-size: 13px;
}
/* 时间戳 */
body.tech-theme .navbar-warning-dropdown .dropdown-messages-box small {
  color: var(--tt-text-muted);
  font-size: 12px;
  display: inline-block;
  margin-top: 4px;
}

/* ====== 确认按钮（科技风药丸） ====== */
body.tech-theme .navbar-warning-dropdown .dropdown-messages-item .btn-xs {
  font-size: 11.5px !important;
  font-weight: 600 !important;
  padding: 3px 14px !important;
  border-radius: 999px !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.08) !important;
  transition: all .2s ease !important;
  letter-spacing: 0.3px;
}
/* warning 级别确认按钮 - 青色系 */
body.tech-theme .navbar-warning-dropdown .dropdown-messages-item .btn-warning {
  background: linear-gradient(135deg, var(--tt-cyan), var(--tt-teal)) !important;
  color: #fff !important;
}
body.tech-theme .navbar-warning-dropdown .dropdown-messages-item .btn-warning:hover {
  background: linear-gradient(135deg, #0d8ec7, #0aa894) !important;
  box-shadow: 0 4px 12px rgba(14, 159, 216, .35) !important;
  transform: translateY(-1px);
}
/* danger 级别确认按钮 - 红色系 */
body.tech-theme .navbar-warning-dropdown .dropdown-messages-item .btn-danger {
  background: linear-gradient(135deg, #e5484d, #d63c42) !important;
  color: #fff !important;
}
body.tech-theme .navbar-warning-dropdown .dropdown-messages-item .btn-danger:hover {
  box-shadow: 0 4px 12px rgba(229, 72, 77, .35) !important;
  transform: translateY(-1px);
}

/* ====== 告警下拉底部操作区 ====== */
body.tech-theme .navbar-warning-dropdown .dropdown-messages > li:last-child {
  border-top: 1px solid var(--tt-border-soft) !important;
  padding: 10px 14px !important;
  margin-top: 0 !important;
  background: rgba(14, 159, 216, .02) !important;
  border-radius: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.tech-theme .navbar-warning-dropdown .text-center.link-block a {
  color: var(--tt-cyan) !important;
  font-weight: 600;
  font-size: 13px;
  padding: 7px 12px !important;
  border-radius: 8px;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
body.tech-theme .navbar-warning-dropdown .text-center.link-block a:hover {
  background: rgba(14, 159, 216, .08) !important;
}
body.tech-theme .navbar-warning-dropdown .text-center.link-block a i {
  color: var(--tt-cyan) !important;
}

/* ============ 4. 多标签页栏（玻璃 + active 顶部能量条 + 横向滚动防错位） ============ */
body.tech-theme .navbar-tabs-box {
  background: rgba(255, 255, 255, .45) !important;
  border-bottom: 1px solid var(--tt-border-soft) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: absolute !important;
  overflow: hidden !important;
}
/* tabs 容器：flex 横向滚动，替代原本的 absolute + 百分比硬码（多 tab 时不重叠错位） */
body.tech-theme .navbar-tabs-container {
  position: absolute !important;
  left: 10px !important; right: 20px !important; top: 1px !important; bottom: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: thin;
}
body.tech-theme .navbar-tabs-container::-webkit-scrollbar { height: 3px; }
body.tech-theme .navbar-tabs-container::-webkit-scrollbar-thumb { background: rgba(14, 159, 216, .35); border-radius: 3px; }
body.tech-theme .navbar-tabs-container::-webkit-scrollbar-track { background: transparent; }

/* tab 项：用 flex 自然排列（不再 absolute），最大宽度限制，超出 ellipsis */
body.tech-theme .navbar-tabs-item {
  position: relative !important;
  flex: 0 0 auto !important;
  width: auto !important; left: auto !important;
  min-width: 110px !important; max-width: 220px !important;
  height: 100% !important;
  padding: 0 14px !important;
  margin-right: 2px !important;
  display: flex !important;
  align-items: center !important;
  background: transparent;
  border-radius: 6px 6px 0 0;
  color: var(--tt-muted);
  transition: all .18s;
  cursor: default;
}
body.tech-theme .navbar-tabs-item:hover,
body.tech-theme .navbar-tabs-item.dragging {
  background: rgba(14, 159, 216, .08) !important;
  color: var(--tt-cyan);
}
body.tech-theme .navbar-tabs-item.active {
  background: #fff !important;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -2px 10px rgba(14, 159, 216, .12);
}
/* active 标签顶部青→青绿能量条 */
body.tech-theme .navbar-tabs-item.active::after {
  content: "" !important; position: absolute; top: 0; left: 8px; right: 8px; height: 2px;
  background: linear-gradient(90deg, var(--tt-cyan), var(--tt-teal));
  border-radius: 2px;
}
body.tech-theme .navbar-tabs-item .title {
  font-size: 13px; font-weight: 500;
  flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
body.tech-theme .navbar-tabs-item.active .title { color: var(--tt-cyan); font-weight: 600; }
body.tech-theme .navbar-tabs-item .close-btn {
  flex: 0 0 22px;
  width: 22px; height: 22px;
  margin-left: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: transparent !important;
}
body.tech-theme .navbar-tabs-item .close-btn a {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--tt-muted);
  border-radius: 50%;
  font-size: 14px; line-height: 1;
}
body.tech-theme .navbar-tabs-item .close-btn a:hover {
  background: rgba(229, 72, 77, .14) !important;
  color: var(--tt-red) !important;
}
body.tech-theme .navbar-tabs-item:hover .close-btn,
body.tech-theme .navbar-tabs-item.dragging .close-btn {
  background: transparent !important;
}
body.tech-theme .navbar-tabs-item.active .close-btn {
  background: transparent !important;
}
/* 标签右键菜单 */
body.tech-theme .navbar-tabs-menu {
  background: #fff !important;
  border: 1px solid var(--tt-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 28px rgba(14, 159, 216, .18) !important;
  overflow: hidden;
  top: calc(100% - 1px);
}
body.tech-theme .navbar-tabs-menu-btn:hover {
  background: rgba(14, 159, 216, .08) !important;
  color: var(--tt-cyan);
}

/* ============ 5. 卡片 .ibox（顶部能量线 + hover 四角刻度） ============ */
body.tech-theme .ibox {
  background: var(--tt-card) !important;
  border: 1px solid var(--tt-border) !important;
  border-radius: var(--tt-radius) !important;
  box-shadow: 0 6px 22px rgba(18, 53, 94, .08) !important;
  position: relative; overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
body.tech-theme .ibox:hover {
  border-color: rgba(14, 159, 216, .45);
  box-shadow: 0 8px 28px rgba(14, 159, 216, .15) !important;
}
/* 卡片头部能量条 */
body.tech-theme .ibox-title {
  background: rgba(14, 159, 216, .04) !important;
  border-bottom: 1px solid var(--tt-border) !important;
  color: var(--tt-deep) !important;
  min-height: 48px; padding: 12px 18px;
  position: relative;
}
body.tech-theme .ibox-title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, var(--tt-cyan), var(--tt-teal));
  box-shadow: 0 0 6px var(--tt-cyan);
}
body.tech-theme .ibox-title h5 {
  font-weight: 600; color: var(--tt-deep);
  letter-spacing: .5px; font-size: 14px;
}
body.tech-theme .ibox-title h5 strong { font-size: 14px; color: var(--tt-deep); }
body.tech-theme .ibox-content {
  background: #fff !important;
  color: var(--tt-text);
  padding: 16px 18px;
}
/* 卡片右上角计数徽标风格（ibos-tools 按钮） */
body.tech-theme .ibox-tools .btn,
body.tech-theme .ibox-tools a {
  color: var(--tt-muted);
}
body.tech-theme .ibox-tools .btn:hover,
body.tech-theme .ibox-tools a:hover { color: var(--tt-cyan); }

/* ============ 6. 表格（青色渐变表头 + 悬浮行发光） ============ */
body.tech-theme .table,
body.tech-theme .table-bordered,
body.tech-theme .footable {
  background: #fff !important;
  color: var(--tt-text) !important;
  font-size: 13px;
}
body.tech-theme .table > thead > tr > th,
body.tech-theme .footable > thead > tr > th,
body.tech-theme table.footable thead th {
  background: linear-gradient(180deg, rgba(14, 159, 216, .10), rgba(14, 159, 216, .05)) !important;
  color: var(--tt-cyan) !important;
  font-weight: 600; letter-spacing: 1px; font-size: 12.5px;
  border-bottom: 1px solid rgba(14, 159, 216, .22) !important;
  border-top: none !important;
  white-space: nowrap;
}
body.tech-theme .table > tbody > tr > td,
body.tech-theme .footable > tbody > tr > td {
  border-top: 1px solid rgba(14, 159, 216, .08) !important;
  color: var(--tt-text) !important;
  vertical-align: middle !important;
  font-weight: 500;
}
body.tech-theme .table-striped > tbody > tr:nth-of-type(odd),
body.tech-theme .table tbody tr:nth-child(even) {
  background: rgba(14, 159, 216, .025) !important;
}
body.tech-theme .table-hover > tbody > tr:hover,
body.tech-theme .table tbody tr:hover,
body.tech-theme table.footable tbody tr:hover {
  background: rgba(14, 159, 216, .07) !important;
}
body.tech-theme .footable-pagination {
  background: rgba(255, 255, 255, .85);
  border-radius: 6px; padding: 8px 12px;
}

/* ============ 6.5 设备列表 P0 优化（搜索 / 冻结列 / 状态药丸 / 科技加载） ============ */
/* 工具栏 */
body.tech-theme .devjump-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 14px; flex-wrap: wrap;
}
body.tech-theme .devjump-search {
  position: relative; display: flex; align-items: center;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--tt-border);
  border-radius: 999px; padding: 0 14px; height: 40px; min-width: 300px;
  box-shadow: 0 2px 10px rgba(14, 159, 216, .08);
  transition: border-color .2s, box-shadow .2s;
}
body.tech-theme .devjump-search:focus-within {
  border-color: var(--tt-cyan);
  box-shadow: 0 0 0 3px rgba(14, 159, 216, .15);
}
body.tech-theme .devjump-search-ico { color: var(--tt-cyan); font-size: 16px; margin-right: 6px; }
body.tech-theme .devjump-search-input {
  border: none !important; outline: none; background: transparent !important;
  box-shadow: none !important; height: 36px; font-size: 13px; color: var(--tt-text);
  flex: 1; padding: 0 !important;
}
body.tech-theme .devjump-search-clear {
  border: none; background: rgba(14, 159, 216, .12); color: var(--tt-cyan);
  width: 20px; height: 20px; line-height: 18px; border-radius: 50%;
  cursor: pointer; font-size: 14px; padding: 0; margin-left: 6px;
}
body.tech-theme .devjump-toolbar-meta {
  color: var(--tt-muted); font-size: 12.5px; display: flex; align-items: center; gap: 6px;
}
body.tech-theme .devjump-status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--tt-teal);
  box-shadow: 0 0 8px var(--tt-teal); animation: tech-blink 1.6s infinite;
}
body.tech-theme .devjump-count { color: var(--tt-cyan); font-weight: 600; font-size: 12.5px; }

/* 表格滚动容器：横向滚动 + 垂直限高（表头吸顶） */
body.tech-theme .devjump-table-wrap {
  position: relative; overflow: auto;
  max-height: calc(100vh - 250px);
  border: 1px solid var(--tt-border-soft); border-radius: var(--tt-radius);
}
body.tech-theme table.devjump-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1200px; }
body.tech-theme table.devjump-table thead th {
  position: sticky; top: 0; z-index: 3;
  background: linear-gradient(180deg, #ffffff, rgba(14, 159, 216, .10)) !important;
}
/* 冻结首两列 */
body.tech-theme table.devjump-table th.sticky-col,
body.tech-theme table.devjump-table td.sticky-col {
  position: sticky; left: 0; z-index: 2;
  background: #fff; min-width: 56px; box-shadow: 1px 0 0 var(--tt-border-soft);
}
body.tech-theme table.devjump-table thead th.sticky-col { z-index: 4; }
body.tech-theme table.devjump-table th.sticky-col-2,
body.tech-theme table.devjump-table td.sticky-col-2 {
  position: sticky; left: 56px; z-index: 2;
  background: #fff; min-width: 130px; box-shadow: 1px 0 0 var(--tt-border-soft);
}
body.tech-theme table.devjump-table thead th.sticky-col-2 { z-index: 4; }
body.tech-theme table.devjump-table tbody tr:nth-child(even) td.sticky-col,
body.tech-theme table.devjump-table tbody tr:nth-child(even) td.sticky-col-2 {
  background: rgba(14, 159, 216, .025);
}
body.tech-theme table.devjump-table tbody tr:hover td.sticky-col,
body.tech-theme table.devjump-table tbody tr:hover td.sticky-col-2 {
  background: rgba(14, 159, 216, .07);
}

/* 状态药丸（操作列） */
body.tech-theme .tech-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  cursor: pointer; user-select: none; transition: all .2s; border: 1px solid transparent;
}
body.tech-theme .tech-pill-view {
  color: #fff; background: linear-gradient(135deg, var(--tt-cyan), var(--tt-teal));
  box-shadow: 0 2px 8px rgba(14, 159, 216, .30);
}
body.tech-theme .tech-pill-view:hover {
  filter: brightness(1.06); transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 159, 216, .40);
}

/* 科技感加载层 */
body.tech-theme .tech-loading {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(3px); border-radius: var(--tt-radius);
}
body.tech-theme .tech-spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 4px solid rgba(14, 159, 216, .18);
  border-top-color: var(--tt-cyan); border-right-color: var(--tt-teal);
  animation: tech-spin .8s linear infinite;
  box-shadow: 0 0 18px rgba(14, 159, 216, .25);
}
body.tech-theme .tech-loading-text {
  color: var(--tt-cyan); font-size: 13px; font-weight: 600; letter-spacing: 1px;
}

/* ============ 6.6 设备详情右侧面板（GIS设备信息） ============ */

/* 面板容器 */
body.tech-theme .gis-device-info {
  background: transparent !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}
body.tech-theme .gis-device-info > uib-tabset {
  display: flex; flex-direction: column; height: 100%; flex: 1;
}

/* ---- 标题栏 ---- */
body.tech-theme .gdi-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 22px 10px;
  background: linear-gradient(135deg, rgba(14,159,216,.06), rgba(11,191,166,.06));
  border-bottom: 1px solid var(--tt-border-soft);
}
body.tech-theme .gdi-title {
  font-size: 15px !important; font-weight: 600; color: #5b6b7a;
  margin: 0; line-height: 1.3; padding-left: 12px;
}
body.tech-theme .gdi-actions {
  display: flex; gap: 8px; align-items: center;
}
body.tech-theme .gdi-action-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all .22s; border: 1px solid var(--tt-border);
  background: rgba(255,255,255,.85); color: var(--tt-text-muted);
  text-decoration: none !important;
}
body.tech-theme .gdi-action-btn:hover {
  border-color: var(--tt-cyan); color: var(--tt-cyan);
  box-shadow: 0 2px 10px rgba(14,159,216,.15);
  transform: translateY(-1px);
}
body.tech-theme .gdi-action-btn i { font-size: 13px; }

/* ---- 状态徽标 ---- */
body.tech-theme .gdi-status-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 16px; border-radius: 999px; font-size: 12.5px !important; font-weight: 700;
  letter-spacing: .5px;
}
body.tech-theme .gdi-status-0 { /* 离线 */
  background: rgba(150,160,170,.15); color: #7a8793;
  border: 1px solid rgba(150,160,170,.25);
}
body.tech-theme .gdi-status-1 { /* 正常 */
  background: linear-gradient(135deg, rgba(11,191,166,.15), rgba(14,159,216,.12));
  color: var(--tt-teal); border: 1px solid rgba(11,191,166,.25);
}
body.tech-theme .gdi-status-2 { /* 告警 */
  background: rgba(240,180,50,.12); color: #c98a0e;
  border: 1px solid rgba(240,180,50,.25);
}
body.tech-theme .gdi-status-3 { /* 故障 */
  background: rgba(220,80,70,.10); color: #c0392b;
  border: 1px solid rgba(220,80,70,.20);
}
body.tech-theme .gdi-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; animation: tech-blink 1.8s infinite;
}

/* ---- 标签页（方案B优化：纯文字，无线条） ---- */
body.tech-theme .gis-device-info .nav-tabs {
  display: flex !important; align-items: stretch;
  padding: 0 24px !important;
  border: none !important; border-bottom: 1px solid transparent !important; border-width: 0 !important;
  outline: none !important;
  box-shadow: none !important; background: transparent !important;
  position: relative; gap: 0;
}
/* 彻底去掉基线、滑条、所有伪元素 */
body.tech-theme .gis-device-info .nav-tabs::before,
body.tech-theme .gis-device-info .nav-tabs::after {
  display: none !important; content: none !important;
  border: none !important; background: none !important;
}
body.tech-theme .gis-device-info .uib-tab {
  width: auto !important; flex: 1 1 0%;
  margin: 0 !important; text-align: center;
  border: none !important; background: transparent !important;
  cursor: pointer;
}
body.tech-theme .gis-device-info .uib-tab a {
  display: block !important; width: 100% !important; height: 100% !important;
  height: auto !important; line-height: inherit !important;
  padding: 12px 8px 10px !important;
  border-radius: 0 !important; border: none !important; border-width: 0 !important;
  border-bottom: none !important; border-top: none !important;
  font-size: 13px !important; font-weight: 500;
  color: var(--tt-text-muted) !important;
  opacity: .72;
  transition: color .25s ease, opacity .25s ease !important;
  position: relative; text-align: center;
  text-decoration: none !important;
  background: transparent !important; outline: none !important;
}
/* 去掉每项下划线 + 原始 gis-device-info.css 滑动指示器 ::after */
body.tech-theme .gis-device-info .uib-tab a::after,
body.tech-theme .gis-device-info .uib-tab::after,
body.tech-theme .gis-device-info .uib-tab.active::after,
body.tech-theme .gis-device-info .uib-tab.active ~ .uib-tab::after {
  display: none !important; content: none !important;
  border: none !important; background: none !important;
  width: 0 !important; height: 0 !important;
}
body.tech-theme .gis-device-info .uib-tab a:hover {
  color: var(--tt-cyan) !important;
  background: transparent !important;
}
body.tech-theme .gis-device-info .uib-tab.active a {
  color: var(--tt-cyan) !important; font-weight: 600; opacity: 1;
  background: transparent !important;
  border: none !important; border-bottom: none !important;
  border-left: none !important; border-top: none !important; border-right: none !important;
  box-shadow: none !important; outline: none !important;
}
/* 覆盖原 gis-device-info.css 的 active 颜色 */
body.tech-theme .gis-device-info .uib-tab.active {
  color: var(--tt-cyan) !important;
  border: none !important; border-left: none !important; border-top: none !important;
  box-shadow: none !important; outline: none !important;
}
/* 防止任何多余伪元素 */
body.tech-theme .gis-device-info .uib-tab::before,
body.tech-theme .gis-device-info .tab-content::before,
body.tech-theme .gis-device-info .tab-content::after,
body.tech-theme .gis-device-info .panel-body::before,
body.tech-theme .gis-device-info .panel-body::after {
  display: none !important; content: none !important;
  border: none !important;
}
/* 覆盖通用 .nav-tabs 激活标签的蓝色横线（::after底部条 + ::before顶部条） */
body.tech-theme .gis-device-info .nav-tabs > li.active > a::after,
body.tech-theme .gis-device-info .nav-tabs > li.active > a::before {
  display: none !important; content: none !important;
  background: none !important; border: none !important;
  box-shadow: none !important; width: 0 !important; height: 0 !important;
}

/* 隐藏左侧 > 符号（Angular ng-scope 游离文本节点） */
body.tech-theme .gis-device-info .tab-pane > span.ng-scope:only-child,
body.tech-theme .gis-device-info .tab-pane > span.ng-scope:first-child {
  display: none !important;
}

/* ---- Tab 内容区 ---- */
body.tech-theme .gis-device-info .tab-content {
  flex: 1; overflow-y: auto; padding: 16px 20px 24px;
}
body.tech-theme .gis-device-info .panel-body {
  padding: 0 !important;
}

/* ---- 信息卡片行 ---- */
body.tech-theme .gdi-detail-list { display: flex; flex-direction: column; gap: 0; }
body.tech-theme .gdi-detail-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 9px 16px;
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(14,159,216,.06);
  transition: all .2s;
  border-radius: 0;
}
body.tech-theme .gdi-detail-row:last-child { border-bottom: none; border-radius: 0 0 10px 10px; }
body.tech-theme .gdi-detail-row:first-of-type { border-radius: 10px 10px 0 0; }
body.tech-theme .gdi-detail-row:hover {
  background: rgba(14,159,216,.05);
  padding-left: 20px;
}
/* 左侧图标区 */
body.tech-theme .gdi-ico-wrap {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(14,159,216,.10), rgba(11,191,166,.08));
  color: var(--tt-cyan);
}
body.tech-theme .gdi-ico-wrap i { font-size: 14px; }
/* 标签 */
body.tech-theme .gdi-label {
  font-size: 12px !important; color: #5a6b7c; font-weight: 500;
  min-width: 80px; flex-shrink: 0; padding-top: 4px;
}
/* 值 */
body.tech-theme .gdi-value {
  font-size: 12.5px !important; font-weight: 600; color: #3a4a5a;
  padding-top: 4px; line-height: 1.45; word-break: break-all;
}

/* ---- 运维记录卡片 ---- */
body.tech-theme .gdi-work-card {
  margin-top: 16px;
  background: rgba(255,255,255,.80);
  border: 1px solid var(--tt-border-soft);
  border-radius: var(--tt-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
body.tech-theme .gdi-work-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(14,159,216,.05), rgba(11,191,166,.04));
  border-bottom: 1px solid var(--tt-border-soft);
  font-size: 13px; font-weight: 700; color: var(--tt-deep);
}
body.tech-theme .gdi-work-head i { color: var(--tt-cyan); }
body.tech-theme .gdi-work-body { padding: 14px 16px; }
body.tech-theme .gdi-work-field {
  display: flex; margin-bottom: 8px; font-size: 12.5px; line-height: 1.6;
}
body.tech-theme .gdi-work-flabel {
  color: var(--tt-text-muted); font-weight: 600; min-width: 70px; flex-shrink: 0;
}
body.tech-theme .gdi-work-fvalue { color: var(--tt-deep); word-break: break-all; }
body.tech-theme .gdi-work-more {
  display: inline-block; margin-top: 10px;
  padding: 5px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--tt-cyan);
  border: 1px solid var(--tt-cyan); cursor: pointer;
  transition: all .2s;
}
body.tech-theme .gdi-work-more:hover {
  background: var(--tt-cyan); color: #fff;
}

/* ---- 设备问题告警条 ---- */
body.tech-theme .gdi-alert-bar {
  margin-top: 14px; padding: 14px 16px;
  border-radius: var(--tt-radius);
  font-size: 12.5px; line-height: 1.65;
  border-left: 3px solid;
  background: rgba(255,255,255,.75);
}
body.tech-theme .gdi-alert-warn {
  border-color: #f0b432; color: #8a6d20;
  background: rgba(240,180,50,.06);
}
body.tech-theme .gdi-alert-danger {
  border-color: #dc5046; color: #a33a32;
  background: rgba(220,80,70,.05);
}

/* 隐藏原始widget样式 */
body.tech-theme .gis-device-info .widget.white-bg {
  background: transparent !important;
  box-shadow: none !important; border: none !important; margin-bottom: 0 !important;
  border-radius: 0 !important;
}
body.tech-theme .gis-device-info .col-sm-8.m-b-lg,
body.tech-theme .gis-device-info .col-sm-4.no-padding {
  padding: 0 !important;
}

/* 响应式 */
@media (max-width: 1200px) {
  body.tech-theme .gdi-label { min-width: 68px; font-size: 11px; }
  body.tech-theme .gdi-value { font-size: 11.5px; }
}

/* ============ 7. 按钮（渐变主钮 + 描边次钮） ============ */
body.tech-theme .btn { border-radius: 4px !important; font-weight: 500; transition: all .2s; }
body.tech-theme .btn-primary,
body.tech-theme .btn.btn-primary {
  background: linear-gradient(135deg, var(--tt-cyan), var(--tt-teal)) !important;
  border: none !important; color: #fff !important;
  box-shadow: 0 3px 10px rgba(14, 159, 216, .28);
}
body.tech-theme .btn-primary:hover {
  background: linear-gradient(135deg, #1cb0e6, #14d1b4) !important;
  color: #fff !important;
  box-shadow: 0 5px 16px rgba(14, 159, 216, .4) !important;
}
body.tech-theme .btn-default,
body.tech-theme .btn-outline {
  background: #fff !important;
  border: 1px solid var(--tt-border) !important;
  color: var(--tt-text) !important;
}
body.tech-theme .btn-default:hover,
body.tech-theme .btn-outline:hover {
  border-color: var(--tt-cyan) !important;
  color: var(--tt-cyan) !important;
  background: rgba(14, 159, 216, .05) !important;
}
body.tech-theme .btn-danger {
  background: linear-gradient(135deg, #f26d70, var(--tt-red)) !important;
  border: none !important; color: #fff !important;
}
body.tech-theme .btn-success {
  background: linear-gradient(135deg, var(--tt-teal), #0ea590) !important;
  border: none !important; color: #fff !important;
}
body.tech-theme .btn-warning {
  background: linear-gradient(135deg, #f1ba4a, var(--tt-yellow)) !important;
  border: none !important; color: #fff !important;
}
body.tech-theme .btn-info {
  background: linear-gradient(135deg, var(--tt-blue), var(--tt-cyan)) !important;
  border: none !important; color: #fff !important;
}
body.tech-theme .btn-link { color: var(--tt-cyan) !important; }

/* ============ 8. 表单 ============ */
body.tech-theme .form-control {
  border: 1px solid var(--tt-border-soft) !important;
  border-radius: 4px !important;
  color: var(--tt-text) !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: border-color .2s, box-shadow .2s;
}
body.tech-theme .form-control:focus {
  border-color: var(--tt-cyan) !important;
  box-shadow: 0 0 0 2px rgba(14, 159, 216, .12) !important;
}
body.tech-theme .form-control::placeholder { color: #8a97a8; }
body.tech-theme .input-group-addon {
  background: rgba(14, 159, 216, .07) !important;
  border: 1px solid var(--tt-border-soft) !important;
  color: var(--tt-deep) !important;
}
body.tech-theme label { color: var(--tt-deep); font-weight: 500; }
body.tech-theme .search-btn { letter-spacing: 1px; }

/* ============ 9. 页内标签页 .nav-tabs ============ */
body.tech-theme .nav-tabs { border-bottom: 1px solid var(--tt-border-soft) !important; }
body.tech-theme .nav-tabs > li > a {
  color: var(--tt-muted) !important; border: none !important;
  padding: 10px 18px; font-weight: 500; transition: color .2s;
}
body.tech-theme .nav-tabs > li > a:hover {
  color: var(--tt-cyan) !important; background: transparent !important;
}
body.tech-theme .nav-tabs > li.active > a,
body.tech-theme .nav-tabs > li.active > a:focus,
body.tech-theme .nav-tabs > li.active > a:hover {
  color: var(--tt-cyan) !important; font-weight: 600;
  border: none !important; background: transparent !important;
  position: relative;
}
body.tech-theme .nav-tabs > li.active > a::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px;
  background: linear-gradient(90deg, var(--tt-cyan), var(--tt-teal));
  border-radius: 2px;
  box-shadow: 0 0 6px var(--tt-cyan);
}
/* 标签页内层（基础信息/实时数据/历史数据 等）增强 */
body.tech-theme .nav-tabs > li.active > a::before {
  content: ""; position: absolute; left: 50%; top: 4px; transform: translateX(-50%);
  width: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--tt-cyan), var(--tt-teal));
}

/* ============ 9.5 内容页标题 + SYSTEM ONLINE（效果图基准） ============ */
body.tech-theme h1, body.tech-theme h2, body.tech-theme h3,
body.tech-theme .ng-binding.ng-scope {
  /* 不影响所有标题，仅基础 */
}
/* 内容区常见面包屑 / 页面标题样式：cyan 左条 */
body.tech-theme .breadcrumb,
body.tech-theme .page-header,
body.tech-theme .content-head {
  margin: 0 0 16px !important;
  padding: 0 0 0 14px !important;
  position: relative;
  display: flex; align-items: center; gap: 12px;
}
body.tech-theme .breadcrumb::before,
body.tech-theme .page-header::before,
body.tech-theme .content-head::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, var(--tt-cyan), var(--tt-teal));
  box-shadow: 0 0 8px var(--tt-cyan);
}
body.tech-theme .breadcrumb,
body.tech-theme .page-header {
  background: transparent !important;
  border: none !important;
  font-size: 16px; font-weight: 600;
  color: var(--tt-deep) !important;
  letter-spacing: 1px;
}
body.tech-theme .breadcrumb a,
body.tech-theme .breadcrumb span { color: var(--tt-deep) !important; }
body.tech-theme .breadcrumb .active,
body.tech-theme .breadcrumb > :last-child { color: var(--tt-cyan) !important; font-weight: 600; }

/* SYSTEM ONLINE 脉冲（顶栏 + 内容区右上都可用） */
body.tech-theme .tech-sys-online,
body.tech-theme .sys-online {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Consolas", monospace;
  font-size: 10px; font-weight: 600;
  color: var(--tt-teal); letter-spacing: 1.5px;
  border: 1px solid rgba(11, 191, 166, .35);
  border-radius: 20px;
  padding: 4px 10px;
  background: rgba(11, 191, 166, .07);
  text-transform: uppercase;
}
body.tech-theme .tech-sys-online::before,
body.tech-theme .sys-online::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--tt-teal);
  box-shadow: 0 0 6px var(--tt-teal);
  animation: tech-blink 1.6s infinite;
}

/* ============ 9.6 表单玻璃化（设备详情/编辑页通用） ============ */
body.tech-theme .form-group { margin-bottom: 12px !important; }
body.tech-theme .form-group .row,
body.tech-theme form .row { margin-left: 0; margin-right: 0; }
/* 表单行的"label | value"展示样式（在设备详情里常见） */
body.tech-theme .form-group label,
body.tech-theme .control-label {
  color: var(--tt-deep) !important;
  font-weight: 500 !important;
  font-size: 13px;
}
body.tech-theme .form-group p.lead,
body.tech-theme .form-group p.form-control-static {
  color: var(--tt-text) !important;
  font-size: 13.5px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--tt-border-soft);
  border-radius: 4px;
  margin: 0;
  min-height: 34px;
  display: flex; align-items: center;
}
body.tech-theme .form-group p.lead b,
body.tech-theme .form-group p.form-control-static b { color: var(--tt-deep); font-weight: 600; }
/* 表单里的图标（i.fa）统一青色 */
body.tech-theme .form-group i.fa,
body.tech-theme form i.fa { color: var(--tt-cyan) !important; opacity: .8; margin-right: 4px; }

/* ============ 10. 弹窗（四角刻度 + 能量线） ============ */
body.tech-theme .modal-content {
  background: #fff !important;
  border: 1px solid var(--tt-border) !important;
  border-radius: var(--tt-radius) !important;
  box-shadow: 0 8px 30px rgba(18, 53, 94, .15) !important;
  position: relative;
}
body.tech-theme .modal-header {
  background: rgba(14, 159, 216, .04) !important;
  border-bottom: 1px solid var(--tt-border) !important;
  padding: 14px 18px;
  position: relative;
}
body.tech-theme .modal-title {
  color: var(--tt-deep) !important;
  font-weight: 600; letter-spacing: 1px;
}
body.tech-theme .modal-header .close { color: var(--tt-muted) !important; opacity: .8; text-shadow: none; }
body.tech-theme .modal-header .close:hover { color: var(--tt-red) !important; }
body.tech-theme .modal-body { padding: 18px; color: var(--tt-text); }
body.tech-theme .modal-footer {
  background: rgba(14, 159, 216, .03);
  border-top: 1px solid var(--tt-border-soft) !important;
  padding: 12px 18px;
}
body.tech-theme .modal-backdrop.in { background: var(--tt-cyan); opacity: .18 !important; }
/* 弹窗四角刻度 */
body.tech-theme .modal-content::before,
body.tech-theme .modal-content::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border-color: var(--tt-cyan); border-style: solid;
  opacity: .7; pointer-events: none; z-index: 1;
}
body.tech-theme .modal-content::before {
  top: -2px; left: -2px; border-width: 2px 0 0 2px; border-radius: 12px 0 0 0;
}
body.tech-theme .modal-content::after {
  top: -2px; right: -2px; border-width: 2px 2px 0 0; border-radius: 0 12px 0 0;
}

/* ============ 11. 状态标签 / 徽标 / 进度 ============ */
body.tech-theme .label,
body.tech-theme .badge { font-weight: 600; border-radius: 4px; }
body.tech-theme .label-success,
body.tech-theme .badge-success {
  background: rgba(11, 191, 166, .1) !important; color: var(--tt-green) !important;
  border: 1px solid rgba(11, 191, 166, .3);
}
body.tech-theme .label-warning,
body.tech-theme .badge-warning {
  background: rgba(217, 154, 6, .1) !important; color: var(--tt-yellow) !important;
  border: 1px solid rgba(217, 154, 6, .3);
}
body.tech-theme .label-info,
body.tech-theme .badge-info {
  background: rgba(47, 127, 224, .1) !important; color: var(--tt-blue) !important;
  border: 1px solid rgba(47, 127, 224, .3);
}
body.tech-theme .progress {
  background: rgba(14, 159, 216, .08) !important;
  border-radius: 6px; height: 8px;
}
body.tech-theme .progress-bar {
  background: linear-gradient(90deg, var(--tt-cyan), var(--tt-teal)) !important;
}

/* ============ 12. 提示条 / 工具色 ============ */
body.tech-theme .text-success { color: var(--tt-green) !important; }
body.tech-theme .text-danger { color: var(--tt-red) !important; }
body.tech-theme .text-warning { color: var(--tt-yellow) !important; }
body.tech-theme .text-info { color: var(--tt-blue) !important; }
body.tech-theme .text-navy,
body.tech-theme .text-primary { color: var(--tt-cyan) !important; }
body.tech-theme .text-muted { color: var(--tt-muted) !important; }
body.tech-theme .alert-success {
  background: rgba(11, 191, 166, .1) !important;
  border-color: rgba(11, 191, 166, .3) !important; color: #0b8f7c !important;
}
body.tech-theme .alert-info {
  background: rgba(14, 159, 216, .08) !important;
  border-color: rgba(14, 159, 216, .3) !important; color: var(--tt-cyan) !important;
}
body.tech-theme .alert-warning {
  background: rgba(217, 154, 6, .1) !important;
  border-color: rgba(217, 154, 6, .3) !important; color: #a97a04 !important;
}
body.tech-theme .alert-danger {
  background: rgba(229, 72, 77, .1) !important;
  border-color: rgba(229, 72, 77, .3) !important; color: #c0383d !important;
}
body.tech-theme .hr-line-dashed,
body.tech-theme .hr-line-solid {
  border-top: 1px dashed var(--tt-border-soft) !important;
}

/* ============ 13. 滚动条 ============ */
body.tech-theme ::-webkit-scrollbar { width: 6px; height: 6px; }
body.tech-theme ::-webkit-scrollbar-thumb {
  background: rgba(14, 159, 216, .3); border-radius: 3px;
}
body.tech-theme ::-webkit-scrollbar-thumb:hover { background: rgba(14, 159, 216, .5); }
body.tech-theme ::-webkit-scrollbar-track { background: rgba(14, 159, 216, .05); }

/* ============ 14. 页脚（38px，玻璃，匹配效果图） ============ */
body.tech-theme .footer {
  background: rgba(255, 255, 255, .78) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--tt-border) !important;
  color: var(--tt-deep) !important;
  font-size: 11.5px; font-weight: 500;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 24px !important;
  display: flex !important; align-items: center; justify-content: space-between;
  letter-spacing: .5px;
}
body.tech-theme .footer .pull-right,
body.tech-theme .footer div:last-child { color: var(--tt-deep) !important; }
body.tech-theme .footer strong { color: var(--tt-deep) !important; font-weight: 600; }
body.tech-theme .footer-include { display: block; height: 38px; }

/* ============ 14.5 右下角悬浮操作按钮（效果图基准） ============ */
/* #small-chat / .top_index / .open-small-chat 已在 topnavbar.html 内 */
body.tech-theme .top_index {
  position: fixed; right: 14px; bottom: 60px; z-index: 1300;
}
/* 悬浮操作按钮组（垂直排列的玻璃圆钮） */
body.tech-theme .tech-float-actions {
  position: fixed; right: 14px; bottom: 110px; z-index: 1299;
  display: flex; flex-direction: column; gap: 8px;
  align-items: center;
}
body.tech-theme .tech-fab {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, .92) !important;
  border: 1px solid var(--tt-border) !important;
  color: var(--tt-deep) !important;
  box-shadow: 0 2px 10px rgba(14, 159, 216, .15);
  cursor: pointer;
  transition: all .2s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
body.tech-theme .tech-fab:hover {
  background: linear-gradient(135deg, var(--tt-cyan), var(--tt-teal)) !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 16px rgba(14, 159, 216, .4);
}
body.tech-theme .tech-fab .fa { font-size: 14px; }
body.tech-theme #small-chat {
  box-shadow: 0 4px 16px rgba(14, 159, 216, .25);
  position: relative;
  background: linear-gradient(135deg, var(--tt-cyan), var(--tt-teal)) !important;
  border-radius: 50% !important;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, .8) !important;
  transition: all .2s;
}
body.tech-theme #small-chat:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 22px rgba(14, 159, 216, .4);
}
body.tech-theme #small-chat .badge {
  background: var(--tt-red) !important; color: #fff !important;
  box-shadow: 0 0 6px rgba(229, 72, 77, .5);
}
body.tech-theme .open-small-chat { background: transparent !important; color: #fff !important; }

/* ============ 14.6 右侧告警图标条（效果图右上角小图标） ============ */
body.tech-theme .navbar-warning-dropdown .header-btn .fa,
body.tech-theme .count-info .fa { font-size: 16px; }

/* ============ 15. 业务页覆盖（设备卡片/树/面板） ============ */
body.tech-theme .gis-data-default,
body.tech-theme .gis-clean-machine,
body.tech-theme .gis-gas-detect {
  background: #fff !important;
  border: 1px solid var(--tt-border-soft);
  border-radius: var(--tt-radius);
  box-shadow: 0 6px 22px rgba(18, 53, 94, .08);
}
/* 设备卡片 widget */
body.tech-theme .widget.white-bg {
  background: #fff !important;
  border: 1px solid var(--tt-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 22px rgba(18, 53, 94, .08) !important;
  position: relative; overflow: hidden;
  transition: all .22s;
}
/* 卡片顶部能量线 */
body.tech-theme .widget.white-bg::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--tt-cyan), var(--tt-teal) 60%, transparent);
  z-index: 1;
}
body.tech-theme .widget.white-bg:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 159, 216, .5);
  box-shadow: 0 10px 24px rgba(14, 159, 216, .16) !important;
}
body.tech-theme .widget.white-bg .widget-heading,
body.tech-theme .widget.white-bg .widget-title {
  background: linear-gradient(180deg, rgba(14, 159, 216, .08), transparent) !important;
  border-bottom: 1px solid var(--tt-border-soft) !important;
  color: var(--tt-deep) !important; font-weight: 600;
}
body.tech-theme .widget.white-bg .widget-content { color: var(--tt-text); }
body.tech-theme .widget.white-bg .font-bold { color: var(--tt-deep); font-weight: 600; }
body.tech-theme .widget.white-bg .text-navy { color: var(--tt-cyan) !important; }

/* ====== 实时数据卡片内部（图标方块 + 标签/值竖向） ====== */
body.tech-theme .gis-data-default .widget.white-bg {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  position: relative;
  background: #fff !important;
  border: 1px solid rgba(14,159,216,.16) !important;
  border-radius: 10px !important;
  box-shadow: 0 1px 3px rgba(11,22,38,.05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
/* 左侧竖线去掉 */
body.tech-theme .gis-data-default .widget.white-bg::before {
  display: none !important;
}
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, rgba(14,159,216,.12), rgba(11,191,166,.12));
  display: flex; align-items: center; justify-content: center;
}
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa { color: var(--tt-cyan); font-size: 14px; }
/* 图标按数据类型分色（科技主题下更易识别） */
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-flash,
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-bolt { color: #0e9fd8; }
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-tachometer,
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-arrows-h,
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-arrows-v,
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-tint { color: #0bbfa6; }
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-thermometer-half,
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-line-chart { color: #f5a623; }
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-play-circle,
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-toggle-on,
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-wifi { color: #22c55e; }
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-info-circle,
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-rss { color: #7a8793; }
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-bell,
body.tech-theme .gis-data-default .widget.white-bg .gdc-icon .fa-exclamation-triangle { color: #e5484d; }
body.tech-theme .gis-data-default .widget.white-bg .gdc-body {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; gap: 8px;
}
body.tech-theme .gis-data-default .widget.white-bg .gdc-label {
  font-size: 12.5px; color: var(--tt-text-muted); font-weight: 500; line-height: 1.35;
}
body.tech-theme .gis-data-default .widget.white-bg .gdc-value {
  font-size: 13.5px; font-weight: 700; color: var(--tt-deep); line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
body.tech-theme .gis-data-default .widget.white-bg .gdc-unit {
  font-size: 11px; font-weight: 500; color: var(--tt-text-muted);
  margin-left: 3px;
}
/* 开关/按钮型值在卡片内垂直居中 */
body.tech-theme .gis-data-default .widget.white-bg .gdc-value .switch-style { margin: 2px 0; }
/* 异常色：警告(1)→浅amber，异常(2)→浅red */
body.tech-theme .gis-data-default .widget.white-bg.col-1::before { display: none !important; }
body.tech-theme .gis-data-default .widget.white-bg.col-1 .gdc-icon { background: linear-gradient(135deg, rgba(245,166,35,.12), rgba(255,193,94,.12)); }
body.tech-theme .gis-data-default .widget.white-bg.col-1 .gdc-icon .fa { color: #f5a623; }
body.tech-theme .gis-data-default .widget.white-bg.col-2::before { display: none !important; }
body.tech-theme .gis-data-default .widget.white-bg.col-2 .gdc-icon { background: linear-gradient(135deg, rgba(229,72,77,.10), rgba(255,122,127,.10)); }
body.tech-theme .gis-data-default .widget.white-bg.col-2 .gdc-icon .fa { color: #e5484d; }
/* 卡片 hover：边框加深 + 极浅底色 + 轻微上浮 */
body.tech-theme .gis-data-default .widget.white-bg:hover {
  border-color: rgba(14,159,216,.34) !important;
  background: rgba(14,159,216,.035) !important;
  box-shadow: 0 4px 14px rgba(14,159,216,.14);
  transform: translateY(-1px);
}
/* hover 时左侧出现 3px 青色竖条，增强交互反馈 */
body.tech-theme .gis-data-default .widget.white-bg { position: relative; }
body.tech-theme .gis-data-default .widget.white-bg::after {
  content: '';
  position: absolute; left: 0; top: 12%; bottom: 12%;
  width: 3px; border-radius: 2px;
  background: var(--tt-cyan);
  opacity: 0; transform: scaleY(.6);
  transition: opacity .2s ease, transform .2s ease;
}
body.tech-theme .gis-data-default .widget.white-bg:hover::after {
  opacity: 1; transform: scaleY(1);
}
/* 异常色卡片：边框同步用对应色，便于一眼区分状态 */
body.tech-theme .gis-data-default .widget.white-bg.col-1 {
  border-color: rgba(245,166,35,.30) !important;
}
body.tech-theme .gis-data-default .widget.white-bg.col-1:hover {
  border-color: rgba(245,166,35,.55) !important;
  background: rgba(245,166,35,.05) !important;
  box-shadow: 0 4px 14px rgba(245,166,35,.16);
}
body.tech-theme .gis-data-default .widget.white-bg.col-2 {
  border-color: rgba(229,72,77,.34) !important;
}
body.tech-theme .gis-data-default .widget.white-bg.col-2:hover {
  border-color: rgba(229,72,77,.60) !important;
  background: rgba(229,72,77,.05) !important;
  box-shadow: 0 4px 14px rgba(229,72,77,.18);
}

/* 区域树 */
body.tech-theme .regionTree,
body.tech-theme .device-tree,
body.tech-theme .treeview {
  background: #fff !important;
  border: 1px solid var(--tt-border-soft);
  border-radius: 10px; padding: 8px;
}
body.tech-theme .treeview li,
body.tech-theme .regionTree li {
  list-style: none; padding: 4px 8px; border-radius: 6px;
  font-size: 13px; font-weight: 500; transition: all .18s;
}
body.tech-theme .treeview li:hover,
body.tech-theme .regionTree li:hover {
  background: rgba(14, 159, 216, .07); color: var(--tt-cyan);
}
body.tech-theme .treeview li.active,
body.tech-theme .regionTree li.active {
  background: rgba(14, 159, 216, .10); color: var(--tt-cyan);
  font-weight: 600; border-left: 2px solid var(--tt-cyan);
  box-shadow: inset 0 0 14px rgba(14, 159, 216, .06);
}
body.tech-theme .treeview a,
body.tech-theme .regionTree a { color: var(--tt-text); }
body.tech-theme .treeview a:hover,
body.tech-theme .regionTree a:hover { color: var(--tt-cyan); text-decoration: none; }

/* ============ 设备树（deviceGIS 左栏）16.54ver ============ */
/* 仅限左侧树列（带 no-padding 的第一个 col-md-4），避免影响右侧卡片栅格 */
body.tech-theme .device-gis-page .ibox-content > .col-md-4:first-child {
  background: #fff;
  border-right: 1px solid rgba(14,159,216,.22);
  padding: 0;
}
/* 搜索栏 */
body.tech-theme .device-gis-page .p-xs.border-bottom {
  height: auto !important;
  padding: 12px 14px !important;
  border-bottom: none !important;
  background: #fff;
}
body.tech-theme .device-gis-page .input-group { width: 100%; }
body.tech-theme .device-gis-page .input-group .form-control {
  border: 1px solid #c8d9ea !important;
  border-right: none !important;
  border-radius: 9px 0 0 9px !important;
  font-size: 13px; height: 38px; box-shadow: none;
  background: #fafbfc;
}
body.tech-theme .device-gis-page .input-group .form-control:focus {
  border-color: var(--tt-cyan) !important; background: #fff;
}
body.tech-theme .device-gis-page .input-group-btn .btn {
  height: 38px; border-radius: 0 9px 9px 0 !important;
  background: linear-gradient(135deg,#0e9fd8,#0bbfa6) !important;
  border: 1px solid transparent !important; color: #fff !important;
  box-shadow: 0 2px 8px rgba(14,159,216,.22);
}
body.tech-theme .device-gis-page .input-group-btn .btn:hover { filter: brightness(1.05); }
/* 树容器 */
body.tech-theme .device-gis-page #treeScroll.zTreeDemoBackground {
  background: #fff; border: none; padding: 6px 4px;
  max-height: calc(100vh - 210px); overflow-y: auto;
}
body.tech-theme .device-gis-page #deviceZtree.ztree { background: transparent; }
/* 节点行 + 展开/折叠图标替换为 cyan 三角 */
body.tech-theme .device-gis-page #deviceZtree li { padding: 1px 0; }
body.tech-theme .device-gis-page #deviceZtree li span.button.switch {
  background: none !important;
  width: 16px; height: 16px; line-height: 16px;
  font-family: 'FontAwesome' !important; font-size: 12px; color: var(--tt-cyan);
  float: left; margin: 5px 2px 0 2px; position: relative;
  /* 覆盖 metroStyle 的 rotate(45deg/-45deg)，避免展开/收起时箭头旋转错位 */
  transform: none !important;
}
body.tech-theme .device-gis-page #deviceZtree li span.button.switch::after {
  content: none !important;
  display: none !important;
}
body.tech-theme .device-gis-page #deviceZtree li span.button.switch::before {
  content: '\f105';
  position: absolute; left: 0; top: 0;
}
body.tech-theme .device-gis-page #deviceZtree li span.button.switch.roots_open::before,
body.tech-theme .device-gis-page #deviceZtree li span.button.switch.root_open::before,
body.tech-theme .device-gis-page #deviceZtree li span.button.switch.center_open::before,
body.tech-theme .device-gis-page #deviceZtree li span.button.switch.bottom_open::before,
body.tech-theme .device-gis-page #deviceZtree li span.button.switch.noline_open::before {
  content: '\f107';
}
/* 节点文字 */
body.tech-theme .device-gis-page #deviceZtree li a {
  display: block; margin-left: 22px; padding: 5px 10px; border-radius: 8px;
  font-size: 13px; color: #1e2a36; font-weight: 500; transition: all .18s;
  border-left: 3px solid transparent; opacity: 1 !important; height: auto !important;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.tech-theme .device-gis-page #deviceZtree li a:hover {
  background: rgba(14,159,216,.07); color: var(--tt-cyan); text-decoration: none;
}
body.tech-theme .device-gis-page #deviceZtree li a.curSelectedNode {
  background: linear-gradient(90deg, rgba(14,159,216,.16), rgba(14,159,216,.07)) !important;
  color: #0b78a8 !important; font-weight: 600;
  border-left: 3px solid var(--tt-cyan) !important;
  box-shadow: inset 0 0 14px rgba(14,159,216,.08);
  opacity: 1 !important; height: auto !important;
}
/* 节点图标淡化，避免抢色 */
body.tech-theme .device-gis-page #deviceZtree li a .button.ico_open,
body.tech-theme .device-gis-page #deviceZtree li a .button.ico_close,
body.tech-theme .device-gis-page #deviceZtree li a .button.ico_docu {
  opacity: .5;
}

/* 地图容器 */
body.tech-theme .gis-map,
body.tech-theme .map-container,
body.tech-theme #mapContainer {
  border-radius: var(--tt-radius) !important;
  border: 1px solid var(--tt-border-soft);
  box-shadow: inset 0 0 30px rgba(14, 159, 216, .05);
}

/* ============ 16. 右下角告警 Toast（按级别分色） ============ */
body.tech-theme .alarm-toast-item {
  background: #fff !important;
  border: 1px solid var(--tt-border-soft) !important;
  border-left: 4px solid var(--tt-border) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 28px rgba(14, 159, 216, .12) !important;
  padding: 14px 16px !important;
  color: var(--tt-deep) !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
}
/* 其它通用 toast 保持原玻璃白底 */
body.tech-theme .toast:not(.alarm-toast-item) {
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid var(--tt-border) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 28px rgba(14, 159, 216, .18) !important;
  color: var(--tt-deep) !important;
  backdrop-filter: blur(8px);
}
body.tech-theme .alarm-toast-item .toast-title {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--tt-deep) !important;
  margin-bottom: 4px !important;
}
body.tech-theme .alarm-toast-item .toast-message {
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: var(--tt-text) !important;
}
body.tech-theme .alarm-toast-item .toast-close-button { color: inherit !important; opacity: .55 !important; }
/* warning */
body.tech-theme .alarm-toast-item.toast-warning {
  background: #FAEEDA !important; border-color: #EF9F27 !important; border-left-color: #854F0B !important;
}
body.tech-theme .alarm-toast-item.toast-warning .toast-title { color: #633806 !important; }
body.tech-theme .alarm-toast-item.toast-warning .toast-message { color: #854F0B !important; }
/* error / danger */
body.tech-theme .alarm-toast-item.toast-error,
body.tech-theme .alarm-toast-item.toast-danger {
  background: #FCEBEB !important; border-color: #F09595 !important; border-left-color: #A32D2D !important;
}
body.tech-theme .alarm-toast-item.toast-error .toast-title,
body.tech-theme .alarm-toast-item.toast-danger .toast-title { color: #501313 !important; }
body.tech-theme .alarm-toast-item.toast-error .toast-message,
body.tech-theme .alarm-toast-item.toast-danger .toast-message { color: #A32D2D !important; }
/* success */
body.tech-theme .alarm-toast-item.toast-success {
  background: #EAF3DE !important; border-color: #97C459 !important; border-left-color: #3B6D11 !important;
}
body.tech-theme .alarm-toast-item.toast-success .toast-title { color: #27500A !important; }
body.tech-theme .alarm-toast-item.toast-success .toast-message { color: #3B6D11 !important; }
/* info */
body.tech-theme .alarm-toast-item.toast-info {
  background: #E6F1FB !important; border-color: #85B7EB !important; border-left-color: #185FA5 !important;
}
body.tech-theme .alarm-toast-item.toast-info .toast-title { color: #0C447C !important; }
body.tech-theme .alarm-toast-item.toast-info .toast-message { color: #185FA5 !important; }
/* 顶栏 fixed 化后，把告警 toast 列表下移到顶栏下方 */
body.tech-theme .alarm-toast-list { top: 100px !important; }

/* ============ 17. 分页 ============ */
body.tech-theme .pagination > li > a,
body.tech-theme .pagination > li > span {
  color: var(--tt-text);
  border: 1px solid var(--tt-border-soft);
  background: #fff;
  transition: all .15s;
}
body.tech-theme .pagination > li > a:hover {
  color: var(--tt-cyan); border-color: var(--tt-cyan);
  background: rgba(14, 159, 216, .05);
}
body.tech-theme .pagination > .active > a,
body.tech-theme .pagination > .active > a:focus,
body.tech-theme .pagination > .active > a:hover,
body.tech-theme .pagination > .active > span,
body.tech-theme .pagination > .active > span:hover {
  background: linear-gradient(135deg, var(--tt-cyan), var(--tt-teal)) !important;
  border-color: transparent !important; color: #fff !important;
}

/* ===== 17. 全局修复：搜索栏 / 下拉框展开被遮挡 =====
   根因：.ecif-search 搜索栏容器默认会裁剪 ui-select 展开的下拉列表，
   且 ui-select 展开态 z-index 不足会被后续卡片/表格覆盖。
   以下规则一次覆盖所有含 .ecif-search 或 ui-select 的页面。 */
body.tech-theme .ecif-search,
body.tech-theme .ecif-search .ibox-content,
body.tech-theme .ecif-search > .ibox {
  overflow: visible !important;
}
/* ui-select 展开态提升到最高层，避免被后续内容覆盖 */
body.tech-theme .ui-select-container.ui-select-open,
body.tech-theme .ui-select-container.open {
  z-index: 1150 !important;
}
body.tech-theme .ui-select-bootstrap > .ui-select-choices,
body.tech-theme .ui-select-bootstrap > .ui-select-no-choice {
  z-index: 1150 !important;
  position: absolute !important;
}

/* ===== 18. 全局修复：uib-dropdown 菜单被遮挡（overflow / toast-container / 视口超出）
   根因(已确认):
     1. INSPINIA .ibox overflow:hidden → 已用 visible 解除
     2. #toast-container z-index:999999 → 下拉菜单 z-index 必须高于此值
     3. 下拉从表格底部(最后一行)展开，10 项菜单高约 423px，超出 900px 视口约 107px，
        底项"拷贝/删除"跑到屏幕外
   修复策略:
     - 产品配置+设备列表"操作"下拉均用 dropdown-append-to-body 挂到 <body> 下，彻底跳出容器裁剪/stacking
     - 选择器同时匹配两种形态:
       a) .open > .dropdown-menu（未 append-to-body，菜单在 .open 容器内）
       b) .dropdown-menu.dev-edit-menu（append-to-body 后菜单在 body 下，脱离 .open 祖先）
       → 都提 z-index:1000001（> toast的999999）
     - 【注意】UI Bootstrap 1.1.2 的 append-to-body 并不会自动向上翻转（旧注释有误），
       真正的向上翻转由 js/dropdown-flip.js（方案 B）在菜单打开时检测视口溢出后改写 top 实现
   失败尝试:
     - append-to-body="true"（属性名错误，UI Bootstrap 1.1.2 不认，应为 dropdown-append-to-body）
     - position:fixed 破坏定位（top/left变视口相对，菜单被推到视口外）
     - max-height:80vh + overflow-y:auto（用户不想要滚动条，已移除） */
body.tech-theme .open > .dropdown-menu:not(.ui-select-choices),
body.tech-theme .dropdown-menu.dev-edit-menu:not(.ui-select-choices) {
  z-index: 1000001 !important;
  max-height: none !important;
  overflow-y: visible !important;
}

/* bootstrap-select 下拉菜单（如报警联系人）在 modal 内需要限制高度+滚动，
   不能被上面那条 max-height:none 覆盖（否则 168 个选项撑出 7668px 导致定位跑飞）
   注意：只能选外层 div.dropdown-menu 容器，不能选内部 ul.dropdown-menu.inner
   （.inner 需要 position: static，设成 absolute 会脱离文档流导致高度塌陷选项消失）*/
body.tech-theme .modal .bootstrap-select > .dropdown-menu,
body.tech-theme .bootstrap-select > .dropdown-menu[role="listbox"] {
  max-height: 40vh !important;
  overflow-y: auto !important;
  top: 100% !important;  /* 强制向下展开，防止 dropup 算错位置 */
}
body.tech-theme .product-page .ibox { overflow: visible !important; }

/* ============ 细滚动条（设备树 + 设备详情区） ============ */
body.tech-theme #treeScroll.zTreeDemoBackground::-webkit-scrollbar,
body.tech-theme .gis-device-info::-webkit-scrollbar,
body.tech-theme .gis-device-info .panel-body::-webkit-scrollbar,
body.tech-theme .device-gis-page .ibox-content::-webkit-scrollbar {
  width: 6px; height: 6px;
}
body.tech-theme #treeScroll.zTreeDemoBackground::-webkit-scrollbar-track,
body.tech-theme .gis-device-info::-webkit-scrollbar-track,
body.tech-theme .gis-device-info .panel-body::-webkit-scrollbar-track,
body.tech-theme .device-gis-page .ibox-content::-webkit-scrollbar-track {
  background: transparent;
}
body.tech-theme #treeScroll.zTreeDemoBackground::-webkit-scrollbar-thumb,
body.tech-theme .gis-device-info::-webkit-scrollbar-thumb,
body.tech-theme .gis-device-info .panel-body::-webkit-scrollbar-thumb,
body.tech-theme .device-gis-page .ibox-content::-webkit-scrollbar-thumb {
  background: rgba(14,159,216,.28); border-radius: 6px;
}
body.tech-theme #treeScroll.zTreeDemoBackground::-webkit-scrollbar-thumb:hover,
body.tech-theme .gis-device-info::-webkit-scrollbar-thumb:hover,
body.tech-theme .gis-device-info .panel-body::-webkit-scrollbar-thumb:hover,
body.tech-theme .device-gis-page .ibox-content::-webkit-scrollbar-thumb:hover {
  background: rgba(14,159,216,.5);
}
