html[data-theme="dark"] {
  color-scheme: dark;
  --ui-dk-page: #15171d;
  --ui-dk-surface: #1d2027;
  --ui-dk-raised: #252932;
  --ui-dk-hover: #2b2f39;
  --ui-dk-input: #181a20;
  --ui-dk-border: #2e323c;
  --ui-dk-border-strong: #6a7386;
  --ui-dk-text: #e6e8ec;
  --ui-dk-head: #eaeaf4;
  --ui-dk-menu: #c9d0db;
  --ui-dk-muted: #9aa3ae;
  --ui-dk-disabled: #667085;
  --ui-link: color-mix(in srgb, var(--ui-accent) 55%, #ffffff);
  --ui-link-hover: color-mix(in srgb, var(--ui-accent) 75%, #ffffff);
  --ui-accent-h: color-mix(in srgb, var(--ui-accent), #000 16%);
  --ui-tint-05: color-mix(in srgb, var(--ui-accent) 8%, transparent);
  --ui-tint-10: color-mix(in srgb, var(--ui-accent) 16%, transparent);
  --ui-tint-12: color-mix(in srgb, var(--ui-accent) 19%, transparent);
  --ui-tint-16: color-mix(in srgb, var(--ui-accent) 26%, transparent);
  --ui-tint-18: color-mix(in srgb, var(--ui-accent) 29%, transparent);
  --ui-tint-22: color-mix(in srgb, var(--ui-accent) 35%, transparent);
  --ui-sub-bg: #2b2560;
  --ui-sub-head: #221d4e;
  --ui-dk-primary: var(--ui-link);
  --ui-dk-secondary: #9aa3ae;
  --ui-dk-success: #3fb950;
  --ui-dk-info: #3ec1d3;
  --ui-dk-warning: #ffc94d;
  --ui-dk-orange: #ff9e40;
  --ui-dk-danger: #f26b77;
  --ui-dk-maroon: #e8739e;
  --light: #252932;
  --white: #1d2027;
  --lighttrans: #ffffff0a;
  --dark: #e6e8ec;
  --gray: #9aa3ae;
  --gray-dark: #c9d0db;
  --secondary: #9aa3ae;
  --bs-body-bg: #1d2027;
  background: var(--ui-dk-page);
}

html[data-theme="dark"] body {
  background-color: var(--ui-dk-page);
  color: var(--ui-dk-text);
}

html[data-theme="dark"] .content-wrapper {
  background: var(--ui-dk-page) !important;
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .main-header,
html[data-theme="dark"] .main-header.navbar-white {
  background-color: var(--ui-dk-surface) !important;
  border-bottom-color: var(--ui-dk-border) !important;
}
html[data-theme="dark"] .navbar-light .navbar-nav .nav-link,
html[data-theme="dark"] .main-header .nav-link {
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] .navbar-light .navbar-nav .nav-link:hover,
html[data-theme="dark"] .navbar-light .navbar-nav .nav-link:focus,
html[data-theme="dark"] .main-header .nav-link:hover {
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .main-footer {
  background-color: var(--ui-dk-surface);
  border-top-color: var(--ui-dk-border);
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3,
html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6,
html[data-theme="dark"] .h1, html[data-theme="dark"] .h2, html[data-theme="dark"] .h3,
html[data-theme="dark"] .h4, html[data-theme="dark"] .h5, html[data-theme="dark"] .h6 {
  color: var(--ui-dk-head);
}
html[data-theme="dark"] hr {
  border-top-color: var(--ui-dk-border);
}
html[data-theme="dark"] ::selection {
  background: color-mix(in srgb, var(--ui-accent) 55%, transparent);
  color: #fff;
}
html[data-theme="dark"] * {
  scrollbar-color: #4a4f5c transparent;
}
html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: transparent;
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #4a4f5c;
  border-radius: 4px;
}

html[data-theme="dark"] a:where(:not(.btn)) {
  color: var(--ui-link);
}
html[data-theme="dark"] a:where(:not(.btn)):hover {
  color: var(--ui-link-hover);
}
html[data-theme="dark"] .widgetshow {
  color: var(--ui-link);
}
html[data-theme="dark"] .btn-link {
  color: var(--ui-link) !important;
}
html[data-theme="dark"] .text-info.btn-link,
html[data-theme="dark"] .text-info.btn-link i {
  color: var(--ui-link) !important;
}
html[data-theme="dark"] .btn-link:hover,
html[data-theme="dark"] .btn-link:focus {
  color: var(--ui-link-hover) !important;
}
html[data-theme="dark"] .btn-link:disabled,
html[data-theme="dark"] .btn-link.disabled {
  color: var(--ui-dk-disabled) !important;
}
html[data-theme="dark"] .text-primary {
  color: var(--ui-dk-primary) !important;
}
html[data-theme="dark"] .text-secondary,
html[data-theme="dark"] .text-muted,
html[data-theme="dark"] .text-black-50 {
  color: var(--ui-dk-muted) !important;
}
html[data-theme="dark"] .text-success { color: var(--ui-dk-success) !important; }
html[data-theme="dark"] .text-info { color: var(--ui-dk-info) !important; }
html[data-theme="dark"] .text-warning { color: var(--ui-dk-warning) !important; }
html[data-theme="dark"] .text-danger { color: var(--ui-dk-danger) !important; }
html[data-theme="dark"] .text-orange { color: var(--ui-dk-orange) !important; }
html[data-theme="dark"] .text-maroon { color: var(--ui-dk-maroon) !important; }
html[data-theme="dark"] .text-dark,
html[data-theme="dark"] .text-body,
html[data-theme="dark"] .text-black {
  color: var(--ui-dk-text) !important;
}
html[data-theme="dark"] .bg-white,
html[data-theme="dark"] .bg-light {
  background-color: var(--ui-dk-surface) !important;
  color: var(--ui-dk-text) !important;
}
html[data-theme="dark"] .bg-light-trans {
  background-color: var(--lighttrans);
}
html[data-theme="dark"] .border,
html[data-theme="dark"] .border-top,
html[data-theme="dark"] .border-right,
html[data-theme="dark"] .border-bottom,
html[data-theme="dark"] .border-left {
  border-color: var(--ui-dk-border) !important;
}
html[data-theme="dark"] code {
  color: var(--ui-dk-maroon);
}
html[data-theme="dark"] pre {
  color: var(--ui-dk-text);
}
html[data-theme="dark"] mark,
html[data-theme="dark"] .mark {
  background-color: #564100;
  color: var(--ui-dk-text);
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .box,
html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .bmodal .modal-content {
  background-color: var(--ui-dk-surface);
  color: var(--ui-dk-text);
  border-color: var(--ui-dk-border) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35), 0 1px 2px rgba(0, 0, 0, .25) !important;
}
html[data-theme="dark"] .modal-content[style*="background"] {
  background-color: var(--ui-dk-surface) !important;
}
html[data-theme="dark"] :is(.modal-content[style*="rgb(239, 255, 235)"],
  .modal-content[style*="#efffeb" i]) {
  background-color: #1e2a23 !important;
}
html[data-theme="dark"] :is(.modal-content[style*="rgb(241, 247, 255)"],
  .modal-content[style*="#f1f7ff" i]) {
  background-color: #1c222e !important;
}
html[data-theme="dark"] .card-header,
html[data-theme="dark"] .card-footer,
html[data-theme="dark"] .modal-header,
html[data-theme="dark"] .modal-footer {
  border-color: var(--ui-dk-border);
}
html[data-theme="dark"] .card-footer {
  background-color: var(--ui-dk-raised);
}
html[data-theme="dark"] .card-header:not([class*="bg-"]) {
  background-color: transparent;
}
html[data-theme="dark"] .close,
html[data-theme="dark"] .close:hover {
  color: var(--ui-dk-text);
  text-shadow: none;
}
html[data-theme="dark"] .modal-backdrop.show {
  opacity: .7;
}
html[data-theme="dark"] .callout {
  background-color: var(--ui-dk-raised);
  border-left-color: var(--ui-dk-border-strong);
}
html[data-theme="dark"] .info-box,
html[data-theme="dark"] .small-box {
  background-color: var(--ui-dk-surface);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .jumbotron {
  background-color: var(--ui-dk-raised);
}

html[data-theme="dark"] .table {
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .table th,
html[data-theme="dark"] .table td,
html[data-theme="dark"] .table thead th,
html[data-theme="dark"] .table tbody + tbody,
html[data-theme="dark"] .table-bordered,
html[data-theme="dark"] .table-bordered th,
html[data-theme="dark"] .table-bordered td {
  border-color: var(--ui-dk-border);
}
html[data-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, .025);
}
html[data-theme="dark"] .table-hover tbody tr:hover {
  color: var(--ui-dk-text);
  background-color: rgba(255, 255, 255, .045);
}
html[data-theme="dark"] .table .thead-light th {
  background-color: var(--ui-dk-raised);
  color: var(--ui-dk-head);
  border-color: var(--ui-dk-border);
}
html[data-theme="dark"] .table .thead-dark th,
html[data-theme="dark"] .table-dark {
  background-color: #111318;
  border-color: var(--ui-dk-border);
}
html[data-theme="dark"] .table-active,
html[data-theme="dark"] .table-active > th,
html[data-theme="dark"] .table-active > td {
  background-color: rgba(255, 255, 255, .06);
}
html[data-theme="dark"] .table-hidden {
  background-color: #2a2d35;
}

html[data-theme="dark"] .table-primary, html[data-theme="dark"] .table-primary > th,
html[data-theme="dark"] .table-primary > td { background-color: color-mix(in srgb, var(--ui-accent) 50%, #15171d) !important; }
html[data-theme="dark"] .table-secondary, html[data-theme="dark"] .table-secondary > th,
html[data-theme="dark"] .table-secondary > td { background-color: #2e333a !important; }
html[data-theme="dark"] .table-success, html[data-theme="dark"] .table-success > th,
html[data-theme="dark"] .table-success > td { background-color: #004228 !important; }
html[data-theme="dark"] .table-info, html[data-theme="dark"] .table-info > th,
html[data-theme="dark"] .table-info > td { background-color: #004051 !important; }
html[data-theme="dark"] .table-warning, html[data-theme="dark"] .table-warning > th,
html[data-theme="dark"] .table-warning > td { background-color: #564100 !important; }
html[data-theme="dark"] .table-danger, html[data-theme="dark"] .table-danger > th,
html[data-theme="dark"] .table-danger > td { background-color: #531a2c !important; }
html[data-theme="dark"] .table-orange, html[data-theme="dark"] .table-orange > th,
html[data-theme="dark"] .table-orange > td { background-color: #593300 !important; }
html[data-theme="dark"] .table-maroon, html[data-theme="dark"] .table-maroon > th,
html[data-theme="dark"] .table-maroon > td { background-color: #4f203d !important; }
html[data-theme="dark"] :is(.table-primary, .table-secondary, .table-success, .table-info,
  .table-warning, .table-danger, .table-orange, .table-maroon) {
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .table-primary :is(th, td) { border-color: #3c376a !important; }
html[data-theme="dark"] .table-secondary :is(th, td) { border-color: #3b4048 !important; }
html[data-theme="dark"] .table-success :is(th, td) { border-color: #005729 !important; }
html[data-theme="dark"] .table-info :is(th, td) { border-color: #00556b !important; }
html[data-theme="dark"] .table-warning :is(th, td) { border-color: #735d1b !important; }
html[data-theme="dark"] .table-danger :is(th, td) { border-color: #662832 !important; }
html[data-theme="dark"] .table-orange :is(th, td) { border-color: #7a4500 !important; }
html[data-theme="dark"] .table-maroon :is(th, td) { border-color: #6b2647 !important; }
html[data-theme="dark"] .table-hover .table-primary:hover,
html[data-theme="dark"] .table-hover .table-primary:hover > :is(td, th) { background-color: #352d6b !important; }
html[data-theme="dark"] .table-hover .table-secondary:hover,
html[data-theme="dark"] .table-hover .table-secondary:hover > :is(td, th) { background-color: #353a41 !important; }
html[data-theme="dark"] .table-hover .table-success:hover,
html[data-theme="dark"] .table-hover .table-success:hover > :is(td, th) { background-color: #004d25 !important; }
html[data-theme="dark"] .table-hover .table-info:hover,
html[data-theme="dark"] .table-hover .table-info:hover > :is(td, th) { background-color: #004a5d !important; }
html[data-theme="dark"] .table-hover .table-warning:hover,
html[data-theme="dark"] .table-hover .table-warning:hover > :is(td, th) { background-color: #684e00 !important; }
html[data-theme="dark"] .table-hover .table-danger:hover,
html[data-theme="dark"] .table-hover .table-danger:hover > :is(td, th) { background-color: #62192c !important; }
html[data-theme="dark"] .table-hover .table-orange:hover,
html[data-theme="dark"] .table-hover .table-orange:hover > :is(td, th) { background-color: #6d3a00 !important; }
html[data-theme="dark"] .table-hover .table-maroon:hover,
html[data-theme="dark"] .table-hover .table-maroon:hover > :is(td, th) { background-color: #611e42 !important; }

html[data-theme="dark"] .form-control,
html[data-theme="dark"] .custom-select,
html[data-theme="dark"] .custom-file-label,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] input:where(
  :not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"])
) {
  background-color: var(--ui-dk-input);
  color: var(--ui-dk-text);
  border-color: var(--ui-dk-border-strong);
}
html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .custom-select:focus {
  background-color: var(--ui-dk-input);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .form-control::placeholder,
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #7d8693;
}
html[data-theme="dark"] .form-control:disabled,
html[data-theme="dark"] .form-control[readonly],
html[data-theme="dark"] .custom-select:disabled {
  background-color: #23262e;
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] .input-group-text {
  background-color: var(--ui-dk-raised);
  color: var(--ui-dk-menu);
  border-color: var(--ui-dk-border-strong);
}
html[data-theme="dark"] .custom-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%239aa3ae' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
}
html[data-theme="dark"] .custom-control-label::before {
  background-color: var(--ui-dk-input);
  border-color: #4a4f5c;
}
html[data-theme="dark"] .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--ui-accent);
  border-color: var(--ui-accent);
}
html[data-theme="dark"] input[type="checkbox"],
html[data-theme="dark"] input[type="radio"] {
  accent-color: var(--ui-accent);
}
html[data-theme="dark"] .form-text,
html[data-theme="dark"] label {
  color: inherit;
}
html[data-theme="dark"] input.error {
  background: #531a2c;
  border-color: var(--ui-dk-danger);
  color: #ffd0d4;
}
html[data-theme="dark"] .dnotempty {
  background: #004228 !important;
}

html[data-theme="dark"] :is(.btn-light, .btn-default, .btn-white) {
  background-color: var(--ui-dk-raised);
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] :is(.btn-light, .btn-default, .btn-white):hover,
html[data-theme="dark"] :is(.btn-light, .btn-default, .btn-white):focus,
html[data-theme="dark"] :is(.btn-light, .btn-default, .btn-white).active,
html[data-theme="dark"] :is(.btn-light, .btn-default, .btn-white):not(:disabled):not(.disabled):active {
  background-color: var(--ui-dk-hover);
  border-color: #4a4f5c;
  color: #fff;
}
html[data-theme="dark"] .btn-secondary {
  background-color: #4b535c;
  border-color: #4b535c;
  color: #fff;
}
html[data-theme="dark"] .btn-dark {
  background-color: #3a3f4b;
  border-color: #3a3f4b;
}
html[data-theme="dark"] :is(.btn-outline-primary, .btn-outline-secondary, .btn-outline-success,
  .btn-outline-info, .btn-outline-warning, .btn-outline-danger, .btn-outline-orange, .btn-outline-dark) {
  background-color: color-mix(in srgb, currentColor 14%, var(--ui-dk-surface));
}
html[data-theme="dark"] :is(.btn-outline-primary, .btn-outline-info) {
  color: var(--ui-dk-primary) !important;
  border-color: color-mix(in srgb, var(--ui-accent) 70%, #fff) !important;
}
html[data-theme="dark"] :is(.btn-outline-primary, .btn-outline-info):is(:hover, :focus, .active,
  :not(:disabled):not(.disabled):active),
html[data-theme="dark"] .show > :is(.btn-outline-primary, .btn-outline-info).dropdown-toggle {
  background-color: var(--ui-accent) !important;
  border-color: var(--ui-accent) !important;
  color: #fff !important;
}
html[data-theme="dark"] .btn-outline-secondary {
  color: var(--ui-dk-muted);
  border-color: #5a626c;
}
html[data-theme="dark"] .btn-outline-success {
  color: var(--ui-dk-success);
  border-color: #2f8f45;
}
html[data-theme="dark"] .btn-outline-danger {
  color: var(--ui-dk-danger);
  border-color: #c4404e;
}
html[data-theme="dark"] .btn-outline-warning {
  color: var(--ui-dk-warning) !important;
}
html[data-theme="dark"] .btn-outline-dark {
  color: var(--ui-dk-menu);
  border-color: #5a626c;
}
html[data-theme="dark"] .btn-outline-dark:hover {
  background-color: var(--ui-dk-hover);
  color: #fff;
}
html[data-theme="dark"] .btn-outline-light {
  color: var(--ui-dk-menu);
  border-color: var(--ui-dk-border-strong);
}
html[data-theme="dark"] .btn-outline-secondary:hover,
html[data-theme="dark"] .btn-outline-success:hover,
html[data-theme="dark"] .btn-outline-danger:hover {
  color: #fff;
}
html[data-theme="dark"] .btn:disabled,
html[data-theme="dark"] .btn.disabled {
  opacity: .55;
}

html[data-theme="dark"] .badge-light {
  background-color: var(--ui-dk-raised);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .badge-secondary {
  background-color: #4b535c;
}
html[data-theme="dark"] .alert-primary { background: color-mix(in srgb, var(--ui-accent) 50%, #15171d); border-color: #3c376a; color: #d9d4fa; }
html[data-theme="dark"] .alert-secondary { background: #2e333a; border-color: #3b4048; color: var(--ui-dk-text); }
html[data-theme="dark"] .alert-success { background: #004228; border-color: #005729; color: #b7ecc3; }
html[data-theme="dark"] .alert-info { background: #004051; border-color: #00556b; color: #b5e8ef; }
html[data-theme="dark"] .alert-warning { background: #564100; border-color: #735d1b; color: #ffe4a3; }
html[data-theme="dark"] .alert-danger { background: #531a2c; border-color: #662832; color: #ffc9ce; }
html[data-theme="dark"] .alert-light {
  background: var(--ui-dk-raised);
  border-color: var(--ui-dk-border);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .alert-dark {
  background: #111318;
  border-color: var(--ui-dk-border);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] [class*="alert-"] .alert-link {
  color: inherit;
}
html[data-theme="dark"] .list-group-item {
  background-color: var(--ui-dk-surface);
  border-color: var(--ui-dk-border);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .list-group-item-action:hover,
html[data-theme="dark"] .list-group-item-action:focus {
  background-color: var(--ui-dk-hover);
  color: #fff;
}
html[data-theme="dark"] .list-group-item.disabled,
html[data-theme="dark"] .list-group-item:disabled {
  background-color: var(--ui-dk-surface);
  color: var(--ui-dk-disabled);
}
html[data-theme="dark"] .progress {
  background-color: var(--ui-dk-raised);
}
html[data-theme="dark"] .breadcrumb {
  background-color: var(--ui-dk-raised);
}

html[data-theme="dark"] .nav-tabs {
  border-bottom-color: var(--ui-dk-border);
}
html[data-theme="dark"] .nav-tabs .nav-link {
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] .nav-tabs .nav-link:hover,
html[data-theme="dark"] .nav-tabs .nav-link:focus {
  border-color: var(--ui-dk-border) var(--ui-dk-border) transparent;
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .nav-tabs .nav-link.active,
html[data-theme="dark"] .nav-tabs .nav-item.show .nav-link {
  background-color: var(--ui-dk-surface);
  border-color: var(--ui-dk-border) var(--ui-dk-border) var(--ui-dk-surface);
  color: var(--ui-dk-head);
}
html[data-theme="dark"] .page-link {
  background-color: var(--ui-dk-surface);
  border-color: var(--ui-dk-border);
  color: var(--ui-link);
}
html[data-theme="dark"] .page-link:hover,
html[data-theme="dark"] .page-link:focus {
  background-color: var(--ui-dk-hover);
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-link-hover);
}
html[data-theme="dark"] .page-item.disabled .page-link {
  background-color: var(--ui-dk-surface);
  border-color: var(--ui-dk-border);
  color: var(--ui-dk-disabled);
}
html[data-theme="dark"] .content-wrapper .navbar-nav .nav-item.active .nav-link {
  color: var(--ui-dk-head);
}

html[data-theme="dark"] .dropdown-menu,
html[data-theme="dark"] .dt-button-collection,
html[data-theme="dark"] .zt-btn-collection {
  background: var(--ui-dk-raised) !important;
  color: var(--ui-dk-text);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .35) !important;
}
html[data-theme="dark"] .dropdown-item {
  color: var(--ui-dk-menu);
}
html[data-theme="dark"] .dropdown-item:hover,
html[data-theme="dark"] .dropdown-item:focus {
  background-color: var(--ui-dk-hover);
  color: #fff;
}
html[data-theme="dark"] .dropdown-header {
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] :is(.dropdown-menu, .dt-button-collection, .zt-btn-collection)
  > :is(.btn, .dt-button, .dropdown-item) {
  --ui-menu-color: var(--ui-dk-menu);
}
html[data-theme="dark"] :is(.dropdown-menu, .dt-button-collection, .zt-btn-collection)
  > :is(.btn, .dt-button, .dropdown-item):is(.btn-primary, .btn-outline-primary, .btn-info,
  .btn-outline-info, .btn-link, .btn-outline-link) {
  --ui-menu-color: var(--ui-dk-primary);
}
html[data-theme="dark"] :is(.dropdown-menu, .dt-button-collection, .zt-btn-collection)
  > :is(.btn, .dt-button, .dropdown-item):is(.btn-success, .btn-outline-success) {
  --ui-menu-color: var(--ui-dk-success);
}
html[data-theme="dark"] :is(.dropdown-menu, .dt-button-collection, .zt-btn-collection)
  > :is(.btn, .dt-button, .dropdown-item):is(.btn-danger, .btn-outline-danger) {
  --ui-menu-color: var(--ui-dk-danger);
}
html[data-theme="dark"] :is(.dropdown-menu, .dt-button-collection, .zt-btn-collection)
  > :is(.btn, .dt-button, .dropdown-item):is(.btn-warning, .btn-outline-warning) {
  --ui-menu-color: var(--ui-dk-warning);
}
html[data-theme="dark"] :is(.dropdown-menu, .dt-button-collection, .zt-btn-collection)
  > :is(.btn, .dt-button, .dropdown-item):is(.btn-orange, .btn-outline-orange) {
  --ui-menu-color: var(--ui-dk-orange);
}
html[data-theme="dark"] :is(.dropdown-menu, .dt-button-collection, .zt-btn-collection)
  > :is(.btn, .dt-button, .dropdown-item):is(.btn-secondary, .btn-outline-secondary, .btn-light,
  .btn-outline-light, .btn-default, .btn-outline-default, .btn-white, .btn-outline-white,
  .btn-dark, .btn-outline-dark, .btn-black, .btn-outline-black) {
  --ui-menu-color: var(--ui-dk-menu);
}
html[data-theme="dark"] :is(.dropdown-menu, .dt-button-collection, .zt-btn-collection)
  > :is(.btn, .dt-button, .dropdown-item):is(:disabled, .disabled, [aria-disabled="true"]) {
  color: var(--ui-dk-disabled) !important;
}
html[data-theme="dark"] .dropdown-divider {
  border-top-color: var(--ui-dk-border) !important;
}
html[data-theme="dark"] .contextmenu,
html[data-theme="dark"] .contextsubmenu,
html[data-theme="dark"] .optionsmenu {
  background: var(--ui-dk-raised) !important;
  border-color: var(--ui-dk-border) !important;
  color: var(--ui-dk-menu);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .35) !important;
}
html[data-theme="dark"] .contextmenu .ovl {
  background: #252932ee;
}
html[data-theme="dark"] :is(.contextmenu, .contextsubmenu) > div.divider {
  background: var(--ui-dk-border) !important;
}
html[data-theme="dark"] :is(.contextmenu, .contextsubmenu) > div:not(.divider):hover,
html[data-theme="dark"] :is(.contextmenu, .contextsubmenu) > div:not(.divider):hover i {
  color: var(--ui-dk-primary) !important;
}
html[data-theme="dark"] .contextsubmenu.zt-sheet > div.zt-backbtn {
  border-color: var(--ui-dk-border);
}
html[data-theme="dark"] .optionsmenu .hdr {
  color: var(--ui-dk-head) !important;
}
html[data-theme="dark"] .optionsmenu > div:has(> input[type=checkbox]):hover label {
  color: var(--ui-dk-primary) !important;
}
html[data-theme="dark"] .optionsmenu .border-bottom {
  border-color: var(--ui-dk-border) !important;
}

html[data-theme="dark"] .popover {
  background-color: var(--ui-dk-raised);
  border-color: var(--ui-dk-border-strong);
}
html[data-theme="dark"] .popover-header {
  background-color: var(--ui-dk-hover);
  border-bottom-color: var(--ui-dk-border);
  color: var(--ui-dk-head);
}
html[data-theme="dark"] .popover-body {
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .bs-popover-bottom > .arrow::after,
html[data-theme="dark"] .bs-popover-auto[x-placement^="bottom"] > .arrow::after {
  border-bottom-color: var(--ui-dk-raised);
}
html[data-theme="dark"] .bs-popover-top > .arrow::after,
html[data-theme="dark"] .bs-popover-auto[x-placement^="top"] > .arrow::after {
  border-top-color: var(--ui-dk-raised);
}
html[data-theme="dark"] .tooltip-inner {
  background-color: #3a3f4b;
  color: #fff;
}

html[data-theme="dark"] .fc .fc-button-primary {
  background-color: var(--ui-dk-raised) !important;
  border-color: var(--ui-dk-border-strong) !important;
  color: var(--ui-dk-menu) !important;
}
html[data-theme="dark"] .fc .fc-button-primary:hover {
  background-color: var(--ui-tint-10) !important;
  border-color: var(--ui-accent) !important;
  color: var(--ui-dk-primary) !important;
}
html[data-theme="dark"] .fc .fc-button-primary:not(:disabled):active,
html[data-theme="dark"] .fc .fc-button-primary:not(:disabled).fc-button-active {
  background-color: var(--ui-accent) !important;
  border-color: var(--ui-accent) !important;
  color: #fff !important;
}
html[data-theme="dark"] .fc .fc-button-primary:disabled {
  background-color: var(--ui-dk-surface) !important;
  border-color: var(--ui-dk-border) !important;
  color: var(--ui-dk-disabled) !important;
}

html[data-theme="dark"] .info-box:has(> .bg-secondary) {
  border-color: var(--ui-dk-border) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35) !important;
}
html[data-theme="dark"] .info-box > .bg-secondary,
html[data-theme="dark"] .info-box > .bg-secondary .col {
  color: var(--ui-dk-head) !important;
}
html[data-theme="dark"] .info-box > .bg-secondary i {
  color: var(--ui-dk-primary) !important;
}
html[data-theme="dark"] .info-box .info-box-content a {
  color: var(--ui-link);
}
html[data-theme="dark"] .info-box .info-box-content a:hover {
  color: var(--ui-link-hover);
}
html[data-theme="dark"] .icona > .iconbut {
  background: var(--ui-dk-surface) !important;
  border-color: var(--ui-dk-border) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35) !important;
}
html[data-theme="dark"] .icona:hover > .iconbut {
  background-color: color-mix(in srgb, var(--ui-accent) 10%, var(--ui-dk-surface)) !important;
  border-color: var(--ui-accent) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45) !important;
}
html[data-theme="dark"] .icona i {
  color: var(--ui-dk-primary) !important;
}
html[data-theme="dark"] .icona:hover i {
  color: var(--ui-link-hover) !important;
}
html[data-theme="dark"] .icona,
html[data-theme="dark"] .icona .comment {
  color: var(--ui-dk-menu) !important;
}

html[data-theme="dark"] .zt-scroll.zt-skeleton,
html[data-theme="dark"] .zt-pager-skel .page-link {
  background: linear-gradient(90deg, rgba(255, 255, 255, .04) 25%, rgba(255, 255, 255, .09) 37%,
    rgba(255, 255, 255, .04) 63%);
  background-size: 400% 100%;
}

html[data-theme="dark"] .thead-inverse th {
  background: color-mix(in srgb, var(--ui-accent) 14%, var(--ui-dk-surface)) !important;
  color: var(--ui-dk-head) !important;
  border-bottom-color: var(--ui-dk-border-strong) !important;
}
html[data-theme="dark"] .thead-inverse th.dt-fhead:hover {
  background: color-mix(in srgb, var(--ui-accent) 24%, var(--ui-dk-surface)) !important;
}
html[data-theme="dark"] .thead-inverse th .dt-ffunnel.dt-fon,
html[data-theme="dark"] .thead-inverse th .dt-sorthandle:hover,
html[data-theme="dark"] .thead-inverse th .dt-sorthandle.dt-son {
  color: var(--ui-dk-primary);
}
html[data-theme="dark"] .dataTable .clickableblue {
  color: var(--ui-link);
}
html[data-theme="dark"] .dataTable .clickableblue:hover {
  background-color: rgba(255, 255, 255, .08);
  color: var(--ui-link-hover);
}
html[data-theme="dark"] .dataTable .text-secondary .clickableblue {
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] .dataTable thead tr.filters th.dt-fopen,
html[data-theme="dark"] .dt-fmenu,
html[data-theme="dark"] .zt-pop,
html[data-theme="dark"] .zt-rep {
  background: var(--ui-dk-raised) !important;
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-dk-text);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5);
}
html[data-theme="dark"] .multiselectwidget .values,
html[data-theme="dark"] .field_autocomplete .options_list {
  background: var(--ui-dk-raised);
  color: var(--ui-dk-text);
  border-color: var(--ui-dk-border-strong);
}
html[data-theme="dark"] .dt-fpop-acts,
html[data-theme="dark"] .zt-pop .mass,
html[data-theme="dark"] .optionsmenu .zt-table-resets {
  border-top-color: var(--ui-dk-border);
}
html[data-theme="dark"] .dt-fbar {
  background: var(--ui-dk-surface);
  border-color: var(--ui-dk-border);
}
html[data-theme="dark"] :is(.dt-fbar, .dt-cbar) .lbl,
html[data-theme="dark"] .dt-frefresh {
  color: var(--ui-dk-muted);
  border-color: transparent;
}
html[data-theme="dark"] .dt-frefresh:hover,
html[data-theme="dark"] .dt-fadd,
html[data-theme="dark"] .dt-fpreset,
html[data-theme="dark"] .dt-cchip.on,
html[data-theme="dark"] .zt-selchip .lnk,
html[data-theme="dark"] .zt-pop .cap .more {
  color: var(--ui-dk-primary);
}
html[data-theme="dark"] .zt-selchip .lnk:hover {
  color: var(--ui-link-hover);
}
html[data-theme="dark"] .dt-fpreset.on {
  color: #fff;
}
html[data-theme="dark"] .dt-cchip {
  background: var(--ui-dk-surface);
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] .dt-fchip,
html[data-theme="dark"] .zt-selchip {
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .dt-fchip .x {
  background: rgba(255, 255, 255, .12);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .zt-selchip .note {
  color: var(--ui-dk-warning);
}
html[data-theme="dark"] .dt-fclear,
html[data-theme="dark"] .zt-selchip .drop {
  color: var(--ui-dk-danger);
}
html[data-theme="dark"] .dt-frefresh:disabled,
html[data-theme="dark"] .dt-hmenu .it.off,
html[data-theme="dark"] .dt-hmenu .it.off:hover {
  color: var(--ui-dk-disabled);
}
html[data-theme="dark"] .dt-frefresh.changed {
  background: #564100;
  border-color: transparent;
  color: var(--ui-dk-warning);
}
html[data-theme="dark"] .dt-frefresh.changed:hover {
  background: #684e00;
  color: #ffe4a3;
}
html[data-theme="dark"] .dt-fmenu .it:hover {
  color: var(--ui-dk-primary);
}
html[data-theme="dark"] div.dataTables_wrapper div.dataTables_processing,
html[data-theme="dark"] .dataTable.wait:before {
  background: var(--ui-dk-raised);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .dataTable td.zt-ed:hover .zt-pen {
  color: var(--ui-dk-primary);
}
html[data-theme="dark"] .zt-pop .ph b,
html[data-theme="dark"] .zt-rep .cnt b {
  color: var(--ui-dk-head);
}
html[data-theme="dark"] .zt-pop .ph span,
html[data-theme="dark"] .zt-pop .pf .hint,
html[data-theme="dark"] .zt-pop .mass .chk,
html[data-theme="dark"] .zt-rep .cnt,
html[data-theme="dark"] .zt-rep .note,
html[data-theme="dark"] .zt-rep .cls {
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] .zt-pop.locked {
  border-color: #8a6d1f;
}
html[data-theme="dark"] .zt-pop .lock,
html[data-theme="dark"] .zt-pop .mass .warn,
html[data-theme="dark"] .zt-rep li {
  background: #564100;
  border-color: #8a6d1f;
  color: #ffe4a3;
}
html[data-theme="dark"] .zt-pop .sum {
  background: color-mix(in srgb, var(--ui-accent) 50%, #15171d);
  border-color: #3c376a;
  color: #d9d4fa;
}
html[data-theme="dark"] .zt-pop .cap {
  background: var(--ui-dk-surface);
  border-color: var(--ui-dk-border);
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] .zt-pop .zt-skel {
  background: linear-gradient(90deg, #2b2f39 25%, #343944 37%, #2b2f39 63%);
  background-size: 400% 100%;
}
html[data-theme="dark"] .zt-column-ghost {
  background: var(--ui-dk-raised);
}
html[data-theme="dark"] .dataTable td.zt-ok {
  animation-name: ztok-dark;
}
@keyframes ztok-dark {
  0% { background: #005729; }
  62% { background: #004228; }
  100% { background: transparent; }
}
html[data-theme="dark"] .table-light,
html[data-theme="dark"] .table-light > th,
html[data-theme="dark"] .table-light > td {
  background-color: transparent;
  color: inherit;
}

html[data-theme="dark"] .multiselectwidget .selector {
  background: var(--ui-dk-input);
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .multiselectwidget .selector .value span,
html[data-theme="dark"] .multiselectwidget .selector .value span.blank {
  background: var(--ui-dk-raised);
  color: var(--ui-dk-text);
  border-color: var(--ui-dk-border-strong);
}
html[data-theme="dark"] .multiselectwidget.readonly > span {
  background: #23262e;
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] .multiselectwidget .values li {
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .multiselectwidget .values li:hover {
  background: var(--ui-dk-hover);
}
html[data-theme="dark"] .multiselectwidget .values li.selected {
  background: #004228;
}

html[data-theme="dark"] .zdlg-popup,
html[data-theme="dark"] .zdlg-toast {
  background: var(--ui-dk-raised);
  color: var(--ui-dk-text);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
}
html[data-theme="dark"] .zdlg-container {
  background: rgba(0, 0, 0, .6) !important;
}
html[data-theme="dark"] .zdlg-title,
html[data-theme="dark"] .zdlg-toast-title {
  color: var(--ui-dk-head);
}
html[data-theme="dark"] .zdlg-content,
html[data-theme="dark"] .zdlg-toast-html {
  color: var(--ui-dk-menu);
}
html[data-theme="dark"] .zdlg-input {
  background: var(--ui-dk-input);
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .zdlg-validation {
  background: #531a2c;
  color: #ffc9ce;
}
html[data-theme="dark"] .zdlg-btn-deny {
  color: #15171d;
}
html[data-theme="dark"] .zview-img {
  background: var(--ui-dk-raised);
}

html[data-theme="dark"] .zdate-pop,
html[data-theme="dark"] .zdate-pop .zd-nav,
html[data-theme="dark"] .zdate-pop .zd-qbtn,
html[data-theme="dark"] .zdate-pop .zd-act {
  background: var(--ui-dk-raised);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .zdate-pop {
  border-color: var(--ui-dk-border-strong);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .55);
}
html[data-theme="dark"] .zdate-pop :is(.zd-preset, .zd-pcell, .zd-slot, .zd-act) {
  color: var(--ui-dk-menu);
}
html[data-theme="dark"] .zdate-pop :is(.zd-tbtn, .zd-day) {
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .zdate-pop .zd-day.edge.allow::after,
html[data-theme="dark"] .zdate-pop .zd-day.sel.allow::after {
  background: var(--ui-dk-raised);
}
html[data-theme="dark"] .zdate-pop .zd-time input {
  background: var(--ui-dk-input);
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] input.zd-err {
  background: #531a2c !important;
}

html[data-theme="dark"] .zev,
html[data-theme="dark"] .zev-group {
  background: var(--ui-dk-raised);
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-dk-text);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5);
}
html[data-theme="dark"] .zev-title {
  color: var(--ui-dk-head);
}
html[data-theme="dark"] .zev-clickable:hover {
  border-color: #4a4f5c;
}
html[data-theme="dark"] .zev-close:hover,
html[data-theme="dark"] .zev-group-count {
  background: var(--ui-dk-hover);
}
html[data-theme="dark"] .zev-group-list,
html[data-theme="dark"] .zev-group-list .zev {
  border-color: var(--ui-dk-border);
}

html[data-theme="dark"] .zfile {
  background: var(--ui-dk-input);
  border-color: #4a4f5c;
}
html[data-theme="dark"] .zfile.zfile-drag {
  background: color-mix(in srgb, var(--ui-accent) 50%, #15171d);
}
html[data-theme="dark"] .zfile-item,
html[data-theme="dark"] .zfile-add {
  background: var(--ui-dk-raised);
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-dk-text);
}

html[data-theme="dark"] .zcal-body {
  background: var(--ui-dk-surface);
  border-color: var(--ui-dk-border);
}
html[data-theme="dark"] .zcal-head {
  background: var(--ui-dk-raised);
  border-color: var(--ui-dk-border);
}
html[data-theme="dark"] .zcal-title,
html[data-theme="dark"] .zcal-hday {
  color: var(--ui-dk-head);
}
html[data-theme="dark"] .zcal-week,
html[data-theme="dark"] .zcal-day {
  border-color: var(--ui-dk-border);
}
html[data-theme="dark"] .zcal-today {
  background: #2a244d !important;
}
html[data-theme="dark"] .zcal-other {
  background: #191b21;
}
html[data-theme="dark"] .zcal-day.zcal-clickable:hover {
  background: var(--ui-dk-hover);
}
html[data-theme="dark"] .zcal-today.zcal-clickable:hover {
  background: #31295d !important;
}
html[data-theme="dark"] .zcal-exp,
html[data-theme="dark"] .zcal-more {
  background: var(--ui-dk-raised);
  color: var(--ui-dk-menu);
}
html[data-theme="dark"] .zcal-exp:hover,
html[data-theme="dark"] .zcal-more:hover {
  background: #352d6b;
}
html[data-theme="dark"] .zcal-ev-rich {
  background: var(--ui-dk-raised);
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-dk-text);
}
html[data-theme="dark"] .zcal-update-notice {
  background: var(--ui-dk-raised);
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-dk-text);
}

html[data-theme="dark"] .loginmodal-container {
  background: var(--ui-dk-surface);
}
html[data-theme="dark"] .kbhelper-menu {
  background: var(--ui-dk-raised);
  border-color: var(--ui-dk-border-strong);
}
html[data-theme="dark"] .kbhelper-menu .kbhelper-item {
  color: var(--ui-dk-menu);
}
html[data-theme="dark"] .editorgroup {
  background: #212346;
}
html[data-theme="dark"] .editorgroup .header,
html[data-theme="dark"] .editorgroup .headercont {
  background: color-mix(in srgb, var(--ui-accent) 50%, #15171d);
}
html[data-theme="dark"] .dialogsum .active {
  background: var(--ui-dk-hover);
}
html[data-theme="dark"] .swal2-content .form-control {
  border-color: var(--ui-dk-border-strong);
}

html[data-theme="dark"] .table-dark > td,
html[data-theme="dark"] .table-dark > th,
html[data-theme="dark"] tr.table-dark {
  background-color: #2a2d35;
  color: var(--ui-dk-head);
}
html[data-theme="dark"] .table-dark :is(th, td, thead th, tbody + tbody) {
  border-color: var(--ui-dk-border-strong);
}
html[data-theme="dark"] .btn-outline-orange {
  color: var(--ui-dk-orange);
}
html[data-theme="dark"] .zcal-today .zcal-num {
  color: var(--ui-dk-primary);
}

html[data-theme="dark"] .kb-search-field,
html[data-theme="dark"] .kb-rcard,
html[data-theme="dark"] .kb-facet {
  background: var(--ui-dk-surface);
  border-color: var(--ui-dk-border-strong);
  color: var(--ui-dk-menu);
}
html[data-theme="dark"] .kb-search-field:focus-within {
  border-color: var(--ui-accent);
  box-shadow: 0 0 0 3px var(--ui-tint-18);
}
html[data-theme="dark"] .kb-search-slash,
html[data-theme="dark"] .kb-dhead,
html[data-theme="dark"] .kb-dfoot {
  background: var(--ui-dk-raised);
  border-color: var(--ui-dk-border);
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] .kb-dfoot,
html[data-theme="dark"] .kb-chip:hover {
  color: var(--ui-dk-primary);
}
html[data-theme="dark"] .kb-badge-new {
  background: color-mix(in srgb, var(--ui-accent) 50%, #15171d);
  color: var(--ui-dk-primary);
}
html[data-theme="dark"] .kb-faq-item,
html[data-theme="dark"] .kb-ditem {
  border-bottom-color: var(--ui-dk-border);
}
html[data-theme="dark"] .kb-ditem.sel,
html[data-theme="dark"] .kb-ditem:hover {
  background: color-mix(in srgb, var(--ui-accent) 50%, #15171d);
}
html[data-theme="dark"] .kb-facet.on {
  background: var(--ui-accent);
  border-color: var(--ui-accent);
  color: #fff;
}
html[data-theme="dark"] .kb-rcard .t {
  color: var(--ui-dk-head);
}
html[data-theme="dark"] :is(.kb-dmeta, .kb-dempty .sub, .kb-rcard .m, .kb-hints, .kb-search-field > i,
  .kb-search-clear) {
  color: var(--ui-dk-muted);
}
html[data-theme="dark"] :is(.kb-dsnip, .kb-rcard .s) {
  color: var(--ui-dk-menu);
}
html[data-theme="dark"] :is(.kb-search mark, #kbresults mark) {
  background: #735d1b;
  color: #fff;
}

html[data-theme="dark"] .main-sidebar {
  box-shadow: 1px 0 0 var(--ui-dk-border) !important;
}

.theme-toggle .fa-sun {
  display: none;
}
html[data-theme="dark"] .theme-toggle .fa-sun {
  display: inline-block;
}
html[data-theme="dark"] .theme-toggle .fa-moon {
  display: none;
}

html[data-theme="dark"] tr[style*="background"] > td {
  background-color: rgba(21, 23, 29, .25);
  color: #2c3038 !important;
}
html[data-theme="dark"] tr[style*="background"]:hover > td {
  background-color: rgba(21, 23, 29, .45) !important;
}
html[data-theme="dark"] td[style*="background"] {
  box-shadow: inset 0 0 0 100vmax rgba(21, 23, 29, .25);
  color: #2c3038 !important;
}
html[data-theme="dark"] .btn-warning,
html[data-theme="dark"] .btn-warning:disabled,
html[data-theme="dark"] .btn-warning.disabled {
  background-color: color-mix(in srgb, var(--ui-dk-warning) 20%, var(--ui-dk-surface));
  border-color: color-mix(in srgb, var(--ui-dk-warning) 45%, var(--ui-dk-surface));
  color: var(--ui-dk-warning);
}
html[data-theme="dark"] .btn-warning:hover,
html[data-theme="dark"] .btn-warning:focus,
html[data-theme="dark"] .btn-warning:not(:disabled):not(.disabled):active,
html[data-theme="dark"] .show > .btn-warning.dropdown-toggle {
  background-color: color-mix(in srgb, var(--ui-dk-warning) 32%, var(--ui-dk-surface));
  border-color: color-mix(in srgb, var(--ui-dk-warning) 60%, var(--ui-dk-surface));
  color: #ffd978;
}

html[data-theme="dark"] .zev {
  background: var(--ui-dk-raised, #252932);
  border-color: var(--ui-dk-border, #3a3f4b);
  color: #c6ccd6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);
}
html[data-theme="dark"] .zev-title {
  color: var(--ui-dk-text, #e6e8ec);
}
html[data-theme="dark"] .zev-time {
  color: var(--ui-dk-muted, #9aa3b2);
}
html[data-theme="dark"] .zev-clickable:hover {
  border-color: var(--ui-dk-border-strong, #6a7386);
}
html[data-theme="dark"] .zev-go {
  color: var(--ui-link, #a89ee1);
}
html[data-theme="dark"] .zev-close:hover {
  background: #2b2f39;
  color: #c6ccd6;
}
html[data-theme="dark"] .zev-info {
  --zev-line: #3fa7c4;
  --zev-tint: #16323a;
  --zev-ico: #6fd3ea;
}
html[data-theme="dark"] .zev-success {
  --zev-line: #3fb950;
  --zev-tint: #14301f;
  --zev-ico: #6fe09a;
}
html[data-theme="dark"] .zev-warning {
  --zev-line: #ffc94d;
  --zev-tint: #3a2f14;
  --zev-ico: #ffd970;
}
html[data-theme="dark"] .zev-error {
  --zev-line: #e5536b;
  --zev-tint: #421c26;
  --zev-ico: #ff8fa3;
}

html[data-theme="dark"] .cke {
  background: var(--ui-dk-surface, #1d2027);
  border-color: var(--ui-dk-border, #3a3f4b) !important;
}
html[data-theme="dark"] :is(.cke_top, .cke_bottom, .cke_toolgroup, .cke_combo_button) {
  background: var(--ui-dk-raised, #252932) !important;
  border-color: var(--ui-dk-border, #3a3f4b) !important;
  color: var(--ui-dk-text, #e6e8ec) !important;
}
html[data-theme="dark"] .cke_button_icon {
  filter: invert(1) hue-rotate(180deg);
}
html[data-theme="dark"] :is(.cke_button_label, .cke_combo_text) {
  color: var(--ui-dk-text, #e6e8ec) !important;
}
html[data-theme="dark"] .cke_combo_arrow {
  border-top-color: var(--ui-dk-text, #e6e8ec);
}
html[data-theme="dark"] .cke_button:hover,
html[data-theme="dark"] .cke_combo_button:hover {
  background: #2b2f39 !important;
}
html[data-theme="dark"] a.cke_button_on {
  background: #3a3f4b !important;
  border-color: var(--ui-dk-border-strong, #6a7386) !important;
}
html[data-theme="dark"] a.cke_dialog_tab,
html[data-theme="dark"] a.cke_dialog_ui_button {
  color: #484848;
}
html[data-theme="dark"] a.cke_dialog_ui_button_ok {
  color: #fff;
}
html[data-theme="dark"] .cke_dialog_background_cover {
  background: rgba(0, 0, 0, .55) !important;
}

html[data-theme="dark"] .multiselectwidget .selector {
  background-color: #1a1d23;
  border-color: #3a3f4b;
  color: #e6e8ec;
}
html[data-theme="dark"] .multiselectwidget .selector .value > span {
  background-color: #2b2f39;
}
html[data-theme="dark"] .multiselectwidget .selector .value span.noselect {
  color: #9aa3b2;
}
html[data-theme="dark"] .multiselectwidget .values {
  background: #1d2027;
}
html[data-theme="dark"] .multiselectwidget .values li.selected {
  background-color: #16351f;
}
html[data-theme="dark"] .multiselectwidget .values li:hover {
  background-color: #23262d;
}
html[data-theme="dark"] .multiselectwidget .notfound {
  color: #9aa3b2;
}
html[data-theme="dark"] .multiselectwidget.readonly > span {
  background-color: #2b2f39;
}
