:root {
  --bg: #0a0f1e;
  --bg-soft: #0d1426;
  --panel: #101a30;
  --panel-2: #131f39;
  --border: #223052;
  --border-soft: rgba(255, 255, 255, 0.055);
  --text: #e8eefb;
  --muted: #8b9bb8;
  --muted-2: #64748b;
  --accent: #4f8cff;
  --accent-soft: rgba(79, 140, 255, 0.13);
  --green: #34d399;
  --cyan: #38bdf8;
  --amber: #fbbf24;
  --orange: #fb923c;
  --red: #f87171;
  --purple: #a78bfa;
  --pink: #f472b6;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 82% -12%, rgba(79, 140, 255, 0.14), transparent 62%),
    radial-gradient(900px 480px at -8% 18%, rgba(52, 211, 153, 0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }

.app {
  display: flex;
  min-height: 100vh;
}

/* ---------------- sidebar ---------------- */
.sidebar {
  width: 286px;
  flex: 0 0 286px;
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(13, 21, 40, 0.96), rgba(9, 14, 27, 0.96));
  backdrop-filter: blur(12px);
  overflow-y: auto;
}

.brand { display: flex; align-items: center; gap: 12px; padding: 2px 6px; }
.brand-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.9), rgba(56, 189, 248, 0.75));
  box-shadow: 0 8px 22px rgba(79, 140, 255, 0.35);
}
.brand-icon svg { width: 22px; height: 22px; }
.brand h1 { margin: 0; font-size: 16px; letter-spacing: 0.2px; }
.brand span { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); letter-spacing: 0.4px; }

.sidebar-label {
  padding: 0 8px; font-size: 11px; letter-spacing: 0.12em;
  color: var(--muted-2); text-transform: uppercase;
}

.host-list { display: flex; flex-direction: column; gap: 6px; }

.host-item {
  position: relative;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.host-item:hover { background: rgba(255, 255, 255, 0.035); }
.host-item.active {
  background: var(--accent-soft);
  border-color: rgba(79, 140, 255, 0.38);
}
.host-item-top { display: flex; align-items: center; gap: 8px; }
.host-item-name {
  flex: 1; min-width: 0; font-weight: 600; font-size: 13.5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.host-item-addr {
  margin: 4px 0 0 16px; font-size: 11.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.host-item-metrics {
  display: flex; gap: 10px; margin: 8px 0 0 16px;
  font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums;
}
.host-item-metrics b { color: var(--text); font-weight: 600; }

.status-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto;
  background: var(--muted-2);
  box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.12);
}
.status-dot.online { background: var(--green); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16); }
.status-dot.offline { background: var(--red); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.16); }
.status-dot.connecting { background: var(--amber); animation: pulse 1.4s ease-in-out infinite; }
.status-dot.disabled { background: var(--muted-2); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.sidebar-foot {
  margin-top: auto; padding: 12px 8px 0;
  border-top: 1px solid var(--border-soft);
  font-size: 11px; color: var(--muted-2); line-height: 1.7;
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 36px; padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 13px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, 0.07); border-color: #2f4066; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary {
  border: none;
  background: linear-gradient(135deg, #4f8cff, #3b72e8);
  box-shadow: 0 8px 20px rgba(79, 140, 255, 0.28);
  font-weight: 600;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-block { width: 100%; height: 40px; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.btn.danger { color: var(--red); border-color: rgba(248, 113, 113, 0.32); }
.btn.danger:hover { background: rgba(248, 113, 113, 0.1); }

/* ---------------- main ---------------- */
.main {
  flex: 1;
  min-width: 0;
  padding: 26px 30px 64px;
}
.view { max-width: 1680px; margin: 0 auto; }
.view-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 20px;
}
.view-head h2 { margin: 0; font-size: 22px; letter-spacing: 0.2px; }
.view-head p { margin: 6px 0 0; font-size: 12.5px; }
.live-indicator {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: var(--muted);
  padding: 7px 12px; border: 1px solid var(--border-soft); border-radius: 999px;
}
.live-indicator .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

/* ---------------- overview ---------------- */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.host-card {
  position: relative;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(19, 31, 57, 0.85), rgba(13, 21, 39, 0.92));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  overflow: hidden;
}
.host-card::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 75%);
  opacity: 0;
  transition: opacity 0.16s ease;
}
.host-card:hover {
  border-color: rgba(79, 140, 255, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}
.host-card:hover::before { opacity: 1; }
.host-card.offline::before { background: linear-gradient(90deg, var(--red), transparent 75%); opacity: 1; }
.host-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.host-card-name { font-size: 15.5px; font-weight: 650; }
.host-card-sub { margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.host-card-metrics {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px;
  margin-top: 18px;
}
.card-metric-label {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 11.5px; color: var(--muted); margin-bottom: 5px;
}
.card-metric-label b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.host-card-foot {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 16px; padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 11.5px; color: var(--muted);
}

.bar { height: 6px; border-radius: 99px; background: #1b2743; overflow: hidden; }
.bar i {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  transition: width 0.4s ease;
}
.bar.mem i { background: linear-gradient(90deg, var(--green), #10b981); }
.bar.warn i { background: linear-gradient(90deg, var(--amber), var(--orange)); }
.bar.crit i { background: linear-gradient(90deg, var(--red), #ef4444); }

.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 90px 20px; text-align: center;
  border: 1px dashed var(--border); border-radius: var(--radius);
  color: var(--muted);
}
.empty-state h3 { margin: 0; color: var(--text); font-size: 18px; }
.empty-state p { margin: 0; max-width: 440px; line-height: 1.7; font-size: 13px; }

/* ---------------- detail ---------------- */
.detail-head { align-items: center; }
.detail-head h2 { font-size: 23px; }
.detail-head .btn-ghost { padding-left: 0; }
.detail-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.status-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 11px; border-radius: 999px;
  border: 1px solid var(--border-soft);
  font-size: 12px; color: var(--muted);
}
.status-pill.online { color: var(--green); border-color: rgba(52, 211, 153, 0.28); background: rgba(52, 211, 153, 0.07); }
.status-pill.offline { color: var(--red); border-color: rgba(248, 113, 113, 0.3); background: rgba(248, 113, 113, 0.07); }
.status-pill.connecting { color: var(--amber); border-color: rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.07); }

.alert {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 15px; margin-bottom: 16px;
  border-radius: 12px; font-size: 12.5px; line-height: 1.6;
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.08);
  color: #fecaca;
}
.alert.warn {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.07);
  color: #fde68a;
}
.alert ul { margin: 0; padding-left: 18px; }

.kpi-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px; margin-bottom: 22px;
}
.kpi {
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(19, 31, 57, 0.75), rgba(13, 21, 39, 0.85));
  min-width: 0;
}
.kpi-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em;
}
.kpi-value {
  margin-top: 9px; font-size: 24px; font-weight: 650;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kpi-value small { font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.kpi-sub {
  margin-top: 6px; font-size: 11.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.kpi .bar { margin-top: 10px; }

.charts-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 4px 0 12px; font-size: 12.5px; color: var(--muted);
}
.range-tabs { display: inline-flex; gap: 4px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.035); }
.range-tabs button {
  border: none; background: transparent; color: var(--muted);
  padding: 6px 11px; border-radius: 8px; font-size: 12px;
}
.range-tabs button:hover { color: var(--text); }
.range-tabs button.active { background: var(--accent-soft); color: #a9c6ff; }

.charts-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px; margin-bottom: 16px;
}
.panel {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: rgba(15, 24, 44, 0.72);
  overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--border-soft);
}
.panel-head h3 { margin: 0; font-size: 13.5px; font-weight: 600; }
.panel-head span { font-size: 11.5px; color: var(--muted); }
.chart { height: 225px; padding: 4px 6px 8px; }

.two-col {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px; margin-bottom: 16px;
}
.disk-list { padding: 8px 17px 14px; }
.disk-row { padding: 11px 0; border-bottom: 1px solid var(--border-soft); }
.disk-row:last-child { border-bottom: none; }
.disk-row-head { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; margin-bottom: 7px; }
.disk-row-head .mount { font-weight: 600; }
.disk-row-head .size { color: var(--muted); font-variant-numeric: tabular-nums; }
.disk-row-meta { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11px; color: var(--muted); }

.iface-list { padding: 8px 17px 14px; }
.iface-row {
  display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 10px;
  align-items: center; padding: 11px 0; border-bottom: 1px solid var(--border-soft);
  font-size: 12px;
}
.iface-row:last-child { border-bottom: none; }
.iface-name { font-weight: 600; }
.iface-rate { color: var(--muted); font-variant-numeric: tabular-nums; }
.iface-rate b { color: var(--text); font-weight: 600; }
.up { color: var(--cyan); }
.down { color: var(--pink); }

/* ---------------- process table ---------------- */
.proc-panel { margin-top: 16px; }
.proc-head { flex-wrap: wrap; }
.proc-head h3 { display: flex; align-items: baseline; gap: 8px; }
.proc-head .muted { font-size: 11px; font-weight: 400; }
.proc-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.proc-controls input[type="text"], .proc-controls input:not([type]) {
  height: 32px; width: 210px; padding: 0 11px;
  border: 1px solid var(--border); border-radius: 9px;
  background: #0b1324; color: var(--text); font-size: 12.5px;
}
.proc-controls input:focus { outline: none; border-color: var(--accent); }
.proc-controls select {
  height: 32px; padding: 0 9px; border: 1px solid var(--border); border-radius: 9px;
  background: #0b1324; color: var(--text); font-size: 12.5px;
}
.check { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); cursor: pointer; }
.check input { width: 14px; height: 14px; accent-color: var(--accent); }

.proc-tabs {
  display: flex; gap: 2px; padding: 0 14px;
  border-bottom: 1px solid var(--border-soft);
}
.proc-tabs button {
  position: relative;
  border: none; background: transparent; color: var(--muted);
  padding: 12px 14px; font-size: 12.5px;
}
.proc-tabs button:hover { color: var(--text); }
.proc-tabs button.active { color: #a9c6ff; }
.proc-tabs button.active::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.table-wrap { max-height: 560px; overflow: auto; }
.proc-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.proc-table th {
  position: sticky; top: 0; z-index: 2;
  padding: 10px 12px; text-align: left;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--muted); background: #0e1729;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.proc-table th.num, .proc-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.proc-table th.sorted { color: #a9c6ff; }
.proc-table td {
  padding: 9px 12px; border-bottom: 1px solid var(--border-soft);
  white-space: nowrap; vertical-align: middle;
}
.proc-table tbody tr:hover { background: rgba(79, 140, 255, 0.055); }
.proc-table tbody tr:last-child td { border-bottom: none; }
.proc-rank { color: var(--muted-2); font-variant-numeric: tabular-nums; width: 42px; }
.proc-name { font-weight: 600; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.proc-user { color: var(--muted); }
.proc-cmd {
  color: var(--muted-2); font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11.5px; max-width: 360px; overflow: hidden; text-overflow: ellipsis;
}
.proc-zero { color: var(--muted-2); }
.metric-cell { display: flex; flex-direction: column; gap: 4px; min-width: 74px; }
.metric-cell .num-val { text-align: right; }
.metric-cell .bar { height: 3px; }
.proc-note {
  padding: 10px 17px 13px; font-size: 11.5px; color: var(--muted-2);
  border-top: 1px solid var(--border-soft); line-height: 1.7;
}

/* ---------------- modal ---------------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center; padding: 24px;
  background: rgba(3, 7, 16, 0.7);
  backdrop-filter: blur(6px);
}
.modal {
  width: min(640px, 100%); max-height: 90vh;
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(170deg, #111c35, #0b1324);
  box-shadow: var(--shadow);
  animation: modal-in 0.18s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(0.99); } }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border-soft);
}
.modal-head h3 { margin: 0; font-size: 16px; }
.modal-head button {
  border: none; background: transparent; color: var(--muted);
  width: 30px; height: 30px; border-radius: 8px; font-size: 14px;
}
.modal-head button:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.modal-body { padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.modal-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 20px; border-top: 1px solid var(--border-soft);
}
.modal-foot .spacer { flex: 1; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label, .modal-body > label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.form-grid input, .form-grid select, .modal-body input, .modal-body select, .modal-body textarea {
  width: 100%; height: 38px; padding: 0 11px;
  border: 1px solid var(--border); border-radius: 9px;
  background: #0a1323; color: var(--text); font-size: 13px;
}
.modal-body textarea { height: auto; padding: 10px 11px; resize: vertical; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.modal-body input:focus, .modal-body select:focus, .modal-body textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.12);
}
.check-line { flex-direction: row !important; align-items: center; gap: 8px !important; font-size: 12.5px !important; color: var(--muted) !important; padding-top: 22px; }
.check-line input { width: 15px !important; height: 15px !important; accent-color: var(--accent); }
.modal-body label > span.hint { font-size: 11px; color: var(--muted-2); }
.test-result {
  padding: 11px 13px; border-radius: 10px; font-size: 12.5px; line-height: 1.65;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.test-result.ok { border-color: rgba(52, 211, 153, 0.3); background: rgba(52, 211, 153, 0.08); color: #a7f3d0; }
.test-result.err { border-color: rgba(248, 113, 113, 0.3); background: rgba(248, 113, 113, 0.08); color: #fecaca; }

/* ---------------- toast ---------------- */
.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  max-width: 380px; padding: 12px 16px;
  border-radius: 11px; border: 1px solid var(--border);
  background: #131f39; color: var(--text);
  box-shadow: var(--shadow); font-size: 13px;
  animation: modal-in 0.18s ease;
}
.toast.ok { border-color: rgba(52, 211, 153, 0.35); }
.toast.err { border-color: rgba(248, 113, 113, 0.35); }

/* ---------------- login ---------------- */
.login-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(900px 520px at 72% -12%, rgba(79, 140, 255, 0.18), transparent 62%),
    radial-gradient(700px 420px at 10% 110%, rgba(52, 211, 153, 0.08), transparent 60%),
    var(--bg);
}
.login-card {
  width: min(380px, 100%);
  padding: 30px 28px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.login-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #4f8cff, #3b72e8);
  box-shadow: 0 10px 24px rgba(79, 140, 255, 0.28);
}
.login-icon svg { width: 24px; height: 24px; }
.login-card h2 { margin: 16px 0 4px; font-size: 20px; }
.login-card p { margin: 0 0 20px; font-size: 13px; }
.login-card input {
  width: 100%; height: 42px; padding: 0 12px; margin-bottom: 12px;
  border: 1px solid var(--border); border-radius: 10px;
  background: #0a1323; color: var(--text); font-size: 15px; letter-spacing: 2px;
}
.login-card input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.12);
}
.login-error {
  margin: 0 0 12px; padding: 8px 10px; border-radius: 8px;
  font-size: 12.5px; color: var(--red);
  background: rgba(248, 113, 113, 0.09);
  border: 1px solid rgba(248, 113, 113, 0.28);
}
.link-btn {
  margin-top: 8px; padding: 0; border: none; background: none;
  color: var(--muted-2); font-size: 11px; text-align: left;
}
.link-btn:hover { color: var(--accent); }

/* ---------------- responsive ---------------- */
@media (max-width: 1380px) {
  .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .charts-grid, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .app { flex-direction: column; }
  .sidebar {
    width: 100%; flex: none; height: auto; position: static;
    padding: 14px; gap: 12px;
  }
  .brand { display: none; }
  .host-list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .host-item { min-width: 210px; }
  .sidebar-foot { display: none; }
  .main { padding: 18px 16px 48px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proc-controls input:not([type]) { width: 150px; }
  .form-grid { grid-template-columns: 1fr; }
  .check-line { padding-top: 0; }
}
