/* Shieldy auto-role visibility fix r27.
   UI-only: keeps the existing #welcome-step-role DOM and all existing inputs/handlers,
   but makes the auto-role editor visible only in the dedicated "Авто-роль" scenario.
   No API/network/save logic changes. */

/* r4 autorole stylesheet forced #welcome-step-role to display:grid!important for every
   welcome scenario. That overrode the compact welcome tabs and made auto-role appear
   inside both "Вход → Бесплатно" and "Вход → Premium". Explicitly restore scenario ownership. */
body[data-account-page="bots"]
#shieldy-welcome-builder[data-jj-welcome-scenario]:not([data-jj-welcome-scenario="role"])
#welcome-step-role.jj-autorole-ui {
  display:none!important;
}

/* Dedicated auto-role scenario remains fully functional and uses the same existing DOM. */
body[data-account-page="bots"]
#shieldy-welcome-builder[data-jj-welcome-scenario="role"]
#welcome-step-role.jj-autorole-ui {
  display:grid!important;
  gap:18px!important;
}
