/* ── Адаптер профилей: BanRadar ────────────────────────────
   Ядро осей — design-profiles.css. Здесь привязка к разметке
   мониторинга: токены проекта и геометрия ключевых элементов.

   Список :where() и есть точка настройки. Специфичность у него
   нулевая, поэтому точечные правила style.css продолжают
   побеждать там, где скругление осмысленно (кольца радара,
   аватары, круглые индикаторы).

   По карте обликов дежурному экрану подходит «Штаб». */

:root:root[data-profile] {
  --radius: var(--pf-radius-lg);
  --radius-sm: var(--pf-radius-sm);
}

:root:root[data-profile] body {
  font-family: var(--pf-font);
}

:root:root[data-profile] :where(
  .card, .btn, .btn-sm, .tab, .faq-item, .compare-table,
  .guide-toc, .cta-section, .connect-step,
  input, select, textarea
) {
  border-radius: var(--pf-radius);
}

/* Числа и адреса — моноширинные из профиля: в «Штабе» они
   выравниваются в колонки сами. */
:root:root[data-profile] :where(.mono, code, pre) {
  font-family: var(--pf-font-num);
}

/* Плотные профили гасят свечение и мягкие тени. */
:root:root[data-profile="pult"],
:root:root[data-profile="shtab"],
:root:root[data-profile="kartoteka"],
:root:root[data-profile="bumaga"],
:root:root[data-profile="tseh"] {
  --shadow: none;
  --glow: none;
}
