/* Раздел «Диалоги»: три колонки — список диалогов, окно переписки, карточка клиента.
   Размеры — по docs/spec/20-dialogs.md; цвета — токенами (свои — --dlg-* в конце tokens.css). */

/* ============ Раскладка ============ */
.cl-dlg { display: flex; height: 100%; min-width: 0; background: var(--white); font-size: 14px; line-height: 21px; }
.cl-dlg__list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: none;
  width: 400px;
  margin-left: 1px;
  border-right: 1px solid var(--border-primary-default);
  background: var(--white);
}
@media (max-width: 1450px) { .cl-dlg__list { width: 360px; } }
.cl-dlg__main { position: relative; display: flex; flex: 1 1 0; min-width: 0; }
.cl-dlg__chat { position: relative; display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; background: var(--white); }
.cl-dlg__card {
  position: relative;
  flex: none;
  width: var(--dlg-card-width, 420px);
  border-left: 1px solid var(--border-primary-default);
  background: var(--white);
}
@media (max-width: 1350px) { .cl-dlg__card { width: var(--dlg-card-width, 380px); } }
.cl-dlg__card-grip { position: absolute; top: 0; bottom: 0; left: -4px; z-index: 3; width: 7px; cursor: col-resize; }
.cl-dlg__card-grip:hover, .cl-dlg__card.is-resizing .cl-dlg__card-grip { background: var(--brand-alpha-10); }
.cl-dlg__card-body { height: 100%; overflow: hidden; }

/* Заглушка «Выберите чат» */
.cl-dlg__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--white);
  color: var(--grey-400);
}
.cl-dlg__empty .cl-icon { width: 65px; height: 64px; }
.cl-dlg__empty-text { font-size: 14px; font-weight: var(--font-weight-regular); line-height: 19.6px; color: var(--grey-700); text-align: center; }

/* ============ Аватар ============ */
.cl-dlg-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: var(--dlg-avatar, var(--avatar-blue));
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  line-height: 18px;
  color: var(--text-primary);
  user-select: none;
}
.cl-dlg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.cl-dlg-avatar--s { width: 32px; height: 32px; font-size: 12px; line-height: 16px; }
.cl-dlg-avatar--icon { background: var(--brand-100); color: var(--icon-brand); }

/* ============ Меню раздела ============ */
.cl-dlg-menu { position: relative; background: var(--white); }
.cl-dlg-menu__item {
  display: flex;
  align-items: center;
  width: 100%;
  background: none;
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  color: var(--text-primary);
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--duration-menu-item);
}
.cl-dlg-menu__item .cl-icon { flex: none; margin-right: 12px; color: var(--grey-500); }
.cl-dlg-menu__item:hover, .cl-dlg-menu__item:focus-visible { background: var(--brand-75); outline: none; }
.cl-dlg-menu__title {
  padding: 8px 14px 2px;
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  line-height: 16px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text-caption);
  opacity: .7;
}
/* меню «три точки» над списком */
.cl-dlg-menu--list { padding: 8px 0; border: 1px solid var(--brand-light); border-radius: var(--radius-4); box-shadow: var(--shadow-dropdown); }
.cl-dlg-menu--list .cl-dlg-menu__item { height: 40px; padding: 8px 14px; line-height: 19px; }
.cl-dlg-menu--list .cl-dlg-menu__item.is-danger .cl-icon { color: var(--red-500); }
.cl-dlg-menu--list .cl-dlg-menu__item.is-danger:hover, .cl-dlg-menu--list .cl-dlg-menu__item.is-danger:focus-visible { background: var(--red-100); }
/* меню строки диалога и шапки переписки */
.cl-dlg-menu--row { padding: 8px 0; border: 1px solid var(--dlg-menu-border); border-radius: var(--radius-6); box-shadow: var(--dlg-menu-shadow); }
.cl-dlg-menu--row::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 12px;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--dlg-menu-border);
  border-left: 1px solid var(--dlg-menu-border);
  background: var(--white);
  transform: rotate(45deg);
}
.cl-popover[data-side="top"] .cl-dlg-menu--row::before { top: auto; bottom: -6px; transform: rotate(225deg); }
.cl-dlg-menu--row .cl-dlg-menu__item { height: 32px; padding: 4px 12px; line-height: 24px; }
/* меню сообщения */
.cl-dlg-menu--message { padding: 4px 0; border: 1px solid var(--brand-light); border-radius: var(--radius-4); box-shadow: var(--shadow-dropdown); }
.cl-dlg-menu--message .cl-dlg-menu__item { padding: 5px 16px 5px 12px; line-height: 19px; }
.cl-dlg-menu--message .cl-dlg-menu__item .cl-icon { color: var(--grey-400); }

/* ============ Колонка списка: поиск ============ */
.cl-dlg-search { display: flex; align-items: center; justify-content: space-between; flex: none; height: 60px; padding: 0 12px; }
.cl-dlg-search__field { position: relative; flex: none; width: calc(100% - 90px); height: 40px; }
.cl-dlg-search__icon { position: absolute; top: 8px; left: 12px; color: var(--grey-400); pointer-events: none; }
.cl-dlg-search__input {
  width: 100%;
  height: 40px;
  padding: 8px 30px 8px 48px;
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-6);
  background: var(--grey-100);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 19px;
  color: var(--grey-500);
  text-overflow: ellipsis;
  transition: background-color var(--duration-input), border-color var(--duration-input);
}
.cl-dlg-search__input::placeholder { color: var(--grey-500); opacity: 1; }
.cl-dlg-search__input:hover { border-color: var(--grey-200); background: var(--grey-200); }
.cl-dlg-search__input:focus { border-color: var(--dlg-search-focus); outline: none; }
.cl-dlg-search__clear {
  position: absolute;
  top: 10px;
  right: 7px;
  display: flex;
  width: 20px;
  height: 20px;
  background: none;
  color: var(--grey-400);
  cursor: pointer;
}
.cl-dlg-search__clear:hover { color: var(--grey-700); }
.cl-dlg-search__more {
  display: flex;
  flex: none;
  width: 24px;
  height: 24px;
  margin-right: 3px;
  border-radius: var(--radius-4);
  background: none;
  color: var(--grey-400);
  cursor: pointer;
}
.cl-dlg-search__more:hover, .cl-dlg-search__more.is-open { color: var(--grey-700); }

/* ============ Колонка списка: вкладки ============ */
.cl-dlg-tabs { flex: none; }
.cl-dlg-filterbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 44px;
  background: none;
  color: var(--grey-400);
  cursor: pointer;
  transition: color var(--duration-tab);
}
.cl-dlg-filterbtn:hover { color: var(--grey-500); }
.cl-dlg-filterbtn.is-active { color: var(--icon-brand); }
.cl-dlg-list__bulk { flex: none; }

/* ============ Колонка списка: строки ============ */
.cl-dlg-list__scroll { position: relative; flex: 1 1 0; min-height: 0; overflow-x: hidden; overflow-y: auto; }
.cl-dlg-list__scroll::-webkit-scrollbar-track { margin: 0; }
.cl-dlg-list__more { display: flex; align-items: center; justify-content: center; height: 56px; color: var(--grey-400); }
.cl-dlg-list__empty { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 80px 24px 24px; color: var(--grey-300); }
.cl-dlg-list__empty .cl-icon { width: 72px; height: 76px; }
.cl-dlg-list__empty-text { font-size: 14px; line-height: 19.6px; color: var(--grey-500); text-align: center; }

.cl-dlg-row {
  position: relative;
  display: flex;
  min-height: 76px;
  padding: 12px;
  border-bottom: 1px solid var(--border-primary-default);
  background: var(--white);
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  /* щелчок со сдвигом мыши не должен оставлять в строке выделенный текст */
  user-select: none;
  transition: background-color var(--duration-row);
}
.cl-dlg-row:hover, .cl-dlg-row.is-menu { background: var(--grey-100); }
.cl-dlg-row:focus-visible { outline: 2px solid var(--border-brand); outline-offset: -2px; }
.cl-dlg-row__ava { position: relative; flex: none; width: 40px; height: 40px; margin-right: 12px; }
.cl-dlg-row__badge {
  position: absolute;
  top: -5px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 5px;
  border-radius: 50px;
  background: var(--red-500);
  box-shadow: 0 0 0 2px var(--white);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  line-height: 16px;
  color: var(--white);
  white-space: nowrap;
}
.cl-dlg-row__head > .cl-dlg-row__badge { position: static; flex: none; margin-right: 8px; }
.cl-dlg-row__main { display: flex; flex-direction: column; flex: 1 1 0; min-width: 0; }
.cl-dlg-row__head { display: flex; align-items: flex-start; min-height: 20px; margin-bottom: 4px; }
.cl-dlg-row__name { flex: 1 1 0; min-width: 0; overflow: hidden; font-size: 14px; font-weight: var(--font-weight-regular); line-height: 20px; text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-row__side { display: flex; align-items: center; justify-content: flex-end; flex: none; gap: 4px; min-width: 60px; height: 20px; margin-left: 8px; }
.cl-dlg-row__time { font-size: 14px; font-weight: var(--font-weight-regular); line-height: 18px; color: var(--text-caption); white-space: nowrap; }
.cl-dlg-row__state { display: flex; flex: none; width: 12px; height: 12px; color: var(--grey-500); }
.cl-dlg-row__state.is-danger { color: var(--red-500); }
.cl-dlg-row__more { display: none; flex: none; width: 24px; height: 24px; margin: -2px 0; border-radius: var(--radius-4); background: none; color: var(--grey-400); cursor: pointer; }
.cl-dlg-row__more:hover, .cl-dlg-row__more.is-open { color: var(--grey-700); }
/* наведение: время скрывается, на его месте — «три точки» */
.cl-dlg-row:hover .cl-dlg-row__more, .cl-dlg-row.is-menu .cl-dlg-row__more { display: flex; }
.cl-dlg-row:hover .cl-dlg-row__time, .cl-dlg-row.is-menu .cl-dlg-row__time,
.cl-dlg-row:hover .cl-dlg-row__state, .cl-dlg-row.is-menu .cl-dlg-row__state { display: none; }
.cl-dlg-row__text {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 18px;
  color: var(--grey-500);
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  margin-bottom: 2px;
}
.cl-dlg-row.has-corner .cl-dlg-row__text { padding-right: 26px; }
.cl-dlg-row.has-pin .cl-dlg-row__text { padding-right: 54px; }
.cl-dlg-row__out { display: inline-block; width: 16px; height: 16px; margin: 0 4px -3px 0; color: var(--grey-400); }
.cl-dlg-row__labels { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; padding-right: 26px; }
.cl-dlg-row__label {
  max-width: 140px;
  overflow: hidden;
  padding: 1px 6px;
  border-radius: var(--radius-4);
  background: var(--dlg-label, var(--tag-color-0));
  font-size: 12px;
  line-height: 16px;
  color: var(--text-primary);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cl-dlg-row__corner { position: absolute; right: 12px; bottom: 13px; display: flex; align-items: center; gap: 12px; }
.cl-dlg-row__pin { display: flex; width: 16px; height: 16px; color: var(--grey-500); }
.cl-dlg-row__messenger { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: var(--radius-4); color: var(--white); }
.cl-dlg-row__messenger.is-tg { background: var(--messenger-telegram); }
.cl-dlg-row__messenger.is-vk { background: var(--messenger-vk); }
/* выбранная строка */
.cl-dlg-row.is-selected, .cl-dlg-row.is-selected:hover { background: var(--brand-400); color: var(--white); }
.cl-dlg-row.is-selected .cl-dlg-row__name, .cl-dlg-row.is-selected .cl-dlg-row__text, .cl-dlg-row.is-selected .cl-dlg-row__out,
.cl-dlg-row.is-selected .cl-dlg-row__pin, .cl-dlg-row.is-selected .cl-dlg-row__more, .cl-dlg-row.is-selected .cl-dlg-row__state { color: var(--white); }
.cl-dlg-row.is-selected .cl-dlg-row__time { color: var(--dlg-row-selected-time); }
.cl-dlg-row.is-selected .cl-dlg-row__badge { box-shadow: 0 0 0 2px var(--brand-400); }
/* режим выделения: флажок на месте времени */
.cl-dlg-row__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-primary-default);
  border-radius: var(--radius-5);
  background: var(--white);
  color: var(--white);
  cursor: pointer;
}
.cl-dlg-row__check.is-checked { border-color: var(--brand-500); background: var(--brand-500); }
.cl-dlg-row__check:focus-visible { outline: 2px solid var(--border-brand); outline-offset: 1px; }
/* образец строки в окне «Настройка превью клиента» */
.cl-dlg-sample { margin-top: 4px; }
.cl-dlg-row.is-sample { border: 0; border-radius: var(--radius-6); background: var(--grey-100); cursor: default; }
.cl-dlg-options { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cl-dlg-resend__found { font-size: 14px; line-height: 20px; color: var(--text-caption); }

/* заглушка загрузки колонки */
.cl-dlg-list__skeleton { position: absolute; inset: 0; z-index: 2; overflow: hidden; background: var(--white); }
.cl-dlg-skel__search { display: flex; align-items: center; height: 60px; padding: 0 12px; }
.cl-dlg-skel__search .cl-skeleton { width: 100%; }
.cl-dlg-skel__tabs { display: flex; align-items: center; gap: 12px; height: 45px; padding: 0 12px; border-bottom: 1px solid var(--border-primary-default); }
.cl-dlg-skel__row { display: flex; align-items: center; gap: 12px; height: 76px; padding: 12px; border-bottom: 1px solid var(--border-primary-default); }
.cl-dlg-skel__lines { display: flex; flex-direction: column; flex: 1 1 0; gap: 12px; }

/* ============ Окно переписки: шапка ============ */
.cl-dlg-head { flex: none; height: 49px; border-bottom: 1px solid var(--border-primary-default); background: var(--white); }
.cl-dlg-head__main, .cl-dlg-head__search { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 48px; padding: 8px 16px; }
.cl-dlg-head__title { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.cl-dlg-head__name { overflow: hidden; font-size: 16px; font-weight: var(--font-weight-semibold); line-height: 21px; color: var(--text-primary); text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.cl-dlg-head__sub { display: none; overflow: hidden; font-size: 14px; font-weight: var(--font-weight-semibold); line-height: 18px; color: var(--text-caption); text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 1601px) {
  .cl-dlg-head__sub { display: block; }
  .cl-dlg-head__name { line-height: 18px; }
  .cl-dlg-head__main { padding: 5px 16px; }
}
.cl-dlg-head__actions { display: flex; align-items: center; flex: none; gap: 16px; }
.cl-dlg-head__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-8);
  background: none;
  color: var(--grey-400);
  cursor: pointer;
  transition: background-color var(--duration-button), color var(--duration-button);
}
.cl-dlg-head__btn:hover, .cl-dlg-head__btn.is-open { background: var(--grey-100); }
.cl-dlg-head__btn:focus-visible { outline: 2px solid var(--border-brand); outline-offset: 1px; }
.cl-dlg-head__btn.is-pause { color: var(--dlg-pause); }
.cl-dlg-head__btn.is-pause.is-paused { color: var(--dlg-play); }
.cl-dlg-head__btn.is-card { color: var(--icon-brand); }
.cl-dlg-head__btn.is-card.is-off { color: var(--grey-400); }
.cl-dlg-head__search { gap: 12px; color: var(--grey-400); }
.cl-dlg-head__search-input { flex: 1 1 0; min-width: 0; height: 32px; border: 0; background: none; font-size: 14px; line-height: 19px; color: var(--text-primary); }
.cl-dlg-head__search-input:focus { outline: none; }
.cl-dlg-head__search-input::placeholder { color: var(--grey-500); }

/* закреплённое сообщение */
.cl-dlg-pinned { position: relative; z-index: 1; display: flex; align-items: center; flex: none; gap: 8px; padding: 9px 16px; border-bottom: 1px solid var(--border-primary-default); background: var(--white); }
.cl-dlg-pinned::after { content: ""; position: absolute; top: 100%; right: 0; left: 0; height: 10px; margin-top: 1px; background: linear-gradient(var(--dlg-pinned-shade), transparent); pointer-events: none; }
.cl-dlg-pinned__body { display: flex; align-items: center; flex: 1 1 0; gap: 8px; min-width: 0; background: none; color: var(--grey-500); text-align: left; cursor: pointer; }
.cl-dlg-pinned__text { flex: 1 1 0; min-width: 0; overflow: hidden; font-size: 14px; line-height: 20px; color: var(--text-primary); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-pinned__time { flex: none; font-size: 13px; line-height: 18px; color: var(--text-caption); }
.cl-dlg-pinned__close { display: flex; flex: none; width: 20px; height: 20px; background: none; color: var(--grey-400); cursor: pointer; }
.cl-dlg-pinned__close:hover { color: var(--grey-700); }

/* ============ Лента сообщений ============ */
.cl-dlg-feed { position: relative; flex: 1 1 0; min-height: 0; background: var(--white); }
.cl-dlg-feed__scroll { height: 100%; padding: 16px 20px 20px; overflow-x: hidden; overflow-y: auto; }
.cl-dlg-feed__top { display: flex; justify-content: center; padding: 4px 0; color: var(--grey-400); }
.cl-dlg-feed__list { display: flex; flex-direction: column; align-items: flex-start; }
.cl-dlg-day { align-self: center; margin: 16px 0 12px; }
.cl-dlg-day > span { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--grey-100); font-size: 14px; font-weight: var(--font-weight-medium); line-height: 16px; color: var(--grey-500); }
.cl-dlg-day:first-child { margin-top: 0; }
.cl-dlg-feed__date {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  height: 26px;
  padding: 3px 12px;
  border: 1px solid var(--border-tertiary-default);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--dlg-date-shadow);
  font-size: 14px;
  font-weight: var(--font-weight-semibold);
  line-height: 18px;
  color: var(--grey-500);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity .2s;
}
.cl-dlg-feed__date.is-shown { opacity: 1; }
.cl-dlg-feed__blank { position: absolute; top: 50%; right: 0; left: 0; padding: 32px 16px; text-align: center; transform: translateY(-50%); pointer-events: none; }
.cl-dlg-feed__blank-title { font-size: 16px; font-weight: var(--font-weight-semibold); line-height: 24px; color: var(--text-primary); }
.cl-dlg-feed__blank-text { font-size: 14px; line-height: 20px; color: var(--text-caption); }
.cl-dlg-feed__loading { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; padding: 16px 20px 20px; background: var(--white); }
.cl-dlg-feed__skel { display: flex; align-items: flex-end; gap: 12px; }
.cl-dlg-feed__skel .cl-skeleton--rect { border-radius: 16px 16px 16px 6px; }
.cl-dlg-feed__down {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grey-400);
  color: var(--white);
  cursor: pointer;
  transition: background-color var(--duration-button);
}
.cl-dlg-feed__down:hover { background: var(--grey-500); }
.cl-dlg-feed__down-count {
  position: absolute;
  top: -12px;
  left: 50%;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--brand-500);
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  line-height: 20px;
  color: var(--white);
  text-align: center;
  transform: translateX(-50%);
}

/* сообщение */
.cl-dlg-msg { position: relative; display: flex; flex-direction: column; align-items: flex-start; max-width: 100%; margin-top: 16px; }
.cl-dlg-msg:first-child, .cl-dlg-day + .cl-dlg-msg { margin-top: 0; }
.cl-dlg-msg__line { display: flex; align-items: flex-end; max-width: 100%; }
.cl-dlg-msg__line > .cl-dlg-avatar { margin-right: 12px; }
.cl-dlg-bubble {
  position: relative;
  flex: 0 1 auto;
  min-width: 96px;
  max-width: 500px;
  padding: 8px 12px;
  border-radius: 16px 16px 16px 6px;
  background: var(--grey-100);
  box-shadow: var(--dlg-bubble-shadow);
}
.cl-dlg-msg.is-out .cl-dlg-bubble { background: var(--brand-90); }
.cl-dlg-msg.is-notice .cl-dlg-bubble, .cl-dlg-msg.is-note .cl-dlg-bubble { background: var(--orange-200); }
.cl-dlg-msg.is-highlight .cl-dlg-bubble { box-shadow: 0 0 0 2px var(--dlg-highlight); }
.cl-dlg-msg.is-found { cursor: pointer; }
.cl-dlg-msg.is-found:hover .cl-dlg-bubble, .cl-dlg-msg.is-found:focus-visible .cl-dlg-bubble { box-shadow: 0 0 0 2px var(--dlg-highlight); }
.cl-dlg-msg.is-found:focus-visible { outline: none; }
.cl-dlg-bubble__head { display: flex; align-items: center; gap: 4px; margin-bottom: 3px; font-size: 14px; line-height: 16px; }
.cl-dlg-bubble__name { overflow: hidden; font-weight: var(--font-weight-medium); color: var(--text-primary); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-msg.is-client .cl-dlg-bubble__name { color: var(--text-brand); }
.cl-dlg-bubble__nick, .cl-dlg-bubble__label { flex: none; color: var(--text-caption); white-space: nowrap; }
.cl-dlg-bubble__wait, .cl-dlg-bubble__pin { display: flex; flex: none; color: var(--grey-500); }
.cl-dlg-bubble__text { font-size: 14px; font-weight: var(--font-weight-regular); line-height: 19.6px; color: var(--text-primary); white-space: pre-wrap; overflow-wrap: anywhere; }
.cl-dlg-bubble__error { margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--text-danger); overflow-wrap: anywhere; }
.cl-dlg-bubble__foot { display: flex; align-items: center; justify-content: flex-end; gap: 2px; margin-top: 2px; }
.cl-dlg-bubble__time { font-size: 14px; font-weight: var(--font-weight-regular); line-height: 14px; color: var(--text-primary); }
.cl-dlg-bubble__status { display: flex; width: 18px; height: 18px; color: var(--grey-500); }
.cl-dlg-bubble__status.is-read { color: var(--icon-brand); }
.cl-dlg-bubble__status.is-error { color: var(--red-500); }
.cl-dlg-quote {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  margin-bottom: 4px;
  padding: 4px 8px;
  border-left: 3px solid var(--brand-500);
  border-radius: var(--radius-6);
  background: var(--brand-alpha-06);
  font-size: 14px;
  line-height: 16px;
  color: var(--grey-500);
  text-align: left;
  cursor: pointer;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.cl-dlg-link { color: var(--link-brand-text-default); text-decoration: underline; overflow-wrap: anywhere; }
.cl-dlg-link:hover { color: var(--link-brand-text-hover); }
.cl-dlg-mark { border-radius: 2px; background: var(--orange-300); color: inherit; }

/* вложения */
.cl-dlg-bubble__media { display: flex; flex-direction: column; gap: 4px; margin: -8px -12px 8px; }
.cl-dlg-att--image { display: block; overflow: hidden; max-width: 500px; padding: 0; border-radius: 15px 15px 8px 8px; background: var(--grey-200); cursor: zoom-in; }
.cl-dlg-att--image img { display: block; max-width: 100%; max-height: 500px; min-width: 96px; min-height: 48px; object-fit: cover; }
.cl-dlg-att--video { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; width: 426px; max-width: 100%; height: 240px; border-radius: 15px 15px 8px 8px; background: var(--dlg-video); }
.cl-dlg-att--video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cl-dlg-att__play { position: relative; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-500); color: var(--white); cursor: pointer; }
.cl-dlg-att__play:hover { background: var(--brand-480); }
.cl-dlg-att__duration { position: absolute; top: 8px; right: 8px; z-index: 1; padding: 1px 6px; border-radius: var(--radius-4); background: var(--dlg-duration-plate); font-size: 14px; font-weight: var(--font-weight-medium); line-height: 18px; color: var(--white); }
.cl-dlg-bubble__files { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.cl-dlg-att--file { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cl-dlg-att__tile { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--brand-200); border-radius: var(--radius-6); background: var(--grey-100); color: var(--grey-500); }
.cl-dlg-msg:not(.is-out) .cl-dlg-att__tile { background: var(--white); }
.cl-dlg-att__name { max-width: 170px; overflow: hidden; font-size: 14px; font-weight: var(--font-weight-semibold); line-height: 18px; color: var(--link-brand-text-default); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-att--file:hover .cl-dlg-att__name { color: var(--link-brand-text-hover); }
.cl-dlg-att__body { display: flex; flex-direction: column; min-width: 0; }
.cl-dlg-att__size { font-size: 13px; line-height: 18px; color: var(--text-caption); }
/* Пока картинка грузится (файл клиента сервер забирает у мессенджера), на её месте серая плашка, а не пустота */
.cl-dlg-att--image.is-loading { min-width: 160px; min-height: 120px; }
.cl-dlg-att--audio { display: flex; flex-direction: column; gap: 4px; }
.cl-dlg-att--audio audio { width: 280px; max-width: 100%; height: 36px; }
.cl-dlg-att__caption { font-size: 13px; line-height: 18px; color: var(--text-caption); overflow-wrap: anywhere; }
/* только картинка или видео: шапки нет, время — поверх вложения */
.cl-dlg-bubble.is-media-only { padding: 0; background: none; box-shadow: none; }
.cl-dlg-bubble.is-media-only .cl-dlg-bubble__media { margin: 0; }
.cl-dlg-bubble.is-media-only .cl-dlg-bubble__head { display: none; }
.cl-dlg-bubble.is-media-only .cl-dlg-bubble__foot { position: absolute; right: 8px; bottom: 8px; margin: 0; padding: 2px 8px; border-radius: 999px; background: var(--dlg-time-plate); }
.cl-dlg-bubble.is-media-only .cl-dlg-bubble__time, .cl-dlg-bubble.is-media-only .cl-dlg-bubble__status { color: var(--white); }

/* кнопки бота под сообщением */
.cl-dlg-msg__buttons { display: flex; flex-direction: column; align-self: stretch; gap: 6px; min-width: 240px; max-width: 500px; margin: 6px 0 0 44px; }
.cl-dlg-msg__buttons-row { display: flex; gap: 6px; }
.cl-dlg-botbtn {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  padding: 7px 14px;
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-10);
  background: var(--white);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 18px;
  color: var(--text-brand);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* кнопка меню сообщения */
.cl-dlg-msg__more { display: flex; align-items: center; align-self: center; justify-content: center; flex: none; width: 28px; height: 28px; margin-left: 10px; border-radius: var(--radius-6); background: none; color: var(--grey-400); cursor: pointer; visibility: hidden; }
.cl-dlg-msg:hover .cl-dlg-msg__more, .cl-dlg-msg.is-menu .cl-dlg-msg__more, .cl-dlg-msg__more:focus-visible { visibility: visible; }
.cl-dlg-msg__more:hover, .cl-dlg-msg__more.is-open { background: var(--grey-100); color: var(--grey-700); }

/* системное событие */
.cl-dlg-event { align-self: center; max-width: 100%; padding: 12px 24px; font-size: 14px; line-height: 16px; color: var(--text-caption); text-align: center; overflow-wrap: anywhere; }
.cl-dlg-event__who { font-weight: var(--font-weight-medium); color: var(--grey-700); }
.cl-dlg-event__time { white-space: nowrap; opacity: .8; }

/* просмотр картинки */
.cl-dlg-viewer { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; align-items: center; justify-content: center; padding: 48px; background: var(--dlg-viewer); }
.cl-dlg-viewer img { max-width: 100%; max-height: 100%; border-radius: var(--radius-6); object-fit: contain; }
.cl-dlg-viewer__close { position: absolute; top: 16px; right: 16px; display: flex; width: 32px; height: 32px; background: none; color: var(--white); cursor: pointer; }

/* ============ Поле ввода ============ */
.cl-dlg-composer { position: relative; flex: none; border-top: 1px solid var(--border-primary-default); background: var(--white); --dlg-composer-area: 120px; }
.cl-dlg-composer__grip { position: absolute; top: -6px; right: 0; left: 0; z-index: 2; height: 12px; cursor: row-resize; }
.cl-dlg-composer .cl-msged--dialog { height: auto; background: transparent; }
.cl-dlg-composer .cl-msged__area { flex: none; height: var(--dlg-composer-area); min-height: 88px; }
.cl-dlg-composer.is-note { background: var(--orange-200); }
.cl-dlg-composer.is-drop { box-shadow: inset 0 0 0 2px var(--border-brand); }
.cl-dlg-composer.is-readonly .cl-msged__emoji, .cl-dlg-composer.is-readonly .cl-msged__tools, .cl-dlg-composer.is-readonly .cl-msged__trailing { display: none; }
.cl-dlg-composer.is-readonly .cl-msged__text { cursor: default; }
.cl-dlg-composer__strips { display: flex; flex-direction: column; flex: none; gap: 6px; padding: 0 16px; }
.cl-dlg-strip { display: flex; align-items: center; gap: 8px; min-height: 28px; padding: 4px 8px; border-radius: var(--radius-6); background: var(--brand-90); font-size: 13px; line-height: 18px; color: var(--text-secondary); }
.cl-dlg-strip > .cl-icon { flex: none; color: var(--icon-brand); }
.cl-dlg-strip__text { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-strip__close { display: flex; flex: none; background: none; color: var(--grey-400); cursor: pointer; }
.cl-dlg-strip__close:hover { color: var(--grey-700); }
.cl-dlg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cl-dlg-chip { position: relative; display: flex; align-items: center; gap: 8px; max-width: 260px; padding-right: 8px; }
.cl-dlg-chip__thumb { display: block; overflow: hidden; width: 60px; height: 60px; border-radius: var(--radius-6); background: var(--grey-100); }
.cl-dlg-chip__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cl-dlg-chip__tile { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--brand-200); border-radius: var(--radius-6); background: var(--grey-100); color: var(--grey-500); }
.cl-dlg-chip__name { min-width: 0; overflow: hidden; font-size: 14px; font-weight: var(--font-weight-semibold); line-height: 18px; color: var(--text-primary); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-chip__remove { display: flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--grey-200); color: var(--grey-700); cursor: pointer; }
.cl-dlg-chip__remove:hover { background: var(--grey-300); }
.cl-dlg-chip.is-image { padding-right: 0; }
.cl-dlg-chip.is-image .cl-dlg-chip__remove { position: absolute; top: -6px; right: -6px; }
.cl-dlg-composer__unblock { height: 24px; background: none; font-size: 14px; font-weight: var(--font-weight-medium); line-height: 20px; color: var(--link-brand-text-default); cursor: pointer; }
.cl-dlg-composer__unblock:hover { color: var(--link-brand-text-hover); }
.cl-dlg-composer__timer { display: flex; align-items: center; justify-content: center; flex: none; width: 35px; height: 35px; border-radius: 50%; background: none; color: var(--grey-400); cursor: pointer; transition: background-color var(--duration-button), color var(--duration-button); }
.cl-dlg-composer__timer:hover, .cl-dlg-composer__timer.is-set { background: var(--grey-100); color: var(--icon-brand); }
.cl-dlg-composer__send { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-500); color: var(--white); cursor: pointer; transition: background-color var(--duration-button); }
.cl-dlg-composer__send:hover { background: var(--brand-480); }
.cl-dlg-composer__send.is-loading { opacity: .6; pointer-events: none; }
.cl-dlg-composer__send .cl-icon { margin: 1px 2px 0 0; }
.cl-dlg-composer__timer:focus-visible, .cl-dlg-composer__send:focus-visible { outline: 2px solid var(--border-brand); outline-offset: 2px; }

/* отправка в определённое время */
.cl-dlg-timer { display: flex; flex-direction: column; gap: 12px; width: 300px; padding: 16px; border: 1px solid var(--brand-light); border-radius: var(--radius-6); background: var(--white); box-shadow: var(--shadow-dropdown); }
.cl-dlg-timer__fields { display: flex; flex-direction: column; gap: 12px; }
.cl-dlg-timer__actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }

/* ============ Окно «Прикрепление файла» ============ */
.cl-modal.cl-dlg-attach { max-width: 680px; }
.cl-dlg-attach .cl-modal__body { gap: 12px; padding: 16px 20px 20px; }
.cl-dlg-attach__head-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.cl-dlg-attach__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-radius: var(--radius-6); background: var(--grey-100); }
.cl-dlg-attach__tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 60px; border-radius: var(--radius-6); background: none; font-size: 14px; line-height: 18px; color: var(--grey-500); cursor: pointer; transition: background-color var(--duration-tab), color var(--duration-tab); }
.cl-dlg-attach__tab:hover { color: var(--text-primary); }
.cl-dlg-attach__tab.is-active { background: var(--brand-100); color: var(--text-brand); }
.cl-dlg-attach__drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 96px; padding: 16px; border-radius: var(--radius-6); background: var(--grey-200); color: var(--grey-500); cursor: pointer; transition: background-color var(--duration-button); }
.cl-dlg-attach__drop:hover, .cl-dlg-attach__drop.is-over { background: var(--grey-300); }
.cl-dlg-attach__drop-text { font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.cl-dlg-attach__url { display: flex; align-items: flex-start; gap: 12px; }
.cl-dlg-attach__url .cl-field { flex: 1 1 0; min-width: 0; }
.cl-dlg-attach__bulk { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; color: var(--text-caption); }
.cl-dlg-attach__list { display: flex; flex-direction: column; max-height: 300px; margin: 0 -10px; overflow-y: auto; }
.cl-dlg-attach__row { display: flex; align-items: center; flex: none; gap: 12px; height: 74px; padding: 0 10px; border-radius: var(--radius-6); cursor: pointer; transition: background-color var(--duration-row); }
.cl-dlg-attach__row:hover, .cl-dlg-attach__row:focus-visible { background: var(--grey-100); outline: none; }
.cl-dlg-attach__thumb { display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; width: 54px; height: 54px; border-radius: var(--radius-6); background: var(--grey-100); color: var(--grey-500); }
.cl-dlg-attach__row:hover .cl-dlg-attach__thumb { background: var(--white); }
.cl-dlg-attach__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cl-dlg-attach__info { flex: 1 1 0; min-width: 0; }
.cl-dlg-attach__name { overflow: hidden; font-size: 14px; font-weight: var(--font-weight-medium); line-height: 20px; color: var(--text-primary); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-attach__meta { font-size: 13px; line-height: 18px; color: var(--text-caption); }
.cl-dlg-attach__none { padding: 20px 10px; font-size: 14px; line-height: 20px; color: var(--text-caption); text-align: center; }

/* ============ Панель быстрых ответов ============ */
.cl-dlg-quick { position: absolute; right: 0; bottom: 0; left: 0; z-index: 5; display: flex; flex-direction: column; height: 360px; border-top: 1px solid var(--dlg-quick-line); background: var(--white); box-shadow: var(--dlg-quick-shadow); }
.cl-dlg-quick__grip { position: absolute; top: -6px; right: 0; left: 0; height: 12px; cursor: row-resize; }
.cl-dlg-quick__body { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; }
.cl-dlg-quick__head { display: flex; align-items: center; justify-content: space-between; flex: none; gap: 12px; padding: 16px 15px 0 24px; }
.cl-dlg-quick__title { font-size: 16px; font-weight: var(--font-weight-semibold); line-height: 20px; color: var(--text-primary); }
.cl-dlg-quick__close { display: flex; flex: none; width: 24px; height: 24px; background: none; color: var(--grey-400); cursor: pointer; }
.cl-dlg-quick__close:hover { color: var(--grey-700); }
.cl-dlg-quick__back { display: flex; align-items: center; gap: 6px; background: none; font-size: 16px; font-weight: var(--font-weight-semibold); line-height: 20px; color: var(--grey-500); cursor: pointer; }
.cl-dlg-quick__back:hover { color: var(--text-primary); }
.cl-dlg-quick__section { flex: none; padding: 12px 24px 0; overflow: hidden; font-size: 16px; font-weight: var(--font-weight-semibold); line-height: 20px; color: var(--text-primary); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-quick__sub { display: flex; align-items: center; flex: none; gap: 8px; padding: 12px 24px 8px; font-size: 16px; font-weight: var(--font-weight-semibold); line-height: 20px; color: var(--grey-500); }
.cl-dlg-quick__lens { display: flex; background: none; color: var(--grey-400); cursor: pointer; }
.cl-dlg-quick__lens:hover { color: var(--grey-700); }
.cl-dlg-quick__search { flex: none; height: 40px; margin: 0 24px 8px; padding: 8px 12px; border: 1px solid var(--border-secondary-default); border-radius: var(--radius-6); background: var(--white); font-size: 14px; line-height: 20px; color: var(--text-primary); }
.cl-dlg-quick__search:focus { border-color: var(--border-brand); outline: none; }
.cl-dlg-quick__list { flex: 1 1 0; min-height: 0; padding: 0 12px; overflow-y: auto; }
.cl-dlg-quick__row { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; border-radius: var(--radius-6); color: var(--grey-500); cursor: pointer; transition: background-color var(--duration-row); }
.cl-dlg-quick__row:hover, .cl-dlg-quick__row:focus-visible { background: var(--grey-100); outline: none; }
.cl-dlg-quick__row.is-over { box-shadow: inset 0 2px 0 var(--brand-500); }
.cl-dlg-quick__row.is-drag { opacity: .5; }
.cl-dlg-quick__name { flex: 1 1 0; min-width: 0; overflow: hidden; font-size: 14px; line-height: 20px; color: var(--text-primary); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-quick__text { flex: 1 1 0; min-width: 0; font-size: 14px; line-height: 20px; color: var(--text-primary); white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; }
.cl-dlg-quick__count { flex: none; padding: 0 6px; border-radius: var(--radius-pill); background: var(--grey-100); font-size: 12px; font-weight: var(--font-weight-medium); line-height: 20px; color: var(--grey-500); }
.cl-dlg-quick__row:hover .cl-dlg-quick__count { background: var(--white); }
.cl-dlg-quick__act { display: flex; flex: none; padding: 3px; border-radius: var(--radius-4); background: none; color: var(--grey-400); cursor: pointer; visibility: hidden; }
.cl-dlg-quick__row:hover .cl-dlg-quick__act, .cl-dlg-quick__act:focus-visible { visibility: visible; }
.cl-dlg-quick__act:hover { background: var(--white); color: var(--grey-700); }
.cl-dlg-quick__none { display: flex; justify-content: center; padding: 24px 12px; font-size: 14px; line-height: 20px; color: var(--text-caption); text-align: center; }
.cl-dlg-quick__add { align-self: flex-start; flex: none; margin: 8px 24px 14px; background: none; font-size: 14px; font-weight: var(--font-weight-medium); line-height: 20px; color: var(--link-brand-text-default); cursor: pointer; }
.cl-dlg-quick__add:hover { color: var(--link-brand-text-hover); }

/* ============ Карточка клиента ============ */
.cl-dlg-card { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; background: var(--white); }
.cl-dlg-card__head { display: flex; flex-direction: column; flex: none; gap: 10px; padding: 12px 16px 0; border-bottom: 1px solid var(--border-primary-default); }
.cl-dlg-card__who { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.cl-dlg-card__ava { display: flex; flex: none; }
.cl-dlg-card__title { display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 0; gap: 4px; min-width: 0; }
.cl-dlg-card__name { max-width: 100%; overflow: hidden; font-size: 16px; font-weight: var(--font-weight-semibold); line-height: 20px; color: var(--text-primary); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-card__name-input {
  width: 100%;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: 0 1px 0 var(--border-brand);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  line-height: 20px;
  color: var(--text-primary);
}
.cl-dlg-card__name-input:focus { outline: none; }
.cl-dlg-card__sub { display: flex; align-items: center; gap: 8px; min-height: 18px; }
.cl-dlg-card__id {
  padding: 1px 6px;
  border-radius: var(--radius-4);
  background: var(--grey-100);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  line-height: 16px;
  color: var(--grey-500);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color var(--duration-row);
}
.cl-dlg-card__id:hover { background: var(--grey-200); }
.cl-dlg-card__hbtns { display: flex; flex: none; margin: -4px -6px 0 0; }
.cl-dlg-card__hbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-6);
  background: none;
  color: var(--grey-500);
  cursor: pointer;
  transition: background-color var(--duration-button);
}
.cl-dlg-card__hbtn:hover { background: var(--grey-100); }
.cl-dlg-card__hbtn:focus-visible, .cl-dlg-card__id:focus-visible { outline: 2px solid var(--border-brand); outline-offset: 1px; }
/* вкладки карточки: 38 px, обычный вес, между вкладками 12 */
.cl-dlg-card__tabs.cl-tabs--underline { gap: 12px; height: 38px; padding: 0; border-bottom: 0; background: none; }
.cl-dlg-card__tabs.cl-tabs--underline .cl-tab { height: 38px; margin-left: 0; font-weight: var(--font-weight-regular); line-height: 20px; color: var(--grey-700); }
.cl-dlg-card__tabs.cl-tabs--underline .cl-tab.is-active { color: var(--tab-items-text-active); }
.cl-dlg-card__pane { flex: 1 1 0; min-height: 0; overflow-x: hidden; overflow-y: auto; }
.cl-dlg-card__pane[hidden] { display: none; }
/* у «О клиенте» место под полосу прокрутки занято всегда: рабочая ширина 376 px при колонке 420, как в образце */
.cl-dlg-card__pane[data-pane="about"] { overflow-y: scroll; }
.cl-dlg-card__note { display: flex; justify-content: center; padding: 32px 16px; font-size: 14px; line-height: 20px; color: var(--text-caption); text-align: center; }
/* заглушка на время загрузки диалога */
.cl-dlg-card__loading { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; gap: 24px; padding: 12px 16px; background: var(--white); }
.cl-dlg-card__loading[hidden] { display: none; }
.cl-dlg-card__skel-lines { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.cl-dlg-card__skel-block { display: flex; flex-direction: column; gap: 12px; }

/* разделы вкладки «О клиенте» */
.cl-dlg-sec { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 14px; border-bottom: 1px solid var(--border-primary-default); }
.cl-dlg-sec__title { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; line-height: 16px; text-transform: uppercase; color: var(--grey-700); }
.cl-dlg-pair { display: flex; align-items: flex-start; gap: 10px; min-height: 24px; }
.cl-dlg-pair__label { flex: none; width: 96px; padding: 3px 0; font-size: 13px; font-weight: var(--font-weight-regular); line-height: 18px; color: var(--text-caption); }
.cl-dlg-pair__value { flex: 1 1 0; min-width: 0; font-size: 13px; line-height: 18px; color: var(--text-primary); }

/* контакты: поле без рамки, карандаш при наведении */
.cl-dlg-contact { position: relative; display: flex; align-items: center; height: 24px; }
.cl-dlg-contact__input { flex: 1 1 0; min-width: 0; height: 24px; padding: 0 28px 0 0; border: 0; background: none; font-size: 13px; line-height: 18px; color: var(--text-primary); text-overflow: ellipsis; }
.cl-dlg-contact__input::placeholder { color: var(--text-placeholder); opacity: 1; }
.cl-dlg-contact__input:focus { outline: none; box-shadow: 0 1px 0 var(--border-brand); }
.cl-dlg-contact__edit { position: absolute; top: 0; right: 0; display: none; width: 24px; height: 24px; background: none; color: var(--grey-400); cursor: pointer; }
.cl-dlg-contact:hover .cl-dlg-contact__edit { display: flex; }
.cl-dlg-contact__edit:hover { color: var(--grey-700); }

/* группировка: чипы меток и списков, пунктирная кнопка */
.cl-dlg-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.cl-dlg-group__chips { display: contents; }
.cl-dlg-addbtn {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 4px;
  height: 24px;
  padding: 3px 9px 3px 7px;
  border: 1px dashed var(--border-secondary-default);
  border-radius: var(--radius-4);
  background: none;
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 16px;
  color: var(--grey-700);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--duration-button), border-color var(--duration-button);
}
.cl-dlg-addbtn:hover, .cl-dlg-addbtn.is-open { border-color: var(--grey-400); background: var(--grey-50); }
.cl-dlg-addbtn:focus-visible { outline: 2px solid var(--border-brand); outline-offset: 1px; }

/* всплывающая панель выбора списков и меток */
.cl-dlg-pick { display: flex; flex-direction: column; max-height: 360px; overflow: hidden; border: 1px solid var(--brand-light); border-radius: var(--radius-6); background: var(--white); box-shadow: var(--shadow-dropdown); }
.cl-dlg-pick__top { flex: none; padding: 8px 8px 4px; }
.cl-dlg-pick__search, .cl-dlg-pick__name {
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--border-secondary-default);
  border-radius: var(--radius-6);
  background: var(--white);
  font-size: 14px;
  line-height: 20px;
  color: var(--text-primary);
  transition: border-color var(--duration-input);
}
.cl-dlg-pick__search::placeholder, .cl-dlg-pick__name::placeholder { color: var(--text-placeholder); opacity: 1; }
.cl-dlg-pick__search:focus, .cl-dlg-pick__name:focus { border-color: var(--border-brand); outline: none; }
.cl-dlg-pick__list { display: flex; flex-direction: column; flex: 1 1 auto; gap: 2px; min-height: 44px; padding: 4px 8px 8px; overflow-y: auto; }
.cl-dlg-pick__item.cl-check { display: flex; align-items: center; flex: none; gap: 12px; min-height: 32px; padding: 4px; border-radius: var(--radius-6); }
.cl-dlg-pick__item.cl-check:hover { background: var(--grey-50); }
.cl-dlg-pick__item .cl-check__label { min-width: 0; }
.cl-dlg-pick__plate { display: block; max-width: 100%; overflow: hidden; padding: 3px 8px; border-radius: var(--radius-4); background: var(--dlg-label, var(--tag-color-0)); font-size: 14px; line-height: 18px; color: var(--text-primary); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-pick__note { display: flex; justify-content: center; padding: 12px; font-size: 14px; line-height: 20px; color: var(--text-caption); }
.cl-dlg-pick__create { display: flex; align-items: center; flex: none; gap: 8px; padding: 8px; border-top: 1px solid var(--border-primary-default); }
.cl-dlg-pick__name { flex: 1 1 0; min-width: 0; }
.cl-dlg-pick__color { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--dlg-label, var(--tag-color-0)); box-shadow: inset 0 0 0 1px var(--alpha-black-12); cursor: pointer; }
.cl-dlg-pick__color:focus-visible { outline: 2px solid var(--border-brand); outline-offset: 2px; }
.cl-dlg-pick__palette { width: 186px; padding: 10px; border: 1px solid var(--brand-light); border-radius: var(--radius-6); background: var(--white); box-shadow: var(--shadow-dropdown); }

/* переменные */
.cl-dlg-vars { gap: 0; padding: 0 0 8px; }
.cl-dlg-vars__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 12px 16px 6px; }
.cl-dlg-vars__count { padding: 1px 8px; border-radius: 10px; background: var(--grey-100); font-size: 12px; font-weight: var(--font-weight-medium); line-height: 18px; letter-spacing: 0; color: var(--text-caption); }
.cl-dlg-vars__tools { display: flex; align-items: center; flex: none; gap: 4px; }
.cl-dlg-vars__lens, .cl-dlg-vars__more { display: flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: var(--radius-6); background: none; color: var(--grey-400); cursor: pointer; transition: background-color var(--duration-button), color var(--duration-button); }
.cl-dlg-vars__lens:hover, .cl-dlg-vars__lens.is-open, .cl-dlg-vars__more:hover, .cl-dlg-vars__more.is-open { background: var(--grey-100); color: var(--grey-700); }
/* «три точки» видны при наведении на шапку блока */
.cl-dlg-vars__more { visibility: hidden; }
.cl-dlg-vars__head:hover .cl-dlg-vars__more, .cl-dlg-vars__more:focus-visible, .cl-dlg-vars__more.is-open { visibility: visible; }
.cl-dlg-vars__new { height: 34px; padding: 0 4px; background: none; font-size: 14px; font-weight: var(--font-weight-medium); line-height: 20px; color: var(--link-brand-text-default); white-space: nowrap; cursor: pointer; }
.cl-dlg-vars__new:hover, .cl-dlg-vars__new.is-open { color: var(--link-brand-text-hover); }
.cl-dlg-vars__search { height: 36px; margin: 0 16px 8px; padding: 8px 12px; border: 1px solid var(--border-secondary-default); border-radius: var(--radius-6); background: var(--white); font-size: 14px; line-height: 20px; color: var(--text-primary); }
.cl-dlg-vars__search[hidden] { display: none; }
.cl-dlg-vars__search:focus { border-color: var(--border-brand); outline: none; }
.cl-dlg-vars__search::placeholder { color: var(--text-placeholder); opacity: 1; }
.cl-dlg-vars__none { display: flex; padding: 4px 16px 6px 40px; font-size: 13px; line-height: 18px; color: var(--text-caption); }
.cl-dlg-vars__body > .cl-dlg-vars__none { justify-content: center; padding: 12px 16px; }
.cl-dlg-vgroup__head { display: flex; align-items: center; gap: 8px; width: 100%; height: 32px; padding: 7px 16px; background: none; text-align: left; cursor: pointer; transition: background-color var(--duration-row); }
.cl-dlg-vgroup__head:hover { background: var(--grey-50); }
.cl-dlg-vgroup__head > .cl-icon { flex: none; color: var(--text-caption); transition: transform var(--duration-input); }
.cl-dlg-vgroup__head.is-open > .cl-icon { transform: rotate(90deg); }
.cl-dlg-vgroup__name { flex: 1 1 0; min-width: 0; font-size: 13px; font-weight: var(--font-weight-semibold); line-height: 18px; color: var(--text-primary); }
.cl-dlg-vgroup__count { flex: none; font-size: 12px; font-weight: var(--font-weight-medium); line-height: 16px; color: var(--text-caption); }
.cl-dlg-var { display: flex; align-items: flex-start; gap: 6px; min-height: 26px; padding: 4px 16px; transition: background-color var(--duration-row); }
.cl-dlg-var:hover, .cl-dlg-var.is-editing { background: var(--grey-50); }
.cl-dlg-var__name { flex: none; max-width: 46%; overflow: hidden; font-size: 13px; font-weight: var(--font-weight-regular); line-height: 18px; color: var(--grey-500); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-var__value {
  display: -webkit-box;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background: none;
  font-size: 13px;
  font-weight: var(--font-weight-regular);
  line-height: 18px;
  color: var(--text-brand);
  text-align: right;
  overflow-wrap: anywhere;
  cursor: pointer;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
.cl-dlg-var__value:hover { color: var(--link-brand-text-hover); }
.cl-dlg-var__value.is-empty { color: var(--text-caption); }
.cl-dlg-var__input { flex: 1 1 0; min-width: 0; height: 18px; padding: 0; border: 0; background: none; box-shadow: 0 1px 0 var(--border-brand); font-size: 13px; line-height: 18px; color: var(--text-primary); text-align: right; }
.cl-dlg-var__input:focus { outline: none; }
.cl-dlg-var__btn { display: flex; flex: none; width: 18px; height: 18px; background: none; color: var(--grey-400); cursor: pointer; visibility: hidden; }
.cl-dlg-var__btn.is-star { width: 16px; height: 16px; margin-top: 1px; }
.cl-dlg-var__btn:hover { color: var(--grey-700); }
.cl-dlg-var__btn.is-star.is-on, .cl-dlg-var__btn.is-star.is-on:hover { color: var(--orange-500); }
.cl-dlg-var:hover .cl-dlg-var__btn, .cl-dlg-var__btn:focus-visible, .cl-dlg-var__btn.is-open { visibility: visible; }
.cl-dlg-var.is-editing .cl-dlg-var__btn { visibility: hidden; }

/* окно «Запланированные сообщения» */
.cl-dlg-tasks .cl-modal__body { padding: 8px 20px 20px; }
.cl-dlg-tasks__list { display: flex; flex-direction: column; }
.cl-dlg-tasks__none { display: flex; justify-content: center; padding: 28px 0 12px; font-size: 14px; line-height: 20px; color: var(--text-caption); }
.cl-dlg-task { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--border-primary-default); }
.cl-dlg-task:last-child { border-bottom: 0; padding-bottom: 0; }
.cl-dlg-task__head { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; line-height: 18px; }
.cl-dlg-task__source { flex: none; padding: 1px 6px; border-radius: var(--radius-4); background: var(--grey-100); font-size: 12px; font-weight: var(--font-weight-semibold); line-height: 16px; color: var(--grey-500); }
.cl-dlg-task__target { min-width: 0; overflow: hidden; font-weight: var(--font-weight-medium); color: var(--text-primary); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-task__text { display: -webkit-box; overflow: hidden; font-size: 14px; line-height: 20px; color: var(--text-secondary); white-space: pre-wrap; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; }
.cl-dlg-task__foot { display: flex; align-items: flex-start; gap: 8px; }
.cl-dlg-task__foot > .cl-field { flex: none; width: 210px; }
/* подпись пояса длиннее «МСК» («UTC+11:30») забирает место у времени: в 210 px минуты срока уходили за край поля */
.cl-dlg-task__foot > .cl-field:has(.cl-input--zone-wide) { width: 250px; }
.cl-dlg-task__foot > .cl-btn { margin-top: 3px; }
.cl-dlg-task__acts { display: flex; align-items: center; gap: 4px; margin: 4px 0 0 auto; }
.cl-dlg-tasks__act { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-6); background: none; color: var(--grey-500); cursor: pointer; transition: background-color var(--duration-button), color var(--duration-button); }
.cl-dlg-tasks__act:hover { background: var(--grey-100); color: var(--text-primary); }
.cl-dlg-tasks__act.is-danger:hover { background: var(--red-100); color: var(--red-500); }

/* вкладка «Заметки» */
.cl-dlg-notes { display: flex; flex-direction: column; overflow: hidden; }
.cl-dlg-notes[hidden] { display: none; }
.cl-dlg-notes__list { display: flex; flex-direction: column; flex: 1 1 0; gap: 8px; min-height: 0; padding: 12px 16px; overflow-y: auto; }
.cl-dlg-notes__form { position: relative; z-index: 1; display: flex; flex: none; gap: 8px; padding: 16px; background: var(--white); box-shadow: var(--dlg-notes-shadow); }
.cl-dlg-notes__input { flex: 1 1 0; min-width: 0; height: 40px; padding: 9px 12px; border: 1px solid var(--border-secondary-default); border-radius: var(--radius-8); background: var(--white); font-size: 14px; line-height: 20px; color: var(--text-primary); transition: border-color var(--duration-input); }
.cl-dlg-notes__input::placeholder { color: var(--text-placeholder); opacity: 1; }
.cl-dlg-notes__input:focus { border-color: var(--border-brand); outline: none; }
.cl-dlg-notes__send { display: flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: var(--radius-8); background: var(--grey-100); color: var(--text-caption); cursor: pointer; transition: background-color var(--duration-button); }
.cl-dlg-notes__send:hover { background: var(--grey-200); }
.cl-dlg-notes__send.is-loading { opacity: .6; pointer-events: none; }
.cl-dlg-note { flex: none; padding: 8px 12px; border-radius: var(--radius-8); background: var(--orange-200); }
.cl-dlg-note__head { display: flex; align-items: center; gap: 8px; min-height: 20px; font-size: 13px; line-height: 18px; }
.cl-dlg-note__author { font-weight: var(--font-weight-semibold); color: var(--text-primary); }
.cl-dlg-note__time { color: var(--text-caption); white-space: nowrap; }
.cl-dlg-note__acts { display: flex; gap: 2px; margin-left: auto; }
.cl-dlg-note__act { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: var(--radius-4); background: none; color: var(--grey-500); cursor: pointer; visibility: hidden; }
.cl-dlg-note:hover .cl-dlg-note__act, .cl-dlg-note__act:focus-visible, .cl-dlg-note__act.is-on { visibility: visible; }
.cl-dlg-note__act:hover { background: var(--alpha-black-06); color: var(--text-primary); }
.cl-dlg-note__act.is-on { color: var(--icon-brand); }
.cl-dlg-note__text { margin-top: 2px; font-size: 14px; line-height: 19.6px; color: var(--text-primary); white-space: pre-wrap; overflow-wrap: anywhere; }

/* вкладка «Вложения» */
.cl-dlg-files__list { display: flex; flex-direction: column; padding: 8px 0; }
.cl-dlg-file { display: flex; align-items: center; gap: 4px; padding: 6px 12px 6px 16px; transition: background-color var(--duration-row); }
.cl-dlg-file:hover { background: var(--grey-50); }
.cl-dlg-file__link { display: flex; align-items: center; flex: 1 1 0; gap: 10px; min-width: 0; text-decoration: none; }
.cl-dlg-file__tile { display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; width: 44px; height: 44px; border: 1px solid var(--brand-200); border-radius: var(--radius-6); background: var(--grey-100); color: var(--grey-500); }
.cl-dlg-file__tile img { width: 100%; height: 100%; object-fit: cover; }
.cl-dlg-file__body { display: flex; flex-direction: column; min-width: 0; }
.cl-dlg-file__name { overflow: hidden; font-size: 14px; font-weight: var(--font-weight-semibold); line-height: 18px; color: var(--link-brand-text-default); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-file__link:hover .cl-dlg-file__name { color: var(--link-brand-text-hover); }
.cl-dlg-file__meta { overflow: hidden; font-size: 12px; line-height: 16px; color: var(--text-caption); text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-file__jump { display: flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: var(--radius-6); background: none; color: var(--grey-400); cursor: pointer; visibility: hidden; }
.cl-dlg-file:hover .cl-dlg-file__jump, .cl-dlg-file__jump:focus-visible { visibility: visible; }
.cl-dlg-file__jump:hover { background: var(--grey-100); color: var(--grey-700); }
.cl-dlg-files__more { display: flex; justify-content: center; padding: 8px 16px; }

/* ============ Панель фильтра ============ */
.cl-dlg-fpanel { position: absolute; top: 0; right: 0; bottom: 0; left: -12px; z-index: 6; display: flex; align-items: flex-start; }
.cl-dlg-fpanel[hidden] { display: none; }
.cl-dlg-fpanel__shade { position: absolute; top: 0; right: 0; bottom: 0; left: 12px; background: var(--dlg-fpanel-shade); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity var(--duration-panel); }
.cl-dlg-fpanel.is-open .cl-dlg-fpanel__shade { opacity: 1; }
.cl-dlg-fpanel__box { position: relative; flex: none; width: 0; height: 100%; overflow: hidden; box-shadow: var(--dlg-fpanel-shadow); transition: width var(--duration-panel); }
.cl-dlg-fpanel.is-open .cl-dlg-fpanel__box { width: 720px; }
.cl-dlg-fpanel__inner { display: flex; width: 720px; height: 100%; }
.cl-dlg-fpanel__close {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  margin: 16px 0 0 14px;
  border-radius: 50%;
  background: var(--dlg-fpanel-close);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  transition: opacity var(--duration-panel), background-color var(--duration-button);
}
.cl-dlg-fpanel.is-open .cl-dlg-fpanel__close { opacity: 1; }
.cl-dlg-fpanel__close:hover { background: var(--dlg-fpanel-close-hover); }
.cl-dlg-fpanel__close:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
/* колонка «Фильтр» */
.cl-dlg-fpanel__filter { display: flex; flex-direction: column; flex: none; width: 435px; min-height: 0; border-left: 1px solid var(--border-primary-default); background: var(--white); }
.cl-dlg-fpanel__head { flex: none; padding: 16px 20px 0; }
.cl-dlg-fpanel__title, .cl-dlg-saved__title { margin: 0; font-size: 16px; font-weight: var(--font-weight-semibold); line-height: 24px; color: var(--text-primary); }
/* справа вместо поля — место под полосу прокрутки (11 px): ширина полей не зависит от того, есть ли прокрутка */
.cl-dlg-fpanel__body { flex: 1 1 0; min-height: 0; padding: 20px 0 16px 10px; overflow-x: hidden; overflow-y: scroll; }
/* Полоса прокрутки — ровно правое поле 10 px: поля построителя получаются 414 px, как в образце */
.cl-dlg-fpanel__body::-webkit-scrollbar { width: 10px; }
.cl-dlg-fpanel__foot { display: flex; align-items: center; justify-content: space-between; flex: none; height: 65px; padding: 12px 20px; border-top: 1px solid var(--border-primary-default); background: var(--white); }
/* колонка «Сохраненные фильтры» */
.cl-dlg-fpanel__saved { display: flex; flex-direction: column; flex: none; width: 285px; min-height: 0; border-left: 1px solid var(--border-primary-default); background: var(--grey-50); }
.cl-dlg-saved__title { flex: none; height: 57px; padding: 16px 20px; border-bottom: 1px solid var(--dlg-saved-line); }
.cl-dlg-saved__list { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; padding: 8px 0; overflow-y: auto; }
.cl-dlg-saved__empty { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; padding: 16px 20px; font-size: 14px; font-weight: var(--font-weight-regular); line-height: 20px; color: var(--text-caption); text-align: center; }
.cl-dlg-saved__item { display: flex; align-items: center; flex: none; min-height: 40px; padding: 0 12px 0 0; transition: background-color var(--duration-row); }
.cl-dlg-saved__item:hover { background: var(--grey-100); }
.cl-dlg-saved__item.is-active { background: var(--brand-100); }
.cl-dlg-saved__apply { display: flex; align-items: center; flex: 1 1 0; gap: 10px; min-width: 0; height: 40px; padding: 0 8px 0 20px; background: none; font-size: 14px; line-height: 20px; color: var(--text-primary); text-align: left; cursor: pointer; }
.cl-dlg-saved__apply > .cl-icon { flex: none; color: var(--grey-400); }
.cl-dlg-saved__item.is-active .cl-dlg-saved__apply { color: var(--text-brand); }
.cl-dlg-saved__item.is-active .cl-dlg-saved__apply > .cl-icon { color: var(--icon-brand); }
.cl-dlg-saved__apply:focus-visible { outline: 2px solid var(--border-brand); outline-offset: -2px; }
.cl-dlg-saved__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-dlg-saved__remove { display: flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: var(--radius-6); background: none; color: var(--grey-400); cursor: pointer; visibility: hidden; }
.cl-dlg-saved__item:hover .cl-dlg-saved__remove, .cl-dlg-saved__remove:focus-visible { visibility: visible; }
.cl-dlg-saved__remove:hover { background: var(--red-100); color: var(--red-500); }
.cl-dlg-saved__form { flex: none; padding: 16px 20px 12px; border-top: 1px solid var(--border-primary-default); background: var(--white); }
.cl-dlg-saved__foot { display: flex; align-items: center; flex: none; height: 65px; padding: 12px 20px; border-top: 1px solid var(--border-primary-default); background: var(--white); }
.cl-dlg-saved__save.cl-btn { min-width: 110px; }

/* ============ Панель массовых действий ============ */
.cl-dlg-bulk { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 49px; padding: 8px 16px; border-bottom: 1px solid var(--border-primary-default); background: var(--grey-50); box-shadow: var(--dlg-bulk-shadow); }
.cl-dlg-bulk[hidden] { display: none; }
.cl-dlg-bulk__acts { display: flex; align-items: center; flex: none; }
.cl-dlg-bulk__btn { display: flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: var(--radius-6); background: none; color: var(--grey-400); cursor: pointer; transition: background-color var(--duration-button), color var(--duration-button); }
.cl-dlg-bulk__btn:hover { background: var(--grey-200); color: var(--grey-700); }
.cl-dlg-bulk__btn:focus-visible, .cl-dlg-bulk__close:focus-visible { outline: 2px solid var(--border-brand); outline-offset: 1px; }
.cl-dlg-bulk__side { display: flex; align-items: center; flex: none; gap: 8px; }
.cl-dlg-bulk__close { display: flex; flex: none; width: 24px; height: 24px; border-radius: var(--radius-4); background: none; color: var(--grey-400); cursor: pointer; }
.cl-dlg-bulk__close:hover { color: var(--grey-700); }
.cl-dlg-bulk__count { font-size: 14px; font-weight: var(--font-weight-regular); line-height: 18px; color: var(--grey-500); white-space: nowrap; }
.cl-dlg-bulk__all { flex: none; }
/* окно «Действия со списками/метками» */
.cl-dlg-bulklists__note { font-size: 14px; line-height: 20px; color: var(--text-caption); }
