/* Блок ig-ct. Перенесён из выгрузки 2. Дизайн/5. этап/2026-09-23 (blocks/objects.css). */

.ig-ct__pos {
  width: 230px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ig-ct__name {
  width: 230px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ig-ct__phone {
  width: 250px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ig-ct__mail {
  width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ig-ct__note {
  flex: 1 1 auto;
  font-size: 12.5px;
  color: var(--ink-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ig-ct__flag {
  width: 70px;
  display: flex;
  justify-content: center;
}

.ig-ct__flag input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--brand-600);
}

.ig-ct__act {
  width: 70px;
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

/* Добавлено при переносе: столбец действий с корзиной (право «удаление») и строка контакта в
   режиме правки - в выгрузке этих состояний нет */

.ig-ct__act--wide {
  width: 96px;
}

.ig-ct__edit {
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Добавлено при переносе (замечание Никиты 26.09.2026): пять текстовых столбцов делят между
   собой всю ширину строки - фиксированные ширины выгрузки оставляли пустое место перед
   галочками. Значение и поле правки не выходят за свой столбец: длинный текст переносится
   внутри ячейки, строка растёт в высоту; в шапке названия столбцов в одну строку */

.ig-os__thead > .ig-ct__pos,
.ig-os__trow > .ig-ct__pos,
.ig-os__thead > .ig-ct__name,
.ig-os__trow > .ig-ct__name,
.ig-os__thead > .ig-ct__phone,
.ig-os__trow > .ig-ct__phone,
.ig-os__thead > .ig-ct__mail,
.ig-os__trow > .ig-ct__mail,
.ig-os__thead > .ig-ct__note,
.ig-os__trow > .ig-ct__note {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
}

.ig-os__thead > .ig-ct__name,
.ig-os__trow > .ig-ct__name {
  flex-grow: 1.3;
}

.ig-os__thead > .ig-ct__phone,
.ig-os__trow > .ig-ct__phone {
  flex-grow: 1.2;
}

.ig-os__thead > .ig-ct__pos,
.ig-os__thead > .ig-ct__name,
.ig-os__thead > .ig-ct__phone,
.ig-os__thead > .ig-ct__mail,
.ig-os__thead > .ig-ct__note {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ig-ct__edit .ig-cellform {
  width: 100%;
}

.ig-ct__edit .ig-cellform input,
.ig-ct__edit .ig-cellform textarea {
  min-width: 0;
  max-width: 100%;
}

/* Подписанты (замечание Никиты 26.09.2026): у заказчика и стройконтроля столбец «Подписанты» с
   номером по порядку отметки, у подрядчика - один «Основной подписант» */

.ig-ct__flag--signer {
  width: 96px;
  gap: 6px;
}

.ig-ct__flag--main {
  width: 150px;
}

.ig-ct__num {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
