/* =========================================================
   安维通 SafeOps · 科技风设计变量（Tech Design Tokens）
   ========================================================= */
:root{
  /* ---------- 科技风主色系 ---------- */
  --tech-cyan:#00E5FF;          /* 霓虹青 主强调 */
  --tech-cyan-soft:rgba(0,229,255,.12);
  --tech-cyan-glow:rgba(0,229,255,.55);
  --tech-purple:#7C3AED;        /* 霓虹紫 */
  --tech-purple-soft:rgba(124,58,237,.12);
  --tech-pink:#FF3D71;          /* 霓虹粉 告警 */
  --tech-green:#00FF88;         /* 霓虹绿 正常 */
  --tech-amber:#FFB020;         /* 霓虹琥珀 警告 */
  --tech-red:#FF3D3D;           /* 霓虹红 紧急 */

  /* ---------- 背景层级 ---------- */
  --bg-0:#030812;               /* 最深 · 页面底 */
  --bg-1:#07111F;               /* 主背景 */
  --bg-2:#0A1628;               /* 卡片背景 */
  --bg-3:#112038;               /* 次级面板 */
  --bg-4:#1A2744;               /* hover / 高亮行 */

  /* ---------- 玻璃拟态 ---------- */
  --glass-bg:rgba(10,22,40,.62);
  --glass-bg-strong:rgba(17,32,56,.78);
  --glass-blur:18px;
  --glass-border:rgba(0,229,255,.18);
  --glass-border-strong:rgba(0,229,255,.38);

  /* ---------- 边框 ---------- */
  --border-subtle:rgba(143,163,199,.10);
  --border:rgba(59,77,120,.40);
  --border-bright:rgba(0,229,255,.35);

  /* ---------- 文字 ---------- */
  --text-primary:#E6EEF8;
  --text-secondary:#A9BBDA;
  --text-muted:#6B7FA4;
  --text-faint:#455472;

  /* ---------- 发光阴影 ---------- */
  --glow-cyan:0 0 24px rgba(0,229,255,.35);
  --glow-cyan-strong:0 0 48px rgba(0,229,255,.55);
  --glow-purple:0 0 24px rgba(124,58,237,.35);
  --glow-green:0 0 20px rgba(0,255,136,.30);
  --glow-pink:0 0 24px rgba(255,61,113,.35);

  /* ---------- 状态标签色 ---------- */
  --st-pending:#FFB020;
  --st-pending-bg:rgba(255,176,32,.12);
  --st-doing:#00E5FF;
  --st-doing-bg:rgba(0,229,255,.12);
  --st-done:#00FF88;
  --st-done-bg:rgba(0,255,136,.12);
  --st-warn:#FFB020;
  --st-warn-bg:rgba(255,176,32,.14);
  --st-danger:#FF3D3D;
  --st-danger-bg:rgba(255,61,61,.14);
  --st-muted:#8FA3C7;
  --st-muted-bg:rgba(143,163,199,.10);

  /* ---------- 几何切角 ---------- */
  --clip-tech:polygon(0 10px,10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px));
  --clip-tech-sm:polygon(0 6px,6px 0,calc(100% - 6px) 0,100% 6px,100% calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,0 calc(100% - 6px));

  /* ---------- 圆角 ---------- */
  --r-xs:4px;
  --r-sm:8px;
  --r-md:12px;
  --r-lg:16px;
  --r-xl:24px;

  /* ---------- 字体 ---------- */
  --font-tech:'Orbitron','Rajdhani',system-ui,sans-serif;
  --font-sans:'Rajdhani',system-ui,-apple-system,sans-serif;
  --font-mono:'JetBrains Mono','Fira Code',ui-monospace,monospace;

  /* ---------- 网格 ---------- */
  --grid-size:40px;
  --grid-line:rgba(0,229,255,.04);
}

/* =========================================================
   设备分类字典（与 mock-data.js 保持一致）
   ========================================================= */
:root{
  --cat-bolt:#FFB020;
  --cat-valve:#00E5FF;
  --cat-radar:#7C3AED;
  --cat-fire:#FF3D3D;
  --cat-plug:#00FF88;
}
