调整控制台顶部导航与绿色主题

This commit is contained in:
2026-10-21 13:08:16 +08:00
parent 587ae6f088
commit be3239026a
14 changed files with 408 additions and 279 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

+9 -3
View File
@@ -1,5 +1,5 @@
import React,{useCallback,useEffect,useMemo,useState} from 'react';
import {Radio,Activity,Send,MonitorPlay,ChartNoAxesColumn,Network,ChevronRight,RefreshCw,PanelLeftClose,Gauge,AlertCircle} from 'lucide-react';
import {Radio,Activity,Send,MonitorPlay,ChartNoAxesColumn,Network,ChevronRight,RefreshCw,Maximize,Minimize,AlertCircle} from 'lucide-react';
import {Status} from './ui';
import {realEquipment,collectionState,effectiveEquipment} from './data.mjs';
import {ReceivePage,SyncPage} from './ReceivePages';
@@ -18,9 +18,11 @@ const currentRoute=()=>PAGES.find(item=>item.id===location.hash.slice(1))?.id||'
export function App(){
const [pageId,setPageId]=useState(currentRoute),[snapshot,setSnapshot]=useState(emptySnapshot);
const [contextId,setContextId]=useState(''),[selectedId,setSelectedId]=useState('');
const [failed,setFailed]=useState(false),[loading,setLoading]=useState(true),[refreshKey,setRefreshKey]=useState(0),[collapsed,setCollapsed]=useState(false),[now,setNow]=useState(Date.now());
const [failed,setFailed]=useState(false),[loading,setLoading]=useState(true),[refreshKey,setRefreshKey]=useState(0),[fullscreen,setFullscreen]=useState(false),[now,setNow]=useState(Date.now());
useEffect(()=>{const handler=()=>{setPageId(currentRoute());window.scrollTo(0,0);};window.addEventListener('hashchange',handler);return()=>window.removeEventListener('hashchange',handler);},[]);
useEffect(()=>{const timer=setInterval(()=>setNow(Date.now()),1000);return()=>clearInterval(timer);},[]);
useEffect(()=>{const changed=()=>setFullscreen(Boolean(document.fullscreenElement));document.addEventListener('fullscreenchange',changed);return()=>document.removeEventListener('fullscreenchange',changed);},[]);
const toggleFullscreen=async()=>{try{if(document.fullscreenElement)await document.exitFullscreen();else await document.documentElement.requestFullscreen();}catch{}};
useEffect(()=>{let closed=false,timer,controller;
const poll=async()=>{controller=new AbortController();const timeout=setTimeout(()=>controller.abort(),6000);try{const response=await fetch('/console/api/snapshot',{signal:controller.signal,credentials:'same-origin',cache:'no-store',headers:{Accept:'application/json'}});if(!response.ok)throw new Error('snapshot');const body=await response.json();if(!body||!Array.isArray(body.collection?.contexts)||!Array.isArray(body.nodes))throw new Error('shape');if(!closed){setSnapshot(body);setFailed(false);}}catch{if(!closed)setFailed(true);}finally{clearTimeout(timeout);if(!closed){setLoading(false);timer=setTimeout(poll,2000);}}};poll();return()=>{closed=true;clearTimeout(timer);controller?.abort();};
},[refreshKey]);
@@ -34,5 +36,9 @@ export function App(){
const onSelect=useCallback(id=>setSelectedId(id),[]);
const props={equipments,selectedId:selected,onSelect};
const date=new Intl.DateTimeFormat('zh-CN',{timeZone:'Asia/Shanghai',year:'numeric',month:'2-digit',day:'2-digit',hour:'2-digit',minute:'2-digit',second:'2-digit',hour12:false}).format(new Date(now));
return <div className={`app ${collapsed?'nav-collapsed':''}`}><aside className="sidebar"><div className="brand"><img src="/console/assets/brand.svg" alt=""/><strong>系统融合软件</strong><button className="collapse-toggle" type="button" aria-label="切换侧栏" onClick={()=>setCollapsed(value=>!value)}><PanelLeftClose size={16}/></button></div><nav aria-label="功能导航">{PAGES.map(item=><a href={`#${item.id}`} className={`nav-link ${item.id===page.id?'active':''}`} key={item.id} title={item.name} aria-current={item.id===page.id?'page':undefined}><item.icon size={23} strokeWidth={1.6}/><span>{item.name}</span></a>)}</nav><div className="sidebar-foot"><Gauge size={22}/><span>运行监测</span></div></aside><div className="main-shell"><header className="topbar"><div className="breadcrumb"><span>系统融合软件</span><ChevronRight size={14}/><strong>{page.name}</strong></div><div className="service-state"><Status state={failed?'ERROR':loading?'WAITING':'CONNECTED'} label={failed?'服务连接中断':loading?'正在连接':'服务连接正常'}/><time>{date}</time></div></header><main><div className="page-heading"><div><h1>{page.name}</h1><p>{page.description}</p></div><div className="heading-actions">{contexts.length>0&&<label className="context-select"><span>试验</span><select aria-label="选择试验上下文" value={context?.id||''} onChange={event=>{setContextId(event.target.value);setSelectedId('');}}>{contexts.map(item=><option key={item.id} value={item.id}>{item.name||item.id}</option>)}</select></label>}<button className="refresh-button" type="button" onClick={()=>setRefreshKey(key=>key+1)} aria-label="刷新数据" title="刷新数据"><RefreshCw size={17}/><span>刷新</span></button></div></div>{(failed||state==='STALE')&&<div className="source-notice" role="status"><AlertCircle size={17}/>{failed?'服务暂时不可用,当前显示最后一次收到的数据。':'采集数据同步已超时,当前显示最后一次收到的数据。'}</div>}{page.id==='receive'&&<ReceivePage {...props}/ >}{page.id==='sync'&&<SyncPage {...props}/ >}{page.id==='virtual'&&<VirtualPage/>}{page.id==='video'&&<VideoPage {...props}/ >}{page.id==='metrics'&&<MetricsPage equipments={equipments}/ >}{page.id==='nodes'&&<NodesPage nodes={snapshot.nodes||[]}/ >}</main><footer className="app-footer"><span>系统融合软件</span><span>{state==='WAITING'?'等待采集数据接入':state==='CONNECTED'?'采集数据自动更新':'采集数据同步中断'}</span></footer></div></div>;
return <div className="app"><header className="reference-console-header">
<a href="#receive" className="reference-console-brand">系统融合软件</a>
<nav className="reference-console-navigation" aria-label="功能导航">{PAGES.map(item=><a href={`#${item.id}`} className={`reference-nav-link ${item.id===page.id?'active':''}`} key={item.id} aria-current={item.id===page.id?'page':undefined}>{item.name}</a>)}</nav>
<div className="reference-console-actions"><button type="button" aria-label={fullscreen?'退出全屏':'全屏显示'} onClick={toggleFullscreen}>{fullscreen?<Minimize size={21}/>:<Maximize size={21}/>}</button><Status state={failed?'ERROR':loading?'WAITING':'CONNECTED'} label={failed?'连接中断':loading?'正在连接':'运行监测'}/></div>
</header><div className="main-shell"><div className="console-meta"><div className="breadcrumb"><span>系统融合软件</span><ChevronRight size={14}/><strong>{page.name}</strong></div><div className="service-state"><Status state={failed?'ERROR':loading?'WAITING':'CONNECTED'} label={failed?'服务连接中断':loading?'正在连接':'服务连接正常'}/><time>{date}</time></div></div><main><div className="page-heading"><div><h1>{page.name}</h1><p>{page.description}</p></div><div className="heading-actions">{contexts.length>0&&<label className="context-select"><span>试验</span><select aria-label="选择试验上下文" value={context?.id||''} onChange={event=>{setContextId(event.target.value);setSelectedId('');}}>{contexts.map(item=><option key={item.id} value={item.id}>{item.name||item.id}</option>)}</select></label>}<button className="refresh-button" type="button" onClick={()=>setRefreshKey(key=>key+1)} aria-label="刷新数据" title="刷新数据"><RefreshCw size={17}/><span>刷新</span></button></div></div>{(failed||state==='STALE')&&<div className="source-notice" role="status"><AlertCircle size={17}/>{failed?'服务暂时不可用,当前显示最后一次收到的数据。':'采集数据同步已超时,当前显示最后一次收到的数据。'}</div>}{page.id==='receive'&&<ReceivePage {...props}/ >}{page.id==='sync'&&<SyncPage {...props}/ >}{page.id==='virtual'&&<VirtualPage/>}{page.id==='video'&&<VideoPage {...props}/ >}{page.id==='metrics'&&<MetricsPage equipments={equipments}/ >}{page.id==='nodes'&&<NodesPage nodes={snapshot.nodes||[]}/ >}</main><footer className="app-footer"><span>系统融合软件</span><span>{state==='WAITING'?'等待采集数据接入':state==='CONNECTED'?'采集数据自动更新':'采集数据同步中断'}</span></footer></div></div>;
}
+80
View File
@@ -0,0 +1,80 @@
/* LJ reference: dark green canvas, cyan accents and fine panel frames. */
:root {
color-scheme: dark;
--lj-page: #031b0b;
--lj-surface: #0a301b;
--lj-surface-raised: #114025;
--lj-surface-deep: #052511;
--lj-text: #e7f5f0;
--lj-muted: #a0c3ba;
--lj-faint: #87aaa3;
--lj-accent: #22dec0;
--lj-primary: #0c8073;
--lj-border: #1b6a47;
--lj-border-strong: #379e8d;
--lj-success: #68d9a4;
--lj-warning: #efc46b;
--lj-danger: #ff9298;
--lj-accent-rgb: 34, 222, 192;
--lj-primary-rgb: 12, 128, 115;
--lj-border-rgb: 33, 93, 84;
--lj-shadow-rgb: 0, 13, 12;
--lj-text-rgb: 231, 245, 240;
--lj-surface-rgb: 11, 48, 48;
--lj-page-rgb: 6, 29, 29;
}
body { background: var(--lj-page); }
.app { background: radial-gradient(ellipse at 75% 0, #103d35 0, transparent 65%), var(--lj-page); }
.app .sidebar { background: linear-gradient(180deg, #0b352d, #061f1c); border-right: 1px solid var(--lj-border); }
.sidebar .brand { color: var(--lj-accent); letter-spacing: 1px; }
.sidebar .brand::after { content: ''; position: absolute; bottom: 15px; left: 12px; right: 12px; height: 1px; background: linear-gradient(90deg, #22dec0, #22dec000); pointer-events: none; }
.sidebar .brand img { background: #087a67; border: 1px solid #43b79b; border-radius: 5px; }
.app .nav-link { border-radius: 3px; border-left: 3px solid transparent; }
.app .nav-link.active { background: linear-gradient(90deg, #0d6652, #0b3a31); color: #c8ffee; border-left-color: var(--lj-accent); box-shadow: inset 0 1px 0 #22dec012; }
.app .nav-link.active svg { color: var(--lj-accent); }
.app .nav-link:hover { background-color: #124639; }
.app .topbar { position: relative; color: var(--lj-muted); background: linear-gradient(180deg, #0b3431, #062623); border-bottom-color: var(--lj-border-strong); box-shadow: 0 4px 24px #000f0e38; }
.app .topbar::after { content: ''; position: absolute; bottom: -1px; left: 29px; width: 170px; height: 2px; background: linear-gradient(90deg, var(--lj-accent), transparent); pointer-events: none; }
.page-heading h1 { position: relative; padding-left: 15px; color: var(--lj-text); }
.page-heading h1::before { content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 3px; background: var(--lj-accent); box-shadow: 0 0 10px #22dec044; }
.app .panel { position: relative; border-color: var(--lj-border); border-radius: 4px; box-shadow: inset 0 1px 0 #53cab220, 0 8px 24px #000d0c20; }
.app .panel::before { content: ''; position: absolute; top: 0; left: 18px; width: 66px; height: 2px; background: var(--lj-accent); box-shadow: 0 0 12px #22dec050; pointer-events: none; }
.panel .panel-title { background: linear-gradient(90deg, #11443d, #0b3030); border-bottom: 1px solid #215d5466; }
.panel .panel-title h2 { color: #c5efe0; }
.app .equipment-row.selected { background: linear-gradient(90deg, #155242, #0c3831); border-left-color: var(--lj-accent); }
.app .equipment-heading > svg { color: var(--lj-accent); }
.app .data-table th, .app .secondary-table th { color: #badfd1; background: #114435; border-color: #25624e; }
.app .data-table td, .app .secondary-table td { border-color: #215246; }
.app .data-table tr.selected { background: #103d32; }
.app .receive-table tbody tr:hover, .app .secondary-table tbody tr:hover { background: #144638; }
.app .refresh-button:hover { color: #8ff4d6; border-color: var(--lj-accent); background: #104b3d; }
.app .search-input:focus-within, .app .secondary-search:focus-within { border-color: var(--lj-accent); box-shadow: 0 0 0 2px #22dec018; }
.app .status-good, .app .node-state-online { color: var(--lj-success); }
.app .status-warn { color: var(--lj-warning); }
.app .status-bad { color: var(--lj-danger); }
.app .source-notice { color: #efd39b; background: #3a321f; border-color: #746039; }
.app .video-stage { background: #041c19; border: 1px solid #286b58; }
.app .video-metrics-overlay { background: #0a342eea; border-color: #3b8e77; }
.app .video-control-bar { background: #092c25; }
select option { background: var(--lj-surface); color: var(--lj-text); }
@media(max-width:650px) { .app .equipment-row.selected { border-top-color: var(--lj-accent); } }
.app { background: linear-gradient(180deg, rgba(3,49,16,.95), rgba(1,15,6,.98)), url('/console/assets/lj-scene-background.png') center / cover fixed; }
.app .main-shell { margin-left: 0; min-height: calc(100vh - 82px); }
.reference-console-header { position: sticky; top: 0; z-index: 1000; display: grid; grid-template-columns: minmax(270px, 30%) minmax(0, 1fr) auto; align-items: center; gap: 26px; height: 82px; padding: 0 2.4% 0 5.4%; color: #f2fff0; background: linear-gradient(180deg, #092c01 0%, #043e03 53%, #092c01 100%); border-bottom: 1px solid #174c15; }
.reference-console-brand { display: flex; align-items: center; align-self: stretch; padding-bottom: 2px; color: #78dcae; font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif; font-size: clamp(24px, 1.77vw, 34px); font-weight: 700; letter-spacing: 1px; white-space: nowrap; border-bottom: 1px solid #36a34c; text-shadow: 0 1px 1px #001e01; }
.reference-console-navigation { display: flex; align-items: stretch; height: 82px; gap: clamp(16px, 1.4vw, 28px); min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #388e54 transparent; }
.reference-console-navigation::-webkit-scrollbar { height: 3px; }.reference-console-navigation::-webkit-scrollbar-thumb { background: #388e54; }
.reference-nav-link { position: relative; display: flex; flex: none; align-items: center; color: #f2fff0; font-size: clamp(14px, .94vw, 18px); white-space: nowrap; }
.reference-nav-link:hover, .reference-nav-link.active { color: #22dec0; }.reference-nav-link.active { font-weight: 700; }
.reference-nav-link.active::after { content: ''; position: absolute; height: 3px; width: 46px; bottom: 0; left: calc(50% - 23px); background: #dbffd9; }
.reference-console-actions { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.reference-console-actions button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 34px; padding: 0; color: #f2fff0; background: transparent; border: 0; }.reference-console-actions button:hover { color: #22dec0; }
.reference-console-actions .status { color: #d8f2d7; font-size: 14px; }.reference-console-actions .status-good i { color: #68d9a4; }
.console-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 48px; padding: 0 30px; border-bottom: 1px solid #1a4d2c; }
.app main { max-width: none; }.app .equipment-layout, .app .secondary-equipment-layout { grid-template-columns: 320px minmax(0, 1fr); }
@media(max-width:1400px) { .reference-console-header { grid-template-columns: minmax(235px, 25%) minmax(0, 1fr) auto; gap: 16px; padding-inline: 3%; }.reference-console-actions { gap: 13px; }.app .equipment-layout, .app .secondary-equipment-layout { grid-template-columns: 270px minmax(0, 1fr); } }
@media(max-width:800px) { .reference-console-header { height: auto; min-height: 112px; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 0 16px; }.reference-console-brand { height: 60px; font-size: 23px; }.reference-console-actions { grid-column: 2; grid-row: 1; }.reference-console-navigation { grid-column: 1 / -1; grid-row: 2; height: 52px; }.console-meta { padding-inline: 17px; }.console-meta .service-state { display: none; }.app .equipment-layout, .app .secondary-equipment-layout { grid-template-columns: 1fr; }.app .main-shell { min-height: calc(100vh - 112px); } }
.reference-console-brand { border-bottom: 0; background: url('/console/assets/lj-header-rule.png') left bottom / 100% 14px no-repeat; }
+54 -54
View File
@@ -1,71 +1,71 @@
.secondary-equipment-layout { display: grid; grid-template-columns: 296px minmax(0, 1fr); gap: 18px; align-items: stretch; }
.secondary-detail-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.secondary-search { display: flex; align-items: center; gap: 10px; width: 330px; max-width: 100%; min-height: 40px; padding: 0 12px; color: #647e9f; border: 1px solid #d6e2f0; border-radius: 6px; background: #fff; }
.secondary-search:focus-within { border-color: #3280d4; box-shadow: 0 0 0 3px #2b7bd316; }
.secondary-search input { width: 100%; min-width: 0; height: 38px; padding: 0; color: #203753; font: inherit; font-size: 13px; border: 0; outline: 0; background: transparent; }
.secondary-search input::placeholder { color: #7d91ab; }
.secondary-search { display: flex; align-items: center; gap: 10px; width: 330px; max-width: 100%; min-height: 40px; padding: 0 12px; color: var(--lj-muted); border: 1px solid var(--lj-border); border-radius: 6px; background: var(--lj-surface); }
.secondary-search:focus-within { border-color: var(--lj-border-strong); box-shadow: 0 0 0 3px rgba(var(--lj-shadow-rgb), 0.0863); }
.secondary-search input { width: 100%; min-width: 0; height: 38px; padding: 0; color: var(--lj-text); font: inherit; font-size: 13px; border: 0; outline: 0; background: transparent; }
.secondary-search input::placeholder { color: var(--lj-muted); }
.secondary-list-search { padding: 0 18px 18px; }
.secondary-list-search .secondary-search { width: auto; }
.secondary-panel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.secondary-muted, .secondary-blank { color: #8294ac; }
.secondary-muted, .secondary-blank { color: var(--lj-muted); }
.secondary-blank { white-space: nowrap; font-variant-numeric: tabular-nums; }
.secondary-blank small { margin-left: 8px; color: #8294ac; font-size: 12px; }
.secondary-unavailable { display: inline-flex; align-items: center; gap: 7px; color: #8393a9; white-space: nowrap; font-size: 13px; }
.secondary-blank small { margin-left: 8px; color: var(--lj-muted); font-size: 12px; }
.secondary-unavailable { display: inline-flex; align-items: center; gap: 7px; color: var(--lj-muted); white-space: nowrap; font-size: 13px; }
.secondary-unavailable i, .node-state i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: currentColor; }
.secondary-table-scroll { width: 100%; overflow-x: auto; }
.secondary-table { width: 100%; border-spacing: 0; border-collapse: collapse; table-layout: fixed; color: #294360; font-size: 13px; }
.secondary-table th { height: 48px; padding: 12px 14px; color: #5c7798; background: #f4f8fc; border: 1px solid #e1eaf4; font-weight: 500; text-align: left; }
.secondary-table td { height: 83px; padding: 17px 14px; border: 1px solid #e1eaf4; vertical-align: middle; }
.secondary-table { width: 100%; border-spacing: 0; border-collapse: collapse; table-layout: fixed; color: var(--lj-text); font-size: 13px; }
.secondary-table th { height: 48px; padding: 12px 14px; color: var(--lj-muted); background: var(--lj-surface); border: 1px solid var(--lj-border); font-weight: 500; text-align: left; }
.secondary-table td { height: 83px; padding: 17px 14px; border: 1px solid var(--lj-border); vertical-align: middle; }
.secondary-table th svg { display: inline-block; margin: 0 6px -2px 0; }
.secondary-table tbody tr:hover { background: #f9fbfe; }
.secondary-table tbody tr:hover { background: var(--lj-surface); }
.secondary-table .secondary-empty-cell { height: 230px; padding: 30px 16px; text-align: center; }
.secondary-table .secondary-empty-cell:hover { background: #fff; }
.secondary-table .secondary-empty-cell:hover { background: var(--lj-surface); }
.secondary-column-unit { white-space: nowrap; }
.secondary-panel-note { margin: 20px 0 0; color: #7f94ae; font-size: 12px; line-height: 1.6; }
.secondary-panel-note { margin: 20px 0 0; color: var(--lj-muted); font-size: 12px; line-height: 1.6; }
.virtual-list-panel { min-height: 650px; }
.virtual-list-empty { display: grid; place-items: center; padding: 80px 18px 28px; }
.virtual-unselected-header { display: flex; align-items: center; gap: 18px; padding: 23px; min-height: 100px; border: 1px solid #dfe8f3; border-radius: 8px; background: #fff; }
.virtual-equipment-icon { display: grid; place-items: center; width: 48px; height: 48px; color: #a2b5cc; background: #f2f6fb; border-radius: 9px; }
.virtual-unselected-header h2, .video-unselected-header h2 { margin: 0 0 8px; font-size: 21px; font-weight: 600; color: #566d89; }
.virtual-unselected-header p, .video-unselected-header p { margin: 0; color: #8396ae; font-size: 13px; }
.virtual-unselected-header { display: flex; align-items: center; gap: 18px; padding: 23px; min-height: 100px; border: 1px solid var(--lj-border); border-radius: 8px; background: var(--lj-surface); }
.virtual-equipment-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--lj-muted); background: var(--lj-surface); border-radius: 9px; }
.virtual-unselected-header h2, .video-unselected-header h2 { margin: 0 0 8px; font-size: 21px; font-weight: 600; color: var(--lj-muted); }
.virtual-unselected-header p, .video-unselected-header p { margin: 0; color: var(--lj-muted); font-size: 13px; }
.virtual-unselected-header p span { margin-left: 12px; }
.virtual-unselected-header > .secondary-unavailable { margin-left: auto; }
.virtual-state-body { padding: 0; }
.virtual-health-row { display: flex; align-items: center; gap: 20px; padding: 20px 22px; background: #f9fbfe; border: 1px solid #e5edf6; border-radius: 5px; }
.virtual-health-row > svg { color: #9badc2; }
.virtual-health-label { color: #66809f; font-size: 14px; }
.virtual-health-row strong { color: #8195ad; font-size: 23px; font-weight: 500; white-space: nowrap; }
.virtual-health-track { flex: 1; height: 10px; margin-left: 8px; border-radius: 6px; background: #e7edf5; }
.virtual-health-row { display: flex; align-items: center; gap: 20px; padding: 20px 22px; background: var(--lj-surface); border: 1px solid var(--lj-border); border-radius: 5px; }
.virtual-health-row > svg { color: var(--lj-muted); }
.virtual-health-label { color: var(--lj-muted); font-size: 14px; }
.virtual-health-row strong { color: var(--lj-muted); font-size: 23px; font-weight: 500; white-space: nowrap; }
.virtual-health-track { flex: 1; height: 10px; margin-left: 8px; border-radius: 6px; background: var(--lj-surface-raised); }
.virtual-position-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px 36px; padding: 23px 12px 4px; }
.virtual-position-item { display: grid; grid-template-columns: 84px 1fr; gap: 12px; font-size: 14px; }
.virtual-position-item > span:first-child { color: #6783a3; }
.virtual-position-item > span:first-child { color: var(--lj-muted); }
.virtual-overview-table { min-width: 620px; }
.virtual-overview-table th:first-child { width: 23%; }
.virtual-overview-table th:nth-child(3) { width: 33%; }
.video-main-panel { min-width: 0; overflow: hidden; }
.video-unselected-header { display: flex; align-items: center; gap: 18px; min-height: 91px; color: #91a6bf; }
.video-unselected-header { display: flex; align-items: center; gap: 18px; min-height: 91px; color: var(--lj-muted); }
.video-main-panel > .panel-header:empty { display: none; }
.video-stage { position: relative; display: flex; flex-direction: column; min-height: 480px; aspect-ratio: 16 / 10; overflow: hidden; background: #101d2c; border-radius: 6px; }
.video-empty-frame { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 180px 24px 36px; color: #5f7893; text-align: center; }
.video-empty-frame h3 { margin: 16px 0 9px; color: #c1cede; font-size: 19px; font-weight: 500; }
.video-empty-frame p { margin: 0; color: #7d92a9; font-size: 13px; line-height: 1.7; }
.video-metrics-overlay { position: absolute; top: 18px; right: 18px; width: 222px; padding: 15px 17px; color: #dfe7f0; border: 1px solid #52667c50; border-radius: 7px; background: #223246e8; }
.video-overlay-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid #a4b4c12b; }
.video-stage { position: relative; display: flex; flex-direction: column; min-height: 480px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lj-page); border-radius: 6px; }
.video-empty-frame { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; padding: 180px 24px 36px; color: var(--lj-muted); text-align: center; }
.video-empty-frame h3 { margin: 16px 0 9px; color: var(--lj-faint); font-size: 19px; font-weight: 500; }
.video-empty-frame p { margin: 0; color: var(--lj-muted); font-size: 13px; line-height: 1.7; }
.video-metrics-overlay { position: absolute; top: 18px; right: 18px; width: 222px; padding: 15px 17px; color: var(--lj-faint); border: 1px solid rgba(var(--lj-border-rgb), 0.3137); border-radius: 7px; background: rgba(var(--lj-page-rgb), 0.9098); }
.video-overlay-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid rgba(var(--lj-border-rgb), 0.1686); }
.video-overlay-heading strong { font-size: 14px; }
.video-overlay-heading > span { max-width: 102px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9fb2c7; font-size: 11px; }
.video-overlay-heading > span { max-width: 102px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--lj-muted); font-size: 11px; }
.video-metrics-overlay dl { display: flex; flex-direction: column; gap: 10px; margin: 12px 0 0; font-size: 12px; }
.video-metrics-overlay dl > div { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.video-metrics-overlay dt { color: #c1cede; }
.video-metrics-overlay dd { margin: 0; color: #a9bbcf; white-space: nowrap; }
.video-metrics-overlay dd small { margin-left: 6px; color: #8098b3; font-size: 10px; }
.video-control-bar { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 0 16px; color: #8195ad; background: #1c2a3a; }
.video-control-bar .secondary-unavailable { color: #879bb2; font-size: 12px; }
.video-control-divider { height: 21px; width: 1px; background: #47596d; }
.video-control-bar button { display: grid; place-items: center; min-width: 25px; padding: 5px 0; border: 0; color: #768b9f; background: none; }
.video-metrics-overlay dt { color: var(--lj-faint); }
.video-metrics-overlay dd { margin: 0; color: var(--lj-faint); white-space: nowrap; }
.video-metrics-overlay dd small { margin-left: 6px; color: var(--lj-muted); font-size: 10px; }
.video-control-bar { display: flex; align-items: center; gap: 16px; min-height: 48px; padding: 0 16px; color: var(--lj-muted); background: var(--lj-surface-deep); }
.video-control-bar .secondary-unavailable { color: var(--lj-muted); font-size: 12px; }
.video-control-divider { height: 21px; width: 1px; background: var(--lj-surface-deep); }
.video-control-bar button { display: grid; place-items: center; min-width: 25px; padding: 5px 0; border: 0; color: var(--lj-muted); background: none; }
.video-control-bar button:disabled { cursor: not-allowed; opacity: .55; }
.video-volume-track { width: 96px; height: 3px; border-radius: 3px; background: #3f5369; }
.video-volume-track { width: 96px; height: 3px; border-radius: 3px; background: var(--lj-surface-deep); }
.video-resolution { margin-left: auto; font-size: 11px; white-space: nowrap; }
.fusion-metrics-panel { min-height: 550px; }
@@ -75,11 +75,11 @@
.fusion-metrics-table td:not(:first-child), .fusion-metrics-table th:not(:first-child) { text-align: center; }
.fusion-metrics-table td { height: 93px; }
.fusion-equipment-name { display: flex; align-items: center; gap: 14px; }
.fusion-equipment-name > svg { color: #287dcb; flex-shrink: 0; }
.fusion-equipment-name > svg { color: var(--lj-accent); flex-shrink: 0; }
.fusion-equipment-name > div { min-width: 0; }
.fusion-equipment-name strong { display: block; color: #1b395c; font-size: 15px; font-weight: 600; word-break: break-word; }
.fusion-equipment-name span { display: block; margin-top: 7px; color: #7e94b0; font-size: 12px; word-break: break-all; }
.fusion-metrics-footer { margin: 22px 0 0; color: #7b93b0; font-size: 13px; }
.fusion-equipment-name strong { display: block; color: var(--lj-text); font-size: 15px; font-weight: 600; word-break: break-word; }
.fusion-equipment-name span { display: block; margin-top: 7px; color: var(--lj-muted); font-size: 12px; word-break: break-all; }
.fusion-metrics-footer { margin: 22px 0 0; color: var(--lj-muted); font-size: 13px; }
.node-status-table { min-width: 1020px; }
.node-status-table th:first-child { width: 250px; }
@@ -88,23 +88,23 @@
.node-status-table th:last-child { width: 115px; }
.node-status-table td { height: 96px; }
.node-identity { display: flex; align-items: center; gap: 15px; }
.node-identity > svg { flex-shrink: 0; color: #267bd1; }
.node-identity > svg { flex-shrink: 0; color: var(--lj-accent); }
.node-identity > div { min-width: 0; }
.node-identity strong { display: block; color: #193a5c; font-size: 15px; font-weight: 600; word-break: break-word; }
.node-identity span { display: block; margin-top: 7px; color: #7a91ad; font-size: 11px; overflow-wrap: anywhere; }
.node-identity strong { display: block; color: var(--lj-text); font-size: 15px; font-weight: 600; word-break: break-word; }
.node-identity span { display: block; margin-top: 7px; color: var(--lj-muted); font-size: 11px; overflow-wrap: anywhere; }
.node-state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; white-space: nowrap; }
.node-state-online { color: #0da76a; }
.node-state-offline, .node-state-unknown { color: #8092aa; }
.node-network-panel { margin-top: 24px; padding: 18px; border: 1px solid #e0e9f4; border-radius: 6px; }
.node-network-panel h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid #e6edf6; font-size: 15px; font-weight: 600; color: #234363; }
.node-state-online { color: var(--lj-success); }
.node-state-offline, .node-state-unknown { color: var(--lj-muted); }
.node-network-panel { margin-top: 24px; padding: 18px; border: 1px solid var(--lj-border); border-radius: 6px; }
.node-network-panel h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--lj-border); font-size: 15px; font-weight: 600; color: var(--lj-text); }
.node-network-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.node-network-item { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 7px 0; }
.node-network-item > svg { flex-shrink: 0; color: #287dc9; }
.node-network-item > svg { flex-shrink: 0; color: var(--lj-accent); }
.node-network-item > div { min-width: 0; }
.node-network-item strong { display: block; color: #294664; font-size: 13px; font-weight: 600; word-break: break-word; }
.node-network-item > div > span { display: block; margin-top: 6px; color: #8294aa; font-size: 11px; }
.node-network-item strong { display: block; color: var(--lj-text); font-size: 13px; font-weight: 600; word-break: break-word; }
.node-network-item > div > span { display: block; margin-top: 6px; color: var(--lj-muted); font-size: 11px; }
.node-network-item > .node-state { margin-left: auto; }
.node-network-empty { margin: 28px 0; color: #8b9bb0; text-align: center; font-size: 13px; }
.node-network-empty { margin: 28px 0; color: var(--lj-muted); text-align: center; font-size: 13px; }
@media (max-width: 1220px) {
.secondary-equipment-layout { grid-template-columns: 260px minmax(0, 1fr); }
File diff suppressed because one or more lines are too long