html[data-theme="dark"] {
  --main_color: #081014;
  --main_text_color: #f2f4f0;
  --table_hover_color: rgba(169, 216, 0, .14);
  --table_header_color: #a9d800;
  --navbar_brand_text_color: #f2f4f0;
  --navbar_hover_color: rgba(169, 216, 0, .16);
  --navbar_hover_text_color: #d9ff00;
  --navbar_color: #081014;
  --navbar_dropdown_color: #081014;
  --navbar_dropdown_text_color: #f2f4f0;

  --ow-bg: #04080a;
  --ow-bg2: #081014;
  --ow-card: rgba(10, 16, 19, .94);
  --ow-card2: rgba(12, 20, 23, .96);
  --ow-ink: #f2f4f0;
  --ow-muted: #c2c8c1;
  --ow-subtle: #7f8a86;
  --ow-line: rgba(185, 255, 0, .24);
  --ow-line-soft: rgba(255, 255, 255, .10);
  --ow-accent: #a9d800;
  --ow-accent-soft: rgba(169, 216, 0, .16);
  --ow-accent-ink: #d9ff00;
  --ow-good: #a9d800;
  --ow-good-bg: rgba(169, 216, 0, .12);
  --ow-warn: #ff8a00;
  --ow-warn-bg: rgba(255, 138, 0, .14);
  --ow-bad: #ff2b2b;
  --ow-bad-bg: rgba(255, 43, 43, .12);
  --ow-shadow-sm: 0 0 0 1px rgba(255, 255, 255, .035), 0 10px 22px rgba(0, 0, 0, .38);
  --ow-shadow: 0 0 0 1px rgba(169, 216, 0, .24), 0 0 28px rgba(169, 216, 0, .12), 0 16px 34px rgba(0, 0, 0, .50);
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  background: #04080a;
  color: #f2f4f0;
}

html[data-theme="dark"] body {
  color-scheme: dark;
}

html[data-theme="dark"] #header,
html[data-theme="dark"] #footer {
  background: #081014;
  color: #f2f4f0;
  border-color: rgba(169, 216, 0, .34);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .035), 0 14px 30px rgba(0, 0, 0, .35);
}

html[data-theme="dark"] #content {
  background:
    radial-gradient(circle at 24% 10%, rgba(169, 216, 0, .08), transparent 30%),
    radial-gradient(circle at 72% 26%, rgba(22, 131, 255, .05), transparent 33%),
    linear-gradient(180deg, rgba(7, 12, 14, .96), rgba(2, 5, 6, .98)),
    #04080a;
  color: #f2f4f0;
}

html[data-theme="dark"] a {
  color: #d9ff00;
}

html[data-theme="dark"] a:hover,
html[data-theme="dark"] a:focus {
  color: #ffffff;
}

html[data-theme="dark"] .navbar {
  background-color: #081014;
  border: 1px solid rgba(169, 216, 0, .22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}

html[data-theme="dark"] .navbar .navbar-brand,
html[data-theme="dark"] .navbar .navbar-text,
html[data-theme="dark"] .navbar .navbar-nav .nav-link {
  color: #f2f4f0;
}

html[data-theme="dark"] .navbar .navbar-brand:hover,
html[data-theme="dark"] .navbar .navbar-brand:focus,
html[data-theme="dark"] .navbar .navbar-nav .nav-link:not(.disabled):hover,
html[data-theme="dark"] .navbar .navbar-nav .nav-link:not(.disabled):focus,
html[data-theme="dark"] .navbar .navbar-nav .nav-item.show .nav-link {
  color: #d9ff00;
  background-color: rgba(169, 216, 0, .13);
}

html[data-theme="dark"] .navbar .navbar-brand-logo:hover,
html[data-theme="dark"] .navbar .navbar-brand-logo:focus {
  background: transparent;
}

html[data-theme="dark"] .navbar .navbar-nav .dropdown-menu {
  background-color: #081014;
  border-color: rgba(169, 216, 0, .35);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
}

html[data-theme="dark"] .navbar .navbar-nav .dropdown-menu .dropdown-item {
  color: #f2f4f0;
}

html[data-theme="dark"] .navbar .navbar-nav .dropdown-menu .dropdown-header,
html[data-theme="dark"] .navbar .navbar-nav .dropdown-menu .dropdown-header-dark {
  color: #d9ff00;
  font-weight: 700;
  letter-spacing:0;
  text-transform: uppercase;
}

html[data-theme="dark"] .navbar .navbar-nav .dropdown-menu .dropdown-item.disabled,
html[data-theme="dark"] .navbar .navbar-nav .dropdown-menu .dropdown-item:disabled {
  color: rgba(242, 244, 240, .48);
}

html[data-theme="dark"] .navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
html[data-theme="dark"] .navbar .navbar-nav .dropdown-menu .dropdown-item:focus,
html[data-theme="dark"] .navbar .navbar-nav .dropdown-menu .dropdown-item.active {
  color: #d9ff00;
  background-color: rgba(169, 216, 0, .13);
}

html[data-theme="dark"] .navbar .navbar-nav .dropdown-menu .dropdown-divider {
  border-top-color: rgba(169, 216, 0, .28);
}

html[data-theme="dark"] .navbar-light .navbar-toggler {
  border-color: rgba(169, 216, 0, .45);
}

html[data-theme="dark"] .navbar-light .navbar-toggler-icon {
  filter: invert(1) brightness(1.4);
}

.qt-theme-toggle {
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: .25rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: bold;
  line-height: 1.5;
  margin: 0 .25em;
  padding: .5rem .75rem;
}

.qt-theme-toggle:hover,
.qt-theme-toggle:focus {
  background: rgba(255, 255, 255, .14);
  outline: none;
}

body.qtwatch-map-expanded-open {
  overflow: hidden;
}

.qtwatch-map-expanded {
  background: #ffffff;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  inset: 0 !important;
  position: fixed !important;
  width: auto !important;
  z-index: 100002 !important;
}

.qtwatch-map-expand-button {
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
}

html[data-theme="dark"] .qt-theme-toggle {
  border-color: rgba(169, 216, 0, .55);
  color: #d9ff00;
  box-shadow: inset 0 0 18px rgba(169, 216, 0, .04);
}

html[data-theme="dark"] .qt-theme-toggle:hover,
html[data-theme="dark"] .qt-theme-toggle:focus {
  background: rgba(169, 216, 0, .13);
  box-shadow: 0 0 0 3px rgba(169, 216, 0, .12);
}

html[data-theme="dark"] .header-image {
  filter: brightness(.9) contrast(1.08);
}

html[data-theme="dark"] .form_body_long,
html[data-theme="dark"] .form-normal,
html[data-theme="dark"] .form-signin,
html[data-theme="dark"] .form-group,
html[data-theme="dark"] .jumbotron,
html[data-theme="dark"] .card,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .list-group-item,
html[data-theme="dark"] .dynatable-search,
html[data-theme="dark"] .dynatable-per-page,
html[data-theme="dark"] [class*="panel"],
html[data-theme="dark"] [class*="box"] {
  color: #f2f4f0;
}

html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .card,
html[data-theme="dark"] .jumbotron,
html[data-theme="dark"] .list-group-item {
  background-color: #0a1013;
  border-color: rgba(169, 216, 0, .24);
}

html[data-theme="dark"] .modal-header,
html[data-theme="dark"] .modal-footer {
  border-color: rgba(255, 255, 255, .12);
}

html[data-theme="dark"] label,
html[data-theme="dark"] legend,
html[data-theme="dark"] .control-label,
html[data-theme="dark"] .form-text,
html[data-theme="dark"] small,
html[data-theme="dark"] .text-muted {
  color: #c2c8c1 !important;
}

html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .custom-select,
html[data-theme="dark"] .dynatable-search input,
html[data-theme="dark"] .dynatable-per-page select {
  background-color: #070d10 !important;
  border-color: rgba(169, 216, 0, .28) !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] .form-control:focus {
  background-color: #081014 !important;
  border-color: #d9ff00 !important;
  box-shadow: 0 0 0 3px rgba(169, 216, 0, .14) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #7f8a86;
}

html[data-theme="dark"] table,
html[data-theme="dark"] .table {
  color: #e7ebe3;
  background-color: transparent;
}

html[data-theme="dark"] .table-bordered,
html[data-theme="dark"] .table-bordered th,
html[data-theme="dark"] .table-bordered td,
html[data-theme="dark"] table th,
html[data-theme="dark"] table td {
  border-color: rgba(255, 255, 255, .12) !important;
}

html[data-theme="dark"] .table thead th,
html[data-theme="dark"] table thead th,
html[data-theme="dark"] #the_table_view thead th {
  background-color: #080f12 !important;
  color: #d9ff00 !important;
  border-bottom-color: rgba(169, 216, 0, .28) !important;
}

html[data-theme="dark"] .ow-site-search-table .filtering td,
html[data-theme="dark"] .ow-data-search-table .filtering td {
  background-color: #080f12 !important;
}

html[data-theme="dark"] .ow-signal-detail-table .filtering td {
  background-color: #080f12 !important;
}

html[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd),
html[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd) td,
html[data-theme="dark"] .dynatable-active-page,
html[data-theme="dark"] .dynatable-active-page:hover {
  background-color: rgba(255, 255, 255, .035) !important;
}

html[data-theme="dark"] .table-hover tbody tr:hover,
html[data-theme="dark"] .table-hover tbody tr:hover td,
html[data-theme="dark"] #the_table_view tbody tr:hover,
html[data-theme="dark"] #the_table_view tbody tr:hover td {
  background-color: rgba(169, 216, 0, .12) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .dynatable-pagination-links a,
html[data-theme="dark"] .dynatable-record-count,
html[data-theme="dark"] .dynatable-pagination-links span,
html[data-theme="dark"] .dynatable-processing {
  color: #c2c8c1;
}

html[data-theme="dark"] .btn-default,
html[data-theme="dark"] .btn-secondary {
  background-color: #10191d;
  border-color: rgba(169, 216, 0, .24);
  color: #f2f4f0;
}

html[data-theme="dark"] .btn-default:hover,
html[data-theme="dark"] .btn-secondary:hover {
  background-color: rgba(169, 216, 0, .13);
  border-color: rgba(169, 216, 0, .55);
  color: #d9ff00;
}

html[data-theme="dark"] .btn-primary {
  background: linear-gradient(180deg, rgba(22, 131, 255, .28), rgba(8, 22, 36, .96)) !important;
  border-color: rgba(22, 131, 255, .68) !important;
  box-shadow: inset 0 0 18px rgba(22, 131, 255, .08), 0 0 0 1px rgba(255, 255, 255, .035);
  color: #dbeeff !important;
}

html[data-theme="dark"] .btn-primary:hover,
html[data-theme="dark"] .btn-primary:focus,
html[data-theme="dark"] .btn-primary.focus,
html[data-theme="dark"] .btn-primary:not(:disabled):not(.disabled):active,
html[data-theme="dark"] .btn-primary:not(:disabled):not(.disabled).active {
  background: linear-gradient(180deg, rgba(22, 131, 255, .42), rgba(9, 31, 52, .98)) !important;
  border-color: #1683ff !important;
  box-shadow: 0 0 0 3px rgba(22, 131, 255, .18), 0 0 18px rgba(22, 131, 255, .18) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .btn-success {
  background: linear-gradient(180deg, rgba(169, 216, 0, .22), rgba(8, 26, 14, .96)) !important;
  border-color: rgba(169, 216, 0, .62) !important;
  box-shadow: inset 0 0 18px rgba(169, 216, 0, .07), 0 0 0 1px rgba(255, 255, 255, .035);
  color: #d9ff00 !important;
}

html[data-theme="dark"] .btn-success:hover,
html[data-theme="dark"] .btn-success:focus,
html[data-theme="dark"] .btn-success.focus,
html[data-theme="dark"] .btn-success:not(:disabled):not(.disabled):active,
html[data-theme="dark"] .btn-success:not(:disabled):not(.disabled).active {
  background: linear-gradient(180deg, rgba(169, 216, 0, .34), rgba(11, 38, 18, .98)) !important;
  border-color: #d9ff00 !important;
  box-shadow: 0 0 0 3px rgba(169, 216, 0, .16), 0 0 18px rgba(169, 216, 0, .16) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .btn-danger {
  background: linear-gradient(180deg, rgba(255, 43, 43, .24), rgba(38, 8, 10, .96)) !important;
  border-color: rgba(255, 43, 43, .66) !important;
  box-shadow: inset 0 0 18px rgba(255, 43, 43, .08), 0 0 0 1px rgba(255, 255, 255, .035);
  color: #ffd8d8 !important;
}

html[data-theme="dark"] .btn-danger:hover,
html[data-theme="dark"] .btn-danger:focus,
html[data-theme="dark"] .btn-danger.focus,
html[data-theme="dark"] .btn-danger:not(:disabled):not(.disabled):active,
html[data-theme="dark"] .btn-danger:not(:disabled):not(.disabled).active {
  background: linear-gradient(180deg, rgba(255, 43, 43, .38), rgba(52, 9, 12, .98)) !important;
  border-color: #ff5b5b !important;
  box-shadow: 0 0 0 3px rgba(255, 43, 43, .16), 0 0 18px rgba(255, 43, 43, .16) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .btn-primary:disabled,
html[data-theme="dark"] .btn-primary.disabled,
html[data-theme="dark"] .btn-success:disabled,
html[data-theme="dark"] .btn-success.disabled,
html[data-theme="dark"] .btn-danger:disabled,
html[data-theme="dark"] .btn-danger.disabled {
  opacity: .58;
  box-shadow: none !important;
}

html[data-theme="dark"] [style*="background: #fff"],
html[data-theme="dark"] [style*="background:#fff"],
html[data-theme="dark"] [style*="background-color: #fff"],
html[data-theme="dark"] [style*="background-color:#fff"],
html[data-theme="dark"] [style*="background: white"],
html[data-theme="dark"] [style*="background-color: white"] {
  background: #0a1013 !important;
}

html[data-theme="dark"] [style*="border: 1px solid #ddd"],
html[data-theme="dark"] [style*="border:1px solid #ddd"],
html[data-theme="dark"] [style*="border-color: #ddd"],
html[data-theme="dark"] [style*="border-color:#ddd"] {
  border-color: rgba(169, 216, 0, .24) !important;
}

html[data-theme="dark"] .ow-app {
  background:
    radial-gradient(circle at 24% 10%, rgba(169, 216, 0, .08), transparent 30%),
    radial-gradient(circle at 72% 26%, rgba(22, 131, 255, .05), transparent 33%),
    linear-gradient(180deg, rgba(7, 12, 14, .96), rgba(2, 5, 6, .98)),
    #04080a;
  color: #f2f4f0;
}

html[data-theme="dark"] .ow-header {
  border-bottom-color: rgba(169, 216, 0, .18);
}

html[data-theme="dark"] .ow-range-chip {
  background: rgba(169, 216, 0, .10);
  border: 1px solid rgba(169, 216, 0, .55);
  border-radius: 3px;
  color: #d9ff00;
}

html[data-theme="dark"] .ow-filters,
html[data-theme="dark"] .ow-stat,
html[data-theme="dark"] .ow-kpi,
html[data-theme="dark"] .ow-panel,
html[data-theme="dark"] .ow-chart-card,
html[data-theme="dark"] .ow-map-card,
html[data-theme="dark"] .ow-insight {
  background: linear-gradient(180deg, rgba(13, 20, 23, .94), rgba(6, 11, 13, .97)) !important;
  border-color: rgba(255, 255, 255, .20) !important;
  box-shadow: var(--ow-shadow-sm) !important;
}

html[data-theme="dark"] .ow-insight {
  position: relative;
  overflow: hidden;
}

html[data-theme="dark"] .ow-insight::before {
  background: #a9d800 !important;
  box-shadow: 0 0 16px rgba(169, 216, 0, .35);
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 3px;
}

html[data-theme="dark"] .ow-insight.good {
  background: linear-gradient(135deg, rgba(169, 216, 0, .09), rgba(5, 10, 12, .98)) !important;
  border-color: rgba(169, 216, 0, .35) !important;
  border-left-color: #a9d800 !important;
}

html[data-theme="dark"] .ow-insight.good::before {
  background: #a9d800 !important;
  box-shadow: 0 0 16px rgba(169, 216, 0, .35);
}

html[data-theme="dark"] .ow-insight.warn {
  background: linear-gradient(135deg, rgba(255, 138, 0, .10), rgba(5, 10, 12, .98)) !important;
  border-color: rgba(255, 138, 0, .40) !important;
  border-left-color: #ff8a00 !important;
}

html[data-theme="dark"] .ow-insight.warn::before {
  background: #ff8a00 !important;
  box-shadow: 0 0 16px rgba(255, 138, 0, .35);
}

html[data-theme="dark"] .ow-insight.bad {
  background: linear-gradient(135deg, rgba(255, 43, 43, .10), rgba(5, 10, 12, .98)) !important;
  border-color: rgba(255, 43, 43, .42) !important;
  border-left-color: #ff2b2b !important;
}

html[data-theme="dark"] .ow-insight.bad::before {
  background: #ff2b2b !important;
  box-shadow: 0 0 16px rgba(255, 43, 43, .35);
}

html[data-theme="dark"] .ow-panel-head,
html[data-theme="dark"] .ow-map-head,
html[data-theme="dark"] .ow-chart-head {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)) !important;
  border-color: rgba(255, 255, 255, .11) !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-search-tabs {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)) !important;
  border-bottom-color: rgba(255, 255, 255, .11) !important;
}

html[data-theme="dark"] .ow-search-tab {
  color: #c2c8c1 !important;
}

html[data-theme="dark"] .ow-search-tab.active,
html[data-theme="dark"] .ow-search-tab:hover,
html[data-theme="dark"] .ow-search-tab:focus {
  border-bottom-color: #d9ff00 !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-title,
html[data-theme="dark"] .ow-panel-title,
html[data-theme="dark"] .ow-map-title,
html[data-theme="dark"] .ow-stat-value,
html[data-theme="dark"] .ow-kpi-value,
html[data-theme="dark"] .ow-insight-headline {
  color: #f4f6f1 !important;
}

html[data-theme="dark"] .ow-subtitle,
html[data-theme="dark"] .ow-stat-label,
html[data-theme="dark"] .ow-kpi-label,
html[data-theme="dark"] .ow-insight-detail,
html[data-theme="dark"] .ow-table tbody td {
  color: #d7ddd6 !important;
}

html[data-theme="dark"] .ow-stat-sub,
html[data-theme="dark"] .ow-kpi-sub {
  color: #7f8a86 !important;
}

html[data-theme="dark"] .ow-stat:hover,
html[data-theme="dark"] .ow-kpi:hover {
  border-color: rgba(169, 216, 0, .55) !important;
  box-shadow: var(--ow-shadow) !important;
}

html[data-theme="dark"] .ow-stat.good,
html[data-theme="dark"] .ow-kpi.good {
  background: linear-gradient(135deg, rgba(169, 216, 0, .09), rgba(5, 10, 12, .98)) !important;
  border-color: rgba(169, 216, 0, .35) !important;
  border-left-color: #a9d800 !important;
}

html[data-theme="dark"] .ow-stat.warn,
html[data-theme="dark"] .ow-kpi.warn {
  background: linear-gradient(135deg, rgba(255, 138, 0, .10), rgba(5, 10, 12, .98)) !important;
  border-color: rgba(255, 138, 0, .40) !important;
  border-left-color: #ff8a00 !important;
}

html[data-theme="dark"] .ow-stat.bad,
html[data-theme="dark"] .ow-kpi.bad {
  background: linear-gradient(135deg, rgba(255, 43, 43, .10), rgba(5, 10, 12, .98)) !important;
  border-color: rgba(255, 43, 43, .42) !important;
  border-left-color: #ff2b2b !important;
}

html[data-theme="dark"] .ow-delta {
  border-radius: 3px;
  padding: 1px 5px;
  text-shadow: 0 0 12px currentColor;
}

html[data-theme="dark"] .ow-delta.good {
  background: rgba(169, 216, 0, .12);
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-delta.bad {
  background: rgba(255, 43, 43, .12);
  color: #ff5b5b !important;
}

html[data-theme="dark"] .ow-delta.flat {
  background: rgba(255, 255, 255, .06);
  color: #9aa5a0 !important;
  text-shadow: none;
}

html[data-theme="dark"] .ow-pills {
  background: rgba(8, 16, 20, .86) !important;
  border-color: rgba(169, 216, 0, .22) !important;
}

html[data-theme="dark"] .ow-pill {
  background: rgba(169, 216, 0, .10) !important;
  border: 1px solid rgba(169, 216, 0, .30);
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-actionbar,
html[data-theme="dark"] .ow-action-form,
html[data-theme="dark"] .ow-inline-form,
html[data-theme="dark"] .ow-site-history,
html[data-theme="dark"] .ow-guide-item,
html[data-theme="dark"] .ow-kv-item,
html[data-theme="dark"] .ow-service,
html[data-theme="dark"] .ow-tabs a {
  background: rgba(8, 16, 20, .72) !important;
  border-color: rgba(255, 255, 255, .14) !important;
  color: #d7ddd6 !important;
}

html[data-theme="dark"] .ow-alert {
  background: rgba(8, 16, 20, .86) !important;
  border-color: rgba(255, 255, 255, .16) !important;
  color: #d7ddd6 !important;
}

html[data-theme="dark"] .ow-warning {
  background: rgba(255, 138, 0, .12) !important;
  border-color: rgba(255, 138, 0, .34) !important;
  color: #ffd0a0 !important;
}

html[data-theme="dark"] .ow-ok {
  background: rgba(169, 216, 0, .12) !important;
  border-color: rgba(169, 216, 0, .34) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-chip,
html[data-theme="dark"] .ow-status,
html[data-theme="dark"] .ow-status-chip {
  background: rgba(255, 255, 255, .06) !important;
  border-color: rgba(255, 255, 255, .16) !important;
  color: #d7ddd6 !important;
}

html[data-theme="dark"] .ow-chip-active,
html[data-theme="dark"] .ow-status-approved,
html[data-theme="dark"] .ow-status-ok,
html[data-theme="dark"] .ow-status-open,
html[data-theme="dark"] .ow-pill.ok {
  background: rgba(169, 216, 0, .14) !important;
  border-color: rgba(169, 216, 0, .36) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-status-pending,
html[data-theme="dark"] .ow-status-review,
html[data-theme="dark"] .ow-pill.warn {
  background: rgba(255, 138, 0, .14) !important;
  border-color: rgba(255, 138, 0, .36) !important;
  color: #ffd0a0 !important;
}

html[data-theme="dark"] .ow-status-rejected,
html[data-theme="dark"] .ow-status-bad,
html[data-theme="dark"] .ow-status-overdue,
html[data-theme="dark"] .ow-pill.bad {
  background: rgba(255, 43, 43, .14) !important;
  border-color: rgba(255, 43, 43, .36) !important;
  color: #ff7a7a !important;
}

html[data-theme="dark"] .ow-search-input,
html[data-theme="dark"] .ow-field input,
html[data-theme="dark"] .ow-field select,
html[data-theme="dark"] .ow-field textarea,
html[data-theme="dark"] .ow-inline-form input,
html[data-theme="dark"] .ow-inline-form select,
html[data-theme="dark"] .ow-inline-form textarea,
html[data-theme="dark"] .ow-action-form input,
html[data-theme="dark"] .ow-action-form select,
html[data-theme="dark"] .ow-action-form textarea {
  background: #0a1013 !important;
  border-color: rgba(255, 255, 255, .18) !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-search-input::placeholder,
html[data-theme="dark"] .ow-field input::placeholder,
html[data-theme="dark"] .ow-field textarea::placeholder,
html[data-theme="dark"] .ow-inline-form input::placeholder,
html[data-theme="dark"] .ow-inline-form textarea::placeholder {
  color: #7f8a86 !important;
}

html[data-theme="dark"] .ow-client-site-tab,
html[data-theme="dark"] .ow-site-tab {
  background: rgba(8, 16, 20, .82) !important;
  border-color: rgba(255, 255, 255, .15) !important;
  color: #d7ddd6 !important;
}

html[data-theme="dark"] .ow-client-site-tab.active,
html[data-theme="dark"] .ow-client-site-tab:hover,
html[data-theme="dark"] .ow-site-tab.active,
html[data-theme="dark"] .ow-site-tab:hover {
  background: rgba(169, 216, 0, .12) !important;
  border-color: rgba(169, 216, 0, .42) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-call-button {
  background: rgba(169, 216, 0, .12) !important;
  border-color: rgba(169, 216, 0, .34) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-call-button:hover {
  background: rgba(169, 216, 0, .20) !important;
}

html[data-theme="dark"] .ow-tabs .active,
html[data-theme="dark"] .ow-tabs a.active,
html[data-theme="dark"] .ow-tabs a:hover {
  background: rgba(169, 216, 0, .14) !important;
  border-color: rgba(169, 216, 0, .42) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-empty,
html[data-theme="dark"] .ow-muted {
  color: #9aa5a0 !important;
}

html[data-theme="dark"] .ow-label,
html[data-theme="dark"] .ow-help,
html[data-theme="dark"] .ow-signature-hint {
  color: #9aa5a0 !important;
}

html[data-theme="dark"] .ow-value {
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-list a:hover {
  background: rgba(169, 216, 0, .09) !important;
}

html[data-theme="dark"] .ow-signature-modal-inner {
  background: #0a1013 !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-signature-modal-bar {
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-total-row td {
  background: rgba(169, 216, 0, .08) !important;
  border-top-color: rgba(169, 216, 0, .24) !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-client-results,
html[data-theme="dark"] .ow-match-results {
  background: #0a1013 !important;
  border-color: rgba(169, 216, 0, .24) !important;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .42) !important;
}

html[data-theme="dark"] .ow-client-results button,
html[data-theme="dark"] .ow-match-results button {
  background: #0a1013 !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-client-results button:hover,
html[data-theme="dark"] .ow-client-results button.active,
html[data-theme="dark"] .ow-match-results button:hover,
html[data-theme="dark"] .ow-match-results button.active {
  background: rgba(169, 216, 0, .13) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-pills-label,
html[data-theme="dark"] .ow-group-title {
  color: #c2c8c1 !important;
}

html[data-theme="dark"] .ow-group-title::after {
  background: rgba(169, 216, 0, .18) !important;
}

html[data-theme="dark"] .ow-source-note {
  background: rgba(255, 138, 0, .12) !important;
  border-color: rgba(255, 138, 0, .32) !important;
  border-left-color: #ff8a00 !important;
  color: #ffd0a0 !important;
}

html[data-theme="dark"] .ow-table tbody tr.risk td {
  background: rgba(255, 43, 43, .10) !important;
}

html[data-theme="dark"] .ow-table tbody tr.risk:hover td {
  background: rgba(255, 43, 43, .15) !important;
}

html[data-theme="dark"] .ow-risk-badge {
  background: rgba(255, 43, 43, .16) !important;
  border: 1px solid rgba(255, 43, 43, .35);
  color: #ff5b5b !important;
}

html[data-theme="dark"] .ow-table thead th {
  background: #080f12 !important;
  color: #d9ff00 !important;
  border-bottom-color: rgba(169, 216, 0, .25) !important;
}

html[data-theme="dark"] .ow-table tfoot td {
  background: #080f12 !important;
  border-top-color: rgba(169, 216, 0, .28) !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-table tbody tr.alt td {
  background: rgba(255, 255, 255, .025) !important;
}

html[data-theme="dark"] .ow-table tbody tr:hover td,
html[data-theme="dark"] .ow-table tbody tr.alt:hover td {
  background: rgba(169, 216, 0, .09) !important;
}

html[data-theme="dark"] .ow-chart-card svg text,
html[data-theme="dark"] .highcharts-container svg text {
  fill: #c2c8c1 !important;
}

html[data-theme="dark"] .ow-chart-card svg rect[fill="#ffffff"],
html[data-theme="dark"] .ow-chart-card svg rect[fill="white"],
html[data-theme="dark"] .highcharts-background {
  fill: transparent !important;
}

html[data-theme="dark"] .ow-chart-card svg path[stroke="#cccccc"],
html[data-theme="dark"] .ow-chart-card svg path[stroke="#ebebeb"],
html[data-theme="dark"] .ow-chart-card svg path[stroke="#eeeeee"],
html[data-theme="dark"] .ow-chart-card svg path[stroke="#f0f2f5"],
html[data-theme="dark"] .ow-chart-card svg path[stroke="#f7f8fa"],
html[data-theme="dark"] .ow-chart-card svg line[stroke="#cccccc"],
html[data-theme="dark"] .ow-chart-card svg line[stroke="#ebebeb"],
html[data-theme="dark"] .ow-chart-card svg line[stroke="#eeeeee"],
html[data-theme="dark"] .ow-chart-card svg line[stroke="#f0f2f5"],
html[data-theme="dark"] .ow-chart-card svg line[stroke="#f7f8fa"],
html[data-theme="dark"] .ow-chart-card svg rect[fill="#cccccc"],
html[data-theme="dark"] .ow-chart-card svg rect[fill="#ebebeb"],
html[data-theme="dark"] .ow-chart-card svg rect[fill="#e0e0e0"],
html[data-theme="dark"] .ow-chart-card svg rect[fill="#eeeeee"],
html[data-theme="dark"] .ow-chart-card svg rect[fill="#f0f2f5"],
html[data-theme="dark"] .ow-chart-card svg rect[fill="#f7f8fa"],
html[data-theme="dark"] .ow-lpr-chart svg path[stroke="#cccccc"],
html[data-theme="dark"] .ow-lpr-chart svg path[stroke="#ebebeb"],
html[data-theme="dark"] .ow-lpr-chart svg path[stroke="#eeeeee"],
html[data-theme="dark"] .ow-lpr-chart svg path[stroke="#f0f2f5"],
html[data-theme="dark"] .ow-lpr-chart svg path[stroke="#f7f8fa"],
html[data-theme="dark"] .ow-lpr-chart svg line[stroke="#cccccc"],
html[data-theme="dark"] .ow-lpr-chart svg line[stroke="#ebebeb"],
html[data-theme="dark"] .ow-lpr-chart svg line[stroke="#eeeeee"],
html[data-theme="dark"] .ow-lpr-chart svg line[stroke="#f0f2f5"],
html[data-theme="dark"] .ow-lpr-chart svg line[stroke="#f7f8fa"],
html[data-theme="dark"] .ow-lpr-chart svg rect[fill="#cccccc"],
html[data-theme="dark"] .ow-lpr-chart svg rect[fill="#ebebeb"],
html[data-theme="dark"] .ow-lpr-chart svg rect[fill="#e0e0e0"],
html[data-theme="dark"] .ow-lpr-chart svg rect[fill="#eeeeee"],
html[data-theme="dark"] .ow-lpr-chart svg rect[fill="#f0f2f5"],
html[data-theme="dark"] .ow-lpr-chart svg rect[fill="#f7f8fa"],
html[data-theme="dark"] div[id^="chart"] svg path[stroke="#cccccc"],
html[data-theme="dark"] div[id^="chart"] svg path[stroke="#ebebeb"],
html[data-theme="dark"] div[id^="chart"] svg path[stroke="#eeeeee"],
html[data-theme="dark"] div[id^="chart"] svg path[stroke="#f0f2f5"],
html[data-theme="dark"] div[id^="chart"] svg path[stroke="#f7f8fa"],
html[data-theme="dark"] div[id^="chart"] svg line[stroke="#cccccc"],
html[data-theme="dark"] div[id^="chart"] svg line[stroke="#ebebeb"],
html[data-theme="dark"] div[id^="chart"] svg line[stroke="#eeeeee"],
html[data-theme="dark"] div[id^="chart"] svg line[stroke="#f0f2f5"],
html[data-theme="dark"] div[id^="chart"] svg line[stroke="#f7f8fa"],
html[data-theme="dark"] div[id^="chart"] svg rect[fill="#cccccc"],
html[data-theme="dark"] div[id^="chart"] svg rect[fill="#ebebeb"],
html[data-theme="dark"] div[id^="chart"] svg rect[fill="#e0e0e0"],
html[data-theme="dark"] div[id^="chart"] svg rect[fill="#eeeeee"],
html[data-theme="dark"] div[id^="chart"] svg rect[fill="#f0f2f5"],
html[data-theme="dark"] div[id^="chart"] svg rect[fill="#f7f8fa"],
html[data-theme="dark"] .highcharts-grid-line {
  stroke: rgba(169, 216, 0, .16) !important;
  fill: rgba(169, 216, 0, .16) !important;
}

html[data-theme="dark"] .ow-chart-card svg rect[height="1"],
html[data-theme="dark"] .ow-chart-card svg rect[height="2"],
html[data-theme="dark"] .ow-lpr-chart svg rect[height="1"],
html[data-theme="dark"] .ow-lpr-chart svg rect[height="2"],
html[data-theme="dark"] div[id^="chart"] svg rect[height="1"],
html[data-theme="dark"] div[id^="chart"] svg rect[height="2"] {
  fill: rgba(169, 216, 0, .10) !important;
}

html[data-theme="dark"] .ow-chart-card svg line[stroke="#ffffff"],
html[data-theme="dark"] .ow-chart-card svg line[stroke="white"],
html[data-theme="dark"] .ow-lpr-chart svg line[stroke="#ffffff"],
html[data-theme="dark"] .ow-lpr-chart svg line[stroke="white"],
html[data-theme="dark"] div[id^="chart"] svg line[stroke="#ffffff"],
html[data-theme="dark"] div[id^="chart"] svg line[stroke="white"] {
  stroke: rgba(169, 216, 0, .10) !important;
}

html[data-theme="dark"] .ow-chart-card svg path[stroke="#333333"],
html[data-theme="dark"] .ow-chart-card svg line[stroke="#333333"],
html[data-theme="dark"] .ow-chart-card svg path[stroke="#e5e7eb"],
html[data-theme="dark"] .ow-chart-card svg line[stroke="#e5e7eb"],
html[data-theme="dark"] .ow-lpr-chart svg path[stroke="#333333"],
html[data-theme="dark"] .ow-lpr-chart svg line[stroke="#333333"],
html[data-theme="dark"] .ow-lpr-chart svg path[stroke="#e5e7eb"],
html[data-theme="dark"] .ow-lpr-chart svg line[stroke="#e5e7eb"],
html[data-theme="dark"] div[id^="chart"] svg path[stroke="#333333"],
html[data-theme="dark"] div[id^="chart"] svg line[stroke="#333333"],
html[data-theme="dark"] div[id^="chart"] svg path[stroke="#e5e7eb"],
html[data-theme="dark"] div[id^="chart"] svg line[stroke="#e5e7eb"],
html[data-theme="dark"] .highcharts-axis-line,
html[data-theme="dark"] .highcharts-tick {
  stroke: rgba(169, 216, 0, .28) !important;
}

html[data-theme="dark"] .maplibregl-canvas {
  filter: brightness(.78) contrast(1.08) saturate(.9);
}

html[data-theme="dark"] #mydash-map,
html[data-theme="dark"] #hotspot-map,
html[data-theme="dark"] #owner-map,

html[data-theme="dark"] .maplibregl-ctrl-group {
  background: #081014 !important;
  border: 1px solid rgba(169, 216, 0, .35) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .035), 0 8px 18px rgba(0, 0, 0, .42) !important;
}

html[data-theme="dark"] .maplibregl-ctrl-group button {
  background-color: #081014 !important;
  color: #d9ff00 !important;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
}

html[data-theme="dark"] .maplibregl-ctrl-group button+button {
  border-top-color: rgba(169, 216, 0, .22) !important;
}

html[data-theme="dark"] .maplibregl-ctrl button:not(:disabled):hover {
  background-color: rgba(169, 216, 0, .12) !important;
}

html[data-theme="dark"] .maplibregl-ctrl-group button:focus,
html[data-theme="dark"] .maplibregl-ctrl-group button:focus:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(217, 255, 0, .55) !important;
}

html[data-theme="dark"] .maplibregl-ctrl button .maplibregl-ctrl-icon {
  filter: invert(1) brightness(1.35) sepia(1) saturate(1.2) hue-rotate(24deg);
}

html[data-theme="dark"] .maplibregl-ctrl button:disabled .maplibregl-ctrl-icon {
  filter: invert(.65) brightness(.8);
  opacity: .45;
}

html[data-theme="dark"] .maplibregl-ctrl-scale {
  background: rgba(8, 16, 20, .82) !important;
  border-color: rgba(169, 216, 0, .35) !important;
  color: #d9ff00 !important;
  text-shadow: none !important;
}

html[data-theme="dark"] .maplibregl-ctrl.maplibregl-ctrl-attrib,
html[data-theme="dark"] .maplibregl-ctrl-attrib.maplibregl-compact {
  background-color: rgba(8, 16, 20, .82) !important;
  color: #c2c8c1 !important;
}

html[data-theme="dark"] .maplibregl-ctrl-attrib a {
  color: #d9ff00 !important;
}

html[data-theme="dark"] .maplibregl-ctrl-attrib-button,
html[data-theme="dark"] .maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button {
  background-color: rgba(169, 216, 0, .12) !important;
}

html[data-theme="dark"] a.maplibregl-ctrl-logo {
  opacity: .70;
  filter: invert(1) brightness(1.2);
}

html[data-theme="dark"] .maplibregl-popup-content {
  background: #091014 !important;
  border: 1px solid rgba(169, 216, 0, .45);
  box-shadow: 0 0 28px rgba(0, 0, 0, .70), 0 0 22px rgba(169, 216, 0, .13);
  color: #eef2ea !important;
  border-radius: 4px !important;
}

html[data-theme="dark"] .maplibregl-popup-content,
html[data-theme="dark"] .maplibregl-popup-content div,
html[data-theme="dark"] .ow-map-popup {
  color: #eef2ea !important;
}

html[data-theme="dark"] .maplibregl-popup-content b,
html[data-theme="dark"] .maplibregl-popup-content strong,
html[data-theme="dark"] .ow-map-popup b {
  color: #d9ff00 !important;
}

html[data-theme="dark"] .maplibregl-popup-tip {
  border-color: transparent !important;
}

html[data-theme="dark"] .maplibregl-popup-anchor-top .maplibregl-popup-tip,
html[data-theme="dark"] .maplibregl-popup-anchor-top-left .maplibregl-popup-tip,
html[data-theme="dark"] .maplibregl-popup-anchor-top-right .maplibregl-popup-tip {
  border-bottom-color: #091014 !important;
}

html[data-theme="dark"] .maplibregl-popup-anchor-bottom .maplibregl-popup-tip,
html[data-theme="dark"] .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,
html[data-theme="dark"] .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip {
  border-top-color: #091014 !important;
}

html[data-theme="dark"] .maplibregl-popup-anchor-left .maplibregl-popup-tip {
  border-right-color: #091014 !important;
}

html[data-theme="dark"] .maplibregl-popup-anchor-right .maplibregl-popup-tip {
  border-left-color: #091014 !important;
}

html[data-theme="dark"] .maplibregl-popup-close-button {
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-lpr-app {
  background:
    radial-gradient(circle at 24% 10%, rgba(169, 216, 0, .08), transparent 30%),
    radial-gradient(circle at 72% 26%, rgba(22, 131, 255, .05), transparent 33%),
    linear-gradient(180deg, rgba(7, 12, 14, .96), rgba(2, 5, 6, .98)),
    #04080a !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-lpr-header {
  border-bottom-color: rgba(169, 216, 0, .18) !important;
}

html[data-theme="dark"] .ow-lpr-title,
html[data-theme="dark"] .ow-lpr-panel-title,
html[data-theme="dark"] .ow-lpr-stat-value,
html[data-theme="dark"] .ow-lpr-plate,
html[data-theme="dark"] #lpr-map-title {
  color: #f4f6f1 !important;
}

html[data-theme="dark"] .ow-lpr-subtitle,
html[data-theme="dark"] .ow-lpr-panel-meta,
html[data-theme="dark"] .ow-lpr-stat-title,
html[data-theme="dark"] .ow-lpr-meta,
html[data-theme="dark"] .ow-lpr-stat-sub,
html[data-theme="dark"] #lpr-map-address {
  color: #c2c8c1 !important;
}

html[data-theme="dark"] .ow-lpr-live-chip {
  background: rgba(169, 216, 0, .10) !important;
  border: 1px solid rgba(169, 216, 0, .55);
  border-radius: 3px;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-lpr-live-chip::before {
  background: #d9ff00 !important;
  box-shadow: 0 0 14px #d9ff00;
}

html[data-theme="dark"] .ow-lpr-tabs {
  border-bottom-color: rgba(169, 216, 0, .20) !important;
}

html[data-theme="dark"] .ow-lpr-tabs .nav-link {
  color: #c2c8c1 !important;
}

html[data-theme="dark"] .ow-lpr-tabs .nav-link:hover,
html[data-theme="dark"] .ow-lpr-tabs .nav-link:focus {
  background: rgba(169, 216, 0, .08) !important;
  border-bottom-color: rgba(169, 216, 0, .35) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-lpr-tabs .nav-link.active {
  background: transparent !important;
  border-bottom-color: #d9ff00 !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-lpr-panel,
html[data-theme="dark"] .ow-lpr-stat-card,
html[data-theme="dark"] .ow-lpr-map-box {
  background: linear-gradient(180deg, rgba(13, 20, 23, .94), rgba(6, 11, 13, .97)) !important;
  border-color: rgba(255, 255, 255, .20) !important;
  box-shadow: var(--ow-shadow-sm) !important;
}

html[data-theme="dark"] .ow-lpr-panel-head,
html[data-theme="dark"] .ow-lpr-map-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)) !important;
  border-color: rgba(255, 255, 255, .11) !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-lpr-stat-card {
  border-left-color: #1683ff !important;
}

html[data-theme="dark"] .ow-lpr-stat-card:hover {
  border-color: rgba(169, 216, 0, .55) !important;
  box-shadow: var(--ow-shadow) !important;
}

html[data-theme="dark"] .ow-lpr-stat-card.warn {
  background: linear-gradient(135deg, rgba(255, 138, 0, .10), rgba(5, 10, 12, .98)) !important;
  border-color: rgba(255, 138, 0, .40) !important;
  border-left-color: #ff8a00 !important;
}

html[data-theme="dark"] .ow-lpr-row {
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}

html[data-theme="dark"] .ow-lpr-row:hover {
  background: rgba(169, 216, 0, .08) !important;
}

html[data-theme="dark"] .ow-lpr-row.repeat {
  background: linear-gradient(135deg, rgba(255, 138, 0, .10), rgba(5, 10, 12, .98)) !important;
  border-left-color: #ff8a00 !important;
}

html[data-theme="dark"] .ow-lpr-thumb {
  background: #070d10 !important;
  border-color: rgba(169, 216, 0, .24) !important;
  box-shadow: var(--ow-shadow-sm) !important;
}

html[data-theme="dark"] .lpr-location-link {
  color: #d9ff00 !important;
}

html[data-theme="dark"] .lpr-location-link:hover,
html[data-theme="dark"] .lpr-location-link:focus {
  color: #ffffff !important;
}

html[data-theme="dark"] .ow-lpr-repeat-badge {
  background: rgba(255, 138, 0, .16) !important;
  border: 1px solid rgba(255, 138, 0, .40);
  color: #ffb260 !important;
}

html[data-theme="dark"] .ow-lpr-search-input {
  background: #070d10 !important;
  border-color: rgba(169, 216, 0, .28) !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-lpr-search-input:focus {
  border-color: #d9ff00 !important;
  box-shadow: 0 0 0 3px rgba(169, 216, 0, .14) !important;
}

html[data-theme="dark"] .ow-lpr-btn {
  background: linear-gradient(180deg, rgba(169, 216, 0, .22), rgba(8, 26, 14, .96)) !important;
  border-color: rgba(169, 216, 0, .62) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-lpr-btn:hover,
html[data-theme="dark"] .ow-lpr-btn:focus {
  background: linear-gradient(180deg, rgba(169, 216, 0, .34), rgba(11, 38, 18, .98)) !important;
  border-color: #d9ff00 !important;
  box-shadow: 0 0 0 3px rgba(169, 216, 0, .16), 0 0 18px rgba(169, 216, 0, .16) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .ow-lpr-table {
  color: #e7ebe3 !important;
}

html[data-theme="dark"] .ow-lpr-table thead th {
  background: #080f12 !important;
  border-bottom-color: rgba(169, 216, 0, .25) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-lpr-table tbody td {
  border-bottom-color: rgba(255, 255, 255, .08) !important;
  color: #d7ddd6 !important;
}

html[data-theme="dark"] .ow-lpr-table tbody tr:hover td,
html[data-theme="dark"] .lpr-top-row:hover td {
  background: rgba(169, 216, 0, .09) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .ow-lpr-empty {
  color: #c2c8c1 !important;
}

html[data-theme="dark"] .ow-lpr-alert {
  background: rgba(8, 16, 20, .86) !important;
  border-color: rgba(169, 216, 0, .22) !important;
  color: #c2c8c1 !important;
}

html[data-theme="dark"] .ow-lpr-alert.warn {
  background: rgba(255, 138, 0, .12) !important;
  border-color: rgba(255, 138, 0, .32) !important;
  color: #ffd0a0 !important;
}

html[data-theme="dark"] .ow-lpr-modal-content {
  background: #091014 !important;
  border: 1px solid rgba(169, 216, 0, .35);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .70), 0 0 24px rgba(169, 216, 0, .10) !important;
}

html[data-theme="dark"] .ow-lpr-map-box {
  box-shadow: 0 18px 60px rgba(0, 0, 0, .70), 0 0 24px rgba(169, 216, 0, .10) !important;
}

html[data-theme="dark"] #lpr-map {
  background: #05090b !important;
}

html[data-theme="dark"] .qtwatch-map-expanded {
  background: #05090b;
}

/* Shared Bootstrap and legacy widgets used outside the main navigation. */
html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .popover,
html[data-theme="dark"] .input-group-text,
html[data-theme="dark"] .custom-file-label {
  background-color: #0a1013 !important;
  border-color: rgba(255, 255, 255, .18) !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .dropdown-item {
  color: #d7ddd6;
}

html[data-theme="dark"] .dropdown-item:hover,
html[data-theme="dark"] .dropdown-item:focus,
html[data-theme="dark"] .dropdown-item.active {
  background: rgba(169, 216, 0, .13);
  color: #d9ff00;
}

html[data-theme="dark"] .dropdown-divider,
html[data-theme="dark"] .nav-tabs,
html[data-theme="dark"] .nav-tabs .nav-link,
html[data-theme="dark"] .popover-header {
  border-color: rgba(255, 255, 255, .16) !important;
}

html[data-theme="dark"] .nav-tabs .nav-link,
html[data-theme="dark"] .page-link {
  background: #0a1013;
  color: #c2c8c1;
}

html[data-theme="dark"] .nav-tabs .nav-link:hover,
html[data-theme="dark"] .nav-tabs .nav-link:focus,
html[data-theme="dark"] .nav-tabs .nav-link.active,
html[data-theme="dark"] .page-item.active .page-link {
  background: rgba(169, 216, 0, .13);
  border-color: rgba(169, 216, 0, .48);
  color: #d9ff00;
}

html[data-theme="dark"] .page-link {
  border-color: rgba(255, 255, 255, .16);
}

html[data-theme="dark"] .page-item.disabled .page-link {
  background: #070d10;
  border-color: rgba(255, 255, 255, .10);
  color: #66716d;
}

html[data-theme="dark"] .alert {
  background: rgba(8, 16, 20, .86);
  border-color: rgba(255, 255, 255, .16);
  color: #d7ddd6;
}

html[data-theme="dark"] .alert-success,
html[data-theme="dark"] .badge-success {
  background: rgba(169, 216, 0, .14) !important;
  border-color: rgba(169, 216, 0, .36) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .alert-warning,
html[data-theme="dark"] .badge-warning {
  background: rgba(255, 138, 0, .14) !important;
  border-color: rgba(255, 138, 0, .36) !important;
  color: #ffd0a0 !important;
}

html[data-theme="dark"] .alert-danger,
html[data-theme="dark"] .badge-danger {
  background: rgba(255, 43, 43, .14) !important;
  border-color: rgba(255, 43, 43, .36) !important;
  color: #ff9a9a !important;
}

html[data-theme="dark"] .alert-info,
html[data-theme="dark"] .badge-info {
  background: rgba(22, 131, 255, .14) !important;
  border-color: rgba(22, 131, 255, .38) !important;
  color: #b9dcff !important;
}

html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-light,
html[data-theme="dark"] .table-light,
html[data-theme="dark"] .table-light > th,
html[data-theme="dark"] .table-light > td {
  background-color: #0a1013 !important;
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .text-dark {
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .close {
  color: #f2f4f0;
  text-shadow: none;
}

html[data-theme="dark"] .popover-header {
  background: #080f12;
  color: #f2f4f0;
}

html[data-theme="dark"] .popover-body {
  color: #d7ddd6;
}

/* Jobcard Insight has additional cards beyond the shared ow-* dashboard shell. */
html[data-theme="dark"] .ow-tech-card,
html[data-theme="dark"] .ow-customer-group,
html[data-theme="dark"] .ow-customer-head,
html[data-theme="dark"] .ow-mini,
html[data-theme="dark"] .ow-status-pill,
html[data-theme="dark"] .ow-badge,
html[data-theme="dark"] .ow-state {
  background: #0a1013 !important;
  border-color: rgba(255, 255, 255, .16) !important;
  color: #d7ddd6 !important;
}

html[data-theme="dark"] .ow-tech-card.in_job,
html[data-theme="dark"] .ow-tech-card.unassigned {
  background: linear-gradient(135deg, rgba(255, 43, 43, .10), rgba(5, 10, 12, .98)) !important;
  border-left-color: #ff2b2b !important;
}

html[data-theme="dark"] .ow-tech-card.on_route {
  background: linear-gradient(135deg, rgba(255, 138, 0, .10), rgba(5, 10, 12, .98)) !important;
  border-left-color: #ff8a00 !important;
}

html[data-theme="dark"] .ow-tech-card.assigned {
  border-left-color: #1683ff !important;
}

html[data-theme="dark"] .ow-tech-card.no_active {
  background: linear-gradient(135deg, rgba(169, 216, 0, .08), rgba(5, 10, 12, .98)) !important;
  border-left-color: #a9d800 !important;
}

html[data-theme="dark"] .ow-tech-current,
html[data-theme="dark"] .ow-tech-current b,
html[data-theme="dark"] .ow-tech-name,
html[data-theme="dark"] .ow-customer-title,
html[data-theme="dark"] .ow-mini b,
html[data-theme="dark"] .ow-age {
  color: #f2f4f0 !important;
}

html[data-theme="dark"] .ow-tech-current {
  border-color: rgba(255, 255, 255, .10) !important;
}

html[data-theme="dark"] .ow-badge.good,
html[data-theme="dark"] .ow-state.no_active {
  background: rgba(169, 216, 0, .14) !important;
  border-color: rgba(169, 216, 0, .36) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .ow-badge.warn,
html[data-theme="dark"] .ow-state.on_route {
  background: rgba(255, 138, 0, .14) !important;
  border-color: rgba(255, 138, 0, .36) !important;
  color: #ffd0a0 !important;
}

html[data-theme="dark"] .ow-badge.bad,
html[data-theme="dark"] .ow-state.in_job,
html[data-theme="dark"] .ow-state.unassigned {
  background: rgba(255, 43, 43, .14) !important;
  border-color: rgba(255, 43, 43, .36) !important;
  color: #ff9a9a !important;
}

html[data-theme="dark"] .ow-badge.info,
html[data-theme="dark"] .ow-state.assigned {
  background: rgba(22, 131, 255, .14) !important;
  border-color: rgba(22, 131, 255, .38) !important;
  color: #b9dcff !important;
}

/* Calls and Billing custom dashboard. */
html[data-theme="dark"] .cb-app {
  --cb-bg: #04080a;
  --cb-card: #0a1013;
  --cb-ink: #f2f4f0;
  --cb-muted: #aeb8b2;
  --cb-line: rgba(255, 255, 255, .16);
  --cb-blue: #60a5fa;
  --cb-blue-soft: rgba(22, 131, 255, .14);
  --cb-green: #d9ff00;
  --cb-green-soft: rgba(169, 216, 0, .14);
  --cb-amber: #ffd0a0;
  --cb-amber-soft: rgba(255, 138, 0, .14);
  --cb-red: #ff9a9a;
  --cb-red-soft: rgba(255, 43, 43, .14);
  --cb-purple: #d8b4fe;
  --cb-purple-soft: rgba(168, 85, 247, .15);
  --cb-shadow: 0 10px 26px rgba(0, 0, 0, .30);
  background: #04080a;
  color: #f2f4f0;
}

html[data-theme="dark"] .cb-filters,
html[data-theme="dark"] .cb-kpi,
html[data-theme="dark"] .cb-card,
html[data-theme="dark"] .cb-panel {
  background: #0a1013;
  border-color: var(--cb-line);
}

html[data-theme="dark"] .cb-card-head,
html[data-theme="dark"] .cb-panel-head,
html[data-theme="dark"] .cb-table thead th,
html[data-theme="dark"] .cb-pager {
  background: #080f12 !important;
  border-color: var(--cb-line) !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .cb-btn {
  background: #10191d;
  border-color: rgba(169, 216, 0, .24);
  color: #f2f4f0;
}

html[data-theme="dark"] .cb-btn:hover {
  background: rgba(169, 216, 0, .13);
  border-color: rgba(169, 216, 0, .55);
  color: #d9ff00;
}

html[data-theme="dark"] .cb-btn.primary {
  background: #174b7a;
  border-color: #60a5fa;
  color: #fff;
}

html[data-theme="dark"] .cb-table tbody td,
html[data-theme="dark"] .cb-mini-table td,
html[data-theme="dark"] .cb-filter-actions {
  border-color: rgba(255, 255, 255, .10) !important;
}

html[data-theme="dark"] .cb-table tbody tr:hover td {
  background: rgba(169, 216, 0, .09) !important;
}

html[data-theme="dark"] .cb-main,
html[data-theme="dark"] .cb-signal-detail strong {
  color: #f2f4f0;
}

html[data-theme="dark"] .cb-signal-detail,
html[data-theme="dark"] .cb-issue {
  background: #0f1720;
  border-color: rgba(255, 255, 255, .16);
  color: #d7ddd6;
}

html[data-theme="dark"] .cb-health-gap {
  background: rgba(169, 216, 0, .12);
  color: #d9ff00;
}

html[data-theme="dark"] .cb-health-gap.bad,
html[data-theme="dark"] .cb-banner.error {
  background: rgba(255, 43, 43, .14);
  border-color: rgba(255, 43, 43, .36);
  color: #ffb0b0;
}

html[data-theme="dark"] .cb-banner {
  background: rgba(255, 138, 0, .14);
  border-color: rgba(255, 138, 0, .36);
  color: #ffd0a0;
}

/* Training portal and the Content Studio. */
html[data-theme="dark"] .tr-app {
  --tr-ink: #eef4f7;
  --tr-muted: #aab6c2;
  --tr-line: #2a3945;
  --tr-soft: #071013;
  --tr-card: #0b1419;
  --tr-navy: #8dc8f4;
  --tr-blue: #73baf0;
  --tr-teal: #5eead4;
  --tr-amber: #fbbf24;
  --tr-red: #fca5a5;
  background: #071013;
  color: #eef4f7;
}

html[data-theme="dark"] .tr-card,
html[data-theme="dark"] .tr-course-part,
html[data-theme="dark"] .tr-reading,
html[data-theme="dark"] .tr-training-figure,
html[data-theme="dark"] .tr-table-wrap,
html[data-theme="dark"] .tr-assess-item,
html[data-theme="dark"] .tr-editor-item,
html[data-theme="dark"] .tr-annotation-row {
  background: #0b1419;
  border-color: var(--tr-line);
  color: var(--tr-ink);
}

html[data-theme="dark"] .tr-part-head,
html[data-theme="dark"] .tr-summary-item,
html[data-theme="dark"] .tr-table th,
html[data-theme="dark"] .tr-definitions dt,
html[data-theme="dark"] .tr-annotation-toolbar {
  background: #0f1720 !important;
  border-color: var(--tr-line) !important;
  color: var(--tr-ink) !important;
}

html[data-theme="dark"] .tr-module-row,
html[data-theme="dark"] .tr-table td,
html[data-theme="dark"] .tr-definitions dt,
html[data-theme="dark"] .tr-definitions dd {
  border-color: rgba(255, 255, 255, .10) !important;
}

html[data-theme="dark"] .tr-nav a:hover,
html[data-theme="dark"] .tr-button.tr-button-secondary,
html[data-theme="dark"] .tr-mini-button {
  background: #10191d;
  border-color: var(--tr-line);
  color: #d9ff00;
}

html[data-theme="dark"] .tr-button,
html[data-theme="dark"] .tr-nav .tr-nav-primary,
html[data-theme="dark"] .tr-procedure li::before,
html[data-theme="dark"] .tr-annotation-number {
  background: #174b7a;
  border-color: #60a5fa;
  color: #fff;
}

html[data-theme="dark"] .tr-button-danger,
html[data-theme="dark"] .tr-message-danger,
html[data-theme="dark"] .tr-callout-mandatory {
  background: rgba(255, 43, 43, .14);
  border-color: rgba(255, 43, 43, .38);
  color: #ffb0b0;
}

html[data-theme="dark"] .tr-message-success,
html[data-theme="dark"] .tr-status-good {
  background: rgba(169, 216, 0, .14);
  border-color: rgba(169, 216, 0, .36);
  color: #d9ff00;
}

html[data-theme="dark"] .tr-message-warning,
html[data-theme="dark"] .tr-foundation,
html[data-theme="dark"] .tr-callout:not(.tr-callout-mandatory):not(.tr-callout-privacy):not(.tr-callout-control_point),
html[data-theme="dark"] .tr-status-warn {
  background: rgba(255, 138, 0, .14);
  border-color: rgba(255, 138, 0, .38);
  color: #ffd0a0;
}

html[data-theme="dark"] .tr-callout-privacy {
  background: rgba(168, 85, 247, .15);
  border-color: #c084fc;
  color: #e9d5ff;
}

html[data-theme="dark"] .tr-callout-control_point {
  background: rgba(20, 184, 166, .14);
  border-color: #5eead4;
  color: #ccfbf1;
}

html[data-theme="dark"] .tr-status-bad {
  background: rgba(255, 43, 43, .14);
  color: #ffb0b0;
}

html[data-theme="dark"] .tr-status-neutral {
  background: rgba(255, 255, 255, .08);
  color: #cbd5e1;
}

html[data-theme="dark"] .tr-training-figure.is-expanded,
html[data-theme="dark"] #screenshot-editor.is-focus {
  background: #071013;
  border-color: #53657c;
}

html[data-theme="dark"] .tr-upload-note,
html[data-theme="dark"] .tr-screenshot-savebar {
  background: rgba(22, 131, 255, .13);
  border-color: rgba(96, 165, 250, .46);
  color: #bfdbfe;
}

html[data-theme="dark"] .tr-screenshot-savebar strong,
html[data-theme="dark"] .tr-annotation-zoom-value {
  color: #dbeafe;
}

/* Email sender settings. The signature iframe stays white intentionally so it previews the outgoing email. */
html[data-theme="dark"] .es-app {
  --line: rgba(255, 255, 255, .16);
  --muted: #aab6c2;
  --card: #0a1013;
  color: #f2f4f0;
}

html[data-theme="dark"] .es-card,
html[data-theme="dark"] .ef-card {
  background: #0a1013;
  border-color: rgba(255, 255, 255, .16);
  color: #f2f4f0;
}

html[data-theme="dark"] .es-table th {
  background: #080f12 !important;
  color: #d9ff00 !important;
}

html[data-theme="dark"] .es-table th,
html[data-theme="dark"] .es-table td {
  border-color: rgba(255, 255, 255, .10) !important;
}

html[data-theme="dark"] .es-pill {
  background: rgba(255, 255, 255, .08);
  color: #cbd5e1;
}

html[data-theme="dark"] .es-pill.es-ok,
html[data-theme="dark"] .es-alert.ok,
html[data-theme="dark"] .ef-alert.ok {
  background: rgba(169, 216, 0, .14);
  color: #d9ff00;
}

html[data-theme="dark"] .es-pill.es-warn {
  background: rgba(255, 138, 0, .14);
  color: #ffd0a0;
}

html[data-theme="dark"] .es-alert,
html[data-theme="dark"] .ef-alert {
  background: rgba(255, 43, 43, .14);
  color: #ffb0b0;
}

html[data-theme="dark"] .ef-app {
  color: #f2f4f0;
}

html[data-theme="dark"] .ef-sub,
html[data-theme="dark"] .ef-field label,
html[data-theme="dark"] .ef-check {
  color: #aab6c2;
}

html[data-theme="dark"] .ef-note {
  background: #0f1720;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #cbd5e1;
}

/* Users and Feature Access historically followed the OS theme. QTWatch's explicit theme now wins. */
html[data-theme="dark"] .su-shell {
  color: #e5e7eb;
}

html[data-theme="dark"] .su-list {
  background: #111827;
  color: #e5e7eb;
}

html[data-theme="dark"] .su-list th,
html[data-theme="dark"] .su-list td,
html[data-theme="dark"] .su-matrix,
html[data-theme="dark"] .su-matrix td {
  color: #e5e7eb !important;
}

html[data-theme="dark"] .su-list thead tr.dyno-main th {
  background: #1f2937 !important;
  border-color: #374151 !important;
  color: #f9fafb !important;
}

html[data-theme="dark"] .su-list thead tr.filtering td {
  background: #111827 !important;
  border-color: #374151 !important;
}

html[data-theme="dark"] .su-list tbody tr:nth-child(odd) > td {
  background: #0f172a !important;
}

html[data-theme="dark"] .su-list tbody tr:nth-child(even) > td,
html[data-theme="dark"] .su-form section {
  background: #111827 !important;
}

html[data-theme="dark"] .su-list.table-hover tbody tr:hover > td {
  background: #1f2937 !important;
  color: #f9fafb !important;
}

html[data-theme="dark"] .su-list .dt_search,
html[data-theme="dark"] .su-grid input,
html[data-theme="dark"] .su-grid select,
html[data-theme="dark"] .su-grid textarea,
html[data-theme="dark"] .su-company input,
html[data-theme="dark"] .su-matrix select {
  background: #0b1220 !important;
  border-color: #4b5563 !important;
  color: #f9fafb !important;
}

html[data-theme="dark"] .su-form section,
html[data-theme="dark"] .su-matrix-wrap {
  border-color: #374151 !important;
}

html[data-theme="dark"] .su-topbar p,
html[data-theme="dark"] .su-muted,
html[data-theme="dark"] .su-grid small,
html[data-theme="dark"] .su-matrix small {
  color: #9ca3af !important;
}

html[data-theme="dark"] .su-form h3 {
  color: #f9fafb;
}

html[data-theme="dark"] .su-grid label,
html[data-theme="dark"] .su-company {
  color: #d1d5db !important;
}

html[data-theme="dark"] .su-grid input:disabled,
html[data-theme="dark"] .su-grid select:disabled,
html[data-theme="dark"] .su-grid textarea:disabled,
html[data-theme="dark"] .su-company input:disabled,
html[data-theme="dark"] .su-matrix select:disabled,
html[data-theme="dark"] .su-check,
html[data-theme="dark"] .su-matrix th {
  background: #172033 !important;
  border-color: #374151 !important;
  color: #f9fafb !important;
  -webkit-text-fill-color: #f9fafb;
  opacity: 1;
}

html[data-theme="dark"] .su-check input:disabled + span {
  color: #d1d5db;
}

/* Counteract the old prefers-color-scheme block when QTWatch is explicitly in light mode. */
html[data-theme="light"] .su-shell {
  color: #17202a;
}

html[data-theme="light"] .su-list {
  background: #fff;
  color: #1d2939;
}

html[data-theme="light"] .su-list th,
html[data-theme="light"] .su-list td,
html[data-theme="light"] .su-matrix,
html[data-theme="light"] .su-matrix td {
  color: #1d2939 !important;
}

html[data-theme="light"] .su-list thead tr.dyno-main th {
  background: #e9eef5 !important;
  border-color: #cbd5e1 !important;
  color: #111827 !important;
}

html[data-theme="light"] .su-list thead tr.filtering td,
html[data-theme="light"] .su-grid input:disabled,
html[data-theme="light"] .su-grid select:disabled,
html[data-theme="light"] .su-grid textarea:disabled,
html[data-theme="light"] .su-company input:disabled,
html[data-theme="light"] .su-matrix select:disabled,
html[data-theme="light"] .su-check,
html[data-theme="light"] .su-matrix th {
  background: #f8fafc !important;
  border-color: #d9e2ec !important;
  color: #1d2939 !important;
  -webkit-text-fill-color: #1d2939;
  opacity: 1;
}

html[data-theme="light"] .su-list tbody tr:nth-child(odd) > td {
  background: #fff !important;
}

html[data-theme="light"] .su-list tbody tr:nth-child(even) > td {
  background: #f7fafc !important;
}

html[data-theme="light"] .su-list.table-hover tbody tr:hover > td {
  background: #eef6ff !important;
  color: #111827 !important;
}

html[data-theme="light"] .su-list .dt_search,
html[data-theme="light"] .su-grid input,
html[data-theme="light"] .su-grid select,
html[data-theme="light"] .su-grid textarea,
html[data-theme="light"] .su-company input,
html[data-theme="light"] .su-matrix select {
  background: #fff !important;
  border-color: #cbd5e1 !important;
  color: #101828 !important;
}

html[data-theme="light"] .su-form section {
  background: #fff !important;
  border-color: #dde3ea !important;
}

html[data-theme="light"] .su-form h3 {
  color: #1d2939;
}

html[data-theme="light"] .su-topbar p,
html[data-theme="light"] .su-muted,
html[data-theme="light"] .su-grid small,
html[data-theme="light"] .su-matrix small {
  color: #667085 !important;
}

html[data-theme="light"] .su-grid label,
html[data-theme="light"] .su-company,
html[data-theme="light"] .su-check input:disabled + span {
  color: #344054 !important;
}

html[data-theme="light"] .su-matrix-wrap {
  border-color: #dde3ea !important;
}
