/* =============================================
   AI AGENT INCIDENT PREDICTOR — DARK-OPS DESIGN
   ============================================= */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Variables */
:root {
  --bg-primary: #0B0D14;
  --bg-surface: #13161F;
  --bg-elevated: #1A1E2A;
  --border: #1E2333;
  --border-glow: #2A3048;
  --text-primary: #E8ECF4;
  --text-secondary: #7A849C;
  --text-muted: #4A5268;
  --green: #10B981;
  --green-glow: #10B98130;
  --green-dim: #10B98115;
  --amber: #F59E0B;
  --amber-glow: #F59E0B30;
  --amber-dim: #F59E0B15;
  --red: #EF4444;
  --red-glow: #EF444430;
  --red-dim: #EF444420;
  --blue: #3B82F6;
  --blue-glow: #3B82F620;
  --purple: #A855F7;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --transition: 150ms ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 14px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--border-glow); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* =============================================
   LAYOUT
   ============================================= */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 56px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg { width: 18px; height: 18px; color: white; }

.product-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-name span { color: var(--green); }

.simulation-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: var(--blue-glow);
  border: 1px solid var(--blue);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.simulation-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-clock {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.settings-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.settings-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-color: var(--border-glow);
}

.reset-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.reset-btn:hover {
  background: var(--border-glow);
  color: var(--text-primary);
}

/* Main content */
.main-content {
  flex: 1;
  padding: 24px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* =============================================
   SUMMARY STRIP
   ============================================= */
.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
}

.metric-card.healthy::before { background: var(--green); }
.metric-card.warning::before { background: var(--amber); }
.metric-card.critical::before { background: var(--red); }

.metric-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 4px;
}

.metric-card.healthy .metric-value { color: var(--green); }
.metric-card.warning .metric-value { color: var(--amber); }
.metric-card.critical .metric-value { color: var(--red); }

.metric-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.metric-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  margin-left: 8px;
}

.metric-trend.up { color: var(--red); }
.metric-trend.down { color: var(--green); }
.metric-trend.stable { color: var(--text-muted); }

/* =============================================
   MAIN GRID
   ============================================= */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  margin-bottom: 24px;
}

/* =============================================
   AGENT TABLE
   ============================================= */
.panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.panel-title {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  background: var(--bg-primary);
  padding: 2px 8px;
  border-radius: 10px;
}

.filter-chips {
  display: flex;
  gap: 6px;
}

.filter-chip {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  transition: var(--transition);
}

.filter-chip:hover { border-color: var(--border-glow); color: var(--text-primary); }
.filter-chip.active { background: var(--green-dim); border-color: var(--green); color: var(--green); }
.filter-chip.active.warning { background: var(--amber-dim); border-color: var(--amber); color: var(--amber); }
.filter-chip.active.critical { background: var(--red-dim); border-color: var(--red); color: var(--red); }

.agent-table-wrap { overflow-x: auto; }

.agent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.agent-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: var(--transition);
}

.agent-table th:hover { color: var(--text-primary); }
.agent-table th.sorted { color: var(--green); }

.sort-icon { margin-left: 4px; opacity: 0.5; }
.agent-table th.sorted .sort-icon { opacity: 1; }

.agent-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.agent-table tr {
  cursor: pointer;
  transition: var(--transition);
}

.agent-table tbody tr:hover { background: var(--bg-elevated); }
.agent-table tbody tr.selected { background: var(--green-dim); }
.agent-table tbody tr:last-child td { border-bottom: none; }

.agent-name-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.agent-name {
  font-weight: 500;
  color: var(--text-primary);
}

.agent-team {
  font-size: 11px;
  color: var(--text-muted);
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.risk-badge.healthy { background: var(--green-dim); color: var(--green); }
.risk-badge.warning { background: var(--amber-dim); color: var(--amber); }
.risk-badge.critical { background: var(--red-dim); color: var(--red); }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.healthy { background: var(--green); box-shadow: 0 0 6px var(--green-glow); }
.status-dot.warning { background: var(--amber); box-shadow: 0 0 6px var(--amber-glow); }
.status-dot.critical {
  background: var(--red);
  box-shadow: 0 0 6px var(--red-glow);
  animation: critical-pulse 1.5s infinite;
}

@keyframes critical-pulse {
  0%, 100% { box-shadow: 0 0 6px var(--red-glow); }
  50% { box-shadow: 0 0 12px var(--red-glow), 0 0 20px var(--red-glow); }
}

.signal-bar {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.signal-bar-value {
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bar-track {
  width: 60px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.5s ease;
}

.bar-fill.healthy { background: var(--green); }
.bar-fill.warning { background: var(--amber); }
.bar-fill.critical { background: var(--red); }

.last-activity { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

/* =============================================
   RISK DISTRIBUTION CHART
   ============================================= */
.risk-chart-wrap {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.donut-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 20px;
}

.donut-chart {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.donut-total {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
}

.donut-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.risk-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.legend-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-dot.healthy { background: var(--green); }
.legend-dot.warning { background: var(--amber); }
.legend-dot.critical { background: var(--red); }

.legend-count {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.legend-item.healthy .legend-count { color: var(--green); }
.legend-item.warning .legend-count { color: var(--amber); }
.legend-item.critical .legend-count { color: var(--red); }

.legend-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* =============================================
   DETAIL PANEL
   ============================================= */
.detail-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  display: none;
}

.detail-panel.visible { display: block; animation: fadeIn 200ms ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.detail-agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.detail-agent-name {
  font-size: 16px;
  font-weight: 600;
}

.detail-agent-team {
  font-size: 12px;
  color: var(--text-secondary);
}

.detail-risk-gauge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.detail-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.detail-close:hover { background: var(--bg-elevated); color: var(--text-primary); }

.detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.detail-section {
  background: var(--bg-surface);
  padding: 16px 20px;
}

.detail-section-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* Signal list */
.signal-list { display: flex; flex-direction: column; gap: 12px; }

.signal-row {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.signal-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  cursor: pointer;
  transition: var(--transition);
}

.signal-row-header:hover { background: var(--border-glow); }

.signal-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.signal-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.signal-icon.healthy { background: var(--green-dim); color: var(--green); }
.signal-icon.warning { background: var(--amber-dim); color: var(--amber); }
.signal-icon.critical { background: var(--red-dim); color: var(--red); }

.signal-name { font-size: 13px; font-weight: 500; }

.signal-values {
  display: flex;
  align-items: center;
  gap: 12px;
}

.signal-current {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
}

.signal-row.healthy .signal-current { color: var(--green); }
.signal-row.warning .signal-current { color: var(--amber); }
.signal-row.critical .signal-current { color: var(--red); }

.signal-trend {
  display: flex;
  align-items: center;
  font-size: 12px;
  gap: 3px;
}

.signal-trend.up { color: var(--red); }
.signal-trend.down { color: var(--green); }
.signal-trend.stable { color: var(--text-muted); }

/* Sparkline */
.sparkline-wrap {
  padding: 0 12px 10px;
  display: none;
}

.signal-row.expanded .sparkline-wrap { display: block; }

.sparkline-container {
  position: relative;
  height: 40px;
  background: var(--bg-primary);
  border-radius: 4px;
  overflow: hidden;
}

.sparkline-canvas {
  width: 100%;
  height: 100%;
}

/* Activity log */
.activity-log {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  gap: 10px;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 4px;
  background: var(--bg-elevated);
}

.activity-time {
  font-family: var(--font-mono);
  color: var(--text-muted);
  flex-shrink: 0;
}

.activity-text { color: var(--text-secondary); }
.activity-text strong { color: var(--text-primary); font-weight: 500; }

/* =============================================
   ALERT FEED
   ============================================= */
.alert-feed {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.alert-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.alert-tabs {
  display: flex;
  gap: 4px;
}

.alert-tab {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  transition: var(--transition);
}

.alert-tab:hover { background: var(--bg-elevated); color: var(--text-primary); }
.alert-tab.active { background: var(--red-dim); color: var(--red); }

.alert-count-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  background: var(--red-dim);
  color: var(--red);
  border-radius: 10px;
}

.alert-list { padding: 8px; }

.alert-card {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 6px;
  position: relative;
  animation: fadeIn 200ms ease;
}

.alert-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px 0 0 3px;
}

.alert-card.critical::before { background: var(--red); }
.alert-card.warning::before { background: var(--amber); }

.alert-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.alert-status-dot.critical { background: var(--red); box-shadow: 0 0 6px var(--red-glow); animation: critical-pulse 1.5s infinite; }
.alert-status-dot.warning { background: var(--amber); box-shadow: 0 0 6px var(--amber-glow); }

.alert-content { flex: 1; min-width: 0; }

.alert-agent {
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 2px;
}

.alert-signal {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.alert-values {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.alert-values strong { color: var(--red); }
.alert-values span { color: var(--text-secondary); }

.alert-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.alert-dismiss {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: var(--transition);
}

.alert-dismiss:hover { background: var(--border-glow); color: var(--text-primary); }

.no-alerts {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-muted);
}

.no-alerts-icon {
  font-size: 32px;
  margin-bottom: 8px;
  opacity: 0.5;
}

.no-alerts-text { font-size: 13px; }

/* =============================================
   SETTINGS PANEL
   ============================================= */
.settings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  display: none;
}

.settings-overlay.open { display: block; }

.settings-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 380px;
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 250ms ease;
  display: flex;
  flex-direction: column;
}

.settings-panel.open { transform: translateX(0); }

.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.settings-title {
  font-size: 15px;
  font-weight: 600;
}

.settings-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.settings-close:hover { background: var(--bg-elevated); color: var(--text-primary); }

.settings-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.settings-section { margin-bottom: 28px; }

.settings-section-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.threshold-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.threshold-row:last-child { border-bottom: none; }

.threshold-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.threshold-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  min-width: 30px;
  text-align: right;
}

.threshold-slider {
  width: 100%;
  margin-top: 8px;
  -webkit-appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}

.threshold-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: var(--green);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 6px var(--green-glow);
}

.plan-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-glow);
  border: 1px solid var(--blue);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.settings-save {
  width: 100%;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  background: var(--green);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.settings-save:hover { background: #0EA472; }

/* =============================================
   EMPTY STATE
   ============================================= */
.empty-state {
  padding: 60px 20px;
  text-align: center;
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.empty-state-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.empty-state-text {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 300px;
  margin: 0 auto;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .main-grid { grid-template-columns: 1fr; }
  .risk-chart-wrap { display: none; }
}

@media (max-width: 768px) {
  .main-content { padding: 16px; }
  .summary-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .metric-value { font-size: 22px; }
  .detail-body { grid-template-columns: 1fr; }
  .filter-chips { display: none; }
  .header { padding: 0 16px; }
  .product-name { font-size: 13px; }
  .settings-panel { width: 100%; }
  .agent-table th:nth-child(n+4),
  .agent-table td:nth-child(n+4) { display: none; }
}

/* =============================================
   UTILITIES
   ============================================= */
.text-green { color: var(--green); }
.text-amber { color: var(--amber); }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }
.font-mono { font-family: var(--font-mono); }

.hidden { display: none !important; }