/* dgr 16.11.2026: пакет dogovor-ne-prosto-shablon-15112026, css/udm-nt.css — без правок (A/B ne_prosto_shablon, элемент dgr_ne_prosto_shablon). */
/* «Это — не просто шаблон»: плавающий блок в правой колонке конструктора (.alternative-sidebar), после .banners-block.
   Только при ширине ≥1200px (когда колонка справа); ниже — скрыт (на мобиле не показываем — решение заказчика 15.11).
   Переключатели — сайтовые .dgr-sw. Оформление — утверждённый вариант A (кремовая карточка). Верх при прилипании задаёт js/udm-nt.js. */
.udm-nt{position:sticky;top:8px;transition:top .2s;margin:0 0 20px;padding:18px 18px 16px;background:#F7F8E6;border:1px solid #BED597;border-radius:20px;color:#382D28;font-family:Mulish,sans-serif}
.udm-nt-h{font:600 16px/1.3 Unbounded,sans-serif;margin:0 0 14px}
.udm-nt-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.udm-nt-list li{display:grid;grid-template-columns:22px 1fr;gap:12px;align-items:start}
/* иконки — файлы сайта: ico-51-7 (столбцы), ico-58 (лампа), ico-39 (обновление), ico-51-5 (график), ico-49-1 (ИИ, как у «Свой вариант»).
   Одноцветные файлы красятся маской в зелёный сайта (как зелёные иконки колонки ico-34-1, ico-34-2). */
.udm-nt-ic{width:22px;height:22px;margin-top:1px;display:block}
.udm-nt-ic img{width:22px;height:22px;display:block}
.udm-nt-ic--m{background:currentColor;color:#7CAB3D;-webkit-mask:var(--udm-i) center/contain no-repeat;mask:var(--udm-i) center/contain no-repeat}
.udm-nt-ic--stat{--udm-i:url(/img/ico-51-7.svg)}.udm-nt-ic--tip{--udm-i:url(/img/ico-58.svg)}.udm-nt-ic--an{--udm-i:url(/img/ico-51-5.svg)}.udm-nt-ic--upd{--udm-i:url(/img/ico-39.svg)}
.udm-nt-list b{display:block;font-size:15px;line-height:1.3;font-weight:800;margin:0 0 2px}
.udm-nt-list p{margin:0;font-size:14px;line-height:1.35;font-weight:500}
.udm-nt .dgr-sw span{width:40px;height:22px}.udm-nt .dgr-sw span::after{width:16px;height:16px}.udm-nt .dgr-sw input:checked + span::after{transform:translateX(18px)}
.udm-nt .dgr-sw{display:inline-flex;align-items:center;gap:10px;margin:4px 0 0;min-height:26px;font-size:14px;font-weight:700;color:inherit;cursor:pointer;user-select:none}
/* «Зачем это нужно?» — раскрывающаяся строка; на невысоких экранах свёрнута (js/udm-nt.js: если блок не помещается над кнопкой «ИИ») */
.udm-nt-why{margin:14px 0 0;padding:12px 0 0;border-top:1px solid #DCE5C4}
.udm-nt-why summary{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;cursor:pointer;font-size:15px;font-weight:800;min-height:24px}
.udm-nt-why summary::-webkit-details-marker{display:none}
.udm-nt-why summary i{width:14px;height:9px;flex:none;background:currentColor;color:#7CAB3D;-webkit-mask:url(/img/ico-41.svg) center/contain no-repeat;mask:url(/img/ico-41.svg) center/contain no-repeat;transition:transform .2s}
.udm-nt-why[open] summary i{transform:rotate(180deg)}
.udm-nt-why summary:focus-visible{outline:3px solid #382D28;outline-offset:3px;border-radius:4px}
.udm-nt-why p{margin:6px 0 0;font-size:14px;line-height:1.4;font-weight:500}

/* ИИ-виджет сайта, пока блок на экране (класс на <html> ставит js/udm-nt.js): облачко «Вопрос по документу?» скрыто, кнопка «ИИ» правее */
@media (min-width:1200px){
  .udm-nt-on .ai-chat-widget__label{display:none}
  .udm-nt-on .ai-chat-widget{right:12px!important;transition:right .2s}
  /* прозрачная полоса нижней панели сайта (.block-more.plavaem, во всю ширину) перехватывала клики по низу блока — пропускаем клики сквозь неё, кнопки панели работают */
  .udm-nt-on .block-more.plavaem{pointer-events:none}
  .udm-nt-on .block-more.plavaem>*{pointer-events:auto}
}
@media (max-width:1199.98px){.udm-nt{display:none}}
