/* Optional, administrator-owned presentation layer. Original theme is the default. */
[data-site-hidden="true"],
html #sidebarMainContainer .mu-submenu a.nav-link[data-site-hidden="true"],
html #sidebarMainContainer a.nav-link[data-site-hidden="true"],
[data-site-theme-switch="false"] #muThemeToggle,
[data-site-footer="false"] .mu-workspace-footer,
[data-site-activity="false"] [data-site-section="activity"],
[data-site-quick-links="false"] [data-site-section="quickLinks"] {
  display: none !important;
}
[data-site-quick-links="false"] .dashboard-main-grid {
  grid-template-columns: 1fr !important;
}
.site-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.site-has-logo {
  overflow: hidden;
  padding: 4px !important;
}
html[data-site-custom="true"] {
  --neon-sky: var(--site-primary);
  --neon-emerald: var(--site-secondary);
  --bs-primary: var(--site-primary);
  --bs-primary-rgb: var(--site-primary-rgb);
}
html[data-site-custom="true"]:not([data-mu-theme="night"]) body,
html[data-site-custom="true"]:not([data-mu-theme="night"]) .app-workspace-fluid {
  background: var(--site-background) !important;
  color: var(--site-text) !important;
}
html[data-site-custom="true"] #sidebarMainContainer,
html[data-site-custom="true"] .sidebar-cyber {
  background: var(--site-sidebar) !important;
}
html[data-site-custom="true"] #sidebarMainContainer .nav-link,
html[data-site-custom="true"] #sidebarMainContainer .mu-menu-parent,
html[data-site-custom="true"] .residence-sidebar-title {
  color: var(--site-sidebar-ink) !important;
}
html[data-site-custom="true"] body #paneMainApplication #tab-dashboard .dashboard-hero,
html[data-site-custom="true"] body #paneLoginGateway .login-clean-btn,
html[data-site-custom="true"] body #paneMainApplication #appPageContent .btn-cyber-add,
html[data-site-custom="true"] body .modal .btn-cyber-add,
html[data-site-custom="true"] #sidebarMainContainer .residence-sidebar-logo {
  background: linear-gradient(120deg, var(--site-primary), var(--site-secondary)) !important;
}
html[data-site-custom="true"] body #paneLoginGateway .login-clean-btn,
html[data-site-custom="true"] body #paneMainApplication #appPageContent .btn-cyber-add,
html[data-site-custom="true"] body .modal .btn-cyber-add {
  color: var(--site-primary-ink) !important;
}
html[data-site-custom="true"] body #paneMainApplication #tab-dashboard .dashboard-hero {
  color: var(--site-primary-ink) !important;
}
html[data-site-custom="true"]
  body
  #paneMainApplication
  #tab-dashboard
  .dashboard-hero
  :is(h2, p, .dashboard-chip) {
  color: inherit !important;
}
html[data-site-custom="true"]:not([data-mu-theme="night"])
  :is(
    .dashboard-panel,
    .dashboard-kpi,
    .premium-glass-card,
    .premium-workspace-header,
    .login-clean-card,
    .modal-content,
    .kw-receipt-card
  ) {
  background-color: var(--site-surface) !important;
  color: var(--site-text) !important;
}
html[data-site-custom="true"]:not([data-mu-theme="night"])
  :is(
    .dashboard-kpi-value,
    .dashboard-panel h4,
    .dashboard-feature-title,
    .login-clean-title,
    .login-clean-label,
    .dashboard-kpi-val
  ) {
  color: var(--site-text) !important;
}
html[data-site-custom="true"]
  :is(
    .dashboard-panel,
    .dashboard-kpi,
    .dashboard-hero,
    .premium-glass-card,
    .login-clean-card,
    .modal-content
  ) {
  border-radius: var(--site-radius) !important;
}
html[data-site-custom="true"] .nav-link.active {
  border-color: var(--site-primary) !important;
}
html[data-site-custom="true"] :is(input, select, textarea):focus {
  border-color: var(--site-primary) !important;
}
html[data-site-font="system"]
  body
  :is(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    a,
    button,
    input,
    select,
    textarea,
    label,
    span,
    small,
    table,
    th,
    td,
    div
  ):not([class*="fa-"]) {
  font-family: var(--site-font) !important;
}
