/* Giat Hub — стиль Dark Asura.
 *
 * Все цвета, отступы и размеры собраны в переменные (--имя) в самом начале.
 * Хочешь поменять оттенок — меняй его здесь, и он изменится во всей панели.
 */

@font-face { font-family: "Inter"; src: url("../fonts/inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
/* Tektur — для заголовков и крупных чисел, как в теме Кумы. Обычный текст остаётся на Inter. */
@font-face { font-family: "Tektur"; src: url("../fonts/tektur-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tektur"; src: url("../fonts/tektur-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  /* --- Цвета --- */
  --bg: #000;            /* фон страницы: чистый чёрный (AMOLED) */
  --panel: #0b0b0b;      /* боковая панель */
  --card: #111;          /* карточки */
  --card-hover: #151515;
  --line: #262626;       /* рамки и разделители */
  --line-soft: #1a1a1a;
  --text: #f2f2f2;
  --muted: #9a9a9a;      /* второстепенный текст */
  --faint: #5c5c5c;
  --up: #3aa76d;         /* «работает» */
  --warn: #d9a03a;       /* «внимание» */
  --red: #e05a5a;        /* акцент и «ошибка» */
  --btn: #e9e9e9;        /* светлые кнопки */
  --btn-text: #111;
  --chart-2: #8fb8ff;    /* вторая линия графика (отправлено, запись) */

  /* --- Размеры --- */
  --radius: 10px;
  --radius-sm: 6px;
  --gap: 16px;
  --sidebar: 232px;

  --font: "Inter", system-ui, sans-serif;
  --display: "Tektur", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "DejaVu Sans Mono", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.5 var(--font);
  font-feature-settings: "tnum", "zero", "ss01"; /* ровные цифры: числа не «прыгают» при обновлении */
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: 0; }
h1 { font-size: 22px; }
h2 { font-size: 15px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-feature-settings: normal; }

/* --- Иконки --- */
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --- Кнопки --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--card); cursor: pointer;
  font-weight: 500; transition: background .15s, border-color .15s, opacity .15s;
}
.btn:hover { background: var(--card-hover); border-color: #333; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--btn); color: var(--btn-text); border-color: var(--btn); }
.btn-primary:hover { background: #fff; border-color: #fff; }
.btn-danger { color: var(--red); }
.btn-danger:hover { border-color: var(--red); }
.btn-sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn-icon { width: 30px; height: 30px; padding: 0; }
.btn-icon .icon { width: 16px; height: 16px; }

/* --- Поля ввода --- */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; color: var(--muted); }
.input {
  height: 40px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #070707; outline: none; width: 100%;
}
.input:focus { border-color: #444; }

/* --- Карточки --- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.card-body { padding: 16px; }

/* --- Метки состояния --- */
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.up { background: var(--up); }
.dot.warn { background: var(--warn); }
.dot.down { background: var(--red); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); white-space: nowrap;
}
.badge.up { color: var(--up); border-color: rgba(58,167,109,.35); }
.badge.warn { color: var(--warn); border-color: rgba(217,160,58,.35); }
.badge.down { color: var(--red); border-color: rgba(224,90,90,.35); }

/* ===================== Страница входа ===================== */
.login-page { display: grid; place-items: center; min-height: 100%; padding: 24px; }
.login-box { width: 100%; max-width: 380px; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand-name { font-size: 20px; font-weight: 600; }
.brand-sub { color: var(--muted); font-size: 13px; }
.login-box .btn-primary { width: 100%; height: 42px; margin-top: 6px; }
.alert { padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid rgba(224,90,90,.4); background: rgba(224,90,90,.08); color: #f1a5a5; font-size: 13px; margin-bottom: 14px; }
.alert.info { border-color: var(--line); background: #0d0d0d; color: var(--muted); }
.alert code { color: var(--text); }

/* ===================== Оболочка приложения ===================== */
.app { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100%; }
.sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column;
  background: var(--panel); border-right: 1px solid var(--line-soft); padding: 18px 12px;
}
.sidebar .brand { margin: 0 6px 24px; }
.sidebar .brand img { width: 32px; height: 32px; border-radius: 8px; }
.sidebar .brand-name { font-size: 16px; }
.nav { display: grid; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px;
  border-radius: var(--radius-sm); text-decoration: none; color: var(--muted); font-weight: 500;
}
.nav a:hover { color: var(--text); background: #121212; }
.nav a.active { color: var(--text); background: #161616; box-shadow: inset 2px 0 0 var(--red); }
.sidebar-foot { margin-top: auto; }
.account { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #101010; }
.avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(224,90,90,.14); color: var(--red); font-weight: 600; font-size: 15px; }
.account-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.account .user-name { font-size: 14px; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conn { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }

.main { min-width: 0; padding: 28px 32px 48px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

/* ===================== Обзор ===================== */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.tile { padding: 16px; }
.tile-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.tile-value { font-family: var(--display); font-size: 28px; font-weight: 600; margin: 8px 0 2px; }
.tile-value small { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.tile-sub { color: var(--muted); font-size: 12px; min-height: 18px; }
.meter { height: 4px; background: #1c1c1c; border-radius: 2px; margin-top: 12px; overflow: hidden; }
.meter > i { display: block; height: 100%; width: 0; background: var(--text); border-radius: 2px; transition: width .4s; }
.meter.warn > i { background: var(--warn); }
.meter.down > i { background: var(--red); }

.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-bottom: var(--gap); }
.chart-card .card-body { padding: 8px 12px 12px; }
.chart { position: relative; height: 170px; }
.chart canvas { width: 100%; height: 100%; display: block; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 2px; margin-right: 6px; vertical-align: middle; background: var(--text); }
.legend i.alt { background: var(--chart-2); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.card-body.rows { gap: 18px; }
.cores { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.core { font-size: 12px; color: var(--muted); }
.core b { display: block; color: var(--text); font-weight: 500; font-size: 13px; }
.rows { display: grid; gap: 10px; }
.row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.row span:first-child { color: var(--muted); }

/* ===================== Контейнеры ===================== */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.toolbar .input { width: 220px; height: 36px; }
.group { margin-bottom: var(--gap); }
.group-title { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px 2px; }
.group-title .icon { width: 16px; height: 16px; }
.ct { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line-soft); }
.ct:first-child { border-top: 0; }
.ct-name { display: flex; align-items: center; gap: 10px; font-weight: 500; min-width: 0; }
.ct-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ct-meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: 12px; margin: 4px 0 0 18px; }
.ct-actions { display: flex; gap: 6px; align-items: center; }
.lock { color: var(--faint); display: inline-flex; }

/* Панель логов выезжает справа */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 20; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(900px, 100%); z-index: 21;
  background: #050505; border-left: 1px solid var(--line); display: flex; flex-direction: column;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.log { flex: 1; overflow: auto; padding: 10px 0; font: 12.5px/1.55 var(--mono); }
.log-line { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 0 16px; white-space: pre-wrap; word-break: break-word; }
.log-line:hover { background: #0e0e0e; }
.log-line time { color: var(--faint); }
.log-line.err span { color: #f1a5a5; }
.log-note { color: var(--muted); padding: 6px 16px; font-family: var(--font); font-size: 12px; }

/* Окно подтверждения */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: grid; place-items: center; z-index: 30; padding: 16px; }
.modal { width: 100%; max-width: 420px; padding: 20px; }
.modal p { color: var(--muted); margin: 8px 0 18px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* ===================== Журнал и API ===================== */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
.method { font: 600 11px var(--mono); white-space: nowrap; }
.method.GET { color: var(--up); }
.method.POST { color: var(--warn); }
.method.DELETE { color: var(--red); }

.empty { padding: 32px 16px; text-align: center; color: var(--muted); }

/* Всплывающие уведомления */
.toasts { position: fixed; right: 16px; bottom: 16px; display: grid; gap: 8px; z-index: 40; }
.toast { background: #161616; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; max-width: 360px; font-size: 13px; }
.toast.err { border-color: rgba(224,90,90,.5); }
.toast.ok { border-color: rgba(58,167,109,.5); }

/* ===================== Телефон и узкие экраны ===================== */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: sticky; z-index: 10; height: auto; flex-direction: row; align-items: center; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .sidebar .brand { margin: 0 8px 0 0; }
  .sidebar .brand-name, .sidebar .brand-sub, .account-text { display: none; }
  .account { padding: 4px; border: 0; background: none; }
  .avatar { width: 28px; height: 28px; font-size: 13px; }
  .nav { display: flex; overflow-x: auto; flex: 1; }
  .nav a { padding: 0 10px; }
  .nav a span { display: none; }
  .nav a.active { box-shadow: inset 0 -2px 0 var(--red); }
  .sidebar-foot { margin: 0; display: flex; align-items: center; padding: 0; }
  .main { padding: 18px 14px 40px; }
  .charts { grid-template-columns: 1fr; }
  .tiles { gap: 10px; }
  .tile-value { font-size: 22px; }
  .ct { grid-template-columns: 1fr; }
  .ct-actions { margin-left: 18px; }
  .log-line { grid-template-columns: 1fr; gap: 0; }
}

/* --- Выбор сервера (когда у Hub есть удалённые узлы) --- */
.node-picker { margin: 0 6px 18px; display: grid; gap: 6px; }
.node-picker[hidden] { display: none; }
.node-picker-title { font-size: 12px; color: var(--muted); }
.node-list { display: grid; gap: 6px; }
.node-btn { display: flex; align-items: center; gap: 8px; width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #111; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; text-align: left; }
.node-btn:hover { border-color: #3a3a3a; }
.node-btn.active { border-color: var(--red); background: rgba(224,90,90,.08); }
.node-btn .label { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.node-btn .label small { color: var(--muted); }
.node-btn .icon { width: 16px; height: 16px; color: var(--red); }
.node-all { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 13px; color: var(--text); cursor: pointer; user-select: none; }
.node-all input { position: absolute; opacity: 0; pointer-events: none; }
.switch { position: relative; width: 30px; height: 18px; border-radius: 9px; background: #2a2a2a; transition: background .15s; flex: none; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #bbb; transition: transform .15s, background .15s; }
.node-all input:checked + .switch { background: var(--red); }
.node-all input:checked + .switch::after { transform: translateX(12px); background: #fff; }
.node-all input:focus-visible + .switch { outline: 2px solid var(--red); outline-offset: 2px; }
.node-section + .node-section { margin-top: 36px; }
.node-section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.node-section-title { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--text); font: 600 18px var(--display); cursor: pointer; }
.node-section-title:hover { color: var(--red); }
.compact-summary { margin: 0 0 12px; color: var(--muted); font-size: 13px; }

/* --- Второй шаг входа --- */
.login-box #back { width: 100%; height: 40px; margin-top: 8px; }
.login-box form p { margin: 0 0 14px; }

/* ===================== Мониторинг ===================== */
.mon-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line-soft); text-decoration: none; }
.mon-row:first-child { border-top: 0; }
.mon-row:hover { background: var(--card-hover); }
.mon-main { min-width: 0; }
.mon-side { display: flex; align-items: center; gap: 16px; }
.mon-nums { display: grid; text-align: right; min-width: 74px; font-size: 12px; line-height: 1.35; }
.mon-nums b { font-size: 14px; font-weight: 600; }
.bad { color: #f1a5a5; }

/* Полоска последних проверок: каждая клетка — одна проверка */
.bar { display: flex; gap: 3px; align-items: center; }
.pill { display: block; width: 6px; height: 22px; border-radius: 3px; background: var(--up); flex: none; }
.pill.down { background: var(--red); }
.pill.pending { background: var(--warn); }
.pill.unknown { background: #4a4a4a; }
.pill.blank { background: #1c1c1c; }
.mon-bar .bar { gap: 4px; }
.mon-bar .pill { flex: 1 1 0; width: auto; min-width: 3px; max-width: 14px; height: 30px; }
.mon-bar p { margin: 10px 0 0; font-size: 12px; }

.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; margin-bottom: 10px; font-size: 13px; }
.back:hover { color: var(--text); }
.back .icon { width: 16px; height: 16px; }
.page-head h1 .id { font-size: 14px; font-weight: 400; }
.page-head p.mono { color: var(--muted); word-break: break-all; }
.badge.big { height: 30px; padding: 0 12px; font-size: 14px; font-weight: 500; }
.badge.big.up { background: rgba(58,167,109,.15); }
.badge.big.down { background: rgba(224,90,90,.15); }
.badge.big.warn { background: rgba(217,160,58,.15); }
.tools { margin-bottom: var(--gap); }
.card + .card, .card + .stats, .stats + .card { margin-top: var(--gap); }
.stats .card, .tiles > .card, .charts > .card, .grid-3 > .card { margin-top: 0; }  /* в сетках отступы даёт gap */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.stat { padding: 14px 16px; }
.stat-value { font-family: var(--display); font-size: 22px; font-weight: 600; margin: 4px 0 2px; }
.small { font-size: 12px; }
.select-sm { height: 30px; width: auto; font-size: 13px; }
.card-head .small { margin-left: auto; }

/* Форма проверки */
.form-modal { max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; }
.form-modal .field { margin-bottom: 12px; }
.form-modal .modal-actions { margin-top: 16px; }
.form-modal h2 { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.field.check label { display: flex; align-items: center; gap: 10px; color: var(--text); cursor: pointer; }
.field.check input { width: 16px; height: 16px; accent-color: var(--red); }
.form-result { margin-top: 12px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: 13px; word-break: break-word; }
.form-result.ok { border-color: rgba(58,167,109,.45); color: var(--up); }
.form-result.bad { border-color: rgba(224,90,90,.45); color: #f1a5a5; }
select.input { cursor: pointer; }

@media (max-width: 760px) {
  .mon-row { grid-template-columns: 1fr; gap: 8px; }
  .mon-side { justify-content: space-between; }
  .field-row { grid-template-columns: 1fr; }
  .mon-side .pill:nth-child(-n+12) { display: none; } /* на телефоне полоска короче */
}

/* Контейнеры: имя — кнопка, открывающая окно со сведениями */
.ct-open { background: none; border: 0; padding: 0; color: var(--text); font: inherit; font-weight: 500; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ct-open:hover { color: var(--red); }
.ct-link { display: inline-flex; color: var(--muted); }
.ct-link:hover { color: var(--text); }
.ct-link .icon { width: 14px; height: 14px; }
.ct-note { color: var(--muted); max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv-list { display: grid; gap: 2px; margin: 4px 0 10px; font-size: 13px; }
.kv { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line-soft); }
.kv > span:first-child { color: var(--muted); }
.kv > span:last-child { word-break: break-all; }
textarea.input { height: auto; padding: 8px 10px; resize: vertical; font: inherit; line-height: 1.5; }

.ok-text { color: var(--muted); }
.api-table { table-layout: fixed; }
.api-table td { overflow: hidden; text-overflow: ellipsis; }
.api-table .col-method { width: 92px; }
.api-table td:first-child { overflow: visible; }
.api-table .col-path { width: 38%; }
.api-table .col-auth { width: 90px; }
.ct-meta .kind { display: inline-flex; align-items: center; gap: 6px; }
.ct-meta .kind .icon { width: 14px; height: 14px; flex: none; color: var(--faint); }
/* Аватар и значки групп */
.avatar { border: 0; padding: 0; cursor: pointer; overflow: hidden; font-family: inherit; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar:hover { box-shadow: 0 0 0 2px var(--red); }
.avatar-big { width: 96px; height: 96px; font-size: 38px; margin: 6px auto 16px; cursor: default; }
.avatar-big:hover { box-shadow: none; }
.profile-modal { max-width: 380px; text-align: center; }
.group-icon { display: inline-flex; background: none; border: 0; padding: 2px; margin: -2px; color: inherit; cursor: pointer; border-radius: 4px; }
.group-icon:hover { color: var(--red); }
.icon-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 4px 0 6px; }
.icon-choice { display: grid; place-items: center; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #111; color: var(--text); cursor: pointer; }
.icon-choice:hover { border-color: #3a3a3a; }
.icon-choice.active { border-color: var(--red); color: var(--red); }
.icon-choice .icon { width: 20px; height: 20px; }
/* Итог в журнале — цветная плашка */
.result { font-size: 13px; font-weight: 500; }
.result.ok { color: var(--up); }
.result.fail { color: var(--red); }
.result.wait { color: var(--warn); }
/* Плашки под заголовком «Обзора»: сервер и частота замеров */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: #101010; color: var(--text); font-size: 13px; }
.chip .icon { width: 14px; height: 14px; color: var(--muted); flex: none; }
.node-btn .server-icon { width: 15px; height: 15px; color: var(--muted); flex: none; }
.node-section-title .icon { width: 18px; height: 18px; color: var(--muted); }
.chip.muted-chip { color: var(--muted); }
