/* NowBusiness ND195 — Master integrations cleanup, stable switches and definitive sidebar brand weight. */

/* Toggle: two real columns. The hidden checkbox is absolute, so reserving a third grid
   column caused the visual track/thumb to split when copy width changed. */
body.nf-redesign .preference-switch-card {
  grid-template-columns:minmax(0,1fr) 48px!important;
  align-items:center!important;
}
body.nf-redesign .preference-switch-copy {min-width:0!important;}
body.nf-redesign .preference-switch-card .switch-ui {
  box-sizing:border-box!important;
  width:48px!important;
  min-width:48px!important;
  height:28px!important;
  padding:3px!important;
  justify-self:end!important;
  align-self:center!important;
  overflow:hidden!important;
}
body.nf-redesign .preference-switch-card .switch-ui::after {
  width:22px!important;
  height:22px!important;
  transform:translateX(0)!important;
}
body.nf-redesign .preference-switch-card input:checked + .switch-ui::after {
  transform:translateX(20px)!important;
}
body.nf-redesign .preference-switch-card input:focus-visible + .switch-ui {
  outline:3px solid color-mix(in srgb,var(--nf-primary,#1861f1) 24%,transparent)!important;
  outline-offset:3px!important;
}

/* Marca: regra final carregada depois de todas as folhas históricas. */
body.nf-redesign .sidebar-logo-text .sidebar-product-name--nowbusiness {
  display:block!important;
  font-family:Montserrat,Inter,system-ui,sans-serif!important;
  font-size:inherit!important;
  font-style:normal!important;
  font-weight:900!important;
  font-variation-settings:"wght" 900!important;
  letter-spacing:inherit!important;
  line-height:inherit!important;
  color:var(--nd-primary,#1861f1)!important;
  white-space:nowrap!important;
}

/* Página de integrações agora tem somente o canal vigente. */
body.nf-redesign .nowchat-master-integration-card,
body.nf-redesign .nowchat-consent-summary-v195 {min-width:0;}
body.nf-redesign .nowchat-master-integration-card .ecosystem-app-summary {
  grid-template-columns:repeat(3,minmax(0,1fr));
}
@media(max-width:800px){
  body.nf-redesign .nowchat-master-integration-card .ecosystem-app-summary {grid-template-columns:1fr!important;}
  body.nf-redesign .preference-switch-card {grid-template-columns:minmax(0,1fr) 48px!important;}
}
