:root {
  --sidebar-width: 264px;
  --sidebar-collapsed: 72px;
  --topbar-height: 64px;
  --card-radius: 0.875rem;
  --color-primary: #4F6EF7;
  --color-primary-dark: #3855E0;
  --color-primary-light: rgba(79, 110, 247, 0.09);
  --color-primary-glow: rgba(79, 110, 247, 0.18);
  --color-secondary: #8B5CF6;
  --color-success: #10B981;
  --color-danger: #EF4444;
  --color-warning: #F59E0B;
  --color-info: #06B6D4;
  --color-accent: #F59E0B;
  --sidebar-bg: #13142B;
  --sidebar-bg2: #1A1B35;
  --sidebar-text: #8A90B8;
  --sidebar-text-hover: #CDD2F8;
  --sidebar-item-active: rgba(79, 110, 247, 0.16);
  --sidebar-item-active-border: #4F6EF7;
  --sidebar-border: rgba(255, 255, 255, 0.05);
  --sidebar-section-color: #474A6B;
  --topbar-bg: #FFFFFF;
  --topbar-border: #EEF0F8;
  --topbar-shadow: 0 1px 0 #EEF0F8, 0 2px 8px rgba(79, 110, 247, 0.04);
  --body-bg: #F4F5FA;
  --body-bg2: #ECEEF7;
  --body-text: #1C1F3B;
  --body-text-muted: #6B6F98;
  --body-border: #E4E6F0;
  --body-border-strong:#CDD0E8;
  --card-bg: #FFFFFF;
  --card-bg2: #F8F9FE;
  --card-border: #E8EAF4;
  --card-shadow: 0 1px 2px rgba(30, 35, 90, 0.04), 0 4px 16px rgba(79, 110, 247, 0.06);
  --card-shadow-hover: 0 4px 24px rgba(79, 110, 247, 0.14), 0 1px 4px rgba(30, 35, 90, 0.06);
  --font: DM Sans, Plus Jakarta Sans, system-ui, sans-serif;
  --font-mono: JetBrains Mono, Fira Code, monospace;
  --transition-fast: 0.13s ease;
  --transition-base: 0.22s ease;
  --transition-sidebar: 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-bs-theme=dark] {
  --sidebar-bg: #070C1A;
  --sidebar-bg2: #0D1220;
  --sidebar-border:rgba(255, 255, 255, 0.04);
  --topbar-bg: #0F1320;
  --topbar-border: #1A2035;
  --topbar-shadow: 0 1px 0 #1A2035, 0 2px 8px rgba(0, 0, 0, 0.3);
  --body-bg: #080D1C;
  --body-bg2: #0C1220;
  --body-text: #CDD2F0;
  --body-text-muted:#5C6285;
  --body-border: #1A2035;
  --body-border-strong:#1E2540;
  --card-bg: #0F1320;
  --card-bg2: #141928;
  --card-border: #1E2540;
  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.25);
  --card-shadow-hover: 0 4px 24px rgba(79, 110, 247, 0.22);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--body-bg) !important;
  color: var(--body-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.22s ease, color 0.22s ease;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: rgba(79, 110, 247, 0.18);
  color: var(--body-text);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--body-border) transparent;
}
*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
*::-webkit-scrollbar-thumb {
  background: var(--body-border);
  border-radius: 3px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

button {
  font-family: inherit;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-in-down {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes sb-popup-in {
  from {
    opacity: 0;
    transform: translateX(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.anim-fiu {
  animation: fade-in-up 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@media (min-width: 768px) {
  .anim-sil {
    animation: slide-in-left 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
  }
}
.spin {
  animation: spin 0.8s linear infinite;
}

.pulse {
  animation: pulse 1.5s ease infinite;
}

.d1 {
  animation-delay: 0.04s;
}

.d2 {
  animation-delay: 0.08s;
}

.d3 {
  animation-delay: 0.12s;
}

.d4 {
  animation-delay: 0.16s;
}

.d5 {
  animation-delay: 0.2s;
}

.d6 {
  animation-delay: 0.24s;
}

.d7 {
  animation-delay: 0.28s;
}

.d8 {
  animation-delay: 0.32s;
}

.skeleton {
  background: linear-gradient(90deg, var(--body-border) 25%, var(--body-bg2) 50%, var(--body-border) 75%);
  background-size: 1000px 100%;
  animation: shimmer 1.6s infinite;
  border-radius: 0.375rem;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--body-border);
  border-radius: 3px;
}

.dashboard-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.dashboard-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.table-wrap, .table-responsive-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sidebar.collapsed .nav-chevron, .sidebar.collapsed .sidebar-section, .sidebar.collapsed .nav-section-title {
  display: none;
}
.sidebar.collapsed .nav-group-body {
  max-height: 0 !important;
  pointer-events: none;
}
.sidebar.collapsed .nav-group-hd {
  cursor: pointer;
  position: relative;
}
.sidebar.collapsed .nav-li {
  margin: 0 0.375rem 0.0625rem;
}

#sb-main-popup {
  position: fixed;
  left: calc(var(--sidebar-collapsed) + 8px);
  top: 0;
  min-width: 200px;
  max-width: 240px;
  background: var(--sidebar-bg2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.875rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 1050;
  padding: 0.5rem;
  display: none;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
#sb-main-popup.visible {
  display: block;
}
#sb-main-popup .popup-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sidebar-section-color);
  padding: 0.5rem 0.75rem 0.375rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 0.25rem;
}
#sb-main-popup .nav-lnk {
  color: var(--sidebar-text);
  background: transparent;
  border: none;
  width: 100%;
  border-radius: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.825rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: background 0.13s ease;
  font-family: inherit;
}
#sb-main-popup .nav-lnk:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--sidebar-text-hover);
}
#sb-main-popup .nav-lnk.active {
  background: var(--sidebar-item-active);
  color: #7B9FFF;
}

.mobile-backdrop, .sidebar-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1199;
  animation: backdrop-in 0.2s ease;
}

.stats-ribbon {
  display: flex;
  gap: 1px;
  background: var(--card-border);
  border-radius: 1rem;
  overflow: hidden;
}

.stats-ribbon-cell {
  flex: 1;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  text-align: center;
}

.stats-ribbon-val {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--body-text);
  line-height: 1;
}

.stats-ribbon-lbl {
  font-size: 0.7rem;
  color: var(--body-text-muted);
  margin-top: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stats-ribbon-delta {
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.cov-1 {
  background: linear-gradient(135deg, #4F6EF7, #8B5CF6);
}

.cov-2 {
  background: linear-gradient(135deg, #10B981, #06B6D4);
}

.cov-3 {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
}

.cov-4 {
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
}

.cov-5 {
  background: linear-gradient(135deg, #06B6D4, #10B981);
}

.cov-6 {
  background: linear-gradient(135deg, #EF4444, #F97316);
}

.cov-7 {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.cov-8 {
  background: linear-gradient(135deg, #f7971e, #ffd200);
}

.ldot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.dept-eng {
  background: rgba(79, 110, 247, 0.1);
  color: #4F6EF7;
  border-color: rgba(79, 110, 247, 0.2);
}

.dept-prd {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.2);
}

.dept-sal {
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
  border-color: rgba(245, 158, 11, 0.2);
}

.dept-mkt {
  background: rgba(6, 182, 212, 0.1);
  color: #06B6D4;
  border-color: rgba(6, 182, 212, 0.2);
}

.dept-hr {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
  border-color: rgba(139, 92, 246, 0.2);
}

.dept-fin {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.2);
}

.btn-icon-top {
  width: 36px;
  height: 36px;
  border-radius: 0.5625rem;
  border: 1px solid var(--body-border);
  background: var(--card-bg);
  color: var(--body-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.13s ease;
  font-size: 0.9375rem;
  position: relative;
  font-family: inherit;
}
.btn-icon-top:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.search-wrap {
  position: relative;
  flex: 1;
  max-width: 280px;
}

.search-icon-i {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--body-text-muted);
  font-size: 0.8125rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.375rem;
  border: 1px solid var(--body-border);
  border-radius: 2rem;
  background: var(--body-bg);
  color: var(--body-text);
  font-size: 0.845rem;
  font-family: var(--font);
  transition: all 0.13s ease;
  outline: none;
}
.search-input::placeholder {
  color: var(--body-text-muted);
}
.search-input:focus {
  border-color: var(--color-primary);
  background: var(--card-bg);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.breadcrumb-bar {
  font-size: 0.775rem;
  color: var(--body-text-muted);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.prof-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5625rem 0.625rem;
  border-radius: 0.5rem;
  color: var(--body-text);
  text-decoration: none !important;
  font-size: 0.845rem;
  font-weight: 500;
  transition: background 0.13s ease;
}
.prof-link:hover {
  background: var(--body-bg);
  color: var(--body-text);
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--sidebar-bg);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: width 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border-right: 1px solid var(--sidebar-border);
  will-change: width;
}
.sidebar.collapsed {
  width: var(--sidebar-collapsed);
}
.sidebar.collapsed .nav-text,
.sidebar.collapsed .brand-name,
.sidebar.collapsed .brand-tagline,
.sidebar.collapsed .nav-badge {
  display: none;
}
.sidebar.collapsed .nav-lnk {
  justify-content: center;
  padding: 0.625rem;
}
.sidebar.collapsed .nav-lnk::before {
  display: none;
}
.sidebar.collapsed .nav-chevron {
  display: none;
}
.sidebar.collapsed .sidebar-section {
  display: none;
}
.sidebar.mobile-open {
  transform: translateX(0) !important;
  box-shadow: 8px 0 40px rgba(0, 0, 0, 0.35);
}

.sidebar-brand {
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  padding: 0 1.125rem;
  gap: 0.875rem;
  border-bottom: 1px solid var(--sidebar-border);
  flex-shrink: 0;
  text-decoration: none !important;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #4F6EF7 0%, #8B5CF6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 110, 247, 0.45);
}

.brand-name {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #E8ECFF;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.625rem;
  color: var(--sidebar-section-color);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.08) transparent;
}
.sidebar-nav::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}
.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-nav {
  overscroll-behavior: contain;
}

.sidebar-section {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sidebar-section-color);
  padding: 0.875rem 1.25rem 0.3rem;
}

.nav-li {
  margin: 0 0.625rem 0.0625rem;
}

.nav-lnk {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5625rem 0.875rem;
  border-radius: 0.625rem;
  color: var(--sidebar-text);
  font-size: 0.845rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.13s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-family: var(--font);
  position: relative;
}
.nav-lnk:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.22);
}
.nav-lnk:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--sidebar-text-hover);
}
.nav-lnk.active {
  background: var(--sidebar-item-active);
  color: #7B9FFF;
  font-weight: 700;
}
.nav-lnk.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 3px;
  background: var(--sidebar-item-active-border);
  border-radius: 0 3px 3px 0;
}

.nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.nav-text {
  flex: 1;
}

.nav-badge {
  background: #EF4444;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.125rem 0.4rem;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  line-height: 14px;
}

.nav-group-hd {
  position: relative;
}

.nav-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: auto;
  color: var(--sidebar-section-color);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), color 0.13s ease;
  font-size: 0.65rem;
  will-change: transform;
}
.nav-chevron.open {
  transform: rotate(90deg);
  color: var(--sidebar-text-hover);
}

.nav-group-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: max-height;
}
.nav-group-body.open {
  max-height: 900px;
}

.nav-group-inner {
  padding-bottom: 0.25rem;
}

.nav-child {
  padding-left: 1rem !important;
  font-size: 0.825rem !important;
  color: var(--sidebar-text) !important;
}
.nav-child::before {
  display: none;
}
.nav-child .nav-icon {
  width: 18px !important;
  height: 18px !important;
  font-size: 0.875rem !important;
  color: var(--sidebar-section-color);
}
.nav-child:hover .nav-icon, .nav-child.active .nav-icon {
  color: inherit;
}
.nav-child.active {
  background: var(--sidebar-item-active) !important;
  color: #7B9FFF !important;
}
.nav-child.active::before {
  display: block !important;
  content: "";
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 2px;
  background: #7B9FFF;
  border-radius: 0 2px 2px 0;
}

.nav-group-hd.popup-open {
  background: rgba(79, 110, 247, 0.18);
  color: #7B9FFF;
}

#sb-popup .nav-lnk {
  color: var(--sidebar-text);
  background: transparent;
  border: none;
  width: 100%;
  border-radius: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.825rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.13s ease;
}
#sb-popup .nav-lnk:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--sidebar-text-hover);
}
#sb-popup .nav-lnk.active {
  background: var(--sidebar-item-active);
  color: #7B9FFF;
}

.sidebar-mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1199;
  animation: backdrop-in 0.2s ease;
}

.topbar {
  height: var(--topbar-height);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-border);
  box-shadow: var(--topbar-shadow);
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: background 0.22s ease, border-color 0.22s ease;
}

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

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.btn-top-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.5625rem;
  border: 1px solid var(--body-border);
  background: var(--card-bg);
  color: var(--body-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.13s ease;
  font-size: 0.9375rem;
  position: relative;
  font-family: var(--font);
}
.btn-top-icon:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}
.btn-top-icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.22);
}

.badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  background: #EF4444;
  border-radius: 50%;
  border: 2px solid var(--card-bg);
}

.topbar-search {
  position: relative;
  flex: 1;
  max-width: 280px;
}

.topbar-search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--body-text-muted);
  font-size: 0.8125rem;
  pointer-events: none;
}

.topbar-search-input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.375rem;
  border: 1px solid var(--body-border);
  border-radius: 2rem;
  background: var(--body-bg);
  color: var(--body-text);
  font-size: 0.845rem;
  font-family: var(--font);
  transition: all 0.13s ease;
  outline: none;
}
.topbar-search-input::placeholder {
  color: var(--body-text-muted);
}
.topbar-search-input:focus {
  border-color: var(--color-primary);
  background: var(--card-bg);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.topbar-breadcrumb {
  font-size: 0.775rem;
  color: var(--body-text-muted);
  display: flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.bc-sep {
  opacity: 0.5;
}

.bc-current {
  color: var(--body-text);
  font-weight: 700;
}

.topbar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 0.5625rem;
  background: linear-gradient(135deg, #4F6EF7, #8B5CF6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.8125rem;
  cursor: pointer;
  border: 2px solid rgba(79, 110, 247, 0.25);
  transition: all 0.13s ease;
}
.topbar-avatar:hover {
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.25);
}

.hr-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--card-bg);
  border: 1px solid var(--body-border);
  border-radius: 0.875rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  z-index: 999999;
  overflow: hidden;
  animation: fade-in-down 0.18s cubic-bezier(0.4, 0, 0.2, 1) both;
  scrollbar-width: thin;
  scrollbar-color: var(--body-border) transparent;
}
.hr-panel::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.hr-panel::-webkit-scrollbar-thumb {
  background: var(--body-border);
  border-radius: 3px;
}
.hr-panel::-webkit-scrollbar-track {
  background: transparent;
}

.theme-icon-light {
  display: block;
}

.theme-icon-dark {
  display: none;
}

[data-bs-theme=dark] .theme-icon-light {
  display: none;
}
[data-bs-theme=dark] .theme-icon-dark {
  display: block;
}

.main-wrapper {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-width: 0;
  transition: margin-left 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  background: var(--body-bg);
  will-change: margin-left;
}
.main-content.sidebar-collapsed {
  margin-left: var(--sidebar-collapsed);
}

.page-content {
  padding: 1.5rem;
  flex: 1;
  overscroll-behavior: contain;
}

.page-inner {
  max-width: 1400px;
}

.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--body-text);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.page-subtitle {
  font-size: 0.845rem;
  color: var(--body-text-muted);
  margin: 0.2rem 0 0;
  line-height: 1.5;
}

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

.divider-hr {
  height: 1px;
  background: var(--body-border);
  margin: 0.875rem 0;
}

.table-rw {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1200px) {
  :root {
    --sidebar-width: var(--sidebar-collapsed);
  }
  .sidebar .nav-text, .sidebar .brand-name, .sidebar .brand-tagline,
  .sidebar .nav-badge, .sidebar .sidebar-section {
    display: none;
  }
  .sidebar .nav-lnk {
    justify-content: center;
    padding: 0.625rem;
  }
  .sidebar .nav-chevron {
    display: none;
  }
}
@media (max-width: 767px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), width 0.28s;
    width: 264px !important;
    z-index: 1200;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.35);
  }
  .sidebar.mobile-open .nav-text, .sidebar.mobile-open .brand-name, .sidebar.mobile-open .brand-tagline,
  .sidebar.mobile-open .nav-badge, .sidebar.mobile-open .sidebar-section {
    display: block;
  }
  .sidebar.mobile-open .nav-lnk {
    justify-content: flex-start;
    padding: 0.5625rem 0.875rem;
  }
  .sidebar.mobile-open .nav-chevron {
    display: flex;
  }
  .sidebar-mobile-backdrop {
    display: block !important;
  }
  .main-content,
  .main-content.sidebar-collapsed {
    margin-left: 0 !important;
  }
  .topbar {
    padding: 0 0.875rem;
    gap: 0.5rem;
  }
  .topbar-search {
    display: none;
  }
  .topbar-breadcrumb {
    display: none;
  }
  .topbar-right {
    gap: 0.25rem;
  }
  .page-content {
    padding: 0.875rem;
  }
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 1rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  .hr-panel {
    width: calc(100vw - 1.75rem) !important;
    right: -0.875rem !important;
  }
  .kanban-board {
    display: flex !important;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  .kanban-col {
    min-width: 270px;
    flex-shrink: 0;
  }
}
@media (max-width: 480px) {
  .page-title {
    font-size: 1.2rem;
  }
  .stat-value {
    font-size: 1.4rem !important;
  }
  .page-content {
    padding: 0.75rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
.card-hr {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  transition: box-shadow 0.13s ease, border-color 0.13s ease;
}
.card-hr:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(79, 110, 247, 0.2);
}
.card-hr {
  overflow: hidden;
}

.card-hd {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--body-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-title-hr {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--body-text);
  margin: 0;
  letter-spacing: -0.01em;
}

.card-subtitle-hr {
  font-size: 0.8rem;
  color: var(--body-text-muted);
  margin: 0.1rem 0 0;
}

.card-bd {
  padding: 1.25rem;
}

.card-footer-hr {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--body-border);
  text-align: center;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: all 0.13s ease;
  cursor: default;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.06;
  transform: translate(20px, -20px);
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.stat-card.s-blue::before {
  background: linear-gradient(90deg, #4F6EF7, #8B5CF6);
}
.stat-card.s-blue::after {
  background: #4F6EF7;
}

.stat-card.s-green::before {
  background: linear-gradient(90deg, #10B981, #059669);
}
.stat-card.s-green::after {
  background: #10B981;
}

.stat-card.s-amber::before {
  background: linear-gradient(90deg, #F59E0B, #D97706);
}
.stat-card.s-amber::after {
  background: #F59E0B;
}

.stat-card.s-red::before {
  background: linear-gradient(90deg, #EF4444, #DC2626);
}
.stat-card.s-red::after {
  background: #EF4444;
}

.stat-card.s-cyan::before {
  background: linear-gradient(90deg, #06B6D4, #0891B2);
}
.stat-card.s-cyan::after {
  background: #06B6D4;
}

.stat-card.s-violet::before {
  background: linear-gradient(90deg, #8B5CF6, #7C3AED);
}
.stat-card.s-violet::after {
  background: #8B5CF6;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.875rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--body-text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--body-text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.stat-delta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-top: 0.75rem;
}

.delta-up {
  background: rgba(16, 185, 129, 0.1);
  color: rgb(5.3192859233%, 61.5042434884%, 42.8867427568%);
}

.delta-down {
  background: rgba(239, 68, 68, 0.1);
  color: rgb(92.4644064522%, 11.9277504105%, 11.9277504105%);
}

.delta-neutral {
  background: rgba(107, 111, 152, 0.1);
  color: var(--body-text-muted);
}

.donut-wrap {
  position: relative;
  display: inline-flex;
}
.donut-wrap svg {
  transform: rotate(-90deg);
}

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

.donut-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--body-text);
  display: block;
  line-height: 1;
}

.donut-lbl {
  font-size: 0.6875rem;
  color: var(--body-text-muted);
  font-weight: 500;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  align-items: start;
}

.kanban-col {
  background: var(--body-bg2);
  border-radius: var(--card-radius);
  padding: 1rem;
  border: 1px solid var(--body-border);
}

.kanban-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.kanban-title {
  font-size: 0.845rem;
  font-weight: 700;
  color: var(--body-text);
}

.kanban-count {
  background: var(--body-border);
  color: var(--body-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
}

.kcard {
  background: var(--card-bg);
  border-radius: 0.75rem;
  padding: 0.9375rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 1px 3px rgba(79, 110, 247, 0.05);
  cursor: grab;
  transition: all 0.13s ease;
  border: 1px solid var(--card-border);
}
.kcard:hover {
  transform: translateY(-1px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(79, 110, 247, 0.25);
}

.kcard-title {
  font-size: 0.845rem;
  font-weight: 600;
  color: var(--body-text);
  margin-bottom: 0.375rem;
  line-height: 1.4;
}

.kcard-meta {
  font-size: 0.75rem;
  color: var(--body-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
}

.kprio {
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.1875rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kprio-high {
  background: rgba(239, 68, 68, 0.09);
  color: rgb(92.4644064522%, 11.9277504105%, 11.9277504105%);
}

.kprio-med {
  background: rgba(245, 158, 11, 0.09);
  color: rgb(58.0145128918%, 37.3290103443%, 2.377643971%);
}

.kprio-low {
  background: rgba(16, 185, 129, 0.09);
  color: rgb(5.3192859233%, 61.5042434884%, 42.8867427568%);
}

.btn-hr {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.5625rem 1.125rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.13s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-hr:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.22);
}

.btn-primary-hr {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.5625rem 1.125rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.13s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary-hr:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.22);
}
.btn-primary-hr {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(79, 110, 247, 0.28);
}
.btn-primary-hr:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 4px 16px rgba(79, 110, 247, 0.38);
  transform: translateY(-1px);
  color: #fff;
}

.btn-outline-hr {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.5625rem 1.125rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.13s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-outline-hr:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.22);
}
.btn-outline-hr {
  background: transparent;
  color: var(--body-text);
  border-color: var(--body-border);
}
.btn-outline-hr:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.btn-ghost-hr {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.5625rem 1.125rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.13s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-ghost-hr:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.22);
}
.btn-ghost-hr {
  background: transparent;
  color: var(--body-text-muted);
  border-color: transparent;
}
.btn-ghost-hr:hover {
  background: var(--body-bg);
  color: var(--body-text);
}

.btn-danger-hr {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.5625rem 1.125rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.13s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-danger-hr:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.22);
}
.btn-danger-hr {
  background: rgba(239, 68, 68, 0.08);
  color: rgb(92.4644064522%, 11.9277504105%, 11.9277504105%);
  border-color: transparent;
}
.btn-danger-hr:hover {
  background: #EF4444;
  color: #fff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-success-hr {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.5625rem 1.125rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.13s ease;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-success-hr:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 110, 247, 0.22);
}
.btn-success-hr {
  background: rgba(16, 185, 129, 0.08);
  color: rgb(5.3192859233%, 61.5042434884%, 42.8867427568%);
  border-color: transparent;
}
.btn-success-hr:hover {
  background: #10B981;
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-sm-hr {
  padding: 0.375rem 0.75rem !important;
  font-size: 0.8rem !important;
  border-radius: 0.4375rem !important;
}

.btn-icon-hr {
  padding: 0.4375rem !important;
}

.badge-st {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.badge-st::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.st-active {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}
.st-active::before {
  background: #10B981;
}

.st-inactive {
  background: rgba(148, 163, 184, 0.1);
  color: #6B6F98;
}
.st-inactive::before {
  background: #94A3B8;
}

.st-pending {
  background: rgba(245, 158, 11, 0.1);
  color: #B45309;
}
.st-pending::before {
  background: #F59E0B;
}

.st-terminated {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
}
.st-terminated::before {
  background: #EF4444;
}

.st-leave {
  background: rgba(6, 182, 212, 0.1);
  color: #0891B2;
}
.st-leave::before {
  background: #06B6D4;
}

.st-available {
  background: rgba(139, 92, 246, 0.1);
  color: #7748E2;
}
.st-available::before {
  background: #8B5CF6;
}

.st-repair {
  background: rgba(239, 68, 68, 0.1);
  color: #DB3030;
}
.st-repair::before {
  background: #EF4444;
}

.av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  color: #fff;
}

.av-sm {
  width: 28px !important;
  height: 28px !important;
  font-size: 0.6875rem !important;
}

.av-lg {
  width: 44px !important;
  height: 44px !important;
  font-size: 1rem !important;
}

.av-xl {
  width: 56px !important;
  height: 56px !important;
  font-size: 1.2rem !important;
  border-radius: 0.875rem !important;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

.hr-table th {
  padding: 0.8125rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--body-text-muted);
  border-bottom: 2px solid var(--body-border);
  white-space: nowrap;
  background: var(--card-bg);
  text-align: left;
}

.hr-table td {
  padding: 0.9375rem 1rem;
  font-size: 0.845rem;
  color: var(--body-text);
  vertical-align: middle;
  border-bottom: 1px solid var(--body-border);
}

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

.hr-table tbody tr:hover td {
  background: rgba(79, 110, 247, 0.025);
}

.hr-table th[data-sort] {
  cursor: pointer;
  user-select: none;
}

.prog-bar-wrap {
  height: 5px;
  background: var(--body-border);
  border-radius: 999px;
  overflow: hidden;
}

.prog-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 1s ease;
}

.tl-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  position: relative;
}
.tl-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  width: 2px;
  bottom: 0;
  background: var(--body-border);
}

.tl-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tl-body {
  flex: 1;
  padding-top: 0.25rem;
}

.tl-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--body-text);
  margin: 0 0 0.125rem;
}

.tl-meta {
  font-size: 0.75rem;
  color: var(--body-text-muted);
}

.tl-desc {
  font-size: 0.8125rem;
  color: var(--body-text-muted);
  margin-top: 0.25rem;
  line-height: 1.55;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.375rem;
  height: 110px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  height: 100%;
  justify-content: flex-end;
}

.bar {
  width: 100%;
  border-radius: 0.3125rem 0.3125rem 0 0;
  min-height: 4px;
  transition: opacity 0.13s ease;
  cursor: pointer;
}
.bar:hover {
  opacity: 0.72;
}

.bar-lbl {
  font-size: 0.6rem;
  color: var(--body-text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.notif-item {
  display: flex;
  gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--body-border);
  cursor: pointer;
  transition: background 0.13s ease;
}
.notif-item:last-child {
  border-bottom: none;
}
.notif-item:hover {
  background: var(--body-bg);
}
.notif-item.unread {
  background: rgba(79, 110, 247, 0.04);
}

.notif-title {
  font-size: 0.845rem;
  font-weight: 700;
  color: var(--body-text);
  margin: 0 0 0.125rem;
}

.notif-text {
  font-size: 0.8rem;
  color: var(--body-text-muted);
  margin: 0;
  line-height: 1.5;
}

.notif-time {
  font-size: 0.72rem;
  color: var(--body-text-muted);
  margin-top: 0.25rem;
  display: block;
}

.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 0.375rem;
  flex-shrink: 0;
}

.tab-bar {
  display: flex;
  gap: 0.1875rem;
  padding: 0.25rem;
  background: var(--body-bg);
  border-radius: 0.75rem;
  border: 1px solid var(--body-border);
}

.tab-btn {
  flex: 1;
  padding: 0.4375rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--body-text-muted);
  font-family: var(--font);
  transition: all 0.13s ease;
}
.tab-btn.active {
  background: var(--card-bg);
  color: var(--body-text);
  box-shadow: 0 1px 4px rgba(79, 110, 247, 0.12), 0 0 0 1px rgba(79, 110, 247, 0.08);
}

.hr-input {
  width: 100%;
  padding: 0.5625rem 0.875rem;
  border: 1px solid var(--body-border);
  border-radius: 0.5625rem;
  background: var(--card-bg);
  color: var(--body-text);
  font-size: 0.845rem;
  font-family: var(--font);
  transition: all 0.13s ease;
  outline: none;
  appearance: none;
}
.hr-input::placeholder {
  color: var(--body-text-muted);
}
.hr-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-label-hr {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--body-text);
  margin-bottom: 0.375rem;
  display: block;
  letter-spacing: 0.01em;
}

.divider-hr {
  height: 1px;
  background: var(--body-border);
  margin: 1rem 0;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1875rem 0.625rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  gap: 0.375rem;
}

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

.text-muted-hr {
  color: var(--body-text-muted);
}

.fw-700 {
  font-weight: 700 !important;
}

.fw-800 {
  font-weight: 800 !important;
}

.hr-sidebar-tooltip {
  position: fixed;
  z-index: 999999;
  background: #0F172A;
  color: #F1F5F9;
  padding: 0.3rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.theme-midnight {
  --color-primary: #6366F1;
  --color-primary-dark: #4F46E5;
  --color-primary-light: rgba(99, 102, 241, 0.09);
  --color-primary-glow: rgba(99, 102, 241, 0.18);
  --color-secondary: #A78BFA;
  --sidebar-bg: #0A0E1A;
  --sidebar-bg2: #0F1526;
  --sidebar-item-active-border: #6366F1;
  --sidebar-item-active: rgba(99, 102, 241, 0.16);
  --body-bg: #F0F1F8;
  --body-text: #1A1D3A;
}

.theme-rose {
  --color-primary: #E11D48;
  --color-primary-dark: #BE123C;
  --color-primary-light: rgba(225, 29, 72, 0.09);
  --color-primary-glow: rgba(225, 29, 72, 0.18);
  --color-secondary: #F43F5E;
  --sidebar-item-active-border: #E11D48;
  --sidebar-item-active: rgba(225, 29, 72, 0.14);
}

.theme-forest {
  --color-primary: #059669;
  --color-primary-dark: #047857;
  --color-primary-light: rgba(5, 150, 105, 0.09);
  --color-primary-glow: rgba(5, 150, 105, 0.18);
  --color-secondary: #10B981;
  --sidebar-item-active-border: #059669;
  --sidebar-item-active: rgba(5, 150, 105, 0.14);
  --sidebar-bg: #0D1F17;
  --sidebar-bg2: #132A1F;
}

.theme-sunset {
  --color-primary: #EA580C;
  --color-primary-dark: #C2410C;
  --color-primary-light: rgba(234, 88, 12, 0.09);
  --color-primary-glow: rgba(234, 88, 12, 0.18);
  --color-secondary: #F97316;
  --sidebar-item-active-border: #EA580C;
  --sidebar-item-active: rgba(234, 88, 12, 0.14);
  --sidebar-bg: #1C1207;
  --sidebar-bg2: #251808;
}

/*# sourceMappingURL=hrnexus-core.css.map */
