/* Active top-chrome theme — LIGHT.
 *
 * Filename retained as `dark.css` because it's wired through
 * `<link id="style_color">` in header-assets.php. The contents below
 * implement the LIGHT navbar option that pairs with the modernized
 * chrome-search / chrome-create work on this branch.
 *
 * Base tokens live in assets/css/design-system/tokens.css. This file consumes
 * the --tt-chrome-* aliases so chrome can evolve without hard-coding a new
 * color system into every selector.
 *
 * Sidebar styling below modernizes the left chrome into a compact
 * primary rail with an optional module submenu panel.
 */

:root {
    --tt-indigo-accent: var(--ds-color-action-primary);
    --tt-indigo-accent-hover: var(--ds-color-action-primary-hover);
    --tt-indigo-accent-soft: var(--ds-color-action-primary-subtle);
    --tt-indigo-accent-softer: var(--ds-surface-hover);
    --tt-indigo-accent-strong: var(--ds-nav-item-preview-bg);
    --tt-indigo-icon-bg: var(--ds-nav-icon-inactive-bg);
    --tt-indigo-icon-bg-hover: var(--ds-nav-icon-hover-bg);
    --tt-indigo-panel-icon-bg: var(--ds-color-action-primary-subtle);
    --tt-indigo-panel-icon-color: var(--ds-color-action-primary);
    --tt-chrome-dock-bg: var(--ds-sidebar-gradient);
    --tt-chrome-dock-border: var(--ds-sidebar-divider);
    --tt-chrome-dock-shadow: var(--ds-sidebar-shadow);
}

/*** Shared stacking contract for modernized chrome surfaces ***/
.modal-backdrop,
.modal-backdrop.fade.in {
    z-index: var(--ds-modal-backdrop-z-index, var(--tt-z-modal-backdrop, 10040)) !important;
}

.modal-scrollable {
    z-index: var(--ds-modal-scrollable-z-index, var(--tt-z-modal, 10050)) !important;
}

.modal.tt-modal,
.modal[data-tt-component="modal"],
.tt-modal.modal,
.tt-contact-source-modal,
.tt-contact-bulk-groups-modal,
.tt-contact-bulk-subscriber-lists-modal {
    z-index: var(--ds-modal-z-index, var(--tt-z-modal, 10050)) !important;
}

.modal[data-tt-modal-layer="nested"],
.tt-modal[data-tt-modal-layer="nested"] {
    z-index: var(--tt-z-modal-nested, 10060) !important;
}

.modal[data-tt-component="modal"] .dropdown-menu,
.modal[data-tt-component="modal"] .select2-drop,
.modal[data-tt-component="modal"] .select2-dropdown,
.modal[data-tt-component="modal"] .chosen-container .chosen-drop,
.modal[data-tt-component="modal"] .chzn-container .chzn-drop,
.tt-modal .dropdown-menu,
.tt-modal .select2-drop,
.tt-modal .select2-dropdown,
.tt-modal .chosen-container .chosen-drop,
.tt-modal .chzn-container .chzn-drop {
    z-index: var(--tt-z-modal-popover, 10070) !important;
}

.modal[data-tt-component="modal"] .tooltip,
.modal[data-tt-component="modal"] .popover,
.tt-modal .tooltip,
.tt-modal .popover {
    z-index: var(--tt-z-modal-tooltip, 10080) !important;
}

/*** Top navbar — light ***/
.header .navbar-inner {
    position: relative;
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
    filter: none !important;
    background-image: none !important;
    background-color: var(--tt-chrome-topbar-bg, #ffffff) !important;
    border-bottom: 1px solid var(--tt-chrome-topbar-border, #e5e7eb);
    box-shadow: none;
    padding-left: 0;
}

.header .navbar-inner > div {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    height: var(--tt-chrome-topbar-height, 52px);
    min-height: var(--tt-chrome-topbar-height, 52px);
}

.tt-top-brand {
    width: 96px;
    height: var(--tt-chrome-topbar-height, 52px);
    flex: 0 0 96px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none !important;
}

.tt-top-brand:hover,
.tt-top-brand:focus {
    text-decoration: none !important;
}

.tt-top-brand-mark {
    width: 76px;
    height: var(--tt-chrome-topbar-height, 52px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.tt-top-brand-mark img,
.tt-top-brand-mark svg {
    width: 76px;
    max-width: 76px;
    height: auto;
    max-height: 28px;
    display: block;
}

[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-top-brand-mark img,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-top-brand-mark img,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-top-brand-mark img {
    filter: brightness(0) invert(1) !important;
}

.tt-crm-detail-breadcrumb {
    align-items: flex-start;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 22px 0 10px;
    min-width: 0;
}

.tt-crm-list-breadcrumb {
    margin: 0;
}

.tt-crm-detail-breadcrumb__trail {
    align-items: center;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: 16px;
    font-weight: 600;
    gap: 12px;
    letter-spacing: 0;
    line-height: 24px;
    min-width: 0;
}

.tt-crm-detail-breadcrumb__back {
    align-items: center;
    color: #2079b8 !important;
    display: inline-flex;
    gap: 8px;
    text-decoration: none !important;
}

.tt-crm-detail-breadcrumb__back:hover,
.tt-crm-detail-breadcrumb__back:focus {
    color: #0f67a6 !important;
    text-decoration: none !important;
}

.tt-crm-detail-breadcrumb__back i {
    font-size: 20px;
    line-height: 1;
}

.tt-crm-detail-breadcrumb__dot {
    background: #64748b;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 auto;
    height: 5px;
    opacity: .75;
    width: 5px;
}

.tt-crm-detail-breadcrumb__icon {
    align-items: center;
    background: #eef6ff;
    border-radius: 8px;
    color: #247ac0;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.tt-crm-detail-breadcrumb__icon i {
    font-size: 18px;
    line-height: 1;
}

.tt-crm-detail-breadcrumb__module,
.tt-crm-detail-breadcrumb__section,
.tt-crm-detail-breadcrumb__chevron {
    color: #64748b;
}

.tt-crm-detail-breadcrumb__chevron {
    font-size: 20px;
    line-height: 1;
}

.tt-crm-detail-breadcrumb__title {
    color: #111827;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 40px;
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-crm-detail-breadcrumb__trail,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-crm-detail-breadcrumb__trail,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-crm-detail-breadcrumb__trail {
    color: #9fb1c8;
}

[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-crm-detail-breadcrumb__back,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-crm-detail-breadcrumb__back,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-crm-detail-breadcrumb__back {
    color: #8cc8ff !important;
}

[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-crm-detail-breadcrumb__back:hover,
[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-crm-detail-breadcrumb__back:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-crm-detail-breadcrumb__back:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-crm-detail-breadcrumb__back:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-crm-detail-breadcrumb__back:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-crm-detail-breadcrumb__back:focus {
    color: #b7ddff !important;
}

[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-crm-detail-breadcrumb__dot,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-crm-detail-breadcrumb__dot,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-crm-detail-breadcrumb__dot {
    background: #94a3b8;
}

[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-crm-detail-breadcrumb__icon,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-crm-detail-breadcrumb__icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-crm-detail-breadcrumb__icon {
    background: rgba(45, 126, 198, .18);
    color: #8cc8ff;
}

[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-crm-detail-breadcrumb__module,
[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-crm-detail-breadcrumb__section,
[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-crm-detail-breadcrumb__chevron,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-crm-detail-breadcrumb__module,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-crm-detail-breadcrumb__section,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-crm-detail-breadcrumb__chevron,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-crm-detail-breadcrumb__module,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-crm-detail-breadcrumb__section,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-crm-detail-breadcrumb__chevron {
    color: #c6d3e2;
}

[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-crm-detail-breadcrumb__title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-crm-detail-breadcrumb__title,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-crm-detail-breadcrumb__title {
    color: #f8fafc;
}

.header .brand {
    display: none !important;
}

.header .brand:after {
    display: none !important;
    content: none !important;
}

/* Legacy list pages still use `.btn-icon` for filter controls. Keep them
 * light even when the OS prefers dark so they do not read as black blocks. */
.cont-list-opt .filter-group [data-btn="filter"].btn-icon,
.cont-list-opt .filter-group .filter-btn.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    background: var(--ds-button-neutral-bg, #fff) !important;
    color: var(--ds-text-secondary, #475569) !important;
    border: 1px solid var(--ds-border-default, #e2e8f0) !important;
    border-radius: var(--ds-radius-sm, 6px) !important;
    box-shadow: none !important;
}

.cont-list-opt .filter-group [data-btn="filter"].btn-icon:hover,
.cont-list-opt .filter-group [data-btn="filter"].btn-icon:focus,
.cont-list-opt .filter-group .filter-btn.btn-icon:hover,
.cont-list-opt .filter-group .filter-btn.btn-icon:focus {
    background: var(--ds-color-action-primary-subtle, #e8f3ff) !important;
    color: var(--ds-color-action-primary, #2563eb) !important;
    border-color: var(--ds-action-primary-border, rgba(37, 99, 235, .28)) !important;
}

.cont-list-opt .filter-group [data-btn="filter"].btn-icon i,
.cont-list-opt .filter-group .filter-btn.btn-icon i {
    color: currentColor !important;
}

/* Sidebar rail toggle. This controls the left rail, so anchor it to the
 * logo/rail boundary instead of letting it read as a global nav item. */
.header .btn-navbar { background-color: transparent !important; color: var(--ds-text-secondary, #475569) !important; }
.header .btn-navbar:hover { background-color: var(--ds-surface-hover, #f1f5f9) !important; color: var(--ds-text-primary, #1f2937) !important; }
.sidebar-toggler.nav-menu-icon {
    position: absolute;
    top: 12px;
    left: 116px;
    z-index: 12;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--ds-text-secondary, #475569) !important;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.header .sidebar-toggler.nav-menu-icon {
    display: none !important;
}
.sidebar-toggler.nav-menu-icon:hover,
.sidebar-toggler.nav-menu-icon:focus-visible {
    background: var(--ds-color-action-primary-subtle) !important;
    color: var(--ds-color-action-primary) !important;
    outline: none;
}
.sidebar-toggle-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
}
.sidebar-toggle-icon svg {
    width: 18px;
    height: 18px;
}
.sidebar-toggle-icon-closed {
    display: none;
}
.page-sidebar-closed .sidebar-toggle-icon-open {
    display: none;
}
.page-sidebar-closed .sidebar-toggle-icon-closed {
    display: inline-flex;
}

/*** Primary rail + module submenu ***/
.page-container .page-sidebar {
    position: fixed !important;
    top: 60px !important;
    bottom: 8px !important;
    left: 8px !important;
    right: auto !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    overflow: visible !important;
    background: var(--ds-sidebar-gradient) !important;
    border: 1px solid var(--ds-sidebar-divider);
    border-radius: var(--ds-radius-md);
    box-shadow: var(--ds-sidebar-shadow) !important;
    pointer-events: auto;
    z-index: 1002 !important;
}

.page-sidebar .scroll-wrapper {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    overflow: visible !important;
    background: var(--ds-sidebar-gradient);
    border-radius: var(--ds-radius-md);
    isolation: isolate;
}

.menu-bg-wrap {
    top: 60px !important;
    bottom: 8px !important;
    left: 8px !important;
    right: auto !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    background: var(--ds-sidebar-gradient) !important;
    border: 1px solid var(--ds-sidebar-divider);
    border-radius: var(--ds-radius-md);
    box-shadow: var(--ds-sidebar-shadow) !important;
    isolation: isolate;
}

.page-container .page-sidebar::after,
.page-sidebar .scroll-wrapper::after,
.menu-bg-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: var(--ds-sidebar-grain-opacity);
    background-image: var(--ds-sidebar-grain);
    background-size: 96px 96px;
    mix-blend-mode: screen;
}

ul.page-sidebar-menu {
    position: relative;
    z-index: 1;
    width: 64px !important;
    padding: 7px 0 10px !important;
    margin: 0 !important;
}

.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu,
.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu,
body.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    padding-top: 6px !important;
}

ul.page-sidebar-menu > li.tt-rail-overflow-hidden {
    display: none !important;
}

.tt-rail-brand {
    display: none !important;
}

.tt-rail-brand-mark {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--ds-nav-icon-inactive-bg);
}

.tt-rail-brand-mark svg {
    width: 22px;
    height: 30px;
    display: block;
}

ul.page-sidebar-menu > li {
    position: relative !important;
    width: 64px;
    height: 56px;
    margin: 2px 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.page-sidebar ul.page-sidebar-menu > li:hover,
.page-sidebar ul.page-sidebar-menu > li.open,
.page-sidebar ul.page-sidebar-menu > li.active {
    position: relative !important;
    width: 64px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

ul.page-sidebar-menu > li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: auto;
    width: 3px;
    height: 30px;
    border-radius: 0 3px 3px 0;
    background: transparent;
}

ul.page-sidebar-menu > li.is-previewing:after,
.page-sidebar.tt-module-panel-pinned ul.page-sidebar-menu > li.active:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    z-index: 1004;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid var(--ds-surface-raised);
    filter: drop-shadow(-2px 0 2px var(--ds-border-subtle));
    transform: translateY(-50%);
    pointer-events: none;
}

ul.page-sidebar-menu > li > a {
    width: 54px !important;
    min-width: 54px !important;
    height: 49px;
    flex: 0 0 54px;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 3px 2px 2px !important;
    border: 0 !important;
    border-radius: 7px !important;
    color: var(--ds-text-inverse) !important;
    background: transparent !important;
    text-align: center;
    overflow: visible !important;
    position: relative !important;
    left: auto !important;
    transform: none !important;
}

.page-sidebar ul.page-sidebar-menu > li.active > a,
.page-sidebar ul.page-sidebar-menu > li.open > a,
.page-sidebar ul.page-sidebar-menu > li > a:hover,
.page-sidebar ul.page-sidebar-menu > li:hover > a,
.page-sidebar ul.page-sidebar-menu > li > a:focus {
    width: 54px !important;
    min-width: 54px !important;
    height: 49px !important;
    flex: 0 0 54px !important;
    margin: 0 !important;
    padding: 3px 2px 2px !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

ul.page-sidebar-menu > li > a i,
.tt-rail-icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    color: var(--ds-text-inverse, #ffffff) !important;
    border-radius: 7px;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 17px !important;
    line-height: 1;
    text-align: center;
    transform: none !important;
    transition: background-color .12s ease, color .12s ease, transform .12s ease, box-shadow .12s ease;
}

ul.page-sidebar-menu > li > a .tt-rail-icon,
ul.page-sidebar-menu > li.active > a .tt-rail-icon,
ul.page-sidebar-menu > li.open > a .tt-rail-icon,
ul.page-sidebar-menu > li:hover > a .tt-rail-icon,
ul.page-sidebar-menu > li > a:hover .tt-rail-icon,
ul.page-sidebar-menu > li > a:focus .tt-rail-icon {
    margin: 0 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

ul.page-sidebar-menu > li:hover > a .tt-rail-icon,
ul.page-sidebar-menu > li > a:hover .tt-rail-icon,
ul.page-sidebar-menu > li > a:focus .tt-rail-icon,
ul.page-sidebar-menu > li.is-previewing > a .tt-rail-icon {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
    border-radius: 9px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ds-text-inverse, #ffffff) !important;
}

ul.page-sidebar-menu > li.active > a .tt-rail-icon {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: var(--ds-text-inverse, #ffffff) !important;
    box-shadow: none !important;
}

.tt-rail-icon svg {
    width: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    height: 17px !important;
    max-height: 17px !important;
    display: block !important;
    flex: 0 0 17px !important;
    overflow: visible;
}

.tt-rail-icon-help svg,
.tt-module-sidebar__title-icon .tt-rail-icon-feedback svg,
.tt-rail-more-panel__item .tt-rail-icon-feedback svg,
.tt-rail-more-panel__destination-icon.tt-rail-icon-feedback svg {
    width: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    height: 17px !important;
    max-height: 17px !important;
    flex: 0 0 17px !important;
    overflow: hidden !important;
}

.page-container .page-sidebar ul.page-sidebar-menu > li.tt-rail-help,
.page-container .page-sidebar ul.page-sidebar-menu > li.tt-rail-help > a {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 58px !important;
    max-height: 58px !important;
    overflow: hidden !important;
}

.page-container .page-sidebar ul.page-sidebar-menu {
    position: relative !important;
    padding-bottom: 96px !important;
}

.page-container .page-sidebar ul.page-sidebar-menu > li.tt-rail-help {
    position: fixed !important;
    bottom: 14px !important;
    left: 11px !important;
    z-index: 5 !important;
    margin: 0 !important;
}

.page-container .page-sidebar ul.page-sidebar-menu > li.tt-rail-help::before {
    display: none !important;
}

.page-container .page-sidebar ul.page-sidebar-menu > li.tt-rail-help > a > .tt-rail-label {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.page-container .page-sidebar ul.page-sidebar-menu > li.tt-rail-help .tt-rail-icon-help {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    max-height: 34px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .10) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18) !important;
    overflow: hidden !important;
}

.page-container .page-sidebar ul.page-sidebar-menu > li.tt-rail-help .tt-rail-icon-help svg {
    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    height: 22px !important;
    max-height: 22px !important;
}

.tt-rail-icon svg * {
    stroke-width: 1.65;
}
ul.page-sidebar-menu > li:not(.active) > a .tt-rail-icon svg,
ul.page-sidebar-menu > li:not(.active) > a .tt-rail-icon svg * {
    color: var(--ds-text-inverse, #ffffff) !important;
    stroke: currentColor !important;
}
ul.page-sidebar-menu > li:not(.active) > a .tt-rail-icon svg [fill]:not([fill="none"]) {
    fill: currentColor !important;
}

ul.page-sidebar-menu > li > a i:before {
    width: 17px;
    display: block;
    text-align: center;
}

ul.page-sidebar-menu > li > a .arrow,
ul.page-sidebar-menu > li > a .selected {
    display: none !important;
}

ul.page-sidebar-menu li > a .title {
    position: static;
    left: auto;
    top: auto;
    z-index: auto;
    width: 62px;
    max-width: 62px;
    display: block;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit !important;
    font-size: 9.6px;
    font-weight: 700;
    line-height: 1.08;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: color .12s ease;
}

.page-container .page-sidebar ul.page-sidebar-menu > li > a > .title {
    position: static !important;
    left: auto !important;
    top: auto !important;
    z-index: auto !important;
    display: block !important;
    width: 62px !important;
    max-width: 62px !important;
    height: auto !important;
    min-height: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: 9.6px !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    text-align: center !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

.page-container .page-sidebar ul.page-sidebar-menu > li > a > .tt-rail-label,
.page-sidebar-closed .page-container .page-sidebar ul.page-sidebar-menu > li > a > .tt-rail-label,
body.page-sidebar-closed .page-container .page-sidebar ul.page-sidebar-menu > li > a > .tt-rail-label {
    position: static !important;
    display: block !important;
    width: 58px !important;
    max-width: 58px !important;
    height: auto !important;
    min-height: 13px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    font-size: 9.4px !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-shadow: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}

ul.page-sidebar-menu li > a .title:before {
    display: none;
}

ul.page-sidebar-menu > li:hover > a .title,
ul.page-sidebar-menu > li > a:focus .title {
    opacity: 1;
    transform: none;
}

.page-sidebar.tt-has-module-panel ul.page-sidebar-menu > li[data-tt-module-key]:hover > a .title,
.page-sidebar.tt-has-module-panel ul.page-sidebar-menu > li[data-tt-module-key] > a:focus .title {
    opacity: 1;
    transform: none;
}

.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a,
.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a,
body.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    flex-basis: 46px !important;
    min-height: 46px !important;
    gap: 0 !important;
    padding: 0 !important;
    border-radius: 11px !important;
}

.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li,
.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li,
body.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li:hover,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li.open,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li.active {
    height: 48px !important;
    margin: 0 !important;
}

.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a .tt-rail-icon,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li.active > a .tt-rail-icon,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li.open > a .tt-rail-icon,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li:hover > a .tt-rail-icon,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a:hover .tt-rail-icon,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a:focus .tt-rail-icon,
.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a .tt-rail-icon,
body.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a .tt-rail-icon {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
    border-radius: 11px !important;
}

.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li:before,
.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li:before,
body.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li:before {
    top: 9px !important;
    height: 30px !important;
}

.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a .tt-rail-icon svg,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li.active > a .tt-rail-icon svg,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li.open > a .tt-rail-icon svg,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li:hover > a .tt-rail-icon svg,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a:hover .tt-rail-icon svg,
.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a:focus .tt-rail-icon svg,
.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a .tt-rail-icon svg,
body.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a .tt-rail-icon svg {
    width: 21px !important;
    min-width: 21px !important;
    max-width: 21px !important;
    height: 21px !important;
    max-height: 21px !important;
    flex: 0 0 21px !important;
}

.page-container .page-sidebar.tt-dock-icons-only .tt-rail-more > a,
.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only .tt-rail-more > a,
body.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only .tt-rail-more > a {
    height: 38px !important;
    flex-basis: 38px !important;
    gap: 0 !important;
    padding: 3px 0 !important;
}

.page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a > .tt-rail-label,
.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a > .tt-rail-label,
body.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only ul.page-sidebar-menu > li > a > .tt-rail-label {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.tt-rail-icon-more {
    position: relative;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .10) !important;
    color: #ffffff !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04) !important;
}

.page-container .page-sidebar.tt-dock-icons-only .tt-rail-icon-more,
.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only .tt-rail-icon-more,
body.page-sidebar-closed .page-container .page-sidebar.tt-dock-icons-only .tt-rail-icon-more {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    flex-basis: 32px !important;
    border-radius: 10px !important;
}

.tt-rail-more > a {
    height: 62px !important;
    flex-basis: 62px !important;
    gap: 6px !important;
    padding-top: 3px !important;
    padding-bottom: 4px !important;
}

.tt-rail-more:hover > a,
.tt-rail-more.is-open > a,
.tt-rail-more > a:focus {
    background: transparent !important;
}

.tt-rail-more:hover .tt-rail-icon-more,
.tt-rail-more.is-open .tt-rail-icon-more,
.tt-rail-more > a:focus .tt-rail-icon-more {
    background: rgba(255, 255, 255, .16) !important;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, .06),
        0 6px 16px rgba(0, 0, 0, .10) !important;
}

.tt-rail-icon-more__dots,
.tt-rail-icon-more__apps {
    transition: opacity .14s ease, transform .14s ease;
}

.tt-rail-icon-more__dots {
    width: 22px !important;
    height: 22px !important;
}

.tt-rail-icon-more__apps {
    position: absolute;
    width: 22px !important;
    height: 22px !important;
    opacity: 0;
    transform: scale(.84);
}

.tt-rail-more:hover .tt-rail-icon-more__dots,
.tt-rail-more.is-open .tt-rail-icon-more__dots {
    opacity: 0;
    transform: scale(.82);
}

.tt-rail-more:hover .tt-rail-icon-more__apps,
.tt-rail-more.is-open .tt-rail-icon-more__apps {
    opacity: 1;
    transform: scale(1);
}

ul.page-sidebar-menu > li.active:before {
    background: var(--ds-nav-active-indicator);
}

.tt-nav-customize-lock {
    overflow: hidden !important;
}

ul.page-sidebar-menu > li > a:hover,
ul.page-sidebar-menu > li:hover > a,
ul.page-sidebar-menu > li > a:focus {
    background: transparent !important;
    color: var(--ds-nav-icon-active-color) !important;
    border: 0 !important;
}

ul.page-sidebar-menu > li.active > a,
ul.page-sidebar-menu > li.active > a:hover,
ul.page-sidebar-menu > li.active:hover > a,
ul.page-sidebar-menu > li.active > a:focus {
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ds-nav-icon-active-color) !important;
    border: 0 !important;
}

ul.page-sidebar-menu > li.is-previewing:not(.active) > a,
ul.page-sidebar-menu > li.is-previewing:not(.active) > a:hover,
ul.page-sidebar-menu > li.is-previewing:not(.active):hover > a,
ul.page-sidebar-menu > li.is-previewing:not(.active) > a:focus {
    background: transparent !important;
    color: var(--ds-nav-icon-active-color) !important;
    border: 0 !important;
}

ul.page-sidebar-menu > li > .sub-menu,
ul.page-sidebar-menu > li:hover > .sub-menu {
    display: none !important;
}

.tt-rail-more {
    display: none !important;
}

.tt-rail-more.is-visible {
    display: flex !important;
}

.tt-rail-user-hidden {
    display: none !important;
}

.tt-rail-more.is-open > a,
.tt-rail-more.is-open > a:hover,
.tt-rail-more.is-open:hover > a,
.tt-rail-more.is-open > a:focus {
    background: var(--ds-nav-item-hover-bg) !important;
    color: var(--ds-nav-icon-active-color) !important;
}

.tt-rail-more-panel {
    position: fixed;
    left: 80px;
    z-index: 22040;
    display: none;
    width: 304px;
    max-height: min(760px, calc(100vh - 96px));
    box-sizing: border-box;
    padding: 18px 16px 20px;
    overflow: hidden;
    border: 1px solid var(--tt-chrome-panel-border);
    border-radius: 14px;
    background: var(--tt-chrome-panel-bg);
    box-shadow:
        0 18px 38px -24px rgba(15, 23, 42, .24),
        12px 14px 30px -24px rgba(15, 23, 42, .20),
        0 2px 8px rgba(15, 23, 42, .05);
}

.tt-rail-more-panel:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -16px;
    width: 16px;
    background: transparent;
}

.tt-rail-more-panel.is-open {
    display: flex;
    flex-direction: column;
}

.tt-rail-more-panel__section {
    min-height: 0;
    flex: 0 0 auto;
}

.tt-rail-more-panel__section + .tt-rail-more-panel__section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--ds-border-subtle);
}

.tt-rail-more-panel__section.is-empty {
    display: none;
}

.tt-rail-more-panel__section[data-tt-more-destinations-section] {
    flex: 0 0 auto;
    overflow: visible;
}

.tt-rail-more-panel__heading {
    margin: 0 2px 10px;
    color: var(--ds-text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tt-rail-more-panel__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 10px;
}

.tt-rail-more-panel__item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 8px 4px 10px;
    border-radius: var(--ds-radius-sm);
    color: var(--ds-text-primary);
    font-size: var(--ds-font-size-xs);
    font-weight: var(--ds-font-weight-medium);
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    overflow: visible;
}

.tt-rail-more-panel__item:hover,
.tt-rail-more-panel__item:focus,
.tt-rail-more-panel__item.is-active {
    background: var(--ds-surface-hover);
    color: var(--ds-color-action-primary);
    text-decoration: none;
}

.tt-rail-more-panel__item .tt-rail-icon {
    width: 36px;
    min-width: 36px;
    height: 36px;
    flex: 0 0 36px;
    background: var(--ds-color-action-primary-subtle) !important;
    color: var(--ds-color-action-primary) !important;
    box-shadow: none;
}

.tt-rail-more-panel__item .tt-rail-icon svg {
    width: 19px;
    height: 19px;
}

.tt-rail-more-panel__label {
    max-width: 72px;
    overflow: hidden;
    padding-bottom: 2px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-rail-more-panel__destinations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, .34) transparent;
}

.tt-rail-more-panel__destinations::-webkit-scrollbar {
    width: 8px;
}

.tt-rail-more-panel__destinations::-webkit-scrollbar-track {
    background: transparent;
}

.tt-rail-more-panel__destinations::-webkit-scrollbar-thumb {
    min-height: 44px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(100, 116, 139, .28);
    background-clip: padding-box;
}

.tt-rail-more-panel__destinations:hover::-webkit-scrollbar-thumb,
.tt-rail-more-panel__destinations:focus-within::-webkit-scrollbar-thumb {
    background: rgba(71, 85, 105, .44);
    background-clip: padding-box;
}

.tt-rail-more-panel__destination {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    min-height: 82px;
    width: 100%;
    padding: 8px 4px 10px;
    border: 0;
    border-radius: var(--ds-radius-sm);
    background: transparent;
    color: var(--ds-text-primary);
    font: inherit;
    text-align: center;
    text-decoration: none;
    overflow: visible;
    cursor: pointer;
}

.tt-rail-more-panel__destination:hover,
.tt-rail-more-panel__destination:focus {
    background: var(--ds-surface-hover);
    color: var(--ds-text-primary);
    text-decoration: none;
}

.tt-rail-more-panel__destination-icon {
    width: 30px;
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
    box-shadow: none;
}

.tt-rail-more-panel__destination-icon svg,
.tt-rail-more-panel__destination-icon .tt-rail-icon,
.tt-rail-more-panel__destination-icon.tt-rail-icon {
    width: 17px;
    height: 17px;
}

.tt-rail-more-panel__destination-icon.tt-rail-icon {
    min-width: 30px;
    flex: 0 0 30px;
    background: var(--ds-color-action-primary-subtle) !important;
    color: var(--ds-color-action-primary) !important;
}

.tt-rail-more-panel__destination-icon--apps svg {
    width: 18px;
    height: 18px;
}

.tt-rail-more-panel__destination-copy {
    min-width: 0;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 2px;
}

.tt-rail-more-panel__destination-copy strong {
    overflow: hidden;
    padding-bottom: 2px;
    color: inherit;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.28;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-rail-more-panel__destination-copy small {
    color: var(--ds-text-muted);
    font-size: 10.5px;
    font-weight: 650;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

.tt-rail-more-panel__pin {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--ds-text-muted);
    opacity: .74;
    cursor: pointer;
    transition: opacity .12s ease, background-color .12s ease, color .12s ease;
}

.tt-rail-more-panel__destination:hover .tt-rail-more-panel__pin,
.tt-rail-more-panel__destination:focus-within .tt-rail-more-panel__pin,
.tt-rail-more-panel__pin.is-pinned {
    opacity: 1;
}

.tt-rail-more-panel__pin svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tt-rail-more-panel__pin:hover,
.tt-rail-more-panel__pin:focus-visible,
.tt-rail-more-panel__pin.is-pinned {
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
    outline: none;
}

.tt-rail-more-panel__customize {
    width: 100%;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 12px;
    border: 1px solid var(--ds-color-action-primary);
    border-radius: var(--ds-radius-sm);
    background: var(--ds-color-action-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 10px 22px -16px rgba(37, 99, 235, .75);
}

.tt-rail-more-panel__customize:hover,
.tt-rail-more-panel__customize:focus-visible {
    border-color: #1d4ed8;
    background: #1d4ed8;
    color: #ffffff;
    outline: none;
    box-shadow: 0 12px 26px -16px rgba(37, 99, 235, .9);
}

.tt-rail-help-panel {
    position: fixed;
    left: 80px;
    z-index: 22045;
    display: none;
    width: 316px;
    box-sizing: border-box;
    padding: 18px;
    border: 1px solid var(--tt-chrome-panel-border);
    border-radius: 14px;
    background: var(--tt-chrome-panel-bg);
    box-shadow:
        0 18px 38px -24px rgba(15, 23, 42, .24),
        12px 14px 30px -24px rgba(15, 23, 42, .20),
        0 2px 8px rgba(15, 23, 42, .05);
}

.tt-rail-help-panel:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -16px;
    width: 16px;
    background: transparent;
}

.tt-rail-help-panel.is-open {
    display: block;
}

.tt-rail-help-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.tt-rail-help-panel__title {
    margin: 0;
    color: var(--ds-text-primary);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.tt-rail-help-panel__subtitle {
    margin: 3px 0 0;
    color: var(--ds-text-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.tt-rail-help-panel__close {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    padding: 0;
    border: 1px solid var(--ds-border-default);
    border-radius: 999px;
    background: var(--ds-surface-raised);
    color: var(--ds-text-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.tt-rail-help-panel__close:hover,
.tt-rail-help-panel__close:focus-visible {
    background: var(--ds-surface-hover);
    color: var(--ds-color-action-primary);
    outline: none;
}

.tt-rail-help-panel__search {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--ds-border-default);
    border-radius: 10px;
    background: var(--ds-surface-raised);
    color: var(--ds-text-primary);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.tt-rail-help-panel__search:hover,
.tt-rail-help-panel__search:focus-visible {
    border-color: var(--ds-color-action-primary);
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
    outline: none;
}

.tt-rail-help-panel__search svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.tt-rail-help-panel__actions {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.tt-rail-help-panel__action {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 8px 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--ds-text-primary);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.tt-rail-help-panel__action:hover,
.tt-rail-help-panel__action:focus-visible {
    background: var(--ds-surface-hover);
    color: var(--ds-color-action-primary);
    text-decoration: none;
    outline: none;
}

.tt-rail-help-panel__action-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    border-radius: 9px;
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
}

.tt-rail-help-panel__action-icon svg {
    width: 16px;
    height: 16px;
}

.tt-rail-help-panel__action-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.tt-rail-help-panel__action-copy small {
    color: var(--ds-text-muted);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.25;
}

.tt-nav-customize {
    position: fixed;
    inset: 0;
    z-index: var(--tt-z-chrome-dialog, 23000);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px 40px 32px 124px;
    overscroll-behavior: contain;
}

.tt-nav-customize.is-open {
    display: flex;
}

body.tt-nav-customize-lock .page-container .page-sidebar {
    z-index: calc(var(--tt-z-chrome-dialog, 23000) + 1) !important;
}

.tt-nav-customize__backdrop {
    position: absolute;
    inset: 0;
    background: var(--ds-modal-backdrop-bg, rgba(15, 23, 42, .45));
}

.tt-nav-customize__dialog {
    position: relative;
    width: min(760px, calc(100vw - 160px));
    max-height: min(760px, calc(100vh - 48px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ds-modal-surface-border, var(--ds-border-default));
    border-radius: 16px;
    background: var(--ds-surface-raised);
    box-shadow: var(--ds-modal-surface-shadow, var(--ds-shadow-popover));
    color: var(--ds-text-primary);
}

.tt-nav-customize__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--ds-surface-muted);
    color: var(--ds-text-secondary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.tt-nav-customize__close:hover,
.tt-nav-customize__close:focus-visible {
    background: var(--ds-surface-hover);
    color: var(--ds-text-primary);
    outline: none;
}

.tt-nav-customize__header {
    padding: 28px 64px 18px 28px;
}

.tt-nav-customize__header h2 {
    margin: 0 0 8px;
    color: var(--ds-text-primary);
    font-size: 25px;
    font-weight: 750;
    line-height: 1.15;
}

.tt-nav-customize__header p {
    margin: 0;
    color: var(--ds-text-secondary);
    font-size: 15px;
    line-height: 1.4;
}

.tt-nav-customize__notice {
    display: none;
    margin: 0 28px 14px;
    padding: 11px 13px;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    background: #f0fdfa;
    color: #0f766e;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.35;
}

.tt-nav-customize__notice.is-visible {
    display: block;
}

.tt-nav-customize__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin: 0 28px 18px;
    padding: 4px;
    border-radius: 12px;
    background: #f4f7fb;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .55);
}

.tt-nav-customize__tabs button {
    min-height: 40px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.tt-nav-customize__tabs button.is-active {
    background: var(--ds-surface-raised);
    color: #0f172a;
    box-shadow:
        0 8px 22px -18px rgba(15, 23, 42, .35),
        0 1px 3px rgba(15, 23, 42, .10);
}

.tt-nav-customize__panel {
    display: block;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 34px 24px;
    box-sizing: border-box;
    overscroll-behavior: contain;
}

.tt-nav-customize__panel.is-active {
    display: block;
}

.tt-nav-customize__section + .tt-nav-customize__section {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--ds-border-subtle);
}

.tt-nav-customize__section-title,
.tt-nav-customize__destination-heading {
    margin-bottom: 10px;
    color: var(--ds-text-muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tt-nav-customize__section-note {
    margin: -4px 0 12px;
    color: var(--ds-text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.35;
}

.tt-nav-customize__appearance-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tt-nav-customize__appearance-option {
    min-width: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--ds-border-default);
    border-radius: 12px;
    background: var(--ds-button-neutral-bg);
    color: var(--ds-text-primary);
    text-align: left;
    cursor: pointer;
}

.tt-nav-customize__appearance-option.is-active {
    border-color: var(--ds-color-action-primary);
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
}

.tt-nav-customize__appearance-option > span:last-child {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.tt-nav-customize__appearance-option strong,
.tt-nav-customize__appearance-option small {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-nav-customize__appearance-option strong {
    font-size: 13.5px;
    font-weight: 750;
}

.tt-nav-customize__appearance-option small {
    color: var(--ds-text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.tt-nav-customize__appearance-preview {
    width: 72px;
    min-width: 72px;
    height: 54px;
    display: inline-flex;
    flex: 0 0 72px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .96) 0 34px, rgba(239, 246, 255, .92) 34px 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55);
}

.tt-nav-customize__appearance-rail-item {
    width: 26px;
    min-width: 26px;
    height: 42px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 8px;
    color: #93c5fd;
}

.tt-nav-customize__appearance-rail-item.is-active {
    background: rgba(255, 255, 255, .13);
    color: #ffffff;
}

.tt-nav-customize__appearance-rail-item > span {
    width: 13px;
    height: 13px;
    border-radius: 5px;
    background: currentColor;
}

.tt-nav-customize__appearance-rail-item small {
    max-width: 24px;
    overflow: hidden;
    color: currentColor;
    font-size: 7px;
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-nav-customize__appearance-preview--icons {
    gap: 5px;
}

.tt-nav-customize__appearance-preview--icons .tt-nav-customize__appearance-rail-item {
    width: 22px;
    min-width: 22px;
}

.tt-nav-customize__appearance-preview--icons .tt-nav-customize__appearance-rail-item > span {
    width: 15px;
    height: 15px;
}

.tt-nav-customize__dock-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.tt-nav-customize__dock-row {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid var(--ds-border-subtle);
    border-radius: 8px;
    background: #fbfdff;
    color: var(--ds-text-primary);
    font-size: 13.5px;
    font-weight: 600;
}

.tt-nav-customize__dock-row input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--ds-color-action-primary);
}

.tt-nav-customize__dock-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.tt-nav-customize__dock-copy strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-nav-customize__current-badge {
    flex: 0 0 auto;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
    font-size: 10px;
    font-weight: 750;
    line-height: 1.4;
    text-transform: uppercase;
}

.tt-nav-customize__destinations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.tt-nav-customize__destination-group {
    min-width: 0;
    padding: 10px;
    border: 1px solid var(--ds-border-subtle);
    border-radius: 10px;
    background: #fbfdff;
}

.tt-nav-customize__destination-group .tt-nav-customize__destination-heading {
    margin: 0 0 6px;
    padding: 0 2px 7px;
    border-bottom: 1px solid var(--ds-border-subtle);
}

.tt-nav-customize__destination-row {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 3px 5px 8px;
    border-radius: 8px;
    color: var(--ds-text-primary);
    font-size: 13px;
    font-weight: 600;
}

.tt-nav-customize__destination-row + .tt-nav-customize__destination-row {
    margin-top: 2px;
}

.tt-nav-customize__destination-row:hover,
.tt-nav-customize__destination-row:focus-within {
    background: var(--ds-surface-hover);
}

.tt-nav-customize__destination-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-nav-customize__pin {
    width: 28px;
    min-width: 28px;
    height: 28px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--ds-text-muted);
    cursor: pointer;
    opacity: .72;
}

.tt-nav-customize__pin svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tt-nav-customize__pin.is-pinned {
    border-color: var(--ds-action-primary-border);
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
    opacity: 1;
}

.tt-nav-customize__pin:hover,
.tt-nav-customize__pin:focus-visible {
    border-color: var(--ds-action-primary-border);
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
    opacity: 1;
    outline: none;
}

.tt-nav-customize__themes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.tt-nav-customize__themes button {
    min-height: 84px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--ds-border-default);
    border-radius: 8px;
    background: var(--ds-button-neutral-bg);
    color: var(--ds-button-neutral-text);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.tt-nav-customize__themes button.is-active {
    border-color: var(--ds-color-action-primary);
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
}

.tt-nav-customize__theme-preview {
    width: 100%;
    height: 28px;
    display: flex;
    flex: 0 0 auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    border-radius: 6px;
    background:
        linear-gradient(135deg, var(--tt-theme-preview-a), var(--tt-theme-preview-b));
}

.tt-nav-customize__theme-dot {
    width: 10px;
    height: 10px;
    position: absolute;
    right: 9px;
    top: 9px;
    border-radius: 999px;
    background: var(--tt-theme-preview-c);
    box-shadow: 0 0 0 2px var(--tt-theme-preview-d);
}

.tt-nav-customize__theme-label {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: 14px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-nav-customize__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 28px;
    border-top: 1px solid var(--ds-border-subtle);
    background: rgba(248, 250, 252, .84);
    color: var(--ds-text-muted);
    font-size: 12.5px;
    font-weight: 650;
}

.tt-nav-customize__done {
    min-height: 34px;
    padding: 0 16px;
    border: 1px solid var(--ds-color-action-primary);
    border-radius: 8px;
    background: var(--ds-color-action-primary);
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.tt-nav-customize__done:hover,
.tt-nav-customize__done:focus-visible {
    background: var(--ds-color-action-primary-hover);
    border-color: var(--ds-color-action-primary-hover);
    outline: none;
}

@media (max-width: 680px) {
    .tt-nav-customize {
        padding: 12px 12px 12px 96px;
    }

    .tt-nav-customize__dock-list,
    .tt-nav-customize__destinations,
    .tt-nav-customize__appearance-toggle,
    .tt-nav-customize__themes {
        grid-template-columns: 1fr;
    }

    .tt-nav-customize__dialog {
        width: calc(100vw - 108px);
    }

    .tt-nav-customize__panel {
        padding-left: 22px;
        padding-right: 22px;
    }
}
.tt-dock-tooltip {
    position: fixed;
    z-index: 22050;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 230px;
    padding: 9px 11px 10px;
    border: 1px solid var(--ds-sidebar-tooltip-border);
    border-radius: 10px;
    background: var(--ds-sidebar-tooltip-bg);
    box-shadow: var(--ds-shadow-popover);
    color: var(--ds-sidebar-tooltip-text);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: .01em;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(8px, -50%) scale(.98);
    transition: opacity .14s ease, transform .14s ease;
}

.tt-dock-tooltip:before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5px;
    width: 10px;
    height: 10px;
    border-left: 1px solid var(--ds-sidebar-tooltip-border);
    border-bottom: 1px solid var(--ds-sidebar-tooltip-border);
    background: var(--ds-sidebar-tooltip-bg);
    transform: translateY(-50%) rotate(45deg);
}

.tt-dock-tooltip.is-visible {
    opacity: 1;
    transform: translate(0, -50%) scale(1);
}

.tt-dock-tooltip__label {
    position: relative;
    z-index: 1;
}

.tt-dock-tooltip__hint {
    position: relative;
    z-index: 1;
    color: var(--ds-sidebar-tooltip-muted);
    font-size: 11px;
    font-weight: 500;
}

.tt-module-sidebar {
    position: fixed;
    top: var(--tt-module-sidebar-top, 72px);
    bottom: 16px;
    left: 80px;
    z-index: 100;
    width: 304px;
    box-sizing: border-box;
    max-height: none;
    padding: 18px 16px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--tt-chrome-panel-bg);
    border: 1px solid var(--tt-chrome-panel-border);
    border-left-color: var(--tt-chrome-panel-border);
    border-radius: 14px;
    box-shadow:
        0 18px 38px -24px rgba(15, 23, 42, .24),
        12px 14px 30px -24px rgba(15, 23, 42, .20),
        0 2px 8px rgba(15, 23, 42, .05);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-4px);
    transition: opacity .08s ease, transform .08s ease, visibility .08s ease;
}

.tt-module-sidebar:before {
    content: '';
    position: absolute;
    top: var(--tt-module-sidebar-arrow-top, 52px);
    left: -8px;
    width: 16px;
    height: 16px;
    border-left: 1px solid var(--tt-chrome-panel-border);
    border-bottom: 1px solid var(--tt-chrome-panel-border);
    background: var(--tt-chrome-panel-bg);
    transform: translateY(-50%) rotate(45deg);
    box-shadow: -3px 3px 8px rgba(15, 23, 42, .04);
}

.tt-module-sidebar.is-previewed,
.tt-module-sidebar.is-pinned {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.tt-module-sidebar,
.tt-module-sidebar__detail {
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, .34) transparent;
}

.tt-module-sidebar::-webkit-scrollbar,
.tt-module-sidebar__detail::-webkit-scrollbar {
    width: 10px;
}

.tt-module-sidebar::-webkit-scrollbar-track,
.tt-module-sidebar__detail::-webkit-scrollbar-track {
    background: transparent;
}

.tt-module-sidebar::-webkit-scrollbar-thumb,
.tt-module-sidebar__detail::-webkit-scrollbar-thumb {
    min-height: 48px;
    border: 3px solid transparent;
    border-radius: 999px;
    background: rgba(100, 116, 139, .38);
    background-clip: padding-box;
}

.tt-module-sidebar:hover::-webkit-scrollbar-thumb,
.tt-module-sidebar:focus-within::-webkit-scrollbar-thumb,
.tt-module-sidebar__detail:hover::-webkit-scrollbar-thumb,
.tt-module-sidebar__detail:focus-within::-webkit-scrollbar-thumb {
    background: rgba(71, 85, 105, .58);
    background-clip: padding-box;
}

.tt-module-sidebar--full,
.tt-module-sidebar--hug,
.tt-module-sidebar--scroll {
    height: auto;
    max-height: none;
    overflow-y: auto;
    padding-bottom: 20px;
}

.tt-module-sidebar--hug {
    bottom: auto !important;
    height: auto !important;
    max-height: calc(100vh - 96px) !important;
}

.tt-module-sidebar--crm {
    overflow-y: auto;
}

.tt-module-sidebar--detail {
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    overflow: visible;
}

.tt-module-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    padding: 0 10px 8px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0;
}

.tt-module-sidebar__title {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
}

.tt-module-sidebar__title-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
}

.tt-module-sidebar__title-icon .tt-rail-icon,
.tt-module-sidebar__title-icon svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: inherit !important;
}

.tt-module-sidebar__pin {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.tt-module-sidebar__pin i {
    font-size: 18px;
    transition: transform .1s ease;
}

.page-sidebar.tt-module-panel-pinned .tt-module-sidebar__pin i {
    transform: rotate(180deg);
}

.tt-module-sidebar__pin:hover,
.tt-module-sidebar__pin:focus-visible {
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
    outline: none;
}

.tt-module-sidebar__list {
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.tt-module-sidebar__favorites {
    margin: 2px 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid #eef2f6;
}

.tt-module-sidebar__favorites.is-empty {
    display: none;
}

.tt-module-sidebar__section-label {
    margin: 8px 10px 4px;
    padding: 10px 2px 3px;
    border-top: 1px solid #eef2f6;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tt-module-sidebar__list > .tt-module-sidebar__section-label:first-child,
.tt-module-sidebar__favorites-list > .tt-module-sidebar__section-label:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.tt-module-sidebar__empty-row {
    padding: 9px 16px 11px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.tt-module-sidebar__recent-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 10px 10px 0;
    padding: 18px 18px 20px;
    border: 1px solid rgba(99, 91, 255, .16);
    border-radius: 16px;
    background: linear-gradient(180deg, #fbfeff 0%, #f0fcff 100%);
    color: #64748b;
    list-style: none;
    text-align: center;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.tt-module-sidebar__recent-empty:before {
    display: none;
}

.tt-module-sidebar__recent-empty strong {
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.tt-module-sidebar__recent-empty span:not(.tt-module-sidebar__recent-empty-graphic) {
    max-width: 260px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
}

.tt-module-sidebar__recent-empty-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 104px;
    margin-bottom: 2px;
}

.tt-module-sidebar__recent-empty-graphic svg {
    display: block;
    width: 100%;
    height: 100%;
}

.tt-recent-empty__halo {
    fill: #eef2ff;
}

.tt-recent-empty__card {
    stroke-width: 2;
}

.tt-recent-empty__card--back {
    fill: #ffffff;
    stroke: #c8f4f7;
}

.tt-recent-empty__card--front {
    fill: #ffffff;
    stroke: #b8eaf0;
    filter: drop-shadow(0 10px 16px rgba(15, 23, 42, .08));
}

.tt-recent-empty__line,
.tt-recent-empty__clock-line,
.tt-recent-empty__orbit,
.tt-recent-empty__arrow {
    fill: none;
    stroke: #0097a7;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tt-recent-empty__line {
    stroke: #94a3b8;
    stroke-width: 3;
}

.tt-recent-empty__clock {
    fill: #dff8fa;
    stroke: #0097a7;
    stroke-width: 4;
}

.tt-recent-empty__spark {
    fill: #2bd0dc;
}

.tt-recent-empty__spark--two {
    fill: #f6c453;
}

.tt-module-sidebar__favorites-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tt-module-sidebar__pinned-list {
    margin-top: 8px;
}

.tt-module-sidebar__pinned-list.is-empty {
    display: none;
}

.tt-module-sidebar__pinned-empty {
    display: none;
    margin: 8px 10px 0;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #64748b;
    line-height: 1.35;
}

.tt-module-sidebar__pinned-empty.is-visible {
    display: block;
}

.tt-module-sidebar__pinned-empty strong,
.tt-module-sidebar__pinned-empty span {
    display: block;
}

.tt-module-sidebar__pinned-empty strong {
    margin-bottom: 6px;
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
}

.tt-module-sidebar__pinned-empty span {
    font-size: 12.5px;
    font-weight: 500;
}

.tt-module-sidebar__notice {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 18px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    background: #f0fdfa;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
    color: #0f766e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .14s ease, transform .14s ease;
}

.tt-module-sidebar__notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tt-module-sidebar__utility--feedback {
    display: none !important;
}

.tt-module-sidebar__list li,
.tt-module-sidebar__favorites-list li {
    position: relative;
    margin: 2px 0;
}

.tt-module-sidebar__list li:before,
.tt-module-sidebar__favorites-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    bottom: 7px;
    width: 3px;
    border-radius: 3px;
    background: transparent;
}

.tt-module-sidebar__list a,
.tt-module-sidebar__favorites-list a {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 7px 40px 7px 14px;
    border-radius: 8px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color .12s ease, color .12s ease, box-shadow .12s ease, transform .12s ease;
}

.tt-module-sidebar__list li.has-meta a {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
}

.tt-module-sidebar__list a small {
    display: block;
    max-width: 100%;
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.1;
    text-transform: uppercase;
}

.tt-module-sidebar--recent .tt-module-sidebar__list li.has-meta a {
    min-height: 36px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 7px 10px 7px 14px;
}

.tt-module-sidebar--recent .tt-module-sidebar__list li.has-meta a span {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-module-sidebar--recent .tt-module-sidebar__list li.has-meta a small {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    max-width: 104px;
    padding: 3px 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--tt-recent-chip-bg, #f1f5f9);
    color: var(--tt-recent-chip-text, #64748b);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.tt-module-sidebar--recent .has-meta-type-contact {
    --tt-recent-chip-bg: #ccfbf1;
    --tt-recent-chip-text: #0f766e;
}

.tt-module-sidebar--recent .has-meta-type-company {
    --tt-recent-chip-bg: #e0e7ff;
    --tt-recent-chip-text: #4338ca;
}

.tt-module-sidebar--recent .has-meta-type-deal {
    --tt-recent-chip-bg: #fef3c7;
    --tt-recent-chip-text: #92400e;
}

.tt-module-sidebar--recent .has-meta-type-invoice {
    --tt-recent-chip-bg: var(--ds-object-invoice-bg, #eff6ff);
    --tt-recent-chip-text: var(--ds-object-invoice-text, #2563eb);
}

.tt-module-sidebar--recent .has-meta-type-estimate {
    --tt-recent-chip-bg: var(--ds-object-estimate-bg, #ecfeff);
    --tt-recent-chip-text: var(--ds-object-estimate-text, #0891b2);
}

.tt-module-sidebar--recent .has-meta-type-subscription {
    --tt-recent-chip-bg: var(--ds-object-subscription-bg, #f0fdf4);
    --tt-recent-chip-text: var(--ds-object-subscription-text, #15803d);
}

.tt-module-sidebar--recent .has-meta-type-dashboard {
    --tt-recent-chip-bg: #f3e8ff;
    --tt-recent-chip-text: #7e22ce;
}

.tt-module-sidebar__pinned-list a {
    padding-left: 34px;
    padding-right: 46px;
}

.tt-module-sidebar__pinned-list li {
    border-radius: 8px;
    cursor: grab;
    transition:
        background-color .14s ease,
        box-shadow .14s ease,
        opacity .14s ease,
        transform .14s ease;
    user-select: none;
    will-change: transform;
}

.tt-module-sidebar__pinned-list.is-drag-sorting li {
    transition:
        background-color .12s ease,
        box-shadow .12s ease,
        opacity .12s ease,
        transform .16s cubic-bezier(.2, .8, .2, 1);
}

.tt-module-sidebar__drag-handle {
    position: absolute;
    left: 8px;
    top: 50%;
    z-index: 1;
    width: 24px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #64748b;
    cursor: grab;
    opacity: 0;
    transform: translateY(-50%);
    transition:
        background-color .14s ease,
        color .14s ease,
        opacity .14s ease,
        transform .14s ease;
}

.tt-module-sidebar__pinned-list li a {
    cursor: grab;
}

body.tt-module-sidebar-is-sorting,
body.tt-module-sidebar-is-sorting * {
    cursor: grabbing !important;
    user-select: none !important;
}

.tt-module-sidebar__drag-handle svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: currentColor;
}

.tt-module-sidebar__pinned-list li:hover,
.tt-module-sidebar__pinned-list li:focus-within {
    background: var(--ds-color-action-primary-subtle);
}

.tt-module-sidebar__pinned-list li:hover a,
.tt-module-sidebar__pinned-list li:focus-within a {
    background: transparent;
    color: var(--ds-color-action-primary);
}

.tt-module-sidebar__pinned-list li:hover .tt-module-sidebar__drag-handle,
.tt-module-sidebar__pinned-list li:focus-within .tt-module-sidebar__drag-handle,
.tt-module-sidebar__pinned-list li.is-dragging .tt-module-sidebar__drag-handle {
    opacity: 1;
    background: rgba(13, 148, 136, .10);
    color: var(--ds-color-action-primary);
}

.tt-module-sidebar__pinned-list .tt-module-sidebar__favorite-toggle.is-pinned {
    opacity: 0;
    pointer-events: none;
}

.tt-module-sidebar__pinned-list li:hover > .tt-module-sidebar__favorite-toggle.is-pinned,
.tt-module-sidebar__pinned-list li:focus-within > .tt-module-sidebar__favorite-toggle.is-pinned {
    opacity: 1;
    pointer-events: auto;
}

.tt-module-sidebar__pinned-list li.is-dragging {
    background: var(--ds-color-action-primary-subtle);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    opacity: .86;
    transform: scale(.995);
}

.tt-module-sidebar__pinned-list li.is-dragging .tt-module-sidebar__drag-handle {
    cursor: grabbing;
    transform: translateY(-50%) scale(1.04);
}

.tt-module-sidebar__pinned-list li.is-drag-over {
    background: #eef2ff;
    color: var(--tt-indigo-accent, #4f46e5);
    box-shadow: inset 0 0 0 1px rgba(99, 91, 255, .28);
}

.tt-module-sidebar__pinned-list li.is-drag-over a {
    background: transparent;
    color: var(--tt-indigo-accent, #4f46e5);
}

.tt-module-sidebar__pinned-list li.is-drag-over .tt-module-sidebar__drag-handle {
    opacity: 1;
    color: var(--tt-indigo-accent, #4f46e5);
}

.tt-module-sidebar__pinned-list li.is-drag-over-before::after,
.tt-module-sidebar__pinned-list li.is-drag-over-after::after {
    content: '';
    position: absolute;
    right: 10px;
    left: 10px;
    height: 2px;
    border-radius: 999px;
    background: var(--tt-indigo-accent, #4f46e5);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
    pointer-events: none;
}

.tt-module-sidebar__pinned-list li.is-drag-over-before::after {
    top: -3px;
}

.tt-module-sidebar__pinned-list li.is-drag-over-after::after {
    bottom: -3px;
}

.tt-module-sidebar__favorites-list a {
    min-height: 42px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    font-size: 14.5px;
}

.tt-module-sidebar__favorites-list a small {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.1;
    text-transform: uppercase;
}

.tt-module-sidebar__list a span,
.tt-module-sidebar__favorites-list a span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-module-sidebar__list a:hover,
.tt-module-sidebar__list a:focus,
.tt-module-sidebar__favorites-list a:hover,
.tt-module-sidebar__favorites-list a:focus {
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
    box-shadow: none;
    text-decoration: none;
}

.tt-module-sidebar__list--crm-master {
    margin-top: 8px;
}

.tt-module-sidebar__list--crm-master li {
    margin: 3px 0;
}

.tt-module-sidebar__list--crm-master .tt-module-sidebar__section-label {
    margin-top: 16px;
}

.tt-module-sidebar__master-item a {
    min-height: 42px;
    padding-right: 50px;
    color: #334155;
    font-size: 13.5px;
    font-weight: 500;
}

.tt-module-sidebar__master-item .tt-module-sidebar__favorite-toggle {
    right: 14px;
    color: #64748b;
}

.tt-module-sidebar__quick-create {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--tt-indigo-accent, #4f46e5);
    font-size: 21px;
    font-weight: 450;
    line-height: 1;
    text-decoration: none;
    transform: translateY(-50%);
    transition: background-color .12s ease, color .12s ease, box-shadow .12s ease;
}

.tt-module-sidebar__quick-create:hover,
.tt-module-sidebar__quick-create:focus {
    background: #eef2ff;
    color: #007f8f;
    box-shadow: inset 0 0 0 1px rgba(99, 91, 255, .16);
    text-decoration: none;
    outline: none;
}

.tt-module-sidebar__quick-create span {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

.tt-module-sidebar__drill-chevron {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    transform: translateY(-50%);
    pointer-events: none;
}

.tt-module-sidebar__drill-chevron svg {
    width: 16px;
    height: 16px;
}

.tt-module-sidebar__master-item.is-detail-open:before,
.tt-module-sidebar__master-item.active:before {
    background: var(--ds-secondary-menu-active-border);
}

.tt-module-sidebar__master-item.is-detail-open a,
.tt-module-sidebar__master-item.is-detail-open a:hover,
.tt-module-sidebar__master-item.is-detail-open a:focus {
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
    font-weight: 650;
    box-shadow: none;
}

.tt-module-sidebar__detail {
    display: none !important;
    position: absolute;
    top: -1px;
    bottom: 0;
    left: 304px;
    z-index: 99;
    width: 392px;
    box-sizing: border-box;
    padding: 24px 20px 26px;
    overflow-y: auto;
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    border: 1px solid #dbe4ee;
    border-left: 0;
    border-radius: 0 16px 16px 0;
    box-shadow:
        6px 0 18px rgba(15, 23, 42, .028),
        inset -1px 0 0 rgba(226, 232, 240, .4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(0);
    transition: none;
}

.tt-module-sidebar--detail.is-previewed .tt-module-sidebar__detail.is-active,
.tt-module-sidebar--detail.is-pinned .tt-module-sidebar__detail.is-active,
.tt-module-sidebar__detail.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.tt-module-sidebar--detail.tt-detail-collapsed .tt-module-sidebar__detail {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.tt-module-sidebar__detail-close {
    position: absolute;
    top: 14px;
    right: 18px;
    display: none;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
}

.tt-module-sidebar__detail-close:hover,
.tt-module-sidebar__detail-close:focus-visible {
    background: #f1f5f9;
    color: #64748b;
    outline: none;
}

.tt-module-sidebar__detail-search {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 48px 0 12px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #8a8f98;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
}

.tt-module-sidebar__detail-search:hover,
.tt-module-sidebar__detail-search:focus-within {
    border-color: var(--tt-indigo-accent, #4f46e5);
    color: #475569;
    text-decoration: none;
}

.tt-module-sidebar__detail-search svg {
    width: 18px;
    height: 18px;
    color: #111827;
}

.tt-module-sidebar__detail-search input {
    width: 100%;
    height: 46px;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font: inherit;
    line-height: 1.4;
}

.tt-module-sidebar__detail-search input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.tt-module-sidebar__detail-search input::placeholder {
    color: #8a8f98;
    opacity: 1;
}

.tt-module-sidebar__detail-search-results {
    display: none;
    margin: 2px 0 14px;
}

.tt-module-sidebar__detail-search-results.is-visible {
    display: block;
}

.tt-module-sidebar__detail.is-searching .tt-module-sidebar__detail-section {
    display: none;
}

.tt-module-sidebar__detail.is-search-loading .tt-module-sidebar__detail-search {
    border-color: var(--tt-indigo-accent, #4f46e5);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, .12);
}

.tt-module-sidebar__detail-empty--search {
    margin-top: 4px;
}

.tt-module-sidebar__detail-create {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 12px 0 18px;
    border-radius: 7px;
    background: linear-gradient(180deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 2px 6px rgba(15, 118, 110, .08);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.tt-module-sidebar__detail-create:hover,
.tt-module-sidebar__detail-create:focus {
    background: var(--tt-indigo-accent, #4f46e5);
    color: #ffffff;
    text-decoration: none;
}

.tt-module-sidebar__detail-create span:first-child {
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
}

.tt-module-sidebar__detail-section {
    padding: 10px 0 4px;
    border-top: 1px solid #edf2f7;
}

.tt-module-sidebar__detail-label {
    margin: 0 0 10px 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tt-module-sidebar__detail-row {
    position: relative;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px;
    border-bottom: 1px solid #eef2f6;
    border-radius: 8px;
    color: #1f2937;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .12s ease, color .12s ease;
}

.tt-module-sidebar__detail-row:hover,
.tt-module-sidebar__detail-row:focus {
    background: rgba(99, 91, 255, .06);
    color: var(--tt-indigo-accent, #4f46e5);
    text-decoration: none;
}

.tt-module-sidebar__detail-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dff9f6;
    color: var(--tt-indigo-accent, #4f46e5);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
}

.tt-module-sidebar__detail-row:nth-child(3n + 1) .tt-module-sidebar__detail-avatar {
    background: #eeeafe;
    color: #6d5bd0;
}

.tt-module-sidebar__detail-row:nth-child(3n + 2) .tt-module-sidebar__detail-avatar {
    background: #fff6d8;
    color: #8a6d00;
}

.tt-module-sidebar__detail-avatar--view {
    background: #eef2ff !important;
    color: var(--tt-indigo-accent, #4f46e5) !important;
}

.tt-module-sidebar__detail-avatar--view svg {
    width: 17px;
    height: 17px;
}

.tt-module-sidebar__detail-copy {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tt-module-sidebar__detail-copy strong,
.tt-module-sidebar__detail-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-module-sidebar__detail-copy strong {
    color: #1f2937;
    font-size: 16px;
    font-weight: 650;
}

.tt-module-sidebar__detail-copy small {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.tt-module-sidebar__detail-time {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

.tt-module-sidebar__detail-empty {
    padding: 8px 4px 14px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.tt-module-sidebar__favorite-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: background-color .12s ease, color .12s ease, opacity .12s ease;
}

.tt-module-sidebar__list li:hover > .tt-module-sidebar__favorite-toggle,
.tt-module-sidebar__list li:focus-within > .tt-module-sidebar__favorite-toggle,
.tt-module-sidebar__favorites-list li:hover > .tt-module-sidebar__favorite-toggle,
.tt-module-sidebar__favorites-list li:focus-within > .tt-module-sidebar__favorite-toggle {
    opacity: 1;
    pointer-events: auto;
}

.tt-module-sidebar__favorite-toggle.is-pinned {
    opacity: 1;
    pointer-events: auto;
}

.tt-module-sidebar__favorite-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linejoin: round;
}

.tt-module-sidebar__favorite-toggle .tt-pin-fill {
    display: none;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.65;
}

.tt-module-sidebar__favorite-toggle .tt-pin-outline {
    display: block;
    fill: none;
    stroke: currentColor;
}

.tt-module-sidebar__favorite-toggle:hover,
.tt-module-sidebar__favorite-toggle:focus-visible {
    background: #eef2ff;
    color: var(--tt-indigo-accent, #4f46e5);
    outline: none;
}

.tt-module-sidebar__favorite-toggle.is-pinned {
    color: var(--tt-indigo-accent, #4f46e5);
}

.tt-module-sidebar__favorite-toggle.is-pinned .tt-pin-fill {
    display: block;
}

.tt-module-sidebar__favorite-toggle.is-pinned .tt-pin-outline {
    display: none;
}

.tt-module-sidebar__list li.active:before {
    background: var(--ds-secondary-menu-active-border);
}

.tt-module-sidebar__list li.active a,
.tt-module-sidebar__list li.active a:hover,
.tt-module-sidebar__list li.active a:focus {
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
    font-weight: 650;
}

.page-sidebar.tt-module-panel-pinned + .page-content,
.page-sidebar.tt-module-panel-pinned + .page-content-wrapper .page-content {
    margin-left: 384px !important;
}

.page-sidebar + .page-content,
.page-sidebar + .page-content-wrapper .page-content,
.page-sidebar.tt-has-module-panel + .page-content,
.page-sidebar.tt-has-module-panel + .page-content-wrapper .page-content,
.page-sidebar:not(.tt-has-module-panel) + .page-content,
.page-sidebar:not(.tt-has-module-panel) + .page-content-wrapper .page-content {
    margin-left: 84px !important;
}

.page-sidebar-closed .page-container .page-sidebar,
.page-sidebar-closed .page-sidebar .scroll-wrapper,
.page-sidebar-closed .menu-bg-wrap {
    display: block !important;
}

.page-sidebar-closed .tt-module-sidebar {
    display: block !important;
}

.page-sidebar-closed .page-sidebar + .page-content,
.page-sidebar-closed .page-sidebar + .page-content-wrapper .page-content {
    margin-left: 84px !important;
}

.footer-action-wrap {
    left: 84px !important;
    right: 0 !important;
    width: auto !important;
}

.page-content > .container-fluid,
.page-content-wrapper .page-content > .container-fluid {
    padding-left: 0 !important;
    padding-right: 16px !important;
}

.footer-action-wrap .page-content,
.footer-action-wrap .page-content-wrapper .page-content {
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.page-sidebar.tt-module-panel-pinned ~ .footer-action-wrap,
.page-sidebar.tt-module-panel-pinned + .page-content + .footer-action-wrap,
.page-sidebar.tt-module-panel-pinned + .page-content-wrapper + .footer-action-wrap {
    left: 384px !important;
}

/*** Module nav (top-menu-bar.php — Transactions / Invoices / etc.) ***/
.page-head.nav-header-wrap {
    margin-left: 0;
    height: 52px;
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100vw - 640px);
    overflow: visible;
    position: relative;
    z-index: 1010;
}
.page-head.nav-header-wrap .navbar-header {
    display: none;
}

.tt-dashboard-overview-row {
    margin-top: 14px;
    margin-bottom: 18px;
}

.tt-dashboard-overview-title {
    display: inline-flex;
    align-items: center;
    color: #334155;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.25;
}

.navbar-header a,
.navbar-header a.navbar-brand {
    color: #334155 !important;
    display: inline-flex;
    align-items: center;
    float: none;
    height: 52px;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}
.nav-header-dropdown {
    display: inline-flex;
    align-items: center;
    float: none;
    margin-left: 0 !important;
    height: 52px;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    white-space: nowrap;
    position: relative;
    z-index: 1011;
}
.nav-header-dropdown > li {
    display: inline-flex;
    align-items: center;
    height: 52px;
    flex: 0 0 auto;
}

.nav-header-dropdown > li.tt-responsive-more {
    display: inline-flex !important;
}

.nav-header-dropdown .dropdown-menu.tm_custom_style > li.tt-responsive-nav-item {
    display: block !important;
}
.nav-header-dropdown > li > a {
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 52px;
    margin: 0 2px !important;
    padding: 0 8px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-shadow: none !important;
}
.nav-header-dropdown > li > a > span {
    display: inline-flex !important;
    align-items: center;
    float: none !important;
    font-size: inherit !important;
    line-height: 1 !important;
    text-shadow: none !important;
}
.nav-header-dropdown > li > a > span:first-child {
    font-size: inherit !important;
}
.nav-header-dropdown > li > a:hover {
    background: transparent !important;
    color: var(--tt-indigo-accent, #4f46e5) !important;
}
.nav-header-dropdown > li.active > a {
    color: var(--tt-indigo-accent, #4f46e5) !important;
    font-weight: 700;
}
.nav-header-dropdown.nav:hover > li > a {
    opacity: 1;
}
.nav-header-dropdown > li > a span.md-expand-more {
    border-top-color: #475569 !important;
    border-bottom-color: #475569 !important;
}

/* Module-section separator. The legacy triangle read as a floating
 * greater-than mark on the light nav; keep the hierarchy cue, but make
 * it small and inline. */
.nav-arrow {
    width: 1px;
    height: 20px;
    margin: 10px 6px 0 4px !important;
    border: 0 !important;
    background: #cbd5e1;
    opacity: .9;
    float: none;
}

/* Active tab — text-forward selected state, no oversized tab fill. */
.nav-header-dropdown.nav li.active,
.nav-right-menu-style.active {
    background: transparent !important;
    border-radius: 0;
    height: 52px;
}
.nav-header-dropdown.nav li.dropdown.open > .dropdown-toggle,
.nav-header-dropdown.nav li.dropdown.active > .dropdown-toggle,
.nav-header-dropdown.nav li.dropdown.open.active > .dropdown-toggle,
.nav-header-dropdown.nav li.active > a,
.nav-header-dropdown.nav li.active > a:hover,
.nav-header-dropdown.nav li.active > a:focus {
    background: transparent !important;
    box-shadow: none !important;
}
.nav-header-dropdown.nav li.active > a {
    color: var(--tt-indigo-accent, #4f46e5) !important;
    font-weight: 700;
}
.nav-header-dropdown.nav li.active:after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 0;
    height: 3px;
    border: 0 !important;
    border-radius: 3px 3px 0 0;
    background: var(--tt-indigo-accent, #4f46e5);
    transform: none;
    display: block !important;
}

.nav-header-dropdown.nav li.dropdown:hover:after {
    display: none !important;
}
.nav-header-dropdown.nav li.dropdown.active:hover:after {
    display: none !important;
}

.nav-header-dropdown .dropdown-menu.tm_custom_style {
    width: 304px !important;
    min-width: 304px !important;
    padding: 8px 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 18px 42px -26px rgba(15, 23, 42, .28), 0 4px 12px -8px rgba(15, 23, 42, .12);
    overflow: hidden;
}

.nav-header-dropdown > li.more-opt.open > .dropdown-menu.tm_custom_style,
.nav-header-dropdown > li.more-opt:hover > .dropdown-menu.tm_custom_style {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1, 1);
}

.nav-header-dropdown .dropdown-menu.tm_custom_style.tm_morewidth {
    width: 336px !important;
    min-width: 336px !important;
}

.nav-header-dropdown .dropdown-menu.tm_custom_style > div:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.nav-header-dropdown .dropdown-menu.tm_custom_style .tm_global_search {
    flex: 1;
    min-width: 0;
    height: 34px;
    width: auto !important;
    margin: 0;
    padding: 0 8px !important;
    color: #1f2937;
    font-size: 14px;
    line-height: 34px;
}

.nav-header-dropdown .dropdown-menu.tm_custom_style > li > div {
    width: auto;
    margin: 8px 12px 4px;
    padding: 10px 0 4px;
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    text-align: left;
}

.nav-header-dropdown .dropdown-menu.tm_custom_style > li > a {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    width: auto !important;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 38px;
    margin: 0 !important;
    padding: 9px 16px !important;
    border: 0 !important;
    border-radius: 0;
    color: #1f2937 !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    text-align: left;
    text-transform: none;
    white-space: nowrap;
}

.nav-header-dropdown .dropdown-menu.tm_custom_style > li.drop-child > a {
    color: #334155 !important;
}

.nav-header-dropdown .dropdown-menu.tm_custom_style > li > a:hover,
.nav-header-dropdown .dropdown-menu.tm_custom_style > li > a:focus {
    background: #f1f5f9 !important;
    color: var(--tt-indigo-accent, #4f46e5) !important;
}

.nav-header-dropdown.nav .dropdown-menu.tm_custom_style > li > a.tm_menu_add {
    color: var(--tt-indigo-accent, #4f46e5) !important;
    font-weight: 700 !important;
    padding-left: 40px !important;
}

.nav-header-dropdown.nav .dropdown-menu.tm_custom_style > li > a.tm_menu_add:before {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* Override the navbar-inverse "active" override that sets white text
 * on transparent — under light nav we want dark text on transparent. */
.navbar-inverse .nav .active > a,
.navbar-inverse .nav .active > a:hover,
.navbar-inverse .nav .active > a:focus {
    color: var(--tt-indigo-accent, #4f46e5) !important;
    background: transparent !important;
}

/*** Right cluster (notifi-nav: search host, create host, RC, ACP, profile) ***/
.navbar-inverse .notifi-nav {
    display: flex !important;
    align-items: center;
    gap: 8px;
    height: 52px;
    box-sizing: border-box;
    padding-right: 18px;
    padding-left: 24px;
    flex: 1 1 auto;
    margin-left: auto !important;
    float: none !important;
    min-width: 0;
    white-space: nowrap;
    justify-content: flex-end;
    position: relative;
    z-index: 20;
}
.navbar-inverse .notifi-nav > li {
    display: inline-flex;
    align-items: center;
    height: 52px;
    margin: 0 !important;
    padding: 0 !important;
}
.navbar-inverse .notifi-nav > li.tt-chrome-create-host {
    flex: 0 0 auto;
    margin-right: 0 !important;
}
.navbar-inverse .notifi-nav > li.tt-chrome-create-host + li {
    margin-left: 0 !important;
}
.navbar-inverse .notifi-nav > li.login-profile {
    margin-left: 10px !important;
    margin-right: 12px !important;
}
.navbar-inverse .notifi-nav > li > a {
    color: #475569 !important;
    background: transparent;
}
.navbar-inverse .notifi-nav > li > a:hover {
    background: #f1f5f9 !important;
    color: #1f2937 !important;
}
.navbar-inverse .notifi-nav > li > a i { color: inherit; }
.navbar-inverse .notifi-nav li.dropdown.open > .dropdown-toggle,
.navbar-inverse .notifi-nav li.dropdown.active > .dropdown-toggle,
.navbar-inverse .notifi-nav li.dropdown.open.active > .dropdown-toggle {
    background: #f1f5f9 !important;
    color: #1f2937 !important;
}
.navbar-inverse .notifi-nav .dropdown-menu .label i:before { color: #475569; }

.navbar-inverse .notifi-nav > li > .dropdown-menu:not(.tt-account-menu-panel) {
    border: 1px solid #d9e2ec;
    border-radius: 12px !important;
    box-shadow: 0 18px 42px -26px rgba(15, 23, 42, .28), 0 4px 12px -8px rgba(15, 23, 42, .12) !important;
    overflow: hidden;
}

.navbar-inverse .notifi-nav > li > a.tt-chrome-icon-button {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 8px !important;
    color: #475569 !important;
    position: relative;
}
.navbar-inverse .notifi-nav > li > a.tt-chrome-icon-button:hover,
.navbar-inverse .notifi-nav > li > a.tt-chrome-icon-button:focus {
    background: #f1f5f9 !important;
    color: #1f2937 !important;
}
.tt-chrome-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tt-chrome-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}
.navbar-inverse .notifi-nav > li > a.tt-chrome-icon-button i {
    display: none;
}

.header .nav > li.dropdown .dropdown-toggle.tt-chrome-icon-button .badge,
.inbox-click.dropdown-toggle.tt-chrome-icon-button .total_notifications {
    min-width: 24px;
    height: 22px;
    box-sizing: border-box;
    padding: 0 7px !important;
    border-radius: 999px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: -6px;
    background: #0ea5e9;
    color: #ffffff !important;
    border: 2px solid #ffffff;
    box-shadow: 0 3px 7px rgba(15, 23, 42, .18);
    font-size: 10px !important;
    font-weight: 700;
    line-height: 1 !important;
    text-shadow: none !important;
}
.header .nav > li.dropdown .dropdown-toggle.tt-chrome-icon-button .badge.hidden,
.inbox-click.dropdown-toggle.tt-chrome-icon-button .total_notifications.hidden {
    display: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .nav > li.dropdown .dropdown-toggle.tt-chrome-icon-button .badge,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .inbox-click.dropdown-toggle.tt-chrome-icon-button .total_notifications,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .nav > li.dropdown .dropdown-toggle.tt-chrome-icon-button .badge,
[data-theme-mode="dark"][data-dark-ready~="all"] .inbox-click.dropdown-toggle.tt-chrome-icon-button .total_notifications {
    background: #2563eb !important;
    border-color: #0b1727 !important;
    color: #ffffff !important;
}

.navbar-inverse .notifi-nav > li.login-profile > .dropdown-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 10px;
}
.navbar-inverse .notifi-nav > li.login-profile > .dropdown-toggle:hover,
.navbar-inverse .notifi-nav > li.login-profile.open > .dropdown-toggle {
    background: #f1f5f9 !important;
}

.tt-account-trigger {
    border-radius: 999px !important;
}

.tt-account-avatar {
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2ff;
    color: #007f8f;
    border: 1px solid #c7eef2;
    font-size: 12px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tt-account-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.tt-account-avatar-large {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    font-size: 15px;
}

.navbar-inverse .notifi-nav .tt-account-menu-panel {
    width: 336px;
    box-sizing: border-box;
    padding: 0;
    margin-top: 8px;
    border: 1px solid #dbe3ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 42px -24px rgba(15, 23, 42, .22), 0 4px 12px -8px rgba(15, 23, 42, .12);
    overflow: hidden;
}

.navbar-inverse .notifi-nav .tt-account-menu-panel:before,
.navbar-inverse .notifi-nav .tt-account-menu-panel:after {
    display: none !important;
    content: none !important;
}

.tt-account-summary {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 1px solid #e8eef6;
}

.tt-account-summary-text {
    min-width: 0;
}

.tt-account-name {
    max-width: 245px;
    overflow: hidden;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-account-meta,
.tt-account-company {
    max-width: 245px;
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tt-account-menu-list {
    padding: 8px;
}

.navbar-inverse .notifi-nav .tt-account-menu-item {
    min-height: 48px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 10px;
    border-radius: 8px;
    color: #1f2937 !important;
    text-decoration: none !important;
    background: transparent;
    transition: background-color .15s ease, color .15s ease;
}

.navbar-inverse .notifi-nav .tt-account-menu-item:hover,
.navbar-inverse .notifi-nav .tt-account-menu-item:focus {
    background: #f1f5f9 !important;
    color: #007f8f !important;
    outline: none;
}

.tt-account-menu-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #475569;
    background: #f1f5f9;
}

.tt-account-menu-item:hover .tt-account-menu-icon,
.tt-account-menu-item:focus .tt-account-menu-icon {
    color: var(--tt-indigo-accent, #4f46e5);
    background: #eef2ff;
}

.tt-account-menu-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.tt-account-menu-label,
.tt-account-menu-help {
    display: block;
    letter-spacing: 0;
}

.tt-account-menu-label {
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.tt-account-menu-help {
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
}

.tt-account-menu-footer {
    padding: 8px;
    border-top: 1px solid #e8eef6;
    background: #f8fafc;
}

.navbar-inverse .notifi-nav .tt-account-signout {
    min-height: 42px;
}

.navbar-inverse .notifi-nav .tt-account-signout:hover,
.navbar-inverse .notifi-nav .tt-account-signout:focus {
    color: #b42318 !important;
    background: #fff1f1 !important;
}

.tt-account-signout:hover .tt-account-menu-icon,
.tt-account-signout:focus .tt-account-menu-icon {
    color: #b42318;
    background: #ffe4e6;
}

/* Back-arrow button (history.back()) — was white text; flip to dark. */
.navbar-inverse .notifi-nav .back_prv > a,
.navbar-inverse .notifi-nav .back_prv > a i { color: #475569 !important; }
.navbar-inverse .notifi-nav .back_prv > a:hover { background: #f1f5f9 !important; color: #1f2937 !important; }

.header .navbar-inner {
    min-height: 52px;
    height: 52px;
}

.page-header-fixed .page-container {
    margin-top: 52px;
}

.tt-chrome-search-host,
.tt-chrome-create-host {
    height: 52px;
}

.navbar-inverse .notifi-nav > li.tt-chrome-search-host {
    position: fixed;
    top: 0;
    left: 50vw !important;
    transform: translateX(-50%) !important;
    z-index: 22;
    flex: 0 0 clamp(420px, 28vw, 570px);
    width: clamp(420px, 28vw, 570px);
    max-width: 570px;
}

.navbar-inverse .notifi-nav > li.tt-chrome-search-host:has([data-tt-cs][aria-expanded="true"]) {
    left: 0 !important;
    transform: none !important;
    width: 0;
    max-width: none;
    flex-basis: 0;
}

@media (max-width: 1560px) {
    .page-head.nav-header-wrap {
        max-width: calc(100vw - 560px);
    }

    .navbar-inverse .notifi-nav > li.tt-chrome-search-host {
        left: 50vw !important;
        flex-basis: clamp(370px, 27vw, 520px);
        width: clamp(370px, 27vw, 520px);
        max-width: 520px;
    }
}

@media (max-width: 1380px) {
    .page-head.nav-header-wrap {
        max-width: calc(100vw - 500px);
    }

    .nav-header-dropdown > li:not(.active):not(.more-opt) {
        display: none !important;
    }

    .automation-header .automation_inline_naw_wrap.nav-header-dropdown > li {
        display: inline-flex !important;
        order: 0 !important;
    }

    .nav-header-dropdown > li.active {
        order: 1;
    }

    .nav-header-dropdown > li.more-opt {
        order: 2;
        display: inline-flex !important;
    }

    .nav-header-dropdown > li.more-opt > a {
        width: 42px;
        padding-left: 0;
        padding-right: 0;
    }

    .nav-header-dropdown .dropdown-menu.tm_custom_style > li.tt-responsive-nav-item {
        display: list-item !important;
    }

    .navbar-inverse .notifi-nav > li.tt-chrome-search-host {
        left: 50vw !important;
        flex-basis: clamp(315px, 24vw, 360px);
        width: clamp(315px, 24vw, 360px);
        max-width: 360px;
    }

    [data-tt-cc-trigger] [data-tt-cc-label],
    [data-tt-cc-trigger] [data-tt-cc-kbd] {
        display: none;
    }

    [data-tt-cc-trigger] {
        width: 36px;
        justify-content: center;
        padding: 0;
    }
}

@media (min-width: 641px) and (max-width: 980px) {
    .navbar-inverse .notifi-nav {
        gap: 8px;
    }

    .navbar-inverse .notifi-nav > li.tt-chrome-search-host {
        order: 1;
        position: static;
        left: auto !important;
        transform: none !important;
        z-index: auto;
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: 360px;
    }

    .navbar-inverse .notifi-nav > li.tt-chrome-create-host {
        order: 2;
        margin-right: 4px !important;
    }

    .navbar-inverse .notifi-nav > li.for-mailbox { order: 3; }
    .navbar-inverse .notifi-nav > li#my_notification { order: 4; }
    .navbar-inverse .notifi-nav > li.login-profile { order: 6; }

    .navbar-inverse .notifi-nav > li.tt-chrome-help-host {
        display: none !important;
    }

    [data-tt-cs] {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0 8px 0 0;
    }

    [data-tt-cs-trigger] {
        justify-content: flex-start;
        padding: 0 10px;
        gap: 8px;
    }

    [data-tt-cs-kbd] {
        display: none;
    }
}

@media (max-width: 640px) {
    .navbar-inverse .notifi-nav > li.tt-chrome-search-host {
        order: 1;
        position: static;
        transform: none;
        flex: 0 0 44px;
        width: 44px;
        max-width: 44px;
    }
    .navbar-inverse .notifi-nav > li.tt-chrome-create-host {
        order: 2;
        margin-right: 4px !important;
    }
    .navbar-inverse .notifi-nav > li.for-mailbox { order: 3; }
    .navbar-inverse .notifi-nav > li#my_notification { order: 4; }
    .navbar-inverse .notifi-nav > li.login-profile { order: 6; }

    .navbar-inverse .notifi-nav > li.tt-chrome-help-host {
        display: none !important;
    }

    .navbar-inverse .notifi-nav > li.login-profile {
        margin-left: 4px !important;
        margin-right: 6px !important;
    }

    [data-tt-cs] {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
    }

    [data-tt-cs-trigger] {
        justify-content: center;
        padding: 0 10px;
        gap: 0;
    }

    [data-tt-cs]:not([aria-expanded="true"]) [data-tt-cs-trigger] [data-tt-cs-placeholder],
    [data-tt-cs]:not([aria-expanded="true"]) [data-tt-cs-trigger] [data-tt-cs-input],
    [data-tt-cs]:not([aria-expanded="true"]) [data-tt-cs-trigger] [data-tt-cs-kbd] {
        display: none;
    }
}

/*** Horizontal-menu search variant (legacy, still loaded on some views) ***/
.header .hor-menu .hor-menu-search-form-toggler.hide {
    background: #ffffff url(../../img/hor-menu-search-close.png) no-repeat center;
}
.header .hor-menu .search-form { background: #ffffff; border: 1px solid #e5e7eb; }
.header .hor-menu .search-form .btn {
    color: #475569;
    background: #ffffff url(../../img/search-icon.png) no-repeat center;
}
.header .hor-menu .search-form form input { color: #1f2937; }
.header .hor-menu .search-form form input::-webkit-input-placeholder { color: #94a3b8; }
.header .hor-menu .search-form form input:-moz-placeholder { color: #94a3b8; }
.header .hor-menu .search-form form input::-moz-placeholder { color: #94a3b8; }
.header .hor-menu .search-form form input:-ms-input-placeholder { color: #94a3b8; }

/*** Dark-mode legacy adapter
 *
 * This is the centralized bridge for BS2-era screens while they migrate to
 * semantic tokens. It is intentionally gated: pages must opt in with
 * `data-dark-ready="legacy"` or `data-dark-ready="all"` after they have been
 * reviewed. Token-native surfaces can use `data-dark-ready="tokens"` instead.
 */
[data-theme-mode="dark"][data-dark-ready~="legacy"] body,
[data-theme-mode="dark"][data-dark-ready~="all"] body {
    background: var(--ds-legacy-page-bg) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .navbar-inner,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .navbar-inner {
    background-color: var(--tt-chrome-topbar-bg) !important;
    border-bottom-color: var(--tt-chrome-topbar-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .hor-menu .search-form,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .hor-menu .search-form {
    background: var(--tt-chrome-search-bg) !important;
    border: 1px solid var(--tt-chrome-search-border) !important;
    border-radius: var(--ds-radius-sm, 6px) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .hor-menu .search-form .btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .hor-menu .search-form .btn {
    background-color: transparent !important;
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .hor-menu .search-form form input,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .hor-menu .search-form form input {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--ds-text-primary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .hor-menu .search-form form input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .hor-menu .search-form form input::placeholder {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs] {
    --tt-cs-bg-soft: var(--ds-legacy-input-bg);
    --tt-cs-border: var(--tt-chrome-search-border);
    --tt-cs-border-soft: var(--ds-border-default);
    --tt-cs-text: var(--ds-text-primary);
    --tt-cs-muted: var(--ds-text-muted);
    --tt-cs-faint: #64748b;
    --tt-cs-shadow: 0 24px 64px -22px rgba(0, 0, 0, .48), 0 8px 20px -10px rgba(0, 0, 0, .32);
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-trigger],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-trigger] {
    background: var(--tt-chrome-search-bg) !important;
    border-color: var(--tt-chrome-search-border) !important;
    color: var(--ds-text-secondary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-trigger]:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-trigger]:focus-visible,
[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs][aria-expanded="true"] [data-tt-cs-trigger],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-trigger]:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-trigger]:focus-visible,
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs][aria-expanded="true"] [data-tt-cs-trigger] {
    background: var(--ds-surface-hover) !important;
    border-color: rgba(147, 197, 253, .42) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-trigger] [data-tt-cs-input],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-trigger] [data-tt-cs-input] {
    background: transparent !important;
    color: var(--ds-text-primary) !important;
    border: 0 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-trigger] [data-tt-cs-input]::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-trigger] [data-tt-cs-input]::placeholder {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-trigger] [data-tt-cs-kbd],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-trigger] [data-tt-cs-kbd] {
    background: var(--tt-chrome-kbd-bg) !important;
    border-color: var(--tt-chrome-kbd-border) !important;
    color: var(--tt-chrome-kbd-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-panel],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-panel] {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    box-shadow: var(--tt-cs-shadow) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-item],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-item] {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-item]:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-item][data-tt-cs-active="true"],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-item]:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-item][data-tt-cs-active="true"] {
    background: var(--ds-surface-selected) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-section-label],
[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-item-meta],
[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cs-foot],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-section-label],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-item-meta],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cs-foot] {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cc-trigger],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cc-trigger] {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cc-trigger]:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cc][aria-expanded="true"] [data-tt-cc-trigger],
[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cc-trigger]:focus-visible,
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cc-trigger]:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cc][aria-expanded="true"] [data-tt-cc-trigger],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cc-trigger]:focus-visible {
    background: var(--ds-button-neutral-hover-bg) !important;
    border-color: var(--ds-button-neutral-hover-border) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cc-trigger] [data-tt-cc-kbd],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cc-trigger] [data-tt-cc-kbd] {
    background: var(--tt-chrome-kbd-bg) !important;
    border-color: var(--tt-chrome-kbd-border) !important;
    color: var(--tt-chrome-kbd-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cc-panel],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cc-panel] {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    box-shadow: var(--ds-shadow-popover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cc-item],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cc-item] {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cc-item]:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-tt-cc-item][data-tt-cc-active="true"],
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cc-item]:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] [data-tt-cc-item][data-tt-cc-active="true"] {
    background: var(--ds-surface-selected) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav button,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav i,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav a,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav button,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav i {
    color: var(--ds-text-inverse) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav [data-tt-cc-trigger],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav [data-tt-cc-trigger] i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav [data-tt-cc-trigger] svg,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav [data-tt-cc-label],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav [data-tt-cc-icon],
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav [data-tt-cc-trigger],
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav [data-tt-cc-trigger] i,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav [data-tt-cc-trigger] svg,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav [data-tt-cc-label],
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav [data-tt-cc-icon] {
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav [data-tt-cc-trigger]:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav [data-tt-cc-trigger]:hover i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav [data-tt-cc-trigger]:hover svg,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav [data-tt-cc][aria-expanded="true"] [data-tt-cc-trigger],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav [data-tt-cc][aria-expanded="true"] [data-tt-cc-trigger] i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav [data-tt-cc][aria-expanded="true"] [data-tt-cc-trigger] svg,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav [data-tt-cc-trigger]:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav [data-tt-cc-trigger]:hover i,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav [data-tt-cc-trigger]:hover svg,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav [data-tt-cc][aria-expanded="true"] [data-tt-cc-trigger],
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav [data-tt-cc][aria-expanded="true"] [data-tt-cc-trigger] i,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav [data-tt-cc][aria-expanded="true"] [data-tt-cc-trigger] svg {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-content > .container-fluid,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-content-wrapper .page-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-content-wrapper .page-content > .container-fluid,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .body-bg,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-content > .container-fluid,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-content-wrapper .page-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-content-wrapper .page-content > .container-fluid,
[data-theme-mode="dark"][data-dark-ready~="all"] .body-bg {
    background: var(--ds-legacy-page-bg) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-dashboard-overview-title,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-dashboard-overview-title {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .cntct-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .trans-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .emailcamp-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .smscamp-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .lp-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .todo-dashboard .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .cntct-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .trans-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .emailcamp-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .smscamp-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .lp-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .todo-dashboard .card-wrap {
    background: var(--ds-legacy-card-bg) !important;
    color: var(--ds-text-secondary) !important;
    border-color: var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .cntct-block .graph1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .cntct-block #contact-graph,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .trans-block .graph1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .emailcamp-block .graph3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .smscamp-block .graph3,
[data-theme-mode="dark"][data-dark-ready~="all"] .cntct-block .graph1,
[data-theme-mode="dark"][data-dark-ready~="all"] .cntct-block #contact-graph,
[data-theme-mode="dark"][data-dark-ready~="all"] .trans-block .graph1,
[data-theme-mode="dark"][data-dark-ready~="all"] .emailcamp-block .graph3,
[data-theme-mode="dark"][data-dark-ready~="all"] .smscamp-block .graph3 {
    background: var(--ds-legacy-card-bg) !important;
    border-top: 1px solid var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .highcharts-background,
[data-theme-mode="dark"][data-dark-ready~="all"] .highcharts-background {
    fill: var(--ds-legacy-card-bg) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .highcharts-title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .highcharts-subtitle,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .highcharts-axis-title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .highcharts-axis-labels text,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .highcharts-legend-item text,
[data-theme-mode="dark"][data-dark-ready~="all"] .highcharts-title,
[data-theme-mode="dark"][data-dark-ready~="all"] .highcharts-subtitle,
[data-theme-mode="dark"][data-dark-ready~="all"] .highcharts-axis-title,
[data-theme-mode="dark"][data-dark-ready~="all"] .highcharts-axis-labels text,
[data-theme-mode="dark"][data-dark-ready~="all"] .highcharts-legend-item text {
    color: var(--ds-text-secondary) !important;
    fill: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .highcharts-grid-line,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .highcharts-axis-line,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .highcharts-tick,
[data-theme-mode="dark"][data-dark-ready~="all"] .highcharts-grid-line,
[data-theme-mode="dark"][data-dark-ready~="all"] .highcharts-axis-line,
[data-theme-mode="dark"][data-dark-ready~="all"] .highcharts-tick {
    stroke: rgba(226, 232, 240, .18) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .cntct-block p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .trans-block p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .emailcamp-block p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .smscamp-block p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .lp-block p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-block p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .todo-dashboard p,
[data-theme-mode="dark"][data-dark-ready~="all"] .cntct-block p,
[data-theme-mode="dark"][data-dark-ready~="all"] .trans-block p,
[data-theme-mode="dark"][data-dark-ready~="all"] .emailcamp-block p,
[data-theme-mode="dark"][data-dark-ready~="all"] .smscamp-block p,
[data-theme-mode="dark"][data-dark-ready~="all"] .lp-block p,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-block p,
[data-theme-mode="dark"][data-dark-ready~="all"] .todo-dashboard p {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .no-timeline-dashboard,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .do-list-dashborad,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .empty-state.c-graph,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .empty-state.trans-graph,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .empty-state.emailcamp-graph,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .empty-state.smscamp-graph,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .empty-state.lp-graph,
[data-theme-mode="dark"][data-dark-ready~="all"] .no-timeline-dashboard,
[data-theme-mode="dark"][data-dark-ready~="all"] .do-list-dashborad,
[data-theme-mode="dark"][data-dark-ready~="all"] .empty-state.c-graph,
[data-theme-mode="dark"][data-dark-ready~="all"] .empty-state.trans-graph,
[data-theme-mode="dark"][data-dark-ready~="all"] .empty-state.emailcamp-graph,
[data-theme-mode="dark"][data-dark-ready~="all"] .empty-state.smscamp-graph,
[data-theme-mode="dark"][data-dark-ready~="all"] .empty-state.lp-graph {
    background: linear-gradient(180deg, rgba(15, 31, 51, .96), rgba(11, 23, 40, .96)) !important;
    border: 1px solid var(--ds-border-default) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .empty-state .inner-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .empty-state .inner-content {
    background: rgba(7, 17, 32, .72) !important;
    border: 1px solid var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .empty-state .inner-content p,
[data-theme-mode="dark"][data-dark-ready~="all"] .empty-state .inner-content p {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .empty-state .inner-content a,
[data-theme-mode="dark"][data-dark-ready~="all"] .empty-state .inner-content a {
    color: var(--ds-color-link) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .muted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .c-gray,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .text-muted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] small,
[data-theme-mode="dark"][data-dark-ready~="all"] .muted,
[data-theme-mode="dark"][data-dark-ready~="all"] .c-gray,
[data-theme-mode="dark"][data-dark-ready~="all"] .text-muted,
[data-theme-mode="dark"][data-dark-ready~="all"] small {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .c-black,
[data-theme-mode="dark"][data-dark-ready~="legacy"] label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .control-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table table th,
[data-theme-mode="dark"][data-dark-ready~="all"] .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] label,
[data-theme-mode="dark"][data-dark-ready~="all"] .control-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .table th,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table table th {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .portlet,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .portlet-body,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .portlet-title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .well,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .thumbnail,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .panel,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .panel-body,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .widget,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-title-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-builder-preview,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .field-customizer,
[data-theme-mode="dark"][data-dark-ready~="all"] .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .portlet,
[data-theme-mode="dark"][data-dark-ready~="all"] .portlet-body,
[data-theme-mode="dark"][data-dark-ready~="all"] .portlet-title,
[data-theme-mode="dark"][data-dark-ready~="all"] .well,
[data-theme-mode="dark"][data-dark-ready~="all"] .thumbnail,
[data-theme-mode="dark"][data-dark-ready~="all"] .panel,
[data-theme-mode="dark"][data-dark-ready~="all"] .panel-body,
[data-theme-mode="dark"][data-dark-ready~="all"] .widget,
[data-theme-mode="dark"][data-dark-ready~="all"] .block,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-title-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-builder-preview,
[data-theme-mode="dark"][data-dark-ready~="all"] .field-customizer {
    background: var(--ds-legacy-card-bg) !important;
    color: var(--ds-text-secondary) !important;
    border-color: var(--ds-border-default) !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .18) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-head h1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-head h2,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-head h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-head h4,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-head h5,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .head_tab_custom,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-title-hero,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-title-hero .form-name,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-head,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-head h1,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-head h2,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-head h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-head h4,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-head h5,
[data-theme-mode="dark"][data-dark-ready~="all"] .head_tab_custom,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-title-hero,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-title-hero .form-name {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .link,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .c-blue,
[data-theme-mode="dark"][data-dark-ready~="all"] a,
[data-theme-mode="dark"][data-dark-ready~="all"] .link,
[data-theme-mode="dark"][data-dark-ready~="all"] .c-blue {
    color: var(--ds-color-link) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .head_tab_custom a,
[data-theme-mode="dark"][data-dark-ready~="all"] .head_tab_custom a {
    color: var(--ds-text-muted) !important;
    border-bottom-color: transparent !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .head_tab_custom a.active,
[data-theme-mode="dark"][data-dark-ready~="all"] .head_tab_custom a.active {
    color: var(--ds-color-action-primary) !important;
    border-bottom-color: var(--ds-color-action-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .cont-list-opt,
[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-role="fixedHeadedSearch"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .search-option,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .filter-area,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .filter-toggle-bar,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table table .table-head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table thead,
[data-theme-mode="dark"][data-dark-ready~="legacy"] table thead,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table-striped > tbody > tr:nth-child(odd) > td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .cont-list-opt,
[data-theme-mode="dark"][data-dark-ready~="all"] [data-role="fixedHeadedSearch"],
[data-theme-mode="dark"][data-dark-ready~="all"] .search-option,
[data-theme-mode="dark"][data-dark-ready~="all"] .filter-area,
[data-theme-mode="dark"][data-dark-ready~="all"] .filter-toggle-bar,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table table .table-head,
[data-theme-mode="dark"][data-dark-ready~="all"] .table thead,
[data-theme-mode="dark"][data-dark-ready~="all"] table thead,
[data-theme-mode="dark"][data-dark-ready~="all"] .table-striped > tbody > tr:nth-child(odd) > td,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header-wrap {
    background: var(--ds-legacy-table-head-bg) !important;
    color: var(--ds-text-primary) !important;
    border-color: var(--ds-border-default) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table table,
[data-theme-mode="dark"][data-dark-ready~="all"] .table,
[data-theme-mode="dark"][data-dark-ready~="all"] table,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-content {
    background: var(--ds-legacy-card-bg) !important;
    color: var(--ds-text-secondary) !important;
    border-color: var(--ds-legacy-table-border) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table table tbody tr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table tbody tr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table-striped > tbody > tr:nth-child(even) > td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] table tbody tr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid tr,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table table tbody tr,
[data-theme-mode="dark"][data-dark-ready~="all"] .table tbody tr,
[data-theme-mode="dark"][data-dark-ready~="all"] .table-striped > tbody > tr:nth-child(even) > td,
[data-theme-mode="dark"][data-dark-ready~="all"] table tbody tr,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid tr {
    background: var(--ds-legacy-table-row-bg) !important;
    color: var(--ds-text-secondary) !important;
    border-color: var(--ds-legacy-table-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table,
[data-theme-mode="dark"][data-dark-ready~="all"] .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table table,
[data-theme-mode="dark"][data-dark-ready~="all"] .table {
    border: 1px solid var(--ds-legacy-table-border) !important;
    outline: 0 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .row-fluid.card-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .sticky-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .cont-list-opt,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table-head,
[data-theme-mode="dark"][data-dark-ready~="all"] .row-fluid.card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .sticky-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .cont-list-opt,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table table,
[data-theme-mode="dark"][data-dark-ready~="all"] .table-head {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    border-top-color: var(--ds-legacy-table-border) !important;
    border-right-color: var(--ds-legacy-table-border) !important;
    border-bottom-color: var(--ds-legacy-table-border) !important;
    border-left-color: var(--ds-legacy-table-border) !important;
    border-bottom-width: 1px !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .table-head tr,
[data-theme-mode="dark"][data-dark-ready~="all"] .table-head tr {
    border-bottom-color: var(--ds-legacy-table-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table table td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table table th,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table table td,
[data-theme-mode="dark"][data-dark-ready~="all"] .table th,
[data-theme-mode="dark"][data-dark-ready~="all"] .table td {
    border-color: var(--ds-legacy-table-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table a,
[data-theme-mode="dark"][data-dark-ready~="all"] .table a {
    color: var(--ds-color-link) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table table tbody tr:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table tbody tr:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] table tbody tr:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid tr:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table table tbody tr:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .table tbody tr:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] table tbody tr:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid tr:hover {
    background: var(--ds-legacy-table-row-hover-bg) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table table td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] table td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table table th,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table table td,
[data-theme-mode="dark"][data-dark-ready~="all"] .table th,
[data-theme-mode="dark"][data-dark-ready~="all"] .table td,
[data-theme-mode="dark"][data-dark-ready~="all"] table th,
[data-theme-mode="dark"][data-dark-ready~="all"] table td,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid th,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid td {
    color: inherit !important;
    border-color: var(--ds-legacy-table-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table:after,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .sticky-wrap.emp-hide:after,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table:after,
[data-theme-mode="dark"][data-dark-ready~="all"] .sticky-wrap.emp-hide:after {
    border-color: var(--ds-legacy-table-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .uneditable-input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-search input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .search-option input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .d-r-pick,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-textbox,
[data-theme-mode="dark"][data-dark-ready~="all"] input,
[data-theme-mode="dark"][data-dark-ready~="all"] textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] select,
[data-theme-mode="dark"][data-dark-ready~="all"] .uneditable-input,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-search input,
[data-theme-mode="dark"][data-dark-ready~="all"] .search-option input,
[data-theme-mode="dark"][data-dark-ready~="all"] .d-r-pick,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-input,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-textbox {
    background: var(--ds-legacy-input-bg) !important;
    color: var(--ds-text-primary) !important;
    border-color: var(--ds-border-strong) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] textarea::placeholder {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .btn-icon,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .filter-group .btn-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .btn-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .filter-group .btn-icon {
    background: var(--ds-button-neutral-bg) !important;
    color: var(--ds-button-neutral-text) !important;
    border-color: var(--ds-button-neutral-border) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .btn-icon:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .filter-group .btn-icon:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .btn-icon:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .filter-group .btn-icon:hover {
    background: var(--ds-button-neutral-hover-bg) !important;
    color: var(--ds-color-action-primary) !important;
    border-color: var(--ds-button-neutral-hover-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .typeahead.dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #select2-drop,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-drop,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .datepicker,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .ui-datepicker,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .popover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tooltip-inner,
[data-theme-mode="dark"][data-dark-ready~="all"] .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] .typeahead.dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] #select2-drop,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-drop,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker,
[data-theme-mode="dark"][data-dark-ready~="all"] .datepicker,
[data-theme-mode="dark"][data-dark-ready~="all"] .ui-datepicker,
[data-theme-mode="dark"][data-dark-ready~="all"] .popover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tooltip-inner {
    background: var(--ds-legacy-popover-bg) !important;
    color: var(--ds-text-secondary) !important;
    border-color: var(--ds-border-default) !important;
    box-shadow: var(--ds-shadow-popover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dropdown-menu > li > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results .select2-result-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker th,
[data-theme-mode="dark"][data-dark-ready~="all"] .dropdown-menu > li > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results .select2-result-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker td,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker th {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dropdown-menu > li > a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dropdown-menu > li > a:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results .select2-highlighted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker td.active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker td.active:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .dropdown-menu > li > a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .dropdown-menu > li > a:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results .select2-highlighted,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker td.active,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker td.active:hover {
    background: var(--ds-surface-selected) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav .inbox-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav .inbox-menu {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

.header .notifi-nav .inbox-menu:before,
.header .notifi-nav .inbox-menu:after,
.header .notifi-nav .inbox-menu .arrow {
    content: none !important;
    display: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav .inbox-menu > li > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav .inbox-menu > li > a {
    color: var(--ds-text-primary) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav .inbox-menu > li > a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .header .notifi-nav .inbox-menu > li > a:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav .inbox-menu > li > a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .header .notifi-nav .inbox-menu > li > a:focus {
    background: var(--ds-surface-selected) !important;
    color: var(--ds-color-action-primary-hover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-menu,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-menu-panel,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-menu-footer,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-menu-panel,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-menu-footer {
    background: var(--ds-legacy-popover-bg) !important;
    color: var(--ds-text-secondary) !important;
    border-color: var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-summary,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-summary {
    background: var(--ds-legacy-card-bg) !important;
    border-bottom-color: var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-name,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-menu-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-name,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-menu-label {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-meta,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-company,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-menu-help,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-meta,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-company,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-menu-help {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-menu a,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-menu a {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-menu-item:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-menu-item:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-menu-item:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-menu-item:focus {
    background: var(--ds-surface-selected) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-menu-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-menu-icon {
    background: var(--ds-button-neutral-bg) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-signout:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-signout:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-signout:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-signout:focus {
    background: rgba(248, 113, 113, .12) !important;
    color: var(--ds-color-danger-600) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-signout:hover .tt-account-menu-icon,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-account-signout:focus .tt-account-menu-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-signout:hover .tt-account-menu-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-account-signout:focus .tt-account-menu-icon {
    background: rgba(248, 113, 113, .16) !important;
    color: var(--ds-color-danger-600) !important;
}

.left-menu-set-wrap {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, .34) transparent;
}

.left-menu-set-wrap::-webkit-scrollbar {
    width: 8px;
}

.left-menu-set-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.left-menu-set-wrap::-webkit-scrollbar-thumb {
    min-height: 44px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(100, 116, 139, .34);
    background-clip: padding-box;
}

.left-menu-set-wrap:hover::-webkit-scrollbar-thumb,
.left-menu-set-wrap:focus-within::-webkit-scrollbar-thumb {
    background: rgba(71, 85, 105, .48);
    background-clip: padding-box;
}

.left-menu-set-wrap .slimScrollDiv,
.left-menu-set-wrap .menu-wrap > .sub-menu,
.left-menu-set-wrap .menu-wrap.active > .sub-menu {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.left-menu-set-wrap .slimScrollBar,
.left-menu-set-wrap .slimScrollRail {
    display: none !important;
}

.left-menu-set-wrap .settings_leftsubmenu_ul {
    max-height: none !important;
    margin: 4px 0 10px;
    padding: 0;
    overflow: visible !important;
}

.left-menu-set-wrap .menu-wrap > .sub-menu > li.selected > .settings_leftsubmenu_ul,
.left-menu-set-wrap .menu-wrap > .sub-menu > li.demo_data_settings.selected > .settings_leftsubmenu_ul {
    display: block !important;
}

.left-menu-set-wrap .settings_leftsubmenu_li {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 42px;
    overflow: visible;
}

.left-menu-set-wrap .settings_leftsubmenu_li a {
    min-width: 0;
    line-height: 1.3;
    white-space: normal;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body[class*="settings"] .page-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body[class*="settings"] .page-content > .container-fluid,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings-page,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings-wrapper,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tab-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tab-pane,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .portlet,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .portlet-body,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .well,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-section,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .left-menu-set-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .menu-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .menu-wrap.active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .card_custom_help_text,
[data-theme-mode="dark"][data-dark-ready~="all"] body[class*="settings"] .page-content,
[data-theme-mode="dark"][data-dark-ready~="all"] body[class*="settings"] .page-content > .container-fluid,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings-page,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings-wrapper,
[data-theme-mode="dark"][data-dark-ready~="all"] .tab-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .tab-pane,
[data-theme-mode="dark"][data-dark-ready~="all"] .portlet,
[data-theme-mode="dark"][data-dark-ready~="all"] .portlet-body,
[data-theme-mode="dark"][data-dark-ready~="all"] .well,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-section,
[data-theme-mode="dark"][data-dark-ready~="all"] .left-menu-set-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .menu-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .menu-wrap.active,
[data-theme-mode="dark"][data-dark-ready~="all"] .card_custom_help_text {
    background: var(--ds-legacy-card-bg) !important;
    color: var(--ds-text-secondary) !important;
    border-color: var(--ds-border-default) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs h1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs h2,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs h4,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs h5,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs h6,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .control-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .help-inline,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .help-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings h1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings h2,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings h4,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings h5,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings h6,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .control-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .left-menu-set-wrap .menu-title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .left-menu-set-wrap a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .card_custom_help_text,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs h1,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs h2,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs h4,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs h5,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs h6,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs label,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .control-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .help-inline,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .help-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs p,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs td,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs th,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings h1,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings h2,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings h4,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings h5,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings h6,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings label,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .control-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings p,
[data-theme-mode="dark"][data-dark-ready~="all"] .left-menu-set-wrap .menu-title,
[data-theme-mode="dark"][data-dark-ready~="all"] .left-menu-set-wrap a,
[data-theme-mode="dark"][data-dark-ready~="all"] .card_custom_help_text {
    color: var(--ds-text-primary) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .uppercase,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .f-600,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .m-title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .tieit-theme-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .uppercase,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .f-600,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .m-title,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .tieit-theme-label {
    color: var(--ds-text-primary) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .tieit-theme-option,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .tieit-theme-option {
    background: var(--ds-surface-raised, #0f1f33) !important;
    border-color: var(--ds-border-strong, rgba(226, 232, 240, .26)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .left-menu-set-wrap li.selected > .flex-row,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .left-menu-set-wrap li:hover > .flex-row,
[data-theme-mode="dark"][data-dark-ready~="all"] .left-menu-set-wrap li.selected > .flex-row,
[data-theme-mode="dark"][data-dark-ready~="all"] .left-menu-set-wrap li:hover > .flex-row {
    background: var(--ds-surface-selected) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs input,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs select,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings input,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings select,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings textarea {
    background: var(--ds-surface-raised, #0f1f33) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
    border-color: var(--ds-border-strong, rgba(226, 232, 240, .26)) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs input:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs select:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs textarea:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings input:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings select:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings textarea:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs input:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs select:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs textarea:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings input:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings select:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings textarea:focus {
    border-color: var(--ds-color-action-primary, #60a5fa) !important;
    box-shadow: var(--ds-focus-ring, 0 0 0 3px rgba(96, 165, 250, .38)) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .nav-tabs,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .nav-tabs > li > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .nav-tabs,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .nav-tabs > li > a {
    background: transparent !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .nav-tabs > .active > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .nav-tabs > .active > a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .nav-tabs > li > a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .nav-tabs > .active > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .nav-tabs > .active > a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .nav-tabs > li > a:hover {
    background: var(--ds-surface-selected) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .tab-table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .tab-table table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .tab-table tr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .tab-table td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .tab-table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .activity-list,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .activity-list li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .tab-table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .tab-table table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .tab-table tr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .tab-table td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .tab-table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .activity-list,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .activity-list li,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .tab-table,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .tab-table table,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .tab-table tr,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .tab-table td,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .tab-table th,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .activity-list,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .activity-list li,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .tab-table,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .tab-table table,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .tab-table tr,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .tab-table td,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .tab-table th,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .activity-list,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .activity-list li {
    background: var(--ds-legacy-table-row-bg) !important;
    color: var(--ds-text-secondary) !important;
    border-color: var(--ds-legacy-table-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .tab-table .table-head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .tab-table .table-head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .tab-table thead,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .tab-table thead,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .tab-table .table-head,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .tab-table .table-head,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .tab-table thead,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .tab-table thead {
    background: var(--ds-legacy-table-head-bg) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .tab-table a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .tab-table a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .settings_tabs .activity-list a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .profile-settings .activity-list a,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .tab-table a,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .tab-table a,
[data-theme-mode="dark"][data-dark-ready~="all"] .settings_tabs .activity-list a,
[data-theme-mode="dark"][data-dark-ready~="all"] .profile-settings .activity-list a {
    color: var(--ds-color-link) !important;
}

.activity-empty-state-card {
    width: min(460px, calc(100vw - 48px));
    margin: 92px auto 40px;
    padding: 28px 32px;
    border: 1px solid var(--ds-border-subtle);
    border-radius: var(--ds-radius-xl, 14px);
    background: var(--ds-surface-raised);
    color: var(--ds-text-secondary);
    box-shadow: var(--ds-shadow-panel, 0 16px 40px rgba(15, 23, 42, .10));
    text-align: center;
}

.activity-empty-state-shell,
.activity-empty-state-shell .inner-content {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.activity-empty-state-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--ds-color-action-primary-subtle);
    color: var(--ds-color-action-primary);
}

.activity-empty-state-icon i {
    font-size: 28px;
    line-height: 1;
}

.activity-empty-state-card h3 {
    margin: 0 0 8px;
    color: var(--ds-text-primary);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.activity-empty-state-card p {
    max-width: 340px;
    margin: 0 auto;
    color: var(--ds-text-secondary);
    font-size: 14px;
    line-height: 1.55;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-empty-state-card,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-empty-state-card {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-subtle) !important;
    color: var(--ds-text-secondary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-empty-state-card h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-empty-state-card h3 {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-empty-state-card p,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-empty-state-card p {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-empty-state-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-empty-state-icon {
    background: var(--ds-color-action-primary-subtle) !important;
    color: var(--ds-color-action-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_filter_grp label.filter-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .main_save_fil .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_filter_grp .SumoSelect > .CaptionCont > span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-view-reset-link,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_filter_grp label.filter-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .main_save_fil .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_filter_grp .SumoSelect > .CaptionCont > span,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-view-reset-link {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .main_save_fil .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_filter_grp .SumoSelect > .CaptionCont,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-filter-form,
[data-theme-mode="dark"][data-dark-ready~="all"] .main_save_fil .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_filter_grp .SumoSelect > .CaptionCont,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-filter-form {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-save-view-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-view-menu-trigger,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_custom_view_btns .activity-view-tab,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_custom_view_btns .act_filter_btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-save-view-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-view-menu-trigger,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_custom_view_btns .activity-view-tab,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_custom_view_btns .act_filter_btn {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_custom_view_btns .activity-view-tab i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_custom_view_btns .act_filter_btn i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-view-menu-trigger i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_mini_pan > a i.md,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_custom_view_btns .activity-view-tab i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_custom_view_btns .act_filter_btn i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-view-menu-trigger i,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_mini_pan > a i.md {
    color: currentColor !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-save-view-btn:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-save-view-btn:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-view-menu-trigger:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-view-menu-trigger:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_custom_view_btns .activity-view-tab:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_custom_view_btns .act_filter_btn:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-save-view-btn:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-save-view-btn:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-view-menu-trigger:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-view-menu-trigger:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_custom_view_btns .activity-view-tab:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_custom_view_btns .act_filter_btn:hover {
    background: var(--ds-button-neutral-hover-bg) !important;
    border-color: var(--ds-button-neutral-hover-border) !important;
    color: var(--ds-color-action-primary-hover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_custom_view_btns li.active .activity-view-tab,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_custom_view_btns .act_filter_btn.active,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_custom_view_btns li.active .activity-view-tab,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_custom_view_btns .act_filter_btn.active {
    background: var(--ds-surface-selected) !important;
    border-color: var(--ds-secondary-menu-active-border) !important;
    color: var(--ds-color-action-primary-hover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-view-dirty-pill,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-view-dirty-pill {
    background: rgba(96, 165, 250, .16) !important;
    border-color: rgba(147, 197, 253, .42) !important;
    color: #bfdbfe !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .save-filter-wrap .activity-view-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] .save-filter-wrap .activity-view-menu {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    box-shadow: var(--ds-shadow-popover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .save-filter-wrap .activity-view-menu li a,
[data-theme-mode="dark"][data-dark-ready~="all"] .save-filter-wrap .activity-view-menu li a {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .save-filter-wrap .activity-view-menu li a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .save-filter-wrap .activity-view-menu li a:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .save-filter-wrap .activity-view-menu li a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .save-filter-wrap .activity-view-menu li a:focus {
    background: var(--ds-surface-selected) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list > div,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-item,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act-row,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list li,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list > div,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-item,
[data-theme-mode="dark"][data-dark-ready~="all"] .act-row {
    background: var(--ds-legacy-table-row-bg) !important;
    color: var(--ds-text-secondary) !important;
    border-color: var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list li:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list > div:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-item:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act-row:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list li:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list > div:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-item:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .act-row:hover {
    background: var(--ds-legacy-table-row-hover-bg) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list li:hover *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-item:hover *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act-row:hover *,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list li:hover *,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-item:hover *,
[data-theme-mode="dark"][data-dark-ready~="all"] .act-row:hover * {
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list .btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list button,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act-row .btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act-row button,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list .btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list button,
[data-theme-mode="dark"][data-dark-ready~="all"] .act-row .btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .act-row button {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list .btn:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list button:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act-row .btn:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act-row button:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list .btn:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list button:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .act-row .btn:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .act-row button:hover {
    background: var(--ds-button-neutral-hover-bg) !important;
    border-color: var(--ds-button-neutral-hover-border) !important;
    color: var(--ds-color-action-primary-hover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list .c-gray,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list .muted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act-row .c-gray,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act-row .muted,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list .c-gray,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list .muted,
[data-theme-mode="dark"][data-dark-ready~="all"] .act-row .c-gray,
[data-theme-mode="dark"][data-dark-ready~="all"] .act-row .muted {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .progress,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .progress_bar,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act-progress,
[data-theme-mode="dark"][data-dark-ready~="all"] .progress,
[data-theme-mode="dark"][data-dark-ready~="all"] .progress_bar,
[data-theme-mode="dark"][data-dark-ready~="all"] .act-progress {
    background: var(--ds-legacy-input-bg) !important;
    border: 1px solid var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .progress .bar,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .progress-bar,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .progress_bar > *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act-progress > *,
[data-theme-mode="dark"][data-dark-ready~="all"] .progress .bar,
[data-theme-mode="dark"][data-dark-ready~="all"] .progress-bar,
[data-theme-mode="dark"][data-dark-ready~="all"] .progress_bar > *,
[data-theme-mode="dark"][data-dark-ready~="all"] .act-progress > * {
    background: var(--ds-button-action-bg) !important;
    color: var(--ds-button-action-text) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .prg-ind.todaystask .prg-bar-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .prg-bar-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .prg-ind.todaystask .prg-bar-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .prg-bar-wrap {
    background: #0f1f33 !important;
    border: 1px solid rgba(226, 232, 240, .18) !important;
    color: #f8fafc !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .prg-ind.todaystask .prg-bar-wrap span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .prg-bar-wrap span,
[data-theme-mode="dark"][data-dark-ready~="all"] .prg-ind.todaystask .prg-bar-wrap span,
[data-theme-mode="dark"][data-dark-ready~="all"] .prg-bar-wrap span {
    color: #f8fafc !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-icons,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .right-side-menu,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-right-panel,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .panel-warp,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .current-activity,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .slide-footer-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-icons,
[data-theme-mode="dark"][data-dark-ready~="all"] .right-side-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-right-panel,
[data-theme-mode="dark"][data-dark-ready~="all"] .panel-warp,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel,
[data-theme-mode="dark"][data-dark-ready~="all"] .current-activity,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view,
[data-theme-mode="dark"][data-dark-ready~="all"] .slide-footer-wrap {
    background: var(--ds-legacy-page-bg) !important;
    border-color: var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .right-side-menu a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .right-side-menu button,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-icons a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-icons button,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .panel-warp a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .panel-warp button,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel button,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .current-activity a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .current-activity button,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .right-side-menu i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-icons i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .panel-warp i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .current-activity i,
[data-theme-mode="dark"][data-dark-ready~="all"] .right-side-menu a,
[data-theme-mode="dark"][data-dark-ready~="all"] .right-side-menu button,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-icons a,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-icons button,
[data-theme-mode="dark"][data-dark-ready~="all"] .panel-warp a,
[data-theme-mode="dark"][data-dark-ready~="all"] .panel-warp button,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel a,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel button,
[data-theme-mode="dark"][data-dark-ready~="all"] .current-activity a,
[data-theme-mode="dark"][data-dark-ready~="all"] .current-activity button,
[data-theme-mode="dark"][data-dark-ready~="all"] .right-side-menu i,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-icons i,
[data-theme-mode="dark"][data-dark-ready~="all"] .panel-warp i,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel i,
[data-theme-mode="dark"][data-dark-ready~="all"] .current-activity i {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .empty-table .inner-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .empty-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .no-activity-events .inner-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .empty-table .inner-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .empty-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .no-activity-events .inner-content {
    background: var(--ds-legacy-card-bg) !important;
    border: 1px solid var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .empty-state.no-activity-events,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .no-activity-events,
[data-theme-mode="dark"][data-dark-ready~="all"] .empty-state.no-activity-events,
[data-theme-mode="dark"][data-dark-ready~="all"] .no-activity-events {
    background: transparent !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-empty-state-shell,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-empty-state-shell .inner-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-empty-state-shell,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-empty-state-shell .inner-content {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .footer-card.form_footer_card_custom,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom,
[data-theme-mode="dark"][data-dark-ready~="all"] .footer-card.form_footer_card_custom {
    background: var(--ds-legacy-popover-bg) !important;
    border-top: 1px solid var(--ds-border-default) !important;
    box-shadow: 0 -14px 34px rgba(0, 0, 0, .26) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .open_logicpreview,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .form-preview,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .them_btn_prew,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .them_btn_submissons,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .share_btn_form,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .open_logicpreview,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .form-preview,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .them_btn_prew,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .them_btn_submissons,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .share_btn_form {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .open_logicpreview svg,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .open_logicpreview svg path,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .open_logicpreview svg g,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .form-preview svg,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .form-preview svg path,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .form-preview svg g,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .open_logicpreview svg,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .open_logicpreview svg path,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .open_logicpreview svg g,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .form-preview svg,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .form-preview svg path,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .form-preview svg g {
    fill: currentColor !important;
    stroke: currentColor !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .open_logicpreview:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .form-preview:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .them_btn_prew:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .them_btn_submissons:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .share_btn_form:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .open_logicpreview:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .form-preview:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .them_btn_prew:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .them_btn_submissons:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .share_btn_form:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .open_logicpreview:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .form-preview:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .them_btn_prew:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .them_btn_submissons:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .share_btn_form:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .open_logicpreview:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .form-preview:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .them_btn_prew:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .them_btn_submissons:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .share_btn_form:focus {
    background: var(--ds-surface-selected) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-color-action-primary-hover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form-title-hero,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form-title-hero .form-name,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form-title-hero i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form-title-hero .editable,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form-title-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .top-form-title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .source-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page [class*="source"],
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form-title-hero,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form-title-hero .form-name,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form-title-hero i,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form-title-hero .editable,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form-title-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .top-form-title,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .source-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page [class*="source"] {
    color: var(--ds-text-primary) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .source-wrap .btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page [class*="source"] .btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .source-wrap .btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page [class*="source"] .btn {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .from-board,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .from-board .top-bar,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .right-form-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .page_break_content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page #sortable1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .tiet_section_colum1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .brick.control,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .from-board,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .from-board .top-bar,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .right-form-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .page_break_content,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page #sortable1,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .tiet_section_colum1,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .brick.control {
    color: #0f172a !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .from-board .top-bar,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .right-form-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .tiet_section_colum1,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .from-board .top-bar,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .right-form-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .tiet_section_colum1 {
    background: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page #sortable1,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page #sortable1 {
    background: #e6f3ff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .brick.control,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .brick.control {
    background: rgba(222, 234, 245, .92) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .from-board label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .from-board .uppercase,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .from-board span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .from-board input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .from-board textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .from-board label,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .from-board .uppercase,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .from-board span,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .from-board input,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .from-board textarea {
    color: #0f172a !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .right-form-wrap input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .right-form-wrap textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .section_head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .section_sub_head,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .right-form-wrap input,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .right-form-wrap textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .section_head,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .section_sub_head {
    background: transparent !important;
    color: #0f172a !important;
    border-color: #bfdbfe !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .from-board a,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .from-board a {
    color: #2563eb !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .btn-primary.dropdown-toggle,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .btn-primary.dropdown-toggle {
    background: var(--ds-button-action-bg, #2563eb) !important;
    border-color: var(--ds-button-action-bg, #2563eb) !important;
    color: var(--ds-button-action-text, #ffffff) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .btn-primary:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .btn-primary:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .btn-primary:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .btn-primary:focus {
    background: var(--ds-button-action-hover-bg, #1d4ed8) !important;
    border-color: var(--ds-button-action-hover-bg, #1d4ed8) !important;
    color: var(--ds-button-action-text, #ffffff) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .btn-primary i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_footer_card_custom .btn-primary .caret,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .btn-primary i,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_footer_card_custom .btn-primary .caret {
    color: var(--ds-button-action-text, #ffffff) !important;
    border-top-color: var(--ds-button-action-text, #ffffff) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form_customizer .control,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form_customizer .cust_fld_srh,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form_customizer .cust_fld_srh_custom,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form_customizer .control,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form_customizer .cust_fld_srh,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form_customizer .cust_fld_srh_custom {
    background: #ffffff !important;
    border-color: #dbe7f3 !important;
    color: #0f172a !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form_customizer .control label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form_customizer .control span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form_customizer .control i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form_customizer .cust_fld_srh *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form_customizer .cust_fld_srh_custom *,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form_customizer .control label,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form_customizer .control span,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form_customizer .control i,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form_customizer .cust_fld_srh *,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form_customizer .cust_fld_srh_custom * {
    color: #0f172a !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .form-edit-page .form_customizer .control:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .form-edit-page .form_customizer .control:hover {
    border-color: #93c5fd !important;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, .22) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .modal-body,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .modal-body {
    background: var(--ds-modal-surface-bg) !important;
    color: var(--ds-modal-body-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .modal-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .modal-header {
    background: var(--ds-modal-header-bg) !important;
    border-color: var(--ds-modal-header-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .modal-footer,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .modal-footer {
    background: var(--ds-modal-footer-bg) !important;
    border-color: var(--ds-modal-footer-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal-header h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal-body label,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal-header h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal-body label {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal h1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal h2,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal h4,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal h5,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal h6,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal th,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal h1,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal h2,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal h4,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal h5,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal h6,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal p,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal span,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal td,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal th {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .SumoSelect > .CaptionCont,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal input,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal select,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .SumoSelect > .CaptionCont {
    background: var(--ds-legacy-input-bg) !important;
    color: var(--ds-text-primary) !important;
    border-color: var(--ds-border-strong) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .btn:not(.btn-primary):not(.btn-success):not(.btn-danger),
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .btn:not(.btn-primary):not(.btn-success):not(.btn-danger) {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .modal-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .modal-dialog,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .modal-container,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .modal-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .modal-dialog,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .modal-container,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .card-wrap {
    background: var(--ds-modal-surface-bg) !important;
    border-color: var(--ds-modal-surface-border) !important;
    color: var(--ds-modal-body-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .control-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-group > label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .m-group > label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal label.f-600,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .control-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-group > label,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .m-group > label,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal label.f-600 {
    color: #cbd5e1 !important;
    font-weight: 600 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .required,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .text-danger,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal label .required,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .required,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .text-danger,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal label .required {
    color: #fb7185 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .muted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal small,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .help-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .help-inline,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .muted,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal small,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .help-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .help-inline {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .select2-container .select2-choice > .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .select2-container .select2-choice .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .select2-search-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .select2-container .select2-choice > .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .select2-container .select2-choice .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .select2-search-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal textarea::placeholder {
    color: var(--ds-text-primary) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .table-responsive,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal table,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .table,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .table-responsive {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal tr,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal th,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal td,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal tr {
    background: transparent !important;
    border-color: var(--ds-legacy-table-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .btn-success,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .btn-success {
    background: var(--ds-button-action-bg) !important;
    border-color: var(--ds-button-action-border) !important;
    color: var(--ds-button-action-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dashboard_grid,
[data-theme-mode="dark"][data-dark-ready~="all"] .dashboard_grid {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dashboard_grid .basic-info,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .analytic-grid-4 > div,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .analytic-grid-3 > div,
[data-theme-mode="dark"][data-dark-ready~="all"] .dashboard_grid .basic-info,
[data-theme-mode="dark"][data-dark-ready~="all"] .analytic-grid-4 > div,
[data-theme-mode="dark"][data-dark-ready~="all"] .analytic-grid-3 > div {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    border-left-color: var(--ds-color-action-primary) !important;
    color: var(--ds-text-primary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dashboard_grid .form-name-s,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dashboard_grid .c-black,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .analytic-grid-4 .c-black,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .analytic-grid-3 .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] .dashboard_grid .form-name-s,
[data-theme-mode="dark"][data-dark-ready~="all"] .dashboard_grid .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] .analytic-grid-4 .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] .analytic-grid-3 .c-black {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dashboard_grid .create-date,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dashboard_grid .uppercase,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .analytic-grid-4 .uppercase,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .analytic-grid-3 .uppercase,
[data-theme-mode="dark"][data-dark-ready~="all"] .dashboard_grid .create-date,
[data-theme-mode="dark"][data-dark-ready~="all"] .dashboard_grid .uppercase,
[data-theme-mode="dark"][data-dark-ready~="all"] .analytic-grid-4 .uppercase,
[data-theme-mode="dark"][data-dark-ready~="all"] .analytic-grid-3 .uppercase {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .frm_detail_nav,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tabbable[data-role="data-settings-content"] > .tab-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .form_submission_data,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .table-search-bar,
[data-theme-mode="dark"][data-dark-ready~="all"] .frm_detail_nav,
[data-theme-mode="dark"][data-dark-ready~="all"] .tabbable[data-role="data-settings-content"] > .tab-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .form_submission_data,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .table-search-bar {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .frm_detail_nav > li > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view_tog a,
[data-theme-mode="dark"][data-dark-ready~="all"] .frm_detail_nav > li > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .view_tog a {
    color: var(--ds-color-link) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .frm_detail_nav > li.active > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view_tog a.active,
[data-theme-mode="dark"][data-dark-ready~="all"] .frm_detail_nav > li.active > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .view_tog a.active {
    background: var(--ds-color-action-primary-subtle) !important;
    border-color: var(--ds-color-action-primary) !important;
    color: var(--ds-color-link-hover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .k-dropdown-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .k-picker-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .k-numeric-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .k-multiselect-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub input,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .k-dropdown-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .k-picker-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .k-numeric-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .k-multiselect-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .select2-container .select2-choice {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub input::placeholder {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .btn:not(.btn-primary):not(.btn-success):not(.btn-danger),
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .k-button,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .btn:not(.btn-primary):not(.btn-success):not(.btn-danger),
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .k-button {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .btn-primary {
    background: var(--ds-button-action-bg) !important;
    border-color: var(--ds-button-action-border) !important;
    color: var(--ds-button-action-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .k-animation-container .k-list-container,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .k-animation-container .k-list-container,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
    box-shadow: var(--ds-shadow-panel) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .dropdown-menu a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container .k-item,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .dropdown-menu a,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container .k-item {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .dropdown-menu a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container .k-item:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container .k-state-hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .dropdown-menu a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container .k-item:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container .k-state-hover {
    background: var(--ds-surface-hover) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid .k-grid-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid .k-grid-header-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid .k-grid-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid .k-grid-content-locked,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid .k-grid-content-sticky,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid .k-grid-header,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid .k-grid-header-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid .k-grid-content,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid .k-grid-content-locked,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid .k-grid-content-sticky {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid .k-grouping-header,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid .k-grouping-header {
    background: rgba(20, 184, 166, 0.18) !important;
    border-color: rgba(45, 212, 191, 0.26) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid tr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid td,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid table,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid tr,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid th,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid td {
    background: var(--ds-legacy-table-row-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid .k-header,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid th,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid .k-header {
    background: var(--ds-legacy-table-head-bg) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid tr:hover td,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid tr:hover td {
    background: var(--ds-legacy-table-row-hover-bg) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid .k-link,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid a,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid .k-link {
    color: var(--ds-color-link) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #submission_Grid .k-icon,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-kendo-table-sub .k-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] #submission_Grid .k-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-kendo-table-sub .k-icon {
    color: var(--ds-text-muted) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header-wrap::-webkit-scrollbar-track-piece,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header-wrap::-webkit-scrollbar-track-piece {
    background: var(--ds-legacy-table-head-bg) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header-wrap {
    scrollbar-color: var(--ds-border-strong) var(--ds-legacy-table-head-bg) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail {
    background: var(--ds-modal-surface-bg) !important;
    border-left-color: var(--ds-modal-surface-border) !important;
    color: var(--ds-modal-body-text) !important;
    box-shadow: var(--ds-modal-surface-shadow) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals > .border-box,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .row-fluid.border-box,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .rf-container-div,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .rf-internal-table-striped,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals > .border-box,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .row-fluid.border-box,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .rf-container-div,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .rf-internal-table-striped {
    background: transparent !important;
    color: var(--ds-text-secondary) !important;
    border-color: var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .submission-sidepane,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .submission-sidepane {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .section-heading,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .section-subheading,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .submission-sidepane .bold,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .submission-sidepane strong,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .section-heading,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .section-subheading,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .submission-sidepane .bold,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .submission-sidepane strong,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .c-black {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .muted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .section-subheading,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .muted,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .section-subheading {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals a,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals a {
    color: var(--ds-color-link) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals input,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals select,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .select2-choices {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals textarea::placeholder {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .select2-search-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .select2-container-multi .select2-choices .select2-search-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .select2-search-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .select2-container-multi .select2-choices .select2-search-choice {
    background: var(--ds-surface-selected) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .select2-search-choice-close,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .select2-search-choice-close {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .checker span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .radio span,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .checker span,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .radio span {
    background-color: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals tr.rf-main-label td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals tr.rf-item-label td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .rf-container-div .rf-each-item-data,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail #form_internals .rf-internal-table-striped td,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals tr.rf-main-label td,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals tr.rf-item-label td,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .rf-container-div .rf-each-item-data,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail #form_internals .rf-internal-table-striped td {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail .levenshtein-matches,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail .levenshtein-matches {
    background: rgba(37, 99, 235, .10) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail .full_width_pop_close,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail .full_width_pop_close {
    background: var(--ds-button-neutral-bg) !important;
    color: var(--ds-text-primary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail .full_width_pop_close i.md.md-close,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail .full_width_pop_close i.md.md-close {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail .sidepan_stiky_footer,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail .sidepan_stiky_footer {
    background: var(--ds-modal-footer-bg) !important;
    border-top: 1px solid var(--ds-modal-footer-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail .sidepan_stiky_footer .btn:not(.btn-primary):not(.btn-success):not(.btn-danger),
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail .sidepan_stiky_footer .btn:not(.btn-primary):not(.btn-success):not(.btn-danger) {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-form-detail .sidepan_stiky_footer .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="all"] .view-form-detail .sidepan_stiky_footer .btn-primary {
    background: var(--ds-button-action-bg) !important;
    border-color: var(--ds-button-action-border) !important;
    color: var(--ds-button-action-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.workflow,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .workflow-wraper,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .workflow-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .zoomContainer,
[data-theme-mode="dark"][data-dark-ready~="all"] body.workflow,
[data-theme-mode="dark"][data-dark-ready~="all"] .workflow-wraper,
[data-theme-mode="dark"][data-dark-ready~="all"] .workflow-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .zoomContainer {
    background: var(--ds-legacy-page-bg) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .workflow-head,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .workflow-head {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-subtle) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .workflow-name,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-header .dh-title_custom,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .workflow-head label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-header a,
[data-theme-mode="dark"][data-dark-ready~="all"] .workflow-name,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-header .dh-title_custom,
[data-theme-mode="dark"][data-dark-ready~="all"] .workflow-head label,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-header a {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .hey-main-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .note-wraper,
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box,
[data-theme-mode="dark"][data-dark-ready~="all"] .hey-main-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .note-wraper {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-secondary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .heading-box,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .triggers.single-opt .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .hey-main-btn > span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .note-head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .note-list > span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] ul.hey-action-list > li > span,
[data-theme-mode="dark"][data-dark-ready~="all"] .heading-box,
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="all"] .triggers.single-opt .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="all"] .hey-main-btn > span,
[data-theme-mode="dark"][data-dark-ready~="all"] .note-head,
[data-theme-mode="dark"][data-dark-ready~="all"] .note-list > span,
[data-theme-mode="dark"][data-dark-ready~="all"] ul.hey-action-list > li > span {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .trigger-mixing-wrap .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .trigger-mixing-wrap .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .trigger-mixing-wrap input[type="text"],
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .trigger-mixing-wrap .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .trigger-mixing-wrap .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .trigger-mixing-wrap input[type="text"] {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .hey-main-btn:before,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .hey-single-step~.for-action:after,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .hey-single-step~.hey-button-box:before,
[data-theme-mode="dark"][data-dark-ready~="all"] .hey-main-btn:before,
[data-theme-mode="dark"][data-dark-ready~="all"] .hey-single-step~.for-action:after,
[data-theme-mode="dark"][data-dark-ready~="all"] .hey-single-step~.hey-button-box:before {
    border-color: var(--ds-border-strong) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .hey-single-step~.hey-button-box:after,
[data-theme-mode="dark"][data-dark-ready~="all"] .hey-single-step~.hey-button-box:after {
    border-color: var(--ds-legacy-page-bg) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .condition-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .action-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .trigger-mixing-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .save-triggers,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select-trigger-box,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .second-phase,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .condition-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .action-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .trigger-mixing-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .save-triggers,
[data-theme-mode="dark"][data-dark-ready~="all"] .select-trigger-box,
[data-theme-mode="dark"][data-dark-ready~="all"] .second-phase {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap .control-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap .label_wrap_wf_select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap .heading-box,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap .trigger-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .workflow-content label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .workflow-content .heading-box,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap label,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap .control-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap .label_wrap_wf_select,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap .heading-box,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap .trigger-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .workflow-content label,
[data-theme-mode="dark"][data-dark-ready~="all"] .workflow-content .heading-box {
    color: #dbeafe !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap .muted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap small,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap .help-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .workflow-content .muted,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap .muted,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap small,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap .help-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .workflow-content .muted {
    color: #9fb0c6 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .trigger-mixing-wrap textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .trigger-mixing-wrap select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .automation-workflow-wrap select,
[data-theme-mode="dark"][data-dark-ready~="all"] .trigger-mixing-wrap textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .trigger-mixing-wrap select,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap input,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .automation-workflow-wrap select {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box .row-fluid > [class*="span"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box .camp-button,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box .trigger-min,
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box .row-fluid > [class*="span"],
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box .camp-button,
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box .trigger-min {
    border-color: rgba(148, 163, 184, .28) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box .camp-button span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box .camp-button p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box .camp-button strong,
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box .camp-button span,
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box .camp-button p,
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box .camp-button strong {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box .camp-button:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .wrkflow-main-box .camp-button.active,
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box .camp-button:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .wrkflow-main-box .camp-button.active {
    background: rgba(43, 127, 255, .12) !important;
    border-color: rgba(96, 165, 250, .54) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .fixed-save-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .save-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .fixed-save-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .save-wrap {
    background: rgba(30, 64, 175, .28) !important;
    border-color: rgba(96, 165, 250, .22) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page.page-header-fixed .page-container,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .verticaltab-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .segment-listing-sec,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .segment-sec-continer,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .edit-campaign,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .edit-campaign .edit-wrapper,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page.page-header-fixed .page-container,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .verticaltab-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .segment-listing-sec,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .segment-sec-continer,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .edit-campaign,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .edit-campaign .edit-wrapper {
    background: var(--ds-legacy-page-bg) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .page-head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .page-head ul,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .cont-list-opt,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .resp-tabs-container,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .table-responsive,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .slide-container-right,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .dropzone,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .panel-head,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .page-head,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .page-head ul,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .cont-list-opt,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .resp-tabs-container,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .table-responsive,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .slide-container-right,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .dropzone,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .panel-head {
    background: var(--ds-legacy-card-bg) !important;
    color: var(--ds-text-secondary) !important;
    border-color: var(--ds-border-default) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .page-head h1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .page-head h2,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .page-head h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .page-head h4,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .page-head h5,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec h1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec h2,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec h4,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec h5,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec h6,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec strong,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-detail h4,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-detail .campaign-type,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .page-head h1,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .page-head h2,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .page-head h3,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .page-head h4,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .page-head h5,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec h1,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec h2,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec h3,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec h4,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec h5,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec h6,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec label,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec strong,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-detail h4,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-detail .campaign-type {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .created-date,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-report-details .type,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .breadcrumb .active,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec p,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec span,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .created-date,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-report-details .type,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .breadcrumb .active {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .resp-tabs-list li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .resp-tabs-list li a,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .resp-tabs-list li,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .resp-tabs-list li a {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .resp-tabs-list li.resp-tab-active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .resp-tabs-list li.resp-tab-active a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .resp-tabs-list li:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .resp-tabs-list li:hover a,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .resp-tabs-list li.resp-tab-active,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .resp-tabs-list li.resp-tab-active a,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .resp-tabs-list li:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .resp-tabs-list li:hover a {
    background: var(--ds-surface-selected) !important;
    border-color: var(--ds-secondary-menu-active-border) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .segment-listing-sec table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .table-responsive table,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .table,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec table,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .segment-listing-sec table,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .table-responsive table {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec table thead,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .table th,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec table th,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec table thead {
    background: var(--ds-legacy-table-head-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .table tr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .table td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec table tr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec table td,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .table tr,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .table td,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec table tr,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec table td {
    background: var(--ds-legacy-table-row-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec table tr:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec table tr:hover td,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec table tr:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec table tr:hover td {
    background: var(--ds-legacy-table-row-hover-bg) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-detail a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .edit-wrapper td a,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec a,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-detail a,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .edit-wrapper td a {
    color: var(--ds-color-link) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .form-control,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .normal-select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .common-dropdown-small-div,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec input,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec select,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .form-control,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .normal-select,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .common-dropdown-small-div {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec textarea::placeholder {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .btn.white-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .plain-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .back-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .btn.white-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .plain-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .back-btn {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .btn-success,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .btn.green,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .empty-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .btn-success,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .btn.green,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .empty-btn {
    background: var(--ds-button-action-bg) !important;
    border-color: var(--ds-button-action-border) !important;
    color: var(--ds-button-action-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .dropdown-menu li,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .dropdown-menu li {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .dropdown-menu li a,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .dropdown-menu li a {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .dropdown-menu li:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .dropdown-menu li a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .dropdown-menu li:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .dropdown-menu li a:hover {
    background: var(--tt-chrome-row-hover-bg) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .empty-state,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-create-sec .empty-state .inner-content,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .empty-state,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-create-sec .empty-state .inner-content {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-subtle) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-detail-sec,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-report-details,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .table-wrap-holder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-fltr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .listing-options,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .verticaltab-wrap .table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .select-temp-popup,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-detail-sec,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-report-details,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .table-wrap-holder,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-fltr,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .listing-options,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .verticaltab-wrap .table,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .select-temp-popup {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
    box-shadow: none !important;
    outline: 0 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .detailed_campaign_report li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-dashboard-card,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-summary-card,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .detailed_campaign_report li,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-dashboard-card,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-summary-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(15, 23, 42, .88)) !important;
    border: 1px solid var(--ds-border-default) !important;
    border-radius: 8px !important;
    color: var(--ds-text-primary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .detailed_campaign_report li span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .detailed_campaign_report li p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .detailed_campaign_report li strong,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .detailed_campaign_report li span,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .detailed_campaign_report li p,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .detailed_campaign_report li strong {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .table-responsive,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .table-responsive *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .campaign-fltr *,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .table-responsive,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .table-responsive *,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .campaign-fltr * {
    border-color: var(--ds-legacy-table-border) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .list-table-chk,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page table,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .table,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .list-table-chk {
    background: var(--ds-legacy-card-bg) !important;
    border: 1px solid var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
    outline: 0 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page table thead,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .table-head,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page table thead,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page table th,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .table-head {
    background: var(--ds-legacy-table-head-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page table tr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page table td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .table tr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .table td,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page table tr,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page table td,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .table tr,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .table td {
    background: var(--ds-legacy-table-row-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page table tr:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page table tr:hover td,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page table tr:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page table tr:hover td {
    background: var(--ds-legacy-table-row-hover-bg) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .form-control,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page input,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page select,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .form-control,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .select2-choices {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page textarea::placeholder {
    color: var(--ds-text-muted) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .btn.white-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .btn.btn-default,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .btn.plain-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .btn.back-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .btn.white-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .btn.btn-default,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .btn.plain-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .btn.back-btn {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .btn-success,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .main-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .btn-success,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .main-btn {
    background: var(--ds-button-action-bg) !important;
    border-color: var(--ds-button-action-border) !important;
    color: var(--ds-button-action-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .dropdown-menu li,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .dropdown-menu li {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .dropdown-menu a,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .dropdown-menu a {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .dropdown-menu a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] body.emm-page .dropdown-menu li:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .dropdown-menu a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] body.emm-page .dropdown-menu li:hover {
    background: var(--tt-chrome-row-hover-bg) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-detail,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-detail-sec,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-report-details,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .table-m-p-report,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .edit-campaign,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-detail,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-detail-sec,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-report-details,
[data-theme-mode="dark"][data-dark-ready~="all"] .table-m-p-report,
[data-theme-mode="dark"][data-dark-ready~="all"] .edit-campaign {
    background: var(--ds-legacy-page-bg) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec .table-responsive,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec .campaign-fltr,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec .segment-list-wrp,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec .rec-list-wrp,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .detailed_campaign_report li,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec .table-responsive,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec .campaign-fltr,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec .segment-list-wrp,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec .rec-list-wrp,
[data-theme-mode="dark"][data-dark-ready~="all"] .detailed_campaign_report li {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
    box-shadow: none !important;
    outline: 0 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec h1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec h2,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec h4,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec h5,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec h6,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec strong,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .detailed_campaign_report li span,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec h1,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec h2,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec h4,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec h5,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec h6,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec label,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec strong,
[data-theme-mode="dark"][data-dark-ready~="all"] .detailed_campaign_report li span {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec .form-control,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .campaign-create-sec .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec input,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec select,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec .form-control,
[data-theme-mode="dark"][data-dark-ready~="all"] .campaign-create-sec .select2-container .select2-choice {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar {
    background: var(--tt-chrome-panel-bg) !important;
    border-color: var(--tt-chrome-panel-border) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__list a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__favorites-list a,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__title,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__list a,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__favorites-list a {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__section-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__section-label {
    border-top-color: rgba(148, 163, 184, .16) !important;
    color: #a8b7ca !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__list a small,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__favorites-list a small,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__list a small,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__favorites-list a small {
    color: #9fb0c6 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__favorites,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__favorites {
    border-bottom-color: rgba(148, 163, 184, .14) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__drag-handle,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__drag-handle {
    color: #9fb0c6 !important;
    opacity: .86;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__pinned-list li:hover .tt-module-sidebar__drag-handle,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__pinned-list li:focus-within .tt-module-sidebar__drag-handle,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__pinned-list li.is-dragging .tt-module-sidebar__drag-handle,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__pinned-list li:hover .tt-module-sidebar__drag-handle,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__pinned-list li:focus-within .tt-module-sidebar__drag-handle,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__pinned-list li.is-dragging .tt-module-sidebar__drag-handle {
    background: rgba(96, 165, 250, .12) !important;
    color: #bfdbfe !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__list a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__list a:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__favorites-list a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__favorites-list a:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__list a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__list a:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__favorites-list a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__favorites-list a:focus {
    background: var(--tt-chrome-row-hover-bg) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__list li.active a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__list li.active a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__list li.active a:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__list li.active a,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__list li.active a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__list li.active a:focus {
    background: var(--tt-chrome-row-selected-bg) !important;
    color: #dbeafe !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__favorite-toggle,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__favorite-toggle {
    color: #9fb0c6 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__favorite-toggle.is-pinned,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__favorite-toggle:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-module-sidebar__favorite-toggle:focus-visible,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__favorite-toggle.is-pinned,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__favorite-toggle:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-module-sidebar__favorite-toggle:focus-visible {
    background: rgba(96, 165, 250, .12) !important;
    color: #60a5fa !important;
}

[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-nav-customize__tabs,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__tabs,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__tabs {
    background: rgba(15, 23, 42, .72) !important;
    border: 1px solid rgba(148, 163, 184, .18) !important;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .32) !important;
}

[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-nav-customize__tabs button,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__tabs button,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__tabs button {
    color: #cbd5e1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="tokens"] .tt-nav-customize__tabs button.is-active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__tabs button.is-active,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__tabs button.is-active {
    background: linear-gradient(180deg, rgba(37, 99, 235, .34), rgba(30, 64, 175, .22)) !important;
    border: 1px solid rgba(96, 165, 250, .46) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 24px -20px rgba(0, 0, 0, .9) !important;
}

[data-theme-mode="dark"] .tt-nav-customize__tabs button.is-active {
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__destination-group,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__dock-row,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__appearance-option,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__themes button,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__destination-group,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__dock-row,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__appearance-option,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__themes button {
    background: var(--ds-surface-raised) !important;
    border-color: var(--ds-border-subtle) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__destination-group .tt-nav-customize__destination-heading,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__destination-group .tt-nav-customize__destination-heading {
    border-bottom-color: rgba(148, 163, 184, .14) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__destination-row,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__destination-row {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__notice,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__notice {
    background: rgba(20, 184, 166, .12) !important;
    border-color: rgba(45, 212, 191, .36) !important;
    color: #99f6e4 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__destination-row:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__destination-row:focus-within,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__destination-row:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__destination-row:focus-within {
    background: var(--tt-chrome-row-hover-bg) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__pin,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__pin {
    color: #9fb0c6 !important;
    opacity: .9;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__pin.is-pinned,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__pin:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__pin:focus-visible,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__appearance-option.is-active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__themes button.is-active,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__pin.is-pinned,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__pin:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__pin:focus-visible,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__appearance-option.is-active,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__themes button.is-active {
    border-color: rgba(96, 165, 250, .48) !important;
    background: rgba(96, 165, 250, .12) !important;
    color: #60a5fa !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__themes button.is-active,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__themes button.is-active {
    border-color: rgba(96, 165, 250, .62) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-nav-customize__footer,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-nav-customize__footer {
    background: rgba(11, 23, 40, .88) !important;
    border-top-color: rgba(148, 163, 184, .14) !important;
    color: var(--ds-text-muted) !important;
}

/*** CRM record detail and timeline dark-mode adapter ***/
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .company-details-ajax,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .deal-details-ajax,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_mini_pan,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-wrapper,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline.menu-contents,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing.timeline,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail,
[data-theme-mode="dark"][data-dark-ready~="all"] .company-details-ajax,
[data-theme-mode="dark"][data-dark-ready~="all"] .deal-details-ajax,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_mini_pan,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-wrapper,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline.menu-contents,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing.timeline {
    background: var(--ds-legacy-page-bg) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .profile-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .profile-block .tab-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .profile-block .tab-pane,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .profile-block .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .pinned-list > li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .pinned-emp-msg,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .card_wrap_new_filter,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .rows.card-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .timeline_no_search_wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline-tree .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline [data-role="outer-wrapper"],
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .profile-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .profile-block .tab-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .profile-block .tab-pane,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .profile-block .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .pinned-list > li,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .pinned-emp-msg,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .card_wrap_new_filter,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .rows.card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .timeline_no_search_wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline-tree .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list .card-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline [data-role="outer-wrapper"] {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .bgm-white,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .full-view,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .disabled-tag-formating,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .timeline_view,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .new-ui-cmd,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline [data-head="timeline-activity"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline [data-wrap="content"],
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .bgm-white,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .full-view,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .disabled-tag-formating,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .timeline_view,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .new-ui-cmd,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline [data-head="timeline-activity"],
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline [data-wrap="content"] {
    background: var(--ds-surface-raised) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .time_line_search_custom,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .category_filter_custom,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .category_filter,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .timeline-range .btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .timeline_sort_filter,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .time_line_search_custom,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .category_filter_custom,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .category_filter,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .timeline-range .btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .timeline_sort_filter,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .select2-container .select2-choice {
    background: var(--ds-surface-selected) !important;
    border-color: var(--ds-border-subtle) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .search-option,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .search-option input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .cmd_box,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .search-option,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .search-option input,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .cmd_box,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline input,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail input,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail textarea {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .cmd_box::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .cmd_box::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail textarea::placeholder {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .profile-block,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .profile-block *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .actvity-title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .txt-wp,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .timeline_hd_right,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .disabled-tag-formating,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .disabled-tag-formating *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .c-dark,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .c-black,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline strong,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .profile-block,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .profile-block *,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .actvity-title,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .txt-wp,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .timeline_hd_right,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .disabled-tag-formating,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .disabled-tag-formating *,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .c-dark,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline label,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline strong {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .profile-block .p-time,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .profile-block .muted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .profile-block .c-gray,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .c-gray,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline small,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .date-timeline-style,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .timeline_hd_right .m-0.f-11,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .profile-block .p-time,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .profile-block .muted,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .profile-block .c-gray,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .c-gray,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline small,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .date-timeline-style,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .timeline_hd_right .m-0.f-11 {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .c-blue,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .nav-tabs > li > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline a,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .c-blue,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail a,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .nav-tabs > li > a {
    color: var(--ds-link) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .nav-tabs,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .nav-tabs,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .nav-tabs,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .nav-tabs {
    border-bottom-color: var(--ds-border-strong) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .nav-tabs > .active > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .nav-tabs > .active > a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .nav-tabs > .active > a:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .nav-tabs > .active > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .nav-tabs > .active > a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .nav-tabs > .active > a:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .nav-tabs > .active > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .nav-tabs > .active > a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .nav-tabs > .active > a:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .nav-tabs > .active > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .nav-tabs > .active > a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .nav-tabs > .active > a:focus {
    background: var(--ds-surface-selected) !important;
    border-color: var(--ds-border-strong) !important;
    border-bottom-color: var(--ds-color-action-primary) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline-tree > li:before,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-list > li:before,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline-tree > li:before,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-list > li:before {
    border-left-color: var(--ds-border-strong) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .dropdown-menu {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    box-shadow: var(--ds-shadow-popover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .dropdown-menu a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .dropdown-menu a,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .dropdown-menu a,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .dropdown-menu a {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .dropdown-menu a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-detail .dropdown-menu a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .dropdown-menu a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-detail .dropdown-menu a:hover {
    background: var(--ds-surface-selected) !important;
    color: var(--ds-text-primary) !important;
}

/*** Select2 compatibility layer ***/
.select2-container,
.select2-container * {
    box-sizing: border-box;
}

.select2-container {
    max-width: 100%;
}

.select2-container .select2-choice,
.select2-container .select2-choices,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 36px;
    border-radius: 8px !important;
    border: 1px solid var(--ds-border-default, #dbe4ee) !important;
    background: var(--ds-surface-default, #ffffff) !important;
    color: var(--ds-text-primary, #111827) !important;
    box-shadow: none !important;
}

.select2-container .select2-choice {
    display: flex !important;
    align-items: center;
    padding: 0 34px 0 12px !important;
    line-height: 1.35 !important;
}

.select2-container .select2-choice > .select2-chosen,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--ds-text-primary, #111827) !important;
    line-height: 1.35 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.select2-container .select2-choice .select2-arrow,
.select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 32px !important;
    height: 100% !important;
    right: 0 !important;
    top: 0 !important;
}

.select2-container .select2-choice .select2-arrow b,
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-top-color: var(--ds-icon-secondary, #475569) !important;
}

.select2-container-active .select2-choice,
.select2-container-active .select2-choices,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--ds-color-action-primary, #2563eb) !important;
    box-shadow: 0 0 0 3px var(--ds-color-action-primary-subtle, #dbeafe) !important;
}

.select2-drop,
.select2-dropdown {
    z-index: 10670 !important;
    max-width: calc(100vw - 24px);
    border: 1px solid var(--ds-border-default, #dbe4ee) !important;
    border-radius: 10px !important;
    background: var(--ds-surface-default, #ffffff) !important;
    color: var(--ds-text-primary, #111827) !important;
    box-shadow: var(--ds-shadow-popover, 0 18px 45px -24px rgba(15, 23, 42, .45), 0 10px 22px -18px rgba(15, 23, 42, .28)) !important;
    overflow: hidden;
}

.select2-drop-mask,
.select2-drop-undermask {
    z-index: 10660 !important;
}

.select2-search {
    padding: 8px !important;
}

.select2-search input,
.select2-search--dropdown .select2-search__field {
    min-height: 34px !important;
    border: 1px solid var(--ds-border-default, #dbe4ee) !important;
    border-radius: 8px !important;
    background: var(--ds-surface-default, #ffffff) !important;
    color: var(--ds-text-primary, #111827) !important;
    box-shadow: none !important;
}

.select2-results,
.select2-results__options {
    max-height: min(320px, calc(100vh - 160px)) !important;
    padding: 4px !important;
    margin: 0 !important;
    overflow-y: auto !important;
}

.select2-results .select2-result-label,
.select2-results__option {
    min-height: 34px;
    padding: 8px 10px !important;
    border-radius: 7px;
    color: var(--ds-text-primary, #111827) !important;
}

.select2-results .select2-highlighted,
.select2-results__option--highlighted,
.select2-results__option--highlighted[aria-selected] {
    background: var(--ds-color-action-primary-subtle, #dbeafe) !important;
    color: var(--ds-color-action-primary, #2563eb) !important;
}

.select2-results .select2-no-results,
.select2-results .select2-searching,
.select2-results .select2-selection-limit {
    padding: 12px !important;
    color: var(--ds-text-muted, #64748b) !important;
}

.select2-container-multi .select2-choices {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px 8px !important;
}

.select2-container-multi .select2-choices .select2-search-choice,
.select2-selection__choice {
    border: 1px solid var(--ds-border-default, #dbe4ee) !important;
    border-radius: 999px !important;
    background: var(--ds-surface-selected, #eff6ff) !important;
    color: var(--ds-text-primary, #111827) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-container .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-container--default .select2-selection--single,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-container--default .select2-selection--multiple,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-container .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-container .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-container--default .select2-selection--single,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-container--default .select2-selection--multiple {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-container .select2-choice > .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-container--default .select2-selection--single .select2-selection__rendered,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-container .select2-choice > .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-drop,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-dropdown,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-drop,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-dropdown {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
    box-shadow: var(--ds-shadow-popover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-search input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-search--dropdown .select2-search__field,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-search input,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-search--dropdown .select2-search__field {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results .select2-result-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results__option,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results .select2-result-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results__option {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results .select2-highlighted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results__option--highlighted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results__option--highlighted[aria-selected],
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results .select2-highlighted,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results__option--highlighted,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results__option--highlighted[aria-selected] {
    background: var(--ds-surface-selected) !important;
    color: var(--ds-link) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-container-multi .select2-choices .select2-search-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-selection__choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-container-multi .select2-choices .select2-search-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-selection__choice {
    background: var(--ds-surface-selected) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

/*** Footer (unchanged scope, kept from prior theme to avoid regressions) ***/
.footer { position: relative; }
.footer:before { background: none repeat scroll 0 0 #e5e7eb; height: 46px; left: 0; position: absolute; top: 0; width: 225px; }
.footer .footer-inner { color: #64748b; position: absolute; z-index: 999; right: 95px; }
.footer .footer-tools .go-top { background-color: #ffffff; border: 1px solid #d0d0d0; padding: 5px 10px; }
.footer .footer-tools .go-top i { color: #64748b; }
.page-footer-fixed .footer { background-color: #f8fafc; }
.page-footer-fixed .footer .footer-inner { color: #64748b; }
.page-footer-fixed .footer .footer-tools .go-top { background-color: #f1f5f9; }
.page-footer-fixed .footer .footer-tools .go-top i { color: #64748b; }

/*** Dark-mode patch set for legacy CRM/dashboard widgets ***/
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker .calendar-table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker .ranges,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker .calendar-table,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker .ranges {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker td.available,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker th.available,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .datepicker table tr td.day,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .datepicker table tr th,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker td.available,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker th.available,
[data-theme-mode="dark"][data-dark-ready~="all"] .datepicker table tr td.day,
[data-theme-mode="dark"][data-dark-ready~="all"] .datepicker table tr th {
    background: var(--ds-surface-muted) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker td.off,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker td.disabled,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .datepicker table tr td.old,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .datepicker table tr td.new,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker td.off,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker td.disabled,
[data-theme-mode="dark"][data-dark-ready~="all"] .datepicker table tr td.old,
[data-theme-mode="dark"][data-dark-ready~="all"] .datepicker table tr td.new {
    background: rgba(15, 31, 51, .62) !important;
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker td.available:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker th.available:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .datepicker table tr td.day:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker td.available:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker th.available:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .datepicker table tr td.day:hover {
    background: var(--ds-surface-hover) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .datepicker table tr td.active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .datepicker table tr td.active:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .datepicker table tr td.active,
[data-theme-mode="dark"][data-dark-ready~="all"] .datepicker table tr td.active:hover {
    background: var(--ds-color-action-primary) !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .jqplot-target,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .jqplot-table-legend,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .jqplot-data-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .jqplot-point-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .jqplot-axis,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .jqplot-xaxis-tick,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .jqplot-yaxis-tick,
[data-theme-mode="dark"][data-dark-ready~="all"] .jqplot-target,
[data-theme-mode="dark"][data-dark-ready~="all"] .jqplot-table-legend,
[data-theme-mode="dark"][data-dark-ready~="all"] .jqplot-data-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .jqplot-point-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .jqplot-axis,
[data-theme-mode="dark"][data-dark-ready~="all"] .jqplot-xaxis-tick,
[data-theme-mode="dark"][data-dark-ready~="all"] .jqplot-yaxis-tick {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .jqplot-highlighter-tooltip,
[data-theme-mode="dark"][data-dark-ready~="all"] .jqplot-highlighter-tooltip {
    background: #ffffff !important;
    border: 1px solid #dbe4ee !important;
    color: #111827 !important;
    box-shadow: var(--ds-shadow-popover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .rows,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .rows,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .event-wrap .list-event > li,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .rows,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .rows,
[data-theme-mode="dark"][data-dark-ready~="all"] .event-wrap .list-event > li {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .rows .over-view,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rows .over-view.status-view,
[data-theme-mode="dark"][data-dark-ready~="all"] .rows .over-view,
[data-theme-mode="dark"][data-dark-ready~="all"] .rows .over-view.status-view {
    background: rgba(15, 31, 51, .94) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .rows *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .rows *,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .rows *,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .rows * {
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .btn-actions .btn-success,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .main-act-btn .btn-success,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .btn-actions .btn-success,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .main-act-btn .btn-success,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .btn-actions .btn-success,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .main-act-btn .btn-success,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .btn-actions .btn-success,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .main-act-btn .btn-success {
    background: #14532d !important;
    border-color: #22c55e !important;
    color: #dcfce7 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .btn-actions .btn-success i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .main-act-btn .btn-success i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .btn-actions .btn-success i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .main-act-btn .btn-success i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .btn-actions .btn-success i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .main-act-btn .btn-success i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .btn-actions .btn-success i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .main-act-btn .btn-success i {
    color: #dcfce7 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .btn-actions .btn-danger,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .main-act-btn .btn-danger,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .btn-actions .btn-danger,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .main-act-btn .btn-danger,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .btn-actions .btn-danger,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .main-act-btn .btn-danger,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .btn-actions .btn-danger,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .main-act-btn .btn-danger {
    background: #7f1d1d !important;
    border-color: #ef4444 !important;
    color: #fee2e2 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .btn-actions .btn-danger i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .main-act-btn .btn-danger i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .btn-actions .btn-danger i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .main-act-btn .btn-danger i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .btn-actions .btn-danger i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .main-act-btn .btn-danger i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .btn-actions .btn-danger i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .main-act-btn .btn-danger i {
    color: #fee2e2 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activitytemp,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .activity-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .tab-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_body_cntnt,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop,
[data-theme-mode="dark"][data-dark-ready~="all"] #activitytemp,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .activity-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .tab-content,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_body_cntnt {
    background: var(--ds-modal-surface-bg, var(--ds-legacy-card-bg)) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .nav-tabs,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .nav-tabs,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer {
    background: var(--ds-surface-muted) !important;
    border-color: var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .nav-tabs > li > a,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .nav-tabs > li > a {
    color: var(--ds-color-link) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .nav-tabs > .active > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .nav-tabs > .active > a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .nav-tabs > .active > a,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .nav-tabs > .active > a:hover {
    background: var(--ds-legacy-card-bg) !important;
    color: var(--ds-text-primary) !important;
    border-color: var(--ds-border-default) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-box,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-wrapper,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-toolbar,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-second-toolbar,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-box,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-wrapper,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-toolbar,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-second-toolbar {
    background: var(--ds-legacy-input-bg, #0b1727) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-element.fr-view,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-element.fr-view *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop textarea.note-fld,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-element.fr-view,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-element.fr-view *,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop textarea.note-fld {
    background: var(--ds-legacy-input-bg, #0b1727) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop textarea.note-fld::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop textarea.note-fld::placeholder {
    color: var(--ds-text-muted, #94a3b8) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-toolbar .fr-command,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-toolbar .fr-command i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-toolbar .fr-command svg,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-toolbar .fr-command,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-toolbar .fr-command i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-toolbar .fr-command svg {
    color: var(--ds-text-secondary, #cbd5e1) !important;
    fill: var(--ds-text-secondary, #cbd5e1) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-toolbar .fr-command:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-toolbar .fr-command:hover i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-toolbar .fr-command.fr-btn.fr-active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-toolbar .fr-command.fr-btn.fr-active i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-toolbar .fr-command:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-toolbar .fr-command:hover i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-toolbar .fr-command.fr-btn.fr-active,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-toolbar .fr-command.fr-btn.fr-active i {
    background: var(--ds-surface-hover, rgba(96, 165, 250, .14)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
    fill: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer svg {
    color: var(--ds-text-secondary) !important;
    fill: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer a:hover i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer a:hover i {
    color: var(--ds-text-primary) !important;
    fill: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer {
    background: var(--ds-legacy-panel-bg, #0b1727) !important;
    border-top: 1px solid var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer .btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer .btn-group .btn,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer .btn,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer .btn-group .btn {
    box-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer .btn-group .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer .btn-group .btn-primary {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_footer_btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .new_act_attach,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .atc_editor_opt,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_footer_btn i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .new_act_attach i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .atc_editor_opt i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_footer_btn,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .new_act_attach,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .atc_editor_opt,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_footer_btn i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .new_act_attach i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .atc_editor_opt i {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--ds-text-secondary, #cbd5e1) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_footer_btn:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .new_act_attach:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .atc_editor_opt:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_footer_btn.active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .side_pan_trig.active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .atc_editor_opt.active,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_footer_btn:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .new_act_attach:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .atc_editor_opt:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_footer_btn.active,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .side_pan_trig.active,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .atc_editor_opt.active {
    background: rgba(96, 165, 250, .18) !important;
    border-color: rgba(147, 197, 253, .42) !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_footer_btn:hover i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .new_act_attach:hover i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .atc_editor_opt:hover i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_footer_btn.active i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .side_pan_trig.active i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .atc_editor_opt.active i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_footer_btn:hover i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .new_act_attach:hover i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .atc_editor_opt:hover i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_footer_btn.active i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .side_pan_trig.active i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .atc_editor_opt.active i {
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_done,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_done {
    background: rgba(34, 197, 94, .14) !important;
    border-color: #22c55e !important;
    color: #bbf7d0 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_done i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_done i {
    background: #22c55e !important;
    color: #052e16 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_done:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_done:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_done.actv,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_done:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_done:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_done.actv {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_done:hover i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_done:focus i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_done.actv i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_done:hover i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_done:focus i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_done.actv i {
    background: #22c55e !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_notdone,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_notdone {
    background: rgba(220, 38, 38, .14) !important;
    border-color: #ef4444 !important;
    color: #fecaca !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_notdone i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_notdone i {
    background: #ef4444 !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_notdone:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_notdone:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_notdone.actv,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_notdone:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_notdone:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_notdone.actv {
    background: #b91c1c !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_notdone:hover i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_notdone:focus i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_pop_notdone.actv i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_notdone:hover i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_notdone:focus i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_pop_notdone.actv i {
    background: #ffffff !important;
    color: #b91c1c !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .avty-menu a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .avty-menu a i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .avty-menu a,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .avty-menu a i {
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .avty-menu a.active-m,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .avty-menu a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .avty-menu a.active-m,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .avty-menu a:hover {
    color: #ffffff !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .right_phase,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .sct_side_pop,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_sid_head,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .right_phase,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .sct_side_pop,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_sid_head {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_sid_head,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_sid_head {
    align-items: center !important;
    background: var(--ds-legacy-card-bg, #0f1f33) !important;
    border-bottom: 1px solid var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    display: flex !important;
    gap: 12px !important;
    min-height: 52px !important;
    padding: 0 0 12px !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop.modal .sct_side_pop_close,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop.modal .sct_side_pop_close i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop.modal .sct_side_pop_close,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop.modal .sct_side_pop_close i {
    align-items: center !important;
    color: var(--ds-text-secondary, #cbd5e1) !important;
    display: inline-flex !important;
    height: 36px !important;
    justify-content: center !important;
    line-height: 1 !important;
    margin: 0 !important;
    opacity: 1 !important;
    width: 36px !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_sid_head > span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .act_sid_head .avail_title,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_sid_head > span,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .act_sid_head .avail_title {
    color: var(--ds-text-primary, #f8fafc) !important;
    display: inline-flex !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .sct_side_pop.whitout_side_pan.open,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .sct_side_pop.whitout_side_pan.open {
    overflow-x: hidden !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop [data-s-id="availability_check"].sct_side_pop.whitout_side_pan.open,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop [data-s-id="availability_check"].sct_side_pop.whitout_side_pan.open {
    overflow: hidden !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .right_phase label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .right_phase .m-group label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .right_phase .dl-name,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .right_phase .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .right_phase label,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .right_phase .m-group label,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .right_phase .dl-name,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .right_phase .c-black {
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .right_phase input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .right_phase textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .right_phase .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .right_phase .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .right_phase input,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .right_phase textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .right_phase .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .right_phase .select2-choices {
    background: var(--ds-legacy-input-bg, #0b1727) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop input#deal,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop input#deal::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop input#deal,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop input#deal::placeholder {
    color: var(--ds-text-primary, #f8fafc) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .stg_holder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .associ_deal,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .stg_holder .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .stg_holder,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .associ_deal,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .stg_holder .c-black {
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-popup,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-dropdown-wrapper,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-dropdown-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-list,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-list li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-dropdown-list,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-dropdown-list li,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-popup,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-dropdown-wrapper,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-dropdown-content,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-list,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-list li,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-dropdown-list,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-dropdown-list li {
    background: var(--ds-legacy-popover-bg, #111827) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-popup .fr-command,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-popup .fr-command i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-popup .fr-command span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-dropdown-menu a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-dropdown-menu span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-dropdown-menu i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-popup .fr-command,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-popup .fr-command i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-popup .fr-command span,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-dropdown-menu a,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-dropdown-menu span,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-dropdown-menu i {
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-popup .fr-command:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-popup .fr-command.fr-active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-dropdown-content .fr-command.fr-active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-dropdown-menu li:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-dropdown-menu li.fr-active,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-popup .fr-command:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-popup .fr-command.fr-active,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-dropdown-content .fr-command.fr-active,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-dropdown-menu li:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-dropdown-menu li.fr-active {
    background: var(--ds-surface-hover, rgba(96, 165, 250, .14)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-dropdown-wrapper,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-dropdown-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-list,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-list li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-dropdown-list,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-dropdown-list li,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-dropdown-wrapper,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-dropdown-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-list,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-list li,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-dropdown-list,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-dropdown-list li {
    background: var(--ds-legacy-popover-bg, #111827) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-command,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-command i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-command span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup i,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-command,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-command i,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-command span,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup a,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup span,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup i {
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-command:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup .fr-command.fr-active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-dropdown-content .fr-command.fr-active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup li:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fr-popup li.fr-active,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-command:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup .fr-command.fr-active,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-dropdown-content .fr-command.fr-active,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup li:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .fr-popup li.fr-active {
    background: var(--ds-surface-hover, rgba(96, 165, 250, .14)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .fr-toolbar.fr-bottom,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .fr-toolbar.fr-bottom {
    border-top: 1px solid var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer .btn-success,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer .btn-action,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer .btn-success,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer .btn-action {
    box-shadow: none !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer .btn-primary::after,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer .btn-success::after,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .modal-footer .btn-action::after,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer .btn-primary::after,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer .btn-success::after,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .modal-footer .btn-action::after {
    display: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_footer_btn i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_footer_btn svg,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pin-note,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pin-note i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_dis_div,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_dis_div i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_footer_btn i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_footer_btn svg,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pin-note,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pin-note i,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_dis_div,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_dis_div i {
    color: var(--ds-text-secondary, #cbd5e1) !important;
    fill: var(--ds-text-secondary, #cbd5e1) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule_description,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule_description span,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule_description,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule_description span {
    color: var(--ds-text-secondary, #cbd5e1) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule-wrap-act,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule-wrap-act input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule-wrap-act .m-group,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule-wrap-act,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule-wrap-act input,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule-wrap-act .m-group {
    background: var(--ds-legacy-popover-bg, #111827) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule_link_wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule_link_wrap > li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule_link_wrap > li > p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule_link_wrap .ev_name,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule_link_wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule_link_wrap > li,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule_link_wrap > li > p,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule_link_wrap .ev_name {
    background: transparent !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule_link_wrap > li:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule_link_wrap > li.selected,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule_link_wrap > li:hover .ev_name,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule_link_wrap > li.selected .ev_name,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule_link_wrap > li:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule_link_wrap > li.selected,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule_link_wrap > li:hover .ev_name,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule_link_wrap > li.selected .ev_name {
    background: var(--ds-surface-hover, rgba(96, 165, 250, .14)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .schedule_link_wrap .circle-word,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .schedule_link_wrap .circle-word {
    box-shadow: 0 0 0 2px var(--ds-legacy-popover-bg, #111827) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .scheduling_search,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_saved_resp,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .contact_draft_search,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .scheduling_pop,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .scheduling_search,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_saved_resp,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .contact_draft_search,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .scheduling_pop {
    background: var(--ds-legacy-input-bg, #0b1727) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .activity_fullcalendar_div,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .activity_fullcalendar_div .fc-view,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .activity_fullcalendar_div .fc-time-grid-container,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .activity_fullcalendar_div,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .activity_fullcalendar_div .fc-view,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .activity_fullcalendar_div .fc-time-grid-container {
    background: var(--ds-legacy-card-bg, #0f1f33) !important;
    color: var(--ds-text-secondary, #cbd5e1) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .activity_fullcalendar_div .fc-widget-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .activity_fullcalendar_div .fc-widget-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .activity_fullcalendar_div .fc-axis,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .activity_fullcalendar_div .fc-widget-content,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .activity_fullcalendar_div .fc-widget-header,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .activity_fullcalendar_div .fc-axis {
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-secondary, #cbd5e1) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .mailer-select--inline,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .bulk-pill,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .select2-search-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .mailer-select--inline,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .bulk-pill,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .select2-search-choice {
    background-color: var(--ds-surface-hover) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .bulk-summary-name,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-pop-scope.bulk-to-popover .bulk-to-item-name,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .bulk-summary-name,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-pop-scope.bulk-to-popover .bulk-to-item-name {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .bulk-summary-email,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .bulk-chevron,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-pop-scope.bulk-to-popover .bulk-to-head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-pop-scope.bulk-to-popover .bulk-to-item-email,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .bulk-summary-email,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .bulk-chevron,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-pop-scope.bulk-to-popover .bulk-to-head,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-pop-scope.bulk-to-popover .bulk-to-item-email {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-pop-scope.bulk-to-popover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-pop-scope.bulk-to-popover {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .sct_side_pop .popup-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .sct_side_pop .act_sid_head,
[data-theme-mode="dark"][data-dark-ready~="all"] .sct_side_pop .popup-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .sct_side_pop .act_sid_head {
    background: #ffffff !important;
    color: #111827 !important;
    border-bottom: 1px solid #e5e7eb !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .sct_side_pop .sct_side_pop_close,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .sct_side_pop .sct_side_pop_close i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .sct_side_pop .close,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .sct_side_pop .close i,
[data-theme-mode="dark"][data-dark-ready~="all"] .sct_side_pop .sct_side_pop_close,
[data-theme-mode="dark"][data-dark-ready~="all"] .sct_side_pop .sct_side_pop_close i,
[data-theme-mode="dark"][data-dark-ready~="all"] .sct_side_pop .close,
[data-theme-mode="dark"][data-dark-ready~="all"] .sct_side_pop .close i {
    color: #334155 !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-wrapper .act_side_head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-wrapper .act_sid_head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_mini_pan .act_side_head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_mini_pan .act_sid_head,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-wrapper .act_side_head,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-wrapper .act_sid_head,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_mini_pan .act_side_head,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_mini_pan .act_sid_head {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #111827 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-wrapper .act_side_head *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-wrapper .act_sid_head *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_mini_pan .act_side_head *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_mini_pan .act_sid_head *,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-wrapper .act_side_head *,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-wrapper .act_sid_head *,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_mini_pan .act_side_head *,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_mini_pan .act_sid_head * {
    color: inherit !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-wrapper .act_side_head .c-blue,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-wrapper .act_sid_head .c-blue,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_mini_pan .act_side_head .c-blue,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_mini_pan .act_sid_head .c-blue,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-wrapper .act_side_head .c-blue,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-wrapper .act_sid_head .c-blue,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_mini_pan .act_side_head .c-blue,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_mini_pan .act_sid_head .c-blue {
    color: #2563eb !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-wrapper .act_side_head .close,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-wrapper .act_sid_head .close,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_mini_pan .act_side_head .close,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_mini_pan .act_sid_head .close,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-wrapper .act_side_head .close,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-wrapper .act_sid_head .close,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_mini_pan .act_side_head .close,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_mini_pan .act_sid_head .close {
    color: #334155 !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_cntnt > li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .insight-activities-wrap > li,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_cntnt > li,
[data-theme-mode="dark"][data-dark-ready~="all"] .insight-activities-wrap > li {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_wrap .c-black,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_cntnt .c-black,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_cntnt .c-dark,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_wrap .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_cntnt .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_cntnt .c-dark {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_cntnt .btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_cntnt .icon-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_cntnt .email-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_cntnt .phone-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_cntnt .btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_cntnt .icon-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_cntnt .email-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_cntnt .phone-btn {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_cntnt .btn i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_cntnt .icon-btn i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_cntnt .email-btn i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_side_cntnt .phone-btn i,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_cntnt .btn i,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_cntnt .icon-btn i,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_cntnt .email-btn i,
[data-theme-mode="dark"][data-dark-ready~="all"] .act_side_cntnt .phone-btn i {
    color: currentColor !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .fc-toolbar,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #calendar-block .fc-toolbar,
[data-theme-mode="dark"][data-dark-ready~="all"] .fc-toolbar,
[data-theme-mode="dark"][data-dark-ready~="all"] #calendar-block .fc-toolbar {
    background: var(--ds-legacy-card-bg) !important;
    border: 1px solid var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #calendar-block .fc-toolbar h2,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fc-toolbar h2,
[data-theme-mode="dark"][data-dark-ready~="all"] #calendar-block .fc-toolbar h2,
[data-theme-mode="dark"][data-dark-ready~="all"] .fc-toolbar h2 {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .fc button,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #calendar-block .fc-toolbar .fc-button,
[data-theme-mode="dark"][data-dark-ready~="all"] .fc button,
[data-theme-mode="dark"][data-dark-ready~="all"] #calendar-block .fc-toolbar .fc-button {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .fc-unthemed .fc-widget-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fc-unthemed .fc-widget-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .fc-day,
[data-theme-mode="dark"][data-dark-ready~="all"] .fc-unthemed .fc-widget-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .fc-unthemed .fc-widget-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .fc-day {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .fc-day-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .fc-day-header {
    background: rgba(20, 184, 166, .44) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .fc-today,
[data-theme-mode="dark"][data-dark-ready~="all"] .fc-today {
    background: rgba(250, 204, 21, .12) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity_calendar_view .fc-event-container .fc-event,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity_calendar_view .fc-event-container .fc-event {
    background: var(--ds-surface-muted) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .todo-wrapper,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel,
[data-theme-mode="dark"][data-dark-ready~="all"] .todo-wrapper {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .todo-wrapper .empty-state,
[data-theme-mode="dark"][data-dark-ready~="all"] .todo-wrapper .empty-state {
    background-color: var(--ds-legacy-card-bg) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .todo-wrapper .empty-state .inner-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .todo-wrapper .empty-state .inner-content {
    background: rgba(7, 17, 32, .72) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .slide-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .inner-popup,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .todo-box,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view #to-do-list,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .slide-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .inner-popup,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .todo-box,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view #to-do-list {
    background: var(--ds-legacy-card-bg, #0f1f33) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view h3 {
    background: var(--ds-legacy-card-bg, #0f1f33) !important;
    border-bottom: 1px solid var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view.slide-in .close-ux-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view.slide-in .close-ux-btn {
    opacity: 1 !important;
    visibility: visible !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .close-ux-btn img,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .close-ux-btn img {
    filter: invert(1) brightness(1.6) !important;
    opacity: .95 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .todo-fld,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .add-new-catg,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .todo-fld,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .add-new-catg {
    background: var(--ds-legacy-input-bg, #0b1727) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .todo-fld input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .add-new-catg input,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .todo-fld input,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .add-new-catg input {
    background: transparent !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .todo-fld input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .add-new-catg input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .todo-fld input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .add-new-catg input::placeholder {
    color: var(--ds-text-muted, #94a3b8) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .additional-opt,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .check-all,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .list-wrap li,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .additional-opt,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .check-all,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .list-wrap li {
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dolist-view .ct-name,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view a,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view i,
[data-theme-mode="dark"][data-dark-ready~="all"] .dolist-view .ct-name {
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-header-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-content,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-header-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-content,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap .k-link,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap .k-pager-numbers .k-state-selected,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap .k-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap .k-pager-info,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid th,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap .k-link,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap .k-pager-numbers .k-state-selected,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap .k-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap .k-pager-info {
    background: transparent !important;
    border-color: var(--ds-legacy-table-border) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid th a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap .k-pager-numbers .k-state-selected,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid th,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid th a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap .k-pager-numbers .k-state-selected {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap .k-link:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap .k-link:hover {
    background: var(--ds-surface-hover) !important;
    color: var(--ds-text-primary) !important;
}

/*** Dark-mode patch set for CRM contact grids and email side panels ***/
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-kpi-card,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-list-summary,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-list-filter-bar,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contacts-filter-bar,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm-list-filter-bar,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .main_save_fil,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-kpi-card,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-list-summary,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-list-filter-bar,
[data-theme-mode="dark"][data-dark-ready~="all"] .contacts-filter-bar,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm-list-filter-bar,
[data-theme-mode="dark"][data-dark-ready~="all"] .main_save_fil {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-kpi-card h1,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-kpi-card h2,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-kpi-card h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-kpi-card h4,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-kpi-card .title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-kpi-card .total,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-list-filter-bar label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contacts-filter-bar label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm-list-filter-bar label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .main_save_fil label,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-kpi-card h1,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-kpi-card h2,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-kpi-card h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-kpi-card h4,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-kpi-card .title,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-kpi-card .total,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-list-filter-bar label,
[data-theme-mode="dark"][data-dark-ready~="all"] .contacts-filter-bar label,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm-list-filter-bar label,
[data-theme-mode="dark"][data-dark-ready~="all"] .main_save_fil label {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-kpi-card .muted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-kpi-card .subtitle,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-kpi-card .caption,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-kpi-card .muted,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-kpi-card .subtitle,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-kpi-card .caption {
    color: var(--ds-text-muted) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-list-filter-bar input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contacts-filter-bar input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm-list-filter-bar input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .main_save_fil input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .main_save_fil .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select-date,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select_date,
[data-theme-mode="dark"][data-dark-ready~="legacy"] [data-role="select-date"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .view-select,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-list-filter-bar input,
[data-theme-mode="dark"][data-dark-ready~="all"] .contacts-filter-bar input,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm-list-filter-bar input,
[data-theme-mode="dark"][data-dark-ready~="all"] .main_save_fil input,
[data-theme-mode="dark"][data-dark-ready~="all"] .main_save_fil .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .select-date,
[data-theme-mode="dark"][data-dark-ready~="all"] .select_date,
[data-theme-mode="dark"][data-dark-ready~="all"] [data-role="select-date"],
[data-theme-mode="dark"][data-dark-ready~="all"] .view-select {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
    min-height: 34px;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-list-filter-bar input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .contacts-filter-bar input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm-list-filter-bar input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-list-filter-bar input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .contacts-filter-bar input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm-list-filter-bar input::placeholder {
    color: var(--ds-text-muted) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr.k-state-selected,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr.k-state-selected > td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr.k-state-selected:hover > td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr.k-state-selected,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr.k-state-selected > td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr.k-state-selected:hover > td {
    background: rgba(59, 130, 246, .82) !important;
    border-color: rgba(147, 197, 253, .42) !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr.k-state-selected a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr.k-state-selected span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr.k-state-selected .c-blue,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr.k-state-selected a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr.k-state-selected span,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr.k-state-selected .c-blue {
    color: #eef6ff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr:hover > td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr.k-state-hover > td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr:hover > td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr.k-state-hover > td {
    background: var(--ds-surface-hover) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr:hover a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr:hover span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr.k-state-hover a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr.k-state-hover span,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr:hover a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr:hover span,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr.k-state-hover a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr.k-state-hover span {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid .k-hierarchy-cell,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid .k-command-cell,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid .row-actions,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid .actions,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid .k-hierarchy-cell,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid .k-command-cell,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid .row-actions,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid .actions {
    background: transparent !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr:hover .k-hierarchy-cell,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr:hover .k-command-cell,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr:hover .row-actions,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid tr:hover .actions,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr:hover .k-hierarchy-cell,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr:hover .k-command-cell,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr:hover .row-actions,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid tr:hover .actions {
    color: var(--ds-text-primary) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .btn-more .btn-icon,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .btn-more .dropdown-toggle,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .more-option-wrap > li > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .btn-more .btn-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .btn-more .dropdown-toggle,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .more-option-wrap > li > a {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .btn-more .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .more-option-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .btn-more .dropdown-menu,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .more-option-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .circle-icon-holder {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
    box-shadow: var(--ds-shadow-popover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .btn-more .dropdown-menu a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .more-option-wrap a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .circle-icon-holder a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .circle-icon-holder i,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .btn-more .dropdown-menu a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .more-option-wrap a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .circle-icon-holder a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .circle-icon-holder i {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .btn-more .dropdown-menu li:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .btn-more .dropdown-menu li:hover a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .more-option-wrap li:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .more-option-wrap li:hover a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .circle-icon-holder a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .btn-more .dropdown-menu li:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .btn-more .dropdown-menu li:hover a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .more-option-wrap li:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .more-option-wrap li:hover a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .circle-icon-holder a:hover {
    background: var(--ds-surface-hover) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-animation-container .k-popup,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-popup.k-list-container,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-widget.k-dropdown .k-dropdown-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-dropdown-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-picker-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-animation-container .k-popup,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-popup.k-list-container,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-widget.k-dropdown .k-dropdown-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-dropdown-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-picker-wrap {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list .k-item,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-optionlabel,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-dropdown-wrap .k-input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-picker-wrap .k-input,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list .k-item,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-optionlabel,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-dropdown-wrap .k-input,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-picker-wrap .k-input {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list .k-item.k-state-hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list .k-item:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list .k-item.k-state-focused,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list .k-item.k-state-hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list .k-item:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list .k-item.k-state-focused {
    background: var(--ds-surface-hover) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list .k-item.k-state-selected,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list .k-item.k-state-selected:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list .k-item.k-state-selected,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list .k-item.k-state-selected:hover {
    background: var(--ds-color-action-primary) !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .contact_saved_response,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_response_style,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .cannedlist,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .draftlist,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .right_phase .sct_side_pop,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .contact_saved_response,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .pop_response_style,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .cannedlist,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .draftlist,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .right_phase .sct_side_pop,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .contact_saved_response,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_response_style,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .cannedlist,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .draftlist,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .right_phase .sct_side_pop,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .contact_saved_response,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .pop_response_style,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .cannedlist,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .draftlist,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .right_phase .sct_side_pop {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .contact_saved_response .saved_resp_search,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .contact_saved_response input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_response_style input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .contact_saved_response .saved_resp_search,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .contact_saved_response input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .pop_response_style input,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .contact_saved_response .saved_resp_search,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .contact_saved_response input,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_response_style input,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .contact_saved_response .saved_resp_search,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .contact_saved_response input,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .pop_response_style input {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .contact_saved_response input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .pop_response_style input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .contact_saved_response input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .pop_response_style input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .contact_saved_response input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .pop_response_style input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .contact_saved_response input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .pop_response_style input::placeholder {
    color: var(--ds-text-muted) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop li.can_folder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop li.can_sub_folder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm li.can_folder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm li.can_sub_folder,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop li.can_folder,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop li.can_sub_folder,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm li.can_folder,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm li.can_sub_folder {
    background: transparent !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop li.can_folder:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop li.can_sub_folder:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm li.can_folder:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm li.can_sub_folder:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop li.can_folder:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop li.can_sub_folder:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm li.can_folder:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm li.can_sub_folder:hover {
    background: var(--ds-surface-hover) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop li.can_folder > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop li.can_sub_folder > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .newcanned,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm li.can_folder > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm li.can_sub_folder > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .newcanned,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop li.can_folder > a,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop li.can_sub_folder > a,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .newcanned,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm li.can_folder > a,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm li.can_sub_folder > a,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .newcanned {
    background: transparent !important;
    color: var(--ds-color-link) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop li.can_sub_folder:after,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop li.can_sub_folder + li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop li.can_folder + li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .draftlist li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .cannedlist:after,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm li.can_sub_folder:after,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm li.can_sub_folder + li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm li.can_folder + li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .draftlist li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm .cannedlist:after,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop li.can_sub_folder:after,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop li.can_sub_folder + li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop li.can_folder + li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .draftlist li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .cannedlist:after,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm li.can_sub_folder:after,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm li.can_sub_folder + li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm li.can_folder + li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .draftlist li.can_sub_folder:before,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm .cannedlist:after {
    background: rgba(148, 163, 184, .38) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop li.crlist.can_folder:after,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #task_action_frm li.crlist.can_folder:after,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop li.crlist.can_folder:after,
[data-theme-mode="dark"][data-dark-ready~="all"] #task_action_frm li.crlist.can_folder:after {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-strong) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .recipients-popover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .recipient-list-popover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .bulk-to-popover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .dropdown-menu.recipients,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .dropdown-menu.bulk-to-popover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .recipients-popover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .recipient-list-popover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .bulk-to-popover,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .dropdown-menu.recipients,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .dropdown-menu.bulk-to-popover {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
    box-shadow: var(--ds-shadow-popover) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .recipients-popover li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .recipient-list-popover li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .bulk-to-popover li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .dropdown-menu.recipients li,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .recipients-popover li,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .recipient-list-popover li,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .bulk-to-popover li,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .dropdown-menu.recipients li {
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .mail_to .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .mailto + .chzn-container .search-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .select2-container.insert_option,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .more-recipients,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .recipient-more,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .recipients-more,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .mail_to .select2-chosen,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .mailto + .chzn-container .search-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .select2-container.insert_option,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .more-recipients,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .recipient-more,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .recipients-more {
    background: rgba(37, 99, 235, .18) !important;
    border: 1px solid rgba(147, 197, 253, .52) !important;
    color: #dbeafe !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .mail_to .select2-chosen *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .mailto + .chzn-container .search-choice *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #activity-pop .select2-container.insert_option *,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .mail_to .select2-chosen *,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .mailto + .chzn-container .search-choice *,
[data-theme-mode="dark"][data-dark-ready~="all"] #activity-pop .select2-container.insert_option * {
    color: inherit !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal.add-new-contact,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .add-new-contact,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal #add_new_contact,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal #add-contact-form,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .contact-form,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-preview,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .fb-rendered-form,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal.add-new-contact,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .add-new-contact,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal #add_new_contact,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal #add-contact-form,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .contact-form,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-preview,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .fb-rendered-form {
    background: var(--ds-modal-surface-bg, var(--ds-legacy-card-bg)) !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-preview .form-group,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .fb-rendered-form .form-group,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .contact-form .form-group,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-preview .form-group,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .fb-rendered-form .form-group,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .contact-form .form-group {
    background: transparent !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-preview label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .fb-rendered-form label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .contact-form label,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-preview label,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .fb-rendered-form label,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .contact-form label {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-preview input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-preview textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-preview select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .fb-rendered-form input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .fb-rendered-form textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .fb-rendered-form select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .contact-form input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .contact-form textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .contact-form select,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-preview input,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-preview textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-preview select,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .fb-rendered-form input,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .fb-rendered-form textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .fb-rendered-form select,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .contact-form input,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .contact-form textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .contact-form select {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-preview input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-preview textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .fb-rendered-form input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .fb-rendered-form textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .contact-form input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .contact-form textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-preview input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-preview textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .fb-rendered-form input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .fb-rendered-form textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .contact-form input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .contact-form textarea::placeholder {
    color: var(--ds-text-muted) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-preview input[type="checkbox"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-preview input[type="radio"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .fb-rendered-form input[type="checkbox"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .fb-rendered-form input[type="radio"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .contact-form input[type="checkbox"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .contact-form input[type="radio"],
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-preview input[type="checkbox"],
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-preview input[type="radio"],
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .fb-rendered-form input[type="checkbox"],
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .fb-rendered-form input[type="radio"],
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .contact-form input[type="checkbox"],
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .contact-form input[type="radio"] {
    accent-color: var(--ds-color-action-primary);
    background: transparent !important;
    border-color: var(--ds-border-strong) !important;
}

/*** Dark-mode patch set for CRM companies, deals, groups, and sources ***/

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-header-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-header th.k-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header th.k-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-header th a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header th a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grouping-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grouping-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-footer,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-footer,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-footer-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-footer-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-footer td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-footer td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-footer-template,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-footer-template,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-footer-template td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-footer-template td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-pager-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table tfoot,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table tfoot td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dataTable thead th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dataTable tfoot,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dataTable tfoot td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm_crd_table thead th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm_crd_table tfoot,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm_crd_table tfoot td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-header-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-header th.k-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header th.k-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-header th a,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header th a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grouping-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grouping-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-footer,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-footer,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-footer-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-footer-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-footer td,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-footer td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-footer-template,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-footer-template,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-footer-template td,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-footer-template td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-pager-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table tfoot,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table tfoot td,
[data-theme-mode="dark"][data-dark-ready~="all"] .dataTable thead th,
[data-theme-mode="dark"][data-dark-ready~="all"] .dataTable tfoot,
[data-theme-mode="dark"][data-dark-ready~="all"] .dataTable tfoot td,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm_crd_table thead th,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm_crd_table tfoot,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm_crd_table tfoot td {
    background: var(--ds-legacy-panel-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-header th *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header th *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dataTable thead th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm_crd_table thead th,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-header th *,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header th *,
[data-theme-mode="dark"][data-dark-ready~="all"] .dataTable thead th,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm_crd_table thead th {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-footer-template,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-footer-template,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-footer-template *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-footer-template *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-footer,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-footer,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-footer *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-footer *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-pager-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-pager-wrap *,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-footer-template,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-footer-template,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-footer-template *,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-footer-template *,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-footer,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-footer,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-footer *,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-footer *,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-pager-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap * {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-footer-template strong,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-footer-template b,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-footer strong,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-grid-footer b,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-footer-template strong,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-footer-template b,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-footer strong,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-grid-footer b {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap .k-state-selected,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .k-pager-wrap .k-link.k-state-selected,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap .k-state-selected,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .k-pager-wrap .k-link.k-state-selected {
    background: rgba(59, 130, 246, .28) !important;
    border-color: rgba(147, 197, 253, .55) !important;
    color: #dbeafe !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-animation-container .k-list-container,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-scroller,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-animation-container .k-list-container,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-scroller,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container .k-list .k-item,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container .k-list .k-list-optionlabel,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container .k-list .k-item,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container .k-list .k-list-optionlabel {
    background: transparent !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container .k-list .k-item.k-state-hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container .k-list .k-item:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container .k-list .k-item.k-state-focused,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-list-container .k-list .k-item.k-state-selected,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container .k-list .k-item.k-state-hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container .k-list .k-item:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container .k-list .k-item.k-state-focused,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-list-container .k-list .k-item.k-state-selected {
    background: rgba(59, 130, 246, .24) !important;
    color: #eff6ff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table tbody tr:hover td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table tbody tr.k-state-hover td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table tbody tr.k-state-selected td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dataTable tbody tr:hover td,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm_crd_table tbody tr:hover td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table tbody tr:hover td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table tbody tr.k-state-hover td,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table tbody tr.k-state-selected td,
[data-theme-mode="dark"][data-dark-ready~="all"] .dataTable tbody tr:hover td,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm_crd_table tbody tr:hover td {
    background: var(--ds-surface-selected, rgba(56, 189, 248, .22)) !important;
    border-color: rgba(147, 197, 253, .35) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table tbody tr:hover td *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table tbody tr.k-state-hover td *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table tbody tr.k-state-selected td *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dataTable tbody tr:hover td *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm_crd_table tbody tr:hover td *,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table tbody tr:hover td *,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table tbody tr.k-state-hover td *,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table tbody tr.k-state-selected td *,
[data-theme-mode="dark"][data-dark-ready~="all"] .dataTable tbody tr:hover td *,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm_crd_table tbody tr:hover td * {
    color: inherit !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .more-option-wrap > li > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .more-option-wrap > li > a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .option-wrap .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .group_details_top_wrap .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dataTable .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm_crd_table .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="all"] .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="all"] .more-option-wrap > li > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .more-option-wrap > li > a,
[data-theme-mode="dark"][data-dark-ready~="all"] .option-wrap .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="all"] .group_details_top_wrap .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="all"] .dataTable .mor-icons-circle,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm_crd_table .mor-icons-circle {
    align-items: center !important;
    background: rgba(15, 23, 42, .72) !important;
    border: 1px solid var(--ds-border-strong) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: var(--ds-text-primary) !important;
    display: inline-flex !important;
    height: 32px !important;
    justify-content: center !important;
    min-width: 32px !important;
    opacity: 1 !important;
    text-shadow: none !important;
    visibility: visible !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .mor-icons-circle i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .mor-icons-circle i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .more-option-wrap > li > a i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .more-option-wrap > li > a i,
[data-theme-mode="dark"][data-dark-ready~="all"] .mor-icons-circle i,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .mor-icons-circle i,
[data-theme-mode="dark"][data-dark-ready~="all"] .more-option-wrap > li > a i {
    color: inherit !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .mor-icons-circle:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .mor-icons-circle:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .more-option-wrap > li > a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .more-option-wrap > li > a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .mor-icons-circle:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .mor-icons-circle:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .more-option-wrap > li > a:hover {
    background: rgba(59, 130, 246, .24) !important;
    border-color: rgba(147, 197, 253, .58) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .list-table .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .option-wrap .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .group_details_top_wrap .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dataTable .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm_crd_table .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="all"] .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="all"] .list-table .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="all"] .option-wrap .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="all"] .group_details_top_wrap .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="all"] .dataTable .circle-icon-holder,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm_crd_table .circle-icon-holder {
    background: var(--ds-legacy-popover-bg) !important;
    border: 1px solid var(--ds-border-default) !important;
    box-shadow: var(--ds-shadow-popover) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .circle-icon-holder a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .circle-icon-holder a.circle-icons,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .circle-icon-holder i,
[data-theme-mode="dark"][data-dark-ready~="all"] .circle-icon-holder a,
[data-theme-mode="dark"][data-dark-ready~="all"] .circle-icon-holder a.circle-icons,
[data-theme-mode="dark"][data-dark-ready~="all"] .circle-icon-holder i {
    background: transparent !important;
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .circle-icon-holder a:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .circle-icon-holder a.circle-icons:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .circle-icon-holder a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .circle-icon-holder a.circle-icons:hover {
    background: var(--ds-surface-hover) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .circle-icon-holder a.circle-icons.danger,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .circle-icon-holder a.circle-icons.danger i,
[data-theme-mode="dark"][data-dark-ready~="all"] .circle-icon-holder a.circle-icons.danger,
[data-theme-mode="dark"][data-dark-ready~="all"] .circle-icon-holder a.circle-icons.danger i {
    color: #fecaca !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .back-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .btn-back,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .back-button,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .back-link,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .breadcrumb-back,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .action-back,
[data-theme-mode="dark"][data-dark-ready~="legacy"] a[aria-label="Back"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] a[title="Back"],
[data-theme-mode="dark"][data-dark-ready~="all"] .back-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .btn-back,
[data-theme-mode="dark"][data-dark-ready~="all"] .back-button,
[data-theme-mode="dark"][data-dark-ready~="all"] .back-link,
[data-theme-mode="dark"][data-dark-ready~="all"] .breadcrumb-back,
[data-theme-mode="dark"][data-dark-ready~="all"] .action-back,
[data-theme-mode="dark"][data-dark-ready~="all"] a[aria-label="Back"],
[data-theme-mode="dark"][data-dark-ready~="all"] a[title="Back"] {
    align-items: center !important;
    background: rgba(15, 23, 42, .72) !important;
    border: 1px solid var(--ds-border-default) !important;
    border-radius: 999px !important;
    color: var(--ds-text-primary) !important;
    display: inline-flex !important;
    justify-content: center !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .back-btn i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .btn-back i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .back-button i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .back-link i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .breadcrumb-back i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .action-back i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] a[aria-label="Back"] i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] a[title="Back"] i,
[data-theme-mode="dark"][data-dark-ready~="all"] .back-btn i,
[data-theme-mode="dark"][data-dark-ready~="all"] .btn-back i,
[data-theme-mode="dark"][data-dark-ready~="all"] .back-button i,
[data-theme-mode="dark"][data-dark-ready~="all"] .back-link i,
[data-theme-mode="dark"][data-dark-ready~="all"] .breadcrumb-back i,
[data-theme-mode="dark"][data-dark-ready~="all"] .action-back i,
[data-theme-mode="dark"][data-dark-ready~="all"] a[aria-label="Back"] i,
[data-theme-mode="dark"][data-dark-ready~="all"] a[title="Back"] i {
    color: inherit !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm-pipeline-stage,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .pipeline-stage,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .pipeline-stage-card,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .stage-card,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .deal-stage-card,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .stage-wrap .stage-item,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm-pipeline-stage,
[data-theme-mode="dark"][data-dark-ready~="all"] .pipeline-stage,
[data-theme-mode="dark"][data-dark-ready~="all"] .pipeline-stage-card,
[data-theme-mode="dark"][data-dark-ready~="all"] .stage-card,
[data-theme-mode="dark"][data-dark-ready~="all"] .deal-stage-card,
[data-theme-mode="dark"][data-dark-ready~="all"] .stage-wrap .stage-item {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm-pipeline-stage .stage-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .pipeline-stage .stage-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .pipeline-stage-card .stage-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .stage-card .stage-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .deal-stage-card .stage-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm-pipeline-stage .stage-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .pipeline-stage .stage-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .pipeline-stage-card .stage-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .stage-card .stage-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .deal-stage-card .stage-header {
    background: rgba(30, 41, 59, .92) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .crm-pipeline-stage *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .pipeline-stage *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .pipeline-stage-card *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .stage-card *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .deal-stage-card *,
[data-theme-mode="dark"][data-dark-ready~="all"] .crm-pipeline-stage *,
[data-theme-mode="dark"][data-dark-ready~="all"] .pipeline-stage *,
[data-theme-mode="dark"][data-dark-ready~="all"] .pipeline-stage-card *,
[data-theme-mode="dark"][data-dark-ready~="all"] .stage-card *,
[data-theme-mode="dark"][data-dark-ready~="all"] .deal-stage-card * {
    color: inherit !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .chosen-single,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .chosen-choices,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .chzn-single,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .chzn-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
[data-theme-mode="dark"][data-dark-ready~="all"] .modal textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal select,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .chosen-single,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .chosen-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .chzn-single,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .chzn-choices {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    color: var(--ds-text-primary) !important;
    min-height: 40px !important;
    padding: 8px 12px !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal textarea {
    line-height: 1.45 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal textarea::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal input::placeholder,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal textarea::placeholder {
    color: var(--ds-text-muted) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .control-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal label,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .control-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-label {
    color: var(--ds-text-primary) !important;
    line-height: 1.35 !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .form-group,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .control-group,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .input-field,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .modal .field-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .form-group,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .control-group,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .input-field,
[data-theme-mode="dark"][data-dark-ready~="all"] .modal .field-wrap {
    color: var(--ds-text-secondary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .company-add-form input:not([type="checkbox"]):not([type="radio"]),
[data-theme-mode="dark"][data-dark-ready~="legacy"] .company-add-form textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #company_add input:not([type="checkbox"]):not([type="radio"]),
[data-theme-mode="dark"][data-dark-ready~="legacy"] #company_add textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #add_company input:not([type="checkbox"]):not([type="radio"]),
[data-theme-mode="dark"][data-dark-ready~="legacy"] #add_company textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .company-add-form input:not([type="checkbox"]):not([type="radio"]),
[data-theme-mode="dark"][data-dark-ready~="all"] .company-add-form textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] #company_add input:not([type="checkbox"]):not([type="radio"]),
[data-theme-mode="dark"][data-dark-ready~="all"] #company_add textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] #add_company input:not([type="checkbox"]):not([type="radio"]),
[data-theme-mode="dark"][data-dark-ready~="all"] #add_company textarea {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    box-sizing: border-box !important;
    color: var(--ds-text-primary) !important;
    min-height: 40px !important;
    padding: 8px 12px !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-drop,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-drop-active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-dropdown-open .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chosen-container .chosen-drop,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chzn-container .chzn-drop,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-drop,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-drop-active,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-dropdown-open .select2-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .chosen-container .chosen-drop,
[data-theme-mode="dark"][data-dark-ready~="all"] .chzn-container .chzn-drop {
    background: var(--ds-legacy-popover-bg) !important;
    border-color: var(--ds-border-default) !important;
    box-shadow: var(--ds-shadow-popover) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-container-multi .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chzn-container-multi .chzn-choices,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chosen-container-multi .chosen-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-container-multi .select2-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .chzn-container-multi .chzn-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .chosen-container-multi .chosen-choices {
    background: var(--ds-legacy-input-bg) !important;
    border: 1px solid var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
    min-height: 42px !important;
    padding: 6px 8px !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-container-multi .select2-choices .select2-search-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chzn-container-multi .chzn-choices .search-choice,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chosen-container-multi .chosen-choices .search-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-container-multi .select2-choices .select2-search-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .chzn-container-multi .chzn-choices .search-choice,
[data-theme-mode="dark"][data-dark-ready~="all"] .chosen-container-multi .chosen-choices .search-choice {
    background: rgba(37, 99, 235, .22) !important;
    border: 1px solid rgba(147, 197, 253, .48) !important;
    color: #dbeafe !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-container-multi .select2-choices .select2-search-field input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chzn-container-multi .chzn-choices .search-field input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chosen-container-multi .chosen-choices .search-field input,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-container-multi .select2-choices .select2-search-field input,
[data-theme-mode="dark"][data-dark-ready~="all"] .chzn-container-multi .chzn-choices .search-field input,
[data-theme-mode="dark"][data-dark-ready~="all"] .chosen-container-multi .chosen-choices .search-field input {
    background: transparent !important;
    color: var(--ds-text-primary) !important;
    min-height: 28px !important;
    padding: 0 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results .select2-result-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chosen-results li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chzn-results li,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results li,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results .select2-result-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .chosen-results li,
[data-theme-mode="dark"][data-dark-ready~="all"] .chzn-results li {
    background: transparent !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results .select2-highlighted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .select2-results li:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chosen-results li.highlighted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .chzn-results li.highlighted,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results .select2-highlighted,
[data-theme-mode="dark"][data-dark-ready~="all"] .select2-results li:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .chosen-results li.highlighted,
[data-theme-mode="dark"][data-dark-ready~="all"] .chzn-results li.highlighted {
    background: rgba(59, 130, 246, .24) !important;
    color: #eff6ff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc-sidepane-view,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc-sidepane-view *,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_main_head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_main_body,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_buttons,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_buttons li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_buttons a,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc-sidepane-view,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc-sidepane-view *,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_main_head,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_main_body,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_buttons,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_buttons li,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_buttons a {
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc-sidepane-view,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_main_body,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc-sidepane-view,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_main_body {
    background: var(--ds-legacy-card-bg) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_main_head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_buttons,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_main_head,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_buttons {
    background: var(--ds-legacy-panel-bg) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_buttons li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_buttons a,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_buttons li,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_buttons a {
    background: transparent !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_buttons li.active,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_buttons li:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc_side_buttons a:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_buttons li.active,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_buttons li:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc_side_buttons a:hover {
    background: var(--ds-surface-hover) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc-sidepane-view input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc-sidepane-view textarea,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc-sidepane-view select,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc-sidepane-view input,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc-sidepane-view textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc-sidepane-view select {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    box-sizing: border-box !important;
    color: var(--ds-text-primary) !important;
    min-height: 36px !important;
    padding: 8px 12px !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header th.k-header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-grid-header th a,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header th,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header th.k-header,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-grid-header th a {
    color: var(--ds-text-primary) !important;
}

/*** Follow-up dark-mode corrections found during live alpha validation ***/
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer__inner,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer__head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-upload-shell,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-upload,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-upload-empty-static,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-controls,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-field,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer__inner,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer__head,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-upload-shell,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-upload,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-upload-empty-static,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-controls,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-field {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-secondary) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer__title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer__sub,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-link,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-upload-empty-static,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer label,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer__title,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer__sub,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-link,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-upload-empty-static,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer label {
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer__close,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer__close,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer input,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer select,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer textarea {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer select,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-drawer textarea,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer input,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer select,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-drawer textarea {
    min-height: 38px !important;
    padding: 8px 12px !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-recent,
[data-theme-mode="dark"][data-dark-ready~="legacy"] #global-csv-recent,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-foot,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-upload-empty,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-recent,
[data-theme-mode="dark"][data-dark-ready~="all"] #global-csv-recent,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-foot,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-upload-empty {
    background: var(--ds-legacy-card-bg, #0f1f33) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-upload-empty .title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-upload-empty .sub,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-recent-title,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-hint,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-global-recent-all,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-upload-empty .title,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-upload-empty .sub,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-recent-title,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-hint,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-global-recent-all {
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #global_csv_upload,
[data-theme-mode="dark"][data-dark-ready~="all"] #global_csv_upload {
    background: #2563eb !important;
    border-color: rgba(191, 219, 254, .65) !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .contact-qck-view.common-quick-view,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .company-qck-view.common-quick-view,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .deal-qck-view.common-quick-view,
[data-theme-mode="dark"][data-dark-ready~="all"] .contact-qck-view.common-quick-view,
[data-theme-mode="dark"][data-dark-ready~="all"] .company-qck-view.common-quick-view,
[data-theme-mode="dark"][data-dark-ready~="all"] .deal-qck-view.common-quick-view {
    background: var(--ds-legacy-card-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .floatThead-floatContainer,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .floatThead-container,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .floatThead-floatContainer table,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .floatThead-floatContainer th,
[data-theme-mode="dark"][data-dark-ready~="all"] .floatThead-floatContainer,
[data-theme-mode="dark"][data-dark-ready~="all"] .floatThead-container,
[data-theme-mode="dark"][data-dark-ready~="all"] .floatThead-floatContainer table,
[data-theme-mode="dark"][data-dark-ready~="all"] .floatThead-floatContainer th {
    background: var(--ds-legacy-table-header-bg) !important;
    border-color: var(--ds-border-default) !important;
    color: var(--ds-text-primary) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .date-value,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .total-count-text,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .compared-dtl,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .compared-dtl span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .total-contact-count,
[data-theme-mode="dark"][data-dark-ready~="all"] .date-value,
[data-theme-mode="dark"][data-dark-ready~="all"] .total-count-text,
[data-theme-mode="dark"][data-dark-ready~="all"] .compared-dtl,
[data-theme-mode="dark"][data-dark-ready~="all"] .compared-dtl span,
[data-theme-mode="dark"][data-dark-ready~="all"] .total-contact-count {
    color: var(--ds-text-primary) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .new-dtl,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .new-dtl span,
[data-theme-mode="dark"][data-dark-ready~="all"] .new-dtl,
[data-theme-mode="dark"][data-dark-ready~="all"] .new-dtl span {
    color: #86efac !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .btn-success,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .main-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .save-source,
[data-theme-mode="dark"][data-dark-ready~="all"] .btn-success,
[data-theme-mode="dark"][data-dark-ready~="all"] .btn-primary,
[data-theme-mode="dark"][data-dark-ready~="all"] .main-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .save-source {
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-pager-sizes .k-dropdown,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-pager-sizes .k-dropdown .k-input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .k-pager-sizes .k-dropdown-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-pager-sizes .k-dropdown,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-pager-sizes .k-dropdown .k-input,
[data-theme-mode="dark"][data-dark-ready~="all"] .k-pager-sizes .k-dropdown-wrap {
    background: var(--ds-legacy-input-bg) !important;
    border-color: var(--ds-border-strong) !important;
    color: var(--ds-text-primary) !important;
}

/*** Activity chip and dashboard contact-card readability fixes ***/
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .stage-indication,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .stage-indication,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .event-wrap .stage-indication,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .stage-indication,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .stage-indication,
[data-theme-mode="dark"][data-dark-ready~="all"] .event-wrap .stage-indication {
    background: rgba(37, 99, 235, .34) !important;
    border: 1px solid rgba(147, 197, 253, .38) !important;
    border-radius: 5px !important;
    color: #dbeafe !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 22px !important;
    padding: 2px 7px !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .badge.light,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .badge.light,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .event-wrap .badge.light,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .badge.light,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .badge.light,
[data-theme-mode="dark"][data-dark-ready~="all"] .event-wrap .badge.light {
    background: #1e40af !important;
    border: 1px solid rgba(191, 219, 254, .58) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    min-height: 24px !important;
    padding: 0px 8px !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .badge.light i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .badge.light .md-phone,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .badge.light .md-mail,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .badge.light i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .badge.light .md-phone,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .badge.light .md-mail,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .badge.light i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .badge.light .md-phone,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .badge.light .md-mail,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .badge.light i,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .badge.light .md-phone,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .badge.light .md-mail {
    color: #ffffff !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .badge.light:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .badge.light:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .badge.light:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .badge.light:hover {
    background: rgba(59, 130, 246, .32) !important;
    border-color: rgba(191, 219, 254, .58) !important;
    color: #eff6ff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] #contact-widget img[src*="group-icon"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .cntct-block img[src*="group-icon"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dashboard-widget img[src*="group-icon"],
[data-theme-mode="dark"][data-dark-ready~="legacy"] .portlet img[src*="group-icon"],
[data-theme-mode="dark"][data-dark-ready~="all"] #contact-widget img[src*="group-icon"],
[data-theme-mode="dark"][data-dark-ready~="all"] .cntct-block img[src*="group-icon"],
[data-theme-mode="dark"][data-dark-ready~="all"] .dashboard-widget img[src*="group-icon"],
[data-theme-mode="dark"][data-dark-ready~="all"] .portlet img[src*="group-icon"] {
    filter: invert(92%) sepia(9%) saturate(594%) hue-rotate(176deg) brightness(96%) contrast(91%) !important;
    opacity: .92 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .cntct-block .c-black,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .cntct-block .muted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .portlet .c-black,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dashboard-widget .c-black,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .dashboard-widget .muted,
[data-theme-mode="dark"][data-dark-ready~="all"] .cntct-block .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] .cntct-block .muted,
[data-theme-mode="dark"][data-dark-ready~="all"] .portlet .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] .dashboard-widget .c-black,
[data-theme-mode="dark"][data-dark-ready~="all"] .dashboard-widget .muted {
    color: var(--ds-text-primary) !important;
}

/*** Activity right-side rail and floating utility panels ***/
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel.bgm-white,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel.act_mini_pan,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-wrap .spt-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel.bgm-white,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel.act_mini_pan,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-wrap .spt-wrap {
    background: var(--ds-legacy-card-bg, #0f1f33) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel .toggle-fix-panel,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel .panel-settings,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel .toggle-fix-panel i,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel .panel-settings i,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel .toggle-fix-panel,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel .panel-settings,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel .toggle-fix-panel i,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel .panel-settings i {
    background: var(--ds-legacy-card-bg, #0f1f33) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel .toggle-fix-panel:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel .panel-settings:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel .toggle-fix-panel:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel .panel-settings:hover {
    background: var(--ds-surface-hover) !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel #add_activity,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel .new_add_btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .small-side-panel .new_add_btn i,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel #add_activity,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel .new_add_btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .small-side-panel .new_add_btn i {
    background: #2563eb !important;
    background-color: #2563eb !important;
    border-color: rgba(191, 219, 254, .65) !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-btn .toggle-svg,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-btn svg,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-btn path,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-btn .toggle-svg,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-btn svg,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-btn path {
    background: var(--ds-legacy-panel-bg, #0b1727) !important;
    background-color: var(--ds-legacy-panel-bg, #0b1727) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
    fill: var(--ds-text-primary, #f8fafc) !important;
    stroke: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-wrap.arrow_back .spt-wrap.toggle-Jp .side-panel-toggle-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-wrap .spt-wrap .side-panel-toggle-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-wrap.arrow_back .spt-wrap.toggle-Jp .side-panel-toggle-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-wrap .spt-wrap .side-panel-toggle-btn {
    background: var(--ds-legacy-panel-bg, #0b1727) !important;
    background-color: var(--ds-legacy-panel-bg, #0b1727) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
    left: -20px !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .32) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-import-status-dock,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-import-status-head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-import-status-body,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-import-status-dock,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-import-status-head,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-import-status-body {
    background: var(--ds-legacy-card-bg, #0f1f33) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-import-status-action-btn,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .csv-import-status-chevron,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-import-status-action-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .csv-import-status-chevron {
    background: var(--ds-legacy-input-bg, #0b1727) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

/*** Live audit coverage for legacy rails, pagination, and icon chips ***/
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-sidebar-menu li.active .tt-rail-icon,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-sidebar-menu a.active .tt-rail-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-sidebar-menu li.active .tt-rail-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-sidebar-menu a.active .tt-rail-icon {
    background: #1d4ed8 !important;
    border-color: rgba(191, 219, 254, .65) !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-sidebar-menu li.active .tt-rail-icon svg,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-sidebar-menu li.active .tt-rail-icon path,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-sidebar-menu a.active .tt-rail-icon svg,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .page-sidebar-menu a.active .tt-rail-icon path,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-sidebar-menu li.active .tt-rail-icon svg,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-sidebar-menu li.active .tt-rail-icon path,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-sidebar-menu a.active .tt-rail-icon svg,
[data-theme-mode="dark"][data-dark-ready~="all"] .page-sidebar-menu a.active .tt-rail-icon path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .pagination.page-up span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .pagination.page-up a,
[data-theme-mode="dark"][data-dark-ready~="all"] .pagination.page-up span,
[data-theme-mode="dark"][data-dark-ready~="all"] .pagination.page-up a {
    background: var(--ds-legacy-input-bg, #0b1727) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .pagination.page-up .disabled span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .pagination.page-up .disabled a,
[data-theme-mode="dark"][data-dark-ready~="all"] .pagination.page-up .disabled span,
[data-theme-mode="dark"][data-dark-ready~="all"] .pagination.page-up .disabled a {
    color: var(--ds-text-muted, #94a3b8) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .slide-footer .option-list a,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .slide-footer .option-list a.active,
[data-theme-mode="dark"][data-dark-ready~="all"] .slide-footer .option-list a,
[data-theme-mode="dark"][data-dark-ready~="all"] .slide-footer .option-list a.active {
    background: var(--ds-legacy-input-bg, #0b1727) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .rc-sidepane-view .md-check,
[data-theme-mode="dark"][data-dark-ready~="all"] .rc-sidepane-view .md-check {
    background: #166534 !important;
    color: #ffffff !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .icon-cover .md-phone,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .icon-cover .md-phone,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-icon .md-phone,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .icon-cover .md-phone,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .icon-cover .md-phone,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-icon .md-phone {
    background-color: #c2410c !important;
    border-color: rgba(254, 215, 170, .72) !important;
    color: #ffffff !important;
}
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker .m-wrap.input-mini,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker .ranges input.input-mini,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker .m-wrap.input-mini,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker .ranges input.input-mini {
    background: transparent !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .daterangepicker .ranges label,
[data-theme-mode="dark"][data-dark-ready~="all"] .daterangepicker .ranges label {
    color: var(--ds-text-secondary, #cbd5e1) !important;
    text-shadow: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .new-ui-cmd,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .new-ui-cmd {
    background: transparent !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .highcharts-label text,
[data-theme-mode="dark"][data-dark-ready~="all"] .highcharts-label text {
    fill: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .row-fluid.m-t-25.grey-cmt,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .row-fluid.green-cmt,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .red-cmt,
[data-theme-mode="dark"][data-dark-ready~="all"] .row-fluid.m-t-25.grey-cmt,
[data-theme-mode="dark"][data-dark-ready~="all"] .row-fluid.green-cmt,
[data-theme-mode="dark"][data-dark-ready~="all"] .red-cmt {
    background: #22364d !important;
    border-color: #364f6c !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .comment-block a i.md.md-check,
[data-theme-mode="dark"][data-dark-ready~="all"] .comment-block a i.md.md-check {
    background: transparent;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .dealstagelist_div .m-group,
[data-theme-mode="dark"][data-dark-ready~="all"] .dealstagelist_div .m-group {
    border-color: transparent;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .timeline .sv-cmt,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .sv-cmt,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .sv-cmt,
[data-theme-mode="dark"][data-dark-ready~="all"] .timeline .sv-cmt,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .sv-cmt,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .sv-cmt {
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .spt-wrap.toggle-Jp,
[data-theme-mode="dark"][data-dark-ready~="all"] .spt-wrap.toggle-Jp {
    background: transparent !important;
    right: -26px !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-wrap.arrow_back,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-wrap.arrow_back,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-wrap {
    background: transparent !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-wrap {
    right: -6px;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .side-panel-toggle-btn .toggle-svg path:nth-child(2),
[data-theme-mode="dark"][data-dark-ready~="all"] .side-panel-toggle-btn .toggle-svg path:nth-child(2) {
    fill: none !important;
    stroke: none !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity-container .tab-content > .tab-pane .row-fluid.emp-hide,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .activity_listing .tab-content > .tab-pane .row-fluid.emp-hide,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity-container .tab-content > .tab-pane .row-fluid.emp-hide,
[data-theme-mode="dark"][data-dark-ready~="all"] .activity_listing .tab-content > .tab-pane .row-fluid.emp-hide {
    position: relative;
    top: -8px;
    padding: 0 17px;
    box-sizing: border-box;
}

/*** Future hooks for the master hotfix contact bulk-groups modal ***/
.tt-contact-bulk-groups-modal .tt-btn-primary,
.tt-contact-bulk-groups-modal [data-tt-action="primary"].tt-btn {
    background: var(--ds-button-action-bg) !important;
    border-color: var(--ds-button-action-border) !important;
    color: var(--ds-button-action-text) !important;
}

.tt-contact-bulk-groups-modal .tt-btn-primary:hover,
.tt-contact-bulk-groups-modal .tt-btn-primary:focus,
.tt-contact-bulk-groups-modal [data-tt-action="primary"].tt-btn:hover,
.tt-contact-bulk-groups-modal [data-tt-action="primary"].tt-btn:focus {
    background: var(--ds-button-action-hover-bg) !important;
    border-color: var(--ds-button-action-hover-border) !important;
    color: var(--ds-button-action-text) !important;
}

.tt-contact-bulk-groups-modal .tt-btn-secondary,
.tt-contact-bulk-groups-modal [data-tt-action="secondary"].tt-btn {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

.tt-contact-bulk-groups-modal .tt-btn-secondary:hover,
.tt-contact-bulk-groups-modal .tt-btn-secondary:focus,
.tt-contact-bulk-groups-modal [data-tt-action="secondary"].tt-btn:hover,
.tt-contact-bulk-groups-modal [data-tt-action="secondary"].tt-btn:focus {
    background: var(--ds-button-neutral-hover-bg) !important;
    border-color: var(--ds-button-neutral-hover-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

.tt-contact-bulk-groups-modal .tt-btn-secondary:active,
.tt-contact-bulk-groups-modal .tt-btn-secondary.active,
.tt-contact-bulk-groups-modal [data-tt-action="secondary"].tt-btn:active,
.tt-contact-bulk-groups-modal [data-tt-action="secondary"].tt-btn.active {
    background: var(--ds-button-neutral-pressed-bg) !important;
    border-color: var(--ds-button-neutral-pressed-border) !important;
    color: var(--ds-button-neutral-pressed-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal {
    background: var(--ds-modal-surface-bg, var(--ds-legacy-card-bg)) !important;
    border-color: var(--ds-modal-surface-border, var(--ds-border-default)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__body,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__footer,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__action,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__contacts .contact-li,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__header,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__body,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__footer,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__action,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__contacts .contact-li {
    background: var(--ds-legacy-card-bg, #0f1f33) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__header p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__section-head,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__action p,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__header p,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__section-head,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__action p {
    color: var(--ds-text-secondary, #cbd5e1) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__header h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__action label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__contacts .name-cov,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__header h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__action label,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__contacts .name-cov {
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__section-head strong,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__section-head strong {
    background: rgba(96, 165, 250, .16) !important;
    color: var(--ds-color-link, #93c5fd) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chzn-choices,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chosen-choices,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chzn-drop,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chosen-drop,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chzn-search input,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chosen-search input,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chzn-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chosen-choices,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chzn-drop,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chosen-drop,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chzn-search input,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chosen-search input {
    background: var(--ds-legacy-input-bg, #0b1727) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chzn-results li,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chosen-results li,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chzn-results li,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chosen-results li {
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chzn-results li.highlighted,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chosen-results li.highlighted,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chzn-results li.highlighted,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-bulk-groups-modal .contact-bulk-groups-modal__control .chosen-results li.highlighted {
    background: var(--ds-surface-hover, rgba(96, 165, 250, .18)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

/*** Future hooks for the master hotfix contacts overview redesign ***/
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal {
    background: var(--ds-legacy-card-bg, #0f1f33) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
    box-shadow: var(--ds-shadow-popover, 0 18px 42px rgba(0, 0, 0, .32)) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__summary,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__insights,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal__header,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal__body,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal__footer,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__header,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__summary,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__insights,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal__header,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal__body,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal__footer {
    background: var(--ds-legacy-card-bg, #0f1f33) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__summary,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__summary {
    border-right-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__title h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__metric strong,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__insights-head h4,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__source-name,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__source-count,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__trend-value,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal__header h3,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal__table td,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__title h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__metric strong,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__insights-head h4,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__source-name,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__source-count,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__trend-value,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal__header h3,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal__table td {
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__title p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__metric span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__comparison,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__comparison span,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__comparison small,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__trend-label,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__empty,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal__header p,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal__table th,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__title p,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__metric span,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__comparison,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__comparison span,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__comparison small,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__trend-label,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__empty,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal__header p,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal__table th {
    color: var(--ds-text-secondary, #cbd5e1) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__date,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__tabs,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__date,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__tabs {
    background: var(--ds-legacy-input-bg, #0b1727) !important;
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__date .add-on,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__info,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__info i,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__date .add-on,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__info,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__info i {
    color: var(--ds-text-secondary, #cbd5e1) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__tabs button,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__tabs button {
    background: transparent !important;
    color: var(--ds-text-secondary, #cbd5e1) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__tabs button.is-active,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__tabs button.is-active {
    background: var(--ds-button-neutral-bg, #111f33) !important;
    color: var(--ds-text-primary, #f8fafc) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .35) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__link,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__link {
    color: var(--ds-color-link, #93c5fd) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__icon,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__metric-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__metric-icon {
    background: rgba(20, 184, 166, .16) !important;
    color: #5eead4 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__metric--new .tt-contacts-overview__metric-icon,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__metric--new .tt-contacts-overview__metric-icon {
    background: rgba(34, 197, 94, .16) !important;
    color: #86efac !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__metric--new strong,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__metric--new strong {
    color: #86efac !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__change,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__change {
    background: rgba(34, 197, 94, .16) !important;
    color: #bbf7d0 !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__divider,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal__table th,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal__table td,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__divider,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal__table th,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal__table td {
    border-color: var(--ds-border-default, rgba(226, 232, 240, .16)) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__source-bar-wrap,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contacts-overview__trend-track,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__source-bar-wrap,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contacts-overview__trend-track {
    background: rgba(148, 163, 184, .18) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal .tt-btn-secondary,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal [data-tt-action="secondary"].tt-btn,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal .tt-btn-secondary,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal [data-tt-action="secondary"].tt-btn {
    background: var(--ds-button-neutral-bg) !important;
    border-color: var(--ds-button-neutral-border) !important;
    color: var(--ds-button-neutral-text) !important;
}

[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal .tt-btn-secondary:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal .tt-btn-secondary:focus,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal [data-tt-action="secondary"].tt-btn:hover,
[data-theme-mode="dark"][data-dark-ready~="legacy"] .tt-contact-source-modal [data-tt-action="secondary"].tt-btn:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal .tt-btn-secondary:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal .tt-btn-secondary:focus,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal [data-tt-action="secondary"].tt-btn:hover,
[data-theme-mode="dark"][data-dark-ready~="all"] .tt-contact-source-modal [data-tt-action="secondary"].tt-btn:focus {
    background: var(--ds-button-neutral-hover-bg) !important;
    border-color: var(--ds-button-neutral-hover-border) !important;
    color: var(--ds-button-neutral-text) !important;
}
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_fix_head {
    background: var(--ds-text-secondary);
    padding-top: 12px !important;
    padding-bottom: 0 !important;
}
[data-theme-mode="dark"][data-dark-ready~="legacy"] a.c-blue.detail_ins_open {
    color: #224872 !important;
}
[data-theme-mode="dark"][data-dark-ready~="legacy"] a.small_act_dash_close i:before {
    color: var(--ds-color-danger-600) !important;
    top: 6px !important;
    position: relative;
}
[data-theme-mode="dark"][data-dark-ready~="legacy"] .insight-activities-wrap li {
    padding: 9px 0 9px 8px !important;
}
[data-theme-mode="dark"][data-dark-ready~="legacy"] .three-tab.act_fix_head .c-black {
    color: #000 !important;
}
[data-theme-mode="dark"][data-dark-ready~="legacy"] .print_week_tb .cal-block,
.act_over_dash>li>span.num {
    color: var(--ds-text-primary);
}
[data-theme-mode="dark"][data-dark-ready~="legacy"] .calnd-btns {
    background: var(--ds-legacy-card-bg) !important;
    padding: 0px 2px !important;
}
[data-theme-mode="dark"][data-dark-ready~="legacy"] .act_ins_full.viw {
    background: var(--ds-legacy-card-bg) !important;
}
a.toggle-fix-panel svg {
    fill: currentColor !important;
}
