/* ============================================
   APP LAYOUT
   ============================================ */

.app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: hsl(var(--background, 210 40% 98%));
}

/* Prevent horizontal page scroll and hide scrollbars visually */
html, body, #root {
  overflow-x: hidden;
}

/* Hide scrollbars (visual only) while keeping scroll behavior if needed */
* {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

*::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Header */
.app-header {
  background: #f8fafd; /* light gray background */
  color: #2c3e50; /* dark text for icons/labels */
  padding: 0.5rem 1.25rem;
  border-bottom: 1px solid rgba(16,24,32,0.06);
  position: fixed;
  top: 0;
  left: 80px;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  height: 60px;
}

/* Breadcrumb bar */
.breadcrumb-bar {
  position: fixed;
  top: 60px;
  left: 80px;
  right: 0;
  background: #f8fafd;
  border-bottom: 2px solid #e5e7eb;
  z-index: 99;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  margin-top: 0px;
}

.breadcrumb {
  padding: 8px 14px;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
  margin: 0;
}

/* Settings card */
.settings-card {
  position: absolute;
  top: 56px;
  right: 16px;
  width: 320px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(16,24,32,0.06);
  box-shadow: 0 10px 30px rgba(16,24,32,0.08);
  z-index: 300;
  overflow: hidden;
}
.settings-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(16,24,32,0.04);
}
.settings-close{ background: transparent; border: none; cursor: pointer; font-size: 1rem }
.settings-body{ padding: 12px 14px }
.settings-row{ margin-bottom: 12px; display:flex; flex-direction:column; gap:8px }
.settings-options{ display:flex; flex-direction:column; gap:12px }
.settings-options label{ display:flex; gap:8px; align-items:center; cursor:pointer; padding:4px 0; font-weight:500; width:100%; }
.settings-options label input[type="radio"]{ margin:0; cursor:pointer; flex-shrink:0; width:18px; height:18px; }
.settings-actions{ display:flex; justify-content:flex-end }
.btn{ padding:6px 12px; border-radius:8px; border:1px solid rgba(16,24,32,0.06); background:#fff; cursor:pointer }
.btn-primary{ background: var(--color-btn-primary); color: var(--color-btn-primary-text); border-color: transparent }

/* Icon-friendly button layout */
.btn,
.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn svg,
.btn-sm svg {
  flex: 0 0 auto;
}

/* Profile card */
.profile-card {
  position: absolute;
  top: 54px;
  right: 12px;
  width: 300px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #d9e0e7;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  z-index: 300;
  overflow: hidden;
  animation: slideDown 0.2s ease-out;
}

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

.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f3f4f6;
  position: relative;
  border-bottom: 1px solid #e5e7eb;
}

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

.profile-name-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
}

.profile-avatar-large {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7C3AED;
  font-weight: 700;
  font-size: 1rem;
  background: #e9d5ff;
  border: none;
}

.profile-email-text {
  font-size: 0.78rem;
  color: #6b7280;
}

.profile-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-menu {
  padding: 8px 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  width: 100%;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
}

.profile-menu-item-static {
  cursor: default;
}

.profile-menu-item-static:hover {
  background: transparent;
}

.profile-menu-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 110px;
}

.profile-theme-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--theme-switcher-border);
  background: var(--theme-switcher-bg);
  margin-left: auto;
}

.profile-theme-control .theme-switch-btn {
  height: 26px;
  width: 30px;
  min-width: 30px;
  padding: 0;
  font-size: 0.7rem;
}

.profile-menu-item:hover {
  background: var(--surface-3);
}

.profile-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 6px 0;
}

.profile-menu-item.logout {
  color: var(--text);
  padding: 10px 12px;
  margin: 0 8px 8px;
}

/* Profile page */
.profile-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 6px 24px;
}

.profile-breadcrumb {
  color: #6b7280;
  font-size: 0.85rem;
}

.profile-hero {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.profile-hero-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-hero-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--color-accent-lighter);
  color: var(--color-accent-primary);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.profile-hero-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.profile-hero-email {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 2px;
}

.profile-hero-meta {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  gap: 8px;
  align-items: center;
}

.profile-hero-stats {
  display: flex;
  gap: 24px;
}

.profile-stat {
  text-align: center;
}

.profile-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.profile-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 4px;
}

.profile-tabs {
  display: inline-flex;
  gap: 6px;
  background: var(--surface-3);
  border-radius: 12px;
  padding: 4px;
  width: -moz-fit-content;
  width: fit-content;
}

.profile-tab {
  border: none;
  background: transparent;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
}

.profile-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-panel {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px;
}

.profile-panel-title {
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.profile-panel-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.profile-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 4px;
  border-top: 1px solid var(--border-subtle);
}

.profile-row:first-child {
  border-top: none;
}

.profile-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}

.profile-row-label {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
  text-transform: uppercase;
}

.profile-row-value {
  color: var(--text);
  font-size: 0.95rem;
  margin-top: 2px;
}

.profile-badge {
  background: var(--color-accent-light);
  color: var(--color-accent-primary);
  font-size: 0.65rem;
  border-radius: 6px;
  padding: 2px 6px;
  margin-left: 8px;
  font-weight: 600;
}

.profile-panel-note {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.profile-error {
  color: #b42318;
  background: #fff5f4;
  border: 1px solid #fecdca;
  border-radius: 8px;
  padding: 10px 12px;
}

.profile-security-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
}

.profile-security-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
}

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

.profile-security-copy {
  display: grid;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.profile-security-copy strong { color: var(--text); font-size: 1rem; font-weight: 800; letter-spacing: 0.01em; }
.profile-security-copy span { color: var(--text-muted); font-size: 0.8rem; }
.profile-security-status { color: var(--text-muted); font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.profile-security-action { border: 0; border-radius: 8px; padding: 8px 12px; background: #f3e8ff; color: #7c3aed; font-size: 0.78rem; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background 0.15s ease; }
.profile-security-action:hover:not(:disabled) { background: #ede9fe; color: #6d28d9; }
.profile-security-action:disabled { opacity: 0.7; cursor: not-allowed; }
.profile-permission-list { display: grid; gap: 0; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 10px; background: #ffffff; }
.profile-permission-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-bottom: 1px solid #e2e8f0; }
.profile-permission-row:last-child { border-bottom: 0; }
.profile-permission-icon { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: #f1f5f9; color: #64748b; }
.profile-permission-name { color: #0f172a; font-size: 0.82rem; }
.profile-permission-access { color: #64748b; font-size: 0.75rem; white-space: nowrap; }

.dark .profile-permission-list,
.dark .profile-panel,
.dark .profile-security-list {
  background: #141414 !important;
  background-color: #141414 !important;
  border: none !important;
  outline: none !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.dark .profile-security-row {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid #27272a !important;
  border-radius: 0 !important;
  color: #ffffff !important;
}

.dark .profile-security-row:last-child {
  border-bottom: none !important;
}

.dark .profile-permission-row {
  border-bottom: 1px solid #27272a !important;
  color: #ffffff !important;
}

.dark .profile-permission-row:last-child {
  border-bottom: none !important;
}

.dark .profile-permission-icon {
  background-color: #241838 !important;
  color: #8b5cf6 !important;
}

.dark .profile-permission-name,
.dark .profile-permission-section h3,
.dark .profile-permissions-summary {
  color: #ffffff !important;
}

.dark .profile-permission-access {
  color: #a1a1aa !important;
}

@media (max-width: 900px) {
  .profile-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.header-left {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: unset;
}


.logo {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: #000000;
  white-space: nowrap;
}

.header-search {
  flex: 1 1 auto;
  max-width: none;
  position: relative;
  display: flex;
  justify-content: center;
}

.search-input {
  width: min(900px, 100%);
  padding: 10px 16px 10px 40px;
  border: 1px solid rgba(16,24,32,0.06);
  border-radius: 28px;
  background: #ffffff;
  color: #2c3e50;
  font-size: 0.95rem;
  transition: all 0.15s ease-in-out;
}

.search-input::-moz-placeholder {
  color: rgba(16,24,32,0.45);
}

.search-input::placeholder {
  color: rgba(16,24,32,0.45);
}

.search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: rgba(16,24,32,0.12);
  box-shadow: 0 6px 18px rgba(16,24,32,0.06);
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
}

.header-right {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 0 0 auto;
  min-width: unset;
  justify-content: flex-end;
}

.header-icons {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  background: transparent;
  border: none;
  color: #55616a;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.12s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: rgba(16,24,32,0.04);
  transform: translateY(-1px);
}

.header-time {
  font-size: 0.85rem;
  color: #1f2937;
  font-weight: 600;
  min-width: 120px;
  text-align: center;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(16,24,32,0.06);
  box-shadow: 0 2px 6px rgba(16,24,32,0.04);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 6px 12px;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(16,24,32,0.06);
  box-shadow: 0 2px 6px rgba(16,24,32,0.04);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-user:hover {
  background: #f9fafb;
  border-color: rgba(16,24,32,0.12);
  box-shadow: 0 4px 12px rgba(16,24,32,0.08);
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0b1220; /* dark/near-black profile text to align with header */
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff; /* white initial */
  font-weight: 700;
  font-size: 0.8rem;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e72 100%);
  box-shadow: 0 4px 10px rgba(255, 107, 107, 0.16);
  border: 2px solid rgba(255,255,255,0.12);
}

/* Main Layout */
.app-body {
  flex: 1;
  gap: 0;
  padding: 0;
  margin-left: 80px;
  margin-top: 105px;
  width: calc(100% - 80px);
  min-height: calc(100vh - 115px);
}

/* Main Content */
.main-content {
  background-color: #f8fafd;
}

/* Sidebar */
.sidebar {
  width: 80px;
  background: #f8f9fa;
  border-radius: 0;
  padding: 0;
  border-right: 1px solid #e5e7eb;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.04);
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 101;
  overflow: hidden;
}

.sidebar-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid #e5e7eb;
  height: 60px;
  background: #f8f9fa;
  flex-shrink: 0;
  position: relative;
  top: 0;
  left: 0;
}

.hamburger-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #2c3e50;
  padding: 0;
  transition: transform 0.2s;
  height: 48px;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-btn:hover {
  transform: scale(1.1);
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.3rem;
  align-items: center;
}

.nav-item {
  background: none;
  border: none;
  padding: 0;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  color: #2c3e50;
  font-size: 0.65rem;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 60px;
  height: 60px;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-icon {
  font-size: 1.5rem;
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
}

.nav-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60px;
  font-size: 0.6rem;
}

.nav-item:hover {
  background-color: rgba(0, 102, 204, 0.08);
  border-color: rgba(0, 102, 204, 0.2);
}

.nav-item:hover .nav-icon {
  transform: scale(1.15);
}

.nav-item.active {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(0, 102, 204, 0.08) 100%);
  color: #0066cc;
  border-color: #0066cc;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .app-body {
    gap: 0.75rem;
    padding: 0.75rem;
    margin-left: 80px;
  }

  .sidebar {
    width: 80px;
  }

  .nav-item {
    padding: 10px 6px;
  }

  .nav-icon {
    font-size: 1.5rem;
  }

  .nav-label {
    font-size: 0.6rem;
  }
}

@media (max-width: 768px) {
  .app-body {
    flex-direction: column;
    margin-left: 0;
    margin-top: 120px;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    border-radius: 10px;
    margin-top: 1rem;
  }

  .sidebar-header {
    border: none;
    order: -1;
  }

  .nav-menu {
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .nav-item {
    min-width: 100px;
  }

  .header-content {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .logo {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .app-header {
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .header-left {
    min-width: auto;
  }

  .header-search {
    max-width: 100%;
  }

  .header-right {
    min-width: auto;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }

  .header-time {
    min-width: auto;
    font-size: 0.75rem;
  }

  .logo {
    font-size: 1rem;
  }

  .sidebar {
    padding: 0.75rem;
  }

  .nav-item {
    padding: 8px 10px;
    font-size: 0.7rem;
    min-width: 80px;
  }

  .nav-icon {
    font-size: 1.25rem;
  }

  .main-content {
    min-height: auto;
  }
}

/* ============================================
   TECHDESK UI OVERRIDES
   ============================================ */

html, body, #root {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Text', 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
}

.app {
  --sidebar-width: 220px;
  --sidebar-collapsed-width: 78px;
  /* Pilot-style tokens */
  --brand-blue: var(--color-accent-primary);
  --brand-blue-light: rgba(124, 58, 237, 0.10);
  --brand-blue-border: rgba(124, 58, 237, 0.22);
  --surface: var(--color-bg-primary);
  --surface-2: var(--color-bg-secondary);
  --surface-3: var(--color-bg-tertiary);
  --border-subtle: var(--color-border-default);
  --text: var(--color-text-primary);
  --text-muted: var(--color-text-secondary);
  --theme-switcher-bg: #ffffff;
  --theme-switcher-border: rgba(15, 23, 42, 0.1);
  --theme-switcher-icon: #111827;
  --theme-switcher-icon-muted: #6b7280;
  background: var(--surface-2);
}

.app.sidebar-collapsed {
  --sidebar-width: var(--sidebar-collapsed-width);
}

.app-header {
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
}

.breadcrumb-bar {
  left: var(--sidebar-width);
  right: 0;
  top: 72px;
  height: 38px;
  min-height: 38px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.breadcrumb {
  padding: 0;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb-link {
  color: #64748b;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.15s ease;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

.breadcrumb-current {
  color: #0f172a;
  font-weight: 600;
}

.breadcrumb-sep {
  color: #94a3b8;
  font-size: 0.85rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  margin: 0 1px;
}

.dark .breadcrumb-link {
  color: #94a3b8;
}

.dark .breadcrumb-link:hover {
  color: #60a5fa;
}

.dark .breadcrumb-current {
  color: #f8fafc;
}

.dark .breadcrumb-sep {
  color: #64748b;
}

/* Standardized Work Area Header Cards (Dashboard, Units, Players, Assets, etc.) */
.player-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 20px;
}

.header-title-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.header-title-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.player-main-header h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.player-main-header p {
  margin: 0.25rem 0 0 0;
  font-size: 0.875rem;
  color: #64748b;
}

.dark .player-main-header h1 {
  color: #f8fafc;
}

.dark .player-main-header p {
  color: #94a3b8;
}

.app-body {
  display: block;
  margin-left: 0;
  margin-top: 110px;
  width: 100%;
  min-height: calc(100vh - 110px);
  background: transparent;
}

.app-body.no-breadcrumbs {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
}

.header-left {
  gap: 0.75rem;
  min-width: unset;
  flex: 0 0 auto;
}

.header-menu-btn {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 6px;
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}

.brand-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  border-radius: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: transparent;
  border: none;
  display: grid;
  place-items: center;
}

.brand-logo-img {
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 6px;
  background: transparent;
  border: none;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.brand-icon-img {
  width: 18px;
  height: 18px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  font-weight: 700;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--text);
}

.header-search {
  max-width: none;
  flex: 1 1 auto;
  width: 100%;
  margin: 0 1.5rem;
  display: flex;
  justify-content: center;
}

.search-input {
  width: min(900px, 100%);
  border-radius: 14px;
  padding: 10px 60px 10px 52px;
  background: var(--surface-3);
  border: 1px solid var(--border-subtle);
  box-shadow: none;
  height: 42px;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

.search-input::-moz-placeholder {
  color: var(--text-muted);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: rgba(11, 94, 215, 0.4);
  box-shadow: 0 6px 16px rgba(11, 94, 215, 0.15);
}

.search-icon {
  font-weight: 700;
  font-size: 0.75rem;
  background: #ffffff;
  color: #94a3b8;
  border-radius: 10px;
  padding: 6px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e7eb;
  left: 16px;
}

.search-hint {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: #6b7280;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d7dbe2;
}

.header-right {
  min-width: unset;
  flex: 0 0 auto;
  gap: 1rem;
  flex-wrap: nowrap;
}

.theme-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--theme-switcher-border);
  background: var(--theme-switcher-bg);
}

.theme-switch-btn {
  height: 28px;
  min-width: 58px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--theme-switcher-icon-muted);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.theme-switch-icon {
  width: 14px;
  height: 14px;
}

.theme-switch-btn.is-active {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(124, 58, 237, 0.35);
  color: var(--theme-switcher-icon);
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue);
  display: grid;
  place-items: center;
}

.icon-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: transparent;
}

.header-badge {
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  color: var(--brand-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.header-time {
  min-height: 36px;
  font-size: 0.75rem;
  background: var(--surface);
}

.header-user {
  min-height: 36px;
  background: var(--surface);
  border-radius: 999px;
}

.app-body .main-content {
  background: transparent;
  padding: 1.5rem 1rem 1.5rem 1rem;
  min-width: 0;
  margin-left: var(--sidebar-width);
  margin-right: 0;
}

.sidebar {
  width: var(--sidebar-width);
  align-items: stretch;
  padding: 0;
  background: #f8f9fa;
  border-right: 1px solid #e5e7eb;
  box-shadow: none;
  position: fixed;
  top: 72px;
  left: 0;
  height: calc(100vh - 72px);
  overflow-y: auto;
  z-index: 90;
}

.sidebar-header {
  display: none;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sidebar-brand-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--brand-blue);
}

.hamburger-btn {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  padding: 6px;
  color: var(--brand-blue);
  display: grid;
  place-items: center;
}

.sidebar-search {
  padding: 0 1.25rem 0.75rem 1.25rem;
}

.sidebar-search input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  background: var(--surface-3);
  color: var(--text);
}

.sidebar-search input::-moz-placeholder {
  color: var(--text-muted);
}

.sidebar-search input::placeholder {
  color: var(--text-muted);
}

.nav-menu {
  align-items: stretch;
  padding: 0 1.25rem;
  gap: 0.5rem;
}

.nav-section {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-section-title {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0.25rem 0 0.15rem;
  font-weight: 700;
}

.nav-section-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item {
  height: 38px;
  flex-direction: row;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 6px 12px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid transparent;
}

.nav-icon {
  min-height: auto;
  width: 20px;
  height: 20px;
  border-radius: 0;
  background: transparent;
  color: var(--brand-blue);
  display: block;
  padding: 0;
}

.nav-label {
  font-size: 0.85rem;
  max-width: none;
}

.nav-chevron {
  margin-left: auto;
  font-size: 0.75rem;
  color: #94a3b8;
}

.nav-item:hover {
  background: var(--brand-blue-light);
  color: var(--text);
}

.nav-item:hover .nav-icon {
  color: var(--brand-blue);
}

.nav-item.active {
  background: var(--brand-blue);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.18);
}

.nav-item.active .nav-icon {
  color: #ffffff;
}

.nav-item.active .nav-chevron {
  color: rgba(255, 255, 255, 0.7);
}

.sidebar-footer {
  margin-top: auto;
  padding: 1rem 1.25rem 1.5rem 1.25rem;
  font-size: 0.7rem;
  color: #94a3b8;
}

.sidebar-collapsed .sidebar {
  width: var(--sidebar-collapsed-width);
}

.sidebar-collapsed .sidebar-search,
.sidebar-collapsed .sidebar-brand-text,
.sidebar-collapsed .nav-label,
.sidebar-collapsed .nav-chevron,
.sidebar-collapsed .sidebar-footer {
  display: none;
}

.sidebar-collapsed .nav-menu {
  padding: 0.75rem 0.5rem;
  gap: 0.4rem;
}

.sidebar-collapsed .nav-item {
  justify-content: center;
  padding: 0;
  width: 52px;
  height: 52px;
  margin: 0 auto;
}

.sidebar-collapsed .nav-section-title {
  display: none;
}

.sidebar-collapsed .nav-section {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sidebar-collapsed .nav-section:last-child {
  border-bottom: none;
}

.sidebar-collapsed .nav-section-items {
  gap: 0.55rem;
}

.sidebar-collapsed .nav-item {
  background: #eef3ff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.sidebar-collapsed .nav-item.active {
  background: #dbe8ff;
  border-color: rgba(11, 94, 215, 0.45);
  box-shadow: 0 6px 14px rgba(11, 94, 215, 0.15);
}

.sidebar-collapsed .nav-item:hover {
  background: #e4ecff;
  border-color: rgba(11, 94, 215, 0.2);
}

.sidebar-collapsed .nav-icon {
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 auto;
  transition: color 0.15s ease;
}

.sidebar-collapsed .nav-item.active .nav-icon {
  background: transparent;
  color: #0b5ed7;
}

.sidebar-collapsed .nav-item:hover .nav-icon {
  background: transparent;
}


.icon-sm {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.brand-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-blue);
}

/* ============================================
   GLOBAL UI POLISH (ALL PAGES)
   ============================================ */

:root {
  --ui-surface: #ffffff;
  --ui-muted: #f3f4f6;
  --ui-border: #e5e7eb;
  --ui-text: #0f172a;
  --ui-subtext: #64748b;
  --ui-radius: 14px;
}

.main-content {
  color: var(--ui-text);
}

/* Generic cards/panels */
.card,
.panel,
.box,
.section,
/* Match *-card tokens, but avoid *-card-* sub-elements (e.g. port-card-head) */
[class*="-card "],
[class$="-card"],
[class*="-panel "],
[class$="-panel"],
[class*="-box "],
[class$="-box"],
[class*="-section "],
[class$="-section"] {
  border-radius: var(--ui-radius);
  border: 1px solid var(--ui-border);
}

/* Tables */
table {
  border-collapse: collapse;
}

thead th {
  font-weight: 600;
  color: var(--ui-subtext);
}

tbody td {
  color: var(--ui-text);
}

/* Inputs */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
select,
textarea {
  border-radius: 12px;
  border: 1px solid var(--ui-border);
  background: #f8fafc;
  color: var(--ui-text);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

/* Buttons */
button,
.btn {
  border-radius: 12px;
  border: none;
}

button:hover,
.btn:hover {
  box-shadow: none;
}
.btn-outline {
  background: transparent;
  color: #7C3AED;
  border: 2px solid #7C3AED;
}

.btn-outline:hover {
  background: #f3e8ff;
  color: #6D28D9;
  border-color: #6D28D9;
}

.btn-primary {
  background: #7C3AED;
  color: #ffffff;
  border: 2px solid #7C3AED;
}

.btn-primary:hover {
  background: #6D28D9;
  border-color: #6D28D9;
}

/* BADGES */
.badge,
.pill,
[class*="badge"],
[class*="pill"] {
  border-radius: 999px;
}



@media (max-width: 1200px) {
  .app-header {
    right: 0;
  }
  .breadcrumb-bar {
    right: 0;
  }
  .app-body {
    grid-template-columns: var(--sidebar-width) 1fr;
  }
  .right-panel {
    display: none;
  }
}

@media (max-width: 900px) {
  .app-header {
    flex-wrap: wrap;
    height: auto;
    padding: 0.75rem 1rem;
  }
  .header-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .header-search {
    order: 3;
    width: 100%;
    max-width: none;
  }
}


/* ===== Borderless sidebar/header (match sample) ===== */
.sidebar,
.breadcrumb-bar,
.app-header,
.sidebar-search input,
.nav-item,
.nav-section,
.sidebar-collapsed .nav-item,
.sidebar-collapsed .nav-section {
  border: none !important;
  box-shadow: none !important;
}

.nav-section { border-bottom: none !important; }

.sidebar-collapsed .nav-item,
.sidebar-collapsed .nav-item.active,
.sidebar-collapsed .nav-item:hover {
  border: none !important;
  box-shadow: none !important;
}

.nav-item.active {
  border: none !important;
}

/* ===== Sidebar clean items ===== */
.nav-item {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

.nav-item.active {
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35) !important;
}

.nav-section-title {
  background: transparent !important;
}

.nav-section-items {
  background: transparent !important;
}

.nav-beta-badge {
  display: none !important;
}


.icon-btn-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--color-accent-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  border: 2px solid var(--surface);
}

.header-popover {
  position: absolute;
  top: 52px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border: 1px solid #d9e0e7;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  z-index: 320;
  overflow: hidden;
}

.header-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f3;
}

.header-popover-title {
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.header-popover-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: #64748b;
}

.notification-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf0f3;
  background: #ffffff;
}

.notification-tab {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d9e0e7;
  border-radius: 8px;
  background: #ffffff;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-tab:hover {
  border-color: #0f9f8f;
  color: #087f73;
}

.notification-tab.active {
  border-color: #0f9f8f;
  background: #0f9f8f;
  color: #ffffff;
}

.header-popover-body {
  padding: 10px 12px 12px;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.quick-access-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid #d9e0e7;
  border-radius: 8px;
  background: #ffffff;
  color: #344054;
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.quick-access-tile:hover {
  border-color: #0f9f8f;
  background: #f2fbf9;
  color: #087f73;
  box-shadow: 0 3px 10px rgba(15, 159, 143, 0.12);
}

.quick-access-tile span {
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 850;
}

.quick-access-icon {
  color: #0f9f8f;
  display: inline-flex;
  align-items: center;
  border: none;
}

.quick-access-tile em {
  position: absolute;
  top: -7px;
  right: -6px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #0f9f8f;
  color: #ffffff;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
}

.mini-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  margin-bottom: 10px;
}

.mini-form input {
  height: 36px;
  border-radius: 8px;
  border: 1px solid #d9e0e7;
  padding: 0 12px;
  font-size: 0.85rem;
  background: #ffffff;
  color: #1f2937;
  transition: all 0.2s ease;
}

.mini-form input:focus {
  outline: none;
  border-color: #0f9f8f;
  box-shadow: 0 0 0 3px rgba(15, 159, 143, 0.12);
}

.mini-form button {
  height: 36px;
  border-radius: 8px;
  border: 1px solid #0f9f8f;
  background: #0f9f8f;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  padding: 0 16px;
  transition: all 0.2s ease;
}

.mini-form button:hover {
  background: #087f73;
  border-color: #087f73;
  box-shadow: 0 4px 12px rgba(15, 159, 143, 0.2);
}

.header-list {
  max-height: 320px;
  overflow: auto;
}

.header-empty {
  padding: 14px 12px;
  color: var(--text-muted);
  font-weight: 700;
  text-align: center;
}

.header-item {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px 6px;
  border-radius: 12px;
}

.header-item.unread {
  background: var(--color-accent-lighter);
  border: 1px solid var(--color-accent-light);
}

.header-item-main {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
  border: 0;
  background: transparent;
  padding: 6px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
}

.header-item-main:hover {
  background: rgba(15, 23, 42, 0.04);
}

.header-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.header-item-title {
  font-weight: 900;
  color: var(--text);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-item-sub {
  color: #64748b;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-item-action {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(16,24,32,0.10);
  background: #ffffff;
  cursor: pointer;
  color: #64748b;
  flex: none;
}

.sev-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 4px;
  flex: none;
}

.sev-info { background: #3b82f6; }
.sev-success { background: #22c55e; }
.sev-warning { background: #f59e0b; }
.sev-error { background: #ef4444; }

.todo-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
  padding: 6px;
}

.todo-row input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
}

.todo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
}

.header-icons .icon-btn {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.icon-btn:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.icon-btn.active,
.icon-btn:active {
  background: #e7f0ff;
  border-color: #c7dcff;
}

.header-badge {
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--datra-border);
  background: var(--datra-panel);
  color: var(--datra-text);
  font-weight: 800;
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-user {
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--datra-border);
  background: var(--datra-panel);
  padding: 4px 10px;
  gap: 10px;
  align-items: center;
  display: flex;
}

.user-name {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.85rem;
}

.user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.user-email {
  font-size: 0.7rem;
  color: #6b7280;
}

.user-avatar {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
  box-shadow: none;
  border: 2px solid #e2e8f0;
}

.user-chevron {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Breadcrumb bar */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px;
  min-height: 52px;
  background: #f8fafd;
  border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-left {
  display: flex;
  align-items: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #6b7280;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.breadcrumb-sep {
  color: #cbd5f5;
}

.breadcrumb-right {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-left: auto;
}

.breadcrumb-actions-slot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.breadcrumb-refresh-btn {
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: #f3f4f6;
  border-radius: 10px;
  height: 34px;
  padding: 0 12px;
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.breadcrumb-refresh-btn:hover {
  background: #e5e7eb;
}

.app-body {
  margin-top: 110px;
  min-height: calc(100vh - 110px);
  display: flex;
  flex: 1;
}

.app-body.no-breadcrumbs {
  margin-top: 72px;
  min-height: calc(100vh - 72px);
}

.app-body .main-content {
  padding: 30px 16px 36px 16px;
  margin-left: var(--sidebar-width);
  margin-right: 0;
  background: transparent;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 110px);
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  top: 60px;
  height: calc(100vh - 60px);
  background: #f8fafc;
  border-right: none;
  padding: 14px 12px;
  box-shadow: none;
  overflow-x: hidden;
}

.sidebar-search {
  display: block;
  margin-bottom: 12px;
}

.sidebar-search input {
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 0.8rem;
  padding: 0 12px;
  color: #111827;
}

.nav-menu {
  padding: 0;
  gap: 10px;
}

.nav-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 4px 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 700;
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.nav-section-title::after {
  content: "⌄";
  font-size: 0.85rem;
  line-height: 1;
  color: #cbd5e1;
  transition: transform 0.15s ease, color 0.15s ease;
}

.nav-section-title[aria-expanded='false']::after {
  transform: rotate(-90deg);
  color: #d1d5db;
}

.nav-section-title:focus,
.nav-section-title:focus-visible {
  outline: none;
}

.nav-section-title:hover::after {
  color: #94a3b8;
}

.nav-section[data-collapsed='true'] .nav-section-items {
  display: none;
}

.nav-section-items {
  gap: 2px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.sidebar,
aside.sidebar,
.dark .sidebar,
.app .sidebar {
  background: #060b18 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #94a3b8 !important;
}

.sidebar .nav-section-title,
.dark .sidebar .nav-section-title {
  color: #475569 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.nav-item,
.sidebar .nav-item,
.sidebar .nav-item:visited,
.dark .sidebar .nav-item,
.dark .sidebar .nav-item:visited {
  height: 42px !important;
  width: 100%;
  border-radius: 10px !important;
  padding: 0 12px !important;
  gap: 12px !important;
  color: #94a3b8 !important;
  background: transparent !important;
  border: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  position: relative;
  cursor: pointer;
  text-decoration: none !important;
  outline: none !important;
  transition: all 0.15s ease !important;
}

.nav-icon,
.sidebar .nav-icon,
.dark .sidebar .nav-icon {
  width: 18px !important;
  height: 18px !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nav-label,
.sidebar .nav-label,
.dark .sidebar .nav-label {
  color: #94a3b8 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

.nav-chevron {
  display: none !important;
}

.nav-item:hover,
.sidebar .nav-item:hover,
.dark .sidebar .nav-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
}

.nav-item:hover .nav-icon,
.nav-item:hover .nav-label,
.sidebar .nav-item:hover .nav-icon,
.sidebar .nav-item:hover .nav-label,
.dark .sidebar .nav-item:hover .nav-icon,
.dark .sidebar .nav-item:hover .nav-label {
  color: #ffffff !important;
}

.sidebar .nav-item:focus,
.sidebar .nav-item:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Active Nav Item - Deep Indigo/Violet Pill matching sample image */
.nav-item.active,
.sidebar .nav-item.active,
.dark .sidebar .nav-item.active,
.dark .nav-item.active {
  background: #2e2d6b !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(46, 45, 107, 0.45) !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
}

.nav-item.active::before,
.dark .nav-item.active::before {
  display: none !important;
}

.nav-item.active .nav-icon,
.nav-item.active .nav-label,
.sidebar .nav-item.active .nav-icon,
.sidebar .nav-item.active .nav-label,
.dark .sidebar .nav-item.active .nav-icon,
.dark .sidebar .nav-item.active .nav-label {
  color: #ffffff !important;
}

/* Quick Links Card in Sidebar */
.sidebar-quick-links {
  margin: 16px 12px 12px 12px;
  padding: 12px 14px;
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-quick-links-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 2px;
}

.quick-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-size: 0.78rem;
  color: #cbd5e1;
  transition: color 0.15s ease;
}

.quick-link-row:hover {
  color: #ffffff;
}

.quick-link-badge {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  background: #1e293b;
  color: #94a3b8;
}

.quick-link-badge.online {
  background: #065f46;
  color: #34d399;
}

.quick-link-badge.alert {
  background: #dc2626;
  color: #ffffff;
  font-weight: 700;
}

.sidebar-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #475569 !important;
  padding: 12px 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto;
}

.sidebar-version {
  color: #475569;
  font-size: 0.75rem;
  font-weight: 500;
}

.sidebar-collapse-toggle-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #0d1527;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sidebar-collapse-toggle-btn:hover {
  background: #1e293b;
  color: #ffffff;
}


.app.sidebar-collapsed {
  --sidebar-width: var(--sidebar-collapsed-width);
}

.app.sidebar-collapsed .sidebar {
  padding: 12px 6px;
}

.app.sidebar-collapsed .sidebar-search,
.app.sidebar-collapsed .sidebar-brand-text,
.app.sidebar-collapsed .nav-label,
.app.sidebar-collapsed .nav-chevron,
.app.sidebar-collapsed .nav-section-title,
.app.sidebar-collapsed .sidebar-footer {
  display: none;
}

.app.sidebar-collapsed .nav-menu {
  padding: 0;
  gap: 0.85rem;
}

.app.sidebar-collapsed .nav-section-items {
  gap: 0.85rem;
  align-items: center;
}

.app.sidebar-collapsed .nav-item {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px !important;
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.app.sidebar-collapsed .nav-item.active::before {
  display: none;
}

/* ============================================
   RESPONSIVE POLISH (TABLET + MOBILE)
   ============================================ */

.sidebar-backdrop {
  position: fixed;
  left: 0;
  right: 0;
  top: 60px;
  height: calc(100vh - 60px);
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 80;
}

@media (max-width: 1024px) {
  .app {
    --sidebar-width: 200px;
    --sidebar-collapsed-width: 56px;
  }

  .app-header {
    height: 56px;
    padding: 0 12px;
    gap: 0.6rem;
  }

  .header-left {
    min-width: 160px;
  }

  .logo {
    font-size: 0.98rem;
  }

  .header-search {
    max-width: 520px;
    min-width: 220px;
    margin: 0 0.5rem;
  }

  .search-input {
    height: 36px;
    font-size: 0.85rem;
    padding: 0 84px 0 42px;
  }

  .header-right {
    min-width: auto;
    gap: 0.5rem;
  }

  .header-badge {
    height: 32px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    padding: 0 10px;
  }

  .header-user {
    padding: 4px 8px;
    gap: 8px;
  }

  .user-name {
    font-size: 0.8rem;
  }

  .user-email {
    display: none;
  }

  .breadcrumb-bar {
    top: 56px;
    min-height: 44px;
    padding: 10px 12px;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  .breadcrumb-refresh-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .app-body {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
  }

  .app-body .main-content {
    margin-left: var(--sidebar-width);
    padding: 10px 14px 20px;
  }

  .sidebar {
    top: 56px;
    height: calc(100vh - 56px);
    padding: 12px 10px;
  }

  .nav-item {
    height: 38px;
  }
}

@media (max-width: 900px) {
  .app {
    --sidebar-width: 240px;
    --sidebar-collapsed-width: 240px;
  }

  .header-left {
    min-width: 0;
  }

  .brand-card .logo { display: none; }

  .header-search {
    max-width: 420px;
    min-width: 180px;
  }

  .header-right { gap: 0.35rem; }

  .header-badge {
    display: none;
  }

  .header-user {
    padding: 2px 6px;
  }

  .user-meta,
  .user-chevron {
    display: none;
  }

  .breadcrumb-bar {
    padding: 8px 10px;
    left: 0;
  }

  .breadcrumb-refresh-btn {
    padding: 6px 8px;
    gap: 6px;
  }

  .app-body .main-content {
    margin-left: 0;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 60px;
    height: calc(100vh - 60px);
    width: var(--sidebar-width);
    padding: 12px 12px 16px;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
    z-index: 90;
  }

  .sidebar-backdrop {
    top: 56px;
    height: calc(100vh - 56px);
  }

  .app.mobile-sidebar-open .sidebar {
    transform: translateX(0);
  }

  .app.mobile-sidebar-open .sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .header-search {
    display: none;
  }

  .breadcrumb-item:first-child {
    display: none;
  }

  .breadcrumb-refresh-btn {
    font-size: 0;
    padding: 6px;
  }

  .breadcrumb-refresh-btn .icon-sm {
    width: 16px;
    height: 16px;
  }

  .app-body {
    margin-top: 96px;
    min-height: calc(100vh - 96px);
  }

  .app-body .main-content {
    padding: 10px 12px 18px;
  }
}

.system-update-notice {
  position: fixed;
  top: 84px;
  right: 18px;
  z-index: 420;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(620px, calc(100vw - var(--sidebar-width) - 36px));
  padding: 14px 16px;
  border: 1px solid rgba(15, 159, 143, 0.24);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.system-update-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.system-update-title {
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
}

.system-update-message {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.35;
}

.system-update-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.system-update-btn {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d9e0e7;
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
}

.system-update-btn.primary {
  border-color: #0f9f8f;
  background: #0f9f8f;
  color: #ffffff;
}

.system-update-btn:hover {
  border-color: #0f9f8f;
  color: #087f73;
  box-shadow: 0 4px 12px rgba(15, 159, 143, 0.16);
}

.system-update-btn.primary:hover {
  background: #087f73;
  border-color: #087f73;
  color: #ffffff;
}

.dark .system-update-notice {
  background: #18181b;
  border-color: rgba(20, 184, 166, 0.32);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.dark .system-update-title {
  color: #ffffff;
}

.dark .system-update-message {
  color: #a1a1aa;
}

.dark .system-update-btn {
  background: #27272a;
  border-color: #3f3f46;
  color: #f4f4f5;
}

.dark .system-update-btn.primary {
  background: #0f9f8f;
  border-color: #0f9f8f;
  color: #ffffff;
}

@media (max-width: 900px) {
  .system-update-notice {
    top: 64px;
    left: 12px;
    right: 12px;
    width: auto;
  }
}

@media (max-width: 640px) {
  .system-update-notice {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .system-update-actions {
    width: 100%;
  }

  .system-update-btn {
    flex: 1;
  }
}

/* ==========================================================================
   GLOBAL PRELOADER STYLES (MATCHING SAMPLE IMAGE DESIGN)
   ========================================================================== */
.datra-preloader,
.table-loading-state,
.loading-wrapper,
.preloader-container,
.office-metric-card .loading,
.health-monitoring-loading {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  padding: 40px 20px !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

.datra-preloader-full {
  min-height: 320px;
  width: 100%;
}

.datra-preloader-icon,
.spinner-purple,
.animate-spin {
  color: #8b5cf6 !important;
  flex-shrink: 0 !important;
}

.datra-preloader-text {
  color: #94a3b8 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.spinner,
.btn-spinner .spinner {
  border-color: rgba(139, 92, 246, 0.25) !important;
  border-top-color: #8b5cf6 !important;
}

/* ==========================================================================
   UNIFIED HEADER BUTTONS & THIN OUTLINE STYLES
   ========================================================================== */
.header-actions-group .btn,
.header-actions-group button,
.player-main-header .btn,
.player-main-header button,
.admin-header .btn,
.admin-header button,
.btn-outline,
.btn-ghost,
.btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 38px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

.header-actions-group .btn:hover,
.header-actions-group button:hover,
.player-main-header .btn:hover,
.btn-outline:hover,
.btn-ghost:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) !important;
}

.header-actions-group .btn-primary,
.player-main-header .btn-primary,
.btn-primary,
.btn-add-office {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 38px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.header-actions-group .btn-primary:hover,
.player-main-header .btn-primary:hover,
.btn-primary:hover,
.btn-add-office:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08) !important;
}

.header-actions-group .btn:disabled,
.header-actions-group button:disabled,
.player-main-header .btn:disabled,
.player-main-header button:disabled,
.btn:disabled,
.btn-primary:disabled {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #64748b !important;
}

/* Dark mode header buttons */
.dark .header-actions-group .btn,
.dark .header-actions-group button,
.dark .player-main-header .btn,
.dark .btn-outline,
.dark .btn-primary {
  background: #18181d !important;
  border: 1px solid #3f3f46 !important;
  color: #f8fafc !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.dark .header-actions-group .btn:hover,
.dark .header-actions-group button:hover,
.dark .player-main-header .btn:hover {
  background: #27272a !important;
  border-color: #a1a1aa !important;
  color: #ffffff !important;
}

/* ==========================================================================
   DEFAULT GREY & WHITE CARD FILTER OPTION BUTTONS (MATCHING SAMPLE IMAGE)
   ========================================================================== */
.filter-tabs,
.office-tabs,
.units-tabs,
.filter-row .filter-tabs,
.admin-card-header .tabs,
.player-tabs {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: #f1f5f9 !important;
  padding: 4px 6px !important;
  border-radius: 12px !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.dark .filter-tabs,
.dark .office-tabs,
.dark .units-tabs,
.dark .filter-row .filter-tabs {
  background: #18181d !important;
  border-color: #262631 !important;
}

.tab,
.office-tab,
.filter-btn,
.units-tab,
button.tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: transparent !important;
  color: #64748b !important;
  border: 1px solid transparent !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.dark .tab,
.dark .office-tab,
.dark .filter-btn {
  color: #94a3b8 !important;
}

.tab:hover,
.office-tab:hover,
.filter-btn:hover {
  color: #0f172a !important;
  background: rgba(226, 232, 240, 0.6) !important;
}

.dark .tab:hover,
.dark .office-tab:hover,
.dark .filter-btn:hover {
  color: #f8fafc !important;
  background: #27272a !important;
}

/* Active Filter Tab: White Card Button with Thin Outline (as in Sample Image) */
.tab.active,
.office-tab.active,
.filter-btn.active,
button.tab.active {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06) !important;
}

.dark .tab.active,
.dark .office-tab.active,
.dark .filter-btn.active,
.dark button.tab.active {
  background: #27272a !important;
  color: #f8fafc !important;
  border: 1px solid #3f3f46 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) !important;
}

/* Active Tab Icons (Neutral Charcoal / Grey) */
.tab.active svg,
.tab.active .tab-icon,
.office-tab.active svg {
  color: #0f172a !important;
  stroke: #0f172a !important;
}

.dark .tab.active svg,
.dark .tab.active .tab-icon,
.dark .office-tab.active svg {
  color: #f8fafc !important;
  stroke: #f8fafc !important;
}

/* Inactive Count Badge Pill */
.count-badge,
.badge,
.tab .badge,
.office-tab .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1px 7px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  background: #e2e8f0 !important;
  color: #475569 !important;
}

.dark .count-badge,
.dark .badge {
  background: #27272a !important;
  color: #a1a1aa !important;
}

/* Active Count Badge Pill (Neutral Grey Style - NO GREEN/TEAL) */
.tab.active .count-badge,
.tab.active .badge,
.office-tab.active .badge,
.office-tab.active .count-badge {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
}

.dark .tab.active .count-badge,
.dark .tab.active .badge,
.dark .office-tab.active .badge,
.dark .office-tab.active .count-badge {
  background: #3f3f46 !important;
  color: #f8fafc !important;
  border: 1px solid #52525b !important;
}

/* ==========================================================================
   VIEW MODE SWITCHER & COMPACT LOW-SPACE DENSITY CARD LAYOUTS
   ========================================================================== */

/* View Mode Switcher Pill Control */
.view-mode-tabs {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 9px !important;
  padding: 2px !important;
}

.dark .view-mode-tabs {
  background: #18181d !important;
  border-color: #262631 !important;
}

.view-mode-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 7px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #64748b !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.dark .view-mode-btn {
  color: #94a3b8 !important;
}

.view-mode-btn:hover {
  color: #0f172a !important;
  background: #e2e8f0 !important;
}

.dark .view-mode-btn:hover {
  color: #f8fafc !important;
  background: #27272a !important;
}

.view-mode-btn.active {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.dark .view-mode-btn.active {
  background: #27272a !important;
  color: #f8fafc !important;
  border: 1px solid #3f3f46 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

/* 1. COMPACT ROWS VIEW (PROFESSIONAL LOW SPACE DENSITY) */
.card-list,
.card-list.view-rows,
.card-list.view-compact {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.card-list .list-card,
.card-list.view-rows .list-card,
.card-list.view-compact .list-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 8px 16px !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 280px) 1fr auto !important;
  align-items: center !important;
  gap: 16px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.15s ease !important;
}

.dark .card-list .list-card,
.dark .card-list.view-rows .list-card,
.dark .card-list.view-compact .list-card {
  background: #111115 !important;
  border-color: #262631 !important;
}

.card-list .list-card:hover,
.card-list.view-rows .list-card:hover,
.card-list.view-compact .list-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

.dark .card-list .list-card:hover,
.dark .card-list.view-rows .list-card:hover,
.dark .card-list.view-compact .list-card:hover {
  border-color: #3f3f46 !important;
}

.card-list .list-card-header,
.card-list.view-rows .list-card-header,
.card-list.view-compact .list-card-header {
  grid-column: 1 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

.card-list .list-title,
.card-list.view-rows .list-title,
.card-list.view-compact .list-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.card-list .list-card-body,
.card-list.view-rows .list-card-body,
.card-list.view-compact .list-card-body {
  grid-column: 2 !important;
  border-top: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: 0 !important;
}

.card-list .meta-row,
.card-list.view-rows .meta-row,
.card-list.view-compact .meta-row {
  display: grid !important;
  grid-template-columns: minmax(180px, 240px) minmax(140px, 180px) minmax(140px, 180px) !important;
  align-items: center !important;
  gap: 16px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #64748b !important;
  margin-top: 0 !important;
  width: 100% !important;
}

.dark .card-list .meta-row,
.dark .card-list.view-rows .meta-row,
.dark .card-list.view-compact .meta-row {
  color: #94a3b8 !important;
}

.card-list .list-actions,
.card-list.view-rows .list-actions,
.card-list.view-compact .list-actions {
  grid-column: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

/* Row Action Buttons inside Compact List Cards */
.row-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: 12px !important;
}

.row-actions .link-btn,
.row-actions .tenant-action-link,
.row-actions button {
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 3px 10px !important;
  height: 28px !important;
  border-radius: 6px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
}

.dark .row-actions .link-btn,
.dark .row-actions .tenant-action-link,
.dark .row-actions button {
  background: #18181d !important;
  border-color: #3f3f46 !important;
  color: #cbd5e1 !important;
}

.row-actions .link-btn:hover,
.row-actions .tenant-action-link:hover,
.row-actions button:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

.dark .row-actions .link-btn:hover,
.dark .row-actions .tenant-action-link:hover,
.dark .row-actions button:hover {
  background: #27272a !important;
  border-color: #a1a1aa !important;
  color: #ffffff !important;
}

.row-actions .link-btn.danger,
.row-actions .tenant-action-link.danger,
.row-actions button.danger {
  color: #ef4444 !important;
  border-color: #fecaca !important;
  background: #fff5f5 !important;
}

.row-actions .link-btn.danger:hover,
.row-actions .tenant-action-link.danger:hover,
.row-actions button.danger:hover {
  background: #fee2e2 !important;
  border-color: #f87171 !important;
  color: #dc2626 !important;
}

.dark .row-actions .link-btn.danger,
.dark .row-actions .tenant-action-link.danger,
.dark .row-actions button.danger {
  color: #f87171 !important;
  border-color: #7f1d1d !important;
  background: #2a1215 !important;
}

/* 2. GRID VIEW (RESPONSIVE CARDS) */
.card-list.view-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
  gap: 12px !important;
}

.card-list.view-grid .list-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: space-between !important;
  padding: 14px !important;
  border-radius: 12px !important;
  gap: 12px !important;
}

.card-list.view-grid .list-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.card-list.view-grid .list-card-body {
  border-top: 1px solid #f1f5f9 !important;
  padding-top: 10px !important;
  margin-top: 4px !important;
  width: 100% !important;
}

.dark .card-list.view-grid .list-card-body {
  border-top-color: #1e1e24 !important;
}

.card-list.view-grid .meta-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 6px !important;
}

/* ==========================================================================
   UNIFIED ENTERPRISE CARD & DIV CONTAINER STYLES (MATCHING PLAYER & OFFICE)
   ========================================================================== */

/* Universal Card & Panel Rule */
.card,
.admin-card,
.list-card,
.hero-card,
.job-card,
.system-card,
.sites-card,
.sites-map-shell,
.inventory-card,
.ticket-card,
.linkgen-hero,
.linkgen-options,
.linkgen-result,
.linkgen-table-card,
.unit-card,
.device-card,
.panel,
.dash-section,
.dash-section-activity,
.main-card,
.profile-panel,
.profile-card,
.settings-card,
.tenant-card,
.user-card,
.permission-card,
.audit-card,
.summary-card,
.metric-card,
.stat-card,
.office-metric-card,
.office-card,
.player-stat-card,
.table-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03) !important;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease !important;
}

/* Hover effect on interactive cards */
.office-card:hover,
.job-card:hover,
.list-card:hover,
.unit-card:hover,
.device-card:hover,
.tenant-card:hover,
.user-card:hover {
  border-color: #c4b5fd !important;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08) !important;
  transform: translateY(-2px) !important;
}

/* ==========================================================================
   PURE PITCH BLACK & CHARCOAL DARK MODE DESIGN SYSTEM
   ========================================================================== */

/* Global Dark Mode Base Body & Main Containers */
.dark,
.dark body,
.dark #root,
.dark .app,
.dark .app-main,
.dark .admin-page,
.dark .player-page-container,
.dark .units-page,
.dark .office-page,
[data-theme="dark"] body,
[data-theme="dark"] .app-main {
  background-color: #09090b !important;
  color: #f4f4f5 !important;
}

.dark .app-header,
.dark .breadcrumb-bar,
[data-theme="dark"] .app-header {
  background: #0f0f12 !important;
  border-bottom-color: #1e1e24 !important;
  color: #f4f4f5 !important;
}

/* Universal Dark Theme Overrides for All Cards & Div Containers (Charcoal & Dark Black) */
.dark .card,
.dark .admin-card,
.dark .list-card,
.dark .hero-card,
.dark .job-card,
.dark .system-card,
.dark .sites-card,
.dark .sites-map-shell,
.dark .inventory-card,
.dark .ticket-card,
.dark .linkgen-hero,
.dark .linkgen-options,
.dark .linkgen-result,
.dark .linkgen-table-card,
.dark .unit-card,
.dark .device-card,
.dark .panel,
.dark .dash-section,
.dark .dash-section-activity,
.dark .main-card,
.dark .profile-panel,
.dark .profile-card,
.dark .settings-card,
.dark .tenant-card,
.dark .user-card,
.dark .permission-card,
.dark .audit-card,
.dark .summary-card,
.dark .metric-card,
.dark .stat-card,
.dark .office-metric-card,
.dark .office-card,
.dark .player-stat-card,
.dark .table-card,
[data-theme="dark"] .card,
[data-theme="dark"] .list-card {
  background: #141417 !important;
  border: 1px solid #24242b !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
}

/* Card Hover Elevation in Dark Mode */
.dark .office-card:hover,
.dark .job-card:hover,
.dark .list-card:hover,
.dark .unit-card:hover,
.dark .device-card:hover,
.dark .tenant-card:hover,
.dark .user-card:hover,
[data-theme="dark"] .list-card:hover {
  background: #1c1c22 !important;
  border-color: #363642 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7) !important;
}

/* Stat & Metric Cards in Dark Mode */
.dark .stat,
.dark .hero-stats .stat,
.dark .office-metric-card,
.dark .player-stat-card,
[data-theme="dark"] .player-stat-card {
  background: #141417 !important;
  border: 1px solid #24242b !important;
  color: #ffffff !important;
}

.dark .player-stat-card .stat-label,
.dark .player-stat-card .stat-sub {
  color: #9ea0a6 !important;
}

.dark .player-stat-card .stat-value {
  color: #ffffff !important;
}

/* Card Headers & Bodies in Dark Mode */
.dark .card-header,
.dark .admin-card-header,
.dark .list-card-header,
.dark .office-card-header {
  background: #18181d !important;
  border-bottom: 1px solid #24242b !important;
}

/* Universal Data Tables in Dark Mode */
.dark thead,
.dark thead tr {
  background: #101014 !important;
}

.dark th {
  color: #9ea0a6 !important;
  border-bottom: 1px solid #222228 !important;
}

.dark td {
  color: #ffffff !important;
  border-bottom: 1px solid #1a1a20 !important;
}

.dark tbody tr:hover {
  background-color: #17171d !important;
}

/* Global Header Action Buttons in Dark Mode */
.dark .header-actions-group button,
.dark .player-main-header .btn,
.dark .btn-primary,
.dark .btn-outline,
.dark .btn-ghost,
.dark .btn-secondary,
.dark .btn-add-office,
[data-theme="dark"] .header-actions-group button,
[data-theme="dark"] .btn-outline {
  border: 1px solid #282830 !important;
  background: #18181e !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.dark .header-actions-group button:hover,
.dark .player-main-header .btn:hover,
.dark .btn-outline:hover,
.dark .btn-ghost:hover,
.dark .btn-secondary:hover,
.dark .btn-add-office:hover,
[data-theme="dark"] .header-actions-group button:hover,
[data-theme="dark"] .btn-outline:hover {
  background: #22222a !important;
  border-color: #3e3e4d !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

.dark .header-actions-group button:disabled,
.dark .btn:disabled {
  opacity: 0.45 !important;
  background: #121216 !important;
  border-color: #202026 !important;
  color: #64646c !important;
}

/* Filter Option Tabs & View Mode Switcher in Dark Mode */
.dark .filter-tabs,
.dark .view-mode-tabs,
[data-theme="dark"] .filter-tabs,
[data-theme="dark"] .view-mode-tabs {
  background: #0e0e11 !important;
  border: 1px solid #202025 !important;
}

.dark .tab,
.dark .office-tab,
.dark .view-mode-btn,
[data-theme="dark"] .tab,
[data-theme="dark"] .view-mode-btn {
  color: #9ea0a6 !important;
}

.dark .tab.active,
.dark .office-tab.active,
.dark .filter-btn.active,
.dark button.tab.active,
.dark .view-mode-btn.active,
[data-theme="dark"] .tab.active,
[data-theme="dark"] .view-mode-btn.active {
  background: #24242c !important;
  border: 1px solid #3c3c4a !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) !important;
}

.dark .tab.active .count-badge,
.dark .tab.active .badge,
.dark .office-tab.active .badge,
.dark .office-tab.active .count-badge,
[data-theme="dark"] .tab.active .count-badge {
  background: #181820 !important;
  color: #d1d5db !important;
  border: 1px solid #32323e !important;
}

.dark .tab:hover:not(.active),
.dark .view-mode-btn:hover:not(.active) {
  background: #1a1a20 !important;
  color: #ffffff !important;
}

/* Avatars in Dark Mode */
.dark .avatar,
[data-theme="dark"] .avatar {
  background: #24242c !important;
  border: 1px solid #3c3c4a !important;
  color: #ffffff !important;
}

/* Row Action Buttons in Dark Mode */
.dark .row-actions .link-btn,
.dark .row-actions .tenant-action-link,
.dark .row-actions button,
[data-theme="dark"] .row-actions button {
  background: #18181e !important;
  border: 1px solid #282830 !important;
  color: #d1d2d6 !important;
}

.dark .row-actions .link-btn:hover,
.dark .row-actions .tenant-action-link:hover,
.dark .row-actions button:hover,
[data-theme="dark"] .row-actions button:hover {
  background: #22222a !important;
  border-color: #3e3e4d !important;
  color: #ffffff !important;
}

.dark .row-actions .link-btn.danger,
.dark .row-actions .tenant-action-link.danger,
.dark .row-actions button.danger,
[data-theme="dark"] .row-actions button.danger {
  color: #f87171 !important;
  border: 1px solid rgba(248, 113, 113, 0.3) !important;
  background: rgba(239, 68, 68, 0.12) !important;
}

.dark .row-actions .link-btn.danger:hover,
.dark .row-actions .tenant-action-link.danger:hover,
.dark .row-actions button.danger:hover,
[data-theme="dark"] .row-actions button.danger:hover {
  background: rgba(239, 68, 68, 0.22) !important;
  border-color: #f87171 !important;
  color: #ffffff !important;
}

/* Status Pills in Dark Mode */
.dark .status-pill.success,
[data-theme="dark"] .status-pill.success {
  background: rgba(34, 197, 94, 0.12) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(74, 222, 128, 0.25) !important;
}

.dark .status-pill.danger,
[data-theme="dark"] .status-pill.danger {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #f87171 !important;
  border: 1px solid rgba(248, 113, 113, 0.25) !important;
}

.dark .status-pill.warning,
[data-theme="dark"] .status-pill.warning {
  background: rgba(245, 158, 11, 0.12) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(251, 191, 36, 0.25) !important;
}

/* Inputs, Selects & Search Boxes in Dark Mode */
.dark .input-icon,
.dark .filter-actions select,
.dark .modal input,
.dark .modal select,
[data-theme="dark"] .input-icon {
  background: #141418 !important;
  border: 1px solid #25252c !important;
  color: #ffffff !important;
}

.dark .input-icon input,
[data-theme="dark"] .input-icon input {
  color: #ffffff !important;
}

/* Dropdown Action Menus in Dark Mode */
.dark .menu,
[data-theme="dark"] .menu {
  background: #141418 !important;
  border: 1px solid #25252c !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
}

.dark .menu button,
[data-theme="dark"] .menu button {
  color: #d1d2d6 !important;
}

.dark .menu button:hover,
[data-theme="dark"] .menu button:hover {
  background: #22222a !important;
  color: #ffffff !important;
}

.dark .menu button.danger,
[data-theme="dark"] .menu button.danger {
  color: #f87171 !important;
}

.dark .menu button.danger:hover,
[data-theme="dark"] .menu button.danger:hover {
  background: rgba(239, 68, 68, 0.15) !important;
}

/* ==========================================================================
   DATRA MODERN ENTERPRISE DESIGN SYSTEM (MATCHING REFERENCE UI)
   ========================================================================== */

/* Left Panel / Sidebar - ALWAYS Deep Navy #0c1427 */
.sidebar,
aside.sidebar,
.dark .sidebar,
.app .sidebar,
.app.sidebar-collapsed .sidebar {
  background: #0c1427 !important;
  background-color: #0c1427 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

.sidebar-header,
.dark .sidebar-header,
.sidebar .sidebar-header {
  background: #0c1427 !important;
  background-color: #0c1427 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.nav-section-title,
.sidebar .nav-section-title,
.dark .sidebar .nav-section-title,
.dark .nav-section-title {
  color: #64748b !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 8px 12px 4px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.nav-section-title::after {
  color: #64748b !important;
}

.nav-item,
.sidebar .nav-item,
.sidebar .nav-item:visited,
.dark .sidebar .nav-item,
.dark .sidebar .nav-item:visited,
.dark .nav-item {
  height: 42px !important;
  border-radius: 8px !important;
  padding: 0 12px !important;
  gap: 12px !important;
  color: #94a3b8 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.15s ease !important;
}

.nav-item .nav-icon,
.sidebar .nav-icon,
.dark .sidebar .nav-icon {
  width: 18px !important;
  height: 18px !important;
  color: #94a3b8 !important;
  transition: color 0.15s ease !important;
}

.nav-item .nav-label,
.sidebar .nav-label,
.dark .sidebar .nav-label {
  color: #94a3b8 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  transition: color 0.15s ease !important;
}

.nav-item:hover,
.sidebar .nav-item:hover,
.dark .sidebar .nav-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

.nav-item:hover .nav-icon,
.nav-item:hover .nav-label,
.sidebar .nav-item:hover .nav-icon,
.sidebar .nav-item:hover .nav-label,
.dark .sidebar .nav-item:hover .nav-icon,
.dark .sidebar .nav-item:hover .nav-label {
  color: #ffffff !important;
}

/* Active Nav Item - Indigo/Violet Pill Matching Sample Image */
.nav-item.active,
.sidebar .nav-item.active,
.dark .sidebar .nav-item.active,
.dark .nav-item.active,
.app .sidebar .nav-item.active {
  background: #2e2d6b !important;
  background-color: #2e2d6b !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(46, 45, 107, 0.45) !important;
  border: none !important;
  border-radius: 10px !important;
}


:not(.dark) .nav-item.active .nav-icon,
:not(.dark) .nav-item.active .nav-label,
:not(.dark) .sidebar .nav-item.active .nav-icon,
:not(.dark) .sidebar .nav-item.active .nav-label {
  color: #ffffff !important;
}

/* Strip any pseudo-elements or vertical bars in Light Mode */
:not(.dark) .nav-item::before,
:not(.dark) .nav-item.active::before,
:not(.dark) .sidebar .nav-item::before,
:not(.dark) .sidebar .nav-item.active::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sidebar .nav-item.active .nav-label,
.dark .sidebar .nav-item.active .nav-icon,
.dark .sidebar .nav-item.active .nav-label {
  color: #ffffff !important;
}

.nav-beta-badge {
  display: none !important;
}

.nav-alert-badge {
  background: #ef4444 !important;
  color: #ffffff !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  padding: 2px 7px !important;
  margin-left: auto !important;
  line-height: 1 !important;
}

.sidebar-footer {
  padding: 12px 16px !important;
  color: #64748b !important;
  font-size: 0.72rem !important;
  background: transparent !important;
  border: none !important;
}

/* Top App Header */
.app-header {
  height: 60px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 0 1.25rem !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dark .app-header {
  background: #0c1427 !important;
  border-bottom: 1px solid #1e293b !important;
}

/* Header Search */
.header-search {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 12px;
  width: 360px;
  max-width: 100%;
  height: 38px;
  gap: 8px;
}

.dark .header-search {
  background: #131e3d !important;
  border: 1px solid #1e2d5a !important;
}

.header-search-icon {
  color: #94a3b8;
  flex-shrink: 0;
}

.header-search .search-input {
  border: none !important;
  background: transparent !important;
  outline: none !important;
  font-size: 0.84rem !important;
  color: #0f172a !important;
  width: 100%;
  padding: 0 !important;
  box-shadow: none !important;
}

.dark .header-search .search-input {
  color: #ffffff !important;
}

.header-search-kbd {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
  color: #64748b;
  border: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.dark .header-search-kbd {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.12);
}

/* Header Tools & User Profile */
.header-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748b;
  position: relative;
  transition: background 0.15s, color 0.15s;
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  color: #0f172a;
}

.dark .icon-btn {
  color: #94a3b8;
}

.dark .icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.icon-btn-badge-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -8px;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.header-user:hover {
  background: rgba(0, 0, 0, 0.04);
}

.dark .header-user:hover {
  background: rgba(255, 255, 255, 0.06);
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #3b82f6;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: #0f172a;
}

.dark .user-name {
  color: #ffffff;
}

.user-email {
  font-size: 0.72rem;
  color: #64748b;
}

.dark .user-email {
  color: #94a3b8;
}

.user-chevron {
  color: #64748b;
  margin-left: 2px;
}

.dark .user-chevron {
  color: #94a3b8;
}

/* Breadcrumb Bar */
.breadcrumb-bar {
  top: 60px !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  padding: 0 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
}

.dark .breadcrumb-bar {
  background: #0c1427 !important;
  border-bottom: 1px solid #1e2d5a !important;
}

.breadcrumb-actions-slot {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
}

.breadcrumb {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.breadcrumb-item {
  color: #64748b !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.dark .breadcrumb-item {
  color: #94a3b8 !important;
}

.breadcrumb-sep {
  margin: 0 6px !important;
  color: #cbd5e1 !important;
}

.dark .breadcrumb-sep {
  color: #475569 !important;
}

.breadcrumb-refresh-btn {
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
  padding: 0 10px !important;
  font-size: 0.75rem !important;
  border-radius: 6px !important;
}

.app-body {
  margin-top: 108px !important;
  min-height: calc(100vh - 108px) !important;
}

.app-body.no-breadcrumbs {
  margin-top: 60px !important;
  min-height: calc(100vh - 60px) !important;
}




/* Modern Cards & Dark Mode Canvas */
.dark .app,
.dark .app-body,
.dark .main-content {
  background-color: #090e1a !important;
}

.card,
.kpi-card,
.dash-card,
.admin-card,
.admin-table-container,
.overview-table-wrap,
.selection-header-card,
.sidebar-section-card,
.device-card,
.panel {
  background-color: #ffffff;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease !important;
}

.dark .card,
.dark .kpi-card,
.dark .dash-card,
.dark .admin-card,
.dark .admin-table-container,
.dark .overview-table-wrap,
.dark .selection-header-card,
.dark .sidebar-section-card,
.dark .device-card,
.dark .panel {
  background-color: #111c38 !important;
  border: 1px solid #1e2d5a !important;
  color: #f8fafc !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}

/* Modern Enterprise Tables */
.admin-table,
.overview-table,
.dash-table,
.datra-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table thead th,
.overview-table thead th,
.dash-table thead th,
.datra-table thead th {
  background: #f8fafc !important;
  color: #64748b !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  text-align: left;
}

.dark .admin-table thead th,
.dark .overview-table thead th,
.dark .dash-table thead th,
.dark .datra-table thead th {
  background: #0c1427 !important;
  color: #94a3b8 !important;
  border-bottom: 1px solid #1e2d5a !important;
}

.admin-table tbody td,
.overview-table tbody td,
.dash-table tbody td,
.datra-table tbody td {
  padding: 14px 16px !important;
  font-size: 0.875rem !important;
  color: #0f172a !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle;
}

.dark .admin-table tbody td,
.dark .overview-table tbody td,
.dark .dash-table tbody td,
.dark .datra-table tbody td {
  color: #f8fafc !important;
  border-bottom: 1px solid #172345 !important;
}

.admin-table tbody tr:hover,
.overview-table tbody tr:hover,
.dash-table tbody tr:hover,
.datra-table tbody tr:hover {
  background: #f8fafc !important;
}

.dark .admin-table tbody tr:hover,
.dark .overview-table tbody tr:hover,
.dark .dash-table tbody tr:hover,
.dark .datra-table tbody tr:hover {
  background: #162347 !important;
}

/* Modern Form Inputs & Selects */
.group-select,
.admin-input,
.search-box input,
.filter-select,
.form-input {
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
  font-size: 0.875rem !important;
  background: #ffffff !important;
  color: #0f172a !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.group-select:focus,
.admin-input:focus,
.search-box input:focus,
.filter-select:focus,
.form-input:focus {
  border-color: #2563eb !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.dark .group-select,
.dark .admin-input,
.dark .search-box input,
.dark .filter-select,
.dark .form-input {
  background: #0c1427 !important;
  border-color: #1e2d5a !important;
  color: #f8fafc !important;
}

/* Global Checkbox and Radio Accent */
input[type="checkbox"],
input[type="radio"] {
  accent-color: #2e2d6b !important;
}

.dark input[type="checkbox"],
.dark input[type="radio"] {
  accent-color: #5c59b6 !important;
}

.dark .group-select:focus,
.dark .admin-input:focus,
.dark .search-box input:focus,
.dark .filter-select:focus,
.dark .form-input:focus {
  border-color: #2e2d6b !important;
  box-shadow: 0 0 0 3px rgba(46, 45, 107, 0.25) !important;
}

/* Buttons */
.btn-primary,
.control-btn.primary {
  background: #2e2d6b !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  font-size: 0.875rem !important;
  box-shadow: 0 2px 6px rgba(46, 45, 107, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover,
.control-btn.primary:hover {
  background: #393882 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 45, 107, 0.4) !important;
}

.units-new-unit-btn {
  background: transparent !important;
  color: #64748b !important;
  border: none !important;
  min-height: 27px !important;
  max-height: 27px !important;
  padding: 0 10px !important;
  font-size: 0.75rem !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.units-new-unit-btn:hover {
  background: rgba(17, 24, 39, 0.05) !important;
  color: #475569 !important;
}

.dark .units-new-unit-btn {
  color: #94a3b8 !important;
}

.dark .units-new-unit-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.overview-btn,
.overview-all-btn {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 6px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  padding: 5px 12px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.overview-btn:hover,
.overview-all-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.dark .overview-btn,
.dark .overview-all-btn {
  background: #1e293b !important;
  color: #cbd5e1 !important;
  border-color: #334155 !important;
}

.dark .overview-btn:hover,
.dark .overview-all-btn:hover {
  background: #334155 !important;
  color: #ffffff !important;
}


/* ==========================================================================
   DATRA PLATFORM - ENTERPRISE MODERN DARK THEME
   Design System:
   - Canvas / Background: #09090B
   - Sidebar & Header:    #0D0D0F
   - Cards & Panels:      #151519
   - Elevated Elements:   #1A1A20
   - Low-contrast Border: #292933
   - Primary Accent:      #8B5CF6 (Vibrant Violet)
   - Bright Accent:       #A855F7
   - Soft Violet:         #7C3AED
   - Text Primary:        #F4F4F5
   - Text Secondary:      #949AA6
   - Text Muted:          #717784
   ========================================================================== */

:root.dark,
.dark {
  color-scheme: dark;
  --theme-bg: #09090B;
  --theme-sidebar: #0D0D0F;
  --theme-header: #0D0D0F;
  --theme-surface: #151519;
  --theme-surface-elevated: #1A1A20;
  --theme-surface-hover: #1F1F26;
  --theme-border: #292933;
  --theme-border-subtle: #202028;
  --theme-border-active: #8B5CF6;
  --theme-violet: #8B5CF6;
  --theme-violet-bright: #A855F7;
  --theme-violet-soft: #7C3AED;
  --theme-violet-bg: rgba(139, 92, 246, 0.12);
  --theme-violet-border: rgba(139, 92, 246, 0.35);
  --theme-text-primary: #F4F4F5;
  --theme-text-secondary: #949AA6;
  --theme-text-muted: #717784;
  --destructive-foreground: 0 0% 100%;
  --border: 240 6% 18%;
  --input: 240 6% 18%;
  --ring: 263 70% 60%;
  --radius: 12px;
}

/* Base Body & App Shell */
.dark,
.dark body,
.dark #root,
.dark .app {
  background-color: #09090B !important;
  color: #F4F4F5 !important;
}

/* Theme Switcher Capsule & Buttons (No Violet Outline) */
.theme-switcher-capsule,
.dark .theme-switcher-capsule {
  border-radius: 12px !important;
  outline: none !important;
  box-shadow: none !important;
}

.theme-switcher-capsule .theme-switcher-btn:focus,
.theme-switcher-capsule .theme-switcher-btn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}


/* ==========================================================================
   GLOBAL TYPOGRAPHY & HEADINGS
   ========================================================================== */
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6,
.dark .player-header h1,
.dark .admin-header h2,
.dark .section-title,
.dark .page-title,
.dark .dash-card-title,
.dark .profile-panel-title,
.dark .header-popover-title,
.dark .settings-header span,
.dark .jobs-title,
.dark .job-title,
.dark .units-title {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.dark p,
.dark .player-header p,
.dark .admin-header p,
.dark .section-subtitle,
.dark .page-subtitle,
.dark .dash-sub,
.dark .muted,
.dark .text-muted,
.dark .profile-email-text,
.dark .header-item-sub,
.dark .field label,
.dark label,
.dark .filter-label {
  color: #949aa6 !important;
}

/* ==========================================================================
   TOP APP HEADER
   ========================================================================== */
.dark .app-header {
  background-color: #0e1014 !important;
  border-bottom: 1px solid #181a1f !important;
  color: #ffffff !important;
}

.dark .header-search input,
.dark .search-input {
  background-color: #131519 !important;
  border: 1px solid #1e2026 !important;
  box-shadow: none !important;
  color: #ffffff !important;
  border-radius: 12px !important;
}

.dark .header-search input:focus,
.dark .search-input:focus {
  background-color: #17191e !important;
  border-color: #8b5cf6 !important;
  outline: none !important;
}

.dark .header-user {
  background-color: #131519 !important;
  border: 1px solid #1e2026 !important;
  color: #ffffff !important;
  border-radius: 20px !important;
}

.dark .header-user:hover {
  background-color: #17191e !important;
  border-color: #2d3039 !important;
}

.dark .user-name {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.dark .user-email {
  color: #949aa6 !important;
}

.dark .user-chevron {
  color: #606674 !important;
}

.dark .icon-btn {
  background-color: #131519 !important;
  border: 1px solid #1e2026 !important;
  color: #949aa6 !important;
  border-radius: 10px !important;
}

.dark .icon-btn:hover {
  background-color: #22242b !important;
  color: #ffffff !important;
  border-color: #353842 !important;
}

.dark .icon-btn.active {
  background-color: #241838 !important;
  color: #c084fc !important;
  border-color: #7c3aed !important;
}

/* Breadcrumbs */
.dark .breadcrumb-bar {
  background-color: #0c0d10 !important;
  border-bottom: 1px solid #1a1c20 !important;
}

.dark .breadcrumb {
  color: #949aa6 !important;
}

.dark .breadcrumb-item {
  color: #5d636f !important;
}

.dark .breadcrumb-item:last-child {
  color: #ffffff !important;
}

.dark .breadcrumb-sep {
  color: #40444f !important;
}

.dark .breadcrumb-refresh-btn {
  background-color: #1a1c20 !important;
  border: 1px solid #25272e !important;
  color: #949aa6 !important;
  border-radius: 8px !important;
}

.dark .breadcrumb-refresh-btn:hover {
  background-color: #22242b !important;
  color: #ffffff !important;
}

/* ==========================================================================
   SIDEBAR NAVIGATION (DARK THEME WITH VIOLET ACCENT)
   ========================================================================== */
.dark .sidebar {
  background-color: #0c0d10 !important;
  border-right: 1px solid #1a1c20 !important;
}

.dark .sidebar-header {
  background-color: #0c0d10 !important;
  border-bottom: 1px solid #1a1c20 !important;
}

.dark .sidebar-footer {
  border-top: 1px solid #1a1c20 !important;
  color: #5d636f !important;
}

.dark .sidebar-version {
  color: #5d636f !important;
}

.dark .nav-section-title {
  color: #5d636f !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}


.dark .nav-section-title:hover {
  color: #94a3b8 !important;
}

.dark .sidebar .nav-item,
.dark .sidebar .nav-item:visited,
.dark .nav-item {
  color: #94a3b8 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 500 !important;
}

.dark .sidebar .nav-item .nav-label,
.dark .nav-item .nav-label {
  color: #94a3b8 !important;
}

.dark .sidebar .nav-item .nav-icon,
.dark .nav-item .nav-icon {
  color: #94a3b8 !important;
}


.dark .sidebar .nav-item:hover,
.dark .nav-item:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: #ffffff !important;
}

.dark .sidebar .nav-item:hover .nav-label,
.dark .sidebar .nav-item:hover .nav-icon,
.dark .nav-item:hover .nav-label,
.dark .nav-item:hover .nav-icon {
  color: #ffffff !important;
}

/* Active navigation item with indigo-violet accent */
.dark .sidebar .nav-item.active,
.dark .nav-item.active {
  background: #2e2d6b !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(46, 45, 107, 0.45) !important;
}

.dark .sidebar .nav-item.active .nav-label,
.dark .nav-item.active .nav-label {
  color: #ffffff !important;
}

.dark .sidebar .nav-item.active .nav-icon,
.dark .nav-item.active .nav-icon {
  color: #ffffff !important;
}

.dark .nav-item.active::before,
.dark .sidebar .nav-item.active::before {
  display: none !important;
}

.dark .nav-beta-badge {
  background-color: #241838 !important;
  color: #a78bfa !important;
  border: 1px solid #4c1d95 !important;
}

.dark .nav-chevron {
  color: #40444f !important;
}

/* ==========================================================================
   BUTTONS & FORM CONTROLS
   ========================================================================== */
.dark .btn {
  background-color: #1a1c20 !important;
  border: 1px solid #25272e !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
}

.dark .btn-primary {
  background-color: #2e2d6b !important;
  border-color: #252458 !important;
  color: #ffffff !important;
}

.dark .btn-primary:hover {
  background-color: #393882 !important;
  border-color: #2e2d6b !important;
}


.dark .btn-danger {
  background-color: #2b1114 !important;
  border-color: #7f1d1d !important;
}

.dark .btn-danger:hover {
  background-color: #3e161a !important;
}


.dark input[type="text"],
.dark input[type="search"],
.dark input[type="password"],
.dark input[type="email"],
.dark input[type="number"],
.dark select,
.dark textarea,
.dark .field input,
.dark .field select,
.dark .field textarea,
.dark .group-select,
.dark .location-select,
.dark .pagination-select {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  color: #ffffff !important;
  border-radius: 10px !important;
}

.dark input:focus,
.dark select:focus,
.dark textarea:focus {
  border-color: #8b5cf6 !important;
  background-color: #1c1e23 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2) !important;
}

.dark ::-moz-placeholder {
  color: #5d636f !important;
}

.dark ::placeholder {
  color: #5d636f !important;
}

/* ==========================================================================
   HERO HEADERS & STAT BANNERS (MATCHING SAMPLE SCREENSHOTS)
   ========================================================================== */
.dark .admin-hero,
.dark .hero-card,
.dark .units-header-card,
.dark .jobs-header-card,
.dark .page-hero-card {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 14px !important;
  color: #ffffff !important;
}

.dark .hero-stats .stat,
.dark .hero-stat-item {
  border-left: 1px solid #25272e !important;
}

.dark .hero-stats .stat strong,
.dark .hero-stat-item strong {
  color: #ffffff !important;
  font-size: 1.4rem !important;
}

.dark .hero-stats .stat span,
.dark .hero-stat-item span {
  color: #949aa6 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
}

/* ==========================================================================
   KPI SUMMARY CARDS (MATCHING SAMPLE IMAGE 1)
   ========================================================================== */
.dark .dash-kpi-grid,
.dark .player-stats {
  background: transparent !important;
  gap: 14px !important;
}

.dark .dash-kpi-card,
.dark .player-stat,
.dark .stat-card,
.dark .dash-metric-card {
  background-color: #151519 !important;
  border: 1px solid #292933 !important;
  border-radius: 14px !important;
  color: #F4F4F5 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  padding: 16px !important;
}

.dark .dash-kpi-card:hover,
.dark .player-stat:hover {
  border-color: rgba(139, 92, 246, 0.4) !important;
  background-color: #1A1A20 !important;
}

.dark .dash-kpi-value,
.dark .player-stat strong {
  color: #F4F4F5 !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
}

.dark .dash-kpi-label,
.dark .player-stat span {
  color: #949AA6 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}

/* KPI icon badge boxes */
.dark .dash-kpi-icon {
  border-radius: 12px !important;
  background-color: #1A1A20 !important;
  border: 1px solid #292933 !important;
}

.dark .dash-kpi-icon.wifi {
  background-color: rgba(16, 185, 129, 0.15) !important;
  color: #10B981 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

.dark .dash-kpi-icon.online {
  background-color: rgba(59, 130, 246, 0.15) !important;
  color: #60A5FA !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
}

.dark .dash-kpi-icon.offline {
  background-color: rgba(245, 158, 11, 0.15) !important;
  color: #FBBF24 !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

.dark .dash-kpi-icon.total {
  background-color: rgba(139, 92, 246, 0.15) !important;
  color: #C084FC !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
}

/* ==========================================================================
   UNITS SIDEBAR, SECTIONS & FILTER GROUPS (ZERO WHITE BORDERS)
   ========================================================================== */
.dark .units-page,
.dark .units-container,
.dark .units-sidebar,
.dark .main-card,
.dark .sidebar-section,
.dark .sidebar-section-body,
.dark .sidebar-section-flush {
  --units-surface: #151519 !important;
  --units-muted-surface: #1A1A20 !important;
  --units-border: #292933 !important;
  --units-accent-border: rgba(139, 92, 246, 0.35) !important;
  --panel-bg: #151519 !important;
  --color-border-default: #292933 !important;
  --color-border-subtle: #202028 !important;
  --color-btn-secondary: #1A1A20 !important;
  border-color: #292933 !important;
}

/* Sidebar Modern Cards (Dark Mode Overrides) */
.dark .sidebar-action-card,
.dark .sidebar-section-card {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
  border-radius: 14px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.15s ease !important;
}

.dark .sidebar-action-card:hover,
.dark .sidebar-section-card:hover {
  background-color: #141414 !important;
  border-color: #27272a !important;
}

.dark .sidebar-card-icon-box,
.dark .sidebar-card-icon-box.purple,
.dark .sidebar-card-icon-box.green,
.dark .sidebar-card-icon-box.blue {
  background-color: #241838 !important;
  color: #8b5cf6 !important;
  border: 1px solid #3f2a63 !important;
}

.dark .sidebar-card-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.dark .sidebar-card-subtitle {
  font-size: 0.76rem !important;
  color: #8b909a !important;
}

.dark .sidebar-card-arrow {
  color: #717784 !important;
  margin-left: auto !important;
}

.dark .sidebar-section {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.dark .sidebar-section-flush {
  border: 1px solid #25272e !important;
  border-radius: 12px !important;
}

.dark .sidebar-section-body {
  border-top: 1px solid #21232a !important;
}

.dark .units-panel-header,
.dark .locations-panel-header {
  border-bottom: 1px solid #21232a !important;
}

.dark .filter-group {
  border-top: none !important;
}

.dark .filter-label {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #717784 !important;
  margin-bottom: 8px !important;
}

.dark .filter-toggle-options {
  border: none !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  padding: 0 0 0 10px !important;
}

.dark .filter-toggle-item {
  border: none !important;
  border-bottom: none !important;
  background-color: transparent !important;
  color: #e4e4e7 !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  padding: 2px 0 !important;
  min-height: 26px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
}

.dark .filter-toggle-item input[type="checkbox"] {
  accent-color: #8b5cf6 !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  margin: 0 !important;
}

.dark .filter-toggle-item:last-child {
  border-bottom: none !important;
}

.dark .group-select {
  border: 1px solid #25272e !important;
  background-color: #1a1c20 !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  width: 100% !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
}

.dark select option,
.dark select optgroup,
.dark .group-select option,
.dark .group-select optgroup,
.dark option,
.dark optgroup {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

.dark .overview-btn {
  border: 1px solid #25272e !important;
  background-color: #22242b !important;
  color: #949aa6 !important;
  border-radius: 6px !important;
}

/* ==========================================================================
   UNIT DETAILS SCREEN (DEVICES.CSS / UNITS.TSX DARK THEME)
   ========================================================================== */
.dark .devices-container {
  background-color: #0c0d10 !important;
  color: #f1f3f5 !important;
}

.dark .devices-layout {
  background: transparent !important;
}

.dark .unit-name-card,
.dark .unit-name-card-top {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.dark .unit-name-title {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.dark .unit-name-meta,
.dark .unit-name-meta span {
  color: #949aa6 !important;
}

.dark .unit-name-sep {
  color: #40444f !important;
}

.dark .unit-tag.retired {
  background-color: #202228 !important;
  border: 1px solid #2a2d36 !important;
  color: #949aa6 !important;
}

.dark .devices-left-panel,
.dark .devices-right-panel,
.dark .devices-center-panel,
.dark .control-panel {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: #f1f3f5 !important;
}

.dark .device-section,
.dark .device-info-card,
.dark .control-section,
.dark .control-header-card,
.dark .system-players-content,
.dark .panel-outline {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #f1f3f5 !important;
}

.dark .devices-panel-header,
.dark .control-header,
.dark .control-section-header,
.dark .device-section-header,
.dark .system-info-header {
  background-color: #1a1c20 !important;
  border-bottom: 1px solid #25272e !important;
  color: #ffffff !important;
}

.dark .device-media-header,
.dark .device-media-title {
  color: #ffffff !important;
}

.dark .device-media-btn {
  background-color: #1e2026 !important;
  border: 1px solid #2a2d36 !important;
  color: #949aa6 !important;
  border-radius: 8px !important;
}

.dark .device-media-btn:hover:not(:disabled) {
  background-color: #282b34 !important;
  color: #ffffff !important;
}

.dark .unit-health-widget {
  background-color: #1a1c20 !important;
  border: 1px solid #25272e !important;
  color: #ffffff !important;
}

.dark .unit-health-label {
  color: #949aa6 !important;
}

.dark .unit-health-value {
  color: #ffffff !important;
}

.dark .unit-health-bar {
  background-color: #25272e !important;
}

.dark .device-info-section,
.dark .device-description-box {
  background-color: #16181c !important;
  border-color: #25272e !important;
  color: #f1f3f5 !important;
}

.dark .unit-primary-tabs,
.dark .control-tabs,
.dark .unit-tabs-nav {
  background-color: #1a1c20 !important;
  border-bottom: 1px solid #25272e !important;
}

.dark .unit-primary-tab,
.dark .control-tab,
.dark .unit-tab-pill {
  color: #949aa6 !important;
  background: transparent !important;
  border: none !important;
}

.dark .unit-primary-tab:hover,
.dark .control-tab:hover,
.dark .unit-tab-pill:hover {
  color: #ffffff !important;
  background-color: #22242b !important;
}

.dark .unit-primary-tab.active,
.dark .control-tab.active,
.dark .unit-tab-pill.active {
  color: #ffffff !important;
  background-color: #241838 !important;
  border-bottom: 2px solid #8b5cf6 !important;
}

.dark .telemetry-card,
.dark .telemetry-metric,
.dark .empty-box,
.dark .beta-feature-panel {
  background-color: #1a1c20 !important;
  border: 1px solid #25272e !important;
  color: #949aa6 !important;
}

.dark .telemetry-title,
.dark .telemetry-metric-header {
  color: #ffffff !important;
}

.dark .telemetry-row {
  color: #949aa6 !important;
}

.dark .devices-table,
.dark .system-info-table,
.dark .device-table {
  background-color: #16181c !important;
  color: #f1f3f5 !important;
}

.dark .devices-table th,
.dark .system-info-table th,
.dark .device-table th {
  background-color: #1a1c20 !important;
  color: #717784 !important;
  border-bottom: 1px solid #25272e !important;
}

.dark .devices-table td,
.dark .system-info-table td,
.dark .device-table td,
.dark .device-info-row {
  border-bottom: 1px solid #1f2127 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   UNIT DETAILS - HIGH CONTRAST WHITE TEXT & DARK PLAYER CARDS
   ========================================================================== */
.dark .players-details .info-grid,
.dark .info-grid,
.dark .system-info-table,
.dark .device-info-table {
  background-color: transparent !important;
}

.dark .info-grid .row,
.dark .diag-card-body .row {
  border-bottom: 1px solid #21232a !important;
  color: #ffffff !important;
  padding: 8px 0 !important;
}

.dark .info-grid .row .label,
.dark .diag-card-body .row .label,
.dark .player-system-info .label {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.dark .info-grid .row .value,
.dark .diag-card-body .row .value,
.dark .player-system-info .value {
  color: #ffffff !important;
  font-weight: 500 !important;
}

.dark .info-section-title {
  color: #c084fc !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  border-bottom: 1px solid #282a30 !important;
  padding-bottom: 4px !important;
  margin-top: 14px !important;
}

/* Player Cards in Unit Details */
.dark .player-card {
  width: 136px !important;
  max-width: 136px !important;
  padding: 12px 10px 8px !important;
  box-sizing: border-box !important;
  background-color: #1a1c20 !important;
  border: 1px solid #282a30 !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.dark .player-card.is-active,
.dark .players-panel .players-grid .player-card.is-active,
.dark .players-grid .player-card.is-active {
  background-color: #0d281e !important;
  border: 1.5px solid #10b981 !important;
  border-left: 6px solid #10b981 !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2) !important;
  color: #ffffff !important;
}

.dark .player-card.is-active .player-avatar .player-icon-bg,
.dark .players-panel .players-grid .player-card.is-active .player-icon-bg,
.dark .players-grid .player-card.is-active .player-icon-bg {
  background-color: #134e35 !important;
  color: #34d399 !important;
  border: 1px solid #10b981 !important;
}

.dark .player-card.is-active .player-id strong,
.dark .players-panel .players-grid .player-card.is-active .player-id strong,
.dark .players-grid .player-card.is-active .player-id strong {
  color: #6ee7b7 !important;
}

.dark .player-card.is-active.selected,
.dark .player-card.is-active:hover {
  border-color: #34d399 !important;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.35) !important;
}

.dark .player-card.is-retired,
.dark .players-panel .players-grid .player-card.is-retired,
.dark .players-grid .player-card.is-retired {
  background-color: #271214 !important;
  border: 1.5px solid #ef4444 !important;
  border-left: 6px solid #ef4444 !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2) !important;
  color: #ffffff !important;
}

.dark .player-card.is-retired .player-avatar .player-icon-bg,
.dark .players-panel .players-grid .player-card.is-retired .player-icon-bg,
.dark .players-grid .player-card.is-retired .player-icon-bg {
  background-color: #451a1d !important;
  color: #f87171 !important;
  border: 1px solid #7f1d1d !important;
}

.dark .player-card.is-retired .player-id strong,
.dark .players-panel .players-grid .player-card.is-retired .player-id strong,
.dark .players-grid .player-card.is-retired .player-id strong {
  color: #fca5a5 !important;
}

.dark .player-card.is-retired.selected,
.dark .player-card.is-retired:hover {
  border-color: #f87171 !important;
  box-shadow: 0 6px 22px rgba(239, 68, 68, 0.35) !important;
}

.dark .player-card .player-id {
  padding: 0 6px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  text-align: center !important;
}

.dark .player-card .player-id strong {
  color: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  padding: 0 4px !important;
  display: inline-block !important;
}

.dark .player-copy-btn {
  background-color: #22242b !important;
  border: 1px solid #353842 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

.dark .player-copy-btn:hover {
  background-color: #2e313a !important;
  color: #c084fc !important;
  border-color: #7c3aed !important;
}

/* Player Actions in Unit Details - Violet Shade (Dark Mode) */
.dark .player-actions,
.dark .system-info-content .players-panel.techdesk-players .player-actions,
.dark .players-panel.techdesk-players .player-actions {
  border-top: 1px solid #27272a !important;
}

.dark .player-actions button,
.dark .system-info-content .players-panel.techdesk-players .player-actions button,
.dark .players-panel.techdesk-players .player-actions button,
.dark .player-actions .add-player,
.dark .player-actions .activate-player-btn,
.dark .player-actions .move-player,
.dark .player-actions .retire-player,
.dark .player-actions .retire-player.restore,
.dark .player-actions .restore-player {
  background: rgba(139, 92, 246, 0.16) !important;
  color: #c4b5fd !important;
  border: 1px solid rgba(167, 139, 250, 0.28) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
}

.dark .player-actions button svg,
.dark .system-info-content .players-panel.techdesk-players .player-actions button svg,
.dark .players-panel.techdesk-players .player-actions button svg {
  color: #c4b5fd !important;
  stroke: currentColor !important;
}

.dark .player-actions button:hover,
.dark .system-info-content .players-panel.techdesk-players .player-actions button:hover,
.dark .players-panel.techdesk-players .player-actions button:hover,
.dark .player-actions .add-player:hover,
.dark .player-actions .activate-player-btn:hover,
.dark .player-actions .move-player:hover,
.dark .player-actions .retire-player:hover,
.dark .player-actions .retire-player.restore:hover,
.dark .player-actions .restore-player:hover {
  background: rgba(139, 92, 246, 0.28) !important;
  color: #ffffff !important;
  border-color: rgba(167, 139, 250, 0.5) !important;
  box-shadow: 0 3px 12px rgba(139, 92, 246, 0.25) !important;
  transform: translateY(-1px) !important;
}

.dark .player-actions button:hover svg,
.dark .system-info-content .players-panel.techdesk-players .player-actions button:hover svg,
.dark .players-panel.techdesk-players .player-actions button:hover svg {
  color: #ffffff !important;
}

.dark .player-actions button:active,
.dark .system-info-content .players-panel.techdesk-players .player-actions button:active,
.dark .players-panel.techdesk-players .player-actions button:active {
  background: rgba(139, 92, 246, 0.38) !important;
  transform: translateY(0) !important;
}

/* Device primary tabs & active highlights */
.dark .device-primary-tabs {
  background-color: #16181c !important;
  border-bottom: 1px solid #25272e !important;
}

.dark .device-tab {
  color: #ffffff !important;
  background: transparent !important;
  border: none !important;
  font-weight: 600 !important;
}

.dark .device-tab:hover {
  color: #ffffff !important;
  background-color: #22242b !important;
}

.dark .device-tab.active {
  color: #ffffff !important;
  background-color: #241838 !important;
  border-bottom: 2px solid #8b5cf6 !important;
}

/* Left panel text contrast */
.dark .stat-item label {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.dark .stat-row .stat-value {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.dark .stat-row .stat-percent {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.dark .device-details h4 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.dark .detail-text {
  color: #ffffff !important;
}

.dark .edit-device-btn {
  background-color: #1e2026 !important;
  border: 1px solid #2a2d36 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}

.dark .edit-device-btn:hover {
  background-color: #282b34 !important;
  color: #c084fc !important;
  border-color: #7c3aed !important;
}

.dark .unit-name-meta,
.dark .unit-name-meta span {
  color: #ffffff !important;
}

/* ==========================================================================
   UNITS HERO SELECTION HEADER CARD (DARK THEME OVERRIDES ONLY)
   ========================================================================== */
.dark .selection-header-card {
  background-color: #1a1a1a !important;
  border: 1px solid #27272a !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  padding: 16px 20px !important;
  border-radius: 12px !important;
}

.dark .selection-title-section h2 {
  color: #ffffff !important;
}

.dark .selection-subtitle {
  color: #949aa6 !important;
}

.dark .health-stat .stat-value {
  color: #ffffff !important;
}

.dark .health-stat .stat-label {
  color: #717784 !important;
}

/* ==========================================================================
   CARDS, PANELS & CONTAINERS (MATCHING SAMPLE IMAGES 1, 2 & 3)
   ========================================================================== */
.dark .dash-section,
.dark .dash-section-activity,
.dark .main-card,
.dark .office-card,
.dark .sites-card,
.dark .admin-card,
.dark .panel,
.dark .card,
.dark .list-card,
.dark .profile-panel,
.dark .settings-card,
.dark .header-popover,
.dark .profile-card,
.dark .job-card,
.dark .job-item-card,
.dark .unit-card,
.dark .device-card {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 14px !important;
  color: #f1f3f5 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.dark .unit-card:hover,
.dark .device-card:hover,
.dark .job-item-card:hover {
  background-color: #1a1c21 !important;
  border-color: #353842 !important;
}

.dark .dash-section-head,
.dark .units-panel-header,
.dark .locations-panel-header,
.dark .profile-header,
.dark .header-popover-head,
.dark .modal-header {
  background-color: #1a1c20 !important;
  border-bottom: 1px solid #25272e !important;
}

.dark .dash-section-head h3,
.dark .locations-header-title,
.dark .units-panel-header {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   FILTER TABS, CHIPS & QUICKBAR PILLS (WITH VIOLET ACCENT)
   ========================================================================== */
.dark .units-quickbar-section,
.dark .units-refresh-section,
.dark .dash-view-toggle,
.dark .activity-tabs,
.dark .filter-tabs,
.dark .control-section.filter-section,
.dark .units-control-bar .control-section,
.dark .tabs-nav,
.dark .segmented-control {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 10px !important;
  padding: 3px 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.dark .units-refresh-interval-select {
  background: transparent !important;
  color: #949aa6 !important;
  border: none !important;
}

.dark .units-refresh-interval-select:hover {
  background-color: #1f2127 !important;
  color: #ffffff !important;
}

.dark .units-quickbar-btn,
.dark .dash-view-btn,
.dark .tab-chip,
.dark .tab,
.dark .control-btn.sort-btn,
.dark .control-btn.view-btn,
.dark .filter-toggle-item,
.dark .segmented-btn {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: #949aa6 !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  padding: 5px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.15s ease !important;
}

.dark .units-quickbar-btn:hover,
.dark .dash-view-btn:hover,
.dark .tab-chip:hover,
.dark .tab:hover,
.dark .control-btn.sort-btn:hover,
.dark .control-btn.view-btn:hover,
.dark .filter-toggle-item:hover,
.dark .segmented-btn:hover {
  background-color: #1f2127 !important;
  color: #ffffff !important;
}

/* Inactive count badge */
.dark .tab-chip span,
.dark .tab .count-badge,
.dark .tab-count,
.dark .control-btn .count-badge {
  background-color: #202228 !important;
  border: 1px solid #2a2d36 !important;
  color: #717784 !important;
  border-radius: 6px !important;
  padding: 1px 6px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  margin-left: 4px !important;
}

/* Active selection tab pill (Matching sample image with violet accents) */
.dark .units-quickbar-btn.active,
.dark .dash-view-btn.active,
.dark .tab-chip.active,
.dark .tab.active,
.dark .control-btn.sort-btn.active,
.dark .control-btn.view-btn.active,
.dark .filter-toggle-item.active,
.dark .segmented-btn.active {
  background-color: #22242b !important;
  border: 1px solid #2e313a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.dark .units-quickbar-btn.view-btn svg,
.dark .control-btn.view-btn svg,
.dark .dash-view-btn svg,
.dark .office-view-btn svg {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
}

.dark .units-quickbar-btn.active svg,
.dark .dash-view-btn.active svg,
.dark .tab-chip.active svg,
.dark .tab.active svg,
.dark .control-btn.sort-btn.active svg,
.dark .control-btn.view-btn.active svg {
  color: #8b5cf6 !important;
  stroke: #8b5cf6 !important;
}

/* Active violet count badge */
.dark .tab-chip.active span,
.dark .tab.active .count-badge,
.dark .tab.active .tab-count,
.dark .control-btn.sort-btn.active .count-badge,
.dark .units-quickbar-btn.active span {
  background-color: #241838 !important;
  border: 1px solid #7c3aed !important;
  color: #c084fc !important;
  box-shadow: 0 0 6px rgba(124, 58, 237, 0.3) !important;
  font-weight: 800 !important;
}

/* Locations list item */
.dark .location-item {
  background-color: #1a1c20 !important;
  border: 1px solid #25272e !important;
  color: #949aa6 !important;
  border-radius: 10px !important;
}

.dark .location-item:hover {
  background-color: #22242b !important;
  color: #ffffff !important;
  border-color: #353842 !important;
}

.dark .location-item.active {
  background-color: #241838 !important;
  border-color: #7c3aed !important;
  color: #c084fc !important;
}

/* ==========================================================================
   UNIT CARDS & ACTION BUTTONS (NO WHITE BORDERS)
   ========================================================================== */
.dark .unit-card {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  overflow: hidden !important;
}

.dark .unit-card-top,
.dark .unit-card-top-merged {
  background: transparent !important;
  border: none !important;
}

.dark .unit-title {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.dark .unit-status-text {
  color: #949aa6 !important;
}

.dark .unit-last-seen {
  color: #717784 !important;
}

.dark .unit-card-footer {
  background: #141519 !important;
  border-top: 1px solid #21232a !important;
  padding: 8px 10px !important;
}

.dark .unit-footer-btn {
  background-color: #1e2026 !important;
  border: 1px solid #2a2d36 !important;
  color: #949aa6 !important;
  border-radius: 8px !important;
  height: 32px !important;
}

.dark .unit-footer-btn:hover {
  background-color: #282b34 !important;
  border-color: #3f4350 !important;
  color: #ffffff !important;
}

.dark .unit-footer-btn.is-active {
  background-color: #241838 !important;
  border-color: #7c3aed !important;
  color: #c084fc !important;
}

.dark .unit-media {
  background-color: #0e0f13 !important;
}

.dark .unit-timestamp-badge {
  background: rgba(14, 15, 19, 0.85) !important;
  border: 1px solid #25272e !important;
  color: #949aa6 !important;
}

.dark .unit-chip,
.dark .unit-chip.compact {
  background-color: #1e2026 !important;
  border: 1px solid #2a2d36 !important;
  color: #c084fc !important;
}

.dark .units-control-bar {
  background: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 12px !important;
  padding: 8px 12px !important;
}

.dark .control-btn {
  background-color: #1a1c20 !important;
  border: 1px solid #25272e !important;
  color: #949aa6 !important;
  border-radius: 8px !important;
}

.dark .control-btn:hover {
  background-color: #22242b !important;
  color: #ffffff !important;
  border-color: #353842 !important;
}

.dark .control-btn.active {
  background-color: #241838 !important;
  border-color: #7c3aed !important;
  color: #c084fc !important;
}

.dark .control-btn.sort-btn:not(.active),
.dark .control-btn.grid-btn:not(.active),
.dark .control-btn.list-btn:not(.active) {
  background-color: #1a1c20 !important;
  border: 1px solid #25272e !important;
  color: #949aa6 !important;
}

/* ==========================================================================
   TABLES & METERS (MATCHING SAMPLE IMAGE 1)
   ========================================================================== */
.dark .overview-table-wrap,
.dark .dash-table-wrap,
.dark .player-table-wrap,
.dark .sites-table-wrap,
.dark .table-container,
.dark .admin-table-wrap {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 14px !important;
}

.dark table,
.dark .overview-table,
.dark .dash-table,
.dark .player-table,
.dark .sites-table,
.dark .admin-table {
  background-color: #16181c !important;
  color: #f1f3f5 !important;
}

.dark thead th,
.dark .overview-table thead th,
.dark .dash-table thead th,
.dark .player-table thead th,
.dark .sites-table thead th,
.dark .admin-table thead th {
  background-color: #1a1c20 !important;
  color: #717784 !important;
  font-size: 0.72rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
  border-bottom: 1px solid #25272e !important;
  padding: 12px 16px !important;
}

.dark tbody td,
.dark .overview-table tbody td,
.dark .dash-table tbody td,
.dark .player-table tbody td,
.dark .sites-table tbody td,
.dark .admin-table tbody td {
  background-color: #16181c !important;
  color: #f1f3f5 !important;
  border-bottom: 1px solid #1f2127 !important;
  padding: 14px 16px !important;
}

.dark tbody tr:hover td,
.dark tbody tr:hover,
.dark .overview-table tbody tr:hover,
.dark .dash-table tbody tr:hover,
.dark .player-table tbody tr:hover {
  background-color: #1c1e24 !important;
}

.dark .overview-location,
.dark .overview-row-name,
.dark .player-name,
.dark .dash-table-group-cell .link {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.dark .overview-health-foot {
  display: none !important;
}

.dark .overview-health-meter {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  min-width: 180px !important;
}

.dark .overview-health-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.dark .overview-health-count strong,
.dark .dash-table-meter-count strong {
  color: #ffffff !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
}

.dark .overview-health-count span,
.dark .dash-table-meter-count span {
  color: #8b909a !important;
  font-size: 0.85rem !important;
}

.dark .overview-health-percent,
.dark .dash-table-meter-percent {
  color: #8b909a !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
}

.dark .overview-bar,
.dark .dash-status-bar {
  height: 6px !important;
  background-color: #ef4444 !important;
  border-radius: 999px !important;
  display: flex !important;
  overflow: hidden !important;
}

/* Progress bar fills with vibrant green (connected) and red (disconnected) */
.dark .overview-bar-fill.connected,
.dark .dash-status-online,
.dark .progress-bar-fill.connected,
.dark .status-bar-fill.connected {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%) !important;
  height: 100% !important;
  border-radius: 999px !important;
}

.dark .overview-bar-fill.disconnected,
.dark .dash-status-offline,
.dark .progress-bar-fill.disconnected,
.dark .status-bar-fill.disconnected {
  background: #ef4444 !important;
  height: 100% !important;
}
.dark .dash-status-offline,
.dark .progress-bar-fill.disconnected,
.dark .status-bar-fill.disconnected {
  background: #ef4444 !important;
}

/* ==========================================================================
   ACTIVITY LISTS, JOBS & PLAYER ROWS
   ========================================================================== */
.dark .activity-item {
  background-color: #16181c !important;
  border-bottom: 1px solid #1f2127 !important;
  color: #f1f3f5 !important;
  padding: 14px 16px !important;
}

.dark .activity-item:hover {
  background-color: #1c1e24 !important;
}

.dark .activity-id {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.dark .activity-env {
  color: #949aa6 !important;
}

.dark .activity-time {
  color: #717784 !important;
}

/* Player badges */
.dark .mac-cell code {
  background: #1a1c20 !important;
  color: #c084fc !important;
  border: 1px solid #25272e !important;
  border-radius: 6px !important;
}

.dark .mac-cell .icon-btn {
  background: #22242b !important;
  color: #ffffff !important;
  border: 1px solid #353842 !important;
}

.dark .status-pill.online {
  background: #0f2e1e !important;
  color: #34d399 !important;
  border: 1px solid #059669 !important;
}

.dark .status-pill.offline {
  background: #2d1315 !important;
  color: #f87171 !important;
  border: 1px solid #b91c1c !important;
}

.dark .status-pill.maintenance {
  background: #2e1d08 !important;
  color: #fbbf24 !important;
  border: 1px solid #854d0e !important;
}

/* Modals & Popovers */
.dark .modal-content,
.dark .dialog-content,
.dark .player-modal {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  color: #f1f3f5 !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.8) !important;
}

.dark .modal-header,
.dark .modal-footer,
.dark .player-modal-header,
.dark .player-modal-footer {
  border-color: #25272e !important;
  background-color: #1a1c20 !important;
}

.dark .profile-menu-item {
  color: #d4d4d8 !important;
  border-radius: 8px !important;
}

.dark .profile-menu-item:hover {
  background-color: #22242b !important;
  color: #ffffff !important;
}

.dark .profile-divider {
  background-color: #25272e !important;
}


/* Typography & Headings across all screens */
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6,
.dark .player-header h1,
.dark .admin-header h2,
.dark .section-title,
.dark .page-title,
.dark .hero-card h2,
.dark .dash-card-title,
.dark .profile-panel-title,
.dark .header-popover-title,
.dark .settings-header span {
  color: #f4f4f5 !important;
}

.dark p,
.dark .player-header p,
.dark .admin-header p,
.dark .section-subtitle,
.dark .page-subtitle,
.dark .muted,
.dark .text-muted,
.dark .hero-card p,
.dark .profile-email-text,
.dark .header-item-sub,
.dark .field label,
.dark label {
  color: #a1a1aa !important;
}

/* Top App Header */
.dark .app-header {
  background-color: #121212 !important;
  border-bottom-color: #27272a !important;
  color: #f4f4f5 !important;
}

.dark .header-user {
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #f4f4f5 !important;
}

.dark .header-user:hover {
  background-color: #27272a !important;
  border-color: #3f3f46 !important;
}

.dark .user-name {
  color: #f4f4f5 !important;
}

.dark .user-email {
  color: #a1a1aa !important;
}

.dark .user-chevron {
  color: #71717a !important;
}

.dark .icon-btn {
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

.dark .icon-btn:hover {
  background-color: #27272a !important;
  color: #ffffff !important;
  border-color: #3f3f46 !important;
}

.dark .icon-btn.active {
  background-color: #27272a !important;
  color: #c084fc !important;
  border-color: #7c3aed !important;
}

.dark .search-input {
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #f4f4f5 !important;
}

.dark .search-input:focus {
  background-color: #1f1f23 !important;
  border-color: #7c3aed !important;
}

/* Breadcrumbs */
.dark .breadcrumb-bar {
  background-color: #0a0a0a !important;
  border-bottom-color: #27272a !important;
}

.dark .breadcrumb {
  color: #a1a1aa !important;
}

.dark .breadcrumb-item {
  color: #71717a !important;
}

.dark .breadcrumb-item:last-child {
  color: #f4f4f5 !important;
}

.dark .breadcrumb-sep {
  color: #52525b !important;
}

.dark .breadcrumb-refresh-btn {
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #a1a1aa !important;
}

.dark .breadcrumb-refresh-btn:hover {
  background-color: #27272a !important;
  color: #ffffff !important;
}


/* Buttons */
.dark .btn {
  background-color: #18181b !important;
  border-color: #27272a !important;
  color: #f4f4f5 !important;
}

.dark .btn:hover {
  background-color: #27272a !important;
  border-color: #3f3f46 !important;
  color: #ffffff !important;
}

.dark .btn-primary {
  background-color: #7c3aed !important;
  border-color: #7c3aed !important;
  color: #ffffff !important;
}

.dark .btn-primary:hover {
  background-color: #6d28d9 !important;
  border-color: #6d28d9 !important;
}

.dark .btn-danger {
  background-color: #2b1114 !important;
  border-color: #7f1d1d !important;
  color: #f87171 !important;
}

.dark .btn-danger:hover {
  background-color: #3e161a !important;
}

/* Form Controls & Inputs */
.dark input[type="text"],
.dark input[type="search"],
.dark input[type="password"],
.dark input[type="email"],
.dark input[type="number"],
.dark select,
.dark textarea,
.dark .field input,
.dark .field select,
.dark .field textarea,
.dark .group-select,
.dark .location-select,
.dark .pagination-select {
  background-color: #18181b !important;
  border: 1px solid #27272a !important;
  color: #f4f4f5 !important;
}

.dark input:focus,
.dark select:focus,
.dark textarea:focus {
  border-color: #7c3aed !important;
  background-color: #1f1f23 !important;
  outline: none !important;
}

.dark ::-moz-placeholder {
  color: #52525b !important;
}

.dark ::placeholder {
  color: #52525b !important;
}

/* Stat Cards & Metric Cards across all views */
.dark .player-stat,
.dark .stat-card,
.dark .dash-metric-card,
.dark .hero-stats .stat,
.dark .stat,
.dark .metric-card,
.dark .dash-card,
.dark .office-card,
.dark .sites-card,
.dark .admin-card,
.dark .panel,
.dark .card,
.dark .list-card,
.dark .profile-panel,
.dark .settings-card,
.dark .header-popover,
.dark .profile-card {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
  color: #f4f4f5 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.dark .player-stat span,
.dark .stat span,
.dark .metric-label {
  color: #a1a1aa !important;
}

.dark .player-stat strong,
.dark .stat strong,
.dark .metric-value {
  color: #ffffff !important;
}

/* Tables across all views */
.dark .player-table-wrap,
.dark .overview-table-wrap,
.dark .sites-table-wrap,
.dark .table-container,
.dark .admin-table-wrap,
.dark .table-wrap {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
}

.dark table,
.dark .player-table,
.dark .overview-table,
.dark .sites-table,
.dark .admin-table {
  background-color: #141414 !important;
  color: #f4f4f5 !important;
}

.dark thead th,
.dark .player-table thead th,
.dark .overview-table thead th,
.dark .sites-table thead th,
.dark .admin-table thead th {
  background-color: #1a1a1a !important;
  color: #a1a1aa !important;
  border-bottom: 1px solid #27272a !important;
}

.dark tbody td,
.dark .player-table tbody td,
.dark .overview-table tbody td,
.dark .sites-table tbody td,
.dark .admin-table tbody td {
  background-color: #141414 !important;
  color: #f4f4f5 !important;
  border-bottom: 1px solid #222225 !important;
}

.dark tbody tr:hover td,
.dark tbody tr:hover,
.dark .player-table tbody tr:hover,
.dark .overview-table tbody tr:hover {
  background-color: #1e1e22 !important;
}

/* Units & Devices Custom Styles */
.dark .units-page {
  background: #0a0a0a !important;
}

.dark .units-sidebar {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.dark .sidebar-section-flush {
  border-bottom: 1px solid #27272a !important;
}

.dark .units-panel-header,
.dark .locations-panel-header {
  background-color: #1a1a1a !important;
  border-bottom: 1px solid #27272a !important;
  color: #f4f4f5 !important;
}

.dark .main-card {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
  color: #f4f4f5 !important;
}

.dark .units-quickbar-section {
  background-color: #18181b !important;
  border: 1px solid #27272a !important;
}

.dark .units-quickbar-btn {
  color: #a1a1aa !important;
}

.dark .units-quickbar-btn:hover {
  background-color: #27272a !important;
  color: #ffffff !important;
}

.dark .units-quickbar-btn.active {
  background-color: #2e2440 !important;
  border-color: #7c3aed !important;
  color: #c084fc !important;
}

.dark .location-item {
  background-color: #18181b !important;
  border-color: #222225 !important;
  color: #a1a1aa !important;
}

.dark .location-item:hover {
  background-color: #222225 !important;
  color: #ffffff !important;
}

.dark .location-item.active {
  background-color: #27272a !important;
  color: #ffffff !important;
  border-color: #7c3aed !important;
}

.dark .location-item.active .location-name {
  color: #ffffff !important;
}

.dark .location-count,
.dark .location-count-badge,
.dark .dash-location-count,
.dark .location-item .location-count {
  background-color: #241838 !important;
  color: #c084fc !important;
  border: 1px solid #7c3aed !important;
  font-weight: 700 !important;
}

.dark .location-item.active .location-count {
  background-color: #7c3aed !important;
  color: #ffffff !important;
  border: 1px solid #8b5cf6 !important;
  font-weight: 700 !important;
}


.dark .overview-health-count strong {
  color: #f4f4f5 !important;
}

.dark .overview-health-count span,
.dark .overview-health-foot {
  color: #71717a !important;
}

.dark .overview-health-percent {
  color: #a1a1aa !important;
}

.dark .overview-bar {
  background-color: #27272a !important;
}

/* Modals & Dialogs */
.dark .modal-content,
.dark .modal-card,
.dark .dialog-content {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
  color: #f4f4f5 !important;
}

.dark .modal-header,
.dark .modal-footer {
  border-color: #27272a !important;
  background-color: #1a1a1a !important;
}

/* Popover & User Menu */
.dark .profile-header,
.dark .header-popover-head {
  background-color: #1a1a1a !important;
  border-bottom: 1px solid #27272a !important;
}

.dark .profile-menu-item {
  color: #d4d4d8 !important;
}

.dark .profile-menu-item:hover {
  background-color: #222225 !important;
  color: #ffffff !important;
}

.dark .profile-divider {
  background-color: #27272a !important;
}

.dark .header-item {
  border-bottom: 1px solid #27272a !important;
  color: #f4f4f5 !important;
}

.dark .header-item:hover {
  background-color: #1c1c1f !important;
}

/* ========================================================
   PLAYER MANAGER DARK STYLES
   ======================================================== */

.dark .player-name {
  color: #f4f4f5 !important;
  font-weight: 600 !important;
}

.dark .player-id {
  color: #71717a !important;
}

.dark .mac-cell code {
  background: #18181b !important;
  color: #c084fc !important;
  border: 1px solid #27272a !important;
}

.dark .mac-cell .icon-btn {
  background: #27272a !important;
  color: #f4f4f5 !important;
  border: 1px solid #3f3f46 !important;
}

.dark .mac-cell .icon-btn:hover {
  background: #3f3f46 !important;
  color: #ffffff !important;
}

.dark .status-pill.online {
  background: #052e16 !important;
  color: #4ade80 !important;
  border: 1px solid #166534 !important;
}

.dark .status-pill.offline {
  background: #2b1114 !important;
  color: #f87171 !important;
  border: 1px solid #7f1d1d !important;
}

.dark .status-pill.maintenance {
  background: #2e1d08 !important;
  color: #fbbf24 !important;
  border: 1px solid #854d0e !important;
}

.dark .player-modal {
  background: #141414 !important;
  border: 1px solid #27272a !important;
  color: #f4f4f5 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7) !important;
}

.dark .player-modal-header {
  border-bottom: 1px solid #27272a !important;
  background: #1a1a1a !important;
}

.dark .player-modal-footer {
  border-top: 1px solid #27272a !important;
  background: #1a1a1a !important;
}

/* ========================================================
   HOME DASHBOARD DARK STYLES
   ======================================================== */

.dark .dash-kpi-grid {
  background: transparent !important;
}

.dark .dash-kpi-card {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
  color: #f4f4f5 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.dark .dash-kpi-value {
  color: #ffffff !important;
}

.dark .dash-kpi-label {
  color: #a1a1aa !important;
}

.dark .dash-section {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
  color: #f4f4f5 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.dark .dash-section-head {
  border-bottom-color: #27272a !important;
}

.dark .dash-section-head h3 {
  color: #f4f4f5 !important;
}

.dark .dash-sub {
  color: #a1a1aa !important;
}

.dark .dash-section-activity {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
}

.dark .activity-filters {
  border-bottom: 1px solid #27272a !important;
}

.dark .tab-chip {
  background-color: #18181b !important;
  border: 1px solid #27272a !important;
  color: #a1a1aa !important;
}

.dark .tab-chip:hover {
  background-color: #222225 !important;
  color: #ffffff !important;
}

.dark .tab-chip.active {
  background-color: #27272a !important;
  color: #ffffff !important;
  border-color: #3f3f46 !important;
}

.dark .tab-chip span {
  background-color: #27272a !important;
  color: #f4f4f5 !important;
}

.dark .activity-item {
  background-color: #141414 !important;
  border-bottom: 1px solid #222225 !important;
  color: #f4f4f5 !important;
}

.dark .activity-item:hover {
  background-color: #1a1a1e !important;
}

.dark .activity-id {
  color: #ffffff !important;
}

.dark .activity-env {
  color: #a1a1aa !important;
}

.dark .activity-time {
  color: #71717a !important;
}

.dark .dash-table-wrap {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
}

.dark .dash-table {
  background-color: #141414 !important;
  color: #f4f4f5 !important;
}

.dark .dash-table thead th {
  background-color: #1a1a1a !important;
  color: #a1a1aa !important;
  border-bottom: 1px solid #27272a !important;
}

.dark .dash-table tbody tr {
  background-color: #141414 !important;
  border-bottom: 1px solid #222225 !important;
  color: #f4f4f5 !important;
}

.dark .dash-table tbody tr:hover {
  background-color: #1e1e22 !important;
}

.dark .dash-table-group-cell .link {
  color: #f4f4f5 !important;
}

.dark .dash-table-meter-count strong {
  color: #f4f4f5 !important;
}

.dark .dash-table-meter-count span {
  color: #71717a !important;
}

.dark .dash-table-meter-percent {
  color: #a1a1aa !important;
}

.dark .dash-table-meter-foot {
  color: #71717a !important;
}

.dark .dash-status-bar {
  background-color: #27272a !important;
}

.dark .dash-map-wrap,
.dark .dash-map-sidebar,
.dark .dash-map-topbar,
.dark .dash-location-detail-panel {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
  color: #f4f4f5 !important;
}

.dark .dash-location-unit {
  background-color: #18181b !important;
  border-bottom: 1px solid #222225 !important;
  color: #f4f4f5 !important;
}

.dark .dash-location-unit strong {
  color: #ffffff !important;
}

.dark .dash-location-unit span {
  color: #ffffff !important;
}

.dark .dash-location-unit em {
  color: #ffffff !important;
}

/* ==========================================================================
   OFFICE & WORKSPACES DARK THEME
   ========================================================================== */
.dark .office-page,
.dark .office-container {
  background-color: transparent !important;
  color: #ffffff !important;
}

.dark .office-hero-title h2,
.dark .office-hero-title p,
.dark .office-card-title-group h3,
.dark .office-building-sub,
.dark .office-loc-row,
.dark .office-loc-row div {
  color: #ffffff !important;
}

.dark .office-metric-card,
.dark .office-card,
.dark .office-table-card {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.dark .office-metric-info strong {
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 800 !important;
}

.dark .office-metric-info span {
  color: #ffffff !important;
  font-weight: 500 !important;
}

.dark .office-tabs,
.dark .office-view-toggle {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 10px !important;
}

.dark .office-tab {
  color: #ffffff !important;
  background: transparent !important;
}

.dark .office-tab.active {
  background-color: #241838 !important;
  border: 1px solid #7c3aed !important;
  color: #c084fc !important;
}

.dark .office-search-input,
.dark .office-form-input {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  color: #ffffff !important;
}

.dark .office-card-header {
  background-color: #1a1c20 !important;
  border-bottom: 1px solid #25272e !important;
}

.dark .office-card-body {
  color: #ffffff !important;
}

/* ==========================================================================
   JOBS & TASK HISTORY DARK THEME
   ========================================================================== */
.dark .jobs-page {
  background-color: transparent !important;
  color: #ffffff !important;
}

.dark .jobs-history,
.dark .jobs-column,
.dark .job-card,
.dark .history-item {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.dark .jobs-column h2,
.dark .jobs-history h3,
.dark .job-card h4,
.dark .job-card-header h4,
.dark .history-title {
  color: #ffffff !important;
}

.dark .job-card .meta,
.dark .job-card .notes,
.dark .history-notes,
.dark .empty {
  color: #ffffff !important;
}

.dark .jobs-page select,
.dark .jobs-page input {
  background-color: #1a1c20 !important;
  border: 1px solid #25272e !important;
  color: #ffffff !important;
}

/* ==========================================================================
   SITES & MAP VIEW DARK THEME
   ========================================================================== */
.dark .sites-page {
  background-color: transparent !important;
  color: #ffffff !important;
}

.dark .sites-map-shell {
  background-color: #121316 !important;
  border: 1px solid #25272e !important;
}

.dark .sites-search-bar {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
}

.dark .sites-search-bar input {
  color: #ffffff !important;
}

.dark .sites-search-icon-btn {
  color: #ffffff !important;
}

.dark .sites-map-status-strip,
.dark .sites-map-status-strip span,
.dark .sites-map-sidebar,
.dark .sites-filter-box,
.dark .sites-group-item,
.dark .sites-legend,
.dark .sites-stat-pill,
.dark .sites-quick-stats,
.dark .sites-stat-badge,
.dark .sites-header-stats {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  color: #ffffff !important;
  border-radius: 10px !important;
}

.dark .sites-popup {
  background-color: #16181c !important;
  color: #ffffff !important;
}

.dark .sites-popup-title {
  color: #ffffff !important;
}

/* ==========================================================================
   ADMIN SCREENS, USER & TENANT MANAGEMENT DARK THEME
   ========================================================================== */
.dark .hero-card,
.dark .hero-stats .stat,
.dark .admin-card,
.dark .list-card,
.dark .tenant-card,
.dark .user-card {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  border-radius: 14px !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

.dark .hero-card h2,
.dark .hero-card p,
.dark .hero-stats .stat strong,
.dark .hero-stats .stat span,
.dark .list-title,
.dark .list-title h4,
.dark .list-title strong,
.dark .meta-row,
.dark .meta-row span,
.dark .meta-row div,
.dark .admin-header h2,
.dark .admin-header p,
.dark .admin-card-header h3,
.dark .admin-table th,
.dark .admin-table td {
  color: #ffffff !important;
}

.dark .list-card-body,
.dark .tenant-card-body,
.dark .tenant-footer,
.dark .card-footer {
  background-color: transparent !important;
  border-top: 1px solid #21232a !important;
  color: #ffffff !important;
}

.dark .avatar {
  background-color: #241838 !important;
  color: #c084fc !important;
  border: 1px solid #7c3aed !important;
}

.dark .filter-actions input,
.dark .filter-actions select,
.dark .search-input-wrap,
.dark .search-input-wrap input {
  background-color: #16181c !important;
  border: 1px solid #25272e !important;
  color: #ffffff !important;
}

.dark .search-input-wrap svg,
.dark .search-icon {
  color: #ffffff !important;
}

/* ==========================================================================
   GLOBAL DARK MODE TEXT ENFORCEMENT (ALL TEXT HIGH CONTRAST WHITE)
   ========================================================================== */
.dark body,
.dark #root,
.dark .app-body,
.dark .main-content,
.dark div,
.dark span,
.dark p,
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6,
.dark label,
.dark strong,
.dark b,
.dark th,
.dark td,
.dark li,
.dark a:not(.btn):not(.control-btn),
.dark input,
.dark select,
.dark textarea {
  color: #ffffff;
}

.dark .text-muted,
.dark .muted,
.dark .sub-text,
.dark .meta,
.dark .label {
  color: #ffffff !important;
}

/* Zero white backgrounds in Unit Details & Diagnostics */
.dark .thumb-caption,
.dark .diag-ui-tabs,
.dark .diag-ui-card,
.dark .diag-ui-stack,
.dark .diag-ui-chart,
.dark .diag-ui-chart-wrap,
.dark .diag-ui-metrics,
.dark .diag-ui-metric,
.dark .diag-ui-table-wrap,
.dark .diag-ui-table,
.dark .diag-ui-table th,
.dark .diag-ui-table td,
.dark .activity-panel,
.dark .activity-list,
.dark .activity-entry,
.dark .empty-activity,
.dark .activity-textarea,
.dark .screenshot-placeholder,
.dark .livecam-placeholder,
.dark .liveview-placeholder,
.dark .telemetry-card,
.dark .telemetry-metric,
.dark .telemetry-chart,
.dark .telemetry-chart-wrap,
.dark .telemetry-history {
  background-color: #141414 !important;
  border-color: #27272a !important;
  color: #ffffff !important;
}

.dark .diag-ui-card-head {
  background-color: #1a1a1a !important;
  border-bottom-color: #27272a !important;
}

.dark .diag-ui-tabs .diag-tab {
  color: #a1a1aa !important;
  background: transparent !important;
  border-color: transparent !important;
}

.dark .diag-ui-tabs .diag-tab.active {
  background-color: #1f1f23 !important;
  color: #ffffff !important;
  border: 1px solid #3f3f46 !important;
}

.dark .diag-range-pills {
  background-color: #1a1a1a !important;
  border: 1px solid #27272a !important;
}

.dark .diag-range-pills button.active {
  background-color: #27272a !important;
  color: #ffffff !important;
}

.dark .scope-select {
  background-color: #1a1a1a !important;
  border-color: #27272a !important;
  color: #ffffff !important;
}

.dark .delete-activity {
  background-color: #1f1f23 !important;
  border-color: #27272a !important;
  color: #ffffff !important;
}

.dark .devices-container.techdesk-old,
.dark .techdesk-old,
.dark.techdesk-old {
  background: transparent !important;
}

.dark .techdesk-old .devices-left-panel,
.dark .techdesk-old .devices-center-panel,
.dark .techdesk-old .devices-right-panel,
.dark .techdesk-old .device-section,
.dark .techdesk-old .control-section,
.dark .techdesk-old .players-panel.techdesk-players,
.dark .techdesk-old .player-card,
.dark .devices-right-panel,
.dark .players-panel,
.dark .player-card {
  border-color: #27272a !important;
  background-color: #141414 !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.dark .techdesk-old .players-panel.techdesk-players .info-grid .row,
.dark .info-grid .row,
.dark .player-system-info .info-grid .row {
  border-bottom: 1px solid #27272a !important;
  color: #ffffff !important;
}

.dark .techdesk-old .device-section-header,
.dark .techdesk-old .control-section-header,
.dark .techdesk-old .system-info-header {
  background-color: #1a1a1a !important;
  border-bottom-color: #27272a !important;
  color: #ffffff !important;
}

.dark .diag-ui-events,
.dark .diag-ui-event {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
  color: #ffffff !important;
}

.dark .diag-ui-events-title {
  border-bottom: 1px solid #27272a !important;
  color: #ffffff !important;
}

.dark .diag-ui-event strong,
.dark .diag-ui-event em {
  color: #ffffff !important;
}

.dark .profile-permission-list,
.dark .profile-panel,
.dark .profile-security-list {
  background-color: #141414 !important;
  border: none !important;
  outline: none !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

.dark .profile-security-row {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid #27272a !important;
  border-radius: 0 !important;
  color: #ffffff !important;
}

.dark .profile-security-row:last-child {
  border-bottom: none !important;
}

.dark .profile-permission-row {
  border-bottom: 1px solid #27272a !important;
  color: #ffffff !important;
}

.dark .profile-permission-row:last-child {
  border-bottom: none !important;
}

.dark .profile-permission-icon {
  background-color: #241838 !important;
  color: #8b5cf6 !important;
}

.dark .profile-permission-name,
.dark .profile-permission-section h3,
.dark .profile-permissions-summary {
  color: #ffffff !important;
}

.dark .profile-permission-access {
  color: #a1a1aa !important;
}

.dark .profile-row {
  border-bottom: 1px solid #27272a !important;
  color: #ffffff !important;
}

.dark .profile-row:last-child {
  border-bottom: none !important;
}

.dark .profile-row-label {
  color: #a1a1aa !important;
}

.dark .profile-row-value {
  color: #ffffff !important;
}

.dark .profile-security-copy strong {
  color: #ffffff !important;
}

.dark .profile-security-copy span,
.dark .profile-security-status {
  color: #a1a1aa !important;
}

.dark .profile-security-action {
  background-color: #241838 !important;
  color: #c084fc !important;
  border: 1px solid #7c3aed !important;
}
/* ==========================================================================
   DATRA PLATFORM - PREFERENCES & SETTINGS DRAWER STYLES
   ========================================================================== */

/* Settings Slide-Over Drawer */
.settings-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 9998;
  backdrop-filter: none;
}

.settings-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 500px;
  max-width: 94vw;
  background: #ffffff;
  z-index: 9999;
  box-shadow: -8px 0 36px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  animation: prefSlideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.settings-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
}

.settings-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-drawer-title h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.settings-drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.15s ease;
}

.settings-drawer-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.settings-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

@keyframes prefFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes prefSlideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.preferences-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 900px;
  width: 100%;
}

.pref-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: none !important;
  outline: none !important;
}

.pref-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 0;
}

/* Theme Cards Grid */
.theme-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.theme-card-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 6px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #334155;
}

.theme-card-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.theme-card-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569;
  transition: all 0.2s ease;
}

.theme-card-label {
  font-size: 0.82rem;
  font-weight: 600;
}

/* Vibrant Violet Theme Active State */
.theme-card-btn.active {
  border-color: #8B5CF6;
  background: rgba(139, 92, 246, 0.08);
  color: #8B5CF6;
}

.theme-card-btn.active .theme-card-icon-wrap {
  background: #8B5CF6;
  color: #ffffff;
}

/* Preference Cards List */
.pref-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: none !important;
  outline: none !important;
}

.pref-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 14px;
  background: #f8fafc;
  border: none;
  transition: all 0.15s ease;
}

.pref-card-row:hover {
  background: #f1f5f9;
}

.pref-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pref-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  flex-shrink: 0;
}

.pref-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pref-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
}

.pref-subtitle {
  font-size: 0.78rem;
  color: #64748b;
}

/* Toggle Switch (Violet Active) */
.pref-toggle-label {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  cursor: pointer;
  flex-shrink: 0;
}

.pref-toggle-label input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pref-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}

.pref-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.pref-toggle-label input:checked + .pref-toggle-slider {
  background-color: #8B5CF6;
}

.pref-toggle-label input:checked + .pref-toggle-slider:before {
  transform: translateX(20px);
}

/* Pill Selectors */
.pref-pill-group {
  display: inline-flex;
  align-items: center;
  background: #e2e8f0;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.pref-pill-btn {
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #475569;
  transition: all 0.15s ease;
}

.pref-pill-btn:hover {
  color: #0f172a;
}

.pref-pill-btn.active {
  background: #8B5CF6;
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(139, 92, 246, 0.35);
}

/* Select Dropdown */
.pref-select-wrap {
  position: relative;
  display: inline-block;
}

.pref-select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 6px 34px 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
  outline: none;
  transition: all 0.15s ease;
  min-width: 110px;
}

.pref-select:hover,
.pref-select:focus {
  border-color: #8B5CF6;
}

.pref-select-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
}

/* Reset Button */
.pref-reset-row {
  margin-top: 10px;
}

.pref-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pref-reset-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* ==========================================================================
   DARK MODE OVERRIDES (NO HARSH SECTION BORDER, VIOLET ACCENT)
   ========================================================================== */
.dark .settings-drawer {
  background-color: #141414 !important;
  border-left: 1px solid #27272a !important;
  color: #ffffff !important;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5) !important;
}

.dark .settings-drawer-header {
  border-bottom-color: #27272a !important;
}

.dark .settings-drawer-title h2 {
  color: #ffffff !important;
}

.dark .settings-drawer-close-btn {
  background-color: #1f1f23 !important;
  color: #ffffff !important;
}

.dark .settings-drawer-close-btn:hover {
  background-color: #27272a !important;
  color: #ffffff !important;
}

.dark .pref-section {
  border: none !important;
  outline: none !important;
}

.dark .pref-section-title {
  color: #ffffff !important;
}

.dark .theme-card-btn {
  background-color: #141414 !important;
  border: 1px solid #27272a !important;
  color: #ffffff !important;
}

.dark .theme-card-btn:hover {
  background-color: #1a1a1a !important;
  border-color: #3f3f46 !important;
}

.dark .theme-card-icon-wrap {
  background-color: #1f1f23 !important;
  color: #ffffff !important;
}

.dark .theme-card-btn.active {
  border-color: #8B5CF6 !important;
  background-color: rgba(139, 92, 246, 0.12) !important;
  color: #ffffff !important;
}

.dark .theme-card-btn.active .theme-card-icon-wrap {
  background-color: #8B5CF6 !important;
  color: #ffffff !important;
}

.dark .pref-card-row {
  background-color: #141414 !important;
  border: none !important;
  outline: none !important;
}

.dark .pref-card-row:hover {
  background-color: #1a1a1a !important;
}

.dark .pref-icon-box {
  background-color: #1f1f23 !important;
  border: 1px solid #27272a !important;
  color: #ffffff !important;
}

.dark .pref-title {
  color: #ffffff !important;
}

.dark .pref-subtitle {
  color: #949aa6 !important;
}

.dark .pref-toggle-slider {
  background-color: #27272a !important;
}

.dark .pref-toggle-label input:checked + .pref-toggle-slider {
  background-color: #8B5CF6 !important;
}

.dark .pref-pill-group {
  background-color: #1a1a1a !important;
  border: 1px solid #27272a !important;
}

.dark .pref-pill-btn {
  color: #ffffff !important;
}

.dark .pref-pill-btn:hover {
  color: #ffffff !important;
}

.dark .pref-pill-btn.active {
  background-color: #8B5CF6 !important;
  color: #ffffff !important;
  box-shadow: 0 1px 4px rgba(139, 92, 246, 0.4) !important;
}

.dark .pref-select {
  background-color: #1a1a1a !important;
  border-color: #27272a !important;
  color: #ffffff !important;
}

.dark .pref-select option {
  background-color: #141414 !important;
  color: #ffffff !important;
}

.dark .pref-select-icon {
  color: #ffffff !important;
}

.dark .pref-reset-btn {
  background-color: #141414 !important;
  border-color: #27272a !important;
  color: #ffffff !important;
}

.dark .pref-reset-btn:hover {
  background-color: #1a1a1a !important;
  border-color: #3f3f46 !important;
  color: #ffffff !important;
}

/* ==========================================================================
   HIGH CONTRAST MODE FOR THE ENTIRE UI
   ========================================================================== */
[data-high-contrast="true"],
.high-contrast {
  --border-subtle: #000000 !important;
  --text-muted: #000000 !important;
}

[data-high-contrast="true"] .sidebar-action-card,
[data-high-contrast="true"] .sidebar-section-card,
[data-high-contrast="true"] .main-card,
[data-high-contrast="true"] .selection-header-card,
[data-high-contrast="true"] .admin-card,
[data-high-contrast="true"] .profile-panel,
[data-high-contrast="true"] .hero-card,
[data-high-contrast="true"] .pref-card-row,
[data-high-contrast="true"] .theme-card-btn,
[data-high-contrast="true"] .unit-card,
[data-high-contrast="true"] .device-card,
[data-high-contrast="true"] button,
[data-high-contrast="true"] input,
[data-high-contrast="true"] select {
  border: 2px solid #000000 !important;
  color: #000000 !important;
  font-weight: 600 !important;
}

[data-high-contrast="true"].dark,
.dark[data-high-contrast="true"],
.dark.high-contrast,
.dark [data-high-contrast="true"] {
  background-color: #000000 !important;
}

[data-high-contrast="true"].dark .sidebar,
[data-high-contrast="true"].dark .app-header,
[data-high-contrast="true"].dark .breadcrumb-bar,
[data-high-contrast="true"].dark .app-body,
[data-high-contrast="true"].dark .main-content,
[data-high-contrast="true"].dark .main-card,
[data-high-contrast="true"].dark .sidebar-section-card,
[data-high-contrast="true"].dark .selection-header-card,
[data-high-contrast="true"].dark .admin-card,
[data-high-contrast="true"].dark .profile-panel,
[data-high-contrast="true"].dark .hero-card,
[data-high-contrast="true"].dark .pref-card-row,
[data-high-contrast="true"].dark .theme-card-btn,
[data-high-contrast="true"].dark .unit-card,
[data-high-contrast="true"].dark .device-card {
  background-color: #000000 !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

[data-high-contrast="true"].dark th,
[data-high-contrast="true"].dark td {
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

[data-high-contrast="true"].dark p,
[data-high-contrast="true"].dark span,
[data-high-contrast="true"].dark label,
[data-high-contrast="true"].dark h1,
[data-high-contrast="true"].dark h2,
[data-high-contrast="true"].dark h3,
[data-high-contrast="true"].dark button,
[data-high-contrast="true"].dark input,
[data-high-contrast="true"].dark select {
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Eye Comfort Filter Modes */
[data-eye-comfort="warm"] {
  filter: sepia(0.18) hue-rotate(-10deg) !important;
}

[data-eye-comfort="sepia"] {
  filter: sepia(0.38) !important;
}

[data-eye-comfort="dim"] {
  filter: brightness(0.85) contrast(0.95) !important;
}

/* Font Size Modifiers */
[data-font-size="S"] {
  font-size: 13px !important;
}

[data-font-size="M"] {
  font-size: 14px !important;
}

[data-font-size="L"] {
  font-size: 16px !important;
}

/* Underline Links Mode */
[data-underline-links="true"] a,
[data-underline-links="true"] .nav-link,
[data-underline-links="true"] .tab {
  text-decoration: underline !important;
}
/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--color-amber-50:oklch(98.7% .022 95.277);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-950:oklch(27.9% .077 45.635);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-cyan-50:oklch(98.4% .019 200.873);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-600:oklch(60.9% .126 221.723);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-950:oklch(29.3% .066 243.157);--color-blue-50:oklch(97% .014 254.604);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-50:oklch(96.2% .018 272.314);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-600:oklch(51.1% .262 276.966);--color-indigo-700:oklch(45.7% .24 277.023);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-950:oklch(29.1% .149 302.717);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-700:oklch(51.4% .222 16.935);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-900:oklch(41% .159 10.272);--color-rose-950:oklch(27.1% .105 12.094);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-zinc-400:oklch(70.5% .015 286.067);--color-zinc-950:oklch(14.1% .005 285.823);--color-neutral-950:oklch(14.5% 0 0);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-relaxed:1.625;--radius-xl:.75rem;--radius-2xl:1rem;--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--blur-sm:8px;--blur-md:12px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:Inter,ui-sans-serif,system-ui,sans-serif;line-height:1.5}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::-moz-placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.-inset-2\.5{inset:calc(var(--spacing) * -2.5)}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-32{top:calc(var(--spacing) * -32)}.top-1\/2{top:50%}.top-3{top:calc(var(--spacing) * 3)}.top-4{top:calc(var(--spacing) * 4)}.top-\[50\%\]{top:50%}.-right-32{right:calc(var(--spacing) * -32)}.right-3{right:calc(var(--spacing) * 3)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-32{bottom:calc(var(--spacing) * -32)}.bottom-3{bottom:calc(var(--spacing) * 3)}.-left-32{left:calc(var(--spacing) * -32)}.left-2{left:calc(var(--spacing) * 2)}.left-3{left:calc(var(--spacing) * 3)}.left-3\.5{left:calc(var(--spacing) * 3.5)}.left-\[50\%\]{left:50%}.z-10{z-index:10}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.container{margin-inline:auto;padding-inline:2rem}@media (min-width:40rem){.container{max-width:none}}@media (min-width:1400px){.container{max-width:1400px}}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-1\.5{margin-inline:calc(var(--spacing) * 1.5)}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.my-1{margin-block:calc(var(--spacing) * 1)}.my-2{margin-block:calc(var(--spacing) * 2)}.my-3{margin-block:calc(var(--spacing) * 3)}.my-4{margin-block:calc(var(--spacing) * 4)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mr-1{margin-right:calc(var(--spacing) * 1)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3\.5{margin-bottom:calc(var(--spacing) * 3.5)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.table{display:table}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-13{height:calc(var(--spacing) * 13)}.h-14{height:calc(var(--spacing) * 14)}.h-80{height:calc(var(--spacing) * 80)}.h-full{height:100%}.h-px{height:1px}.max-h-\[480px\]{max-height:480px}.min-h-\[90px\]{min-height:90px}.min-h-\[100dvh\]{min-height:100dvh}.min-h-\[280px\]{min-height:280px}.min-h-\[520px\]{min-height:520px}.min-h-screen{min-height:100vh}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-12{width:calc(var(--spacing) * 12)}.w-13{width:calc(var(--spacing) * 13)}.w-14{width:calc(var(--spacing) * 14)}.w-30{width:calc(var(--spacing) * 30)}.w-40{width:calc(var(--spacing) * 40)}.w-80{width:calc(var(--spacing) * 80)}.w-100{width:calc(var(--spacing) * 100)}.w-full{width:100%}.w-px{width:1px}.max-w-\[360px\]{max-width:360px}.max-w-\[420px\]{max-width:420px}.max-w-lg{max-width:var(--container-lg)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[12rem\]{min-width:12rem}.min-w-\[42px\]{min-width:42px}.min-w-\[140px\]{min-width:140px}.flex-1{flex:1}.shrink-0{flex-shrink:0}.translate-x-\[-50\%\]{--tw-translate-x:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-3\.5{gap:calc(var(--spacing) * 3.5)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none{--tw-border-style:none;border-style:none}.border-amber-200{border-color:var(--color-amber-200)}.border-border,.border-border\/50{border-color:hsl(var(--border))}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, hsl(var(--border)) 50%, transparent)}}.border-border\/60{border-color:hsl(var(--border))}@supports (color:color-mix(in lab, red, red)){.border-border\/60{border-color:color-mix(in oklab, hsl(var(--border)) 60%, transparent)}}.border-border\/80{border-color:hsl(var(--border))}@supports (color:color-mix(in lab, red, red)){.border-border\/80{border-color:color-mix(in oklab, hsl(var(--border)) 80%, transparent)}}.border-destructive\/20{border-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.border-destructive\/20{border-color:color-mix(in oklab, hsl(var(--destructive)) 20%, transparent)}}.border-emerald-200{border-color:var(--color-emerald-200)}.border-indigo-300{border-color:var(--color-indigo-300)}.border-input,.border-input\/60{border-color:hsl(var(--input))}@supports (color:color-mix(in lab, red, red)){.border-input\/60{border-color:color-mix(in oklab, hsl(var(--input)) 60%, transparent)}}.border-primary\/20{border-color:hsl(var(--primary))}@supports (color:color-mix(in lab, red, red)){.border-primary\/20{border-color:color-mix(in oklab, hsl(var(--primary)) 20%, transparent)}}.border-rose-200{border-color:var(--color-rose-200)}.border-rose-900\/60{border-color:#8b083699}@supports (color:color-mix(in lab, red, red)){.border-rose-900\/60{border-color:color-mix(in oklab, var(--color-rose-900) 60%, transparent)}}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-700{border-color:var(--color-slate-700)}.border-slate-700\/60{border-color:#31415899}@supports (color:color-mix(in lab, red, red)){.border-slate-700\/60{border-color:color-mix(in oklab, var(--color-slate-700) 60%, transparent)}}.border-slate-800{border-color:var(--color-slate-800)}.border-slate-800\/60{border-color:#1d293d99}@supports (color:color-mix(in lab, red, red)){.border-slate-800\/60{border-color:color-mix(in oklab, var(--color-slate-800) 60%, transparent)}}.border-slate-800\/80{border-color:#1d293dcc}@supports (color:color-mix(in lab, red, red)){.border-slate-800\/80{border-color:color-mix(in oklab, var(--color-slate-800) 80%, transparent)}}.border-success\/20{border-color:hsl(var(--success))}@supports (color:color-mix(in lab, red, red)){.border-success\/20{border-color:color-mix(in oklab, hsl(var(--success)) 20%, transparent)}}.border-warning\/20{border-color:hsl(var(--warning))}@supports (color:color-mix(in lab, red, red)){.border-warning\/20{border-color:color-mix(in oklab, hsl(var(--warning)) 20%, transparent)}}.border-white{border-color:var(--color-white)}.bg-accent{background-color:hsl(var(--accent))}.bg-amber-50{background-color:var(--color-amber-50)}.bg-amber-50\/30{background-color:#fffbeb4d}@supports (color:color-mix(in lab, red, red)){.bg-amber-50\/30{background-color:color-mix(in oklab, var(--color-amber-50) 30%, transparent)}}.bg-amber-500{background-color:var(--color-amber-500)}.bg-background,.bg-background\/95{background-color:hsl(var(--background))}@supports (color:color-mix(in lab, red, red)){.bg-background\/95{background-color:color-mix(in oklab, hsl(var(--background)) 95%, transparent)}}.bg-black\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.bg-black\/60{background-color:color-mix(in oklab, var(--color-black) 60%, transparent)}}.bg-blue-50{background-color:var(--color-blue-50)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-border,.bg-border\/60{background-color:hsl(var(--border))}@supports (color:color-mix(in lab, red, red)){.bg-border\/60{background-color:color-mix(in oklab, hsl(var(--border)) 60%, transparent)}}.bg-card{background-color:hsl(var(--card))}.bg-cyan-50{background-color:var(--color-cyan-50)}.bg-destructive,.bg-destructive\/10{background-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.bg-destructive\/10{background-color:color-mix(in oklab, hsl(var(--destructive)) 10%, transparent)}}.bg-emerald-50{background-color:var(--color-emerald-50)}.bg-emerald-50\/30{background-color:#ecfdf54d}@supports (color:color-mix(in lab, red, red)){.bg-emerald-50\/30{background-color:color-mix(in oklab, var(--color-emerald-50) 30%, transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-emerald-500\/10{background-color:#00bb7f1a}@supports (color:color-mix(in lab, red, red)){.bg-emerald-500\/10{background-color:color-mix(in oklab, var(--color-emerald-500) 10%, transparent)}}.bg-indigo-50{background-color:var(--color-indigo-50)}.bg-indigo-500\/25{background-color:#625fff40}@supports (color:color-mix(in lab, red, red)){.bg-indigo-500\/25{background-color:color-mix(in oklab, var(--color-indigo-500) 25%, transparent)}}.bg-indigo-600{background-color:var(--color-indigo-600)}.bg-muted,.bg-muted\/30{background-color:hsl(var(--muted))}@supports (color:color-mix(in lab, red, red)){.bg-muted\/30{background-color:color-mix(in oklab, hsl(var(--muted)) 30%, transparent)}}.bg-muted\/40{background-color:hsl(var(--muted))}@supports (color:color-mix(in lab, red, red)){.bg-muted\/40{background-color:color-mix(in oklab, hsl(var(--muted)) 40%, transparent)}}.bg-muted\/50{background-color:hsl(var(--muted))}@supports (color:color-mix(in lab, red, red)){.bg-muted\/50{background-color:color-mix(in oklab, hsl(var(--muted)) 50%, transparent)}}.bg-popover{background-color:hsl(var(--popover))}.bg-primary,.bg-primary\/10{background-color:hsl(var(--primary))}@supports (color:color-mix(in lab, red, red)){.bg-primary\/10{background-color:color-mix(in oklab, hsl(var(--primary)) 10%, transparent)}}.bg-purple-50{background-color:var(--color-purple-50)}.bg-purple-500\/10{background-color:#ac4bff1a}@supports (color:color-mix(in lab, red, red)){.bg-purple-500\/10{background-color:color-mix(in oklab, var(--color-purple-500) 10%, transparent)}}.bg-rose-50{background-color:var(--color-rose-50)}.bg-rose-50\/30{background-color:#fff1f24d}@supports (color:color-mix(in lab, red, red)){.bg-rose-50\/30{background-color:color-mix(in oklab, var(--color-rose-50) 30%, transparent)}}.bg-rose-500{background-color:var(--color-rose-500)}.bg-rose-950\/30{background-color:#4d02184d}@supports (color:color-mix(in lab, red, red)){.bg-rose-950\/30{background-color:color-mix(in oklab, var(--color-rose-950) 30%, transparent)}}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sky-50{background-color:var(--color-sky-50)}.bg-sky-600{background-color:var(--color-sky-600)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-400{background-color:var(--color-slate-400)}.bg-slate-800{background-color:var(--color-slate-800)}.bg-slate-800\/80{background-color:#1d293dcc}@supports (color:color-mix(in lab, red, red)){.bg-slate-800\/80{background-color:color-mix(in oklab, var(--color-slate-800) 80%, transparent)}}.bg-slate-900{background-color:var(--color-slate-900)}.bg-slate-900\/70{background-color:#0f172bb3}@supports (color:color-mix(in lab, red, red)){.bg-slate-900\/70{background-color:color-mix(in oklab, var(--color-slate-900) 70%, transparent)}}.bg-slate-900\/90{background-color:#0f172be6}@supports (color:color-mix(in lab, red, red)){.bg-slate-900\/90{background-color:color-mix(in oklab, var(--color-slate-900) 90%, transparent)}}.bg-slate-950{background-color:var(--color-slate-950)}.bg-slate-950\/80{background-color:#020618cc}@supports (color:color-mix(in lab, red, red)){.bg-slate-950\/80{background-color:color-mix(in oklab, var(--color-slate-950) 80%, transparent)}}.bg-success\/10{background-color:hsl(var(--success))}@supports (color:color-mix(in lab, red, red)){.bg-success\/10{background-color:color-mix(in oklab, hsl(var(--success)) 10%, transparent)}}.bg-transparent{background-color:#0000}.bg-warning\/10{background-color:hsl(var(--warning))}@supports (color:color-mix(in lab, red, red)){.bg-warning\/10{background-color:color-mix(in oklab, hsl(var(--warning)) 10%, transparent)}}.bg-white{background-color:var(--color-white)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-emerald-500{--tw-gradient-from:var(--color-emerald-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-rose-500{--tw-gradient-from:var(--color-rose-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-slate-50{--tw-gradient-from:var(--color-slate-50);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.via-indigo-50\/30{--tw-gradient-via:#eef2ff4d}@supports (color:color-mix(in lab, red, red)){.via-indigo-50\/30{--tw-gradient-via:color-mix(in oklab, var(--color-indigo-50) 30%, transparent)}}.via-indigo-50\/30{--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-emerald-600{--tw-gradient-to:var(--color-emerald-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-rose-600{--tw-gradient-to:var(--color-rose-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-slate-100{--tw-gradient-to:var(--color-slate-100);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.fill-current{fill:currentColor}.object-contain{-o-object-fit:contain;object-fit:contain}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-0{padding-top:calc(var(--spacing) * 0)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pl-8{padding-left:calc(var(--spacing) * 8)}.pl-10{padding-left:calc(var(--spacing) * 10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10\.5px\]{font-size:10.5px}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12\.5px\]{font-size:12.5px}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-amber-400{color:var(--color-amber-400)}.text-amber-500{color:var(--color-amber-500)}.text-amber-600{color:var(--color-amber-600)}.text-amber-700{color:var(--color-amber-700)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-card-foreground{color:hsl(var(--card-foreground))}.text-cyan-600{color:var(--color-cyan-600)}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-emerald-400{color:var(--color-emerald-400)}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-emerald-700{color:var(--color-emerald-700)}.text-emerald-800{color:var(--color-emerald-800)}.text-foreground,.text-foreground\/80{color:hsl(var(--foreground))}@supports (color:color-mix(in lab, red, red)){.text-foreground\/80{color:color-mix(in oklab, hsl(var(--foreground)) 80%, transparent)}}.text-indigo-500{color:var(--color-indigo-500)}.text-indigo-600{color:var(--color-indigo-600)}.text-indigo-700{color:var(--color-indigo-700)}.text-muted{color:hsl(var(--muted))}.text-muted-foreground,.text-muted-foreground\/60{color:hsl(var(--muted-foreground))}@supports (color:color-mix(in lab, red, red)){.text-muted-foreground\/60{color:color-mix(in oklab, hsl(var(--muted-foreground)) 60%, transparent)}}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-purple-500{color:var(--color-purple-500)}.text-purple-600{color:var(--color-purple-600)}.text-rose-300{color:var(--color-rose-300)}.text-rose-500{color:var(--color-rose-500)}.text-rose-600{color:var(--color-rose-600)}.text-rose-700{color:var(--color-rose-700)}.text-rose-800{color:var(--color-rose-800)}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-sky-400{color:var(--color-sky-400)}.text-sky-500{color:var(--color-sky-500)}.text-sky-600{color:var(--color-sky-600)}.text-slate-100{color:var(--color-slate-100)}.text-slate-200{color:var(--color-slate-200)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-900{color:var(--color-slate-900)}.text-success{color:hsl(var(--success))}.text-warning{color:hsl(var(--warning))}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.underline{text-decoration-line:underline}.accent-primary{accent-color:hsl(var(--primary))}.accent-slate-900{accent-color:var(--color-slate-900)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-primary-glow{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--primary) / .18)), 0 10px 30px var(--tw-shadow-color,hsl(var(--primary) / .12));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-emerald-500\/30{--tw-ring-color:#00bb7f4d}@supports (color:color-mix(in lab, red, red)){.ring-emerald-500\/30{--tw-ring-color:color-mix(in oklab, var(--color-emerald-500) 30%, transparent)}}.ring-rose-500\/30{--tw-ring-color:#ff23574d}@supports (color:color-mix(in lab, red, red)){.ring-rose-500\/30{--tw-ring-color:color-mix(in oklab, var(--color-rose-500) 30%, transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.sepia{--tw-sepia:sepia(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.animate-in{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.duration-300{animation-duration:.3s}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.fade-in{--tw-enter-opacity:0}.running{animation-play-state:running}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-slate-500::-moz-placeholder{color:var(--color-slate-500)}.placeholder\:text-slate-500::placeholder{color:var(--color-slate-500)}@media (hover:hover){.hover\:border-sky-500:hover{border-color:var(--color-sky-500)}.hover\:border-slate-600:hover{border-color:var(--color-slate-600)}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-destructive\/10:hover{background-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.hover\:bg-destructive\/10:hover{background-color:color-mix(in oklab, hsl(var(--destructive)) 10%, transparent)}}.hover\:bg-destructive\/90:hover{background-color:hsl(var(--destructive))}@supports (color:color-mix(in lab, red, red)){.hover\:bg-destructive\/90:hover{background-color:color-mix(in oklab, hsl(var(--destructive)) 90%, transparent)}}.hover\:bg-muted:hover,.hover\:bg-muted\/30:hover{background-color:hsl(var(--muted))}@supports (color:color-mix(in lab, red, red)){.hover\:bg-muted\/30:hover{background-color:color-mix(in oklab, hsl(var(--muted)) 30%, transparent)}}.hover\:bg-muted\/60:hover{background-color:hsl(var(--muted))}@supports (color:color-mix(in lab, red, red)){.hover\:bg-muted\/60:hover{background-color:color-mix(in oklab, hsl(var(--muted)) 60%, transparent)}}.hover\:bg-primary\/90:hover{background-color:hsl(var(--primary))}@supports (color:color-mix(in lab, red, red)){.hover\:bg-primary\/90:hover{background-color:color-mix(in oklab, hsl(var(--primary)) 90%, transparent)}}.hover\:bg-secondary\/90:hover{background-color:hsl(var(--secondary))}@supports (color:color-mix(in lab, red, red)){.hover\:bg-secondary\/90:hover{background-color:color-mix(in oklab, hsl(var(--secondary)) 90%, transparent)}}.hover\:bg-sky-500:hover{background-color:var(--color-sky-500)}.hover\:bg-sky-600:hover{background-color:var(--color-sky-600)}.hover\:bg-slate-200\/60:hover{background-color:#e2e8f099}@supports (color:color-mix(in lab, red, red)){.hover\:bg-slate-200\/60:hover{background-color:color-mix(in oklab, var(--color-slate-200) 60%, transparent)}}.hover\:bg-slate-700:hover{background-color:var(--color-slate-700)}.hover\:text-destructive:hover{color:hsl(var(--destructive))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-primary\/80:hover{color:hsl(var(--primary))}@supports (color:color-mix(in lab, red, red)){.hover\:text-primary\/80:hover{color:color-mix(in oklab, hsl(var(--primary)) 80%, transparent)}}.hover\:text-slate-900:hover{color:var(--color-slate-900)}.hover\:text-white:hover{color:var(--color-white)}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.focus\:border-0:focus{border-style:var(--tw-border-style);border-width:0}.focus\:border-primary:focus{border-color:hsl(var(--primary))}.focus\:border-sky-500:focus{border-color:var(--color-sky-500)}.focus\:bg-background:focus{background-color:hsl(var(--background))}.focus\:bg-muted\/30:focus{background-color:hsl(var(--muted))}@supports (color:color-mix(in lab, red, red)){.focus\:bg-muted\/30:focus{background-color:color-mix(in oklab, hsl(var(--muted)) 30%, transparent)}}.focus\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-primary:focus{--tw-ring-color:hsl(var(--primary))}.focus\:ring-sky-500:focus{--tw-ring-color:var(--color-sky-500)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-ring:focus-visible{--tw-ring-color:hsl(var(--ring))}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\:scale-\[0\.99\]:active{scale:.99}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=closed\]\:animate-out[data-state=closed]{--tw-exit-opacity:initial;--tw-exit-scale:initial;--tw-exit-rotate:initial;--tw-exit-translate-x:initial;--tw-exit-translate-y:initial;animation-name:exit;animation-duration:.15s}.data-\[state\=open\]\:bg-muted\/30[data-state=open]{background-color:hsl(var(--muted))}@supports (color:color-mix(in lab, red, red)){.data-\[state\=open\]\:bg-muted\/30[data-state=open]{background-color:color-mix(in oklab, hsl(var(--muted)) 30%, transparent)}}.data-\[state\=open\]\:animate-in[data-state=open]{--tw-enter-opacity:initial;--tw-enter-scale:initial;--tw-enter-rotate:initial;--tw-enter-translate-x:initial;--tw-enter-translate-y:initial;animation-name:enter;animation-duration:.15s}@media (min-width:40rem){.sm\:h-4{height:calc(var(--spacing) * 4)}.sm\:h-6{height:calc(var(--spacing) * 6)}.sm\:h-8{height:calc(var(--spacing) * 8)}.sm\:h-96{height:calc(var(--spacing) * 96)}.sm\:w-96{width:calc(var(--spacing) * 96)}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:p-6{padding:calc(var(--spacing) * 6)}.sm\:p-7{padding:calc(var(--spacing) * 7)}.sm\:p-8{padding:calc(var(--spacing) * 8)}.sm\:text-left{text-align:left}.sm\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media (min-width:64rem){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.dark\:border-\[\#25272e\]:is(.dark *){border-color:#25272e}.dark\:border-amber-800\/40:is(.dark *){border-color:#953d0066}@supports (color:color-mix(in lab, red, red)){.dark\:border-amber-800\/40:is(.dark *){border-color:color-mix(in oklab, var(--color-amber-800) 40%, transparent)}}.dark\:border-amber-800\/60:is(.dark *){border-color:#953d0099}@supports (color:color-mix(in lab, red, red)){.dark\:border-amber-800\/60:is(.dark *){border-color:color-mix(in oklab, var(--color-amber-800) 60%, transparent)}}.dark\:border-emerald-800\/40:is(.dark *){border-color:#005f4666}@supports (color:color-mix(in lab, red, red)){.dark\:border-emerald-800\/40:is(.dark *){border-color:color-mix(in oklab, var(--color-emerald-800) 40%, transparent)}}.dark\:border-emerald-800\/60:is(.dark *){border-color:#005f4699}@supports (color:color-mix(in lab, red, red)){.dark\:border-emerald-800\/60:is(.dark *){border-color:color-mix(in oklab, var(--color-emerald-800) 60%, transparent)}}.dark\:border-rose-800\/40:is(.dark *){border-color:#a3003766}@supports (color:color-mix(in lab, red, red)){.dark\:border-rose-800\/40:is(.dark *){border-color:color-mix(in oklab, var(--color-rose-800) 40%, transparent)}}.dark\:border-rose-800\/60:is(.dark *){border-color:#a3003799}@supports (color:color-mix(in lab, red, red)){.dark\:border-rose-800\/60:is(.dark *){border-color:color-mix(in oklab, var(--color-rose-800) 60%, transparent)}}.dark\:bg-\[\#1a1c20\]:is(.dark *){background-color:#1a1c20}.dark\:bg-\[\#24262d\]:is(.dark *){background-color:#24262d}.dark\:bg-amber-950\/10:is(.dark *){background-color:#4619011a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-amber-950\/10:is(.dark *){background-color:color-mix(in oklab, var(--color-amber-950) 10%, transparent)}}.dark\:bg-amber-950\/40:is(.dark *){background-color:#46190166}@supports (color:color-mix(in lab, red, red)){.dark\:bg-amber-950\/40:is(.dark *){background-color:color-mix(in oklab, var(--color-amber-950) 40%, transparent)}}.dark\:bg-blue-950\/40:is(.dark *){background-color:#16245666}@supports (color:color-mix(in lab, red, red)){.dark\:bg-blue-950\/40:is(.dark *){background-color:color-mix(in oklab, var(--color-blue-950) 40%, transparent)}}.dark\:bg-blue-950\/50:is(.dark *){background-color:#16245680}@supports (color:color-mix(in lab, red, red)){.dark\:bg-blue-950\/50:is(.dark *){background-color:color-mix(in oklab, var(--color-blue-950) 50%, transparent)}}.dark\:bg-cyan-950\/50:is(.dark *){background-color:#05334580}@supports (color:color-mix(in lab, red, red)){.dark\:bg-cyan-950\/50:is(.dark *){background-color:color-mix(in oklab, var(--color-cyan-950) 50%, transparent)}}.dark\:bg-emerald-950\/10:is(.dark *){background-color:#002c221a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-emerald-950\/10:is(.dark *){background-color:color-mix(in oklab, var(--color-emerald-950) 10%, transparent)}}.dark\:bg-emerald-950\/40:is(.dark *){background-color:#002c2266}@supports (color:color-mix(in lab, red, red)){.dark\:bg-emerald-950\/40:is(.dark *){background-color:color-mix(in oklab, var(--color-emerald-950) 40%, transparent)}}.dark\:bg-purple-950\/40:is(.dark *){background-color:#3c036666}@supports (color:color-mix(in lab, red, red)){.dark\:bg-purple-950\/40:is(.dark *){background-color:color-mix(in oklab, var(--color-purple-950) 40%, transparent)}}.dark\:bg-purple-950\/50:is(.dark *){background-color:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark\:bg-purple-950\/50:is(.dark *){background-color:color-mix(in oklab, var(--color-purple-950) 50%, transparent)}}.dark\:bg-rose-950\/10:is(.dark *){background-color:#4d02181a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-rose-950\/10:is(.dark *){background-color:color-mix(in oklab, var(--color-rose-950) 10%, transparent)}}.dark\:bg-rose-950\/40:is(.dark *){background-color:#4d021866}@supports (color:color-mix(in lab, red, red)){.dark\:bg-rose-950\/40:is(.dark *){background-color:color-mix(in oklab, var(--color-rose-950) 40%, transparent)}}.dark\:bg-sky-950\/50:is(.dark *){background-color:#052f4a80}@supports (color:color-mix(in lab, red, red)){.dark\:bg-sky-950\/50:is(.dark *){background-color:color-mix(in oklab, var(--color-sky-950) 50%, transparent)}}.dark\:bg-slate-100:is(.dark *){background-color:var(--color-slate-100)}.dark\:from-black:is(.dark *){--tw-gradient-from:var(--color-black);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\:via-zinc-950:is(.dark *){--tw-gradient-via:var(--color-zinc-950);--tw-gradient-via-stops:var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.dark\:to-neutral-950:is(.dark *){--tw-gradient-to:var(--color-neutral-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\:text-amber-300:is(.dark *){color:var(--color-amber-300)}.dark\:text-amber-400:is(.dark *){color:var(--color-amber-400)}.dark\:text-blue-400:is(.dark *){color:var(--color-blue-400)}.dark\:text-cyan-400:is(.dark *){color:var(--color-cyan-400)}.dark\:text-emerald-300:is(.dark *){color:var(--color-emerald-300)}.dark\:text-emerald-400:is(.dark *){color:var(--color-emerald-400)}.dark\:text-purple-400:is(.dark *){color:var(--color-purple-400)}.dark\:text-rose-300:is(.dark *){color:var(--color-rose-300)}.dark\:text-rose-400:is(.dark *){color:var(--color-rose-400)}.dark\:text-sky-400:is(.dark *){color:var(--color-sky-400)}.dark\:text-slate-900:is(.dark *){color:var(--color-slate-900)}.dark\:text-white:is(.dark *){color:var(--color-white)}.dark\:text-zinc-400:is(.dark *){color:var(--color-zinc-400)}.dark\:accent-slate-100:is(.dark *){accent-color:var(--color-slate-100)}@media (hover:hover){.dark\:hover\:bg-\[\#202228\]:is(.dark *):hover{background-color:#202228}.dark\:hover\:text-white:is(.dark *):hover{color:var(--color-white)}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}}:root{--radius:1rem;--background:210 40% 98%;--foreground:222 47% 11%;--card:0 0% 100%;--card-foreground:222 47% 11%;--popover:0 0% 100%;--popover-foreground:222 47% 11%;--primary:262 83% 58%;--primary-foreground:210 40% 98%;--secondary:262 83% 58%;--secondary-foreground:210 40% 98%;--muted:210 40% 96%;--muted-foreground:215 16% 47%;--accent:210 40% 96%;--accent-foreground:222 47% 11%;--destructive:0 74% 42%;--destructive-foreground:210 40% 98%;--success:142 71% 45%;--success-foreground:210 40% 98%;--warning:38 92% 50%;--warning-foreground:222 47% 11%;--border:214 32% 91%;--input:214 32% 91%;--ring:262 83% 58%;--chart-1:262 83% 58%;--chart-2:142 71% 45%;--chart-3:38 92% 50%;--chart-4:262 83% 58%;--chart-5:0 74% 42%}.dark{--background:0 0% 4%;--foreground:0 0% 95%;--card:0 0% 8%;--card-foreground:0 0% 95%;--popover:0 0% 9%;--popover-foreground:0 0% 95%;--primary:263 70% 60%;--primary-foreground:0 0% 98%;--secondary:0 0% 14%;--secondary-foreground:0 0% 95%;--muted:0 0% 12%;--muted-foreground:0 0% 64%;--accent:0 0% 14%;--accent-foreground:0 0% 95%;--destructive:0 62% 45%;--destructive-foreground:0 0% 98%;--success:142 70% 45%;--success-foreground:0 0% 98%;--warning:38 92% 50%;--warning-foreground:0 0% 98%;--border:0 0% 18%;--input:0 0% 18%;--ring:263 70% 60%;--chart-1:262 83% 65%;--chart-2:142 70% 50%;--chart-3:38 92% 55%;--chart-4:217 90% 65%;--chart-5:0 74% 55%}*,:before,:after,body,button,input,select,textarea,optgroup,option{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important}body{background-color:hsl(var(--background));color:hsl(var(--foreground));-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;margin:0}html,body,#root{height:100%}*{-webkit-tap-highlight-color:transparent}input::-ms-reveal{visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important}input::-ms-clear{visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important}input[type=password]::-ms-reveal{visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important}input[type=password]::-ms-clear{visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important}input[type=text]::-ms-reveal{visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important}input[type=text]::-ms-clear{visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important}::-ms-reveal{visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important}::-ms-clear{visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;display:none!important}button[aria-label*=password i],button[aria-label*=Password i],.password-toggle-btn{box-shadow:none!important;background:0 0!important;border:none!important;outline:none!important}button[aria-label*=password i]:focus,button[aria-label*=password i]:focus-visible,button[aria-label*=Password i]:focus,button[aria-label*=Password i]:focus-visible{box-shadow:none!important;border:none!important;outline:none!important}.text-title{letter-spacing:-.025em;font-size:1.5rem;font-weight:700;line-height:2rem}.text-table-header{letter-spacing:.08em;text-transform:uppercase;color:hsl(var(--muted-foreground));font-size:.75rem;font-weight:600;line-height:1rem}.text-muted-label{color:hsl(var(--muted-foreground));font-size:.875rem;line-height:1.25rem}.text-mono-value{color:hsl(var(--muted-foreground));font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.75rem;line-height:1rem}.dark{color-scheme:dark}.dark .app{color:#f4f4f5!important;background-color:#0a0a0a!important}.dark .app-header{backdrop-filter:blur(12px);color:#f4f4f5!important;background-color:#121212!important;border-bottom-color:#27272a!important}.dark .main-content{color:#f4f4f5!important;background-color:#0a0a0a!important}.sidebar{background-color:#0c1427!important;border-right-color:#ffffff14!important}.dark .sidebar{background-color:#0c0d10!important;border-right-color:#1a1c20!important}.sidebar-header{background-color:#0c1427!important;border-bottom-color:#ffffff14!important}.dark .sidebar-header{background-color:#0c0d10!important;border-bottom-color:#1a1c20!important}.sidebar-footer{color:#64748b!important}.dark .sidebar-footer{color:#5d636f!important}.sidebar-version{color:#64748b!important}.dark .sidebar-version{color:#5d636f!important}.nav-section-title{color:#64748b!important}.dark .nav-section-title{color:#5d636f!important}.nav-section-title:hover,.dark .nav-section-title:hover{color:#94a3b8!important}.nav-item,.dark .nav-item{color:#94a3b8!important;background:0 0!important;border-color:#0000!important}.nav-item:hover,.dark .nav-item:hover{color:#fff!important;background-color:#ffffff0f!important}.nav-item.active,.dark .nav-item.active{color:#fff!important;background:#2e2d6b!important;border-radius:10px!important;box-shadow:0 4px 14px #2e2d6b73!important}.nav-item.active .nav-icon,.dark .nav-item.active .nav-icon{color:#fff!important}.nav-beta-badge,.dark .nav-beta-badge{color:#a855f7!important;background-color:#1e293b!important;border-color:#334155!important}.dark .nav-chevron{color:#52525b!important}.dark .breadcrumb-bar{background-color:#0a0a0a!important;border-bottom-color:#27272a!important}.dark .breadcrumb{color:#a1a1aa!important}.dark .breadcrumb-item{color:#71717a!important}.dark .breadcrumb-item:last-child{color:#f4f4f5!important}.dark .breadcrumb-sep{color:#52525b!important}.dark .breadcrumb-refresh-btn{color:#a1a1aa!important;background-color:#18181b!important;border-color:#27272a!important}.dark .breadcrumb-refresh-btn:hover{color:#f4f4f5!important;background-color:#27272a!important}.dark .header-user{background-color:#18181b!important;border-color:#27272a!important;box-shadow:0 2px 6px #0000004d!important}.dark .header-user:hover{background-color:#27272a!important;border-color:#3f3f46!important}.dark .user-name{color:#f4f4f5!important}.dark .user-email{color:#a1a1aa!important}.dark .user-chevron{color:#71717a!important}.dark .icon-btn{color:#a1a1aa!important;background-color:#18181b!important;border-color:#27272a!important}.dark .icon-btn:hover{color:#fff!important;background-color:#27272a!important;border-color:#3f3f46!important}.dark .icon-btn.active{color:#c084fc!important;background-color:#27272a!important;border-color:#2e2d6b!important}.dark .search-input{color:#f4f4f5!important;background-color:#18181b!important;border-color:#27272a!important}.dark .search-input:focus{background-color:#1f1f23!important;border-color:#2e2d6b!important}.dark .profile-card,.dark .header-popover,.dark .settings-card{color:#f4f4f5!important;background-color:#141414!important;border-color:#27272a!important;box-shadow:0 16px 40px -8px #000000b3!important}.dark .profile-header,.dark .header-popover-head{background-color:#1a1a1a!important;border-bottom-color:#27272a!important}.dark .profile-name-text{color:#f4f4f5!important}.dark .profile-email-text{color:#a1a1aa!important}.dark .profile-menu-item{color:#d4d4d8!important}.dark .profile-menu-item:hover{color:#fff!important;background-color:#222225!important}.dark .profile-divider{background-color:#27272a!important}.dark .header-item{color:#f4f4f5!important;border-bottom-color:#27272a!important}.dark .header-item:hover{background-color:#1c1c1f!important}.dark .units-page{color:#f4f4f5!important;background:#0a0a0a!important}.dark .units-container{background:0 0!important}.dark .units-sidebar{box-shadow:none!important;background:0 0!important;border:none!important}.dark .sidebar-section{background-color:#0000!important}.dark .sidebar-section-flush{border-bottom-color:#27272a!important}.dark .units-panel-header{color:#f4f4f5!important;background-color:#1a1a1a!important;border-bottom-color:#27272a!important}.dark .locations-panel-header{background-color:#1a1a1a!important;border-bottom-color:#27272a!important}.dark .locations-header-title{color:#f4f4f5!important}.dark .sidebar-action-card,.dark .sidebar-section-card,.dark .sidebar-action-card:hover,.dark .sidebar-section-card:hover{box-shadow:none!important;color:#f4f4f5!important;background-color:#141414!important;border-color:#27272a!important;outline:none!important}.dark .selection-header-card{background-color:#1a1a1a!important;border:1px solid #27272a!important;box-shadow:0 4px 16px #0000004d!important}.dark .main-card{color:#f4f4f5!important;background-color:#141414!important;border-color:#27272a!important;box-shadow:0 4px 20px #0006!important}.dark .overview-table-wrap{background-color:#141414!important}.dark .overview-table{color:#f4f4f5!important;background-color:#141414!important}.dark,.dark body,.dark #root,.dark .app,.dark .app-body,.dark .main-content,.dark p,.dark span,.dark label,.dark a,.dark button,.dark input,.dark select,.dark textarea,.dark h1,.dark h2,.dark h3,.dark h4,.dark h5,.dark h6,.dark .sidebar .nav-item,.dark .sidebar .nav-item .nav-label,.dark .sidebar .nav-item .nav-icon,.dark .nav-item,.dark .nav-label,.dark .nav-icon,.dark .nav-section-title,.dark .sidebar-footer,.dark .sidebar-version,.dark .breadcrumb,.dark .breadcrumb-item,.dark .breadcrumb-sep,.dark .breadcrumb-refresh-btn,.dark .sidebar-card-title,.dark .sidebar-section-title,.dark .sidebar-section h3,.dark .filter-label,.dark .display-options label,.dark .filter-sub,.dark .checkbox-label,.dark .status-option-label,.dark .overview-btn,.dark .locations-overview-btn,.dark .locations-list button,.dark .location-name,.dark .location-count-badge,.dark .selection-title-section h2,.dark .selection-subtitle,.dark .health-stat .stat-label,.dark .health-stat .stat-value,.dark .locations-header-title,.dark .locations-header-subtitle,.dark .overview-table thead th,.dark .overview-table tbody tr,.dark .overview-table td,.dark .overview-table th,.dark .overview-location,.dark .overview-row-name,.dark .overview-health-percent,.dark .overview-health-foot,.dark .overview-health-count strong,.dark .overview-health-count span,.dark .user-name,.dark .user-email,.dark .user-chevron,.dark .icon-btn,.dark .muted,.dark .text-muted,.dark .group-select,.dark .units-quickbar-btn,.dark .units-quickbar-btn.active,.dark .sidebar .nav-item.active,.dark .sidebar .nav-item.active .nav-label,.dark .nav-item.active,.dark .nav-item.active .nav-label,.dark .location-item,.dark .location-item.active,.dark .location-item .location-name,.dark .location-item.active .location-name,.dark .location-item .location-count,.dark .location-item.active .location-count,.dark .selection-header-card h2,.dark .selection-header-card p,.dark .selection-header-card span,.dark .selection-header-card button{color:#fff!important}.dark .overview-table thead th{color:#fff!important;background-color:#1a1a1a!important;border-bottom-color:#27272a!important}.dark .overview-table tbody tr{color:#fff!important;background-color:#141414!important;border-bottom-color:#222225!important}.dark .overview-table tbody tr:hover{background-color:#1e1e22!important}.dark .overview-location,.dark .overview-row-name,.dark .overview-health-count strong,.dark .overview-health-count span,.dark .overview-health-percent,.dark .overview-health-foot{color:#fff!important}.dark .overview-bar{background-color:#27272a!important}.dark .pagination-select,.dark .units-page-size select{color:#f4f4f5!important;background-color:#18181b!important;border-color:#27272a!important}.dark .units-page-buttons button{color:#a1a1aa!important}.dark .units-page-buttons button:hover:not(:disabled):not(.active){color:#fff!important;background-color:#222225!important;border-color:#2e2e32!important}.dark .overview-btn{color:#a1a1aa!important;background-color:#222225!important;border-color:#2e2e32!important}.dark .overview-btn:hover:not(:disabled){color:#f4f4f5!important;background-color:#2d2d32!important}.dark .location-item{color:#a1a1aa!important;background-color:#18181b!important;border-color:#222225!important}.dark .location-item:hover{color:#fff!important;background-color:#222225!important;border-color:#2e2e32!important}.dark .location-item.active{color:#c084fc!important;background-color:#27272a!important;border-color:#2e2d6b!important}.dark .location-name{color:#fff!important}.dark .location-count,.dark .location-count-badge,.dark .dash-location-count,.dark .location-item .location-count{color:#c084fc!important;background-color:#241838!important;border:1px solid #2e2d6b!important;font-weight:700!important}.dark .location-item.active .location-count{color:#fff!important;background-color:#2e2d6b!important;border:1px solid #5c59b6!important;font-weight:700!important}.dark .group-select,.dark .location-select,.dark select{color:#fff!important;background-color:#18181b!important;border-color:#27272a!important}.dark select option,.dark select optgroup,.dark .group-select option,.dark .group-select optgroup,.dark .location-select option,.dark .dash-group-select option,.dark .pagination-select option,.dark .scope-select option,.dark .pref-select option,.dark option,.dark optgroup{color:#fff!important;background-color:#18181b!important}.dark .group-select:focus,.dark .location-select:focus,.dark select:focus{color:#fff!important;background-color:#1f1f23!important;border-color:#2e2d6b!important}.dark .filter-group{border-top-color:#27272a!important}.dark .filter-label{color:#71717a!important}.dark .filter-toggle-options{background-color:#0000!important;border:none!important;flex-direction:column!important;gap:.55rem!important;display:flex!important}.dark .filter-toggle-item{color:#e4e4e7!important;border-bottom:none!important}.dark .filter-toggle-item:hover{color:#fff!important;background-color:#0000!important}.dark .units-quickbar-section{background-color:#18181b!important;border-color:#27272a!important}.dark .units-quickbar-btn{color:#a1a1aa!important}.dark .units-quickbar-btn:hover{color:#fff!important;background-color:#27272a!important}.dark .units-quickbar-btn.active{color:#c084fc!important;background-color:#2e2440!important;border-color:#2e2d6b!important}.dark .unit-card,.dark .device-card,.dark .device-item{color:#f4f4f5!important;background-color:#141414!important;border-color:#27272a!important}.dark .unit-card:hover,.dark .device-card:hover{background-color:#18181b!important;border-color:#3f3f46!important}.dark .unit-card-head,.dark .device-card-head{color:#f4f4f5!important;border-bottom-color:#222225!important}.dark .unit-card-title,.dark .device-card-title{color:#f4f4f5!important}.dark .unit-card-meta,.dark .device-card-meta{color:#a1a1aa!important}.dark .dashboard-topbar-right,.dark .dash-view-toggle,.dark .dash-card,.dark .dash-metric-card,.dark .stat-card,.dark .office-card,.dark .sites-card,.dark .admin-card,.dark .panel,.dark .card,.dark .list-card{color:#f4f4f5!important;background-color:#141414!important;border-color:#27272a!important}.dark .dashboard-page,.dark .office-page,.dark .sites-page,.dark .admin-page{color:#f4f4f5!important;background:0 0!important}.dark .admin-header h2,.dark .section-title,.dark .dash-card-title{color:#f4f4f5!important}.dark .admin-header p,.dark .section-subtitle,.dark .muted{color:#a1a1aa!important}.dark input,.dark textarea{color:#f4f4f5!important;background-color:#18181b!important;border-color:#27272a!important}.dark table{color:#f4f4f5!important}.dark tr:hover{background-color:#1e1e22!important}.dark th{color:#a1a1aa!important;background-color:#1a1a1a!important;border-bottom-color:#27272a!important}.dark td{color:#f4f4f5!important;border-bottom-color:#222225!important}.dark .permission-item,.dark .api-key-item,.dark .audit-row{color:#f4f4f5!important;background-color:#18181b!important;border-color:#27272a!important}.dark .thumb-caption{color:#fff!important;background-color:#141414!important;border:1px solid #27272a!important}.dark .diag-ui-tabs{background-color:#141414!important;border:1px solid #27272a!important}.dark .diag-ui-tabs .diag-tab{color:#a1a1aa!important;background:0 0!important;border-color:#0000!important}.dark .diag-ui-tabs .diag-tab.active{color:#fff!important;background-color:#1f1f23!important;border:1px solid #3f3f46!important}.dark .diag-ui-card,.dark .diag-ui-stack{color:#fff!important;background-color:#141414!important;border:1px solid #27272a!important}.dark .diag-ui-card-head{background-color:#1a1a1a!important;border-bottom:1px solid #27272a!important}.dark .diag-ui-title{color:#fff!important}.dark .diag-ui-title-icon,.dark .diag-ui-metric-icon{color:#8b5cf6!important;background-color:#1f1f23!important}.dark .diag-range-pills{background-color:#1a1a1a!important;border:1px solid #27272a!important}.dark .diag-range-pills button{color:#a1a1aa!important}.dark .diag-range-pills button.active{color:#fff!important;background-color:#27272a!important}.dark .diag-ui-chart,.dark .diag-ui-chart-wrap{background-color:#141414!important}.dark .diag-ui-metrics,.dark .diag-ui-metric,.dark .diag-ui-table-wrap,.dark .diag-ui-table,.dark .diag-ui-table th,.dark .diag-ui-table td,.dark .activity-panel,.dark .activity-list,.dark .activity-entry{color:#fff!important;background-color:#141414!important;border-color:#27272a!important}.dark .empty-activity{color:#a1a1aa!important;background-color:#141414!important;border:1px solid #27272a!important;border-radius:8px!important}.dark .activity-textarea{color:#fff!important;background-color:#141414!important;border:1px solid #27272a!important}.dark .scope-select{color:#fff!important;background-color:#1a1a1a!important;border:1px solid #27272a!important}.dark .delete-activity{color:#fff!important;background-color:#1f1f23!important;border:1px solid #27272a!important}.dark .screenshot-placeholder,.dark .livecam-placeholder,.dark .liveview-placeholder{color:#a1a1aa!important;background-color:#141414!important;border-color:#27272a!important}.dark .control-panel-content,.dark .control-panel-content .btn{color:#fff!important;background-color:#141414!important;border-color:#27272a!important}.dark .control-panel-content .btn:hover{color:#fff!important;background-color:#1f1f23!important}.dark .telemetry-card,.dark .telemetry-metric,.dark .telemetry-chart,.dark .telemetry-chart-wrap,.dark .telemetry-history{color:#fff!important;background-color:#141414!important;border-color:#27272a!important}.dark .devices-container.techdesk-old,.dark .techdesk-old,.dark.techdesk-old{background:0 0!important}.dark .techdesk-old .devices-left-panel,.dark .techdesk-old .devices-center-panel,.dark .techdesk-old .devices-right-panel,.dark .techdesk-old .device-section,.dark .techdesk-old .control-section,.dark .techdesk-old .players-panel.techdesk-players,.dark .techdesk-old .player-card,.dark .devices-right-panel,.dark .players-panel,.dark .player-card{box-shadow:none!important;color:#fff!important;background-color:#141414!important;border-color:#27272a!important}.dark .techdesk-old .players-panel.techdesk-players .info-grid .row,.dark .info-grid .row,.dark .player-system-info .info-grid .row{color:#fff!important;border-bottom:1px solid #27272a!important}.dark .techdesk-old .device-section-header,.dark .techdesk-old .control-section-header,.dark .techdesk-old .system-info-header{color:#fff!important;background-color:#1a1a1a!important;border-bottom-color:#27272a!important}.dark .diag-ui-events,.dark .diag-ui-event{color:#fff!important;background-color:#141414!important;border:1px solid #27272a!important}.dark .diag-ui-events-title{color:#fff!important;border-bottom:1px solid #27272a!important}.dark .diag-ui-event strong,.dark .diag-ui-event em{color:#fff!important}.dark .profile-permission-list,.dark .profile-panel,.dark .profile-security-list{box-shadow:none!important;color:#fff!important;background-color:#141414!important;border:none!important;border-radius:12px!important;outline:none!important}.dark .profile-security-row{color:#fff!important;background:0 0!important;border:none!important;border-bottom:1px solid #27272a!important;border-radius:0!important}.dark .profile-security-row:last-child{border-bottom:none!important}.dark .profile-permission-row{color:#fff!important;border-bottom:1px solid #27272a!important}.dark .profile-permission-row:last-child{border-bottom:none!important}.dark .profile-permission-icon{color:#8b5cf6!important;background-color:#241838!important}.dark .profile-permission-name,.dark .profile-permission-section h3,.dark .profile-permissions-summary{color:#fff!important}.dark .profile-permission-access{color:#a1a1aa!important}.dark .profile-row{color:#fff!important;border-bottom:1px solid #27272a!important}.dark .profile-row:last-child{border-bottom:none!important}.dark .profile-row-label{color:#a1a1aa!important}.dark .profile-row-value,.dark .profile-security-copy strong{color:#fff!important}.dark .profile-security-copy span,.dark .profile-security-status{color:#a1a1aa!important}.dark .profile-security-action{color:#c084fc!important;background-color:#241838!important;border:1px solid #2e2d6b!important}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0), var(--tw-enter-translate-y,0), 0) scale3d(var(--tw-enter-scale,1), var(--tw-enter-scale,1), var(--tw-enter-scale,1)) rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0), var(--tw-exit-translate-y,0), 0) scale3d(var(--tw-exit-scale,1), var(--tw-exit-scale,1), var(--tw-exit-scale,1)) rotate(var(--tw-exit-rotate,0))}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}

