/* ═══════════════════════════════════════════════════════
   NET-ANALYZER Probe — Design System
   Font: Inter (UI) + JetBrains Mono (dati/codice)
   Colori: blu navy + verde status + grigio slate
   Tema: chiaro / scuro / sistema
════════════════════════════════════════════════════════ */

/* ─── TOKEN COLORE (tema chiaro) ─────────────────── */
:root {
  --accent:        #2563EB;   /* blu segnale */
  --accent-light:  #EFF6FF;
  --accent-dark:   #1D4ED8;
  --success:       #16A34A;
  --success-light: #F0FDF4;
  --warning:       #D97706;
  --warning-light: #FFFBEB;
  --danger:        #DC2626;
  --danger-light:  #FEF2F2;
  --info:          #0891B2;
  --info-light:    #ECFEFF;

  --bg-base:       #F8FAFC;
  --bg-surface:    #FFFFFF;
  --bg-surface-2:  #F1F5F9;
  --bg-sidebar:    #0F172A;
  --bg-sidebar-hover: #1E293B;

  --text-primary:  #0F172A;
  --text-secondary:#475569;
  --text-muted:    #94A3B8;
  --text-on-dark:  #E2E8F0;
  --text-sidebar:  #CBD5E1;
  --text-sidebar-active: #FFFFFF;

  --border:        #E2E8F0;
  --border-strong: #CBD5E1;

  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.07);
  --shadow:     0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 24px rgba(0,0,0,.12);

  --font:       'Inter', system-ui, sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;
  --sidebar-w:  220px;
  --topbar-h:   56px;
  --transition: 200ms cubic-bezier(.4,0,.2,1);
}

/* ─── TEMA SCURO ─────────────────────────────────── */
[data-theme="dark"] {
  --bg-base:       #0B0F1A;
  --bg-surface:    #141B2B;
  --bg-surface-2:  #1C2539;
  --bg-sidebar:    #080C16;
  --bg-sidebar-hover: #111827;

  --text-primary:  #F1F5F9;
  --text-secondary:#94A3B8;
  --text-muted:    #64748B;

  --border:        #1E2D45;
  --border-strong: #2D3F5C;

  --accent-light:  rgba(37,99,235,.15);
  --success-light: rgba(22,163,74,.12);
  --warning-light: rgba(217,119,6,.12);
  --danger-light:  rgba(220,38,38,.12);
  --info-light:    rgba(8,145,178,.12);
}

/* ─── SISTEMA (segue OS) ─────────────────────────── */
@media (prefers-color-scheme: dark) {
  [data-theme="system"] {
    --bg-base:       #0B0F1A;
    --bg-surface:    #141B2B;
    --bg-surface-2:  #1C2539;
    --bg-sidebar:    #080C16;
    --bg-sidebar-hover: #111827;
    --text-primary:  #F1F5F9;
    --text-secondary:#94A3B8;
    --text-muted:    #64748B;
    --border:        #1E2D45;
    --border-strong: #2D3F5C;
    --accent-light:  rgba(37,99,235,.15);
    --success-light: rgba(22,163,74,.12);
    --warning-light: rgba(217,119,6,.12);
    --danger-light:  rgba(220,38,38,.12);
    --info-light:    rgba(8,145,178,.12);
  }
}

/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ─── LAYOUT ─────────────────────────────────────── */
#app {
  display: flex;
  height: 100dvh;
  overflow: hidden;
}

/* ─── SIDEBAR ────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  transition: width var(--transition), min-width var(--transition);
  z-index: 100;
  overflow: hidden;
}
.sidebar.collapsed {
  width: 60px;
  min-width: 60px;
}
.sidebar.collapsed .logo-text,
.sidebar.collapsed .nav-item span,
.sidebar.collapsed .sidebar-user span,
.sidebar.collapsed .nav-badge { display: none; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 0 12px; }
.sidebar.collapsed .sidebar-footer { padding: 12px 8px; justify-content: center; flex-wrap: wrap; gap: 4px; }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}
.logo-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  overflow: hidden;
}
.logo-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-on-dark);
  letter-spacing: .08em;
  white-space: nowrap;
}
.logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: .05em;
}
.sidebar-toggle {
  color: var(--text-sidebar);
  font-size: 16px;
  padding: 4px;
  border-radius: 4px;
  transition: color var(--transition);
  flex-shrink: 0;
}
.sidebar-toggle:hover { color: var(--text-sidebar-active); }

.sidebar-nav {
  flex: 1;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-sidebar);
  font-size: 13.5px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.nav-item i { font-size: 18px; flex-shrink: 0; }
.nav-item:hover {
  background: var(--bg-sidebar-hover);
  color: var(--text-sidebar-active);
}
.nav-item.active {
  background: var(--accent);
  color: white;
}
.nav-badge {
  margin-left: auto;
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px;
  flex-shrink: 0;
}
.nav-divider {
  height: 1px;
  background: rgba(255,255,255,.06);
  margin: 8px 0;
}

.sidebar-footer {
  padding: 12px 8px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  gap: 8px;
}
.theme-toggle {
  color: var(--text-sidebar);
  font-size: 17px;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--bg-sidebar-hover); color: var(--text-sidebar-active); }
.sidebar-user {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-sidebar);
  font-size: 13px;
  overflow: hidden;
}
.sidebar-user i { font-size: 18px; flex-shrink: 0; }
.sidebar-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ─── MAIN CONTENT ───────────────────────────────── */
.main-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ─── TOPBAR ─────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  flex-shrink: 0;
}
.topbar-menu-btn {
  display: none;
  color: var(--text-secondary);
  font-size: 20px;
  padding: 4px;
}
.topbar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}
.connection-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--bg-surface-2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}
.conn-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: pulse 2s infinite;
}
.conn-dot.ok      { background: var(--success); }
.conn-dot.error   { background: var(--danger); animation: none; }
.conn-dot.unconfigured { background: var(--text-muted); animation: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ─── PAGINE ─────────────────────────────────────── */
.page {
  display: none;
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.page.active { display: block; }

/* ─── CARD ───────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-title i { color: var(--text-muted); font-size: 16px; }

/* ─── STAT CARD ──────────────────────────────────── */
.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); }
.stat-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.stat-icon.blue    { background: var(--accent-light);   color: var(--accent);  }
.stat-icon.green   { background: var(--success-light);  color: var(--success); }
.stat-icon.amber   { background: var(--warning-light);  color: var(--warning); }
.stat-icon.red     { background: var(--danger-light);   color: var(--danger);  }
.stat-icon.cyan    { background: var(--info-light);     color: var(--info);    }
.stat-body { min-width: 0; }
.stat-value {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 3px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
}
.stat-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── GRIGLIA STAT ───────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

/* ─── STATUS BADGE ───────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: var(--warning); }
.badge-danger  { background: var(--danger-light);  color: var(--danger);  }
.badge-info    { background: var(--info-light);     color: var(--info);   }
.badge-muted   { background: var(--bg-surface-2);   color: var(--text-muted); }
.badge-accent  { background: var(--accent-light);   color: var(--accent); }

/* ─── TABELLA ────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--bg-surface-2);
  white-space: nowrap;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-surface-2); }
td .mono { font-family: var(--font-mono); font-size: 12px; }

/* ─── BOTTONI ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: background var(--transition), opacity var(--transition), box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 2px 8px rgba(37,99,235,.3); }
.btn-secondary {
  background: var(--bg-surface-2);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { background: var(--border); }
.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { opacity: .85; }
.btn-ghost { color: var(--text-secondary); padding: 8px; }
.btn-ghost:hover { background: var(--bg-surface-2); color: var(--text-primary); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition);
}
.btn-icon:hover { background: var(--bg-surface-2); color: var(--text-primary); }

/* ─── FORM ───────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.form-label.required::after { content: ' *'; color: var(--danger); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 8px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 13px;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input.mono { font-family: var(--font-mono); font-size: 12px; }
.form-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 11px; color: var(--danger); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; }
.form-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-info { font-size: 13px; color: var(--text-primary); }
.toggle-hint { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
/* Toggle switch */
.toggle {
  position: relative;
  width: 36px; height: 20px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--border-strong);
  border-radius: 20px;
  cursor: pointer;
  transition: background var(--transition);
}
.toggle-slider::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  background: white;
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: transform var(--transition);
}
.toggle input:checked + .toggle-slider { background: var(--accent); }
.toggle input:checked + .toggle-slider::after { transform: translateX(16px); }

/* ─── MODAL ──────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(2px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-title { font-size: 15px; font-weight: 600; }
.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

/* ─── TOAST ──────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 20px; right: 20px;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  z-index: 2000;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  color: var(--text-primary);
  pointer-events: all;
  animation: slideIn .2s ease;
  min-width: 240px;
  max-width: 360px;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--danger); }
.toast.warning { border-left: 3px solid var(--warning); }
.toast i { font-size: 16px; flex-shrink: 0; }
.toast.success i { color: var(--success); }
.toast.error   i { color: var(--danger); }
.toast.warning i { color: var(--warning); }
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ─── STATUS INDICATOR ───────────────────────────── */
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.status-dot.up      { background: var(--success); box-shadow: 0 0 0 2px var(--success-light); }
.status-dot.down    { background: var(--danger);  box-shadow: 0 0 0 2px var(--danger-light); }
.status-dot.unknown { background: var(--text-muted); }
.status-dot.warning { background: var(--warning); box-shadow: 0 0 0 2px var(--warning-light); }

/* ─── EMPTY STATE ────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
}
.empty-state i { font-size: 40px; margin-bottom: 12px; opacity: .5; }
.empty-state h3 { font-size: 14px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.empty-state p  { font-size: 13px; line-height: 1.6; max-width: 300px; }

/* ─── LOADING ────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
}

/* ─── DEVICE CARD ────────────────────────────────── */
.device-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.device-card:last-child { border-bottom: none; }
.device-card:hover { background: var(--bg-surface-2); }
.device-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.device-info { flex: 1; min-width: 0; }
.device-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.device-meta {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 2px;
}
.device-actions { display: flex; gap: 4px; flex-shrink: 0; }

/* ─── SETUP BANNER ───────────────────────────────── */
.setup-banner {
  background: var(--accent-light);
  border: 1px solid rgba(37,99,235,.2);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 13px;
}
.setup-banner i { color: var(--accent); font-size: 18px; flex-shrink: 0; }
.setup-banner a { color: var(--accent); font-weight: 600; }

/* ─── MOBILE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 200;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
    width: var(--sidebar-w) !important;
    min-width: var(--sidebar-w) !important;
  }
  .sidebar.mobile-open .logo-text,
  .sidebar.mobile-open .nav-item span { display: flex; }
  .topbar-menu-btn { display: flex; }
  .page { padding: 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal { max-width: 100%; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ─── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ─── CONTROLLER SPECIFICO ───────────────────── */
.probe-filter { padding: 10px 8px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
.probe-filter-label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 5px; padding: 0 4px; }
.probe-select { width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); color: var(--text-sidebar); font-size: 12px; padding: 6px 8px; font-family: var(--font); }
.probe-select:focus { outline: none; border-color: var(--accent); }
.probe-pill { display:flex; align-items:center; gap:6px; padding:4px 10px; background:var(--accent-light); border:1px solid rgba(37,99,235,.2); border-radius:20px; font-size:12px; color:var(--accent); font-weight:500; }
.probe-pill button { color:var(--accent); padding:0; font-size:14px; line-height:1; }
.probe-card { display:flex; align-items:center; gap:14px; padding:14px 16px; border-bottom:1px solid var(--border); transition:background var(--transition); }
.probe-card:hover { background:var(--bg-surface-2); }
.probe-card:last-child { border-bottom:none; }
.probe-icon { width:40px; height:40px; border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.probe-icon.online  { background:var(--success-light); color:var(--success); }
.probe-icon.offline { background:var(--danger-light);  color:var(--danger); }
.probe-icon.never   { background:var(--bg-surface-2);  color:var(--text-muted); }
.token-box { background:var(--bg-surface-2); border:1px solid var(--border); border-radius:var(--radius-sm); padding:12px 14px; font-family:var(--font-mono); font-size:13px; word-break:break-all; color:var(--success); margin:12px 0; }
.token-warning { background:var(--warning-light); border:1px solid rgba(217,119,6,.2); border-radius:var(--radius-sm); padding:10px 12px; font-size:12px; color:var(--warning); margin-bottom:12px; display:flex; gap:8px; align-items:flex-start; }
.sidebar.collapsed .probe-filter { display:none; }
