:root {
  /* PowerView Enterprise - "Deep Zinc" Palette */
  --bg-main: #09090b; /* Zinc 950 */
  --bg-surface: rgba(24, 24, 27, 0.6); /* Zinc 900 Glass */
  --bg-sidebar: #020617;

  --border-dim: rgba(255, 255, 255, 0.05);
  --border-bright: rgba(255, 255, 255, 0.1);
  --border-active: rgba(99, 102, 241, 0.3);

  /* PowerView Primary Gradients */
  --primary: #6366f1; /* Indigo 500 */
  --primary-accent: #8b5cf6; /* Violet 600 */
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --primary-glow: rgba(99, 102, 241, 0.2);

  /* Semantic Status */
  --status-ok: #10b981; /* Emerald 500 */
  --status-warn: #f59e0b; /* Amber 500 */
  --status-err: #f43f5e; /* Rose 500 */

  /* Typography */
  --text-primary: #fafafa; /* Zinc 50 */
  --text-secondary: #a1a1aa; /* Zinc 400 */
  --text-muted: #52525b; /* Zinc 600 */

  /* Layout & Glassmorphism */
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --blur-md: blur(12px);
  --shadow-indigo: 0 10px 15px -3px rgba(99, 102, 241, 0.1), 0 4px 6px -4px rgba(99, 102, 241, 0.1);

  /* Legacy Aliases */
  --bg-deep: var(--bg-main);
  --text-main: var(--text-primary);
  --accent-cyan: var(--primary);
  --bg-card: var(--bg-surface);
  --border-subtle: var(--border-dim);
  --card-radius: var(--radius-xl);
}

/* Base Component: Enterprise Card (PowerView Glass Style) */
.ent-card,
.zen-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--blur-md);
  -webkit-backdrop-filter: var(--blur-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-indicator::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-online {
  color: var(--status-ok);
}
.status-online::before {
  background: var(--status-ok);
  box-shadow: 0 0 8px var(--status-ok);
}
.status-offline {
  color: var(--status-err);
}
.status-offline::before {
  background: var(--status-err);
}
.status-warning {
  color: var(--status-warn);
}
.status-warning::before {
  background: var(--status-warn);
}

.ent-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
  box-shadow: var(--shadow-indigo);
}

.glow-indigo {
  color: var(--primary);
  text-shadow: 0 0 15px var(--primary-glow);
}

.label-secondary {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.value-highlight {
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-feature-settings: "tnum"; /* Tabular numbers for stability */
}
