/* HeroUI v3 + Tailwind CSS v4 — must come before app chrome styles */ @import "tailwindcss"; @import "@heroui/styles"; /* Align HeroUI tokens with NetX dark ops shell */ .dark, [data-theme="dark"] { --background: oklch(0.14 0.02 255); --foreground: oklch(0.92 0.01 250); --surface: oklch(0.2 0.025 255); --surface-secondary: oklch(0.24 0.025 255); --overlay: oklch(0.2 0.025 255); --accent: oklch(0.62 0.17 255); --accent-foreground: oklch(0.99 0 0); --muted: oklch(0.7 0.02 250); --border: color-mix(in oklab, var(--foreground) 14%, transparent); --field-background: oklch(0.18 0.02 255); } * { box-sizing: border-box; } html { color-scheme: dark; scrollbar-color: #475569 #0f172a; scrollbar-width: thin; } *::-webkit-scrollbar { width: 10px; height: 10px; } *::-webkit-scrollbar-track { background: #0f172a; } *::-webkit-scrollbar-thumb { background: #475569; border: 2px solid #0f172a; border-radius: 999px; } *::-webkit-scrollbar-thumb:hover { background: #64748b; } *::-webkit-scrollbar-corner { background: #0f172a; } body { margin: 0; font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; background: #070b14; color: #e2e8f0; } #root { min-height: 100vh; } .app--shell { /* Shared NetX chrome tokens — dark ops shell (global foundation) */ --nm-accent: #3b82f6; --nm-accent-deep: #2563eb; --nm-header: #060a12; --nm-chrome: #080d18; --nm-main: #0a101c; --nm-nav: #101826; --nm-nav-border: rgba(148, 163, 184, 0.14); --nm-nav-hover: rgba(59, 130, 246, 0.1); --nm-nav-active: rgba(59, 130, 246, 0.16); --nm-nav-ink: #e2e8f0; --nm-nav-muted: #94a3b8; --nm-panel: rgba(15, 23, 42, 0.78); --nm-panel-solid: #111a2b; --nm-panel-border: rgba(148, 163, 184, 0.16); --nm-brand: #f1f5f9; --nm-text: #e2e8f0; --nm-muted: #94a3b8; --nm-glass: rgba(15, 23, 42, 0.55); --nm-glass-border: rgba(148, 163, 184, 0.18); display: flex; flex-direction: column; min-height: 100vh; color: var(--nm-text); } .app-brand { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 20px; background: var(--nm-header, #0f1b2d); border-bottom: 1px solid rgba(255, 255, 255, 0.08); box-shadow: none; } .app-brand__logo { font-size: 18px; font-weight: 700; letter-spacing: 0.12em; color: #fff; text-decoration: none; flex-shrink: 0; line-height: 1; } .app-brand__logo--static { display: inline-block; } .app-brand__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, 0.22); flex-shrink: 0; } .app-brand__start { display: flex; align-items: center; gap: 12px; min-width: 0; } .app-brand__apps { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: none; border-radius: 4px; background: transparent; color: rgba(255, 255, 255, 0.88); cursor: pointer; } .app-brand__apps:hover, .app-brand__apps:focus-visible { background: rgba(59, 130, 246, 0.22); color: #fff; outline: none; } .app-brand__module-title { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.92); white-space: nowrap; letter-spacing: 0.02em; } .app-brand__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; } .app-brand__actions-group { display: inline-flex; align-items: center; gap: 6px; } .app-brand__actions-sep { width: 1px; height: 14px; margin: 0 4px; background: rgba(255, 255, 255, 0.18); flex-shrink: 0; } .app-main { flex: 1; padding: 20px 28px 32px; background: var(--nm-chrome, #e8eef6); color: var(--nm-text, #1e293b); } .workbench { width: 100%; max-width: none; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 14px; } .workbench--console { position: relative; --wb-corner: rgba(56, 189, 248, 0.55); --wb-ink: #e2e8f0; --wb-muted: #94a3b8; --wb-cyan: #7dd3fc; } .app-main:has(> .workbench) { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; padding: 16px 20px 20px; background: linear-gradient(180deg, rgba(8, 14, 28, 0.92), rgba(7, 11, 20, 0.98)), repeating-linear-gradient( 0deg, transparent, transparent 23px, rgba(148, 163, 184, 0.035) 23px, rgba(148, 163, 184, 0.035) 24px ), repeating-linear-gradient( 90deg, transparent, transparent 23px, rgba(148, 163, 184, 0.03) 23px, rgba(148, 163, 184, 0.03) 24px ), var(--nm-chrome, #070b14); } .wb-panel { position: relative; border: 1px solid rgba(56, 189, 248, 0.14); border-radius: 4px; background: linear-gradient(var(--wb-corner, rgba(56, 189, 248, 0.55)) 0 0) 0 0 / 11px 2px no-repeat, linear-gradient(var(--wb-corner, rgba(56, 189, 248, 0.55)) 0 0) 0 0 / 2px 11px no-repeat, linear-gradient(var(--wb-corner, rgba(56, 189, 248, 0.55)) 0 0) 100% 0 / 11px 2px no-repeat, linear-gradient(var(--wb-corner, rgba(56, 189, 248, 0.55)) 0 0) 100% 0 / 2px 11px no-repeat, linear-gradient(var(--wb-corner, rgba(56, 189, 248, 0.55)) 0 0) 0 100% / 11px 2px no-repeat, linear-gradient(var(--wb-corner, rgba(56, 189, 248, 0.55)) 0 0) 0 100% / 2px 11px no-repeat, linear-gradient(var(--wb-corner, rgba(56, 189, 248, 0.55)) 0 0) 100% 100% / 11px 2px no-repeat, linear-gradient(var(--wb-corner, rgba(56, 189, 248, 0.55)) 0 0) 100% 100% / 2px 11px no-repeat, linear-gradient(165deg, rgba(15, 23, 42, 0.78), rgba(2, 8, 23, 0.58)); } .wb-panel::before, .wb-panel::after { content: none; } .wb-head { display: flex; flex-direction: column; gap: 0; } .wb-head__title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .wb-head__title { margin: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; color: #38bdf8; line-height: 1.2; } .wb-head__health { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 3px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 650; letter-spacing: 0.04em; border: 1px solid transparent; } .wb-head__health-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; } .wb-head__health.is-ok { color: #4ade80; background: rgba(34, 197, 94, 0.08); border-color: rgba(34, 197, 94, 0.28); } .wb-head__health.is-busy { color: #fbbf24; background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.3); } .wb-head__sub { margin: 0; font-size: 13px; line-height: 1.45; color: var(--nm-muted, #94a3b8); max-width: 52ch; } .wb-strip { display: flex; flex-direction: column; gap: 8px; padding: 11px 14px; } .wb-strip__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; min-width: 0; } .wb-strip__tag { flex: 0 0 auto; min-width: 3.5em; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: #7dd3fc; } .wb-strip__tag--soft { color: #94a3b8; } .wb-strip__divider { flex: 0 0 auto; width: 1px; height: 28px; margin: 0 2px; background: linear-gradient( 180deg, transparent, rgba(56, 189, 248, 0.35), transparent ); } .wb-stat, .app-main .wb-stat { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 3px; align-items: baseline; flex: 0 0 auto; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; color: inherit; text-align: left; border-radius: 0; } .wb-stat__label { grid-column: 1; grid-row: 1; font-size: 12px; font-weight: 500; color: #94a3b8; } .wb-stat__value { grid-column: 2; grid-row: 1; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: #e2e8f0; } .wb-stat__track { grid-column: 1 / -1; grid-row: 2; display: block; width: 84px; height: 2px; border-radius: 0; background: rgba(148, 163, 184, 0.16); overflow: hidden; } .wb-stat__fill { display: block; height: 100%; background: #64748b; } .wb-stat.is-ok .wb-stat__fill { background: #22c55e; } .wb-stat.is-mid .wb-stat__fill { background: #38bdf8; } .wb-stat.is-high .wb-stat__fill { background: #f59e0b; } .wb-stat.is-muted { opacity: 0.55; } .wb-body { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 380px); gap: 14px; align-items: stretch; flex: 1 1 auto; min-height: 0; } .wb-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; height: 100%; } .wb-modules { display: flex; flex-direction: column; gap: 14px; padding: 14px 16px 16px; flex: 1 1 auto; min-height: 0; justify-content: center; } .wb-section { margin: 0; display: flex; flex-direction: column; gap: 10px; } .wb-section__title { margin: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: #7dd3fc; } .wb-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: stretch; width: 100%; } .wb-tile, .app-main .wb-tile { display: inline-flex; align-items: center; gap: 12px; width: 100%; max-width: none; min-height: 64px; margin: 0; padding: 12px 14px; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 4px; background: rgba(15, 23, 42, 0.5); box-shadow: none; cursor: pointer; text-align: left; color: inherit; transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease; } .wb-tile:hover, .wb-tile:focus-visible { border-color: rgba(56, 189, 248, 0.42); background: rgba(30, 41, 59, 0.72); box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.1); outline: none; transform: translateY(-1px); } .wb-tile__label { font-size: 13px; font-weight: 600; color: #e2e8f0; line-height: 1.25; } .wb-tile .wb-card__icon { opacity: 0.9; } .wb-fleet { margin-top: 0; flex: 0 0 auto; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; } .wb-fleet__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 2px; border-bottom: 1px solid rgba(148, 163, 184, 0.1); } .wb-fleet__title { margin: 0; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: #7dd3fc; } .wb-fleet__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-height: 0; align-items: stretch; } .wb-fleet__card { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px; width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 10px 10px 8px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 4px; background: rgba(8, 15, 30, 0.45); color: inherit; text-align: left; cursor: default; overflow: hidden; transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease; } button.wb-fleet__card { cursor: pointer; font: inherit; appearance: none; -webkit-appearance: none; } button.wb-fleet__card:hover, button.wb-fleet__card:focus-visible { border-color: rgba(56, 189, 248, 0.4); background: rgba(20, 32, 52, 0.72); outline: none; transform: translateY(-1px); } button.wb-fleet__card:disabled { cursor: default; opacity: 0.72; } button.wb-fleet__card:disabled:hover, button.wb-fleet__card:disabled:focus-visible { border-color: rgba(148, 163, 184, 0.2); background: rgba(15, 23, 42, 0.45); } .wb-fleet__card--sched { cursor: pointer; } .wb-fleet__card--sched:hover, .wb-fleet__card--sched:focus-visible { border-color: rgba(56, 189, 248, 0.4); background: rgba(20, 32, 52, 0.72); outline: none; transform: translateY(-1px); } .wb-fleet__card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 18px; } .wb-fleet__card-label { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: #7dd3fc; } .wb-fleet__card-badge { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; font-weight: 650; letter-spacing: 0.02em; color: #64748b; white-space: nowrap; } .wb-fleet__card-badge.is-ok { color: #4ade80; } .wb-fleet__card-badge.is-warn { color: #fbbf24; } .wb-fleet__viz { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 6px 12px; align-items: center; min-height: 0; } .wb-fleet__donut { position: relative; width: 84px; height: 84px; border-radius: 50%; flex: 0 0 auto; margin: 0; box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.12), 0 0 14px rgba(56, 189, 248, 0.05); } .wb-fleet__donut--dart { background: transparent; box-shadow: none; } .wb-fleet__dart { display: block; width: 100%; height: 100%; overflow: visible; } .wb-fleet__dart-slice { cursor: pointer; transform-origin: 50% 50%; transition: filter 0.14s ease, opacity 0.14s ease; outline: none; } .wb-fleet__dart-slice:hover, .wb-fleet__dart-slice:focus-visible { filter: brightness(1.18) drop-shadow(0 0 6px rgba(56, 189, 248, 0.45)); } .wb-fleet__dart-slice:not(.is-on) { opacity: 0.55; } .wb-fleet__dart-slice:not(.is-on):hover, .wb-fleet__dart-slice:not(.is-on):focus-visible { opacity: 0.85; } .wb-fleet__donut-hole { position: absolute; inset: 20%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; background: radial-gradient(circle at 35% 30%, rgba(56, 189, 248, 0.08), transparent 55%), linear-gradient(165deg, rgba(15, 23, 42, 0.98), rgba(2, 8, 23, 0.96)); box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9); } .wb-fleet__donut-hole--dart { inset: 28%; pointer-events: none; } .wb-fleet__donut-value { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; color: #e2e8f0; letter-spacing: -0.02em; } .wb-fleet__donut-unit { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 9px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: #64748b; } .wb-fleet__rows { display: flex; flex-direction: column; justify-content: center; gap: 2px; margin-top: 0; min-width: 0; min-height: 84px; } .wb-fleet__row, button.wb-fleet__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; width: 100%; margin: 0; padding: 1px 0; border: 0; background: transparent; font: inherit; font-size: 12px; line-height: 1.35; color: #94a3b8; text-align: left; cursor: default; } button.wb-fleet__row { cursor: pointer; border-radius: 3px; padding: 1px 4px; margin: 0 -4px; } button.wb-fleet__row:hover, button.wb-fleet__row:focus-visible { color: #e2e8f0; background: rgba(56, 189, 248, 0.08); outline: none; } .wb-fleet__legend { display: inline-flex; align-items: center; gap: 7px; min-width: 0; } .wb-fleet__legend-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .wb-fleet__swatch { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #64748b; flex: 0 0 auto; } .wb-fleet__swatch.is-ok { background: #22c55e; box-shadow: 0 0 6px rgba(34, 197, 94, 0.45); } .wb-fleet__swatch.is-mid { background: #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.4); } .wb-fleet__swatch.is-warn { background: #f59e0b; box-shadow: 0 0 6px rgba(245, 158, 11, 0.4); } .wb-fleet__swatch.is-bad { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.4); } .wb-fleet__swatch.is-muted { background: #64748b; } .wb-fleet__row strong { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; color: #e2e8f0; text-align: right; white-space: nowrap; } .wb-fleet__row strong.is-ok { color: #4ade80; } .wb-fleet__row strong.is-mid { color: #7dd3fc; } .wb-fleet__row strong.is-warn { color: #fbbf24; } .wb-fleet__row strong.is-bad { color: #f87171; } .wb-fleet__row strong.is-muted { color: #64748b; } .wb-fleet__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; margin-top: 0; padding-top: 6px; border-top: 1px solid rgba(148, 163, 184, 0.1); min-height: 22px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10px; line-height: 1.3; color: #64748b; } .wb-fleet__foot em { font-style: normal; font-weight: 650; color: #94a3b8; } .wb-fleet__foot em.is-ok { color: #4ade80; } .wb-fleet__foot em.is-warn { color: #fbbf24; } .wb-fleet__row-age { margin-left: 4px; font-weight: 550; color: #64748b; } .wb-fleet__row.is-on .wb-fleet__legend-text { color: #e2e8f0; } .wb-fleet__row--sched, button.wb-fleet__row--sched { display: grid; grid-template-columns: minmax(0, 1fr) 2.75em 2.75em; align-items: center; justify-content: stretch; column-gap: 6px; } .wb-fleet__sched-state { display: block; width: 100%; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-align: left; color: #64748b; } .wb-fleet__sched-state.is-ok { color: #4ade80; } .wb-fleet__sched-state.is-muted { color: #64748b; } .wb-fleet__sched-age { display: block; width: 100%; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 550; text-align: right; color: #64748b; } .wb-side { display: flex; flex-direction: column; gap: 0; min-width: 0; height: 100%; align-self: stretch; } .wb-rail { min-width: 0; padding: 12px 14px; display: flex; flex-direction: column; min-height: 0; } .wb-rail--tasks { flex: 1 1 auto; min-height: 0; height: 100%; } .wb-rail--channels { display: none; } .wb-rail__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; } .wb-rail__title { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: #7dd3fc; } .wb-rail__count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 3px; background: rgba(56, 189, 248, 0.14); color: #e0f2fe; font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; } .wb-rail__meta { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; color: #64748b; } .wb-rail__all, .app-main .wb-rail__all { height: 26px; min-height: 26px; padding: 0 8px; font-size: 12px; color: #7dd3fc; background: transparent; border: 0; box-shadow: none; border-radius: 3px; } .wb-rail__all:hover, .wb-rail__all:focus-visible { color: #e0f2fe; background: rgba(56, 189, 248, 0.1); outline: none; } .wb-rail__empty { margin: 0; padding: 12px 0; font-size: 12px; line-height: 1.45; color: #64748b; } .wb-rail__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; overflow: auto; min-height: 0; flex: 1 1 auto; } .wb-rail__item, .app-main .wb-rail__item, .app-main button.wb-rail__item { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; width: 100%; height: auto; min-height: 0; margin: 0; padding: 10px 10px; border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 4px; background: rgba(2, 8, 23, 0.35); box-shadow: none; color: inherit; text-align: left; cursor: pointer; white-space: normal; line-height: 1.4; overflow: visible; } .wb-rail__item:hover, .wb-rail__item:focus-visible, .app-main button.wb-rail__item:hover, .app-main button.wb-rail__item:focus-visible { background: rgba(56, 189, 248, 0.1); border-color: rgba(56, 189, 248, 0.28); outline: none; } .wb-rail__item-title { display: block; width: 100%; font-size: 12px; font-weight: 600; color: #e2e8f0; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; word-break: break-word; } .wb-rail__item-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0; width: 100%; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; color: #94a3b8; line-height: 1.4; } .wb-rail__status { display: inline-flex; align-items: center; gap: 5px; font-weight: 650; } .wb-rail__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; flex-shrink: 0; } .wb-rail__status--running { color: #38bdf8; } .wb-rail__status--ok { color: #4ade80; } .wb-rail__status--paused { color: #fbbf24; } .wb-rail__status--stopped { color: #f87171; } .wb-rail__status--other { color: #94a3b8; } .wb-rail__progress { color: #64748b; font-weight: 500; } .wb-channels { display: flex; flex-direction: column; gap: 10px; } .wb-channel { display: flex; flex-direction: column; gap: 5px; } .wb-channel__top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; } .wb-channel__label { font-size: 12px; color: #94a3b8; } .wb-channel__value { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; font-weight: 700; color: #e2e8f0; font-variant-numeric: tabular-nums; } .wb-channel__sep { margin: 0 2px; color: #64748b; font-weight: 500; } .wb-channel__track { display: block; height: 3px; background: rgba(148, 163, 184, 0.14); overflow: hidden; } .wb-channel__fill { display: block; height: 100%; background: #38bdf8; } .wb-channel.is-ok .wb-channel__fill { background: #22c55e; } .wb-channel.is-mid .wb-channel__fill { background: #38bdf8; } .wb-channel.is-high .wb-channel__fill { background: #f59e0b; } .wb-channel.is-muted { opacity: 0.55; } @media (max-width: 960px) { .wb-body { grid-template-columns: 1fr; } .wb-side { min-height: 0; } .wb-rail--tasks { flex: 0 0 auto; max-height: 280px; } .wb-fleet { margin-top: 0; flex: 0 0 auto; } .wb-fleet__grid { grid-template-columns: 1fr; } .wb-fleet__viz { grid-template-columns: 72px minmax(0, 1fr); } .wb-fleet__donut { width: 72px; height: 72px; } .wb-fleet__rows { min-height: 72px; } .wb-modules { justify-content: flex-start; } .wb-tile, .app-main .wb-tile { min-height: 52px; } .wb-strip__divider { display: none; } .wb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 640px) { .wb-tiles { grid-template-columns: 1fr; } .wb-strip__tag { width: 100%; } } .header-menu__panel--light { background: #0f172a; border-color: #1e293b; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); } .header-menu__label--light { color: #94a3b8; } .header-menu__item--light { color: #e2e8f0; } .header-menu__item--light:hover { background: #f1f5f9; color: #0f172a; } .header-menu__item--active-light { background: #e3f2fd; color: var(--nm-accent, #3b82f6); } .header-menu { position: relative; } .header-menu__trigger { min-width: 36px; height: 36px; padding: 0 10px; font-size: 20px; line-height: 1; letter-spacing: 0.12em; } .header-menu__trigger:hover, .header-menu__trigger:focus-visible { border-color: #3d82f7; outline: none; } .header-menu__panel { position: absolute; top: calc(100% + 6px); right: 0; z-index: 50; min-width: 148px; padding: 6px; border: 1px solid #2c405f; border-radius: 10px; background: #0f1e34; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); } .header-menu__label { padding: 6px 10px 4px; font-size: 11px; color: #6b7f9c; text-transform: uppercase; letter-spacing: 0.04em; } .header-menu__item { display: block; width: 100%; text-align: left; padding: 8px 10px; border: none; border-radius: 6px; background: transparent; color: #c1cde0; font-size: 13px; cursor: pointer; } .header-menu__item:hover { background: rgba(61, 130, 247, 0.14); color: #dce8ff; } .header-menu__item--active { background: rgba(61, 130, 247, 0.22); color: #dce8ff; } .app-main button, .app-main select, .app-main input, .app-main textarea { border: 1px solid var(--nm-panel-border, #1e293b); background: #0b1220; color: var(--nm-text, #e2e8f0); border-radius: 6px; padding: 8px 10px; } button, select, input, textarea { border: 1px solid var(--nm-panel-border, #1e293b); background: #0b1220; color: var(--nm-text, #e2e8f0); border-radius: 6px; padding: 8px 10px; } textarea { width: 100%; resize: vertical; } button { cursor: pointer; } .cards { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 12px; margin-bottom: 12px; } .app-main .card, .app-main .panel { border: 1px solid var(--nm-panel-border, #1e293b); background: var(--nm-panel-solid, #0f172a); border-radius: 10px; padding: 14px; box-shadow: none; color: var(--nm-text, #e2e8f0); } .card, .panel { border: 1px solid var(--nm-panel-border, #1e293b); background: var(--nm-panel-solid, #0f172a); border-radius: 10px; padding: 14px; box-shadow: none; color: var(--nm-text, #e2e8f0); } .card h3, .panel h2 { margin: 0 0 10px; font-size: 16px; } .card__section-title { margin: 14px 0 8px; font-size: 14px; font-weight: 600; } .card input:not([type="checkbox"]):not([type="radio"]), .card select, .card textarea { width: 100%; margin-bottom: 8px; } .card input[type="checkbox"], .card input[type="radio"] { width: auto; margin-bottom: 0; flex: 0 0 auto; } .pager input, .pager select { width: auto; margin-bottom: 0; } .actions-row { margin-top: 8px; } .actions-row--inline { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; } .card--full { grid-column: 1 / -1; } .filter-inline { display: grid; grid-template-columns: minmax(280px, 2fr) minmax(180px, 1fr) minmax(180px, 1fr) 180px; gap: 8px; align-items: center; } .filter-inline input, .filter-inline select { width: 100%; margin-bottom: 0; } a { color: var(--nm-accent, #3b82f6); text-decoration: none; } .muted { color: #94a3b8; } table { width: 100%; border-collapse: collapse; } th, td { border-bottom: 1px solid var(--nm-panel-border, #1e293b); padding: 8px; text-align: left; font-size: 13px; vertical-align: top; color: var(--nm-text, #e2e8f0); } th { color: var(--nm-muted, #94a3b8); font-weight: 600; } .split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } pre { white-space: pre-wrap; margin: 0; background: #0f172a; color: #e2e8f0; border: 1px solid #223651; border-radius: 8px; padding: 10px; } .ws-log-panel { margin-top: 12px; max-height: 240px; overflow-y: auto; background: rgba(2, 8, 23, 0.55); border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 8px; padding: 8px 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.45; color: #cbd5e1; } .ws-log-line { padding: 3px 0; border-bottom: 1px solid rgba(148, 163, 184, 0.12); word-break: break-word; } .ws-log-line:last-child { border-bottom: none; } .ws-log-line--error { color: #fca5a5; } .ws-log-line--warning { color: #fdba74; } .ws-log-line--info { color: #94a3b8; } .ws-log-ts { color: #94a3b8; margin-right: 8px; } .pill { margin-top: 8px; padding: 6px 10px; border-radius: 6px; width: fit-content; font-size: 12px; background: rgba(148, 163, 184, 0.12); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.22); } .pill--high { background: rgba(239, 68, 68, 0.16); border-color: rgba(248, 113, 113, 0.35); color: #fecaca; } .pill--medium { background: rgba(245, 158, 11, 0.14); border-color: rgba(251, 191, 36, 0.35); color: #fde68a; } .pill--low { background: rgba(34, 197, 94, 0.14); border-color: rgba(74, 222, 128, 0.3); color: #bbf7d0; } .link-btn { border: none; background: transparent; color: var(--nm-accent, #3b82f6); padding: 0; cursor: pointer; } .link-btn--danger { color: #f87171; } .link-btn:disabled { opacity: 0.5; cursor: not-allowed; } .table-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .status { margin-top: 12px; color: #9db2cf; font-size: 12px; } .app-main .conn-pill:not(.conn-pill--on-brand) { font-size: 12px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 999px; padding: 4px 10px; background: rgba(15, 23, 42, 0.75); color: #cbd5e1; } .conn-pill { font-size: 12px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 999px; padding: 4px 10px; background: rgba(15, 23, 42, 0.75); color: #cbd5e1; } .conn-pill--up { border-color: rgba(74, 222, 128, 0.4); color: #86efac; background: rgba(34, 197, 94, 0.14); } .conn-pill--down { border-color: rgba(248, 113, 113, 0.4); color: #fca5a5; background: rgba(239, 68, 68, 0.14); } .conn-pill--unknown { border-color: rgba(148, 163, 184, 0.3); color: #94a3b8; background: rgba(148, 163, 184, 0.1); } /* Brand header chips/buttons — must follow global button/conn-pill rules. */ .app-brand .conn-pill.conn-pill--on-brand { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.82); font-size: 11px; font-weight: 400; line-height: 1; white-space: nowrap; } .app-brand .conn-pill.conn-pill--on-brand::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; flex-shrink: 0; } .app-brand .conn-pill.conn-pill--on-brand.conn-pill--up { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.82); } .app-brand .conn-pill.conn-pill--on-brand.conn-pill--up::before { background: #4ade80; } .app-brand .conn-pill.conn-pill--on-brand.conn-pill--down { border-color: rgba(248, 113, 113, 0.35); background: rgba(127, 29, 29, 0.35); color: #fecaca; } .app-brand .conn-pill.conn-pill--on-brand.conn-pill--down::before { background: #f87171; } .app-brand .conn-pill.conn-pill--on-brand.conn-pill--unknown { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.7); } .app-brand .conn-pill.conn-pill--on-brand.conn-pill--unknown::before { background: #94a3b8; } .app-brand .conn-pill.conn-pill--on-brand.conn-pill--user { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.78); font-size: 11px; font-weight: 400; } .app-brand .conn-pill.conn-pill--on-brand.conn-pill--user::before { display: none; } .app-brand button.conn-pill.conn-pill--on-brand.conn-pill--tasks { cursor: pointer; font: inherit; font-size: 11px; font-weight: 400; } .app-brand button.conn-pill.conn-pill--on-brand.conn-pill--tasks:hover, .app-brand button.conn-pill.conn-pill--on-brand.conn-pill--tasks:focus-visible { border-color: rgba(59, 130, 246, 0.55); background: rgba(59, 130, 246, 0.22); color: #fff; outline: none; } .app-brand .header-menu__trigger.header-menu__trigger--on-brand { display: inline-flex; align-items: center; justify-content: center; height: 24px; min-width: 24px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.78); font-size: 11px; font-weight: 400; letter-spacing: normal; line-height: 1; box-shadow: none; } .app-brand .header-menu__trigger.header-menu__trigger--on-brand.header-menu__trigger--icon { width: 24px; padding: 0; font-size: 14px; letter-spacing: 0.06em; } .app-brand .header-menu__trigger.header-menu__trigger--on-brand.header-menu__trigger--locale { min-width: 36px; padding: 0 8px; font-size: 11px; font-weight: 650; letter-spacing: 0.04em; } .app-brand .header-menu__trigger.header-menu__trigger--on-brand:hover, .app-brand .header-menu__trigger.header-menu__trigger--on-brand:focus-visible { background: rgba(59, 130, 246, 0.22); border-color: rgba(59, 130, 246, 0.55); color: #fff; } .app-brand .conn-pill.conn-pill--on-brand.conn-pill--up { border-color: rgba(59, 130, 246, 0.35); } .app-brand button.conn-pill.conn-pill--on-brand.conn-pill--tasks:hover, .app-brand button.conn-pill.conn-pill--on-brand.conn-pill--tasks:focus-visible { border-color: rgba(59, 130, 246, 0.55); background: rgba(59, 130, 246, 0.22); color: #fff; outline: none; } .toast, .app-toast { position: fixed; right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(12px, env(safe-area-inset-bottom, 0px)); left: auto; top: auto; margin: 0; padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(148, 163, 184, 0.28); background: #0f172a; color: #e2e8f0; font-size: 12.5px; font-weight: 500; line-height: 1.35; z-index: 10050; width: max-content; max-width: min(280px, calc(100vw - 24px)); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45); pointer-events: none; word-break: break-word; } .toast--ok, .app-toast--ok { border-color: rgba(74, 222, 128, 0.35); background: rgba(20, 83, 45, 0.92); color: #bbf7d0; } .toast--error, .app-toast--error { border-color: rgba(248, 113, 113, 0.4); background: rgba(127, 29, 29, 0.92); color: #fecaca; } .inline-spinner { display: inline-block; width: 14px; height: 14px; margin-right: 8px; border: 2px solid rgba(255, 255, 255, 0.22); border-top-color: rgba(255, 255, 255, 0.85); border-radius: 50%; vertical-align: -2px; animation: inline-spin 0.65s linear infinite; } @keyframes inline-spin { to { transform: rotate(360deg); } } .conn-pill--warn { border-color: rgba(251, 191, 36, 0.4); color: #fde68a; background: rgba(245, 158, 11, 0.14); } .app-main .inline-spinner { border-color: rgba(21, 101, 192, 0.2); border-top-color: var(--nm-accent, #3b82f6); } .skeleton-line { height: 32px; border-radius: 8px; margin-bottom: 10px; background: linear-gradient(90deg, #14253e 25%, #1d3558 50%, #14253e 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; } .mini-chart { margin-top: 10px; } .mini-chart__row { display: grid; grid-template-columns: 70px 1fr 36px; gap: 8px; align-items: center; margin-bottom: 8px; } .mini-chart__label, .mini-chart__value { font-size: 12px; color: #a8bad5; } .card-title-with-hint { display: flex; align-items: center; gap: 8px; margin: 0; } .help-hint { position: relative; display: inline-flex; vertical-align: middle; } .app-main .help-hint__trigger, .help-hint__trigger { width: auto; height: auto; min-width: 0; padding: 0 2px; border: none; border-radius: 0; background: transparent; box-shadow: none; color: #64748b; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer; } .app-main .help-hint__trigger:hover, .app-main .help-hint__trigger:focus-visible, .help-hint__trigger:hover, .help-hint__trigger:focus-visible { border: none; background: transparent; box-shadow: none; color: var(--nm-accent, #3b82f6); outline: none; } .help-hint__popover { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; width: min(360px, 80vw); padding: 10px 12px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 8px; background: #0f172a; color: #e2e8f0; font-size: 13px; font-weight: 400; line-height: 1.45; white-space: pre-line; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); } .help-hint--align-end .help-hint__popover { left: auto; right: 0; } .help-hint__popover--portal { z-index: 2000; width: auto; } .help-hint__popover--nowrap { width: max-content; max-width: min(90vw, 720px); white-space: nowrap; } .panel__toolbar-end { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; } .stat-card { border: 1px solid var(--border, rgba(148, 163, 184, 0.22)); border-radius: 8px; padding: 12px 14px; background: var(--panel-bg, rgba(15, 23, 42, 0.72)); color: var(--nm-text, #e2e8f0); } .stat-card strong { display: block; margin-top: 4px; font-size: 1.05rem; } .btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .btn-primary { background: #2563eb; color: #fff; border-color: #1d4ed8; } .btn-primary:disabled { opacity: 0.55; } .data-table { width: 100%; } .config-sync-policy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; } .config-sync-policy-check { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: #cbd5e1; white-space: nowrap; cursor: pointer; } .config-sync-policy-check input { width: 14px; height: 14px; margin: 0; flex-shrink: 0; } .config-sync-policy-field { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: #cbd5e1; white-space: nowrap; } .config-sync-policy-field input[type="number"] { width: 64px; margin: 0; } .config-sync-policy-field select { width: auto; min-width: 110px; margin: 0; } .ne-stats-card { padding: 12px 14px; } .ne-stats-card__header { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 10px; } .ne-stats-card__header-left { display: flex; align-items: center; gap: 10px; } .ne-stats-card__header-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .ne-stats-card__title { font-size: 15px; font-weight: 600; color: #e2e8f0; } .ne-stats-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; } .ne-stats-pill--pass { background: rgba(34, 197, 94, 0.16); color: #86efac; } .ne-stats-pill--fail { background: rgba(239, 68, 68, 0.16); color: #fca5a5; } .ne-stats-pill--testing{ background: rgba(245, 158, 11, 0.16); color: #fde68a; } .ne-stats-pill--unknown{ background: rgba(148, 163, 184, 0.14); color: #94a3b8; } .ne-stats-card__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .ne-stats-card__tag-select { height: 32px; font-size: 13px; padding: 0 8px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; min-width: 150px; } .ne-stats-card__loading { color: #94a3b8; font-size: 13px; margin: 0; } .ne-stats-card__tag-cards { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(190px, 1fr)); gap: 10px; } .ne-tag-card { border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 8px; background: rgba(15, 23, 42, 0.72); padding: 10px 12px; } .ne-tag-card__title { font-size: 13px; font-weight: 650; color: #e2e8f0; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ne-tag-card__total { font-size: 12px; color: #94a3b8; margin-bottom: 8px; } .ne-tag-card__pills { display: flex; flex-wrap: wrap; gap: 6px; } /* Managed NE / UME / System pages — light content on shared chrome tokens */ .ne-page, .ume-page, .system-page { margin: -20px -28px -32px; padding: 20px 22px 28px; min-height: calc(100vh - 48px); background: radial-gradient(1200px 480px at 0% 0%, rgba(59, 130, 246, 0.07), transparent 55%), var(--nm-main, var(--nm-chrome)); gap: 16px; } /* Already inside network/audit shell — don't re-bleed or force full-viewport height (that left a huge empty panel void under short lists like 任务概览). */ .network-main .ne-page, .network-main .ume-page, .network-main .system-page { margin: 0; padding: 0; min-height: 0; background: transparent; } .ne-page > .panel, .ume-page > .panel, .ume-page > .cards > .panel, .ume-page > .cards > .card, .system-page > .panel { padding: 18px 20px 20px; border: 1px solid var(--nm-panel-border); border-radius: 14px; background: linear-gradient(180deg, rgba(22, 32, 50, 0.96), rgba(15, 23, 42, 0.92)); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 28px rgba(0, 0, 0, 0.18); } .ume-page > .cards { display: flex; flex-direction: column; gap: 16px; margin: 0; grid-template-columns: none; } .ne-page .panel__toolbar, .ume-page .panel__toolbar, .system-page .panel__toolbar { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(148, 163, 184, 0.14); } .ne-page .panel__toolbar h2, .ume-page .panel__toolbar h2, .system-page .panel__toolbar h2, .ume-page .panel h2, .ume-page .panel > h3, .ume-page .card > h3, .ume-page .card-title-with-hint { font-size: 17px; font-weight: 650; color: var(--nm-brand); letter-spacing: -0.02em; margin: 0; } .system-page .panel__hint { margin: -6px 0 12px; color: var(--nm-muted); font-size: 13px; } .ume-page .panel > h3, .ume-page .card > h3, .ume-page .card > .panel__toolbar { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--nm-panel-border, #c8d2de); } .ume-page .card__section-title { margin: 16px 0 10px; padding-top: 12px; border-top: 1px solid rgba(148, 163, 184, 0.14); font-size: 14px; font-weight: 650; color: var(--nm-brand); } .ume-page .ume-status-row { gap: 8px; flex-wrap: wrap; align-items: center; } .ume-conn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; align-items: start; } .ume-conn-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; } .ume-conn-col .panel__toolbar { margin-bottom: 0; padding-bottom: 10px; } .ume-conn-col + .ume-conn-col { padding-left: 28px; border-left: 1px solid rgba(148, 163, 184, 0.14); } .ume-conn-panel .ume-ws-log { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(148, 163, 184, 0.14); } @media (max-width: 960px) { .ume-conn-grid { grid-template-columns: 1fr; gap: 18px; } .ume-conn-col + .ume-conn-col { padding-left: 0; padding-top: 14px; border-left: 0; border-top: 1px solid rgba(148, 163, 184, 0.14); } } .ume-page .pt-list-table-wrap { border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 12px; overflow: hidden; background: rgba(8, 13, 24, 0.28); } .ume-page .pt-list-table thead th { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; } .ume-page .ume-ws-log { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; } .ume-page .ume-ws-log__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 12px; } .ume-page .ume-ws-log__head strong { font-size: 13px; color: var(--nm-brand); } .ume-page .ume-ws-log__head .muted { font-size: 12px; } .ume-page .ws-log-panel { margin-top: 0; max-height: 180px; border-radius: 10px; background: rgba(8, 13, 24, 0.55); } .ume-page .error-text { color: #fca5a5; } .ne-page .filter-inline, .ume-page .filter-inline, .system-page .filter-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 0; padding: 10px 12px; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 8px; background: rgba(15, 23, 42, 0.55); grid-template-columns: none; } .ne-page .filter-inline input, .ne-page .filter-inline > select, .ume-page .filter-inline input, .ume-page .filter-inline > select, .system-page .filter-inline input, .system-page .filter-inline > select { width: auto; min-width: 140px; flex: 1 1 160px; max-width: 280px; height: 32px; margin: 0; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; padding: 0 10px; font-size: 13px; } .ne-page .filter-inline > .ui-field, .ume-page .filter-inline > .ui-field, .system-page .filter-inline > .ui-field { flex: 1 1 160px; max-width: 280px; min-width: 140px; align-self: center; gap: 0; } .ne-page .filter-inline > .ui-field > .ui-field__select, .ume-page .filter-inline > .ui-field > .ui-field__select, .system-page .filter-inline > .ui-field > .ui-field__select { width: 100%; height: 32px; min-height: 32px; max-height: 32px; flex: none; margin: 0; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; padding: 0 10px; font-size: 13px; } .ne-page .filter-inline button, .ume-page .filter-inline button, .system-page .filter-inline button { height: 32px; flex: 0 0 auto; } .ne-page .pt-list, .ume-page .pt-list, .system-page .pt-list { gap: 12px; } .ne-page .pt-list-table-wrap, .ume-page .pt-list-table-wrap, .system-page .pt-list-table-wrap { border-color: rgba(148, 163, 184, 0.2); } .ne-page .pt-list-table thead th, .ume-page .pt-list-table thead th, .system-page .pt-list-table thead th { background: rgba(15, 23, 42, 0.9); color: #94a3b8; } .ne-page .pager.pt-list-pager, .ne-page .pt-list-pager, .ume-page .pager.pt-list-pager, .ume-page .pt-list-pager, .ume-page .pager, .system-page .pager.pt-list-pager, .system-page .pt-list-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; } .ne-page .pt-list-pager select, .ume-page .pt-list-pager select, .ume-page .pager select, .system-page .pt-list-pager select { width: auto; min-width: 110px; height: 32px; margin: 0; } .system-page .pt-list-actions select, .system-page .pt-list-actions input { width: auto; min-width: 0; height: 30px; margin: 0; flex: 0 0 auto; } .system-page .token-once { padding: 12px 14px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 8px; background: rgba(15, 23, 42, 0.85); color: #e2e8f0; } .system-page .token-once .panel__hint { color: #94a3b8; } .system-page .token-once code { display: block; margin: 8px 0; word-break: break-all; font-size: 12px; padding: 8px 10px; border-radius: 6px; border: 1px solid rgba(148, 163, 184, 0.2); background: #0b1220; color: #93c5fd; } .system-page .token-create { display: flex; flex-direction: column; gap: 12px; } .system-page .token-scopes { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 8px; background: rgba(15, 23, 42, 0.85); color: #e2e8f0; } .system-page .token-scopes__head { display: flex; flex-direction: column; gap: 4px; } .system-page .token-scopes__presets { display: flex; flex-wrap: wrap; gap: 8px; } .system-page .token-scopes__inherit { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #cbd5e1; } .system-page .token-scopes__grid { display: flex; flex-wrap: wrap; gap: 8px 16px; } .system-page .token-scopes__grid.is-disabled { opacity: 0.45; } .system-page .token-scopes__grid label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #cbd5e1; white-space: nowrap; } .system-page .token-scopes-cell { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #94a3b8; } .token-page__title { display: inline-flex; align-items: center; gap: 8px; margin: 0; } .help-q { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 999px; border: 1px solid #94a3b8; color: #64748b; font-size: 12px; font-weight: 600; line-height: 1; cursor: help; user-select: none; flex: 0 0 auto; } .help-q:hover, .help-q:focus-visible { border-color: #64748b; color: #334155; outline: none; } .help-q__tip { display: none; position: absolute; left: 0; top: calc(100% + 8px); z-index: 90; width: max-content; max-width: min(360px, 70vw); padding: 8px 10px; border-radius: 6px; background: #0f172a; color: #f8fafc; font-size: 12px; font-weight: 400; line-height: 1.45; white-space: normal; text-align: left; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22); pointer-events: none; } .help-q__tip::after { content: ""; position: absolute; bottom: 100%; left: 8px; border: 5px solid transparent; border-bottom-color: #0f172a; } .help-q:hover .help-q__tip, .help-q:focus-visible .help-q__tip { display: block; } .token-scopes-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; } .token-scopes-modal__backdrop { position: absolute; inset: 0; background: rgba(2, 8, 23, 0.72); } .token-scopes-modal__panel { position: relative; z-index: 1; width: min(480px, 100%); max-height: min(80vh, 640px); display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.22); background: #0f172a; color: #e2e8f0; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); } .token-scopes-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .token-scopes-modal__head h3 { margin: 0; font-size: 16px; font-weight: 650; color: #f1f5f9; } .token-scopes-modal__list { list-style: none; margin: 0; padding: 0; overflow: auto; border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 8px; background: rgba(2, 8, 23, 0.45); } .token-scopes-modal__list > li + li { border-top: 1px solid rgba(148, 163, 184, 0.14); } .token-scopes-modal__row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; margin: 0; cursor: pointer; font-size: 13px; color: #cbd5e1; } .token-scopes-modal__row:hover { background: rgba(30, 41, 59, 0.65); } .token-scopes-modal__row input { margin-top: 2px; flex: 0 0 auto; } .token-scopes-modal__label { line-height: 1.4; } .token-scopes-modal__foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding-top: 4px; } .ume-page .pt-list-actions, .ume-page .pt-list-table .btn-row { gap: 6px; } .ume-page .actions-row--inline { margin-top: 10px; } .ume-page .panel__toolbar + .actions-row--inline, .ume-page .panel__toolbar + .pt-list { margin-top: 0; } .mini-chart__bar-wrap { height: 10px; border-radius: 999px; background: #10213a; border: 1px solid #223651; overflow: hidden; } .mini-chart__bar { height: 100%; background: linear-gradient(90deg, #3973d2, #5aa1ff); } .pager { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; } .pager__meta { color: #9db2cf; font-size: 12px; } .pager__controls { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; } .pager__btn, .pager__num { min-width: 34px; padding: 6px 10px; } .pager__num.active { border-color: #4f7ec7; background: rgba(61, 130, 247, 0.24); color: #dce8ff; } .pager__size { width: auto; min-width: 88px; } .pager__jump { position: relative; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; } .pager__jump-input { width: 3.2rem; min-width: 2.5rem; max-width: 4.5rem; padding: 4px 6px; text-align: center; } .visually-hidden { position: absolute; inset: 0; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; } @keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } .page-stack { display: flex; flex-direction: column; gap: 12px; } .page-stack > .cards { margin-bottom: 0; } .panel--warn { border-color: rgba(251, 191, 36, 0.4); background: rgba(120, 53, 15, 0.35); color: #fde68a; } .panel__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; } .panel__toolbar h2, .panel__toolbar h3 { margin: 0; } .panel__actions { display: flex; flex-wrap: wrap; gap: 8px; } .btn--danger { color: #fca5a5; border-color: rgba(248, 113, 113, 0.35); background: rgba(127, 29, 29, 0.35); } .btn--danger:hover:not(:disabled) { background: rgba(153, 27, 27, 0.5); color: #fecaca; } .btn--danger:disabled { opacity: 0.55; cursor: not-allowed; } .table-actions { display: flex; gap: 8px; flex-wrap: wrap; } .modal-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(2, 8, 23, 0.72); display: flex; align-items: center; justify-content: center; padding: 16px; } .modal { width: min(720px, 100%); max-height: 90vh; overflow: auto; background: #0f172a; color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 10px; padding: 20px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45); } .modal--wide { width: min(920px, 100%); } .connect-detail-summary { margin-left: 8px; color: #94a3b8; font-size: 13px; } .connect-log { margin: 12px 0 0; padding: 12px; max-height: min(52vh, 480px); overflow: auto; background: #0f172a; color: #e2e8f0; border-radius: 8px; font-size: 12px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; } .modal h3 { margin: 0 0 16px; } .modal__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; } .cli-connect-panel { width: 100%; text-align: left; } .cli-connect-panel .form-grid, .cli-connect-panel .form-fieldset { width: 100%; max-width: none; } .cli-connect-panel .form-grid label:not(.form-check) { align-items: stretch; text-align: left; } .cli-connect-panel .form-label { display: block; margin: 0; text-align: left; } .cli-connect-panel .form-grid input, .cli-connect-panel .form-grid select, .cli-connect-panel .form-fieldset input, .cli-connect-panel .form-fieldset select { width: 100%; margin: 0; text-align: left; } .cli-connect-panel .form-fieldset { text-align: left; width: 100%; min-width: 0; min-inline-size: 0; } .cli-connect-panel .hop-proxy-fields, .cli-connect-panel .hop-proxy-fields .form-grid { width: 100%; } .cli-connect-panel .hop-proxy-fields .form-grid label { align-items: flex-start; justify-content: flex-start; text-align: left; width: 100%; } .cli-connect-panel .hop-proxy-fields .form-grid select, .cli-connect-panel .hop-proxy-fields .form-grid input { display: block; width: 100%; max-width: 100%; margin: 0; box-sizing: border-box; text-align: left; text-align-last: left; } .cli-connect-panel .hop-proxy-fields .form-field-hint { text-align: left; } .cli-connect-panel .form-fieldset legend { margin: 0 0 8px; padding: 0 6px; text-align: left; } .cli-connect-panel .form-check { display: flex; flex-direction: row; align-items: center; width: fit-content; max-width: 100%; } .card .cli-connect-panel input, .card .cli-connect-panel select, .card .cli-connect-panel textarea { margin-bottom: 0; } .cli-connect-test { display: flex; flex-direction: column; gap: 8px; width: 100%; min-width: 0; } .cli-connect-test-row { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; width: 100%; } .cli-connect-test-pick { position: relative; flex: 1 1 auto; min-width: 0; } .cli-connect-test-pick > input, .cli-connect-test-pick [data-slot="input"], .cli-connect-test-pick .input { width: 100%; margin-bottom: 0; } .cli-connect-test-suggest { width: 100%; margin: 0; padding: 4px; border: 1px solid rgba(56, 189, 248, 0.28); border-radius: 6px; background: rgba(2, 8, 23, 0.92); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.55); overflow: visible; } .cli-connect-test-suggest__item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; margin: 0; padding: 8px 10px; border: 0; border-radius: 4px; background: transparent; text-align: left; cursor: pointer; color: inherit; } .cli-connect-test-suggest__item + .cli-connect-test-suggest__item { margin-top: 2px; } .cli-connect-test-suggest__item:hover, .cli-connect-test-suggest__item.is-active { background: rgba(56, 189, 248, 0.12); } .cli-connect-test-suggest__name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 650; color: #e2e8f0; } .cli-connect-test-suggest__meta { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: #94a3b8; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; } .cli-connect-test-suggest__empty { padding: 10px 12px; font-size: 12px; color: #64748b; } .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .form-hint { margin: 0 0 12px; font-size: 12px; color: #64748b; } .form-label__required { color: #c62828; font-weight: 600; } .form-label__optional { color: #94a3b8; font-weight: 400; } .form-field-hint { font-size: 11px; color: #94a3b8; line-height: 1.35; } .form-label { display: block; margin: 0; font-size: 12px; color: #94a3b8; text-align: left; } .form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #94a3b8; } .form-grid input, .form-grid select { font-size: 14px; } .form-grid__full { grid-column: 1 / -1; } .form-fieldset { margin-top: 16px; padding: 12px; border: 1px solid var(--nm-panel-border, #1e293b); border-radius: 8px; } .form-fieldset legend, .form-fieldset__title { padding: 0 6px; font-size: 13px; font-weight: 600; color: var(--nm-text, #e2e8f0); } .form-fieldset__title { display: block; margin: 0 0 10px; padding: 0; text-align: left; } .form-check { display: flex; flex-direction: row; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; color: #cbd5e1; width: fit-content; max-width: 100%; } .form-check__text { white-space: nowrap; line-height: 1.4; } /* form-grid labels are column layout; checkbox rows must stay horizontal */ .form-grid label.form-check { flex-direction: row; align-items: center; width: fit-content; max-width: 100%; } .table-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-size: 11px; background: rgba(56, 189, 248, 0.14); color: #7dd3fc; border: 1px solid rgba(56, 189, 248, 0.22); } .form-grid--single { grid-template-columns: 1fr; } .panel__hint { margin: 0 0 12px; font-size: 13px; color: #94a3b8; line-height: 1.45; } .panel__hint--live { color: var(--nm-accent, #3b82f6); } .collect-commands { width: 100%; min-height: 160px; font-family: ui-monospace, Consolas, monospace; font-size: 13px; line-height: 1.4; padding: 10px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; resize: vertical; } .collect-meta { font-size: 13px; color: #94a3b8; margin-right: auto; } .collect-create-panel__head { margin-bottom: 0; } .collect-create-panel--collapsed { padding-bottom: 16px; } .collect-create-panel h3 { margin: 0; font-size: 15px; font-weight: 600; color: #f1f5f9; } .collect-selected-block, .collect-pick-block { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(148, 163, 184, 0.18); } .collect-selected-block__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 10px; } .collect-selected-list { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow: auto; padding: 4px 0; } .collect-selected-chip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; background: rgba(15, 23, 42, 0.85); border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 8px; color: #e2e8f0; } .collect-selected-chip__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .collect-selected-chip__meta { font-size: 12px; color: #94a3b8; } .collect-pick-filters { margin-bottom: 12px; } .collect-cmd-preview { font-size: 12px; background: rgba(2, 8, 23, 0.55); border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; padding: 10px; max-height: 120px; overflow: auto; white-space: pre-wrap; color: #cbd5e1; font-family: ui-monospace, Consolas, monospace; } .collect-cmd-preview--modal { flex: 0 0 auto; margin: 0 0 10px; max-height: 88px; } .collect-create-modal .collect-selected-block, .collect-create-modal .collect-pick-block { margin-top: 16px; } .collect-create-modal .panel__toolbar { margin-bottom: 10px; padding-bottom: 8px; } .collect-runs-panel { display: flex; flex-direction: column; gap: 10px; } .collect-runs-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; } .collect-runs-filter { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #94a3b8; } .collect-runs-filter select { min-width: 140px; padding: 6px 8px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; } .collect-runs-filter input { min-width: 180px; padding: 6px 8px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; } .collect-run-message { max-width: 420px; max-height: 160px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-size: 12px; line-height: 1.45; color: #cbd5e1; padding: 6px 8px; background: rgba(2, 8, 23, 0.55); border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; } .webcrt-page { min-height: calc(100vh - 120px); } .webcrt-session-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 13px; color: #334155; } .webcrt-term-panel { padding: 0; overflow: hidden; min-height: 420px; flex: 1; } .webcrt-term { width: 100%; height: 100%; min-height: 240px; background: #0b1220; padding: 8px; box-sizing: border-box; } .webcrt-term .xterm { height: 100%; } .webcrt-term .xterm-viewport { overflow-y: auto !important; } /* WebCRT — light sidebar + main (shared chrome tokens) */ .webcrt-shell { display: grid; grid-template-columns: 280px 1fr; height: calc(100vh - 48px); min-height: 480px; margin: -20px -28px -32px; background: var(--nm-chrome); border: 0; overflow: hidden; } .webcrt-sidebar { display: flex; flex-direction: column; background: var(--nm-nav); border-right: 1px solid var(--nm-nav-border); min-width: 0; min-height: 0; overflow: hidden; height: 100%; color: var(--nm-text); box-shadow: inset -1px 0 0 rgba(15, 27, 45, 0.04); } .webcrt-sidebar__header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: transparent; border-bottom: 1px solid rgba(148, 163, 184, 0.18); flex-shrink: 0; } .webcrt-sidebar__title { font-size: 13px; font-weight: 650; color: var(--nm-brand); line-height: 1.2; letter-spacing: -0.01em; } .webcrt-sidebar__chrome { display: flex; flex-direction: column; gap: 8px; padding: 8px 10px; background: rgba(15, 23, 42, 0.55); border-bottom: 1px solid rgba(148, 163, 184, 0.18); flex-shrink: 0; } .webcrt-sidebar__actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; user-select: none; } .webcrt-sidebar__new-btn { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--nm-brand); font-size: 12px; font-weight: 650; line-height: 1; cursor: pointer; box-shadow: none; } .webcrt-sidebar__new-btn:hover { background: transparent; color: var(--nm-accent); text-decoration: underline; } .app-main .webcrt-sidebar__new-btn { border: 0; box-shadow: none; height: 28px; border-radius: 0; background: transparent; } .webcrt-menubar__item { position: relative; flex-shrink: 0; } .webcrt-menubar__btn { display: inline-flex; align-items: center; height: 28px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #475569; font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer; box-shadow: none; } .webcrt-menubar__btn:hover, .webcrt-menubar__btn.is-open { background: transparent; color: var(--nm-brand); text-decoration: underline; } .app-main .webcrt-menubar__btn { border: 0; box-shadow: none; height: 28px; border-radius: 0; background: transparent; } .webcrt-menubar__menu { position: absolute; top: calc(100% + 2px); left: 0; z-index: 40; min-width: 180px; padding: 4px 0; background: #0f172a; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 4px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); color: #e2e8f0; } .webcrt-menubar__menu--end { left: auto; right: 0; } .webcrt-menubar__menu-item { display: block; width: 100%; padding: 7px 14px; border: 0; background: transparent; color: #e2e8f0; font-size: 12px; text-align: left; cursor: pointer; box-shadow: none; border-radius: 0; } .webcrt-menubar__menu-item:hover { background: rgba(37, 99, 235, 0.2); color: #f1f5f9; } .app-main .webcrt-menubar__menu-item { border: 0; box-shadow: none; border-radius: 0; height: auto; } .webcrt-session-opts { display: grid; gap: 14px; } .webcrt-session-opts__field { display: grid; gap: 6px; font-size: 13px; color: #334155; font-weight: 600; } .webcrt-session-opts__field--check { grid-template-columns: 1fr auto; align-items: center; gap: 12px; } .webcrt-session-opts__field--check input[type="checkbox"] { width: 16px; height: 16px; margin: 0; } .webcrt-session-opts__field select { height: 34px; padding: 0 10px; border: 1px solid #b8c4d2; border-radius: 6px; background: #fff; font-size: 13px; font-weight: 500; color: #0f172a; } .webcrt-session-opts__hint { margin: 12px 0 0; } .webcrt-session-opts__colors { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; } .webcrt-session-opts__color input[type="color"] { width: 100%; height: 34px; padding: 2px; border: 1px solid #b8c4d2; border-radius: 6px; background: #fff; cursor: pointer; } .webcrt-session-opts__preview { grid-column: 1 / -1; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid #c5d0de; border-radius: 6px; font-family: Consolas, "Courier New", monospace; font-size: 13px; font-weight: 600; } .webcrt-session-opts-modal { width: min(460px, 100%); } .webcrt-keyword-modal { width: min(520px, 100%); } .webcrt-keyword-add { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: end; margin: 12px 0; } .webcrt-keyword-add__regex { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #94a3b8; padding-bottom: 8px; white-space: nowrap; } .webcrt-keyword-list-wrap { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 6px 8px; margin-top: 4px; } .webcrt-keyword-list-head { grid-column: 1; display: grid; grid-template-columns: 1fr 48px; gap: 8px; padding: 0 8px; font-size: 11px; font-weight: 650; color: #94a3b8; } .webcrt-keyword-list { grid-column: 1; list-style: none; margin: 0; padding: 0; min-height: 160px; max-height: 220px; overflow: auto; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; background: rgba(2, 8, 23, 0.55); } .webcrt-keyword-list__empty { padding: 16px; font-size: 12px; color: #94a3b8; text-align: center; } .webcrt-keyword-list__row { display: grid; grid-template-columns: 1fr 48px; gap: 8px; width: 100%; padding: 7px 8px; border: 0; border-bottom: 1px solid rgba(148, 163, 184, 0.12); background: transparent; color: #e2e8f0; font-size: 12px; text-align: left; cursor: pointer; border-radius: 0; box-shadow: none; } .webcrt-keyword-list__row:hover { background: rgba(30, 41, 59, 0.75); } .webcrt-keyword-list__row.is-selected { background: rgba(37, 99, 235, 0.22); color: #93c5fd; } .app-main .webcrt-keyword-list__row { border-radius: 0; box-shadow: none; height: auto; } .webcrt-keyword-list__pattern { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .webcrt-keyword-list-actions { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; gap: 4px; } .webcrt-keyword-list-actions button { width: 32px; height: 28px; padding: 0; font-size: 14px; line-height: 1; } .webcrt-keyword-footer { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; margin-top: 14px; } .webcrt-keyword-color input[type="color"] { width: 48px; height: 32px; padding: 2px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; cursor: pointer; } .webcrt-sidebar__toolbar { display: none; } .webcrt-sidebar__chrome .webcrt-sidebar__search { padding: 0; border-bottom: 0; flex-shrink: 0; } .webcrt-sidebar__search input { width: 100%; box-sizing: border-box; height: 30px; padding: 0 10px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; font-size: 12px; } .webcrt-sidebar__search input::placeholder { color: var(--nm-muted); } .webcrt-sidebar__chrome .webcrt-source-tabs { margin: 0; } .webcrt-source-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0; padding: 2px; background: rgba(2, 8, 23, 0.55); border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; flex-shrink: 0; } .webcrt-source-tabs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .webcrt-new-session-modal, .webcrt-auth-modal { width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; } .webcrt-auth-error { color: #b91c1c; margin-top: -4px; } .webcrt-source-tabs__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 0; height: 26px; padding: 0 2px; border: 0; border-radius: 4px; background: transparent; color: var(--nm-muted); font-size: 11px; font-weight: 600; line-height: 1; cursor: pointer; box-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .app-main .webcrt-source-tabs__btn, .app-main .webcrt-sidebar__footer button, .app-main .webcrt-tree__item, .app-main .webcrt-action-btn { border-radius: 6px; } .app-main .webcrt-source-tabs__btn, .app-main .webcrt-sidebar__footer button { border: 0; background: transparent; box-shadow: none; height: 28px; padding: 0 6px; } .app-main .webcrt-source-tabs__btn.is-active, .app-main .webcrt-sidebar__footer button.is-active { background: rgba(30, 41, 59, 0.95); color: #93c5fd; box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.4); } .app-main .webcrt-tree__item { border: 0; border-left: 2px solid transparent; border-radius: 6px; background: transparent; box-shadow: none; padding: 7px 10px; } .app-main .webcrt-tree__item.is-active, .app-main .webcrt-tree__item.is-selected { background: var(--nm-nav-active); border-left-color: var(--nm-accent); } .app-main .webcrt-action-btn { border: 1px solid rgba(148, 163, 184, 0.28); background: #0b1220; color: #e2e8f0; height: 28px; padding: 0 10px; } .app-main .webcrt-action-btn:hover { background: rgba(51, 65, 85, 0.75); border-color: rgba(148, 163, 184, 0.4); color: #f1f5f9; } .app-main .webcrt-action-btn.is-active { background: rgba(37, 99, 235, 0.22); border-color: rgba(59, 130, 246, 0.45); color: #93c5fd; } .app-main .webcrt-action-btn.is-warn { background: rgba(127, 29, 29, 0.35); border-color: rgba(248, 113, 113, 0.4); color: #fecaca; } .webcrt-source-tabs__btn:last-child { border-right: 0; } .webcrt-source-tabs__btn.is-active { background: rgba(30, 41, 59, 0.95); color: #93c5fd; box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.4); font-weight: 650; } .webcrt-tree { flex: 1 1 auto; overflow-x: hidden; overflow-y: auto; background: transparent; min-height: 0; overscroll-behavior: contain; padding: 8px 10px; } .webcrt-tree__folder { padding: 6px 8px; font-size: 12px; font-weight: 650; color: var(--nm-brand); } .webcrt-tree__empty { padding: 10px 12px; font-size: 12px; color: var(--nm-muted); } .webcrt-tree__list { list-style: none; margin: 0; padding: 0 0 8px; } .webcrt-tree__item { width: 100%; display: flex; align-items: flex-start; gap: 6px; padding: 7px 10px 7px 10px; margin-bottom: 2px; border: 0; border-radius: 6px; border-left: 2px solid transparent; background: transparent; text-align: left; cursor: pointer; font-size: 12px; } .webcrt-tree__item:hover { background: var(--nm-nav-hover); } .webcrt-tree__item.is-selected, .webcrt-tree__item.is-active { background: var(--nm-nav-active); border-left-color: var(--nm-accent); } .webcrt-tree__icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; color: var(--nm-accent); line-height: 1; } .webcrt-tree__label { display: flex; flex-direction: column; min-width: 0; } .webcrt-tree__name { color: var(--nm-brand); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .webcrt-tree__item.is-active .webcrt-tree__name { color: var(--nm-accent); } .webcrt-tree__meta { color: var(--nm-muted); font-size: 11px; } .webcrt-sidebar__pager { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 10px; border-top: 1px solid rgba(148, 163, 184, 0.18); background: rgba(15, 23, 42, 0.55); font-size: 11px; color: var(--nm-muted); flex-shrink: 0; } .webcrt-sidebar__pager-btns { display: flex; gap: 4px; } .app-main .webcrt-sidebar__pager-btns button, .webcrt-sidebar__pager-btns button { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 24px; padding: 0; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; cursor: pointer; line-height: 1; font-size: 14px; } .app-main .webcrt-sidebar__pager-btns button:disabled, .webcrt-sidebar__pager-btns button:disabled { opacity: 0.35; cursor: not-allowed; } .webcrt-sidebar__footer { display: flex; gap: 2px; margin: 0 10px 10px; padding: 2px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; background: rgba(2, 8, 23, 0.55); flex-shrink: 0; } .webcrt-sidebar__footer button { display: inline-flex; align-items: center; justify-content: center; flex: 1; height: 28px; padding: 0 6px; border: 0; border-radius: 4px; background: transparent; color: var(--nm-muted); font-size: 12px; font-weight: 600; line-height: 1; } .webcrt-sidebar__footer button.is-active { background: rgba(30, 41, 59, 0.95); color: #93c5fd; box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.4); font-weight: 650; } .webcrt-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; height: 100%; overflow: hidden; background: #0b1220; border-left: 1px solid rgba(148, 163, 184, 0.18); color: #e2e8f0; } .webcrt-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 6px 8px 0; background: rgba(15, 23, 42, 0.92); border-bottom: 1px solid rgba(148, 163, 184, 0.18); min-height: 34px; flex-shrink: 0; } .webcrt-tabs__item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid transparent; border-bottom: 0; border-radius: 6px 6px 0 0; background: transparent; color: #94a3b8; font-size: 12px; cursor: pointer; white-space: nowrap; } .webcrt-tabs__item:hover { background: rgba(51, 65, 85, 0.55); color: #e2e8f0; } .webcrt-tabs__item.is-active { background: #0b1220; border-color: rgba(148, 163, 184, 0.22); color: #93c5fd; font-weight: 650; box-shadow: 0 1px 0 #0b1220; } .webcrt-tabs__item.is-dead { color: #f87171; } .webcrt-tabs__item.is-dead.is-active { background: rgba(127, 29, 29, 0.35); border-color: rgba(248, 113, 113, 0.35); color: #fecaca; } .webcrt-tabs__item.is-connecting { color: #fbbf24; } /* span close mark — avoid global `button` border/padding chrome */ .webcrt-tabs__close { display: inline; margin: 0; padding: 0; border: none; background: none; box-shadow: none; outline: none; cursor: pointer; font: inherit; font-weight: inherit; line-height: inherit; color: inherit; opacity: 0.4; } .webcrt-tabs__close::before { content: " "; } .webcrt-tabs__item:hover .webcrt-tabs__close, .webcrt-tabs__close:hover { opacity: 0.75; } .webcrt-tabs__close:focus-visible { opacity: 1; text-decoration: underline; } .webcrt-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px; background: rgba(15, 23, 42, 0.92); border-bottom: 1px solid rgba(148, 163, 184, 0.18); flex-shrink: 0; } .webcrt-action-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 28px; padding: 0 10px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer; } .webcrt-action-btn:hover { background: rgba(51, 65, 85, 0.75); border-color: rgba(148, 163, 184, 0.4); color: #f1f5f9; } .webcrt-action-btn.is-active { background: rgba(37, 99, 235, 0.22); border-color: rgba(59, 130, 246, 0.45); color: #93c5fd; } .webcrt-action-btn.is-warn { background: rgba(127, 29, 29, 0.35); border-color: rgba(248, 113, 113, 0.4); color: #fecaca; } .webcrt-action-btn.is-warn:hover { background: rgba(153, 27, 27, 0.5); border-color: rgba(248, 113, 113, 0.55); } .webcrt-connect-banner { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding: 8px 12px; background: #1e3a5f; border-bottom: 1px solid #274a73; color: #dbeafe; z-index: 2; } .webcrt-connect-banner__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; } .webcrt-connect-banner__text strong { font-size: 13px; } .webcrt-connect-banner__text span { opacity: 0.85; } .webcrt-disconnect-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-shrink: 0; padding: 8px 12px; background: #7f1d1d; border-bottom: 1px solid #991b1b; color: #fee2e2; z-index: 2; } .webcrt-disconnect-banner__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; } .webcrt-disconnect-banner__text strong { font-size: 13px; } .webcrt-disconnect-banner__text span { opacity: 0.85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .webcrt-disconnect-banner .webcrt-action-btn.is-warn { background: rgba(15, 23, 42, 0.85); border-color: rgba(248, 113, 113, 0.45); color: #fecaca; flex-shrink: 0; } .webcrt-main__body { flex: 1; min-height: 0; position: relative; background: #0b1220; display: flex; flex-direction: row; align-items: stretch; } .webcrt-main__terms { flex: 1; min-width: 0; min-height: 0; position: relative; } .webcrt-main__pane { position: absolute; inset: 0; display: flex; flex-direction: column; } .webcrt-main__pane[hidden] { display: none !important; } .webcrt-main__pane .webcrt-term, .webcrt-main__pane .webcrt-term-wrap, .webcrt-main__pane .webcrt-ssh-login { flex: 1; width: 100%; height: auto !important; min-height: 240px !important; } .webcrt-ssh-login { display: flex; flex-direction: column; min-height: 0; } .webcrt-ssh-login__save { flex: 0 0 auto; padding: 6px 12px; border-bottom: 1px solid rgba(148, 163, 184, 0.25); color: #cbd5e1; background: #0b1220; } .webcrt-ssh-login .ssh-login-term { flex: 1; min-height: 200px !important; } .webcrt-main__empty, .webcrt-main__placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #cbd5e1; background: #0b1220; text-align: center; padding: 24px; } .webcrt-main__empty .panel__hint { color: #94a3b8; } .webcrt-main__placeholder--error { color: #fecaca; } .webcrt-error-detail { margin: 8px 0 0; max-width: 80%; white-space: pre-wrap; word-break: break-word; font-size: 12px; color: #fee2e2; text-align: left; } .webcrt-statusline { display: none; } .webcrt-term-wrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; height: 100%; } .webcrt-term-wrap .webcrt-term { flex: 1; min-height: 0; } .webcrt-paste-status { position: absolute; top: 8px; right: 10px; z-index: 4; padding: 4px 10px; font-size: 12px; color: #e2e8f0; background: rgba(15, 23, 42, 0.92); border: 1px solid #475569; border-radius: 2px; pointer-events: none; } .webcrt-paste-bridge { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; background: rgba(2, 6, 23, 0.55); padding: 16px; } .webcrt-paste-bridge__card { width: min(420px, 100%); display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 10px; background: #0f172a; border: 1px solid #334155; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); } .webcrt-paste-bridge__hint { margin: 0; font-size: 13px; line-height: 1.45; color: #cbd5e1; } .webcrt-paste-bridge__input { width: 100%; resize: vertical; min-height: 88px; padding: 8px 10px; border-radius: 6px; border: 1px solid #475569; background: #020617; color: #e2e8f0; font: inherit; } .webcrt-paste-bridge__actions { display: flex; gap: 8px; justify-content: flex-end; } .webcrt-paste-bridge__actions button { padding: 6px 12px; border-radius: 6px; border: 1px solid #475569; background: #1e293b; color: #e2e8f0; cursor: pointer; } .webcrt-paste-bridge__actions button:hover { background: #334155; } .webcrt-find { display: flex; gap: 4px; align-items: center; padding: 4px 8px; background: #1e293b; border-bottom: 1px solid #334155; z-index: 2; } .webcrt-find input { flex: 1; min-width: 0; background: #0f172a; border: 1px solid #475569; color: #e2e8f0; padding: 2px 8px; font-size: 12px; } .webcrt-find button { background: #334155; border: 1px solid #475569; color: #e2e8f0; padding: 2px 8px; cursor: pointer; } .webcrt-ctx { position: fixed; z-index: 50; min-width: 120px; background: #1e293b; border: 1px solid #475569; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); display: flex; flex-direction: column; padding: 4px 0; } .webcrt-ctx button { background: transparent; border: 0; color: #e2e8f0; text-align: left; padding: 6px 14px; cursor: pointer; font-size: 12px; } .webcrt-ctx button:hover { background: #334155; } .webcrt-ctx button:disabled { opacity: 0.4; cursor: default; } .webcrt-ctx button:disabled:hover { background: transparent; } .webcrt-tab-ctx { border-radius: 6px; min-width: 140px; } .webcrt-tree__row { display: flex; align-items: stretch; gap: 0; } .webcrt-tree__fav { flex: 0 0 22px; display: flex; align-items: center; justify-content: center; background: transparent; border: 0; color: #94a3b8; cursor: pointer; padding: 0; } .webcrt-tree__fav:hover { color: #fbbf24; } .webcrt-tree__row .webcrt-tree__item { flex: 1; min-width: 0; } .webcrt-sidebar__pins { max-height: 28%; overflow: auto; border-bottom: 1px solid #334155; padding-bottom: 4px; } .webcrt-sidebar__pin-title { font-size: 11px; color: #94a3b8; padding: 6px 10px 2px; text-transform: uppercase; letter-spacing: 0.04em; } .webcrt-sidebar__prefs { display: flex; gap: 8px; padding: 8px 10px; border-top: 1px solid #334155; font-size: 12px; color: #cbd5e1; } .webcrt-sidebar__prefs label { display: flex; flex-direction: column; gap: 2px; flex: 1; } .webcrt-sidebar__prefs select, .webcrt-sidebar__prefs input { background: #0f172a; border: 1px solid #475569; color: #e2e8f0; padding: 2px 6px; font-size: 12px; } .webcrt-buttonbar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; padding: 4px 8px; background: #1e293b; border-bottom: 1px solid #334155; } .webcrt-buttonbar__btn { background: #334155; border: 1px solid #475569; color: #e2e8f0; padding: 2px 8px; font-size: 11px; cursor: pointer; border-radius: 2px; } .webcrt-buttonbar__btn:hover { background: #475569; } .webcrt-broadcast { display: flex; gap: 4px; margin-left: auto; align-items: center; } .webcrt-broadcast input { width: 160px; background: #0f172a; border: 1px solid #475569; color: #e2e8f0; padding: 2px 6px; font-size: 11px; } .webcrt-broadcast button { background: #0ea5e9; border: 0; color: #0f172a; padding: 2px 8px; font-size: 11px; cursor: pointer; } .webcrt-buttonbar-edit { padding: 6px 8px; background: #0f172a; border-bottom: 1px solid #334155; } .webcrt-buttonbar-edit textarea { width: 100%; background: #1e293b; border: 1px solid #475569; color: #e2e8f0; font-family: Consolas, monospace; font-size: 12px; padding: 6px; } .webcrt-sftp-split { flex: 0 0 5px; width: 5px; cursor: col-resize; background: #1e293b; border-left: 1px solid #334155; border-right: 1px solid #334155; z-index: 4; position: relative; } .webcrt-sftp-split:hover, .webcrt-sftp-split.is-dragging { background: #0ea5e9; } .webcrt-sftp-split::after { content: ""; position: absolute; inset: 0 -3px; } .webcrt-sftp { position: relative; flex: 0 0 auto; width: 420px; max-width: 75%; min-width: 280px; background: #0f172a; border-left: 0; z-index: 3; display: flex; flex-direction: column; min-height: 0; } .webcrt-sftp.is-busy { cursor: progress; } .webcrt-sftp.is-drop-target { outline: 1px solid #0ea5e9; outline-offset: -1px; } .webcrt-sftp__drop-overlay { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; font-size: 12px; font-weight: 600; color: #e0f2fe; background: rgba(14, 165, 233, 0.18); border: 1px dashed #38bdf8; pointer-events: none; } .webcrt-sftp__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 5px 6px; border-bottom: 1px solid #334155; flex-shrink: 0; background: #0f172a; } .webcrt-sftp__bar input { flex: 1; min-width: 0; height: 24px; background: #111827; border: 1px solid #334155; border-radius: 4px; color: #cbd5e1; padding: 0 6px; font-size: 11px; line-height: 1; } .webcrt-sftp__bar button, .webcrt-sftp__upload { display: inline-flex; align-items: center; justify-content: center; height: 24px; background: #1e293b; border: 1px solid #334155; border-radius: 4px; color: #cbd5e1; padding: 0 8px; font-size: 11px; font-weight: 500; line-height: 1; cursor: pointer; } .webcrt-sftp__bar button:hover:not(:disabled), .webcrt-sftp__upload:hover:not(.is-disabled) { background: #243447; border-color: #475569; color: #e2e8f0; } .webcrt-sftp__bar button:disabled, .webcrt-sftp__upload.is-disabled { opacity: 0.55; cursor: not-allowed; } .webcrt-sftp__status { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 3px 8px; font-size: 10px; color: #64748b; border-bottom: 1px solid #1e293b; flex-shrink: 0; } .webcrt-sftp__status--warn { color: #fbbf24; background: rgba(251, 191, 36, 0.08); } .webcrt-sftp__cancel { flex-shrink: 0; height: 20px; padding: 0 8px; border: 1px solid #475569; border-radius: 4px; background: #1e293b; color: #f87171; font-size: 10px; font-weight: 600; cursor: pointer; } .webcrt-sftp__cancel:hover { background: #7f1d1d; border-color: #ef4444; color: #fecaca; } .webcrt-sftp__table-wrap { flex: 1; min-height: 0; overflow: auto; } .webcrt-sftp__table { border-collapse: collapse; table-layout: fixed; font-size: 11px; line-height: 1.35; color: #cbd5e1; } .webcrt-sftp__table thead th { position: sticky; top: 0; z-index: 1; background: #0f172a; color: #64748b; font-size: 10px; font-weight: 500; text-align: left; padding: 3px 6px 3px 4px; border-bottom: 1px solid #1e293b; white-space: nowrap; user-select: none; overflow: hidden; } /* Beat .app-main button { white pill } — plain header text like the file rows. */ .app-main .webcrt-sftp__th-label, .webcrt-sftp__th-label { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; padding: 0; border: none; border-radius: 0; background: transparent; box-shadow: none; color: #64748b; font-family: inherit; font-size: 10px; font-weight: 500; line-height: 1.3; letter-spacing: normal; text-align: inherit; text-transform: none; cursor: pointer; } .app-main .webcrt-sftp__th-label:hover, .webcrt-sftp__th-label:hover { color: #94a3b8; background: transparent; border: none; } .app-main .webcrt-sftp__table thead th.is-sorted .webcrt-sftp__th-label, .webcrt-sftp__table thead th.is-sorted .webcrt-sftp__th-label { color: #94a3b8; } .webcrt-sftp__col-resizer { position: absolute; top: 0; right: 0; width: 5px; height: 100%; cursor: col-resize; z-index: 2; } .webcrt-sftp__col-resizer::after { content: ""; position: absolute; top: 2px; bottom: 2px; right: 1px; width: 1px; background: transparent; } .webcrt-sftp__col-resizer:hover::after, .webcrt-sftp__col-resizer:active::after { background: #0ea5e9; } .webcrt-sftp__table tbody tr { cursor: pointer; user-select: none; } .webcrt-sftp__table tbody tr:hover { background: #111827; } .webcrt-sftp__table tbody tr.is-selected { background: #1e3a5f; } .webcrt-sftp__table tbody tr.is-selected:hover { background: #234872; } .webcrt-sftp__table tbody tr.is-busy { opacity: 0.7; cursor: progress; } .webcrt-sftp__empty-row td { color: #64748b; text-align: center; padding: 18px 8px; cursor: default; } .webcrt-sftp__table td { padding: 3px 6px; border-bottom: 1px solid #1e293b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; } .webcrt-sftp__col-name { color: #e2e8f0; } .webcrt-sftp__col-size { text-align: right; font-variant-numeric: tabular-nums; color: #64748b; } .webcrt-sftp__table thead th.webcrt-sftp__col-size, .webcrt-sftp__table thead th.webcrt-sftp__col-size .webcrt-sftp__th-label { text-align: right; } .webcrt-sftp__col-mtime { font-variant-numeric: tabular-nums; color: #64748b; } .webcrt-sftp__col-owner, .webcrt-sftp__col-group { color: #64748b; } .webcrt-sftp__col-mode { font-family: Consolas, "Courier New", monospace; font-size: 10px; color: #475569; } .webcrt-sftp__name-cell { display: flex; align-items: center; gap: 6px; min-width: 0; } .webcrt-sftp__icon { display: inline-flex; flex-shrink: 0; color: #64748b; line-height: 1; } .webcrt-sftp__icon.is-dir { color: #d97706; } .webcrt-sftp__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; } @media (max-width: 900px) { .webcrt-shell { grid-template-columns: 1fr; height: auto; min-height: calc(100vh - 64px); } .webcrt-sidebar { max-height: 42vh; } .webcrt-main { min-height: 50vh; } } @media (max-width: 1200px) { .cards { grid-template-columns: 1fr; } .filter-inline { grid-template-columns: 1fr; } .actions-row--inline { flex-wrap: wrap; } .split { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } } /* ---- Topology — dark sidebar + canvas (shared chrome tokens) ---- */ .topo-page { --topo-sidebar-w: 260px; display: grid; grid-template-columns: var(--topo-sidebar-w) 1fr; gap: 12px; height: calc(100vh - 48px); min-height: 520px; margin: -20px -28px -32px; padding: 12px 14px 14px; background: var(--nm-chrome); transition: grid-template-columns 0.18s ease; } .topo-page.is-sidebar-collapsed { grid-template-columns: 36px 1fr; } .topo-page.is-sidebar-resizing { transition: none; cursor: col-resize; } .topo-sidebar { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 0; background: var(--nm-nav); border: 1px solid var(--nm-nav-border); border-radius: 0; border-left: 0; border-top: 0; border-bottom: 0; padding: 10px; overflow: hidden; color: var(--nm-text); box-shadow: none; } .topo-sidebar__resizer { position: absolute; top: 0; right: -8px; z-index: 6; width: 12px; height: 100%; cursor: col-resize; touch-action: none; } .topo-sidebar__resizer::after { content: ""; position: absolute; top: 12%; bottom: 12%; left: 50%; width: 2px; transform: translateX(-50%); border-radius: 1px; background: transparent; transition: background 0.12s ease; } .topo-sidebar__resizer:hover::after, .topo-sidebar__resizer.is-dragging::after { background: rgba(59, 130, 246, 0.75); } .topo-page.is-sidebar-collapsed .topo-sidebar { padding: 4px; align-items: stretch; } .topo-sidebar__rail-wrap { display: flex; flex-direction: column; flex: 1; min-height: 0; gap: 4px; } .topo-sidebar__rail { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; border: 0; background: transparent; padding: 8px 0; cursor: pointer; color: var(--nm-muted); border-radius: 6px; } .topo-sidebar__rail-wrap > .topo-sidebar__rail:first-child { flex: 1; } .topo-sidebar__rail .topo-sidebar__rail-icon { width: 28px; height: 28px; border-radius: 6px; border: 1px solid transparent; } .topo-sidebar__rail:hover .topo-sidebar__rail-icon { border-color: rgba(148, 163, 184, 0.28); background: rgba(30, 41, 59, 0.85); } .topo-sidebar__rail:hover { background: var(--nm-nav-hover); color: var(--nm-brand); } .topo-sidebar__rail-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; font-weight: 600; } .topo-sidebar__rail-label { writing-mode: vertical-rl; text-orientation: mixed; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; } .topo-sidebar__section { display: flex; flex-direction: column; gap: 6px; min-height: 0; min-width: 0; } .topo-sidebar__section--grow { flex: 1; } .app-main .topo-sidebar__icon-btn, .topo-sidebar__icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; min-width: 24px; padding: 0 !important; margin: 0; border: 0 !important; border-radius: 4px !important; background: transparent !important; box-shadow: none !important; color: #64748b; cursor: pointer; flex: 0 0 auto; } .app-main .topo-sidebar__icon-btn:hover:not(:disabled), .topo-sidebar__icon-btn:hover:not(:disabled) { color: var(--nm-brand, #f1f5f9); background: var(--nm-nav-hover, #152033) !important; } .app-main .topo-sidebar__icon-btn:disabled, .topo-sidebar__icon-btn:disabled { opacity: 0.4; cursor: not-allowed; } .topo-tree-search { position: relative; margin: 0 0 4px; } .topo-tree-search__bar { display: flex; align-items: center; gap: 2px; min-width: 0; } .topo-tree-search__bar > .input { flex: 1 1 auto; min-width: 0; } .topo-tree-search__panel { position: absolute; z-index: 40; top: calc(100% + 4px); left: 0; right: 0; max-height: min(360px, 50vh); overflow: auto; padding: 4px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 8px; background: #0b1220; color: #e2e8f0; box-shadow: 0 8px 24px rgba(2, 8, 23, 0.55); } .topo-tree-search__item { display: flex; flex-direction: column; gap: 2px; padding: 2px; border-radius: 6px; } .topo-tree-search__item + .topo-tree-search__item { margin-top: 2px; border-top: 1px solid rgba(148, 163, 184, 0.16); padding-top: 4px; } .topo-tree-search__ne { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 0 8px; width: 100%; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; text-align: left; cursor: pointer; color: inherit; } .topo-tree-search__ne:hover { background: rgba(148, 163, 184, 0.12); } .topo-tree-search__name { grid-column: 1; font-size: 12px; font-weight: 600; color: #e2e8f0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .topo-tree-search__ip { grid-column: 1; font-size: 11px; } .topo-tree-search__meta { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 11px; white-space: nowrap; } .topo-tree-search__views { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 6px 4px; } .topo-tree-search__view { max-width: 100%; padding: 2px 8px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: rgba(30, 41, 59, 0.9); font-size: 11px; color: #93c5fd; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .topo-tree-search__view:hover { background: rgba(51, 65, 85, 0.95); border-color: rgba(96, 165, 250, 0.45); } .topo-tree-search__hint { margin: 0; padding: 8px; font-size: 12px; } .topo-palette-source { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; background: rgba(15, 23, 42, 0.85); border: 1px solid var(--nm-nav-border, rgba(148, 163, 184, 0.22)); border-radius: 6px; } .topo-palette-source__btn { border: 0; background: transparent; border-radius: 4px; padding: 5px 6px; font-size: 11px; font-weight: 600; color: var(--nm-muted); cursor: pointer; } .topo-palette-source__btn.is-active { background: rgba(30, 41, 59, 0.95); color: #93c5fd; box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.4); } .topo-page .topo-sidebar__section { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; } .topo-dir { flex: 1; min-height: 0; overflow: auto; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; background: rgba(2, 8, 23, 0.45); } .topo-dir__list { list-style: none; margin: 0; padding: 4px 0; } .topo-dir__list--nested { margin: 0 0 2px 10px; padding: 2px 0 4px; border-left: 1px solid rgba(148, 163, 184, 0.18); } .topo-dir__block { list-style: none; } .topo-dir__block--sep { margin-top: 4px; padding-top: 4px; border-top: 1px solid rgba(148, 163, 184, 0.18); } .topo-dir__row { display: flex; align-items: center; min-height: 28px; gap: 2px; margin: 0 4px; padding: 0 4px 0 2px; border-radius: 4px; } .topo-dir__row:hover { background: rgba(30, 41, 59, 0.65); } .topo-dir__row:last-child { border-bottom: 0; } .topo-dir__row--root { min-height: 32px; background: rgba(30, 41, 59, 0.55); border-bottom: 1px solid rgba(148, 163, 184, 0.18); position: sticky; top: 0; z-index: 1; } .topo-dir__row--file { min-height: 26px; } .topo-dir__row.is-active { background: rgba(37, 99, 235, 0.22); box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.4); } .topo-dir__row.is-active .topo-dir__name { font-weight: 600; color: var(--nm-accent); } .topo-dir__twist { border: 0; background: transparent; width: 18px; height: 24px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #64748b; flex: 0 0 auto; } .topo-dir__indent { width: 10px; flex: 0 0 auto; } .topo-dir__item { flex: 1; min-width: 0; border: 0; background: transparent; display: flex; align-items: center; gap: 6px; padding: 2px 2px; cursor: pointer; color: inherit; text-align: left; } .topo-dir__icon { width: 16px; height: 16px; border-radius: 3px; display: grid; place-items: center; flex: 0 0 auto; color: #475569; } .topo-dir__icon--root { color: #1d4ed8; } .topo-dir__icon--region { color: #0f766e; } .topo-dir__icon--core { color: #b45309; } .topo-dir__icon--aggregation { color: #1d4ed8; } .topo-dir__icon--access { color: var(--nm-accent, #3b82f6); } .topo-dir__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--nm-text); } .topo-dir__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0; } .topo-dir__meta { font-size: 11px; color: var(--nm-muted, #94a3b8); } .topo-dir__action { border: 0; background: transparent; width: 20px; height: 20px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #94a3b8; opacity: 0; flex: 0 0 auto; } .topo-dir__row:hover .topo-dir__action, .topo-dir__row.is-active .topo-dir__action { opacity: 1; } .topo-dir__action:hover { color: var(--nm-brand, #f1f5f9); background: var(--nm-nav-hover, #152033); } .topo-dir__toolbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 6px 6px 20px; } .topo-dir__toolbar button { border: 0; background: transparent; border-radius: 4px; font-size: 11px; padding: 2px 6px; cursor: pointer; color: var(--nm-accent); display: inline-flex; align-items: center; gap: 4px; } .topo-dir__toolbar button:hover { background: rgba(59, 130, 246, 0.08); } .topo-dir__hint { margin: 0; font-size: 11px; line-height: 1.4; color: #94a3b8; } .topo-dir__icon svg, .topo-tree__glyph-svg { display: block; } .topo-browser { flex: 1; min-height: 0; display: flex; flex-direction: column; margin: 0; border: 0; border-radius: 0; background: rgba(7, 11, 20, 0.92); overflow: hidden; color: #e2e8f0; } .topo-browser__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 18px 10px; border-bottom: 1px solid rgba(148, 163, 184, 0.18); background: rgba(15, 23, 42, 0.85); } .topo-browser__head strong { font-size: 15px; font-weight: 650; color: #f1f5f9; } .topo-browser__sub { margin: 4px 0 0; font-size: 12px; color: #94a3b8; } .topo-browser__actions { display: flex; flex-wrap: wrap; gap: 6px; flex: 0 0 auto; } .topo-browser__actions .btn { display: inline-flex; align-items: center; gap: 4px; } .topo-browser__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 48px 20px; color: #94a3b8; font-size: 13px; } .topo-browser__empty p { margin: 0; } .topo-browser__empty-actions { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; } .topo-browser__empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: rgba(15, 23, 42, 0.85); border: 1px solid rgba(148, 163, 184, 0.22); color: #5eead4; box-shadow: none; } .topo-browser__grid { flex: 1; min-height: 0; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; align-content: start; padding: 16px 18px 20px; background: rgba(2, 8, 23, 0.35); } .topo-browser__grid--regions { grid-template-columns: repeat(auto-fill, minmax(148px, 160px)); gap: 20px 22px; padding: 24px 22px 32px; background: rgba(2, 8, 23, 0.45); justify-content: start; } /* Beat .app-main button { background:#fff; color:#1f2937; border } */ .app-main .topo-region-hex, .topo-region-hex { width: 140px; height: 156px; box-sizing: border-box; border: 0 !important; border-radius: 0; box-shadow: none; padding: 34px 18px 30px; margin: 0; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; cursor: pointer; color: #fff !important; transition: transform 0.15s ease, filter 0.15s ease; } .app-main .topo-region-hex:hover, .topo-region-hex:hover, .app-main .topo-region-hex.is-hot, .topo-region-hex.is-hot { transform: translateY(-2px) scale(1.03); filter: brightness(1.06); } .app-main .topo-region-hex.is-selected, .topo-region-hex.is-selected, .app-main .topo-region-hex.is-hot, .topo-region-hex.is-hot { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92), 0 0 0 6px rgba(26, 86, 168, 0.55); z-index: 1; } .app-main .topo-region-hex.is-selected, .topo-region-hex.is-selected { filter: brightness(1.08); transform: translateY(-2px) scale(1.04); } .app-main .topo-region-hex--tone-0, .topo-region-hex--tone-0 { background: linear-gradient(160deg, #3b82f6 0%, #1e3a5f 55%, #0f172a 100%) !important; } .app-main .topo-region-hex--tone-1, .topo-region-hex--tone-1 { background: linear-gradient(160deg, #38bdf8 0%, #1e40af 52%, #0f172a 100%) !important; } .app-main .topo-region-hex--tone-2, .topo-region-hex--tone-2 { background: linear-gradient(160deg, #2dd4bf 0%, #0f766e 50%, #0f172a 100%) !important; } .app-main .topo-region-hex--tone-3, .topo-region-hex--tone-3 { background: linear-gradient(160deg, #64748b 0%, #334155 48%, #0f172a 100%) !important; } .app-main .topo-region-hex--tone-4, .topo-region-hex--tone-4 { background: linear-gradient(160deg, #94a3b8 0%, #475569 48%, #1e293b 100%) !important; } .app-main .topo-region-hex--tone-physical, .topo-region-hex--tone-physical { background: linear-gradient(160deg, #f59e0b 0%, #92400e 46%, #0f172a 100%) !important; } .app-main .topo-region-hex--add, .topo-region-hex--add { background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%) !important; color: #93c5fd !important; } .app-main .topo-region-hex--add:hover, .topo-region-hex--add:hover { background: linear-gradient(160deg, #334155 0%, #1e293b 100%) !important; color: #bfdbfe !important; } .app-main .topo-region-hex--add:disabled, .topo-region-hex--add:disabled { opacity: 0.55; cursor: not-allowed; } .topo-region-hex__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, 0.22); color: #fff; flex: 0 0 auto; } .topo-region-hex--add .topo-region-hex__icon { background: rgba(59, 130, 246, 0.2); color: #93c5fd; } .topo-region-hex__name { max-width: 100%; font-size: 14px; font-weight: 700; line-height: 1.25; color: inherit; white-space: normal; overflow-wrap: anywhere; text-align: center; } .topo-region-hex__title { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 4px 6px; max-width: 100%; min-width: 0; } .topo-region-hex__title .topo-region-hex__name { max-width: 100%; } .topo-region-hex__meta { display: inline; flex: 0 0 auto; font-size: 11px; font-weight: 600; line-height: 1.25; color: rgba(255, 255, 255, 0.95); white-space: nowrap; } .topo-region-hex--add .topo-region-hex__meta { color: #93c5fd; } .topo-region-hex__plus { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; font-size: 22px; line-height: 1; background: rgba(59, 130, 246, 0.2); color: #93c5fd; flex: 0 0 auto; } .topo-map-card { display: flex; flex-direction: column; min-height: 168px; border: 1px solid var(--nm-panel-border, rgba(148, 163, 184, 0.22)); border-radius: 8px; background: var(--nm-panel-solid, #0f172a); box-shadow: none; overflow: hidden; transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; color: var(--nm-text, #e2e8f0); } .topo-map-card:hover { border-color: rgba(59, 130, 246, 0.45); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); transform: translateY(-1px); } .topo-map-card.is-physical { border-color: rgba(245, 158, 11, 0.4); background: linear-gradient(180deg, rgba(69, 26, 3, 0.35) 0%, rgba(15, 23, 42, 0.9) 42%); } .topo-map-card__body { flex: 1; min-height: 0; border: 0; background: transparent; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 14px 10px; cursor: pointer; text-align: left; color: inherit; } .topo-map-card__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(37, 99, 235, 0.18); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); } .topo-map-card.is-physical .topo-map-card__icon { background: rgba(245, 158, 11, 0.16); color: #fbbf24; border-color: rgba(245, 158, 11, 0.35); } .topo-map-card__kind { font-size: 11px; font-weight: 650; letter-spacing: 0.02em; color: #93c5fd; background: rgba(37, 99, 235, 0.18); border-radius: 6px; padding: 2px 8px; } .topo-map-card__kind.is-physical { color: #fdba74; background: rgba(245, 158, 11, 0.16); } .topo-map-card__name { font-size: 14px; font-weight: 650; color: #f1f5f9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; } .topo-map-card__meta { font-size: 11px; line-height: 1.4; color: #64748b; width: 100%; } .topo-map-card__actions { display: flex; gap: 6px; padding: 0 12px 12px; } .topo-map-card__actions .btn { flex: 1; } .topo-map-card--add { align-items: center; justify-content: center; gap: 8px; min-height: 168px; border-style: dashed; border-color: rgba(148, 163, 184, 0.35); background: rgba(15, 23, 42, 0.45); color: var(--nm-accent); font-size: 13px; font-weight: 600; cursor: pointer; box-shadow: none; } .topo-map-card--add:hover { background: rgba(37, 99, 235, 0.14); border-color: var(--nm-accent); color: #93c5fd; box-shadow: none; } .topo-map-card__add-plus { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; font-size: 22px; line-height: 1; border: 1px dashed currentColor; opacity: 0.85; } .topo-breadcrumb__crumb { display: inline-flex; align-items: center; gap: 4px; } .topo-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; min-width: 0; font-size: 13px; font-weight: 550; letter-spacing: -0.01em; line-height: 1.3; color: var(--nm-brand, #f1f5f9); } .app-main .topo-breadcrumb__link, .topo-breadcrumb__link { border: 0 !important; background: transparent !important; box-shadow: none !important; color: #94a3b8 !important; cursor: pointer; padding: 0 !important; margin: 0; border-radius: 0 !important; font: inherit; font-weight: 550; line-height: inherit; width: auto; } .app-main .topo-breadcrumb__link:hover, .topo-breadcrumb__link:hover { color: var(--nm-accent, #3b82f6) !important; background: transparent !important; text-decoration: underline; text-underline-offset: 2px; } .topo-breadcrumb__sep { color: #94a3b8; opacity: 1; font-weight: 400; user-select: none; } .topo-breadcrumb__current { display: inline; padding: 0; border-radius: 0; font: inherit; font-weight: 700; color: var(--nm-accent, #3b82f6); background: transparent; box-shadow: none; } .topo-toolbar__level { margin-left: 8px; } .topo-nav-node { min-width: 180px; max-width: 220px; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(148, 163, 184, 0.28); background: linear-gradient(165deg, #1e293b 0%, #0f172a 100%); box-shadow: none; cursor: pointer; display: flex; align-items: flex-start; gap: 12px; color: #e2e8f0; } .topo-nav-node.is-selected, .topo-nav-node:hover { border-color: var(--nm-accent, #2563eb); box-shadow: 0 0 0 2px color-mix(in srgb, var(--nm-accent, #2563eb) 22%, transparent), 0 8px 18px rgba(37, 99, 235, 0.12); } .topo-nav-node__icon { width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; color: #93c5fd; background: rgba(37, 99, 235, 0.18); } .topo-nav-node--region .topo-nav-node__icon { color: #5eead4; background: rgba(13, 148, 136, 0.22); } .topo-nav-node--core .topo-nav-node__icon { color: #fbbf24; background: rgba(245, 158, 11, 0.2); } .topo-nav-node--aggregation .topo-nav-node__icon { color: #93c5fd; background: rgba(59, 130, 246, 0.2); } .topo-nav-node--access .topo-nav-node__icon { color: #93c5fd; background: rgba(37, 99, 235, 0.22); } .topo-nav-node__body { min-width: 0; flex: 1; } .topo-nav-node__badge { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.55; margin-bottom: 2px; } .topo-nav-node__title { font-weight: 650; font-size: 14px; line-height: 1.25; } .topo-nav-node__sub, .topo-nav-node__meta { margin-top: 4px; font-size: 12px; opacity: 0.68; line-height: 1.3; } .topo-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; } .topo-modal__backdrop { position: absolute; inset: 0; background: rgba(2, 8, 23, 0.72); } .topo-modal__panel { position: relative; width: min(480px, calc(100vw - 32px)); max-height: min(70vh, 640px); overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; background: #0f172a; color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.22); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45); } .topo-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .topo-modal__hint { margin: 0; } .topo-modal__selectbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .topo-modal__selectall { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--nm-muted, #5b6b7c); cursor: pointer; user-select: none; } .topo-modal__list { max-height: 360px; overflow: auto; } .topo-modal__foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 6px; border-top: 1px solid rgba(148, 163, 184, 0.18); } .topo-palette__check { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 0 8px; border-right: 1px solid rgba(148, 163, 184, 0.22); cursor: pointer; } .topo-palette__row.is-selected { border-color: rgba(59, 130, 246, 0.5); background: rgba(37, 99, 235, 0.2); box-shadow: inset 2px 0 0 #3b82f6; } .topo-map-list, .topo-palette { list-style: none; margin: 0; padding: 0; overflow: auto; flex: 1; min-width: 0; } .topo-classify .topo-classify__head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .topo-classify__section { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(148, 163, 184, 0.18); } .topo-classify__section--first { margin-top: 8px; padding-top: 0; border-top: 0; } .topo-classify__regex-bar, .topo-classify__assign-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; padding: 10px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; background: rgba(15, 23, 42, 0.65); } .topo-classify__regex-input { min-width: 220px; flex: 1 1 220px; } .topo-classify__table tr.is-match { background: rgba(37, 99, 235, 0.18); } .topo-classify__row-actions { display: inline-flex; gap: 4px; } .topo-classify__help { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(148, 163, 184, 0.45); color: #94a3b8; font-size: 12px; font-weight: 600; line-height: 1; cursor: help; user-select: none; flex: 0 0 auto; } .topo-classify__help:hover, .topo-classify__help:focus-visible { border-color: #93c5fd; color: #e2e8f0; outline: none; } .topo-classify__help-tip { display: none; position: absolute; left: 0; top: calc(100% + 8px); z-index: 40; width: max-content; max-width: min(280px, 70vw); padding: 8px 10px; border-radius: 6px; background: #0f172a; color: #f8fafc; font-size: 12px; font-weight: 400; line-height: 1.45; white-space: normal; text-align: left; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); pointer-events: none; } .topo-classify__help-tip::after { content: ""; position: absolute; bottom: 100%; left: 8px; border: 5px solid transparent; border-bottom-color: #0f172a; } .topo-classify__help:hover .topo-classify__help-tip, .topo-classify__help:focus-visible .topo-classify__help-tip { display: block; } .topo-classify__section h3 { margin: 0 0 10px; font-size: 14px; color: var(--nm-brand, #f1f5f9); } .topo-classify__section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; } .topo-classify__section-head h3 { margin: 0; } .topo-classify__draft { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; align-items: center; } .topo-classify__draft .input { min-width: 140px; max-width: 280px; } .topo-classify__preview { margin: 10px 0 14px; padding: 10px 12px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; background: rgba(15, 23, 42, 0.65); } .topo-classify__pager { display: flex; align-items: center; gap: 10px; margin-top: 8px; } .topo-classify__check { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #94a3b8; } .topo-classify__slice-list, .topo-classify__view-links { margin: 6px 0 0; padding-left: 18px; } .topo-classify__view-links { list-style: none; padding-left: 0; } .topo-classify__view-links a { color: var(--nm-accent, #3b82f6); } .topo-region-list { display: flex; flex-direction: column; gap: 2px; padding: 2px 0; /* Allow deep indent + actions to extend; parent scroll shows a horizontal bar. */ width: max-content; min-width: 100%; max-width: none; box-sizing: border-box; } .topo-region-list-scroll { flex: 1 1 auto; min-height: 0; min-width: 0; overflow-x: auto; overflow-y: auto; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; background: rgba(2, 8, 23, 0.45); padding: 2px 0; } .topo-region-list__block { margin: 0; width: auto; max-width: none; min-width: 0; padding: 2px 0 4px; box-sizing: border-box; } .topo-region-list__row { align-items: center; } /* Flat list rows — no boxed cards */ .topo-region-list .topo-map-list__row { border: 0; border-radius: 8px; background: transparent; box-shadow: none; overflow: visible; gap: 2px; padding-right: 2px; width: max-content; min-width: 100%; transition: background 0.12s ease; } .topo-region-list .topo-map-list__row:hover, .topo-region-list__block.is-hot > .topo-region-list__row, .topo-region-list__maps > li.is-hot > .topo-map-list__row, .topo-region-list__view.is-hot > .topo-map-list__row { background: var(--nm-nav-hover, #152033); } /* Selected = deep wash + left accent */ .topo-region-list__block.is-active > .topo-region-list__row, .topo-region-list__maps > li.is-active > .topo-map-list__row, .topo-region-list__view.is-active > .topo-map-list__row { border: 0; background: var(--nm-nav-active, #1a2740); box-shadow: inset 3px 0 0 var(--nm-accent, #3b82f6); } .topo-region-list__block.is-branch-active > .topo-region-list__row { border: 0; background: rgba(37, 99, 235, 0.16); box-shadow: none; } .topo-region-list__block.is-active > .topo-region-list__row .topo-map-list__actions, .topo-region-list__maps > li.is-active > .topo-map-list__row .topo-map-list__actions { border-left: 0; } .topo-region-list__glyph { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 2px; border-radius: 6px; background: rgba(45, 212, 191, 0.12); color: #5eead4; flex: 0 0 auto; } .topo-region-list__maps .topo-region-list__glyph { background: rgba(59, 130, 246, 0.18); color: #93c5fd; } .topo-region-list__maps { position: relative; margin: 2px 0 0; /* One nest level = one indent; do not also set marginLeft on child blocks. */ padding: 2px 0 2px 14px; overflow: visible; flex: none; } .topo-region-list__maps::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 6px; width: 1px; background: rgba(148, 163, 184, 0.55); } .topo-region-list__maps > li { margin: 0; width: auto; max-width: 100%; position: relative; box-sizing: border-box; } .topo-region-list__maps > li + li { margin-top: 1px; } .topo-region-list__maps .topo-map-list__row { width: 100%; } .app-main .topo-region-list .topo-map-list__item, .topo-region-list .topo-map-list__item { padding: 8px 6px 8px 8px; border-radius: 8px; } /* View rows use a chevron spacer — same padding as folder rows (no extra 36px). */ .app-main .topo-region-list__maps .topo-map-list__item, .topo-region-list__maps .topo-map-list__item { padding: 8px 6px 8px 8px; } .topo-region-list .topo-map-list__item:hover, .topo-region-list__block.is-active > .topo-region-list__row .topo-map-list__item, .topo-region-list__block.is-branch-active > .topo-region-list__row .topo-map-list__item, .topo-region-list__maps > li.is-active .topo-map-list__item, .topo-region-list__maps > li.is-active .topo-map-list__item:hover { background: transparent !important; } .topo-region-list .topo-map-list__actions { opacity: 0; pointer-events: none; flex: 0 0 auto; border-left: 0; gap: 4px; padding-right: 4px; align-items: center; transition: opacity 0.12s ease; } /* Edit/delete only while the row itself is hovered */ .topo-region-list .topo-map-list__row:hover .topo-map-list__actions { opacity: 1; pointer-events: auto; } .app-main .topo-region-list .topo-map-list__icon, .topo-region-list .topo-map-list__icon { width: 24px; height: 24px; min-height: 24px; border-radius: 5px; color: #64748b; background: transparent !important; border: 0 !important; } .app-main .topo-region-list .topo-map-list__icon:hover:not(:disabled), .topo-region-list .topo-map-list__icon:hover:not(:disabled) { background: rgba(148, 163, 184, 0.16) !important; color: var(--nm-brand); } .topo-region-list .topo-map-list__name { display: flex; align-items: center; gap: 8px; min-width: 0; width: 100%; } .topo-region-list .topo-map-list__title { min-width: max-content; flex: 0 1 auto; overflow: visible; text-overflow: clip; white-space: nowrap; font-size: 13px; font-weight: 650; color: var(--nm-brand, #f1f5f9); } .topo-region-list__maps .topo-map-list__title { font-size: 12px; font-weight: 600; } .topo-region-list .topo-map-list__count { flex: 0 0 auto; margin-left: 4px; padding: 0; border-radius: 0; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--nm-muted); background: transparent; box-shadow: none; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; } .topo-region-list__maps .topo-map-list__count { color: var(--nm-muted); background: transparent; } .topo-region-list__block.is-active .topo-map-list__count, .topo-region-list__maps > li.is-active .topo-map-list__count { background: transparent; color: #cbd5e1; } .topo-region-list__block.is-hot:not(.is-active) .topo-map-list__count, .topo-region-list__maps > li.is-hot:not(.is-active) .topo-map-list__count { background: transparent; color: var(--nm-accent); } .topo-region-list__block.is-active .topo-map-list__title, .topo-region-list__maps > li.is-active .topo-map-list__title { color: #f1f5f9; font-weight: 700; } .topo-region-list__maps > li.is-active .topo-region-list__glyph { background: rgba(37, 99, 235, 0.35); color: #dbeafe; } .topo-map-list li, .topo-palette > li { margin: 0 0 4px; width: 100%; min-width: 0; } .topo-map-list li:last-child, .topo-palette > li:last-child { margin-bottom: 0; } .topo-map-list__row, .topo-palette__row { display: flex; align-items: stretch; width: 100%; box-sizing: border-box; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; background: rgba(15, 23, 42, 0.75); overflow: hidden; min-width: 0; } .topo-map-list li.is-active .topo-map-list__row { border-color: var(--nm-accent); background: var(--nm-nav-active); box-shadow: inset 2px 0 0 var(--nm-accent); } .topo-region-list__block.is-active > .topo-map-list__row, .topo-region-list__maps > li.is-active > .topo-map-list__row { border: 0 !important; background: var(--nm-nav-active, #1a2740) !important; box-shadow: inset 3px 0 0 var(--nm-accent, #3b82f6) !important; } .topo-region-list__block.is-active > .topo-map-list__row:hover, .topo-region-list__maps > li.is-active > .topo-map-list__row:hover { background: #243552 !important; } .topo-region-list__block.is-branch-active > .topo-map-list__row { border: 0 !important; background: rgba(37, 99, 235, 0.16) !important; box-shadow: none !important; } .topo-region-list__block.is-hot:not(.is-active):not(.is-branch-active) > .topo-map-list__row, .topo-region-list__maps > li.is-hot:not(.is-active) > .topo-map-list__row { background: rgba(59, 130, 246, 0.14) !important; } .topo-palette > li.is-on-canvas .topo-palette__row { background: rgba(30, 41, 59, 0.55); border-color: rgba(148, 163, 184, 0.18); } .topo-map-list__item, .topo-palette__item { display: block; flex: 1 1 auto; width: 100%; max-width: 100%; text-align: left; border: 0; background: transparent; padding: 6px 8px; cursor: pointer; border-radius: 0; min-width: 0; box-sizing: border-box; } .app-main .topo-map-list__item, .app-main .topo-map-list__icon, .app-main .topo-palette__item { border: none; background: transparent; border-radius: 0; box-shadow: none; width: auto; } .app-main .topo-map-list__item, .app-main .topo-palette__item { display: block; width: 100%; padding: 6px 8px; } .app-main .topo-map-list__icon { width: 28px; height: auto; padding: 0; color: #64748b; font-size: 14px; line-height: 1; } .topo-map-list__item:hover, .topo-palette__item:hover:not(:disabled) { background: var(--nm-nav-hover); } .topo-map-list li.is-active .topo-map-list__item:hover { background: rgba(37, 99, 235, 0.12); } .topo-map-list__actions { display: flex; align-items: stretch; flex: 0 0 auto; border-left: 1px solid rgba(148, 163, 184, 0.22); } .topo-map-list li.is-active .topo-map-list__actions { border-left-color: rgba(59, 130, 246, 0.35); } .topo-map-list__icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; min-height: 100%; border: 0; background: transparent; color: var(--nm-muted); cursor: pointer; } .topo-map-list__icon:hover:not(:disabled) { background: #e8eef8; color: var(--nm-brand); } .topo-map-list__icon:disabled { opacity: 0.45; cursor: default; } .topo-palette__item:disabled { opacity: 0.55; cursor: default; } .topo-palette__empty { padding: 8px; box-sizing: border-box; width: 100%; } .topo-map-list__name, .topo-palette__name { display: block; font-weight: 650; font-size: 12px; color: var(--nm-brand, #f1f5f9); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .topo-map-list__meta, .topo-palette__meta { display: block; font-size: 11px; color: var(--nm-muted, #94a3b8); font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .topo-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--nm-chrome, #070b14); border: 0; border-radius: 0; overflow: hidden; box-shadow: none; color: var(--nm-text, #e2e8f0); } .topo-toolbar { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-bottom: 1px solid rgba(148, 163, 184, 0.18); background: rgba(15, 23, 42, 0.9); } .topo-toolbar__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; } .topo-toolbar__row--tools { justify-content: flex-start; flex-wrap: wrap; gap: 8px; padding-top: 4px; border-top: 1px solid rgba(148, 163, 184, 0.12); } .topo-toolbar__group + .topo-toolbar__group, .topo-toolbar__cluster + .topo-toolbar__group, .topo-toolbar__group + .topo-toolbar__group--find, .topo-toolbar__cluster + .topo-toolbar__group--find { margin-left: 2px; padding-left: 10px; border-left: 1px solid rgba(148, 163, 184, 0.2); } /* Flat cluster: no nested chrome — only a separator from tool modes. */ .topo-toolbar__cluster { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; min-width: 0; margin-left: 2px; padding-left: 10px; border-left: 1px solid rgba(148, 163, 184, 0.2); } .topo-toolbar__group--find { position: relative; display: inline-flex; align-items: center; gap: 6px; min-width: 0; margin-left: auto; } .topo-find-suggest { position: absolute; top: calc(100% + 4px); right: 0; left: auto; z-index: 30; width: min(340px, 72vw); max-height: 280px; overflow: auto; background: var(--nm-panel-solid, #0f172a); border: 1px solid var(--nm-glass-border, rgba(148, 163, 184, 0.18)); border-radius: 8px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); color: var(--nm-text, #e2e8f0); } .topo-find-suggest__item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; padding: 8px 10px; border: 0; background: transparent; text-align: left; cursor: pointer; color: inherit; } .topo-find-suggest__item:hover, .topo-find-suggest__item.is-active { background: rgba(37, 99, 235, 0.22); } .topo-find-suggest__name { font-size: 12px; font-weight: 650; color: #f1f5f9; } .topo-find-suggest__meta { font-size: 11px; color: #94a3b8; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; } .topo-find-suggest__empty, .topo-find-suggest__more { padding: 8px 10px; font-size: 12px; color: #94a3b8; } .app-main .topo-toolbar__find, .topo-toolbar__find { width: 190px; max-width: 36vw; height: 30px; box-sizing: border-box; padding: 0 8px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; font-size: 12px; line-height: 1.2; background: #0b1220; color: var(--nm-text, #e2e8f0); } .topo-toolbar__find::placeholder { color: var(--nm-muted, #94a3b8); } .topo-toolbar__find:disabled { opacity: 0.55; } .topo-toolbar__title { display: flex; align-items: center; gap: 8px; min-width: 0; } .topo-toolbar__title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 650; color: var(--nm-brand, #f1f5f9); letter-spacing: -0.01em; } .topo-toolbar__meta { font-size: 12px; color: var(--nm-muted, #94a3b8); white-space: nowrap; } .topo-toolbar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; justify-content: flex-end; flex-shrink: 0; } .topo-toolbar__primary { gap: 6px; } .app-main .topo-toolbar__save--dirty, .topo-toolbar__save--dirty { background: var(--nm-accent, #3b82f6) !important; border-color: transparent !important; color: #f8fafc !important; } .topo-toolbar__actions > .btn, .topo-toolbar__primary > button, .topo-toolbar__group > .btn { width: auto; flex: 0 0 auto; height: 30px; padding: 0 10px; font-size: 12px; line-height: 1; border-radius: 6px; } .topo-toolbar__group > select.topo-toolbar__find { width: auto; min-width: 140px; } .topo-toolbar__group { display: inline-flex; align-items: center; gap: 6px; } .topo-tools { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; padding: 2px; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 8px; background: rgba(11, 18, 32, 0.65); } .topo-tools__btn { display: inline-flex; align-items: center; gap: 4px; min-height: 30px; border: 0; background: transparent; color: var(--nm-muted, #94a3b8); font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 6px; cursor: pointer; line-height: 1.2; } .topo-tools__btn:hover { background: rgba(30, 41, 59, 0.9); color: var(--nm-text, #f1f5f9); } .topo-tools__btn.is-active, .app-main .topo-tools__btn.is-active { background: var(--nm-accent, #3b82f6) !important; border-color: transparent !important; color: #f8fafc !important; } .topo-tools__key { display: inline-flex; align-items: center; justify-content: center; min-width: 14px; height: 14px; padding: 0 3px; border: 1px solid currentColor; border-radius: 2px; font-size: 10px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-weight: 700; opacity: 0.75; line-height: 1; } .app-main .topo-toolbar__select, .topo-toolbar__select { min-width: 88px; height: 30px; box-sizing: border-box; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; font-size: 12px; line-height: 1.2; padding: 0 8px; vertical-align: middle; } .app-main .topo-toolbar__display > summary, .topo-toolbar__display > summary { list-style: none; cursor: pointer; user-select: none; height: 30px; padding: 0 10px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; font-size: 12px; font-weight: 600; line-height: 1.2; display: inline-flex; align-items: center; } .topo-toolbar__display { position: relative; } .topo-toolbar__display > summary::-webkit-details-marker { display: none; } .topo-toolbar__display[open] > summary { border-color: rgba(59, 130, 246, 0.55); background: rgba(37, 99, 235, 0.22); color: #93c5fd; } .topo-toolbar__display .topo-display-toggles { position: absolute; top: calc(100% + 4px); left: 0; z-index: 20; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 14px; align-content: start; width: min(560px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow: auto; padding: 10px 12px; border: 1px solid var(--nm-glass-border, rgba(148, 163, 184, 0.18)); border-radius: 8px; background: var(--nm-panel-solid, #0f172a); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); color: var(--nm-text, #e2e8f0); } .topo-toolbar__more-popover { min-width: 168px; padding: 4px; border: 1px solid var(--nm-glass-border, rgba(148, 163, 184, 0.22)); border-radius: 8px; background: var(--nm-panel-solid, #0f172a); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); color: var(--nm-text, #e2e8f0); } .topo-toolbar__more-popover [role="menuitem"] { border-radius: 6px; font-size: 12px; color: var(--nm-text, #e2e8f0); } .topo-toolbar__more-popover [role="menuitem"][data-disabled], .topo-toolbar__more-popover [role="menuitem"][aria-disabled="true"] { opacity: 0.45; } .topo-mode-hint { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 6; padding: 6px 12px; border-radius: 3px; border: 1px solid #0ea5e9; background: rgba(15, 23, 42, 0.9); color: #e0f2fe; font-size: 12px; font-weight: 600; pointer-events: none; white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; } .topo-svg-icon { display: block; } .topo-icon-btn { display: inline-flex !important; align-items: center; justify-content: center; width: 28px; min-width: 28px; padding: 0 !important; } .topo-display-defaults { grid-column: 1 / -1; display: grid; gap: 8px; margin-top: 2px; padding-top: 8px; border-top: 1px solid rgba(148, 163, 184, 0.18); } .topo-display-defaults__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: #cbd5e1; grid-column: 1 / -1; } .topo-display-defaults__row { display: grid; grid-template-columns: 48px 28px minmax(72px, 1fr) 64px; align-items: center; gap: 6px; } .topo-display-defaults--canvas-bg .topo-display-defaults__row { grid-template-columns: minmax(72px, auto) 28px minmax(88px, 1fr); } /* Color pickers / vendor list: two columns inside the wide card */ .topo-display-defaults--colors { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 14px; } .topo-display-defaults--colors .topo-display-defaults__row { grid-template-columns: minmax(64px, auto) 28px minmax(72px, 1fr); } .topo-canvas-bg-hex { min-width: 88px !important; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; } .topo-display-defaults__name { font-size: 12px; color: #94a3b8; } .topo-display-defaults__row input[type="color"] { width: 28px; height: 28px; padding: 0; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; cursor: pointer; } .topo-display-defaults__row .topo-toolbar__select { min-width: 0; width: 100%; } .topo-canvas.is-pan-mode .react-flow__pane { cursor: grab; } .topo-legend { position: absolute; left: 10px; bottom: 10px; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px 12px; padding: 6px 10px; border-radius: 6px; background: rgba(15, 39, 68, 0.92); border: 1px solid rgba(255, 255, 255, 0.12); font-size: 11px; color: #e2e8f0; pointer-events: none; } .topo-legend__item { display: inline-flex; align-items: center; gap: 6px; } .topo-legend__swatch { display: inline-block; width: 18px; height: 0; border-top: 2px solid #94a3b8; vertical-align: middle; } .topo-node.is-connect-mode .topo-node__handle { width: 14px !important; height: 14px !important; min-width: 14px !important; min-height: 14px !important; opacity: 0.9 !important; background: rgba(14, 165, 233, 0.35) !important; border: 1px solid #38bdf8 !important; border-radius: 50% !important; z-index: 5; } .react-flow__selection { background: rgba(51, 65, 85, 0.08); border: 1px solid rgba(51, 65, 85, 0.7); } .topo-display-toggles { display: grid; gap: 6px; } .topo-display-toggles__item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--nm-text, #e2e8f0); white-space: nowrap; cursor: pointer; user-select: none; min-width: 0; } .topo-ctx { position: fixed; z-index: 40; min-width: 168px; padding: 4px 0; margin: 0; list-style: none; background: var(--nm-panel-solid, #0f172a); color: var(--nm-text, #e2e8f0); border: 1px solid var(--nm-glass-border, rgba(148, 163, 184, 0.18)); border-radius: 8px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); font-size: 12px; line-height: 1.3; } .topo-ctx--edge { min-width: 196px; max-width: min(320px, calc(100vw - 16px)); max-height: min(72vh, calc(100vh - 16px)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; } .topo-ctx__head { margin: 0; padding: 8px 12px 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: #94a3b8; } .topo-ctx__style { padding: 4px 12px 6px; } .topo-ctx__style-title { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: #94a3b8; } .topo-ctx__style-grid { display: grid; gap: 6px; } .topo-ctx__style-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-size: 12px; font-weight: 400; color: #e2e8f0; line-height: 1.2; } .topo-ctx__style-row > span { flex: 1 1 auto; min-width: 2.5em; max-width: 11.5em; color: #cbd5e1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .topo-ctx__style-row input[type="color"] { flex: 0 0 auto; box-sizing: border-box; width: 28px; height: 22px; padding: 0; border: 1px solid #475569; border-radius: 4px; background: transparent; cursor: pointer; } .topo-ctx__style-row input[type="color"]::-webkit-color-swatch-wrapper { padding: 1px; } .topo-ctx__style-row input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 2px; } .topo-ctx__style-row select, .topo-ctx__style-input { flex: 1 1 auto; max-width: 108px; height: 24px; border: 1px solid #475569; border-radius: 4px; background: #1e293b; color: #e2e8f0; font-size: 12px; line-height: 1.2; padding: 0 6px; } .topo-ctx__style-input { max-width: 120px; min-width: 0; } /* Beat .app-main button { color:#1f2937; background:#fff } so hover stays readable. */ .app-main .topo-ctx__item, .topo-ctx__item { display: block; width: 100%; box-sizing: border-box; padding: 7px 12px; border: 0; border-radius: 0; background: transparent; color: #e2e8f0; text-align: left; font-size: 12px; font-weight: 400; line-height: 1.3; cursor: pointer; } .app-main .topo-ctx__item:hover:not(:disabled), .app-main .topo-ctx__item:focus-visible:not(:disabled), .topo-ctx__item:hover:not(:disabled), .topo-ctx__item:focus-visible:not(:disabled) { background: #1e293b; color: #f8fafc; } .app-main .topo-ctx__item:disabled, .topo-ctx__item:disabled { opacity: 0.45; cursor: not-allowed; color: #94a3b8; } .app-main .topo-ctx__item--danger, .topo-ctx__item--danger { color: #fca5a5; } .app-main .topo-ctx__item--danger:hover:not(:disabled), .app-main .topo-ctx__item--danger:focus-visible:not(:disabled), .topo-ctx__item--danger:hover:not(:disabled), .topo-ctx__item--danger:focus-visible:not(:disabled) { background: #7f1d1d; color: #fecaca; } .topo-ctx__sep { height: 1px; margin: 4px 0; background: var(--nm-glass-border, rgba(148, 163, 184, 0.18)); } .topo-discover { display: flex; flex-direction: column; gap: 8px; max-height: none; padding: 10px 12px; background: rgba(15, 23, 42, 0.96); color: #e2e8f0; border-bottom: 1px solid rgba(148, 163, 184, 0.18); overflow: hidden; } .topo-discover__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #f1f5f9; } .topo-discover__head strong { color: #f8fafc; } .topo-discover .panel__hint, .topo-discover .panel__hint--live { color: #94a3b8; } .topo-discover__progress { display: flex; flex-direction: column; gap: 4px; } .topo-discover__bar { height: 6px; border-radius: 6px; background: rgba(51, 65, 85, 0.9); overflow: hidden; } .topo-discover__bar-fill { height: 100%; background: #38bdf8; transition: width 0.2s ease; } .topo-discover__progress-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #94a3b8; } .topo-discover__summary { margin: 0; font-size: 13px; color: #cbd5e1; } .topo-discover__error { margin: 0; font-size: 13px; color: #fca5a5; } .topo-discover__item-meta, .topo-discover__item-cmd, .topo-discover__item-warn { margin-top: 2px; font-size: 12px; color: #64748b; } .topo-discover__item-warn { color: #b45309; } .topo-discover__unmatched { margin: 6px 0 0; padding-left: 1.1rem; font-size: 11px; color: #92400e; } .topo-discover__unmatched-more { list-style: none; margin-left: -1.1rem; color: #a16207; } .topo-discover__row-actions { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; } .topo-discover__detail-btn { font-size: 11px; color: var(--nm-accent, #3b82f6); white-space: nowrap; } .topo-discover__badge--lg { font-size: 12px; padding: 2px 8px; border-radius: 6px; border: 1px solid rgba(34, 197, 94, 0.35); background: rgba(20, 83, 45, 0.45); color: #bbf7d0; } .topo-discover__badge--lg.is-fail { border-color: rgba(248, 113, 113, 0.4); background: rgba(127, 29, 29, 0.45); color: #fecaca; } .topo-discover__badge--lg.is-warn { border-color: rgba(245, 158, 11, 0.4); background: rgba(120, 53, 15, 0.45); color: #fde68a; } .topo-discover-modal { display: block; width: min(960px, 100%); max-height: min(88vh, 900px); overflow: auto; color: var(--nm-text, #e2e8f0); } .topo-discover-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .topo-discover-modal__head h3 { margin: 0; color: var(--nm-brand, #f1f5f9); } .topo-discover-modal__sub { margin: 4px 0 0; font-size: 12px; color: var(--nm-muted, #94a3b8); font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; } .topo-discover-modal__stats { margin-top: 8px; font-size: 13px; color: var(--nm-muted, #94a3b8); } .topo-discover-modal__section { margin: 14px 0 8px; font-size: 13px; font-weight: 700; color: var(--nm-brand, #f1f5f9); } .topo-discover-modal__table-wrap { overflow-x: auto; overflow-y: visible; max-height: none; border: 1px solid var(--nm-panel-border, rgba(148, 163, 184, 0.22)); border-radius: 8px; background: var(--nm-panel-solid, #0f172a); } .topo-discover-modal__table { width: 100%; border-collapse: collapse; font-size: 12px; table-layout: auto; } .topo-discover-modal__table th, .topo-discover-modal__table td { padding: 8px 10px; border-bottom: 1px solid rgba(148, 163, 184, 0.16); text-align: left; vertical-align: top; color: var(--nm-text, #e2e8f0); background: transparent; } .topo-discover-modal__table th { position: static; background: rgba(15, 23, 42, 0.95); color: var(--nm-muted, #94a3b8); font-weight: 600; white-space: nowrap; } .topo-discover-modal__table tbody tr:hover td { background: rgba(30, 41, 59, 0.55); } .topo-discover-modal__table tbody tr:last-child td { border-bottom: 0; } .topo-discover-modal__peer { display: flex; flex-direction: column; gap: 2px; } .topo-discover-modal__peer span { color: var(--nm-muted, #94a3b8); } .topo-discover-action.is-added { color: #86efac; font-weight: 600; } .topo-discover-action.is-updated { color: #93c5fd; font-weight: 600; } .topo-discover-action.is-kept_manual { color: #fbbf24; font-weight: 600; } .topo-discover-modal__raw { margin: 0; padding: 10px 12px; max-height: min(36vh, 360px); overflow: auto; background: #0b1220; color: var(--nm-text, #e2e8f0); border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 8px; font-size: 11px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; } .topo-canvas { position: relative; flex: 1; min-height: 0; background: var(--topo-canvas-bg, #0f172a); --xy-edge-label-background-color: transparent; --xy-edge-label-color: var(--topo-edge-label-color, #e2e8f0); /* Defaults = dark canvas; TopologyPage overrides via canvasFloatChromeVars. */ --topo-float-bg: rgba(15, 23, 42, 0.92); --topo-float-border: rgba(148, 163, 184, 0.22); --topo-float-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); --topo-float-fg: #e2e8f0; --topo-float-muted: #94a3b8; --topo-float-btn-bg: #0b1220; --topo-float-btn-border: rgba(148, 163, 184, 0.28); --topo-float-btn-hover: #152033; --topo-float-active-bg: rgba(37, 99, 235, 0.28); --topo-float-active-fg: #93c5fd; --topo-float-active-border: #3b82f6; --topo-float-control-bg: #0f172a; --topo-float-control-hover: #1e293b; --topo-float-control-fill: #cbd5e1; --topo-float-input-bg: #0b1220; --topo-float-input-fg: #e2e8f0; --topo-float-input-border: rgba(148, 163, 184, 0.28); } .topo-canvas:fullscreen, .topo-canvas.is-fullscreen:fullscreen { width: 100vw; height: 100vh; background: var(--topo-canvas-bg, #0f172a); } /* Place fullscreen above zoom-in (+); Controls renders custom children last. */ .topo-canvas .react-flow__controls { display: flex; flex-direction: column; box-shadow: var(--topo-float-shadow); border: 0; border-radius: 6px; overflow: hidden; background: var(--topo-float-bg); } .topo-canvas .react-flow__controls-button { background: transparent; border: 0; border-bottom: 1px solid var(--topo-float-border); color: var(--topo-float-control-fill); fill: var(--topo-float-control-fill); } .topo-canvas .react-flow__controls-button:last-child { border-bottom: 0; } .topo-canvas .react-flow__controls-button:hover { background: var(--topo-float-control-hover); } .topo-canvas .react-flow__controls-button svg, .topo-canvas .react-flow__controls-button svg path { fill: currentColor; } .topo-canvas .react-flow__minimap { border: 0; border-radius: 8px; overflow: hidden; box-shadow: var(--topo-float-shadow); } .topo-canvas .react-flow__controls-button.topo-fs-control { order: -1; } .topo-canvas .react-flow__controls-button.topo-fs-control svg { max-width: 14px; max-height: 14px; width: 14px; height: 14px; display: block; color: inherit; } .topo-toolbar__cluster .topo-toolbar__group--find { margin-left: 0; padding-left: 0; border-left: 0; } .topo-fs-toolbar { position: absolute; top: 12px; left: 12px; z-index: 20; display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; border-radius: 10px; background: var(--topo-float-bg); border: 1px solid var(--topo-float-border); box-shadow: var(--topo-float-shadow); color: var(--topo-float-fg); pointer-events: auto; } .topo-view-tools { position: absolute; top: 12px; right: 12px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 10px; background: var(--topo-float-bg); border: 1px solid var(--topo-float-border); box-shadow: var(--topo-float-shadow); color: var(--topo-float-fg); pointer-events: auto; max-width: min(520px, calc(100% - 24px)); } .topo-view-tools .topo-toolbar__display { position: relative; } .topo-view-tools .topo-toolbar__display .topo-display-toggles { right: 0; left: auto; max-height: min(70vh, 520px); overflow: auto; } .topo-view-tools .topo-toolbar__group--find { margin-left: 0; padding-left: 0; border-left: 0; position: relative; } .topo-view-tools .topo-toolbar__find { width: 140px; min-width: 120px; } .topo-canvas.is-fullscreen .topo-view-tools, .topo-canvas:fullscreen .topo-view-tools { top: 12px; right: 12px; } /* Beat `.app-main button { background:#0b1220 }` so inactive chips stay ghost. */ .app-main .topo-fs-toolbar__btn, .topo-canvas .topo-fs-toolbar__btn, .topo-fs-toolbar__btn { display: inline-flex; align-items: center; gap: 6px; height: auto; padding: 6px 10px !important; border-radius: 8px !important; border: 1px solid transparent !important; background: transparent !important; color: var(--topo-float-muted) !important; box-shadow: none !important; font-size: 12px; font-weight: 600; line-height: 1.2; cursor: pointer; } .app-main .topo-fs-toolbar__btn:hover, .topo-canvas .topo-fs-toolbar__btn:hover, .topo-fs-toolbar__btn:hover { background: var(--topo-float-btn-hover) !important; color: var(--topo-float-fg) !important; } .app-main .topo-fs-toolbar__btn.is-active, .topo-canvas .topo-fs-toolbar__btn.is-active, .topo-fs-toolbar__btn.is-active { border-color: var(--topo-float-active-border) !important; background: var(--topo-float-active-bg) !important; color: var(--topo-float-active-fg) !important; } .app-main .topo-fs-toolbar__btn kbd, .topo-canvas .topo-fs-toolbar__btn kbd, .topo-fs-toolbar__btn kbd { font-size: 10px; opacity: 0.7; border-color: currentColor; background: transparent; color: inherit; padding: 0 3px; } /* Beat global dark toolbar overrides when canvas bg is light. */ .topo-canvas.is-canvas-light .topo-view-tools .topo-toolbar__find, .topo-canvas.is-canvas-light .topo-view-tools .topo-toolbar__select, .topo-canvas.is-canvas-light .topo-view-tools .topo-toolbar__display > summary { background: var(--topo-float-input-bg) !important; border-color: var(--topo-float-input-border) !important; color: var(--topo-float-input-fg) !important; } .topo-canvas.is-canvas-light .topo-view-tools .topo-toolbar__find::placeholder { color: var(--topo-float-muted); } .topo-canvas .topo-view-tools .topo-toolbar__find, .topo-canvas .topo-view-tools .topo-toolbar__select, .topo-canvas .topo-view-tools .topo-toolbar__display > summary { background: var(--topo-float-input-bg); border-color: var(--topo-float-input-border); color: var(--topo-float-input-fg); } .topo-canvas__empty { display: grid; place-items: center; height: 100%; color: var(--nm-muted, #5b6b7c); } .topo-canvas__status { gap: 12px; justify-items: center; text-align: center; } .topo-canvas__status p { margin: 0; font-size: 13px; } .topo-loading-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(148, 163, 184, 0.28); border-top-color: #60a5fa; border-radius: 50%; animation: topo-spin 0.7s linear infinite; } .topo-loading-spinner--lg { width: 36px; height: 36px; border-width: 3px; } @keyframes topo-spin { to { transform: rotate(360deg); } } .topo-canvas__overlay { position: absolute; inset: 0; z-index: 15; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; text-align: center; pointer-events: none; } .topo-canvas__overlay--loading { background: rgba(11, 18, 32, 0.55); backdrop-filter: blur(2px); pointer-events: auto; } .topo-canvas__overlay--empty { background: transparent; pointer-events: none; } .topo-canvas__overlay-title { margin: 0; font-size: 15px; font-weight: 600; color: #e2e8f0; } .topo-canvas__overlay--empty .topo-canvas__overlay-title { color: #94a3b8; } .topo-canvas__overlay-hint { margin: 0; max-width: 320px; font-size: 12px; line-height: 1.45; color: #94a3b8; } .topo-canvas__refresh { position: absolute; top: 12px; left: 50%; z-index: 21; display: inline-flex; align-items: center; gap: 8px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.28); background: rgba(15, 23, 42, 0.92); color: #cbd5e1; font-size: 12px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28); pointer-events: none; } .topo-browser__empty--loading { gap: 12px; } .topo-browser__empty--loading p { margin: 0; } .topo-sidebar .panel__hint { margin: 0; font-size: 12px; color: var(--nm-muted); } .topo-tree-status { display: inline-flex; align-items: center; gap: 8px; } .topo-sidebar .input { width: 100%; height: 32px; margin: 0; padding: 0 10px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: #0b1220; color: #e2e8f0; font-size: 12px; } .topo-sidebar .input::placeholder { color: var(--nm-muted); } .topo-sidebar .btn.btn--sm { display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 10px; line-height: 1; border-radius: 6px; border-color: rgba(148, 163, 184, 0.28); background: #0b1220; color: #e2e8f0; font-size: 12px; } .topo-node { position: relative; width: 88px; min-width: 0; max-width: none; height: 28px; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 8px; text-align: center; --topo-icon-color: var(--topo-vendor-gray, #94a3b8); } /* Flat-world LOD: pixel / pin overview (Google-Earth style). */ .topo-node--dot, .topo-node--pin { min-width: 0; max-width: none; width: 100%; height: 100%; display: grid; place-items: center; color: var(--topo-icon-color, #94a3b8); pointer-events: auto; } .topo-world-hud { position: absolute; z-index: 6; top: 10px; left: 12px; max-width: min(520px, calc(100% - 24px)); padding: 4px 8px; border-radius: 6px; background: rgba(15, 23, 42, 0.72); color: #cbd5e1; font-size: 11px; line-height: 1.35; pointer-events: none; backdrop-filter: blur(2px); } .topo-world-scatter { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; } .topo-world-scatter-panel.react-flow__panel { margin: 0 !important; } .topo-canvas__overlay--empty.is-interactive { pointer-events: auto; background: rgba(11, 18, 32, 0.35); } .topo-node__pixel { display: block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.35); } .topo-node--dot.is-selected .topo-node__pixel { width: 6px; height: 6px; box-shadow: 0 0 0 2px #38bdf8; } .topo-node__pin { display: block; width: 10px; height: 10px; border-radius: 50%; background: currentColor; border: 1px solid rgba(15, 23, 42, 0.45); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); } .topo-node--pin.is-selected .topo-node__pin { box-shadow: 0 0 0 2px #38bdf8; } .topo-node__handle--dot { opacity: 0 !important; width: 1px !important; height: 1px !important; min-width: 0 !important; min-height: 0 !important; border: 0 !important; pointer-events: none !important; } .topo-node.is-placeholder .topo-node__glyph { outline: none; opacity: 0.88; } .topo-node.is-placeholder .topo-node__icon { filter: drop-shadow(0 0 1px rgba(148, 163, 184, 0.85)); opacity: 0.92; } .topo-node__badge { position: absolute; top: -4px; right: -6px; z-index: 2; min-width: 16px; padding: 1px 4px; border-radius: 999px; background: color-mix(in srgb, #0f172a 88%, #fbbf24 12%); border: 1px solid rgba(251, 191, 36, 0.45); color: #fde68a; font-size: 7px; font-weight: 700; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.04em; pointer-events: none; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); } .topo-node__conn { position: absolute; left: -2px; bottom: -2px; z-index: 2; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid rgba(15, 23, 42, 0.9); pointer-events: none; box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.25); } .topo-node__conn--pass { background: #22c55e; } .topo-node__conn--fail { background: #ef4444; } .topo-node__conn--testing { background: #f59e0b; } .topo-node__conn--unknown { background: #64748b; } .topo-node__alarm { position: absolute; top: -5px; right: -6px; z-index: 3; min-width: 16px; padding: 1px 4px; border-radius: 999px; font-size: 8px; font-weight: 700; line-height: 1.35; color: #fff; pointer-events: none; border: 1px solid rgba(15, 23, 42, 0.75); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); } .topo-node__alarm--critical { background: #dc2626; } .topo-node__alarm--major { background: #ea580c; } .topo-node__alarm--minor { background: #ca8a04; } .topo-node__alarm--warning, .topo-node__alarm--indeterminate, .topo-node__alarm--unknown { background: #d97706; } .topo-node__unmatched { position: absolute; top: -3px; right: -4px; z-index: 2; width: 12px; height: 12px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(51, 65, 85, 0.95); border: 1px solid rgba(148, 163, 184, 0.55); color: #e2e8f0; font-size: 8px; font-weight: 700; line-height: 1; pointer-events: none; } .topo-node.is-level-external .topo-node__glyph, .topo-node.is-level-core .topo-node__glyph, .topo-node.is-level-aggregation .topo-node__glyph, .topo-node.is-level-access .topo-node__glyph, .topo-node.is-level-edge .topo-node__glyph, .topo-node.is-level-unmatched .topo-node__glyph { box-shadow: none; background: transparent; } /* Level tint on the icon art only — no rounded plate behind the glyph. */ .topo-node.is-level-external { --topo-level-ring: #38bdf8; } .topo-node.is-level-core { --topo-level-ring: #60a5fa; } .topo-node.is-level-aggregation { --topo-level-ring: #34d399; } .topo-node.is-level-access { --topo-level-ring: #fbbf24; } .topo-node.is-level-edge { --topo-level-ring: #fb7185; } .topo-node.is-level-unmatched { --topo-level-ring: rgba(148, 163, 184, 0.7); } .topo-node.is-level-external .topo-node__icon, .topo-node.is-level-core .topo-node__icon, .topo-node.is-level-aggregation .topo-node__icon, .topo-node.is-level-access .topo-node__icon, .topo-node.is-level-edge .topo-node__icon, .topo-node.is-level-unmatched .topo-node__icon { filter: drop-shadow(0 0 1.5px var(--topo-level-ring)); } .topo-node.has-alarm--critical .topo-node__glyph { outline: 2px solid rgba(220, 38, 38, 0.85); outline-offset: 1px; } .topo-node.has-alarm--major .topo-node__glyph { outline: 2px solid rgba(234, 88, 12, 0.85); outline-offset: 1px; } .topo-truncate-banner { position: absolute; top: 8px; left: 50%; z-index: 5; transform: translateX(-50%); max-width: min(720px, calc(100% - 24px)); padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(251, 191, 36, 0.45); background: rgba(15, 23, 42, 0.92); color: #fde68a; font-size: 12px; line-height: 1.4; text-align: center; pointer-events: none; } .topo-readonly-banner { position: absolute; top: 8px; right: 12px; z-index: 5; max-width: min(360px, calc(100% - 24px)); padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(56, 189, 248, 0.45); background: rgba(15, 23, 42, 0.92); color: #bae6fd; font-size: 12px; line-height: 1.4; pointer-events: none; } .topo-canvas__overlay--error { background: rgba(15, 23, 42, 0.88); } .app-main .topo-toolbar__outside-peers, .topo-toolbar__outside-peers { margin-left: auto; flex-shrink: 0; white-space: nowrap; width: auto; height: 30px; padding: 0 10px; font-size: 12px; font-weight: 600; line-height: 1; border-radius: 6px; border: 1px solid rgba(148, 163, 184, 0.28); background: #0b1220; color: #94a3b8; } .app-main .topo-toolbar__outside-peers:hover, .topo-toolbar__outside-peers:hover { background: #152033; color: #e2e8f0; } .topo-modal__panel--wide { width: min(560px, calc(100vw - 32px)); } .topo-modal__count { font-weight: 500; color: #94a3b8; } .topo-node--cisco { --topo-icon-color: var(--topo-vendor-cisco, #049fd9); } .topo-node--huawei { --topo-icon-color: var(--topo-vendor-huawei, #cf0a2c); } .topo-node--zte { --topo-icon-color: var(--topo-vendor-zte, #0091da); } .topo-node--juniper { --topo-icon-color: var(--topo-vendor-juniper, #84b135); } .topo-node--nokia { --topo-icon-color: var(--topo-vendor-nokia, #124191); } .topo-node--ericsson { --topo-icon-color: var(--topo-vendor-ericsson, #1e3a5f); } .topo-node--h3c { --topo-icon-color: var(--topo-vendor-h3c, #7ac143); } .topo-node--ruijie { --topo-icon-color: var(--topo-vendor-ruijie, #7c3aed); } .topo-node--mikrotik { --topo-icon-color: var(--topo-vendor-mikrotik, #ea580c); } .topo-node--gray, .topo-node--other { --topo-icon-color: var(--topo-vendor-gray, #94a3b8); } .topo-node--region { --topo-icon-color: #38bdf8; } .topo-region-list__chevron { flex: 0 0 auto; width: 24px; height: 24px; min-width: 24px; opacity: 0.75; } .topo-region-list__chevron:disabled { opacity: 0.25; cursor: default; } .topo-region-list__chevron-spacer { flex: 0 0 auto; width: 24px; min-width: 24px; height: 24px; } .topo-region-list .topo-map-list__row { display: flex; align-items: center; gap: 2px; } .topo-node.is-region { height: 17px; } .topo-node__glyph { position: relative; width: 28px; height: 28px; margin: 0 auto; border-radius: 0; background: transparent; box-shadow: none; transition: filter 0.15s ease; } .topo-node.is-region .topo-node__glyph { width: 28px; height: 19px; } .topo-node__icon--region { width: 28px; height: 19px; } .react-flow__node.is-search-hit { z-index: 1000 !important; } .react-flow__node.is-search-hit .topo-node { --topo-icon-color: #fbbf24; filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.95)); animation: topo-search-flash 0.7s ease-in-out infinite; } .react-flow__node.is-search-hit .topo-node__glyph, .react-flow__node.is-search-hit .topo-node__pixel, .react-flow__node.is-search-hit .topo-node__pin { outline: none; border-radius: 0; } .react-flow__node.is-search-hit .topo-node__icon { filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.95)); } .react-flow__node.is-search-hit .topo-node__pixel, .react-flow__node.is-search-hit .topo-node__pin { background: #fbbf24 !important; color: #fbbf24; box-shadow: 0 0 10px rgba(251, 191, 36, 0.95); } .react-flow__node.is-search-hit .topo-node__icon-tint { background-color: #fbbf24 !important; } .react-flow__node.is-search-hit .topo-node__caption { opacity: 1; z-index: 6; } .react-flow__node.is-search-hit .topo-node__caption-name { color: #fde68a; font-weight: 700; font-size: 10px; max-width: 140px; text-shadow: 0 0 4px rgba(0, 0, 0, 1), 0 0 8px rgba(251, 191, 36, 0.85); } @keyframes topo-search-flash { 0%, 100% { filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.7)); opacity: 1; transform: scale(1); } 50% { filter: drop-shadow(0 0 14px rgba(251, 191, 36, 1)); opacity: 0.72; transform: scale(1.18); } } .topo-node.is-selected .topo-node__glyph { outline: none; box-shadow: none; background: transparent; } .topo-node.is-selected .topo-node__icon { transform: none; filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.95)); } .topo-node__handle { width: 10px !important; height: 10px !important; min-width: 10px !important; min-height: 10px !important; background: transparent !important; border: 0 !important; opacity: 0 !important; pointer-events: none; } .topo-node.is-connect-mode .topo-node__handle { pointer-events: all; } .topo-node__handle--center { left: 50% !important; top: 50% !important; right: auto !important; bottom: auto !important; transform: translate(-50%, -50%) !important; } .topo-node.is-selected .topo-node__caption { font-weight: 700; } .topo-node.is-selected .topo-node__caption-name { color: var(--topo-label-color, #f1f5f9); filter: brightness(1.12); } /* Selected link: dark green so it stands out from UME blue / LLDP sky. */ .topo-canvas .react-flow__edge.selected .react-flow__edge-path { stroke: #166534 !important; stroke-width: 3px !important; } .topo-node__icon { position: relative; display: block; width: 28px; height: 28px; margin: 0; pointer-events: none; user-select: none; isolation: isolate; transition: transform 0.12s ease; } .topo-node__icon-art { display: block; width: 100%; height: 100%; object-fit: contain; } /* Recolor hue/sat from --topo-icon-color; keep luminosity so white textures remain. */ .topo-node__icon-tint { position: absolute; inset: 0; background-color: var(--topo-icon-color, #3b82f6); mix-blend-mode: color; -webkit-mask-image: url(/topo/ne-router.png); mask-image: url(/topo/ne-router.png); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-mode: alpha; mask-mode: alpha; pointer-events: none; transition: background-color 0.12s ease; } .topo-node__caption { position: absolute; left: 50%; top: calc(100% + 4px); transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1px; margin-top: 0; padding: 0; border: 0; border-radius: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; color: var(--topo-label-color, #f1f5f9); line-height: 1.2; width: max-content; max-width: 148px; pointer-events: none; } .topo-node__caption-name { display: block; max-width: 134px; font-size: 10px; font-weight: 650; letter-spacing: 0.01em; color: var(--topo-label-color, #f1f5f9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.65); } .topo-node__caption-meta { display: block; max-width: 134px; font-size: 8px; color: color-mix(in srgb, var(--topo-label-color, #f1f5f9) 55%, #94a3b8); font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 6px rgba(0, 0, 0, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .topo-canvas .react-flow__edge-textbg { fill: none !important; display: none !important; } .topo-canvas .react-flow__edge-text { fill: var(--topo-edge-label-color, #e2e8f0); font-size: 11px; paint-order: stroke; stroke: rgba(15, 23, 42, 0.85); stroke-width: 3px; } .topo-edge-label { font-size: 11px; color: var(--topo-edge-label-color, #e2e8f0); background: transparent !important; border: 0 !important; border-radius: 0; padding: 0 !important; box-shadow: none !important; white-space: nowrap; text-shadow: 0 0 3px rgba(15, 23, 42, 0.95), 0 1px 2px rgba(15, 23, 42, 0.85); } .topo-edge-label.is-selected { color: var(--topo-edge-label-color, #e2e8f0); font-weight: 600; filter: brightness(1.15); } .topo-ctx__member-list { margin: 0 0 8px; padding: 0 0 0 16px; font-size: 12px; color: #cbd5e1; max-height: 96px; overflow: auto; overscroll-behavior: contain; } .topo-ctx__style-members { grid-column: 1 / -1; display: grid; gap: 6px; } @media (max-width: 960px) { .topo-page, .topo-page.is-sidebar-collapsed { grid-template-columns: 1fr; height: auto; } .topo-sidebar__resizer { display: none; } .topo-sidebar { max-height: 40vh; } .topo-page.is-sidebar-collapsed .topo-sidebar { max-height: none; min-height: 40px; } .topo-sidebar__rail { flex-direction: row; justify-content: center; padding: 6px 8px; } .topo-sidebar__rail-label { writing-mode: horizontal-tb; } .topo-canvas { min-height: 420px; } } .login-page { --login-accent: #3b82f6; --login-accent-deep: #2563eb; --login-ink: rgba(255, 255, 255, 0.92); --login-muted: rgba(255, 255, 255, 0.55); --login-field: rgba(255, 255, 255, 0.08); --login-field-border: rgba(255, 255, 255, 0.14); --login-danger: #fda29b; --login-rail-w: clamp(360px, 30vw, 420px); position: relative; isolation: isolate; min-height: 100vh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) var(--login-rail-w); align-items: stretch; background: #00050a; font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; color: var(--login-ink); } .login-page__space { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; /* Center earth within the left stage (not under the form rail). */ justify-content: center; padding: 3vh calc(var(--login-rail-w) + 3vw) 3vh 5vw; background: url("/login-space.webp") center / cover no-repeat; } .login-page__space::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient( 90deg, transparent 0%, transparent 52%, rgba(0, 5, 12, 0.18) 70%, rgba(0, 5, 12, 0.48) 88%, rgba(0, 5, 12, 0.72) 100% ), linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, transparent 30%, transparent 72%, rgba(0, 0, 0, 0.38) 100%); } /* Tiny sun flare — upper-left void. */ .login-page__flares { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; } .login-page__flare { position: absolute; border-radius: 50%; pointer-events: none; opacity: 0.85; } .login-page__flare--a { width: 44px; height: 44px; left: 7%; top: 11%; background: radial-gradient( circle at 50% 50%, rgba(245, 250, 255, 0.92) 0%, rgba(170, 210, 255, 0.48) 28%, rgba(90, 150, 245, 0.14) 55%, transparent 78% ); box-shadow: 0 0 16px 3px rgba(120, 180, 255, 0.2); animation: login-flare-pulse-a 10s ease-in-out infinite alternate; } .login-planet { position: relative; z-index: 1; width: min(500px, 38vw, 62vmin); height: min(500px, 38vw, 62vmin); border-radius: 50%; transform: rotate(5deg); animation: login-planet-enter 1.8s cubic-bezier(0.76, -0.46, 0.37, 0.99) both; } .login-planet__earth { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; /* Soft dissolve into space — no outer glow (Earth does not emit light). */ -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 87%, transparent 100%); mask-image: radial-gradient(circle at 50% 50%, #000 87%, transparent 100%); transform-origin: center center; } /* Gentle volume shade — cooler blue midtones. */ .login-planet__earth::before { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: 50%; pointer-events: none; background: linear-gradient( 148deg, rgba(70, 130, 210, 0.16) 0%, rgba(45, 100, 185, 0.08) 20%, transparent 42%, rgba(0, 12, 36, 0.22) 72%, rgba(0, 8, 24, 0.42) 100% ); } /* * Blue atmospheric limb (scattered sunlight) — stays on the sphere only. */ .login-planet__earth::after { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: 50%; pointer-events: none; background: radial-gradient( 120% 95% at 10% 12%, rgba(55, 130, 230, 0.42) 0%, rgba(40, 110, 210, 0.22) 28%, rgba(30, 90, 185, 0.08) 48%, transparent 66% ), radial-gradient( circle at 50% 50%, transparent 74%, rgba(40, 105, 200, 0.14) 88%, rgba(50, 120, 215, 0.22) 94%, transparent 100% ); box-shadow: inset 0 0 20px 4px rgba(45, 110, 200, 0.28), inset 22px 26px 32px 4px rgba(60, 130, 220, 0.12), inset -20px -24px 40px 10px rgba(0, 6, 20, 0.3); animation: login-earth-inner 2.2s ease-in-out 0.7s both; } .login-planet__textures { position: absolute; inset: 0; width: 100%; height: 100%; background-color: rgba(8, 28, 72, 0.2); /* Pre-brightened asset — no live CSS filter (that was the GPU thrash). */ background-image: url("/login-earth-night-bright.webp"); background-repeat: repeat-x; background-size: 200%; animation: login-earth-spin 80s linear infinite; } .login-page__rail { position: relative; z-index: 5; grid-column: 2; display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; padding: 48px clamp(32px, 3.5vw, 52px) 48px 8px; } .login-card { width: 100%; max-width: 340px; display: flex; flex-direction: column; gap: 15px; padding: 26px 24px 28px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(8, 16, 32, 0.82); /* Lighter blur — full blur over the spinning globe was a steady GPU cost. */ backdrop-filter: blur(8px) saturate(1.08); -webkit-backdrop-filter: blur(8px) saturate(1.08); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(120, 170, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.07); animation: login-card-in 520ms cubic-bezier(0.22, 1, 0.36, 1) both; } .login-card__head { display: flex; align-items: baseline; justify-content: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 2px; } .login-card__brand, .login-card__title { margin: 0; font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: clamp(1.55rem, 4vw, 1.85rem); font-weight: 700; line-height: 1.15; color: rgba(226, 232, 240, 0.88); } .login-card__brand { letter-spacing: 0.1em; text-shadow: 0 0 22px rgba(59, 130, 246, 0.28); animation: login-brand-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both; } .login-card__title { font-weight: 650; letter-spacing: 0.02em; color: rgba(203, 213, 225, 0.9); } .login-card__hint { margin: -4px 0 4px; color: var(--login-muted); font-size: 13px; line-height: 1.45; } .login-card__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .login-card__label { position: relative; display: block; } .login-card__label input, .login-card__password input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--login-field-border); border-radius: 10px; background: var(--login-field); color: #fff; font: inherit; font-size: 15px; box-sizing: border-box; transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; } .login-card__label input::placeholder, .login-card__password input::placeholder { color: rgba(255, 255, 255, 0.42); } .login-card__password { position: relative; display: block; width: 100%; } .login-card__password input { padding-right: 44px !important; } .login-card__eye { position: absolute; top: 50%; right: 6px; z-index: 2; transform: translateY(-50%); width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, 0.55); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; } .login-card__eye:hover { color: #93c5fd; } .login-card__eye:focus-visible { outline: none; color: #93c5fd; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35); } .login-card__eye svg { display: block; pointer-events: none; } .login-card__label input:focus, .login-card__password input:focus { outline: none; border-color: rgba(59, 130, 246, 0.7); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22); background: rgba(255, 255, 255, 0.1); } .login-card__label input:disabled, .login-card__password input:disabled { opacity: 0.65; cursor: not-allowed; } .login-card__error { color: var(--login-danger); font-size: 13px; line-height: 1.4; padding: 8px 10px; border-radius: 8px; background: rgba(180, 35, 24, 0.22); border: 1px solid rgba(253, 162, 155, 0.28); animation: login-error-in 220ms ease both; } .login-card__submit { margin-top: 8px; height: 44px; border: 0; border-radius: 9999px; background: linear-gradient(to right, #3b82f6, #2563eb, #2563eb); color: #fff; font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; box-shadow: 0 8px 15px -3px rgba(59, 130, 246, 0.5), 0 4px 6px -4px rgba(59, 130, 246, 0.5); cursor: pointer; transition: transform 140ms ease, filter 140ms ease, opacity 140ms ease; } .login-card__submit:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); } .login-card__submit:active:not(:disabled) { transform: translateY(0); filter: brightness(0.98); } .login-card__submit:disabled { opacity: 0.55; cursor: not-allowed; } .login-card__submit--ghost, .login-card__submit + .login-card__submit { margin-top: 0; background: transparent; border: 1px solid rgba(59, 130, 246, 0.7); color: #93c5fd; box-shadow: none; } .login-card__submit--ghost:hover:not(:disabled), .login-card__submit + .login-card__submit:hover:not(:disabled) { background: rgba(59, 130, 246, 0.12); filter: none; } @keyframes login-planet-enter { 0% { transform: scale(0.92) rotate(-5deg); opacity: 0.65; } 100% { transform: rotate(5deg); opacity: 1; } } @keyframes login-earth-spin { from { background-position: calc(120% + 120px) 0; } to { background-position: calc(-80% + 120px) 0; } } @keyframes login-earth-inner { 0% { opacity: 0.55; } 100% { opacity: 1; } } @keyframes login-card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } @keyframes login-brand-in { from { opacity: 0; letter-spacing: 0.24em; transform: translateY(8px); } to { opacity: 1; letter-spacing: 0.12em; transform: translateY(0); } } @keyframes login-error-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } } @keyframes login-flare-pulse-a { from { opacity: 0.7; transform: scale(0.96); } to { opacity: 1; transform: scale(1.08); } } /* Pause infinite loops when the login tab is backgrounded (class set by LoginShell). */ html.login-page--paused .login-planet__textures, html.login-page--paused .login-page__flare { animation-play-state: paused !important; } @media (prefers-reduced-motion: reduce) { /* Keep ambient earth spin; only drop entrance flourishes. */ .login-planet, .login-planet__earth::after, .login-card, .login-card__brand, .login-card__error, .login-page__flare { animation: none !important; } .login-page__flare { opacity: 0.85; } .login-planet { transform: rotate(5deg); } .login-card__submit:hover:not(:disabled) { transform: none; } } @media (max-width: 1200px) { .login-page { --login-rail-w: clamp(340px, 34vw, 400px); } .login-planet { width: min(440px, 40vw, 58vmin); height: min(440px, 40vw, 58vmin); } } @media (max-width: 820px) { .login-page { grid-template-columns: 1fr; } .login-page__space { justify-content: center; padding: 0; } .login-page__space::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 30%, transparent 48%, rgba(0, 0, 0, 0.72) 100%); } .login-planet { width: min(420px, 78vmin); height: min(420px, 78vmin); opacity: 0.9; } .login-page__rail { grid-column: 1; min-height: 100vh; padding: 28px 18px 36px; } .login-card { max-width: 380px; padding: 20px 18px 22px; } .login-card__brand, .login-card__title { font-size: 1.4rem; } } /* —— Network Management shell (left nav + main) —— Fill the app chrome without a second document scrollbar. Negative margins + 100vh used to fight app-main padding and over-expand the page. */ .app--shell:has(.network-shell), .app--shell:has(.audit-shell) { height: 100vh; max-height: 100vh; overflow: hidden; } .app-main:has(> .network-shell), .app-main:has(> .audit-shell) { flex: 1 1 auto; min-height: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; } .network-shell { display: flex; flex: 1 1 auto; width: 100%; min-height: 0; height: auto; margin: 0; background: var(--nm-chrome); overflow: hidden; } .network-nav { width: 248px; flex-shrink: 0; display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(59, 130, 246, 0.06), transparent 120px), var(--nm-nav); border-right: 1px solid var(--nm-nav-border); min-height: 0; color: var(--nm-text); box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18); } .network-nav__scroll { flex: 1; min-height: 0; overflow: auto; padding: 10px 10px 20px; } .network-nav__accordion.accordion { width: 100%; background: transparent; border: 0; border-radius: 0; contain: none; } .network-nav__group { margin: 0 0 6px; border-radius: 10px; } .network-nav__group.is-active-group { background: rgba(59, 130, 246, 0.05); } .app-main .network-nav__group-toggle, .network-nav__group-toggle, .network-nav .accordion__trigger.network-nav__group-toggle { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--nm-muted); font-size: 12px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; text-align: left; cursor: pointer; } .app-main .network-nav__group-toggle:hover, .network-nav__group-toggle:hover, .network-nav .accordion__trigger.network-nav__group-toggle:hover { background: var(--nm-nav-hover); color: var(--nm-brand); } .network-nav__group.is-active-group .network-nav__group-toggle, .network-nav__group.is-active-group .accordion__trigger.network-nav__group-toggle { color: #93c5fd; } .network-nav__chevron, .network-nav .accordion__indicator.network-nav__chevron { display: inline-flex; width: 14px; height: 14px; color: #64748b; flex-shrink: 0; } .network-nav__group-label { flex: 1; min-width: 0; } .network-nav .accordion__body-inner.network-nav__panel-body, .network-nav .network-nav__panel-body { padding: 0 4px 8px !important; color: inherit !important; } .network-nav__list { list-style: none; margin: 0; padding: 0 4px; display: flex; flex-direction: column; gap: 2px; } .network-nav__list > li { width: 100%; } .network-nav__link { display: block; box-sizing: border-box; width: 100%; padding: 9px 12px; border-radius: 8px; color: var(--nm-muted); text-decoration: none; font-size: 13px; line-height: 1.35; border-left: 0; transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease; } .network-nav__link:hover { background: var(--nm-nav-hover); color: var(--nm-text); } .network-nav__link.is-active { background: var(--nm-nav-active); color: #dbeafe; font-weight: 600; box-shadow: inset 3px 0 0 var(--nm-accent); } .network-nav__brand { padding: 16px 18px 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--nm-brand); border-bottom: 1px solid var(--nm-nav-border); background: rgba(8, 13, 24, 0.35); } .network-nav__list--flat { padding: 4px; gap: 2px; } .audit-shell .network-main { overflow: auto; } .network-main { flex: 1; min-width: 0; min-height: 0; overflow: auto; padding: 20px 22px 28px; background: radial-gradient(1200px 480px at 0% 0%, rgba(59, 130, 246, 0.07), transparent 55%), var(--nm-main, var(--nm-chrome)); } .network-main > .panel, .network-main .page-stack > .panel, .network-main > .nm-page-panel { padding: 18px 20px 20px; border: 1px solid var(--nm-panel-border); border-radius: 14px; background: linear-gradient(180deg, rgba(22, 32, 50, 0.96), rgba(15, 23, 42, 0.92)); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 28px rgba(0, 0, 0, 0.18); } .network-main .panel__toolbar { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(148, 163, 184, 0.14); display: flex; align-items: center; justify-content: space-between; gap: 12px; } .network-main .panel__toolbar h2 { margin: 0; font-size: 18px; font-weight: 650; color: var(--nm-brand); letter-spacing: -0.02em; } .network-main .filter-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 0; padding: 12px 14px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 12px; background: rgba(8, 13, 24, 0.45); grid-template-columns: none; } .network-main .filter-inline input, .network-main .filter-inline > select { width: auto; min-width: 140px; flex: 1 1 160px; max-width: 280px; height: 34px; margin: 0; border: 1px solid rgba(148, 163, 184, 0.24); border-radius: 8px; background: #0b1220; color: #e2e8f0; padding: 0 12px; font-size: 13px; } /* FieldSelect wrapper is the flex item; nested select must NOT inherit flex-basis as height */ .network-main .filter-inline > .ui-field { flex: 1 1 160px; max-width: 280px; min-width: 140px; align-self: center; gap: 0; } .network-main .filter-inline > .ui-field > .ui-field__select { width: 100%; height: 34px; min-height: 34px; max-height: 34px; flex: none; margin: 0; border: 1px solid rgba(148, 163, 184, 0.24); border-radius: 8px; background: #0b1220; color: #e2e8f0; padding: 0 12px; font-size: 13px; } .network-main .filter-inline button { height: 34px; flex: 0 0 auto; } .network-main .pt-list { gap: 14px; } .network-main .pt-list-table-wrap { border: 1px solid rgba(148, 163, 184, 0.14); border-radius: 12px; overflow: hidden; background: rgba(8, 13, 24, 0.28); } .network-main .pt-list-table { margin: 0; } .network-main .pt-list-table thead th { background: rgba(15, 23, 42, 0.92); color: #94a3b8; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; padding-top: 12px; padding-bottom: 12px; } .network-main .pt-list-table tbody td { padding-top: 11px; padding-bottom: 11px; border-bottom-color: rgba(148, 163, 184, 0.08); } .network-main .pt-list-table tbody tr:last-child td { border-bottom: 0; } .network-main .pt-list-actions .button, .network-main .table-actions .button { min-height: 28px; } .network-main .pager.pt-list-pager, .network-main .pt-list-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 4px; } .pt-port-updown { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; } .pt-port-updown .conn-pill { min-width: 2.4em; justify-content: center; text-transform: lowercase; font-variant-numeric: tabular-nums; } .pt-wizard__confirm-port { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; } .pt-list-status--ok, .pt-list-status--up, .pt-list-status--connected { background: rgba(34, 197, 94, 0.16); color: #86efac; } .pt-list-status--down, .pt-list-status--failed, .pt-list-status--critical { background: rgba(239, 68, 68, 0.16); color: #fca5a5; } .pt-list-status--major { background: rgba(249, 115, 22, 0.16); color: #fdba74; } .pt-list-status--minor, .pt-list-status--warning { background: rgba(245, 158, 11, 0.16); color: #fde68a; } .pt-list-status--info { background: rgba(56, 189, 248, 0.14); color: #7dd3fc; } .pt-list-status--unknown { background: rgba(148, 163, 184, 0.14); color: #94a3b8; } /* Shared detail dialog for config view / LLDP jobs / config-sync cycles */ .ops-detail-modal, .nm-config-modal { display: flex; flex-direction: column; width: min(960px, 100%); max-height: min(90vh, 840px); overflow: hidden; } .ops-detail-modal__head, .nm-config-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; flex: 0 0 auto; } .ops-detail-modal__title h3, .nm-config-modal__title h3 { margin: 0 0 4px; } .ops-detail-modal__title .muted, .nm-config-modal__title .muted { margin: 0; font-size: 13px; } .ops-detail-modal__actions, .nm-config-modal__actions { flex: 0 0 auto; } .ops-detail-modal__toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; flex: 0 0 auto; } .ops-detail-modal__scroll { flex: 1 1 auto; min-height: 0; overflow: auto; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 8px; background: rgba(2, 8, 23, 0.35); } .ops-detail-modal__scroll .pt-list-table-wrap, .ops-detail-modal__scroll .data-table { border: 0; } .ops-detail-modal__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex: 0 0 auto; } .ops-detail-modal__error { margin: 0 0 10px; color: #fca5a5; font-size: 13px; } .ops-detail-modal--xl { width: min(1100px, 100%); } .ops-detail-modal__scroll--pad { padding: 12px 14px; } /* Form + list share one scroll body (no cramped nested table viewport). */ .ops-detail-modal__scroll--flow { border: 0; background: transparent; border-radius: 0; } .ops-detail-modal__scroll--flow .pt-list-table-wrap { border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 8px; overflow: visible; } .ume-entry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; } .ume-page > .ume-entry-grid > .panel { padding: 16px 18px 18px; border: 1px solid var(--nm-panel-border); border-radius: 14px; background: linear-gradient(180deg, rgba(22, 32, 50, 0.96), rgba(15, 23, 42, 0.92)); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 28px rgba(0, 0, 0, 0.18); margin: 0; display: flex; flex-direction: column; gap: 10px; min-height: 118px; } .ume-entry .panel__toolbar { margin-bottom: 0; padding-bottom: 10px; } .ume-entry__summary { margin: 0; font-size: 13px; line-height: 1.45; flex: 1 1 auto; } .ume-entry__pills { margin: 0; flex-wrap: wrap; gap: 6px; } .ume-entry__link { color: #93c5fd; text-decoration: none; font-weight: 600; } .ume-entry__link:hover { color: #bfdbfe; text-decoration: underline; } .ume-modal-form { flex: 0 0 auto; margin-bottom: 10px; } .ume-modal-form__grow { flex: 1 1 160px; min-width: 140px; } .ume-modal-form__label { margin: 0 0 6px; font-size: 13px; } .ume-modal-form__hint { margin: 6px 0 0; font-size: 12px; } .ume-modal-form__opts { margin-top: 8px; margin-bottom: 0; } .ume-ne-types { display: flex; flex-wrap: wrap; gap: 8px 16px; max-height: 120px; overflow: auto; padding: 8px 10px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 8px; background: rgba(2, 8, 23, 0.35); } .ume-ne-types--tall { max-height: 240px; } .ume-ne-types__item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 13px; } .ume-ne-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; font-size: 13px; } .ume-ne-detail-grid > div > .muted { display: block; font-size: 11px; margin-bottom: 2px; } .nowrap { white-space: nowrap; } .nm-config-modal__tabs { margin-bottom: 10px; } .nm-page-panel .nm-config-modal__tabs button.is-active, .bs-cmp-job-body .nm-config-modal__tabs button.is-active { outline: 2px solid rgba(37, 99, 235, 0.55); outline-offset: 1px; box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25); font-weight: 600; } .bs-cmp-metric-chips { display: flex; flex-wrap: wrap; gap: 4px; } .bs-cmp-metric-chip { display: inline-block; padding: 2px 6px; border-radius: 4px; background: rgba(148, 163, 184, 0.14); font-size: 12px; } /* biz_state batch workbook (Excel-like sheets) */ .bs-workbook-modal .bs-workbook-body { min-height: min(62vh, 640px); } .bs-sheet-filter { align-items: center; } .bs-sheet-count { white-space: nowrap; font-size: 12px; } .bs-sheet-table { flex: 1 1 auto; min-height: 280px; max-height: min(48vh, 520px); } .bs-sheet-tabs { display: flex; flex-wrap: wrap; gap: 4px; align-items: flex-end; margin-top: 4px; padding: 6px 4px 0; border-top: 1px solid rgba(148, 163, 184, 0.28); } .bs-sheet-tab { appearance: none; border: 1px solid rgba(148, 163, 184, 0.35); border-bottom: none; border-radius: 6px 6px 0 0; background: rgba(148, 163, 184, 0.12); color: inherit; padding: 6px 12px; font-size: 12px; cursor: pointer; line-height: 1.2; } .bs-sheet-tab:hover { background: rgba(148, 163, 184, 0.22); } .bs-sheet-tab.is-active { background: var(--wb-surface, #fff); border-color: rgba(59, 130, 246, 0.55); font-weight: 600; box-shadow: 0 -1px 0 rgba(59, 130, 246, 0.35) inset; } .bs-sheet-tab__count { margin-left: 6px; opacity: 0.65; font-variant-numeric: tabular-nums; } .bs-bind-panel { padding: 10px 12px; border: 1px solid rgba(148, 163, 184, 0.25); border-radius: 8px; } .bs-bind-list { max-height: 200px; overflow: auto; } .bs-bind-item { display: block; margin-bottom: 4px; } /* biz_state compare result workbook / board */ .bs-cmp-job-body { min-height: min(64vh, 680px); } .bs-cmp-board-modal .modal__dialog, .bs-cmp-board-modal .modal__dialog--lg, .bs-cmp-board-modal .modal__dialog--md, .bs-cmp-board-modal .modal__dialog--cover { width: min(96vw, 1600px) !important; max-width: min(96vw, 1600px) !important; } .bs-cmp-board-modal .app-heroui-modal__dialog [data-slot="modal-body"], .bs-cmp-board-modal .app-heroui-modal__dialog .modal__body { max-height: min(90vh, 980px); } .bs-cmp-board { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-height: 0; padding: 4px; border-radius: 12px; background: radial-gradient(1200px 420px at 10% -10%, rgba(37, 99, 235, 0.08), transparent 55%), radial-gradient(900px 360px at 90% 0%, rgba(16, 185, 129, 0.06), transparent 50%), rgba(148, 163, 184, 0.04); } .bs-cmp-board.is-fullscreen, .bs-cmp-board:fullscreen { background: #0b1220; color: #e2e8f0; padding: 16px 18px; gap: 12px; overflow: auto; } .bs-cmp-board__toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; justify-content: space-between; } .bs-cmp-board__hero { display: grid; grid-template-columns: minmax(160px, 220px) 1fr; gap: 10px; align-items: stretch; } .bs-cmp-hero-pass { border-radius: 14px; border: 1px solid rgba(148, 163, 184, 0.28); padding: 14px 16px; background: rgba(255, 255, 255, 0.55); display: flex; flex-direction: column; justify-content: center; } .bs-cmp-board.is-fullscreen .bs-cmp-hero-pass, .bs-cmp-board:fullscreen .bs-cmp-hero-pass { background: rgba(15, 23, 42, 0.85); border-color: rgba(148, 163, 184, 0.25); } .bs-cmp-hero-pass.is-ok { border-color: rgba(34, 197, 94, 0.45); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.12); } .bs-cmp-hero-pass.is-warn { border-color: rgba(245, 158, 11, 0.5); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.12); } .bs-cmp-hero-pass__label { font-size: 12px; opacity: 0.7; } .bs-cmp-hero-pass__value { font-size: 42px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; } .bs-cmp-hero-pass.is-ok .bs-cmp-hero-pass__value { color: #16a34a; } .bs-cmp-hero-pass.is-warn .bs-cmp-hero-pass__value { color: #d97706; } .bs-cmp-hero-pass__unit { font-size: 18px; margin-left: 2px; font-weight: 700; } .bs-cmp-hero-pass__sub { margin-top: 4px; font-size: 12px; opacity: 0.75; } .bs-cmp-hero-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .bs-cmp-hero-metric { border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.25); background: rgba(255, 255, 255, 0.5); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; } .bs-cmp-board.is-fullscreen .bs-cmp-hero-metric, .bs-cmp-board:fullscreen .bs-cmp-hero-metric { background: rgba(15, 23, 42, 0.75); } .bs-cmp-hero-metric__label { font-size: 11px; opacity: 0.68; } .bs-cmp-hero-metric__value { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; } .bs-cmp-hero-metric__sub { font-size: 11px; opacity: 0.65; } .bs-cmp-sheet-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; } .bs-cmp-sheet-card { appearance: none; text-align: left; border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 12px; background: rgba(255, 255, 255, 0.55); color: inherit; padding: 10px 12px; cursor: pointer; } .bs-cmp-board.is-fullscreen .bs-cmp-sheet-card, .bs-cmp-board:fullscreen .bs-cmp-sheet-card { background: rgba(15, 23, 42, 0.8); } .bs-cmp-sheet-card.is-active { border-color: rgba(37, 99, 235, 0.65); box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25); } .bs-cmp-sheet-card.has-diff { border-color: rgba(245, 158, 11, 0.45); } .bs-cmp-sheet-card.is-clean { border-color: rgba(34, 197, 94, 0.35); } .bs-cmp-sheet-card__title { font-size: 12px; font-weight: 600; margin-bottom: 4px; word-break: break-all; } .bs-cmp-sheet-card__pass { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; } .bs-cmp-sheet-card.is-clean .bs-cmp-sheet-card__pass { color: #16a34a; } .bs-cmp-sheet-card.has-diff .bs-cmp-sheet-card__pass { color: #d97706; } .bs-cmp-sheet-card__stats { display: flex; gap: 8px; margin-top: 6px; font-size: 11px; font-variant-numeric: tabular-nums; opacity: 0.8; } .bs-cmp-sheet-card__meta { margin-top: 4px; font-size: 11px; } .bs-cmp-top-fields { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .bs-cmp-top-fields__label { font-size: 12px; opacity: 0.7; margin-right: 4px; } .bs-cmp-top-fields__chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.3); font-size: 12px; background: rgba(245, 158, 11, 0.08); } .bs-cmp-top-fields__chip em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; color: #b45309; } .bs-cmp-result { min-height: 0; } .bs-cmp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .bs-cmp-kpi { appearance: none; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 10px; background: rgba(148, 163, 184, 0.06); padding: 10px 12px; text-align: left; cursor: pointer; color: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; } .bs-cmp-kpi:hover { border-color: rgba(59, 130, 246, 0.45); } .bs-cmp-kpi.is-active { border-color: rgba(37, 99, 235, 0.65); box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2); background: rgba(59, 130, 246, 0.08); } .bs-cmp-kpi__label { display: block; font-size: 12px; opacity: 0.72; margin-bottom: 4px; } .bs-cmp-kpi__value { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; } .bs-cmp-kpi--added .bs-cmp-kpi__value { color: #16a34a; } .bs-cmp-kpi--removed .bs-cmp-kpi__value { color: #dc2626; } .bs-cmp-kpi--changed .bs-cmp-kpi__value { color: #d97706; } .bs-cmp-kpi--unchanged .bs-cmp-kpi__value { color: #64748b; } .bs-cmp-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .bs-cmp-kind-pills { display: flex; flex-wrap: wrap; gap: 4px; } .bs-cmp-kind-pill { appearance: none; border: 1px solid rgba(148, 163, 184, 0.32); border-radius: 999px; background: transparent; color: inherit; padding: 4px 10px; font-size: 12px; cursor: pointer; line-height: 1.3; } .bs-cmp-kind-pill:hover { background: rgba(148, 163, 184, 0.12); } .bs-cmp-kind-pill.is-active { background: rgba(37, 99, 235, 0.12); border-color: rgba(37, 99, 235, 0.55); font-weight: 600; color: #1d4ed8; } .bs-cmp-board.is-fullscreen .bs-cmp-kind-pill.is-active, .bs-cmp-board:fullscreen .bs-cmp-kind-pill.is-active { color: #93c5fd; } .bs-cmp-result-table { flex: 1 1 auto; min-height: 280px; max-height: min(42vh, 480px); } .bs-cmp-board.is-fullscreen .bs-cmp-result-table, .bs-cmp-board:fullscreen .bs-cmp-result-table { max-height: none; min-height: 40vh; flex: 1 1 auto; } .bs-cmp-diff-table { border-collapse: separate; border-spacing: 0; } .bs-cmp-diff-table thead th { position: sticky; top: 0; z-index: 1; background: var(--wb-surface, #f8fafc); box-shadow: 0 1px 0 rgba(148, 163, 184, 0.35); font-size: 12px; white-space: nowrap; } .bs-cmp-board.is-fullscreen .bs-cmp-diff-table thead th, .bs-cmp-board:fullscreen .bs-cmp-diff-table thead th { background: #111827; } .bs-cmp-col-kind { width: 72px; white-space: nowrap; } .bs-cmp-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.4; } .bs-cmp-badge--added { background: rgba(34, 197, 94, 0.16); color: #15803d; } .bs-cmp-badge--removed { background: rgba(239, 68, 68, 0.14); color: #b91c1c; } .bs-cmp-badge--changed { background: rgba(245, 158, 11, 0.16); color: #b45309; } .bs-cmp-badge--unchanged { background: rgba(148, 163, 184, 0.18); color: #475569; } .bs-cmp-key-cell { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; white-space: nowrap; } .bs-cmp-val-cell { font-size: 12px; vertical-align: middle; } .bs-cmp-val-cell--diff { background: rgba(245, 158, 11, 0.05); } .bs-cmp-val { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; } .bs-cmp-val--pre { color: #b91c1c; text-decoration: line-through; text-decoration-thickness: 1px; opacity: 0.9; } .bs-cmp-val--post { color: #15803d; font-weight: 600; } .bs-cmp-val-arrow { margin: 0 6px; opacity: 0.45; font-weight: 600; } .bs-cmp-row--added { background: rgba(34, 197, 94, 0.05); } .bs-cmp-row--removed { background: rgba(239, 68, 68, 0.05); } .bs-cmp-row--changed { background: transparent; } .bs-cmp-row--unchanged { opacity: 0.78; } .bs-cmp-cell--pre { background: rgba(239, 68, 68, 0.14); font-weight: 600; } .bs-cmp-cell--post { background: rgba(34, 197, 94, 0.14); font-weight: 600; } @media (max-width: 900px) { .bs-cmp-board__hero { grid-template-columns: 1fr; } .bs-cmp-hero-metrics, .bs-cmp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } } .nm-config-modal__body { flex: 1 1 auto; width: 100%; min-height: min(52vh, 480px); margin: 0; padding: 12px 14px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 8px; background: #0b1220 !important; color: #e2e8f0 !important; font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 12px; line-height: 1.45; resize: vertical; overflow: auto; } .nm-config-modal__meta { margin: 10px 0 0; font-size: 12px; word-break: break-all; } .network-main:has(.topo-page), .network-main:has(.webcrt-shell), .network-main:has(.pt-wall-shell) { padding: 0; overflow: hidden; } .app-main:has(> .pt-wall-shell) { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 0; } .network-main .topo-page, .network-main .topo-page.is-sidebar-collapsed { height: 100%; margin: 0; min-height: 0; } .network-main .webcrt-shell { height: 100%; margin: 0; min-height: 0; border: 0; } .network-main .pt-wall-shell, .app-main > .pt-wall-shell { flex: 1; height: 100%; margin: 0; min-height: 0; } .pt-board-toolbar__title { font-size: 15px; font-weight: 600; color: #e2e8f0; line-height: 30px; max-width: min(420px, 50vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .network-placeholder h2 { margin: 0 0 8px; } .network-placeholder__list { margin: 12px 0 0; padding-left: 1.25rem; color: #94a3b8; line-height: 1.6; } /* Port traffic monitoring */ .pt-wizard__steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; } .pt-wizard__step { border: 1px solid rgba(148, 163, 184, 0.28); background: rgba(15, 23, 42, 0.75); color: #cbd5e1; border-radius: 6px; padding: 6px 10px; font-size: 13px; cursor: pointer; } .pt-wizard__step.is-active { border-color: rgba(45, 212, 191, 0.45); background: rgba(15, 118, 110, 0.28); color: #5eead4; } .pt-wizard__ne-block { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(148, 163, 184, 0.18); } .pt-wizard__confirm-list { margin: 8px 0 16px; padding-left: 1.2rem; max-height: 220px; overflow: auto; color: #cbd5e1; } .pt-list { display: flex; flex-direction: column; gap: 14px; } .pt-list-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .pt-list-kpi { padding: 12px 14px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 8px; background: rgba(15, 23, 42, 0.72); } .pt-list-kpi--live { background: rgba(37, 99, 235, 0.18); border-color: rgba(59, 130, 246, 0.4); } .pt-list-kpi__label { font-size: 12px; color: #94a3b8; margin-bottom: 4px; } .pt-list-kpi__value { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; color: #f1f5f9; line-height: 1.2; } .pt-list-kpi--live .pt-list-kpi__value { color: #93c5fd; } .pt-list-table-wrap { border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 8px; overflow: auto; } .pt-list-table { margin: 0; } .pt-list-table thead th { background: rgba(15, 23, 42, 0.9); font-size: 12px; font-weight: 600; color: #94a3b8; white-space: nowrap; } .pt-list-table tbody td { vertical-align: middle; } .pt-list-table tbody tr:hover td { background: rgba(30, 41, 59, 0.55); } .pt-list-task-name { font-weight: 600; color: #e2e8f0; } .pt-list-task-err { margin-top: 2px; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #fca5a5; } /* Beat .app-main button { color/background } so error state shows without hover. */ .app-main .pt-list-log-btn--error, .pt-list-actions .pt-list-log-btn--error { color: #fca5a5; border-color: rgba(248, 113, 113, 0.35); background: rgba(127, 29, 29, 0.35); font-weight: 600; } .app-main .pt-list-log-btn--error:hover, .pt-list-actions .pt-list-log-btn--error:hover { color: #fecaca; background: rgba(153, 27, 27, 0.5); } .pt-log-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; } .pt-log-modal__head h3 { margin: 0; } .pt-log-modal__sub { margin: 4px 0 0; font-size: 13px; } .pt-log-modal__list { display: flex; flex-direction: column; gap: 10px; max-height: min(60vh, 520px); overflow: auto; } .pt-log-item { border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 8px; padding: 10px 12px; background: rgba(15, 23, 42, 0.72); color: #e2e8f0; } .pt-log-item--error { border-color: rgba(248, 113, 113, 0.35); background: rgba(239, 68, 68, 0.12); } .pt-log-item--warn { border-color: rgba(251, 191, 36, 0.35); background: rgba(245, 158, 11, 0.12); } .pt-log-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; font-size: 12px; color: #94a3b8; } .pt-log-item__level { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; color: #fca5a5; } .pt-log-item--warn .pt-log-item__level { color: #fde68a; } .pt-log-item--info .pt-log-item__level { color: #7dd3fc; } .pt-log-item__if { font-family: ui-monospace, SFMono-Regular, Consolas, "Cascadia Mono", Consolas, monospace; color: #cbd5e1; } .pt-log-item__msg { margin: 0; background: rgba(2, 8, 23, 0.55); border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 6px; padding: 8px 10px; white-space: pre-wrap; word-break: break-word; font-size: 12px; line-height: 1.45; color: #e2e8f0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; } .pt-rebind-modal__current { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 8px; background: rgba(15, 23, 42, 0.72); color: #e2e8f0; } .pt-rebind-modal__current strong { margin-left: 8px; font-weight: 600; } .pt-rebind-modal__table-wrap { max-height: min(40vh, 360px); overflow: auto; } .pt-rebind-row--same-ip { background: rgba(120, 53, 15, 0.35); } .pt-rebind-same-ip { margin-left: 8px; font-size: 11px; font-weight: 600; color: #fbbf24; } .pt-list-status { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; } .pt-list-status + .pt-list-status { margin-left: 6px; } .pt-list-status--running { background: rgba(34, 197, 94, 0.16); color: #86efac; } .pt-list-status--running::before, .pt-list-status--collect::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; } .pt-list-status--paused { background: rgba(245, 158, 11, 0.16); color: #fde68a; } .pt-list-status--stopped, .pt-list-status--other { background: rgba(148, 163, 184, 0.14); color: #94a3b8; } .pt-list-status--collect { background: rgba(99, 102, 241, 0.18); color: #a5b4fc; } .pt-list-num, .pt-list-time { font-variant-numeric: tabular-nums; white-space: nowrap; color: #94a3b8; } .pt-list-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .pt-list-actions .btn-primary, .pt-list-actions .btn--danger, .pt-list-actions button { padding: 4px 10px; font-size: 12px; line-height: 1.4; } .pt-list-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 200px; padding: 32px 16px; border: 1px dashed rgba(148, 163, 184, 0.28); border-radius: 8px; background: rgba(15, 23, 42, 0.55); color: #94a3b8; text-align: center; } .pt-list-empty p { margin: 0; } .pt-list-pager { justify-content: center; } @media (max-width: 900px) { .pt-list-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } } .pt-wall-shell { display: flex; flex-direction: column; min-height: 0; color: #e2e8f0; background: radial-gradient(1200px 480px at 12% -10%, rgba(45, 212, 191, 0.08), transparent 55%), radial-gradient(900px 420px at 88% 0%, rgba(56, 189, 248, 0.06), transparent 50%), linear-gradient(180deg, #0a1220 0%, #070d18 100%); } .pt-board-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; flex: 0 0 auto; padding: 10px 14px; border-bottom: 1px solid rgba(148, 163, 184, 0.16); background: rgba(15, 23, 42, 0.88); } .pt-board-toolbar__left { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; min-width: 0; } .pt-board-toolbar__field { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: #94a3b8; min-width: 0; } .pt-board-toolbar__field select, .pt-board-toolbar__field input { height: 30px; min-width: 160px; padding: 0 9px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: rgba(15, 23, 42, 0.7); color: #e2e8f0; font-size: 13px; } .pt-board-toolbar__field--sm select { min-width: 72px; } .pt-board-toolbar__actions { flex-wrap: wrap; } .app-main .pt-board-toolbar button { height: 30px; font-size: 12px; } .pt-board-page { padding-top: 10px; } .pt-board-add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin-bottom: 12px; padding: 10px 12px; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 8px; background: rgba(15, 23, 42, 0.45); } .pt-board-grid { display: grid; gap: 12px; flex: 1; min-height: 0; align-content: start; overflow: auto; padding-bottom: 8px; } .pt-board-panel { min-height: 320px; display: flex; flex-direction: column; min-width: 0; border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 10px; background: rgba(8, 14, 26, 0.35); overflow: hidden; } .pt-board-panel.is-stale { border-color: rgba(248, 113, 113, 0.45); } .pt-board-panel .pt-wall { flex: 1; min-height: 280px; padding: 12px 12px 8px; } .pt-board-panel__editbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: 0 0 auto; padding: 6px 10px; border-bottom: 1px solid rgba(148, 163, 184, 0.14); background: rgba(15, 23, 42, 0.72); } .pt-board-panel__edit-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #cbd5e1; } .pt-board-panel__stale { flex: 1; display: grid; place-content: center; gap: 10px; padding: 24px; text-align: center; color: #fca5a5; } .pt-wall-shell__empty { flex: 1; display: grid; place-content: center; gap: 12px; color: #94a3b8; } .pt-wall-page { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 10px 14px 12px; gap: 0; } .pt-wall-page__hint { margin: 0 0 8px; flex: 0 0 auto; font-size: 12px; color: #94a3b8; } .pt-wall-page__stage { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; } .pt-wall-page__stage:fullscreen, .pt-wall-page__stage.is-fullscreen:fullscreen { width: 100vw; height: 100vh; padding: 12px 14px; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(1200px 480px at 12% -10%, rgba(45, 212, 191, 0.08), transparent 55%), linear-gradient(180deg, #0a1220 0%, #070d18 100%); } .pt-wall-page__stage:fullscreen .pt-board-grid, .pt-wall-page__stage.is-fullscreen:fullscreen .pt-board-grid { flex: 1 1 auto; width: 100%; height: auto; min-height: 0; overflow: hidden; align-content: stretch; /* Equal row heights that fit the viewport — no fixed min that forces scroll. */ grid-auto-rows: minmax(0, 1fr); gap: 6px; padding-bottom: 0; } .pt-board-fs-legend { display: none; } .pt-wall-page__stage:fullscreen .pt-board-fs-legend, .pt-wall-page__stage.is-fullscreen:fullscreen .pt-board-fs-legend { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 6px; padding: 4px 8px 0; color: #94a3b8; font-size: 11px; } .pt-wall-page__stage:fullscreen .pt-board-panel, .pt-wall-page__stage.is-fullscreen:fullscreen .pt-board-panel { min-height: 0; height: auto; max-height: 100%; overflow: hidden; border-radius: 8px; } .pt-wall-page__stage:fullscreen .pt-board-panel .pt-wall, .pt-wall-page__stage.is-fullscreen:fullscreen .pt-board-panel .pt-wall { flex: 1 1 auto; min-height: 0; height: 100%; padding: 6px 8px 2px; } .pt-wall--dense .pt-wall__ne { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pt-wall--dense .pt-wall__ne-base { color: #64748b; font-weight: 400; } .pt-wall--dense .pt-wall__if { font-size: clamp(13px, 1.5vh, 18px); max-width: min(560px, 55vw); } .pt-wall--dense .pt-wall__range { font-size: 11px; } .pt-wall--dense .pt-wall__head { margin-bottom: 4px; align-items: flex-start; } .pt-wall--dense .pt-wall__kpis { margin-bottom: 4px; } .pt-wall--dense .pt-wall__kpi { padding: 4px 8px; } .pt-wall--dense .pt-wall__kpi-label { font-size: 9px; } .pt-wall--dense .pt-wall__kpi-value { font-size: clamp(12px, 1.6vh, 16px); } .pt-wall--dense .pt-wall__kpi-unit { font-size: 10px; } .pt-wall-page__stage:fullscreen .pt-wall__if, .pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__if { font-size: clamp(13px, 1.5vh, 18px); } .pt-wall-page__stage:fullscreen .pt-wall__head, .pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__head { margin-bottom: 4px; } .pt-wall-page__stage:fullscreen .pt-wall__kpis, .pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__kpis { margin-bottom: 4px; } .pt-wall-page__stage:fullscreen .pt-wall__kpi, .pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__kpi { padding: 4px 8px; } .pt-wall-page__stage:fullscreen .pt-wall__kpi-value, .pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__kpi-value { font-size: clamp(12px, 1.6vh, 16px); } .pt-wall-page__stage:fullscreen .pt-wall__chart-wrap, .pt-wall-page__stage.is-fullscreen:fullscreen .pt-wall__chart-wrap { min-height: 0; flex: 1 1 auto; } .pt-wall-page__stage .pt-wall { flex: 1; min-height: 0; height: 100%; } .pt-wall-page__fs-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border: 1px solid rgba(148, 163, 184, 0.28); border-radius: 6px; background: transparent; color: #cbd5e1; font-size: 12px; cursor: pointer; } .pt-wall-page__fs-btn--toolbar { flex: 0 0 auto; align-self: flex-end; } .pt-wall-page__fs-btn:hover { background: rgba(148, 163, 184, 0.12); border-color: rgba(148, 163, 184, 0.45); color: #f8fafc; } .app-main .pt-wall-page__fs-btn { background: transparent; color: #cbd5e1; } .app-main .pt-wall-page__fs-btn:hover { background: rgba(148, 163, 184, 0.12); color: #f8fafc; } .pt-wall-page__toolbar { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; margin-bottom: 10px; padding: 0 0 10px; background: transparent; border: 0; border-bottom: 1px solid rgba(148, 163, 184, 0.14); border-radius: 0; } .pt-wall-page__row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; } .pt-wall-page__row--primary { padding-bottom: 0; border-bottom: 0; } .pt-wall-page__row--secondary { align-items: flex-end; } .pt-wall-page__field { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: #64748b; min-width: 0; } .pt-wall-page__field select, .pt-wall-page__field input { height: 30px; padding: 0 9px; border: 1px solid rgba(148, 163, 184, 0.22); border-radius: 6px; background: rgba(15, 23, 42, 0.55); color: #e2e8f0; font-size: 12px; } .pt-wall-page__field select:hover, .pt-wall-page__field input:hover, .pt-wall-page__field select:focus, .pt-wall-page__field input:focus { border-color: rgba(45, 212, 191, 0.45); outline: none; } .app-main .pt-wall-page__field select, .app-main .pt-wall-page__field input { background: rgba(15, 23, 42, 0.55); color: #e2e8f0; border-color: rgba(148, 163, 184, 0.22); } .pt-wall-page__field--task { flex: 0 1 160px; min-width: 128px; } .pt-wall-page__field--port { flex: 1 1 220px; min-width: 180px; } .pt-wall-page__field--sm { flex: 0 0 78px; } .pt-wall-page__field--md { flex: 0 1 148px; min-width: 120px; } .pt-wall-page__field--port select { width: 100%; } .pt-wall-page__collect { flex: 0 0 auto; height: 30px; margin-left: auto; align-self: flex-end; white-space: nowrap; border-radius: 6px; border: 1px solid rgba(45, 212, 191, 0.35); background: rgba(45, 212, 191, 0.16); color: #99f6e4; font-size: 12px; } .app-main .pt-wall-page__collect.btn-primary { background: rgba(45, 212, 191, 0.16); border-color: rgba(45, 212, 191, 0.35); color: #99f6e4; } .app-main .pt-wall-page__collect.btn-primary:hover:not(:disabled) { background: rgba(45, 212, 191, 0.28); color: #ecfdf5; } .pt-wall-page__cluster { display: flex; flex-direction: row; align-items: flex-end; gap: 8px 10px; min-width: 0; } .pt-wall-page__cluster--map { flex: 1 1 280px; } .pt-wall-page__cluster-label { flex: 0 0 auto; padding-bottom: 7px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #475569; white-space: nowrap; } .pt-wall-page__cluster-fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; } .pt-wall-page__cluster-sep { width: 1px; align-self: stretch; margin: 4px 6px 0; background: rgba(148, 163, 184, 0.14); flex: 0 0 1px; } @media (max-width: 900px) { .pt-wall-page__cluster { flex-direction: column; align-items: stretch; } .pt-wall-page__cluster-label { padding-bottom: 0; } .pt-wall-page__cluster-sep { display: none; } .pt-wall-page__collect { margin-left: 0; } .pt-wall-page__field--port { flex-basis: 100%; } } .pt-wall { --pt-bg: #0a1220; --pt-panel: transparent; --pt-line: rgba(148, 163, 184, 0.16); --pt-text: #e2e8f0; --pt-muted: #8b9bb0; --pt-in: #2dd4bf; --pt-out: #fbbf24; display: flex; flex-direction: column; min-height: 0; background: transparent; border: 0; border-radius: 0; padding: 4px 2px 0; color: var(--pt-text); } .pt-wall__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 12px; flex: 0 0 auto; } .pt-wall__head-title { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; color: #cbd5e1; } .pt-wall__title { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .pt-wall__ne { font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--pt-muted); } .pt-wall__if { font-size: 22px; font-weight: 600; letter-spacing: 0.01em; font-family: ui-monospace, SFMono-Regular, Consolas, "Cascadia Mono", Consolas, monospace; color: #f8fafc; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: min(720px, 72vw); } .pt-wall__range { font-size: 12px; color: var(--pt-muted); white-space: nowrap; padding-bottom: 3px; font-variant-numeric: tabular-nums; } .pt-wall__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-bottom: 14px; flex: 0 0 auto; border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 8px; background: rgba(15, 23, 42, 0.35); overflow: hidden; } .pt-wall__kpi { background: transparent; border: 0; border-radius: 0; border-right: 1px solid rgba(148, 163, 184, 0.1); padding: 12px 16px; } .pt-wall__kpi:last-child { border-right: 0; } .pt-wall__kpi-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; margin-bottom: 6px; } .pt-wall__kpi-value { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Consolas, "Cascadia Mono", Consolas, monospace; line-height: 1.15; color: #f1f5f9; } .pt-wall__kpi--in .pt-wall__kpi-value { color: var(--pt-in); } .pt-wall__kpi--out .pt-wall__kpi-value { color: var(--pt-out); } .pt-wall__kpi--util .pt-wall__kpi-value { color: #7dd3fc; } .pt-wall__kpi-unit, .pt-wall__kpi-sep { margin-left: 4px; font-size: 11px; color: var(--pt-muted); font-weight: 500; } .pt-wall__chart-wrap { position: relative; flex: 1; min-height: 180px; width: 100%; border-radius: 8px; background: rgba(8, 14, 26, 0.45); border: 1px solid rgba(148, 163, 184, 0.1); padding: 8px 8px 4px; box-sizing: border-box; } .pt-wall__chart { min-height: 0; height: 100%; width: 100%; } .pt-wall__chart .uplot, .pt-wall__chart .u-wrap { font-family: ui-monospace, SFMono-Regular, Consolas, "Cascadia Mono", Consolas, monospace; } .pt-wall__tip { position: absolute; top: 0; left: 0; z-index: 5; min-width: 150px; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(148, 163, 184, 0.28); background: rgba(8, 14, 26, 0.94); color: #e2e8f0; font-size: 12px; line-height: 1.45; pointer-events: none; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4); backdrop-filter: blur(6px); } .pt-wall__tip-time { margin-bottom: 6px; color: #94a3b8; font-variant-numeric: tabular-nums; } .pt-wall__tip-row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; } .pt-wall__tip-row--in strong { color: #2dd4bf; } .pt-wall__tip-row--out strong { color: #fbbf24; } .pt-wall__chart .u-axis { border: 0 !important; } .pt-wall__chart .u-legend { display: none !important; } .pt-wall__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-top: 8px; padding-top: 0; border-top: 0; flex: 0 0 auto; min-height: 28px; } .pt-wall__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; color: var(--pt-muted); font-size: 12px; line-height: 1.2; } .pt-wall__legend-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } .pt-wall__legend-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 2px; flex: 0 0 10px; } .pt-wall__legend-item--in .pt-wall__legend-swatch { background: #2dd4bf; } .pt-wall__legend-item--out .pt-wall__legend-swatch { background: #fbbf24; } .pt-wall__legend-item--base-in .pt-wall__legend-swatch { background: rgba(45, 212, 191, 0.45); box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.7); } .pt-wall__legend-item--base-out .pt-wall__legend-swatch { background: rgba(251, 191, 36, 0.4); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.65); } .pt-wall__foot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-left: auto; } .pt-wall__foot-ne, .pt-wall__foot-if { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; } .pt-wall__foot-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: #64748b; } .pt-wall__foot-value { font-size: 13px; font-weight: 600; color: #e2e8f0; } .pt-wall__foot-value--mono { font-family: ui-monospace, SFMono-Regular, Consolas, "Cascadia Mono", Consolas, monospace; letter-spacing: 0.02em; } .pt-wall__foot-ip { font-size: 12px; color: var(--pt-muted); font-variant-numeric: tabular-nums; } .pt-wall__empty { position: absolute; inset: 8px; display: flex; align-items: center; justify-content: center; padding: 16px 24px; text-align: center; line-height: 1.5; color: var(--pt-muted); background: rgba(8, 14, 26, 0.55); border: 1px dashed rgba(148, 163, 184, 0.22); border-radius: 6px; pointer-events: none; } @media (max-width: 900px) { .pt-wall__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pt-wall__kpi:nth-child(2n) { border-right: 0; } .pt-wall__kpi:nth-child(-n + 2) { border-bottom: 1px solid rgba(148, 163, 184, 0.1); } } /* ===== Unified dark content surfaces (forms / tables / status) ===== */ .page-loading { display: flex; align-items: center; justify-content: center; min-height: 240px; color: #94a3b8; font-size: 13px; } .page-loading--soft { min-height: 120px; opacity: 0; animation: page-loading-soft-in 160ms ease 180ms forwards; } @keyframes page-loading-soft-in { to { opacity: 1; } } .app-main option, option { background: #0f172a; color: #e2e8f0; } .app-main .filter-inline, .network-main .filter-inline, .ne-page .filter-inline, .ume-page .filter-inline, .system-page .filter-inline { background: rgba(8, 13, 24, 0.45) !important; border-color: rgba(148, 163, 184, 0.16) !important; } .app-main .filter-inline input, .app-main .filter-inline select, .network-main .filter-inline input, .network-main .filter-inline select, .ne-page .filter-inline input, .ne-page .filter-inline select, .ume-page .filter-inline input, .ume-page .filter-inline select, .system-page .filter-inline input, .system-page .filter-inline select { background: #0b1220 !important; border-color: rgba(148, 163, 184, 0.24) !important; color: #e2e8f0 !important; } .app-main .pt-list-table-wrap, .network-main .pt-list-table-wrap, .ne-page .pt-list-table-wrap, .ume-page .pt-list-table-wrap, .system-page .pt-list-table-wrap, .pt-list-table-wrap { border-color: rgba(148, 163, 184, 0.14) !important; background: rgba(8, 13, 24, 0.28); } .app-main .pt-list-table thead th, .network-main .pt-list-table thead th, .ne-page .pt-list-table thead th, .ume-page .pt-list-table thead th, .system-page .pt-list-table thead th, .pt-list-table thead th, .app-main .data-table thead th, .data-table thead th { background: rgba(15, 23, 42, 0.92) !important; color: #94a3b8 !important; border-bottom-color: rgba(148, 163, 184, 0.14); } .app-main .pt-list-table tbody tr:hover td, .pt-list-table tbody tr:hover td, .app-main .data-table tbody tr:hover td, .data-table tbody tr:hover td { background: rgba(30, 41, 59, 0.55) !important; } .app-main .pt-list-status--unknown, .pt-list-status--unknown, .app-main .pt-list-status--other, .pt-list-status--other, .app-main .pt-list-status--stopped, .pt-list-status--stopped { background: rgba(148, 163, 184, 0.14) !important; color: #94a3b8 !important; } .app-main .pt-list-status--ok, .pt-list-status--ok, .app-main .pt-list-status--pass, .pt-list-status--pass, .app-main .pt-list-status--up, .pt-list-status--up { background: rgba(34, 197, 94, 0.16) !important; color: #86efac !important; } .app-main table, .app-main .data-table { color: #e2e8f0; } .app-main .muted, .muted { color: #94a3b8; } /* ===== Dark modals + topology non-canvas ===== */ .modal-backdrop, .token-scopes-modal__backdrop, .topo-modal__backdrop { background: rgba(2, 8, 23, 0.72) !important; } .modal, .app-main .modal, .token-scopes-modal__panel, .topo-modal__panel, .webcrt-auth-modal, .webcrt-new-session-modal, .webcrt-keyword-modal, .webcrt-session-opts-modal { background: #0f172a !important; color: #e2e8f0 !important; border: 1px solid rgba(148, 163, 184, 0.22) !important; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45) !important; } .modal h3, .token-scopes-modal__head h3, .topo-modal__head h3, .pt-log-modal__head h3 { color: #f1f5f9 !important; } .modal .muted, .modal .form-hint, .modal label, .modal .form-label, .token-scopes-modal__row, .topo-modal__hint, .topo-modal__selectall { color: #cbd5e1 !important; } .modal input, .modal select, .modal textarea, .topo-modal__panel input, .topo-modal__panel select, .token-scopes-modal__panel input, .token-scopes-modal__panel select { background: #0b1220 !important; border-color: rgba(148, 163, 184, 0.28) !important; color: #e2e8f0 !important; } .topo-browser, .topo-main { background: var(--nm-chrome, #070b14); color: var(--nm-text, #e2e8f0); border-color: rgba(148, 163, 184, 0.2); } .topo-browser__head, .topo-toolbar { background: rgba(15, 23, 42, 0.9); border-color: rgba(148, 163, 184, 0.18); } .topo-browser__grid, .topo-browser__grid--regions { background: rgba(2, 8, 23, 0.4); } .topo-map-list__row, .topo-palette__row { background: rgba(15, 23, 42, 0.75); border-color: rgba(148, 163, 184, 0.22); } .app-main .topo-toolbar__select, .topo-toolbar__select, .app-main .topo-toolbar__display > summary, .topo-toolbar__display > summary, .app-main .topo-toolbar__actions > .btn:not([data-variant="primary"]):not([data-variant="secondary"]), .topo-toolbar__actions > .btn:not([data-variant="primary"]):not([data-variant="secondary"]), .app-main .topo-toolbar__group > .btn, .topo-toolbar__group > .btn { background: #0b1220 !important; border-color: rgba(148, 163, 184, 0.28) !important; color: #e2e8f0 !important; } .topo-nav-node { background: linear-gradient(165deg, #1e293b 0%, #0f172a 100%); border-color: rgba(148, 163, 184, 0.28); color: #e2e8f0; } .topo-nav-node__icon { background: rgba(37, 99, 235, 0.18); } .webcrt-menubar__menu { background: #0f172a !important; border-color: rgba(148, 163, 184, 0.28) !important; color: #e2e8f0 !important; } .webcrt-menubar__menu-item { color: #e2e8f0 !important; } .webcrt-menubar__menu-item:hover { background: rgba(37, 99, 235, 0.2) !important; } .pt-log-modal__list { background: rgba(2, 8, 23, 0.55) !important; border-color: rgba(148, 163, 184, 0.2) !important; color: #e2e8f0 !important; } /* Operation audit logs */ .system-page .audit-quick-filters button.is-active { background: rgba(37, 99, 235, 0.18); border-color: rgba(59, 130, 246, 0.55); color: #1e3a8a; font-weight: 600; } .system-page .audit-summary-cell { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .system-page button.linkish { background: transparent; border: none; color: #2563eb; cursor: pointer; padding: 0; height: auto; font: inherit; text-decoration: underline; } .system-page .audit-detail-row td { background: rgba(15, 23, 42, 0.04); padding: 10px 12px 14px; } .system-page .audit-detail-pre { margin: 0; max-height: 240px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.45; } .system-page .audit-detail-meta { margin: 8px 0 0; } /* HeroUI Modal chrome used by NetX dialogs */ .app-heroui-modal-backdrop { z-index: 1200; } .app-heroui-modal .modal__dialog, .app-heroui-modal__dialog, .topo-heroui-modal .modal__dialog, .topo-heroui-modal__dialog { background: #0f172a; color: #e2e8f0; border: 1px solid rgba(148, 163, 184, 0.22); max-height: min(90vh, 920px); overflow: hidden; } /* * HeroUI lg = max-w-lg (~32rem) — too narrow for NetX ops tables. * Match legacy ops-detail-modal--xl (~1100px). */ .app-heroui-modal .modal__dialog--lg, .topo-heroui-modal .modal__dialog--lg { width: min(1100px, 96vw); max-width: min(1100px, 96vw); } .app-heroui-modal--xl .modal__dialog, .app-heroui-modal--xl .modal__dialog--lg, .app-heroui-modal--xl .modal__dialog--md { width: min(1280px, 98vw); max-width: min(1280px, 98vw); } .app-heroui-modal__dialog [data-slot="modal-body"], .app-heroui-modal__dialog .modal__body { overflow: auto; max-height: min(78vh, 780px); } /* * Modal.Body often uses flex column; default flex-shrink:1 crushes the rules * table to thead-only while the pager still shows total > 0. */ .app-heroui-modal__dialog [data-slot="modal-body"] > *, .app-heroui-modal__dialog .modal__body > * { flex-shrink: 0; } .app-heroui-modal--xl .app-heroui-modal__dialog [data-slot="modal-body"], .app-heroui-modal--xl .app-heroui-modal__dialog .modal__body { max-height: min(86vh, 900px); } .app-heroui-modal .pt-list-table-wrap { overflow-x: auto; max-width: 100%; width: 100%; min-height: 10rem; } .app-heroui-modal .pt-list-table { width: 100%; min-width: 100%; table-layout: auto; } .app-heroui-modal .pt-list-table th, .app-heroui-modal .pt-list-table td { white-space: nowrap; } /* Last flexible column absorbs leftover width so the table fills the row */ .app-heroui-modal .pt-list-table td.ume-col-error, .app-heroui-modal .pt-list-table th.ume-col-error { white-space: normal; min-width: 12rem; width: 100%; max-width: none; word-break: break-word; } /* Keep dense filter bars compact when FieldSelect has no label */ .filter-inline > .ui-field { gap: 0; align-self: center; } .filter-inline > .ui-field > .ui-field__select { height: 32px; min-height: 32px; max-height: 32px; flex: none; } .login-card--heroui { gap: 0; } .login-card__form { display: flex; flex-direction: column; gap: 15px; width: 100%; } .ui-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; } .ui-field--full { grid-column: 1 / -1; } .ui-field__label { font-size: 12px; color: var(--nm-muted, #94a3b8); } .ui-field__select { width: 100%; min-height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.28); background: color-mix(in oklab, var(--field-background, #0f172a) 92%, #020617); color: inherit; font: inherit; } .ui-field__hint { font-size: 11px; color: var(--nm-muted, #94a3b8); line-height: 1.35; } .pager__size-field { min-width: 7.5rem; } .pager__jump .input, .pager__jump-input { width: 4.25rem; }