@charset "UTF-8";
.card.card-flush {
  box-shadow: 0 1px 6px rgba(45, 52, 54, 0.04) !important;
  border: 1px solid #ece9e4 !important;
  border-radius: 14px !important;
  transition: box-shadow 0.2s ease;
}
.card.card-flush:hover {
  box-shadow: 0 2px 12px rgba(45, 52, 54, 0.07) !important;
}
.card.card-flush > .card-header {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
.card.card-flush .card-title span.fw-bold {
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

.card .btn-sm.btn-light {
  background: #f5f3ef !important;
  border-color: #e8e4df !important;
  color: #5a5e64 !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
}
.card .btn-sm.btn-primary {
  border-radius: 8px !important;
}
.card .badge {
  border-radius: 6px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
}

.e-grid {
  border: none !important;
  border-radius: 0 !important;
}
.e-grid .e-gridheader {
  border-bottom: 1px solid #ece9e4 !important;
}
.e-grid .e-gridheader th {
  padding: 0.85rem 0.75rem !important;
  background: #faf9f7 !important;
}
.e-grid .e-headercelldiv {
  font-weight: 600 !important;
  color: #9ca3a8 !important;
  font-size: 0.85rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}
.e-grid .e-gridcontent .e-row {
  border-bottom: 1px solid #ece9e4 !important;
}
.e-grid .e-gridcontent .e-row td {
  padding: 0.85rem 0.75rem !important;
  vertical-align: middle !important;
  color: #4a4e54 !important;
}
.e-grid .e-gridcontent .e-row:hover td {
  background: #f9f7f4 !important;
}
.e-grid .e-pager {
  border: none !important;
  border-top: 1px solid #ece9e4 !important;
  background: #faf9f7 !important;
}
.e-grid .e-pager .e-currentitem {
  background: #6b9ac4 !important;
  border-color: #6b9ac4 !important;
}
.e-grid .e-excelfilter .e-dlg-content {
  border-radius: 10px !important;
}

.e-accumulationchart {
  font-family: "DM Sans", -apple-system, sans-serif !important;
  margin: 0 auto !important;
  display: block !important;
}

.donut-center-wrap {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

[id^=container] text,
.e-chart text,
.e-accumulationchart text {
  font-family: "DM Sans", -apple-system, sans-serif !important;
}

.e-circulargauge {
  font-family: "DM Sans", -apple-system, sans-serif !important;
}

.toolbar-live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7fb685;
  display: inline-block;
  animation: toolbar-pulse 1.5s ease-in-out infinite;
}

@keyframes toolbar-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(127, 182, 133, 0.6);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(127, 182, 133, 0);
  }
}
.toolbar-btn-light.e-btn, .toolbar-btn-light.e-dropdown-btn {
  background: #f5f3ef !important;
  border-color: #e8e4df !important;
  color: #5a5e64 !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  font-family: "DM Sans", -apple-system, sans-serif !important;
}
.toolbar-btn-light.e-btn:hover, .toolbar-btn-light.e-dropdown-btn:hover {
  background: #ece9e4 !important;
}

.toolbar-btn-primary.e-btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  font-family: "DM Sans", -apple-system, sans-serif !important;
}

.toolbar-btn-success.e-btn {
  background: #7fb685 !important;
  border-color: #7fb685 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  font-family: "DM Sans", -apple-system, sans-serif !important;
}
.toolbar-btn-success.e-btn:hover {
  background: #65a76c !important;
  border-color: #65a76c !important;
}

.e-dropdown-popup ul {
  font-family: "DM Sans", -apple-system, sans-serif !important;
}
.e-dropdown-popup .e-item {
  font-size: 12px !important;
  padding: 8px 16px !important;
}
.e-dropdown-popup .e-item:hover {
  background: #f5f3ef !important;
}

.row.g-5.g-xl-10 {
  --bs-gutter-x: 1.75rem;
  --bs-gutter-y: 1.75rem;
}

.text-gray-900 {
  color: #2d3436 !important;
}

.text-gray-800 {
  color: #4a4e54 !important;
}

.text-gray-700 {
  color: #5a5e64 !important;
}

.text-gray-500 {
  color: #9ca3a8 !important;
}

.text-gray-400 {
  color: #b5b0aa !important;
}

.card-body::-webkit-scrollbar {
  width: 4px;
}
.card-body::-webkit-scrollbar-thumb {
  background: #ddd9d4;
  border-radius: 4px;
}

.app-sidebar {
  background: #2d3436 !important;
  border-right: none !important;
}
.app-sidebar .scroll-y::-webkit-scrollbar {
  width: 4px;
}
.app-sidebar .scroll-y::-webkit-scrollbar-track {
  background: transparent;
}
.app-sidebar .scroll-y::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.app-sidebar .menu-section {
  color: #7a7e84 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
}
.app-sidebar .menu-link {
  border-radius: 8px !important;
  padding: 10px 14px !important;
  margin: 1px 0 !important;
  transition: background 0.15s ease, color 0.15s ease !important;
}
.app-sidebar .menu-title {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #b5b0aa !important;
  transition: color 0.15s ease !important;
}
.app-sidebar .menu-arrow {
  color: #7a7e84 !important;
}
.app-sidebar .menu-item:not(.here) > .menu-link:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}
.app-sidebar .menu-item:not(.here) > .menu-link:hover .menu-title {
  color: #fff !important;
}
.app-sidebar .menu-item.here > .menu-link {
  background: rgba(107, 154, 196, 0.12) !important;
}
.app-sidebar .menu-item.here > .menu-link .menu-title {
  color: #6b9ac4 !important;
  font-weight: 600 !important;
}
.app-sidebar .menu-item.here > .menu-link .menu-emoji {
  filter: none;
}
.app-sidebar .menu-item.here > .menu-link .menu-arrow {
  color: #6b9ac4 !important;
}
.app-sidebar .menu-sub .menu-link {
  padding: 7px 14px 7px 38px !important;
}
.app-sidebar .menu-sub .menu-bullet .bullet-dot {
  width: 5px !important;
  height: 5px !important;
  background-color: #7a7e84 !important;
  border-radius: 50%;
}
.app-sidebar .menu-sub .menu-link.active {
  background: rgba(107, 154, 196, 0.08) !important;
}
.app-sidebar .menu-sub .menu-link.active .menu-title {
  color: #6b9ac4 !important;
  font-weight: 600 !important;
}
.app-sidebar .menu-sub .menu-link.active .bullet-dot {
  background-color: #6b9ac4 !important;
}
.app-sidebar .menu-sub .menu-link:not(.active):hover {
  background: rgba(255, 255, 255, 0.03) !important;
}
.app-sidebar .menu-sub .menu-link:not(.active):hover .menu-title {
  color: #e8e4df !important;
}

.app-sidebar-logo {
  padding: 24px 20px 18px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.sidebar-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #6b9ac4, #8b7fb5);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-logo-icon span {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  font-family: "Space Mono", monospace;
  letter-spacing: -1px;
}

.sidebar-logo-text {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
}

.sidebar-logo-sub {
  color: #9ca3a8;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.menu-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  font-size: 15px;
  line-height: 1;
  text-align: center;
}

.app-sidebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.sidebar-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b9ac4, #8b7fb5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  font-family: "Space Mono", monospace;
  flex-shrink: 0;
}

.sidebar-user-name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.sidebar-user-role {
  color: #9ca3a8;
  font-size: 11px;
  font-weight: 400;
}

[data-kt-app-sidebar-minimize=on] .sidebar-logo-icon span {
  font-size: 13px;
}
[data-kt-app-sidebar-minimize=on] .sidebar-user-card {
  justify-content: center;
  padding: 10px 4px;
}
[data-kt-app-sidebar-minimize=on] .sidebar-user-avatar {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #ece9e4;
  padding: 0 24px;
}
.landing-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.landing-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.landing-nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #6b9ac4, #8b7fb5);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.landing-nav-logo-icon span {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  font-family: "Space Mono", monospace;
  letter-spacing: -1px;
}
.landing-nav-logo-text {
  font-weight: 700;
  font-size: 16px;
  color: #2d3436;
}
.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.landing-nav-link {
  color: #5a5e64;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.landing-nav-link:hover {
  color: #2d3436;
}
.landing-nav-signin-btn.e-btn {
  background: #2d3436 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 8px 20px !important;
  font-family: "DM Sans", -apple-system, sans-serif !important;
}
.landing-nav-signin-btn.e-btn:hover {
  background: #3d4446 !important;
}

.landing-hero {
  background: linear-gradient(160deg, #faf9f7 0%, #f0ece6 50%, #e8e4df 100%);
  padding: 100px 24px 80px;
  text-align: center;
}
.landing-hero--img {
  position: relative;
  padding: 140px 24px 120px;
  background: none;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.landing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 22, 43, 0.72) 0%, rgba(18, 22, 43, 0.55) 50%, rgba(18, 22, 43, 0.82) 100%);
  z-index: 1;
}
.landing-hero-content {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.landing-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
}
.landing-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #2d3436;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.landing-hero-title--light {
  color: #fff;
}
@media (max-width: 768px) {
  .landing-hero-title {
    font-size: 2.2rem;
  }
}
.landing-hero-accent {
  background: linear-gradient(135deg, #6b9ac4, #8b7fb5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.landing-hero-subtitle {
  font-size: 1.1rem;
  color: #5a5e64;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 32px;
}
.landing-hero-subtitle--light {
  color: rgba(255, 255, 255, 0.75);
}
.landing-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.landing-hero-secondary {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  transition: all 0.15s ease;
}
.landing-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.landing-hero-cta.e-btn {
  background: linear-gradient(135deg, #6b9ac4, #8b7fb5) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 12px 32px !important;
  font-family: "DM Sans", -apple-system, sans-serif !important;
}
.landing-hero-cta.e-btn:hover {
  opacity: 0.9;
}

.landing-showcase {
  padding: 80px 24px;
  background: #fff;
}
.landing-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 992px) {
  .landing-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .landing-showcase-grid {
    grid-template-columns: 1fr;
  }
}
.landing-showcase-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.landing-showcase-card--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
@media (max-width: 992px) {
  .landing-showcase-card--large {
    grid-column: span 2;
    grid-row: span 1;
  }
}
@media (max-width: 576px) {
  .landing-showcase-card--large {
    grid-column: span 1;
  }
}
.landing-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.landing-showcase-card:hover img {
  transform: scale(1.05);
}
.landing-showcase-card:hover .landing-showcase-caption {
  opacity: 1;
  transform: translateY(0);
}
.landing-showcase-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 22, 43, 0.88) 0%, rgba(18, 22, 43, 0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}
.landing-showcase-caption h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 8px 0 6px;
}
.landing-showcase-caption p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.landing-showcase-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  width: fit-content;
}

.landing-video {
  padding: 0 24px 80px;
  background: #fff;
}
.landing-video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16/7;
}
.landing-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.landing-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 22, 43, 0.7) 0%, rgba(18, 22, 43, 0.35) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.landing-video-content {
  text-align: center;
  max-width: 520px;
  padding: 24px;
}
.landing-video-content h2 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 16px 0 12px;
  letter-spacing: -0.02em;
}
.landing-video-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 24px;
}
.landing-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.landing-video-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #50cd89;
  animation: landing-pulse 1.5s infinite;
}

@keyframes landing-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.landing-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.landing-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3436;
  text-align: center;
  margin-bottom: 8px;
}
.landing-section-subtitle {
  color: #9ca3a8;
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 48px;
}

.landing-features {
  padding: 80px 24px;
  background: #fff;
}
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .landing-features-grid {
    grid-template-columns: 1fr;
  }
}

.landing-feature-card {
  background: #faf9f7;
  border: 1px solid #ece9e4;
  border-radius: 14px;
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.landing-feature-card:hover {
  box-shadow: 0 4px 20px rgba(45, 52, 54, 0.06);
  transform: translateY(-2px);
}
.landing-feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.landing-feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 10px;
}
.landing-feature-desc {
  color: #5a5e64;
  font-size: 0.9rem;
  line-height: 1.65;
}

.landing-stats {
  padding: 60px 24px;
  background: #2d3436;
}
.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 768px) {
  .landing-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.landing-stat-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.landing-stat-label {
  color: #9ca3a8;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

.landing-solutions {
  padding: 80px 24px;
  background: #faf9f7;
}
.landing-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .landing-solutions-grid {
    grid-template-columns: 1fr;
  }
}

.landing-solution-card {
  background: #fff;
  border: 1px solid #ece9e4;
  border-radius: 14px;
  padding: 32px 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.landing-solution-card:hover {
  box-shadow: 0 4px 20px rgba(45, 52, 54, 0.06);
  transform: translateY(-2px);
}
.landing-solution-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.landing-solution-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 10px;
}
.landing-solution-desc {
  color: #5a5e64;
  font-size: 0.9rem;
  line-height: 1.65;
}

.landing-technology {
  padding: 80px 24px;
  background: #fff;
}

.landing-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .landing-tech-grid {
    grid-template-columns: 1fr;
  }
}
.landing-tech-item {
  background: #faf9f7;
  border: 1px solid #ece9e4;
  border-radius: 12px;
  padding: 24px;
}
.landing-tech-item p {
  color: #5a5e64;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.landing-tech-badge {
  display: inline-block;
  background: linear-gradient(135deg, #6b9ac4, #8b7fb5);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.landing-cta {
  padding: 80px 24px;
  background: linear-gradient(160deg, #2d3436 0%, #3d4446 100%);
  text-align: center;
}
.landing-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.landing-cta-subtitle {
  color: #9ca3a8;
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.landing-cta-btn.e-btn {
  background: linear-gradient(135deg, #6b9ac4, #8b7fb5) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 12px 32px !important;
  font-family: "DM Sans", -apple-system, sans-serif !important;
}
.landing-cta-btn.e-btn:hover {
  opacity: 0.9;
}

.landing-footer {
  padding: 40px 24px;
  background: #242829;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.landing-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.landing-footer-name {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.landing-footer-tagline {
  color: #7a7e84;
  font-size: 11px;
}
.landing-footer-links {
  display: flex;
  gap: 24px;
}
.landing-footer-links a {
  color: #9ca3a8;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.landing-footer-links a:hover {
  color: #fff;
}
.landing-footer-copy {
  color: #7a7e84;
  font-size: 12px;
  width: 100%;
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .landing-hero-title {
    font-size: 2rem;
  }
  .landing-hero-subtitle {
    font-size: 0.95rem;
  }
  .landing-hero {
    padding: 60px 24px 50px;
  }
  .landing-footer-inner {
    justify-content: center;
    text-align: center;
  }
}
.auth-form-side {
  background: #faf9f7;
  padding: 40px;
}

.auth-brand-side {
  background: linear-gradient(160deg, #2d3436 0%, #3d4446 100%);
}

.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.auth-brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #6b9ac4, #8b7fb5);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-brand-logo-icon span {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  font-family: "Space Mono", monospace;
  letter-spacing: -1px;
}
.auth-brand-name {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}
.auth-brand-sub {
  color: #9ca3a8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
.auth-brand-features {
  margin-top: 32px;
}
.auth-brand-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  padding: 10px 0;
}
.auth-brand-feature-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.auth-footer-links a {
  color: #9ca3a8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}
.auth-footer-links a:hover {
  color: #2d3436;
}

.auth-signin-form {
  width: 100%;
}
.auth-signin-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
}
.auth-signin-subtitle {
  color: #9ca3a8;
  font-size: 0.9rem;
}

.auth-input.e-input-group, .auth-input.e-float-input {
  border-radius: 10px !important;
  border-color: #ece9e4 !important;
  background: #fff !important;
  font-family: "DM Sans", -apple-system, sans-serif !important;
}
.auth-input.e-input-group input.e-input, .auth-input.e-float-input input.e-input {
  font-size: 0.95rem !important;
  padding: 12px 14px !important;
  color: #2d3436 !important;
}
.auth-input.e-input-group.e-input-focus, .auth-input.e-float-input.e-input-focus {
  border-color: #6b9ac4 !important;
  box-shadow: 0 0 0 3px rgba(107, 154, 196, 0.12) !important;
}
.auth-input .e-float-text {
  color: #9ca3a8 !important;
  font-family: "DM Sans", -apple-system, sans-serif !important;
}

.auth-submit-btn.e-btn {
  width: 100%;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 12px !important;
  font-family: "DM Sans", -apple-system, sans-serif !important;
  background: #2d3436 !important;
  border-color: #2d3436 !important;
  color: #fff !important;
}
.auth-submit-btn.e-btn:hover {
  background: #3d4446 !important;
  border-color: #3d4446 !important;
}

.auth-error-message {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 12px 16px;
  color: #b91c1c;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.auth-back-link {
  color: #9ca3a8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s ease;
}
.auth-back-link:hover {
  color: #6b9ac4;
}

.aa-loader-logo {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #6b9ac4, #8b7fb5);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aa-loader-logo span {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  font-family: "Space Mono", monospace;
  letter-spacing: -1px;
}

.aa-loader-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #ece9e4;
  border-top-color: #6b9ac4;
  border-radius: 50%;
  animation: aa-spin 0.8s linear infinite;
}

@keyframes aa-spin {
  to {
    transform: rotate(360deg);
  }
}
.page-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #e8f4fd, #d0eaf9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bldg-kpi-card {
  position: relative;
  overflow: hidden;
}
.bldg-kpi-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 14px 0 0 14px;
}
.bldg-kpi-card.kpi-blue::before {
  background: #009ef7;
}
.bldg-kpi-card.kpi-green::before {
  background: #50cd89;
}
.bldg-kpi-card.kpi-amber::before {
  background: #ffc700;
}
.bldg-kpi-card.kpi-teal::before {
  background: #17a2b8;
}
.bldg-kpi-card.kpi-purple::before {
  background: #7239ea;
}
.bldg-kpi-card.kpi-red::before {
  background: #f1416c;
}

.bldg-kpi-icon.blue {
  background: #e8f7ff;
}
.bldg-kpi-icon.green {
  background: #e8fff3;
}
.bldg-kpi-icon.amber {
  background: #fff8dd;
}
.bldg-kpi-icon.teal {
  background: #e0f9ff;
}
.bldg-kpi-icon.purple {
  background: #f3eeff;
}
.bldg-kpi-icon.red {
  background: #fff5f8;
}

.bldg-kpi-trend-up {
  color: #50cd89;
}

.bldg-kpi-trend-down {
  color: #f1416c;
}

.bldg-kpi-trend-neutral {
  color: #a1a5b7;
}

.bg-teal {
  background: #e0f9ff !important;
  color: #17a2b8 !important;
}

.warning-row {
  background: #fffef0 !important;
}
.warning-row:hover td {
  background: #fefceb !important;
}

.card .e-grid {
  border: none !important;
}
.card .e-grid .e-gridheader {
  border-bottom: 1px solid #ece9e4 !important;
}
.card .e-grid .e-headercell {
  font-weight: 600 !important;
  color: #9ca3a8 !important;
  font-size: 11px !important;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.card .e-grid .e-rowcell {
  padding: 0.65rem 0.75rem !important;
  vertical-align: middle !important;
  border-color: #ece9e4 !important;
}
.card .e-grid .e-pager {
  border: none !important;
  border-top: 1px solid #ece9e4 !important;
}
.card .e-grid .e-groupdroparea {
  background: #fafbfc !important;
  border-bottom: 1px solid #ece9e4 !important;
  font-size: 12px;
}
.card .e-grid .e-groupheadercell {
  background: #e8f7ff !important;
  border-color: #bee3f5 !important;
  color: #009ef7 !important;
  border-radius: 5px;
}
.card .e-grid .e-groupcaption {
  background: #f8f9fc !important;
  font-weight: 600 !important;
}
.card .e-grid .e-summaryrow td {
  background: #f8f9fc !important;
  font-weight: 600 !important;
}

.bldg-hero {
  background: linear-gradient(135deg, #12162b 0%, #1a2442 50%, #1a3560 100%);
  padding: 24px 28px 0;
  position: relative;
  overflow: hidden;
}
.bldg-hero .hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 50%, rgba(0, 158, 247, 0.18) 0%, transparent 55%), radial-gradient(ellipse at 75% 10%, rgba(114, 57, 234, 0.14) 0%, transparent 50%);
  pointer-events: none;
}
.bldg-hero .hero-grid-pat {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.bldg-hero .hero-inner {
  position: relative;
  z-index: 2;
}
.bldg-hero .hero-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.bldg-hero .hero-bldg-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}
.bldg-hero .hero-bldg-title {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}
.bldg-hero .hero-bldg-addr {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.bldg-hero .hero-bldg-addr span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.bldg-hero .hero-chips {
  display: flex;
  gap: 7px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.bldg-hero .hchip {
  padding: 3px 10px;
  border-radius: 16px;
  font-size: 10.5px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.bldg-hero .hchip-ok {
  background: rgba(80, 205, 137, 0.18);
  color: #6eefae;
  border: 1px solid rgba(80, 205, 137, 0.28);
}
.bldg-hero .hchip-blue {
  background: rgba(0, 158, 247, 0.18);
  color: #9de0ff;
  border: 1px solid rgba(0, 158, 247, 0.28);
}
.bldg-hero .hchip-warn {
  background: rgba(255, 199, 0, 0.18);
  color: #ffd94d;
  border: 1px solid rgba(255, 199, 0, 0.28);
}
.bldg-hero .hchip-gray {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.bldg-hero .hero-actions {
  margin-left: auto;
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.bldg-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: "DM Sans", -apple-system, sans-serif;
  transition: 0.15s;
}
.bldg-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}
.bldg-hero .hero-kpis {
  display: flex;
  gap: 0;
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bldg-hero .hkpi {
  flex: 1;
  padding: 13px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.bldg-hero .hkpi:last-child {
  border-right: none;
}
.bldg-hero .hkpi-val {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  font-family: "Space Mono", monospace;
  letter-spacing: -1px;
  line-height: 1;
}
.bldg-hero .hkpi-lbl {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 3px;
  font-weight: 500;
}
.bldg-hero .hkpi-trend {
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 4px;
}

.e-tab .e-tab-header .e-indicator,
.e-tab .e-tab-header .e-indicator.e-ignore {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  border: none !important;
  border-bottom: none !important;
  background: transparent !important;
  opacity: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}

.e-tab .e-tab-header::before, .e-tab .e-tab-header::after,
.e-tab .e-tab-header .e-hscroll-bar::before,
.e-tab .e-tab-header .e-hscroll-bar::after,
.e-tab .e-tab-header .e-toolbar-items::before,
.e-tab .e-tab-header .e-toolbar-items::after {
  display: none !important;
  content: none !important;
}
.e-tab .e-tab-header .e-toolbar-items {
  border: none !important;
  background: transparent !important;
}
.e-tab .e-tab-header .e-toolbar-item {
  border: none !important;
  background: transparent !important;
}

.bldg-tabs.e-tab {
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  border: none !important;
}
.bldg-tabs.e-tab .e-tab-header {
  background: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 14px rgba(45, 52, 54, 0.058) !important;
  padding: 4px !important;
  margin: 0 28px 20px !important;
  position: sticky;
  top: 58px;
  z-index: 50;
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  display: flex !important;
  gap: 2px !important;
}
.bldg-tabs.e-tab .e-tab-header .e-indicator {
  display: none !important;
}
.bldg-tabs.e-tab .e-tab-header::before, .bldg-tabs.e-tab .e-tab-header::after {
  display: none !important;
}
.bldg-tabs.e-tab .e-tab-header .e-hscroll-bar,
.bldg-tabs.e-tab .e-tab-header .e-scroll-nav {
  border: none !important;
}
.bldg-tabs.e-tab .e-tab-header .e-hscroll-bar::before, .bldg-tabs.e-tab .e-tab-header .e-hscroll-bar::after,
.bldg-tabs.e-tab .e-tab-header .e-scroll-nav::before,
.bldg-tabs.e-tab .e-tab-header .e-scroll-nav::after {
  display: none !important;
}
.bldg-tabs.e-tab .e-tab-header .e-toolbar-items {
  gap: 2px !important;
  background: transparent !important;
  border: none !important;
  height: auto !important;
}
.bldg-tabs.e-tab .e-tab-header .e-toolbar-items::before, .bldg-tabs.e-tab .e-tab-header .e-toolbar-items::after {
  display: none !important;
}
.bldg-tabs.e-tab .e-tab-header .e-toolbar-item {
  min-height: auto !important;
  height: auto !important;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
}
.bldg-tabs.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap {
  padding: 9px 15px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #a1a5b7 !important;
  border: none !important;
  border-radius: 8px !important;
  background: transparent !important;
  transition: 0.14s;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.bldg-tabs.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap:hover {
  background: #f4f6fb !important;
  color: #4a4e54 !important;
}
.bldg-tabs.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap .e-tab-text {
  font-size: inherit !important;
  font-weight: inherit !important;
}
.bldg-tabs.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-wrap {
  background: #009ef7 !important;
  color: #fff !important;
  border-radius: 8px !important;
}
.bldg-tabs.e-tab .e-content {
  border: none !important;
  padding: 0 !important;
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  position: relative !important;
}
.bldg-tabs.e-tab .e-content > .e-item,
.bldg-tabs.e-tab .e-content .e-item.e-view,
.bldg-tabs.e-tab .e-content .e-item.e-active {
  position: relative !important;
  overflow: visible !important;
  height: auto !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
}

.e-accordion {
  border: none !important;
}
.e-accordion .e-acrdn-item {
  border: 1.5px solid #ece9e4 !important;
  border-radius: 10px !important;
  margin-bottom: 10px !important;
  overflow: hidden;
}
.e-accordion .e-acrdn-item.floor-critical {
  border-left: 3px solid #f1416c !important;
}
.e-accordion .e-acrdn-item.floor-passive {
  opacity: 0.65;
}
.e-accordion .e-acrdn-item .e-acrdn-header {
  background: #fff !important;
  border: none !important;
  padding: 0 !important;
}
.e-accordion .e-acrdn-item .e-acrdn-header .e-acrdn-header-content {
  width: 100%;
}
.e-accordion .e-acrdn-item .e-acrdn-header:hover {
  background: #f8faff !important;
}
.e-accordion .e-acrdn-item .e-acrdn-header .e-toggle-icon {
  color: #a1a5b7 !important;
}
.e-accordion .e-acrdn-item.e-expand-state > .e-acrdn-header {
  background: #f0f7ff !important;
  border-bottom: 1px solid #d8eef9 !important;
}
.e-accordion .e-acrdn-item .e-acrdn-panel {
  border: none !important;
}
.e-accordion .e-acrdn-item .e-acrdn-panel .e-acrdn-content {
  padding: 0 !important;
  background: #f8faff;
}

.floor-hd {
  padding: 13px 17px;
}
.floor-hd .fl-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e8f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.floor-hd .fl-name {
  font-weight: 700;
  font-size: 12.5px;
  color: #2d3436;
}
.floor-hd .fl-meta {
  font-size: 11px;
  color: #a1a5b7;
  margin-top: 2px;
}
.floor-hd .fl-kpis {
  display: flex;
  gap: 14px;
  align-items: center;
}
.floor-hd .fl-kpi {
  text-align: center;
}
.floor-hd .fl-kpi-val {
  font-size: 14px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #2d3436;
  line-height: 1;
}
.floor-hd .fl-kpi-lbl {
  font-size: 9.5px;
  color: #a1a5b7;
  margin-top: 1px;
  font-weight: 600;
}

.zones-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.zone-card {
  background: #fff;
  border-radius: 8px;
  padding: 12px 13px;
  border: 1.5px solid #ece9e4;
  cursor: pointer;
  transition: 0.12s;
}
.zone-card:hover {
  border-color: #009ef7;
  box-shadow: 0 2px 10px rgba(0, 158, 247, 0.1);
}
.zone-card .zc-name {
  font-weight: 700;
  font-size: 12px;
  color: #2d3436;
}
.zone-card .zc-type {
  font-size: 10px;
  color: #a1a5b7;
  margin-top: 2px;
}
.zone-card .zc-stats {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.zone-card .zc-stat {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}

.info-row .info-label {
  display: block;
  margin-bottom: 3px;
}
.info-row .info-field.e-input-group {
  background: #f9fafb !important;
  border: 1px solid #ece9e4 !important;
  border-radius: 8px !important;
}
.info-row .info-field.e-input-group .e-input {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #2d3436 !important;
  padding: 6px 10px !important;
}
.info-row .info-field.e-input-group.mono .e-input {
  font-family: "Space Mono", monospace !important;
  font-size: 11.5px !important;
}

.history-stat-list.e-listview,
.active-users-list.e-listview {
  border: none !important;
}
.history-stat-list.e-listview .e-list-item,
.active-users-list.e-listview .e-list-item {
  border: none !important;
  padding: 2px 0 !important;
  background: transparent !important;
  height: auto !important;
  line-height: normal !important;
}
.history-stat-list.e-listview .e-list-item:hover, .history-stat-list.e-listview .e-list-item.e-hover, .history-stat-list.e-listview .e-list-item.e-active,
.active-users-list.e-listview .e-list-item:hover,
.active-users-list.e-listview .e-list-item.e-hover,
.active-users-list.e-listview .e-list-item.e-active {
  background: transparent !important;
}
.history-stat-list.e-listview .e-list-item .e-text-content,
.active-users-list.e-listview .e-list-item .e-text-content {
  padding: 0 !important;
}
.history-stat-list.e-listview .e-list-header,
.active-users-list.e-listview .e-list-header {
  display: none !important;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.info-pair {
  padding: 10px 0;
  border-bottom: 1px solid #ece9e4;
}
.info-pair:nth-last-child(-n+2) {
  border-bottom: none;
}
.info-pair .ip-label {
  font-size: 10.5px;
  color: #a1a5b7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}
.info-pair .ip-val {
  font-size: 12.5px;
  color: #2d3436;
  font-weight: 600;
  line-height: 1.4;
}
.info-pair .ip-val.code {
  font-family: "Space Mono", monospace;
  font-size: 11.5px;
}

.info-left {
  padding-right: 18px;
}

.info-right {
  padding-left: 18px;
  border-left: 1px solid #ece9e4;
}

.timeline {
  display: flex;
  flex-direction: column;
  padding: 4px 0;
}

.tl-item {
  display: flex;
  gap: 13px;
  padding: 11px 0;
  position: relative;
}
.tl-item::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 30px;
  bottom: -4px;
  width: 1.5px;
  background: #ece9e4;
}
.tl-item:last-child::before {
  display: none;
}
.tl-item .tl-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  z-index: 1;
}
.tl-item .tl-body {
  flex: 1;
}
.tl-item .tl-title {
  font-weight: 700;
  font-size: 12px;
  color: #2d3436;
  line-height: 1.3;
}
.tl-item .tl-desc {
  font-size: 11px;
  color: #a1a5b7;
  margin-top: 2px;
  line-height: 1.4;
}
.tl-item .tl-meta {
  display: flex;
  gap: 10px;
  margin-top: 5px;
  font-size: 10.5px;
  color: #a1a5b7;
  flex-wrap: wrap;
}

.access-points-list.e-listview {
  border: none !important;
}
.access-points-list.e-listview .e-list-item {
  border: none !important;
  border-bottom: 1px solid #ece9e4 !important;
  padding: 10px 0 !important;
  background: transparent !important;
  height: auto !important;
  line-height: normal !important;
}
.access-points-list.e-listview .e-list-item:last-child {
  border-bottom: none !important;
}
.access-points-list.e-listview .e-list-item:hover, .access-points-list.e-listview .e-list-item.e-hover, .access-points-list.e-listview .e-list-item.e-active {
  background: #f8faff !important;
}
.access-points-list.e-listview .e-list-item .e-text-content {
  padding: 0 !important;
}
.access-points-list.e-listview .e-list-header {
  display: none !important;
}

.energy-heatmap {
  display: grid;
  grid-template-columns: auto repeat(6, 1fr);
  gap: 3px;
  font-size: 10.5px;
}
.energy-heatmap .hm-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  font-weight: 600;
  color: #a1a5b7;
}
.energy-heatmap .hm-cell {
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 10px;
  padding: 8px 4px;
  color: #fff;
}
.energy-heatmap .hm-header {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: #a1a5b7;
}

.energy-kpi-card.e-card {
  border: 1.5px solid #ece9e4 !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.energy-kpi-card.e-card:hover {
  border-color: #dfdad2 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}
.energy-kpi-card.e-card .e-card-content {
  padding: 0 !important;
}

.stat-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.055);
  padding: 17px 19px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 12px 0 0 12px;
}
.stat-card.sc-b::before {
  background: #009ef7;
}
.stat-card.sc-g::before {
  background: #50cd89;
}
.stat-card.sc-r::before {
  background: #f1416c;
}
.stat-card.sc-w::before {
  background: #ffc700;
}
.stat-card.sc-i::before {
  background: #7239ea;
}
.stat-card.sc-t::before {
  background: #17a2b8;
}
.stat-card .stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 9px;
  flex-shrink: 0;
}
.stat-card .stat-icon.si-b {
  background: #e8f7ff;
}
.stat-card .stat-icon.si-g {
  background: #e8fff3;
}
.stat-card .stat-icon.si-r {
  background: #fff5f8;
}
.stat-card .stat-icon.si-w {
  background: #fff8dd;
}
.stat-card .stat-icon.si-i {
  background: #f3eeff;
}
.stat-card .stat-icon.si-t {
  background: #e0faf5;
}
.stat-card .stat-val {
  font-size: 24px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #2d3436;
  letter-spacing: -1.5px;
  line-height: 1;
}
.stat-card .stat-lbl {
  font-size: 11px;
  color: #a1a5b7;
  margin-top: 3px;
  font-weight: 500;
}
.stat-card .stat-trend {
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 5px;
}
.stat-card .stat-trend.t-up {
  color: #50cd89;
}
.stat-card .stat-trend.t-dn {
  color: #f1416c;
}
.stat-card .stat-trend.t-same {
  color: #a1a5b7;
}

.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #a1a5b7;
  transition: 0.12s;
}
.settings-nav-item:hover {
  background: #f4f6fb;
  color: #4a4e54;
}
.settings-nav-item.active {
  background: #e8f7ff;
  color: #009ef7;
}

.badge.bg-ok {
  background: #e8fff3 !important;
  color: #50cd89 !important;
}

.badge.bg-warn {
  background: #fff8dd !important;
  color: #c08000 !important;
}

.badge.bg-crit {
  background: #fff5f8 !important;
  color: #f1416c !important;
}

.badge.bg-pri {
  background: #e8f7ff !important;
  color: #009ef7 !important;
}

.badge.bg-inf {
  background: #f3eeff !important;
  color: #7239ea !important;
}

.badge.bg-gray {
  background: #f4f6fb !important;
  color: #7e8299 !important;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.atn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  border: 1.5px solid #ece9e4;
  background: #fff;
  color: #a1a5b7;
  transition: 0.12s;
  margin-right: 3px;
}
.atn:hover {
  background: #f4f6fb;
  color: #4a4e54;
}
.atn.pri:hover {
  background: #e8f7ff;
  color: #009ef7;
  border-color: #009ef7;
}
.atn.dan:hover {
  background: #fff5f8;
  color: #f1416c;
  border-color: #f1416c;
}

.dev-alert-banner {
  background: #fff5f8;
  border: 1.5px solid #fcd6e0;
  border-radius: 10px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #c0213c;
}

.dev-alert-link {
  text-decoration: underline;
  cursor: pointer;
}

.dev-kpi-strip {
  display: flex;
  gap: 14px;
}

.dev-kpi {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
}

.dev-kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 9px;
}
.dev-kpi-icon.ki-b {
  background: #e8f7ff;
}
.dev-kpi-icon.ki-g {
  background: #e8fff3;
}
.dev-kpi-icon.ki-r {
  background: #fff5f8;
}
.dev-kpi-icon.ki-w {
  background: #fff8dd;
}
.dev-kpi-icon.ki-i {
  background: #f3eeff;
}
.dev-kpi-icon.ki-t {
  background: #e0faf5;
}

.dev-kpi-val {
  font-size: 24px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #4a4e54;
  letter-spacing: -1.5px;
  line-height: 1;
}

.dev-kpi-lbl {
  font-size: 11px;
  color: #a1a5b7;
  margin-top: 3px;
  font-weight: 500;
}

.dev-kpi-trend {
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 4px;
}
.dev-kpi-trend.t-up {
  color: #7fb685;
}
.dev-kpi-trend.t-dn {
  color: #f1416c;
}
.dev-kpi-trend.t-eq {
  color: #a1a5b7;
}

.dev-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #ece9e4;
  background: #fff;
  color: #a1a5b7;
  transition: 0.12s;
}
.dev-filter-chip.active {
  border-color: #009ef7;
  color: #009ef7;
  background: #e8f7ff;
}
.dev-filter-chip:hover {
  border-color: #009ef7;
  color: #009ef7;
}

.dev-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dev-searchbox {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1.5px solid #ece9e4;
  border-radius: 8px;
  padding: 4px 12px;
  width: 280px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.dev-search-input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dev-view-toggle {
  display: flex;
  background: #f4f6fb;
  border-radius: 7px;
  padding: 3px;
  gap: 2px;
}

.dev-type-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dev-type-tab {
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid #ece9e4;
  background: #fff;
  color: #a1a5b7;
  transition: 0.12s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.dev-type-tab:hover {
  border-color: #009ef7;
  color: #009ef7;
}
.dev-type-tab.active {
  background: #009ef7;
  color: #fff;
  border-color: #009ef7;
}
.dev-type-tab.active .dev-tab-cnt {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.dev-tab-cnt {
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  background: #f1f3f9;
  color: #a1a5b7;
}

.dev-split-layout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.dev-split-main {
  flex: 1;
  min-width: 0;
}

.dev-split-side {
  flex: 0 0 294px;
  position: sticky;
  top: 78px;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dev-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  border: 1.5px solid #ece9e4;
  cursor: pointer;
  transition: 0.18s;
  overflow: hidden;
}
.dev-card:hover {
  border-color: #009ef7;
  box-shadow: 0 4px 20px rgba(0, 158, 247, 0.1);
  transform: translateY(-1px);
}
.dev-card.selected {
  border-color: #009ef7;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.14);
}
.dev-card.fault {
  border-color: #f1416c;
}
.dev-card.offline {
  opacity: 0.72;
}
.dev-card.maintenance {
  border-color: #ffc700;
}

.dev-card-top {
  padding: 13px 14px 10px;
  border-bottom: 1px solid #ece9e4;
}

.dev-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

.dev-card-name {
  font-weight: 700;
  font-size: 12.5px;
  color: #4a4e54;
  line-height: 1.3;
  margin-bottom: 3px;
}

.dev-card-location {
  font-size: 10.5px;
  color: #a1a5b7;
  margin-bottom: 5px;
}

.dev-card-badges {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.dev-card-status-text {
  font-size: 10.5px;
  font-weight: 700;
}

.dev-card-bottom {
  padding: 10px 14px;
}

.dev-card-reading-lbl {
  font-size: 10px;
  color: #a1a5b7;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}

.dev-card-reading {
  font-size: 19px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #4a4e54;
  letter-spacing: -1px;
  line-height: 1;
}

.dev-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10.5px;
  color: #a1a5b7;
}

.proto-badge {
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  letter-spacing: 0.3px;
}
.proto-badge.proto-knx {
  background: #1a1e3a;
  color: #8ba4ff;
}
.proto-badge.proto-bac {
  background: #0d3320;
  color: #6aeaaa;
}
.proto-badge.proto-mod {
  background: #3a2000;
  color: #ffd06a;
}
.proto-badge.proto-ip {
  background: #001f3a;
  color: #6aceff;
}
.proto-badge.proto-ana {
  background: #2a0020;
  color: #ff9de8;
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sb {
  width: 3px;
  border-radius: 1px;
  background: #ece9e4;
}
.sb.on {
  background: #7fb685;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.status-dot.sd-online {
  background: #7fb685;
  box-shadow: 0 0 0 2px rgba(80, 205, 137, 0.25);
}
.status-dot.sd-offline {
  background: #a1a5b7;
}
.status-dot.sd-fault {
  background: #f1416c;
  box-shadow: 0 0 0 2px rgba(241, 65, 108, 0.25);
  animation: dev-blink 1.4s infinite;
}
.status-dot.sd-maint {
  background: #ffc700;
}

@keyframes dev-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.dev-topo-canvas {
  min-height: 500px;
  background: #fafbfd;
}

.dev-topo-gw {
  background: linear-gradient(135deg, #181c32, #2d3561);
  border-radius: 12px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  color: #fff;
}

.dev-topo-gw-icon {
  font-size: 24px;
}

.dev-topo-gw-lbl {
  font-weight: 800;
  font-size: 13px;
}

.dev-topo-gw-sub {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.6);
  font-family: "Space Mono", monospace;
}

.dev-topo-line {
  background: #fff;
  border: 1.5px solid #ece9e4;
  border-radius: 10px;
  padding: 14px;
}

.dev-topo-line-label {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dev-topo-line-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dev-topo-line-range {
  font-family: "Space Mono", monospace;
  font-size: 9px;
}

.dev-topo-node {
  background: #fff;
  border: 1.5px solid #ece9e4;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: 0.15s;
  min-width: 140px;
}
.dev-topo-node:hover {
  border-color: #009ef7;
  box-shadow: 0 2px 10px rgba(0, 158, 247, 0.12);
}
.dev-topo-node.fault-node {
  border-color: #f1416c;
  background: #fff8f8;
}
.dev-topo-node.maint-node {
  border-color: #ffc700;
  background: #fffbf0;
}

.dev-topo-node-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.dev-topo-node-name {
  font-size: 11.5px;
  font-weight: 700;
  color: #4a4e54;
  line-height: 1.2;
}

.dev-topo-node-addr {
  font-size: 10px;
  color: #a1a5b7;
  font-family: "Space Mono", monospace;
}

.dev-sp-header {
  padding: 14px 18px;
  background: linear-gradient(135deg, #12162b, #1a2442);
  position: relative;
  overflow: hidden;
}
.dev-sp-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(0, 158, 247, 0.22), transparent 60%);
}

.dev-sp-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.dev-sp-name {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.dev-sp-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
  margin-top: 3px;
}

.dev-sp-chip {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}

.dev-sp-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  z-index: 2;
  transition: 0.12s;
}
.dev-sp-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.dev-sp-sec {
  padding: 11px 18px;
  border-bottom: 1px solid #ece9e4;
}
.dev-sp-sec:last-child {
  border-bottom: none;
}

.dev-sp-sec-title {
  font-size: 10px;
  font-weight: 700;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.dev-sp-reading {
  font-size: 32px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #4a4e54;
  letter-spacing: -2px;
  line-height: 1;
}

.dev-sp-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4px 0;
  font-size: 12px;
  border-bottom: 1px solid #ece9e4;
}
.dev-sp-row:last-child {
  border-bottom: none;
}

.dev-sp-lbl {
  color: #a1a5b7;
  font-weight: 500;
}

.dev-sp-val {
  font-weight: 700;
  color: #4a4e54;
  text-align: right;
  font-size: 11.5px;
}
.dev-sp-val.mono {
  font-family: "Space Mono", monospace;
  font-size: 11px;
}

.dev-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 32px;
  padding: 2px 0;
}

.dev-spark-bar {
  flex: 1;
  border-radius: 2px;
  background: #009ef7;
  opacity: 0.7;
  transition: 0.2s;
  min-width: 4px;
}
.dev-spark-bar.active {
  background: #009ef7;
  opacity: 1;
}

.dev-fault-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 7px;
  background: #fff5f8;
  border: 1px solid #fcd6e0;
}

.fault-row {
  background: #fff5f8 !important;
}

.toolbar-btn-danger {
  background: #fff5f8 !important;
  color: #f1416c !important;
  border-color: #fcd6e0 !important;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cat-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  border: 1.5px solid #ece9e4;
  cursor: pointer;
  transition: 0.18s;
  overflow: hidden;
  position: relative;
}
.cat-card:hover {
  border-color: #009ef7;
  box-shadow: 0 4px 20px rgba(0, 158, 247, 0.1);
  transform: translateY(-1px);
}
.cat-card.selected {
  border-color: #009ef7;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.14);
}

.cat-banner {
  height: 6px;
  width: 100%;
}

.cat-icon-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.cat-count-badge {
  font-size: 20px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  line-height: 1;
}

.cat-count-lbl {
  font-size: 9.5px;
  color: #a1a5b7;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cat-name {
  font-weight: 800;
  font-size: 14px;
  color: #4a4e54;
  margin-bottom: 4px;
}

.cat-desc {
  font-size: 11.5px;
  color: #a1a5b7;
  line-height: 1.5;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cat-usage-bar {
  height: 6px;
  border-radius: 3px;
  background: #f1f3f9;
  overflow: hidden;
  margin-top: 5px;
}

.cat-usage-fill {
  height: 100%;
  border-radius: 3px;
  transition: 0.5s;
}

.cat-stats {
  display: flex;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid #ece9e4;
  margin-top: 10px;
}

.cat-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cat-stat-val {
  font-size: 13px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #4a4e54;
}

.cat-stat-lbl {
  font-size: 9.5px;
  color: #a1a5b7;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cat-tbl-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.cat-sp-stat-box {
  background: #fff;
  border: 1.5px solid #ece9e4;
  border-radius: 8px;
  padding: 9px 12px;
  text-align: center;
}

.cat-sp-stat-val {
  font-size: 18px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
}

.cat-sp-stat-lbl {
  font-size: 9.5px;
  color: #a1a5b7;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-top: 2px;
}

.cat-sp-section {
  padding: 11px 18px;
  border-bottom: 1px solid #ece9e4;
}
.cat-sp-section:last-child {
  border-bottom: none;
}

.cat-sp-section-title {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.cat-type-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 7px;
  background: #fafbfd;
  border: 1.5px solid #ece9e4;
  margin-bottom: 5px;
  cursor: pointer;
  transition: 0.12s;
  font-size: 12px;
}
.cat-type-pill:hover {
  border-color: #009ef7;
  background: #f0f7ff;
}

.cat-type-pill-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.cat-type-pill-icon.ki-b {
  background: #e8f7ff;
}
.cat-type-pill-icon.ki-g {
  background: #e8fff3;
}
.cat-type-pill-icon.ki-r {
  background: #fff5f8;
}
.cat-type-pill-icon.ki-w {
  background: #fff8dd;
}
.cat-type-pill-icon.ki-i {
  background: #f3eeff;
}
.cat-type-pill-icon.ki-t {
  background: #e0faf5;
}
.cat-type-pill-icon.ki-o {
  background: #fff3ec;
}
.cat-type-pill-icon.ki-gray {
  background: #f4f6fb;
}

.cat-type-pill-name {
  font-weight: 700;
  color: #4a4e54;
}

.cat-type-pill-count {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  color: #a1a5b7;
}

.grp-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.grp-list-col {
  width: 400px;
  flex-shrink: 0;
  position: sticky;
  top: 16px;
}

.grp-main-col {
  flex: 1;
  min-width: 0;
}

.grp-side-col {
  width: 296px;
  flex-shrink: 0;
  position: sticky;
  top: 16px;
}

.grp-list-panel {
  border-radius: 12px;
  overflow: hidden;
}

.grp-items-container {
  max-height: calc(100vh - 320px);
  overflow-y: auto;
}
.grp-items-container::-webkit-scrollbar {
  width: 4px;
}
.grp-items-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.grp-item {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #ece9e4;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
  position: relative;
}
.grp-item:hover {
  background: #fafbfd;
}
.grp-item.selected {
  background: #f0f7ff;
  border-left: 3px solid #009ef7;
}
.grp-item.has-fault .grp-item-name {
  color: #f1416c;
}

.grp-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.grp-item-name {
  font-weight: 700;
  font-size: 12.5px;
  color: #4a4e54;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grp-item-sub {
  font-size: 10.5px;
  color: #a1a5b7;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grp-item-chips {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 7px;
}

.grp-item-stats {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.gi-stat-val {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.gi-stat-lbl {
  font-size: 9px;
  color: #a1a5b7;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.grp-item-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.12s;
  position: absolute;
  right: 10px;
  top: 10px;
}
.grp-item:hover .grp-item-actions {
  opacity: 1;
}

.ga-btn {
  font-size: 10px;
  font-weight: 600;
  color: #009ef7;
  background: #f0f7ff;
  border: 1px solid rgba(0, 158, 247, 0.2);
  border-radius: 6px;
  padding: 3px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.12s;
}
.ga-btn:hover {
  background: #e0efff;
}

.type-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.tp-zone {
  background: rgba(0, 158, 247, 0.12);
  color: #009ef7;
}

.tp-floor {
  background: rgba(114, 57, 234, 0.12);
  color: #7239ea;
}

.tp-cat {
  background: rgba(255, 199, 0, 0.12);
  color: #c08000;
}

.tp-sched {
  background: rgba(0, 201, 167, 0.12);
  color: #00c9a7;
}

.tp-tenant {
  background: rgba(245, 129, 63, 0.12);
  color: #f5813f;
}

.tp-manual {
  background: rgba(161, 165, 183, 0.12);
  color: #7e8299;
}

.badge.bg-ok {
  background: #e8fff3 !important;
  color: #50cd89 !important;
}
.badge.bg-warn {
  background: #fff8dd !important;
  color: #c08000 !important;
}
.badge.bg-crit {
  background: #fff5f8 !important;
  color: #f1416c !important;
}
.badge.bg-pri {
  background: #eef6ff !important;
  color: #009ef7 !important;
}
.badge.bg-inf {
  background: #f3eeff !important;
  color: #7239ea !important;
}
.badge.bg-teal {
  background: #e0faf5 !important;
  color: #00c9a7 !important;
}
.badge.bg-gray {
  background: #f4f6fb !important;
  color: #7e8299 !important;
}

.grp-header-bar {
  border-radius: 12px;
}

.grp-header-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.grp-header-name {
  font-size: 18px;
  font-weight: 800;
  color: #4a4e54;
  letter-spacing: -0.3px;
}

.grp-header-stats {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #ece9e4;
}

.grp-stat-box {
  background: #fafbfd;
  border: 1.5px solid #ece9e4;
  border-radius: 9px;
  padding: 9px 14px;
  text-align: center;
  flex: 1;
}

.grp-stat-val {
  font-size: 18px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  line-height: 1;
}

.grp-stat-lbl {
  font-size: 9px;
  color: #a1a5b7;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-top: 3px;
}

.grp-cmd-panel {
  border-radius: 12px;
  border: 1.5px solid rgba(0, 158, 247, 0.15);
  background: linear-gradient(135deg, #fafcff, #f5f8ff);
}

.grp-cmd-title {
  font-size: 13px;
  font-weight: 700;
  color: #4a4e54;
  margin-bottom: 12px;
}

.grp-cmd-label {
  font-size: 12px;
  font-weight: 700;
  color: #4a4e54;
  min-width: 100px;
}

.grp-cmd-slider {
  accent-color: #009ef7;
  height: 6px;
}

.grp-cmd-slider-val {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 13px;
  min-width: 45px;
}

.grp-cmd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.grp-cmd-btn {
  background: #fff;
  border: 1.5px solid #ece9e4;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #4a4e54;
  cursor: pointer;
  transition: 0.15s;
}
.grp-cmd-btn:hover {
  border-color: #009ef7;
  background: #f8fbff;
  transform: translateY(-1px);
}
.grp-cmd-btn.cmd-on {
  border-color: rgba(80, 205, 137, 0.4);
  background: #f5fff8;
  color: #50cd89;
}
.grp-cmd-btn.cmd-off {
  border-color: rgba(241, 65, 108, 0.3);
  background: #fff9fa;
  color: #f1416c;
}
.grp-cmd-btn.cmd-warm {
  border-color: rgba(255, 199, 0, 0.35);
  background: #fffdf5;
  color: #c08000;
}

.grp-cmd-btn-icon {
  font-size: 22px;
  margin-bottom: 4px;
}

.grp-cmd-btn-lbl {
  font-size: 9.5px;
  color: #a1a5b7;
  font-weight: 400;
  margin-top: 2px;
}

.grp-cmd-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.grp-log-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #f4f6fb;
  font-size: 12px;
}
.grp-log-row:last-child {
  border-bottom: none;
}

.grp-log-time {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #a1a5b7;
  min-width: 65px;
  flex-shrink: 0;
}

.grp-log-action {
  flex: 1;
  color: #4a4e54;
}

.grp-log-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  white-space: nowrap;
}
.grp-log-badge.log-ok {
  background: #e8fff3;
  color: #50cd89;
}
.grp-log-badge.log-crit {
  background: #fff5f8;
  color: #f1416c;
}
.grp-log-badge.log-warn {
  background: #fff8dd;
  color: #c08000;
}
.grp-log-badge.log-pri {
  background: #f4f6fb;
  color: #7e8299;
}
.grp-log-badge.log-gray {
  background: #f4f6fb;
  color: #7e8299;
}

.grp-dev-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.grp-sp-section {
  padding: 12px 16px;
  border-bottom: 1px solid #ece9e4;
}
.grp-sp-section:last-child {
  border-bottom: none;
}

.grp-sp-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.grp-sp-drow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid #f4f6fb;
  font-size: 12px;
}
.grp-sp-drow:last-child {
  border-bottom: none;
}

.grp-sp-drow-lbl {
  color: #a1a5b7;
  font-weight: 500;
}

.grp-sp-drow-val {
  color: #4a4e54;
  font-weight: 600;
  text-align: right;
}

.pulse {
  width: 7px;
  height: 7px;
  background: #50cd89;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-anim 1.5s infinite;
}

@keyframes pulse-anim {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
/* ══════════════════════════════════════════════════════
   DEVICE DETAILS PAGE — /devices/details
   ══════════════════════════════════════════════════════ */
/* ── Hero ── */
.dd-hero {
  background: linear-gradient(135deg, #0f1229 0%, #192244 50%, #0d2040 100%);
  border-radius: 14px;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.dd-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 158, 247, 0.18), transparent 70%);
  pointer-events: none;
}
.dd-hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 120px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 92, 246, 0.12), transparent 70%);
  pointer-events: none;
}

.dd-hero-inner {
  position: relative;
  z-index: 1;
}

.dd-hero-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  flex-shrink: 0;
}

.dd-hero-name {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.dd-hero-model {
  font-family: "Space Mono", monospace;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 8px;
}

.dd-hero-chip {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
}
.dd-hero-chip.dh-chip-online {
  background: rgba(127, 182, 133, 0.15);
  color: #6aeaaa;
  border-color: rgba(127, 182, 133, 0.3);
}
.dd-hero-chip.dh-chip-knx {
  background: rgba(100, 116, 255, 0.2);
  color: #8ba4ff;
  border-color: rgba(100, 116, 255, 0.35);
  font-family: "Space Mono", monospace;
  font-size: 10.5px;
}

.dd-hero-stats {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  align-self: flex-start;
  flex-shrink: 0;
}

.dd-hero-stat {
  padding: 12px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.dd-hero-stat:last-child {
  border-right: none;
}

.dd-hero-stat-val {
  font-size: 20px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}

.dd-hero-stat-lbl {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero buttons */
.dd-hero-btn, .dd-hero-btn-dan, .dd-hero-btn-pri {
  padding: 7px 13px !important;
  border-radius: 7px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.84) !important;
}
.dd-hero-btn:hover, .dd-hero-btn-dan:hover, .dd-hero-btn-pri:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.dd-hero-btn-pri {
  background: #009ef7 !important;
  border-color: #009ef7 !important;
  color: #fff !important;
}

.dd-hero-btn-dan {
  background: rgba(241, 65, 108, 0.2) !important;
  border-color: rgba(241, 65, 108, 0.4) !important;
  color: #ff8faa !important;
}

/* ── Tab Bar ── */
.dd-tab-bar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(45, 52, 54, 0.058);
  padding: 4px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
}
.dd-tab-bar::-webkit-scrollbar {
  height: 3px;
}
.dd-tab-bar::-webkit-scrollbar-thumb {
  background: #ece9e4;
  border-radius: 2px;
}

.dd-tab {
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  color: #a1a5b7;
  white-space: nowrap;
  transition: 0.14s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dd-tab:hover {
  background: #f4f6fb;
  color: #4a4e54;
}
.dd-tab.active {
  background: #009ef7;
  color: #fff;
}

.dd-tab-badge {
  padding: 1px 5px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.25);
}
.dd-tab:not(.active) .dd-tab-badge {
  background: #ece9e4;
  color: #a1a5b7;
}

/* ── 2-Column Grid ── */
.dd-g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Data Rows ── */
.dd-drow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.dd-drow:last-child {
  border-bottom: none;
}

.dd-drow-lbl {
  color: #a1a5b7;
  font-weight: 500;
}

.dd-drow-val {
  font-weight: 700;
  color: #4a4e54;
  font-size: 11.5px;
  text-align: right;
}
.dd-drow-val.mono {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #009ef7;
}

/* ── Rules ── */
.dd-rule-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #fafbfd;
  border: 1.5px solid #ece9e4;
  margin-bottom: 7px;
  transition: 0.12s;
}
.dd-rule-row:hover {
  border-color: #009ef7;
}
.dd-rule-row:last-child {
  margin-bottom: 0;
}

.dd-rule-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

/* ── Signal Bars ── */
.dd-signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.dd-sbar {
  width: 3px;
  border-radius: 1px;
}

/* ── Mini KPIs ── */
.dd-mkpi {
  background: #fafbfd;
  border: 1.5px solid #ece9e4;
  border-radius: 10px;
  padding: 13px 14px;
  text-align: center;
}

.dd-mkpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.dd-mkpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dd-mkpi-val {
  font-size: 22px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  letter-spacing: -1px;
  line-height: 1;
}

.dd-mkpi-lbl {
  font-size: 10px;
  color: #a1a5b7;
  margin-top: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.dd-mkpi-trend {
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 4px;
}
.dd-mkpi-trend.t-up {
  color: #7fb685;
}
.dd-mkpi-trend.t-dn {
  color: #f1416c;
}
.dd-mkpi-trend.t-eq {
  color: #a1a5b7;
}

/* ── KNX Param Blocks ── */
.dd-knx-blk {
  background: #fafbfd;
  border: 1.5px solid #ece9e4;
  border-radius: 10px;
  padding: 13px 15px;
  margin-bottom: 10px;
}
.dd-knx-blk:last-child {
  margin-bottom: 0;
}

.dd-knx-blk-title {
  font-size: 10.5px;
  font-weight: 800;
  color: #4a4e54;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dd-kf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.dd-kf:last-child {
  border-bottom: none;
}

.dd-kf-lbl {
  color: #a1a5b7;
  font-weight: 500;
}

.dd-kf-val {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  color: #4a4e54;
  font-size: 11px;
}

/* ── GA Table ── */
.dd-ga-addr {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 13px;
}

.dd-dpt {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  background: #f4f6fb;
  color: #a1a5b7;
  font-family: "Space Mono", monospace;
}

.dd-fc {
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  margin: 1px;
  display: inline-flex;
}
.dd-fc.dd-fc-c {
  background: #e8f7ff;
  color: #009ef7;
}
.dd-fc.dd-fc-r {
  background: #e8fff3;
  color: #7fb685;
}
.dd-fc.dd-fc-w {
  background: #fff8dd;
  color: #c08000;
}
.dd-fc.dd-fc-t {
  background: #f3eeff;
  color: #7239ea;
}
.dd-fc.dd-fc-u {
  background: #fff3ec;
  color: #f5813f;
}

/* ── Maintenance ── */
.dd-maint-banner {
  background: #fff8dd;
  border: 1.5px solid #ffeaa0;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dd-cbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  padding: 5px 0;
  border-bottom: 1px solid #ece9e4;
}
.dd-cbox:last-child {
  border-bottom: none;
}

/* ── Timeline ── */
.dd-timeline {
  display: flex;
  flex-direction: column;
}

.dd-tl-item {
  display: flex;
  gap: 13px;
  padding-bottom: 18px;
}
.dd-tl-item:last-child {
  padding-bottom: 0;
}
.dd-tl-item:last-child .dd-tl-line {
  display: none;
}

.dd-tl-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 26px;
  flex-shrink: 0;
}

.dd-tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.dd-tl-line {
  flex: 1;
  width: 2px;
  background: #ece9e4;
  margin: 3px 0;
}

.dd-tl-body {
  flex: 1;
}

.dd-tl-title {
  font-weight: 700;
  font-size: 12.5px;
  color: #4a4e54;
}

.dd-tl-date {
  font-size: 10.5px;
  color: #a1a5b7;
  margin-top: 2px;
}

.dd-tl-note {
  font-size: 11.5px;
  color: #4a4e54;
  margin-top: 6px;
  background: #fafbfd;
  border-left: 3px solid #ece9e4;
  padding: 6px 10px;
  border-radius: 0 6px 6px 0;
  line-height: 1.6;
}

/* ── Firmware ── */
.dd-fw-box {
  flex: 1;
  border: 1.5px solid #ece9e4;
  border-radius: 10px;
  padding: 14px 16px;
}
.dd-fw-box.dd-fw-cur {
  border-color: #7fb685;
  background: #f0fff8;
}

.dd-fw-lbl {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.dd-fw-ver {
  font-size: 22px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  letter-spacing: -1px;
}

.dd-release-notes {
  background: #f8faff;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.8;
}

/* ── Log ── */
.dd-log-row {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
  align-items: flex-start;
}
.dd-log-row:last-child {
  border-bottom: none;
}
.dd-log-row.dd-log-highlight {
  background: #fffbf0;
  padding: 9px 8px;
  border-radius: 6px;
  margin: 0 -8px;
}

.dd-log-time {
  font-family: "Space Mono", monospace;
  font-size: 10.5px;
  color: #a1a5b7;
  flex-shrink: 0;
  width: 80px;
  padding-top: 1px;
}

.dd-log-user {
  flex-shrink: 0;
  width: 110px;
  font-weight: 600;
  color: #4a4e54;
  padding-top: 1px;
}

.dd-log-action {
  flex: 1;
  color: #4a4e54;
  line-height: 1.5;
}

.dd-log-type {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Chart Placeholder ── */
.dd-chart-placeholder {
  border: 1.5px dashed #ece9e4;
}

/* ── Toolbar button warning variant ── */
.toolbar-btn-warning {
  background: #fff8dd !important;
  color: #c08000 !important;
  border: 1.5px solid #ffeaa0 !important;
}
.toolbar-btn-warning:hover {
  background: #ffeaa0 !important;
}

/* ── Toolbar button danger variant ── */
.toolbar-btn-danger {
  background: #fff5f8 !important;
  color: #f1416c !important;
  border: 1.5px solid #fcd6e0 !important;
}
.toolbar-btn-danger:hover {
  background: #fcd6e0 !important;
}

/* ════════════════════════════════════════════════
   DEVICE TYPES PAGE — /devices/types
   ════════════════════════════════════════════════ */
/* ── Split Layout ── */
.dt-split {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.dt-split-main {
  flex: 1;
  min-width: 0;
}

.dt-split-side {
  flex: 0 0 296px;
  position: sticky;
  top: 78px;
}

/* ── Category Tabs ── */
.dt-cat-tabs {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.dt-cat-tabs::-webkit-scrollbar {
  height: 3px;
}
.dt-cat-tabs::-webkit-scrollbar-thumb {
  background: #ece9e4;
  border-radius: 2px;
}

.dt-ct {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid #ece9e4;
  background: #fff;
  color: #a1a5b7;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.14s;
}
.dt-ct:hover {
  border-color: #009ef7;
  color: #009ef7;
}
.dt-ct.dt-ct-active {
  background: #009ef7;
  border-color: #009ef7;
  color: #fff;
}
.dt-ct.dt-ct-active .dt-ct-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.dt-ct-count {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 5px;
  background: #ece9e4;
  color: #a1a5b7;
}

/* ── View Toggle ── */
.dt-vt {
  padding: 6px 11px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #a1a5b7;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: 0.12s;
}
.dt-vt.dt-vt-active {
  background: #fff;
  color: #009ef7;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.09);
}

/* ── Table View ── */
.dt-table-wrap {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(45, 52, 54, 0.058);
  overflow: hidden;
}

/* ── Card Grid ── */
.dt-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dt-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(45, 52, 54, 0.058);
  border: 1.5px solid #ece9e4;
  cursor: pointer;
  transition: 0.18s;
  padding: 16px 18px;
}
.dt-card:hover {
  border-color: #009ef7;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 158, 247, 0.1);
}
.dt-card.dt-card-sel {
  border-color: #009ef7;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.13);
}

/* ── Type card icon ── */
.dt-tc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}

/* ── Protocol Badges ── */
.dt-proto {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  letter-spacing: 0.3px;
  display: inline-flex;
  margin: 1px;
}

.dt-p-knx {
  background: #1a1e3a;
  color: #8ba4ff;
}

.dt-p-bac {
  background: #0d3320;
  color: #6aeaaa;
}

.dt-p-mod {
  background: #3a2000;
  color: #ffd06a;
}

.dt-p-ip {
  background: #001f3a;
  color: #6aceff;
}

.dt-p-dali {
  background: #1a2a00;
  color: #b5ff6a;
}

/* ── DPT Badge ── */
.dt-dpt-b {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  background: #f4f6fb;
  color: #a1a5b7;
  font-family: "Space Mono", monospace;
  display: inline-flex;
  margin: 1px;
}

/* ── Action Buttons ── */
.dt-atn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  border: 1.5px solid #ece9e4;
  background: #fff;
  color: #a1a5b7;
  transition: 0.12s;
  margin-left: 2px;
}
.dt-atn.dt-atn-pri:hover {
  background: #e8f7ff;
  color: #009ef7;
  border-color: #009ef7;
}
.dt-atn.dt-atn-dan:hover {
  background: #fff5f8;
  color: #f1416c;
  border-color: #f1416c;
}

/* ── Side Panel ── */
.dt-sp-hd {
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1733, #162248);
}

.dt-sp-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  transition: 0.12s;
}
.dt-sp-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.dt-sp-stat-box {
  background: #fff;
  border: 1.5px solid #ece9e4;
  border-radius: 8px;
  padding: 8px 12px;
  text-align: center;
}

.dt-sp-stat-val {
  font-size: 17px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  line-height: 1;
}

.dt-sp-stat-lbl {
  font-size: 9px;
  color: #a1a5b7;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-top: 2px;
}

.dt-sp-sec {
  padding: 12px 16px;
  border-bottom: 1px solid #ece9e4;
}
.dt-sp-sec:last-child {
  border-bottom: none;
}

.dt-sp-sec-title {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.dt-sp-drow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.dt-sp-drow:last-child {
  border-bottom: none;
}

.dt-sp-dr-lbl {
  color: #a1a5b7;
  font-weight: 500;
  flex-shrink: 0;
  padding-right: 8px;
}

.dt-sp-dr-val {
  font-weight: 700;
  color: #2d3436;
  font-size: 11.5px;
  text-align: right;
}
.dt-sp-dr-val.mono {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #009ef7;
}

/* ── COM Object Rows ── */
.dt-co-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 11.5px;
}
.dt-co-row:last-child {
  border-bottom: none;
}

.dt-co-num {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #f4f6fb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  font-weight: 700;
  color: #a1a5b7;
  flex-shrink: 0;
  font-family: "Space Mono", monospace;
}

.dt-co-name {
  flex: 1;
  font-weight: 600;
  color: #2d3436;
}

.dt-co-dir {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

.dt-co-s {
  background: #e8fff3;
  color: #7fb685;
}

.dt-co-r {
  background: #e8f7ff;
  color: #009ef7;
}

.dt-co-sr {
  background: #f3eeff;
  color: #7239ea;
}

/* ── Manufacturer Chips ── */
.dt-mfr-chip {
  padding: 4px 9px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  background: #fafbfd;
  border: 1.5px solid #ece9e4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 2px;
}

/* ── Usage Bar ── */
.dt-usage-bar {
  height: 5px;
  border-radius: 3px;
  background: #f1f3f9;
  overflow: hidden;
}

.dt-usage-fill {
  height: 100%;
  border-radius: 3px;
}

/* ════════════════════════════════════════════════
   FAULTS & EVENTS PAGE — /devices/faults
   ════════════════════════════════════════════════ */
/* ── Alert Banner ── */
.fl-alert-banner {
  background: linear-gradient(135deg, #2d0a12, #3d0f1b);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 24px rgba(241, 65, 108, 0.2);
  border: 1.5px solid rgba(241, 65, 108, 0.3);
}

.fl-alert-icon {
  font-size: 28px;
  flex-shrink: 0;
  animation: fl-shake 2s ease infinite;
}

@keyframes fl-shake {
  0%, 100% {
    transform: rotate(0);
  }
  10%, 30% {
    transform: rotate(-4deg);
  }
  20%, 40% {
    transform: rotate(4deg);
  }
  50% {
    transform: rotate(0);
  }
}
.fl-alert-title {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.fl-alert-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-top: 2px;
}

/* ── Live Pulse (danger) ── */
.pulse-danger {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f1416c;
  display: inline-block;
  animation: fl-livepulse 1.4s infinite;
}

@keyframes fl-livepulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}
/* ── Layout ── */
.fl-layout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.fl-main-col {
  flex: 1;
  min-width: 0;
}

.fl-side-col {
  flex: 0 0 296px;
  position: sticky;
  top: 78px;
}

/* ── Status Tabs ── */
.fl-status-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(45, 52, 54, 0.058);
  overflow: hidden;
}

.fl-st {
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: #a1a5b7;
  border-right: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: 0.12s;
  white-space: nowrap;
}
.fl-st:last-child {
  border-right: none;
}
.fl-st:hover {
  background: #f8faff;
}
.fl-st.fl-st-active {
  background: #f0f7ff;
  color: #009ef7;
}
.fl-st.fl-st-active .fl-st-cnt {
  background: #009ef7;
  color: #fff;
}

.fl-st-cnt {
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 800;
}

/* ── Severity Badges ── */
.fl-sev-crit {
  background: #f1416c;
  color: #fff;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.fl-sev-high {
  background: #ffc700;
  color: #2d3436;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
}

.fl-sev-med {
  background: #009ef7;
  color: #fff;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
}

.fl-sev-low {
  background: #f4f6fb;
  color: #7e8299;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
}

/* ── Event Card ── */
.fl-ev-card {
  background: #fff;
  border-radius: 11px;
  box-shadow: 0 2px 14px rgba(45, 52, 54, 0.058);
  border: 1.5px solid #ece9e4;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.14s;
  position: relative;
}
.fl-ev-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.09);
  transform: translateY(-1px);
}
.fl-ev-card.fl-ev-selected {
  border-color: #009ef7;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.12);
}
.fl-ev-card.fl-ev-crit {
  border-left: 4px solid #f1416c;
}
.fl-ev-card.fl-ev-high {
  border-left: 4px solid #ffc700;
}
.fl-ev-card.fl-ev-med {
  border-left: 4px solid #009ef7;
}
.fl-ev-card.fl-ev-low {
  border-left: 4px solid #a1a5b7;
}
.fl-ev-card.fl-ev-resolved {
  border-left: 4px solid #7fb685;
  opacity: 0.85;
}

.fl-ev-new {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f1416c;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  animation: fl-newbadge 2s ease infinite;
}

@keyframes fl-newbadge {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.fl-ev-body {
  padding: 13px 16px;
}

.fl-ev-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.fl-ev-title {
  font-weight: 800;
  font-size: 13.5px;
  color: #2d3436;
  line-height: 1.3;
  margin-bottom: 3px;
}

.fl-ev-device {
  font-size: 11.5px;
  color: #a1a5b7;
  margin-bottom: 6px;
}

.fl-ev-meta {
  display: flex;
  gap: 14px;
  padding-top: 9px;
  border-top: 1px solid #ece9e4;
  flex-wrap: wrap;
}

.fl-em-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.fl-em-val {
  font-size: 12px;
  font-weight: 700;
  font-family: "Space Mono", monospace;
}

.fl-em-lbl {
  font-size: 9.5px;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}

/* ── Detail Panel ── */
.fl-detail-stat {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 8px 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fl-detail-stat-val {
  font-size: 13px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  line-height: 1;
}

.fl-detail-stat-lbl {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
}

.fl-detail-sec {
  padding: 13px 16px;
  border-bottom: 1px solid #ece9e4;
}
.fl-detail-sec:last-child {
  border-bottom: none;
}

.fl-detail-sec-title {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
}

/* ── Timeline ── */
.fl-tl-item {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.fl-tl-item:last-child {
  border-bottom: none;
}

.fl-tl-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── Bar Chart (sidebar) ── */
.fl-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 11.5px;
}

.fl-bar-lbl {
  width: 90px;
  font-weight: 600;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fl-bar-track {
  flex: 1;
  height: 7px;
  background: #f1f3f9;
  border-radius: 4px;
  overflow: hidden;
}

.fl-bar-fill {
  height: 100%;
  border-radius: 4px;
}

.fl-bar-val {
  width: 30px;
  text-align: right;
  font-family: "Space Mono", monospace;
  font-size: 10.5px;
  color: #a1a5b7;
  font-weight: 700;
}

.ih-layout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ih-main-col {
  flex: 1;
  min-width: 0;
}

.ih-side-col {
  flex: 0 0 296px;
  position: sticky;
  top: 78px;
}

.ih-vt {
  padding: 6px 11px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #a1a5b7;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: 0.12s;
}

.ih-vt-active {
  background: #fff;
  color: #009ef7;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.09);
}

.ih-year-group {
  margin-bottom: 28px;
}

.ih-year-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ih-year-label {
  font-size: 16px;
  font-weight: 800;
  color: #2d3436;
  font-family: "Space Mono", monospace;
}

.ih-year-line {
  flex: 1;
  height: 1.5px;
  background: #ece9e4;
}

.ih-ys {
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  background: #fff;
  border: 1.5px solid #ece9e4;
}

.ih-ir {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  position: relative;
}

.ih-ir-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
}

.ih-ir-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #009ef7;
}

.ih-ir-line {
  width: 2px;
  flex: 1;
  background: #ece9e4;
  margin-top: 4px;
}

.ih-ir-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(45, 52, 54, 0.058);
  border: 1.5px solid #ece9e4;
  overflow: hidden;
  cursor: pointer;
  transition: 0.15s;
  margin-bottom: 2px;
}
.ih-ir-card:hover {
  border-color: #009ef7;
  box-shadow: 0 4px 18px rgba(0, 158, 247, 0.08);
}

.ih-ir-selected {
  border-color: #009ef7 !important;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.12) !important;
}

.ih-ir-body {
  padding: 14px 16px;
}

.ih-ir-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ih-ir-title {
  font-weight: 800;
  font-size: 13.5px;
  color: #2d3436;
  line-height: 1.3;
  margin-bottom: 3px;
}

.ih-ir-sub {
  font-size: 11.5px;
  color: #a1a5b7;
  margin-bottom: 6px;
}

.ih-ir-meta {
  display: flex;
  gap: 16px;
  padding-top: 9px;
  border-top: 1px solid #ece9e4;
  flex-wrap: wrap;
}

.ih-im-val {
  font-size: 12px;
  font-weight: 700;
  font-family: "Space Mono", monospace;
  color: #2d3436;
}

.ih-im-lbl {
  font-size: 9.5px;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.ih-tp {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
}

.ih-tp-install {
  background: #e8f7ff;
  color: #009ef7;
}

.ih-tp-fw {
  background: #f3eeff;
  color: #7239ea;
}

.ih-tp-replace {
  background: #fff8dd;
  color: #c08000;
}

.ih-tp-commission {
  background: #e8fff3;
  color: #7fb685;
}

.ih-tp-decommission {
  background: #fff5f8;
  color: #f1416c;
}

.ih-tp-config {
  background: #e0faf5;
  color: #00c9a7;
}

.ih-inst-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.ih-sp-hd {
  padding: 14px 16px;
  background: linear-gradient(135deg, #0b1733, #162248);
  position: relative;
}

.ih-sp-sec-title {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
}

.ih-drow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 5px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
  gap: 8px;
}
.ih-drow:last-child {
  border-bottom: none;
}

.ih-dr-lbl {
  color: #a1a5b7;
  font-weight: 500;
  flex-shrink: 0;
}

.ih-dr-val {
  font-weight: 700;
  color: #2d3436;
  font-size: 11.5px;
  text-align: right;
}

.ih-mono {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #009ef7;
}

.ih-bd-pri, .ih-bd-gray, .ih-bd-teal, .ih-bd-warn, .ih-bd-ok, .ih-bd-inf {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
  background: #e8f7ff;
  color: #009ef7;
}

.ih-bd-inf {
  background: #f3eeff;
  color: #7239ea;
}

.ih-bd-ok {
  background: #e8fff3;
  color: #7fb685;
}

.ih-bd-warn {
  background: #fff8dd;
  color: #c08000;
}

.ih-bd-teal {
  background: #e0faf5;
  color: #00c9a7;
}

.ih-bd-gray {
  background: #f4f6fb;
  color: #7e8299;
}

.ih-table-grid {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(45, 52, 54, 0.058);
}

.mf-layout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.mf-left-col {
  flex: 0 0 320px;
}

.mf-right-col {
  flex: 1;
  min-width: 0;
}

.mf-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #ece9e4;
  cursor: pointer;
  transition: 0.12s;
  position: relative;
}
.mf-item:last-child {
  border-bottom: none;
}
.mf-item:hover {
  background: #f8faff;
}

.mf-item-selected {
  background: #f0f7ff !important;
  border-left: 3px solid #009ef7;
}
.mf-item-selected .mf-name {
  color: #009ef7;
}

.mf-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  right: 14px;
  top: 14px;
}

.mf-logo {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  font-family: "Space Mono", monospace;
  border: 1.5px solid #ece9e4;
}

.mf-name {
  font-weight: 800;
  font-size: 13px;
  color: #2d3436;
  line-height: 1.2;
  margin-bottom: 2px;
}

.mf-sub {
  font-size: 11px;
  color: #a1a5b7;
}

.mf-proto {
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  display: inline-flex;
  margin: 1px;
}

.mf-p-knx {
  background: #1a1e3a;
  color: #8ba4ff;
}

.mf-p-ip {
  background: #001f3a;
  color: #6aceff;
}

.mf-p-bac {
  background: #0d3320;
  color: #6aeaaa;
}

.mf-p-mod {
  background: #3a2000;
  color: #ffd06a;
}

.mf-p-dali {
  background: #1a2a00;
  color: #a0d060;
}

.mf-dh {
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}

.mf-dh-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -1px;
  font-family: "Space Mono", monospace;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.mf-dh-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.mf-cert {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid;
}

.mf-cert-knx {
  background: rgba(0, 158, 247, 0.15);
  color: #6aceff;
  border-color: rgba(0, 158, 247, 0.3);
}

.mf-cert-iso {
  background: rgba(80, 205, 137, 0.15);
  color: #6aeaaa;
  border-color: rgba(80, 205, 137, 0.3);
}

.mf-cert-ce {
  background: rgba(255, 199, 0, 0.15);
  color: #ffd55a;
  border-color: rgba(255, 199, 0, 0.3);
}

.mf-cert-bacnet {
  background: rgba(114, 57, 234, 0.15);
  color: #b39dff;
  border-color: rgba(114, 57, 234, 0.3);
}

.mf-cert-dali {
  background: rgba(0, 201, 167, 0.15);
  color: #5af0da;
  border-color: rgba(0, 201, 167, 0.3);
}

.mf-cert-ul {
  background: rgba(245, 129, 63, 0.15);
  color: #ffb07a;
  border-color: rgba(245, 129, 63, 0.3);
}

.mf-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid #ece9e4;
}

.mf-stat-box {
  background: #f8faff;
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
  border: 1.5px solid #ece9e4;
}

.mf-stat-val {
  font-size: 20px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  line-height: 1;
  letter-spacing: -0.5px;
}

.mf-stat-lbl {
  font-size: 9px;
  color: #a1a5b7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.mf-tabs {
  display: flex;
  border-bottom: 2px solid #ece9e4;
  padding: 0 24px;
}

.mf-tab {
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #a1a5b7;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  transition: 0.12s;
  white-space: nowrap;
}
.mf-tab:hover {
  color: #4a4e54;
}

.mf-tab-active {
  color: #009ef7 !important;
  border-bottom-color: #009ef7 !important;
}

.mf-product-grid {
  border-radius: 10px;
  overflow: hidden;
}

.mf-warr-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.mf-warr-row:last-child {
  border-bottom: none;
}

.mf-wbar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #f1f3f9;
  overflow: hidden;
}

.mf-wbar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.mf-contract-box {
  padding: 14px;
  background: #f8faff;
  border-radius: 10px;
  border: 1.5px solid #ece9e4;
}

.mf-contact-card {
  background: #f8faff;
  border-radius: 10px;
  padding: 14px 16px;
  border: 1.5px solid #ece9e4;
  margin-bottom: 10px;
}
.mf-contact-card:last-child {
  margin-bottom: 0;
}

.mf-doc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #f8faff;
  border-radius: 10px;
  border: 1.5px solid #ece9e4;
  cursor: pointer;
  transition: 0.12s;
}
.mf-doc-card:hover {
  border-color: #009ef7;
  background: #f0f7ff;
}

.mn-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: start;
}

.mn-main-col {
  min-width: 0;
}

.mn-side-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 78px;
}

.mn-vt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #a1a5b7;
  cursor: pointer;
  transition: 0.12s;
  user-select: none;
}
.mn-vt:hover {
  background: #f5f8fe;
  color: #4a4e54;
}

.mn-vt-active {
  background: #009ef7;
  color: #fff;
}
.mn-vt-active:hover {
  background: #009ef7;
  color: #fff;
}

.mn-status-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mn-st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #a1a5b7;
  background: #f5f8fe;
  cursor: pointer;
  transition: 0.12s;
  user-select: none;
}
.mn-st:hover {
  background: #e8f0fe;
  color: #4a4e54;
}

.mn-st-active {
  background: #009ef7;
  color: #fff;
}
.mn-st-active:hover {
  background: #009ef7;
  color: #fff;
}
.mn-st-active .mn-st-cnt {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.mn-st-cnt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  background: rgba(0, 0, 0, 0.06);
  color: #a1a5b7;
}

.mn-tc {
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #ece9e4;
  cursor: pointer;
  transition: 0.14s;
  overflow: hidden;
}
.mn-tc:hover {
  border-color: rgba(0, 158, 247, 0.35);
  box-shadow: 0 2px 14px rgba(45, 52, 54, 0.058);
}

.mn-tc-selected {
  border-color: #009ef7;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.12);
}

.mn-tc-overdue {
  border-left: 3px solid #f1416c;
}

.mn-tc-inprogress {
  border-left: 3px solid #009ef7;
}

.mn-tc-planned {
  border-left: 3px solid #ffc700;
}

.mn-tc-completed {
  border-left: 3px solid #7fb685;
  opacity: 0.7;
}

.mn-tc-body {
  padding: 14px 16px;
}

.mn-tc-top {
  display: flex;
  gap: 12px;
}

.mn-tc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.mn-tc-title {
  font-size: 13px;
  font-weight: 700;
  color: #2d3436;
  line-height: 1.3;
  margin-bottom: 2px;
}

.mn-tc-device {
  font-size: 11px;
  color: #a1a5b7;
  font-family: "Space Mono", monospace;
  margin-bottom: 4px;
}

.mn-tc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ece9e4;
}

.mn-tm-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mn-tm-val {
  font-size: 12px;
  font-weight: 700;
  color: #2d3436;
}

.mn-tm-lbl {
  font-size: 9px;
  font-weight: 700;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mn-prio-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mn-prio-crit {
  background: #f1416c;
}

.mn-prio-high {
  background: #ffc700;
}

.mn-prio-med {
  background: #009ef7;
}

.mn-prio-low {
  background: #a1a5b7;
}

.mn-tech-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.mn-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}

.mn-badge-crit {
  background: #fff5f8;
  color: #f1416c;
}

.mn-badge-pri {
  background: #e8f7ff;
  color: #009ef7;
}

.mn-badge-warn {
  background: #fff8dd;
  color: #c08000;
}

.mn-badge-ok {
  background: #e8fff3;
  color: #7fb685;
}

.mn-badge-gray {
  background: #f5f8fe;
  color: #a1a5b7;
}

.mn-cal-wrap {
  padding: 4px;
}

.mn-cal-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}

.mn-cal-title {
  font-size: 14px;
  font-weight: 800;
  color: #2d3436;
}

.mn-cal-nav {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1.5px solid #ece9e4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  color: #a1a5b7;
  transition: 0.12s;
}
.mn-cal-nav:hover {
  border-color: #009ef7;
  color: #009ef7;
}

.mn-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}

.mn-cal-dh {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
}

.mn-cal-day {
  min-height: 72px;
  padding: 6px;
  border: 1px solid #ece9e4;
  border-radius: 6px;
  position: relative;
}

.mn-cal-other {
  background: #fafbfd;
}

.mn-cal-today {
  background: #e8f7ff;
  border-color: #009ef7;
}
.mn-cal-today .mn-cal-dn {
  color: #009ef7;
  font-weight: 800;
}

.mn-cal-dn {
  font-size: 12px;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 4px;
}

.mn-ctd {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.mn-ctd-over {
  background: #fff5f8;
  color: #f1416c;
}

.mn-ctd-prog {
  background: #e8f7ff;
  color: #009ef7;
}

.mn-ctd-plan {
  background: #fff8dd;
  color: #c08000;
}

.mn-ctd-done {
  background: #e8fff3;
  color: #7fb685;
}

.mn-tl-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
}

.mn-tl-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

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

.mn-tl-line {
  width: 2px;
  flex: 1;
  background: #ece9e4;
  margin-top: 4px;
}

.mn-tl-content {
  flex: 1;
  min-width: 0;
}

.mn-tl-date {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}

.mn-tl-title {
  font-size: 12px;
  font-weight: 700;
  color: #2d3436;
  line-height: 1.3;
}

.mn-tl-sub {
  font-size: 10.5px;
  color: #a1a5b7;
  margin-top: 1px;
}

.mn-dp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 28, 50, 0.45);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 14px;
}

.mn-dp {
  width: 380px;
  height: calc(100vh - 28px);
  background: #fff;
  border-radius: 14px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  animation: mnSlideIn 0.18s ease;
}

@keyframes mnSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: none;
  }
}
.mn-dp-hd {
  padding: 16px 18px;
  background: linear-gradient(135deg, #0b1733, #162248);
  position: relative;
  flex-shrink: 0;
  border-radius: 14px 14px 0 0;
}

.mn-dp-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  transition: 0.12s;
}
.mn-dp-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.mn-dp-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.mn-dp-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
}

.mn-dp-stats {
  padding: 13px 16px;
  border-bottom: 1px solid #ece9e4;
  background: #fafbfd;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 7px;
}

.mn-dp-stat-box {
  background: #fff;
  border: 1.5px solid #ece9e4;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}

.mn-dp-stat-val {
  font-size: 13px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #2d3436;
}

.mn-dp-stat-lbl {
  font-size: 9px;
  color: #a1a5b7;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
}

.mn-dp-section {
  padding: 13px 16px;
  border-bottom: 1px solid #ece9e4;
  flex-shrink: 0;
}

.mn-dp-sec-title {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
}

.mn-cl-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
}

.mn-cl-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #ece9e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  flex-shrink: 0;
  cursor: pointer;
  transition: 0.12s;
}

.mn-cl-checked {
  background: #009ef7;
  border-color: #009ef7;
  color: #fff;
}

.mn-dp-actions {
  padding: 13px 16px;
  flex-shrink: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.tp-page-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  height: calc(100vh - 58px);
}

.tp-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fb685;
  display: inline-block;
  animation: tpPulse 2s infinite;
}

@keyframes tpPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.tp-tree-panel {
  width: 280px;
  background: #fff;
  border-right: 1px solid #ece9e4;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
}

.tp-tree-header {
  padding: 12px 14px;
  border-bottom: 1px solid #ece9e4;
  flex-shrink: 0;
}

.tp-tree-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f4f6fb;
  border-radius: 7px;
  padding: 7px 10px;
  border: 1.5px solid #ece9e4;
}

.tp-tree-scroll {
  overflow-y: auto;
  flex: 1;
  padding: 8px;
}
.tp-tree-scroll::-webkit-scrollbar {
  width: 4px;
}
.tp-tree-scroll::-webkit-scrollbar-thumb {
  background: #ece9e4;
  border-radius: 2px;
}

.tp-tree-section-label {
  padding: 5px 9px 3px;
  font-size: 9.5px;
  font-weight: 800;
  color: #a1a5b7;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.tp-tn-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  cursor: pointer;
  border-radius: 7px;
  transition: 0.12s;
  user-select: none;
}
.tp-tn-row:hover {
  background: #f4f6fb;
}

.tp-tn-selected {
  background: #e8f7ff;
  border-left: 2.5px solid #009ef7;
}
.tp-tn-selected .tp-tn-name {
  color: #009ef7;
}

.tp-tn-toggle {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #a1a5b7;
  flex-shrink: 0;
  transition: 0.2s;
}

.tp-tn-toggle-open {
  transform: rotate(90deg);
}

.tp-tn-icon {
  font-size: 15px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.tp-tn-name {
  font-size: 12px;
  font-weight: 600;
  color: #4a4e54;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tp-tn-count {
  font-size: 10px;
  font-weight: 700;
  font-family: "Space Mono", monospace;
  color: #a1a5b7;
}

.tp-tn-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tp-ts-ok {
  background: #7fb685;
}

.tp-ts-fault {
  background: #f1416c;
  animation: tpBlink 1.4s infinite;
}

.tp-ts-off {
  background: #a1a5b7;
}

.tp-ts-warn {
  background: #ffc700;
}

@keyframes tpBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.tp-canvas-area {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #f0f4fc;
}

.tp-canvas-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #d0d9ef 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.55;
}

.tp-canvas-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.tp-canvas-kpis {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.tp-ck {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #ece9e4;
}

.tp-ck-icon {
  font-size: 16px;
}

.tp-ck-val {
  font-size: 15px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  line-height: 1;
  letter-spacing: -0.5px;
}

.tp-ck-lbl {
  font-size: 9.5px;
  color: #a1a5b7;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.tp-canvas-filters {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 10;
}

.tp-cf-btn {
  background: #fff;
  border: 1.5px solid #ece9e4;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4a4e54;
  transition: 0.12s;
}
.tp-cf-btn:hover {
  border-color: #009ef7;
  color: #009ef7;
}

.tp-cf-active {
  background: #009ef7;
  border-color: #009ef7;
  color: #fff;
}
.tp-cf-active:hover {
  background: #009ef7;
  color: #fff;
}

.tp-legend {
  position: absolute;
  bottom: 80px;
  left: 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(45, 52, 54, 0.058);
  padding: 11px 14px;
  z-index: 10;
  border: 1.5px solid #ece9e4;
}

.tp-leg-title {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 7px;
}

.tp-leg-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #4a4e54;
  margin-bottom: 4px;
}
.tp-leg-row:last-child {
  margin-bottom: 0;
}

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

.tp-leg-sq {
  width: 14px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.tp-canvas-controls {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
  padding: 6px;
  z-index: 10;
}

.tp-cc-btn {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  background: transparent;
  color: #4a4e54;
  transition: 0.12s;
}
.tp-cc-btn:hover {
  background: #f4f6fb;
}

.tp-cc-active {
  background: #009ef7;
  color: #fff;
}
.tp-cc-active:hover {
  background: #009ef7;
}

.tp-cc-sep {
  width: 1px;
  background: #ece9e4;
  margin: 4px 0;
}

.tp-zoom-display {
  font-size: 11px;
  font-weight: 700;
  font-family: "Space Mono", monospace;
  color: #a1a5b7;
  padding: 0 8px;
  display: flex;
  align-items: center;
}

.tp-detail-panel {
  width: 296px;
  background: #fff;
  border-left: 1px solid #ece9e4;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow-y: auto;
}
.tp-detail-panel::-webkit-scrollbar {
  width: 4px;
}
.tp-detail-panel::-webkit-scrollbar-thumb {
  background: #ece9e4;
  border-radius: 2px;
}

.tp-dp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 30px 20px;
  text-align: center;
}

.tp-dp-hd {
  padding: 16px;
  border-bottom: 1px solid #ece9e4;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.tp-dp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.tp-dp-sec {
  padding: 12px 16px;
  border-bottom: 1px solid #ece9e4;
}
.tp-dp-sec:last-child {
  border-bottom: none;
}

.tp-dp-sec-title {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 8px;
}

.tp-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 700;
}

.tp-chip-ok {
  background: #e8fff3;
  color: #7fb685;
}

.tp-chip-crit {
  background: #fff5f8;
  color: #f1416c;
}

.tp-chip-warn {
  background: #fff8dd;
  color: #c08000;
}

.tp-chip-pri {
  background: #e8f7ff;
  color: #009ef7;
}

.tp-chip-gray {
  background: #f4f6fb;
  color: #a1a5b7;
}

.tp-chip-inf {
  background: #f3eeff;
  color: #7239ea;
}

.tp-chip-teal {
  background: #e0faf5;
  color: #00c9a7;
}

.tp-dev-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
  cursor: pointer;
  transition: 0.1s;
}
.tp-dev-mini:hover {
  background: #f8faff;
  margin: 0 -4px;
  padding: 6px 4px;
  border-radius: 5px;
}
.tp-dev-mini:last-child {
  border-bottom: none;
}

.og-split-layout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.og-split-main {
  flex: 1;
  min-width: 0;
}

.og-split-side {
  flex: 0 0 300px;
  position: sticky;
  top: 78px;
}

.og-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.og-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(45, 52, 54, 0.058);
  border: 1.5px solid #ece9e4;
  overflow: hidden;
  cursor: pointer;
  transition: 0.18s;
}
.og-card:hover {
  border-color: #009ef7;
  box-shadow: 0 4px 20px rgba(0, 158, 247, 0.12);
  transform: translateY(-1px);
}
.og-card.og-card-selected {
  border-color: #009ef7;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.15);
}
.og-card.og-card-inactive {
  opacity: 0.65;
}

.og-card-band {
  height: 6px;
}

.og-card-body {
  padding: 16px 18px;
}

.og-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.og-avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #fff;
  flex-shrink: 0;
}

.og-name {
  font-weight: 800;
  font-size: 14px;
  color: #2d3436;
  line-height: 1.2;
}

.og-code {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: #a1a5b7;
  margin-top: 2px;
}

.og-stats {
  display: flex;
  gap: 0;
  padding: 10px 0;
  border-top: 1px solid #ece9e4;
  border-bottom: 1px solid #ece9e4;
  margin-bottom: 12px;
}

.og-stat {
  flex: 1;
  text-align: center;
  padding: 0 4px;
  border-right: 1px solid #ece9e4;
}
.og-stat:last-child {
  border-right: none;
}

.og-stat-val {
  font-size: 16px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #2d3436;
  letter-spacing: -0.5px;
  line-height: 1;
}

.og-stat-lbl {
  font-size: 9.5px;
  color: #a1a5b7;
  margin-top: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.og-info-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 11.5px;
}

.og-info-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: #a1a5b7;
}

.og-info-val {
  color: #4a4e54;
  font-weight: 600;
  margin-left: auto;
  text-align: right;
}

.og-card-footer {
  padding: 10px 18px;
  background: #fafbfd;
  border-top: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.og-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
}

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

.og-atn {
  width: 28px !important;
  height: 28px;
  border-radius: 6px;
  border: 1.5px solid #ece9e4 !important;
  background: #fff !important;
  color: #a1a5b7 !important;
  font-size: 13px;
  padding: 0 !important;
  min-width: 28px !important;
}
.og-atn:hover {
  background: #f4f6fb !important;
  color: #4a4e54 !important;
}
.og-atn.og-atn-danger:hover {
  background: #fff5f8 !important;
  color: #f1416c !important;
  border-color: #f1416c !important;
}

.og-fc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px !important;
  border-radius: 6px;
  font-size: 11.5px !important;
  font-weight: 600;
  border: 1.5px solid #ece9e4 !important;
  background: #fff !important;
  color: #a1a5b7 !important;
}
.og-fc:hover {
  border-color: #009ef7 !important;
  color: #009ef7 !important;
}
.og-fc.og-fc-active {
  border-color: #009ef7 !important;
  color: #009ef7 !important;
  background: #e8f7ff !important;
}

.og-view-toggle {
  display: flex;
  background: #f4f6fb;
  border-radius: 7px;
  padding: 3px;
  gap: 2px;
}

.og-vt {
  padding: 6px 11px !important;
  border-radius: 5px;
  font-size: 12px !important;
  font-weight: 600;
  color: #a1a5b7 !important;
  white-space: nowrap;
}
.og-vt.og-vt-active {
  background: #fff !important;
  color: #009ef7 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.09);
}

.og-type-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.og-tt {
  padding: 6px 12px !important;
  border-radius: 20px;
  font-size: 11.5px !important;
  font-weight: 700;
  border: 1.5px solid #ece9e4 !important;
  background: #fff !important;
  color: #a1a5b7 !important;
}
.og-tt:hover {
  border-color: #009ef7 !important;
  color: #009ef7 !important;
}
.og-tt.og-tt-active {
  background: #009ef7 !important;
  color: #fff !important;
  border-color: #009ef7 !important;
}

.og-tt-count {
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.25);
}
.og-tt:not(.og-tt-active) .og-tt-count {
  background: #f1f3f9;
  color: #a1a5b7;
}

.og-tbl-av {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  font-family: "Space Mono", monospace;
  flex-shrink: 0;
}

.og-sp-hd {
  padding: 16px 18px;
  border-bottom: 1px solid #ece9e4;
  background: linear-gradient(135deg, #12162b, #1a2442);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.og-sp-hd::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(0, 158, 247, 0.2), transparent 60%);
}

.og-sp-avatar {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.og-sp-name {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.og-sp-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}

.og-sp-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  position: relative;
  z-index: 1;
}

.og-sp-chip-type {
  background: rgba(0, 158, 247, 0.18);
  color: #9de0ff;
  border-color: rgba(0, 158, 247, 0.25);
}

.og-sp-chip-status {
  border-style: solid;
}

.og-sp-sec {
  padding: 14px 18px;
  border-bottom: 1px solid #ece9e4;
}
.og-sp-sec:last-child {
  border-bottom: none;
}

.og-sp-sec-title {
  font-size: 10px;
  font-weight: 700;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.og-sp-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.og-sp-kpi {
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

.og-sp-kpi-val {
  font-size: 18px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  letter-spacing: -0.5px;
}

.og-sp-kpi-lbl {
  font-size: 9.5px;
  color: #a1a5b7;
  margin-top: 2px;
  font-weight: 600;
}

.og-sp-bldg {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid #ece9e4;
  cursor: pointer;
}
.og-sp-bldg:hover .og-sp-bldg-name {
  color: #009ef7;
}
.og-sp-bldg:last-of-type {
  border-bottom: none;
}

.og-sp-bldg-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #e8f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.og-sp-bldg-name {
  font-weight: 700;
  font-size: 12px;
  color: #2d3436;
  transition: 0.12s;
}

.og-sp-bldg-sub {
  font-size: 10.5px;
  color: #a1a5b7;
  margin-top: 1px;
}

.og-tree-hd {
  padding: 14px 18px;
  border-bottom: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.og-tree-body {
  padding: 12px 14px;
  max-height: 480px;
  overflow-y: auto;
}

.og-tree-org-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 4px;
  transition: 0.12s;
}

.og-tree-org-av {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
}

.og-tree-arr {
  font-size: 10px;
  color: #009ef7;
  transition: transform 0.2s;
}
.og-tree-arr.og-tree-arr-open {
  transform: rotate(0deg);
}
.og-tree-arr:not(.og-tree-arr-open) {
  transform: rotate(-90deg);
}

.og-tree-bldg {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  cursor: pointer;
}
.og-tree-bldg:hover span:first-of-type {
  color: #009ef7;
}

.og-tree-bldg-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.dp-tri-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
  border-top: 1px solid #ece9e4;
}

.dp-cat-panel {
  width: 260px;
  background: #fff;
  border-right: 1px solid #ece9e4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}

.dp-cp-hd {
  padding: 11px 12px;
  border-bottom: 1px solid #ece9e4;
  flex-shrink: 0;
}

.dp-cp-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}
.dp-cp-body::-webkit-scrollbar {
  width: 4px;
}
.dp-cp-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.dp-cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: 0.1s;
  margin-bottom: 2px;
}
.dp-cat-item:hover {
  background: #f4f6fb;
}
.dp-cat-item.active {
  background: #f0f7ff;
  border-left: 3px solid #009ef7;
}
.dp-cat-item.active .dp-ci-name {
  color: #009ef7;
  font-weight: 700;
}

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

.dp-ci-name {
  font-size: 12px;
  font-weight: 600;
  color: #4a4e54;
  flex: 1;
}

.dp-ci-cnt {
  font-size: 10px;
  font-family: "Space Mono", monospace;
  color: #a1a5b7;
  background: #f4f6fb;
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: 700;
}
.dp-ci-cnt.active {
  background: #009ef7;
  color: #fff;
}

.dp-list-panel {
  width: 380px;
  background: #f5f8fe;
  border-right: 1px solid #ece9e4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}

.dp-dlp-hd {
  padding: 11px 14px;
  border-bottom: 1px solid #ece9e4;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dp-dlp-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}
.dp-dlp-body::-webkit-scrollbar {
  width: 4px;
}
.dp-dlp-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.dp-dpt-card {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #ece9e4;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: 0.13s;
  position: relative;
}
.dp-dpt-card:hover {
  border-color: #009ef7;
  box-shadow: 0 3px 14px rgba(0, 158, 247, 0.08);
}
.dp-dpt-card.selected {
  border-color: #009ef7;
  background: #f0f7ff;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.1);
}

.dp-dc-id {
  font-family: "Space Mono", monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: #009ef7;
  margin-bottom: 3px;
}

.dp-dc-name {
  font-weight: 800;
  font-size: 13px;
  color: #2d3436;
  margin-bottom: 4px;
}

.dp-dc-sub {
  font-size: 11.5px;
  color: #a1a5b7;
}

.dp-dc-chips {
  display: flex;
  gap: 4px;
  margin-top: 7px;
  flex-wrap: wrap;
}

.dp-bits-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #1e1e2d;
  color: #8ba4ff;
  border-radius: 6px;
  padding: 3px 9px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
}

.dp-detail {
  flex: 1;
  background: #f5f8fe;
  overflow-y: auto;
}
.dp-detail::-webkit-scrollbar {
  width: 6px;
}
.dp-detail::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
}

.dp-dd-hd {
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1733, #162248);
}

.dp-hd-kpi {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dp-hd-kpi-val {
  font-size: 18px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  line-height: 1;
}

.dp-hd-kpi-lbl {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 2px;
}

.dp-dc-wrap {
  margin: 14px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  overflow: hidden;
}

.dp-dc-sec {
  padding: 14px 18px;
  border-bottom: 1px solid #ece9e4;
}
.dp-dc-sec:last-child {
  border-bottom: none;
}

.dp-dc-sec-title {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.dp-bit-diagram {
  display: flex;
  gap: 2px;
  font-family: "Space Mono", monospace;
  overflow-x: auto;
  padding: 4px 0;
}

.dp-bit-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 28px;
}

.dp-bit-idx {
  font-size: 9px;
  color: #a1a5b7;
  font-weight: 700;
}

.dp-bit-box {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  border: 1.5px solid;
}

.dp-bit-lbl {
  font-size: 9px;
  color: #a1a5b7;
  text-align: center;
  max-width: 28px;
  word-break: break-all;
}

.dp-bit-1 {
  background: #e8f7ff;
  color: #009ef7;
  border-color: #b3dff9;
}

.dp-bit-0 {
  background: #f4f6fb;
  color: #a1a5b7;
  border-color: #e0e3ef;
}

.dp-bit-s {
  background: #fff5f8;
  color: #f1416c;
  border-color: #fcd6e0;
}

.dp-bit-f {
  background: #f3eeff;
  color: #7239ea;
  border-color: #d8c6ff;
}

.dp-bit-m {
  background: #e8fff3;
  color: #50cd89;
  border-color: #b3f0ce;
}

.dp-bit-u {
  background: #fff8dd;
  color: #c08000;
  border-color: #ffe880;
}

.dp-bit-x {
  background: #f4f6fb;
  color: #cdd0db;
  border-color: #e6e9f0;
}

.dp-enc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.dp-enc-table thead th {
  padding: 7px 10px;
  text-align: left;
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #ece9e4;
}
.dp-enc-table tbody td {
  padding: 8px 10px;
  border-bottom: 1px solid #ece9e4;
  vertical-align: middle;
}
.dp-enc-table tbody tr:last-child td {
  border-bottom: none;
}
.dp-enc-table tbody tr:hover {
  background: #f8faff;
}

.dp-ga-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.dp-ga-row:last-child {
  border-bottom: none;
}

.dp-ga-addr {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #009ef7;
  font-weight: 700;
  width: 56px;
  flex-shrink: 0;
}

.dp-ga-name {
  flex: 1;
  font-weight: 600;
  color: #2d3436;
}

.gk-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.gk-tree-panel {
  width: 320px;
  background: #fff;
  border-right: 1px solid #ece9e4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}

.gk-tp-hd {
  padding: 11px 14px;
  border-bottom: 1px solid #ece9e4;
  flex-shrink: 0;
}

.gk-tp-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}
.gk-tp-body::-webkit-scrollbar {
  width: 4px;
}
.gk-tp-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.gk-t-main {
  margin-bottom: 3px;
}

.gk-t-main-hd {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 7px;
  cursor: pointer;
  transition: 0.1s;
  font-size: 12px;
  font-weight: 700;
  color: #2d3436;
}
.gk-t-main-hd:hover {
  background: #f4f6fb;
}

.gk-t-toggle {
  font-size: 10px;
  color: #a1a5b7;
  transition: transform 0.15s;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.gk-t-toggle.open {
  transform: rotate(90deg);
}

.gk-t-main-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  font-family: "Space Mono", monospace;
  font-weight: 800;
  color: #fff;
}

.gk-t-main-cnt {
  margin-left: auto;
  font-size: 9.5px;
  font-weight: 700;
  color: #a1a5b7;
  background: #f4f6fb;
  border-radius: 8px;
  padding: 1px 6px;
}

.gk-t-mid {
  padding-left: 28px;
  margin-bottom: 1px;
}

.gk-t-mid-hd {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.1s;
  font-size: 11.5px;
  font-weight: 600;
  color: #3f4254;
}
.gk-t-mid-hd:hover {
  background: #f4f6fb;
}

.gk-t-mid-icon {
  font-size: 12px;
}

.gk-t-ga {
  padding-left: 52px;
  margin-bottom: 1px;
}

.gk-t-ga-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.1s;
  font-size: 11.5px;
}
.gk-t-ga-row:hover {
  background: #f4f6fb;
}
.gk-t-ga-row.selected {
  background: #f0f7ff;
}
.gk-t-ga-row.selected .gk-t-ga-name {
  color: #009ef7;
  font-weight: 700;
}

.gk-t-ga-addr {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: #a1a5b7;
  min-width: 44px;
}

.gk-t-ga-name {
  flex: 1;
  color: #3f4254;
  font-weight: 500;
}

.gk-t-ga-dpt {
  font-family: "Space Mono", monospace;
  font-size: 9.5px;
  color: #a1a5b7;
  background: #f4f6fb;
  padding: 1px 5px;
  border-radius: 4px;
}

.gk-t-ga-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gk-main-content {
  flex: 1;
  overflow-y: auto;
  background: #f5f8fe;
}
.gk-main-content::-webkit-scrollbar {
  width: 6px;
}
.gk-main-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
}

.gk-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
}

.gk-ga-detail-hd {
  background: linear-gradient(135deg, #0b1733 0%, #1a2a5e 100%);
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.gk-ga-addr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 4px 12px;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.gk-ga-detail-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.gk-ga-detail-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.gk-flag {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  margin: 2px;
}

.gk-flag-c {
  background: #e8f7ff;
  color: #009ef7;
}

.gk-flag-r {
  background: #e8fff3;
  color: #50cd89;
}

.gk-flag-w {
  background: #fff5f8;
  color: #f1416c;
}

.gk-flag-t {
  background: #f3eeff;
  color: #7239ea;
}

.gk-flag-u {
  background: #fff8dd;
  color: #c08000;
}

.gk-flag-i {
  background: #e0faf5;
  color: #00c9a7;
}

.gk-val-meta-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 16px 20px;
}

.gk-val-widget {
  background: linear-gradient(135deg, #0b1733, #1a2a5e);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
}

.gk-vw-val {
  font-size: 36px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
}

.gk-vw-unit {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

.gk-vw-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 8px;
  font-family: "Space Mono", monospace;
}

.gk-ds {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  margin: 16px 20px;
  overflow: hidden;
}

.gk-ds-hd {
  padding: 12px 18px;
  border-bottom: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gk-ds-title {
  font-weight: 700;
  font-size: 13px;
  color: #2d3436;
  display: flex;
  align-items: center;
  gap: 7px;
}

.gk-ds-body {
  padding: 14px 18px;
}

.gk-drow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.gk-drow:last-child {
  border-bottom: none;
}

.gk-dr-lbl {
  color: #a1a5b7;
  font-weight: 500;
}

.gk-dr-val {
  font-weight: 700;
  color: #2d3436;
}

.gk-mono {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #009ef7;
}

.gk-dev-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.gk-dev-link:last-child {
  border-bottom: none;
}

.gk-dev-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.gk-dev-link-role {
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
}

.gk-role-s {
  background: #e8fff3;
  color: #50cd89;
}

.gk-role-r {
  background: #e8f7ff;
  color: #009ef7;
}

.gk-role-sr {
  background: #f3eeff;
  color: #7239ea;
}

.gk-gm-header {
  display: flex;
  gap: 0;
  padding-bottom: 6px;
  border-bottom: 2px solid #ece9e4;
  margin-bottom: 4px;
}
.gk-gm-header span {
  font-size: 9.5px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
}

.gk-gm-row {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 11.5px;
  padding: 5px 0;
  border-bottom: 1px solid #ece9e4;
  font-family: "Space Mono", monospace;
}
.gk-gm-row:last-child {
  border-bottom: none;
}

.gk-gm-time {
  width: 76px;
  color: #a1a5b7;
  font-size: 10.5px;
  flex-shrink: 0;
}

.gk-gm-addr {
  width: 52px;
  color: #009ef7;
  font-weight: 700;
  flex-shrink: 0;
}

.gk-gm-dir {
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.gk-gm-val {
  width: 90px;
  font-weight: 700;
  color: #2d3436;
  flex-shrink: 0;
}

.gk-gm-dpt {
  width: 64px;
  color: #a1a5b7;
  font-size: 10px;
  flex-shrink: 0;
}

.gk-gm-src {
  flex: 1;
  color: #a1a5b7;
  font-size: 10.5px;
  font-family: "DM Sans", sans-serif;
}

.gk-gm-dir-w {
  color: #f1416c;
}

.gk-gm-dir-r {
  color: #7fb685;
}

.gk-gm-dir-resp {
  color: #ffc700;
}

.gk-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fb685;
  display: inline-block;
  animation: gk-lp 1.6s infinite;
}

@keyframes gk-lp {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.tl-body-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.tl-filter-bar {
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.tl-flt-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  cursor: pointer;
  color: #a1a5b7;
}

.tl-monitor-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0b1220;
}

.tl-live-ind {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #0b1220;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.tl-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tl-live-dot.on {
  background: #f1416c;
  animation: tl-livepulse 1s infinite;
}
.tl-live-dot.paused {
  background: #a1a5b7;
}

@keyframes tl-livepulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(241, 65, 108, 0.5);
  }
  70% {
    opacity: 0.8;
    box-shadow: 0 0 0 6px rgba(241, 65, 108, 0);
  }
}
.tl-monitor-header {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #0d1428;
  flex-shrink: 0;
}

.tl-mh-col {
  font-size: 9.5px;
  font-weight: 800;
  color: rgba(161, 165, 183, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-family: "Space Mono", monospace;
}

.tl-monitor-body {
  flex: 1;
  overflow-y: auto;
  font-family: "Space Mono", monospace;
}
.tl-monitor-body::-webkit-scrollbar {
  width: 6px;
}
.tl-monitor-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.tl-tg-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 4px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 0.1s;
  font-size: 11.5px;
}
.tl-tg-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
.tl-tg-row.selected {
  background: rgba(0, 158, 247, 0.12);
  border-left: 3px solid #009ef7;
}

.tl-c-time {
  width: 84px;
  color: rgba(161, 165, 183, 0.7);
  flex-shrink: 0;
  font-size: 10.5px;
}

.tl-c-src {
  width: 58px;
  color: #6aceff;
  flex-shrink: 0;
  font-weight: 700;
}

.tl-c-dir {
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}

.tl-c-ga {
  width: 56px;
  color: #b39dff;
  flex-shrink: 0;
  font-weight: 700;
}

.tl-c-svc {
  width: 58px;
  flex-shrink: 0;
}

.tl-c-len {
  width: 30px;
  text-align: right;
  color: rgba(161, 165, 183, 0.45);
  flex-shrink: 0;
  font-size: 10.5px;
}

.tl-c-data {
  width: 120px;
  flex-shrink: 0;
}

.tl-c-val {
  flex: 1;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
}

.tl-c-dpt {
  width: 64px;
  flex-shrink: 0;
  font-size: 10px;
  color: #b39dff;
}

.tl-c-note {
  flex: 1;
  font-family: "DM Sans", sans-serif;
  font-size: 11.5px;
  color: rgba(161, 165, 183, 0.55);
}

.tl-dir-w {
  color: #f1416c;
  font-weight: 800;
}

.tl-dir-r {
  color: #50cd89;
  font-weight: 800;
}

.tl-dir-resp {
  color: #ffc700;
}

.tl-svc-w {
  color: #f1416c;
  font-size: 9.5px;
  font-weight: 800;
}

.tl-svc-r {
  color: #50cd89;
  font-size: 9.5px;
  font-weight: 800;
}

.tl-svc-ind {
  color: #7239ea;
  font-size: 9.5px;
  font-weight: 800;
}

.tl-svc-ack {
  color: rgba(161, 165, 183, 0.5);
  font-size: 9.5px;
}

.tl-hex-byte {
  display: inline-block;
  min-width: 20px;
  text-align: center;
  color: rgba(161, 165, 183, 0.7);
  font-size: 10.5px;
}

.tl-hx-hi {
  color: #6aceff;
}

.tl-hx-hn {
  color: #6aeaaa;
}

.tl-hx-hv {
  color: #ffd55a;
}

.tl-decode-panel {
  width: 320px;
  background: #fff;
  border-left: 1px solid #ece9e4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}

.tl-dp-hd {
  padding: 12px 16px;
  border-bottom: 1px solid #ece9e4;
  background: #fff;
  flex-shrink: 0;
}

.tl-dp-body {
  flex: 1;
  overflow-y: auto;
  padding: 0;
}
.tl-dp-body::-webkit-scrollbar {
  width: 4px;
}
.tl-dp-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.tl-dp-sec {
  padding: 12px 16px;
  border-bottom: 1px solid #ece9e4;
}
.tl-dp-sec:last-child {
  border-bottom: none;
}

.tl-dp-sec-title {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 9px;
}

.tl-drow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.tl-drow:last-child {
  border-bottom: none;
}

.tl-dr-lbl {
  color: #a1a5b7;
  font-weight: 500;
}

.tl-dr-val {
  font-weight: 700;
  color: #2d3436;
}

.tl-mono {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #009ef7;
}

.tl-val-big {
  background: linear-gradient(135deg, #0b1733, #1a2a5e);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: center;
  margin-bottom: 12px;
}

.tl-val-num {
  font-size: 32px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
}

.tl-val-unit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 3px;
}

.tl-val-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 6px;
  font-family: "Space Mono", monospace;
}

.tl-hex-breakdown {
  background: #0b1220;
  border-radius: 8px;
  padding: 11px 13px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
}

.tl-hb-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.tl-hb-row:last-child {
  border-bottom: none;
}

.tl-hb-offset {
  width: 36px;
  color: rgba(161, 165, 183, 0.35);
  font-size: 10px;
  flex-shrink: 0;
  padding-top: 1px;
}

.tl-hb-bytes {
  flex: 1;
  color: #6aceff;
}

.tl-hb-label {
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  color: rgba(161, 165, 183, 0.6);
}

.ia-tri {
  display: flex;
  gap: 0;
  height: calc(100vh - 280px);
  min-height: 520px;
  border: 1px solid #ece9e4;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.ia-left-panel {
  width: 280px;
  min-width: 280px;
  border-right: 1px solid #ece9e4;
  display: flex;
  flex-direction: column;
  background: #fafbfc;
}

.ia-lp-hd {
  padding: 12px 14px;
  border-bottom: 1px solid #ece9e4;
}

.ia-lp-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
}

.ia-tn-area {
  margin-bottom: 2px;
}

.ia-tn-area-hd {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: #2d3436;
  transition: background 0.15s;
}
.ia-tn-area-hd:hover {
  background: rgba(0, 158, 247, 0.04);
}
.ia-tn-area-hd.sel {
  background: rgba(0, 158, 247, 0.08);
  color: #009ef7;
}

.ia-tn-area-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ia-tn-area-cnt {
  font-size: 10px;
  font-weight: 700;
  background: #f4f6fb;
  color: #a1a5b7;
  padding: 2px 7px;
  border-radius: 10px;
}
.ia-tn-area-cnt.sel {
  background: rgba(0, 158, 247, 0.12);
  color: #009ef7;
}

.ia-tn-tog {
  font-size: 8px;
  width: 14px;
  text-align: center;
  color: #a1a5b7;
  transition: transform 0.2s;
}
.ia-tn-tog.op {
  transform: rotate(90deg);
}

.ia-tn-line {
  margin-left: 12px;
}

.ia-tn-line-hd {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 600;
  color: #4a4e54;
  transition: background 0.15s;
}
.ia-tn-line-hd:hover {
  background: rgba(0, 158, 247, 0.04);
}
.ia-tn-line-hd.sel {
  background: rgba(0, 158, 247, 0.08);
  color: #009ef7;
  font-weight: 700;
}

.ia-tn-line-icon {
  font-size: 13px;
}

.ia-tn-dev {
  margin-left: 28px;
}

.ia-tn-dev-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  cursor: pointer;
  font-size: 11px;
  transition: background 0.15s;
}
.ia-tn-dev-row:hover {
  background: rgba(0, 158, 247, 0.04);
}
.ia-tn-dev-row.sel {
  background: rgba(0, 158, 247, 0.1);
  border-left: 2px solid #009ef7;
}

.ia-tn-dev-ia {
  font-family: "Space Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: #009ef7;
  width: 46px;
  flex-shrink: 0;
}

.ia-tn-dev-name {
  flex: 1;
  font-size: 11px;
  color: #4a4e54;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ia-tn-dev-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ia-mid-panel {
  width: 400px;
  min-width: 360px;
  border-right: 1px solid #ece9e4;
  display: flex;
  flex-direction: column;
}

.ia-mp-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #ece9e4;
}

.ia-mp-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ia-dev-card {
  background: #fff;
  border: 1.5px solid #ece9e4;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.ia-dev-card:hover {
  border-color: rgba(0, 158, 247, 0.3);
  box-shadow: 0 2px 8px rgba(0, 158, 247, 0.08);
}
.ia-dev-card.selected {
  border-color: #009ef7;
  background: rgba(0, 158, 247, 0.02);
  box-shadow: 0 2px 12px rgba(0, 158, 247, 0.12);
}

.ia-dc-ia {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: 800;
  color: #009ef7;
  margin-bottom: 4px;
}

.ia-dc-name {
  font-size: 13px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 2px;
}

.ia-dc-model {
  font-size: 11px;
  color: #a1a5b7;
}

.ia-dc-status {
  position: absolute;
  top: 12px;
  right: 14px;
}

.ia-conflict-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #f1416c;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 0 10px 0 8px;
  letter-spacing: 0.5px;
  animation: ia-conflict-blink 1.5s ease-in-out infinite;
}

@keyframes ia-conflict-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
.ia-badge-ok {
  background: rgba(127, 182, 133, 0.12);
  color: #7fb685;
  padding: 3px 9px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
}

.ia-badge-warn {
  background: rgba(255, 199, 0, 0.12);
  color: #cc9f00;
  padding: 3px 9px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
}

.ia-badge-crit {
  background: rgba(241, 65, 108, 0.12);
  color: #f1416c;
  padding: 3px 9px;
  border-radius: 14px;
  font-size: 10px;
  font-weight: 700;
}

.ia-right-panel {
  flex: 1;
  overflow-y: auto;
  background: #fafbfc;
}

.ia-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 40px;
}

.ia-prog-mode-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #d00000, #e53935);
  border-radius: 0;
}

.ia-prog-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff1744;
  box-shadow: 0 0 8px #ff1744;
  flex-shrink: 0;
  animation: ia-prog-glow 1s ease-in-out infinite;
}

@keyframes ia-prog-glow {
  0%, 100% {
    box-shadow: 0 0 6px #ff1744;
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 16px #ff1744, 0 0 28px rgba(255, 23, 68, 0.4);
    opacity: 0.7;
  }
}
.ia-dd-hd {
  background: linear-gradient(135deg, #1b1e3b 0%, #2d325a 100%);
  padding: 20px 22px;
  color: #fff;
}

.ia-chip {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 10px;
  font-family: "Space Mono", monospace;
  font-size: 15px;
  font-weight: 800;
}

.ia-seg {
  letter-spacing: 1px;
}

.ia-area-clr {
  color: #6aceff;
}

.ia-line-clr {
  color: #50cd89;
}

.ia-dev-clr {
  color: #ffc700;
}

.ia-ds {
  margin: 0 18px 14px;
  background: #fff;
  border: 1px solid #ece9e4;
  border-radius: 10px;
  overflow: hidden;
}

.ia-ds-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #ece9e4;
  background: #fafbfc;
}

.ia-ds-title {
  font-size: 13px;
  font-weight: 700;
  color: #2d3436;
}

.ia-ds-body {
  padding: 14px 16px;
}

.ia-drow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.ia-drow:last-child {
  border-bottom: none;
}

.ia-dr-lbl {
  color: #a1a5b7;
  font-weight: 500;
}

.ia-dr-val {
  font-weight: 700;
  color: #2d3436;
}

.ia-mono {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #009ef7;
}

.ia-obj-header {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 6px 0;
  border-bottom: 1.5px solid #ece9e4;
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ia-obj-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 7px 0;
  border-bottom: 1px solid rgba(236, 233, 228, 0.6);
  font-size: 11.5px;
}
.ia-obj-row:last-child {
  border-bottom: none;
}
.ia-obj-row:hover {
  background: rgba(0, 158, 247, 0.02);
}

.ia-obj-num {
  width: 34px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  color: #a1a5b7;
  flex-shrink: 0;
}

.ia-obj-name {
  flex: 1;
  font-weight: 600;
  color: #2d3436;
}

.ia-obj-dpt {
  width: 64px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: #009ef7;
  font-weight: 700;
  flex-shrink: 0;
}

.ia-obj-flags {
  width: 80px;
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.ia-flag-bit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 800;
  color: #fff;
}

.ia-obj-ga {
  width: 52px;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  color: #009ef7;
  font-weight: 700;
  text-align: right;
  flex-shrink: 0;
}

.ia-hex-view {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #0b1220;
  border-radius: 8px;
  font-family: "Space Mono", monospace;
  font-size: 11.5px;
}

.ia-hex-offset {
  color: rgba(161, 165, 183, 0.35);
  font-size: 10px;
  width: 36px;
  flex-shrink: 0;
}

.ia-hex-byte {
  color: rgba(255, 255, 255, 0.5);
  padding: 2px 4px;
}
.ia-hex-byte.hi {
  color: #6aceff;
  font-weight: 700;
}
.ia-hex-byte.hn {
  color: #ffc107;
  font-weight: 700;
}

.ia-hex-ascii {
  color: rgba(161, 165, 183, 0.45);
  font-size: 10px;
  margin-left: 8px;
}

.ia-kpi-b {
  border-left: 3px solid #009ef7;
}

.ia-kpi-g {
  border-left: 3px solid #7fb685;
}

.ia-kpi-w {
  border-left: 3px solid #ffc700;
}

.ia-kpi-r {
  border-left: 3px solid #f1416c;
}

.ia-kpi-i {
  border-left: 3px solid #00c9a7;
}

.ia-kpi-t {
  border-left: 3px solid #7239ea;
}

.kd-page {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: #fff;
  border-bottom: 1px solid #ece9e4;
}

.kd-kpi-strip {
  display: flex;
  gap: 12px;
  padding: 12px 28px;
  background: #fff;
  border-bottom: 1px solid #ece9e4;
  flex-shrink: 0;
}

.kd-kpi {
  flex: 1;
  background: #f5f8fe;
  border-radius: 9px;
  padding: 10px 13px;
  border: 1.5px solid #ece9e4;
  position: relative;
  overflow: hidden;
}
.kd-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 10px 0 0 10px;
}

.kd-kpi-b::before {
  background: #009ef7;
}

.kd-kpi-g::before {
  background: #7fb685;
}

.kd-kpi-w::before {
  background: #ffc700;
}

.kd-kpi-r::before {
  background: #f1416c;
}

.kd-kpi-i::before {
  background: #7239ea;
}

.kd-kpi-t::before {
  background: #00c9a7;
}

.kd-kpi-val {
  font-size: 18px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #2d3436;
  letter-spacing: -1px;
  line-height: 1;
}

.kd-kpi-lbl {
  font-size: 10px;
  color: #a1a5b7;
  margin-top: 2px;
  font-weight: 500;
}

.kd-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

.kd-list-col {
  width: 440px;
  background: #f5f8fe;
  border-right: 1px solid #ece9e4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex-shrink: 0;
}

.kd-lc-toolbar {
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.kd-lc-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}
.kd-lc-body::-webkit-scrollbar {
  width: 4px;
}
.kd-lc-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.kd-dl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: 0.13s;
  margin-bottom: 4px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.kd-dl-row:hover {
  border-color: #009ef7;
  box-shadow: 0 2px 10px rgba(0, 158, 247, 0.07);
}
.kd-dl-row.selected {
  border-color: #009ef7;
  background: #f0f7ff;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.1);
}

.kd-dl-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.kd-dl-ia {
  font-family: "Space Mono", monospace;
  font-size: 10.5px;
  font-weight: 800;
  color: #009ef7;
}

.kd-dl-name {
  font-weight: 700;
  font-size: 13px;
  color: #2d3436;
}

.kd-dl-model {
  font-size: 11px;
  color: #a1a5b7;
}

.kd-dl-objs {
  font-size: 10px;
  font-weight: 700;
  color: #a1a5b7;
  background: #f4f6fb;
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.kd-dl-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.kd-detail-col {
  flex: 1;
  background: #f5f8fe;
  overflow-y: auto;
}
.kd-detail-col::-webkit-scrollbar {
  width: 6px;
}
.kd-detail-col::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
}

.kd-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
}

.kd-dh {
  background: linear-gradient(135deg, #0b1733, #1a2a5e);
  padding: 20px 24px;
  flex-shrink: 0;
}

.kd-dh-ia {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 4px 12px;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.kd-dh-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 3px;
}

.kd-dh-model {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.kd-tabs {
  background: #fff;
  border-bottom: 1px solid #ece9e4;
  display: flex;
  padding: 0 22px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.kd-tab {
  padding: 12px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: #a1a5b7;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  transition: 0.15s;
  white-space: nowrap;
}
.kd-tab:hover {
  color: #2d3436;
}
.kd-tab.active {
  color: #009ef7;
  border-color: #009ef7;
}

.kd-obj-table-wrap {
  overflow-x: auto;
}

.kd-obj-table {
  width: 100%;
  border-collapse: collapse;
}
.kd-obj-table thead th {
  padding: 8px 14px;
  text-align: left;
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #ece9e4;
  background: #fff;
  position: sticky;
  top: 41px;
  z-index: 5;
}
.kd-obj-table tbody td {
  padding: 9px 14px;
  border-bottom: 1px solid #ece9e4;
  vertical-align: middle;
  font-size: 12px;
}
.kd-obj-table tbody tr {
  cursor: pointer;
  transition: 0.1s;
}
.kd-obj-table tbody tr:hover {
  background: #f8faff;
}
.kd-obj-table tbody tr.sel-obj {
  background: #f0f7ff;
}
.kd-obj-table tbody tr:last-child td {
  border-bottom: none;
}

.kd-obj-num {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #a1a5b7;
  text-align: center;
  width: 36px;
}

.kd-obj-name-cell {
  font-weight: 600;
  color: #2d3436;
}

.kd-obj-dpt-chip {
  display: inline-flex;
  background: #e8f7ff;
  color: #009ef7;
  border-radius: 5px;
  padding: 1px 7px;
  font-family: "Space Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
}

.kd-flag-box {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  margin: 1px;
}

.kd-ga-link {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #7239ea;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(114, 57, 234, 0.3);
}
.kd-ga-link:hover {
  color: #009ef7;
}

.kd-ga-role {
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
}

.kd-role-s {
  background: #e8fff3;
  color: #7fb685;
}

.kd-role-r {
  background: #e8f7ff;
  color: #009ef7;
}

.kd-role-sr {
  background: #f3eeff;
  color: #7239ea;
}

.kd-role-n {
  background: #f4f6fb;
  color: #a1a5b7;
}

.kd-obj-detail {
  background: #fff;
  border: 1.5px solid #009ef7;
  border-radius: 10px;
  margin: 0 20px 14px;
  padding: 13px 16px;
  animation: fadeIn 0.15s ease;
}

.kd-od-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.kd-od-name {
  font-weight: 800;
  font-size: 13px;
  color: #2d3436;
}

.kd-od-close {
  margin-left: auto;
  cursor: pointer;
  color: #a1a5b7;
  font-size: 16px;
  line-height: 1;
  padding: 2px 4px;
}
.kd-od-close:hover {
  color: #f1416c;
}

.kd-ga-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.kd-ga-card:last-child {
  border-bottom: none;
}

.kd-ga-addr {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #7239ea;
  font-weight: 800;
  width: 56px;
  flex-shrink: 0;
}

.kd-ga-name-txt {
  flex: 1;
  font-weight: 600;
  color: #2d3436;
}

.kd-param-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 8px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.kd-param-row:last-child {
  border-bottom: none;
}

.kd-pname {
  width: 220px;
  color: #a1a5b7;
  font-weight: 500;
  flex-shrink: 0;
  padding-right: 12px;
  line-height: 1.5;
}

.kd-pval {
  flex: 1;
  font-weight: 700;
  color: #2d3436;
}

.kd-pval-danger {
  color: #f1416c;
  font-weight: 800;
}

.kd-ds {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  margin: 14px 20px;
  overflow: hidden;
}

.kd-ds-hd {
  padding: 11px 18px;
  border-bottom: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kd-ds-title {
  font-weight: 700;
  font-size: 13px;
  color: #2d3436;
}

.kd-ds-body {
  padding: 13px 18px;
}

.kd-drow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.kd-drow:last-child {
  border-bottom: none;
}

.kd-dr-lbl {
  color: #a1a5b7;
  font-weight: 500;
}

.kd-dr-val {
  font-weight: 700;
  color: #2d3436;
}

.kd-mono {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #009ef7;
}

.kt-page {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: #fff;
  border-bottom: 1px solid #ece9e4;
}

.kt-kpi-strip {
  display: flex;
  gap: 12px;
  padding: 14px 28px;
  background: #fff;
  border-bottom: 1px solid #ece9e4;
  flex-shrink: 0;
}

.kt-kpi {
  flex: 1;
  background: #f5f8fe;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1.5px solid #ece9e4;
  position: relative;
  overflow: hidden;
}
.kt-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 10px 0 0 10px;
}

.kt-kpi-i::before {
  background: #7239ea;
}

.kt-kpi-b::before {
  background: #009ef7;
}

.kt-kpi-g::before {
  background: #7fb685;
}

.kt-kpi-w::before {
  background: #ffc700;
}

.kt-kpi-icon {
  font-size: 15px;
  margin-bottom: 5px;
}

.kt-kpi-val {
  font-size: 20px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #2d3436;
  letter-spacing: -1px;
  line-height: 1;
}

.kt-kpi-lbl {
  font-size: 10.5px;
  color: #a1a5b7;
  margin-top: 2px;
  font-weight: 500;
}

.kt-content-area {
  flex: 1;
  display: flex;
  gap: 0;
  overflow: hidden;
  min-height: 0;
}

.kt-topo-canvas {
  flex: 1;
  overflow: auto;
  background: #f5f8fe;
  position: relative;
  padding: 24px;
}
.kt-topo-canvas::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.kt-topo-canvas::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.kt-diag-wrap {
  min-width: 800px;
  min-height: 600px;
  position: relative;
}

.kt-backbone {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 0 32px;
}

.kt-backbone-bar {
  height: 8px;
  border-radius: 4px;
  width: 100%;
  position: relative;
  background: linear-gradient(90deg, #0b1733 0%, #009ef7 20%, #009ef7 80%, #0b1733 100%);
  box-shadow: 0 0 18px rgba(0, 158, 247, 0.4);
}
.kt-backbone-bar::before {
  content: "KNX IP Backbone";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 800;
  color: #009ef7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  font-family: "Space Mono", monospace;
}

.kt-ip-router-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 2px solid #009ef7;
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 0 0 4px rgba(0, 158, 247, 0.15), 0 2px 14px rgba(0, 0, 0, 0.058);
  cursor: pointer;
  transition: 0.15s;
  white-space: nowrap;
  z-index: 10;
}
.kt-ip-router-node:hover {
  box-shadow: 0 0 0 6px rgba(0, 158, 247, 0.2), 0 2px 14px rgba(0, 0, 0, 0.058);
}
.kt-ip-router-node.active {
  background: #f0f7ff;
}

.kt-area-section {
  margin-bottom: 28px;
}

.kt-area-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #ece9e4;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  cursor: pointer;
  transition: 0.15s;
}
.kt-area-hd:hover {
  border-color: #009ef7;
}
.kt-area-hd.active {
  border-color: #009ef7;
  background: #f0f7ff;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.1);
}

.kt-area-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.kt-area-name {
  font-weight: 800;
  font-size: 13.5px;
  color: #2d3436;
  flex: 1;
}

.kt-area-addr {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.kt-coupler-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f3eeff;
  border: 1px solid #d8c6ff;
  border-radius: 5px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 800;
  color: #7239ea;
  margin-left: auto;
}

.kt-lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  padding-left: 28px;
  position: relative;
}
.kt-lines-grid::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 24px;
  width: 2px;
  background: #ece9e4;
}

.kt-line-card {
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #ece9e4;
  overflow: hidden;
  cursor: pointer;
  transition: 0.15s;
  position: relative;
}
.kt-line-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.kt-line-card:hover {
  border-color: #009ef7;
  box-shadow: 0 3px 14px rgba(0, 158, 247, 0.09);
}
.kt-line-card.active {
  border-color: #009ef7;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.12);
}

.kt-line-ok::before {
  background: #7fb685;
}

.kt-line-warn::before {
  background: #ffc700;
}

.kt-line-err::before {
  background: #f1416c;
}

.kt-lc-hd {
  padding: 10px 12px;
  border-bottom: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kt-lc-addr {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 800;
  color: #009ef7;
  background: #e8f7ff;
  border-radius: 5px;
  padding: 1px 6px;
}

.kt-lc-name {
  font-size: 12px;
  font-weight: 700;
  color: #2d3436;
  flex: 1;
}

.kt-lc-body {
  padding: 10px 12px;
}

.kt-lc-stats {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 6px;
}

.kt-lc-stat-val {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 12px;
}

.kt-bus-bar {
  height: 4px;
  border-radius: 2px;
  background: #f1f3f9;
  overflow: hidden;
  margin: 6px 0;
}

.kt-bus-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.kt-pbar {
  height: 5px;
  border-radius: 3px;
  background: #f1f3f9;
  overflow: hidden;
  margin-top: 3px;
}

.kt-pbar-fill {
  height: 100%;
  border-radius: 3px;
}

.kt-side-col {
  width: 320px;
  background: #fff;
  border-left: 1px solid #ece9e4;
  overflow-y: auto;
  flex-shrink: 0;
}
.kt-side-col::-webkit-scrollbar {
  width: 4px;
}
.kt-side-col::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

.kt-sp-hd {
  padding: 14px 18px;
  border-bottom: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.kt-sp-sec {
  padding: 12px 18px;
  border-bottom: 1px solid #ece9e4;
}
.kt-sp-sec:last-child {
  border-bottom: none;
}

.kt-sp-title {
  font-size: 10px;
  font-weight: 800;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 9px;
}

.kt-drow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid #ece9e4;
  font-size: 12px;
}
.kt-drow:last-child {
  border-bottom: none;
}

.kt-dr-lbl {
  color: #a1a5b7;
  font-weight: 500;
}

.kt-dr-val {
  font-weight: 700;
  color: #2d3436;
}

.kt-mono {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: #009ef7;
}

.kt-util-ring {
  position: relative;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

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

.kt-util-pct {
  font-family: "Space Mono", monospace;
  font-weight: 800;
  font-size: 14px;
  color: #2d3436;
  line-height: 1;
}

.kt-util-sub {
  font-size: 9px;
  color: #a1a5b7;
  font-weight: 700;
}

.kt-rt-row {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 11.5px;
  padding: 6px 0;
  border-bottom: 1px solid #ece9e4;
}
.kt-rt-row:last-child {
  border-bottom: none;
}

.kt-rt-range {
  font-family: "Space Mono", monospace;
  font-size: 10.5px;
  color: #009ef7;
  width: 72px;
  flex-shrink: 0;
}

.kt-rt-action {
  padding: 1px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  margin-right: 8px;
  flex-shrink: 0;
}

.kt-rt-pass {
  background: #e8fff3;
  color: #7fb685;
}

.kt-rt-block {
  background: #fff5f8;
  color: #f1416c;
}

.kt-rt-route {
  background: #e8f7ff;
  color: #009ef7;
}

.kt-rt-desc {
  flex: 1;
  color: #a1a5b7;
}

.kt-live-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fb685;
  display: inline-block;
  animation: kt-lpulse 1.6s infinite;
}

@keyframes kt-lpulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
/* ═══════════════════════════════════════════════════════════════════════════
   TENANTS PAGE  (tn-*)
   ═══════════════════════════════════════════════════════════════════════════ */
.tn-kpi-strip {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.tn-kpi {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  padding: 17px 18px;
  position: relative;
  overflow: hidden;
}
.tn-kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 12px 0 0 12px;
}
.tn-kpi.kpi-b::before {
  background: #009ef7;
}
.tn-kpi.kpi-g::before {
  background: #7fb685;
}
.tn-kpi.kpi-w::before {
  background: #ffc700;
}
.tn-kpi.kpi-r::before {
  background: #f1416c;
}
.tn-kpi.kpi-i::before {
  background: #7239ea;
}
.tn-kpi.kpi-t::before {
  background: #00c9a7;
}

.tn-kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 9px;
}
.tn-kpi-icon.ki-b {
  background: #e8f7ff;
}
.tn-kpi-icon.ki-g {
  background: #e8fff3;
}
.tn-kpi-icon.ki-w {
  background: #fff8dd;
}
.tn-kpi-icon.ki-i {
  background: #f3eeff;
}
.tn-kpi-icon.ki-t {
  background: #e0faf5;
}
.tn-kpi-icon.ki-r {
  background: #fff5f8;
}

.tn-kpi-val {
  font-size: 24px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #2d3436;
  letter-spacing: -1.5px;
  line-height: 1;
}

.tn-kpi-lbl {
  font-size: 11px;
  color: #a1a5b7;
  margin-top: 3px;
  font-weight: 500;
}

.tn-kpi-trend {
  font-size: 10.5px;
  font-weight: 600;
  margin-top: 5px;
}

.t-up {
  color: #7fb685;
}

.t-dn {
  color: #f1416c;
}

.t-eq {
  color: #a1a5b7;
}

.tn-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.tn-toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tn-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #ece9e4;
  background: #fff;
  color: #a1a5b7;
  transition: 0.12s;
}
.tn-chip:hover, .tn-chip.active {
  border-color: #009ef7;
  color: #009ef7;
  background: #e8f7ff;
}
.tn-chip.tn-chip-warn:hover, .tn-chip.tn-chip-warn.active {
  border-color: #ffc700;
  color: #ffc700;
  background: #fff8dd;
}

.tn-view-toggle {
  display: flex;
  background: #f4f6fb;
  border-radius: 7px;
  padding: 3px;
  gap: 2px;
}

.tn-vt {
  padding: 6px 11px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #a1a5b7;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: 0.12s;
  white-space: nowrap;
}
.tn-vt.active {
  background: #fff;
  color: #009ef7;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.09);
}

.tn-type-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.tn-type-tab {
  padding: 6px 13px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid #ece9e4;
  background: #fff;
  color: #a1a5b7;
  transition: 0.12s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tn-type-tab:hover {
  border-color: #009ef7;
  color: #009ef7;
}
.tn-type-tab.active {
  background: #009ef7;
  color: #fff;
  border-color: #009ef7;
}

.tn-type-cnt {
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.25);
}
.tn-type-tab:not(.active) .tn-type-cnt {
  background: #f1f3f9;
  color: #a1a5b7;
}

.tn-split {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.tn-split-main {
  flex: 1;
  min-width: 0;
}

.tn-split-side {
  flex: 0 0 294px;
  position: sticky;
  top: 78px;
}

.tn-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tn-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  border: 1.5px solid #ece9e4;
  overflow: hidden;
  cursor: pointer;
  transition: 0.18s;
  display: flex;
  flex-direction: column;
}
.tn-card:hover {
  border-color: #009ef7;
  box-shadow: 0 4px 20px rgba(0, 158, 247, 0.12);
  transform: translateY(-1px);
}
.tn-card.selected {
  border-color: #009ef7;
  box-shadow: 0 0 0 3px rgba(0, 158, 247, 0.15);
}
.tn-card.tn-expiring {
  border-color: #ffc700;
}
.tn-card.tn-critical {
  border-color: #f1416c;
  box-shadow: 0 0 0 2px rgba(241, 65, 108, 0.1);
}

.tn-card-band {
  height: 5px;
  flex-shrink: 0;
}

.tn-card-body {
  padding: 15px 17px;
  flex: 1;
}

.tn-card-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.tn-card-av {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  font-family: "Space Mono", monospace;
  color: #fff;
  flex-shrink: 0;
}

.tn-card-name {
  font-weight: 800;
  font-size: 13.5px;
  color: #2d3436;
  line-height: 1.2;
}

.tn-card-org {
  font-size: 10.5px;
  color: #a1a5b7;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.tn-card-bldg {
  font-size: 10.5px;
  font-weight: 700;
  color: #009ef7;
  margin-top: 3px;
}

.tn-lease-wrap {
  margin-bottom: 10px;
}

.tn-lease-lbl {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #a1a5b7;
}

.tn-lease-bar {
  height: 5px;
  background: #f1f3f9;
  border-radius: 3px;
  overflow: hidden;
}

.tn-lease-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s;
}

.tn-stats {
  display: flex;
  border-top: 1px solid #ece9e4;
  border-bottom: 1px solid #ece9e4;
  padding: 8px 0;
  margin-bottom: 10px;
}

.tn-stat {
  flex: 1;
  text-align: center;
  border-right: 1px solid #ece9e4;
}
.tn-stat:last-child {
  border-right: none;
}

.tn-sv {
  font-size: 14px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #2d3436;
  line-height: 1;
}
.tn-sv.tn-sv-money {
  font-size: 12px;
  color: #7fb685;
}

.tn-sl {
  font-size: 9px;
  color: #a1a5b7;
  margin-top: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.tn-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
}

.tn-il {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #a1a5b7;
}

.tn-il-v {
  color: #4a4e54;
  font-weight: 600;
  margin-left: auto;
  text-align: right;
}

.tn-card-footer {
  padding: 9px 17px;
  background: #fafbfd;
  border-top: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.badge.bg-ok {
  background: #e8fff3;
  color: #7fb685;
}

.badge.bg-warn {
  background: #fff8dd;
  color: #c08000;
}

.badge.bg-crit {
  background: #fff5f8;
  color: #f1416c;
}

.badge.bg-pri {
  background: #e8f7ff;
  color: #009ef7;
}

.badge.bg-inf {
  background: #f3eeff;
  color: #7239ea;
}

.badge.bg-gray {
  background: #f4f6fb;
  color: #7e8299;
}

.badge.bg-teal {
  background: #e0faf5;
  color: #00c9a7;
}

.tn-side-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  overflow: hidden;
  margin-bottom: 14px;
}

.tn-sp-hd {
  padding: 16px 18px;
  background: linear-gradient(135deg, #12162b, #1a2442);
  position: relative;
  overflow: hidden;
}
.tn-sp-hd::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(0, 158, 247, 0.22), transparent 60%);
}

.tn-sp-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  z-index: 2;
  transition: 0.12s;
}
.tn-sp-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.tn-sp-sec {
  padding: 12px 18px;
  border-bottom: 1px solid #ece9e4;
}
.tn-sp-sec:last-child {
  border-bottom: none;
}

.tn-sp-sec-title {
  font-size: 10px;
  font-weight: 700;
  color: #a1a5b7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 9px;
}

.tn-sp-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 5px 0;
  font-size: 12px;
  border-bottom: 1px solid #ece9e4;
}
.tn-sp-row:last-child {
  border-bottom: none;
}

.tn-sp-lbl {
  color: #a1a5b7;
  font-weight: 500;
}

.tn-sp-val {
  font-weight: 700;
  color: #2d3436;
  text-align: right;
  font-size: 11.5px;
}
.tn-sp-val.mono {
  font-family: "Space Mono", monospace;
  font-size: 11px;
}

.tn-sp-kgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.tn-sp-kpi {
  padding: 9px;
  border-radius: 8px;
  text-align: center;
}

.tn-sp-kval {
  font-size: 17px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  letter-spacing: -0.5px;
}

.tn-sp-klbl {
  font-size: 9.5px;
  color: #a1a5b7;
  margin-top: 2px;
  font-weight: 600;
}

.tn-sp-lease-bar {
  height: 8px;
  background: #f1f3f9;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 7px;
}

.tn-sp-lease-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s;
}

.tn-zone-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  margin: 2px;
  background: #e8f7ff;
  color: #009ef7;
  border: 1px solid #c8e4f7;
}

.tn-expiry-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  overflow: hidden;
  margin-bottom: 14px;
}

.tn-expiry-hd {
  padding: 12px 17px;
  border-bottom: 1px solid #ece9e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tn-expiry-body {
  padding: 10px 17px;
}

.tn-expiry-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid #ece9e4;
}
.tn-expiry-item:last-child {
  border-bottom: none;
}

.tn-exp-av {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  flex-shrink: 0;
}

.tn-expiry-footer {
  padding: 10px 17px;
  border-top: 1px solid #ece9e4;
  background: #fafbfd;
}

.tn-revenue-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  overflow: hidden;
  margin-top: 14px;
}

.tn-revenue-hd {
  padding: 12px 17px;
  border-bottom: 1px solid #ece9e4;
}

.tn-revenue-body {
  padding: 14px 17px;
}

.tn-rev-item {
  margin-bottom: 9px;
}

.tn-rev-lbl {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tn-rev-bar {
  height: 5px;
  background: #f1f3f9;
  border-radius: 3px;
  overflow: hidden;
}

.tn-rev-fill {
  height: 100%;
  border-radius: 3px;
}

.tn-rev-total {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #ece9e4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tn-rev-total-lbl {
  font-size: 11px;
  color: #a1a5b7;
  font-weight: 600;
}

.tn-rev-total-val {
  font-size: 16px;
  font-weight: 800;
  font-family: "Space Mono", monospace;
  color: #7fb685;
}

.tn-empty-state {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.058);
  text-align: center;
  padding: 44px 20px;
  margin-bottom: 14px;
}