:root {
  --bg-dark: #09090b;
  --surface: #18181b;
  --border: #27272a;
  --text-primary: #f4f4f5;
  --text-muted: #a1a1aa;
  --status-ok: #10b981;
  --status-warn: #f59e0b;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

body {
  margin: 0;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.dashboard {
  padding: 2rem;
  max-width: 1024px;
  margin: 0 auto;
}

.terminal-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.terminal-header h1 {
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-header h1::before {
  content: '>';
  color: var(--status-ok);
}

.header-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.ok { background: var(--status-ok); box-shadow: 0 0 8px var(--status-ok); }
.status-dot.warn { background: var(--status-warn); box-shadow: 0 0 8px var(--status-warn); }

.latency {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: auto;
}
