/* ═══════════════════════════════════════════════════════════════════
   RUVENTIX TECHNOLOGIES — Executive Portal Design System
   Autonomous Company OS • Obsidian & Crimson Luxury Dark Theme
   ═══════════════════════════════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap");

:root {
  /* Layout Dimensions */
  --sidebar-w:          270px;
  --topbar-h:           64px;

  /* Theme Canvas & Surfaces */
  --clr-bg:             #080c14;
  --clr-bg-deep:        #05080f;
  --clr-bg-elevated:    #0d1320;
  --clr-surface:        #111726;
  --clr-surface-card:   #121828;
  --clr-surface-hover:  #161f33;
  --clr-surface-2:      #1a243b;

  /* Borders & Highlights */
  --clr-border:         rgba(255, 255, 255, 0.08);
  --clr-border-subtle:  rgba(255, 255, 255, 0.04);
  --clr-border-glow:    rgba(239, 35, 60, 0.35);
  --clr-border-hover:   rgba(255, 255, 255, 0.16);

  /* Brand Crimson / Scarlet */
  --clr-primary:        #ef233c;
  --clr-primary-h:      #ff3856;
  --clr-primary-glow:   rgba(239, 35, 60, 0.28);
  --clr-crimson:        #ef233c;
  --clr-accent:         #ff3b53;

  /* Semantic Palettes */
  --clr-blue:           #3b82f6;
  --clr-blue-glow:      rgba(59, 130, 246, 0.22);
  --clr-cyan:           #06b6d4;
  --clr-cyan-glow:      rgba(6, 182, 212, 0.22);
  --clr-success:        #10b981;
  --clr-success-glow:   rgba(16, 185, 129, 0.22);
  --clr-warning:        #f59e0b;
  --clr-warning-glow:   rgba(245, 158, 11, 0.22);
  --clr-danger:         #ef4444;
  --clr-danger-glow:    rgba(239, 68, 68, 0.22);
  --clr-violet:         #8b5cf6;
  --clr-violet-glow:    rgba(139, 92, 246, 0.22);

  /* Typography Colors */
  --clr-text:           #f8fafc;
  --clr-text-1:         #f1f5f9;
  --clr-text-2:         #94a3b8;
  --clr-text-3:         #64748b;
  --clr-text-muted:     #475569;

  /* Gradients */
  --grad-primary:       linear-gradient(135deg, #ff334b 0%, #d32f2f 100%);
  --grad-accent:        linear-gradient(135deg, #ef233c 0%, #f43f5e 100%);
  --grad-surface:       linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 100%);
  --grad-card:          linear-gradient(145deg, rgba(18, 24, 40, 0.95), rgba(12, 17, 29, 0.98));
  --grad-glow:          radial-gradient(circle at 50% 0%, rgba(239, 35, 60, 0.12), transparent 75%);

  /* Fonts */
  --font-sans:          "Outfit", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:          "Inter", "Outfit", -apple-system, sans-serif;
  --font-mono:          "JetBrains Mono", monospace;

  /* Radii & Transitions */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full: 9999px;

  --t-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --t-med:  0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --t-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(239, 35, 60, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--clr-text);
  min-height: 100vh;
  display: flex;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* ── SVG Icons Baseline ─────────────────────────────────────── */
.portal-svg-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform var(--t-fast), stroke var(--t-fast);
}

/* ── Sidebar ────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--clr-bg-deep);
  border-right: 1px solid var(--clr-border);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--t-smooth);
}

/* Sidebar Logo */
.sidebar-logo {
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.sidebar-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(239, 35, 60, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo-text {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--clr-text-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
}

.sidebar-logo-sub {
  font-size: 0.62rem;
  color: var(--clr-text-3);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: -2px;
}

/* Sidebar Role Badge */
.sidebar-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  margin: 0.75rem 1.25rem 0.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.1);
}

/* Sidebar Search Box */
.sidebar-search-wrap {
  padding: 0.25rem 1rem 0.6rem;
  flex-shrink: 0;
}

.sidebar-search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}

.sidebar-search-box:focus-within {
  border-color: rgba(239, 35, 60, 0.5);
  background: rgba(239, 35, 60, 0.05);
  box-shadow: 0 0 16px rgba(239, 35, 60, 0.15);
}

.sidebar-search-icon {
  color: var(--clr-text-3);
  display: flex;
  align-items: center;
}

.sidebar-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  width: 100%;
}

.sidebar-search-input::placeholder {
  color: var(--clr-text-3);
  font-size: 0.8rem;
}

.sidebar-search-kbd {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--clr-text-3);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Sidebar Nav Scroll Area */
.sidebar-nav {
  flex: 1;
  padding: 0.4rem 0.75rem 1rem;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Sidebar Nav Items */
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.2rem;
  border-radius: var(--r-md);
  color: var(--clr-text-2);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
  border: 1px solid transparent;
}

.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--clr-text);
  transform: translateX(2px);
}

.sidebar-item.active {
  background: linear-gradient(90deg, rgba(239, 35, 60, 0.16) 0%, rgba(239, 35, 60, 0.03) 100%);
  color: #ffffff;
  font-weight: 600;
  border-color: rgba(239, 35, 60, 0.3);
  box-shadow: inset 0 0 14px rgba(239, 35, 60, 0.08);
}

.sidebar-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3.5px;
  height: 55%;
  background: var(--clr-primary);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 10px var(--clr-primary);
}

.sidebar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--clr-text-3);
  transition: color var(--t-fast), transform var(--t-fast);
}

.sidebar-item:hover .sidebar-icon,
.sidebar-item.active .sidebar-icon {
  color: var(--clr-primary);
}

/* Sidebar Group Accordions */
.sidebar-group {
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
}

.sidebar-group-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.85rem;
  background: transparent;
  border: none;
  border-radius: var(--r-md);
  color: var(--clr-text-3);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  transition: all var(--t-fast);
}

.sidebar-group-header:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--clr-text-2);
}

.sidebar-group.has-active .sidebar-group-header {
  color: var(--clr-text-1);
}

.sidebar-group-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sidebar-group-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-group-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.08rem 0.45rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--clr-text-3);
}

.sidebar-group.has-active .sidebar-group-pill {
  background: rgba(239, 35, 60, 0.16);
  color: var(--clr-primary);
  border: 1px solid rgba(239, 35, 60, 0.25);
}

.sidebar-group-chevron {
  width: 13px;
  height: 13px;
  stroke: var(--clr-text-3);
  transition: transform var(--t-med);
}

.sidebar-group.open .sidebar-group-chevron {
  transform: rotate(90deg);
  stroke: var(--clr-text-1);
}

/* Group Subitems */
.sidebar-group-content {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-left: 0.75rem;
  padding-left: 0.65rem;
  border-left: 1.5px solid rgba(255, 255, 255, 0.07);
  transition: max-height 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.sidebar-group.open .sidebar-group-content {
  max-height: 600px;
  opacity: 1;
  margin-top: 0.2rem;
  margin-bottom: 0.4rem;
}

.sidebar-subitem {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.75rem;
  margin-bottom: 0.15rem;
  border-radius: var(--r-sm);
  color: var(--clr-text-2);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
  border: 1px solid transparent;
}

.sidebar-subitem:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--clr-text);
  transform: translateX(2px);
}

.sidebar-subitem.active {
  background: linear-gradient(90deg, rgba(239, 35, 60, 0.15) 0%, rgba(239, 35, 60, 0.02) 100%);
  color: #ffffff;
  font-weight: 600;
  border-color: rgba(239, 35, 60, 0.25);
}

.sidebar-subitem.active::before {
  content: "";
  position: absolute;
  left: -0.73rem;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--clr-primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--clr-primary);
}

.sidebar-subitem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  color: var(--clr-text-3);
  transition: color var(--t-fast);
}

.sidebar-subitem:hover .sidebar-subitem-icon,
.sidebar-subitem.active .sidebar-subitem-icon {
  color: var(--clr-primary);
}

/* Sidebar Footer & User Profile */
.sidebar-footer {
  border-top: 1px solid var(--clr-border);
  padding: 0.85rem 1.15rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
  flex-shrink: 0;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.sidebar-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-avatar-fallback {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.sidebar-avatar-online {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-success);
  border: 2px solid var(--clr-bg-deep);
  box-shadow: 0 0 6px var(--clr-success);
}

.sidebar-user-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.2;
}

.sidebar-user-role {
  font-size: 0.72rem;
  color: var(--clr-text-3);
  font-weight: 500;
}

.sidebar-signout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  color: var(--clr-text-2);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--t-fast);
}

.sidebar-signout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  transform: translateY(-1px);
}

/* ── Main Layout ────────────────────────────────────────────── */
.main-wrap {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: rgba(8, 12, 20, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 400;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--clr-text-3);
}

.topbar-breadcrumb-active {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--clr-text);
  letter-spacing: -0.2px;
}

.topbar-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-success);
  box-shadow: 0 0 8px var(--clr-success);
  animation: pulseRadar 2s infinite ease-in-out;
}

@keyframes pulseRadar {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--clr-text-3);
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border-subtle);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-2);
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
  position: relative;
}

.topbar-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

.topbar-btn.danger-hover:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* ── Page Content Container ─────────────────────────────────── */
.page-content {
  padding: 2rem;
  flex: 1;
}

/* ── Page Header ─────────────────────────────────────────── */
.page-header {
  margin-bottom: 1.75rem;
}

.page-header h1 {
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.page-header p {
  color: var(--clr-text-2);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

/* ── Hero Welcome Section ───────────────────────────────────── */
.hero-banner {
  background: linear-gradient(135deg, rgba(239, 35, 60, 0.08) 0%, rgba(18, 24, 40, 0.95) 45%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.07), 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(239, 35, 60, 0.12), transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.5px;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  line-height: 1.2;
}

.hero-title span {
  background: linear-gradient(135deg, #ffffff 40%, var(--clr-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--clr-text-2);
  font-size: 0.92rem;
  margin-top: 0.35rem;
  max-width: 650px;
}

.hero-telemetry {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.telemetry-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: 0.75rem 1.15rem;
  text-align: right;
}

.telemetry-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
}

.telemetry-lbl {
  font-size: 0.68rem;
  color: var(--clr-text-3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* ── Executive Stat Cards Grid ──────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--clr-surface-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all var(--t-fast);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.06), 0 4px 16px -2px rgba(0, 0, 0, 0.35);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--clr-border-hover);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1), 0 12px 28px -6px rgba(0, 0, 0, 0.5);
}

.stat-card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--clr-primary);
  opacity: 0.85;
  transition: opacity var(--t-fast);
}

.stat-card.blue   .stat-card-accent-bar { background: var(--clr-blue); box-shadow: 0 0 10px var(--clr-blue); }
.stat-card.cyan   .stat-card-accent-bar { background: var(--clr-cyan); box-shadow: 0 0 10px var(--clr-cyan); }
.stat-card.amber  .stat-card-accent-bar { background: var(--clr-warning); box-shadow: 0 0 10px var(--clr-warning); }
.stat-card.green  .stat-card-accent-bar { background: var(--clr-success); box-shadow: 0 0 10px var(--clr-success); }
.stat-card.violet .stat-card-accent-bar { background: var(--clr-violet); box-shadow: 0 0 10px var(--clr-violet); }

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.stat-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card-icon-wrap.blue   { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.stat-card-icon-wrap.cyan   { background: rgba(6, 182, 212, 0.12); color: #38bdf8; border: 1px solid rgba(6, 182, 212, 0.25); }
.stat-card-icon-wrap.amber  { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.25); }
.stat-card-icon-wrap.green  { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.25); }
.stat-card-icon-wrap.violet { background: rgba(139, 92, 246, 0.12); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.25); }

.stat-card-trend {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--clr-text-3);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.stat-card-trend.up    { color: #34d399; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); }
.stat-card-trend.info  { color: #60a5fa; background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); }
.stat-card-trend.alert { color: #fbbf24; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.2); }

.stat-card-value {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.stat-card-label {
  font-size: 0.78rem;
  color: var(--clr-text-2);
  margin-top: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-weight: 600;
}

/* ── Panel / Card Containers ────────────────────────────────── */
.panel {
  background: var(--clr-surface-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05), 0 6px 20px -2px rgba(0, 0, 0, 0.35);
  transition: border-color var(--t-fast);
}

.panel:hover {
  border-color: var(--clr-border-hover);
}

.panel-header {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
}

.panel-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-body {
  padding: 1.5rem;
}

/* ── Quick Actions Grid ─────────────────────────────────────── */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.action-tile {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
  overflow: hidden;
}

.action-tile:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.4);
}

.action-tile-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-fast);
}

.action-tile:hover .action-tile-icon {
  transform: scale(1.08);
}

.action-tile-icon.red    { background: rgba(239, 35, 60, 0.12); color: #ff4d61; border: 1px solid rgba(239, 35, 60, 0.25); }
.action-tile-icon.blue   { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.action-tile-icon.cyan   { background: rgba(6, 182, 212, 0.12); color: #38bdf8; border: 1px solid rgba(6, 182, 212, 0.25); }
.action-tile-icon.green  { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.25); }
.action-tile-icon.amber  { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.25); }
.action-tile-icon.violet { background: rgba(139, 92, 246, 0.12); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.25); }

.action-tile-text {
  flex: 1;
  min-width: 0;
}

.action-tile-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--clr-text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.action-tile-desc {
  font-size: 0.72rem;
  color: var(--clr-text-3);
  margin-top: 1px;
}

.action-tile-arrow {
  color: var(--clr-text-3);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--t-fast);
}

.action-tile:hover .action-tile-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--clr-primary);
}

/* ── Activity Feed & Timeline ───────────────────────────────── */
.activity-list {
  display: flex;
  flex-direction: column;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.95rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--t-fast);
}

.activity-item:hover {
  background: rgba(255, 255, 255, 0.015);
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--clr-primary);
  box-shadow: 0 0 8px var(--clr-primary);
}

.activity-dot.success { background: var(--clr-success); box-shadow: 0 0 8px var(--clr-success); }
.activity-dot.warning { background: var(--clr-warning); box-shadow: 0 0 8px var(--clr-warning); }

.activity-action {
  font-size: 0.86rem;
  color: var(--clr-text-1);
}

.activity-meta {
  font-size: 0.74rem;
  color: var(--clr-text-3);
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ── Empty State Card ───────────────────────────────────────── */
.empty-state-card {
  padding: 2.25rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-state-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.empty-state-icon.green  { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.25); }
.empty-state-icon.blue   { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.empty-state-icon.cyan   { background: rgba(6, 182, 212, 0.12); color: #38bdf8; border: 1px solid rgba(6, 182, 212, 0.25); }

.empty-state-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.empty-state-text {
  font-size: 0.84rem;
  color: var(--clr-text-2);
  max-width: 440px;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* ── Live Telemetry Hub Widget ──────────────────────────────── */
.telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.telemetry-label {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--clr-text-2);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.telemetry-status-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}

.telemetry-status-pill.success {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.telemetry-status-pill.info {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(239, 35, 60, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff4d61 0%, #e52e2e 100%);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(239, 35, 60, 0.5);
}

.btn-outline, .btn-glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-2);
}

.btn-outline:hover, .btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  border-radius: var(--r-sm);
}

.btn-lg {
  padding: 0.8rem 1.8rem;
  font-size: 0.95rem;
}

/* ── Tables ─────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface-card);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--clr-text-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--clr-border);
  text-align: left;
}

tbody td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
  color: var(--clr-text-1);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-warning { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-danger  { background: rgba(239, 68, 68, 0.12); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.25); }
.badge-primary { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.badge-violet  { background: rgba(139, 92, 246, 0.12); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.25); }
.badge-neutral { background: rgba(148, 163, 184, 0.08); color: var(--clr-text-2); border: 1px solid rgba(148, 163, 184, 0.15); }

/* ── Form Controls ──────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-2);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 0.65rem 1rem;
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: all var(--t-fast);
}

.form-control:focus {
  border-color: var(--clr-primary);
  background: rgba(239, 35, 60, 0.03);
  box-shadow: 0 0 0 3px rgba(239, 35, 60, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

select.form-control {
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Alerts ──────────────────────────────────────────────── */
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--r-md);
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  border-left: 3px solid;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.alert-success { background: rgba(16, 185, 129, 0.08); border-color: var(--clr-success); color: #6ee7b7; }
.alert-error   { background: rgba(239, 68, 68, 0.08);   border-color: var(--clr-danger);  color: #fca5a5; }
.alert-warning { background: rgba(245, 158, 11, 0.08);  border-color: var(--clr-warning); color: #fcd34d; }
.alert-info    { background: rgba(59, 130, 246, 0.08);  border-color: var(--clr-blue);    color: #93c5fd; }

/* ── Progress ────────────────────────────────────────────── */
.progress {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-full);
  height: 8px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: var(--r-full);
  background: var(--grad-primary);
  transition: width 0.6s ease;
}

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
  padding: 1.5rem 1rem;
  overflow-y: auto;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.modal {
  background: var(--clr-surface-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  width: 92%;
  max-width: 580px;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--t-med);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.modal-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-text);
}

.modal-close {
  cursor: pointer;
  background: none;
  border: none;
  color: var(--clr-text-3);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--t-fast), transform var(--t-fast);
}

.modal-close:hover {
  color: var(--clr-danger);
  transform: scale(1.1);
}

/* ── Search Wrap ─────────────────────────────────────────── */
.search-wrap {
  position: relative;
}

.search-wrap .form-control {
  padding-left: 2.4rem;
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-3);
  pointer-events: none;
}

/* ── Scrollbars ─────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ── Utilities ───────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--clr-text-2); }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.d-flex     { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 1.5rem; }
.mb-sm { margin-bottom: 0.5rem; }
.mb-md { margin-bottom: 1rem; }
.mb-lg { margin-bottom: 1.5rem; }
.w-100 { width: 100%; }
.text-danger { color: var(--clr-danger); }
.text-success { color: var(--clr-success); }
.text-warning { color: var(--clr-warning); }
.text-primary { color: var(--clr-primary); }

/* ── Dashboard Composition ──────────────────────────────────── */
.dashboard-page .page-content {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.dashboard-page .hero-banner {
  min-height: 168px;
}

.dashboard-page .hero-badge .portal-svg-icon {
  flex-shrink: 0;
}

.dashboard-page .quick-actions-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-page .action-tile-text,
.dashboard-page .action-tile-title,
.dashboard-page .action-tile-desc {
  display: block;
}

.dashboard-page .action-tile-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dashboard-page .action-tile-warning {
  border-color: rgba(245, 158, 11, 0.35);
}

.dashboard-page .action-tile-warning:hover {
  border-color: rgba(245, 158, 11, 0.6);
}

.dashboard-quick-actions-panel {
  margin-bottom: 1.5rem;
}

.dashboard-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  gap: 1.5rem;
  align-items: start;
}

.dashboard-primary-column,
.dashboard-side-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.dashboard-empty-state {
  padding: 2.75rem 1.5rem;
  text-align: center;
}

.dashboard-empty-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-border);
}

.dashboard-empty-icon.green {
  color: var(--clr-success);
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.22);
}

.dashboard-empty-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text-1);
}

.dashboard-empty-text {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: var(--clr-text-3);
}

.dashboard-list {
  padding: 0.35rem 0;
}

.dashboard-session-row,
.dashboard-candidate-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dashboard-candidate-row {
  justify-content: space-between;
}

.dashboard-session-row:last-child,
.dashboard-candidate-row:last-child {
  border-bottom: none;
}

.dashboard-online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clr-success);
  box-shadow: 0 0 8px var(--clr-success);
  flex-shrink: 0;
}

.dashboard-row-text {
  flex: 1;
  min-width: 0;
}

.dashboard-row-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-row-meta {
  margin-top: 0.15rem;
  font-size: 0.73rem;
  color: var(--clr-text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-page .table-wrap {
  border: none;
  border-radius: 0;
}

.dashboard-page .task-title-cell {
  font-weight: 500;
}

/* ── Mobile & Responsive ────────────────────────────────────── */
.sidebar-toggle {
  display: none;
}

@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-detail-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-page .quick-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.6);
  }
  .main-wrap {
    margin-left: 0;
  }
  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--clr-border);
    cursor: pointer;
    color: var(--clr-text);
  }
  .hero-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-telemetry {
    width: 100%;
    justify-content: flex-start;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .quick-actions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .dashboard-page .page-content {
    padding: 1.25rem 1rem 2rem;
  }
  .dashboard-page .hero-banner {
    min-height: 0;
    padding: 1.35rem 1.25rem;
  }
  .dashboard-page .hero-telemetry {
    gap: 0.75rem;
  }
  .dashboard-page .telemetry-chip {
    flex: 1;
    padding: 0.7rem 0.85rem;
    text-align: left;
  }
  .dashboard-page .quick-actions-grid {
    grid-template-columns: 1fr;
  }
  .topbar-status-chip {
    display: none;
  }
}
