Wideband autonomous SDR analysis engine forked from sdr-visual-suite
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

780 行
28KB

  1. /* ═══════════════════════════════════════════════════
  2. SPECTRE UI — HYBRID COCKPIT THEME
  3. Merges Spectre layout + Cockpit aesthetics
  4. All dynamic classes from app.js preserved
  5. ═══════════════════════════════════════════════════ */
  6. @charset "UTF-8";
  7. :root {
  8. --bg: #050810;
  9. --bg2: #0a0e18;
  10. --panel: rgba(11, 16, 26, 0.88);
  11. --panel-2: rgba(8, 12, 20, 0.82);
  12. --line: rgba(30, 48, 72, 0.55);
  13. --line-hi: rgba(50, 78, 116, 0.5);
  14. --text: #d0dced;
  15. --text-dim: #6b84a3;
  16. --text-mute:#3a5070;
  17. --accent: #00ffc8;
  18. --accent2: #0090ff;
  19. --warn: #ffb454;
  20. --danger: #ff6b81;
  21. --good: #7cfb83;
  22. --glow: rgba(0, 255, 200, 0.06);
  23. --shadow: 0 20px 64px rgba(0, 0, 0, 0.4);
  24. --r: 14px;
  25. --r-sm: 8px;
  26. --r-lg: 18px;
  27. --font: 'Outfit', system-ui, sans-serif;
  28. --mono: 'JetBrains Mono', 'Consolas', monospace;
  29. }
  30. *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  31. html { font-size: 13.5px; }
  32. body {
  33. font-family: var(--font);
  34. color: var(--text);
  35. background: var(--bg);
  36. height: 100vh;
  37. overflow: hidden;
  38. -webkit-font-smoothing: antialiased;
  39. }
  40. /* Subtle grid + glow background */
  41. body::before {
  42. content: '';
  43. position: fixed; inset: 0;
  44. background:
  45. radial-gradient(ellipse 70% 45% at 15% 8%, rgba(0, 144, 255, 0.05), transparent),
  46. radial-gradient(ellipse 50% 35% at 85% 92%, rgba(0, 255, 200, 0.03), transparent),
  47. repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(30, 48, 72, 0.15) 79px, rgba(30, 48, 72, 0.15) 80px),
  48. repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(30, 48, 72, 0.15) 79px, rgba(30, 48, 72, 0.15) 80px);
  49. pointer-events: none; z-index: 0;
  50. }
  51. button, input, select { font: inherit; }
  52. ::selection { background: rgba(0, 255, 200, 0.18); color: #fff; }
  53. *:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  54. /* ── Scrollbars ── */
  55. ::-webkit-scrollbar { width: 5px; height: 5px; }
  56. ::-webkit-scrollbar-track { background: transparent; }
  57. ::-webkit-scrollbar-thumb { background: rgba(100, 130, 180, 0.22); border-radius: 99px; }
  58. /* ═══════════ SHELL ═══════════ */
  59. .shell { height: 100%; display: grid; grid-template-rows: auto 1fr; position: relative; z-index: 1; }
  60. /* ═══════════ TOPBAR ═══════════ */
  61. .topbar {
  62. display: grid;
  63. grid-template-columns: auto 1fr auto;
  64. gap: 16px;
  65. align-items: center;
  66. padding: 10px 18px;
  67. background: linear-gradient(180deg, rgba(10, 15, 24, 0.96), rgba(6, 9, 14, 0.92));
  68. border-bottom: 1px solid var(--line);
  69. backdrop-filter: blur(12px);
  70. position: relative;
  71. }
  72. .topbar::after {
  73. content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  74. background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.25;
  75. }
  76. .brand { display: flex; align-items: center; gap: 10px; }
  77. .brand-mark { flex-shrink: 0; }
  78. .brand-kicker { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-dim); }
  79. .brand-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
  80. .brand-thin { font-weight: 300; color: var(--text-dim); margin-left: 1px; }
  81. .topbar-center { display: flex; justify-content: center; }
  82. .topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
  83. /* topbar center intentionally left available for future status content */
  84. .topbar-center { min-height: 1px; }
  85. .ws-badge {
  86. font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  87. padding: 3px 10px; border-radius: 99px;
  88. background: rgba(0, 255, 200, 0.06); border: 1px solid rgba(0, 255, 200, 0.15);
  89. color: var(--accent); white-space: nowrap; transition: border-color 0.2s;
  90. }
  91. .top-meta { font-family: var(--mono); font-size: 0.65rem; color: var(--text-dim); max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  92. .shortcut-btn {
  93. display: flex; align-items: center; justify-content: center;
  94. width: 28px; height: 28px; border-radius: 8px;
  95. background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  96. color: var(--text-dim); cursor: pointer; transition: all 0.15s;
  97. }
  98. .shortcut-btn:hover { color: var(--accent); border-color: rgba(0, 255, 200, 0.3); }
  99. /* ═══════════ MAIN LAYOUT ═══════════ */
  100. .layout {
  101. min-height: 0;
  102. display: grid;
  103. grid-template-columns: minmax(0, 1.9fr) minmax(310px, 420px);
  104. grid-template-rows: minmax(0, 1fr) 240px;
  105. gap: 8px;
  106. padding: 8px;
  107. }
  108. /* ═══════════ PANELS ═══════════ */
  109. .panel {
  110. min-height: 0;
  111. background: var(--panel);
  112. border: 1px solid var(--line);
  113. border-radius: var(--r-lg);
  114. box-shadow: var(--shadow);
  115. backdrop-filter: blur(10px);
  116. position: relative;
  117. overflow: hidden;
  118. }
  119. .panel::before {
  120. content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  121. background: linear-gradient(90deg, transparent 5%, rgba(255,255,255,0.04) 50%, transparent 95%);
  122. pointer-events: none;
  123. }
  124. .panel-title { font-size: 1.05rem; font-weight: 700; }
  125. .panel-sub { font-size: 0.72rem; color: var(--text-dim); margin-top: 1px; }
  126. /* ═══════════ STAGE ═══════════ */
  127. .stage {
  128. display: grid;
  129. grid-template-rows: auto auto auto minmax(0, 1fr);
  130. gap: 10px;
  131. padding: 12px;
  132. }
  133. .stage-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  134. .stage-actions { display: flex; gap: 4px; }
  135. /* Action Buttons */
  136. .act-btn {
  137. font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  138. padding: 5px 10px; border-radius: var(--r-sm);
  139. background: var(--bg2); border: 1px solid var(--line);
  140. color: var(--text); cursor: pointer; transition: all 0.12s; white-space: nowrap;
  141. }
  142. .act-btn:hover { border-color: rgba(0, 255, 200, 0.3); transform: translateY(-1px); }
  143. .act-btn--danger { border-color: rgba(255, 107, 129, 0.25); }
  144. .act-btn--danger:hover { border-color: rgba(255, 107, 129, 0.5); color: var(--danger); }
  145. /* Hero Metrics */
  146. .hero-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  147. .metric {
  148. background: var(--panel-2); border: 1px solid var(--line);
  149. border-radius: var(--r); padding: 8px 10px;
  150. }
  151. .metric-lbl { display: block; font-family: var(--mono); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-mute); text-transform: uppercase; }
  152. .metric-val { display: block; margin-top: 3px; font-family: var(--mono); font-size: 1rem; font-weight: 700; }
  153. .metric-val--accent { color: var(--accent); }
  154. /* Band Navigator */
  155. .nav-strip { display: grid; gap: 4px; }
  156. .nav-label { font-family: var(--mono); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-mute); text-transform: uppercase; }
  157. #navCanvas { height: 50px; border-radius: var(--r-sm); cursor: crosshair; }
  158. /* Viz Stack */
  159. .viz-stack {
  160. min-height: 0;
  161. display: grid;
  162. grid-template-rows: minmax(200px, 1fr) minmax(150px, 0.72fr);
  163. gap: 8px;
  164. }
  165. .viz-card {
  166. min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr);
  167. gap: 5px; padding: 8px;
  168. border-radius: var(--r); background: rgba(5, 8, 14, 0.6); border: 1px solid var(--line);
  169. }
  170. .viz-card--compact { }
  171. .viz-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  172. .viz-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem; color: var(--text-dim); }
  173. .legend-swatch { width: 10px; height: 10px; border-radius: 2px; background: rgba(255, 204, 102, 0.35); border: 1px solid rgba(255, 204, 102, 0.35); }
  174. .viz-label { font-family: var(--mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-dim); text-transform: uppercase; }
  175. .viz-hint { font-family: var(--mono); font-size: 0.58rem; color: var(--text-mute); }
  176. canvas { display: block; width: 100%; height: 100%; border-radius: var(--r-sm); background: #030508; }
  177. .signal-popover {
  178. position: absolute; z-index: 8; pointer-events: none; min-width: 180px; max-width: 220px;
  179. padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-hi);
  180. background: rgba(6, 10, 18, 0.94); box-shadow: 0 18px 50px rgba(0,0,0,0.38);
  181. font-size: 0.72rem; color: var(--text); display: none; opacity: 0; transform: translateY(4px);
  182. }
  183. .signal-popover.open { display: block; opacity: 1; transform: translateY(0); transition: opacity 90ms ease, transform 90ms ease; }
  184. .signal-popover__title { font-family: var(--mono); font-weight: 700; margin-bottom: 4px; color: var(--accent); }
  185. .signal-popover__meta { color: var(--text-mute); margin-bottom: 6px; }
  186. .signal-popover__scores { display: grid; gap: 4px; }
  187. .signal-popover__row { display: grid; grid-template-columns: 42px 1fr 36px; gap: 6px; align-items: center; font-family: var(--mono); font-size: 0.68rem; }
  188. .signal-popover__bar { height: 6px; border-radius: 999px; background: rgba(148,163,184,0.14); overflow: hidden; }
  189. .signal-popover__fill { height: 100%; background: linear-gradient(90deg, rgba(0,255,200,0.72), rgba(0,144,255,0.8)); }
  190. #spectrum, #waterfall { cursor: crosshair; }
  191. #spectrum:active { cursor: grabbing; }
  192. /* ═══════════ OPERATOR RAIL ═══════════ */
  193. .rail {
  194. display: grid;
  195. grid-template-rows: auto auto minmax(0, 1fr);
  196. gap: 10px;
  197. padding: 12px;
  198. min-width: 0;
  199. }
  200. .rail-head {
  201. display: flex;
  202. align-items: center;
  203. justify-content: space-between;
  204. gap: 8px;
  205. min-width: 0;
  206. }
  207. /* Rail Tabs */
  208. .rail-tabs {
  209. display: flex;
  210. flex-wrap: wrap;
  211. gap: 3px;
  212. background: var(--bg2);
  213. border: 1px solid var(--line);
  214. border-radius: 10px;
  215. padding: 3px;
  216. min-width: 0;
  217. }
  218. .rail-tab {
  219. flex: 1 1 72px;
  220. min-width: 0;
  221. text-align: center;
  222. font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  223. padding: 5px 8px; border-radius: 7px;
  224. background: transparent; border: 1px solid transparent;
  225. color: var(--text-dim); cursor: pointer; transition: all 0.15s;
  226. }
  227. .rail-tab:hover { color: var(--text); }
  228. .rail-tab.active {
  229. background: rgba(0, 255, 200, 0.08); border-color: rgba(0, 255, 200, 0.18);
  230. color: var(--accent);
  231. }
  232. .rail-body { min-height: 0; min-width: 0; position: relative; }
  233. .tab-panel { display: none; height: 100%; min-width: 0; overflow: auto; padding-right: 4px; }
  234. .tab-panel.active { display: block; }
  235. .tab-panel[data-panel="signals"] {
  236. display: none;
  237. height: 100%;
  238. }
  239. .tab-panel[data-panel="signals"].active {
  240. display: block;
  241. min-height: 0;
  242. min-width: 0;
  243. }
  244. /* ── Form Groups ── */
  245. .form-group {
  246. border: 1px solid var(--line); border-radius: var(--r);
  247. padding: 10px; margin-bottom: 8px;
  248. background: rgba(255, 255, 255, 0.01);
  249. min-width: 0;
  250. overflow: hidden;
  251. }
  252. .grp-title { font-family: var(--mono); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); opacity: 0.7; margin-bottom: 8px; text-transform: uppercase; }
  253. .field { display: grid; gap: 3px; margin-bottom: 8px; min-width: 0; }
  254. .field:last-child { margin-bottom: 0; }
  255. .field > span { font-family: var(--mono); font-size: 0.64rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }
  256. .field-pair { display: grid; grid-template-columns: 1fr; gap: 8px; min-width: 0; }
  257. .field-pair .field { margin-bottom: 0; }
  258. /* Inputs */
  259. input[type="number"], select {
  260. width: 100%; font-family: var(--mono); font-size: 0.82rem; color: var(--text);
  261. background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r-sm);
  262. padding: 6px 8px; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
  263. -webkit-appearance: none; appearance: none;
  264. }
  265. input[type="number"]:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(0, 255, 200, 0.06); }
  266. select {
  267. background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235a6e84' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  268. background-repeat: no-repeat; background-position: right 8px center; padding-right: 24px;
  269. }
  270. /* Presets */
  271. .preset-row { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; min-width: 0; }
  272. .preset-btn {
  273. flex: 1 1 72px; display: flex; flex-direction: column; align-items: center; gap: 0;
  274. min-width: 0;
  275. font-family: var(--mono); background: var(--bg2); border: 1px solid var(--line);
  276. border-radius: var(--r-sm); padding: 5px 4px 4px; cursor: pointer; color: var(--text); transition: all 0.15s;
  277. }
  278. .preset-btn:hover { border-color: var(--accent); background: rgba(0, 255, 200, 0.04); box-shadow: 0 0 8px rgba(0, 255, 200, 0.08); }
  279. .preset-btn b { font-size: 0.76rem; font-weight: 700; color: var(--accent); line-height: 1; }
  280. .preset-btn small { font-size: 0.58rem; color: var(--text-dim); line-height: 1.3; }
  281. /* Sliders */
  282. .slider-field { margin-bottom: 8px; min-width: 0; }
  283. .slider-field > span { display: block; font-family: var(--mono); font-size: 0.64rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
  284. .slider-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
  285. .slider-row em { font-family: var(--mono); font-size: 0.58rem; color: var(--text-mute); font-style: normal; width: 16px; flex-shrink: 0; }
  286. .slider-num { width: 50px; max-width: 100%; text-align: center; flex-shrink: 0; font-size: 0.78rem; padding: 4px 4px; }
  287. input[type="range"] {
  288. -webkit-appearance: none; appearance: none;
  289. flex: 1; height: 4px; border-radius: 2px; background: var(--line); outline: none;
  290. }
  291. input[type="range"]::-webkit-slider-thumb {
  292. -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%;
  293. background: var(--accent); border: 2px solid var(--bg);
  294. box-shadow: 0 0 8px rgba(0, 255, 200, 0.3); cursor: pointer; transition: box-shadow 0.15s;
  295. }
  296. input[type="range"]::-webkit-slider-thumb:hover { box-shadow: 0 0 14px rgba(0, 255, 200, 0.5); }
  297. input[type="range"]::-moz-range-thumb {
  298. width: 14px; height: 14px; border-radius: 50%; background: var(--accent);
  299. border: 2px solid var(--bg); box-shadow: 0 0 8px rgba(0, 255, 200, 0.3); cursor: pointer;
  300. }
  301. .range--warn::-webkit-slider-thumb { background: var(--warn); box-shadow: 0 0 8px rgba(255, 180, 84, 0.3); }
  302. .range--warn::-moz-range-thumb { background: var(--warn); box-shadow: 0 0 8px rgba(255, 180, 84, 0.3); }
  303. /* Toggle Pills */
  304. .toggle-grid { display: grid; grid-template-columns: 1fr; gap: 5px; margin-top: 4px; min-width: 0; }
  305. .pill-toggle {
  306. display: flex; align-items: center; gap: 6px; cursor: pointer; user-select: none;
  307. padding: 4px 6px; border-radius: var(--r-sm);
  308. border: 1px solid transparent; transition: border-color 0.15s;
  309. min-width: 0;
  310. }
  311. .pill-toggle:hover { border-color: var(--line); }
  312. .pill-toggle input { display: none; }
  313. .pt {
  314. width: 28px; height: 15px; border-radius: 8px; background: var(--line);
  315. position: relative; flex-shrink: 0; transition: background 0.2s;
  316. }
  317. .pk {
  318. position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%;
  319. background: var(--text-dim); transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  320. }
  321. .pill-toggle input:checked ~ .pt { background: rgba(0, 255, 200, 0.2); }
  322. .pill-toggle input:checked ~ .pt .pk { transform: translateX(13px); background: var(--accent); box-shadow: 0 0 6px rgba(0, 255, 200, 0.4); }
  323. .pl { font-family: var(--mono); font-size: 0.68rem; font-weight: 500; color: var(--text-dim); letter-spacing: 0.03em; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
  324. .pill-toggle input:checked ~ .pt ~ .pl { color: var(--accent); }
  325. /* ═══════════ LISTS (Signals + Events) ═══════════ */
  326. .list-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
  327. .count-pill {
  328. font-family: var(--mono); font-size: 0.62rem; font-weight: 500;
  329. padding: 2px 8px; border-radius: 99px;
  330. background: rgba(0, 255, 200, 0.06); border: 1px solid rgba(0, 255, 200, 0.12);
  331. color: var(--accent);
  332. }
  333. .signal-list, .event-list { display: grid; gap: 5px; }
  334. .signal-list {
  335. display: grid;
  336. gap: 5px;
  337. min-height: 140px;
  338. max-height: 42vh;
  339. overflow: auto;
  340. align-content: start;
  341. padding-right: 2px;
  342. }
  343. .empty-state { font-size: 0.78rem; color: var(--text-mute); padding: 12px 0; }
  344. /* List items — rendered by app.js */
  345. .list-item {
  346. padding: 9px 10px; border-radius: var(--r); border: 1px solid var(--line);
  347. background: var(--panel-2); cursor: pointer; transition: border-color 0.12s, box-shadow 0.12s, transform 0.12s;
  348. }
  349. .list-item:hover { border-color: rgba(0, 255, 200, 0.22); }
  350. .list-item.active {
  351. border-color: rgba(0, 255, 200, 0.45);
  352. box-shadow: 0 0 0 1px rgba(0, 255, 200, 0.22) inset, 0 0 18px rgba(0, 255, 200, 0.06);
  353. transform: translateY(-1px);
  354. }
  355. .list-item.listening {
  356. border-color: rgba(255, 92, 92, 0.55);
  357. box-shadow: 0 0 0 1px rgba(255, 92, 92, 0.35) inset;
  358. }
  359. .list-item.active.listening {
  360. box-shadow: 0 0 0 1px rgba(255, 92, 92, 0.35) inset, 0 0 0 1px rgba(0, 255, 200, 0.18);
  361. }
  362. .item-top, .item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  363. .item-top { margin-bottom: 2px; }
  364. .item-title { font-family: var(--mono); font-size: 0.82rem; font-weight: 700; color: #e7f1ff; }
  365. .item-meta { font-family: var(--mono); font-size: 0.68rem; color: var(--text-dim); }
  366. .item-badge {
  367. font-family: var(--mono); font-size: 0.64rem; font-weight: 600;
  368. padding: 2px 7px; border-radius: 99px;
  369. background: rgba(15, 25, 40, 0.8); border: 1px solid var(--line);
  370. }
  371. #signalSummaryLine {
  372. margin-top: -2px;
  373. }
  374. .listen-meta {
  375. margin-top: 6px;
  376. padding: 10px 12px;
  377. border-radius: var(--r);
  378. border: 1px solid rgba(50, 78, 116, 0.55);
  379. background: linear-gradient(180deg, rgba(12, 18, 30, 0.92), rgba(7, 11, 18, 0.88));
  380. display: grid;
  381. gap: 7px;
  382. box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  383. }
  384. .listen-meta__head {
  385. display: flex;
  386. align-items: center;
  387. justify-content: space-between;
  388. gap: 8px;
  389. }
  390. .listen-meta__title {
  391. font-family: var(--mono);
  392. font-size: 0.58rem;
  393. font-weight: 700;
  394. letter-spacing: 0.1em;
  395. text-transform: uppercase;
  396. color: var(--text-mute);
  397. }
  398. .listen-meta__badge {
  399. font-family: var(--mono);
  400. font-size: 0.62rem;
  401. font-weight: 700;
  402. letter-spacing: 0.04em;
  403. padding: 3px 8px;
  404. border-radius: 999px;
  405. border: 1px solid var(--line);
  406. background: rgba(15, 25, 40, 0.9);
  407. color: var(--text-dim);
  408. }
  409. .listen-meta__primary {
  410. display: flex;
  411. align-items: center;
  412. justify-content: space-between;
  413. gap: 12px;
  414. }
  415. .listen-meta__mode {
  416. font-family: var(--mono);
  417. font-size: 0.9rem;
  418. font-weight: 700;
  419. color: var(--text);
  420. }
  421. .listen-meta__stereo {
  422. font-family: var(--mono);
  423. font-size: 0.68rem;
  424. font-weight: 700;
  425. color: var(--accent);
  426. text-transform: uppercase;
  427. }
  428. .listen-meta__secondary {
  429. display: flex;
  430. flex-wrap: wrap;
  431. gap: 10px;
  432. font-family: var(--mono);
  433. font-size: 0.64rem;
  434. color: var(--text-dim);
  435. }
  436. .item-meta--runtime {
  437. color: var(--accent);
  438. font-weight: 700;
  439. }
  440. .item-meta--rds {
  441. color: #fff;
  442. font-weight: 800;
  443. font-size: 0.78rem;
  444. letter-spacing: 0.01em;
  445. }
  446. /* Health Grid */
  447. .health-grid {
  448. display: grid;
  449. grid-template-columns: 1fr;
  450. gap: 6px;
  451. min-width: 0;
  452. }
  453. .health-card {
  454. background: var(--panel-2); border: 1px solid var(--line);
  455. border-radius: var(--r); padding: 8px 9px;
  456. min-width: 0;
  457. overflow: hidden;
  458. }
  459. .health-card--wide { grid-column: 1 / -1; }
  460. .health-lbl { display: block; font-family: var(--mono); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-mute); text-transform: uppercase; }
  461. .health-val {
  462. display: block;
  463. margin-top: 4px;
  464. font-family: var(--mono);
  465. font-size: 0.9rem;
  466. font-weight: 700;
  467. min-width: 0;
  468. overflow-wrap: anywhere;
  469. word-break: break-word;
  470. white-space: normal;
  471. }
  472. .health-status-card {
  473. margin-top: 8px;
  474. border: 1px solid var(--line);
  475. border-radius: var(--r);
  476. padding: 10px;
  477. background: var(--panel-2);
  478. min-width: 0;
  479. overflow: hidden;
  480. }
  481. .status-grid {
  482. margin-top: 8px;
  483. display: grid;
  484. gap: 8px;
  485. min-width: 0;
  486. }
  487. .status-row {
  488. display: block;
  489. min-width: 0;
  490. }
  491. .status-key {
  492. display: block;
  493. font-family: var(--mono);
  494. font-size: 0.64rem;
  495. color: var(--text-dim);
  496. text-transform: uppercase;
  497. }
  498. .status-val {
  499. display: block;
  500. margin-top: 2px;
  501. font-family: var(--mono);
  502. font-size: 0.7rem;
  503. color: var(--text);
  504. text-align: left;
  505. min-width: 0;
  506. overflow-wrap: anywhere;
  507. word-break: break-word;
  508. white-space: normal;
  509. }
  510. .status-val--ok { color: var(--good); }
  511. .status-val--warn { color: var(--warn); }
  512. .status-val--bad { color: var(--danger); }
  513. .ops-list {
  514. margin-top: 8px;
  515. display: grid;
  516. gap: 6px;
  517. min-width: 0;
  518. }
  519. .ops-line {
  520. font-family: var(--mono);
  521. font-size: 0.66rem;
  522. color: var(--text);
  523. border: 1px solid var(--line);
  524. border-radius: var(--r-sm);
  525. padding: 6px 8px;
  526. background: rgba(8, 14, 23, 0.72);
  527. display: block;
  528. min-width: 0;
  529. overflow-wrap: anywhere;
  530. word-break: break-word;
  531. }
  532. .ops-line--muted {
  533. color: var(--text-dim);
  534. }
  535. .ops-level {
  536. display: inline-block;
  537. text-transform: uppercase;
  538. font-weight: 700;
  539. border-radius: 999px;
  540. padding: 2px 6px;
  541. font-size: 0.58rem;
  542. letter-spacing: 0.05em;
  543. border: 1px solid var(--line);
  544. margin-right: 6px;
  545. margin-bottom: 4px;
  546. }
  547. .ops-level--info {
  548. color: #9ed0ff;
  549. border-color: rgba(90, 160, 255, 0.35);
  550. }
  551. .ops-level--warn {
  552. color: var(--warn);
  553. border-color: rgba(255, 180, 84, 0.45);
  554. }
  555. .ops-level--error,
  556. .ops-level--bad,
  557. .ops-level--fatal {
  558. color: var(--danger);
  559. border-color: rgba(255, 107, 129, 0.45);
  560. }
  561. .ops-ts {
  562. display: inline-block;
  563. color: var(--text-dim);
  564. margin-right: 6px;
  565. }
  566. .ops-name {
  567. display: inline;
  568. overflow-wrap: anywhere;
  569. word-break: break-word;
  570. white-space: normal;
  571. }
  572. .kv-list {
  573. margin-top: 8px;
  574. display: grid;
  575. gap: 6px;
  576. min-width: 0;
  577. }
  578. .kv-row {
  579. display: grid;
  580. grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
  581. gap: 8px;
  582. align-items: start;
  583. padding: 7px 8px;
  584. border: 1px solid var(--line);
  585. border-radius: var(--r-sm);
  586. background: rgba(8, 14, 23, 0.72);
  587. min-width: 0;
  588. }
  589. .kv-key {
  590. font-family: var(--mono);
  591. font-size: 0.6rem;
  592. text-transform: uppercase;
  593. letter-spacing: 0.08em;
  594. color: var(--text-mute);
  595. }
  596. .kv-val {
  597. font-family: var(--mono);
  598. font-size: 0.68rem;
  599. color: var(--text);
  600. min-width: 0;
  601. overflow-wrap: anywhere;
  602. word-break: break-word;
  603. }
  604. .form-hint {
  605. margin-top: 6px;
  606. font-size: 0.68rem;
  607. color: var(--text-mute);
  608. line-height: 1.35;
  609. }
  610. .config-grid {
  611. display: grid;
  612. gap: 8px;
  613. }
  614. /* ═══════════ TIMELINE PANEL ═══════════ */
  615. .tl-panel {
  616. grid-column: 1 / -1;
  617. display: grid; grid-template-rows: auto minmax(0, 1fr);
  618. gap: 8px; padding: 10px;
  619. }
  620. .tl-head { display: flex; align-items: center; justify-content: space-between; }
  621. .tl-actions { display: flex; gap: 4px; }
  622. .tl-stack {
  623. min-height: 0;
  624. display: grid;
  625. grid-template-rows: 64px minmax(0, 1fr);
  626. gap: 6px;
  627. }
  628. /* ═══════════ INSPECTOR DRAWER ═══════════ */
  629. .inspector {
  630. position: fixed; right: 12px; top: 60px; bottom: 12px;
  631. width: min(440px, calc(100vw - 24px)); z-index: 50;
  632. display: none; grid-template-rows: auto minmax(0, 1fr);
  633. gap: 10px; padding: 12px;
  634. background: rgba(8, 12, 20, 0.94);
  635. border: 1px solid var(--line-hi); border-radius: var(--r-lg);
  636. box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5), 0 0 1px rgba(0, 255, 200, 0.08);
  637. backdrop-filter: blur(20px) saturate(130%);
  638. animation: drawerIn 0.2s ease-out;
  639. }
  640. @keyframes drawerIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
  641. .inspector.open { display: grid; }
  642. .insp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
  643. .insp-actions { display: flex; gap: 4px; flex-shrink: 0; }
  644. .insp-body { min-height: 0; overflow: auto; display: grid; gap: 10px; align-content: start; }
  645. .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  646. .detail-item {
  647. background: var(--panel-2); border: 1px solid var(--line);
  648. border-radius: var(--r-sm); padding: 8px;
  649. }
  650. .detail-label { display: block; font-family: var(--mono); font-size: 0.56rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-mute); text-transform: uppercase; }
  651. .detail-item span:last-child { display: block; margin-top: 4px; font-family: var(--mono); font-size: 0.85rem; font-weight: 700; }
  652. .insp-viz { height: 200px; }
  653. .insp-note { font-size: 0.72rem; color: var(--text-mute); }
  654. .score-bars { display: grid; gap: 6px; }
  655. .score-bar { display: grid; grid-template-columns: 52px 1fr 44px; gap: 8px; align-items: center; font-family: var(--mono); font-size: 0.68rem; }
  656. .score-bar-label { color: var(--text-dim); }
  657. .score-bar-track { position: relative; height: 8px; border-radius: 999px; background: rgba(148, 163, 184, 0.14); overflow: hidden; }
  658. .score-bar-fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, rgba(0,255,200,0.72), rgba(0,144,255,0.8)); border-radius: 999px; }
  659. .score-bar-value { color: var(--text-mute); text-align: right; }
  660. /* ═══════════ KEYBOARD OVERLAY ═══════════ */
  661. .kb-overlay {
  662. position: fixed; inset: 0; z-index: 100;
  663. background: rgba(5, 8, 16, 0.8); backdrop-filter: blur(8px);
  664. display: none; align-items: center; justify-content: center;
  665. }
  666. .kb-overlay.open { display: flex; }
  667. .kb-card {
  668. background: var(--panel); border: 1px solid var(--line-hi);
  669. border-radius: var(--r-lg); padding: 24px 28px;
  670. box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5); min-width: 320px;
  671. }
  672. .kb-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
  673. .kb-grid {
  674. display: grid; grid-template-columns: auto 1fr; gap: 8px 16px;
  675. align-items: center; margin-bottom: 16px;
  676. }
  677. .kb-grid kbd {
  678. font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  679. padding: 3px 8px; border-radius: 5px;
  680. background: var(--bg2); border: 1px solid var(--line);
  681. color: var(--accent); text-align: center; min-width: 36px;
  682. }
  683. .kb-grid span { font-size: 0.82rem; color: var(--text-dim); }
  684. .kb-close { width: 100%; justify-content: center; display: flex; }
  685. /* ═══════════ ANIMATIONS ═══════════ */
  686. @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
  687. /* ═══════════ RESPONSIVE ═══════════ */
  688. @media (max-width: 1320px) {
  689. .layout { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) minmax(360px, auto) 240px; }
  690. .rail { grid-column: 1; grid-row: 2; }
  691. .tl-panel { grid-column: 1; grid-row: 3; }
  692. .topbar { grid-template-columns: 1fr; gap: 8px; }
  693. .topbar-center, .topbar-right { justify-content: flex-start; }
  694. .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  695. }
  696. @media (max-width: 760px) {
  697. .layout { padding: 6px; gap: 6px; }
  698. .hero-metrics, .detail-grid, .health-grid { grid-template-columns: 1fr; }
  699. .field-pair { grid-template-columns: 1fr; }
  700. .toggle-grid { grid-template-columns: 1fr; }
  701. .inspector { left: 8px; width: auto; }
  702. .top-meta { display: none; }
  703. }
  704. @media (max-width: 500px) {
  705. html { font-size: 12.5px; }
  706. .mode-strip { flex-wrap: wrap; }
  707. }
  708. /* Number input spin buttons */
  709. input[type="number"]::-webkit-inner-spin-button,
  710. input[type="number"]::-webkit-outer-spin-button { opacity: 0.3; }
  711. input[type="number"]:hover::-webkit-inner-spin-button { opacity: 0.7; }
  712. /* Active live-listen button */
  713. .act-btn.active {
  714. background: var(--accent);
  715. color: var(--bg-0);
  716. box-shadow: 0 0 12px rgba(0, 255, 200, 0.3);
  717. animation: listen-pulse 1.5s ease-in-out infinite;
  718. }
  719. @keyframes listen-pulse {
  720. 0%, 100% { box-shadow: 0 0 8px rgba(0, 255, 200, 0.2); }
  721. 50% { box-shadow: 0 0 16px rgba(0, 255, 200, 0.5); }
  722. }