netx/web/src/index.css
oliver accd28c9a1 Harden WebCRT interactive sessions for more CRT-like device login.
Improve async connect, binary stdout coalescing, paste throttling with progress, SSH keepalive, login prompt settle, and optional SFTP while keeping core terminal UX focused.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 19:01:44 +08:00

5758 lines
100 KiB
CSS

* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Inter, "Segoe UI", Arial, sans-serif;
background: #eef2f7;
color: #1f2937;
}
#root {
min-height: 100vh;
}
.app--shell {
display: flex;
flex-direction: column;
min-height: 100vh;
}
.app-brand {
display: flex;
align-items: center;
justify-content: space-between;
height: 48px;
padding: 0 20px;
background: #0f2744;
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.6px;
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(255, 255, 255, 0.1);
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: #eef2f7;
color: #1f2937;
}
.workbench {
max-width: 1280px;
}
.wb-section {
margin-bottom: 28px;
}
.wb-section__title {
margin: 0 0 14px;
padding-bottom: 10px;
font-size: 15px;
font-weight: 600;
color: #334155;
border-bottom: 1px solid #d8dee8;
}
.wb-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 14px;
}
.wb-card {
display: flex;
align-items: center;
gap: 14px;
min-height: 72px;
padding: 14px 16px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #fff;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
cursor: pointer;
text-align: left;
text-decoration: none;
color: inherit;
transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.wb-card:hover {
border-color: #90caf9;
box-shadow: 0 4px 14px rgba(33, 150, 243, 0.15);
transform: translateY(-1px);
}
.wb-card__icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 4px;
flex-shrink: 0;
}
.wb-card__icon--blue {
background: #e3f2fd;
color: #1565c0;
}
.wb-card__icon--green {
background: #e8f5e9;
color: #2e7d32;
}
.wb-card__icon--amber {
background: #fff8e1;
color: #f57f17;
}
.wb-card__icon--slate {
background: #eceff1;
color: #455a64;
}
.wb-card__text {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 0;
}
.wb-card__label {
font-size: 14px;
font-weight: 600;
color: #1e293b;
}
.wb-card__desc {
font-size: 12px;
color: #64748b;
line-height: 1.35;
}
.header-menu__panel--light {
background: #fff;
border-color: #e2e8f0;
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}
.header-menu__label--light {
color: #64748b;
}
.header-menu__item--light {
color: #334155;
}
.header-menu__item--light:hover {
background: #f1f5f9;
color: #0f172a;
}
.header-menu__item--active-light {
background: #e3f2fd;
color: #1565c0;
}
.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 #cbd5e1;
background: #fff;
color: #1f2937;
border-radius: 6px;
padding: 8px 10px;
}
button,
select,
input,
textarea {
border: 1px solid #cbd5e1;
background: #fff;
color: #1f2937;
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 #e2e8f0;
background: #fff;
border-radius: 8px;
padding: 14px;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.card,
.panel {
border: 1px solid #e2e8f0;
background: #fff;
border-radius: 8px;
padding: 14px;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.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: #1565c0;
text-decoration: none;
}
.muted {
color: #64748b;
}
table {
width: 100%;
border-collapse: collapse;
}
th,
td {
border-bottom: 1px solid #e2e8f0;
padding: 8px;
text-align: left;
font-size: 13px;
vertical-align: top;
color: #334155;
}
th {
color: #64748b;
font-weight: 600;
}
.split {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
pre {
white-space: pre-wrap;
margin: 0;
background: #091425;
border: 1px solid #223651;
border-radius: 8px;
padding: 10px;
}
.ws-log-panel {
margin-top: 12px;
max-height: 240px;
overflow-y: auto;
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 8px 10px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 12px;
line-height: 1.45;
}
.ws-log-line {
padding: 3px 0;
border-bottom: 1px solid #e8edf3;
word-break: break-word;
}
.ws-log-line:last-child {
border-bottom: none;
}
.ws-log-line--error {
color: #c62828;
}
.ws-log-line--warning {
color: #e65100;
}
.ws-log-line--info {
color: #475569;
}
.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: #f1f5f9;
color: #334155;
border: 1px solid #e2e8f0;
}
.pill--high {
background: #ffebee;
border-color: #ffcdd2;
color: #b71c1c;
}
.pill--medium {
background: #fff8e1;
border-color: #ffe082;
color: #e65100;
}
.pill--low {
background: #e8f5e9;
border-color: #c8e6c9;
color: #2e7d32;
}
.link-btn {
border: none;
background: transparent;
color: #1565c0;
padding: 0;
cursor: pointer;
}
.link-btn--danger {
color: #c62828;
}
.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 #cbd5e1;
border-radius: 999px;
padding: 4px 10px;
background: #f8fafc;
color: #475569;
}
.conn-pill {
font-size: 12px;
border: 1px solid #cbd5e1;
border-radius: 999px;
padding: 4px 10px;
background: #f8fafc;
}
.conn-pill--up {
border-color: #a5d6a7;
color: #2e7d32;
background: #e8f5e9;
}
.conn-pill--down {
border-color: #ef9a9a;
color: #c62828;
background: #ffebee;
}
.conn-pill--unknown {
border-color: #cbd5e1;
color: #64748b;
}
/* 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 .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:hover,
.app-brand .header-menu__trigger.header-menu__trigger--on-brand:focus-visible {
background: rgba(255, 255, 255, 0.14);
border-color: rgba(255, 255, 255, 0.28);
color: #fff;
}
.toast {
position: fixed;
right: 20px;
bottom: 20px;
padding: 12px 16px;
border-radius: 8px;
border: 1px solid #cbd5e1;
background: #fff;
color: #1e293b;
font-size: 14px;
line-height: 1.45;
z-index: 60;
max-width: 420px;
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}
.toast--ok {
border-color: #81c784;
background: #e8f5e9;
color: #1b5e20;
}
.toast--error {
border-color: #ef9a9a;
background: #ffebee;
color: #b71c1c;
}
.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: #ffe082;
color: #e65100;
background: #fff8e1;
}
.app-main .inline-spinner {
border-color: rgba(21, 101, 192, 0.2);
border-top-color: #1565c0;
}
.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: #1565c0;
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 #e2e8f0;
border-radius: 8px;
background: #fff;
color: #334155;
font-size: 13px;
font-weight: 400;
line-height: 1.45;
white-space: pre-line;
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.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, #e2e8f0);
border-radius: 8px;
padding: 12px 14px;
background: var(--panel-bg, #fff);
}
.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: #334155;
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: #334155;
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: #1e293b;
}
.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: #dcfce7; color: #166534; }
.ne-stats-pill--fail { background: #fee2e2; color: #991b1b; }
.ne-stats-pill--testing{ background: #fef9c3; color: #854d0e; }
.ne-stats-pill--unknown{ background: #f1f5f9; color: #475569; }
.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 #cbd5e1;
border-radius: 6px;
background: #fff;
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 #cdd6e2;
border-radius: 8px;
background: #eef2f7;
padding: 10px 12px;
}
.ne-tag-card__title {
font-size: 13px;
font-weight: 650;
color: #0f2744;
margin-bottom: 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.ne-tag-card__total {
font-size: 12px;
color: #5b6b7c;
margin-bottom: 8px;
}
.ne-tag-card__pills {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
/* Managed NE / UME / System pages — classic slate chrome aligned with network management */
.ne-page,
.ume-page,
.system-page {
--nm-brand: #0f2744;
--nm-accent: #1a56a8;
--nm-chrome: #d5dde8;
--nm-muted: #5b6b7c;
margin: -20px -28px -32px;
padding: 16px 18px 24px;
min-height: calc(100vh - 48px);
background: var(--nm-chrome);
gap: 14px;
}
.ne-page > .panel,
.ume-page > .panel,
.ume-page > .cards > .panel,
.ume-page > .cards > .card,
.system-page > .panel {
padding: 16px 18px 18px;
border-color: #c8d2de;
box-shadow: 0 1px 2px rgba(15, 39, 68, 0.06);
}
.ume-page > .cards {
display: flex;
flex-direction: column;
gap: 14px;
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 #d7dee8;
}
.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.01em;
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 #d7dee8;
}
.ume-page .card__section-title {
margin: 16px 0 10px;
padding-top: 12px;
border-top: 1px solid #d7dee8;
font-size: 14px;
font-weight: 650;
color: var(--nm-brand);
}
.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 #cdd6e2;
border-radius: 8px;
background: #eef2f7;
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 #b8c4d2;
border-radius: 6px;
background: #fff;
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: #cdd6e2;
}
.ne-page .pt-list-table thead th,
.ume-page .pt-list-table thead th,
.system-page .pt-list-table thead th {
background: #eef2f7;
color: var(--nm-muted);
}
.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 #cdd6e2;
border-radius: 8px;
background: #eef2f7;
}
.system-page .token-once code {
display: block;
margin: 8px 0;
word-break: break-all;
font-size: 12px;
color: var(--nm-brand);
}
.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;
}
@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: #ffe082;
background: #fff8e1;
color: #5d4037;
}
.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: #b71c1c;
border-color: #ef9a9a;
background: #ffebee;
}
.btn--danger:hover:not(:disabled) {
background: #ffcdd2;
}
.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(15, 23, 42, 0.45);
display: flex;
align-items: center;
justify-content: center;
padding: 16px;
}
.modal {
width: min(720px, 100%);
max-height: 90vh;
overflow: auto;
background: #fff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
}
.modal--wide {
width: min(920px, 100%);
}
.connect-detail-summary {
margin-left: 8px;
color: #64748b;
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-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.cli-connect-test-row input {
flex: 1 1 320px;
min-width: 240px;
margin-bottom: 0;
}
.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: #64748b;
text-align: left;
}
.form-grid label {
display: flex;
flex-direction: column;
gap: 4px;
font-size: 12px;
color: #64748b;
}
.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 #e2e8f0;
border-radius: 8px;
}
.form-fieldset legend,
.form-fieldset__title {
padding: 0 6px;
font-size: 13px;
font-weight: 600;
color: #334155;
}
.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: #334155;
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: #e0f2fe;
color: #0369a1;
}
.form-grid--single {
grid-template-columns: 1fr;
}
.panel__hint {
margin: 0 0 12px;
font-size: 13px;
color: #64748b;
line-height: 1.45;
}
.panel__hint--live {
color: #1565c0;
}
.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 #cbd5e1;
border-radius: 6px;
resize: vertical;
}
.collect-meta {
font-size: 13px;
color: #64748b;
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: #334155;
}
.collect-selected-block,
.collect-pick-block {
margin-top: 20px;
padding-top: 16px;
border-top: 1px solid #e2e8f0;
}
.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: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 8px;
}
.collect-selected-chip__main {
display: flex;
flex-direction: column;
gap: 2px;
min-width: 0;
}
.collect-selected-chip__meta {
font-size: 12px;
color: #64748b;
}
.collect-pick-filters {
margin-bottom: 12px;
}
.collect-cmd-preview {
font-size: 12px;
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 6px;
padding: 10px;
max-height: 120px;
overflow: auto;
white-space: pre-wrap;
}
.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: #475569;
}
.collect-runs-filter select {
min-width: 140px;
padding: 6px 8px;
border: 1px solid #cbd5e1;
border-radius: 6px;
background: #fff;
}
.collect-runs-filter input {
min-width: 180px;
padding: 6px 8px;
border: 1px solid #cbd5e1;
border-radius: 6px;
background: #fff;
}
.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: #334155;
padding: 6px 8px;
background: #f8fafc;
border: 1px solid #e2e8f0;
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 — classic slate chrome aligned with NetX shell */
.webcrt-shell {
--nm-brand: #0f2744;
--nm-accent: #1a56a8;
--nm-chrome: #d5dde8;
--nm-nav: #e4eaf2;
--nm-nav-border: #c0cad6;
--nm-nav-hover: #d7e0eb;
--nm-nav-active: #d6e4f5;
--nm-muted: #5b6b7c;
--nm-text: #243447;
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%;
box-shadow: inset -1px 0 0 rgba(15, 39, 68, 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 #d7dee8;
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__toolbar {
display: none;
}
.webcrt-sidebar__search {
padding: 8px 10px;
border-bottom: 1px solid #d7dee8;
flex-shrink: 0;
}
.webcrt-sidebar__search input {
width: 100%;
box-sizing: border-box;
height: 32px;
padding: 0 10px;
border: 1px solid #b8c4d2;
border-radius: 6px;
background: #fff;
font-size: 12px;
}
.webcrt-source-tabs {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2px;
margin: 0 10px 8px;
padding: 2px;
background: #d7dee8;
border: 1px solid var(--nm-nav-border);
border-radius: 6px;
flex-shrink: 0;
}
.webcrt-source-tabs__btn {
display: inline-flex;
align-items: center;
justify-content: center;
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;
cursor: pointer;
box-shadow: none;
}
.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: #fff;
color: var(--nm-accent);
box-shadow: inset 0 0 0 1px #b8c4d2;
}
.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 #b8c4d2;
background: #fff;
height: 28px;
padding: 0 10px;
}
.webcrt-source-tabs__btn:last-child {
border-right: 0;
}
.webcrt-source-tabs__btn.is-active {
background: #fff;
color: var(--nm-accent);
box-shadow: inset 0 0 0 1px #b8c4d2;
font-weight: 650;
}
.webcrt-tree {
flex: 1 1 auto;
overflow-x: hidden;
overflow-y: auto;
background: transparent;
min-height: 0;
overscroll-behavior: contain;
padding: 0 8px 8px;
}
.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 #d7dee8;
background: #eef2f7;
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 #b8c4d2;
border-radius: 6px;
background: #fff;
color: var(--nm-text);
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 var(--nm-nav-border);
border-radius: 6px;
background: #d7dee8;
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: #fff;
color: var(--nm-accent);
box-shadow: inset 0 0 0 1px #b8c4d2;
font-weight: 650;
}
.webcrt-main {
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
height: 100%;
overflow: hidden;
background: #fff;
border-left: 1px solid var(--nm-nav-border);
}
.webcrt-tabs {
display: flex;
gap: 4px;
overflow-x: auto;
padding: 6px 8px 0;
background: #eef2f7;
border-bottom: 1px solid #cdd6e2;
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: var(--nm-muted);
font-size: 12px;
cursor: pointer;
white-space: nowrap;
}
.webcrt-tabs__item:hover {
background: #d7e0eb;
color: var(--nm-text);
}
.webcrt-tabs__item.is-active {
background: #fff;
border-color: #cdd6e2;
color: var(--nm-brand);
font-weight: 650;
box-shadow: 0 1px 0 #fff;
}
/* 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: #eef2f7;
border-bottom: 1px solid #cdd6e2;
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 #b8c4d2;
border-radius: 6px;
background: #fff;
color: var(--nm-text);
font-size: 12px;
font-weight: 600;
line-height: 1;
cursor: pointer;
}
.webcrt-action-btn:hover {
background: #f8fafc;
border-color: #9bb0c4;
}
.webcrt-action-btn.is-active {
background: #d6e4f5;
border-color: #9bb6d9;
color: var(--nm-accent);
}
.webcrt-main__body {
flex: 1;
min-height: 0;
position: relative;
background: #0b1220;
}
.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 {
flex: 1;
width: 100%;
height: auto !important;
min-height: 240px !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-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-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 {
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: min(320px, 40%);
background: #0f172a;
border-left: 1px solid #334155;
z-index: 3;
display: flex;
flex-direction: column;
}
.webcrt-sftp__bar {
display: flex;
gap: 4px;
padding: 6px;
border-bottom: 1px solid #334155;
}
.webcrt-sftp__bar input {
flex: 1;
min-width: 0;
background: #1e293b;
border: 1px solid #475569;
color: #e2e8f0;
padding: 2px 6px;
font-size: 12px;
}
.webcrt-sftp__bar button,
.webcrt-sftp__upload {
background: #334155;
border: 1px solid #475569;
color: #e2e8f0;
padding: 2px 8px;
font-size: 11px;
cursor: pointer;
}
.webcrt-sftp__list {
list-style: none;
margin: 0;
padding: 0;
overflow: auto;
flex: 1;
}
.webcrt-sftp__list button {
width: 100%;
text-align: left;
background: transparent;
border: 0;
border-bottom: 1px solid #1e293b;
color: #e2e8f0;
padding: 6px 10px;
font-size: 12px;
cursor: pointer;
}
.webcrt-sftp__list button:hover {
background: #1e293b;
}
@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;
}
.webcrt-source-tabs {
margin-bottom: 8px;
}
}
@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 — classic slate chrome aligned with NetX shell ---- */
.topo-page {
--nm-brand: #0f2744;
--nm-accent: #1a56a8;
--nm-chrome: #d5dde8;
--nm-nav: #e4eaf2;
--nm-nav-border: #c0cad6;
--nm-nav-hover: #d7e0eb;
--nm-nav-active: #d6e4f5;
--nm-muted: #5b6b7c;
--nm-text: #243447;
display: grid;
grid-template-columns: 260px 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-sidebar {
display: flex;
flex-direction: column;
gap: 10px;
min-height: 0;
background: var(--nm-nav);
border: 1px solid var(--nm-nav-border);
border-radius: 8px;
padding: 10px;
overflow: hidden;
box-shadow: 0 1px 2px rgba(15, 39, 68, 0.06);
}
.topo-page.is-sidebar-collapsed .topo-sidebar {
padding: 4px;
align-items: stretch;
}
.topo-sidebar__rail {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
gap: 8px;
width: 100%;
border: 0;
background: transparent;
padding: 6px 0;
cursor: pointer;
color: var(--nm-muted);
border-radius: 6px;
}
.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;
}
.topo-sidebar__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.topo-sidebar__head > strong {
font-size: 13px;
font-weight: 650;
color: var(--nm-brand);
}
.topo-sidebar__head-actions {
display: flex;
align-items: center;
gap: 4px;
}
.topo-palette-source {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2px;
padding: 2px;
background: #d7dee8;
border: 1px solid var(--nm-nav-border);
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: #fff;
color: var(--nm-accent);
box-shadow: inset 0 0 0 1px #b8c4d2;
}
.topo-map-list,
.topo-palette {
list-style: none;
margin: 0;
padding: 0;
overflow: auto;
flex: 1;
min-width: 0;
}
.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 #cdd6e2;
border-radius: 6px;
background: #fff;
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-palette > li.is-on-canvas .topo-palette__row {
background: #eef2f7;
border-color: #d7dee8;
}
.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: #c9daf0;
}
.topo-map-list__actions {
display: flex;
align-items: stretch;
flex: 0 0 auto;
border-left: 1px solid #cdd6e2;
}
.topo-map-list li.is-active .topo-map-list__actions {
border-left-color: #9bb6d9;
}
.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: var(--nm-nav-hover);
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, #0f2744);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.topo-map-list__meta,
.topo-palette__meta {
display: block;
font-size: 11px;
color: var(--nm-muted, #5b6b7c);
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: #fff;
border: 1px solid var(--nm-nav-border, #c0cad6);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 1px 2px rgba(15, 39, 68, 0.06);
}
.topo-toolbar {
display: flex;
flex-direction: column;
gap: 6px;
padding: 8px 10px;
border-bottom: 1px solid #cdd6e2;
background: #eef2f7;
}
.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: 6px;
border-top: 1px solid #d7dee8;
}
.topo-toolbar__group + .topo-toolbar__group,
.topo-toolbar__panel + .topo-toolbar__group,
.topo-toolbar__group + .topo-toolbar__group--find,
.topo-toolbar__panel + .topo-toolbar__group--find {
margin-left: 2px;
padding-left: 10px;
border-left: 1px solid #cdd6e2;
}
.topo-toolbar__panel {
display: inline-flex;
align-items: center;
gap: 6px;
flex-shrink: 0;
padding: 3px 6px;
background: #d7dee8;
border: 1px solid #c0cad6;
border-radius: 6px;
}
.topo-toolbar__panel .topo-tools {
background: #cdd6e2;
}
.topo-toolbar__panel .topo-toolbar__display > summary {
background: #fff;
}
.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: #fff;
border: 1px solid #c0cad6;
border-radius: 8px;
box-shadow: 0 8px 20px rgba(15, 39, 68, 0.14);
}
.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;
}
.topo-find-suggest__item:hover,
.topo-find-suggest__item.is-active {
background: #d6e4f5;
}
.topo-find-suggest__name {
font-size: 12px;
font-weight: 650;
color: #0f2744;
}
.topo-find-suggest__meta {
font-size: 11px;
color: #5b6b7c;
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: #5b6b7c;
}
.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 #b8c4d2;
border-radius: 6px;
font-size: 12px;
line-height: 1.2;
background: #fff;
}
.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, #0f2744);
letter-spacing: -0.01em;
}
.topo-toolbar__meta {
font-size: 12px;
color: var(--nm-muted, #5b6b7c);
white-space: nowrap;
}
.topo-toolbar__actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px;
justify-content: flex-end;
}
.topo-toolbar__group {
display: inline-flex;
align-items: center;
gap: 6px;
}
.topo-tools {
display: inline-flex;
gap: 2px;
padding: 2px;
background: #d7dee8;
border: 1px solid #c0cad6;
border-radius: 6px;
flex-shrink: 0;
}
.topo-tools__btn {
display: inline-flex;
align-items: center;
gap: 4px;
border: 0;
background: transparent;
color: var(--nm-muted, #5b6b7c);
font-size: 12px;
font-weight: 600;
padding: 4px 8px;
border-radius: 4px;
cursor: pointer;
line-height: 1.2;
}
.topo-tools__btn:hover {
background: #fff;
color: var(--nm-brand, #0f2744);
}
.topo-tools__btn.is-active {
background: var(--nm-accent, #1a56a8);
color: #f8fafc;
}
.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 #b8c4d2;
border-radius: 6px;
background: #fff;
color: #0f2744;
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 #b8c4d2;
border-radius: 6px;
background: #fff;
color: #0f2744;
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: #1a56a8;
background: #d6e4f5;
color: #1a56a8;
}
.topo-toolbar__display .topo-display-toggles {
position: absolute;
top: calc(100% + 4px);
left: 0;
z-index: 20;
display: grid;
gap: 6px;
min-width: 260px;
padding: 8px 10px;
border: 1px solid #c0cad6;
border-radius: 8px;
background: #fff;
box-shadow: 0 8px 20px rgba(15, 39, 68, 0.14);
}
.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 {
display: grid;
gap: 8px;
margin-top: 6px;
padding-top: 8px;
border-top: 1px solid #e2e8f0;
}
.topo-display-defaults__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
font-size: 12px;
color: #334155;
}
.topo-display-defaults__row {
display: grid;
grid-template-columns: 48px 28px minmax(72px, 1fr) 64px;
align-items: center;
gap: 6px;
}
.topo-display-defaults__name {
font-size: 12px;
color: #475569;
}
.topo-display-defaults__row input[type="color"] {
width: 28px;
height: 28px;
padding: 0;
border: 1px solid #cbd5e1;
border-radius: 6px;
background: #fff;
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: 12px !important;
height: 12px !important;
opacity: 1 !important;
background: #0ea5e9 !important;
border: 2px solid #fff !important;
}
.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: #334155;
white-space: nowrap;
cursor: pointer;
user-select: none;
}
.topo-ctx {
position: fixed;
z-index: 40;
min-width: 168px;
padding: 4px 0;
margin: 0;
list-style: none;
background: #0f172a;
color: #e2e8f0;
border: 1px solid #334155;
border-radius: 8px;
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
font-size: 12px;
line-height: 1.3;
}
.topo-ctx--edge {
min-width: 196px;
}
.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: 0 0 auto;
min-width: 2.5em;
color: #cbd5e1;
}
.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: #334155;
}
.topo-discover {
display: flex;
flex-direction: column;
gap: 8px;
max-height: none;
padding: 10px 12px;
background: #f8fafc;
border-bottom: 1px solid #e2e8f0;
overflow: hidden;
}
.topo-discover__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.topo-discover__progress {
display: flex;
flex-direction: column;
gap: 4px;
}
.topo-discover__bar {
height: 6px;
border-radius: 999px;
background: #e2e8f0;
overflow: hidden;
}
.topo-discover__bar-fill {
height: 100%;
background: #2563eb;
transition: width 0.2s ease;
}
.topo-discover__progress-meta {
display: flex;
justify-content: space-between;
gap: 8px;
font-size: 12px;
color: #475569;
}
.topo-discover__summary {
margin: 0;
font-size: 13px;
color: #334155;
}
.topo-discover__filters {
display: flex;
flex-wrap: wrap;
gap: 4px;
}
.topo-discover__filter {
display: inline-flex;
align-items: center;
gap: 4px;
height: 26px;
padding: 0 8px;
border: 1px solid #cbd5e1;
border-radius: 999px;
background: #fff;
font-size: 12px;
color: #475569;
cursor: pointer;
}
.topo-discover__filter.is-active {
border-color: #2563eb;
background: #eff6ff;
color: #1d4ed8;
}
.topo-discover__filter--primary {
border-color: #2563eb;
background: #2563eb;
color: #fff;
}
.topo-discover__filter--primary .topo-discover__filter-count {
color: #fff;
}
.topo-discover__filter-count {
font-variant-numeric: tabular-nums;
font-weight: 600;
}
.topo-discover__empty-ok {
margin: 0;
font-size: 12px;
color: #166534;
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.topo-discover__link {
border: 0;
background: none;
padding: 0;
color: #2563eb;
cursor: pointer;
font-size: 12px;
text-decoration: underline;
}
.topo-discover__cap {
margin: 0;
font-size: 11px;
color: #94a3b8;
}
.topo-discover__error {
margin: 0;
font-size: 13px;
color: #b91c1c;
}
.topo-discover__list {
list-style: none;
margin: 0;
padding: 0;
overflow: auto;
flex: 1;
min-height: 0;
}
.topo-discover__list--modal {
max-height: min(52vh, 480px);
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 4px;
background: #f8fafc;
}
.topo-discover-list-modal {
width: min(880px, 100%);
}
.topo-discover__list > li {
margin-bottom: 2px;
background: #fff;
border: 1px solid #e2e8f0;
border-radius: 6px;
}
.topo-discover__list > li.is-fail {
border-color: #fecaca;
background: #fff1f2;
}
.topo-discover__list > li.is-warn {
border-color: #fde68a;
background: #fffbeb;
}
.topo-discover__row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
width: 100%;
padding: 5px 8px;
border: 0;
background: transparent;
text-align: left;
cursor: pointer;
}
.topo-discover__row-main {
display: flex;
align-items: baseline;
gap: 8px;
min-width: 0;
flex: 1;
flex-wrap: wrap;
}
.topo-discover__row-name {
font-weight: 600;
font-size: 12px;
color: #0f172a;
}
.topo-discover__row-ip {
font-size: 12px;
color: #64748b;
font-variant-numeric: tabular-nums;
}
.topo-discover__row-meta {
font-size: 11px;
color: #94a3b8;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
.topo-discover__badge {
flex-shrink: 0;
font-size: 11px;
font-weight: 700;
color: #166534;
}
.topo-discover__list > li.is-fail .topo-discover__badge {
color: #b91c1c;
}
.topo-discover__list > li.is-warn .topo-discover__badge {
color: #b45309;
}
.topo-discover__detail {
padding: 0 8px 6px;
border-top: 1px dashed #e2e8f0;
}
.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: #2563eb;
white-space: nowrap;
}
.topo-discover__badge--lg {
font-size: 12px;
padding: 2px 8px;
border-radius: 999px;
background: #ecfdf5;
}
.topo-discover__badge--lg.is-fail {
background: #fff1f2;
color: #b91c1c;
}
.topo-discover__badge--lg.is-warn {
background: #fffbeb;
color: #b45309;
}
.topo-discover-modal {
display: block;
width: min(960px, 100%);
max-height: min(88vh, 900px);
overflow: auto;
}
.topo-discover-modal__head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 12px;
}
.topo-discover-modal__head h3 {
margin: 0;
}
.topo-discover-modal__sub {
margin: 4px 0 0;
font-size: 12px;
color: #64748b;
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}
.topo-discover-modal__stats {
margin-top: 8px;
font-size: 13px;
color: #334155;
}
.topo-discover-modal__section {
margin: 14px 0 8px;
font-size: 13px;
font-weight: 700;
color: #0f172a;
}
.topo-discover-modal__table-wrap {
overflow-x: auto;
overflow-y: visible;
max-height: none;
border: 1px solid #e2e8f0;
border-radius: 8px;
background: #fff;
}
.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 #e2e8f0;
text-align: left;
vertical-align: top;
color: #0f172a;
background: #fff;
}
.topo-discover-modal__table th {
position: static;
background: #f8fafc;
color: #475569;
font-weight: 600;
white-space: nowrap;
}
.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: #64748b;
}
.topo-discover-action.is-added {
color: #166534;
font-weight: 600;
}
.topo-discover-action.is-updated {
color: #1d4ed8;
font-weight: 600;
}
.topo-discover-action.is-kept_manual {
color: #a16207;
font-weight: 600;
}
.topo-discover-modal__raw {
margin: 0;
padding: 10px 12px;
max-height: min(36vh, 360px);
overflow: auto;
background: #0f172a;
color: #e2e8f0;
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-discover-list-modal .topo-discover__list--modal {
max-height: min(52vh, 480px);
overflow: auto;
}
.topo-canvas {
position: relative;
flex: 1;
min-height: 0;
background: #f4f7fb;
}
.topo-canvas:fullscreen,
.topo-canvas.is-fullscreen:fullscreen {
width: 100vw;
height: 100vh;
background: #f4f7fb;
}
/* Place fullscreen above zoom-in (+); Controls renders custom children last. */
.topo-canvas .react-flow__controls {
display: flex;
flex-direction: column;
}
.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;
}
.topo-canvas__empty {
display: grid;
place-items: center;
height: 100%;
color: var(--nm-muted, #5b6b7c);
}
.topo-sidebar .panel__hint {
margin: 0;
font-size: 12px;
color: var(--nm-muted);
}
.topo-sidebar .input {
width: 100%;
height: 32px;
margin: 0;
padding: 0 10px;
border: 1px solid #b8c4d2;
border-radius: 6px;
background: #fff;
font-size: 12px;
}
.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: #b8c4d2;
font-size: 12px;
}
.topo-node {
min-width: 72px;
max-width: 160px;
padding: 0;
border: 0;
background: transparent;
box-shadow: none;
font-size: 11px;
text-align: center;
/* Default asset is blue (= ZTE). */
--topo-icon-filter: none;
}
.topo-node--cisco {
--topo-icon-filter: hue-rotate(-8deg) saturate(1.15);
}
.topo-node--huawei {
--topo-icon-filter: hue-rotate(155deg) saturate(1.35);
}
.topo-node--zte {
--topo-icon-filter: none;
}
.topo-node--juniper {
--topo-icon-filter: hue-rotate(95deg) saturate(1.2);
}
.topo-node--nokia {
--topo-icon-filter: hue-rotate(-28deg) saturate(1.1) brightness(0.98);
}
.topo-node--ericsson {
--topo-icon-filter: hue-rotate(175deg) saturate(1.45) brightness(1.05);
}
.topo-node--h3c {
--topo-icon-filter: hue-rotate(165deg) saturate(1.4);
}
.topo-node--other {
--topo-icon-filter: grayscale(0.85) brightness(0.95);
}
.topo-node__glyph {
position: relative;
width: 56px;
height: 56px;
margin: 0 auto;
}
.react-flow__node.is-search-hit .topo-node__glyph {
box-shadow: none;
outline: 2px solid rgba(245, 158, 11, 0.95);
outline-offset: 3px;
border-radius: 4px;
animation: topo-search-pulse 0.85s ease 2;
}
@keyframes topo-search-pulse {
0%,
100% {
outline-color: rgba(245, 158, 11, 0.95);
}
50% {
outline-color: rgba(245, 158, 11, 0.35);
}
}
.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__glyph {
outline: 2px solid #334155;
outline-offset: 3px;
border-radius: 4px;
}
.topo-node.is-selected .topo-node__icon {
transform: none;
filter: var(--topo-icon-filter, none);
}
.topo-node.is-selected .topo-node__caption {
color: #0f172a;
font-weight: 700;
}
.topo-node__icon {
display: block;
width: 56px;
height: 56px;
margin: 0;
object-fit: contain;
pointer-events: none;
user-select: none;
filter: var(--topo-icon-filter, none);
transition: transform 0.12s ease, filter 0.12s ease;
}
.topo-node__caption {
display: flex;
flex-direction: column;
align-items: center;
gap: 1px;
margin-top: 3px;
color: #334155;
line-height: 1.2;
max-width: 160px;
pointer-events: none;
}
.topo-node__caption-name {
display: block;
max-width: 100%;
font-size: 11px;
font-weight: 700;
color: #0f172a;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.topo-node__caption-meta {
display: block;
max-width: 100%;
font-size: 10px;
color: #64748b;
font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.react-flow__edge-textbg {
fill: #ffffff;
}
.react-flow__edge-text {
fill: #475569;
font-size: 11px;
}
@media (max-width: 960px) {
.topo-page,
.topo-page.is-sidebar-collapsed {
grid-template-columns: 1fr;
height: auto;
}
.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 {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
background:
radial-gradient(ellipse at 20% 20%, rgba(33, 150, 243, 0.18), transparent 55%),
radial-gradient(ellipse at 80% 0%, rgba(21, 101, 192, 0.2), transparent 45%),
#eef2f7;
}
.login-card {
width: min(400px, 100%);
padding: 28px 28px 24px;
background: #fff;
border: 1px solid #d8dee8;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
display: flex;
flex-direction: column;
gap: 12px;
}
.login-card__brand {
font-size: 22px;
font-weight: 700;
color: #1565c0;
letter-spacing: 0.02em;
}
.login-card__title {
margin: 0;
font-size: 20px;
color: #0f172a;
}
.login-card__hint {
margin: 0;
color: #64748b;
font-size: 13px;
}
.login-card__label {
display: flex;
flex-direction: column;
gap: 6px;
font-size: 13px;
color: #334155;
}
.login-card__label input {
height: 36px;
padding: 0 10px;
}
.login-card__error {
color: #b91c1c;
font-size: 13px;
}
.login-card__submit {
margin-top: 4px;
height: 38px;
border: 0;
border-radius: 6px;
background: #1565c0;
color: #fff;
font-weight: 600;
}
.login-card__submit:disabled {
opacity: 0.6;
cursor: not-allowed;
}
/* —— Network Management shell (left nav + main) ——
Classic ops palette aligned with brand header #0f2744:
cooler slate chrome, white content cards, blue active accent. */
.network-shell {
--nm-brand: #0f2744;
--nm-accent: #1a56a8;
--nm-chrome: #d5dde8;
--nm-nav: #e4eaf2;
--nm-nav-border: #c0cad6;
--nm-nav-hover: #d7e0eb;
--nm-nav-active: #d6e4f5;
--nm-text: #243447;
--nm-muted: #5b6b7c;
display: flex;
height: calc(100vh - 48px);
min-height: 480px;
margin: -20px -28px -32px;
background: var(--nm-chrome);
overflow: hidden;
}
.network-nav {
width: 220px;
flex-shrink: 0;
display: flex;
flex-direction: column;
background: var(--nm-nav);
border-right: 1px solid var(--nm-nav-border);
min-height: 0;
box-shadow: inset -1px 0 0 rgba(15, 39, 68, 0.04);
}
.network-nav__scroll {
flex: 1;
min-height: 0;
overflow: auto;
padding: 10px 0 16px;
}
.network-nav__group {
margin: 0 0 4px;
}
.app-main .network-nav__group-toggle,
.network-nav__group-toggle {
display: flex;
align-items: center;
gap: 6px;
width: 100%;
padding: 9px 14px;
border: 0;
border-radius: 0;
background: transparent;
color: var(--nm-text);
font-size: 12px;
font-weight: 650;
letter-spacing: 0.02em;
text-align: left;
cursor: pointer;
}
.app-main .network-nav__group-toggle:hover,
.network-nav__group-toggle:hover {
background: var(--nm-nav-hover);
color: var(--nm-brand);
}
.network-nav__group.is-active-group .network-nav__group-toggle {
color: var(--nm-accent);
}
.network-nav__chevron {
display: inline-block;
width: 1em;
color: #7b8b9c;
font-size: 11px;
line-height: 1;
}
.network-nav__group-label {
flex: 1;
min-width: 0;
}
.network-nav__list {
list-style: none;
margin: 0;
padding: 0 8px 6px 10px;
}
.network-nav__link {
display: block;
padding: 7px 12px 7px 18px;
border-radius: 6px;
color: var(--nm-muted);
text-decoration: none;
font-size: 13px;
line-height: 1.35;
border-left: 2px solid transparent;
}
.network-nav__link:hover {
background: var(--nm-nav-hover);
color: var(--nm-text);
}
.network-nav__link.is-active {
background: var(--nm-nav-active);
color: var(--nm-accent);
font-weight: 600;
border-left-color: var(--nm-accent);
}
.network-main {
flex: 1;
min-width: 0;
min-height: 0;
overflow: auto;
padding: 16px 18px 24px;
background: var(--nm-chrome);
}
.network-main > .panel {
padding: 16px 18px 18px;
border-color: #c8d2de;
box-shadow: 0 1px 2px rgba(15, 39, 68, 0.06);
}
.network-main .panel__toolbar {
margin-bottom: 14px;
padding-bottom: 12px;
border-bottom: 1px solid #d7dee8;
}
.network-main .panel__toolbar h2 {
font-size: 17px;
font-weight: 650;
color: var(--nm-brand);
letter-spacing: -0.01em;
}
.network-main .filter-inline {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
margin-bottom: 0;
padding: 10px 12px;
border: 1px solid #cdd6e2;
border-radius: 8px;
background: #eef2f7;
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: 32px;
margin: 0;
border: 1px solid #b8c4d2;
border-radius: 6px;
background: #fff;
padding: 0 10px;
font-size: 13px;
}
.network-main .filter-inline button {
height: 32px;
flex: 0 0 auto;
}
.network-main .pt-list {
gap: 12px;
}
.network-main .pt-list-table-wrap {
border-color: #cdd6e2;
}
.network-main .pt-list-table thead th {
background: #eef2f7;
color: var(--nm-muted);
}
.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: 2px;
}
.pt-list-status--ok,
.pt-list-status--up,
.pt-list-status--connected {
background: #dcfce7;
color: #166534;
}
.pt-list-status--down,
.pt-list-status--failed,
.pt-list-status--critical {
background: #fee2e2;
color: #991b1b;
}
.pt-list-status--major {
background: #ffedd5;
color: #9a3412;
}
.pt-list-status--minor,
.pt-list-status--warning {
background: #fef9c3;
color: #854d0e;
}
.pt-list-status--info {
background: #e0f2fe;
color: #075985;
}
.pt-list-status--unknown {
background: #f1f5f9;
color: #475569;
}
.network-main .nm-config-view {
margin-top: 14px;
padding-top: 14px;
border-top: 1px solid #e2e8f0;
}
.network-main .nm-config-view textarea {
width: 100%;
min-height: 420px;
margin: 0;
padding: 12px 14px;
border: 1px solid #e2e8f0;
border-radius: 8px;
background: #0b1220;
color: #e2e8f0;
font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 12px;
line-height: 1.45;
resize: vertical;
}
.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: #475569;
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 #cbd5e1;
background: #f8fafc;
color: #334155;
border-radius: 6px;
padding: 6px 10px;
font-size: 13px;
cursor: pointer;
}
.pt-wizard__step.is-active {
border-color: #0f766e;
background: #ccfbf1;
color: #115e59;
}
.pt-wizard__ne-block {
margin-bottom: 16px;
padding-bottom: 12px;
border-bottom: 1px solid #e2e8f0;
}
.pt-wizard__confirm-list {
margin: 8px 0 16px;
padding-left: 1.2rem;
max-height: 220px;
overflow: auto;
color: #334155;
}
.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 #e2e8f0;
border-radius: 8px;
background: #f8fafc;
}
.pt-list-kpi--live {
background: #eff6ff;
border-color: #bfdbfe;
}
.pt-list-kpi__label {
font-size: 12px;
color: #64748b;
margin-bottom: 4px;
}
.pt-list-kpi__value {
font-size: 22px;
font-weight: 650;
font-variant-numeric: tabular-nums;
color: #0f172a;
line-height: 1.2;
}
.pt-list-kpi--live .pt-list-kpi__value {
color: #1d4ed8;
}
.pt-list-table-wrap {
border: 1px solid #e2e8f0;
border-radius: 8px;
overflow: auto;
}
.pt-list-table {
margin: 0;
}
.pt-list-table thead th {
background: #f8fafc;
font-size: 12px;
font-weight: 600;
color: #64748b;
white-space: nowrap;
}
.pt-list-table tbody td {
vertical-align: middle;
}
.pt-list-table tbody tr:hover td {
background: #f8fafc;
}
.pt-list-task-name {
font-weight: 600;
color: #0f172a;
}
.pt-list-task-err {
margin-top: 2px;
max-width: 280px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 12px;
color: #b91c1c;
}
.pt-list-task-err-btn {
display: inline-block;
margin-top: 4px;
padding: 0;
border: 0;
background: transparent;
color: #b91c1c;
font-size: 12px;
font-weight: 600;
cursor: pointer;
text-decoration: underline;
text-underline-offset: 2px;
}
.pt-list-task-err-btn:hover {
color: #991b1b;
}
.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 #e2e8f0;
border-radius: 8px;
padding: 10px 12px;
background: #f8fafc;
}
.pt-log-item--error {
border-color: #fecaca;
background: #fef2f2;
}
.pt-log-item--warn {
border-color: #fde68a;
background: #fffbeb;
}
.pt-log-item__meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 12px;
margin-bottom: 6px;
font-size: 12px;
color: #64748b;
}
.pt-log-item__level {
text-transform: uppercase;
letter-spacing: 0.04em;
font-weight: 700;
color: #b91c1c;
}
.pt-log-item--warn .pt-log-item__level {
color: #b45309;
}
.pt-log-item--info .pt-log-item__level {
color: #0369a1;
}
.pt-log-item__if {
font-family: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
color: #0f172a;
}
.pt-log-item__msg {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
font-size: 12px;
line-height: 1.45;
color: #1e293b;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.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: #dcfce7;
color: #166534;
}
.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: #fef9c3;
color: #854d0e;
}
.pt-list-status--stopped,
.pt-list-status--other {
background: #f1f5f9;
color: #475569;
}
.pt-list-status--collect {
background: #e0e7ff;
color: #3730a3;
}
.pt-list-num,
.pt-list-time {
font-variant-numeric: tabular-nums;
white-space: nowrap;
color: #334155;
}
.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 #cbd5e1;
border-radius: 8px;
background: #f8fafc;
color: #64748b;
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: "IBM Plex Mono", "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: "IBM Plex Mono", "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: "IBM Plex Mono", "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: "IBM Plex Mono", "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);
}
}