/* Яркая тема, слой поверх страничных CSS. Обычный вид не меняется.
   Оболочка как в Битрикс24: обои стоят, между страницами меняется белый лист. */

html[data-ui-style="vivid"]:not([data-ds-appearance="dark"])::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: #2a1d55 url("/static/img/cmyk-apple-wallpaper.jpg") center center / cover no-repeat;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-calculator):not(.page-calc-client) {
  background-color: transparent !important;
  background-image: none !important;
}

@media (min-width: 992px) {
  html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .cmykos-sidebar {
    top: 0;
    bottom: 0;
    z-index: 1040;
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
  }
  html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]):not(.cmyk-nav-collapsed) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .navbar-fintech {
    margin-left: 250px !important;
    width: calc(100% - 250px) !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .navbar-fintech,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .navbar-fintech {
    margin-left: 72px !important;
    width: calc(100% - 72px) !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar {
    width: 72px !important;
    transform: none !important;
    overflow-x: hidden;
    overflow-y: auto;
    padding-left: 0;
    padding-right: 0;
    transition: width 0.22s ease;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:hover,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:hover {
    width: 268px !important;
    box-shadow: 14px 0 36px rgba(8, 6, 28, 0.38);
  }
}

html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .cmykos-main {
  background: transparent !important;
  backdrop-filter: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0 0 0 250px !important;
  min-height: 0;
  padding: 0 !important;
}
/* Карточки и панели берут белый из --ds-surface. Ползунок крутит его, не только подложку. */
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) {
  --ds-surface: rgba(255, 255, 255, var(--cmyk-glass, 0.37));
  --ds-surface-2: rgba(255, 255, 255, var(--cmyk-glass, 0.37));
  --ds-bg: rgba(255, 255, 255, var(--cmyk-glass, 0.37));
  --ds-bg-subtle: rgba(255, 255, 255, var(--cmyk-glass, 0.37));
  --ds-fill: rgba(255, 255, 255, var(--cmyk-glass, 0.37));
  --ds-fill-secondary: rgba(255, 255, 255, var(--cmyk-glass, 0.37));
}
/* Обёртка из base.html — не лист. Ползунок красит саму страницу, не подложку под ней. */
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main > .container,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main > .container-fluid {
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
  padding: 0 !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main > .sales-screen,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main .sales-screen,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main > .container-fluid > .container-fluid,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main > .container-fluid > .container,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .order-card-page {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  background-color: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  border-radius: 0;
  box-shadow: none !important;
  padding: 12px 16px 16px;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main .card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main .stripe-card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main .sales-panel,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main .list-group-item,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main .bg-white,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main .bg-light {
  background-color: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  box-shadow: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-board-panel,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-deal-card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-map-lead-card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-partner-quote-card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-site-lead-card {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-col {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .disk-nav,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .disk-nav__title,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .disk-nav__item,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .disk-quota__text,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .disk-nav__hint {
  color: #fff !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .disk-nav__item:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .disk-nav__item.is-active {
  background: #fff !important;
  color: #1a2332 !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .disk-quota__bar {
  background: rgba(255, 255, 255, 0.28);
}
html[data-ui-style="vivid"].cmyk-nav-collapsed body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .cmykos-main,
html[data-ui-style="vivid"] body.cmyk-nav-collapsed:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .cmykos-main {
  margin: 0 0 0 72px !important;
}
@media (min-width: 992px) {
  html[data-ui-style="vivid"].cmyk-nav-collapsed body.page-chats:not(.page-chats--partner):not(.chat-in-tab) .cmykos-main,
  html[data-ui-style="vivid"] body.page-chats.cmyk-nav-collapsed:not(.page-chats--partner):not(.chat-in-tab) .cmykos-main {
    margin-left: 72px !important;
  }
}

html[data-ui-style="vivid"] body.page-directories .cmykos-sidebar {
  display: block !important;
}
html[data-ui-style="vivid"] body.page-directories .cmykos-sidebar-toggle {
  display: inline-flex !important;
}

html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-sidebar-toggle {
  background: transparent !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}
html[data-ui-style="vivid"] .cmykos-sidebar__label-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
html[data-ui-style="vivid"] .cmykos-sidebar__label .bi {
  font-size: 1.05rem;
  color: inherit;
}

@media (min-width: 992px) {
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-nav-rail,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-nav-rail {
    display: none !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-nav-collapse-btn,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-nav-collapse-btn {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    margin: 4px auto 10px;
    padding: 0;
    justify-content: center;
    border-color: transparent !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14) !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-nav-collapse-btn span,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-nav-collapse-btn span {
    display: none !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-nav-collapse-btn .bi,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-nav-collapse-btn .bi {
    transform: rotate(180deg);
    font-size: 1.15rem;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__accordion::details-content,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__accordion::details-content {
    height: 0 !important;
    opacity: 0 !important;
    transition: none !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__panel,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__panel,
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__sublabel,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__sublabel,
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__label-text,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__label-text {
    display: none !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__label,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__label {
    display: flex !important;
    justify-content: center !important;
    padding: 10px 0 !important;
    color: #fff !important;
    background: transparent !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__label::after,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__label::after {
    content: none !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__label .bi,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__label .bi {
    margin: 0 !important;
    font-size: 1.3rem !important;
    color: #fff !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__inner > .cmykos-sidebar__link,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__inner > .cmykos-sidebar__link {
    justify-content: center;
    gap: 0 !important;
    padding: 8px 0 !important;
    font-size: 0 !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__inner > .cmykos-sidebar__link > span:not(.ico),
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__inner > .cmykos-sidebar__link > span:not(.ico) {
    display: none !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__inner > .cmykos-sidebar__link .ico,
  html[data-ui-style="vivid"].cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__inner > .cmykos-sidebar__link .bi,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__inner > .cmykos-sidebar__link .ico,
  html[data-ui-style="vivid"] body.cmyk-nav-collapsed .cmykos-sidebar:not(:hover) .cmykos-sidebar__inner > .cmykos-sidebar__link .bi {
    font-size: 1.25rem !important;
    width: 1.4rem !important;
    margin: 0 auto;
    color: #fff !important;
  }
}

html[data-ui-style="vivid"] .modal-content,
html[data-ui-style="vivid"] .offcanvas {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  backdrop-filter: none;
  color: #1a2332 !important;
  box-shadow: 0 24px 64px rgba(8, 6, 28, 0.28) !important;
}
html[data-ui-style="vivid"] .modal-body {
  background: transparent !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-chats .chat-app,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-chats .chat-messages-area,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-chats #messages-scroll {
  background: transparent !important;
  background-image: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-chats .chat-layout .stripe-card {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: none;
}
html[data-ui-style="vivid"] .modal-header,
html[data-ui-style="vivid"] .offcanvas-header,
html[data-ui-style="vivid"] .modal-footer {
  background: transparent;
  color: #1a2332;
  border-color: rgba(26, 35, 50, 0.12) !important;
}
html[data-ui-style="vivid"] .modal-backdrop.show,
html[data-ui-style="vivid"] .offcanvas-backdrop.show {
  opacity: 1;
  background-color: transparent;
}
/* Справочники: не целая страница, а парящая стеклянная карточка с полями обоев.
   Специфичность выше общего padding:0 у .cmykos-main, иначе лист снова в край. */
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-directories {
  background-color: transparent !important;
  background-image: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-directories:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .cmykos-main {
  padding: 18px 22px 28px !important;
  background: transparent !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-directories:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .cmykos-main > .container-fluid {
  padding: 0 !important;
  background: transparent !important;
  max-width: none;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-directories .directories-layout {
  margin: 0 !important;
  min-height: calc(100vh - 102px) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 22px 56px rgba(8, 6, 28, 0.32) !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-directories .directories-topnav {
  position: relative !important;
  top: auto !important;
  z-index: 3 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-directories .directories-layout,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-directories .directories-topnav,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-directories .stripe-card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-directories .dir-personnel-panel {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  background-color: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
}
html:not([data-ui-style="vivid"]) .cmyk-glass-menu {
  display: none !important;
}
.cmyk-glass-menu .nav-link {
  color: #fff;
  border: 0;
  background: transparent;
  font-size: 1.15rem;
  line-height: 1;
}
.cmyk-glass-panel {
  min-width: 240px;
  padding: 12px 14px 10px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 10, 40, 0.22);
}
.cmyk-glass-panel__title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a2332;
}
.cmyk-glass-panel input[type="range"] {
  width: 100%;
  accent-color: #2fc6f6;
}
.cmyk-glass-panel__scale {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 11px;
  color: #6b7280;
}
.cmyk-glass-panel__scale span:nth-child(2) {
  font-weight: 700;
  color: #1a2332;
}
html[data-ui-style="vivid"] .modal.cmyk-modal-under {
  opacity: 0 !important;
  pointer-events: none !important;
}
html[data-ui-style="vivid"] .mp-card {
  background: #f6f8fa;
  border: 1px solid #c5ced6;
  color: #1a2332;
}
html[data-ui-style="vivid"] .mp-card-title { color: #121820; }
html[data-ui-style="vivid"] .mp-card-msg { color: #243040; }
html[data-ui-style="vivid"] .mp-card.sev-warning {
  background: #fff;
  border-color: #d6a400;
}
html[data-ui-style="vivid"] .mp-card.sev-critical {
  background: #fff;
  border-color: #e04b4b;
}
html[data-ui-style="vivid"] #nav-pulse-link .bi-bell {
  font-size: 1.25rem;
  line-height: 1;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .order-card-page {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

@media (max-width: 991.98px) {
  html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .cmykos-main {
    margin: 0 !important;
  }
  html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .navbar-fintech {
    margin-left: 0 !important;
    width: auto !important;
  }
  html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-directories:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .cmykos-main {
    padding: 10px 10px 16px !important;
  }
  html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-directories .directories-layout {
    min-height: calc(100vh - 82px) !important;
  }
}

html[data-ui-style="vivid"] body.page-home-dash .home-dash {
  max-width: none;
  padding-top: 4px;
}
html[data-ui-style="vivid"] body.page-home-dash .home-dash__hello h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: none;
}
html[data-ui-style="vivid"] body.page-home-dash .home-dash__hello p {
  font-size: 15px;
  font-weight: 600;
  text-shadow: none;
}
html[data-ui-style="vivid"] body.page-home-dash .home-dash__grid {
  gap: 14px;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-home-dash .home-widget {
  border-top: 0;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-home-dash .home-widget__head {
  background: transparent !important;
  margin: 0 0 12px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid rgba(26, 35, 50, 0.12);
  border-radius: 0;
  box-shadow: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-home-dash .home-widget__title,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-home-dash .home-widget__link {
  color: #333 !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-home-dash .home-widget__icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  background: #f2f4f6 !important;
  color: #525c69 !important;
  filter: grayscale(1);
  opacity: 0.85;
}

html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-app {
  max-width: none !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  background-color: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
}
html[data-ui-style="vivid"] body.page-orders-queue .sales-screen__head {
  align-items: flex-end;
  border-bottom: 0;
  margin-bottom: 10px;
  padding-bottom: 0;
}
html[data-ui-style="vivid"] body.page-orders-queue .sales-screen__title {
  font-size: 30px !important;
  font-weight: 400 !important;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
html[data-ui-style="vivid"] body.page-orders-queue .sales-screen__sub {
  display: none;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-count {
  background: #fff !important;
  color: #525c69 !important;
  border: 1px solid #d5dde3;
  border-radius: 14px;
  font-weight: 600;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 12px !important;
  padding: 4px;
  background: #fff;
  border: 1px solid #d5dde3;
  border-radius: 10px;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-tabs .ds-btn {
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #525c69 !important;
  box-shadow: none !important;
  min-height: 32px;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-tabs .ds-btn--primary {
  background: #2fc6f6 !important;
  color: #fff !important;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-panel {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-toolbar {
  background: transparent !important;
  border-bottom: 1px solid rgba(26, 35, 50, 0.08);
  padding: 10px 12px;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-dl-chip {
  border-radius: 6px;
  background: #fff;
  border-color: #d5dde3;
  color: #525c69;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-dl-chip.is-active {
  background: #2fc6f6;
  border-color: #2fc6f6;
  color: #fff;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-dl-chip--overdue.is-active {
  background: #f54819;
  border-color: #f54819;
  color: #fff;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-table,
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-table tbody tr.order-row {
  --bs-table-bg: transparent;
  background: transparent !important;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-table thead th {
  background: transparent !important;
  color: #9aa3ab !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid #e6ebf0 !important;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-table tbody tr.order-row td {
  padding-top: 13px !important;
  padding-bottom: 13px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent !important;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-table tbody tr.order-row:hover td {
  background: #f3fbfe !important;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-order-no {
  color: #2066b0 !important;
  font-size: 16px;
  font-weight: 700;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-client {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
html[data-ui-style="vivid"] body.page-orders-queue .ws-badge {
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
}
html[data-ui-style="vivid"] body.page-orders-queue .orders-queue-price {
  color: #1a7f4b;
  font-weight: 700;
}

html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-col:nth-child(5n+1) .crm-col__head { background: #2fc6f6 !important; }
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-col:nth-child(5n+2) .crm-col__head { background: #9dcf00 !important; }
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-col:nth-child(5n+3) .crm-col__head { background: #ffa900 !important; }
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-col:nth-child(5n+4) .crm-col__head { background: #f54819 !important; }
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-col:nth-child(5n+5) .crm-col__head { background: #b05cff !important; }
html[data-ui-style="vivid"] .vivid-top-suggest__row[data-kind="page"] .vivid-top-suggest__kind {
  background: #f4ecff;
  color: #6b3fa0;
}

html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-col__name,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-col__total {
  color: #fff !important;
}

/* Стеклянное меню поверх обоев: белый текст, светлая плашка у активного пункта. */

html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body .cmykos-sidebar.cmykos-sidebar {
  background: rgba(22, 14, 52, var(--cmyk-glass, 0.37)) !important;
  background-image: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.16) !important;
  backdrop-filter: none;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__link {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: 10px !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar .ico {
  filter: none;
  opacity: 0.92;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__link .ico,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__link .bi {
  width: 1.25rem !important;
  height: auto !important;
  border-radius: 0 !important;
  background: none !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.05rem !important;
  box-shadow: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__link:hover,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__link:focus-visible,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__link.is-active {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  box-shadow: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) [data-cmyk-ink="light"],
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) [data-cmyk-ink="light"] .bi {
  color: #f7f9fc !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) [data-cmyk-ink="dark"] {
  color: #172033 !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__link:hover .ico,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__link:hover .bi,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__link.is-active .ico,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__link.is-active .bi {
  background: none !important;
  color: #fff !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__label::before {
  content: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__label {
  color: rgba(255, 255, 255, 0.62) !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__label:hover,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .cmykos-sidebar__accordion[open] > .cmykos-sidebar__label {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Ползунок красит окна на всех страницах яркой темы, не только на отдельных. */
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .sales-screen,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .sales-panel,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .stripe-card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .disk-main,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .home-widget,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .orders-queue-app,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .order-card-page,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main [class*="panel"]:not([class*="__"]):not(.sales-panel__head):not(.sales-panel__body):not(.orders-queue-panel):not(.btn):not(.ds-btn),
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main [class*="card"]:not([class*="__"]):not([class*="card-"]):not(.btn):not(.ds-btn):not(.ds-pill):not(.badge),
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .modal-content,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .offcanvas {
  background-color: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .sales-panel__head,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .sales-panel__body,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .card-body,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .card-header,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .card-footer,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .modal-header,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .modal-body,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-calculator):not(.page-calc-client) .modal-footer {
  background-color: transparent !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) .new-order-type-card:disabled {
  opacity: 1;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calculator {
  background-color: #f2f2f7 !important;
  background-image: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calc-client {
  background-color: transparent !important;
  background-image: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calculator .cmykos-main,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calc-client .cmykos-main,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calculator .calc-client-app,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calc-client .calc-client-app {
  background: transparent !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calc-client .calc-client-card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calc-client .lf-preview-card-wrap {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  box-shadow: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calculator .navbar-fintech,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calc-client .navbar-fintech {
  background: rgba(22, 14, 52, var(--cmyk-glass, 0.55)) !important;
  background-image: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calculator .navbar-fintech .navbar-brand,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calculator .navbar-fintech .navbar-brand-company,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calculator .navbar-fintech .nav-link,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calc-client .navbar-fintech .navbar-brand,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calc-client .navbar-fintech .navbar-brand-company,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-calc-client .navbar-fintech .nav-link {
  color: #fff !important;
}
@media (min-width: 992px) {
  html[data-ui-style="vivid"] body.page-calculator:not(.page-calc-client--partner) .cmykos-main,
  html[data-ui-style="vivid"] body.page-calc-client:not(.page-calc-client--partner) .cmykos-main {
    margin-left: 250px !important;
  }
  html[data-ui-style="vivid"].cmyk-nav-collapsed body.page-calculator:not(.page-calc-client--partner) .cmykos-main,
  html[data-ui-style="vivid"] body.page-calculator.cmyk-nav-collapsed:not(.page-calc-client--partner) .cmykos-main,
  html[data-ui-style="vivid"].cmyk-nav-collapsed body.page-calc-client:not(.page-calc-client--partner) .cmykos-main,
  html[data-ui-style="vivid"] body.page-calc-client.cmyk-nav-collapsed:not(.page-calc-client--partner) .cmykos-main {
    margin-left: 72px !important;
  }
}

/* Лист страницы не отдельная модалка: обои стоят, едут сами панели. */
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash) .cmykos-main .sales-screen:not(.orders-queue-app) {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-partner-quote-inbox,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-board-panel,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-board-funnel__head,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-board-toolbar {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  background-color: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  outline: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-board-funnel__head {
  padding: 10px 14px;
}
html[data-ui-style="vivid"] body.page-crm-board .crm-task-block__cards {
  overflow: visible !important;
}
html[data-ui-style="vivid"] body.page-crm-board .crm-partner-quote-inbox,
html[data-ui-style="vivid"] body.page-crm-board .crm-board-panel {
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  outline: none !important;
  overflow: visible !important;
  padding: 18px !important;
}
html[data-ui-style="vivid"] body.page-crm-board .crm-board-toolbar {
  display: flex !important;
  align-items: center !important;
  margin-top: 16px !important;
  padding: 10px 14px !important;
}
html[data-ui-style="vivid"] body.page-crm-board .crm-board-toolbar__controls,
html[data-ui-style="vivid"] body.page-crm-board .crm-board-manager-switch {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
}
html[data-ui-style="vivid"] body.page-crm-board .crm-board-toolbar .ds-btn,
html[data-ui-style="vivid"] body.page-crm-board .crm-board-toolbar .form-select {
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  align-self: center !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-task-block__cards,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .crm-task-block,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board [class*="crm-partner-quote-card__"],
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board [class*="crm-map-lead-card__"],
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board [class*="crm-deal-card__"]:not(.crm-deal-card__note) {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
html[data-ui-style="vivid"] body.page-crm-board #crmMapLeadInbox,
html[data-ui-style="vivid"] body.page-crm-board #crmMapLeadInbox.is-fresh,
html[data-ui-style="vivid"] body.page-crm-board #crmSiteLeadInbox,
html[data-ui-style="vivid"] body.page-crm-board #crmPartnerQuoteInbox,
html[data-ui-style="vivid"] body.page-crm-board .crm-task-block,
html[data-ui-style="vivid"] body.page-crm-board .crm-task-block__cards {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 18px !important;
}
html[data-ui-style="vivid"] body.page-crm-board .crm-partner-quote-card.crm-map-lead-card,
html[data-ui-style="vivid"] body.page-crm-board .crm-partner-quote-card.crm-site-lead-card,
html[data-ui-style="vivid"] body.page-crm-board .crm-deal-card {
  border: 1px solid rgba(52, 199, 89, 0.4) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background-clip: border-box !important;
  box-shadow: none !important;
  outline: none !important;
}
html[data-ui-style="vivid"] body.page-crm-board .crm-partner-quote-inbox {
  box-shadow: none !important;
}
html[data-ui-style="vivid"] body.page-crm-board .crm-partner-quote-card__top,
html[data-ui-style="vivid"] body.page-crm-board .crm-partner-quote-card__top strong,
html[data-ui-style="vivid"] body.page-crm-board .crm-partner-quote-card__meta,
html[data-ui-style="vivid"] body.page-crm-board .crm-map-lead-card__note,
html[data-ui-style="vivid"] body.page-crm-board .crm-deal-card__title {
  overflow-wrap: anywhere;
  min-width: 0;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .cmykos-main .crm-col,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .cmykos-main .crm-col__body,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .cmykos-main .crm-deal-card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .cmykos-main .crm-map-lead-card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .cmykos-main .crm-site-lead-card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-crm-board .cmykos-main .crm-partner-quote-card {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  background-color: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
}
html[data-ui-style="vivid"] body.page-crm-board .sales-screen__head,
html[data-ui-style="vivid"] body.page-crm-board .crm-board-main-tabs {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 12px;
}
html[data-cmyk-glass-ink="light"] body.page-crm-board .sales-screen__title,
html[data-cmyk-glass-ink="light"] body.page-crm-board .sales-screen__sub,
html[data-cmyk-glass-ink="light"] body.page-crm-board .crm-partner-quote-inbox__title,
html[data-cmyk-glass-ink="light"] body.page-crm-board .crm-partner-quote-inbox__sub,
html[data-cmyk-glass-ink="light"] body.page-crm-board .crm-board-funnel__title,
html[data-cmyk-glass-ink="light"] body.page-crm-board .crm-board-main-tabs .nav-link {
  color: #f7f9fc !important;
  text-shadow: 0 1px 2px rgba(8, 6, 28, 0.45);
}
html[data-cmyk-glass-ink="dark"] body.page-crm-board .sales-screen__title,
html[data-cmyk-glass-ink="dark"] body.page-crm-board .sales-screen__sub,
html[data-cmyk-glass-ink="dark"] body.page-crm-board .crm-partner-quote-inbox__title,
html[data-cmyk-glass-ink="dark"] body.page-crm-board .crm-partner-quote-inbox__sub,
html[data-cmyk-glass-ink="dark"] body.page-crm-board .crm-board-funnel__title,
html[data-cmyk-glass-ink="dark"] body.page-crm-board .crm-board-main-tabs .nav-link {
  color: #172033 !important;
  text-shadow: none;
}
/* Карточки заявок залиты белым стеклом. Светлые «чернила обоев» (#f7f9fc)
   делали название и описание невидимыми в Chrome, Edge и Яндексе
   (обращение №2, Ашихмина). Кнопки ниже остаются белыми. */
html[data-cmyk-glass-ink] body.page-crm-board .crm-map-lead-card,
html[data-cmyk-glass-ink] body.page-crm-board .crm-map-lead-card *:not(.btn):not(.ds-btn):not(.badge),
html[data-cmyk-glass-ink] body.page-crm-board .crm-deal-card,
html[data-cmyk-glass-ink] body.page-crm-board .crm-deal-card *:not(.btn):not(.ds-btn):not(.badge),
html[data-cmyk-glass-ink] body.page-crm-board .crm-site-lead-card,
html[data-cmyk-glass-ink] body.page-crm-board .crm-site-lead-card *:not(.btn):not(.ds-btn):not(.badge),
html[data-cmyk-glass-ink] body.page-crm-board .crm-partner-quote-card,
html[data-cmyk-glass-ink] body.page-crm-board .crm-partner-quote-card *:not(.btn):not(.ds-btn):not(.badge) {
  color: #172033 !important;
  -webkit-text-fill-color: #172033 !important;
}
/* Синие кнопки на карточке (напр. «Забрать к себе в воронку») — белый текст.
   Общий селектор карточки выше красит всё в тёмный и перебивает цвет кнопки. */
html[data-cmyk-glass-ink] body.page-crm-board .crm-map-lead-card .ds-btn--primary,
html[data-cmyk-glass-ink] body.page-crm-board .crm-site-lead-card .ds-btn--primary,
html[data-cmyk-glass-ink] body.page-crm-board .crm-deal-card .ds-btn--primary,
html[data-cmyk-glass-ink] body.page-crm-board .crm-partner-quote-card .ds-btn--primary {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* CRM-доска: все крупные блоки со скруглёнными углами, как карточки заявок. */
html[data-ui-style="vivid"] body.page-crm-board .crm-board-toolbar,
html[data-ui-style="vivid"] body.page-crm-board .crm-board-funnel__head,
html[data-ui-style="vivid"] body.page-crm-board .crm-board-panel,
html[data-ui-style="vivid"] body.page-crm-board .crm-partner-quote-inbox {
  border-radius: 18px !important;
}
html[data-ui-style="vivid"] body.page-crm-board .crm-col {
  border-radius: 18px !important;
  overflow: hidden !important;
}
html[data-ui-style="vivid"] body.page-crm-board .crm-col__head {
  border-radius: 18px 18px 0 0 !important;
}
html[data-ui-style="vivid"] body.page-crm-board .crm-col__body {
  border-radius: 0 0 18px 18px !important;
}

/* CRM-доска: кнопки, вкладки, поля и выпадающие меню тоже скруглены. */
html[data-ui-style="vivid"] body.page-crm-board .ds-btn,
html[data-ui-style="vivid"] body.page-crm-board .btn:not(.btn-close):not(.btn-link),
html[data-ui-style="vivid"] body.page-crm-board .crm-board-main-tabs .nav-link,
html[data-ui-style="vivid"] body.page-crm-board .modal .nav-tabs .nav-link,
html[data-ui-style="vivid"] body.page-crm-board .modal .nav-pills .nav-link {
  border-radius: 999px !important;
}
html[data-ui-style="vivid"] body.page-crm-board .form-select,
html[data-ui-style="vivid"] body.page-crm-board .form-control,
html[data-ui-style="vivid"] body.page-crm-board .input-group > .form-control,
html[data-ui-style="vivid"] body.page-crm-board .input-group > .form-select {
  border-radius: 12px !important;
}
html[data-ui-style="vivid"] body.page-crm-board .dropdown-menu,
html[data-ui-style="vivid"] body.page-crm-board .vivid-top-suggest,
html[data-ui-style="vivid"] body .cmyk-glass-panel,
html[data-ui-style="vivid"] body .navbar .dropdown-menu {
  border-radius: 16px !important;
  overflow: hidden;
}
html[data-ui-style="vivid"] body.page-crm-board .dropdown-item {
  border-radius: 10px;
  margin: 0 6px;
  width: calc(100% - 12px);
}

/* Шапка страницы (заголовок + кнопки) и вкладки: стеклянные плашки, как на доске CRM. */
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client):not(.page-home-dash):not(.page-crm-board) .cmykos-main .sales-screen > .sales-screen__head {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 12px;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-sales-head .sales-head-tabs {
  background: rgba(255, 255, 255, var(--cmyk-glass, 0.37)) !important;
  border: 0 !important;
  border-radius: 18px;
  padding: 8px 10px;
  margin-bottom: 12px;
  gap: 6px;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-sales-head .sales-head-tabs .nav-link {
  border-radius: 999px !important;
  box-shadow: none !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-sales-head .sales-head-tabs .nav-link.active {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #0a84ff !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-sales-head .tab-content > .tab-pane {
  background: transparent;
}
html[data-ui-style="vivid"] body.page-sales-head .ds-btn,
html[data-ui-style="vivid"] body.page-sales-head .btn:not(.btn-close):not(.btn-link) {
  border-radius: 999px !important;
}
html[data-ui-style="vivid"] body.page-sales-head .form-select,
html[data-ui-style="vivid"] body.page-sales-head .form-control {
  border-radius: 12px !important;
}
html[data-ui-style="vivid"] body.page-sales-head .sales-panel,
html[data-ui-style="vivid"] body.page-sales-head .sales-head-modal .modal-content {
  border-radius: 18px !important;
}
html[data-ui-style="vivid"] body.page-sales-head .dropdown-menu {
  border-radius: 16px !important;
}

/* План печати остаётся своим белым листом. Стекло яркой темы его не красит. */
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-offset-plan:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .cmykos-main {
  background: #f7f9fc !important;
  padding-top: 8px !important;
  padding-bottom: 32px !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-offset-plan:not(.page-chats):not(.page-cabinet):not(.page-calculator):not(.page-calc-client) .cmykos-main > .container-fluid {
  padding: 0 1.5rem !important;
  background: transparent !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-offset-plan:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main .stripe-card,
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-offset-plan:not(.page-chats):not(.page-calculator):not(.page-calc-client) .cmykos-main [class*="card"] {
  background: #fff !important;
  background-color: #fff !important;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04) !important;
}
html[data-ui-style="vivid"]:not([data-ds-appearance="dark"]) body.page-offset-plan .of-mach-col {
  background: #f8fafc !important;
}
