@charset "utf-8";
/*
 * Blue Admin CP dark mode overrides.
 * Loaded only when html.ispcare-theme-dark is set (admin + blue + session/cookie preference).
 * Preference: CSession::getUiColorScheme() — session + cookie ispcare_ui_color_scheme (survives logout).
 * Do not reuse .dark / .bright class names for the theme — those are zebra row classes.
 */

html.ispcare-theme-dark {
	color-scheme: dark;
}

html.ispcare-theme-dark body,
html.ispcare-theme-dark body.ispcare-body {
	background-color: #1a1d23;
	color: #e4e6ea;
}

html.ispcare-theme-dark a,
html.ispcare-theme-dark body,
html.ispcare-theme-dark p,
html.ispcare-theme-dark td,
html.ispcare-theme-dark font,
html.ispcare-theme-dark input,
html.ispcare-theme-dark textarea,
html.ispcare-theme-dark h3,
html.ispcare-theme-dark li,
html.ispcare-theme-dark div,
html.ispcare-theme-dark span,
html.ispcare-theme-dark label,
html.ispcare-theme-dark select {
	color: #e4e6ea;
}

html.ispcare-theme-dark a {
	color: #7ec4f0;
}
html.ispcare-theme-dark a:hover {
	color: #f0a060;
}

html.ispcare-theme-dark input,
html.ispcare-theme-dark textarea,
html.ispcare-theme-dark select,
html.ispcare-theme-dark .input,
html.ispcare-theme-dark .mselect {
	border: 1px solid #4a5568;
	background-color: #252a33;
	color: #e4e6ea;
}
html.ispcare-theme-dark input:focus,
html.ispcare-theme-dark textarea:focus,
html.ispcare-theme-dark select:focus {
	border-color: #5c9ccc;
	outline: none;
}
html.ispcare-theme-dark input[type="checkbox"],
html.ispcare-theme-dark input[type="radio"] {
	background-color: #252a33;
	accent-color: #5c9ccc;
}

html.ispcare-theme-dark fieldset {
	border-color: #3d6a94;
}
html.ispcare-theme-dark legend,
html.ispcare-theme-dark .group_title {
	color: #f0a060;
}

/* Limit / package / product browser cards (useraddlimits, userpackages, …) */
html.ispcare-theme-dark #limitBrowser a,
html.ispcare-theme-dark #productBrowser a {
	color: #a8b0bc;
}
html.ispcare-theme-dark #limitBrowser a:hover,
html.ispcare-theme-dark #productBrowser a:hover {
	color: #e4e6ea;
}
html.ispcare-theme-dark #limitBrowser .limit,
html.ispcare-theme-dark #productBrowser .product {
	background: #252a33 none;
	border-color: #4a5568;
	color: #c8cdd6;
	text-shadow: none;
}
html.ispcare-theme-dark #limitBrowser .limit:hover,
html.ispcare-theme-dark #productBrowser .product:hover {
	background: #2a4a6a none;
	border-color: #5c9ccc;
	color: #e4e6ea;
}
html.ispcare-theme-dark #limitBrowser .limit_available,
html.ispcare-theme-dark #limitBrowser .limit_available a,
html.ispcare-theme-dark #limitBrowser .limit_available a strong,
html.ispcare-theme-dark #limitBrowser .limit_available a strong span,
html.ispcare-theme-dark #productBrowser .product_available,
html.ispcare-theme-dark #productBrowser .product_available a {
	color: #7ec4f0 !important;
}
html.ispcare-theme-dark #limitBrowser .limit_available:hover,
html.ispcare-theme-dark #limitBrowser .limit_available:hover a,
html.ispcare-theme-dark #productBrowser .product_available:hover {
	color: #a8daf8 !important;
}
html.ispcare-theme-dark #limitBrowser .limit-info,
html.ispcare-theme-dark #limitBrowser .limit-info small,
html.ispcare-theme-dark #productBrowser .product-info,
html.ispcare-theme-dark #productBrowser .product-info small {
	color: #a8b0bc;
}
html.ispcare-theme-dark #limitBrowser .btn.btn-info,
html.ispcare-theme-dark #limitBrowser span.btn.btn-info {
	background: #1e3320;
	border-color: #3d6a4a;
	color: #81c784 !important;
}
html.ispcare-theme-dark #limitBrowser .btn.btn-info[style*="darkorange"],
html.ispcare-theme-dark #limitBrowser span.btn.btn-info[style*="darkorange"] {
	background: #3a2e18;
	border-color: #c9a227;
	color: #ffcc80 !important;
}
html.ispcare-theme-dark #limitBrowser .msg,
html.ispcare-theme-dark #limitBrowser span.msg {
	color: #ef9a9a !important;
}

html.ispcare-theme-dark th,
html.ispcare-theme-dark .title,
html.ispcare-theme-dark td.tbl_summary {
	background: #2a4a6a;
	background-image: none;
	border: 1px solid #3d6a94;
	color: #c5e0f5;
}

html.ispcare-theme-dark .col_head {
	color: #7ec4f0;
}
html.ispcare-theme-dark .col_head:hover {
	color: #a8daf8;
}

/* Zebra rows — class names .dark / .bright are list striping, not the theme */
html.ispcare-theme-dark .dark {
	background-color: #22262e;
}
html.ispcare-theme-dark .bright {
	background-color: #1a1d23;
}
html.ispcare-theme-dark .darker {
	background: #3a424e;
}
html.ispcare-theme-dark tr.dark > td,
html.ispcare-theme-dark tr.bright > td {
	background-color: inherit;
}
html.ispcare-theme-dark .lstTbl tr:hover,
html.ispcare-theme-dark #app-data table tr.bright:hover,
html.ispcare-theme-dark #app-data table tr.dark:hover,
html.ispcare-theme-dark .lstTbl tr:hover > td,
html.ispcare-theme-dark #app-data table tr.bright:hover > td,
html.ispcare-theme-dark #app-data table tr.dark:hover > td {
	background-color: #2a3f5c;
}

/* CDBApp / generic record view (getAppTpl view.html — plain table + zebra) */
html.ispcare-theme-dark #app-data > table,
html.ispcare-theme-dark #app-data table[style],
html.ispcare-theme-dark #app-data .ispcare-form-table {
	background-color: transparent;
	color: #e4e6ea;
}
html.ispcare-theme-dark #app-data pre {
	background: #1e222a;
	border: 1px solid #3d4654;
	color: #e4e6ea;
	padding: 6px 8px;
	border-radius: 4px;
}
html.ispcare-theme-dark #app-data fieldset {
	background: #1e222a;
	border-color: #3d6a94;
}
/* Desktop CDBApp list (lstTbl) — ensure cells follow zebra, not light defaults */
html.ispcare-theme-dark #app-data table.lstTbl {
	background: transparent;
	color: #e4e6ea;
}
html.ispcare-theme-dark #app-data table.lstTbl td,
html.ispcare-theme-dark #app-data table.lstTbl th {
	border-color: #3d4654;
}
html.ispcare-theme-dark #app-data table.lstTbl a {
	color: #7ec4f0;
}
html.ispcare-theme-dark #app-data table.lstTbl a:hover {
	color: #a8daf8;
}
html.ispcare-theme-dark .docTbl {
	border-color: #3d4654;
	background-color: #1e222a;
}
html.ispcare-theme-dark .docTbl td,
html.ispcare-theme-dark .docTbl tr {
	border-color: #2c323c;
}
html.ispcare-theme-dark .docTbl tr:hover {
	background-color: #2a3f5c;
}

html.ispcare-theme-dark .group_caption {
	background-color: #3a5578;
	border-color: #4a6a90;
}

html.ispcare-theme-dark .apps_menu {
	color: #e4e6ea;
}
html.ispcare-theme-dark .tmenu {
	border-color: #4a6a90;
}

html.ispcare-theme-dark .navbar_link {
	color: #9aa3ad;
}
html.ispcare-theme-dark .active_task {
	color: #fff;
}

/* Shell */
html.ispcare-theme-dark .ispcare-wrap #topbar {
	border-color: #3d6a94;
	background: #2a4a6a linear-gradient(180deg, #3a6a94 0%, #2a4a6a 100%);
	font-weight: bold;
}
html.ispcare-theme-dark .ispcare-wrap #topbar a {
	color: #fff;
}
html.ispcare-theme-dark .ispcare-wrap #topbar a:hover {
	color: #f0a060;
}
html.ispcare-theme-dark .ispcare-wrap #logo {
	background-color: #1e2430;
	border-inline-end-color: #3d6a94;
}
html.ispcare-theme-dark .ispcare-wrap #topbar .topbar-line1__auth .cpowner-msgs-link {
	color: #c5d0dc;
}
html.ispcare-theme-dark .ispcare-wrap #topbar .topbar-line1__auth .cpowner-msgs-link:hover {
	color: #f0a060;
}
html.ispcare-theme-dark .ispcare-wrap #topbar .topbar-line1__auth .cpowner-msgs-badge {
	border-color: #2a4a6a;
}
html.ispcare-theme-dark .ispcare-wrap #topbar #quicksearchbar,
html.ispcare-theme-dark .ispcare-wrap #topbar #quicksearchbar.ispcare-qsearch-host,
html.ispcare-theme-dark .ispcare-wrap #topbar .ispcare-qsearch,
html.ispcare-theme-dark .ispcare-wrap #topbar #quicksearchbar.ispcare-qsearch,
html.ispcare-theme-dark .ispcare-wrap #topbar .ispcare-qsearch__inner {
	background: #1e222a;
	border-color: #3d6a94;
}
html.ispcare-theme-dark .ispcare-wrap #topbar .ispcare-qsearch__toggle {
	color: #a8b0b8;
}
html.ispcare-theme-dark .ispcare-wrap #topbar .ispcare-qsearch__toggle-icon {
	filter: brightness(1.45);
	opacity: 0.95;
}
html.ispcare-theme-dark .ispcare-wrap #topbar .ispcare-qsearch__toggle img[src*="glass_roll.png"] {
	filter: brightness(1.25) contrast(0.95);
	opacity: 0.9;
}
html.ispcare-theme-dark .ispcare-wrap #topbar .topbar-lang-toggle,
html.ispcare-theme-dark .ispcare-wrap #topbar .button-logout {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
	background: rgba(0, 0, 0, 0.2);
}
html.ispcare-theme-dark .ispcare-wrap #topbar .topbar-lang-toggle:hover {
	color: #f0a060;
	border-color: rgba(255, 255, 255, 0.75);
}
html.ispcare-theme-dark .ispcare-wrap #topbar .button-logout:hover {
	background-color: #c0392b;
	color: #fff;
}
html.ispcare-theme-dark .ispcare-wrap #topbar .ispcare-visp-switcher {
	background-color: #1e222a;
	border-color: #3d6a94;
	color: #e4e6ea;
}

html.ispcare-theme-dark #appbar {
	background-color: #22262e;
}
html.ispcare-theme-dark #appbar-line2 .obj-head-app a {
	color: #f0a060;
}
html.ispcare-theme-dark #app-data {
	border-color: #3d6a94;
	background-color: #1a1d23;
}
html.ispcare-theme-dark #utilsbar {
	background-color: #1e222a;
}

/* Sidebar */
html.ispcare-theme-dark #sidebar,
html.ispcare-theme-dark #sidebar-content {
	background-color: #1a1d23;
}
html.ispcare-theme-dark .ispcare-sidebar-collapse {
	background: #2a4a6a;
	border-color: #3d6a94;
	color: #c5e0f5;
}
html.ispcare-theme-dark .ispcare-sidebar-collapse:hover {
	background: #355a7e;
	color: #e8f4fc;
}
html.ispcare-theme-dark .ispcare-sidebar-rail__link:hover {
	background: #2a4a6a;
	border-color: #3d6a94;
}
html.ispcare-theme-dark .ispcare-sidebar-rail__link--active {
	background: #355a7e;
	border-color: #7ec4f0;
}
html.ispcare-theme-dark .sidebar-nav__group {
	border-color: #3d6a94;
	background: #1e222a;
}
html.ispcare-theme-dark .sidebar-nav__summary {
	background: #2a4a6a;
	color: #c5e0f5;
	border-color: #3d6a94;
}
html.ispcare-theme-dark .sidebar-nav__summary.ui-state-focus,
html.ispcare-theme-dark .sidebar-nav__summary.ui-state-default {
	background: #2a4a6a;
	color: #c5e0f5;
}
html.ispcare-theme-dark .sidebar-nav__group-link a {
	color: #7ec4f0;
}
html.ispcare-theme-dark ul.toolbarmenu li a,
html.ispcare-theme-dark ul.toolbarmenu li a:active,
html.ispcare-theme-dark ul.toolbarmenu li a:visited,
html.ispcare-theme-dark #sidebar a,
html.ispcare-theme-dark #sidebar-content a,
html.ispcare-theme-dark .sidebar-nav__panel a {
	color: #d5dce6;
}
html.ispcare-theme-dark ul.toolbarmenu li a:hover,
html.ispcare-theme-dark #sidebar a:hover,
html.ispcare-theme-dark .sidebar-nav__panel a:hover {
	color: #f0a060;
}
html.ispcare-theme-dark .apps_menu {
	color: #d5dce6;
}
html.ispcare-theme-dark .tmenu,
html.ispcare-theme-dark .popupmenu {
	background-color: rgba(30, 34, 42, 0.96);
	border-color: #3d6a94;
	color: #e4e6ea;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
html.ispcare-theme-dark .popupmenu li a,
html.ispcare-theme-dark .popupmenu li a:active,
html.ispcare-theme-dark .popupmenu li a:visited {
	color: #d5dce6;
}
html.ispcare-theme-dark .menu_group_title {
	background-color: #252a33;
	border-bottom-color: #3d4654;
}
html.ispcare-theme-dark .infopane-content {
	background: #1e222a;
	border-color: #3d6a94;
	color: #e4e6ea;
}
html.ispcare-theme-dark .infopane-header,
html.ispcare-theme-dark .infopane-header.ui-widget-header,
html.ispcare-theme-dark .infopane-header.ui-state-focus {
	background: #2a4a6a;
	color: #c5e0f5;
	border-color: #3d6a94;
}
html.ispcare-theme-dark .ui-widget-content a {
	color: #7ec4f0;
}

html.ispcare-theme-dark .copyright {
	color: #8a929c;
}
html.ispcare-theme-dark .copyright a {
	color: #7ec4f0;
}

/* Dashboard selector + call center */
html.ispcare-theme-dark .ispcare-dash-selector {
	border-color: #3d6a94;
	background: linear-gradient(180deg, #252a33 0%, #1e222a 100%);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
html.ispcare-theme-dark .ispcare-dash-selector__nav {
	background: transparent;
}
html.ispcare-theme-dark .ispcare-dash-selector__select {
	background: #252a33;
	border-color: #3d6a94;
	color: #c5e0f5;
}
html.ispcare-theme-dark .ispcare-dash-selector__tab {
	background: #252a33;
	border-color: #3d6a94;
	color: #c5e0f5;
}
html.ispcare-theme-dark a.ispcare-dash-selector__tab:hover,
html.ispcare-theme-dark a.ispcare-dash-selector__tab:focus {
	background: #2a4a6a;
	border-color: #5c9ccc;
	color: #fff;
	box-shadow: 0 0 0 2px rgba(92, 156, 204, 0.25);
}
html.ispcare-theme-dark .ispcare-dash-selector__item--active .ispcare-dash-selector__tab {
	background: #3a6a94;
	border-color: #5c9ccc;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
/* Flotr chart legend (HTML overlay; JS also sets backgroundColor from entry.html) */
html.ispcare-theme-dark .flotr-legend,
html.ispcare-theme-dark .flotr-legend-bg,
html.ispcare-theme-dark .sDashboardWidgetContent .flotr-legend {
	background-color: #1e222a !important;
	color: #e4e6ea !important;
	border-color: #3d4654 !important;
}
html.ispcare-theme-dark .flotr-legend-label,
html.ispcare-theme-dark .flotr-legend td {
	color: #e4e6ea !important;
}

/* Dashboard widgets */
html.ispcare-theme-dark .sDashboardWidget {
	border-color: #3d4654;
	background-color: #1e222a;
}
html.ispcare-theme-dark .sDashboardWidget:hover {
	border-color: #5c9ccc;
}
html.ispcare-theme-dark .sDashboardWidgetHeader {
	border-bottom-color: #3d4654;
	color: #e4e6ea;
	background: #22262e;
}
html.ispcare-theme-dark .sDashboardWidgetContent,
html.ispcare-theme-dark .sDashboardWidgetContentMaximized {
	background-color: #1e222a;
	color: #e4e6ea;
}
html.ispcare-theme-dark .sDashboardWidgetContainerMaximized {
	background-color: #1e222a;
	border: 1px solid #3d6a94;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}
/* Maximize / close / refresh sprite icons (dark glyphs on light sprite) */
html.ispcare-theme-dark .sDashboard-icon {
	filter: invert(1) brightness(1.35);
	opacity: 0.9;
}
html.ispcare-theme-dark .sDashboard-icon:hover {
	opacity: 1;
	filter: invert(1) brightness(1.55) sepia(1) saturate(3) hue-rotate(175deg);
}
html.ispcare-theme-dark .sDashboardTableView tbody tr:nth-child(odd) {
	background-color: #22262e;
}
html.ispcare-theme-dark .sDashboardTableView tbody tr:nth-child(even) {
	background-color: #1a1d23;
}
html.ispcare-theme-dark .sDashboardTableView tbody tr.ui-state-highlight,
html.ispcare-theme-dark li.ui-sortable-placeholder {
	background-color: #3a4a20;
}
html.ispcare-theme-dark .sDashboard-overlay {
	background: rgba(0, 0, 0, 0.55);
}

/* Call center search widget (dashboard text_data + entry.html) */
html.ispcare-theme-dark .ispcare-cc-lookup,
html.ispcare-theme-dark .ispcare-cc-lookup--widget {
	border-color: #3d6a94;
	background: #1e222a;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ispcare-cc-lookup h2 {
	color: #c5e0f5;
}
html.ispcare-theme-dark .ispcare-cc-lookup label,
html.ispcare-theme-dark .ispcare-cc-lookup b,
html.ispcare-theme-dark .ispcare-cc-lookup p,
html.ispcare-theme-dark .ispcare-cc-lookup small {
	color: #d5dce6;
}
html.ispcare-theme-dark .ispcare-cc-lookup input[type="text"],
html.ispcare-theme-dark .ispcare-cc-lookup input.input,
html.ispcare-theme-dark .sDashboardWidgetContent .ispcare-cc-lookup input[type="text"] {
	background-color: #252a33;
	border-color: #4a5568;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ispcare-cc-lookup table,
html.ispcare-theme-dark .ispcare-cc-lookup td,
html.ispcare-theme-dark .sDashboardWidgetContent table,
html.ispcare-theme-dark .sDashboardWidgetContent td {
	background-color: transparent;
	color: #e4e6ea;
}

/* Network dashboard NAS cards + stats panes */
html.ispcare-theme-dark .nas-dash-card {
	color: #e4e6ea;
}
html.ispcare-theme-dark .nas-dash-card__ip {
	color: #9ecae8;
}
html.ispcare-theme-dark .nas-dash-card__badge {
	background: #2c323c;
	color: #a8b0b8;
}
html.ispcare-theme-dark .nas-dash-card--online .nas-dash-card__badge {
	background: #1e3320;
	color: #81c784;
}
html.ispcare-theme-dark .nas-dash-card--offline .nas-dash-card__badge {
	background: #3a2220;
	color: #ef9a9a;
}
html.ispcare-theme-dark .nas-dash-card__type,
html.ispcare-theme-dark .nas-dash-card__version {
	background: #252a33;
	color: #a8b0b8;
}
html.ispcare-theme-dark .nas-dash-card__desc {
	color: #9aa3ad;
}
html.ispcare-theme-dark .nas-dash-card__error {
	background: #3a2220;
	border-color: #8a3a3a;
	color: #ef9a9a;
}
html.ispcare-theme-dark .nas-dash-card__disconnect--warn {
	background: #3a3420;
	border-color: #8a7a30;
	color: #ffe082;
}
html.ispcare-theme-dark .nas-dash-card__disconnect--fail {
	background: #3a2220;
	border-color: #8a3a3a;
	color: #ef9a9a;
}
html.ispcare-theme-dark .nas-dash-card__cell,
html.ispcare-theme-dark .nas-dash-card__stat {
	background: #252a33;
	border-color: #3d4654;
}
html.ispcare-theme-dark .nas-dash-card__section {
	border-top-color: #3d4654;
}
html.ispcare-theme-dark .nas-dash-card__section-title,
html.ispcare-theme-dark .nas-dash-card__label {
	color: #8a929c;
}
html.ispcare-theme-dark .nas-dash-card__value {
	color: #e4e6ea;
}
html.ispcare-theme-dark .nas-dash-card__value--lg {
	color: #64b5f6;
}
html.ispcare-theme-dark .nas-dash-card__meter {
	background: #3d4654;
}
html.ispcare-theme-dark .nas-dash-card-link:hover .nas-dash-card,
html.ispcare-theme-dark .nas-dash-card--link:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
	border-color: #5c9ccc;
}
html.ispcare-theme-dark .nas-dash-alert {
	color: #e4e6ea;
}
html.ispcare-theme-dark .nas-dash-alert__intro,
html.ispcare-theme-dark .nas-dash-alert__note {
	color: #9aa3ad;
}
html.ispcare-theme-dark .nas-dash-alert__item {
	background: #252a33;
	border-color: #3d4654;
}
html.ispcare-theme-dark .nas-dash-alert__item--warn {
	background: #3a3420;
	border-color: #8a7a30;
}
html.ispcare-theme-dark .nas-dash-alert__item--fail {
	background: #3a2220;
	border-color: #8a3a3a;
}
html.ispcare-theme-dark .nas-dash-alert__name {
	color: #9ecae8;
}
html.ispcare-theme-dark .nas-dash-alert__ip,
html.ispcare-theme-dark .nas-dash-alert__detail {
	color: #a8b0b8;
}
html.ispcare-theme-dark .nas-dash-alert__link {
	color: #7ec4f0;
}
html.ispcare-theme-dark .nas-stats-page {
	color: #e4e6ea;
}
html.ispcare-theme-dark .nas-stats-toolbar__nav,
html.ispcare-theme-dark .nas-stats-hint,
html.ispcare-theme-dark .nas-stats-empty,
html.ispcare-theme-dark .nas-stats-limit-label {
	color: #9aa3ad;
}
html.ispcare-theme-dark .nas-stats-toolbar__nav a {
	color: #7ec4f0;
}
html.ispcare-theme-dark .nas-stats-header,
html.ispcare-theme-dark .nas-stats-kpi,
html.ispcare-theme-dark .nas-stats-section {
	background: #1e222a;
	border-color: #3d6a94;
	color: #e4e6ea;
}
html.ispcare-theme-dark .nas-stats-header__title,
html.ispcare-theme-dark .nas-stats-section__title,
html.ispcare-theme-dark .nas-stats-kpi__value {
	color: #c5e0f5;
}
html.ispcare-theme-dark .nas-stats-header__meta,
html.ispcare-theme-dark .nas-stats-header__polled,
html.ispcare-theme-dark .nas-stats-kpi__label,
html.ispcare-theme-dark .nas-stats-kpi__hint {
	color: #8a929c;
}
html.ispcare-theme-dark .nas-stats-badge--unknown {
	background: #2c323c;
	color: #a8b0b8;
}
html.ispcare-theme-dark .nas-stats-badge--online {
	background: #1e3320;
	color: #81c784;
}
html.ispcare-theme-dark .nas-stats-badge--offline {
	background: #3a2220;
	color: #ef9a9a;
}
html.ispcare-theme-dark .nas-stats-badge--live {
	background: #1e3a55;
	color: #90caf9;
}
html.ispcare-theme-dark .nas-stats-error {
	background: #3a2220;
	color: #ef9a9a;
}
html.ispcare-theme-dark .nas-stats-notice {
	background: #1e3320;
	color: #a5d6a7;
}
html.ispcare-theme-dark .nas-stats-notice--pending {
	background: #3a3420;
	color: #ffe082;
}
html.ispcare-theme-dark .nas-stats-kpi__meter {
	background: #3d4654;
}
html.ispcare-theme-dark .nas-stats-session-card,
html.ispcare-theme-dark .nas-stats-device-item {
	background: #252a33;
	border-color: #3d4654;
}
html.ispcare-theme-dark .nas-stats-session-card__title {
	color: #9ecae8;
}
html.ispcare-theme-dark .nas-stats-session-card__row {
	color: #9aa3ad;
}
html.ispcare-theme-dark .nas-stats-session-card__row strong,
html.ispcare-theme-dark .nas-stats-device-item__value {
	color: #e4e6ea;
}
html.ispcare-theme-dark .nas-stats-device-item__label {
	color: #8a929c;
}
html.ispcare-theme-dark .nas-stats-range-btn {
	background: #252a33;
	border-color: #3d6a94;
	color: #c5e0f5;
}
html.ispcare-theme-dark .nas-stats-range-btn--active,
html.ispcare-theme-dark .nas-stats-range-btn:hover {
	background: #2a4a6a;
	border-color: #5c9ccc;
	color: #fff;
}

/* App group icon grid (Reports, etc.) — SVGs keep light sheet fills; tone them + dark tile */
html.ispcare-theme-dark .icontext,
html.ispcare-theme-dark .appgroup-appgrid a.icontext {
	background-color: #252a33;
	border-color: #3d4654;
	color: #7ec4f0;
	filter: brightness(0.9) contrast(1.08);
}
html.ispcare-theme-dark .icontext:hover,
html.ispcare-theme-dark .appgroup-appgrid a.icontext:hover {
	background-color: #2c333e;
	border-color: #5c9ccc;
	filter: brightness(0.96) contrast(1.08);
}
html.ispcare-theme-dark .appgroup-appgrid a.icontext label,
html.ispcare-theme-dark .icontext label {
	color: #d5dce6;
	filter: none;
}
html.ispcare-theme-dark .appgroup-appgrid .iconcont_caption {
	color: #c5e0f5;
}

/* Quick search dropdown (appended to body; JS may set inline colors) */
html.ispcare-theme-dark .ispcare-qsearch__menu {
	background-color: #1e222a !important;
	border-color: #3d6a94 !important;
	color: #e4e6ea !important;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.55) !important;
}
html.ispcare-theme-dark .ispcare-qsearch__menu li {
	background: #252a33 !important;
	border-color: #3d4654 !important;
	color: #e4e6ea !important;
}
html.ispcare-theme-dark .ispcare-qsearch__menu li:hover {
	background: #509EEA !important;
	color: #fff !important;
}
html.ispcare-theme-dark .ispcare-wrap #topbar .ispcare-qsearch__input,
html.ispcare-theme-dark .ispcare-wrap #topbar .qsearchbox {
	background: #1e222a !important;
	border-color: #3d6a94;
	color: #e4e6ea;
}
/* Quick-search clear: SVG has real transparency (no GIF light halo). Soften for dark chrome. */
html.ispcare-theme-dark .ispcare-wrap #topbar .ispcare-qsearch__reset-icon {
	filter: none;
	opacity: 0.92;
}
html.ispcare-theme-dark .ispcare-wrap #topbar .ispcare-qsearch__reset img[src*="reset.gif"] {
	filter: brightness(1.15) contrast(0.95);
	opacity: 0.85;
}

/* Shared semantic color tones (cApp::colorTone).
 * !important beats html.ispcare-theme-dark td/a and #appbar a dumps. */
html.ispcare-theme-dark .ispcare-tone--soft,
html.ispcare-theme-dark .ispcare-tone--soft a,
html.ispcare-theme-dark #appbar a.ispcare-tone--soft,
html.ispcare-theme-dark #sidebar .ispcare-tone--soft,
html.ispcare-theme-dark #app-data .ispcare-tone--soft,
html.ispcare-theme-dark #app-data .ispcare-tone--soft a,
html.ispcare-theme-dark #app-data td.ispcare-tone--soft {
	color: #ef9a9a !important;
}
html.ispcare-theme-dark .ispcare-tone--danger,
html.ispcare-theme-dark .ispcare-tone--danger a,
html.ispcare-theme-dark #appbar a.ispcare-tone--danger,
html.ispcare-theme-dark #sidebar .ispcare-tone--danger,
html.ispcare-theme-dark #app-data .ispcare-tone--danger,
html.ispcare-theme-dark #app-data .ispcare-tone--danger a,
html.ispcare-theme-dark #app-data td.ispcare-tone--danger {
	color: #ef5350 !important;
}
html.ispcare-theme-dark .ispcare-tone--critical,
html.ispcare-theme-dark .ispcare-tone--critical a,
html.ispcare-theme-dark #appbar a.ispcare-tone--critical,
html.ispcare-theme-dark #sidebar .ispcare-tone--critical,
html.ispcare-theme-dark #app-data .ispcare-tone--critical,
html.ispcare-theme-dark #app-data .ispcare-tone--critical a,
html.ispcare-theme-dark #app-data td.ispcare-tone--critical {
	color: #ff5252 !important;
	font-weight: bold;
}
html.ispcare-theme-dark .ispcare-tone--ok-soft,
html.ispcare-theme-dark .ispcare-tone--ok-soft a,
html.ispcare-theme-dark #appbar a.ispcare-tone--ok-soft,
html.ispcare-theme-dark #sidebar .ispcare-tone--ok-soft,
html.ispcare-theme-dark #app-data .ispcare-tone--ok-soft,
html.ispcare-theme-dark #app-data .ispcare-tone--ok-soft a,
html.ispcare-theme-dark #app-data td.ispcare-tone--ok-soft {
	color: #a5d6a7 !important;
}
html.ispcare-theme-dark .ispcare-tone--ok,
html.ispcare-theme-dark .ispcare-tone--ok a,
html.ispcare-theme-dark #appbar a.ispcare-tone--ok,
html.ispcare-theme-dark #sidebar .ispcare-tone--ok,
html.ispcare-theme-dark #app-data .ispcare-tone--ok,
html.ispcare-theme-dark #app-data .ispcare-tone--ok a,
html.ispcare-theme-dark #app-data td.ispcare-tone--ok {
	color: #81c784 !important;
}
html.ispcare-theme-dark .ispcare-tone--ok-deep,
html.ispcare-theme-dark .ispcare-tone--ok-deep a,
html.ispcare-theme-dark #appbar a.ispcare-tone--ok-deep,
html.ispcare-theme-dark #sidebar .ispcare-tone--ok-deep,
html.ispcare-theme-dark #app-data .ispcare-tone--ok-deep,
html.ispcare-theme-dark #app-data .ispcare-tone--ok-deep a,
html.ispcare-theme-dark #app-data td.ispcare-tone--ok-deep {
	color: #66bb6a !important;
	font-weight: bold;
}
html.ispcare-theme-dark .ispcare-tone--warn,
html.ispcare-theme-dark .ispcare-tone--warn a,
html.ispcare-theme-dark #appbar a.ispcare-tone--warn,
html.ispcare-theme-dark #sidebar .ispcare-tone--warn,
html.ispcare-theme-dark #app-data .ispcare-tone--warn,
html.ispcare-theme-dark #app-data .ispcare-tone--warn a,
html.ispcare-theme-dark #app-data td.ispcare-tone--warn {
	color: #ffb74d !important;
}
html.ispcare-theme-dark .ispcare-tone--warn-deep,
html.ispcare-theme-dark .ispcare-tone--warn-deep a,
html.ispcare-theme-dark #appbar a.ispcare-tone--warn-deep,
html.ispcare-theme-dark #sidebar .ispcare-tone--warn-deep,
html.ispcare-theme-dark #app-data .ispcare-tone--warn-deep,
html.ispcare-theme-dark #app-data .ispcare-tone--warn-deep a,
html.ispcare-theme-dark #app-data td.ispcare-tone--warn-deep {
	color: #d7ccc8 !important;
}
html.ispcare-theme-dark .ispcare-tone--info,
html.ispcare-theme-dark .ispcare-tone--info a,
html.ispcare-theme-dark #appbar a.ispcare-tone--info,
html.ispcare-theme-dark #sidebar .ispcare-tone--info,
html.ispcare-theme-dark #app-data .ispcare-tone--info,
html.ispcare-theme-dark #app-data .ispcare-tone--info a,
html.ispcare-theme-dark #app-data td.ispcare-tone--info {
	color: #64b5f6 !important;
}
html.ispcare-theme-dark .ispcare-tone--info-deep,
html.ispcare-theme-dark .ispcare-tone--info-deep a,
html.ispcare-theme-dark #appbar a.ispcare-tone--info-deep,
html.ispcare-theme-dark #sidebar .ispcare-tone--info-deep,
html.ispcare-theme-dark #app-data .ispcare-tone--info-deep,
html.ispcare-theme-dark #app-data .ispcare-tone--info-deep a,
html.ispcare-theme-dark #app-data td.ispcare-tone--info-deep {
	color: #90caf9 !important;
	font-weight: bold;
}
html.ispcare-theme-dark .ispcare-tone-badge {
	color: #fff !important;
}
html.ispcare-theme-dark .ispcare-tone-badge--soft { background-color: #e57373 !important; }
html.ispcare-theme-dark .ispcare-tone-badge--danger { background-color: #c62828 !important; }
html.ispcare-theme-dark .ispcare-tone-badge--critical { background-color: #b71c1c !important; }
html.ispcare-theme-dark .ispcare-tone-badge--ok-soft { background-color: #81c784 !important; }
html.ispcare-theme-dark .ispcare-tone-badge--ok { background-color: #2e7d32 !important; }
html.ispcare-theme-dark .ispcare-tone-badge--ok-deep { background-color: #1b5e20 !important; }
html.ispcare-theme-dark .ispcare-tone-badge--warn { background-color: #ef6c00 !important; }
html.ispcare-theme-dark .ispcare-tone-badge--warn-deep { background-color: #6d4c41 !important; }
html.ispcare-theme-dark .ispcare-tone-badge--info { background-color: #1565c0 !important; }
html.ispcare-theme-dark .ispcare-tone-badge--info-deep { background-color: #0d47a1 !important; }
html.ispcare-theme-dark .ispcare-tone-badge--muted { background-color: #616161 !important; }

html.ispcare-theme-dark .ispcare-tone--muted,
html.ispcare-theme-dark .ispcare-tone--muted a,
html.ispcare-theme-dark #appbar a.ispcare-tone--muted,
html.ispcare-theme-dark #sidebar .ispcare-tone--muted,
html.ispcare-theme-dark #app-data .ispcare-tone--muted,
html.ispcare-theme-dark #app-data .ispcare-tone--muted a,
html.ispcare-theme-dark #app-data td.ispcare-tone--muted {
	color: #b0b8c4 !important;
}

/* Tickets / helpdesk + call-center reply panels */
html.ispcare-theme-dark .ticket_view_panel {
	border-color: #3d6a94;
}
/* Legacy bgcolor leftovers (pre-class markup) */
html.ispcare-theme-dark #app-data tr[bgcolor="#F3F3F3"],
html.ispcare-theme-dark #app-data tr[bgcolor="#f3f3f3"],
html.ispcare-theme-dark #app-data tr[bgcolor="#FAFAFA"],
html.ispcare-theme-dark #app-data tr[bgcolor="#fafafa"] {
	background-color: #2a323c !important;
}
html.ispcare-theme-dark #app-data tr[bgcolor="#F3F3F3"] > td,
html.ispcare-theme-dark #app-data tr[bgcolor="#f3f3f3"] > td,
html.ispcare-theme-dark #app-data tr[bgcolor="#FAFAFA"] > td,
html.ispcare-theme-dark #app-data tr[bgcolor="#fafafa"] > td {
	background-color: transparent !important;
	border-color: #3d4654;
	color: #e4e6ea;
}
html.ispcare-theme-dark #app-data table[style*="#E8E8E8"],
html.ispcare-theme-dark #app-data table[style*="#e8e8e8"],
html.ispcare-theme-dark #app-data table[style*="#D1E6FC"],
html.ispcare-theme-dark #app-data table[style*="#d1e6fc"] {
	border-color: #3d4654 !important;
}
html.ispcare-theme-dark .ticket_reply_box {
	border-color: #3d4654;
	background-color: #1e222a;
}
html.ispcare-theme-dark .ticket_reply_title {
	background-color: #2a323c;
	border-bottom-color: #3d4654;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ticket_reply_title b,
html.ispcare-theme-dark .ticket_reply_title strong,
html.ispcare-theme-dark .ticket_reply_title font {
	color: #c5e0f5;
}
html.ispcare-theme-dark .ticket_reply_text {
	background-color: #22262e;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ticket_reply_text textarea {
	background-color: #252a33;
	border-color: #4a5568;
	color: #e4e6ea;
	width: 100%;
	box-sizing: border-box;
}
html.ispcare-theme-dark .ticket_reply_private {
	background-color: #8a5a00;
	color: #ffe9a8;
}

/* Active VISP context banner */
html.ispcare-theme-dark .ispcare-visp-banner {
	background: #3a3420;
	border-color: #c9a227;
	color: #f0e6c8;
}
html.ispcare-theme-dark .ispcare-visp-banner strong {
	color: #ffe9a8;
}
html.ispcare-theme-dark .ispcare-visp-banner__meta {
	opacity: 0.8;
	color: #d4c9a8;
}

/* Flash */
html.ispcare-theme-dark .ispcare-wrap #app-data > .ispcare-flash .ispcare-flash__item {
	background: #252a33;
	border-color: #3d6a94;
	border-right-color: #5c9ccc;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
	color: #e4e6ea;
}
html.ispcare-theme-dark .ispcare-wrap #app-data > .ispcare-flash .ispcare-flash__item--error {
	border-right-color: #e74c3c;
	background: #3a2220;
	color: #f5c6c2;
}
html.ispcare-theme-dark .ispcare-wrap #app-data > .ispcare-flash .ispcare-flash__item--success {
	border-right-color: #4caf50;
	background: #1e3320;
	color: #c8e6c9;
}
html.ispcare-theme-dark .ispcare-wrap #app-data > .ispcare-flash .ispcare-flash__item--error .ispcare-flash__icon {
	background: #4a2826;
	color: #e74c3c;
}
html.ispcare-theme-dark .ispcare-wrap #app-data > .ispcare-flash .ispcare-flash__item--success .ispcare-flash__icon {
	background: #264a2a;
	color: #4caf50;
}
html.ispcare-theme-dark .ispcare-wrap #app-data > .ispcare-flash .ispcare-flash__body a {
	color: #7ec4f0;
}
html.ispcare-theme-dark .ispcare-wrap #app-data > .ispcare-flash .ispcare-flash__close:hover,
html.ispcare-theme-dark .ispcare-wrap #app-data > .ispcare-flash .ispcare-flash__close:focus {
	background: rgba(92, 156, 204, 0.2);
	color: #e4e6ea;
}

/* jQuery UI (redmond) — common chrome */
html.ispcare-theme-dark .ui-widget-content {
	background: #1e222a;
	border-color: #3d6a94;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ui-widget-header {
	background: #2a4a6a;
	border-color: #3d6a94;
	color: #c5e0f5;
}
html.ispcare-theme-dark .ui-state-default,
html.ispcare-theme-dark .ui-widget-content .ui-state-default,
html.ispcare-theme-dark .ui-widget-header .ui-state-default {
	background: #2a4a6a;
	border-color: #3d6a94;
	color: #c5e0f5;
}
html.ispcare-theme-dark .ui-state-hover,
html.ispcare-theme-dark .ui-widget-content .ui-state-hover,
html.ispcare-theme-dark .ui-state-focus,
html.ispcare-theme-dark .ui-widget-content .ui-state-focus {
	background: #3a6a94;
	border-color: #5c9ccc;
	color: #fff;
}
html.ispcare-theme-dark .ui-state-active,
html.ispcare-theme-dark .ui-widget-content .ui-state-active {
	background: #1e3a55;
	border-color: #5c9ccc;
	color: #fff;
}
html.ispcare-theme-dark .ui-state-highlight,
html.ispcare-theme-dark .ui-widget-content .ui-state-highlight {
	background: #3a4a20;
	border-color: #8a9a40;
	color: #e8f0c8;
}
html.ispcare-theme-dark .ui-button,
html.ispcare-theme-dark input.ui-button {
	background: #2a4a6a;
	border-color: #3d6a94;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ui-button:hover,
html.ispcare-theme-dark input.ui-button:hover {
	background: #3a6a94;
	border-color: #5c9ccc;
	color: #fff;
}
html.ispcare-theme-dark .ispctabs .ui-widget-header {
	background: #22262e;
	border-color: #22262e;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
html.ispcare-theme-dark .ui-tabs .ui-tabs-nav li.ui-state-active .ui-tabs-anchor {
	color: #fff;
}
html.ispcare-theme-dark .ui-datepicker {
	background: #1e222a;
	border-color: #3d6a94;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ui-datepicker td span,
html.ispcare-theme-dark .ui-datepicker td a {
	color: #e4e6ea;
}
html.ispcare-theme-dark .ui-menu {
	background: #1e222a;
	border-color: #3d6a94;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ui-menu .ui-menu-item-wrapper.ui-state-active,
html.ispcare-theme-dark .ui-menu .ui-state-focus {
	background: #2a4a6a;
	color: #fff;
}
html.ispcare-theme-dark .ui-autocomplete-loading {
	background-color: #1e222a;
}

/* Select2 */
html.ispcare-theme-dark .select2-container--default .select2-selection--single,
html.ispcare-theme-dark .select2-container--default .select2-selection--multiple {
	background-color: #252a33;
	border-color: #4a5568;
	color: #e4e6ea;
}
html.ispcare-theme-dark .select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #e4e6ea;
}
html.ispcare-theme-dark .select2-container--default .select2-selection--single .select2-selection__arrow b {
	border-color: #a8b0b8 transparent transparent transparent;
}
html.ispcare-theme-dark .select2-dropdown {
	background-color: #1e222a;
	border-color: #3d6a94;
	color: #e4e6ea;
}
html.ispcare-theme-dark .select2-container--default .select2-results__option--highlighted[aria-selected],
html.ispcare-theme-dark .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background-color: #2a4a6a;
	color: #fff;
}
html.ispcare-theme-dark .select2-container--default .select2-results__option[aria-selected="true"] {
	background-color: #252a33;
}
html.ispcare-theme-dark .select2-container--default .select2-search--dropdown .select2-search__field {
	background-color: #252a33;
	border-color: #4a5568;
	color: #e4e6ea;
}
html.ispcare-theme-dark .select2-container--default.select2-container--disabled .select2-selection--single {
	background-color: #2c323c;
	color: #8a929c;
}

/* List cards (mobile ≤991px) — full card chrome, not just shell.
 * Keep these under ispcare-list-cards only — unscoped !important kills desktop row hover. */
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark {
	background: #1e222a !important;
	border-color: #3d4654;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-card--tappable:hover,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-card--tappable:hover {
	background: #252a33 !important;
	border-color: #5c9ccc;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-card--tappable:active,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-card--tappable:active {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
/* Kill desktop zebra / row-hover wash on card rows */
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row:hover,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright:hover,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark:hover,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row:hover,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright:hover,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark:hover {
	background: #1e222a !important;
}
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-card--tappable:hover,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-card--tappable:hover {
	background: #252a33 !important;
}

/* Card primary header strip */
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row > td.ispcare-list-primary,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright > td.ispcare-list-primary,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark > td.ispcare-list-primary,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row > td.ispcare-list-primary,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright > td.ispcare-list-primary,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark > td.ispcare-list-primary {
	background: linear-gradient(180deg, #252a33 0%, #1e222a 100%) !important;
	border-bottom-color: #3d4654;
	color: #e4e6ea;
}
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row > td.ispcare-list-primary a.col_head,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright > td.ispcare-list-primary a.col_head,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark > td.ispcare-list-primary a.col_head,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row > td.ispcare-list-primary a.col_head,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright > td.ispcare-list-primary a.col_head,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark > td.ispcare-list-primary a.col_head {
	color: #9ec9e8;
}
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row > td.ispcare-list-primary a.col_head:hover,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row > td.ispcare-list-primary a.col_head:hover {
	color: #c5e0f5;
}

/* Field labels (::before from data-label) + values */
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row > td[data-label]::before,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright > td[data-label]::before,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark > td[data-label]::before,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row > td[data-label]::before,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright > td[data-label]::before,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark > td[data-label]::before {
	color: #8aa0b5;
}
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row > td,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright > td,
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark > td,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tr.ispcare-list-row > td,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.bright > td,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data tbody > tr.dark > td {
	color: #d0d4db;
	background: transparent;
	border-color: transparent;
}

/* Action count badge */
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data .ispcare-list-card__badge,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data .ispcare-list-card__badge {
	background: #3d6a94;
	color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Swipe-revealed actions panel */
html.ispcare-theme-dark body.ispcare-list-cards #app-data table.ispcare-list-data .ispcare-list-card__swipe-actions,
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data .ispcare-list-card__swipe-actions {
	background: linear-gradient(90deg, rgba(30, 34, 42, 0.2) 0%, #252a33 35%, #2a4a6a 100%);
	border-inline-start-color: #3d6a94;
}
html.ispcare-theme-dark body[dir="rtl"].ispcare-list-cards #app-data table.ispcare-list-data .ispcare-list-card__swipe-actions,
html.ispcare-theme-dark body[dir="rtl"] #ispcare-wrap.ispcare-list-cards #app-data table.ispcare-list-data .ispcare-list-card__swipe-actions {
	background: linear-gradient(270deg, rgba(30, 34, 42, 0.2) 0%, #252a33 35%, #2a4a6a 100%);
}

/* Swipe hint banner */
html.ispcare-theme-dark body.ispcare-list-cards .ispcare-list-cards-hint:not(.ispcare-list-cards-hint--dismissed),
html.ispcare-theme-dark #ispcare-wrap.ispcare-list-cards .ispcare-list-cards-hint:not(.ispcare-list-cards-hint--dismissed),
html.ispcare-theme-dark .ispcare-wrap .ispcare-list-cards-hint:not(.ispcare-list-cards-hint--dismissed) {
	color: #a8c8e0;
	background: #22262e;
	border-color: #3d6a94;
}
html.ispcare-theme-dark .ispcare-list-cards-hint__close {
	color: #8aa0b5;
}
html.ispcare-theme-dark .ispcare-list-cards-hint__close:hover,
html.ispcare-theme-dark .ispcare-list-cards-hint__close:focus {
	background: rgba(92, 156, 204, 0.2);
	color: #c5e0f5;
}

/* Loading skeleton cards */
html.ispcare-theme-dark .ispcare-list-skeleton__card {
	background: #1e222a;
	border-color: #3d4654;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
html.ispcare-theme-dark .ispcare-list-skeleton__title,
html.ispcare-theme-dark .ispcare-list-skeleton__line {
	background: linear-gradient(90deg, #252a33 0%, #2c323c 45%, #252a33 90%);
	background-size: 200% 100%;
}

/* Subscription 360° view */
html.ispcare-theme-dark .ispcare-sub-view__provider-meta {
	background: #22262e;
	border-color: #3d6a94;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ispcare-action-toolbar {
	background: #22262e;
	border-color: #3d4654;
}
html.ispcare-theme-dark .ispcare-action-btn {
	background: #252a33;
	border-color: #4a5568;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ispcare-action-btn:hover {
	background: #2a4a6a;
	border-color: #5c9ccc;
	color: #fff;
}
html.ispcare-theme-dark .ispcare-action-more-toggle {
	background: #252a33;
	border-color: #3d6a94;
	color: #c5e0f5;
}
html.ispcare-theme-dark .ispcare-action-toolbar__overflow {
	background: #1e222a;
	border-color: #3d6a94;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}
html.ispcare-theme-dark .ispcare-sub-view__service {
	border-top-color: #3d6a94;
}
html.ispcare-theme-dark .ispcare-sub-lifetime-panel {
	border-color: #3d6a94;
	background: #1e222a;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
html.ispcare-theme-dark .ispcare-sub-lifetime-panel__summary {
	color: #c5e0f5;
}
html.ispcare-theme-dark .ispcare-sub-lifetime {
	background: linear-gradient(165deg, #252a33 0%, #1e222a 55%, #22262e 100%);
}
html.ispcare-theme-dark .ispcare-sub-lifetime__dot {
	background: #1e222a;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
html.ispcare-theme-dark .ispcare-sub-lifetime__step--activated .ispcare-sub-lifetime__dot {
	background: #1e3a55;
}
html.ispcare-theme-dark .ispcare-sub-lifetime__step--usage .ispcare-sub-lifetime__dot {
	background: #1e222a;
}
html.ispcare-theme-dark .ispcare-sub-lifetime__label {
	color: #9aa3ad;
}
html.ispcare-theme-dark .ispcare-sub-lifetime__date {
	color: #c5d0dc;
}
html.ispcare-theme-dark .ispcare-sub-view__fieldset {
	border-color: #3d6a94;
	background: #1e222a;
}
html.ispcare-theme-dark .ispcare-sub-view__empty {
	color: #9aa3ad;
}
html.ispcare-theme-dark .ispcare-tabs-select {
	background: #252a33;
	border-color: #3d6a94;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block table,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view table {
	background-color: transparent;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view .bright,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block .bright,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view .bright {
	background-color: #1a1d23;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view .dark,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block .dark,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view .dark {
	background-color: #22262e;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view td.title,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block td.title,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view td.title,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view .title,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block .title {
	background: #2a4a6a;
	border-color: #3d6a94;
	color: #c5e0f5;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view fieldset,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block fieldset {
	border-color: #3d6a94;
	background: #1e222a;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view .ui-tabs .ui-tabs-panel,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block .ui-tabs .ui-tabs-panel {
	background: #1a1d23;
	border-color: #3d6a94;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view .ui-widget-content,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block .ui-widget-content {
	background: #1e222a;
	border-color: #3d6a94;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ispcare-wrap #app-data table[class*='infoTbl'],
html.ispcare-theme-dark .ispcare-wrap #app-data table[class*='infoTbl'] td,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__details-table,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__details-table td {
	background-color: transparent;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ispcare-wrap #app-data table[class*='infoTbl'] tr.dark td,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__details-table tr.dark td {
	background-color: #22262e;
}
html.ispcare-theme-dark .ispcare-wrap #app-data table[class*='infoTbl'] tr.bright td,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__details-table tr.bright td {
	background-color: #1a1d23;
}
@media (max-width: 992px) {
	/* Subscription / service profile — kill leftover light surfaces on narrow flex layout */
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__primary,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__aside,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view .ispcare-tabs,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-tabs__panel,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-tabs__panel--active,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view {
		background-color: #1a1d23 !important;
	}
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block table,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view table {
		background-color: transparent !important;
	}
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table > tbody > tr > td,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table > tr > td,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block #info2 > tbody > tr > td,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block #info2 > tr > td,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block table[class*='infoTbl'] > tbody > tr > td,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block table[class*='infoTbl'] > tr > td,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view table[class*='infoTbl'] > tbody > tr > td,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view table[class*='infoTbl'] > tr > td {
		background-color: #1e222a !important;
		color: #e4e6ea;
	}
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block table[class*='infoTbl']:not(:has(> tbody > tr > th)):not(:has(> tr > th)) > tbody > tr > td:nth-child(odd):not([colspan]),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block table[class*='infoTbl']:not(:has(> tbody > tr > th)):not(:has(> tr > th)) > tr > td:nth-child(odd):not([colspan]),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view table[class*='infoTbl'] > tbody > tr > td:nth-child(odd):not([colspan]),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view table[class*='infoTbl'] > tr > td:nth-child(odd):not([colspan]),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table > tbody > tr > td:nth-child(odd):not([colspan]),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table > tr > td:nth-child(odd):not([colspan]),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table .ispcare-sub-view__details-label,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table tr.ispcare-sub-view__details-kpi > td:nth-child(odd) {
		color: #7ec4f0 !important;
		background-color: #22262e !important;
	}
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block table[class*='infoTbl']:not(:has(> tbody > tr > th)):not(:has(> tr > th)) > tbody > tr > td:nth-child(even),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__service-block table[class*='infoTbl']:not(:has(> tbody > tr > th)):not(:has(> tr > th)) > tr > td:nth-child(even),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view table[class*='infoTbl'] > tbody > tr > td:nth-child(even),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-subscriber-view table[class*='infoTbl'] > tr > td:nth-child(even),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table > tbody > tr > td:nth-child(even),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table > tr > td:nth-child(even),
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table > tbody > tr > td[colspan],
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table > tr > td[colspan],
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table .ispcare-sub-view__details-value,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table tr.ispcare-sub-view__details-kpi > td:nth-child(even) {
		background-color: #1e222a !important;
		color: #e4e6ea;
	}
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view table.ispcare-sub-view__details-table tr.ispcare-sub-view__details-full > td {
		background-color: #1a1d23 !important;
		color: #e4e6ea;
	}
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view .ispcare-sub-view__notes,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view .ispcare-doc-grid__item {
		background-color: #1e222a !important;
		border-color: #3d4654;
		color: #e4e6ea;
	}
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-tabs__tab--active a,
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-tabs__nav > li.ispcare-tabs__tab--active a {
		background: #1a1d23 !important;
		color: #e4e6ea !important;
	}
	html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__tabs > .ispcare-tabs-select,
	html.ispcare-theme-dark .ispcare-tabs-select {
		background: #252a33 !important;
		border-color: #3d6a94 !important;
		color: #c5e0f5 !important;
	}
}

/* Online info tokens */
html.ispcare-theme-dark .online-info {
	--oi-border: #3d4654;
	--oi-bg: #1e222a;
	--oi-muted: #9aa3ad;
	--oi-text: #e4e6ea;
	--oi-accent: #7ec4f0;
	--oi-dl: #64b5f6;
	--oi-ul: #81c784;
}
html.ispcare-theme-dark .online-info__session-bar {
	background: #22262e;
}
html.ispcare-theme-dark .online-info__badge {
	background: #2c323c;
	color: #a8b0b8;
}
html.ispcare-theme-dark .online-info__badge--blue {
	background: #1e3a55;
	color: #90caf9;
}
html.ispcare-theme-dark .online-info__badge--green {
	background: #1e3320;
	color: #a5d6a7;
}
html.ispcare-theme-dark .online-info__badge--red {
	background: #3a2220;
	color: #ef9a9a;
}
html.ispcare-theme-dark .online-info__mismatch {
	border-color: #8a3a3a;
	background: #3a2220;
	color: #ef9a9a;
}
html.ispcare-theme-dark .online-info__action {
	background: #252a33;
	color: #e4e6ea;
}
html.ispcare-theme-dark .online-info__action:hover {
	background: #2a4a6a;
	border-color: #5c9ccc;
}
html.ispcare-theme-dark .online-info__topology-toggle {
	color: #c5d0dc;
}

/* App tasks (header app_menu pills) */
html.ispcare-theme-dark .ispcare-wrap #app-tasks > div > a,
html.ispcare-theme-dark .ispcare-wrap #app-tasks .app-tasks__item > a {
	background: #252a33;
	border-color: #4a5568;
	color: #d5dce6;
}
html.ispcare-theme-dark .ispcare-wrap #app-tasks > div > a:hover,
html.ispcare-theme-dark .ispcare-wrap #app-tasks .app-tasks__item > a:hover {
	background: #2a4a6a;
	border-color: #5c9ccc;
	color: #fff;
}
html.ispcare-theme-dark .ispcare-wrap #app-tasks a.active_task {
	background: #2a4a6a;
	border-color: #5c9ccc;
	color: #fff;
}
html.ispcare-theme-dark #appbar a,
html.ispcare-theme-dark .ispcare-wrap #appbar .appbar-line1__trail a {
	color: #7ec4f0;
}
html.ispcare-theme-dark #date {
	color: #9aa3ad;
}

/* Subscription tabs */
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-tabs__nav,
html.ispcare-theme-dark .ispcare-wrap #app-data [data-ispcare-tabs] > ul {
	background: #22262e;
	border-color: #3d4654;
	border-bottom-color: #3d6a94;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-tabs__nav a,
html.ispcare-theme-dark .ispcare-wrap #app-data [data-ispcare-tabs] > ul a {
	color: #9ecae8;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-tabs__tab--active a,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-tabs__nav > li.ispcare-tabs__tab--active a,
html.ispcare-theme-dark .ispcare-wrap #app-data [data-ispcare-tabs]:not([data-ispcare-tabs-ready]) > ul > li:first-child > a {
	background: #1a1d23;
	border-bottom-color: #5c9ccc;
	color: #e4e6ea;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-copy-btn:hover,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-copy-btn:focus {
	background: #2a4a6a;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-sub-view__tabs > .ispcare-tabs-select,
html.ispcare-theme-dark .ispcare-tabs-select {
	background: #252a33;
	border-color: #3d6a94;
	color: #c5e0f5;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-tabs__panel {
	color: #e4e6ea;
	background-color: #1a1d23;
}
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-tabs__tab--active a,
html.ispcare-theme-dark .ispcare-wrap #app-data .ispcare-tabs__nav > li.ispcare-tabs__tab--active a {
	background: #1a1d23;
	border-bottom-color: #5c9ccc;
	color: #e4e6ea;
}

/* WIFI subscriber map panel */
html.ispcare-theme-dark .ispcare-wifi-map-panel {
	background: #1e222a;
	border-color: #3d6a94;
}
html.ispcare-theme-dark .ispcare-wifi-map-panel__summary {
	color: #c5e0f5;
}
html.ispcare-theme-dark .wifi-subscriber-map-wrap,
html.ispcare-theme-dark .wifi-subscriber-map-title,
html.ispcare-theme-dark .wifi-subscriber-map-legend {
	color: #d5dce6;
}
html.ispcare-theme-dark #wifi-subscriber-map {
	border-color: #3d6a94;
	background: #252a33;
}
html.ispcare-theme-dark .wifi-popup-meta {
	color: #9aa3ad;
}
html.ispcare-theme-dark .leaflet-container {
	background: #252a33;
}
html.ispcare-theme-dark .leaflet-popup-content-wrapper,
html.ispcare-theme-dark .leaflet-popup-tip {
	background: #1e222a;
	color: #e4e6ea;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
html.ispcare-theme-dark .leaflet-popup-content {
	color: #e4e6ea;
}
html.ispcare-theme-dark .leaflet-control-attribution {
	background: rgba(30, 34, 42, 0.85);
	color: #9aa3ad;
}
html.ispcare-theme-dark .leaflet-control-attribution a {
	color: #7ec4f0;
}

/* Pagination + cmdbar tools */
html.ispcare-theme-dark .ispcare-pager__nav {
	background: #22262e;
	border-color: #3d6a94;
}
html.ispcare-theme-dark .ispcare-pager__btn {
	background: #252a33;
	border-color: #3d6a94;
}
html.ispcare-theme-dark .ispcare-pager__btn:hover,
html.ispcare-theme-dark .ispcare-pager__btn:focus {
	background: #2a4a6a;
	border-color: #5c9ccc;
}
html.ispcare-theme-dark .ispcare-pager__btn:active {
	background: #1e3a55;
}
html.ispcare-theme-dark .ispcare-pager__btn img {
	filter: invert(1) brightness(1.25);
}
html.ispcare-theme-dark .ispcare-pager__nav .ispcare-pager__info {
	border-inline-color: #3d4654;
}
html.ispcare-theme-dark .ispcare-pager__info {
	background: #1e222a;
	border-color: #3d4654;
	color: #a8b0b8;
}
html.ispcare-theme-dark .ispcare-pager__info strong {
	color: #e4e6ea;
}
html.ispcare-theme-dark .ispcare-pager__filter {
	color: #8a929c;
}
html.ispcare-theme-dark .ispcare-cmdbar__btn {
	background: #252a33;
	border-color: #3d6a94;
	color: #c5e0f5;
}
html.ispcare-theme-dark .ispcare-cmdbar__btn:hover,
html.ispcare-theme-dark .ispcare-cmdbar__btn:focus {
	background: #2a4a6a;
	border-color: #5c9ccc;
	color: #fff;
}
html.ispcare-theme-dark .ispcare-cmdbar__btn:active {
	background: #1e3a55;
}
html.ispcare-theme-dark .ispcare-cmdbar__btn--export {
	background: #1e3320;
	border-color: #3d6a4a;
	color: #a5d6a7;
}
html.ispcare-theme-dark .ispcare-cmdbar__btn--export:hover,
html.ispcare-theme-dark .ispcare-cmdbar__btn--export:focus {
	background: #264a2a;
	border-color: #4caf50;
	color: #c8e6c9;
}

/* ========== Dark-mode UI icons (/images) — hybrid ==========
 * Monochrome chrome: invert. Colored actions: lift + chip. Skip brand/status. */
html.ispcare-theme-dark .ispcare-pager__btn img,
html.ispcare-theme-dark .ispcare-cmdbar__btn--print img[src*="/images/print."],
html.ispcare-theme-dark a.button img[src*="/images/print."],
html.ispcare-theme-dark .filters-menu,
html.ispcare-theme-dark img.ui-datepicker-trigger,
html.ispcare-theme-dark .ui-datepicker-trigger,
html.ispcare-theme-dark .messagebar-close,
html.ispcare-theme-dark #cpowner_bill_url,
html.ispcare-theme-dark #cpowner_help_url,
html.ispcare-theme-dark #cpowner_pass_url,
html.ispcare-theme-dark #cpowner_info_url,
html.ispcare-theme-dark #cpowner_alog_url,
html.ispcare-theme-dark #cpowner_slog_url {
	filter: invert(1) brightness(1.25);
}

/* Colored / SVG action icons — no invert, no chip (SVGs are transparent) */
html.ispcare-theme-dark #appbar .obj-act img.app_action_icon,
html.ispcare-theme-dark #appbar .ispcare-cmdbar__btn img.app_action_icon,
html.ispcare-theme-dark #app-data .app_actions img.app_action_icon,
html.ispcare-theme-dark #app-data .ispcare-action-btn img.app_action_icon,
html.ispcare-theme-dark #app-data .inline-obj-act img.app_action_icon,
html.ispcare-theme-dark #app-data img.app_action_icon {
	filter: none;
	background: transparent;
	padding: 0;
	vertical-align: middle;
}
/* Legacy PNG/GIF fallbacks only (opaque assets) */
html.ispcare-theme-dark #appbar .obj-act img[src*="/images/"],
html.ispcare-theme-dark #app-data .app_actions img[src*="/images/"],
html.ispcare-theme-dark #app-data .ispcare-action-btn img[src*="/images/"],
html.ispcare-theme-dark #app-data .inline-obj-act img[src*="/images/"],
html.ispcare-theme-dark #app-data .ispcare-copy-btn img,
html.ispcare-theme-dark .ispcare-cmdbar__btn--export img[src*="/images/export_excel."],
html.ispcare-theme-dark a.button img[src*="/images/export_excel."] {
	filter: brightness(1.3) contrast(1.08);
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3px;
	padding: 1px;
	box-sizing: content-box;
	vertical-align: middle;
}

/* Brand / status / maps — never filter */
html.ispcare-theme-dark #logo img,
html.ispcare-theme-dark .ispcare-wrap #logo img,
html.ispcare-theme-dark .wifi-pin-marker,
html.ispcare-theme-dark .wifi-pin-marker img,
html.ispcare-theme-dark .wifi-pin-head,
html.ispcare-theme-dark .leaflet-marker-icon,
html.ispcare-theme-dark .leaflet-control-layers-toggle {
	filter: none !important;
	background: transparent !important;
	padding: 0 !important;
}

/* SYTRA / generalstatisticsreport */
html.ispcare-theme-dark .sytra_report,
html.ispcare-theme-dark .sytra_report td {
	color: #e4e6ea;
}
html.ispcare-theme-dark .sytra_report .te_head,
html.ispcare-theme-dark .sytra_report .city_head {
	border-color: #3d4654;
	color: #e4e6ea;
}
html.ispcare-theme-dark .sytra_report .te_head {
	background-color: #2a4a6a;
	color: #c5e0f5;
}
html.ispcare-theme-dark .sytra_report .city_head {
	background-color: #22262e;
	color: #c5e0f5;
}
html.ispcare-theme-dark .sytra_report tr.bright td,
html.ispcare-theme-dark .sytra_report .bright td {
	background-color: #1a1d23;
}
html.ispcare-theme-dark .sytra_report tr.dark td,
html.ispcare-theme-dark .sytra_report .dark td {
	background-color: #22262e;
}
html.ispcare-theme-dark #app-data form#cfrm,
html.ispcare-theme-dark #app-data form#cfrm td,
html.ispcare-theme-dark #app-data form#cfrm small,
html.ispcare-theme-dark #app-data form#cfrm b {
	color: #e4e6ea;
}
html.ispcare-theme-dark #app-data hr {
	border-color: #3d4654;
	background: #3d4654;
	color: #3d4654;
}

/* Keep status colors readable */
html.ispcare-theme-dark font[color="red"],
html.ispcare-theme-dark font[color="#FF0000"],
html.ispcare-theme-dark span[style*="color:red"],
html.ispcare-theme-dark span[style*="color: red"],
html.ispcare-theme-dark td[style*="color:red"],
html.ispcare-theme-dark td[style*="color: red"] {
	color: #ef5350 !important;
}
html.ispcare-theme-dark font[color="green"],
html.ispcare-theme-dark span[style*="color:green"],
html.ispcare-theme-dark span[style*="color: green"] {
	color: #66bb6a !important;
}

/* Print: force light for paper */
@media print {
	html.ispcare-theme-dark body,
	html.ispcare-theme-dark #app-data,
	html.ispcare-theme-dark #app-data-print {
		background: #fff !important;
		color: #000 !important;
	}
	html.ispcare-theme-dark a,
	html.ispcare-theme-dark td,
	html.ispcare-theme-dark th,
	html.ispcare-theme-dark div,
	html.ispcare-theme-dark span {
		color: #000 !important;
	}
}

/* ========== Blue login page (body#login) ========== */
html.ispcare-theme-dark body#login {
	background:
		radial-gradient(1200px 420px at 50% -10%, rgba(92, 156, 204, 0.12), rgba(0, 0, 0, 0)),
		linear-gradient(180deg, #12151a 0%, #1a1d23 100%);
	color: #e4e6ea;
}
html.ispcare-theme-dark body#login #login-container {
	background: none;
}
html.ispcare-theme-dark body#login #login-form.card {
	background: #252a33;
	border-color: #3d4654 !important;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45) !important;
	color: #e4e6ea;
}
html.ispcare-theme-dark body#login .login-lang-toggle {
	background: #1e222a;
	border-color: #3d4654;
}
html.ispcare-theme-dark body#login .login-lang-toggle .lang-btn {
	color: #a8c8e0;
}
html.ispcare-theme-dark body#login .login-lang-toggle .lang-btn + .lang-btn {
	border-left-color: #3d4654;
}
html.ispcare-theme-dark body#login .login-lang-toggle .lang-btn.active {
	background: linear-gradient(135deg, #2a4a6a, #3d6a94);
	color: #fff;
}
html.ispcare-theme-dark body#login .login-lang-toggle .lang-btn:hover {
	color: #c5e0f5;
}
html.ispcare-theme-dark body#login #login-form .login-title {
	background: linear-gradient(135deg, #2a4a6a, #3d6a94);
	color: #fff;
}
html.ispcare-theme-dark body#login #login-contents .title,
html.ispcare-theme-dark body#login #login-contents .form-label {
	color: #9ec9e8;
}
html.ispcare-theme-dark body#login #login-contents .form-control,
html.ispcare-theme-dark body#login #login-contents .form-select,
html.ispcare-theme-dark body#login #login-contents .input-group-text,
html.ispcare-theme-dark body#login #login-contents input[type="text"],
html.ispcare-theme-dark body#login #login-contents input[type="password"] {
	background-color: #1a1d23;
	border-color: #3d4654;
	color: #e4e6ea;
}
html.ispcare-theme-dark body#login #login-contents .form-control:focus,
html.ispcare-theme-dark body#login #login-contents .form-select:focus,
html.ispcare-theme-dark body#login #login-contents input:focus {
	border-color: #5c9ccc;
	box-shadow: 0 0 0 0.2rem rgba(92, 156, 204, 0.25);
	background-color: #1a1d23;
	color: #e4e6ea;
}
html.ispcare-theme-dark body#login #login-contents .input-group-text {
	background: #22262e;
	color: #a8b0bc;
}
html.ispcare-theme-dark body#login #login-contents .text-muted,
html.ispcare-theme-dark body#login #login-contents .small {
	color: #a8b0bc !important;
}
html.ispcare-theme-dark body#login #login-contents .alert-danger {
	background: #3a2220;
	border-color: #e74c3c;
	color: #f5c6c2;
}
html.ispcare-theme-dark body#login #captcha {
	border-color: #3d4654 !important;
	background: #fff;
}
html.ispcare-theme-dark body#login .login-submit {
	background: linear-gradient(135deg, #2a4a6a, #3d6a94);
	border-color: #3d6a94;
	color: #fff;
}
html.ispcare-theme-dark body#login .login-submit:hover,
html.ispcare-theme-dark body#login .login-submit:focus,
html.ispcare-theme-dark body#login .login-submit:active {
	background: linear-gradient(135deg, #2a4a6a, #5c9ccc);
	border-color: #5c9ccc;
	color: #fff;
}
html.ispcare-theme-dark body#login .copyright,
html.ispcare-theme-dark body#login .login-copyright {
	color: #8a93a3;
}
html.ispcare-theme-dark body#login .copyright a {
	color: #7ec4f0;
}
html.ispcare-theme-dark body#login a {
	color: #7ec4f0;
}
html.ispcare-theme-dark body#login a:hover {
	color: #a8daf8;
}
/* Opaque VISP JPEG keeps crisp text; white plate frames it on dark card */
html.ispcare-theme-dark body#login .login-brand-wrap {
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
html.ispcare-theme-dark body#login .login-copyright-logo-wrap {
	background: rgba(255, 255, 255, 0.92);
	border-radius: 8px;
	padding: 4px 8px;
}
html.ispcare-theme-dark body#login #logo,
html.ispcare-theme-dark body#login .login-brand-logo {
	mix-blend-mode: normal;
	background: transparent !important;
	filter: none !important;
}

/* Maintenance notice (reuses login shell; card may be #login-form) */
html.ispcare-theme-dark body#login .ispcare-maintenance__title {
	color: #7ec4f0;
}
html.ispcare-theme-dark body#login .ispcare-maintenance__msg {
	color: #e4e6ea;
}
html.ispcare-theme-dark body#login .ispcare-maintenance__actions a {
	color: #7ec4f0;
}
html.ispcare-theme-dark body#login .ispcare-maintenance__actions a:hover {
	color: #f0a060;
}

/* Superadmin maintenance banner in Admin CP */
html.ispcare-theme-dark .ispcare-maintenance-banner {
	background: #3d3420;
	color: #f0d78c;
	border-bottom-color: #5c4d28;
}
