/* source: /assets/msnbot-tasks-utilities-refine-v501.css */
/* MSNBOT Tarefas + Utilitários — refinamento visual v5.0.1.
   Escopo restrito; não altera cores, magnificação nem animações do Dock. */

/* Cabeçalho consolidado: título, filtros, status e metas em um painel. */
html body .tasks-workspace-v500 .tasks-v501-header {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:12px!important;
  row-gap:10px!important;
  padding:12px 15px 11px!important;
  margin:0 0 10px!important;
  border-radius:19px!important;
}
html body .tasks-workspace-v500 .tasks-v501-header>.tasks-v500-title {grid-column:1!important;min-width:0}
html body .tasks-workspace-v500 .tasks-v501-header>.tasks-v500-filters {grid-column:2!important;min-width:0}
html body .tasks-workspace-v500 .tasks-v501-header>.tasks-v500-stats {grid-column:3!important;min-width:0}
html body .tasks-workspace-v500 .tasks-v501-overview{
  grid-column:1/-1!important;
  display:block!important;
  min-width:0!important;
  padding:9px 0 0!important;
  border-top:1px solid var(--border,rgba(133,157,207,.18))!important;
}
html body .tasks-workspace-v500 .tasks-v501-overview>.tasks-v501-performance {
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  width:100%!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  border-radius:0!important;
}
html body .tasks-workspace-v500 .tasks-v501-overview .tasks-v500-metrics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  flex:1 1 570px!important;
  gap:6px!important;
}
html body .tasks-workspace-v500 .tasks-v501-overview .tasks-v500-metric{
  padding:6px 9px!important;
  min-width:0;
  background:rgba(113,148,205,.065)!important;
  border:1px solid rgba(108,142,201,.11)!important;
  border-radius:10px!important;
}
html body .tasks-workspace-v500 .tasks-v501-overview .tasks-v500-metric-head{
  align-items:center!important;
  gap:5px!important;
}
html body .tasks-workspace-v500 .tasks-v501-overview .tasks-v500-metric-head span{
  font-size:10px!important;
  line-height:1.15!important;
}
html body .tasks-workspace-v500 .tasks-v501-overview .tasks-v500-metric-head strong{
  font-size:13px!important;
}
html body .tasks-workspace-v500 .tasks-v501-overview .tasks-v500-progress{
  margin-top:5px!important;
  height:3px!important;
}
html body .tasks-workspace-v500 .tasks-v501-overview .tasks-v500-performance-actions{
  display:flex!important;
  flex:0 0 auto!important;
  gap:6px!important;
}
html body .tasks-workspace-v500 .tasks-v501-overview .tasks-v500-performance-actions>button,
html body .tasks-workspace-v500 .tasks-v501-overview .tasks-v500-performance-actions>a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:32px!important;
  margin:0!important;
  padding:7px 10px!important;
  font-size:11px!important;
  border-radius:9px!important;
}
html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-stats>article{
  min-width:52px!important;
  padding:4px 6px!important;
  border-radius:10px!important;
}
html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-stats strong{font-size:15px!important}
html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-stats span{font-size:9px!important;margin-top:2px!important}
html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-title h1{font-size:clamp(21px,1.8vw,27px)!important}
html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-title>button{
  min-height:35px!important;
  padding:7px 10px!important;
}
html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters input,
html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters select,
html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters button,
html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters a{
  height:35px!important;
  min-height:35px!important;
}
html[data-theme="dark"] body .tasks-workspace-v500 .tasks-v501-header{
  background:rgba(24,32,45,.94)!important;
  border:1px solid #303d4e!important;
}
html[data-theme="dark"] body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-stats>article,
html[data-theme="dark"] body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-metric{
  background:rgba(37,47,64,.76)!important;
  border-color:rgba(147,169,212,.15)!important;
}
html[data-theme="dark"] body .tasks-workspace-v500 .tasks-v501-overview {
  border-top-color:rgba(147,169,212,.18)!important;
}

/* Atividade: registro e histórico no MESMO popup, sem poluir o rodapé. */
html body dialog#tasks-activity-dialog,
html body dialog#tasks-goals-dialog{
  box-sizing:border-box!important;
  width:min(600px,calc(100vw - 24px))!important;
  min-width:0!important;
  max-width:calc(100vw - 24px)!important;
  max-height:min(88dvh,780px)!important;
  height:auto!important;
  min-height:0!important;
  margin:auto!important;
  padding:0!important;
  overflow-y:auto!important;
  border-radius:20px!important;
  box-shadow:0 24px 78px rgba(8,20,49,.26)!important;
}
html body dialog#tasks-goals-dialog{width:min(500px,calc(100vw - 24px))!important}
html body dialog#tasks-activity-dialog .dialog-card,
html body dialog#tasks-goals-dialog .dialog-card{
  box-sizing:border-box!important;
  padding:20px!important;
  border:0!important;
  min-height:0!important;
  max-width:100%!important;
}
html body dialog#tasks-activity-dialog .dialog-head,
html body dialog#tasks-goals-dialog .dialog-head{
  margin:0 0 12px!important;
  align-items:center!important;
  gap:12px!important;
  padding:0 0 10px!important;
  border-bottom:1px solid var(--border,#dde6f4)!important;
}
html body dialog#tasks-activity-dialog .dialog-head h2,
html body dialog#tasks-goals-dialog .dialog-head h2{
  margin:0!important;
  font-size:19px!important;
  line-height:1.2!important;
}
html body dialog#tasks-activity-dialog .form-grid,
html body dialog#tasks-goals-dialog .form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:start!important;
  gap:12px!important;
}
html body dialog#tasks-activity-dialog .form-grid>label,
html body dialog#tasks-goals-dialog .form-grid>label{
  min-width:0!important;
  margin:0!important;
  display:grid!important;
  gap:5px!important;
}
html body dialog#tasks-activity-dialog .form-grid .span-2 {grid-column:1/-1!important}
html body dialog#tasks-activity-dialog .form-grid input,
html body dialog#tasks-activity-dialog .form-grid select,
html body dialog#tasks-activity-dialog .form-grid textarea,
html body dialog#tasks-goals-dialog .form-grid input{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  border-radius:11px!important;
}
html body dialog#tasks-activity-dialog .dialog-actions,
html body dialog#tasks-goals-dialog .dialog-actions{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
  margin-top:13px!important;
}
html body dialog#tasks-activity-dialog .dialog-actions button,
html body dialog#tasks-goals-dialog .dialog-actions button{min-height:35px!important;border-radius:10px!important}
html body .tasks-v501-activity-history{
  margin-top:14px!important;
  border-top:1px solid var(--border,#e1e6f0)!important;
  padding-top:10px!important;
}
html body .tasks-v501-activity-history>summary{
  display:flex!important;
  justify-content:space-between!important;
  cursor:pointer!important;
  list-style:none!important;
  font-size:12px!important;
  font-weight:800!important;
}
html body .tasks-v501-activity-history>summary::-webkit-details-marker{display:none}
html body .tasks-v501-activity-history>summary span{color:var(--muted,#78859a)!important}
html body .tasks-v501-activity-history .tasks-v500-activity-log{
  margin:10px 0 0!important;
  padding:7px 9px!important;
  box-shadow:none!important;
  min-height:0!important;
  border-radius:12px!important;
}
html body .tasks-v501-activity-history .tasks-v500-activity-item{
  align-items:center;
}
html body dialog.tasks-v500-detail-dialog{
  max-height:88dvh!important;
  z-index:500!important;
}
html body dialog.tasks-v500-detail-dialog .tasks-v500-detail-wrap{max-height:88dvh!important}
html body dialog.tasks-v500-detail-dialog .task-detail-card{
  padding:22px 20px!important;
  min-height:0!important;
}
html body dialog.tasks-v500-detail-dialog .task-detail-card .settings-form{gap:10px!important}
html body dialog.tasks-v500-detail-dialog .task-detail-card label{min-width:0!important}
html body dialog#task-create-dialog{max-height:88dvh!important;max-width:calc(100vw - 24px)!important;overflow-y:auto!important}
html body dialog#task-create-dialog .dialog-card{min-height:0!important}
html body .tasks-workspace-v500 .task-list-card{
  min-height:max(380px,calc(100dvh - 260px))!important;
}

/* Utilitários: cabeçalho único com largura real da página. */
html body .launchpad-head.launchpad-head-v501{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0 0 14px!important;
  padding:12px 16px!important;
  border-radius:19px!important;
}
html body .launchpad-head.launchpad-head-v501 h1{
  font-size:clamp(22px,2vw,28px)!important;
  margin:0!important;
  line-height:1.1!important;
}
html body .launchpad-head.launchpad-head-v501 .launchpad-head-tools{
  margin-left:auto!important;
  display:flex!important;
  flex:0 1 470px!important;
  min-width:0!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:8px!important;
}
html body .launchpad-head.launchpad-head-v501 .launchpad-search{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:390px!important;
  min-height:36px!important;
  margin:0!important;
}
html body .launchpad-head.launchpad-head-v501 .launchpad-search input{
  width:100%!important;
  min-width:0!important;
  height:36px!important;
  padding:7px 0!important;
}
html body .launchpad-head.launchpad-head-v501 .launchpad-palette-button{
  flex:0 0 35px!important;
  width:35px!important;height:35px!important;
}
html[data-theme="dark"] body .launchpad-head.launchpad-head-v501{
  background:rgba(24,32,45,.94)!important;
  border:1px solid #303d4e!important;
}
html[data-theme="dark"] body .launchpad-head.launchpad-head-v501 .launchpad-search,
html[data-theme="dark"] body .launchpad-head.launchpad-head-v501 .launchpad-palette-button{
  background:rgba(35,46,64,.94)!important;
  border-color:rgba(148,169,209,.19)!important;
  color:var(--text,#eff4ff)!important;
}

/* Fundo dark uniforme nas margens do Dock. Não muda a cápsula, ícones ou paleta do Dock. */
html[data-theme="dark"]:has(.launchpad-head-v501),
html[data-theme="dark"]:has(.tasks-workspace-v500){
  background-color:#0d141c!important;
  background-image:linear-gradient(135deg,#0d1218,#121922 58%,#0c1117)!important;
}

html[data-theme="dark"] body:has(.launchpad-head-v501),
html[data-theme="dark"] body:has(.tasks-workspace-v500){
  background-color:#0d141c!important;
  background-image:linear-gradient(135deg,#0d1218,#121922 58%,#0c1117)!important;
}
html[data-theme="dark"] body:has(.launchpad-head-v501) > main.page,
html[data-theme="dark"] body:has(.tasks-workspace-v500) > main.page {
  background-color:transparent!important;
}
@media(max-width:1180px){
  html body .tasks-workspace-v500 .tasks-v501-header{
    grid-template-columns:auto minmax(0,1fr)!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-header>.tasks-v500-stats{
    grid-column:1/-1!important;
    justify-content:flex-end!important;
  }
}
@media(max-width:960px){
  html body .tasks-workspace-v500 .tasks-v501-header{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:center!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-header>.tasks-v500-title{
    flex:1 1 auto!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-header>.tasks-v500-stats{
    flex:1 1 auto!important;
    justify-content:flex-end!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-header>.tasks-v500-filters{
    flex:1 1 100%!important;
    order:3!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-overview{
    flex:1 1 100%!important;
    order:4!important;
  }
}
@media(max-width:700px){
  html body .launchpad-head.launchpad-head-v501{
    padding:11px 12px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  html body .launchpad-head.launchpad-head-v501 .launchpad-head-tools{
    margin-left:0!important;
    flex:1 1 auto!important;
    max-width:none!important;
    width:100%!important;
  }
  html body .launchpad-head.launchpad-head-v501 .launchpad-search{
    max-width:none!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-header{
    padding:10px!important;
    gap:9px!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-header>.tasks-v500-stats {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    width:100%!important;
    order:2!important;
    justify-content:stretch!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-overview .tasks-v500-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    flex:1 1 100%!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-overview .tasks-v500-performance-actions{
    justify-content:flex-end!important;
    flex:1 1 100%!important;
  }
  html body dialog#tasks-activity-dialog .form-grid,
  html body dialog#tasks-goals-dialog .form-grid{gap:8px!important}
  html body dialog#tasks-activity-dialog .dialog-card,
  html body dialog#tasks-goals-dialog .dialog-card{padding:15px!important}
  html body .tasks-v501-activity-history .tasks-v500-activity-item{align-items:flex-start}
  html body .tasks-v501-activity-history .tasks-v500-attendance-form{margin-left:0}
}


/* source: /assets/msnbot-broadcast-tag-search-v501.css */
/* Transmissão: seletor de etiquetas da Audiência e prévia de opt-in. */
html body .broadcast-modern-dialog .v486-tag-picker {
  position:relative!important;
  box-sizing:border-box!important;
  isolation:isolate;
  min-width:0!important;
}
html body .broadcast-modern-dialog .v486-tag-input{
  position:relative;
  cursor:text;
}
html body .broadcast-modern-dialog [data-v486-tag-chips]{
  display:contents!important;
}
html body .broadcast-modern-dialog .v486-tag-chip{
  box-sizing:border-box;
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  max-width:100%!important;
  padding:4px 5px 4px 9px!important;
  border-radius:999px!important;
  background:rgba(52,118,232,.12)!important;
  color:#3771d9!important;
  font-size:11px!important;
  font-weight:750!important;
}
html body .broadcast-modern-dialog .v486-tag-chip>span{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
html body .broadcast-modern-dialog .v486-tag-chip>button{
  box-sizing:border-box!important;
  display:grid!important;place-items:center!important;
  width:20px!important;height:20px!important;
  padding:0!important;
  border:0!important;border-radius:50%!important;
  color:inherit!important;background:transparent!important;
  font-size:15px!important;line-height:1!important;
  cursor:pointer!important;
}
html body .broadcast-modern-dialog [data-v486-tag-options]{
  box-sizing:border-box!important;
  display:block!important;
  position:absolute!important;
  z-index:200!important;
  top:calc(100% + 7px)!important;left:0!important;right:0!important;
  min-width:0!important;
  width:100%!important;
  max-height:min(245px,34vh)!important;
  margin:0!important;padding:5px!important;
  overflow-y:auto!important;
  border:1px solid var(--border,#d4dff0)!important;
  border-radius:13px!important;
  background:var(--surface-solid,#fff)!important;
  box-shadow:0 16px 42px rgba(20,35,70,.19)!important;
}
html body .broadcast-modern-dialog [data-v486-tag-options][hidden],
html body .broadcast-modern-dialog [data-v486-tag-option][hidden],
html body .broadcast-modern-dialog [data-v486-tag-empty][hidden]{
  display:none!important;
}
html body .broadcast-modern-dialog [data-v486-tag-option]{
  box-sizing:border-box;
  display:flex!important;
  align-items:center;
  gap:9px;
  width:100%!important;
  min-height:34px;
  margin:0!important;padding:8px 10px!important;
  font-size:12px!important;font-weight:700!important;
  cursor:pointer;
  border-radius:9px!important;
  transition:background .12s;
}
html body .broadcast-modern-dialog [data-v486-tag-option]:hover,
html body .broadcast-modern-dialog [data-v486-tag-option].broadcast-tag-focused,
html body .broadcast-modern-dialog [data-v486-tag-option]:has(input:checked){
  background:rgba(60,124,237,.12)!important;
}
html body .broadcast-modern-dialog [data-v486-tag-option] input[type="checkbox"]{
  box-sizing:border-box!important;
  width:17px!important;height:17px!important;min-height:17px!important;
  min-width:17px!important;
  padding:0!important;margin:0!important;
  accent-color:#2d75e8;
  flex:0 0 17px!important;
}
html body .broadcast-modern-dialog [data-v486-tag-empty]{
  text-align:center;padding:12px!important;
  font-size:11px!important;
  color:var(--muted,#8190a5)!important;
}
html body .broadcast-modern-dialog .broadcast-tag-preview-v501{
  box-sizing:border-box;
  min-height:27px;
  margin-top:5px;
  padding:6px 9px;
  line-height:1.4;
  border-radius:9px;
  font-size:11px;
  color:var(--muted,#74849e);
  background:rgba(110,142,197,.08);
}
html body .broadcast-modern-dialog .broadcast-tag-preview-v501[data-tone="success"]{
  color:#23794c;
  background:rgba(50,174,116,.10);
}
html body .broadcast-modern-dialog .broadcast-tag-preview-v501[data-tone="warning"]{
  color:#b14f42;
  background:rgba(228,99,91,.1);
}
html body .broadcast-modern-dialog .broadcast-tag-preview-v501 a{
  color:#3576dd!important;
  font-weight:800;
  text-decoration:underline;
}
html[data-theme="dark"] body .broadcast-modern-dialog [data-v486-tag-options]{
  background:#1b2533!important;
  border-color:#41536b!important;
}
html[data-theme="dark"] body .broadcast-modern-dialog [data-v486-tag-option]{
  color:#e6eeff!important;
}
html[data-theme="dark"] body .broadcast-modern-dialog .v486-tag-chip{
  background:rgba(60,126,245,.20)!important;
  color:#b1cfff!important;
}
html[data-theme="dark"] body .broadcast-modern-dialog .broadcast-tag-preview-v501[data-tone="success"]{
  color:#79daad!important;
}
html[data-theme="dark"] body .broadcast-modern-dialog .broadcast-tag-preview-v501[data-tone="warning"]{
  color:#ffb09e!important;
}
@media(max-width:600px){
  html body .broadcast-modern-dialog [data-v486-tag-options]{max-height:200px!important}
}
@media(prefers-reduced-motion:reduce){
  html body .broadcast-modern-dialog [data-v486-tag-option]{transition:none!important}
}

/* O modo de grupos não exibe os campos de etiquetas individuais. */
html body .broadcast-modern-form [data-broadcast-mode="flow message"][hidden]{
 display:none!important;
}
/* Consentimento é uma escolha explícita ao criar/editar na Audiência. */
html body .audience-create-clean .audience-optin-field{
 display:grid;gap:5px;min-width:0;font-weight:750;
}
html body .audience-create-clean .audience-optin-field select{
 box-sizing:border-box;width:100%;min-width:0;
 min-height:36px;border-radius:10px;
}
html body .audience-create-clean .audience-optin-help{
 display:block;color:var(--muted,#738098);font-size:10px;
 line-height:1.35;font-weight:500;
}

/* v5.0.2: somente contagem discreta no título, sem qualquer aviso inferior. */
html body .broadcast-modern-form .broadcast-tag-title-v502{
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  gap:12px!important;width:100%!important;min-width:0!important;
}
html body .broadcast-modern-form .broadcast-tag-title-v502>span:first-child{
  font-weight:800!important;
}
html body .broadcast-modern-form .broadcast-tag-title-v502 [data-broadcast-tag-count]{
  margin-left:auto!important;
  color:var(--muted,#8092ac)!important;
  font-weight:700!important;font-size:11px!important;
  line-height:1.2!important;white-space:nowrap!important;
}
html body .broadcast-modern-form .broadcast-tag-title-v502 [data-broadcast-tag-count][hidden]{
  display:none!important;
}


/* source: /assets/msnbot-broadcast-detail-polish-v505.css */
/* Somente Transmissão — lista compacta, status no topo e cards sob demanda. */
html body .broadcast-list-card .broadcast-row{
  position:relative!important;
  align-items:flex-start!important;
  padding-right:54px!important;
}
html body .broadcast-list-card .broadcast-row > .grow{
  min-width:0!important;
}
html body .broadcast-list-card .broadcast-row-side{
  position:absolute!important;
  right:12px!important;
  top:9px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:3px!important;
  width:40px!important;
}
html body .broadcast-list-card .broadcast-row-side .broadcast-state-toggle{
  margin:0!important;
  align-self:center!important;
}
html body .broadcast-list-card .broadcast-row-side small{
  font-size:9px!important;
  line-height:1.15!important;
  text-align:center!important;
}
html body .broadcast-detail-card .broadcast-progress-card{
  padding-bottom:12px!important;
}
html body .broadcast-detail-card .broadcast-config-grid:empty{
  display:none!important;
}
html body .broadcast-detail-card .broadcast-bottom-grid{
  grid-template-columns:minmax(0,1fr)!important;
}

/* Acões de gestão abaixo da tabela de destinatários, à direita. */
html body .broadcast-detail-card > .broadcast-actions-bottom{
 display:flex!important;
 flex-flow:row wrap!important;
 align-items:center!important;
 justify-content:flex-end!important;
 gap:8px!important;
 width:100%!important;
 margin:12px 0 0!important;
 padding:0 1px 12px!important;
}
html body .broadcast-detail-card > .broadcast-actions-bottom > :is(button,a,form){
 margin:0!important;
 flex:0 0 auto!important;
}


/* source: /assets/msnbot-broadcast-attachment-inline-v505.css */
/* Resumo de anexo na mesma linha de + Variação, sem nome de arquivo. */
html body .broadcast-modern-dialog .broadcast-attachment-variation-row {
 display:flex!important;
 width:100%!important;
 min-width:0!important;
 gap:10px!important;
 justify-content:space-between!important;
 align-items:center!important;
}
html body .broadcast-modern-dialog .broadcast-attachment-variation-row .broadcast-media-display{
 min-width:0!important;
 flex:1 1 auto!important;
 display:flex!important;
 align-items:center!important;
 gap:8px!important;
 margin:0!important;
}
html body .broadcast-modern-dialog .broadcast-attachment-variation-row .broadcast-media-display [data-broadcast-media-preview]{
 display:inline-block!important;
 margin:0!important;
 font-size:10px!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
 white-space:nowrap!important;
}
html body .broadcast-modern-dialog .broadcast-attachment-variation-row .broadcast-media-display [data-broadcast-media-preview][hidden]{
 display:none!important;
}
html body .broadcast-modern-dialog .broadcast-attachment-variation-row .broadcast-add-message{
 flex:0 0 auto!important;
 margin:0!important;
 white-space:nowrap!important;
}


/* source: /assets/msnbot-dock-led-global-v502.css */
/* MSNBOT • Dock LED v5.0.2 • global dark seam & triple chevron.
   Apenas plano de fundo externo; não modifica o tamanho, cores ou ícones do Dock.
   Sem superfície atrás das setas. */

/* Consistência do fundo escuro junto às margens e abaixo dos módulos. */
html[data-theme="dark"]:not(:has(main.auth-page)),
html[data-theme="dark"] body:not(:has(main.auth-page)){
  background-color:#0d141c!important;
  background-image:linear-gradient(135deg,#0d1218,#121922 58%,#0c1117)!important;
}
/* Tema claro: o mesmo papel de parede e a mesma paleta das Campanhas
   continuam até as duas laterais e por trás do Dock, em todos os apps.
   Mantém a imagem personalizada de Configurações sem desenhar caixas novas. */
html[data-theme="light"]:not(:has(main.auth-page)){
  background-color:#bec1e7!important;
}
html[data-theme="light"] body:not(:has(main.auth-page)){
  background-color:#bec1e7!important;
  background-image:var(--app-wallpaper,none),linear-gradient(112deg,#f4d7e9 0%,#e5def9 49%,#99d9f3 100%)!important;
  background-position:center center,center center!important;
  background-size:cover,cover!important;
  background-attachment:fixed,fixed!important;
  background-repeat:no-repeat,no-repeat!important;
}
@media (prefers-color-scheme:light){
  html[data-theme="auto"]:not(:has(main.auth-page)){
    background-color:#bec1e7!important;
  }
  html[data-theme="auto"] body:not(:has(main.auth-page)){
    background-color:#bec1e7!important;
    background-image:var(--app-wallpaper,none),linear-gradient(112deg,#f4d7e9 0%,#e5def9 49%,#99d9f3 100%)!important;
    background-position:center center,center center!important;
    background-size:cover,cover!important;
    background-attachment:fixed,fixed!important;
    background-repeat:no-repeat,no-repeat!important;
  }
}

/* Não modificar os painéis internos; eles preservam seus próprios fundos. */

html body.dock-manual-layout > #dock-manual-toggle{
  display:grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  width:44px!important;
  min-width:44px!important;
  max-width:44px!important;
  height:54px!important;
  min-height:54px!important;
  max-height:54px!important;
  padding:0!important;
  margin:0!important;
  color:#55caff!important;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  outline-offset:3px!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
  z-index:955!important;
}
html body.dock-manual-layout > #dock-manual-toggle::before,
html body.dock-manual-layout > #dock-manual-toggle::after{
  display:none!important;
  content:none!important;
}
html body.dock-manual-layout > #dock-manual-toggle .dock-manual-icon{
  display:block!important;
  width:42px!important;
  height:46px!important;
  font-size:0!important;
  line-height:0!important;
  pointer-events:none!important;
}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-svg{
  display:block!important;
  width:42px!important;
  height:46px!important;
  margin:0!important;
  overflow:visible!important;
  transform-origin:50% 50%!important;
  transition:transform .28s cubic-bezier(.2,.75,.2,1)!important;
}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron path{
  stroke:url(#msnbot-dock-led-v502);
  stroke-width:3.1;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:4 1.8;
  animation:dock-led-glow-v502 3.6s ease-in-out infinite;
}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron{
  transform-origin:center;
  animation:dock-led-float-v502 2.2s ease-in-out infinite;
  will-change:transform;
}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-sm{
  animation-delay:-.5s;
}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-md{
  animation-delay:-.18s;
}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-lg{
  animation-delay:.14s;
}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-sm path{animation-delay:-.6s;stroke-width:2.8}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-md path{animation-delay:-.3s;stroke-width:3}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-lg path{animation-delay:0s;stroke-width:3.2}

/* Direção sempre acompanha a posição e o estado do Dock. */
html body.dock-manual-layout #dock-manual-toggle[data-dock-direction="bottom"][data-dock-collapsed="1"] .dock-led-svg{
  transform:rotate(180deg)!important;
}
html body.dock-manual-layout #dock-manual-toggle[data-dock-direction="left"][data-dock-collapsed="0"] .dock-led-svg{
  transform:rotate(90deg)!important;
}
html body.dock-manual-layout #dock-manual-toggle[data-dock-direction="left"][data-dock-collapsed="1"] .dock-led-svg{
  transform:rotate(-90deg)!important;
}
html body.dock-manual-layout #dock-manual-toggle[data-dock-direction="right"][data-dock-collapsed="0"] .dock-led-svg{
  transform:rotate(-90deg)!important;
}
html body.dock-manual-layout #dock-manual-toggle[data-dock-direction="right"][data-dock-collapsed="1"] .dock-led-svg{
  transform:rotate(90deg)!important;
}

@keyframes dock-led-float-v502{
  0%,100%{transform:translateY(-1px);opacity:.82}
  45%{transform:translateY(1.4px);opacity:1}
  70%{transform:translateY(0);opacity:.95}
}
@keyframes dock-led-glow-v502{
  0%,100%{filter:hue-rotate(0deg) drop-shadow(0 0 1.6px rgba(37,215,255,.5));stroke-dashoffset:0;opacity:.92}
  25%{filter:hue-rotate(95deg) drop-shadow(0 0 3.2px rgba(142,103,255,.8));stroke-dashoffset:-5;opacity:1}
  55%{filter:hue-rotate(200deg) drop-shadow(0 0 4.8px rgba(79,215,255,.9));stroke-dashoffset:-11;opacity:1}
  82%{filter:hue-rotate(300deg) drop-shadow(0 0 2.8px rgba(150,98,255,.7));stroke-dashoffset:-16;opacity:.9}
}
/* Tema claro mantém contraste mantendo o mesmo desenho. */
html[data-theme="light"] body.dock-manual-layout > #dock-manual-toggle,
html[data-theme="auto"] body.dock-manual-layout > #dock-manual-toggle{
  color:#1b61c7!important;
}
html body.dock-manual-layout > #dock-manual-toggle:focus-visible{
  outline:2px solid #3a9fff!important;
  outline-offset:2px!important;
  border-radius:9px!important;
}

/* Desktop: aparece ao entrar no Dock e quando fechado para reabrir. */
@media screen and (min-width:601px){
  html body.dock-manual-layout.dock-manual-open > #dock-manual-toggle{
    width:44px!important;height:54px!important;
    min-height:54px!important;max-height:54px!important;
    min-width:44px!important;max-width:44px!important;
    transform:translateY(-50%)!important;
  }
  html body.dock-manual-layout.dock-manual-open > #dock-manual-toggle:is(:hover,:focus-visible){
    transform:translateY(-50%) scale(1.07)!important;
  }
  html body.dock-manual-layout.dock-manual-hidden > #dock-manual-toggle{
    left:50%!important;right:auto!important;
    top:auto!important;bottom:6px!important;
    width:44px!important;min-width:44px!important;max-width:44px!important;
    height:45px!important;min-height:45px!important;max-height:45px!important;
    border:0!important;border-radius:0!important;background:transparent!important;
    opacity:1!important;visibility:visible!important;
    transform:translateX(-50%)!important;
  }
  html body.dock-manual-layout.dock-manual-hidden.dock-pos-left > #dock-manual-toggle{
    left:4px!important;right:auto!important;
    top:50%!important;bottom:auto!important;
    transform:translateY(-50%)!important;
  }
  html body.dock-manual-layout.dock-manual-hidden.dock-pos-right > #dock-manual-toggle{
    left:auto!important;right:4px!important;
    top:50%!important;bottom:auto!important;
    transform:translateY(-50%)!important;
  }
}
/* No celular o toque substitui o hover. O mesmo controle recolhe e reabre. */
@media screen and (max-width:600px){
  html body.dock-manual-layout > #dock-manual-toggle{
    display:grid!important;
    position:fixed!important;
    left:50%!important;right:auto!important;top:auto!important;
    bottom:var(--dock-led-mobile-bottom,74px)!important;
    transform:translateX(-50%)!important;
    width:44px!important;height:48px!important;
    min-width:44px!important;max-width:44px!important;
    min-height:48px!important;max-height:48px!important;
    opacity:1!important;visibility:visible!important;
    pointer-events:auto!important;
  }
  html body.dock-manual-layout.dock-manual-hidden > #dock-manual-toggle{
    display:grid!important;
    bottom:max(8px,env(safe-area-inset-bottom,0px))!important;
    opacity:1!important;visibility:visible!important;
  }
  html body.dock-manual-layout.dock-manual-hidden > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateX(-50%) translateY(calc(100% + 80px))!important;
  }
  html body.dock-manual-layout.dock-manual-open > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateX(-50%)!important;
  }
  /* No Bate-Papo mobile, o Dock se oculta intencionalmente ao abrir uma conversa. */
  html body:has(.msn-v33-shell.has-contact) > #dock-manual-toggle{
    display:none!important;
  }
}

@media (prefers-reduced-motion:reduce){
  html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron,
  html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron path{
    animation:none!important;filter:none!important;
  }
  html body.dock-manual-layout > #dock-manual-toggle .dock-led-svg{
    transition:none!important;
  }
}
/* Desativa somente o puxador legado enquanto o controle manual está ativo. */
html body.dock-manual-layout > .dock-reveal-handle{
  display:none!important;
}

/* Linha sólida de cor dinâmica + pequeno brilho percorrendo cada seta. */
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron path.dock-led-base{
  stroke-dasharray:none!important;
  stroke-dashoffset:0!important;
}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron path.dock-led-spark{
  stroke:#e2ffff!important;
  stroke-dasharray:3 150!important;
  stroke-linecap:round!important;
  stroke-width:3.6!important;
  filter:drop-shadow(0 0 3px #9be8ff);
  animation:dock-led-spark-v502 2.8s linear infinite!important;
  opacity:0;
}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-sm{--dock-led-spark-end:-12}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-md{--dock-led-spark-end:-24}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-lg{--dock-led-spark-end:-38}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-sm .dock-led-spark{animation-delay:-.3s!important}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-md .dock-led-spark{animation-delay:-.65s!important}
html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron-lg .dock-led-spark{animation-delay:-1s!important}
@keyframes dock-led-spark-v502{
  0%{stroke-dashoffset:1;opacity:0}
  9%{opacity:1}
  70%{opacity:1}
  95%,100%{stroke-dashoffset:var(--dock-led-spark-end);opacity:0}
}
@media(prefers-reduced-motion:reduce){
  html body.dock-manual-layout > #dock-manual-toggle .dock-led-chevron path.dock-led-spark{animation:none!important;opacity:0!important}
}
/* Melhor contraste do traço azul/ciano sobre fundos claros. */
html:not([data-theme="dark"]) body.dock-manual-layout #dock-manual-toggle .dock-led-svg stop:nth-child(1){stop-color:#0861b7!important}
html:not([data-theme="dark"]) body.dock-manual-layout #dock-manual-toggle .dock-led-svg stop:nth-child(2){stop-color:#3795db!important}
html:not([data-theme="dark"]) body.dock-manual-layout #dock-manual-toggle .dock-led-svg stop:nth-child(3){stop-color:#174ec6!important}
html:not([data-theme="dark"]) body.dock-manual-layout #dock-manual-toggle .dock-led-svg stop:nth-child(4){stop-color:#8753d5!important}
html:not([data-theme="dark"]) body.dock-manual-layout #dock-manual-toggle .dock-led-svg stop:nth-child(5){stop-color:#157ab7!important}


/* source: /assets/msnbot-nine-apps-viewport-v503.css */
/* MSNBOT v5.0.3 — painéis até o Dock, sem faixas inferiores.
 * Referência aprovada: Utilitários, Bate-Papo, Fluxos e Campanhas.
 * Escopo: Painel, Transmissão, Audiência, Agenda, Chat Equipe,
 * Tarefas, Kanban, Cobranças e Configurações.
 * Não modifica os quatro módulos de referência nem os elementos do Dock.
 */

/* Os nove aplicativos utilizam exatamente a viewport disponível.
   O fundo sob o Dock é o mesmo papel de parede já usado acima. */
html body > main.page:not(.auth-page):is(
  :has(> .d43-dashboard),
  :has(> .broadcast-unified-toolbar),
  :has(> .audience-headbar),
  :has(> .schedule-timeline-app),
  :has(> .internal-chat-hero),
  :has(> .tasks-workspace-v500),
  :has(> .kanban-live-root),
  :has(> .billing-vnext),
  :has(> .settings-hero)
){
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:0!important;
  min-width:0!important;
  min-height:0!important;
  padding-bottom:0!important;
  margin-bottom:0!important;
  background-color:transparent!important;
  background-image:none!important;
  border-bottom:0!important;
}

/* A reserva para o Dock sempre coincide com a sua própria altura.
   Nada de uma segunda barra de cor atrás ou ao lado da cápsula. */
@media screen and (min-width:601px){
  html body.dock-pos-bottom.dock-manual-open > main.page:not(.auth-page):is(
    :has(> .d43-dashboard),:has(> .broadcast-unified-toolbar),
    :has(> .audience-headbar),:has(> .schedule-timeline-app),
    :has(> .internal-chat-hero),:has(> .tasks-workspace-v500),
    :has(> .kanban-live-root),:has(> .billing-vnext),
    :has(> .settings-hero)
  ){
    height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px) - env(safe-area-inset-bottom,0px))!important;
    max-height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px) - env(safe-area-inset-bottom,0px))!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }
}
/* Telas de celular: Dock permanece visível e não tem seta de ocultação. */
@media screen and (max-width:600px){
  html body > #dock-manual-toggle,
  html body.dock-manual-layout > #dock-manual-toggle,
  html body > .dock-reveal-handle{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  html body > main.page:not(.auth-page):is(
    :has(> .d43-dashboard),:has(> .broadcast-unified-toolbar),
    :has(> .audience-headbar),:has(> .schedule-timeline-app),
    :has(> .internal-chat-hero),:has(> .tasks-workspace-v500),
    :has(> .kanban-live-root),:has(> .billing-vnext),
    :has(> .settings-hero)
  ){
    height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v451-dock-height,72px) - env(safe-area-inset-bottom,0px))!important;
    max-height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v451-dock-height,72px) - env(safe-area-inset-bottom,0px))!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    margin-bottom:0!important;
  }
  /* Recupera a navegação nos nove módulos mesmo com autohide legado.
     Os quatro aplicativos de referência preservam seu próprio comportamento. */
  html body:has(> main.page:not(.auth-page) > :is(
    .d43-dashboard,.broadcast-unified-toolbar,.audience-headbar,
    .schedule-timeline-app,.internal-chat-hero,.tasks-workspace-v500,
    .kanban-live-root,.billing-vnext,.settings-hero
  )) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    transform:translateX(-50%)!important;
  }
}

/* PAINEL: preenche a área restante, com rolagem dos indicadores. */
html body > main.page:not(.auth-page) > .d43-dashboard.d44-dashboard{
  box-sizing:border-box!important;
  flex:1 0 auto!important;
  width:100%!important;
  min-height:100%!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}
html body > main.page:not(.auth-page) .d43-dashboard > .dashboard-health-bottom{
  margin-top:auto!important;
  margin-bottom:0!important;
}

/* TRANSMISSÃO: quadro principal alcança o Dock mesmo sem transmissões. */
html body > main.page:not(.auth-page) > .broadcast-unified-toolbar{
  flex:0 0 auto!important;
}
html body > main.page:not(.auth-page) > .broadcast-shell{
  box-sizing:border-box!important;
  display:grid!important;
  flex:1 1 auto!important;
  min-height:0!important;
  grid-template-rows:minmax(0,1fr)!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}
html body > main.page:not(.auth-page) > .broadcast-shell > :is(.broadcast-list-card,.broadcast-detail-card){
  box-sizing:border-box!important;
  min-height:100%!important;
  max-height:100%!important;
  overflow-y:auto!important;
}
html body > main.page:not(.auth-page) > .broadcast-shell .broadcast-empty{
  min-height:250px!important;
}

/* AUDIÊNCIA: filtros e lista seguem a mesma altura útil até o topo do Dock. */
html body > main.page:not(.auth-page) > .audience-headbar{
  flex:0 0 auto!important;
}
html body > main.page:not(.auth-page) > .audience-shell{
  box-sizing:border-box!important;
  flex:1 1 auto!important;
  min-height:0!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
  align-items:stretch!important;
}
html body > main.page:not(.auth-page) > .audience-shell > .audience-list-panel{
  box-sizing:border-box!important;
  height:100%!important;
  max-height:100%!important;
  min-height:0!important;
}
html body > main.page:not(.auth-page) > .audience-shell > .audience-filter-panel{
  min-height:0!important;
  max-height:100%!important;
  overflow-y:auto!important;
}

/* AGENDA: calendário rolável até encostar no Dock; manter todos os eventos. */
html body > main.page:not(.auth-page) > .schedule-timeline-app{
  box-sizing:border-box!important;
  flex:1 1 auto!important;
  height:auto!important;
  max-height:none!important;
  min-height:0!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}
html body > main.page:not(.auth-page) > .schedule-timeline-app > .timeline-calendar{
  flex:1 1 auto!important;
  min-height:0!important;
  margin-bottom:0!important;
}

/* CHAT EQUIPE: conversa e lista conservam rolagem interna. */
html body > main.page:not(.auth-page) > .internal-chat-hero{
  flex:0 0 auto!important;
}
html body > main.page:not(.auth-page) > .internal-chat-shell{
  box-sizing:border-box!important;
  flex:1 1 auto!important;
  min-height:0!important;
  margin-bottom:0!important;
}
html body > main.page:not(.auth-page) > .internal-chat-shell > :is(.internal-chat-main,.internal-chat-sidebar){
  box-sizing:border-box!important;
  min-height:0!important;
  max-height:100%!important;
}
html body > main.page:not(.auth-page) > .internal-chat-shell .internal-messages{
  min-height:0!important;
  overflow-y:auto!important;
}

/* TAREFAS: a lista ocupa o restante da janela. */
html body > main.page:not(.auth-page) > .tasks-workspace-v500{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}
html body > main.page:not(.auth-page) .tasks-workspace-v500 > .tasks-shell{
  display:flex!important;
  flex:1 1 auto!important;
  min-height:0!important;
  flex-direction:column!important;
}
html body > main.page:not(.auth-page) .tasks-workspace-v500 .task-list-card{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow-y:auto!important;
  margin-bottom:0!important;
}

/* KANBAN: as colunas, sem alterar seus cartões, chegam ao Dock. */
html body > main.page:not(.auth-page) > .kanban-live-root > .kanban-modern-head{
  flex:0 0 auto!important;
}
html body > main.page:not(.auth-page) > .kanban-live-root > .kanban-modern-board-wrap{
  flex:1 1 auto!important;
  min-height:0!important;
  max-height:100%!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}
html body > main.page:not(.auth-page) > .kanban-live-root > .kanban-modern-board-wrap > .kanban-board{
  min-height:100%!important;
  height:100%!important;
  max-height:100%!important;
}
html body > main.page:not(.auth-page) .kanban-live-root .kanban-modern-board-wrap .kanban-column{
  height:100%!important;
  min-height:100%!important;
}

/* COBRANÇAS: carteira e filtros seguem até a base. Popups não são afetados. */
html body > main.page:not(.auth-page) > .billing-vnext{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}
html body > main.page:not(.auth-page) > .billing-vnext > .billing-vnext-layout{
  flex:1 1 auto!important;
  min-height:0!important;
}
html body > main.page:not(.auth-page) .billing-vnext-clients{
  min-height:0!important;
  height:100%!important;
  overflow-y:auto!important;
}

/* CONFIGURAÇÕES: mantém abas e formulários acessíveis via rolagem. */
html body > main.page:not(.auth-page) > .settings-hero{
  flex:0 0 auto!important;
}
html body > main.page:not(.auth-page) > .settings-shell{
  box-sizing:border-box!important;
  flex:1 1 auto!important;
  min-height:0!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
}
html body > main.page:not(.auth-page) .settings-shell > .settings-content{
  min-height:0!important;
  overflow-y:auto!important;
}

/* No mobile, preserve a rolagem vertical de módulos compridos;
   nunca comprima a altura de botões, cards ou campos. */
@media screen and (max-width:600px){
  html body > main.page:not(.auth-page) > :is(
    .d43-dashboard,.broadcast-shell,.audience-shell,.schedule-timeline-app,
    .internal-chat-shell,.tasks-workspace-v500,.kanban-live-root,
    .billing-vnext,.settings-shell
  ){
    min-width:0!important;
    max-width:100%!important;
  }
  html body > main.page:not(.auth-page) > .settings-shell,
  html body > main.page:not(.auth-page) > .billing-vnext,
  html body > main.page:not(.auth-page) > .internal-chat-shell{
    overflow-y:auto!important;
  }
}


/* Kanban possui invólucro display:contents: ambos os filhos participam do flex da página. */
html body > main.page:not(.auth-page) > .kanban-live-root{
  display:contents!important;
}
html body > main.page:not(.auth-page) > .kanban-live-root > .kanban-modern-board-wrap{
  display:block!important;
  flex:1 1 auto!important;
  min-height:0!important;
}

/* Agenda e Chat Equipe: manter a rolagem principal dentro da área de trabalho. */
html body > main.page:not(.auth-page):has(> .schedule-timeline-app){
  overflow:hidden!important;
}
html body > main.page:not(.auth-page):has(> .internal-chat-hero) > .internal-chat-shell .internal-chat-main{
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
}
@media screen and (max-width:600px){
  html body > main.page:not(.auth-page):has(> .schedule-timeline-app){
    overflow:hidden!important;
  }
}

/* Configurações usa grid com align-items:start por legado: esticar painel e menu. */
html body > main.page:not(.auth-page) > .settings-shell{
  align-items:stretch!important;
  grid-template-rows:minmax(0,1fr)!important;
}
html body > main.page:not(.auth-page) > .settings-shell > .settings-content{
  box-sizing:border-box!important;
  height:100%!important;
  max-height:100%!important;
  overflow-y:auto!important;
}
html body > main.page:not(.auth-page) > .settings-shell > .settings-nav{
  max-height:100%!important;
  overflow-y:auto!important;
}

/* Uniformiza a base dos grandes painéis com o TOPO da cápsula inferior.
   O acréscimo de 18px fazia o painel ultrapassar o teto do Dock e desenhava uma faixa horizontal.
   Não altere Fluxos, Campanhas, Utilitários e Bate-Papo, já corretos. */
@media screen and (min-width:601px) {
 html body.dock-manual-layout.dock-manual-open.dock-pos-bottom
 > main.page:not(.auth-page):is(
  :has(> .d43-dashboard),:has(> .broadcast-unified-toolbar),
  :has(> .audience-headbar),:has(> .schedule-timeline-app),
  :has(> .internal-chat-hero),:has(> .tasks-workspace-v500),
  :has(> .kanban-live-root),:has(> .billing-vnext),
  :has(> .settings-hero)
 ) {
  height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px) - env(safe-area-inset-bottom,0px))!important;
  max-height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px) - env(safe-area-inset-bottom,0px))!important;
  min-height:0!important;
  padding-bottom:0!important;
  margin-bottom:0!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
 }
}
/* Evita preencher o vazio inferior com a própria superfície da página. */
html body > main.page:not(.auth-page):is(
 :has(> .d43-dashboard),:has(> .broadcast-unified-toolbar),
 :has(> .audience-headbar),:has(> .schedule-timeline-app),
 :has(> .internal-chat-hero),:has(> .tasks-workspace-v500),
 :has(> .kanban-live-root),:has(> .billing-vnext),
 :has(> .settings-hero)
) {
 background:transparent!important;
 box-shadow:none!important;
 border-bottom:0!important;
}


/* source: /assets/msnbot-panel-broadcast-dock-seam-v504.css */
/* MSNBOT - seam do Dock: usar somente o wallpaper e o Dock globais.
   Sem pintura na regiao de reserva, incluindo tema claro/escuro/mobile.
   Os cards permanecem com os backgrounds das paginas. */
html body > main.page:not(.auth-page) {
  background-color:transparent!important;
  background-image:none!important;
  border-bottom:0!important;
  box-shadow:none!important;
}


/* source: /assets/msnbot-settings-no-seam-v505.css */
/* Configuracoes somente — elimina qualquer placa/blur estrutural que
   atravesse horizontalmente a regiao acima e atras do Dock.
   A altura do painel, cards, dialogs e o efeito genio ficam inalterados. */
html body:has(> main.page:not(.auth-page) > .settings-shell) > main.page:not(.auth-page),
html body:has(> main.page:not(.auth-page) > .settings-shell)
  > main.page:not(.auth-page) > .settings-shell {
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border-bottom:0!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  filter:none!important;
}
/* Os pseudo-elementos dos contêineres externos não devem formar segunda
   superfície translúcida; não afeta os elementos internos dos cards. */
html body:has(> main.page:not(.auth-page) > .settings-shell)
  > main.page:not(.auth-page)::before,
html body:has(> main.page:not(.auth-page) > .settings-shell)
  > main.page:not(.auth-page)::after,
html body:has(> main.page:not(.auth-page) > .settings-shell)
  > main.page:not(.auth-page) > .settings-shell::before,
html body:has(> main.page:not(.auth-page) > .settings-shell)
  > main.page:not(.auth-page) > .settings-shell::after {
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
/* Menu e conteudo mantêm sua geometria, mas sem blur herdado da
   estrutura (o wallpaper deve vir apenas do body/html). */
html body:has(> main.page:not(.auth-page) > .settings-shell)
  > main.page:not(.auth-page) > .settings-shell > :is(.settings-nav,.settings-content) {
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}


/* source: /assets/msnbot-mobile-dock-viewport-lock-v505.css */
/* Única âncora do Dock mobile, consistente com Campanhas.
   A combinação anterior left:6px + translateX(-50%) deslocava tudo.
   Fixar o eixo x em todos os estados, sem deslocar o trilho rolável. */
@media screen and (max-width:600px) {
 html body:not(:has(main.auth-page))
 > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel {
   position:fixed!important;
   display:block!important;
   box-sizing:border-box!important;
   left:50%!important;
   right:auto!important;
   width:calc(100vw - 12px)!important;
   max-width:520px!important;
   min-width:0!important;
   margin:0!important;
   transform:translateX(-50%)!important;
   -webkit-transform:translateX(-50%)!important;
   transform-origin:center bottom!important;
 }
 html body.dock-autohide:not(.dock-peek):not(:has(main.auth-page))
 > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel,
 html body.dock-manual-layout.dock-manual-hidden:not(:has(main.auth-page))
 > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel {
   transform:translate(-50%,calc(100% + 80px))!important;
   -webkit-transform:translate(-50%,calc(100% + 80px))!important;
 }
 html body.dock-autohide.dock-peek:not(:has(main.auth-page))
 > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel,
 html body.dock-manual-layout.dock-manual-open:not(:has(main.auth-page))
 > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel {
   transform:translateX(-50%)!important;
   -webkit-transform:translateX(-50%)!important;
 }
}


/* source: /assets/msnbot-page-dock-alignment-v506.css */
/* MSNBOT 5.0.6 — revisão por módulo da geometria ao redor do Dock.
   Padrão: dock flutuante, fundos laterais iguais ao wallpaper do body,
   sem barra contínua, painel principal até o teto do Dock.
   Não altera a posição, as dimensões ou as animações do Dock.
   Campanhas, Fluxos, Utilitários e Bate-Papo são referências preservadas. */

/* Mantém transparentes exclusivamente os envoltórios, sem apagar
   o acabamento de cards, cabeçalhos, tabelas, filtros ou formulários. */
html body > main.page:not(.auth-page):is(
 :has(> .d43-dashboard),
 :has(> .broadcast-unified-toolbar),
 :has(> .audience-headbar),
 :has(> .schedule-timeline-app),
 :has(> .internal-chat-hero),
 :has(> .tasks-workspace-v500),
 :has(> .kanban-live-root),
 :has(> .billing-vnext),
 :has(> .settings-hero),
 :has(> .automation-hero)
) {
 background:transparent!important;
 background-image:none!important;
 border-bottom:0!important;
 box-shadow:none!important;
 min-width:0!important;
}
html body > main.page:not(.auth-page) > :is(
 .broadcast-shell,.audience-shell,.schedule-timeline-app,
 .internal-chat-shell,.tasks-workspace-v500,.kanban-modern-board-wrap,
 .billing-vnext,.settings-shell,.automation-shell
) {
 background:transparent!important;
 background-image:none!important;
 border-bottom:0!important;
 box-shadow:none!important;
 min-width:0!important;
}

/* 01 Painel: o workspace usa toda a altura de main; gráficos rolam
   normalmente, sem uma nova superfície ao nível do Dock. */
html body > main.page:not(.auth-page) > .d43-dashboard.d44-dashboard {
 box-sizing:border-box!important;
 flex:1 0 auto!important;
 min-height:100%!important;
 margin-bottom:0!important;
}

/* 02 Transmissão: a lista e o detalhe têm a mesma base inferior. */
@media (min-width:761px) {
 html body > main.page:not(.auth-page) > .broadcast-shell {
  grid-template-rows:minmax(0,1fr)!important;
  align-items:stretch!important;
 }
 html body > main.page:not(.auth-page) > .broadcast-shell > :is(.broadcast-list-card,.broadcast-detail-card) {
  min-height:0!important;
  height:100%!important;
  max-height:100%!important;
  margin-bottom:0!important;
  box-sizing:border-box!important;
 }
}

/* 03 Audiência: painel de contatos esticado sem alterar cartões. */
@media (min-width:761px) {
 html body > main.page:not(.auth-page) > .audience-shell {
  grid-template-rows:minmax(0,1fr)!important;
  align-items:stretch!important;
  min-height:0!important;
 }
 html body > main.page:not(.auth-page) > .audience-shell > .audience-list-panel {
  height:100%!important;
  max-height:100%!important;
  min-height:0!important;
  box-sizing:border-box!important;
 }
}

/* 04 Agenda: apenas o calendário ocupa o espaço restante.
   Visões Dia, Semana, Mês e Ano mantêm sua própria rolagem. */
@media (min-width:761px) {
 html body > main.page:not(.auth-page) > .schedule-timeline-app {
  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-height:0!important;
  margin-bottom:0!important;
 }
 html body > main.page:not(.auth-page) > .schedule-timeline-app > .timeline-calendar {
  flex:1 1 auto!important;
  min-height:0!important;
 }
}

/* 05 Chat Equipe: rolagem das conversas fica dentro de seus painéis. */
@media (min-width:761px) {
 html body > main.page:not(.auth-page) > .internal-chat-shell {
  grid-template-rows:minmax(0,1fr)!important;
  align-items:stretch!important;
 }
 html body > main.page:not(.auth-page) > .internal-chat-shell > :is(.internal-chat-sidebar,.internal-chat-main){
  min-height:0!important;
  height:100%!important;
  max-height:100%!important;
 }
}

/* 06 Tarefas: somente a lista cresce para encontrar o limite do Dock. */
@media (min-width:761px) {
 html body > main.page:not(.auth-page) > .tasks-workspace-v500 {
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
 }
 html body > main.page:not(.auth-page) .tasks-workspace-v500 > .tasks-shell {
  flex:1 1 auto!important;
  min-height:0!important;
 }
 html body > main.page:not(.auth-page) .tasks-workspace-v500 .task-list-card {
  flex:1 1 auto!important;
  min-height:0!important;
  margin-bottom:0!important;
 }
}

/* 07 Kanban: não alterar as colunas ou a rolagem horizontal do quadro. */
@media (min-width:761px) {
 html body > main.page:not(.auth-page) > .kanban-live-root > .kanban-modern-board-wrap {
  min-height:0!important;
  flex:1 1 auto!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
  background:transparent!important;
  box-shadow:none!important;
 }
}

/* 08 Cobranças: a lista de clientes preenche a altura sem deslocar filtros. */
@media (min-width:761px) {
 html body > main.page:not(.auth-page) > .billing-vnext > .billing-vnext-layout {
  min-height:0!important;
  flex:1 1 auto!important;
  align-items:stretch!important;
 }
 html body > main.page:not(.auth-page) .billing-vnext-clients {
  min-height:0!important;
  max-height:100%!important;
  margin-bottom:0!important;
 }
}

/* 09 Configurações: preservar o encaixe já corrigido das abas e conteúdo. */
@media (min-width:761px) {
 html body > main.page:not(.auth-page) > .settings-shell {
  flex:1 1 auto!important;
  min-height:0!important;
  grid-template-rows:minmax(0,1fr)!important;
  align-items:stretch!important;
  margin-bottom:0!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > :is(.settings-nav,.settings-content) {
  max-height:100%!important;
  min-height:0!important;
 }
}

/* 10 Automação: não constava no ajuste anterior.
   Abrange Palavras-chave, Sequências e Webhooks. */
html body > main.page:not(.auth-page):has(> .automation-hero) {
 box-sizing:border-box!important;
 display:flex!important;
 flex-direction:column!important;
 align-items:stretch!important;
 gap:0!important;
 min-height:0!important;
 padding-bottom:0!important;
 margin-bottom:0!important;
}
html body > main.page:not(.auth-page) > :is(.automation-hero,.automation-tabs) {
 flex:0 0 auto!important;
}
html body > main.page:not(.auth-page) > .automation-shell {
 box-sizing:border-box!important;
 flex:1 1 auto!important;
 min-height:0!important;
 margin-bottom:0!important;
 align-items:stretch!important;
}
@media (min-width:761px) {
 html body.dock-pos-bottom.dock-manual-open
   > main.page:not(.auth-page):has(> .automation-hero) {
  height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px) - env(safe-area-inset-bottom,0px))!important;
  max-height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px) - env(safe-area-inset-bottom,0px))!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
 }
 html body > main.page:not(.auth-page) > .automation-shell {
  grid-template-rows:minmax(0,1fr)!important;
 }
 html body > main.page:not(.auth-page) > .automation-shell > .automation-card {
  min-height:0!important;
  align-self:stretch!important;
 }
}

/* Smartphone: não modificar o posicionamento global do Dock já validado.
   O fundo continua exclusivamente no body e as listas podem rolar. */
@media (max-width:600px) {
 html body > main.page:not(.auth-page):has(> .automation-hero) {
  height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v451-dock-height,72px) - env(safe-area-inset-bottom,0px))!important;
  max-height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v451-dock-height,72px) - env(safe-area-inset-bottom,0px))!important;
  overflow-y:auto!important;
 }
 html body > main.page:not(.auth-page) > .automation-shell {
  flex:0 0 auto!important;
  min-height:0!important;
 }
}


/* source: /assets/msnbot-automation-dock-exact-v506.css */
/* Somente Automação: elimina a quebra de fundo no final do body,
   sem alterar cores, paredes de cartões ou geometria do Dock. */
@media screen and (min-width:761px){
 html body:has(> main.page:not(.auth-page) > .automation-hero){
  min-height:100dvh!important;
  background-repeat:no-repeat!important;
 }
 /* A altura real até a borda superior do Dock é medida na viewport pelo JS;
    o valor padrão só serve antes da primeira medida. */
 html body.dock-pos-bottom.dock-manual-open
   > main.page:not(.auth-page):has(> .automation-hero){
  height:var(--automation-main-to-dock-height,calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px)))!important;
  max-height:var(--automation-main-to-dock-height,calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px)))!important;
  min-height:0!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
  background:transparent!important;
  background-image:none!important;
  border-bottom:0!important;
  box-shadow:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
 }
 html body > main.page:not(.auth-page):has(> .automation-hero)
   > .automation-shell {
  flex:1 1 auto!important;
  min-height:0!important;
  margin-bottom:0!important;
  padding-bottom:0!important;
  background:transparent!important;
  box-shadow:none!important;
 }
 html body > main.page:not(.auth-page):has(> .automation-hero)
   > .automation-shell > .automation-card {
  min-height:0!important;
  max-height:100%!important;
  align-self:stretch!important;
  margin-bottom:0!important;
 }
}


/* source: /assets/msnbot-kanban-dock-exact-v506.css */
/* Kanban apenas: parede do Dock flutua sobre o wallpaper, sem tapete
   horizontal/translucidez no rodapé. Não muda a cápsula do Dock nem seus ícones. */
html body:has(> main.page:not(.auth-page) > .kanban-live-root) {
 min-height:100dvh!important;
}
html body > main.page:not(.auth-page):has(> .kanban-live-root) {
 box-sizing:border-box!important;
 background:transparent!important;
 background-color:transparent!important;
 background-image:none!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
 filter:none!important;
 border-bottom:0!important;
 box-shadow:none!important;
}
html body > main.page:not(.auth-page):has(> .kanban-live-root)::before,
html body > main.page:not(.auth-page):has(> .kanban-live-root)::after {
 content:none!important;
 display:none!important;
 background:transparent!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
}
html body > main.page:not(.auth-page):has(> .kanban-live-root)
 > .kanban-live-root > .kanban-modern-board-wrap {
 background:transparent!important;
 background-image:none!important;
 backdrop-filter:none!important;
 -webkit-backdrop-filter:none!important;
 border-bottom:0!important;
 box-shadow:none!important;
}
@media screen and (min-width:761px){
 html body.dock-pos-bottom.dock-manual-open
 > main.page:not(.auth-page):has(> .kanban-live-root){
   height:var(--kanban-main-to-dock-height,calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px)))!important;
   max-height:var(--kanban-main-to-dock-height,calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px)))!important;
   min-height:0!important;
   padding-bottom:0!important;
   margin-bottom:0!important;
   overflow-x:hidden!important;
   overflow-y:auto!important;
 }
 /* O invólucro kanban-live-root é display:contents; os dois filhos
    entram diretamente no flex container da página. */
 html body > main.page:not(.auth-page):has(> .kanban-live-root)
 > .kanban-live-root > .kanban-modern-head {
   flex:0 0 auto!important;
 }
 html body > main.page:not(.auth-page):has(> .kanban-live-root)
 > .kanban-live-root > .kanban-modern-board-wrap {
   display:flex!important;
   flex-direction:column!important;
   flex:1 1 auto!important;
   min-height:0!important;
   height:auto!important;
   max-height:none!important;
   margin-bottom:0!important;
   padding-bottom:0!important;
 }
 html body > main.page:not(.auth-page):has(> .kanban-live-root)
 > .kanban-live-root > .kanban-modern-board-wrap > .kanban-board {
   box-sizing:border-box!important;
   flex:1 1 auto!important;
   min-height:0!important;
   height:100%!important;
   max-height:100%!important;
   padding-bottom:0!important;
   margin-bottom:0!important;
   align-items:stretch!important;
 }
 html body > main.page:not(.auth-page):has(> .kanban-live-root)
 > .kanban-live-root .kanban-modern-board-wrap .kanban-column {
   box-sizing:border-box!important;
   height:100%!important;
   min-height:0!important;
   max-height:100%!important;
   margin-bottom:0!important;
 }
}


/* source: /assets/msnbot-tablet-dock-alignment-v506.css */
/* TABLET exclusivamente (601–1100px).
 * Nenhuma regra altera a cápsula do Dock, o desktop ou smartphones <=600px.
 * Reserva inferior = distância REAL entre main e Dock visível, medida por JS. */
@media screen and (min-width:601px) and (max-width:1100px) {
 html body:not(:has(main.auth-page)) {
   min-height:100dvh!important;
   background-repeat:no-repeat!important;
 }
 /* Bloqueia o antigo tapete translúcido: somente o wallpaper global
    preenche a área da viewport em torno da cápsula. */
 html body.dock-manual-layout.dock-manual-open.dock-pos-bottom
   > main.page:not(.auth-page):not(:has(.msn-v33-shell)):not(:has(#flow-editor-app)) {
   box-sizing:border-box!important;
   height:var(--msnbot-tablet-dock-main-height,calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px)))!important;
   max-height:var(--msnbot-tablet-dock-main-height,calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px)))!important;
   min-height:0!important;
   margin-bottom:0!important;
   padding-bottom:0!important;
   overflow-x:hidden!important;
   overflow-y:auto!important;
   background:transparent!important;
   background-image:none!important;
   border-bottom:0!important;
   box-shadow:none!important;
   backdrop-filter:none!important;
   -webkit-backdrop-filter:none!important;
   filter:none!important;
   transition:none!important;
 }
 html body.dock-manual-layout.dock-manual-open.dock-pos-bottom
  > main.page:not(.auth-page):not(:has(.msn-v33-shell)):not(:has(#flow-editor-app))::before,
 html body.dock-manual-layout.dock-manual-open.dock-pos-bottom
  > main.page:not(.auth-page):not(:has(.msn-v33-shell)):not(:has(#flow-editor-app))::after {
   display:none!important;
   content:none!important;
   background:transparent!important;
   backdrop-filter:none!important;
   -webkit-backdrop-filter:none!important;
   box-shadow:none!important;
 }
 /* Apenas wrappers: cartões mantêm suas cores e transparências originais. */
 html body > main.page:not(.auth-page) > :is(
   .audience-shell,.broadcast-shell,.schedule-timeline-app,
   .internal-chat-shell,.tasks-workspace-v500,.settings-shell,
   .billing-vnext,.automation-shell,.kanban-modern-board-wrap
 ) {
   background:transparent!important;
   background-image:none!important;
   box-shadow:none!important;
   border-bottom:0!important;
   backdrop-filter:none!important;
   -webkit-backdrop-filter:none!important;
   min-height:0!important;
   margin-bottom:0!important;
   padding-bottom:0!important;
 }
 html body > main.page:not(.auth-page):is(
  :has(> .d43-dashboard),:has(> .audience-headbar),
  :has(> .broadcast-unified-toolbar),:has(> .schedule-timeline-app),
  :has(> .internal-chat-hero),:has(> .tasks-workspace-v500),
  :has(> .kanban-live-root),:has(> .billing-vnext),
  :has(> .settings-hero),:has(> .automation-hero)
 ) {
   display:flex!important;
   flex-direction:column!important;
   align-items:stretch!important;
   min-height:0!important;
 }
 /* O conjunto principal preenche a área restante até o teto do Dock. */
 html body > main.page:not(.auth-page) > :is(
  .audience-shell,.broadcast-shell,.schedule-timeline-app,
  .internal-chat-shell,.tasks-workspace-v500,.billing-vnext,
  .settings-shell,.automation-shell
 ) {
   flex:1 1 auto!important;
   min-height:0!important;
   margin-bottom:0!important;
 }
 /* Audiência / Transmissão. */
 html body > main.page:not(.auth-page) > .audience-shell > .audience-list-panel {
   box-sizing:border-box!important;
   height:100%!important;
   max-height:100%!important;
   min-height:0!important;
 }
 html body > main.page:not(.auth-page) > .broadcast-shell {
   align-items:stretch!important;
   grid-template-rows:minmax(0,1fr)!important;
 }
 html body > main.page:not(.auth-page) > .broadcast-shell > :is(.broadcast-list-card,.broadcast-detail-card) {
   box-sizing:border-box!important;
   min-height:0!important;
   height:100%!important;
   max-height:100%!important;
   overflow-y:auto!important;
 }
 /* Agenda / Chat Equipe / Tarefas: rolamentos internos funcionam. */
 html body > main.page:not(.auth-page) > .schedule-timeline-app {
   display:flex!important;
   flex-direction:column!important;
 }
 html body > main.page:not(.auth-page) > .schedule-timeline-app > .timeline-calendar {
   flex:1 1 auto!important;
   min-height:0!important;
 }
 html body > main.page:not(.auth-page) > .internal-chat-shell {
   grid-template-rows:minmax(0,1fr)!important;
   align-items:stretch!important;
 }
 html body > main.page:not(.auth-page) > .internal-chat-shell > :is(.internal-chat-main,.internal-chat-sidebar) {
   min-height:0!important;
   max-height:100%!important;
 }
 html body > main.page:not(.auth-page) > .tasks-workspace-v500 {
   display:flex!important;
   flex-direction:column!important;
 }
 html body > main.page:not(.auth-page) > .tasks-workspace-v500 .tasks-shell,
 html body > main.page:not(.auth-page) > .tasks-workspace-v500 .task-list-card {
   flex:1 1 auto!important;
   min-height:0!important;
   margin-bottom:0!important;
 }
 /* Kanban: #kanban-live-root tem display:contents; preservar swipe. */
 html body > main.page:not(.auth-page) > .kanban-live-root > .kanban-modern-board-wrap {
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:column!important;
   flex:1 1 auto!important;
   min-height:0!important;
   margin-bottom:0!important;
   padding-bottom:0!important;
   background:transparent!important;
   box-shadow:none!important;
 }
 html body > main.page:not(.auth-page) > .kanban-live-root > .kanban-modern-board-wrap > .kanban-board {
   flex:1 1 auto!important;
   height:100%!important;
   min-height:0!important;
   max-height:100%!important;
   margin-bottom:0!important;
   padding-bottom:0!important;
   align-items:stretch!important;
 }
 html body > main.page:not(.auth-page) .kanban-modern-board-wrap .kanban-column {
   height:100%!important;
   min-height:0!important;
   max-height:100%!important;
 }
 /* Cobranças e Configurações. */
 html body > main.page:not(.auth-page) > .billing-vnext > .billing-vnext-layout {
   flex:1 1 auto!important;
   min-height:0!important;
   align-items:stretch!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell {
   grid-template-rows:minmax(0,1fr)!important;
   align-items:stretch!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > :is(.settings-nav,.settings-content){
   min-height:0!important;
   max-height:100%!important;
 }
 html body > main.page:not(.auth-page) > .automation-shell {
   grid-template-rows:minmax(0,1fr)!important;
   align-items:stretch!important;
 }
 /* O painel é uma longa dashboard; a rolagem fica no main. */
 html body > main.page:not(.auth-page) > .d43-dashboard.d44-dashboard {
   flex:1 0 auto!important;
   min-height:100%!important;
   margin-bottom:0!important;
 }
}


/* source: /assets/msnbot-settings-layout-standard-v507.css */
/* MSNBOT — Configurações: cabeçalho e espaçamentos padronizados.
   APENAS /configuracoes: preservar fundo externo 100% transparente,
   geometria do Dock, funcionalidades e aparência das janelas. */
html body > main.page:not(.auth-page):has(> .settings-hero-standard) {
  min-width:0!important;
}
html body > main.page:not(.auth-page) > .settings-hero.settings-hero-standard {
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  width:100%!important;
  max-width:none!important;
  min-height:66px!important;
  margin:0 0 12px!important;
  padding:12px 18px!important;
  border:1px solid var(--border,#dce5f1)!important;
  border-radius:18px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 88%,transparent)!important;
  box-shadow:0 5px 18px rgba(32,55,100,.045)!important;
}
html body > main.page:not(.auth-page) .settings-hero-standard .settings-hero-title {
  display:flex!important;
  align-items:center!important;
  min-width:0!important;
}
html body > main.page:not(.auth-page) .settings-hero-standard h1 {
  margin:0!important;
  font-size:clamp(22px,2vw,27px)!important;
  line-height:1.15!important;
  font-weight:850!important;
  letter-spacing:-.025em!important;
}
html body > main.page:not(.auth-page) .settings-hero-standard .settings-hero-right {
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
}
html body > main.page:not(.auth-page) .settings-hero-standard .settings-company-label {
  display:inline-block!important;
  min-width:0!important;
  max-width:min(210px,32vw)!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  color:var(--muted,#71809a)!important;
  font-size:11px!important;
  font-weight:700!important;
}
html body > main.page:not(.auth-page) .settings-hero-standard .settings-hero-stats {
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
}
html body > main.page:not(.auth-page) .settings-hero-standard .settings-stat {
  box-sizing:border-box!important;
  display:grid!important;
  align-content:center!important;
  justify-items:center!important;
  gap:2px!important;
  min-width:76px!important;
  min-height:44px!important;
  padding:6px 10px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 78%,transparent)!important;
  border:1px solid var(--border,#dce5f1)!important;
  border-radius:12px!important;
}
html body > main.page:not(.auth-page) .settings-hero-standard .settings-stat strong {
  color:var(--ink,var(--text,#1d2740))!important;
  font-size:15px!important;
  font-weight:850!important;
  line-height:1!important;
}
html body > main.page:not(.auth-page) .settings-hero-standard .settings-stat small {
  color:var(--muted,#71809a)!important;
  font-size:9px!important;
  line-height:1.15!important;
}
/* Estrutura: menu vertical limpo + conteúdo com espaçamentos constantes. */
@media (min-width:981px){
 html body > main.page:not(.auth-page) > .settings-shell {
   grid-template-columns:240px minmax(0,1fr)!important;
   column-gap:14px!important;
   row-gap:0!important;
   margin-top:0!important;
   min-height:0!important;
   align-items:stretch!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-nav {
   position:relative!important;
   top:auto!important;
   align-self:stretch!important;
   height:100%!important;
   min-height:0!important;
   max-height:100%!important;
   overflow-x:hidden!important;
   overflow-y:auto!important;
   scrollbar-width:thin!important;
 }
}
html body > main.page:not(.auth-page) > .settings-shell {
  box-sizing:border-box!important;
  margin-top:0!important;
  gap:14px!important;
  background:transparent!important;
  box-shadow:none!important;
}
html body > main.page:not(.auth-page) > .settings-shell > .settings-nav {
  box-sizing:border-box!important;
  padding:7px!important;
  border:0!important;
  border-radius:17px!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html body > main.page:not(.auth-page) .settings-nav a {
  box-sizing:border-box!important;
  display:block!important;
  margin:2px 0!important;
  padding:9px 11px!important;
  border:1px solid transparent!important;
  border-radius:11px!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
  transition:background-color .15s ease,border-color .15s ease!important;
}
html body > main.page:not(.auth-page) .settings-nav a strong {
  display:block!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.35!important;
}
html body > main.page:not(.auth-page) .settings-nav a small {
  display:block!important;
  margin-top:2px!important;
  font-size:10px!important;
  line-height:1.3!important;
  color:var(--muted,#76829b)!important;
  overflow-wrap:break-word!important;
}
html body > main.page:not(.auth-page) .settings-nav a:is(:hover,:focus-visible) {
  background:color-mix(in srgb,var(--user-accent,var(--accent,#2878f5)) 7%,var(--surface-solid,#fff))!important;
  border-color:color-mix(in srgb,var(--user-accent,var(--accent,#2878f5)) 15%,transparent)!important;
}
html body > main.page:not(.auth-page) .settings-nav a.active {
  background:color-mix(in srgb,var(--user-accent,var(--accent,#2878f5)) 10%,var(--surface-solid,#fff))!important;
  border-color:color-mix(in srgb,var(--user-accent,var(--accent,#2878f5)) 32%,var(--border,#dce5f1))!important;
}
html body > main.page:not(.auth-page) .settings-nav a.active strong {
  color:var(--user-accent,var(--accent,#2878f5))!important;
}
html body > main.page:not(.auth-page) > .settings-shell > .settings-content {
  box-sizing:border-box!important;
  min-width:0!important;
  padding:18px clamp(14px,1.7vw,24px) 22px!important;
  margin:0!important;
  border:0!important;
  border-radius:18px!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html body > main.page:not(.auth-page) > .settings-shell > .settings-content > .section-head {
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin:0 0 14px!important;
  padding:0 0 12px!important;
  border-bottom:1px solid var(--border,#dce5f1)!important;
}
html body > main.page:not(.auth-page) > .settings-shell > .settings-content > .section-head h2 {
  font-size:clamp(17px,1.5vw,21px)!important;
  line-height:1.25!important;
}
html body > main.page:not(.auth-page) .settings-content > :is(.stack,.data-list,.form-grid,.branding-grid) {
  gap:12px!important;
}
html body > main.page:not(.auth-page) .settings-content .settings-card {
  box-sizing:border-box!important;
  border-radius:15px!important;
  padding:clamp(12px,1.25vw,18px)!important;
}
html body > main.page:not(.auth-page) .settings-content .settings-form {
  gap:12px!important;
}
html body > main.page:not(.auth-page) .settings-content .form-grid {
  gap:12px!important;
}
html body > main.page:not(.auth-page) .settings-content :is(input,select,textarea) {
  max-width:100%!important;
}
html[data-theme="dark"] body > main.page:not(.auth-page) .settings-nav a.active {
  background:color-mix(in srgb,var(--user-accent,var(--accent,#2878f5)) 17%,#18212c)!important;
  border-color:color-mix(in srgb,var(--user-accent,var(--accent,#2878f5)) 40%,#354355)!important;
}
html[data-theme="dark"] body > main.page:not(.auth-page) .settings-nav a.active :is(strong,small) {
  color:var(--text,#eaf1fb)!important;
}
/* Tablet e mobile: navegação horizontal, sem alterar limites do Dock. */
@media (max-width:980px){
 html body > main.page:not(.auth-page) > .settings-shell {
   display:grid!important;
   grid-template-columns:minmax(0,1fr)!important;
   grid-template-rows:auto minmax(0,1fr)!important;
   gap:10px!important;
   min-width:0!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-nav {
   display:flex!important;
   flex-direction:row!important;
   flex-wrap:nowrap!important;
   height:auto!important;
   min-height:0!important;
   max-height:none!important;
   overflow-x:auto!important;
   overflow-y:hidden!important;
   overscroll-behavior-x:contain!important;
   scrollbar-width:thin!important;
   gap:6px!important;
   padding:3px 0 9px!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-nav a {
   flex:0 0 auto!important;
   min-width:138px!important;
   max-width:180px!important;
   margin:0!important;
   padding:9px 11px!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-content {
   min-height:0!important;
   height:auto!important;
   max-height:100%!important;
   padding:12px 8px 16px!important;
 }
}
@media (max-width:600px){
 html body > main.page:not(.auth-page) > .settings-hero.settings-hero-standard {
   padding:12px 14px!important;
   min-height:58px!important;
   gap:8px!important;
 }
 html body > main.page:not(.auth-page) .settings-hero-standard h1 {
   font-size:21px!important;
 }
 html body > main.page:not(.auth-page) .settings-hero-standard .settings-hero-right {
   justify-content:flex-start!important;
   gap:6px!important;
   width:100%!important;
 }
 html body > main.page:not(.auth-page) .settings-hero-standard .settings-company-label {
   max-width:110px!important;
   font-size:10px!important;
 }
 html body > main.page:not(.auth-page) .settings-hero-standard .settings-stat {
   min-width:66px!important;
   min-height:38px!important;
   padding:5px 8px!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-content {
   padding:10px 4px 16px!important;
 }
 html body > main.page:not(.auth-page) .settings-nav a small {
   font-size:9px!important;
 }
}


/* source: /assets/msnbot-msn-mobile-fullscreen-v507.css */
/* Exclusivo Bate-Papo mobile, com conversa aberta.
   Preencher a viewport visual sob a barra superior do MSNBOT, até o rodapé.
   Não interferir no desktop, tablet, outras páginas ou listagem de conversas. */
@media screen and (max-width:600px) {
 html body.v475-chat-locked:has(>main.page:not(.auth-page) .msn-v33-shell.has-contact) {
   overflow:hidden!important;
   overscroll-behavior:none!important;
 }
 html body.v475-chat-locked > main.page:not(.auth-page):has(> .msn-v33-shell.has-contact) {
   box-sizing:border-box!important;
   position:fixed!important;
   top:var(--msnbot-mobile-chat-top,44px)!important;
   left:0!important;right:0!important;bottom:0!important;
   inset:var(--msnbot-mobile-chat-top,44px) 0 0 0!important;
   width:100vw!important;max-width:100vw!important;
   min-width:0!important;
   height:calc(100dvh - var(--msnbot-mobile-chat-top,44px))!important;
   min-height:0!important;
   max-height:calc(100dvh - var(--msnbot-mobile-chat-top,44px))!important;
   margin:0!important;padding:0!important;
   border:0!important;border-radius:0!important;
   overflow:hidden!important;
   background:transparent!important;
   box-shadow:none!important;
   z-index:2!important;
 }
 html body.v475-chat-locked > main.page:not(.auth-page) > .msn-v33-shell.has-contact {
   box-sizing:border-box!important;
   position:relative!important;
   display:block!important;
   width:100%!important;max-width:100%!important;min-width:0!important;
   height:100%!important;max-height:100%!important;min-height:0!important;
   margin:0!important;padding:0!important;
   border:0!important;border-radius:0!important;
   overflow:hidden!important;
 }
 html body.v475-chat-locked .msn-v33-shell.has-contact > .msn-v33-chat {
   box-sizing:border-box!important;
   display:grid!important;
   grid-template-rows:auto minmax(0,1fr) auto!important;
   position:relative!important;
   width:100%!important;min-width:0!important;max-width:100%!important;
   height:100%!important;min-height:0!important;max-height:100%!important;
   margin:0!important;padding:0!important;
   border:0!important;border-radius:0!important;
   box-shadow:none!important;
   overflow:hidden!important;
 }
 html body.v475-chat-locked .msn-v33-shell.has-contact .msn-v33-chat-head {
   box-sizing:border-box!important;
   flex:0 0 auto!important;
   margin:0!important;
   border-radius:0!important;
 }
 html body.v475-chat-locked .msn-v33-shell.has-contact #msn-messages {
   min-height:0!important;
   max-height:100%!important;
   width:100%!important;
   overflow-y:auto!important;
   overflow-x:hidden!important;
 }
 html body.v475-chat-locked .msn-v33-shell.has-contact .msn-v33-composer {
   box-sizing:border-box!important;
   min-width:0!important;
   max-width:100%!important;
   margin:0!important;
   border-radius:0!important;
   padding-bottom:max(6px,env(safe-area-inset-bottom,0px))!important;
 }
 /* Cartão do contato quase de ponta a ponta; rodapé até a tela visual. */
 html body:has(.msn-v33-shell.has-contact) .msn-v33-shell.has-contact > .msn-v33-contact-card {
   box-sizing:border-box!important;
   position:fixed!important;
   inset:var(--msnbot-mobile-chat-top,44px) 0 0 12px!important;
   top:var(--msnbot-mobile-chat-top,44px)!important;
   right:0!important;bottom:0!important;left:12px!important;
   width:calc(100vw - 12px)!important;
   min-width:0!important;max-width:none!important;
   height:calc(100dvh - var(--msnbot-mobile-chat-top,44px))!important;
   min-height:0!important;max-height:none!important;
   margin:0!important;
   padding:10px 14px max(18px,env(safe-area-inset-bottom,0px))!important;
   border-radius:16px 0 0 0!important;
   overflow-x:hidden!important;overflow-y:auto!important;
   -webkit-overflow-scrolling:touch;
   overscroll-behavior:contain!important;
   z-index:2147482500!important;
   box-shadow:-8px 0 25px rgba(15,28,54,.19)!important;
   transition:transform .22s cubic-bezier(.2,.75,.2,1)!important;
 }
 html body:has(.msn-v33-shell.has-contact) .msn-v33-shell.has-contact.v479-contact-card-open > .msn-v33-contact-card {
   display:block!important;
   pointer-events:auto!important;
   transform:translateX(0)!important;
 }
 html body:has(.msn-v33-shell.has-contact) .msn-v33-shell.has-contact:not(.v479-contact-card-open) > .msn-v33-contact-card {
   display:block!important;
   pointer-events:none!important;
   transform:translateX(calc(100% + 16px))!important;
 }
 /* Aba retrátil única, imóvel na lateral esquerda da viewport
    mesmo quando a pessoa rola os dados do cartão. */
 html body > button.msnbot-mobile-contact-edge {
   position:fixed!important;
   display:none!important;
   align-items:center!important;
   justify-content:center!important;
   top:calc(var(--msnbot-mobile-chat-top,44px) + (100dvh - var(--msnbot-mobile-chat-top,44px))/2)!important;
   left:0!important;
   right:auto!important;
   transform:translateY(-50%)!important;
   width:30px!important;min-width:30px!important;
   height:76px!important;min-height:76px!important;
   padding:0!important;
   border:1px solid var(--border,#dbe5f1)!important;
   border-left:0!important;
   border-radius:0 13px 13px 0!important;
   background:var(--surface-solid,#fff)!important;
   color:var(--accent,#2878f5)!important;
   box-shadow:2px 3px 16px rgba(16,30,58,.18)!important;
   font:800 24px/1 system-ui,sans-serif!important;
   cursor:pointer!important;
   touch-action:manipulation!important;
   z-index:2147482501!important;
 }
 html body.msnbot-mobile-edge-ready:has(.msn-v33-shell.has-contact.v479-contact-card-open)
   > button.msnbot-mobile-contact-edge {
   display:flex!important;
 }
 /* Ocultar os controles de fechar duplicados somente com a aba funcional. */
 html body.msnbot-mobile-edge-ready:has(.msn-v33-shell.has-contact)
   .msn-v33-contact-card :is(.msn-mobile-contact-close,[data-msnbot-group-close]) {
   display:none!important;
 }
 html body:has(.msn-v33-shell.has-contact)
  .msnbot-group-shell .msn-v33-contact-card {
   padding:0!important;
 }
}


/* source: /assets/msnbot-msn-contact-grid-mobile-v507.css */
/* Exclusivamente smartphone: organiza dados do cartão em duas linhas.
   Linha 1: Telefone, Aniversário, Inscrição; linha 2: E-mail, CPF.
   Preserva DOM, valores, edição do contato, desktop e tablet. */
@media screen and (max-width:600px){
 html body:has(.msn-v33-shell.has-contact) .msn-v33-contact-card dl.contact-core.msnbot-contact-compact-grid {
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(0,.96fr) minmax(0,1.12fr)!important;
  grid-template-areas:"phone birthday registered" "email email document"!important;
  grid-template-rows:auto auto!important;
  grid-auto-rows:auto!important;
  column-gap:clamp(6px,2vw,10px)!important;
  row-gap:12px!important;
  align-content:start!important;
  align-items:start!important;
  width:100%!important;
  margin:10px 0 12px!important;
  padding:0!important;
 }
 html body:has(.msn-v33-shell.has-contact) .msn-v33-contact-card dl.msnbot-contact-compact-grid > div {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  min-width:0!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  gap:4px!important;
  border:0!important;
  background:transparent!important;
 }
 html body:has(.msn-v33-shell.has-contact) .msn-v33-contact-card dl.msnbot-contact-compact-grid > .contact-field-phone{grid-area:phone!important}
 html body:has(.msn-v33-shell.has-contact) .msn-v33-contact-card dl.msnbot-contact-compact-grid > .contact-field-birthday{grid-area:birthday!important}
 html body:has(.msn-v33-shell.has-contact) .msn-v33-contact-card dl.msnbot-contact-compact-grid > .contact-field-registered{grid-area:registered!important}
 html body:has(.msn-v33-shell.has-contact) .msn-v33-contact-card dl.msnbot-contact-compact-grid > .contact-field-email{grid-area:email!important}
 html body:has(.msn-v33-shell.has-contact) .msn-v33-contact-card dl.msnbot-contact-compact-grid > .contact-field-document{grid-area:document!important}
 html body:has(.msn-v33-shell.has-contact) .msn-v33-contact-card dl.msnbot-contact-compact-grid > div > :is(dt,dd){
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  line-height:1.3!important;
  text-align:left!important;
  overflow-wrap:anywhere!important;
  white-space:normal!important;
  word-break:normal!important;
 }
 html body:has(.msn-v33-shell.has-contact) .msn-v33-contact-card dl.msnbot-contact-compact-grid > div > dt{
  font-size:clamp(9px,2.7vw,11px)!important;
  font-weight:750!important;
 }
 html body:has(.msn-v33-shell.has-contact) .msn-v33-contact-card dl.msnbot-contact-compact-grid > div > dd{
  font-size:clamp(9px,2.8vw,11px)!important;
 }
}


/* source: /assets/msnbot-broadcast-mobile-list-v508.css */
/* Transmissão | smartphone <=600 px.
   Lista Ação até o topo verdadeiro do Dock, detalhe só quando selecionado.
   Desktop/tablet, Dock e outros aplicativos ficam intactos. */
html body .broadcast-mobile-summary,
html body .broadcast-mobile-back {display:none!important}
@media screen and (max-width:600px) {
 html body > main.page:not(.auth-page):has(> .broadcast-unified-toolbar){
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:column!important;
   align-items:stretch!important;
   height:var(--broadcast-mobile-main-height,calc(100dvh - var(--v461-topbar-height,38px) - var(--v451-dock-height,72px)))!important;
   max-height:var(--broadcast-mobile-main-height,calc(100dvh - var(--v461-topbar-height,38px) - var(--v451-dock-height,72px)))!important;
   min-height:0!important;
   min-width:0!important;
   overflow:hidden!important;
   margin-bottom:0!important;
   padding-bottom:0!important;
   background:transparent!important;
   background-image:none!important;
 }
 html body > main.page:not(.auth-page) > .broadcast-unified-toolbar{
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:column!important;
   align-items:stretch!important;
   flex:0 0 auto!important;
   width:100%!important;
   min-width:0!important;
   max-width:100%!important;
   padding:10px 11px!important;
   margin:0 0 7px!important;
   border-radius:17px!important;
   row-gap:7px!important;
   column-gap:7px!important;
 }
 html body > main.page:not(.auth-page) > .broadcast-unified-toolbar h1{
   font-size:22px!important;
   font-weight:850!important;
   margin:0!important;
   line-height:1.16!important;
   letter-spacing:-.02em!important;
 }
 html body > main.page:not(.auth-page) .broadcast-unified-stats{
   box-sizing:border-box!important;
   display:grid!important;
   grid-template-columns:repeat(4,minmax(0,1fr))!important;
   align-items:stretch!important;
   justify-content:stretch!important;
   width:100%!important;
   gap:5px!important;
 }
 html body > main.page:not(.auth-page) .broadcast-unified-stats > span{
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:column!important;
   justify-content:center!important;
   align-items:center!important;
   width:auto!important;
   min-width:0!important;
   min-height:39px!important;
   padding:4px 2px!important;
   border-radius:10px!important;
   font-size:9px!important;
   line-height:1.2!important;
   white-space:nowrap!important;
 }
 html body > main.page:not(.auth-page) .broadcast-unified-stats > span strong{
   font-size:15px!important;
   line-height:1.15!important;
 }
 html body > main.page:not(.auth-page) .broadcast-unified-actions{
   box-sizing:border-box!important;
   display:grid!important;
   grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   gap:6px!important;
   align-items:stretch!important;
   width:100%!important;
   min-width:0!important;
   flex:0 0 auto!important;
 }
 html body > main.page:not(.auth-page) .broadcast-unified-actions > .broadcast-tabs{
   display:flex!important;
   grid-column:1/-1!important;
   flex:0 0 auto!important;
   width:100%!important;
   min-height:31px!important;
   margin:0!important;
   padding:2px!important;
   border-radius:10px!important;
 }
 html body > main.page:not(.auth-page) .broadcast-unified-actions .broadcast-tabs a{
   display:inline-flex!important;
   align-items:center!important;
   justify-content:center!important;
   padding:6px 9px!important;
   font-size:10px!important;
   min-height:29px!important;
   line-height:1.1!important;
   border-radius:8px!important;
 }
 html body > main.page:not(.auth-page) .broadcast-unified-actions .broadcast-search{
   box-sizing:border-box!important;
   display:block!important;
   grid-column:1!important;
   width:100%!important;
   min-width:0!important;
   max-width:none!important;
   margin:0!important;
   padding:0!important;
 }
 html body > main.page:not(.auth-page) .broadcast-unified-actions .broadcast-search input{
   box-sizing:border-box!important;
   width:100%!important;
   min-height:34px!important;
   height:34px!important;
   padding:6px 9px!important;
   font-size:11px!important;
   border-radius:10px!important;
 }
 html body > main.page:not(.auth-page) .broadcast-unified-actions > .primary{
   box-sizing:border-box!important;
   grid-column:2!important;
   width:100%!important;
   min-width:0!important;
   min-height:34px!important;
   height:34px!important;
   padding:6px 7px!important;
   margin:0!important;
   font-size:10px!important;
   line-height:1.2!important;
   border-radius:10px!important;
   white-space:nowrap!important;
 }
 html body > main.page:not(.auth-page) > .broadcast-shell{
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:column!important;
   align-items:stretch!important;
   flex:1 1 0!important;
   width:100%!important;
   min-width:0!important;
   height:auto!important;
   max-width:100%!important;
   max-height:100%!important;
   min-height:0!important;
   gap:0!important;
   padding:0!important;
   margin:0!important;
   overflow:hidden!important;
   background:transparent!important;
 }
 html body > main.page:not(.auth-page) > .broadcast-shell.broadcast-no-selected > .broadcast-detail-card {
   display:none!important;
 }
 html body > main.page:not(.auth-page) > .broadcast-shell.broadcast-has-selected > .broadcast-list-card {
   display:none!important;
 }
 html body > main.page:not(.auth-page) > .broadcast-shell > :is(.broadcast-list-card,.broadcast-detail-card) {
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:column!important;
   flex:1 1 0!important;
   width:100%!important;
   height:100%!important;
   min-width:0!important;
   min-height:0!important;
   max-height:100%!important;
   overflow:hidden!important;
   margin:0!important;
   padding:10px!important;
   border-radius:17px 17px 0 0!important;
 }
 html body > main.page:not(.auth-page) > .broadcast-shell > .broadcast-list-card > .section-head{
   box-sizing:border-box!important;
   display:flex!important;
   align-items:center!important;
   justify-content:space-between!important;
   flex:0 0 auto!important;
   min-height:33px!important;
   margin:0 0 6px!important;
   padding:0 2px 6px!important;
   gap:8px!important;
 }
 html body .broadcast-list-card > .section-head h2{
   font-size:17px!important;
   line-height:1.14!important;
   margin:0!important;
 }
 html body .broadcast-list-card > .section-head .muted{
   font-size:10px!important;
   line-height:1.18!important;
   margin:3px 0 0!important;
 }
 html body .broadcast-list-card > .section-head .badge {
   padding:4px 8px!important;
   min-width:26px!important;
   font-size:10px!important;
 }
 html body > main.page:not(.auth-page) .broadcast-list-card .broadcast-list{
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:column!important;
   align-items:stretch!important;
   justify-content:flex-start!important;
   flex:1 1 0!important;
   width:100%!important;
   min-width:0!important;
   max-width:100%!important;
   min-height:0!important;
   max-height:100%!important;
   gap:5px!important;
   margin:0!important;
   padding:0 0 10px!important;
   overflow-x:hidden!important;
   overflow-y:auto!important;
   overscroll-behavior:contain!important;
   -webkit-overflow-scrolling:touch;
   touch-action:pan-y!important;
   scrollbar-width:thin!important;
 }
 html body .broadcast-list-card .broadcast-list > .broadcast-row{
   box-sizing:border-box!important;
   display:flex!important;
   align-items:center!important;
   flex:0 0 auto!important;
   gap:8px!important;
   width:100%!important;
   min-width:0!important;
   min-height:52px!important;
   max-height:64px!important;
   padding:7px 53px 7px 8px!important;
   border-radius:12px!important;
   margin:0!important;
   box-shadow:none!important;
   transition:background .16s ease!important;
 }
 html body .broadcast-list-card .broadcast-row > .broadcast-row-icon{
   display:grid!important;
   place-items:center!important;
   flex:0 0 30px!important;
   width:30px!important;
   height:30px!important;
   border-radius:10px!important;
   font-size:16px!important;
 }
 html body .broadcast-list-card .broadcast-row > .grow{
   display:block!important;
   flex:1 1 0!important;
   min-width:0!important;
   margin:0!important;
   line-height:1.15!important;
 }
 html body .broadcast-list-card .broadcast-row .grow > strong {
   display:block!important;
   font-size:12px!important;
   font-weight:780!important;
   line-height:1.2!important;
   margin:0 0 3px!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   text-overflow:ellipsis!important;
 }
 html body .broadcast-list-card .broadcast-row .grow > .broadcast-desktop-kind,
 html body .broadcast-list-card .broadcast-row .grow > .broadcast-desktop-cadence {
   display:none!important;
 }
 html body .broadcast-list-card .broadcast-row .grow > .broadcast-mobile-summary{
   display:block!important;
   font-size:9px!important;
   line-height:1.2!important;
   max-width:100%!important;
   margin:0!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   text-overflow:ellipsis!important;
 }
 html body .broadcast-list-card .broadcast-row > .broadcast-row-side {
   top:5px!important;
   right:7px!important;
   width:42px!important;
   min-width:0!important;
   gap:2px!important;
 }
 html body .broadcast-list-card .broadcast-row-side .broadcast-state-toggle{
   box-sizing:border-box!important;
   width:27px!important;
   height:27px!important;
   min-height:0!important;
   margin:0!important;
   padding:0!important;
   font-size:12px!important;
 }
 html body .broadcast-list-card .broadcast-row-side > small{
   display:block!important;
   font-size:8px!important;
   line-height:1.1!important;
   max-width:50px!important;
   white-space:normal!important;
   margin:0!important;
 }
 html body .broadcast-list-card .broadcast-list > .broadcast-empty{
   min-height:160px!important;
   width:100%!important;
   padding:24px 9px!important;
 }
 html body .broadcast-list-card .broadcast-mobile-loading{
   box-sizing:border-box!important;
   flex:0 0 auto!important;
   width:100%!important;
   text-align:center!important;
   padding:10px!important;
   margin:0!important;
   font-size:10px!important;
   color:var(--muted,#6c7791)!important;
 }
 html body .broadcast-list-card .broadcast-mobile-loading button{
   min-height:30px!important;
   padding:6px 10px!important;
   border-radius:9px!important;
   font-size:10px!important;
 }
 html body .broadcast-shell.broadcast-has-selected > .broadcast-detail-card{
   overflow-y:auto!important;
   overflow-x:hidden!important;
   -webkit-overflow-scrolling:touch;
   padding-bottom:14px!important;
 }
 html body .broadcast-shell .broadcast-mobile-back{
   display:inline-flex!important;
   align-self:flex-start!important;
   flex:0 0 auto!important;
   padding:7px 10px!important;
   margin:0 0 8px!important;
   border-radius:10px!important;
   background:color-mix(in srgb,var(--accent,#2878f5) 10%,var(--surface-solid,#fff))!important;
   color:var(--accent,#2878f5)!important;
   font-size:11px!important;
   font-weight:750!important;
   text-decoration:none!important;
 }
 html body .broadcast-shell .broadcast-detail-head h2{
   font-size:20px!important;
 }
}


/* source: /assets/msnbot-mobile-responsive-detail-v509.css */
/* MSNBOT | leitura de transmissão no smartphone.
   Somente <=600px, desktop e tablet intocados. */
@media screen and (max-width:600px){
 /* Ao consultar uma transmissão, liberar a altura da barra de filtros
    (os mesmos filtros continuam na lista, acessível pelo botão Voltar). */
 html body > main.page:not(.auth-page):has(> .broadcast-shell.broadcast-has-selected)
   > .broadcast-unified-toolbar{
   display:none!important;
 }
 html body > main.page:not(.auth-page)
   > .broadcast-shell.broadcast-has-selected{
   flex:1 1 0!important;
   min-height:0!important;
   height:100%!important;
   max-height:100%!important;
   overflow:hidden!important;
 }
 html body > main.page:not(.auth-page)
   > .broadcast-shell.broadcast-has-selected > .broadcast-detail-card{
   box-sizing:border-box!important;
   position:relative!important;
   display:block!important;
   flex:1 1 0!important;
   width:100%!important;
   max-width:100%!important;
   min-width:0!important;
   height:100%!important;
   max-height:100%!important;
   min-height:0!important;
   margin:0!important;
   padding:9px 10px max(22px,env(safe-area-inset-bottom,0px))!important;
   border-radius:15px 15px 0 0!important;
   overflow-y:auto!important;
   overflow-x:hidden!important;
   -webkit-overflow-scrolling:touch;
   overscroll-behavior-y:contain!important;
   touch-action:pan-y!important;
   scrollbar-width:thin!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-mobile-back{
   position:sticky!important;
   top:0!important;
   z-index:4!important;
   display:inline-flex!important;
   align-items:center!important;
   min-height:30px!important;
   padding:6px 9px!important;
   margin:0 0 7px!important;
   font-size:11px!important;
   border-radius:9px!important;
   background:color-mix(in srgb,var(--surface-solid,#fff) 90%,var(--accent,#2878f5) 10%)!important;
   backdrop-filter:blur(5px)!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-detail-head{
   display:flex!important;
   align-items:flex-start!important;
   justify-content:space-between!important;
   gap:7px!important;
   margin:0!important;
   padding:1px 0 5px!important;
   min-width:0!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-detail-head > div{
   min-width:0!important;
   flex:1 1 auto!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-detail-head .eyebrow{
   font-size:9px!important;
   line-height:1.2!important;
   letter-spacing:.04em!important;
   margin:0 0 3px!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-detail-head h2{
   font-size:clamp(17px,4.9vw,20px)!important;
   line-height:1.18!important;
   font-weight:800!important;
   letter-spacing:-.02em!important;
   margin:0 0 3px!important;
   overflow-wrap:anywhere!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-detail-head .muted{
   font-size:10px!important;
   line-height:1.2!important;
   margin:0!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-detail-head .broadcast-status{
   flex:0 0 auto!important;
   max-width:43%!important;
   padding:5px 7px!important;
   border-radius:9px!important;
   font-size:9px!important;
   line-height:1.15!important;
   white-space:normal!important;
   overflow-wrap:anywhere!important;
   text-align:center!important;
 }
 /* Quatro indicadores em uma linha, em vez dos quatro blocos enormes
    que consomem metade da tela (cair para 2×2 só em telas muito estreitas). */
 html body .broadcast-shell.broadcast-has-selected .broadcast-progress-card{
   box-sizing:border-box!important;
   width:100%!important;
   min-width:0!important;
   margin:7px 0 0!important;
   padding:7px!important;
   border-radius:13px!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-progress-head{
   display:grid!important;
   grid-template-columns:repeat(4,minmax(0,1fr))!important;
   align-items:stretch!important;
   gap:5px!important;
   min-width:0!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-progress-head > div{
   box-sizing:border-box!important;
   min-width:0!important;
   min-height:45px!important;
   padding:6px 3px!important;
   margin:0!important;
   border-radius:9px!important;
   overflow:hidden!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-progress-head strong,
 html body .broadcast-shell.broadcast-has-selected .broadcast-progress-head b{
   display:block!important;
   font-size:clamp(13px,3.7vw,16px)!important;
   font-weight:800!important;
   line-height:1.18!important;
   white-space:nowrap!important;
   letter-spacing:-.02em!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-progress-head small{
   display:block!important;
   margin-top:2px!important;
   font-size:clamp(8px,2.4vw,10px)!important;
   line-height:1.15!important;
   overflow-wrap:anywhere!important;
   text-transform:none!important;
 }
 /* Datas, cadência e próxima execução em linhas curtas e compactas. */
 html body .broadcast-shell.broadcast-has-selected .broadcast-config-grid{
   display:grid!important;
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   gap:6px!important;
   min-width:0!important;
   margin:7px 0 0!important;
   align-content:start!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-config-grid article{
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:column!important;
   justify-content:center!important;
   gap:3px!important;
   min-width:0!important;
   min-height:56px!important;
   padding:8px 9px!important;
   margin:0!important;
   border-radius:11px!important;
   overflow-wrap:anywhere!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-config-grid article span{
   display:block!important;
   font-size:9px!important;
   line-height:1.15!important;
   margin:0!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-config-grid article strong{
   display:block!important;
   font-size:clamp(11px,3vw,13px)!important;
   line-height:1.3!important;
   margin:0!important;
   font-weight:750!important;
   overflow-wrap:anywhere!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-config-grid article small{
   display:block!important;
   font-size:9px!important;
   line-height:1.25!important;
   margin:0!important;
   overflow-wrap:anywhere!important;
 }
 html body .broadcast-shell.broadcast-has-selected > .broadcast-detail-card > .compact-notice{
   font-size:11px!important;
   line-height:1.35!important;
   padding:8px 9px!important;
   margin:7px 0!important;
 }
 /* Ações ficam legíveis e quebram linha sem estourar as bordas. */
 html body .broadcast-shell.broadcast-has-selected .broadcast-actions{
   display:flex!important;
   flex-wrap:wrap!important;
   align-items:center!important;
   gap:6px!important;
   margin:7px 0 0!important;
   min-width:0!important;
   width:100%!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-actions :is(.small-btn,.primary,.linklike){
   box-sizing:border-box!important;
   min-height:31px!important;
   max-width:100%!important;
   padding:7px 9px!important;
   font-size:11px!important;
   line-height:1.15!important;
   border-radius:9px!important;
   white-space:normal!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-bottom-grid{
   display:block!important;
   min-width:0!important;
   width:100%!important;
   margin:7px 0 0!important;
   padding:0!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table-card{
   box-sizing:border-box!important;
   min-width:0!important;
   padding:9px!important;
   margin:0!important;
   border-radius:12px!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table-card .detail-title{
   display:flex!important;
   align-items:center!important;
   justify-content:space-between!important;
   flex-wrap:wrap!important;
   gap:5px!important;
   margin:0 0 7px!important;
   font-size:12px!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table-card .detail-title :is(strong,span){
   font-size:11px!important;
   line-height:1.2!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table-wrap{
   box-sizing:border-box!important;
   display:block!important;
   overflow-x:hidden!important;
   overflow-y:visible!important;
   max-height:none!important;
   width:100%!important;
   min-width:0!important;
   margin:0!important;
   padding:0!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table{
   display:block!important;
   width:100%!important;
   min-width:0!important;
   font-size:11px!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table thead{
   display:none!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody{
   display:grid!important;
   grid-template-columns:minmax(0,1fr)!important;
   gap:6px!important;
   min-width:0!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody tr{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   gap:4px 8px!important;
   align-items:center!important;
   min-width:0!important;
   padding:7px 8px!important;
   border:1px solid var(--border,#dbe5f0)!important;
   border-radius:10px!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody td{
   box-sizing:border-box!important;
   display:block!important;
   min-width:0!important;
   border:0!important;
   padding:0!important;
   font-size:10px!important;
   line-height:1.3!important;
   overflow-wrap:anywhere!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody td:first-child:not([colspan]){
   display:none!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody td:nth-child(2):not([colspan]){
   grid-column:1/-1!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody td:nth-child(2) strong{
   display:block!important;
   font-size:11px!important;
   font-weight:760!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody td small{
   display:block!important;
   margin:1px 0 0!important;
   font-size:9px!important;
   line-height:1.2!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody td:nth-child(3):not([colspan])::before{
   content:'Status: '!important;
   font-size:9px!important;
   color:var(--muted,#78869a)!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody td:nth-child(4):not([colspan])::before{
   content:'Fluxo: '!important;
   font-size:9px!important;
   color:var(--muted,#78869a)!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody td:nth-child(5):not([colspan]){
   grid-column:1/-1!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody td:nth-child(5):not([colspan])::before{
   content:'Hora: '!important;
   font-size:9px!important;
   color:var(--muted,#78869a)!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-table tbody td[colspan]{
   grid-column:1/-1!important;
   padding:9px!important;
 }
 html body .broadcast-shell.broadcast-has-selected .broadcast-actions-bottom{
   justify-content:flex-end!important;
   width:100%!important;
   margin:10px 0 14px!important;
   padding:0!important;
 }
 @media screen and (max-width:340px){
   html body .broadcast-shell.broadcast-has-selected .broadcast-progress-head{
     grid-template-columns:repeat(2,minmax(0,1fr))!important;
   }
 }
}


/* source: /assets/msnbot-mobile-dialogs-fit-v509.css */
/* MSNBOT | revisão geral de diálogos/formulários mobile.
   Escopo: smartphone até 600px; apenas janelas padronizadas.
   Não modifica janelas do Bate-Papo, cartões de contato, Dock,
   folhas financeiras especializadas nem páginas desktop/tablet. */
@media screen and (max-width:600px) {
 /* As janelas padrão nunca ultrapassam as bordas da viewport. */
 html body dialog.msnbot-dialog:not(.camera-dialog):not(.billing-installments-dialog):not(.billing-vnext-dialog):not(.billing-modern-dialog):not(.billing-product-dialog):not(.billing-send-compact):not(.msnbot-mobile-contact-edge) {
   box-sizing:border-box!important;
   max-width:calc(100vw - 16px)!important;
   max-inline-size:calc(100vw - 16px)!important;
   max-height:calc(100dvh - 20px)!important;
   max-block-size:calc(100dvh - 20px)!important;
   overflow-x:hidden!important;
   overflow-y:auto!important;
   overscroll-behavior:contain!important;
   -webkit-overflow-scrolling:touch;
 }
 html body dialog.msnbot-dialog:not(.camera-dialog):not(.billing-installments-dialog):not(.billing-vnext-dialog):not(.billing-modern-dialog):not(.billing-product-dialog)
   > .dialog-card {
   box-sizing:border-box!important;
   width:100%!important;
   max-width:100%!important;
   max-inline-size:100%!important;
   min-width:0!important;
   max-height:calc(100dvh - 24px)!important;
   max-block-size:calc(100dvh - 24px)!important;
   margin:0 auto!important;
   padding:clamp(11px,3.5vw,15px)!important;
   border-radius:15px!important;
   overflow-x:hidden!important;
   overflow-y:auto!important;
   -webkit-overflow-scrolling:touch;
 }
 /* Menos desperdício no título; manter botão Fechar acessível. */
 html body dialog.msnbot-dialog:not(.camera-dialog):not(.billing-modern-dialog):not(.billing-product-dialog)
  > .dialog-card > .dialog-head {
   box-sizing:border-box!important;
   display:flex!important;
   align-items:center!important;
   justify-content:space-between!important;
   gap:9px!important;
   min-width:0!important;
   margin:0 0 9px!important;
   padding:0 0 9px!important;
 }
 html body dialog.msnbot-dialog:not(.camera-dialog):not(.billing-modern-dialog):not(.billing-product-dialog)
  > .dialog-card > .dialog-head :is(h2,h3) {
   box-sizing:border-box!important;
   margin:0!important;
   font-size:clamp(16px,4.3vw,19px)!important;
   line-height:1.2!important;
   font-weight:800!important;
   overflow-wrap:anywhere!important;
 }
 html body dialog.msnbot-dialog:not(.camera-dialog) > .dialog-card > .dialog-head .eyebrow{
   margin:0 0 3px!important;
   font-size:9px!important;
   line-height:1.2!important;
 }
 html body dialog.msnbot-dialog:not(.camera-dialog) > .dialog-card > .dialog-head .dialog-close{
   flex:0 0 32px!important;
   width:32px!important;
   height:32px!important;
   min-height:32px!important;
   margin:0!important;
   font-size:21px!important;
 }
 /* Evitar campos cortados, sem reduzir fonte abaixo de 16px nos inputs:
    iPhone Safari costuma aplicar zoom automático a fontes menores. */
 html body dialog.msnbot-dialog:not(.camera-dialog):not(.billing-modern-dialog):not(.billing-product-dialog)
  > .dialog-card :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
   box-sizing:border-box!important;
   min-width:0!important;
   max-width:100%!important;
   font-size:16px!important;
 }
 html body dialog.msnbot-dialog:not(.camera-dialog):not(.billing-modern-dialog):not(.billing-product-dialog)
  > .dialog-card :is(.form-grid,.settings-form,.dialog-form,.popup-form) {
   min-width:0!important;
   max-width:100%!important;
   column-gap:10px!important;
   row-gap:9px!important;
 }
 html body dialog.msnbot-dialog:not(.camera-dialog):not(.billing-modern-dialog):not(.billing-product-dialog)
  > .dialog-card :is(.dialog-footer,.form-actions) {
   box-sizing:border-box!important;
   display:flex!important;
   flex-wrap:wrap!important;
   gap:7px!important;
   min-width:0!important;
 }
 /* Flow editor has separate native dialogs, not .msnbot-dialog. */
 html body dialog.flow-dialog:not(.flow-ai-builder-dialog) {
   box-sizing:border-box!important;
   width:calc(100vw - 16px)!important;
   max-width:calc(100vw - 16px)!important;
   min-width:0!important;
   max-height:calc(100dvh - 20px)!important;
   margin:auto!important;
   overflow-x:hidden!important;
   overflow-y:auto!important;
   border-radius:15px!important;
 }
 html body dialog.flow-dialog:not(.flow-ai-builder-dialog) > .dialog-head {
   box-sizing:border-box!important;
   padding:10px 12px!important;
   gap:8px!important;
 }
 html body dialog.flow-dialog:not(.flow-ai-builder-dialog) > .dialog-head :is(h2,h3) {
   margin:0!important;
   font-size:clamp(16px,4.3vw,19px)!important;
   line-height:1.2!important;
 }
 /* Popups que exibem tabelas ou chips devem rolar dentro da caixa,
    sem esticar a largura total da página. */
 html body dialog.msnbot-dialog:not(.camera-dialog) .table-wrap,
 html body dialog.msnbot-dialog:not(.camera-dialog) .data-table-wrap,
 html body dialog.msnbot-dialog:not(.camera-dialog) .tag-list {
   box-sizing:border-box!important;
   min-width:0!important;
   max-width:100%!important;
   overflow-x:auto!important;
 }
}


/* source: /assets/msnbot-billing-wallet-swipe-v507.css */
/* MSNBOT | Carteira: ações por gesto, somente no smartphone.
   Nenhum estilo afeta as demais telas ou o Dock. */
@media screen and (max-width:600px) {
 html body .billing-vnext-list .billing-vnext-client-row {
   position:relative!important;
   touch-action:pan-y!important;
 }
 html body .billing-vnext-list .billing-vnext-client-row > :not(.billing-wallet-swipe-actions) {
   transition:transform .2s cubic-bezier(.2,.75,.25,1)!important;
 }
 html body .billing-vnext-list .billing-vnext-client-row.billing-wallet-swipe-open > :not(.billing-wallet-swipe-actions) {
   transform:translateX(-157px)!important;
 }
 html body .billing-vnext-list .billing-wallet-swipe-actions {
   box-sizing:border-box!important;
   position:absolute!important;
   display:flex!important;
   flex-direction:row!important;
   align-items:stretch!important;
   justify-content:center!important;
   gap:5px!important;
   top:0!important;right:0!important;bottom:0!important;
   width:155px!important;
   padding:7px 6px!important;
   margin:0!important;
   opacity:0!important;
   pointer-events:none!important;
   transition:opacity .16s ease!important;
   z-index:4!important;
 }
 html body .billing-vnext-list .billing-wallet-swipe-open > .billing-wallet-swipe-actions {
   opacity:1!important;pointer-events:auto!important;
 }
 html body .billing-vnext-list .billing-wallet-swipe-actions > button {
   box-sizing:border-box!important;
   flex:1 1 0!important;
   min-width:0!important;
   padding:5px 4px!important;
   border:1px solid var(--billing-line,#dae3f0)!important;
   border-radius:10px!important;
   font-weight:750!important;font-size:10px!important;line-height:1.3!important;font-family:inherit!important;
   color:#2166be!important;
   background:#e7f0ff!important;
   cursor:pointer!important;
   touch-action:manipulation!important;
   white-space:normal!important;
   overflow-wrap:anywhere!important;
 }
 html body .billing-vnext-list .billing-wallet-swipe-actions > button[data-wallet-action="exclude"] {
   background:#fff0f1!important;
   color:#bf354e!important;
   border-color:#f6c6cd!important;
 }
 html body .billing-vnext-list.is-selecting .billing-wallet-swipe-actions {
   display:none!important;
 }
}
/* Modal de edição: isolado do layout e com confirmação para exclusão. */
html body > dialog.billing-wallet-action-dialog {
 width:min(420px,calc(100vw - 28px))!important;
 max-width:calc(100vw - 28px)!important;
 max-height:calc(100dvh - 40px)!important;
 margin:auto!important;
 padding:0!important;
 border:1px solid var(--border,#dbe4f0)!important;
 border-radius:20px!important;
 background:var(--surface-solid,#fff)!important;
 color:var(--ink,#1b2943)!important;
 box-shadow:0 20px 60px #101e3940!important;
 overflow:auto!important;
}
html body > dialog.billing-wallet-action-dialog::backdrop {
 background:#101d345d!important;
 backdrop-filter:blur(4px)!important;
}
html body .billing-wallet-action-dialog > form {
 display:grid!important;
 gap:12px!important;
 margin:0!important;
 padding:20px!important;
}
html body .billing-wallet-action-dialog header {
 display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
}
html body .billing-wallet-action-dialog h2 {
 margin:0!important;font-size:19px!important;font-weight:800!important;
}
html body .billing-wallet-action-dialog header button {
 min-width:32px!important;min-height:32px!important;border:0!important;
 border-radius:50%!important;background:transparent!important;color:inherit!important;
 font-size:24px!important;cursor:pointer!important;
}
html body .billing-wallet-action-dialog p {
 margin:0!important;font-size:12px!important;color:var(--muted,#68758c)!important;line-height:1.5!important;
}
html body .billing-wallet-action-dialog [hidden]{display:none!important;}
html body .billing-wallet-action-dialog label {
 display:grid!important;gap:6px!important;font-size:12px!important;font-weight:700!important;
}
html body .billing-wallet-action-dialog :is(select,input) {
 display:block!important;box-sizing:border-box!important;width:100%!important;
 min-height:42px!important;padding:9px 11px!important;
 border:1px solid var(--border,#ccd8ec)!important;
 border-radius:11px!important;background:var(--surface-solid,#fff)!important;
 color:var(--ink,#1b2943)!important;font-size:16px!important;
}
html body .billing-wallet-action-dialog footer {
 display:flex!important;justify-content:flex-end!important;gap:8px!important;
}
html body .billing-wallet-action-dialog footer button {
 border:1px solid var(--border,#dce5f2)!important;border-radius:11px!important;
 padding:10px 13px!important;font-size:12px!important;font-weight:750!important;cursor:pointer!important;
 background:var(--surface-solid,#fff)!important;color:var(--ink,#1b2943)!important;
}
html body .billing-wallet-action-dialog footer button[type=submit] {
 background:#2878f5!important;color:white!important;border-color:#2878f5!important;
}
html body .billing-wallet-action-dialog[data-mode=exclude] footer button[type=submit] {
 background:#d43e58!important;border-color:#d43e58!important;
}


/* Popup de parcelas: ações individuais apenas no mobile.
   No desktop, o formulário de cancelamento original permanece. */
html body .billing-wallet-inline-exclude,
html body .billing-wallet-inline-form {display:none!important;}
@media screen and (max-width:600px){
 html body #billing-installments-dialog .billing-vnext-charge-actions .billing-wallet-inline-exclude {
   display:inline-flex!important;
   justify-content:center!important;align-items:center!important;
   min-height:35px!important;padding:7px 11px!important;
   background:#fff0f2!important;border:1px solid #f4c4cf!important;
   color:#bc344c!important;border-radius:9px!important;
   font-size:12px!important;font-weight:700!important;cursor:pointer!important;
 }
 html body #billing-installments-dialog .billing-vnext-charge-actions form[data-billing-cancel-charge]{
   display:none!important;
 }
 html body #billing-installments-dialog .billing-wallet-inline-form {
   display:grid!important;gap:9px!important;margin:12px 0 0!important;
   padding:13px!important;border:1px solid var(--billing-line,#dce5f1)!important;
   border-radius:13px!important;background:var(--billing-card,var(--surface-solid,#fff))!important;
 }
 html body #billing-installments-dialog .billing-wallet-inline-form label{
   display:grid!important;gap:6px!important;font-size:12px!important;font-weight:700!important;
 }
 html body #billing-installments-dialog .billing-wallet-inline-form input{
   box-sizing:border-box!important;width:100%!important;min-height:44px!important;
   padding:9px 12px!important;font-size:16px!important;border-radius:11px!important;
   border:1px solid var(--billing-line,#dce5f1)!important;
   background:var(--billing-card,var(--surface-solid,#fff))!important;
   color:var(--billing-ink,var(--ink,#14233b))!important;
 }
 html body #billing-installments-dialog .billing-wallet-inline-form > div{
   display:flex!important;justify-content:flex-end!important;gap:8px!important;
 }
 html body #billing-installments-dialog .billing-wallet-inline-form button{
   box-sizing:border-box!important;padding:8px 12px!important;border-radius:9px!important;
   font-weight:700!important;min-height:36px!important;
   border:1px solid var(--billing-line,#dce5f1)!important;
   background:var(--billing-card,#fff)!important;color:var(--billing-ink,#14233b)!important;
 }
 html body #billing-installments-dialog .billing-wallet-inline-form button[type=submit]{
   background:#2878f5!important;color:white!important;border-color:#2878f5!important;
 }
}


/* Confirmação compacta de exclusão do cliente inteiro da Carteira.
   Escopo único: diálogo aberto pelo gesto no cartão (mobile). */
html body > dialog.billing-wallet-client-delete-dialog {
  box-sizing:border-box!important;
  position:fixed!important;
  inset:0!important;
  width:min(268px,calc(100vw - 44px))!important;
  min-width:0!important;
  max-width:calc(100vw - 44px)!important;
  height:auto!important;
  max-height:calc(100dvh - 40px)!important;
  margin:auto!important;
  padding:0!important;
  border:1px solid var(--border,#dbe4f0)!important;
  border-radius:18px!important;
  color:var(--ink,#17233b)!important;
  background:var(--surface-solid,#fff)!important;
  box-shadow:0 18px 50px rgba(15,25,49,.27)!important;
  overflow:hidden!important;
}
html body > dialog.billing-wallet-client-delete-dialog::backdrop {
  background:rgba(18,27,45,.38)!important;
  backdrop-filter:blur(3px)!important;
}
html body .billing-wallet-client-delete-inner {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  min-width:0!important;
  margin:0!important;
  padding:14px 15px 14px!important;
}
html body .billing-wallet-client-delete-inner header {
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  min-height:30px!important;
}
html body .billing-wallet-client-delete-inner h2 {
  margin:4px 0 0!important;
  padding:0!important;
  font-size:18px!important;
  font-weight:750!important;
  line-height:1.2!important;
}
html body .billing-wallet-client-delete-inner [data-wallet-client-dismiss] {
  box-sizing:border-box!important;
  display:flex!important;
  justify-content:center!important;
  align-items:center!important;
  width:30px!important;
  height:30px!important;
  min-height:30px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  color:inherit!important;
  font-size:23px!important;
  line-height:1!important;
  cursor:pointer!important;
}
html body .billing-wallet-client-delete-inner footer {
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
}
html body .billing-wallet-client-delete-inner [data-wallet-client-confirm] {
  box-sizing:border-box!important;
  display:inline-flex!important;
  justify-content:center!important;
  align-items:center!important;
  min-width:62px!important;
  min-height:36px!important;
  padding:8px 15px!important;
  border:0!important;
  border-radius:10px!important;
  background:#2878f5!important;
  color:white!important;
  font-size:13px!important;
  font-weight:750!important;
  cursor:pointer!important;
}
html body .billing-wallet-client-delete-inner [data-wallet-client-confirm]:disabled {
  opacity:.6!important;
  cursor:wait!important;
}
html body .billing-wallet-client-delete-inner .billing-wallet-client-delete-error {
  margin:0!important;
  font-size:11px!important;
  color:#bb2f47!important;
  line-height:1.4!important;
  overflow-wrap:anywhere!important;
}
html body .billing-wallet-client-delete-inner [hidden] {display:none!important;}


/* source: /assets/msnbot-automation-keyword-row-mobile-v510.css */
/* Automação > Palavras-chave: cartão compacto exclusivamente no smartphone.
 * Ícone, nome/frases, execuções, Editar e Excluir em uma faixa horizontal.
 * Interruptor no topo direito. Sem alteração de campos, ações, desktop/tablet.
 */
@media screen and (max-width:600px) {
 html body > main.page:not(.auth-page):has(> .automation-hero)
 .automation-keyword-panel .automation-list > .automation-rule-row.automation-rule-modern {
   position:relative!important;
   box-sizing:border-box!important;
   display:grid!important;
   grid-template-columns:minmax(0,1fr) auto!important;
   grid-template-rows:minmax(0,1fr)!important;
   align-items:center!important;
   align-content:center!important;
   gap:5px!important;
   width:100%!important;
   min-width:0!important;
   min-height:77px!important;
   height:auto!important;
   margin:0!important;
   padding:8px 7px!important;
   border-radius:12px!important;
 }
 html body .automation-keyword-panel .automation-rule-modern > .automation-rule-main {
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:row!important;
   align-items:center!important;
   justify-content:flex-start!important;
   flex-wrap:nowrap!important;
   align-self:center!important;
   gap:5px!important;
   grid-column:1!important;
   grid-row:1!important;
   min-width:0!important;
   width:100%!important;
   margin:0!important;
   padding:0!important;
   overflow:hidden!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-main > .automation-icon {
   display:grid!important;
   flex:0 0 26px!important;
   place-items:center!important;
   width:26px!important;
   min-width:26px!important;
   height:26px!important;
   min-height:26px!important;
   border-radius:8px!important;
   font-size:13px!important;
   margin:0!important;
   padding:0!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-main > div {
   display:flex!important;
   flex:1 1 auto!important;
   flex-direction:column!important;
   align-items:flex-start!important;
   justify-content:center!important;
   gap:2px!important;
   min-width:0!important;
   width:100%!important;
   margin:0!important;
   padding:0!important;
   overflow:hidden!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-main > div > strong {
   display:block!important;
   max-width:100%!important;
   width:100%!important;
   margin:0!important;
   padding:0!important;
   font-size:12px!important;
   line-height:1.16!important;
   font-weight:800!important;
   text-align:left!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   text-overflow:ellipsis!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-main > div > small {
   box-sizing:border-box!important;
   display:block!important;
   width:100%!important;
   min-width:0!important;
   max-width:100%!important;
   margin:0!important;
   padding:0!important;
   font-size:9px!important;
   line-height:1.16!important;
   text-align:left!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   text-overflow:ellipsis!important;
 }
 /* Chips preservados e roláveis em uma única linha, sem transformar
    cada palavra-chave em um cartão mais alto. */
 html body .automation-keyword-panel .automation-rule-modern .keyword-row-phrases {
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:row!important;
   flex-wrap:nowrap!important;
   align-items:center!important;
   justify-content:flex-start!important;
   flex:0 1 auto!important;
   width:100%!important;
   min-width:0!important;
   max-width:100%!important;
   gap:3px!important;
   margin:2px 0 0!important;
   padding:0 0 2px!important;
   overflow-x:auto!important;
   overflow-y:hidden!important;
   overscroll-behavior-x:contain!important;
   touch-action:pan-x!important;
   -webkit-overflow-scrolling:touch;
   scrollbar-width:none!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .keyword-row-phrases::-webkit-scrollbar {
   display:none!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .keyword-row-phrases > button {
   box-sizing:border-box!important;
   display:inline-flex!important;
   flex:0 0 auto!important;
   align-items:center!important;
   justify-content:center!important;
   min-height:20px!important;
   height:20px!important;
   max-width:135px!important;
   padding:2px 5px!important;
   margin:0!important;
   border-radius:7px!important;
   font-size:9px!important;
   font-weight:700!important;
   line-height:1.15!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   text-overflow:ellipsis!important;
   touch-action:pan-x!important;
 }
 /* Lado direito tem todos os comandos em uma só linha.
    Só o switch está ligeiramente mais alto, no topo do cartão. */
 html body .automation-keyword-panel .automation-rule-modern > .automation-rule-meta {
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:row!important;
   flex-wrap:nowrap!important;
   justify-content:flex-end!important;
   align-items:center!important;
   align-self:center!important;
   grid-column:2!important;
   grid-row:1!important;
   gap:3px!important;
   margin:17px 0 0!important;
   padding:0!important;
   min-width:0!important;
   width:auto!important;
   max-width:100%!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-meta > form.keyword-toggle-form {
   box-sizing:border-box!important;
   display:flex!important;
   position:absolute!important;
   top:7px!important;
   right:7px!important;
   width:38px!important;
   height:23px!important;
   min-height:0!important;
   margin:0!important;
   padding:0!important;
   z-index:2!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-meta .keyword-switch {
   box-sizing:border-box!important;
   position:relative!important;
   flex:0 0 38px!important;
   width:38px!important;
   min-width:38px!important;
   height:23px!important;
   min-height:23px!important;
   padding:0!important;
   margin:0!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-meta .keyword-switch i {
   top:3px!important;
   left:3px;
   width:17px!important;
   height:17px!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-meta .keyword-switch.on i {
   left:18px!important;
 }
 /* Contador ao lado esquerdo do interruptor, ambos no topo.
    Editar e Excluir continuam compactos na linha inferior. */
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-meta > span {
   box-sizing:border-box!important;
   position:absolute!important;
   top:8px!important;
   right:50px!important;
   display:inline-flex!important;
   flex:0 0 auto!important;
   flex-direction:row!important;
   align-items:center!important;
   justify-content:flex-end!important;
   gap:3px!important;
   width:auto!important;
   min-width:0!important;
   max-width:104px!important;
   height:23px!important;
   min-height:23px!important;
   margin:0!important;
   padding:0!important;
   text-align:right!important;
   line-height:1.1!important;
   white-space:nowrap!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-meta > span b {
   display:inline-block!important;
   font-size:11px!important;
   line-height:1.15!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-meta > span small {
   display:inline-block!important;
   font-size:8px!important;
   line-height:1.1!important;
   letter-spacing:-.025em!important;
   white-space:nowrap!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-meta > .keyword-edit-button {
   box-sizing:border-box!important;
   display:inline-flex!important;
   flex:0 0 auto!important;
   align-items:center!important;
   justify-content:center!important;
   min-width:34px!important;
   height:24px!important;
   min-height:24px!important;
   margin:0!important;
   padding:3px 4px!important;
   font-size:8px!important;
   font-weight:750!important;
   line-height:1!important;
   border-radius:7px!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-meta > form:not(.keyword-toggle-form) {
   box-sizing:border-box!important;
   display:flex!important;
   flex:0 0 24px!important;
   align-items:center!important;
   justify-content:center!important;
   width:24px!important;
   min-width:24px!important;
   margin:0!important;
   padding:0!important;
 }
 html body .automation-keyword-panel .automation-rule-modern .automation-rule-meta .automation-trash {
   box-sizing:border-box!important;
   display:grid!important;
   place-items:center!important;
   flex:0 0 24px!important;
   width:24px!important;
   min-width:24px!important;
   height:24px!important;
   min-height:24px!important;
   margin:0!important;
   padding:2px!important;
   border-radius:7px!important;
   font-size:11px!important;
 }
}


/* source: /assets/msnbot-automation-unified-mobile-v511.css */
/* MSNBOT | Automação mobile: cabeçalho e abas em um único bloco visual.
   Contadores embutidos nas abas, sem fileira de métricas redundante.
   Não afeta tablet, desktop, o Dock, o conteúdo e as demais telas. */
html body .automation-tabs .automation-tab-mobile-count {
 display:none!important;
}
@media screen and (max-width:600px){
 html body > main.page:not(.auth-page):has(> .automation-hero){
   gap:0!important;
   row-gap:0!important;
 }
 html body > main.page:not(.auth-page) > .automation-hero {
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:column!important;
   justify-content:center!important;
   align-items:stretch!important;
   flex-wrap:nowrap!important;
   gap:0!important;
   min-height:0!important;
   margin:0!important;
   padding:10px 11px 7px!important;
   width:100%!important;
   max-width:100%!important;
   border:1px solid var(--border,#dce2ee)!important;
   border-bottom:0!important;
   border-radius:17px 17px 0 0!important;
   background:color-mix(in srgb,var(--surface-solid,#fff) calc(var(--panel-alpha,.90) * 100%),transparent)!important;
   box-shadow:none!important;
 }
 html body > main.page:not(.auth-page) > .automation-hero > .automation-hero-title {
   box-sizing:border-box!important;
   display:flex!important;
   align-items:center!important;
   justify-content:space-between!important;
   flex-direction:row!important;
   flex-wrap:nowrap!important;
   gap:8px!important;
   min-width:0!important;
   width:100%!important;
   min-height:34px!important;
   margin:0!important;
   padding:0!important;
 }
 html body > main.page:not(.auth-page) > .automation-hero .automation-hero-title h1 {
   margin:0!important;
   padding:0!important;
   font-size:clamp(19px,5.2vw,23px)!important;
   font-weight:850!important;
   line-height:1.12!important;
   letter-spacing:-.025em!important;
   white-space:nowrap!important;
   min-width:0!important;
 }
 html body > main.page:not(.auth-page) > .automation-hero .automation-create-trigger {
   box-sizing:border-box!important;
   display:inline-flex!important;
   flex:0 0 auto!important;
   align-items:center!important;
   justify-content:center!important;
   min-width:72px!important;
   width:auto!important;
   height:31px!important;
   min-height:31px!important;
   padding:6px 10px!important;
   margin:0!important;
   border-radius:9px!important;
   font-size:11px!important;
   line-height:1.12!important;
 }
 html body > main.page:not(.auth-page) > .automation-hero .automation-animated-plus {
   font-size:16px!important;
 }
 /* Os números continuam visíveis, agora dentro de cada aba. */
 html body > main.page:not(.auth-page) > .automation-hero > .automation-stats {
   display:none!important;
 }
 /* Aba diretamente ligada ao cabeçalho; mesmo fundo e borda contínuos. */
 html body > main.page:not(.auth-page) > .automation-tabs {
   box-sizing:border-box!important;
   display:grid!important;
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
   gap:3px!important;
   width:100%!important;
   max-width:100%!important;
   min-width:0!important;
   min-height:0!important;
   margin:0 0 8px!important;
   padding:0 8px 8px!important;
   border:1px solid var(--border,#dce2ee)!important;
   border-top:0!important;
   border-radius:0 0 17px 17px!important;
   background:color-mix(in srgb,var(--surface-solid,#fff) calc(var(--panel-alpha,.90) * 100%),transparent)!important;
   box-shadow:none!important;
 }
 html body > main.page:not(.auth-page) > .automation-tabs > a {
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:row!important;
   align-items:center!important;
   justify-content:center!important;
   gap:3px!important;
   width:100%!important;
   min-width:0!important;
   min-height:32px!important;
   height:auto!important;
   margin:0!important;
   padding:6px 3px!important;
   border-radius:9px!important;
   line-height:1.2!important;
   text-align:center!important;
   overflow:hidden!important;
 }
 html body > main.page:not(.auth-page) > .automation-tabs > a > span {
   flex:0 0 auto!important;
   font-size:12px!important;
 }
 html body > main.page:not(.auth-page) > .automation-tabs > a > strong {
   display:block!important;
   min-width:0!important;
   max-width:100%!important;
   font-size:clamp(9px,2.6vw,11px)!important;
   font-weight:750!important;
   line-height:1.15!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   text-overflow:ellipsis!important;
 }
 html body > main.page:not(.auth-page) > .automation-tabs > a > .automation-tab-mobile-count {
   box-sizing:border-box!important;
   display:inline-flex!important;
   flex:0 0 auto!important;
   align-items:center!important;
   justify-content:center!important;
   min-width:18px!important;
   height:18px!important;
   min-height:18px!important;
   padding:2px 4px!important;
   margin:0!important;
   border-radius:6px!important;
   background:color-mix(in srgb,currentColor 12%,transparent)!important;
   color:inherit!important;
   font-size:9px!important;
   font-weight:800!important;
   line-height:1!important;
 }
 /* Sequência selecionada: indicadores específicos em faixa horizontal,
    sem voltar a criar uma enorme pilha no topo. */
 html body > main.page:not(.auth-page) > .automation-hero:has(.automation-hero-sequence-metrics) {
   display:flex!important;
   flex-direction:column!important;
 }
 html body > main.page:not(.auth-page) > .automation-hero .automation-hero-sequence-metrics {
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:row!important;
   flex-wrap:nowrap!important;
   align-items:stretch!important;
   gap:5px!important;
   width:100%!important;
   min-width:0!important;
   margin:6px 0 0!important;
   padding:0 0 2px!important;
   overflow-x:auto!important;
   overflow-y:hidden!important;
   overscroll-behavior-x:contain!important;
   -webkit-overflow-scrolling:touch;
   scrollbar-width:thin!important;
 }
 html body > main.page:not(.auth-page) > .automation-hero .automation-hero-sequence-metrics > div {
   box-sizing:border-box!important;
   display:flex!important;
   flex:0 0 92px!important;
   flex-direction:column!important;
   align-items:center!important;
   justify-content:center!important;
   min-width:92px!important;
   min-height:36px!important;
   width:92px!important;
   height:auto!important;
   margin:0!important;
   padding:4px!important;
   border-radius:8px!important;
 }
 html body > main.page:not(.auth-page) > .automation-hero .automation-hero-sequence-metrics strong {
   font-size:12px!important;
   line-height:1.2!important;
 }
 html body > main.page:not(.auth-page) > .automation-hero .automation-hero-sequence-metrics small {
   font-size:8px!important;
   line-height:1.15!important;
   text-align:center!important;
 }
}


/* source: /assets/msnbot-automation-keyword-top-controls-v512.css */
/* Automação mobile: Execuções | Editar | Interruptor | Excluir no canto
   superior direito. O carrossel de frases usa a largura integral do cartão.
   Nenhuma mudança de DOM, envio, regras, Dock, desktop ou tablet. */
@media screen and (max-width:600px) {
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-list > .automation-rule-row.automation-rule-modern {
   position:relative!important;
   display:grid!important;
   grid-template-columns:minmax(0,1fr)!important;
   grid-template-rows:auto!important;
   gap:0!important;
   align-content:start!important;
   align-items:start!important;
   min-height:72px!important;
   height:auto!important;
   padding:8px 8px 9px!important;
 }
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern > .automation-rule-main {
   display:flex!important;
   grid-column:1!important;
   grid-row:1!important;
   flex-direction:row!important;
   align-items:flex-start!important;
   gap:5px!important;
   width:100%!important;
   min-width:0!important;
   margin:0!important;
   padding:0!important;
   overflow:visible!important;
 }
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern .automation-rule-main > .automation-icon {
   flex:0 0 26px!important;
   margin:0!important;
 }
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern .automation-rule-main > div {
   box-sizing:border-box!important;
   display:flex!important;
   flex:1 1 0!important;
   flex-direction:column!important;
   align-items:flex-start!important;
   justify-content:flex-start!important;
   width:auto!important;
   min-width:0!important;
   max-width:100%!important;
   gap:2px!important;
   margin:0!important;
   padding:0!important;
   overflow:visible!important;
 }
 /* Não esconder nome/tipo atrás dos botões superiores. */
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern .automation-rule-main > div > :is(strong,small) {
   box-sizing:border-box!important;
   width:calc(100% - 164px)!important;
   max-width:calc(100% - 164px)!important;
   min-width:0!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   text-overflow:ellipsis!important;
 }
 /* Ao contrário do título, as frases usam TODO o comprimento do cartão.
    O -31px recupera os 26px do ícone e os 5px do gap. */
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern .automation-rule-main .keyword-row-phrases {
   box-sizing:border-box!important;
   display:flex!important;
   flex-direction:row!important;
   flex-wrap:nowrap!important;
   align-items:center!important;
   justify-content:flex-start!important;
   flex:0 0 auto!important;
   width:calc(100% + 31px)!important;
   max-width:calc(100% + 31px)!important;
   min-width:0!important;
   gap:4px!important;
   margin:5px 0 0 -31px!important;
   padding:0 0 3px!important;
   overflow-x:auto!important;
   overflow-y:hidden!important;
   overscroll-behavior-x:contain!important;
   -webkit-overflow-scrolling:touch;
   touch-action:pan-x!important;
   scrollbar-width:none!important;
 }
 /* Controles fora da grade, sem ocupar a largura das frases. */
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern > .automation-rule-meta {
   position:absolute!important;
   top:7px!important;
   right:7px!important;
   bottom:auto!important;
   left:auto!important;
   display:flex!important;
   flex-direction:row!important;
   flex-wrap:nowrap!important;
   justify-content:flex-end!important;
   align-items:center!important;
   align-self:auto!important;
   gap:3px!important;
   width:auto!important;
   min-width:0!important;
   max-width:calc(100% - 45px)!important;
   height:24px!important;
   min-height:24px!important;
   margin:0!important;
   padding:0!important;
   background:transparent!important;
   box-shadow:none!important;
   z-index:2!important;
 }
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern .automation-rule-meta > span {
   position:static!important;
   order:0!important;
   display:inline-flex!important;
   flex:0 0 auto!important;
   flex-direction:row!important;
   align-items:center!important;
   justify-content:center!important;
   gap:2px!important;
   width:auto!important;
   max-width:64px!important;
   min-width:0!important;
   height:24px!important;
   margin:0!important;
   padding:0!important;
   white-space:nowrap!important;
 }
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern .automation-rule-meta > span :is(b,small) {
   white-space:nowrap!important;
   font-size:9px!important;
   line-height:1.1!important;
 }
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern .automation-rule-meta > .keyword-edit-button {
   order:1!important;
   display:inline-flex!important;
   flex:0 0 34px!important;
   width:34px!important;
   min-width:34px!important;
   height:24px!important;
   min-height:24px!important;
   margin:0!important;
   padding:3px!important;
   font-size:8px!important;
   border-radius:7px!important;
 }
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern .automation-rule-meta > form.keyword-toggle-form {
   position:static!important;
   top:auto!important;
   right:auto!important;
   order:2!important;
   display:flex!important;
   flex:0 0 38px!important;
   width:38px!important;
   min-width:38px!important;
   height:23px!important;
   min-height:23px!important;
   margin:0!important;
   padding:0!important;
 }
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern .automation-rule-meta > form:not(.keyword-toggle-form) {
   order:3!important;
   display:flex!important;
   flex:0 0 24px!important;
   width:24px!important;
   min-width:24px!important;
   height:24px!important;
   min-height:24px!important;
   margin:0!important;
   padding:0!important;
 }
 html body > main.page:not(.auth-page) .automation-keyword-panel
 .automation-rule-modern .automation-rule-meta .automation-trash {
   width:24px!important;
   min-width:24px!important;
   height:24px!important;
   min-height:24px!important;
   margin:0!important;
   padding:2px!important;
   border-radius:7px!important;
   font-size:11px!important;
 }
}


/* source: /assets/msnbot-tasks-auto-filters-v513.css */
/* Tarefas: todos os filtros são aplicados automaticamente pelo JS
   msnbot-tasks-command-v500.js. Elimina a coluna do botão Filtrar;
   Minhas ocupa seu lugar, ao lado do seletor no mobile.
   Sem alterações no Dock ou nos formulários de criação/edição. */
html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters {
  grid-template-columns:minmax(145px,1.45fr) repeat(4,minmax(89px,.67fr)) auto!important;
}
html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters > .tasks-v500-mine-link {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-width:0!important;
  white-space:nowrap!important;
}
@media screen and (max-width:1400px) {
  html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters {
    grid-template-columns:minmax(145px,1.4fr) repeat(4,minmax(80px,.65fr)) auto!important;
  }
}
@media screen and (max-width:950px) {
  html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters {
    grid-template-columns:minmax(0,1fr) repeat(2,minmax(85px,.6fr)) auto!important;
  }
}
@media screen and (max-width:620px) {
  html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:6px!important;
    min-width:0!important;
    width:100%!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters > input[name="q"] {
    grid-column:1/-1!important;
    min-width:0!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters > select[name="status"] {
    grid-column:1!important;
    min-width:0!important;
  }
  html body .tasks-workspace-v500 .tasks-v501-header .tasks-v500-filters > .tasks-v500-mine-link {
    grid-column:2!important;
    min-width:0!important;
    margin:0!important;
  }
}


/* source: /assets/msnbot-dock-live-container-v514.css */
/* A parede inferior dos módulos acompanha a borda superior REAL do Dock.
 * Apenas desktop (>1100), onde o usuário pode redimensionar o Dock nas
 * Configurações. Tablet já usa seu próprio medidor; mobile usa --v451.
 * Evita faixa morta e nunca move, escala ou colore a cápsula do Dock. */
@media screen and (min-width:1101px){
 html body.dock-pos-bottom.dock-manual-open
 > main.page:not(.auth-page):is(
   :has(> .d43-dashboard),:has(> .broadcast-unified-toolbar),
   :has(> .audience-headbar),:has(> .schedule-timeline-app),
   :has(> .internal-chat-hero),:has(> .tasks-workspace-v500),
   :has(> .kanban-live-root),:has(> .billing-vnext),
   :has(> .settings-hero),:has(> .automation-hero),:has(> .sales-funnel-head-v765)
 ){
   box-sizing:border-box!important;
   height:var(--msnbot-live-main-to-dock-height,calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px)))!important;
   max-height:var(--msnbot-live-main-to-dock-height,calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px)))!important;
   min-height:0!important;
   margin-bottom:0!important;
   padding-bottom:0!important;
 }
 /* Menus e painéis de Configurações esticam até o novo limite do Dock,
    independentemente de o usuário deixar a cápsula menor ou maior. */
 html body.dock-pos-bottom.dock-manual-open
 > main.page:not(.auth-page):has(> .settings-hero)
 > .settings-shell{
   flex:1 1 auto!important;
   min-height:0!important;
   margin-bottom:0!important;
 }
}

/* Smartphone e tablet recebem a mesma âncora que o desktop, medindo
   a borda SUPERIOR real da cápsula. Não alterar Bate-Papo nem editor
   de Fluxos, que têm ajuste próprio de tela cheia. */
@media screen and (max-width:1100px){
 html body.dock-pos-bottom:not(.dock-manual-hidden)
 > main.page:not(.auth-page):is(
   :has(> .d43-dashboard),:has(> .broadcast-unified-toolbar),
   :has(> .audience-headbar),:has(> .schedule-timeline-app),
   :has(> .internal-chat-hero),:has(> .tasks-workspace-v500),
   :has(> .kanban-live-root),:has(> .billing-vnext),
   :has(> .settings-hero),:has(> .automation-hero),:has(> .sales-funnel-head-v765)
 ){
   box-sizing:border-box!important;
   height:var(--msnbot-live-main-to-dock-height,
     calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px)))!important;
   max-height:var(--msnbot-live-main-to-dock-height,
     calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px)))!important;
   min-height:0!important;
   padding-bottom:0!important;
   margin-bottom:0!important;
 }
}
@media screen and (min-width:601px) and (max-width:1100px){
 /* Se o Dock está oculto, não reservar sua altura. */
 html body.dock-manual-hidden > main.page:not(.auth-page){
   --msnbot-live-main-to-dock-height:initial;
 }
}


/* source: /assets/msnbot-dock-hover-label-v515.css */
/* MSNBOT: no Dock de desktop o texto aparece APENAS no ícone apontado.
 * Os rótulos não ocupam espaço permanente e não aumentam a largura
 * nem a altura da cápsula; a bolinha identifica a página ativa.
 * No mobile/touch, a identificação textual fica preservada por usabilidade.
 */
@media (min-width:701px) and (hover:hover) and (pointer:fine){
 html body:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item{
   position:relative!important;
   overflow:visible!important;
 }
 /* O nome real permanece acessível via aria-label; usa-se uma única
    camada de hover, sem duplicar com <small> ou com tooltip antigo. */
 html body:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item > small{
   display:none!important;
 }
 /* A preferência antiga "mostrar nomes" não pode alargar os ícones.
    O tamanho escolhido no slider do Dock permanece a única medida. */
 html body.dock-show-labels:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item{
   --dock-item-span:var(--dock-size)!important;
   inline-size:var(--dock-size)!important;
   min-inline-size:var(--dock-size)!important;
   max-inline-size:var(--dock-size)!important;
 }
 /* Substitui o tooltip antigo acima por um nome abaixo do ícone. */
 html body:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item::before{
   content:attr(data-dock-label)!important;
   position:absolute!important;
   z-index:50!important;
   top:calc(100% + 2px)!important;
   bottom:auto!important;
   left:50%!important;
   right:auto!important;
   display:block!important;
   box-sizing:border-box!important;
   width:max-content!important;
   max-width:150px!important;
   min-width:0!important;
   height:auto!important;
   padding:2px 6px!important;
   margin:0!important;
   border:1px solid color-mix(in srgb,var(--block-ink,#14213a) 12%,transparent)!important;
   border-radius:7px!important;
   background:color-mix(in srgb,var(--surface-solid,#fff) 92%,transparent)!important;
   color:var(--block-ink,#14213a)!important;
   font-family:var(--font-display,Inter,system-ui,sans-serif)!important;
   font-size:10px!important;
   line-height:1.15!important;
   font-weight:700!important;
   letter-spacing:0!important;
   text-align:center!important;
   white-space:nowrap!important;
   overflow:hidden!important;
   text-overflow:ellipsis!important;
   box-shadow:0 2px 8px rgba(22,37,67,.12)!important;
   opacity:0!important;
   visibility:hidden!important;
   pointer-events:none!important;
   transform:translate(-50%,-3px)!important;
   transition:opacity .12s ease,transform .12s ease,visibility .12s!important;
 }
 html body:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item:is(:hover,:focus-visible)::before{
   opacity:1!important;
   visibility:visible!important;
   transform:translate(-50%,0)!important;
 }
 /* Remover a setinha do tooltip antigo, que ficava acima do ícone. */
 html body:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item::after{
   content:none!important;
   display:none!important;
 }
 /* A bolinha é independente do hover e permanece no APP aberto. */
 html body:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item.active > .dock-open-dot{
   display:block!important;
   position:absolute!important;
   z-index:55!important;
   bottom:0!important;
   left:50%!important;
   width:4px!important;
   height:4px!important;
   transform:translateX(-50%)!important;
   opacity:1!important;
   visibility:visible!important;
   pointer-events:none!important;
 }
 /* Se o Dock estiver na esquerda/direita, o nome aparece ao lado do
    ícone para não se sobrepor ao aplicativo que vem logo abaixo. */
 html body.dock-pos-left:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item::before{
   left:calc(100% + 10px)!important;
   right:auto!important;
   top:50%!important;
   transform:translate(-3px,-50%)!important;
 }
 html body.dock-pos-left:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item:is(:hover,:focus-visible)::before{
   transform:translate(0,-50%)!important;
 }
 html body.dock-pos-right:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item::before{
   left:auto!important;
   right:calc(100% + 10px)!important;
   top:50%!important;
   transform:translate(3px,-50%)!important;
 }
 html body.dock-pos-right:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item:is(:hover,:focus-visible)::before{
   transform:translate(0,-50%)!important;
 }
 html[data-theme="dark"] body:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item::before{
   background:rgba(29,37,50,.97)!important;
   border-color:rgba(202,221,245,.24)!important;
   color:#f3f7ff!important;
 }
}

/* Keep hover names inside the usable bottom edge, not below the viewport. */
@media(min-width:701px) and (hover:hover) and (pointer:fine){
 html body:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item::before{font-size:9px!important;line-height:1.05!important;padding:1px 5px!important}
 html body.dock-pos-bottom:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item::before{top:auto!important;bottom:0!important;transform:translate(-50%,calc(100% - 1px))!important}
 html body.dock-pos-bottom:not(:has(main.auth-page)) #msnbot-dock.desktop-dock .dock-item:is(:hover,:focus-visible)::before{transform:translate(-50%,calc(100% - 1px))!important}
 html body.dock-pos-bottom:not(:has(main.auth-page)) #msnbot-dock.desktop-dock{bottom:max(15px,calc(env(safe-area-inset-bottom,0px) + 8px))!important;overflow:visible!important}
}


/* source: /assets/msnbot-broadcast-docs-audience-sequences-v517.css */
/* Transmissão: seletor de qualquer tipo, sem impedir picker nativo.
   A validação real permanece no servidor (15 MB, MIME confiável). */
html body .broadcast-modern-dialog .broadcast-document-file-input{
 position:absolute!important;
 width:1px!important;height:1px!important;
 max-width:1px!important;max-height:1px!important;
 opacity:0!important;
 clip-path:inset(50%)!important;
 overflow:hidden!important;
 pointer-events:none!important;
}
html body .broadcast-modern-dialog .broadcast-media-display{
 position:relative!important;
}
/* Audiência: reutiliza o drawer do seletor de etiquetas, só muda o corpo. */
html body .audience-sequence-drawer{
 gap:15px!important;
}
html body .audience-sequence-drawer #bulk-sequence-form{
 display:flex!important;
 flex-direction:column!important;
 align-items:stretch!important;
 gap:13px!important;
 min-height:0!important;
 width:100%!important;
 margin:0!important;
}
html body .audience-sequence-drawer .audience-sequence-label{
 display:flex!important;
 flex-direction:column!important;
 align-items:stretch!important;
 gap:7px!important;
 font-size:12px!important;
 font-weight:720!important;
 min-width:0!important;
}
html body .audience-sequence-drawer .audience-sequence-label select{
 box-sizing:border-box!important;
 width:100%!important;
 min-width:0!important;
 max-width:100%!important;
 min-height:43px!important;
 padding:9px 10px!important;
 border:1px solid var(--border,#dae3f2)!important;
 border-radius:11px!important;
 background:var(--surface-solid,#fff)!important;
 color:var(--ink,#1d2740)!important;
 font-size:14px!important;
}
html body .audience-sequence-drawer #bulk-sequence-form .audience-bulk-drawer-footer{
 margin-top:8px!important;
}
@media screen and (max-width:600px){
 html body .audience-sequence-drawer{
   width:min(100vw,410px)!important;
   padding:16px 13px!important;
 }
 html body .audience-sequence-drawer .audience-sequence-label select{
   font-size:16px!important;
 }
}


/* source: /assets/msnbot-tablet-dock-ceiling-v520.css */
/* MSNBOT 5.2.0 — tablet 601–1399px, inclusive iPad 11" deitado.
 * Teto real do Dock = limite inferior de cada módulo. Sem faixa reserva,
 * bordas atrás da cápsula ou avanço sobre o campo de escrita.
 * Não altera iPhone (<601px), desktop amplo (>1399px), Dock ou gestos.
 */
@media screen and (min-width:601px) and (max-width:1399px) {
 html body.dock-pos-bottom > main.page:not(.auth-page)[data-msnbot-tablet-dock-page] {
   box-sizing:border-box!important;
   height:var(--msnbot-tablet-main-ceiling)!important;
   max-height:var(--msnbot-tablet-main-ceiling)!important;
   min-height:0!important;
   padding-bottom:0!important;
   margin-bottom:0!important;
   overflow-x:hidden!important;
   overflow-y:hidden!important;
   background:transparent!important;
   border-bottom:0!important;
 }
 /* Página por página: a superfície central ocupa o espaço que sobra
    depois do cabeçalho. Sem forçar altura nos cartões individuais. */
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page]:not([data-msnbot-tablet-dock-page="bate-papo"]):not([data-msnbot-tablet-dock-page="campanhas"]):not([data-msnbot-tablet-dock-page="fluxos"]):not([data-msnbot-tablet-dock-page="utilitarios"]) {
   display:flex!important;
   flex-direction:column!important;
   align-items:stretch!important;
   gap:0!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="painel"],
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="campanhas"],
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="fluxos"],
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="utilitarios"] {
   overflow-y:auto!important;
   -webkit-overflow-scrolling:touch;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page] > :is(
   .d43-dashboard,.broadcast-shell,.audience-shell,.schedule-timeline-app,
   .internal-chat-shell,.tasks-workspace-v500,.billing-vnext,.settings-shell,
   .automation-shell,.campaign-list-card
 ) {
   box-sizing:border-box!important;
   flex:1 1 auto!important;
   min-height:0!important;
   max-height:100%!important;
   margin-bottom:0!important;
   padding-bottom:0!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="transmissao"] > .broadcast-shell,
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="audiencia"] > .audience-shell,
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="chat-equipe"] > .internal-chat-shell,
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="configuracoes"] > .settings-shell,
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="automacao"] > .automation-shell {
   grid-template-rows:minmax(0,1fr)!important;
   align-items:stretch!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="transmissao"] > .broadcast-shell > :is(.broadcast-list-card,.broadcast-detail-card),
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="audiencia"] > .audience-shell > .audience-list-panel {
   min-height:0!important;
   height:100%!important;
   max-height:100%!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="agenda"] > .schedule-timeline-app,
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="tarefas"] > .tasks-workspace-v500 {
   display:flex!important;
   flex-direction:column!important;
   min-height:0!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="agenda"] > .schedule-timeline-app > .timeline-calendar,
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="tarefas"] > .tasks-workspace-v500 :is(.tasks-shell,.task-list-card) {
   min-height:0!important;
   flex:1 1 auto!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="kanban"] > .kanban-live-root > .kanban-modern-board-wrap {
   min-height:0!important;
   flex:1 1 auto!important;
   margin-bottom:0!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="kanban"] .kanban-board {
   min-height:0!important;
   flex:1 1 auto!important;
   margin-bottom:0!important;
 }
 /* Bate-Papo: substituir os vários cálculos legados APENAS no tablet.
    As três linhas do chat cabem dentro do limite, com o composer
    sempre visível e o histórico rolando na linha do meio. */
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] {
   display:block!important;
   overflow:hidden!important;
   padding-top:0!important;
   padding-bottom:0!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] > .msn-v33-shell {
   box-sizing:border-box!important;
   display:grid!important;
   grid-template-rows:minmax(0,1fr)!important;
   height:var(--msnbot-tablet-chat-ceiling)!important;
   max-height:var(--msnbot-tablet-chat-ceiling)!important;
   min-height:0!important;
   padding-bottom:0!important;
   margin-bottom:0!important;
   overflow:hidden!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] > .msn-v33-shell > :is(.msn-v33-inbox,.msn-v33-chat) {
   box-sizing:border-box!important;
   height:100%!important;
   max-height:100%!important;
   min-height:0!important;
   overflow:hidden!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] > .msn-v33-shell .msn-v33-chat {
   display:grid!important;
   grid-template-rows:auto minmax(0,1fr) max-content!important;
   align-content:stretch!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] > .msn-v33-shell .msn-v33-composer {
   box-sizing:border-box!important;
   position:relative!important;
   align-self:stretch!important;
   min-height:0!important;
   max-height:45dvh!important;
   padding-bottom:6px!important;
   margin-bottom:0!important;
   overflow:visible!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] > .msn-v33-shell #composer-form {
   position:relative!important;
   box-sizing:border-box!important;
   max-width:100%!important;
   min-width:0!important;
   margin-bottom:0!important;
 }
 html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] > .msn-v33-shell :is(#msn-messages,.msn-v33-list) {
   min-height:0!important;
   max-height:100%!important;
   overflow-y:auto!important;
   overflow-x:hidden!important;
 }
}

/* A aba retrátil do cartão pertence apenas ao celular. */
@media screen and (min-width:601px){
  html body > button.msnbot-mobile-contact-edge {
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}


/* source: /assets/msnbot-tablet-real-dock-border-v521.css */
/* MSNBOT 5.2.1 — regra de alinhamento DEFINITIVA para tablet/iPad.
 * Os CSS antigos v503/v506 aplicam height !important com especificidade
 * superior e reserva extra/safe-area. Agora uma camada própria (important)
 * prevalece sobre TODAS as regras unlayered antigas, sem hacks em pixels.
 * A única régua é getBoundingClientRect().top do NAV REAL #msnbot-dock
 * ou #msnbot-mobile-dock, sem considerar seta, sombra nem linha fantasma.
 *
 * Afeta SOMENTE páginas que JS marca após detectar um Dock de fato visível.
 * Preserva celular <=600px, desktop >=1400px e Dock propriamente dito.
 */
@layer msnbot-tablet-real-dock-border {
 @media screen and (min-width:601px) and (max-width:1399px) {
   html body.dock-pos-bottom > main.page:not(.auth-page)[data-msnbot-tablet-dock-page] {
     box-sizing:border-box!important;
     block-size:var(--desktop-dock-fit-v746,var(--msnbot-tablet-main-ceiling))!important;
     height:var(--desktop-dock-fit-v746,var(--msnbot-tablet-main-ceiling))!important;
     max-height:var(--desktop-dock-fit-v746,var(--msnbot-tablet-main-ceiling))!important;
     min-height:0!important;
     margin-bottom:0!important;
     padding-bottom:0!important;
     border-bottom:0!important;
     overflow-x:hidden!important;
     overflow-y:hidden!important;
   }
   /* Módulos que precisam rolar a página inteira, não um painel interno. */
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="painel"],
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="campanhas"],
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="fluxos"],
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="utilitarios"] {
     overflow-y:auto!important;
     overscroll-behavior-y:contain!important;
   }
   /* As páginas com painel inferior precisam ser colunas flex para
      a superfície consumir a altura restante em vez de terminar na
      linha antiga, que alguns CSS herdados ainda desenhavam. */
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page]:is(
     [data-msnbot-tablet-dock-page="transmissao"],
     [data-msnbot-tablet-dock-page="audiencia"],
     [data-msnbot-tablet-dock-page="agenda"],
     [data-msnbot-tablet-dock-page="chat-equipe"],
     [data-msnbot-tablet-dock-page="tarefas"],
     [data-msnbot-tablet-dock-page="kanban"],
     [data-msnbot-tablet-dock-page="cobrancas"],
     [data-msnbot-tablet-dock-page="configuracoes"],
     [data-msnbot-tablet-dock-page="automacao"]
   ) {
     display:flex!important;
     flex-direction:column!important;
     align-items:stretch!important;
     gap:0!important;
   }
   /* Superfícies que completam os pixels restantes após os cabeçalhos.
      Não criar uma segunda reserva em seu próprio rodapé. */
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="transmissao"] > .broadcast-shell,
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="audiencia"] > .audience-shell,
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="agenda"] > .schedule-timeline-app,
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="chat-equipe"] > .internal-chat-shell,
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="tarefas"] > .tasks-workspace-v500,
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="cobrancas"] > .billing-vnext,
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="configuracoes"] > .settings-shell,
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="automacao"] > .automation-shell,
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="campanhas"] > .campaign-list-card {
     box-sizing:border-box!important;
     flex:1 1 0!important;
     height:auto!important;
     min-height:0!important;
     max-height:100%!important;
     margin-bottom:0!important;
     padding-bottom:0!important;
   }
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="kanban"] > .kanban-live-root > .kanban-modern-board-wrap {
     box-sizing:border-box!important;
     flex:1 1 0!important;
     height:auto!important;
     min-height:0!important;
     max-height:100%!important;
     margin-bottom:0!important;
     padding-bottom:0!important;
   }
   /* Bate-Papo: a linha 3 da grade é reservada exclusivamente ao campo
      de digitação. Só o histórico usa a altura variável e rolagem. */
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] {
     display:block!important;
     overflow:hidden!important;
     padding-bottom:0!important;
   }
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] > .msn-v33-shell {
     box-sizing:border-box!important;
     display:grid!important;
     height:var(--desktop-chat-shell-fit-v772,var(--msnbot-tablet-chat-ceiling))!important;
     max-height:var(--desktop-chat-shell-fit-v772,var(--msnbot-tablet-chat-ceiling))!important;
     min-height:0!important;
     overflow:hidden!important;
     padding-bottom:0!important;
     margin-bottom:0!important;
   }
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] > .msn-v33-shell > :is(.msn-v33-chat,.msn-v33-inbox) {
     box-sizing:border-box!important;
     height:100%!important;
     max-height:100%!important;
     min-height:0!important;
     overflow:hidden!important;
   }
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] .msn-v33-chat {
     display:grid!important;
     grid-template-rows:auto minmax(0,1fr) auto!important;
     align-content:stretch!important;
   }
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] .msn-v33-composer {
     box-sizing:border-box!important;
     position:relative!important;
     height:auto!important;
     min-height:0!important;
     margin:0!important;
     padding-bottom:6px!important;
     overflow:visible!important;
     align-self:stretch!important;
   }
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="bate-papo"] :is(#msn-messages,.msn-v33-list) {
     min-height:0!important;
     max-height:100%!important;
     overflow-y:auto!important;
     overflow-x:hidden!important;
   }
 }
}

/* Landscape iPad: keep every settings tab reachable within the real Dock ceiling.
   The nav scrolls independently of the content; preserve the saved menu order. */
@layer msnbot-tablet-real-dock-border {
 @media screen and (min-width:981px) and (max-width:1399px) and (orientation:landscape) {
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="configuracoes"] > .settings-shell {
     display:grid!important;
     grid-template-rows:minmax(0,1fr)!important;
     align-items:stretch!important;
     overflow:hidden!important;
   }
   html body.dock-pos-bottom > main.page[data-msnbot-tablet-dock-page="configuracoes"] > .settings-shell > .settings-content {
     min-height:0!important;
     max-height:100%!important;
     overflow-y:auto!important;
     overflow-x:hidden!important;
   }
 }
}

@layer msnbot-tablet-real-dock-border {
 html body.dock-pos-bottom:has(#flow-editor-app) > main.page:not(.auth-page)[data-msnbot-tablet-dock-page]{
  position:fixed!important;inset:var(--flow-editor-top-v572,var(--v461-topbar-height,44px)) 6px 0 6px!important;
  height:auto!important;block-size:auto!important;max-height:none!important;min-height:0!important;
  width:auto!important;max-width:none!important;margin:0!important;padding:0!important;overflow:hidden!important;
 }
}

/* v790: compact settings navigation. */
@layer msnbot-tablet-real-dock-border {
 @media(min-width:981px){
  html body > main.page:not(.auth-page) > .settings-shell{grid-template-columns:clamp(175px,14vw,205px) minmax(0,1fr)!important}
  html body > main.page:not(.auth-page) > .settings-shell:has(>.settings-nav[data-nav-columns-v790="2"]){grid-template-columns:clamp(230px,24vw,310px) minmax(0,1fr)!important}
  html body > main.page:not(.auth-page) > .settings-shell > .settings-nav{box-sizing:border-box!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:var(--settings-nav-row-v790,29px)!important;align-content:start!important;align-items:stretch!important;justify-content:start!important;align-self:start!important;position:relative!important;inset:auto!important;height:max-content!important;min-height:0!important;max-height:none!important;width:100%!important;min-width:0!important;margin:0!important;padding:5px!important;gap:2px!important;overflow:visible!important;scrollbar-width:none!important}
  html body > main.page:not(.auth-page) > .settings-shell > .settings-nav[data-nav-columns-v790="2"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:column!important;grid-template-rows:repeat(var(--settings-nav-rows-v790,7),var(--settings-nav-row-v790,29px))!important}
  html body > main.page:not(.auth-page) > .settings-shell > .settings-nav > a{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important;max-width:none!important;width:auto!important;height:100%!important;min-height:0!important;max-height:none!important;margin:0!important;padding:2px 9px!important;line-height:1.2!important;white-space:normal!important}
  html body > main.page:not(.auth-page) > .settings-shell > .settings-nav > a > strong{font-size:12px!important;line-height:1.18!important;overflow-wrap:normal!important;min-width:0!important}
  html body > main.page:not(.auth-page) > .settings-shell > .settings-nav > a > small{display:none!important}
  html body > main.page:not(.auth-page) > .settings-shell > .settings-nav[data-nav-columns-v790="2"] > a{padding-inline:5px!important}
  html body > main.page:not(.auth-page) > .settings-shell > .settings-nav[data-nav-columns-v790="2"] > a > strong{font-size:11px!important;overflow-wrap:anywhere!important}
  html body > main.page:not(.auth-page) > .settings-shell[data-nav-overflow-v790]{overflow-y:auto!important;grid-template-rows:auto!important;align-items:start!important}
 }
}


/* source: /assets/msnbot-tablet-team-studio-dock-v522.css */
/* Chat Equipe (Team Studio) — iPad/tablet 601–1399px.
 * O CSS legado msnbot-team-studio-v489.css usa -6/-7px em suas alturas;
 * os demais módulos já funcionam e NÃO são alterados.
 * A régua é exclusivamente a borda superior REAL do Dock medida por
 * msnbot-tablet-dock-ceiling-v520.js; sem segunda reserva ou fresta.
 */
@layer msnbot-tablet-team-dock {
 @media screen and (min-width:601px) and (max-width:1399px) {
  html body.dock-pos-bottom
    > main.page:not(.auth-page)[data-msnbot-tablet-dock-page="chat-equipe"]:has(> .team-studio) {
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    height:var(--desktop-dock-fit-v746,var(--msnbot-tablet-main-ceiling))!important;
    block-size:var(--desktop-dock-fit-v746,var(--msnbot-tablet-main-ceiling))!important;
    max-height:var(--desktop-dock-fit-v746,var(--msnbot-tablet-main-ceiling))!important;
    min-height:0!important;
    padding-top:8px!important;
    padding-bottom:0!important;
    margin-bottom:0!important;
    overflow:hidden!important;
  }
  html body.dock-pos-bottom
    > main.page[data-msnbot-tablet-dock-page="chat-equipe"] > .team-studio.internal-v225.internal-chat-shell {
    box-sizing:border-box!important;
    display:grid!important;
    flex:1 1 0!important;
    align-self:stretch!important;
    height:auto!important;
    max-height:100%!important;
    min-height:0!important;
    margin-bottom:0!important;
    padding-bottom:0!important;
    overflow:hidden!important;
  }
  html body.dock-pos-bottom
    > main.page[data-msnbot-tablet-dock-page="chat-equipe"]
    > .team-studio.internal-v225 :is(.internal-chat-sidebar,.internal-chat-main) {
    box-sizing:border-box!important;
    height:100%!important;
    max-height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  /* A barra de digitação fica na base da coluna, enquanto mensagens rolam. */
  html body.dock-pos-bottom
    > main.page[data-msnbot-tablet-dock-page="chat-equipe"]
    > .team-studio.internal-v225 .internal-chat-main {
    display:flex!important;
    flex-direction:column!important;
  }
  html body.dock-pos-bottom
    > main.page[data-msnbot-tablet-dock-page="chat-equipe"]
    > .team-studio.internal-v225 .internal-messages {
    flex:1 1 0!important;
    min-height:0!important;
    overflow-y:auto!important;
  }
  html body.dock-pos-bottom
    > main.page[data-msnbot-tablet-dock-page="chat-equipe"]
    > .team-studio.internal-v225 .internal-composer {
    flex:0 0 auto!important;
    min-height:0!important;
    max-height:38dvh!important;
    margin-bottom:0!important;
  }
 }
}


/* source: /assets/msnbot-settings-contextual-ux-v526.css */
/* MSNBOT | Configurações contextual UX 5.2.6
 * Escopo exclusivo: páginas com .settings-shell. Preserva toda geometria
 * do Dock, páginas de outras áreas, rotas, permissões e campos existentes.
 * Paletas de alto contraste em claro/escuro: fundo do app continua vivo
 * atrás do conteúdo, mas não interfere na leitura dos formulários.
 */
html[data-theme="light"] body:has(.settings-shell) {
  --settings-ux-card:#f9fbff;
  --settings-ux-surface:rgba(255,255,255,.96);
  --settings-ux-soft:#f0f4fc;
  --settings-ux-ink:#182740;
  --settings-ux-muted:#52647f;
  --settings-ux-border:rgba(44,65,103,.20);
  --settings-ux-shadow:0 12px 34px rgba(28,52,89,.08);
}
html[data-theme="dark"] body:has(.settings-shell) {
  --settings-ux-card:#202c3e;
  --settings-ux-surface:rgba(27,38,55,.97);
  --settings-ux-soft:#28374b;
  --settings-ux-ink:#f2f6ff;
  --settings-ux-muted:#b7c5dc;
  --settings-ux-border:rgba(192,213,241,.24);
  --settings-ux-shadow:0 12px 32px rgba(0,0,0,.20);
}

/* Cabeçalho igual ao padrão compacto de painéis do MSNBOT. */
html body > main.page:not(.auth-page) > .settings-hero.settings-hero-standard.settings-hero-contextual{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  width:100%!important;
  min-height:80px!important;
  margin:0 0 12px!important;
  padding:14px clamp(15px,1.7vw,24px)!important;
  border:1px solid var(--settings-ux-border)!important;
  border-radius:18px!important;
  background:var(--settings-ux-surface)!important;
  color:var(--settings-ux-ink)!important;
  box-shadow:var(--settings-ux-shadow)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body .settings-hero-contextual .settings-hero-title{
  display:flex!important;
  flex:1 1 265px!important;
  min-width:0!important;
  margin:0!important;
}
html body .settings-hero-contextual .settings-hero-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  min-width:0!important;
  gap:4px!important;
}
html body .settings-hero-contextual .settings-hero-eyebrow{
  font-size:9px!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:.09em!important;
  color:var(--settings-ux-muted)!important;
  text-transform:uppercase!important;
}
html body .settings-hero-contextual .settings-hero-eyebrow span{
  margin:0 4px!important;
  opacity:.55!important;
}
html body .settings-hero-contextual h1{
  margin:0!important;
  font-size:clamp(23px,2.05vw,30px)!important;
  line-height:1.12!important;
  letter-spacing:-.035em!important;
  font-weight:850!important;
  color:var(--settings-ux-ink)!important;
}
html body .settings-hero-contextual .settings-hero-copy p{
  max-width:540px!important;
  margin:0!important;
  padding:0!important;
  color:var(--settings-ux-muted)!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:500!important;
}
html body .settings-hero-contextual .settings-hero-right.settings-hero-actions{
  display:flex!important;
  flex:0 1 auto!important;
  justify-content:flex-end!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  min-width:0!important;
  margin:0!important;
}
html body .settings-hero-contextual .settings-hero-autosave{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  padding:0 5px!important;
  color:var(--settings-ux-muted)!important;
  font-size:10px!important;
  font-weight:650!important;
  white-space:nowrap!important;
}
html body .settings-hero-contextual .settings-hero-autosave span{
  color:#2aaa77!important;
  font-size:8px!important;
}
html body .settings-hero-contextual .settings-hero-action{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  gap:6px!important;
  min-width:0!important;
  min-height:36px!important;
  height:36px!important;
  margin:0!important;
  padding:8px 13px!important;
  border:1px solid var(--settings-ux-border)!important;
  border-radius:10px!important;
  background:var(--settings-ux-soft)!important;
  color:var(--settings-ux-ink)!important;
  box-shadow:none!important;
  font-size:11.5px!important;
  line-height:1.2!important;
  font-weight:800!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  transition:background-color .15s ease,transform .15s ease,border-color .15s ease!important;
}
html body .settings-hero-contextual .settings-hero-action:is(:hover,:focus-visible){
  transform:translateY(-1px)!important;
  border-color:color-mix(in srgb,var(--user-accent,var(--accent,#2878f5)) 55%,var(--settings-ux-border))!important;
  outline-offset:2px!important;
}
html body .settings-hero-contextual .settings-hero-action.primary{
  background:linear-gradient(120deg,#2e84f3,#225eca)!important;
  border-color:#397eed!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(37,103,213,.16)!important;
}
html body .settings-hero-contextual .settings-hero-action[aria-pressed="true"]{
  box-shadow:0 0 0 2px color-mix(in srgb,#2e84f3 35%,transparent)!important;
}
html body .settings-hero-contextual .settings-hero-action[disabled]{
  cursor:not-allowed!important;
  opacity:.6!important;
}

/* Navegação: sidebar com contraste e superfície própria, sem mudar a
   hierarquia do Master nem reconstruir links da navegação. */
html body > main.page:not(.auth-page) > .settings-shell{
  min-width:0!important;
  gap:12px!important;
}
html body > main.page:not(.auth-page) > .settings-shell > .settings-nav{
  box-sizing:border-box!important;
  padding:8px!important;
  background:var(--settings-ux-surface)!important;
  border:1px solid var(--settings-ux-border)!important;
  border-radius:16px!important;
  box-shadow:var(--settings-ux-shadow)!important;
  scrollbar-width:thin!important;
}
html body > main.page:not(.auth-page) .settings-nav > a{
  margin:2px 0!important;
  padding:9px 12px!important;
  border-radius:10px!important;
  border:1px solid transparent!important;
  background:transparent!important;
  color:var(--settings-ux-ink)!important;
  box-shadow:none!important;
  transition:background-color .15s ease,border-color .15s ease!important;
}
html body > main.page:not(.auth-page) .settings-nav > a:hover{
  background:var(--settings-ux-soft)!important;
}
html body > main.page:not(.auth-page) .settings-nav > a.active{
  background:color-mix(in srgb,#2c80ed 12%,var(--settings-ux-card))!important;
  border-color:color-mix(in srgb,#2c80ed 38%,var(--settings-ux-border))!important;
  box-shadow:inset 3px 0 0 #2c80ed!important;
}
html body > main.page:not(.auth-page) .settings-nav > a strong{
  color:var(--settings-ux-ink)!important;
  font-size:12px!important;
  line-height:1.28!important;
  font-weight:780!important;
}
html body > main.page:not(.auth-page) .settings-nav > a.active strong{
  color:var(--settings-ux-ink)!important;
}
html body > main.page:not(.auth-page) .settings-nav > a small{
  color:var(--settings-ux-muted)!important;
  font-size:10px!important;
  line-height:1.3!important;
  opacity:1!important;
}

/* A área externa continua transparente para respeitar o Dock.
   As superfícies de trabalho são opacas e acessíveis. */
html body > main.page:not(.auth-page) > .settings-shell > .settings-content{
  box-sizing:border-box!important;
  min-width:0!important;
  padding:4px 4px 18px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  color:var(--settings-ux-ink)!important;
}
html body .settings-content > .section-head{
  margin:0 0 12px!important;
  padding:6px 3px 12px!important;
  border-bottom:1px solid var(--settings-ux-border)!important;
}
html body .settings-content :is(h2,h3,h4,.section-head strong){
  color:var(--settings-ux-ink)!important;
  text-wrap:pretty!important;
}
html body .settings-content :is(.muted,.section-head p,.prefs-head small,.section-head small){
  color:var(--settings-ux-muted)!important;
  opacity:1!important;
  line-height:1.4!important;
}
html body .settings-content .autosave-status{
  font-size:11px!important;
  color:var(--settings-ux-muted)!important;
  opacity:1!important;
  font-weight:750!important;
}
html body .settings-content :is(.settings-card,.settings-personal-card,.company-current-card,.saas-subscription-card,.saas-plan-card,.saas-company-card,.branding-card,.help-admin-editor,.help-admin-list,.provider-admin-card){
  background:var(--settings-ux-surface)!important;
  border:1px solid var(--settings-ux-border)!important;
  color:var(--settings-ux-ink)!important;
  box-shadow:0 3px 12px rgba(13,36,73,.04)!important;
  border-radius:14px!important;
}
html body .settings-content .settings-form :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea),
html body .settings-content .mac-settings :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){
  box-sizing:border-box!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:36px!important;
  padding:7px 10px!important;
  color:var(--settings-ux-ink)!important;
  border:1px solid var(--settings-ux-border)!important;
  background:var(--settings-ux-card)!important;
  border-radius:9px!important;
  font-size:13px!important;
  line-height:1.25!important;
}
html body .settings-content :is(input,select,textarea):focus-visible{
  outline:2px solid #2e84f3!important;
  outline-offset:1px!important;
}
html body .settings-content label{
  color:var(--settings-ux-ink)!important;
}
html body .settings-content :is(.settings-form,.mac-settings) label{
  font-size:12px!important;
  font-weight:650!important;
}
html body .settings-content .settings-form :is(input,textarea)::placeholder{
  color:var(--settings-ux-muted)!important;
  opacity:.85!important;
}

/* Aparência: blocos com hierarquia clara, sem opções redundantes expostas. */
html body .settings-content > .settings-appearance-heading{
  margin-bottom:10px!important;
}
html body .settings-content > form.settings-appearance-editor.settings-personal-card{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  gap:12px!important;
  padding:13px!important;
  background:var(--settings-ux-surface)!important;
  border:1px solid var(--settings-ux-border)!important;
  border-radius:16px!important;
}
html body .settings-content .settings-ux-group{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:13px!important;
  background:var(--settings-ux-card)!important;
  border:1px solid var(--settings-ux-border)!important;
  border-radius:12px!important;
}
html body .settings-content .settings-ux-group-head{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:0 0 9px!important;
  margin:0!important;
  border-bottom:1px solid var(--settings-ux-border)!important;
}
html body .settings-content .settings-ux-section-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 32px!important;
  width:32px!important;
  height:32px!important;
  border-radius:9px!important;
  background:color-mix(in srgb,#2d7bed 13%,var(--settings-ux-soft))!important;
  color:#2877e2!important;
  font-size:15px!important;
  font-weight:850!important;
}
html body .settings-content .settings-ux-group-head h3{
  margin:0!important;
  padding:0!important;
  font-size:14px!important;
  font-weight:850!important;
  line-height:1.2!important;
}
html body .settings-content .settings-ux-group-head p{
  margin:2px 0 0!important;
  color:var(--settings-ux-muted)!important;
  font-size:11px!important;
  line-height:1.3!important;
}
html body .settings-content .settings-appearance-editor .appearance-choices{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
  margin:0!important;
  padding:0!important;
  max-width:100%!important;
}
html body .settings-content .settings-appearance-editor .appearance-choice{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:0!important;
  min-height:100px!important;
  margin:0!important;
  padding:9px!important;
  border:1px solid var(--settings-ux-border)!important;
  border-radius:12px!important;
  background:var(--settings-ux-surface)!important;
  color:var(--settings-ux-ink)!important;
  cursor:pointer!important;
}
html body .settings-content .settings-appearance-editor .appearance-choice:has(input:checked){
  border-color:#2e84f3!important;
  box-shadow:0 0 0 2px rgba(46,132,243,.14)!important;
}
html body .settings-content .settings-appearance-editor .appearance-choice .theme-preview{
  box-sizing:border-box!important;
  width:min(100%,116px)!important;
  height:51px!important;
  min-height:51px!important;
  border-radius:9px!important;
  border:1px solid var(--settings-ux-border)!important;
}
html body .settings-content .settings-appearance-editor .appearance-choice > span:last-child{
  color:var(--settings-ux-ink)!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.25!important;
}
html body .settings-content .settings-ux-group .setting-row{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;
  gap:14px!important;
  align-items:center!important;
  min-height:50px!important;
  padding:10px 8px!important;
  margin:0!important;
  border-bottom:1px solid var(--settings-ux-border)!important;
  background:transparent!important;
}
html body .settings-content .settings-ux-group .setting-row:last-child{
  border-bottom:0!important;
}
html body .settings-content .settings-ux-group .setting-row > span:first-child{
  color:var(--settings-ux-ink)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:3px!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.25!important;
}
html body .settings-content .settings-ux-group .setting-row > span:first-child small{
  color:var(--settings-ux-muted)!important;
  font-size:10px!important;
  font-weight:500!important;
  line-height:1.35!important;
  opacity:1!important;
}
html body .settings-content .settings-ux-group .setting-row .accent-picker{
  min-width:0!important;
  justify-content:flex-end!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}
html body .settings-content .settings-ux-group .range-with-value{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  min-width:0!important;
}
html body .settings-content .settings-ux-group input[type=range]{
  min-width:0!important;
  max-width:100%!important;
  flex:1 1 auto!important;
}
html body .settings-content .settings-ux-group output{
  flex:0 0 auto!important;
  min-width:42px!important;
  text-align:right!important;
  font-size:12px!important;
  font-weight:850!important;
  color:var(--settings-ux-ink)!important;
}
html body .settings-content .settings-nando-control{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
  min-width:0!important;
}
html body .settings-content .settings-nando-preview{
  display:grid!important;
  place-items:center!important;
  flex:0 0 46px!important;
  width:46px!important;
  height:46px!important;
  border-radius:14px!important;
  background:linear-gradient(140deg,#71c9ff,#2878f5 72%)!important;
  color:white!important;
  font-size:25px!important;
  font-weight:850!important;
  box-shadow:0 5px 15px rgba(40,120,245,.17)!important;
}
html body .settings-content .settings-nando-control select{
  flex:1 1 auto!important;
  max-width:220px!important;
  font-size:13px!important;
}
html body .settings-content .settings-ux-group .settings-ux-master{
  box-sizing:border-box!important;
  background:color-mix(in srgb,#2d80f0 7%,var(--settings-ux-card))!important;
  border:1px solid color-mix(in srgb,#2d80f0 30%,var(--settings-ux-border))!important;
  border-radius:10px!important;
  margin:0!important;
}
html body .settings-content .settings-ux-group .settings-ux-master > .switch{
  justify-self:end!important;
}
html body .settings-content details.settings-ux-advanced{
  box-sizing:border-box!important;
  display:block!important;
  margin:0!important;
  background:var(--settings-ux-card)!important;
  border:1px solid var(--settings-ux-border)!important;
  border-radius:12px!important;
  overflow:hidden!important;
}
html body .settings-content .settings-ux-advanced > summary{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  padding:13px 15px!important;
  cursor:pointer!important;
  list-style:none!important;
  color:var(--settings-ux-ink)!important;
}
html body .settings-content .settings-ux-advanced > summary::-webkit-details-marker{
  display:none!important;
}
html body .settings-content .settings-ux-advanced summary > span:first-child{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
}
html body .settings-content .settings-ux-advanced summary strong{
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
html body .settings-content .settings-ux-advanced summary small{
  color:var(--settings-ux-muted)!important;
  font-size:10px!important;
  line-height:1.3!important;
}
html body .settings-content .settings-ux-chevron{
  font-size:24px!important;
  line-height:1!important;
  color:var(--settings-ux-muted)!important;
  transition:transform .15s ease!important;
}
html body .settings-content .settings-ux-advanced[open] .settings-ux-chevron{
  transform:rotate(180deg)!important;
}
html body .settings-content .settings-ux-advanced-inner{
  padding:4px 13px 13px!important;
  border-top:1px solid var(--settings-ux-border)!important;
}
html body .settings-content .settings-ux-advanced-inner .setting-row{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(130px,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  min-height:44px!important;
  margin:0!important;
  padding:10px 4px!important;
  border-bottom:1px solid var(--settings-ux-border)!important;
  background:transparent!important;
  color:var(--settings-ux-ink)!important;
  font-size:12px!important;
}
html body .settings-content .settings-ux-advanced-inner .setting-row:last-child{border-bottom:0!important}
html body .settings-content .settings-ux-advanced-inner .setting-row > :last-child{
  justify-self:end!important;
  max-width:100%!important;
}
html body .settings-content #settings-wallpapers{
  box-sizing:border-box!important;
  padding:15px!important;
  border:1px solid var(--settings-ux-border)!important;
  border-radius:14px!important;
  background:var(--settings-ux-surface)!important;
  color:var(--settings-ux-ink)!important;
}
html body .settings-content #settings-wallpapers .section-head{
  margin:0 0 10px!important;
  padding:0 0 10px!important;
  border-bottom:1px solid var(--settings-ux-border)!important;
}
html body .settings-content #settings-wallpapers .v476-wallpaper-buttons{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
}

/* Formulários gerais: contraste nas duas aparências (não altera saved data).
   Componentes que possuem modal/esquema próprio não são redimensionados. */
html body .settings-content :is(.setting-row,.form-grid label,.settings-form label){
  color:var(--settings-ux-ink)!important;
}
html body .settings-content .setting-row > span:first-child{
  color:var(--settings-ux-ink)!important;
}
html body .settings-content .setting-row small{
  color:var(--settings-ux-muted)!important;
  opacity:1!important;
  font-weight:500!important;
}
html body .settings-content .personal-pref-tabs > a{
  color:var(--settings-ux-ink)!important;
  font-size:12px!important;
}
html body .settings-content .personal-pref-tabs > a.active{
  color:#2e84f3!important;
  font-weight:850!important;
}
html body .settings-content :is(.settings-personal-card,.dock-mac-card) .setting-row{
  border-color:var(--settings-ux-border)!important;
}
html body .settings-content .settings-personal-card :is(.setting-row,select,input){
  box-shadow:none!important;
}
html body .settings-content :is(.settings-card,.settings-personal-card,.wallpaper-settings-v451) :is(.small-btn,.primary){
  font-weight:750!important;
}
html body .settings-content :is(.settings-card,.settings-personal-card) :is(input,select,textarea):disabled{
  opacity:.65!important;
}

@media (min-width:981px){
 html body > main.page:not(.auth-page) > .settings-shell{
   display:grid!important;
   grid-template-columns:clamp(205px,19vw,246px) minmax(0,1fr)!important;
   gap:14px!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-nav{
   position:relative!important;
   align-self:stretch!important;
   min-height:0!important;
   max-height:100%!important;
   overflow-x:hidden!important;
   overflow-y:auto!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-content{
   overflow-y:auto!important;
   max-height:100%!important;
   min-height:0!important;
   scrollbar-width:thin!important;
 }
}
@media (max-width:980px){
 html body > main.page:not(.auth-page) > .settings-shell{
   display:grid!important;
   grid-template-columns:minmax(0,1fr)!important;
   grid-template-rows:auto minmax(0,1fr)!important;
   gap:8px!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-nav{
   display:flex!important;
   flex-direction:row!important;
   flex-wrap:nowrap!important;
   gap:6px!important;
   width:100%!important;
   min-height:0!important;
   height:auto!important;
   padding:7px!important;
   overflow-x:auto!important;
   overflow-y:hidden!important;
   overscroll-behavior-x:contain!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-nav a{
   display:flex!important;
   flex-direction:column!important;
   flex:0 0 auto!important;
   min-width:113px!important;
   max-width:163px!important;
   padding:9px 11px!important;
   margin:0!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-content{
   min-width:0!important;
   min-height:0!important;
   max-height:100%!important;
   overflow-y:auto!important;
   padding:5px 3px 15px!important;
 }
 html body > main.page:not(.auth-page) > .settings-hero.settings-hero-standard.settings-hero-contextual{
   padding:12px 15px!important;
   gap:10px!important;
 }
 html body .settings-hero-contextual .settings-hero-actions{
   gap:6px!important;
 }
}
@media (max-width:600px){
 html body > main.page:not(.auth-page) > .settings-hero.settings-hero-standard.settings-hero-contextual{
   display:flex!important;
   flex-direction:column!important;
   align-items:stretch!important;
   gap:10px!important;
   padding:12px!important;
   min-height:0!important;
   border-radius:16px!important;
 }
 html body .settings-hero-contextual .settings-hero-title{
   flex:0 0 auto!important;
   width:100%!important;
 }
 html body .settings-hero-contextual h1{
   font-size:clamp(20px,5.7vw,24px)!important;
   line-height:1.18!important;
 }
 html body .settings-hero-contextual .settings-hero-copy p{
   font-size:11px!important;
 }
 html body .settings-hero-contextual .settings-hero-right.settings-hero-actions{
   justify-content:flex-start!important;
   align-items:center!important;
   flex-wrap:wrap!important;
   width:100%!important;
   gap:6px!important;
 }
 html body .settings-hero-contextual .settings-hero-action{
   min-height:34px!important;
   height:34px!important;
   padding:7px 10px!important;
   font-size:11px!important;
 }
 html body .settings-hero-contextual .settings-hero-autosave{
   flex:0 1 auto!important;
   font-size:9px!important;
   padding:0 3px!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-nav{
   border-radius:13px!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-nav a{
   min-width:118px!important;
   padding:8px 10px!important;
 }
 html body > main.page:not(.auth-page) > .settings-shell > .settings-content{
   padding:4px 0 13px!important;
 }
 html body .settings-content > form.settings-appearance-editor.settings-personal-card{
   padding:9px!important;
   gap:9px!important;
 }
 html body .settings-content .settings-ux-group{
   padding:10px!important;
   gap:8px!important;
 }
 html body .settings-content .settings-appearance-editor .appearance-choices{
   gap:6px!important;
 }
 html body .settings-content .settings-appearance-editor .appearance-choice{
   min-height:85px!important;
   padding:7px 4px!important;
 }
 html body .settings-content .settings-appearance-editor .appearance-choice .theme-preview{
   height:43px!important;
   min-height:43px!important;
 }
 html body .settings-content .settings-appearance-editor .appearance-choice > span:last-child{
   font-size:11px!important;
 }
 html body .settings-content .settings-ux-group .setting-row{
   display:flex!important;
   flex-direction:column!important;
   align-items:stretch!important;
   gap:8px!important;
   padding:9px 3px!important;
 }
 html body .settings-content .settings-ux-group .settings-ux-master{
   display:flex!important;
   flex-direction:row!important;
   align-items:center!important;
   justify-content:space-between!important;
   gap:10px!important;
   padding:11px!important;
 }
 html body .settings-content .settings-ux-group .settings-ux-master > span:first-child{
   flex:1 1 auto!important;
 }
 html body .settings-content .settings-ux-group .settings-ux-master > .switch{
   flex:0 0 auto!important;
 }
 html body .settings-content .settings-ux-group .setting-row .accent-picker{
   justify-content:flex-start!important;
 }
 html body .settings-content .settings-nando-control{
   width:100%!important;
   justify-content:flex-start!important;
 }
 html body .settings-content .settings-nando-control select{
   flex:1 1 auto!important;
   max-width:none!important;
   font-size:16px!important;
 }
 html body .settings-content .settings-ux-group .range-with-value{
   width:100%!important;
 }
 html body .settings-content .settings-ux-advanced-inner .setting-row{
   grid-template-columns:minmax(0,1fr) minmax(105px,.85fr)!important;
 }
 html body .settings-content .settings-form :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea),
 html body .settings-content .mac-settings :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){
   font-size:16px!important;
 }
}
@media (prefers-reduced-motion:reduce){
 html body .settings-hero-contextual .settings-hero-action,
 html body .settings-content .settings-ux-chevron{transition:none!important}
}


/* source: /assets/msnbot-kanban-mobile-header-v531.css */
/* MSNBOT Kanban | compact mobile toolbar 2026-11-25.
 * Apenas <=760px. A grade fica com as mesmas ações, forms e menus do Kanban.
 * Todas as colunas continuam rolando na horizontal até o Dock.
 */
@media screen and (max-width:760px){
 html body > main.page:not(.auth-page) .kanban-live-root > section.kanban-modern-head{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  grid-auto-rows:min-content!important;
  align-content:start!important;
  align-items:center!important;
  justify-items:stretch!important;
  gap:7px 8px!important;
  flex:0 0 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  padding:11px 12px!important;
  margin:0 0 8px!important;
  overflow:visible!important;
  border-radius:17px!important;
 }
 html body .kanban-modern-head .kanban-modern-title{
  grid-column:1/5!important;
  grid-row:1!important;
  justify-content:flex-start!important;
  align-self:center!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
 }
 html body .kanban-modern-head .kanban-modern-title h1{
  margin:0!important;
  text-align:left!important;
  font-size:clamp(21px,5.6vw,25px)!important;
  line-height:1.2!important;
  font-weight:850!important;
  letter-spacing:-.02em!important;
 }
 /* display:contents preserva o nó <form>, os eventos e o GET automático;
    libera seus controles para a grade do cabeçalho. */
 html body .kanban-modern-head > form.kanban-modern-filters{
  display:contents!important;
  position:static!important;
  flex:initial!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
 }
 html body .kanban-modern-head .kanban-board-picker{
  grid-column:5/-1!important;
  grid-row:1!important;
  display:block!important;
  position:relative!important;
  min-width:0!important;
  width:100%!important;
  height:36px!important;
  max-width:100%!important;
  flex:none!important;
  z-index:950!important;
  margin:0!important;
 }
 html body .kanban-modern-head .kanban-board-picker-trigger{
  box-sizing:border-box!important;
  display:flex!important;
  width:100%!important;
  height:36px!important;
  min-height:36px!important;
  padding:6px 10px!important;
  margin:0!important;
  border-radius:10px!important;
  font-size:13px!important;
  text-align:left!important;
  justify-content:space-between!important;
 }
 html body .kanban-modern-head .kanban-board-picker-options{
  top:calc(100% + 5px)!important;
  width:max(225px,100%)!important;
  max-width:min(350px,calc(100vw - 25px))!important;
  z-index:9999!important;
 }
 html body .kanban-modern-head .kanban-modern-filters > input[type=search]{
  display:block!important;
  grid-column:1/-1!important;
  grid-row:2!important;
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:36px!important;
  min-height:36px!important;
  margin:0!important;
  padding:7px 11px!important;
  flex:none!important;
  font-size:12px!important;
  border-radius:10px!important;
 }
 html body .kanban-modern-head .kanban-modern-filters > select[name=target]{
  grid-column:1/6!important;
  grid-row:3!important;
 }
 html body .kanban-modern-head .kanban-modern-filters > select[name=period]{
  grid-column:6/-1!important;
  grid-row:3!important;
 }
 html body .kanban-modern-head .kanban-modern-filters > select[name=target],
 html body .kanban-modern-head .kanban-modern-filters > select[name=period]{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:36px!important;
  min-height:36px!important;
  padding:6px 10px!important;
  margin:0!important;
  flex:none!important;
  border-radius:10px!important;
  font-size:12px!important;
 }
 html body .kanban-modern-head .kanban-custom-period{
  grid-column:1/-1!important;
  grid-row:4!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:7px!important;
  margin:0!important;
 }
 html body .kanban-modern-head .kanban-custom-period[hidden]{
  display:none!important;
 }
 html body .kanban-modern-head .kanban-custom-period :is(select,input){
  box-sizing:border-box!important;
  flex:1 1 0!important;
  min-width:0!important;
  max-width:100%!important;
  height:35px!important;
  font-size:12px!important;
  margin:0!important;
 }
 html body .kanban-modern-head > .kanban-hero-actions{
  grid-column:1/-1!important;
  grid-row:4!important;
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:7px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  justify-content:stretch!important;
  padding:0!important;
  margin:0!important;
  flex:none!important;
 }
 html body .kanban-modern-head:has(.kanban-custom-period:not([hidden])) > .kanban-hero-actions{
  grid-row:5!important;
 }
 html body .kanban-modern-head .kanban-hero-actions > :is(.button,.primary){
  display:inline-flex!important;
  box-sizing:border-box!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:36px!important;
  height:36px!important;
  margin:0!important;
  padding:6px 7px!important;
  border-radius:10px!important;
  font-size:clamp(10px,2.85vw,12px)!important;
  font-weight:800!important;
  line-height:1.15!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
 }
 html body .kanban-modern-head + .kanban-modern-board-wrap{
  margin-top:0!important;
 }
}
@media screen and (max-width:360px){
 html body .kanban-modern-head .kanban-modern-title{grid-column:1/5!important}
 html body .kanban-modern-head .kanban-modern-title h1{font-size:21px!important}
 html body .kanban-modern-head .kanban-board-picker{grid-column:5/-1!important}
 html body > main.page:not(.auth-page) .kanban-live-root > section.kanban-modern-head{padding:9px!important;gap:6px!important}
}


/* source: /assets/msnbot-chat-video-send-feedback-v532.css */
/* Feedback de anexos grandes: acessível e visível em desktop/tablet/mobile. */
.v484-compose-media .v484-upload-status{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  margin:0;
  padding:9px 12px;
  border:1px solid rgba(50,125,225,.3);
  border-radius:10px;
  background:rgba(50,125,225,.10);
  color:var(--text,#1e293b);
  font-size:12px;
  font-weight:650;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.v484-compose-media .v484-upload-status.error{
  border-color:rgba(215,60,75,.55);
  background:rgba(215,60,75,.11);
  color:var(--text,#1e293b);
}
.v484-compose-media .v484-upload-status[hidden]{display:none!important;}
.v484-compose-media [data-v484-media-send][disabled]{
  cursor:progress;
  opacity:.75;
}


/* source: /assets/msnbot-connections-lifecycle-v533.css */
/* Company-level WhatsApp control panel and staff-specific number assignment. */
.msnbot-whatsapp-control-panel{
 border:1px solid var(--border,rgba(115,140,180,.25));border-radius:18px;
 padding:16px;display:grid;gap:13px;
 background:var(--surface,rgba(255,255,255,.15));margin:12px 0 16px;
 min-width:0;
}
.msnbot-whatsapp-control-head{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap}
.msnbot-whatsapp-control-head h3{margin:0 0 3px;font-size:17px}
.msnbot-whatsapp-control-head p{margin:0;max-width:700px}
.msnbot-primary-number-status{font-size:12px;font-weight:750;white-space:nowrap}
.msnbot-primary-number-form,.msnbot-whatsapp-contingency-form{
 display:flex;flex-wrap:wrap;gap:10px;align-items:end;
}
.msnbot-primary-number-form label{display:grid;gap:5px;flex:1 1 250px;min-width:190px;font-size:12px;font-weight:700}
.msnbot-primary-number-form select,.msnbot-staff-number-row select{
 width:100%;min-width:0;max-width:100%;height:39px;min-height:39px;
 box-sizing:border-box;border:1px solid var(--border,rgba(115,140,180,.3));
 border-radius:10px;background:var(--surface,#fff);color:var(--text,#17253d);
 font-size:13px;padding:6px 10px;
}
.msnbot-whatsapp-contingency-form{
 justify-content:space-between;padding:12px 0;
 border-top:1px solid var(--border,rgba(115,140,180,.2));
 border-bottom:1px solid var(--border,rgba(115,140,180,.2));
}
.msnbot-whatsapp-contingency-form .check-line{
 flex:1 1 250px;display:flex;align-items:center;gap:10px;margin:0;
}
.msnbot-whatsapp-contingency-form .check-line span{display:grid;gap:4px}
.msnbot-whatsapp-contingency-form .check-line strong{font-size:13px}
.msnbot-whatsapp-contingency-form .check-line small{font-size:11px;line-height:1.35}
.msnbot-staff-number-assignments>summary{cursor:pointer;font-size:13px;font-weight:750}
.msnbot-staff-number-assignments>p{font-size:11px;margin:8px 0 12px}
.msnbot-staff-number-list{display:grid;gap:8px}
.msnbot-staff-number-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(190px,1.4fr) auto;align-items:center;gap:10px}
.msnbot-staff-number-row strong{min-width:0;overflow-wrap:anywhere;font-size:13px}
.msnbot-whatsapp-control-panel .small-btn{white-space:nowrap;min-height:39px}
.msnbot-notification-delete-now{
 margin:5px 10px 9px 40px;padding:7px 12px!important;display:inline-flex;align-items:center;
 border:1px solid rgba(220,65,75,.5);border-radius:8px;
 color:#b91c1c;background:rgba(220,65,75,.08);
 font-size:11px;font-weight:800;cursor:pointer;
}
@media(max-width:680px){
 .msnbot-whatsapp-control-panel{padding:11px;gap:11px;border-radius:14px}
 .msnbot-whatsapp-control-head h3{font-size:15px}
 .msnbot-staff-number-row{grid-template-columns:minmax(0,1fr) auto;gap:6px}
 .msnbot-staff-number-row strong{grid-column:1/-1}
 .msnbot-staff-number-row select{height:36px}
 .msnbot-staff-number-row .small-btn{min-height:36px}
}


/* source: /assets/msnbot-flows-library-v534.css */
/*
 * Fluxos — entrada / biblioteca v5.34.
 * Escopo estrito: .flows-entry-hero-v534 + .flows-entry-library-v534.
 * Não altera o editor visual ou os fluxos salvos.
 */
main.page .flows-entry-hero-v534,
main.page .flows-entry-library-v534{
  --flow-glow:var(--accent,#327fff);
  box-sizing:border-box;
  width:100%!important;
  min-width:0;
  max-width:100%!important;
}
main.page .flows-entry-hero-v534{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:14px!important;
  align-content:start;
  padding:20px 23px 17px!important;
  margin:0 0 15px!important;
  border:1px solid color-mix(in srgb,var(--flow-glow) 13%,var(--border,#d9e2f1))!important;
  border-radius:23px!important;
  background:linear-gradient(125deg,
    color-mix(in srgb,var(--surface-solid,#fff) 84%,transparent),
    color-mix(in srgb,var(--surface-solid,#fff) 69%,transparent))!important;
  box-shadow:0 13px 37px rgba(31,44,99,.075),inset 0 1px rgba(255,255,255,.3)!important;
  overflow:visible!important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  position:relative;z-index:25;
}
main.page .flows-entry-top-v534{
  display:flex;align-items:center;justify-content:space-between;
  gap:15px;min-width:0;flex-wrap:wrap;
}
main.page .flows-entry-title-v534{display:grid;gap:3px;min-width:0}
main.page .flows-entry-micro-v534{
  color:color-mix(in srgb,var(--accent,#327fff) 70%,var(--text,#1a2b49))!important;
  letter-spacing:.125em;
  font-weight:800!important;
  font-size:9px!important;
  line-height:1.25;
}
main.page .flows-entry-title-v534 h1{
  font-size:clamp(25px,2.7vw,35px)!important;
  line-height:1.12!important;
  letter-spacing:-.045em;
  margin:0!important;
}
main.page .flows-entry-top-v534 .flow-stats{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(79px,94px));
  width:auto!important;
  gap:8px!important;
  margin:0!important;
}
main.page .flows-entry-top-v534 .flow-stats>div{
  box-sizing:border-box!important;
  display:grid!important;align-content:center;gap:2px;
  min-width:0!important;min-height:62px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 81%,transparent)!important;
  border:1px solid color-mix(in srgb,var(--flow-glow) 13%,var(--border,#d9e2f1))!important;
  border-radius:14px!important;
  padding:7px 9px!important;
  box-shadow:inset 0 1px rgba(255,255,255,.24)!important;
}
main.page .flows-entry-top-v534 .flow-stats strong{
  color:var(--text,#15223a)!important;
  font-size:21px!important;line-height:1.05!important;letter-spacing:-.04em;
}
main.page .flows-entry-top-v534 .flow-stats small{
  color:var(--muted,#6f7b93)!important;
  font-size:10px!important;line-height:1.2;
  margin:0!important;
}
main.page .flows-entry-toolbar-v534{
  border:0!important;
  border-top:1px solid color-mix(in srgb,var(--border,#d9e2f1) 74%,transparent)!important;
  box-sizing:border-box!important;
  background:transparent!important;
  padding:13px 0 0!important;
  margin:0!important;
  border-radius:0!important;
  display:flex!important;
  flex-flow:row wrap!important;
  align-items:end!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;min-width:0!important;
  box-shadow:none!important;
  position:relative;z-index:50!important;
}
main.page .flows-entry-toolbar-v534 .flows-search{
  display:grid!important;
  flex:1 1 425px!important;
  grid-template-columns:minmax(210px,1.7fr) minmax(165px,.8fr)!important;
  gap:10px!important;
  align-items:end!important;
  width:auto!important;min-width:0!important;
}
main.page .flows-entry-toolbar-v534 .flows-search label{
  display:grid!important;grid-template-columns:minmax(0,1fr);
  gap:5px!important;margin:0!important;min-width:0!important;
  color:var(--muted,#6f7b93)!important;
  font-weight:700!important;font-size:10px!important;
}
main.page .flows-entry-toolbar-v534 .flows-search label>span{line-height:1.2}
main.page .flows-entry-toolbar-v534 .flows-search :is(input,select){
  box-sizing:border-box!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:42px!important;min-height:42px!important;
  border-radius:12px!important;
  padding:8px 12px!important;
  border:1px solid color-mix(in srgb,var(--flow-glow) 10%,var(--border,#d5deea))!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--text,#1b2842)!important;
  font-size:12px!important;
  box-shadow:none!important;
  outline-offset:2px;
}
main.page .flows-entry-toolbar-v534 .flows-search :is(input,select):focus{
  border-color:color-mix(in srgb,var(--accent,#327fff) 62%,#fff)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--accent,#327fff) 15%,transparent)!important;
}
main.page .flows-entry-toolbar-v534 .flows-actions{
  display:flex!important;
  flex:0 0 auto!important;
  width:auto!important;min-width:0!important;
  gap:8px!important;align-items:end!important;
  justify-content:flex-end!important;
  z-index:70!important;
}
main.page .flows-entry-toolbar-v534 .flows-actions details{position:relative;min-width:0}
main.page .flows-entry-toolbar-v534 .flows-actions summary{
  box-sizing:border-box!important;
  display:flex!important;
  justify-content:center;align-items:center!important;
  min-height:42px!important;height:42px!important;
  padding:8px 16px!important;
  font-size:12px!important;font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
  border-radius:12px!important;
  border:1px solid color-mix(in srgb,var(--accent,#327fff) 35%,#e7eaff)!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 92%,transparent)!important;
  color:var(--accent,#327fff)!important;
  box-shadow:0 3px 11px rgba(38,68,120,.045)!important;
  transition:box-shadow .18s ease,transform .18s ease,background .18s ease;
}
main.page .flows-entry-toolbar-v534 .flows-actions .primary-pop>summary{
  color:#fff!important;
  border-color:transparent!important;
  background:linear-gradient(115deg,#287fee,#5140ee)!important;
  box-shadow:0 7px 15px rgba(49,104,211,.16)!important;
}
main.page .flows-entry-toolbar-v534 .flows-actions summary:hover{
  transform:translateY(-1px);
  box-shadow:0 0 12px color-mix(in srgb,var(--accent,#327fff) 23%,transparent)!important;
}
main.page .flows-entry-toolbar-v534 .flows-actions .popup-form{
  z-index:90!important;
  border:1px solid var(--border,#d5deea)!important;
  border-radius:14px!important;
  background:var(--surface-solid,#fff)!important;
  box-shadow:0 17px 45px rgba(27,43,80,.22)!important;
}
main.page .flows-entry-library-v534{
  position:relative;
  z-index:3;
  display:grid;
  align-content:start;
  gap:0;
  padding:16px 16px 17px;
  margin:0 0 18px;
  border-radius:23px;
  border:1px solid color-mix(in srgb,var(--accent,#327fff) 9%,var(--border,#dbe3ed));
  background:linear-gradient(145deg,
     color-mix(in srgb,var(--surface-solid,#fff) 24%,transparent),
     color-mix(in srgb,var(--surface-solid,#fff) 14%,transparent));
  box-shadow:0 12px 36px rgba(26,52,107,.045);
}
main.page .flows-entry-folder-head-v534{
  display:flex;flex-wrap:wrap;gap:9px;justify-content:space-between;align-items:end;
  padding:2px 5px 11px;
}
main.page .flows-entry-folder-head-v534 h2{
  margin:3px 0 0!important;
  font-size:19px!important;line-height:1.2!important;
  letter-spacing:-.035em;
  color:var(--text,#16223b)!important;
}
main.page .flows-entry-folder-head-v534 p{
  margin:0 0 2px!important;
  color:var(--muted,#677993)!important;
  font-size:11px!important;line-height:1.5;
}
main.page .flows-entry-folders-v534{
  box-sizing:border-box!important;
  width:100%!important;
  overflow:visible!important;
  display:flex!important;flex-wrap:wrap!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:12px!important;
  background:transparent!important;
  padding:5px 5px 16px!important;
  margin:0!important;
  border:none!important;box-shadow:none!important;
}
main.page .flows-entry-folders-v534 .flow-folder-tile{
  --folder-neon:#5b8ded;
  box-sizing:border-box!important;
  flex:0 0 132px!important;
  width:132px!important;
  max-width:132px!important;
  min-height:115px!important;
  padding:14px 10px 12px!important;
  margin:0!important;
  display:flex!important;flex-direction:column;
  align-items:center;justify-content:center;
  gap:2px;
  position:relative;
  isolation:isolate;
  overflow:visible!important;
  cursor:pointer;
  border:1px solid color-mix(in srgb,var(--folder-neon) 18%,var(--border,#e0e6f0))!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 86%,transparent)!important;
  border-radius:19px!important;
  box-shadow:0 6px 17px rgba(32,57,102,.08),inset 0 1px rgba(255,255,255,.6)!important;
  transform:translateY(0);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease,background .2s ease!important;
}
main.page .flows-entry-folders-v534 .flow-folder-tile:nth-child(4n+2){--folder-neon:#8a66ea}
main.page .flows-entry-folders-v534 .flow-folder-tile:nth-child(4n+3){--folder-neon:#dc9d3b}
main.page .flows-entry-folders-v534 .flow-folder-tile:nth-child(4n+4){--folder-neon:#28a8bc}
main.page .flows-entry-folders-v534 .flow-folder-tile.active,
main.page .flows-entry-folders-v534 .flow-folder-tile:hover,
main.page .flows-entry-folders-v534 .flow-folder-tile:focus-within,
main.page .flows-entry-folders-v534 .flow-folder-tile.drag-over{
  transform:translateY(-2px)!important;
  border-color:color-mix(in srgb,var(--folder-neon) 65%,transparent)!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 94%,transparent)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--folder-neon) 25%,transparent),
     0 0 16px color-mix(in srgb,var(--folder-neon) 26%,transparent),
     0 10px 28px color-mix(in srgb,var(--folder-neon) 17%,transparent),
     inset 0 1px rgba(255,255,255,.58)!important;
  z-index:11;
}
main.page .flows-entry-folders-v534 .flow-folder-tile.drag-over{
  outline:2px dashed var(--folder-neon)!important;
  outline-offset:2px!important;
}
main.page .flows-entry-folders-v534 .flow-folder-tile:has(.folder-actions[open]){z-index:90!important}
main.page .flows-entry-folders-v534 :is(.folder-open,.flow-folder-tile.all){
  color:var(--text,#1a2941)!important;
  text-decoration:none!important;
  text-align:center;
  min-width:0;
}
main.page .flows-entry-folders-v534 .folder-open{
  display:grid!important;justify-items:center!important;
  align-content:center!important;
  width:100%;
  gap:5px;
}
main.page .flows-entry-folders-v534 .folder-icon{
  box-sizing:border-box!important;
  width:48px!important;height:39px!important;
  display:block!important;
  position:relative;
  margin:1px auto 5px!important;
  line-height:0!important;
  font-size:0!important;
  color:transparent!important;
  filter:none!important;
}
main.page .flows-entry-folders-v534 .folder-icon::before{
  content:"";position:absolute;top:2px;left:3px;width:24px;height:13px;
  border-radius:5px 6px 2px 2px;
  background:linear-gradient(140deg,#ffd686,#e5a637);
  box-shadow:inset 0 1px rgba(255,255,255,.7);
}
main.page .flows-entry-folders-v534 .folder-icon::after{
  content:"";position:absolute;top:10px;left:1px;right:1px;height:27px;
  border-radius:6px 7px 7px 7px;
  background:linear-gradient(155deg,#ffcd73,#ec9f21 74%,#db8a12);
  border:1px solid rgba(180,114,28,.28);
  box-shadow:0 7px 13px rgba(188,115,13,.2),inset 0 1px rgba(255,255,255,.6);
}
main.page .flows-entry-folders-v534 .flow-folder-tile.all .folder-icon::after{
  background:linear-gradient(140deg,#86c5ff,#317ce9 75%,#2c63c5);
  border-color:rgba(42,111,215,.3);
  box-shadow:0 6px 12px rgba(35,102,202,.18),inset 0 1px rgba(255,255,255,.5);
}
main.page .flows-entry-folders-v534 .flow-folder-tile.all .folder-icon::before{background:#9bd6ff}
main.page .flows-entry-folders-v534 .flow-folder-tile :is(strong,.folder-open strong){
  display:block!important;
  box-sizing:border-box;
  margin:0!important;
  width:100%!important;max-width:100%!important;
  color:var(--text,#1a2941)!important;
  font-size:12px!important;font-weight:850!important;line-height:1.22!important;
  white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;
}
main.page .flows-entry-folders-v534 .flow-folder-tile :is(small,.folder-open small){
  display:block!important;
  margin:2px 0 0!important;
  font-size:10px!important;line-height:1.25!important;
  color:var(--muted,#6a7890)!important;
}
main.page .flows-entry-folders-v534 .folder-actions{top:6px!important;right:6px!important;z-index:35}
main.page .flows-entry-folders-v534 .folder-actions>summary{
  background:color-mix(in srgb,var(--surface-solid,#fff) 83%,transparent)!important;
  width:25px!important;height:25px!important;
  border-radius:9px!important;
  color:var(--muted,#64748b)!important;
}
main.page .flows-entry-folders-v534 .folder-action-menu,
main.page .flows-entry-folders-v534 .folder-inline-edit{
  z-index:95!important;
  border:1px solid var(--border,#d9e1ed)!important;
  border-radius:12px!important;
  background:var(--surface-solid,#fff)!important;
  box-shadow:0 14px 34px rgba(18,38,72,.19)!important;
}
main.page .flows-entry-list-v534{
  position:relative;z-index:1;
  display:block;
  box-sizing:border-box;
  width:100%!important;
  min-width:0!important;max-width:none!important;
  margin:1px 0 0!important;
  border:1px solid color-mix(in srgb,var(--accent,#317cff) 14%,var(--border,#d9e2f1))!important;
  border-radius:19px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 72%,transparent)!important;
  box-shadow:0 10px 28px rgba(30,48,97,.055)!important;
  overflow:hidden;
}
main.page .flows-entry-list-head-v534{
  box-sizing:border-box;
  display:flex!important;
  justify-content:space-between!important;
  gap:12px;align-items:end!important;
  padding:14px 17px!important;
  border-bottom:1px solid color-mix(in srgb,var(--accent,#317cff) 12%,var(--border,#e4eaf2))!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 56%,transparent);
}
main.page .flows-entry-list-heading-v534{
  display:grid;gap:2px;
}
main.page .flows-entry-list-heading-v534 strong{
  font-size:17px!important;
  line-height:1.2!important;letter-spacing:-.035em;
}
main.page .flows-entry-list-heading-v534 small{
  font-size:11px!important;
  color:var(--muted,#67768c)!important;
}
main.page .flows-entry-drag-hint-v534{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  color:var(--muted,#6d7b93);
  font-size:10px;line-height:1.4;
  white-space:normal;
  text-align:right;
}
main.page .flows-entry-drag-hint-v534::before{content:"⇄";font-size:16px;color:var(--accent,#317cff)}
main.page .flows-entry-list-v534 .flow-table{
  box-sizing:border-box;
  display:grid!important;gap:9px!important;
  padding:12px!important;
  background:transparent!important;
}
main.page .flows-entry-list-v534 .flow-row{
  --row-neon:#558af0;
  box-sizing:border-box!important;
  width:100%!important;margin:0!important;
  min-height:66px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 95px auto auto!important;
  align-items:center!important;
  gap:12px!important;
  padding:10px 13px!important;
  border:1px solid color-mix(in srgb,var(--row-neon) 15%,var(--border,#e0e7f1))!important;
  border-radius:15px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 91%,transparent)!important;
  box-shadow:0 4px 15px rgba(36,65,116,.045)!important;
  transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease!important;
  position:relative;z-index:1;
}
main.page .flows-entry-list-v534 .flow-row:hover,
main.page .flows-entry-list-v534 .flow-row:focus-within{
  transform:translateY(-1px)!important;
  border-color:color-mix(in srgb,var(--row-neon) 58%,transparent)!important;
  box-shadow:0 0 0 1px color-mix(in srgb,var(--row-neon) 21%,transparent),
   0 0 15px color-mix(in srgb,var(--row-neon) 20%,transparent),
   0 11px 24px rgba(34,67,141,.1)!important;
  z-index:5;
}
main.page .flows-entry-list-v534 .flow-row.flow-dragging{opacity:.55!important}
main.page .flows-entry-list-v534 .flow-main{
  display:flex!important;align-items:center!important;
  box-sizing:border-box!important;min-width:0!important;
  gap:12px!important;
  background:transparent!important;
  color:var(--text,#18263e)!important;
  text-decoration:none!important;
}
main.page .flows-entry-list-v534 .flow-main>span:last-child{
  min-width:0!important;display:grid!important;gap:4px!important;
}
main.page .flows-entry-list-v534 .flow-symbol{
  width:39px!important;height:39px!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#66b4ff,#2875f0 55%,#4d46db)!important;
  color:#fff!important;
  box-shadow:0 5px 13px rgba(49,117,222,.2)!important;
  font-size:21px!important;flex-shrink:0!important;
}
main.page .flows-entry-list-v534 .flow-main strong{
  font-size:13px!important;line-height:1.25!important;
  color:var(--text,#19283d)!important;
}
main.page .flows-entry-list-v534 .flow-main small{
  margin:0!important;font-size:10px!important;line-height:1.25!important;
  color:var(--muted,#6d7d92)!important;
}
main.page .flows-entry-list-v534 .flow-kpis{
  display:flex!important;justify-content:center!important;
  min-width:0!important;
  border-left:1px solid color-mix(in srgb,var(--border,#dce4ef) 75%,transparent);
  padding-left:9px!important;
}
main.page .flows-entry-list-v534 .flow-kpis span{display:grid;justify-items:center;gap:2px}
main.page .flows-entry-list-v534 .flow-kpis b{
  color:var(--text,#1c2b46)!important;
  font-size:13px!important;line-height:1!important;
}
main.page .flows-entry-list-v534 .flow-kpis small{
  font-size:9px!important;line-height:1.2!important;
  color:var(--muted,#69798d)!important;
}
main.page .flows-entry-list-v534 .flow-state-badge{
  font-size:10px!important;
  padding:7px 11px!important;
  min-height:30px!important;box-sizing:border-box!important;
  white-space:nowrap!important;
}
main.page .flows-entry-list-v534 .flows-entry-row-actions-v534{
  display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:7px;min-width:0;
}
main.page .flows-entry-list-v534 .flows-entry-row-actions-v534 form{
  margin:0!important;display:block!important;min-width:0!important;
}
main.page .flows-entry-list-v534 .flows-entry-row-actions-v534 .small-btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:32px!important;
  padding:6px 11px!important;
  margin:0!important;
  border:1px solid var(--border,#d9e2ef)!important;
  border-radius:10px!important;
  font-size:11px!important;font-weight:800!important;
  text-decoration:none!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 91%,transparent)!important;
  color:var(--accent,#276dcb)!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  cursor:pointer;
}
main.page .flows-entry-list-v534 .flows-entry-row-actions-v534 .danger-soft{
  color:#be4050!important;
  background:color-mix(in srgb,#f7dce4 34%,var(--surface-solid,#fff))!important;
  border-color:color-mix(in srgb,#cf5367 25%,var(--border,#d8e0ed))!important;
}
main.page .flows-entry-list-v534 .flows-entry-row-actions-v534 .small-btn:hover{
  border-color:color-mix(in srgb,var(--accent,#2876ef) 45%,transparent)!important;
}
main.page .flows-entry-list-v534 .flow-empty{
  padding:28px 16px!important;
  text-align:center;
  color:var(--muted,#677b93);
}
main.page .flows-entry-list-v534 .flow-empty strong{font-size:14px!important}
main.page .flows-entry-list-v534 .flow-empty p{font-size:11px!important;margin:7px 0 0!important}
html[data-theme="dark"] main.page .flows-entry-hero-v534,
html[data-theme="dark"] main.page .flows-entry-list-v534,
html[data-theme="dark"] main.page .flows-entry-folders-v534 .flow-folder-tile{
  box-shadow:0 11px 28px rgba(0,0,0,.15),inset 0 1px rgba(255,255,255,.04)!important;
}
html[data-theme="dark"] main.page .flows-entry-folders-v534 .flow-folder-tile:hover,
html[data-theme="dark"] main.page .flows-entry-folders-v534 .flow-folder-tile.active{
  box-shadow:0 0 18px color-mix(in srgb,var(--folder-neon) 36%,transparent),
    0 14px 24px rgba(0,0,0,.2)!important;
}
@media(max-width:1060px){
  main.page .flows-entry-toolbar-v534 .flows-search{flex-basis:100%!important}
  main.page .flows-entry-toolbar-v534 .flows-actions{width:100%!important;justify-content:flex-end!important}
  main.page .flows-entry-list-v534 .flow-row{grid-template-columns:minmax(0,1fr) 70px auto auto!important;gap:8px!important}
}
@media(max-width:700px){
  main.page .flows-entry-hero-v534{
    padding:13px!important;border-radius:18px!important;gap:10px!important;
  }
  main.page .flows-entry-top-v534{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:9px!important;
  }
  main.page .flows-entry-title-v534 h1{font-size:25px!important}
  main.page .flows-entry-top-v534 .flow-stats{
    width:100%!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
  main.page .flows-entry-top-v534 .flow-stats>div{
    min-height:52px!important;padding:6px 5px!important;border-radius:11px!important;
  }
  main.page .flows-entry-top-v534 .flow-stats strong{font-size:17px!important}
  main.page .flows-entry-top-v534 .flow-stats small{font-size:9px!important}
  main.page .flows-entry-toolbar-v534{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;padding:10px 0 0!important;margin:0!important;
  }
  main.page .flows-entry-toolbar-v534 .flows-search{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;gap:7px!important;flex:auto!important;
  }
  main.page .flows-entry-toolbar-v534 .flows-search label{
    display:grid!important;gap:4px!important;font-size:10px!important;
    min-width:0!important;
  }
  main.page .flows-entry-toolbar-v534 .flows-search :is(input,select){
    height:37px!important;min-height:37px!important;
    font-size:11px!important;padding:6px 9px!important;border-radius:10px!important;
  }
  main.page .flows-entry-toolbar-v534 .flows-actions{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;justify-content:stretch!important;gap:7px!important;
  }
  main.page .flows-entry-toolbar-v534 .flows-actions details{
    width:100%!important;min-width:0!important;
  }
  main.page .flows-entry-toolbar-v534 .flows-actions summary{
    width:100%!important;min-width:0!important;
    min-height:38px!important;height:38px!important;
    padding:5px 7px!important;
    font-size:11px!important;white-space:nowrap!important;
  }
  main.page .flows-entry-toolbar-v534 .flows-actions .popup-form{
    width:min(320px,calc(100vw - 40px))!important;
    max-width:calc(100vw - 40px)!important;
  }
  main.page .flows-entry-toolbar-v534 .flows-actions .primary-pop>.popup-form{
    right:0!important;left:auto!important;
  }
  main.page .flows-entry-library-v534{
    padding:10px 9px 12px!important;margin-bottom:12px!important;
    border-radius:17px!important;
  }
  main.page .flows-entry-folder-head-v534{
    padding:2px 5px 7px!important;gap:2px!important;
  }
  main.page .flows-entry-folder-head-v534 h2{font-size:16px!important}
  main.page .flows-entry-folder-head-v534 p{font-size:10px!important}
  main.page .flows-entry-folders-v534{
    display:flex!important;flex-wrap:nowrap!important;
    align-items:stretch!important;
    width:100%!important;max-width:100%!important;
    gap:8px!important;
    padding:6px 5px 13px!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    overscroll-behavior-inline:contain!important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
  }
  main.page .flows-entry-folders-v534 .flow-folder-tile{
    flex:0 0 103px!important;max-width:103px!important;width:103px!important;
    min-height:104px!important;padding:10px 7px!important;
    scroll-snap-align:start;
    border-radius:15px!important;
  }
  main.page .flows-entry-folders-v534 .folder-icon{
    width:37px!important;height:31px!important;margin:1px auto 4px!important;
  }
  main.page .flows-entry-folders-v534 .folder-icon::before{
    width:19px;height:10px;top:2px;
  }
  main.page .flows-entry-folders-v534 .folder-icon::after{
    height:22px;top:8px;
  }
  main.page .flows-entry-folders-v534 .flow-folder-tile :is(strong,.folder-open strong){font-size:11px!important}
  main.page .flows-entry-folders-v534 .flow-folder-tile :is(small,.folder-open small){font-size:9px!important}
  main.page .flows-entry-list-v534{border-radius:15px!important}
  main.page .flows-entry-list-head-v534{padding:11px 12px!important}
  main.page .flows-entry-list-heading-v534 strong{font-size:14px!important}
  main.page .flows-entry-list-heading-v534 small{font-size:10px!important}
  main.page .flows-entry-drag-hint-v534{display:none!important}
  main.page .flows-entry-list-v534 .flow-table{padding:8px!important;gap:8px!important}
  main.page .flows-entry-list-v534 .flow-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    width:100%!important;min-height:92px!important;
    margin:0!important;
    gap:7px!important;
    padding:10px!important;
    border-radius:13px!important;
  }
  main.page .flows-entry-list-v534 .flow-main{grid-column:1/-1!important;gap:9px!important}
  main.page .flows-entry-list-v534 .flow-symbol{
    width:35px!important;height:35px!important;border-radius:11px!important;font-size:18px!important;
  }
  main.page .flows-entry-list-v534 .flow-main strong{font-size:12px!important}
  main.page .flows-entry-list-v534 .flow-main small{font-size:10px!important}
  main.page .flows-entry-list-v534 .flow-kpis{
    grid-column:1!important;grid-row:2!important;
    border:0!important;padding:0!important;
    justify-content:flex-start!important;
  }
  main.page .flows-entry-list-v534 .flow-kpis span{justify-items:start}
  main.page .flows-entry-list-v534 .flow-state-badge{
    grid-column:2!important;grid-row:2!important;
    min-height:25px!important;font-size:9px!important;padding:5px 9px!important;
  }
  main.page .flows-entry-list-v534 .flows-entry-row-actions-v534{
    grid-column:1/-1!important;grid-row:3!important;justify-content:flex-end!important;
    gap:7px!important;
  }
  main.page .flows-entry-list-v534 .flows-entry-row-actions-v534 .small-btn{
    min-height:29px!important;padding:5px 9px!important;font-size:10px!important;
  }
}
@media(max-width:360px){
  main.page .flows-entry-toolbar-v534 .flows-search{
    grid-template-columns:minmax(0,1fr)!important;
  }
  main.page .flows-entry-folder-head-v534 p{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  main.page .flows-entry-folders-v534 .flow-folder-tile,
  main.page .flows-entry-list-v534 .flow-row,
  main.page .flows-entry-toolbar-v534 .flows-actions summary{
    transition:none!important;
  }
}

/* Mobile: controls side-by-side and folder menus contained in carousel tiles. */
@media(max-width:700px){
  html body main.page:has(.flows-entry-hero-v534)
    .flows-entry-toolbar-v534 .flows-search{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    gap:7px!important;
  }
  html body main.page:has(.flows-entry-hero-v534)
    .flows-entry-toolbar-v534 .flows-search label{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    gap:4px!important;
    min-width:0!important;
  }
  html body main.page:has(.flows-entry-hero-v534)
    .flows-entry-toolbar-v534 .flows-search label :is(input,select){
    width:100%!important;max-width:100%!important;
  }
  main.page .flows-entry-folders-v534 .folder-action-menu,
  main.page .flows-entry-folders-v534 .folder-inline-edit{
    position:absolute!important;
    right:0!important;
    left:auto!important;
    top:-6px!important;
    max-width:calc(100vw - 46px)!important;
    box-sizing:border-box!important;
  }
  main.page .flows-entry-folders-v534 .folder-action-menu{
    width:150px!important;min-width:0!important;
    padding:5px!important;gap:2px!important;
  }
  main.page .flows-entry-folders-v534 .folder-action-menu button{
    padding:7px 9px!important;font-size:11px!important;min-height:31px!important;
  }
  main.page .flows-entry-folders-v534 .folder-inline-edit{
    width:160px!important;padding:5px!important;
  }
  main.page .flows-entry-folders-v534 .folder-inline-edit input{
    width:100%!important;min-width:0!important;box-sizing:border-box!important;
    padding:7px!important;font-size:11px!important;
  }
  main.page .flows-entry-list-v534 .flow-row{
    grid-template-columns:minmax(0,1fr) auto auto!important;
    min-height:82px!important;row-gap:7px!important;
  }
  main.page .flows-entry-list-v534 .flow-kpis{
    grid-column:1!important;grid-row:2!important;
  }
  main.page .flows-entry-list-v534 .flow-state-badge{
    grid-column:2!important;grid-row:2!important;
  }
  main.page .flows-entry-list-v534 .flows-entry-row-actions-v534{
    grid-column:3!important;grid-row:2!important;
    justify-content:flex-end!important;
  }
}
@media(max-width:359px){
  html body main.page:has(.flows-entry-hero-v534)
    .flows-entry-toolbar-v534 .flows-search{
    grid-template-columns:minmax(0,1fr)!important;
  }
  main.page .flows-entry-list-v534 .flow-row{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  main.page .flows-entry-list-v534 .flows-entry-row-actions-v534{
    grid-column:1/-1!important;grid-row:3!important;
  }
}

/* Dark theme: preserve high contrast on destructive buttons and folder actions. */
html[data-theme="dark"] main.page .flows-entry-list-v534
  .flows-entry-row-actions-v534 .danger-soft{
  color:#ffb2bd!important;
  background:rgba(208,66,89,.16)!important;
  border-color:rgba(238,121,142,.36)!important;
}
html[data-theme="dark"] main.page .flows-entry-folders-v534
  .folder-action-menu .danger-soft{
  color:#ffb2bd!important;
  background:rgba(208,66,89,.14)!important;
}
html[data-theme="dark"] main.page .flows-entry-toolbar-v534
  .flows-actions details:not(.primary-pop) summary{
  color:#8cb9ff!important;
  border-color:#547cae!important;
}


/* source: /assets/msnbot-flows-entry-polish-v535.css */
/* Fluxos — detalhes finais de entrada: labels limpos, switch e lixeira.
   Escopo limitado a /fluxos; não alcança o editor visual. */
main.page .flows-entry-hero-v534 .flows-entry-title-v534{
  gap:0!important;
}
main.page .flows-entry-folder-head-v534{
  padding-bottom:9px!important;
}
main.page .flows-entry-list-heading-v534{
  gap:4px!important;
}
main.page .flows-entry-list-heading-v534 strong{
  font-size:16px!important;
  font-weight:850!important;
  letter-spacing:-.025em!important;
}
main.page .flows-entry-list-heading-v534 small{
  margin:0!important;
  font-size:10px!important;
}
main.page .flows-entry-list-v534 .flow-row{
  grid-template-columns:minmax(0,1fr) 95px 70px auto!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-form-v535{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  padding:0!important;
  margin:0!important;
  width:70px!important;
  max-width:70px!important;
  min-width:0!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-v535{
  --flow-switch-size:49px;
  box-sizing:border-box!important;
  position:relative!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  width:var(--flow-switch-size)!important;
  min-width:var(--flow-switch-size)!important;
  max-width:var(--flow-switch-size)!important;
  height:27px!important;
  min-height:27px!important;
  padding:0!important;
  margin:0!important;
  display:block!important;
  cursor:pointer!important;
  border-radius:999px!important;
  background:#ccd5e1!important;
  border:1px solid rgba(91,110,146,.26)!important;
  box-shadow:inset 0 2px 5px rgba(19,40,72,.17)!important;
  outline-offset:3px!important;
  transform:none!important;
  transition:background .23s ease,border-color .23s ease,box-shadow .23s ease!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-v535:hover:not(:disabled){
  border-color:rgba(47,115,195,.56)!important;
  box-shadow:inset 0 1px 4px rgba(15,43,66,.15),0 0 0 3px rgba(62,145,204,.09)!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-v535[aria-checked="true"]{
  background:linear-gradient(110deg,#12b567,#22cf7d)!important;
  border-color:rgba(16,199,105,.9)!important;
  box-shadow:0 0 0 1px rgba(9,196,103,.25),0 0 11px rgba(13,207,101,.55),
    0 0 23px rgba(19,219,112,.25),inset 0 1px 3px rgba(255,255,255,.28)!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-knob-v535{
  pointer-events:none!important;
  box-sizing:border-box!important;
  position:absolute!important;
  width:21px!important;height:21px!important;
  top:2px!important;left:2px!important;
  border-radius:50%!important;
  background:#fff!important;
  border:1px solid rgba(120,134,150,.08)!important;
  box-shadow:0 1px 4px rgba(19,43,79,.2)!important;
  transform:translateX(0)!important;
  transition:transform .23s ease,box-shadow .23s ease!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-v535[aria-checked="true"] .flow-neon-switch-knob-v535{
  transform:translateX(22px)!important;
  box-shadow:0 0 8px rgba(255,255,255,.56),0 1px 5px rgba(17,87,52,.2)!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-v535:disabled{
  cursor:not-allowed!important;
  opacity:.56!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-form-v535:has([data-flow-status-switch-v535][aria-checked="true"]){
  filter:drop-shadow(0 0 3px rgba(23,211,113,.16));
}
main.page .flows-entry-list-v534 .flow-neon-switch-feedback-v535:not(:empty){
  box-sizing:border-box;
  position:absolute;
  right:94px;top:calc(100% - 5px);
  z-index:25;
  padding:5px 9px;
  min-width:150px;max-width:270px;
  border:1px solid rgba(217,84,99,.4);
  border-radius:9px;
  background:var(--surface-solid,#fff);
  color:#cb3e50;
  box-shadow:0 9px 25px rgba(21,38,69,.14);
  font-size:10px;font-weight:650;
  line-height:1.3;
  text-align:left;
}
main.page .flows-entry-list-v534 .flows-entry-row-actions-v534{
  gap:6px!important;
}
main.page .flows-entry-list-v534 .flows-entry-row-actions-v534 .flows-trash-button-v535{
  display:inline-flex!important;
  width:33px!important;
  min-width:33px!important;
  max-width:33px!important;
  height:33px!important;
  min-height:33px!important;
  padding:6px!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:10px!important;
}
main.page .flows-entry-list-v534 .flows-entry-row-actions-v534 .flows-trash-button-v535 svg{
  display:block!important;
  height:17px!important;
  width:17px!important;
  flex-shrink:0!important;
  fill:none!important;
  stroke:currentColor!important;
  pointer-events:none!important;
}
main.page .flows-entry-list-v534 .flows-entry-row-actions-v534 .flows-trash-button-v535:hover{
  color:#c52d44!important;
  border-color:rgba(215,73,91,.55)!important;
  box-shadow:0 0 10px rgba(215,73,91,.15)!important;
}
main.page .flows-entry-folders-v534 .folder-actions .folder-action-menu,
main.page .flows-entry-folders-v534 .folder-actions .folder-inline-edit{
  box-sizing:border-box!important;
  max-width:138px!important;
  border-radius:10px!important;
  padding:5px!important;
  gap:0!important;
  box-shadow:0 15px 34px rgba(17,36,74,.19)!important;
}
main.page .flows-entry-folders-v534 .folder-actions .folder-action-menu button{
  box-sizing:border-box!important;
  padding:7px 9px!important;
  min-height:30px!important;
  border-radius:7px!important;
  font-size:11px!important;
  line-height:1.2!important;
}
main.page .flows-entry-folders-v534 .folder-actions .folder-inline-edit input{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  padding:6px!important;
  font-size:11px!important;
  border-radius:8px!important;
}
main.page .flows-entry-folders-v534 .folder-actions:has(.folder-action-menu:not([hidden])){
  z-index:190!important;
}
/* A renderização em portal impede cortes pelo carrossel móvel.
   O conteúdo continua sendo o MESMO details, com os eventos existentes. */
body > details.flows-menu-portal-v535{
  position:fixed!important;
  z-index:2147483000!important;
  overflow:visible!important;
  display:block!important;
  width:27px!important;
  min-width:27px!important;
  height:27px!important;
  background:transparent!important;
}
body > details.flows-menu-portal-v535 > summary{
  width:27px!important;
  height:27px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  list-style:none!important;
  padding:0!important;
  margin:0!important;
  border-radius:9px!important;
  border:1px solid var(--border,#d9e1ed)!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--text,#14223d)!important;
  cursor:pointer!important;
  font-size:12px!important;
}
body > details.flows-menu-portal-v535 > summary::-webkit-details-marker{display:none}
body > details.flows-menu-portal-v535 .folder-action-menu,
body > details.flows-menu-portal-v535 .folder-inline-edit{
  position:absolute!important;
  right:0!important;
  left:auto!important;
  top:31px!important;
  min-width:0!important;
  width:126px!important;
  max-width:calc(100vw - 20px)!important;
  padding:5px!important;
  box-sizing:border-box!important;
  display:grid!important;
  gap:1px!important;
  z-index:2147483000!important;
  background:var(--surface-solid,#fff)!important;
  border:1px solid var(--border,#d9e1ec)!important;
  border-radius:10px!important;
  box-shadow:0 16px 38px rgba(20,36,75,.28)!important;
}
body > details.flows-menu-portal-v535 .folder-inline-edit{
  width:155px!important;
  max-width:calc(100vw - 20px)!important;
}
body > details.flows-menu-portal-v535 .folder-action-menu button{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:31px!important;
  margin:0!important;
  padding:7px 9px!important;
  font-size:11px!important;
  text-align:left!important;
  border-radius:7px!important;
}
body > details.flows-menu-portal-v535 .folder-inline-edit input{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  padding:6px!important;
  border-radius:7px!important;
  font-size:11px!important;
}
body > details.flows-menu-portal-v535 .folder-action-menu[hidden],
body > details.flows-menu-portal-v535 .folder-inline-edit[hidden],
main.page .flows-entry-folders-v534 .folder-action-menu[hidden],
main.page .flows-entry-folders-v534 .folder-inline-edit[hidden]{
  display:none!important;
}
@media (max-width:1060px){
  main.page .flows-entry-list-v534 .flow-row{
    grid-template-columns:minmax(0,1fr) 70px 65px auto!important;
  }
}
@media (max-width:700px){
  main.page .flows-entry-list-v534 .flow-row{
    grid-template-columns:minmax(0,1fr) auto auto!important;
    min-height:80px!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-form-v535{
    grid-column:2!important;
    grid-row:2!important;
    width:56px!important;
  }
  main.page .flows-entry-list-v534 .flows-entry-row-actions-v534{
    grid-column:3!important;
    grid-row:2!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-v535{
    --flow-switch-size:46px;
    height:26px!important;
    min-height:26px!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-v535 .flow-neon-switch-knob-v535{
    width:20px!important;height:20px!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-v535[aria-checked="true"] .flow-neon-switch-knob-v535{
    transform:translateX(19px)!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-feedback-v535:not(:empty){
    top:calc(100% - 4px);
    right:0;
  }
}
@media(max-width:359px){
  main.page .flows-entry-list-v534 .flow-row{
    grid-template-columns:minmax(0,1fr) auto auto!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-form-v535{
    grid-column:2!important;
    grid-row:2!important;
  }
  main.page .flows-entry-list-v534 .flows-entry-row-actions-v534{
    grid-column:3!important;
    grid-row:2!important;
  }
  main.page .flows-entry-list-v534 .flows-entry-row-actions-v534 .small-btn{
    font-size:9px!important;
    padding:5px 7px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  main.page .flows-entry-list-v534 .flow-neon-switch-v535,
  main.page .flows-entry-list-v534 .flow-neon-switch-knob-v535{
    transition:none!important;
  }
}

/* Refinamento v536: menor, sem halo forte. Mantém um neon verde bem suave. */
main.page .flows-entry-list-v534 .flow-neon-switch-v535{
  --flow-switch-size:41px!important;
  height:24px!important;
  min-height:24px!important;
  border-width:1px!important;
  background:#d2d9e3!important;
  box-shadow:inset 0 1px 3px rgba(19,40,72,.12)!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-v535[aria-checked="true"]{
  background:linear-gradient(120deg,#19b56d,#29c77e)!important;
  border-color:rgba(24,180,98,.75)!important;
  box-shadow:0 0 6px rgba(27,183,96,.21),
   0 0 11px rgba(27,183,96,.095),
   inset 0 1px 2px rgba(255,255,255,.16)!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-v535:hover:not(:disabled){
  border-color:rgba(45,150,111,.48)!important;
  box-shadow:0 0 7px rgba(25,183,105,.13)!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-v535[aria-checked="true"]:hover:not(:disabled){
  box-shadow:0 0 7px rgba(25,183,105,.25),
  0 0 13px rgba(25,183,105,.09)!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-knob-v535{
  width:18px!important;
  height:18px!important;
  top:2px!important;
  left:2px!important;
  box-shadow:0 1px 3px rgba(23,48,76,.18)!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-v535[aria-checked="true"] .flow-neon-switch-knob-v535{
  transform:translateX(17px)!important;
  box-shadow:0 1px 3px rgba(17,87,52,.17)!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-form-v535:has([data-flow-status-switch-v535][aria-checked="true"]){
  filter:none!important;
}
@media(max-width:700px){
  main.page .flows-entry-list-v534 .flow-neon-switch-v535{
    --flow-switch-size:39px!important;
    height:23px!important;
    min-height:23px!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-v535 .flow-neon-switch-knob-v535{
    width:17px!important;height:17px!important;
    top:2px!important;left:2px!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-v535[aria-checked="true"] .flow-neon-switch-knob-v535{
    transform:translateX(17px)!important;
  }
}

/* Bate-Papo: avisar SOMENTE falhas ao iniciar Fluxo, sem interromper o chat.
   Visível por poucos segundos e depois desaparece com opacidade gradual. */
body .msnbot-flow-send-error-v536{
  box-sizing:border-box!important;
  position:fixed!important;
  left:50%!important;
  bottom:max(100px,calc(env(safe-area-inset-bottom,0px) + 86px))!important;
  z-index:2147483000!important;
  width:max-content!important;
  max-width:min(370px,calc(100vw - 32px))!important;
  padding:10px 14px!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.45!important;
  text-align:center!important;
  color:#fff!important;
  background:rgba(61,38,47,.95)!important;
  border:1px solid rgba(243,158,170,.34)!important;
  border-radius:12px!important;
  box-shadow:0 7px 24px rgba(20,24,32,.18)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translate(-50%,9px) scale(.98)!important;
  transition:opacity .53s ease,transform .53s ease,visibility .53s ease!important;
}
body .msnbot-flow-send-error-v536.is-visible{
  visibility:visible!important;
  opacity:1!important;
  transform:translate(-50%,0) scale(1)!important;
}
@media(max-width:700px){
  body .msnbot-flow-send-error-v536{
    font-size:11px!important;
    padding:9px 12px!important;
    max-width:calc(100vw - 26px)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body .msnbot-flow-send-error-v536{
    transition:none!important;
  }
}

/* v537 — interruptor alongado, mais baixo, alinhado ao botão Editar.
   Execuções e ações com intervalos menores e regulares. */
main.page .flows-entry-list-v534 .flow-row{
  grid-template-columns:minmax(0,1fr) 68px 66px auto!important;
  column-gap:9px!important;
  align-items:center!important;
}
main.page .flows-entry-list-v534 .flow-kpis{
  box-sizing:border-box!important;
  width:68px!important;
  min-width:0!important;
  padding:0!important;
  border:0!important;
  justify-content:center!important;
  align-self:center!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-form-v535{
  width:66px!important;
  max-width:66px!important;
  min-height:32px!important;
  justify-content:center!important;
  align-items:center!important;
  align-self:center!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-v535{
  --flow-switch-size:48px!important;
  height:20px!important;
  min-height:20px!important;
  align-self:center!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-knob-v535{
  height:16px!important;
  width:16px!important;
  top:1px!important;
  left:1px!important;
}
main.page .flows-entry-list-v534 .flow-neon-switch-v535[aria-checked="true"] .flow-neon-switch-knob-v535{
  transform:translateX(28px)!important;
}
main.page .flows-entry-list-v534 .flows-entry-row-actions-v534{
  display:flex!important;
  gap:8px!important;
  align-items:center!important;
  align-self:center!important;
}
@media(max-width:1060px){
  main.page .flows-entry-list-v534 .flow-row{
    grid-template-columns:minmax(0,1fr) 60px 62px auto!important;
    column-gap:8px!important;
  }
  main.page .flows-entry-list-v534 .flow-kpis{width:60px!important}
  main.page .flows-entry-list-v534 .flow-neon-switch-form-v535{width:62px!important;max-width:62px!important}
}
@media(max-width:700px){
  main.page .flows-entry-list-v534 .flow-row{
    grid-template-columns:minmax(0,1fr) 55px auto!important;
    column-gap:8px!important;
  }
  main.page .flows-entry-list-v534 .flow-kpis{
    width:100%!important;grid-column:1!important;grid-row:2!important;
    justify-content:flex-start!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-form-v535{
    width:55px!important;max-width:55px!important;
    grid-column:2!important;grid-row:2!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-v535{
    --flow-switch-size:45px!important;
    height:19px!important;
    min-height:19px!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-knob-v535{
    height:15px!important;width:15px!important;
    top:1px!important;left:1px!important;
  }
  main.page .flows-entry-list-v534 .flow-neon-switch-v535[aria-checked="true"] .flow-neon-switch-knob-v535{
    transform:translateX(26px)!important;
  }
  main.page .flows-entry-list-v534 .flows-entry-row-actions-v534{
    grid-column:3!important;grid-row:2!important;
    gap:7px!important;justify-content:flex-end!important;
  }
}

/* Flow editor touch controls: explicit tap state, independent from canvas drag. */
#flow-editor-app .palette-group-icon{border:0;padding:0;touch-action:manipulation}
#flow-editor-app .palette-group.is-open .palette-pop{display:grid!important;gap:4px}
@media (hover:none), (pointer:coarse){
 #flow-editor-app .palette-group:not(.is-open) .palette-pop{display:none!important}
 #flow-editor-app .palette-group.is-open .palette-pop{display:grid!important}
 #flow-editor-app .flow-floating-palette.open{overflow:visible!important}
 #flow-editor-app .palette-pop{touch-action:pan-y;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
}
@media screen and (min-width:981px) and (max-width:1399px) and (orientation:landscape){
 html body #flow-editor-app .flow-editor-shell{display:grid!important;grid-template-columns:minmax(240px,300px) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;min-height:0!important;overflow:hidden!important}
 html body #flow-editor-app .flow-inspector:not(.is-hidden){position:relative!important;inset:auto!important;display:block!important;z-index:140!important;min-height:0!important;max-height:100%!important;height:100%!important;overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y!important;overscroll-behavior:contain}
 html body #flow-editor-app .flow-stage-wrap{min-height:0!important;height:100%!important}
 html body #flow-editor-app .flow-stage{min-height:0!important;touch-action:none!important}
 html body #flow-editor-app .flow-block-launcher .flow-floating-palette.open{overflow:visible!important}
 html body #flow-editor-app .flow-block-launcher .palette-pop{max-height:min(40dvh,310px)!important;overflow-y:auto!important}
}

/* Real viewport portal: no overflow clipping or canvas gesture interception. */
html body .flow-palette-portal-v564{position:fixed!important;z-index:2147482000!important;right:auto!important;bottom:auto!important;box-sizing:border-box!important;display:none!important;transform:none!important;opacity:1!important;pointer-events:auto!important;overflow:auto!important;overscroll-behavior:contain;touch-action:pan-y;max-width:calc(100vw - 20px)!important;padding:9px!important;background:var(--surface-solid,#fff)!important;border:1px solid var(--hair,#dce3ed);border-radius:16px;box-shadow:0 12px 34px #0003}
html body .flow-palette-portal-v564.open{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important}
html body .flow-palette-portal-v564 .palette-close{align-self:flex-end;position:static!important}
html body .flow-palette-portal-v564 .palette-group{position:relative!important;display:flex!important;flex-direction:column;align-items:stretch;width:100%!important;height:auto!important;flex:none!important}
html body .flow-palette-portal-v564 .palette-group::after{display:none!important;content:none!important}
html body .flow-palette-portal-v564 .palette-group-icon{display:flex!important;justify-content:flex-start;gap:9px;width:100%!important;height:40px!important;min-height:40px!important;box-sizing:border-box;padding:0 12px!important;border:0;border-radius:10px;background:var(--soft,#eef2f9)!important;color:var(--text,#18243a)!important;box-shadow:none!important;touch-action:manipulation}
html body .flow-palette-portal-v564 .palette-group-icon::after{content:attr(aria-label);font:600 13px/1.2 system-ui,sans-serif;color:inherit}
html body .flow-palette-portal-v564 .palette-pop{position:static!important;inset:auto!important;transform:none!important;display:none!important;min-width:0!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;padding:4px!important;border:0!important;box-shadow:none!important;box-sizing:border-box}
html body .flow-palette-portal-v564 .palette-group.is-open .palette-pop{display:grid!important;gap:3px}
html body .flow-palette-portal-v564 .palette-pop strong{display:none}
html body .flow-palette-portal-v564 .palette-pop button{min-height:38px;touch-action:manipulation}
html body .flow-neon-switch-v535{touch-action:manipulation!important;pointer-events:auto!important}

/* A whole block is a valid drop target, including touch and Pencil. */
html body #flow-editor-app .flow-node-flow .node-input-dot{display:block!important}
html body #flow-editor-app .flow-node.flow-drop-target-v565{
  outline:3px solid #26d87c!important;outline-offset:3px!important;
  box-shadow:0 0 0 6px #26d87c25,0 0 28px #26d87c85!important;
  border-color:#26d87c!important;
}
html body #flow-editor-app .flow-node .node-input-dot.connect-target{
  background:#26d87c!important;border-color:#26d87c!important;
  box-shadow:0 0 0 5px #26d87c38,0 0 15px #26d87caa!important;
  transform:scale(1.35)!important;
}
html body #flow-editor-app .node-output-dot{touch-action:none!important}
@media (any-pointer:coarse){
  html body #flow-editor-app .node-output-dot::after{
    content:"";position:absolute;left:-9px;right:-9px;top:-3px;bottom:-3px;
    background:transparent;pointer-events:auto;
  }
}
#flow-editor-app .flow-inline-create-v566{border:1px solid var(--hair,#dce4ed);border-radius:10px;padding:7px 9px;margin:5px 0}
#flow-editor-app .flow-inline-create-v566 summary{cursor:pointer;color:var(--accent,#2878f5);font-size:12px;font-weight:650}
#flow-editor-app .flow-inline-form-v566{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding-top:8px}
#flow-editor-app .flow-inline-form-v566 [data-catalog-name],#flow-editor-app .flow-inline-form-v566 [data-catalog-feedback]{grid-column:1/-1}
#flow-editor-app .flow-inline-form-v566 input[type=color]{width:40px;height:34px}
#flow-editor-app .flow-catalog-plus-v567{margin:3px 0 7px;min-width:0}
#flow-editor-app .flow-catalog-plus-button{width:26px;height:26px;min-height:26px;padding:0!important;font-size:19px;line-height:1;border-radius:8px;color:var(--accent,#2878f5)}
#flow-editor-app .flow-catalog-search-v567{margin-top:5px;border:1px solid var(--hair,#dce4ed);padding:7px;border-radius:10px}
#flow-editor-app .flow-catalog-search-v567[hidden]{display:none!important}
#flow-editor-app [data-catalog-results]{display:grid;max-height:150px;overflow-y:auto}
#flow-editor-app [data-catalog-results] button{text-align:left;background:transparent;border:0;padding:7px;cursor:pointer;color:inherit}
#flow-editor-app [data-catalog-results] button:hover{background:var(--soft,#e8edf5)}
#flow-editor-app .flow-catalog-chips-v567{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
#flow-editor-app .flow-catalog-chips-v567 .v472-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:8px;background:var(--soft,#e8edf5)}
#flow-editor-app [data-catalog-clear]{border:0;background:transparent;cursor:pointer;color:inherit}

/* Flow editor full height; scoped to the editor, never the list of flows. */
html body:has(#flow-editor-app) > :is(#msnbot-dock,#msnbot-mobile-dock,#dock-manual-toggle){display:none!important;visibility:hidden!important;pointer-events:none!important}
html body:has(#flow-editor-app) > main.page:not(.auth-page){
 position:fixed!important;inset:var(--flow-editor-top-v572,var(--v461-topbar-height,44px)) 6px 0 6px!important;
 box-sizing:border-box!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;
}
html body #flow-editor-app{display:flex!important;flex-direction:column!important;flex:1 1 0!important;min-width:0!important;min-height:0!important;height:100%!important;max-height:100%!important;margin:0!important;padding:0!important;gap:4px!important;overflow:hidden!important}
html body #flow-editor-app .flow-editor-top{position:relative!important;inset:auto!important;flex:0 0 auto!important;margin:0!important;border-radius:12px!important}
html body #flow-editor-app .flow-editor-shell{flex:1 1 0!important;min-width:0!important;min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;gap:6px!important;overflow:hidden!important;grid-template-rows:minmax(0,1fr)!important}
html body #flow-editor-app .flow-stage-wrap{height:100%!important;min-height:0!important;max-height:none!important;min-width:0!important;grid-template-rows:auto minmax(0,1fr)!important;overflow:hidden!important}
html body #flow-editor-app .flow-stage{position:relative!important;height:auto!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;overflow-anchor:none!important;scroll-behavior:auto!important;touch-action:none!important}
html body #flow-editor-app .flow-canvas-sizer-v572{position:relative!important;display:block!important;min-width:100%;min-height:100%;overflow:hidden!important;contain:layout paint}
html body #flow-editor-app .flow-canvas{position:absolute!important;transform-origin:0 0!important;margin:0!important}
html body #flow-editor-app .flow-inspector:not(.is-hidden){min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important}
@media(min-width:981px){
 html body #flow-editor-app .flow-editor-shell{display:grid!important;grid-template-columns:minmax(230px,300px) minmax(0,1fr)!important}
 html body #flow-editor-app .flow-inspector:not(.is-hidden){position:relative!important;inset:auto!important;height:100%!important;max-height:100%!important}
}
@media(max-width:980px){
 html body #flow-editor-app .flow-editor-shell{display:block!important}
 html body #flow-editor-app .flow-inspector:not(.is-hidden){bottom:max(6px,env(safe-area-inset-bottom,0px))!important;max-height:65dvh!important}
}

/* Editor-only Dock peek: no preference mutation. */
html body:has(#flow-editor-app) > :is(#dock-manual-toggle,#dock-reveal-handle){display:none!important}
html body:has(#flow-editor-app.flow-dock-peek-v573) > #msnbot-dock.desktop-dock,
html body:has(#flow-editor-app.flow-dock-peek-v573) > #msnbot-mobile-dock.mobile-dock{
 visibility:visible!important;opacity:1!important;pointer-events:auto!important;
}
@media(min-width:701px){
 html body:has(#flow-editor-app.flow-dock-peek-v573) > #msnbot-dock.desktop-dock{display:flex!important}
 html body:has(#flow-editor-app.flow-dock-peek-v573) > #msnbot-mobile-dock.mobile-dock{display:none!important}
}
@media(max-width:700px){
 html body:has(#flow-editor-app.flow-dock-peek-v573) > #msnbot-dock.desktop-dock{display:none!important}
 html body:has(#flow-editor-app.flow-dock-peek-v573) > #msnbot-mobile-dock.mobile-dock{display:flex!important;transform:translateX(-50%) translateY(0)!important}
}
html body:has(#flow-editor-app.flow-dock-peek-v573).dock-pos-bottom > #msnbot-dock.desktop-dock{
 transform:translateX(-50%) translateY(0)!important;
}
html body:has(#flow-editor-app.flow-dock-peek-v573).dock-pos-left > #msnbot-dock.desktop-dock{transform:translateY(50%) translateX(0)!important}
html body:has(#flow-editor-app.flow-dock-peek-v573).dock-pos-right > #msnbot-dock.desktop-dock{transform:translateY(50%) translateX(0)!important}
html body #flow-dock-toggle-v573{
 position:fixed!important;z-index:1200!important;left:50%!important;right:auto!important;bottom:0!important;top:auto!important;
 transform:translateX(-50%)!important;display:grid!important;place-items:center!important;width:44px!important;height:17px!important;
 min-height:17px!important;min-width:44px!important;padding:0!important;margin:0!important;border:0!important;border-radius:9px 9px 0 0!important;
 color:var(--accent,#2878f5)!important;background:color-mix(in srgb,var(--surface-solid,#fff) 84%,transparent)!important;
 box-shadow:0 -1px 7px #0002!important;cursor:pointer;touch-action:manipulation;
}
#flow-dock-toggle-v573 svg{width:18px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#flow-dock-toggle-v573[aria-expanded=true] svg{transform:rotate(180deg)}
html body #flow-editor-app .flow-inspector-controls-v573{position:relative;align-self:flex-start;flex-shrink:0}
html body #flow-editor-app #flow-node-saved-v573{position:absolute;right:0;top:100%;display:grid;place-items:center;width:100%;height:16px;color:#15985d;font-size:13px;line-height:1;font-weight:800;pointer-events:none}
html body #flow-editor-app .flow-node-check-v573{position:absolute;left:-10px;top:18px;z-index:4;background:#20a66d;color:white;border:1px solid white;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:bold;pointer-events:none}
html body #flow-editor-app :is(#flow-node-saved-v573,.flow-node-check-v573)[hidden]{display:none!important}
#flow-autosave-status{font-size:10px;line-height:1.2;max-width:170px;color:var(--muted,#63748b)}
#flow-autosave-status[data-state=error]{color:#c23c3c;font-weight:600}
html body #flow-editor-app .flow-eye-v573{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;padding:3px!important;border-radius:8px!important;display:grid!important;place-items:center!important;flex:0 0 26px!important;background:color-mix(in srgb,var(--accent,#2878f5) 10%,transparent)!important;border:1px solid color-mix(in srgb,var(--accent,#2878f5) 19%,var(--border,#dce3ed))!important;color:var(--accent,#2878f5)!important;cursor:pointer}
html body #flow-editor-app .flow-eye-v573 svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.85px!important;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
#flow-editor-app .flow-eye-v573 .d44-eye-shine{fill:currentColor!important;stroke:none!important}
#flow-editor-app .flow-eye-v573[aria-expanded=true] .d44-eye-closed,#flow-editor-app .flow-eye-v573[aria-expanded=false] .d44-eye-open{display:none!important}
#flow-editor-app .flow-eye-v573 .d44-eye-glyph{transform-box:view-box;transform-origin:50% 50%}
#flow-editor-app .flow-eye-v573.is-blinking .d44-eye-glyph{animation:msnbotSalesEyeBlink .28s ease-in-out 1!important}
#flow-editor-app .flow-eye-v573.is-double-blinking .d44-eye-glyph{animation:msnbotSalesEyeDoubleBlink .62s ease-in-out 1!important}
#flow-editor-app :is(.content-element-body,.flow-action-body-v573)[hidden]{display:none!important}
#flow-editor-app .content-element-head>div{display:flex!important;flex-shrink:0;gap:3px!important}
#flow-editor-app .content-element-head>strong{min-width:0;overflow-wrap:anywhere}
#flow-editor-app .flow-action-body-v573{display:grid;gap:8px}
@media(prefers-reduced-motion:reduce){#flow-editor-app .flow-eye-v573 .d44-eye-glyph{animation:none!important}}

/* Flow glass / neon styling, using the same per-block palette as connectors. */
html body #flow-editor-app .flow-node{
 background:color-mix(in srgb,var(--surface-solid,#fff) 83%,var(--node-color) 9%,transparent)!important;
 border:1px solid color-mix(in srgb,var(--node-color) 52%,transparent)!important;
 backdrop-filter:blur(8px) saturate(1.12);-webkit-backdrop-filter:blur(8px) saturate(1.12);
 box-shadow:0 0 0 1px color-mix(in srgb,var(--node-color) 20%,transparent),0 0 15px color-mix(in srgb,var(--node-color) 22%,transparent),0 10px 24px #17294b0d!important;
}
html body #flow-editor-app .flow-node.selected,html body #flow-editor-app .flow-node:hover{
 box-shadow:0 0 0 1px color-mix(in srgb,var(--node-color) 70%,transparent),0 0 13px color-mix(in srgb,var(--node-color) 46%,transparent),0 0 26px color-mix(in srgb,var(--node-color) 20%,transparent)!important
}
html body #flow-editor-app .flow-node.flow-drop-target-v565{outline:3px solid #22c55e!important;box-shadow:0 0 22px #22c55e99!important}
html body #flow-editor-app .flow-node .flow-node-summary li{background:color-mix(in srgb,var(--node-color) 9%,transparent)!important}
html[data-theme=dark] body #flow-editor-app .flow-node{background:color-mix(in srgb,#182330 88%,var(--node-color) 8%,transparent)!important}
html body #flow-editor-app .flow-inspector:not(.is-hidden){--flow-inspector-color:#64748b;background:color-mix(in srgb,var(--surface-solid,#fff) 94%,var(--flow-inspector-color) 6%)!important}
html body #flow-editor-app .flow-inspector :is(.content-element,.flow-action-item,.inspector-option-row){border-color:color-mix(in srgb,var(--flow-inspector-color) 30%,var(--border,#dce3ed))!important;background:color-mix(in srgb,var(--surface-solid,#fff) 91%,var(--flow-inspector-color) 9%)!important}
html body #flow-editor-app .flow-inspector :is(.content-element-head,.flow-action-item>header){background:color-mix(in srgb,var(--flow-inspector-color) 11%,transparent)!important}
html body #flow-editor-app .flow-inspector :is(textarea,input:not([type=range]):not([type=file]),select){border-color:color-mix(in srgb,var(--flow-inspector-color) 33%,var(--border,#dce3ed))!important}
html body #flow-editor-app .flow-inspector :is(.content-element-icon,.flow-eye-v573){color:var(--flow-inspector-color)!important;background:color-mix(in srgb,var(--flow-inspector-color) 13%,var(--surface-solid,#fff))!important}
html[data-theme=dark] body #flow-editor-app .flow-inspector:not(.is-hidden){background:color-mix(in srgb,#182330 94%,var(--flow-inspector-color) 6%)!important}
html[data-theme=dark] body #flow-editor-app .flow-inspector :is(.content-element,.flow-action-item,.inspector-option-row,.content-element-body){background:color-mix(in srgb,#17212e 91%,var(--flow-inspector-color) 9%)!important}
#flow-editor-app .flow-media-v574,#flow-editor-app .flow-record-v574{display:grid;gap:8px;justify-items:stretch;min-width:0}
#flow-editor-app .flow-media-v574 img,#flow-editor-app .flow-media-v574 video{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;display:block!important;border-radius:9px;margin:0 auto!important}
#flow-editor-app :is(.flow-media-v574,.flow-record-v574) audio{width:100%;min-width:0;height:36px}
#flow-editor-app .flow-file-choice-v574{display:grid;place-items:center;position:relative;overflow:hidden;border:1px solid color-mix(in srgb,var(--flow-inspector-color) 25%,var(--border,#dce3ed));background:color-mix(in srgb,var(--flow-inspector-color) 8%,var(--surface-solid,#fff));border-radius:9px;padding:8px 10px;cursor:pointer;text-align:center;color:var(--flow-inspector-color);font-size:12px;font-weight:650}
#flow-editor-app .flow-file-choice-v574 input{position:absolute!important;inset:0!important;opacity:0!important;cursor:pointer!important;width:100%!important;height:100%!important}
#flow-editor-app .flow-file-choice-v574:focus-within{outline:2px solid var(--flow-inspector-color)}
#flow-editor-app [data-upload-status]:empty{display:none!important}
#flow-editor-app [data-upload-status]{font-size:11px;text-align:center;color:var(--muted,#63748b)}
#flow-editor-app [data-flow-record]{width:40px!important;height:40px!important;display:grid;place-items:center;justify-self:center;border:0;border-radius:50%;color:var(--flow-inspector-color);background:color-mix(in srgb,var(--flow-inspector-color) 13%,var(--surface-solid,#fff));cursor:pointer}
#flow-editor-app [data-flow-record] svg{width:23px;height:23px}
#flow-editor-app [data-flow-record].recording{background:#e74957;color:white;box-shadow:0 0 0 5px #e7495722}
#flow-editor-app .flow-delay-v574{display:grid;gap:9px}
#flow-editor-app .flow-delay-units-v574{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:3px;border-radius:10px;background:color-mix(in srgb,var(--flow-inspector-color) 10%,transparent)}
#flow-editor-app .flow-delay-units-v574 button{padding:6px 2px;min-width:0;border:0;border-radius:7px;background:transparent;color:inherit;font-size:11px;cursor:pointer}
#flow-editor-app .flow-delay-units-v574 button[aria-pressed=true]{background:var(--flow-inspector-color);color:#fff;font-weight:700}
#flow-editor-app .flow-delay-v574 output{font-size:20px;text-align:center;font-weight:750;color:var(--flow-inspector-color)}
#flow-editor-app .flow-delay-v574 input[type=range]{width:100%;padding:0;accent-color:var(--flow-inspector-color);cursor:pointer}
#flow-editor-app .flow-delay-limits-v574{display:flex;justify-content:space-between;font-size:10px;color:var(--muted,#63748b)}
#flow-editor-app .flow-text-emoji-wrap-v574{display:flex;align-items:center;gap:3px;min-width:0}
#flow-editor-app .flow-text-emoji-wrap-v574 textarea{flex:1;min-width:0;width:100%}
#flow-editor-app .flow-text-emoji-v574{visibility:hidden;flex:0 0 23px;width:23px;min-width:23px;height:26px;padding:0;border:0;background:transparent;color:var(--flow-inspector-color);font-size:21px;cursor:pointer}
#flow-editor-app .flow-text-emoji-wrap-v574:focus-within .flow-text-emoji-v574{visibility:visible}
#flow-editor-app .flow-reaction-v574{display:grid;place-items:center}
#flow-editor-app [data-flow-reaction]{font-size:28px;border:1px solid color-mix(in srgb,var(--flow-inspector-color) 25%,transparent);border-radius:12px;background:color-mix(in srgb,var(--flow-inspector-color) 10%,transparent);min-width:50px;min-height:45px;cursor:pointer}
html body .flow-emoji-panel-v574{position:fixed;z-index:2147482001;width:min(290px,calc(100vw - 12px));padding:9px;border:1px solid var(--border,#dce3ed);border-radius:14px;background:var(--surface-solid,#fff);color:var(--text,#162438);box-shadow:0 12px 36px #18294c35}
.flow-emoji-panel-v574 input{width:100%;padding:6px 8px;border-radius:8px}
.flow-emoji-tabs-v574{display:flex;gap:2px;overflow-x:auto;padding:6px 0}
.flow-emoji-tabs-v574 button,.flow-emoji-grid-v574 button{border:0;background:transparent;padding:4px;cursor:pointer;line-height:1.3}
.flow-emoji-grid-v574{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));max-height:220px;overflow:auto;overscroll-behavior:contain}
.flow-emoji-grid-v574 button{font-size:20px}
.flow-emoji-grid-v574 button:hover{background:#2878f516;border-radius:6px}
html body #flow-media-toast-v574{position:fixed;z-index:2147483000;top:50%;left:50%;transform:translate(-50%,-50%);max-width:min(330px,calc(100vw - 24px));padding:13px 16px;border-radius:13px;background:color-mix(in srgb,var(--surface-solid,#fff) 93%,#e64b5e);color:var(--text,#1d2939);border:1px solid #e64b5e50;box-shadow:0 10px 32px #0003;font-size:13px;text-align:center}
#flow-media-toast-v574[hidden]{display:none!important}
.sim-reaction-v574{display:inline-block;font-size:15px;padding:1px 5px;border-radius:12px;background:var(--surface-solid,#fff);border:1px solid #a2aec133}

/* Acknowledgement is local to the saved content or action, not its entire block. */
html body #flow-editor-app .flow-item-delete-v575{position:relative;display:inline-flex;flex:0 0 auto;align-self:flex-start}
html body #flow-editor-app .flow-item-saved-v575{position:absolute;z-index:3;top:calc(100% + 1px);left:0;width:100%;height:12px;display:grid;place-items:center;pointer-events:none;color:#179b62;font-size:12px;line-height:1;font-weight:800}
html body #flow-editor-app .flow-item-saved-v575[hidden]{display:none!important}
html body #flow-editor-app :is(.content-element-head,.flow-action-item>header){padding-bottom:12px!important}
/* Nonintrusive overlay scroll indicators; native scroll mechanics stay enabled. */
html body #flow-editor-app .flow-stage-wrap{position:relative!important}
html body #flow-editor-app .flow-stage{scrollbar-width:none!important;-ms-overflow-style:none!important}
html body #flow-editor-app .flow-stage::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
#flow-editor-app .flow-scroll-glass-v575{position:absolute;z-index:12;pointer-events:none;opacity:0;transition:opacity .22s ease;overflow:hidden}
#flow-editor-app .flow-scroll-glass-v575.is-visible{opacity:1}
#flow-editor-app .flow-scroll-glass-v575>span{position:absolute;border-radius:999px;background:color-mix(in srgb,color-mix(in srgb,var(--surface-solid,#fff) 65%,var(--accent,#2878f5)) 55%,transparent);border:1px solid #ffffff60;box-shadow:0 1px 5px #17294b22;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);box-sizing:border-box}
#flow-editor-app .flow-scroll-glass-v575>span[hidden]{display:none!important}
#flow-editor-app .flow-scroll-x-v575{bottom:4px;height:6px}
#flow-editor-app .flow-scroll-y-v575{right:4px;width:6px}
/* Once visible, Dock's hide button is on its right edge and only shows on interaction.
   Keep the bottom-center reopening affordance when the Dock is hidden. */
html body #flow-editor-app.flow-dock-peek-v573 #flow-dock-toggle-v573{
 left:var(--flow-dock-x-v575,50%)!important;top:var(--flow-dock-y-v575,90%)!important;bottom:auto!important;
 transform:translateY(-50%)!important;width:20px!important;min-width:20px!important;height:30px!important;min-height:30px!important;
 border-radius:10px!important;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,visibility 0s linear .18s;
}
html body #flow-editor-app.flow-dock-peek-v573 #flow-dock-toggle-v573:is(.flow-dock-interacting-v575,:focus-visible){
 opacity:1;visibility:visible;pointer-events:auto;transition:opacity .18s ease;
}
@media(prefers-reduced-motion:reduce){#flow-editor-app .flow-scroll-glass-v575,#flow-editor-app #flow-dock-toggle-v573{transition:none!important}}

/* Recent emojis stay above search and share the category menu's dimensions. */
.flow-emoji-panel-v574 .flow-emoji-recent-v576{padding:0 0 6px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.flow-emoji-panel-v574 .flow-emoji-recent-v576::-webkit-scrollbar{display:none}
.flow-emoji-panel-v574 .flow-emoji-recent-v576[hidden]{display:none!important}
.flow-emoji-panel-v574 .flow-emoji-tabs-v574 button{flex:0 0 auto;font-size:15px;min-width:24px;height:26px;box-sizing:border-box;display:grid;place-items:center;padding:3px}

/* Compact flow emoji picker, anchored at the opening emoji. */
html body .flow-emoji-panel-v574{box-sizing:border-box;width:min(238px,calc(100vw - 12px));max-height:calc(100dvh - 12px);padding:6px;border-radius:11px;overflow:auto}
.flow-emoji-panel-v574 .flow-emoji-grid-v574{max-height:148px;grid-template-columns:repeat(8,minmax(0,1fr))}
.flow-emoji-panel-v574 .flow-emoji-grid-v574 button{font-size:17px;padding:3px}
.flow-emoji-panel-v574 .flow-emoji-tabs-v574{gap:1px;padding:4px 0}
.flow-emoji-panel-v574 .flow-emoji-tabs-v574 button{font-size:14px;min-width:22px;height:23px;padding:2px}
.flow-emoji-panel-v574 .flow-emoji-recent-v576:not([hidden]){display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:0;overflow:hidden;padding:0 0 4px}
.flow-emoji-panel-v574 .flow-emoji-recent-v576 button{min-width:0}

#flow-editor-app .flow-menu-edit-v579{display:grid;gap:9px}
#flow-editor-app .flow-menu-answer-v579{display:flex;gap:7px;align-items:center}
#flow-editor-app .flow-menu-answer-v579 input{flex:1;min-width:0;width:100%}
#flow-editor-app .flow-menu-answer-v579 button,#flow-editor-app .flow-menu-add-v579{width:27px;min-width:27px;height:27px;padding:0;border:0;border-radius:8px;color:var(--flow-inspector-color,#2878f5);background:color-mix(in srgb,var(--flow-inspector-color,#2878f5) 11%,transparent);cursor:pointer;font-weight:700}
#flow-editor-app .flow-menu-add-v579{justify-self:end;font-size:20px;line-height:1}
#flow-editor-app .flow-menu-answer-v579 button:disabled,#flow-editor-app .flow-menu-add-v579:disabled{opacity:.35;cursor:default}

/* Menu: central question and clearly separated answer buttons; preserve connector rows. */
html body #flow-editor-app .flow-node .flow-menu-question{text-align:center!important;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 9px!important;font-weight:650}
html body #flow-editor-app .flow-node .flow-menu-options{gap:6px!important;margin:5px 2px 2px!important}
html body #flow-editor-app .flow-node .flow-menu-options li{display:block!important;box-sizing:border-box;text-align:center!important;min-height:24px!important;height:auto!important;line-height:1.35!important;padding:5px 8px!important;border:1px solid color-mix(in srgb,var(--node-color) 30%,var(--border,#dce3ed))!important;border-radius:8px!important;background:color-mix(in srgb,var(--surface-solid,#fff) 88%,var(--node-color) 12%)!important;overflow-wrap:anywhere;white-space:normal}
html[data-theme=dark] body #flow-editor-app .flow-node .flow-menu-options li{background:#283746!important;border-color:#64748b66!important;color:#f2f5f8!important}
#flow-editor-app .flow-menu-answer-v579 input{text-align:center;border-radius:9px!important}

/* Voice-driven pulse; the stop glyph and its center never move. */
html body #flow-editor-app [data-flow-record].recording{position:relative;isolation:isolate;box-shadow:none}
html body #flow-editor-app [data-flow-record].recording::before{content:'';position:absolute;inset:0;border-radius:inherit;background:#e74957;z-index:-1;pointer-events:none;transform:scale(calc(1 + var(--flow-record-level,0) * .30));box-shadow:0 0 0 4px #e7495726,0 0 12px #e7495740;transition:transform 70ms linear}
html body #flow-editor-app [data-flow-record].recording svg{position:relative;z-index:1;transform:none}
@media(prefers-reduced-motion:reduce){html body #flow-editor-app [data-flow-record].recording::before{transform:none;transition:none}}
/* Match the glass buttons in the flow canvas without altering their port geometry. */
html body #flow-editor-app .flow-node .flow-menu-options li{background:color-mix(in srgb,color-mix(in srgb,var(--surface-solid,#fff) 87%,var(--node-color)) 60%,transparent)!important;box-shadow:0 0 7px color-mix(in srgb,var(--node-color) 19%,transparent);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
html[data-theme=dark] body #flow-editor-app .flow-node .flow-menu-options li{background:#28374699!important}

/* Duplicate content: aligned to the left of the reorder controls. */
html body #flow-editor-app .flow-content-duplicate-v582{display:grid!important;place-items:center;padding:0!important;flex-shrink:0}
#flow-editor-app .flow-content-duplicate-v582 svg{width:14px;height:14px;pointer-events:none}
#flow-editor-app .content-element-head>strong{flex:1;min-width:0}

/* Visible, persistent file attachment confirmation inside Flow content. */
#flow-editor-app .flow-file-attached-v583{display:flex;align-items:center;gap:8px;min-width:0;padding:9px;border-radius:9px;border:1px solid color-mix(in srgb,var(--flow-inspector-color,#2878f5) 30%,transparent);background:color-mix(in srgb,var(--flow-inspector-color,#2878f5) 8%,transparent);color:inherit;text-decoration:none}
#flow-editor-app .flow-file-attached-v583>svg{width:25px;height:25px;flex-shrink:0;color:var(--flow-inspector-color,#2878f5)}
#flow-editor-app .flow-file-attached-v583>span{flex:1;min-width:0;display:grid;gap:2px}
#flow-editor-app .flow-file-attached-v583 strong{font-size:12px;font-weight:650;overflow-wrap:anywhere;line-height:1.3}
#flow-editor-app .flow-file-attached-v583 small{font-size:10px;color:var(--muted,#788599)}
#flow-editor-app .flow-file-attached-v583>b{color:#159b62;font-size:15px}

/* PDF preview in a top-layer dialog, scoped to Flow attachments. */
#flow-editor-app .flow-file-view-v584{flex-shrink:0;display:inline-grid;place-items:center;padding:5px 9px;border-radius:7px;border:1px solid color-mix(in srgb,var(--flow-inspector-color,#2878f5) 35%,transparent);background:color-mix(in srgb,var(--flow-inspector-color,#2878f5) 12%,transparent);color:inherit;text-decoration:none;font-size:11px;font-weight:650;cursor:pointer}
html body .flow-pdf-dialog-v584{position:fixed!important;inset:0!important;margin:auto!important;width:min(880px,calc(100vw - 24px))!important;height:min(86dvh,900px)!important;max-width:none!important;max-height:none!important;padding:0!important;box-sizing:border-box;border:1px solid var(--border,#dce3ed)!important;border-radius:15px!important;background:var(--surface-solid,#fff)!important;color:var(--text,#172033)!important;overflow:hidden!important;box-shadow:0 18px 70px #0004!important}
html body .flow-pdf-dialog-v584[open]{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important}
.flow-pdf-dialog-v584::backdrop{background:#17203355;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.flow-pdf-dialog-v584>header{display:flex;align-items:center;gap:9px;padding:10px 13px;min-width:0;border-bottom:1px solid var(--border,#dce3ed)}
.flow-pdf-dialog-v584>header strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.flow-pdf-dialog-v584>header a,.flow-pdf-dialog-v584>header button{flex-shrink:0;padding:5px 9px;border:0;border-radius:8px;background:color-mix(in srgb,var(--accent,#2878f5) 10%,transparent);color:var(--accent,#2878f5);font-size:12px;text-decoration:none;cursor:pointer}
.flow-pdf-dialog-v584>header button{font-size:21px;line-height:1}
.flow-pdf-dialog-v584>iframe{display:block;width:100%;height:100%;min-height:0;border:0;background:#f1f3f5}
@media(max-width:600px){html body .flow-pdf-dialog-v584{width:calc(100vw - 12px)!important;height:calc(100dvh - 24px)!important}}

/* Commands at the top, sculpted icons, expanded text editor. */
#flow-editor-app .content-add-grid{margin:0 0 12px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
#flow-editor-app .content-add-grid button{min-width:0;padding:6px 2px!important;border:1px solid color-mix(in srgb,var(--flow-inspector-color,#2878f5) 22%,transparent)!important;border-radius:10px!important;background:linear-gradient(145deg,#ffffff30,#7185a418)!important;transition:transform .16s,box-shadow .16s}
#flow-editor-app .content-add-grid button span{font-size:21px!important;line-height:1.2;filter:drop-shadow(0 2px 2px #0004)}
#flow-editor-app .content-add-grid button:is(:hover,:focus-visible){transform:translateY(-2px);box-shadow:0 3px 10px color-mix(in srgb,var(--flow-inspector-color,#2878f5) 28%,transparent)}
#flow-editor-app .content-add-grid button b{font-size:9px!important;white-space:nowrap}
#flow-editor-app .flow-text-emoji-wrap-v574{position:relative}
#flow-editor-app .flow-text-emoji-wrap-v574 textarea{padding-right:19px!important}
#flow-editor-app .flow-text-expand-v585{position:absolute;right:27px;top:4px;width:13px;height:13px;padding:0;border:0;background:transparent;color:var(--flow-inspector-color,#2878f5);cursor:pointer;display:grid;place-items:center}
#flow-editor-app .flow-text-expand-v585 svg{width:11px;height:11px}
html body .flow-text-dialog-v585[open]{height:min(72dvh,660px)!important;grid-template-rows:auto minmax(0,1fr) auto!important}
.flow-text-dialog-v585>textarea{margin:12px;width:calc(100% - 24px);min-height:0;resize:none;box-sizing:border-box;padding:12px;border:1px solid var(--border,#dce3ed);border-radius:10px;font:inherit;background:var(--surface-solid,#fff);color:inherit}
.flow-text-dialog-v585>div{padding:0 12px 12px;display:flex;justify-content:flex-end}
.flow-text-dialog-v585>div button{padding:8px 15px;border:0;border-radius:9px;background:var(--accent,#2878f5);color:white;cursor:pointer}
#flow-editor-app .flow-sticker-v585{display:grid;gap:7px}
#flow-editor-app .flow-sticker-v585>img{max-width:100px;max-height:100px;object-fit:contain;margin:auto}
#flow-editor-app [data-sticker-gallery]:not([hidden]){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;max-height:220px;overflow:auto}
#flow-editor-app [data-sticker-gallery] button{border:0;background:transparent;padding:3px;cursor:pointer}
#flow-editor-app [data-sticker-gallery] img{display:block;width:100%;height:48px;object-fit:contain}

/* Compact uniform editor cards and action header. */
html body #flow-editor-app .flow-action-list{display:grid!important;gap:10px!important}
html body #flow-editor-app .flow-action-item{border:1px solid color-mix(in srgb,var(--flow-inspector-color) 27%,transparent)!important;border-radius:12px!important;overflow:visible!important;margin:0!important;padding:0!important}
html body #flow-editor-app .flow-action-item>header.flow-action-head-v586{display:flex!important;align-items:center!important;gap:5px!important;padding:8px 7px!important;border-radius:11px 11px 0 0!important;min-height:0!important}
html body #flow-editor-app .flow-action-head-v586>select{flex:1;min-width:0;width:0!important;font-size:12px!important;height:31px!important;padding:4px 7px!important}
html body #flow-editor-app .flow-action-head-v586>button,html body #flow-editor-app .flow-action-head-v586 .flow-item-delete-v575>button{width:25px!important;height:25px!important;flex-shrink:0}
html body #flow-editor-app .flow-action-body-v573{padding:9px!important;display:grid;gap:6px}
html body #flow-editor-app .flow-action-body-v573[hidden]{display:none!important}
#flow-editor-app .flow-action-body-v573 label{margin:0!important}
#flow-editor-app .flow-action-body-v573 textarea{max-height:92px;resize:none}
#flow-editor-app .flow-action-body-v573 .flow-catalog-plus-v567{margin:0!important}
#flow-editor-app .flow-action-add{margin-top:9px!important}
#flow-editor-app .flow-inspector .node-inspector{display:grid;gap:8px;align-content:start}
#flow-editor-app .flow-inspector .node-inspector>label{margin:0!important}
#flow-editor-app .flow-inspector .node-inspector textarea{resize:none}
html body #flow-editor-app .flow-node-message .flow-node-summary li,html body #flow-editor-app .flow-node-action .flow-node-summary li{min-height:28px!important;max-height:34px!important;overflow:hidden!important;display:flex!important;align-items:center;gap:5px;font-size:11px!important;white-space:nowrap!important}
#flow-editor-app .flow-node-summary .flow-node-more-v586{display:block;width:100%;border:0;background:transparent;color:var(--node-color);font-size:10px;padding:3px;cursor:pointer;text-align:center}
/* Content overview is intrinsic-sized, independently of the PDF viewer's fixed height. */
html body dialog.flow-pdf-dialog-v584.flow-node-overview-v586[open]{display:flex!important;flex-direction:column!important;width:min(470px,calc(100vw - 24px))!important;height:fit-content!important;min-height:0!important;max-height:min(85dvh,calc(100dvh - 24px))!important;overflow:hidden!important}
html body dialog.flow-node-overview-v586[open]>header{flex:0 0 auto!important}
html body dialog.flow-node-overview-v586[open]>.flow-node-overview-body-v586{flex:0 1 auto!important;height:auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:12px!important;overscroll-behavior:contain}
.flow-node-overview-body-v586>ul{align-content:start}
.flow-node-overview-body-v586 ul{display:grid;gap:6px;list-style:none;margin:0;padding:0}
.flow-node-overview-body-v586 li{display:flex;gap:9px;align-items:flex-start;padding:8px;border:1px solid var(--border,#dce3ed);border-radius:8px;overflow-wrap:anywhere}
.flow-node-overview-body-v586 li span:first-child,.flow-node-overview-body-v586 li b{font-weight:650;flex-shrink:0}

/* Draft state beside the Canvas zoom; whole-block duplication. */
html body #flow-editor-app #flow-draft-indicator-v587{display:inline-block;color:#b68700;font-size:11px;font-weight:750;white-space:nowrap;margin-right:7px}
html body #flow-editor-app #flow-draft-indicator-v587[hidden]{display:none!important}
html[data-theme=dark] body #flow-editor-app #flow-draft-indicator-v587{color:#ffd24b}
html body #flow-editor-app .node-duplicate-dot-v587{position:absolute!important;top:-10px!important;right:-10px!important;width:23px!important;height:23px!important;padding:3px!important;border:1px solid color-mix(in srgb,var(--node-color,#2878f5) 45%,transparent)!important;border-radius:50%!important;background:var(--surface-solid,#fff)!important;color:var(--node-color,#2878f5)!important;display:grid;place-items:center;z-index:9;cursor:pointer;box-shadow:0 2px 6px #0002}
#flow-editor-app .node-duplicate-dot-v587 svg{width:14px;height:14px;pointer-events:none}
#flow-editor-app .node-duplicate-dot-v587:hover{box-shadow:0 0 10px color-mix(in srgb,var(--node-color,#2878f5) 45%,transparent)}

/* Canvas: show only centered command names, never field values or message previews. */
html body #flow-editor-app .flow-node .flow-node-summary{text-align:center!important}
html body #flow-editor-app .flow-node .flow-command-summary-v588{display:grid!important;gap:4px!important}
html body #flow-editor-app .flow-node .flow-command-summary-v588 li{display:flex!important;justify-content:center!important;align-items:center!important;text-align:center!important;box-sizing:border-box;min-height:28px!important;max-height:34px!important;padding:4px 7px!important;font-size:11px!important;font-weight:600!important;line-height:1.3!important;white-space:normal!important;overflow:hidden!important}
html body #flow-editor-app .flow-node .flow-command-summary-v588:empty{display:none!important}

/* Answer field and response type share a single compact row. */
#flow-editor-app .flow-question-row-v591{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.88fr);align-items:start;gap:8px}
#flow-editor-app .flow-question-row-v591>div,#flow-editor-app .flow-question-row-v591>label{min-width:0;margin:0!important}
#flow-editor-app .flow-question-row-v591 .flow-catalog-plus-button[hidden]{display:none!important}
#flow-editor-app .flow-question-row-v591 .v472-chip{max-width:100%;overflow-wrap:anywhere}
#flow-editor-app .flow-question-row-v591 .flow-catalog-plus-v567{margin:3px 0 0!important}
#flow-editor-app .flow-math-help-v591{width:100%;margin-top:6px;font-size:11px}
html body .flow-math-dialog-v591[open]{width:min(450px,calc(100vw - 24px))!important;height:auto!important;max-height:85dvh!important}
.flow-math-body-v591{overflow:auto;padding:13px;display:grid;gap:9px;font-size:13px}
.flow-math-body-v591 p{margin:0}.flow-math-body-v591 code{white-space:pre-wrap;overflow-wrap:anywhere;padding:8px;border-radius:8px;background:var(--soft,#edf2f7)}
.flow-math-ops-v591{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.flow-math-ops-v591 span{border:1px solid var(--border,#dce3ed);border-radius:7px;padding:6px}
#flow-editor-app .flow-einstein-icon-v591{display:inline-block;width:24px;height:25px;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 1px 2px #0005)}
#flow-editor-app .content-element-icon .flow-einstein-icon-v591{width:20px;height:20px}
/* Capture customer's next message rather than a fixed value. */
#flow-editor-app .flow-capture-row-v593:has(.v472-chip) .flow-catalog-plus-button{display:none!important}
#flow-editor-app .flow-capture-row-v593 select{width:100%;min-width:0}

/* Match field chip and answer selector heights. */
html body #flow-editor-app .flow-question-row-v591{grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:10px!important}
html body #flow-editor-app .flow-question-row-v591>label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;white-space:nowrap!important;text-align:left!important;font-size:11px!important}
html body #flow-editor-app .flow-question-row-v591 select{width:115px!important;max-width:100%!important;height:31px!important;min-height:31px!important;box-sizing:border-box;border-radius:9px!important;padding:4px 7px!important}
html body #flow-editor-app .flow-question-row-v591 .v472-chip{min-height:31px!important;box-sizing:border-box;display:inline-flex!important;align-items:center!important;margin:0!important}
html body #flow-editor-app .flow-question-row-v591 .flow-catalog-plus-v567{margin-top:4px!important}
.team-notice-editor-v594{display:grid!important;grid-template-rows:auto minmax(100px,1fr) auto;gap:8px;overflow:auto;padding:12px!important}
.team-notice-editor-v594 textarea{min-height:120px;resize:none;width:100%;box-sizing:border-box;padding:9px;border:1px solid var(--border,#dce3ed);border-radius:10px;background:var(--surface-solid,#fff);color:inherit;font:inherit}
.team-notice-editor-v594 select{width:100%;padding:7px;border-radius:8px}

/* Compact flow library folders: roughly half the previous width and height. */
html body main.page .flows-entry-folders-v534{gap:7px!important;padding:4px 5px 10px!important}
html body main.page .flows-entry-folders-v534 .flow-folder-tile{
 flex:0 0 136px!important;width:136px!important;max-width:136px!important;
 min-height:60px!important;height:60px!important;max-height:60px!important;padding:5px 3px 4px!important;
 box-sizing:border-box!important;align-self:flex-start!important;
 border-radius:10px!important;gap:1px!important;
}
html body main.page .flows-entry-folders-v534 .folder-open{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:1px!important;width:100%!important;
 height:100%!important;min-height:0!important;padding:0!important;margin:0!important;
}
html body main.page .flows-entry-folders-v534 .flow-folder-tile.all{
 justify-content:center!important;align-items:center!important;
}
html body main.page .flows-entry-folders-v534 .folder-icon{flex-shrink:0!important}
html body main.page .flows-entry-folders-v534 .folder-icon{
 width:26px!important;height:22px!important;margin:0 auto 2px!important;
}
html body main.page .flows-entry-folders-v534 .folder-icon::before{
 top:1px;left:2px;width:13px;height:7px;border-radius:3px 3px 1px 1px;
}
html body main.page .flows-entry-folders-v534 .folder-icon::after{
 top:5px;left:1px;right:1px;height:15px;border-radius:3px 4px 4px 4px;
}
html body main.page .flows-entry-folders-v534 .flow-folder-tile strong{font-size:9px!important;line-height:1.2!important}
html body main.page .flows-entry-folders-v534 .flow-folder-tile small{font-size:8px!important;line-height:1.2!important;margin:1px 0 0!important}
html body main.page .flows-entry-folders-v534 .folder-actions{top:2px!important;right:2px!important}
html body main.page .flows-entry-folders-v534 .folder-actions>summary{
 width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;
 padding:0!important;border-radius:5px!important;font-size:9px!important;display:grid!important;place-items:center;
}
@media(max-width:700px){
 html body main.page .flows-entry-folders-v534 .flow-folder-tile{flex-basis:120px!important;width:120px!important;max-width:120px!important;min-height:56px!important;height:56px!important;max-height:56px!important}
}

/* Folder labels above the cards; selected and unselected cards share one baseline. */
html body main.page .flows-entry-folders-v534{
 padding:24px 5px 10px!important;row-gap:27px!important;column-gap:7px!important;
 align-items:flex-start!important;
}
html body main.page .flows-entry-folders-v534 .flow-folder-tile,
html body main.page .flows-entry-folders-v534 .flow-folder-tile:is(.active,:hover,:focus-within,.drag-over){
 box-sizing:border-box!important;transform:none!important;translate:none!important;
 position:relative!important;flex-shrink:0!important;align-self:flex-start!important;
 padding:4px 3px!important;justify-content:center!important;
}
html body main.page .flows-entry-folders-v534 .folder-open{
 position:static!important;flex:1 1 auto!important;min-height:0!important;
 justify-content:center!important;gap:3px!important;
}
html body main.page .flows-entry-folders-v534 .flow-folder-tile :is(strong,.folder-open strong){
 position:absolute!important;top:-21px!important;left:0!important;right:0!important;
 width:100%!important;height:17px!important;max-height:none!important;min-height:0!important;
 padding:0 2px!important;margin:0!important;box-sizing:border-box!important;
 font-size:11px!important;line-height:17px!important;text-align:center!important;
 white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
html body main.page .flows-entry-folders-v534 .flow-folder-tile :is(small,.folder-open small){
 flex:0 0 auto!important;min-height:0!important;height:auto!important;max-height:none!important;
 font-size:9px!important;line-height:12px!important;margin:2px 0 0!important;
}
html body main.page .flows-entry-folders-v534 .folder-icon{margin:0 auto!important}
@media(max-width:700px){
 html body main.page:has(.flows-hero) .flows-entry-folders-v534{
  padding:24px 5px 10px!important;gap:7px!important;flex-wrap:nowrap!important;
 }
}

/* Compact frosted team notification editor. */
html body dialog.team-notice-glass-v623[open]{
 width:min(420px,calc(100vw - 24px))!important;height:fit-content!important;
 max-height:calc(100dvh - 24px)!important;inset:0!important;margin:auto!important;
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:auto minmax(0,1fr) auto!important;gap:0!important;
 border-radius:18px!important;
 background:color-mix(in srgb,var(--surface-solid,#fff) 30%,transparent)!important;
 -webkit-backdrop-filter:blur(30px) saturate(135%);backdrop-filter:blur(30px) saturate(135%);
 border:1px solid color-mix(in srgb,var(--surface-solid,#fff) 70%,transparent)!important;
 box-shadow:inset 0 1px 1px #ffffff50,0 18px 50px #14284d35!important;
}
html body dialog.team-notice-glass-v623::backdrop{background:#17203329;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
html body dialog.team-notice-glass-v623>header{padding:9px 12px;gap:8px}
html body dialog.team-notice-glass-v623>header button{width:24px;height:24px;padding:0;display:grid;place-items:center;font-size:16px}
html body dialog.team-notice-glass-v623>.team-notice-editor-v594{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:auto auto!important;gap:9px!important;padding:12px!important;min-width:0;min-height:0;
}
html body dialog.team-notice-glass-v623 label{display:grid;gap:4px;margin:0;font-size:11px;font-weight:650}
html body dialog.team-notice-glass-v623 :is(select,textarea){
 display:block;width:100%!important;min-width:0;box-sizing:border-box!important;
 background:color-mix(in srgb,var(--surface-solid,#fff) 80%,transparent)!important;
 border:1px solid var(--border,#dce3ed)!important;border-radius:9px!important;
 font:inherit;font-size:13px!important;color:var(--text,#172033)!important;
}
html body dialog.team-notice-glass-v623 select{height:34px!important;padding:5px 9px!important}
html body dialog.team-notice-glass-v623 textarea{height:112px!important;min-height:90px!important;max-height:180px!important;padding:9px!important;line-height:1.55;resize:vertical}
html body dialog.team-notice-glass-v623>div:last-child{padding:0 12px 12px!important;display:flex!important;justify-content:flex-end}
html body dialog.team-notice-glass-v623>div:last-child>button{font-size:12px;padding:7px 14px}
html body #flow-editor-app :is(.flow-action-head-v586,.content-element-head) .flow-eye-v573,
html body #flow-editor-app :is(.flow-action-head-v586,.content-element-head) .flow-item-delete-v575>button{
 box-sizing:border-box!important;width:25px!important;height:25px!important;
 min-width:25px!important;min-height:25px!important;max-width:25px!important;max-height:25px!important;
 flex:0 0 25px!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important;border-radius:7px!important;
}
html body #flow-editor-app :is(.flow-action-head-v586,.content-element-head) .flow-item-delete-v575{align-self:center!important}
html body #flow-editor-app :is(.flow-action-head-v586,.content-element-head) .flow-eye-v573 svg{width:16px!important;height:16px!important}

/* Action header: compact selector, duplicate, eye and outlined transparent X. */
html body #flow-editor-app .flow-action-head-v586>select{
 flex:1 1 0!important;width:0!important;min-width:0!important;
 height:28px!important;min-height:28px!important;font-size:11px!important;
 padding:3px 6px!important;text-overflow:ellipsis;
}
html body #flow-editor-app .flow-action-head-v586 .flow-action-duplicate-v624,
html body #flow-editor-app :is(.flow-action-head-v586,.content-element-head) .flow-item-delete-v575>button{
 box-sizing:border-box!important;width:25px!important;height:25px!important;
 min-width:25px!important;min-height:25px!important;max-width:25px!important;max-height:25px!important;
 flex:0 0 25px!important;padding:0!important;margin:0!important;
 display:grid!important;place-items:center!important;border-radius:7px!important;
 background:transparent!important;box-shadow:none!important;
 border:1px solid color-mix(in srgb,var(--accent,#2878f5) 19%,var(--border,#dce3ed))!important;
 color:var(--flow-inspector-color,var(--text,#172033))!important;cursor:pointer;
}
html body #flow-editor-app .flow-action-duplicate-v624 svg{width:15px;height:15px;pointer-events:none}
html body #flow-editor-app :is(.flow-action-head-v586,.content-element-head) .flow-item-delete-v575>button{font-size:16px!important;line-height:1!important}
html body #flow-editor-app .flow-action-duplicate-v624:hover{border-color:var(--flow-inspector-color,var(--accent,#2878f5))!important}
html body #flow-editor-app :is(.flow-action-head-v586,.content-element-head) .flow-item-delete-v575>button:hover{color:#d84958!important;border-color:#d84958!important}

/* Keep action cards within the inspector, including their intrinsic grid widths. */
html body #flow-editor-app .flow-inspector #flow-node-inspector.node-inspector{
 box-sizing:border-box!important;min-width:0!important;width:100%!important;max-width:100%!important;
 grid-template-columns:minmax(0,1fr)!important;
}
html body #flow-editor-app .flow-action-list,
html body #flow-editor-app .flow-action-item,
html body #flow-editor-app .flow-action-item>.flow-action-head-v586,
html body #flow-editor-app .flow-action-item>.flow-action-body-v573{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
}
html body #flow-editor-app .flow-action-list,
html body #flow-editor-app .flow-action-item>.flow-action-body-v573{
 grid-template-columns:minmax(0,1fr)!important;
}
html body #flow-editor-app .flow-action-item>header.flow-action-head-v586{
 display:grid!important;grid-template-columns:minmax(0,1fr) repeat(3,25px)!important;
 gap:4px!important;padding:8px 7px 12px!important;align-items:center!important;
}
html body #flow-editor-app .flow-action-item>header.flow-action-head-v586>select{
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
 height:28px!important;min-height:28px!important;
}
html body #flow-editor-app .flow-action-head-v586>.flow-item-delete-v575{
 width:25px!important;min-width:25px!important;max-width:25px!important;
}
html body #flow-editor-app .flow-action-body-v573>*{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html body #flow-editor-app .flow-action-body-v573 :is(select,textarea,input:not([type=checkbox]):not([type=radio])){
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important;
}
html body #flow-editor-app .flow-action-body-v573>label>select{width:100%!important;min-height:31px!important;height:31px!important}
html body #flow-editor-app .flow-action-body-v573 .flow-question-row-v591{
 width:100%!important;min-width:0!important;box-sizing:border-box!important;
 grid-template-columns:minmax(0,1fr) minmax(0,115px)!important;gap:7px!important;
}
html body #flow-editor-app .flow-action-body-v573 .flow-question-row-v591>label{white-space:normal!important;overflow-wrap:normal}
html body #flow-editor-app .flow-action-body-v573 .flow-question-row-v591 select{width:100%!important}
html body #flow-editor-app .flow-action-body-v573 .v472-chip{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}
html body #flow-editor-app .flow-action-add{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important}

/* Keep the insert-variable label and plus on one line, search below. */
html body #flow-editor-app .flow-variable-inline-v628{margin:0 0 5px!important;min-width:0}
html body #flow-editor-app .flow-variable-inline-v628>.flow-catalog-chips-v567{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 flex-wrap:nowrap!important;gap:6px!important;
}
html body #flow-editor-app .flow-variable-label-v628{font-size:11px;line-height:1.3;font-weight:600}
html body #flow-editor-app .flow-variable-inline-v628 .flow-catalog-plus-button{
 box-sizing:border-box!important;flex:0 0 24px!important;width:24px!important;min-width:24px!important;
 height:24px!important;min-height:24px!important;padding:0!important;margin:0!important;
 display:grid!important;place-items:center!important;
}

/* One action per node. Duplicate the whole node from its canvas controls. */
html body #flow-editor-app .flow-action-item>header.flow-action-head-v586{
 grid-template-columns:minmax(0,1fr) repeat(2,25px)!important;
}

/* Match the label baselines and control heights in both answer-capture layouts. */
html body #flow-editor-app .flow-inspector .flow-question-row-v591{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,115px)!important;
 align-items:start!important;gap:8px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;
}
html body #flow-editor-app .flow-inspector .flow-question-row-v591>div,
html body #flow-editor-app .flow-inspector .flow-question-row-v591>label{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;
 gap:4px!important;margin:0!important;padding:0!important;min-width:0!important;
 font-size:11px!important;font-weight:600!important;line-height:15px!important;text-align:left!important;
}
html body #flow-editor-app .flow-inspector .flow-question-row-v591>div>label{
 display:block!important;margin:0!important;padding:0!important;min-height:15px!important;
 font-size:inherit!important;font-weight:inherit!important;line-height:15px!important;
}
html body #flow-editor-app .flow-inspector .flow-question-row-v591 .flow-catalog-plus-v567{margin:0!important;padding:0!important}
html body #flow-editor-app .flow-inspector .flow-question-row-v591 .flow-catalog-chips-v567{min-height:31px!important;align-items:flex-start!important}
html body #flow-editor-app .flow-inspector .flow-question-row-v591 :is(select,.v472-chip,.flow-catalog-plus-button){
 box-sizing:border-box!important;height:31px!important;min-height:31px!important;max-height:31px!important;
 margin:0!important;border-radius:9px!important;font-size:11px!important;line-height:15px!important;
}
html body #flow-editor-app .flow-inspector .flow-question-row-v591 select{width:100%!important;max-width:100%!important}
html body #flow-editor-app .flow-inspector .flow-question-row-v591 .v472-chip{
 max-width:100%!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;
}
html body #flow-editor-app .flow-inspector .flow-question-row-v591 .flow-catalog-plus-button:not([hidden]){font-size:19px!important}

/* Read-only full notification preview and modal-local emoji picker. */
html body #flow-editor-app .flow-team-notice-preview-v633{
 box-sizing:border-box;width:100%;min-width:0;padding:10px 11px;
 border:1px solid color-mix(in srgb,var(--flow-inspector-color,#eab308) 30%,transparent);
 border-radius:10px;background:color-mix(in srgb,var(--surface-solid,#fff) 65%,transparent);
 color:var(--text,#172033);font-size:12px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;
}
html body dialog.team-notice-glass-v623 .team-notice-text-v633{position:relative;min-width:0;display:grid;gap:5px}
html body dialog.team-notice-glass-v623 .team-notice-text-v633 textarea{padding-right:34px!important;margin:0!important}
html body dialog.team-notice-glass-v623 .team-notice-emoji-v633{
 position:absolute;right:7px;top:7px;width:22px;height:22px;min-width:0;
 padding:0!important;display:grid;place-items:center;border:0;background:transparent!important;
 color:var(--accent,#2878f5)!important;cursor:pointer;
}
.team-notice-emoji-v633 svg{width:19px;height:19px}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633{
 position:static!important;justify-self:end;max-width:100%;z-index:auto;
}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 button{
 background:transparent;color:inherit;padding:2px;border:0;min-width:0;
}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 button:hover{background:#2878f516}

/* Notification emoji picker: full-width, shallow and horizontally aligned with textarea. */
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633{
 width:100%!important;max-width:100%!important;min-width:0;justify-self:stretch!important;
 padding:5px 7px!important;box-sizing:border-box;
}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 input{
 height:25px!important;min-height:25px!important;padding:3px 7px!important;font-size:11px!important;box-sizing:border-box;
}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-grid-v574{
 grid-template-columns:repeat(auto-fill,minmax(23px,1fr))!important;
 max-height:76px!important;gap:0!important;overflow-y:auto!important;
}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-grid-v574 button{
 height:25px;min-height:25px;font-size:16px!important;line-height:1!important;padding:2px!important;
}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-tabs-v574{padding:2px 0!important}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-recent-v576:not([hidden]){
 display:flex!important;justify-content:flex-start;gap:2px!important;padding:0 0 2px!important;
}

/* Four full emoji rows and evenly distributed category buttons. */
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-grid-v574{
 max-height:100px!important;
}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-tabs-v574:not(.flow-emoji-recent-v576){
 display:flex!important;justify-content:space-between!important;gap:2px!important;width:100%;box-sizing:border-box;
}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-tabs-v574:not(.flow-emoji-recent-v576)>button{
 flex:1 1 0!important;min-width:0!important;width:auto!important;justify-content:center;
}

/* Full emoji rows, with a fine glass scroll track from categories to last row. */
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-scroll-v636{
 max-height:158px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
 scrollbar-width:thin;
 scrollbar-color:color-mix(in srgb,var(--text,#172033) 20%,transparent) color-mix(in srgb,var(--surface-solid,#fff) 30%,transparent);
 padding:0 3px 3px 0;box-sizing:border-box;
}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-scroll-v636::-webkit-scrollbar{width:3px}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-scroll-v636::-webkit-scrollbar-track{background:color-mix(in srgb,var(--surface-solid,#fff) 30%,transparent);border-radius:5px}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-scroll-v636::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--text,#172033) 20%,transparent);border-radius:5px}
html body dialog.team-notice-glass-v623 .flow-emoji-scroll-v636>.flow-emoji-tabs-v574{
 position:sticky;top:0;z-index:1;background:var(--surface-solid,#fff);overflow:hidden!important;
}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-grid-v574{
 max-height:none!important;overflow:visible!important;grid-auto-rows:25px;align-items:center;
}
html body dialog.team-notice-glass-v623 .flow-emoji-in-dialog-v633 .flow-emoji-grid-v574 button{
 box-sizing:border-box!important;height:25px!important;min-height:25px!important;max-height:25px!important;
 display:grid;place-items:center;line-height:1.2!important;
}

/* Flow title is saved independently; confirmation stays inside its right edge. */
html body #flow-editor-app .flow-name-wrap-v637{position:relative;display:inline-flex;align-items:center;min-width:0;max-width:100%}
html body #flow-editor-app .flow-name-wrap-v637 .flow-title-input{min-width:0;max-width:100%;box-sizing:border-box;padding-right:29px!important}
html body #flow-editor-app .flow-name-saved-v637{position:absolute;right:9px;top:50%;transform:translateY(-50%);font-size:14px;font-weight:700;color:#20b66d;pointer-events:none}
html body #flow-editor-app .flow-name-saved-v637[hidden]{display:none!important}
html body #flow-editor-app .flow-name-saved-v637[data-state=saving]{color:var(--sub,#718096)}
html body #flow-editor-app .flow-name-saved-v637[data-state=error]{color:#d84958}
#flow-editor-app .flow-field-fixed-v649{display:flex;align-items:flex-start;gap:6px;min-width:0}
#flow-editor-app .flow-field-fixed-v649>.flow-catalog-plus-v567{flex:1;min-width:0}
#flow-editor-app .flow-field-fixed-v649>[data-flow-fixed-v649]{flex:0 0 30px;width:30px;height:30px;font-weight:800;padding:0}
#flow-editor-app .flow-field-fixed-v649>[aria-pressed=true]{background:#2878f5!important;color:white!important}
#flow-editor-app [data-catalog-new-type-wrap-v649][hidden]{display:none!important}

/* Condition inspector: compact, consistent spacing and a searchable selector. */
html body #flow-editor-app .flow-condition-v654{display:grid;gap:10px;min-width:0}
html body #flow-editor-app .flow-condition-v654 label{display:flex;flex-direction:column;gap:4px;margin:0!important;font-size:12px;font-weight:650}
html body #flow-editor-app .flow-condition-v654 select,html body #flow-editor-app .flow-condition-picker-v654{width:100%;min-width:0;height:34px;min-height:34px;padding:5px 9px!important;box-sizing:border-box;border-radius:8px;font-size:12px}
html body #flow-editor-app .flow-condition-picker-v654{display:flex;align-items:center;justify-content:space-between;gap:6px;background:var(--surface,#fff);color:inherit;border:1px solid color-mix(in srgb,var(--flow-inspector-color) 33%,var(--border,#dce3ed))}
html body #flow-editor-app .flow-condition-picker-v654>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body #flow-editor-app .flow-condition-target-v654{display:grid;gap:4px;min-width:0}
html body #flow-editor-app .flow-condition-v654 textarea{width:100%;min-height:58px;padding:8px 9px!important;box-sizing:border-box;font-size:12px}
html body #flow-editor-app [data-condition-results-v654]{display:grid;max-height:170px;overflow-y:auto;gap:2px}
html body #flow-editor-app [data-condition-results-v654]>button{border:0;background:transparent;color:inherit;text-align:left;padding:7px 8px;border-radius:7px;font-size:12px;overflow-wrap:anywhere}
html body #flow-editor-app [data-condition-results-v654]>button:hover{background:var(--soft,#e8edf5)}

/* Variable autocomplete and non-editable visual mirror: textarea remains the actual input. */
html body .flow-variable-expanded-v655{position:relative;display:flex!important;min-height:0;padding:12px!important;box-sizing:border-box}
html body .flow-variable-expanded-v655>textarea{flex:1;width:100%;min-width:0;min-height:0;resize:none;box-sizing:border-box;padding:12px;border:1px solid var(--border,#dce3ed);border-radius:10px;font:inherit;background:var(--surface-solid,#fff);color:inherit}
html body .flow-variable-mirror-v655{position:absolute;z-index:1;box-sizing:border-box;border-style:solid;border-color:transparent;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;overflow:hidden;pointer-events:none;color:var(--text,#17243a);text-decoration:none}
html body .flow-variable-mirror-v655 span{color:#2878ef;text-decoration:underline;text-underline-offset:2px}
html body textarea.flow-variable-input-v655{color:transparent!important;-webkit-text-fill-color:transparent!important;caret-color:var(--text,#17243a)!important}
html body textarea.flow-variable-input-v655::placeholder{color:var(--muted,#64748b)!important;-webkit-text-fill-color:var(--muted,#64748b)!important}
html body textarea.flow-variable-input-v655::selection{background:#2878ef35}
html body .flow-variable-suggest-v655{position:absolute;z-index:12;left:0;right:24px;top:calc(100% + 4px);display:grid;gap:2px;max-height:180px;overflow-y:auto;overscroll-behavior:contain;padding:5px;border:1px solid var(--border,#dce3ed);border-radius:10px;background:var(--surface-solid,#fff);box-shadow:0 8px 24px #17243a20}
html body .flow-variable-expanded-v655>.flow-variable-suggest-v655{top:auto;bottom:14px;left:14px;right:14px}
html body .flow-variable-suggest-v655[hidden]{display:none!important}
html body .flow-variable-suggest-v655>button{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;min-width:0;text-align:left;padding:6px 8px!important;border:0!important;border-radius:6px;background:transparent!important;color:inherit!important;font:inherit;font-size:12px!important}
html body .flow-variable-suggest-v655>button.active,html body .flow-variable-suggest-v655>button:hover{background:#2878ef18!important}
html body .flow-variable-suggest-v655 strong{color:#2878ef;overflow-wrap:anywhere}
html body .flow-variable-suggest-v655 small{font-size:10px;opacity:.8}
html body #flow-editor-app .flow-math-wrap-v655 textarea{padding-bottom:24px!important}
html body #flow-editor-app .flow-math-toggle-v655{position:absolute;z-index:3;right:28px;bottom:5px;width:23px;height:23px;border:0;border-radius:6px;background:transparent;color:var(--flow-inspector-color,#eab308);font-size:17px;font-weight:800;padding:0;display:grid;place-items:center;cursor:pointer}
html body #flow-editor-app .flow-math-toggle-v655[aria-pressed=true]{background:#2878ef;color:#fff}
html body #flow-editor-app .flow-text-expand-v585{z-index:3}
html body #flow-editor-app .flow-math-hint-v655{display:block;font-size:10px;line-height:1.4;color:var(--muted,#64748b)}

html body #flow-editor-app .flow-randomizer-v658{display:grid;gap:10px;min-width:0}
html body #flow-editor-app .flow-randomizer-v658 label{display:grid;gap:4px;margin:0!important;font-size:12px;font-weight:650}
html body #flow-editor-app .flow-randomizer-v658 select{width:100%;min-width:0;height:34px;min-height:34px;padding:5px 9px!important;box-sizing:border-box;border-radius:8px;font-size:12px}
html body #flow-editor-app .flow-randomizer-head-v658{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
html body #flow-editor-app .flow-randomizer-head-v658>button{padding:5px 9px!important;font-size:11px;min-height:28px;color:var(--accent,#2878f5)}
html body #flow-editor-app .flow-randomizer-list-v658{display:grid;gap:5px;max-height:260px;overflow-y:auto;min-width:0;scrollbar-width:thin}
html body #flow-editor-app .flow-randomizer-row-v658{display:grid;grid-template-columns:minmax(0,1fr) auto 28px;align-items:center;gap:6px;padding:5px 7px;border:1px solid color-mix(in srgb,#8b5cf6 23%,var(--border,#dce3ed));border-radius:8px;background:color-mix(in srgb,var(--surface-solid,#fff) 91%,#8b5cf6);font-size:12px;min-width:0}
html body #flow-editor-app .flow-randomizer-row-v658 small{font-size:10px;opacity:.75;white-space:nowrap}
html body #flow-editor-app .flow-randomizer-row-v658 button{width:28px;height:28px;min-height:28px;padding:0!important;border-radius:7px}
html body #flow-editor-app .flow-node-randomizer{height:auto!important;max-height:none!important}

/* v811: stable scrollbar geometry and compact, individually collapsible content. */
:root body #flow-editor-app .flow-inspector:not(.is-hidden){scrollbar-width:thin!important;scrollbar-gutter:stable!important;overflow-y:auto!important}
:root body #flow-editor-app .flow-inspector::-webkit-scrollbar{width:6px!important;height:6px!important}
html body #flow-editor-app :is(.content-element-head,.flow-action-head-v586){padding:6px 8px 10px!important;gap:5px!important;min-height:0!important}
html body #flow-editor-app :is(.content-element,.flow-action-item).flow-folded-v811>:is(.content-element-head,.flow-action-head-v586){padding-bottom:6px!important;border-bottom:0!important}
html body #flow-editor-app :is(.content-element-body,.flow-action-body-v573)[hidden]{display:none!important}
html body #flow-editor-app .flow-fold-v811{font-size:19px!important;font-weight:600!important;line-height:1!important}
#flow-editor-app .flow-fold-v811[aria-expanded=true] .flow-fold-plus-v811,#flow-editor-app .flow-fold-v811[aria-expanded=false] .flow-fold-minus-v811{display:none!important}
html body #flow-editor-app .content-element-body{padding:7px 9px!important;gap:5px!important}
html body #flow-editor-app .content-element[data-content-kind=reaction] .content-element-body{padding:4px 8px!important}
html body #flow-editor-app [data-flow-reaction]{width:36px!important;height:32px!important;min-height:32px!important;min-width:36px!important;padding:0!important;font-size:21px!important;border-radius:9px!important;line-height:1!important}
html body #flow-editor-app .flow-delay-v574{gap:4px!important}
html body #flow-editor-app .flow-delay-units-v574{padding:2px!important;gap:2px!important}
html body #flow-editor-app .flow-delay-units-v574 button{padding:3px 2px!important;min-height:23px!important;height:23px!important;line-height:1!important}
html body #flow-editor-app .flow-delay-v574 output{font-size:15px!important;line-height:18px!important;margin:0!important}
html body #flow-editor-app .flow-delay-v574 input[type=range]{height:17px!important;min-height:17px!important;margin:0!important;padding:0!important}
html body #flow-editor-app .flow-delay-limits-v574{line-height:12px!important;margin:0!important}
html body #flow-editor-app .flow-node .flow-command-summary-v588 li.flow-preview-media-v811{height:auto!important;min-height:58px!important;max-height:92px!important;padding:4px 7px!important;gap:4px!important;overflow:hidden!important}
.flow-preview-media-frame-v811{position:relative;display:inline-grid!important;place-items:center;min-width:0!important;margin:0!important;width:112px;height:66px;overflow:hidden;border-radius:6px;background:#8893a31a}
.flow-preview-media-frame-v811 img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.flow-preview-video-mark-v811{position:absolute!important;inset:0!important;display:grid!important;place-items:center;color:white!important;background:#0002;font-size:19px!important;min-width:0!important;margin:0!important;text-shadow:0 1px 4px #000}
.flow-preview-state-v811{flex:0 0 auto!important;min-width:0!important;margin:0!important;font-size:10px!important}
.flow-preview-label-v811{min-width:0!important;margin:0!important;overflow-wrap:anywhere}
html body #flow-editor-app .flow-node .flow-command-summary-v588 li.flow-preview-audio-v811{gap:5px!important;justify-content:center!important}
.flow-preview-audio-v811>span:first-child{min-width:0!important;margin:0!important;font-size:9px!important}
.flow-preview-audio-line-v811{display:block!important;min-width:0!important;width:100px;height:3px;border-radius:6px;background:color-mix(in srgb,var(--node-color,#2878f5) 60%,transparent);margin:0!important}
.flow-node-overview-v586 .flow-overview-list-v811 li{align-items:center;justify-content:center;text-align:center}
.flow-node-overview-v586 .flow-preview-media-frame-v811{width:180px;height:104px}
.flow-node-overview-v586 .flow-preview-label-v811{white-space:pre-wrap;overflow-wrap:anywhere;flex-shrink:1!important}

.flow-preview-media-frame-v811 img[hidden]{display:none!important}.flow-preview-unavailable-v811::before{content:'Mídia';font-size:11px;color:var(--muted,#63748b)}

/* Overview: keep content centered while status indicators share the right edge. */
html body dialog.flow-node-overview-v586 .flow-overview-list-v811>li:has(>.flow-preview-state-v811){position:relative!important;padding-inline:28px!important;justify-content:center!important;box-sizing:border-box}
html body dialog.flow-node-overview-v586 .flow-overview-list-v811>li>.flow-preview-state-v811{position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;margin:0!important;line-height:1!important}


/* source: /assets/msnbot-flow-simulator-v568.css */
/* Isolated simulator uses the same conversation and contact-card primitives,
   without the live chat selectors, forms, polling or sending endpoints. */
html body dialog#flow-simulator{box-sizing:border-box;position:fixed!important;inset:12px 12px auto auto!important;margin:0!important;width:min(760px,calc(100vw - 24px))!important;height:min(650px,calc(100dvh - 24px))!important;max-width:none!important;max-height:none!important;padding:0!important;border:1px solid var(--border,#dce3ed)!important;border-radius:20px!important;background:var(--surface-solid,#fff)!important;color:var(--ink,#263247);box-shadow:0 24px 80px #0005!important;overflow:hidden!important;transform:none!important}
html body dialog#flow-simulator:not([open]){display:none!important}
html body dialog#flow-simulator[open]{display:grid!important;grid-template-rows:39px minmax(0,1fr)}
html body dialog#flow-simulator.sim-expanded{width:min(1060px,calc(100vw - 24px))!important;height:calc(100dvh - 24px)!important}
#flow-simulator::backdrop{background:rgba(15,25,45,.13);backdrop-filter:blur(2px)}
#flow-simulator .sim-window-head{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 12px;border-bottom:1px solid var(--border,#dce3ed);background:var(--surface-solid,#fff)}
#flow-simulator .sim-window-head strong{font-size:13px}
#flow-simulator .sim-window-head>span{font-size:10px;text-align:right;color:var(--muted,#788599)}
#flow-simulator .sim-traffic{display:flex;gap:7px}
#flow-simulator .sim-traffic button{width:13px;height:13px;min-width:13px;min-height:13px;padding:0!important;border:0;border-radius:50%;box-shadow:inset 0 0 0 1px #0001;cursor:pointer}
#flow-simulator .sim-red{background:#ff5f57!important}#flow-simulator .sim-yellow{background:#febc2e!important}#flow-simulator .sim-green{background:#28c840!important}
#flow-simulator .sim-window-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,32%);min-height:0;position:relative;overflow:hidden}
#flow-simulator.sim-card-collapsed .sim-window-body{grid-template-columns:minmax(0,1fr) 0}
html body #flow-simulator .sim-chat{position:relative!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto auto!important;min-height:0!important;height:100%!important;width:100%!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important}
html body #flow-simulator .msn-v33-chat-head{min-height:57px!important;position:static!important;display:flex!important;align-items:center!important}
#flow-simulator .sim-card-toggle{margin-left:auto;flex-shrink:0}
#flow-simulator svg{width:20px;height:20px}
html body #flow-simulator .sim-messages{position:relative!important;min-height:0!important;height:auto!important;overflow:auto!important;padding:14px!important;display:flex!important;flex-direction:column!important;gap:7px!important;background-size:cover!important;background-position:center!important;overscroll-behavior:contain;touch-action:pan-y}
html body #flow-simulator .message-bubble-v33{flex-shrink:0;max-width:82%;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px!important}
#flow-simulator .message-content img,#flow-simulator .message-content video{display:block;max-width:100%;max-height:190px;border-radius:7px}
#flow-simulator .message-content audio{max-width:100%;width:240px}
#flow-simulator .sim-interaction{padding:4px 10px;background:var(--surface-solid,#fff);min-width:0}
#flow-simulator .sim-interaction>small{font-size:10px;color:var(--muted,#788599);display:block;min-height:13px}
#flow-simulator .sim-choices{display:flex;flex-wrap:wrap;gap:5px}
#flow-simulator .sim-choice,#flow-simulator .sim-delay button{font-size:12px;color:var(--accent,#2878f5);border:1px solid var(--border,#dce3ed);background:var(--surface-solid,#fff);border-radius:9px;padding:7px 11px;cursor:pointer}
#flow-simulator .sim-delay{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}
#flow-simulator .sim-delay[hidden]{display:none!important}
html body #flow-simulator .sim-composer{display:flex!important;gap:8px;align-items:center!important;min-height:52px;padding:7px 10px!important}
#flow-simulator .sim-composer textarea{flex:1;min-width:0;border:1px solid var(--border,#dce3ed);background:var(--soft,#f4f6f9);color:inherit;border-radius:22px;padding:10px 13px;resize:none;font:inherit;font-size:13px;max-height:90px}
#flow-simulator .sim-send{width:37px;height:37px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;border:0;background:var(--accent,#2878f5);color:#fff;padding:0}
#flow-simulator .sim-send:disabled{opacity:.4}
html body #flow-simulator .sim-contact-card{display:block!important;position:relative!important;inset:auto!important;transform:none!important;min-width:0!important;width:100%!important;height:100%!important;max-height:100%!important;overflow:auto!important;overscroll-behavior:contain;touch-action:pan-y;margin:0!important;border:0!important;border-left:1px solid var(--border,#dce3ed)!important;border-radius:0!important;box-shadow:none!important;padding:12px!important}
html body #flow-simulator.sim-card-collapsed .sim-contact-card{display:none!important}
#flow-simulator .sim-card-head{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;margin-bottom:12px}
#flow-simulator .sim-card-head button{border:0;background:transparent;color:inherit;font-size:24px;line-height:1;padding:0 7px}
#flow-simulator .sim-profile{display:flex;align-items:center;flex-direction:column;gap:5px;padding-bottom:12px;text-align:center}
#flow-simulator .sim-profile .contact-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center}
#flow-simulator .sim-profile small,#flow-simulator .contact-card-section small{font-size:11px;color:var(--muted,#788599)}
#flow-simulator .contact-card-section{padding:10px 0;border-top:1px solid var(--border,#dce3ed)}
#flow-simulator .contact-card-section>strong{display:block;font-size:12px;margin-bottom:7px}
#flow-simulator .v472-applied{display:flex;flex-wrap:wrap;gap:5px}
#flow-simulator .v472-chip{display:inline-block;font-size:11px;max-width:100%;overflow-wrap:anywhere;padding:4px 7px;border-radius:7px;background:var(--soft,#e9eff8)}
#flow-simulator .sim-events small{display:block;padding:4px 0;border-bottom:1px solid var(--border,#dce3ed)}
html[data-theme=dark] body #flow-simulator,html[data-theme=dark] #flow-simulator .sim-window-head,html[data-theme=dark] #flow-simulator .sim-interaction,html[data-theme=dark] #flow-simulator .sim-contact-card{background:#18222e!important;color:#f4f7fb}
html[data-theme=dark] #flow-simulator .sim-composer textarea,html[data-theme=dark] #flow-simulator .v472-chip,html[data-theme=dark] #flow-simulator .sim-choice{background:#242f3d;color:#f4f7fb}
@media(max-width:600px){
 html body dialog#flow-simulator,html body dialog#flow-simulator.sim-expanded{inset:6px 6px auto auto!important;width:calc(100vw - 12px)!important;height:calc(100dvh - 12px)!important;border-radius:15px!important}
 #flow-simulator .sim-window-body{grid-template-columns:minmax(0,1fr)!important}
 html body #flow-simulator .sim-contact-card{position:absolute!important;top:0!important;right:0!important;bottom:0!important;width:min(280px,78%)!important;z-index:5;box-shadow:-12px 0 30px #0003!important}
 #flow-simulator .sim-window-head>span{font-size:9px}
}

/* Keep the simulator transcript in normal top-to-bottom order and anchor it at the newest message. */
html body #flow-simulator .sim-messages{justify-content:flex-start!important;align-content:start!important;overflow-anchor:none!important;scroll-behavior:auto!important;overflow-x:hidden!important;overflow-y:auto!important}
html body #flow-simulator .sim-messages>*{flex-shrink:0!important}

.msnbot-peer-presence-v571,[data-sim-status].sim-presence-active{color:#23a86d!important;font-size:11px!important;font-weight:550;line-height:1.4}
.msnbot-peer-presence-v571[hidden]{display:none!important}
.msn-v33-chat-head .grow .msnbot-peer-line-v774{display:flex!important;align-items:center;gap:7px;flex-wrap:wrap;min-width:0;margin-bottom:0!important}
.msn-v33-chat-head .msnbot-peer-line-v774 [data-peer-presence]{color:#23a86d!important;font-size:inherit!important;font-weight:650;white-space:nowrap}
.msn-v33-chat-head .msnbot-peer-line-v774 [data-peer-presence][hidden]{display:none!important}

/* Interactive menus remain attached to the conversation message. */
html body #flow-simulator .sim-menu-bubble-v580{min-width:min(210px,82%);max-width:82%}
#flow-simulator .sim-menu-bubble-v580>.message-content{text-align:center}
#flow-simulator .sim-menu-options-v580{display:grid;gap:6px;margin-top:7px;white-space:normal}
#flow-simulator .sim-menu-button-v580{display:block;width:100%;min-height:32px;padding:7px 10px;border:1px solid #ffffff65;border-radius:8px;background:color-mix(in srgb,var(--surface-solid,#fff) 93%,#2878f5 7%);color:#16734d;font-size:12px;font-weight:650;text-align:center;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
#flow-simulator .sim-menu-button-v580:disabled{opacity:.64;cursor:default}
#flow-simulator .sim-menu-list-v580{display:grid;gap:1px;border-radius:9px;padding:6px;background:var(--surface-solid,#fff);color:var(--text,#172033)}
#flow-simulator .sim-menu-list-v580[hidden]{display:none!important}
#flow-simulator .sim-menu-list-title-v580{font-size:11px;padding:5px 7px}
#flow-simulator .sim-menu-list-row-v580{text-align:left;border:0;border-top:1px solid #8795a433;border-radius:0;background:transparent;color:inherit}
#flow-simulator .sim-menu-list-row-v580::after{content:'›';float:right;color:#16865b}
html[data-theme=dark] #flow-simulator .sim-menu-button-v580{background:#253848;color:#79e0ae;border-color:#60788b66}
html[data-theme=dark] #flow-simulator .sim-menu-list-v580{background:#202e3a;color:#f3f7fb}

/* Glass/neon menu with timestamp below the interactive controls. */
html body #flow-simulator .sim-menu-bubble-v580{--sim-menu-glow:#159b70;display:flex!important;flex-direction:column!important;gap:0!important}
#flow-simulator .sim-menu-bubble-v580>.message-content{margin:0!important;padding-bottom:0!important}
#flow-simulator .sim-menu-bubble-v580>footer{display:flex!important;align-items:center!important;justify-content:flex-end!important;align-self:stretch!important;position:static!important;float:none!important;margin:5px 0 0!important;padding:0!important;width:100%!important;font-size:10px!important;line-height:1.2;text-align:right!important}
#flow-simulator .sim-menu-options-v580{gap:7px;margin-top:6px}
#flow-simulator .sim-menu-button-v580{background:color-mix(in srgb,var(--surface-solid,#fff) 48%,transparent);border:1px solid color-mix(in srgb,var(--sim-menu-glow) 40%,transparent);border-radius:9px;color:#087553;backdrop-filter:blur(8px) saturate(1.15);-webkit-backdrop-filter:blur(8px) saturate(1.15);box-shadow:0 0 8px color-mix(in srgb,var(--sim-menu-glow) 17%,transparent),inset 0 0 5px #ffffff38;transition:background .18s,box-shadow .18s;min-height:32px}
#flow-simulator .sim-menu-button-v580:not(:disabled):is(:hover,:focus-visible){background:color-mix(in srgb,color-mix(in srgb,var(--sim-menu-glow) 18%,var(--surface-solid,#fff)) 71%,transparent);box-shadow:0 0 13px color-mix(in srgb,var(--sim-menu-glow) 35%,transparent)}
#flow-simulator .sim-menu-list-bubble-v581 .sim-menu-options-v580{border-top:1px solid color-mix(in srgb,var(--sim-menu-glow) 24%,transparent);padding-top:5px;margin-top:4px}
#flow-simulator .sim-menu-list-v580{padding:7px;gap:5px;background:color-mix(in srgb,var(--surface-solid,#fff) 78%,transparent);border:1px solid color-mix(in srgb,var(--sim-menu-glow) 30%,transparent);border-radius:11px;box-shadow:0 0 12px color-mix(in srgb,var(--sim-menu-glow) 14%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
#flow-simulator .sim-menu-list-row-v580{display:flex;justify-content:space-between;align-items:center;gap:5px;text-align:left;background:color-mix(in srgb,var(--surface-solid,#fff) 48%,transparent);border:1px solid color-mix(in srgb,var(--sim-menu-glow) 16%,transparent);border-radius:7px;color:inherit;box-shadow:none;font-weight:500}
#flow-simulator .sim-menu-list-row-v580::after{float:none;font-size:17px;color:var(--sim-menu-glow)}
html[data-theme=dark] #flow-simulator .sim-menu-bubble-v580{--sim-menu-glow:#49dba3}
html[data-theme=dark] #flow-simulator .sim-menu-button-v580{background:#263c3780;color:#a0f0cd;border-color:#49dba366}
html[data-theme=dark] #flow-simulator .sim-menu-list-v580{background:#182c28cc;color:#ecfff7}
html[data-theme=dark] #flow-simulator .sim-menu-list-row-v580{color:#ecfff7;background:#28413966}
@media(prefers-reduced-motion:reduce){#flow-simulator .sim-menu-button-v580{transition:none}}

/* Chat fidelity: isolated menu controls and compact native-style attachments. */
html body #flow-simulator [data-sim-status]{display:block!important;visibility:visible!important;opacity:1!important;min-height:12px}
html body #flow-simulator [data-sim-status].sim-presence-active{color:#16865b!important;font-weight:650!important}
#flow-simulator .sim-menu-group-v585{display:flex;flex-direction:column;gap:5px;max-width:82%;min-width:min(205px,82%);align-self:flex-end}
#flow-simulator .sim-menu-group-v585.sim-menu-left-v585{align-self:flex-start}
html body #flow-simulator .sim-menu-group-v585>.sim-menu-bubble-v580{max-width:100%!important;min-width:0!important;width:100%!important;margin:0!important;box-sizing:border-box}
#flow-simulator .sim-menu-group-v585>.sim-menu-options-v580{--sim-menu-glow:#159b70;margin:0;padding:0;border:0;background:transparent;gap:5px}
#flow-simulator .sim-menu-group-v585 .sim-menu-button-v580{background:#ffffff62;backdrop-filter:blur(9px);color:#087553;border-color:#159b7066;box-shadow:0 0 8px #159b7033}
html[data-theme=dark] #flow-simulator .sim-menu-group-v585 .sim-menu-button-v580{background:#213e3566;color:#a0f0cd;border-color:#49dba366}
html body #flow-simulator .sim-has-reaction-v585{position:relative!important;overflow:visible!important;margin-bottom:13px!important}
html body #flow-simulator .sim-has-reaction-v585>.sim-reaction-v574{position:absolute!important;bottom:-11px!important;left:auto!important;right:3px!important;z-index:2;padding:1px 5px;font-size:14px;line-height:18px;border-radius:14px;box-shadow:0 1px 3px #0002;background:var(--surface-solid,#fff)}
html body #flow-simulator .sim-media-v585{width:fit-content!important;min-width:0!important;padding:5px!important}
#flow-simulator .sim-media-v585>.message-content{padding:0!important;margin:0!important}
#flow-simulator .sim-media-image img,#flow-simulator .sim-media-video video{max-width:min(270px,100%)!important;max-height:310px!important;display:block;border-radius:7px}
html body #flow-simulator .sim-media-sticker{background:transparent!important;border:0!important;box-shadow:none!important}
#flow-simulator .sim-media-sticker img{width:120px;max-width:100%;max-height:140px;object-fit:contain}
#flow-simulator .sim-document-v585{display:flex;align-items:center;gap:9px;padding:9px;background:#00000009;border-radius:8px;color:inherit;text-decoration:none;width:min(270px,100%);box-sizing:border-box}
#flow-simulator .sim-document-icon-v585{background:#e64b4b;color:white;font-size:10px;font-weight:700;border-radius:5px;width:34px;height:42px;display:grid;place-items:center;flex-shrink:0}
#flow-simulator .sim-document-info-v585{display:grid;gap:3px;flex:1;min-width:0}
#flow-simulator .sim-document-info-v585 strong{font-size:12px;overflow-wrap:anywhere}
#flow-simulator .sim-document-info-v585 small{font-size:10px;opacity:.7}
#flow-simulator .sim-document-open-v585{border:1px solid #849e8b88;border-radius:50%;width:25px;height:25px;display:grid;place-items:center}
#flow-simulator .sim-voice-v585{display:flex;align-items:center;gap:9px;min-width:0;width:min(255px,100%);padding:5px;box-sizing:border-box}
#flow-simulator .sim-voice-play-v585{border:0;background:none;color:#557568;font-size:20px;cursor:pointer;padding:3px;flex-shrink:0}
#flow-simulator .sim-voice-wave-v585{flex:1;position:relative;min-width:70px}
#flow-simulator .sim-voice-bars-v585{height:27px;display:flex;align-items:center;gap:2px}
#flow-simulator .sim-voice-bars-v585 i{display:block;flex:1;min-width:1px;background:#809b8b;border-radius:3px}
#flow-simulator .sim-voice-bars-v585 i.played{background:#168c68}
#flow-simulator .sim-voice-wave-v585 input{position:absolute;inset:0 0 auto;width:100%;height:26px;opacity:0;cursor:pointer}
#flow-simulator .sim-voice-time-v585{font-size:10px;color:var(--muted,#637d70)}
#flow-simulator .sim-voice-avatar-v585{width:37px;height:37px;border-radius:50%;display:grid;place-items:center;background:#a3cbb0;font-size:20px;flex-shrink:0}
#flow-simulator .sim-voice-v585 audio[hidden]{display:none!important}

#flow-simulator .sim-menu-time-v585{align-self:flex-end;color:var(--muted,#667386);font-size:10px;line-height:1.2;padding:0 3px;text-align:right;background:transparent}

/* Same two-row composer silhouette and toolbar as Bate-Papo. */
html body #flow-simulator .sim-composer{position:relative!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;padding:7px 10px!important;min-height:0!important;background:var(--surface-solid,#fff)}
#flow-simulator .sim-toolbar-v586{display:flex;align-items:center;gap:5px}
html body #flow-simulator .sim-toolbar-v586 .composer-tool{display:grid!important;place-items:center;width:31px!important;height:31px!important;padding:0!important;border:1px solid var(--accent,#2878f5)!important;color:var(--accent,#2878f5)!important;background:transparent!important;border-radius:50%!important;box-shadow:0 2px 5px #2878f518}
#flow-simulator .sim-toolbar-v586 .composer-tool:disabled{opacity:1!important;cursor:default}
#flow-simulator .sim-toolbar-v586 svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#flow-simulator .sim-compose-row-v586{display:flex;align-items:center;gap:7px;min-width:0}
#flow-simulator .sim-compose-input-v586{display:flex;align-items:center;flex:1;min-width:0;border:1px solid var(--border,#dce3ed);border-radius:23px;background:var(--surface-solid,#fff)}
html body #flow-simulator .sim-compose-input-v586 textarea{flex:1;border:0!important;background:transparent!important;outline:none!important;box-shadow:none!important;margin:0!important;padding:9px 12px!important;width:100%;min-height:36px!important}
#flow-simulator .sim-doc-v586{width:30px;height:30px;padding:3px;border:0;color:inherit;background:transparent;flex-shrink:0;cursor:default}
#flow-simulator .sim-doc-v586 svg{width:21px;height:21px}
#flow-simulator .sim-send,#flow-simulator .sim-record-v586{flex-shrink:0;width:37px;height:37px;border:0;border-radius:50%;display:grid;place-items:center;color:white;background:#2878e7;cursor:pointer;font-size:21px}
#flow-simulator .sim-record-v586:disabled{opacity:.55;cursor:default}
#flow-simulator .sim-record-v586.is-recording{background:#e74957}
#flow-simulator [data-sim-record-status]{font-size:11px;text-align:right;color:#e74957}
#flow-simulator .sim-emoji-v586{position:absolute;bottom:calc(100% - 5px);left:10px;z-index:90;width:min(260px,calc(100% - 20px));padding:7px;border:1px solid var(--border,#dce3ed);border-radius:12px;background:var(--surface-solid,#fff);box-shadow:0 10px 28px #0003}
#flow-simulator .sim-emoji-v586[hidden]{display:none!important}
#flow-simulator .sim-emoji-v586>input{width:100%;box-sizing:border-box;border:1px solid var(--border,#dce3ed);border-radius:8px;padding:6px;background:transparent;color:inherit}
#flow-simulator [data-sim-emoji-grid]{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));max-height:150px;overflow:auto}
#flow-simulator [data-sim-emoji-grid] button{background:transparent;border:0;padding:3px;font-size:18px;cursor:pointer}

#flow-simulator .sim-restart-v589{margin-left:auto;flex-shrink:0;color:var(--accent,#2878f5)}
#flow-simulator .sim-restart-v589:hover{background:color-mix(in srgb,var(--accent,#2878f5) 12%,transparent)}
#flow-simulator .sim-card-toggle{margin-left:0!important}
html body #flow-simulator .sim-traffic button:disabled{background:transparent!important;border:1px solid color-mix(in srgb,var(--text,#263247) 22%,transparent)!important;box-shadow:none!important;cursor:default!important;opacity:1!important}
html body #flow-simulator .sim-menu-group-v585>.sim-menu-footer-v591{max-width:100%!important;width:100%!important;box-sizing:border-box;margin:0!important;padding:4px 8px!important;min-height:20px!important}
#flow-simulator .sim-menu-footer-v591 .sim-menu-time-v585{display:flex;align-items:center;justify-content:flex-end;width:100%;background:transparent;padding:0}
#flow-simulator [data-sim-choices] input[type=date],#flow-simulator [data-sim-choices] input[type=datetime-local]{min-width:0;max-width:100%;border:1px solid var(--border,#dce3ed);border-radius:7px;padding:4px;background:var(--surface-solid,#fff);color:inherit}

/* v777: presence replaces the redundant open label in the attendant line. */
.msn-v33-list .conversation-meta [data-peer-list-presence]{display:inline;color:#23a86d!important;font-weight:650;font-size:inherit;line-height:inherit;white-space:nowrap;margin:0;vertical-align:baseline}
.msn-v33-list .conversation-meta [data-peer-list-presence]::before{content:' · ';color:inherit;font-weight:400}
.msn-v33-list [data-peer-list-presence][hidden]{display:none!important}


/* source: /assets/msnbot-dashboard-kanban-refine-v537.css */
/* Painel: rolagem interna real até os últimos cartões, respeitando teto do Dock.
 * O elemento principal acompanha as variáveis de tamanho do Dock existente. */
html body:has(> main.page > .d43-dashboard.d44-dashboard)
  > main.page:not(.auth-page){
  display:block!important;
  height:calc(100dvh - var(--v461-topbar-height,38px) - var(--dock-reserved-size,var(--dock-size,82px)))!important;
  max-height:calc(100dvh - var(--v461-topbar-height,38px) - var(--dock-reserved-size,var(--dock-size,82px)))!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-gutter:auto!important;
}
html body:has(> main.page > .d43-dashboard.d44-dashboard)
  > main.page:not(.auth-page) > .d43-dashboard.d44-dashboard{
  height:auto!important;
  max-height:none!important;
  min-height:100%!important;
  overflow:visible!important;
  padding-bottom:16px!important;
  box-sizing:border-box!important;
}
@media(min-width:761px){
  html body.dock-pos-left:has(> main.page > .d43-dashboard.d44-dashboard)
  > main.page:not(.auth-page),
  html body.dock-pos-right:has(> main.page > .d43-dashboard.d44-dashboard)
  > main.page:not(.auth-page){
    height:calc(100dvh - var(--v461-topbar-height,38px))!important;
    max-height:calc(100dvh - var(--v461-topbar-height,38px))!important;
  }
}
html body .d44-sales[data-sales-visibility] .d44-sales-content[hidden]{
  display:none!important;
}

/* Bate-Papo: escolha imediata de coluna, feedback sem alerta bloqueante. */
html body .msn-v33-contact-card .v488-kanban-send
  .msnbot-kanban-auto-hint-v537{
  display:block!important;
  margin:2px 0 4px!important;
  font-size:11px!important;
  line-height:1.35!important;
  color:var(--muted,#75839b)!important;
}
html body .msn-v33-contact-card .v488-kanban-send
  .msnbot-kanban-auto-status-v537{
  box-sizing:border-box!important;
  display:block!important;
  padding:8px 10px!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:700!important;
  color:#197146!important;
  background:rgba(32,180,106,.09)!important;
  border:1px solid rgba(32,180,106,.22)!important;
  border-radius:9px!important;
}
html body .msn-v33-contact-card .v488-kanban-send
  .msnbot-kanban-auto-status-v537.is-error{
  background:rgba(220,69,85,.08)!important;
  color:#c54550!important;
  border-color:rgba(220,69,85,.25)!important;
}
html body .msn-v33-contact-card .v488-kanban-send
  .msnbot-kanban-auto-status-v537[hidden]{
  display:none!important;
}
html body .msn-v33-contact-card .v488-kanban-send select:disabled{
  opacity:.7!important;
  cursor:progress!important;
}


/* source: /assets/msnbot-msn-contact-sidebar-v538.css */
/* MSNBOT v5.38 — Bate-Papo: controles de contato compactos.
   Não altera formulários, rotas, nem semântica de atribuição e bloqueio. */
html body .msn-v33-contact-card .msn-card-contact-actions{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:7px!important;
  box-sizing:border-box!important;
  padding:7px 0 9px!important;
}
html body .msn-v33-contact-card .msn-card-contact-actions
  button.msn-temporary-compact-v538{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  width:100%!important;
  min-width:0!important;
  min-height:34px!important;
  padding:7px 11px!important;
  gap:8px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  text-align:left!important;
  font-size:clamp(10px,.86vw,12px)!important;
  line-height:1.2!important;
  font-weight:700!important;
}
html body .msn-v33-contact-card .msn-temporary-caption-v538{
  display:inline-flex!important;
  align-items:center!important;
  gap:3px!important;
  flex:1 1 auto!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:visible!important;
  font-size:inherit!important;
  letter-spacing:0!important;
}
html body .msn-v33-contact-card .msn-temporary-state-v538{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-width:11px!important;
  font-size:clamp(10px,.85vw,12px)!important;
  line-height:1!important;
  white-space:nowrap!important;
  font-weight:750!important;
  color:var(--text,#25344d)!important;
}

html body .msn-v33-contact-card .msn-contact-block-form-v538{
  display:block!important;
  width:100%!important;
  margin:0!important;
}
html body .msn-v33-contact-card .msn-contact-block-button-v538{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:34px!important;
  margin:0!important;
  padding:8px 12px!important;
  text-align:center!important;
  color:#ca4050!important;
  font-size:clamp(10px,.86vw,12px)!important;
  font-weight:800!important;
  border:1px solid rgba(217,68,87,.23)!important;
  background:rgba(222,78,95,.06)!important;
}
html body .msn-v33-contact-card .msn-contact-block-button-v538:hover{
  background:rgba(222,78,95,.12)!important;
  border-color:rgba(217,68,87,.36)!important;
}
html body .msn-v33-contact-card .assignment-card{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  justify-items:stretch!important;
  text-align:center!important;
}
html body .msn-v33-contact-card .assignment-card .assignment-select{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
html body .msn-v33-contact-card .assignment-card
  .assignment-select select[name="assigned_user_id"]{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  text-align:center!important;
  text-align-last:center!important;
  padding-inline:14px!important;
  font-weight:700!important;
  font-size:clamp(10px,.9vw,12px)!important;
}
html body .msn-v33-contact-card .assignment-card .assign-me,
html body .msn-v33-contact-card .assignment-card .remove-assignment{
  text-align:center!important;
}
html body .msn-v33-contact-card .close-unassign-form{
  margin-top:12px!important;
  margin-bottom:0!important;
  padding-bottom:10px!important;
}
html body .msn-v33-contact-card .close-unassign-form>button{
  width:100%!important;
  text-align:center!important;
}
/* Grupo: "MSG temporárias" sempre em uma linha e status curto. */
html body .msnbot-group-expand.msnbot-group-temporary-v538>summary{
  min-width:0!important;
  max-width:100%!important;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  white-space:nowrap!important;
}
html body .msnbot-group-expand.msnbot-group-temporary-v538>summary strong{
  flex:1 1 auto!important;
  min-width:0!important;
  width:auto!important;
  font-size:clamp(10px,.87vw,12px)!important;
  white-space:nowrap!important;
}
html body .msnbot-group-expand.msnbot-group-temporary-v538>summary span{
  flex:0 0 19px!important;
  width:19px!important;
  font-size:17px!important;
}
html body .msnbot-group-expand.msnbot-group-temporary-v538>summary
  .msnbot-group-time-status-v538{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  font-size:clamp(10px,.8vw,11px)!important;
  white-space:nowrap!important;
}
@media(max-width:760px){
  html body .msn-v33-contact-card .msn-card-contact-actions
    button.msn-temporary-compact-v538{
    font-size:11px!important;
    min-height:34px!important;
  }
  html body .msn-v33-contact-card .msn-temporary-state-v538{font-size:11px!important}
  html body .msn-v33-contact-card .assignment-card
    .assignment-select select[name="assigned_user_id"]{font-size:11px!important}
}
@media(max-width:360px){
  html body .msn-v33-contact-card .msn-card-contact-actions
    button.msn-temporary-compact-v538{
    font-size:10px!important;
    padding-inline:7px!important;
    gap:5px!important;
  }
  html body .msnbot-group-expand.msnbot-group-temporary-v538>summary strong{
    font-size:10px!important;
  }
}
html[data-theme="dark"] body .msn-v33-contact-card .msn-contact-block-button-v538{
  color:#ff9aa6!important;
  background:rgba(211,73,87,.11)!important;
}
html[data-theme="dark"] body .msn-v33-contact-card .msn-temporary-state-v538{
  color:#e7eff9!important;
}

/* v780: inline selected duration and no red dot. */
html body .msn-v33-contact-card .msn-temporary-caption-v538{gap:3px!important;white-space:normal!important;flex-wrap:wrap}
html body .msn-v33-contact-card .msn-temporary-compact-v538{white-space:normal!important}
html body .msn-v33-contact-card .msn-temporary-state-v538{min-width:0!important;font-size:inherit!important}


/* source: /assets/msnbot-settings-simplified-v539.css */
/*
 * MSNBOT 5.39 — Configurações: compactação transversal e controles contextuais.
 * Exclusivo à área settings. Mantém as variáveis de geometria do Dock.
 * Nenhum CSS de permissões substitui autenticação no servidor.
 */
html body:has(.settings-shell) {
  --sx-font:clamp(11px,.9vw,13px);
  --sx-border:var(--settings-ux-border,rgba(61,84,114,.17));
  --sx-bg:var(--settings-ux-surface,rgba(255,255,255,.96));
  --sx-ink:var(--settings-ux-ink,#1e2b41);
  --sx-soft:var(--settings-ux-soft,#f1f5fc);
  --sx-shadow:0 5px 17px rgba(21,45,80,.05);
}
html body > main.page:not(.auth-page) > .settings-hero-contextual.settings-hero-standard{
  min-height:66px!important;
  padding:11px clamp(13px,1.35vw,21px)!important;
  margin-bottom:9px!important;
  border-radius:17px!important;
  gap:10px!important;
}
html body .settings-hero-contextual h1{font-size:clamp(22px,2vw,29px)!important}
html body .settings-hero-contextual .settings-hero-title{flex:1 1 150px!important}
html body .settings-hero-contextual .settings-hero-right{
  display:flex!important;align-items:center!important;
  justify-content:flex-end!important;gap:9px!important;
}
html body .settings-hero-contextual .settings-hero-action{
  min-height:33px!important;height:33px!important;
  padding:6px 11px!important;
  font-size:11px!important;
}
html body .settings-hero-identity-v539{
  font-weight:850;letter-spacing:.1em;font-size:12px;
  color:var(--sx-ink);opacity:.75;
}
html body .settings-hero-companies-v539{
  display:flex;align-items:center;gap:7px;
}
html body .settings-hero-companies-v539>span{
  display:grid;justify-items:center;align-content:center;
  gap:1px;padding:5px 10px;min-width:68px;
  border:1px solid var(--sx-border);
  border-radius:11px;background:var(--sx-soft);
}
html body .settings-hero-companies-v539 strong{
  color:var(--sx-ink);font-size:16px;line-height:1;font-weight:850;
}
html body .settings-hero-companies-v539 small{
  font-size:9px;color:var(--settings-ux-muted,#66788f);
}
html body .settings-top-control-v539{
  display:grid;align-items:center;justify-items:center;
  flex:0 0 auto;gap:3px;min-width:42px;
  position:relative;
}
html body .settings-control-label-v539{
  font-size:9px!important;line-height:1.05!important;
  color:var(--sx-ink)!important;
  font-weight:800!important;
}
html body .settings-top-control-v539 .settings-master-switch-v539{
  display:block!important;
  box-sizing:border-box!important;
  width:43px!important;min-width:43px!important;
  height:20px!important;min-height:20px!important;
  padding:0!important;
  position:relative!important;
  border:1px solid rgba(122,136,153,.3)!important;
  border-radius:20px!important;
  background:#abb5c1!important;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.16)!important;
  transform:none!important;
}
html body .settings-top-control-v539 .settings-master-switch-v539 span{
  display:block!important;
  position:absolute!important;left:2px!important;top:2px!important;
  width:14px!important;height:14px!important;
  border-radius:50%!important;background:#fff!important;
  box-shadow:0 1px 3px rgba(0,0,0,.18)!important;
  transition:transform .21s ease!important;
}
html body .settings-top-control-v539 .settings-master-switch-v539[aria-checked="true"]{
  border-color:rgba(23,23,23,.9)!important;
  background:#171717!important;
  box-shadow:0 0 8px rgba(0,0,0,.29),0 0 14px rgba(0,0,0,.10)!important;
}
html body .settings-top-control-v539 .settings-master-switch-v539[aria-checked="true"] span{
  transform:translateX(23px)!important;
}
html body .settings-nando-options-v539{
  position:relative;display:block;
}
html body .settings-nando-options-v539 > summary{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:25px!important;height:25px!important;
  margin:0!important;padding:0!important;
  background:transparent!important;color:var(--sx-ink)!important;
  border:0!important;border-radius:50%!important;
  font-size:19px!important;font-weight:800!important;
  list-style:none!important;
  cursor:pointer;
}
html body .settings-nando-options-v539 > summary::-webkit-details-marker{display:none}
html body .settings-nando-options-v539[open] > summary,
html body .settings-nando-options-v539 > summary:hover{
  background:var(--sx-soft)!important;
}
html body .settings-nando-choice-list-v539{
  position:absolute;right:0;top:30px;
  display:grid;grid-template-columns:repeat(3,29px);gap:5px;
  padding:8px;
  border:1px solid var(--sx-border);
  border-radius:13px;background:var(--sx-bg);
  box-shadow:0 15px 34px rgba(17,31,55,.2);
  z-index:500;min-width:0;
}
html body .settings-nando-choice-list-v539 button{
  width:29px;height:29px;border-radius:9px;
  background:var(--sx-soft);color:var(--sx-ink);
  border:1px solid var(--sx-border);font-size:17px;cursor:pointer;
}
html body .settings-nando-choice-list-v539 button:hover{
  background:color-mix(in srgb,#267bde 15%,var(--sx-soft));
}
html body > main.page:not(.auth-page) > .settings-shell{
  display:grid!important;
  grid-template-columns:minmax(175px,248px) minmax(0,1fr)!important;
  gap:10px!important;align-items:start!important;
}
html body > main.page:not(.auth-page) .settings-nav{
  margin:0!important;
  padding:7px!important;
}
html body > main.page:not(.auth-page) .settings-nav > a{
  display:flex!important;align-items:center!important;
  min-height:33px!important;
  margin:1px 0!important;padding:7px 10px!important;
}
html body > main.page:not(.auth-page) .settings-nav > a small{
  display:none!important;
}
html body > main.page:not(.auth-page) .settings-nav > a strong{
  font-size:11px!important;
  font-weight:760!important;
}
html body > main.page:not(.auth-page) > .settings-shell > .settings-content{
  box-sizing:border-box!important;
  padding:0 1px 18px!important;
  min-width:0!important;margin:0!important;
  display:block!important;
}
html body .settings-content > .section-head,
html body .settings-content > .saas-admin-head,
html body .settings-content > .prefs-head,
html body .settings-content .settings-appearance-heading{
  display:none!important;
}
html body .settings-content .autosave-status{
  display:none!important;
}
html body .settings-content > :is(.settings-card,.settings-personal-card,.saas-plans-section,.saas-company-section,
  .connection-simple-panel,.connection-account-list,.team-permission-wrap,.meta-template-list,
  .quick-reply-table-wrap,.settings-ai-simple-v539,.help-admin-grid,
  .wallpaper-settings-v451){
  margin-top:0!important;
}
html body .settings-content > .section-head + *{
  margin-top:0!important;
}
html body .settings-content .section-head p.muted,
html body .settings-content .settings-ux-group-head p,
html body .settings-content .setting-row small,
html body .settings-content .settings-form label > small.field-help,
html body .settings-content .create-box > summary small,
html body .settings-content .notice-soft > p{
  display:none!important;
}
html body .settings-content :is(.settings-card,.settings-personal-card,.saas-company-card,.saas-plan-card,.settings-ux-group,
  .help-admin-list,.help-admin-editor,.provider-admin-card){
  border-radius:13px!important;
}
html body .settings-content .settings-ux-group-head{
  margin-bottom:8px!important;padding-bottom:8px!important;
}
html body .settings-content .settings-ux-group-head h3{
  margin:0!important;font-size:14px!important;line-height:1.2!important;
}
html body .settings-content .settings-ux-group{
  padding:12px 13px!important;
  margin:0 0 8px!important;
}
html body .settings-content .setting-row{
  min-height:37px!important;
  padding-block:7px!important;
}
html body .settings-content .settings-appearance-editor{
  padding:10px 12px!important;
  display:grid!important;gap:7px!important;
}
html body .settings-content .settings-appearance-hidden-v539,
html body .settings-content .settings-appearance-hidden-v539[hidden]{display:none!important}
html body .settings-content .settings-ux-advanced > summary{
  padding:9px 12px!important;
  font-size:12px!important;
  border-radius:11px!important;
}
html body .settings-content .settings-ux-advanced > summary small{display:none!important}
html body .settings-content .settings-ux-advanced .settings-ux-chevron{
  font-size:0!important;width:20px!important;height:21px!important;
  background:var(--sx-chevron-url) center/17px 19px no-repeat!important;
  transition:transform .2s ease!important;
}
html body .settings-content .settings-ux-advanced[open] .settings-ux-chevron{
  transform:rotate(180deg)!important;
}
html body:has(.settings-shell){
  --sx-chevron-url:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='21' viewBox='0 0 18 21'%3E%3Cg fill='none' stroke='%232875e7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 2 5 4 5-4'/%3E%3Cpath d='m4 8 5 4 5-4'/%3E%3Cpath d='m4 14 5 4 5-4'/%3E%3C/g%3E%3C/svg%3E");
}
html body .settings-content :is(.create-box,.saas-plan-card,.msnbot-staff-number-assignments) > summary{
  position:relative;
  min-height:34px!important;
  padding:8px 31px 8px 12px!important;
  font-size:12px!important;
}
html body .settings-content :is(.create-box,.saas-plan-card,.msnbot-staff-number-assignments) > summary::after{
  content:""!important;
  width:16px!important;height:19px!important;
  position:absolute;top:50%;right:9px;
  background:var(--sx-chevron-url) center/14px 17px no-repeat!important;
  transform:translateY(-50%);
  transition:transform .2s ease;
}
html body .settings-content :is(.create-box,.saas-plan-card,.msnbot-staff-number-assignments)[open] > summary::after{
  transform:translateY(-50%) rotate(180deg);
}
html body .settings-content .setting-row select,
html body .settings-content .setting-row input:not([type=range]){
  font-size:12px!important;
}
html body .settings-content :is(.prefs-head,.personal-pref-tabs){
  margin-top:0!important;
}
/* Smaller 12-tags / 12-custom-fields visibility targets on desktop. */
html body .settings-content .etiq-simple-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;padding:0!important;
}
html body .settings-content .etiq-settings-row{
  min-width:0!important;min-height:38px!important;
  display:flex!important;align-items:center!important;
  gap:6px!important;margin:0!important;
  padding:5px 8px!important;
  border-radius:10px!important;
}
html body .settings-content .etiq-settings-row input[name="name"]{
  font-size:11px!important;min-height:29px!important;
  padding:5px 6px!important;
}
html body .settings-content .etiq-settings-row .small-btn{
  min-height:28px!important;padding:5px 7px!important;
  font-size:10px!important;
}
html body .settings-content .v487-field-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;padding:0!important;
}
html body .settings-content .v487-field-row{
  min-width:0!important;
  min-height:38px!important;
  margin:0!important;padding:7px 10px!important;
  border:1px solid var(--sx-border)!important;
  border-radius:10px!important;
  background:var(--sx-bg)!important;
  box-shadow:var(--sx-shadow)!important;
}
html body .settings-content .v487-field-row strong{
  font-size:11px!important;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
/* Team: keep only photo and name in cell, permission controls nearer. */
html body .settings-content .team-permission-table{
  width:100%!important;min-width:0!important;
  table-layout:fixed!important;border-collapse:separate!important;
  border-spacing:0!important;
}
html body .settings-content .team-permission-table th{
  font-size:10px!important;
  padding:9px 4px!important;
  white-space:normal!important;
}
html body .settings-content .team-permission-table td{
  padding:8px 4px!important;
  vertical-align:middle!important;
}
html body .settings-content .team-permission-table :is(th:first-child,td:first-child){
  width:165px!important;max-width:30%!important;
  text-align:left!important;
}
html body .settings-content .team-member-cell{
  display:flex!important;align-items:center!important;
  flex-wrap:nowrap!important;gap:8px!important;
}
html body .settings-content .team-member-cell .user-avatar.team-avatar-open-v539{
  flex:0 0 32px!important;
  width:32px!important;height:32px!important;
  border:1px solid var(--sx-border)!important;
  padding:0!important;cursor:pointer!important;
  box-shadow:0 2px 8px rgba(33,86,158,.13)!important;
  font-size:12px!important;
}
html body .settings-content .team-member-cell .user-avatar.team-avatar-open-v539:hover{
  outline:2px solid #498bea!important;
  outline-offset:2px;
}
html body .settings-content .team-member-cell strong{
  font-size:11px!important;max-width:100%!important;
  white-space:normal!important;line-height:1.15!important;
}
html body .settings-content .team-permission-check{
  width:22px!important;height:22px!important;
  border-radius:7px!important;
}
html body .team-detail-v539 .dialog-card{
  width:min(480px,calc(100vw - 28px))!important;
  box-sizing:border-box!important;
}
html body .team-detail-metrics-v539{
  display:grid;grid-template-columns:1fr 1fr;gap:8px;
  margin:10px 0 14px;
}
html body .team-detail-metrics-v539 > div{
  background:var(--sx-soft);border:1px solid var(--sx-border);
  border-radius:12px;padding:12px;
  display:grid;gap:5px;align-content:center;text-align:center;
}
html body .team-detail-metrics-v539 strong{font-size:19px;font-weight:850;color:var(--sx-ink)}
html body .team-detail-metrics-v539 span{font-size:10px;color:var(--settings-ux-muted,#64768d)}
html body .team-detail-list-v539{display:grid;gap:0;margin:0 0 15px}
html body .team-detail-list-v539 div{
  display:flex;justify-content:space-between;align-items:center;
  gap:12px;padding:9px 1px;border-bottom:1px solid var(--sx-border);
}
html body .team-detail-list-v539 dt{
  font-size:11px;color:var(--settings-ux-muted,#64768d);font-weight:700;
}
html body .team-detail-list-v539 dd{
  font-size:11px;color:var(--sx-ink);font-weight:750;
  margin:0;max-width:62%;text-align:right;overflow-wrap:anywhere;
}
/* Connection label: already existing rename modal, now click name. */
html body .settings-content .connection-name-edit-v539{
  display:inline-block!important;
  padding:1px 2px!important;margin:0!important;
  border:0!important;background:transparent!important;
  color:var(--sx-ink)!important;
  font:inherit!important;font-weight:850!important;
  text-align:left!important;
  cursor:pointer!important;
  border-radius:5px!important;
}
html body .settings-content .connection-name-edit-v539:hover{
  color:#2d80e9!important;
  text-decoration:underline!important;
}
/* Remaining modules: less dead space, consistent compact cards */
html body .settings-content :is(.settings-card,.saas-company-card,.saas-plan-card,
  .help-admin-list,.help-admin-editor,.provider-admin-card,
  .connection-simple-card,.create-box){
  margin-block:5px!important;
  box-shadow:var(--sx-shadow)!important;
}
html body .settings-content .stack{gap:8px!important}
html body .settings-content .section-head{
  margin-bottom:8px!important;padding-bottom:7px!important;
}
html body .settings-content .section-head h3{font-size:15px!important}
html body .settings-content .saas-kpis,
html body .settings-content .ai-summary{
  display:none!important;
}
html body .settings-content .saas-company-list{
  display:grid!important;gap:8px!important;
}
html body .settings-content .quick-reply-table-wrap{
  border-radius:14px!important;box-shadow:var(--sx-shadow)!important;
}
html body .settings-content .quick-reply-table th{
  font-weight:850!important;font-size:10px!important;
}
html body .settings-content .quick-reply-table td{
  font-size:11px!important;padding:8px 10px!important;
}
html body .settings-content .help-admin-grid{
  gap:10px!important;
}
html body .settings-content .help-admin-list-head,
html body .settings-content .help-admin-editor > .section-head{
  margin:0!important;padding:10px!important;
}
/* API: one field, actionable test. */
html body .settings-content .settings-ai-simple-v539{
  width:100%!important;max-width:100%!important;
}
html body .settings-content .settings-ai-key-form-v539{
  display:grid!important;gap:12px!important;
  box-sizing:border-box!important;
  padding:18px!important;margin:0!important;
  border-radius:16px!important;
}
html body .settings-content .settings-ai-key-form-v539 label{
  margin:0!important;font-size:14px!important;
  font-weight:850!important;color:var(--sx-ink)!important;
}
html body .settings-content .settings-ai-key-form-v539 input{
  display:block!important;
  width:100%!important;min-height:44px!important;
  box-sizing:border-box!important;
  font-size:12px!important;padding:10px 13px!important;
  color:var(--sx-ink)!important;background:var(--sx-bg)!important;
  border-radius:12px!important;border:1px solid var(--sx-border)!important;
}
html body .settings-content .settings-ai-footer-v539{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:10px;
}
html body .settings-content .settings-ai-feedback-v539{
  color:var(--settings-ux-muted,#62758c);font-size:11px;font-weight:700;
}
html body .settings-content .settings-ai-test-v539{
  min-height:35px!important;padding:7px 15px!important;
  font-size:11px!important;
  border:1px solid var(--sx-border)!important;
}
html body .settings-content .settings-ai-success-v539{
  margin:0;padding:10px;
  border:1px solid rgba(19,166,109,.2);
  background:rgba(16,177,109,.07);
  color:var(--sx-ink);
  font-size:12px;font-weight:800;
  border-radius:10px;
}
html body .settings-content .settings-ai-success-v539[hidden]{display:none!important}
html body .settings-simple-toast-v539{
  position:fixed;top:75px;right:18px;z-index:2147483000;
  background:var(--sx-bg);color:var(--sx-ink);
  border:1px solid var(--sx-border);border-radius:11px;
  padding:10px 13px;max-width:min(340px,calc(100vw - 32px));
  font-size:12px;font-weight:700;
  box-shadow:0 12px 30px rgba(19,38,66,.2);
  opacity:0;transform:translateY(-8px);
  pointer-events:none;
  transition:opacity .4s ease,transform .4s ease;
}
html body .settings-simple-toast-v539.is-visible{
  opacity:1;transform:translateY(0);
}
html body .settings-simple-toast-v539.is-error{
  border-color:#df7987;color:#bc3444;
}
@media(max-width:1050px){
  html body > main.page:not(.auth-page) > .settings-shell{
    grid-template-columns:180px minmax(0,1fr)!important;
    gap:8px!important;
  }
  html body .settings-content .team-permission-table{
    min-width:690px!important;
  }
}
@media(max-width:760px){
  html body > main.page:not(.auth-page) > .settings-shell{
    display:block!important;min-width:0!important;
  }
  html body .settings-nav{
    display:flex!important;overflow-x:auto!important;gap:4px!important;
    margin-bottom:8px!important;
  }
  html body .settings-nav > a{
    flex:0 0 auto!important;margin:0!important;padding:7px 9px!important;
  }
  html body .settings-hero-contextual .settings-hero-right{
    gap:6px!important;
  }
  html body .settings-hero-companies-v539 > span{
    min-width:52px;padding:4px 7px;
  }
  html body .settings-content .etiq-simple-list,
  html body .settings-content .v487-field-list{
    grid-template-columns:minmax(0,1fr)!important;
    gap:5px!important;
  }
  html body .settings-content .team-permission-wrap{overflow-x:auto!important}
  html body .settings-content .settings-ai-key-form-v539{padding:12px!important}
}
@media(prefers-reduced-motion:reduce){
  html body .settings-master-switch-v539 span,
  html body .settings-simple-toast-v539,
  html body .settings-content .settings-ux-chevron{transition:none!important}
}

/* Fix old mobile hero constraint: legacy stylesheet reserved 150px for
   title even after the subtitle was removed. Compact responsive header. */
@media(max-width:760px){
  html body > main.page:not(.auth-page)
    > .settings-hero.settings-hero-contextual.settings-hero-standard{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    justify-content:space-between!important;
    align-items:center!important;
    align-content:center!important;
    min-height:62px!important;
    height:auto!important;
    max-height:none!important;
    row-gap:8px!important;
    padding:10px 12px!important;
    margin-bottom:8px!important;
  }
  html body .settings-hero-contextual .settings-hero-title{
    display:flex!important;
    align-items:center!important;
    flex:1 1 auto!important;
    width:auto!important;
    min-width:105px!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    padding:0!important;margin:0!important;
  }
  html body .settings-hero-contextual .settings-hero-copy{
    display:block!important;
    width:auto!important;
    height:auto!important;min-height:0!important;
    max-height:none!important;
  }
  html body .settings-hero-contextual h1{
    display:block!important;
    margin:0!important;
    font-size:23px!important;
    line-height:1.1!important;
  }
  html body .settings-hero-contextual
    .settings-hero-right.settings-hero-actions{
    display:flex!important;
    flex:0 1 auto!important;
    align-items:center!important;
    justify-content:flex-end!important;
    width:auto!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    gap:6px!important;
  }
  html body > main.page:not(.auth-page)
    .settings-nav{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    min-height:0!important;
    height:auto!important;
    max-height:48px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-inline:contain!important;
    scrollbar-width:none!important;
  }
  html body .settings-hero-contextual .settings-hero-action{
    padding:5px 9px!important;
    min-height:30px!important;height:30px!important;
    font-size:10px!important;
  }
}
@media(max-width:390px){
  html body .settings-hero-contextual .settings-hero-right.settings-hero-actions{
    flex:0 0 auto!important;
  }
  html body .settings-hero-contextual .settings-hero-action{
    padding:5px 8px!important;
  }
}
html body .settings-content > .settings-inline-search-v539{
  display:flex!important;
  gap:7px!important;
  align-items:center!important;
  box-sizing:border-box!important;
  width:100%!important;
  padding:7px 10px!important;
  margin:0 0 8px!important;
  background:var(--sx-bg)!important;
  border:1px solid var(--sx-border)!important;
  border-radius:11px!important;
}
html body .settings-content > .settings-inline-search-v539 input{
  width:100%!important;flex:1 1 auto!important;
  min-width:0!important;max-width:none!important;
  border:0!important;background:transparent!important;
  padding:5px!important;font-size:11px!important;
}

/* The three-chevron Dock language, proportionate to each disclosure control. */
@keyframes msnbot-settings-three-chevron-v539 {
  0%,100%{opacity:.75;filter:drop-shadow(0 0 0 transparent)}
  45%{opacity:1;filter:drop-shadow(0 1px 4px rgba(45,126,232,.24))}
}
html body .settings-content
  :is(.settings-ux-advanced,.create-box,.saas-plan-card,.msnbot-staff-number-assignments)
  > summary:hover::after,
html body .settings-content .settings-ux-advanced > summary:hover .settings-ux-chevron{
  animation:msnbot-settings-three-chevron-v539 1.5s ease-in-out infinite!important;
}
@media(prefers-reduced-motion:reduce){
  html body .settings-content
    :is(.settings-ux-advanced,.create-box,.saas-plan-card,.msnbot-staff-number-assignments)
    > summary:hover::after,
  html body .settings-content .settings-ux-advanced > summary:hover .settings-ux-chevron{
    animation:none!important;
  }
}

/* Finishing pass: elegant feedback without noisy heavy shadows. */
html body .settings-content .settings-card,
html body .settings-content .saas-company-card,
html body .settings-content .connection-simple-card,
html body .settings-content .etiq-settings-row,
html body .settings-content .v487-field-row{
  transition:border-color .17s ease,box-shadow .17s ease,transform .17s ease!important;
}
html body .settings-content :is(.saas-company-card,.connection-simple-card,
  .etiq-settings-row,.v487-field-row):hover{
  border-color:color-mix(in srgb,#4388ec 33%,var(--sx-border))!important;
  box-shadow:0 5px 18px rgba(43,96,177,.085)!important;
}
html body .settings-content .settings-card:focus-within{
  border-color:color-mix(in srgb,#4388ec 35%,var(--sx-border))!important;
}
@media(prefers-reduced-motion:reduce){
  html body .settings-content :is(.settings-card,.saas-company-card,
    .connection-simple-card,.etiq-settings-row,.v487-field-row){
    transition:none!important;
  }
}

/* Specificity fix for legacy settings-page selectors:
   only redundant FIRST-LEVEL titles are hidden. Nested section headings
   for Planos, Contas, etc. stay visible and functional. */
html body:has(.settings-shell)
  main.page .settings-shell > section.settings-content > div.section-head{
  display:none!important;
  height:0!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
}

/* Companhias: compact current-company cards and eliminate long fine print. */
html body:has(.settings-shell) .settings-content .saas-overview-grid{
  gap:10px!important;
  align-items:start!important;
}
html body:has(.settings-shell) .settings-content
  :is(.saas-current-company,.saas-subscription-card){
  min-height:0!important;
  max-height:none!important;
  height:auto!important;
  padding:14px!important;
  border-radius:14px!important;
}
html body .settings-content .saas-subscription-card > p.muted.small{
  display:none!important;
}
html body .settings-content .saas-current-limits{
  gap:6px!important;
}
html body .settings-content .saas-current-limits > div{
  padding:8px 10px!important;
  min-height:40px!important;
}
html body .settings-content .saas-current-limits small{
  font-size:10px!important;
}
html body .settings-content .saas-current-limits strong{
  font-size:12px!important;
}
html body .settings-content .saas-overview-grid .settings-form{
  margin:7px 0 0!important;
  gap:7px!important;
}
html body .settings-content .saas-overview-grid .settings-form label{
  font-size:11px!important;
}
html body .settings-content .saas-overview-grid .settings-form :is(input,select){
  min-height:33px!important;
}
@media(max-width:760px){
  html body:has(.settings-shell) .settings-content .saas-overview-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
  }
}

/* Reveal the initial password without changing any form submission rules. */
#team-create-dialog .team-password-wrap{display:block;position:relative;min-width:0;width:100%}
#team-create-dialog .team-password-wrap input{width:100%;box-sizing:border-box;padding-right:43px!important}
#team-create-dialog .team-password-eye{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;min-height:0;padding:0!important;margin:0!important;border:0;border-radius:8px;background:transparent;color:var(--muted,#75809a);cursor:pointer}
#team-create-dialog .team-password-eye svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#team-create-dialog .team-password-eye .team-eye-closed,#team-create-dialog .team-password-eye[aria-pressed=true] .team-eye-open{display:none}
#team-create-dialog .team-password-eye[aria-pressed=true] .team-eye-closed{display:block}

#team-create-dialog{width:min(610px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto}

/* Single permission design for creation and existing team members. */
html body .team-members-v561{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
html body .team-member-v561{min-width:0;padding:14px;border:1px solid var(--hair,#e3e5e8);border-radius:18px;background:var(--surface-solid,#fff)}
html body .team-member-head-v561{display:flex;align-items:center;gap:10px;margin-bottom:12px}
html body .team-member-head-v561 .team-row-actions{margin-left:auto;display:flex;align-items:center;gap:5px}
html body .team-permissions-form-v561{display:grid;gap:10px}
html body #team-create-dialog .dialog-card{max-height:calc(100dvh - 36px);overflow:auto}
html body .team-selector-v561{box-sizing:border-box;min-width:0;border:1px solid var(--hair,#e3e5e8);border-radius:16px;padding:15px 16px;background:var(--surface-solid,#fff);margin:0}
html body .team-selector-v561[hidden]{display:none!important}
html body .team-selector-v561 h3{margin:0 0 12px!important;font:600 17px/1.3 system-ui,sans-serif!important;color:var(--ink,#171717)}
html body .team-selector-grid-v561{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 14px!important}
html body label.team-selector-option-v561{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;min-width:0;min-height:22px}
html body .team-selector-name-v561{display:flex!important;align-items:center;gap:4px;min-width:0;font:400 14px/1.25 system-ui,sans-serif!important;color:var(--ink,#171717);overflow-wrap:anywhere}
html body .team-selector-switch-v561{position:relative;display:block!important;flex:0 0 30px;width:30px;height:18px;cursor:pointer}
html body .team-selector-switch-v561 input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;margin:0!important;cursor:pointer;z-index:2}
html body .team-selector-switch-v561 i{position:absolute;inset:0;border-radius:20px;background:#a2adbf;display:block!important}
html body .team-selector-switch-v561 i:after{position:absolute;content:'';width:14px;height:14px;left:2px;top:2px;border-radius:50%;background:white;transition:transform .15s}
html body .team-selector-switch-v561 input:checked+i{background:#2878f5}
html body .team-selector-switch-v561 input:checked+i:after{transform:translateX(12px)}
html body .team-selector-switch-v561 input:focus-visible+i{outline:2px solid #2878f5;outline-offset:2px}
@media(max-width:420px){html body .team-selector-v561{padding:12px}html body .team-selector-grid-v561{gap:10px 8px!important}html body .team-selector-name-v561{font-size:12px!important}}

html body .msn-shared-connection-v561{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;padding:5px 8px;color:var(--muted,#69758b);flex-shrink:0}
html body .msn-shared-connection-v561 i{width:7px;height:7px;border-radius:50%;background:#d44747}
html body .msn-shared-connection-v561 i.online{background:#21ae68}

html body .cleanup-select-all-v567{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
html body [data-cleanup-connection-warning][hidden]{display:none!important}
html body .cleanup-selector-v567{margin:8px 0}

