html body.app-light #app-sidebar #app-navigation .app-nav-link .app-nav-icon {
  background: linear-gradient(145deg,var(--nav-icon-top,#497cd2),var(--nav-icon-base,#244fab)) !important;
  border-color: #ffffff55;
  box-shadow: inset 0 1px #ffffff80,0 2px 4px #101b3b45;
}
#app-navigation .app-nav-icon img {
  position: relative;
  z-index: 1;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
#app-navigation [data-menu="routers"],
#app-navigation [data-menu="hotspot"] {--nav-icon-top:#3693a1;--nav-icon-base:#236272}
#app-navigation [data-menu="mapping_area"],
#app-navigation [data-menu="whatsapp"] {--nav-icon-top:#23996c;--nav-icon-base:#11654d}
#app-navigation [data-menu="packages"],
#app-navigation [data-menu="users"],
#app-navigation [data-menu="settings"] {--nav-icon-top:#8b70ce;--nav-icon-base:#574199}
#app-navigation [data-menu="tickets"],
#app-navigation [data-menu="feedback"] {--nav-icon-top:#b97615;--nav-icon-base:#854901}
#app-navigation [data-menu="payment_setup"],
#app-navigation [data-menu="payments"],
#app-navigation [data-menu="finance_services"],
#app-navigation [data-menu="payroll"] {--nav-icon-top:#358c79;--nav-icon-base:#1c6159}
#app-navigation [data-menu="audit"],
#app-navigation [data-menu="backup_restore"] {--nav-icon-top:#7186a4;--nav-icon-base:#485a74}
body.app-light {
  --icon-glass: linear-gradient(145deg,#9b87ec42,#8070c916);
  --icon-edge: #826ccb49;
  --icon-ink: #493595;
  --icon-shadow: inset 0 1px #ffffff85,0 2px 6px #19143b24;
}
html[data-billing-theme="dark"] body.app-light {
  --icon-glass: linear-gradient(145deg,#aa98ff42,#8573da14);
  --icon-edge: #aa98ff53;
  --icon-ink: #e2d8ff;
  --icon-shadow: inset 0 1px #ffffff28,0 2px 6px #080e1b60;
}
html body.app-light #app-workspace :is(
 .cc-icon,.dp-device-icon,.dp-cpu-icon,.finance-services-icon,.ic-icon,.nas-board-icon,
 .nas-device-icon,.nas-head-icon,.nas-sync-icon,.nm-empty-icon,.nm-router-icon,.ps-modern-icon,
 .ps-scope-mark,.st-ticket-scope-icon,.um-admin-icon,
 .dp-stat > i,.cm-stat i,.nm-kpi i,.pm-kpi i,.pm-profile i,.iv-kpi i,
 .pr-kpi i,.um-kpi i,.hs-kpis i,.wa-kpis i,.st-ticket-kpi i
),
html body.app-light :is(.nf-progress-icon,.nf-toast-icon) {
  background: var(--icon-glass) !important;
  color: var(--icon-ink) !important;
  box-shadow: var(--icon-shadow) !important;
  border-color: var(--icon-edge) !important;
}
html body.app-light #app-workspace :is(.dp-stat > i,.nm-kpi i,.pr-kpi i,.nas-board-icon)::before {
  background-color: var(--icon-ink) !important;
}
html body.app-light #app-workspace .wa-wrap .wa-qr-box #wa-qr-placeholder > span {
  background: linear-gradient(145deg,#33c7919c,#0b7959ba) !important;
  box-shadow: inset 0 1px #ffffff72,0 3px 8px #075c4738;
}

/* A PNG supplies the glyph. Keep the badge and its decorative highlight. */
html body.app-light #app-sidebar #app-navigation .app-nav-icon:has(> :is(img,.app-sidebar-svg)),
html body.app-light #app-workspace .dp-stat > i:has(> img) {
  display: grid;
  place-items: center;
}
html body.app-light #app-sidebar #app-navigation .app-nav-icon:has(> :is(img,.app-sidebar-svg))::before,
html body.app-light #app-workspace .dp-stat > i:has(> img)::before {
  content: none;
}
html body.app-light #app-sidebar #app-navigation .app-nav-icon > img,
html body.app-light #app-workspace .dp-stat > i > img {
  display: block;
  width: 17px;
  height: 17px;
  margin: 0;
  object-fit: contain;
}
