/* source: /assets/msn-avatar-v489.css */
/* MSNBOT 4.8.9: Avatar circular do Bate-Papo — desktop, tablet e celular.
   Não interfere no Dock, nos áudios, na barra de digitação ou no layout da página. */
.msn-v33-shell .contact-avatar {
  box-sizing:border-box!important;
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  aspect-ratio:1 / 1!important;
  border-radius:50%!important;
  overflow:hidden!important;
  flex-shrink:0!important;
  line-height:1!important;
}
.msn-v33-shell .contact-avatar img {
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  aspect-ratio:1 / 1!important;
  object-fit:cover!important;
  object-position:center center!important;
  border-radius:50%!important;
  transform:none!important;
}
.msn-v33-chat-head .contact-avatar.large {
  width:39px!important;
  height:39px!important;
  min-width:39px!important;
  min-height:39px!important;
  max-width:39px!important;
  max-height:39px!important;
  flex:0 0 39px!important;
  align-self:center!important;
}
@media screen and (max-width:600px) {
  html body:has(.msn-v33-shell.has-contact) .msn-v33-chat-head .contact-avatar.large {
    width:35px!important;
    height:35px!important;
    min-width:35px!important;
    min-height:35px!important;
    max-width:35px!important;
    max-height:35px!important;
    flex:0 0 35px!important;
    aspect-ratio:1 / 1!important;
  }
}

/* Foto do cartão ampliada, toque fora da imagem fecha; desktop/tablet/mobile. */
.msn-v33-contact-card .contact-avatar.profile{cursor:zoom-in!important}
.msn-v33-contact-card .contact-avatar.profile:focus-visible{outline:3px solid var(--user-accent,#2878f5)!important;outline-offset:3px}
html body .msn-avatar-lightbox{
  position:fixed!important;inset:0!important;margin:0!important;box-sizing:border-box!important;
  width:100vw!important;height:100dvh!important;max-width:100vw!important;max-height:100dvh!important;
  padding:clamp(16px,4vw,42px)!important;border:0!important;background:transparent!important;
  overflow:hidden!important
}
html body .msn-avatar-lightbox[open]{display:flex!important;align-items:center!important;justify-content:center!important}
html body .msn-avatar-lightbox::backdrop{background:rgba(8,14,26,.83)!important;backdrop-filter:blur(6px)}
html body .msn-avatar-lightbox>img{
  display:block!important;position:static!important;flex:none!important;
  width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;border-radius:15px!important;
  box-shadow:0 20px 70px rgba(0,0,0,.36)!important
}


/* source: /assets/msn-stickers-v489.css */
/* MSNBOT 4.8.9: emojis e figurinhas somente no mobile, sem mexer no chat aprovado. */
@media screen and (max-width:600px) {
  html body:has(.msn-v33-shell.has-contact) .emoji-panel[data-chat-panel="emoji"] {
    position:fixed!important;left:var(--emoji-left,8px)!important;right:auto!important;
    top:var(--emoji-top,120px)!important;bottom:auto!important;
    width:var(--emoji-width,calc(100vw - 16px))!important;
    max-width:calc(100vw - 16px)!important;
    height:var(--emoji-height,290px)!important;max-height:calc(100dvh - 80px)!important;
    box-sizing:border-box!important;display:flex;flex-direction:column;
    min-width:0!important;overflow:hidden!important;padding:8px!important;
    border-radius:15px!important;z-index:2147483000!important;
    overscroll-behavior-x:contain;touch-action:auto;
  }
  html body:has(.msn-v33-shell.has-contact) .emoji-panel[hidden]{display:none!important;}
  html body:has(.msn-v33-shell.has-contact) .emoji-panel [data-emoji-search] {
    box-sizing:border-box!important;min-width:0!important;width:100%!important;
    min-height:38px!important;height:38px!important;flex:0 0 38px!important;
    padding:7px 10px!important;font-size:16px!important;
  }
  html body:has(.msn-v33-shell.has-contact) .emoji-panel .emoji-tabs {
    flex:0 0 auto!important;display:flex!important;gap:4px!important;
    min-width:0!important;max-width:100%!important;overflow-x:auto!important;
    padding:4px 0!important;touch-action:pan-x;overscroll-behavior-x:contain;
  }
  html body:has(.msn-v33-shell.has-contact) .emoji-panel .emoji-grid {
    box-sizing:border-box!important;display:grid!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;align-content:start!important;
    flex:1 1 auto!important;min-height:0!important;max-height:none!important;
    width:100%!important;min-width:0!important;overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;gap:3px!important;
  }
  html body:has(.msn-v33-shell.has-contact) .emoji-panel .emoji-grid button {
    min-width:0!important;width:100%!important;min-height:34px!important;
    box-sizing:border-box!important;font-size:22px!important;padding:2px!important;
  }
  html body:has(.msn-v33-shell.has-contact) #composer-form {position:relative!important;}
  html body:has(.msn-v33-shell.has-contact) #composer-form #msn-message-input {padding-right:41px!important;}
  html body:has(.msn-v33-shell.has-contact) #composer-form .msn-sticker-switch {
    display:grid!important;place-items:center!important;position:absolute!important;
    box-sizing:border-box!important;width:31px!important;height:31px!important;
    min-width:31px!important;min-height:31px!important;
    padding:3px!important;margin:0!important;border:0!important;
    border-radius:8px!important;background:transparent!important;
    color:var(--ink,#243044)!important;z-index:16!important;
    cursor:pointer!important;touch-action:manipulation;
  }
  .msn-sticker-switch svg {width:23px!important;height:23px!important;
    fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  html body:has(.msn-v33-shell.has-contact) #composer-form.msn-has-text:not(.msn-recording-active)>.msn-audio-button {
    display:none!important;
  }
  .msn-v33-shell .msn-sticker-tray {
    position:absolute!important;left:5px!important;right:5px!important;
    bottom:var(--sticker-bottom,85px)!important;z-index:160!important;
    box-sizing:border-box!important;height:min(280px,40dvh)!important;
    max-height:calc(100dvh - 135px)!important;min-height:150px!important;
    display:flex;flex-direction:column;gap:7px;padding:10px;overflow:hidden!important;
    border-radius:17px;border:1px solid var(--border,#dde3ee);
    color:var(--ink,#243044);background:var(--surface-solid,#fff);
    box-shadow:0 -8px 28px rgba(10,25,45,.22);overscroll-behavior:contain;
  }
  .msn-sticker-tray[hidden],.msn-sticker-preview[hidden],.msn-sticker-grid[hidden]{display:none!important;}
  .msn-sticker-head {display:flex;align-items:center;justify-content:space-between;gap:6px;}
  .msn-sticker-head strong {font-size:13px;}
  .msn-sticker-head button,.msn-sticker-cancel {
    padding:7px 9px;border:1px solid var(--border,#dce4ed);border-radius:9px;
    background:var(--surface-solid,#fff);color:inherit;font-size:11px;cursor:pointer;
  }
  .msn-sticker-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
    flex:1 1 auto;min-width:0;min-height:0;align-content:start;gap:7px;
    overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;}
  .msn-sticker-grid button {display:grid;place-items:center;min-width:0;
    aspect-ratio:1;border:0;background:transparent;border-radius:10px;padding:5px;cursor:pointer;}
  .msn-sticker-grid img {display:block;width:100%;height:100%;
    max-height:70px;max-width:70px;object-fit:contain;}
  .msn-sticker-status {color:var(--muted,#677587);font-size:11px;line-height:1.4;margin:0;}
  .msn-sticker-status.error {color:#b53148;}
  .msn-sticker-preview {display:flex;flex:1 1 auto;min-height:0;align-items:center;gap:8px;}
  .msn-sticker-preview img {width:75px;height:75px;object-fit:contain;}
  .msn-sticker-confirm {padding:9px;border:0;border-radius:9px;
    color:#fff;background:var(--accent,#2979ee);font-weight:800;font-size:11px;}
  .msn-sticker-tray button:disabled {opacity:.55;cursor:wait;}
}


/* source: /assets/msn-stickers-tablet-desktop-v489.css */
/* MSNBOT 4.8.9 — Somente tablet e desktop, preservando totalmente as regras mobile. */
@media screen and (min-width:601px) {
  body:has(.msn-v33-shell.has-contact) .emoji-panel[data-chat-panel="emoji"] {
    position:fixed!important;
    left:var(--emoji-left,16px)!important;
    top:var(--emoji-top,100px)!important;
    right:auto!important;bottom:auto!important;
    display:flex!important;flex-direction:column!important;
    box-sizing:border-box!important;
    width:var(--emoji-width,390px)!important;max-width:calc(100vw - 30px)!important;
    height:var(--emoji-height,340px)!important;
    max-height:calc(100dvh - 85px)!important;
    min-width:0!important;padding:10px!important;
    overflow:hidden!important;z-index:2147483000!important;
    border-radius:15px!important;overscroll-behavior:contain;
  }
  body:has(.msn-v33-shell.has-contact) .emoji-panel[hidden]{display:none!important}
  body:has(.msn-v33-shell.has-contact) .emoji-panel [data-emoji-search]{
    box-sizing:border-box!important;width:100%!important;min-width:0!important;
    flex:0 0 38px!important;min-height:38px!important;max-height:38px!important;font-size:14px!important;
  }
  body:has(.msn-v33-shell.has-contact) .emoji-panel .emoji-tabs{
    flex:0 0 auto!important;min-width:0!important;
    display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;
    overscroll-behavior-x:contain;gap:4px!important;white-space:nowrap;
  }
  body:has(.msn-v33-shell.has-contact) .emoji-panel .emoji-grid{
    display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;
    flex:1 1 auto!important;min-height:0!important;max-height:none!important;
    min-width:0!important;width:100%!important;align-content:start!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    overscroll-behavior:contain;gap:4px!important;
  }
  body:has(.msn-v33-shell.has-contact) .emoji-panel .emoji-grid button{
    min-width:0!important;width:100%!important;min-height:35px!important;
    font-size:22px!important;padding:2px!important;box-sizing:border-box!important;
  }
  body:has(.msn-v33-shell.has-contact) #composer-form{position:relative!important;}
  body:has(.msn-v33-shell.has-contact) #composer-form #msn-message-input{padding-right:42px!important;}
  body:has(.msn-v33-shell.has-contact) #composer-form .msn-sticker-switch{
    position:absolute!important;display:grid!important;place-items:center!important;
    width:31px!important;height:31px!important;min-height:31px!important;
    min-width:31px!important;padding:3px!important;
    border:0!important;border-radius:8px!important;
    background:transparent!important;color:var(--ink,#243044)!important;
    cursor:pointer!important;z-index:16!important;
  }
  .msn-sticker-switch svg{display:block;width:23px;height:23px;
    fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  body:has(.msn-v33-shell.has-contact) #composer-form.msn-has-text:not(.msn-recording-active)>.msn-audio-button{
    display:none!important;
  }
  body:has(.msn-v33-shell.has-contact) .msn-sticker-tray{
    position:absolute!important;bottom:var(--sticker-bottom,85px)!important;
    left:10px!important;right:auto!important;
    width:min(420px,calc(100% - 20px))!important;
    height:min(330px,42dvh)!important;max-height:calc(100dvh - 120px)!important;
    display:flex!important;flex-direction:column!important;gap:8px!important;
    box-sizing:border-box!important;padding:12px!important;
    background:var(--surface-solid,#fff);color:var(--ink,#243044);
    border:1px solid var(--border,#dce4ed);border-radius:16px;
    box-shadow:0 -7px 30px rgba(10,25,45,.2);
    z-index:160!important;overflow:hidden!important;overscroll-behavior:contain;
  }
  /* Maior especificidade que a regra display:flex!important acima.
     O painel deve respeitar [hidden] ao clicar fora/teclado/Esc. */
  body:has(.msn-v33-shell.has-contact) .msn-sticker-tray[hidden] {
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
  .msn-sticker-preview[hidden],.msn-sticker-grid[hidden]{display:none!important}
  .msn-sticker-head{display:flex;justify-content:space-between;align-items:center;gap:8px;}
  .msn-sticker-head strong{font-size:14px;}
  .msn-sticker-head button,.msn-sticker-cancel{
    padding:7px 10px;background:transparent;color:inherit;
    border:1px solid var(--border,#dce4ed);border-radius:9px;font-size:12px;cursor:pointer;
  }
  .msn-sticker-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));
    flex:1 1 auto;min-height:0;align-content:start;gap:9px;
    overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;}
  .msn-sticker-grid button{display:grid;place-items:center;
    min-width:0;aspect-ratio:1;border:0;border-radius:10px;
    padding:6px;background:transparent;cursor:pointer;}
  .msn-sticker-grid button:hover{background:var(--accent-soft,#edf5ff);}
  .msn-sticker-grid img{display:block;width:100%;height:100%;max-width:80px;max-height:80px;object-fit:contain;}
  .msn-sticker-status{font-size:12px;color:var(--muted,#748097);margin:0;}
  .msn-sticker-status.error{color:#be3753;}
  .msn-sticker-preview{display:flex;gap:10px;align-items:center;flex:1;min-height:0;}
  .msn-sticker-preview img{width:85px;height:85px;object-fit:contain;}
  .msn-sticker-confirm{border:0;border-radius:9px;padding:10px;background:var(--accent,#2878f5);color:#fff;font-size:12px;}
  .msn-sticker-tray button:disabled{opacity:.55;cursor:wait;}
}


/* source: /assets/msnbot-dock-expand-desktop-v489.css */
/* MSNBOT 4.8.9: expansão vertical ao esconder/revelar Dock, SOMENTE desktop.
   Não modifica tablet nem smartphone. */
@media screen and (min-width:901px) {
  html body.dock-pos-bottom.dock-autohide main.page:not(.auth-page) {
    box-sizing:border-box!important;
    min-height:0!important;
    height:calc(100dvh - var(--v461-topbar-height,38px) - 8px)!important;
    max-height:calc(100dvh - var(--v461-topbar-height,38px) - 8px)!important;
    padding-bottom:0!important;margin-bottom:0!important;
    overflow-y:auto!important;
    transition:height .22s ease,max-height .22s ease!important;
  }
  html body.dock-pos-bottom.dock-autohide.dock-peek main.page:not(.auth-page) {
    height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px))!important;
    max-height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,82px))!important;
  }
  html body.dock-pos-bottom.dock-autohide:has(.msn-v33-shell) main.page:not(.auth-page) .msn-v33-shell {
    height:100%!important;max-height:100%!important;min-height:0!important;
  }
}


/* source: /assets/msn-composer-clean-v489.css */
/* MSNBOT Luz 4.8.9: composer estilo WhatsApp sem setas/scrollbar visivel.
   Alvo: somente textarea principal do Bate-Papo, todos os dispositivos. */
.msn-v33-shell.has-contact #composer-form #msn-message-input {
  box-sizing:border-box!important;
  resize:none!important;
  scrollbar-width:none!important;
  scrollbar-color:transparent transparent!important;
  -ms-overflow-style:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
}
.msn-v33-shell.has-contact #composer-form #msn-message-input::-webkit-scrollbar,
.msn-v33-shell.has-contact #composer-form #msn-message-input::-webkit-scrollbar-button {
  display:none!important;
  width:0!important;
  height:0!important;
  -webkit-appearance:none!important;
}


/* source: /assets/msnbot-overlay-layers-v489.css */
/* MSNBOT Luz 4.8.9 — Hierarquia de sobreposição controlada.
   Campos de Audiencia e Fluxos são popovers de top-layer quando suportado.
   Dialogs showModal permanecem na top-layer nativa do navegador.
   Fallback não altera posicionamento de Dock, chat ou modais. */

/* Stacking context de barras translúcidas: elevar apenas a barra COM menu aberto. */
html body main.page:not(.auth-page) :is(.audience-toolbar,.flows-toolbar,.flows-actions):has(.toolbar-pop[open]){
  position:relative!important;
  z-index:500!important;
  overflow:visible!important;
}
html body main.page:not(.auth-page) details.toolbar-pop[open]{
  position:relative!important;
  z-index:510!important;
}
html body main.page:not(.auth-page) details.toolbar-pop[open]>.popup-form:not([popover]){
  z-index:520!important;
}
/* Fallback para navegador sem Popover API: main acima da barra superior
   e dos outros paineis somente durante a abertura do formulario. */
html body:has(main.page details.toolbar-pop[open])>main.page:not(.auth-page){
  position:relative;
  z-index:110!important;
}

/* Popover API garante camada SUPERIOR mesmo com backdrop-filter e overflow em ancestrais. */
html body details.toolbar-pop>.popup-form[popover]:not(:popover-open){
  display:none!important;
}
html body details.toolbar-pop>.popup-form[popover]:popover-open{
  position:fixed!important;
  inset:auto!important;
  top:var(--msnbot-overlay-top,72px)!important;
  left:var(--msnbot-overlay-left,12px)!important;
  right:auto!important;
  bottom:auto!important;
  display:grid!important;
  box-sizing:border-box!important;
  width:var(--msnbot-overlay-width,min(350px,calc(100vw - 16px)))!important;
  min-width:0!important;
  max-width:calc(100vw - 16px)!important;
  max-height:var(--msnbot-overlay-max-height,calc(100dvh - 96px))!important;
  min-height:0!important;
  margin:0!important;
  padding:14px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--border,#d9e2ef)!important;
  border-radius:15px!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#17223a)!important;
  box-shadow:0 20px 60px rgba(17,28,52,.25)!important;
  z-index:2147483500!important;
}
html[data-theme="dark"] body details.toolbar-pop>.popup-form[popover]:popover-open {
  background:#121c27!important;
  border-color:#3c4e64!important;
  color:#f7f9fc!important;
}
/* Altura, posição e rolagem interna respeitam o viewport visual do celular.
   Não alteramos a geometria de nenhum outro modal/popover. */
@media (max-width:760px){
  html body details.toolbar-pop>.popup-form[popover]:popover-open{
    padding:12px!important;
    max-width:calc(100vw - 16px)!important;
  }
}


/* source: /assets/msnbot-viewport-dock-v489.css */
/* MSNBOT Luz 4.8.9: viewport único para APPs quando o Dock se oculta.
   TABLET e DESKTOP apenas. CSS mobile <=600px permanece intocado.
   Não muda a geometria de dialogs, popovers, mensagens ou navegação. */
@media screen and (min-width:601px) {
  /* A regra antiga só esticava o Bate-Papo e apenas acima de 900px.
     Agora o main dos demais módulos ganha a mesma altura disponível,
     independentemente do tamanho do monitor. */
  html body.dock-autohide > main.page:not(.auth-page),
  html body.dock-autohide:is(.dock-pos-bottom,.dock-pos-left,.dock-pos-right) > main.page:not(.auth-page) {
    box-sizing:border-box!important;
    height:calc(100dvh - var(--v461-topbar-height,38px) - env(safe-area-inset-bottom,0px))!important;
    max-height:calc(100dvh - var(--v461-topbar-height,38px) - env(safe-area-inset-bottom,0px))!important;
    min-height:0!important;
    margin-top:0!important;
    margin-bottom:0!important;
    padding-bottom:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    transition:height .24s ease,max-height .24s ease!important;
    scrollbar-gutter:auto!important;
  }
  /* Dock temporariamente aberto: o conteúdo sobe junto dele.
     Usa a altura real do Dock calculada pelo MSNBOT, não valor fixo. */
  html body.dock-autohide.dock-pos-bottom.dock-peek > main.page:not(.auth-page) {
    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;
  }

  /* Modulos com listas/cartoes: prolongar o corpo do aplicativo ate o
     fim da area util sem esticar botoes nem linhas individuais. */
  html body.dock-autohide:not(:has(.msn-v33-shell)):not(:has(#flow-editor-app))
    > main.page:not(.auth-page) {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  html body.dock-autohide > main.page:not(.auth-page) >
    :is(.settings-shell,.prefs-shell,.audience-shell,.campaign-shell,.broadcast-shell,
        .schedule-shell,.billing-shell,.billing-workspace,.automation-shell,
        .flows-shell,.flow-shell,.tasks-shell,.utilities-shell,.internal-chat-shell,
        .d43-dashboard,.d44-dashboard,.dashboard-shell) {
    flex-grow:1!important;
    flex-shrink:0!important;
    align-self:stretch!important;
    box-sizing:border-box!important;
  }

  /* Aplicativos de tela inteira possuem containers internos de grid/canvas.
     Preserve a rolagem EXCLUSIVA dos painéis internos, e não no main. */
  html body.dock-autohide:has(.msn-v33-shell) > main.page:not(.auth-page),
  html body.dock-autohide:has(#flow-editor-app) > main.page:not(.auth-page) {
    overflow:hidden!important;
  }
  html body.dock-autohide:has(.msn-v33-shell)
    > main.page:not(.auth-page) .msn-v33-shell {
    box-sizing:border-box!important;
    height:100%!important;
    max-height:100%!important;
    min-height:0!important;
  }
  html body.dock-autohide:has(#flow-editor-app)
    > main.page:not(.auth-page) #flow-editor-app {
    height:100%!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
  }
  html body.dock-autohide:has(#flow-editor-app)
    > main.page:not(.auth-page) .flow-editor-shell {
    flex:1 1 auto!important;
    min-height:0!important;
  }
}

/* Para usuários com movimento reduzido, evitar a animacao da transição. */
@media screen and (min-width:601px) and (prefers-reduced-motion:reduce) {
  html body.dock-autohide > main.page:not(.auth-page) {
    transition:none!important;
  }
}


/* source: /assets/msnbot-dock-toggle-v489.css */
/* MSNBOT Luz 4.8.9 — Dock controlado por seta em desktop e tablet.
   Independe de preferência "Ocultar automaticamente" e da largura do monitor.
   Mobile (<601px) não é afetado. */
@media screen and (min-width:601px) {
  .dock-manual-toggle[hidden] {display:none!important}
  html body.dock-manual-layout .dock-reveal-handle {display:none!important}
  html body.dock-manual-layout #msnbot-dock {
    transition:transform .24s cubic-bezier(.2,.8,.2,1),opacity .18s ease!important;
  }
  /* Classes próprias superam o auto-hide legado e a regra dock-peek. */
  html body.dock-manual-layout.dock-manual-hidden #msnbot-dock {
    opacity:0!important;pointer-events:none!important;
    visibility:hidden!important;
    transform:translateX(-50%) translateY(calc(100% + 36px))!important;
  }
  html body.dock-manual-layout.dock-manual-open #msnbot-dock {
    opacity:1!important;pointer-events:auto!important;
    visibility:visible!important;
    transform:translateX(-50%) translateY(0)!important;
  }
  html body.dock-manual-layout.dock-manual-hidden.dock-pos-left #msnbot-dock {
    transform:translateY(50%) translateX(calc(-100% - 36px))!important;
  }
  html body.dock-manual-layout.dock-manual-hidden.dock-pos-right #msnbot-dock {
    transform:translateY(50%) translateX(calc(100% + 36px))!important;
  }
  html body.dock-manual-layout.dock-manual-open:is(.dock-pos-left,.dock-pos-right) #msnbot-dock {
    transform:translateY(50%) translateX(0)!important;
  }

  /* Em tablets estreitos o MSNBOT mostra a barra mobile de sete ícones;
     permitir recolher essa barra também, sem atingir smartphones <=600px. */
  html body.dock-manual-layout.dock-manual-hidden #msnbot-mobile-dock.mobile-dock {
    opacity:0!important;pointer-events:none!important;
    visibility:hidden!important;
    transform:translateX(-50%) translateY(calc(100% + 36px))!important;
  }
  html body.dock-manual-layout.dock-manual-open #msnbot-mobile-dock.mobile-dock {
    opacity:1!important;pointer-events:auto!important;
    visibility:visible!important;
    transform:translateX(-50%) translateY(0)!important;
  }
  html body.dock-manual-layout.dock-manual-mobile-nav .dock-manual-toggle {
    left:50%!important;right:auto!important;
    top:auto!important;
    bottom:calc(var(--v461-dock-height,82px) + 2px)!important;
    transform:translateX(-50%)!important;
    width:46px!important;height:22px!important;
    min-height:22px!important;max-height:22px!important;
    border-radius:12px 12px 4px 4px!important;
  }
  html body.dock-manual-layout.dock-manual-mobile-nav.dock-manual-hidden .dock-manual-toggle {
    bottom:0!important;
    height:19px!important;min-height:19px!important;max-height:19px!important;
    border-radius:11px 11px 0 0!important;
  }
  html body.dock-manual-layout.dock-manual-mobile-nav.dock-manual-open > main.page:not(.auth-page) {
    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;
  }

  .dock-manual-toggle {
    display:grid!important;place-items:center!important;
    position:fixed!important;
    box-sizing:border-box!important;
    left:50%!important;right:auto!important;
    bottom:calc(var(--v461-dock-height,82px) + 2px)!important;
    transform:translateX(-50%)!important;
    width:46px!important;height:22px!important;
    min-height:22px!important;max-height:22px!important;
    padding:0!important;
    border:1px solid color-mix(in srgb,#fff 45%,#66788c)!important;
    border-radius:12px 12px 4px 4px!important;
    background:color-mix(in srgb,var(--surface-solid,#fff) 78%,#8ea5d2)!important;
    backdrop-filter:blur(12px)!important;
    color:var(--block-ink,#1f3651)!important;
    box-shadow:0 2px 9px rgba(18,33,64,.16)!important;
    opacity:.8!important;
    cursor:pointer!important;
    z-index:135!important;
    transition:bottom .24s ease,opacity .18s ease!important;
    touch-action:manipulation!important;
  }
  .dock-manual-toggle:hover,.dock-manual-toggle:focus-visible {
    opacity:1!important;
    outline-offset:2px;
  }
  .dock-manual-toggle .dock-manual-icon {
    font:700 15px/1 system-ui,sans-serif!important;
    pointer-events:none;
  }
  html body.dock-manual-layout.dock-manual-hidden .dock-manual-toggle {
    bottom:0!important;
    height:19px!important;min-height:19px!important;max-height:19px!important;
    border-radius:11px 11px 0 0!important;
    opacity:.78!important;
  }
  html body.dock-manual-layout.dock-pos-left .dock-manual-toggle {
    left:calc(var(--dock-reserved-size,82px) + 5px)!important;
    right:auto!important;
    top:50%!important;bottom:auto!important;
    transform:translateY(-50%)!important;
    border-radius:4px 12px 12px 4px!important;
    height:46px!important;min-height:46px!important;
    width:22px!important;
  }
  html body.dock-manual-layout.dock-manual-hidden.dock-pos-left .dock-manual-toggle {
    left:0!important;
  }
  html body.dock-manual-layout.dock-pos-right .dock-manual-toggle {
    left:auto!important;
    right:calc(var(--dock-reserved-size,82px) + 5px)!important;
    top:50%!important;bottom:auto!important;
    transform:translateY(-50%)!important;
    border-radius:12px 4px 4px 12px!important;
    height:46px!important;min-height:46px!important;
    width:22px!important;
  }
  html body.dock-manual-layout.dock-manual-hidden.dock-pos-right .dock-manual-toggle {
    right:0!important;
  }

  /* Altura da área útil em todos os apps. Especificidade superior às
     definições antigas para Bate-Papo, v483 e Dock auto-hide. */
  html body.dock-manual-layout.dock-manual-hidden > main.page:not(.auth-page),
  html body.dock-manual-layout.dock-manual-hidden.dock-pos-bottom > main.page:not(.auth-page) {
    box-sizing:border-box!important;
    height:calc(100dvh - var(--v461-topbar-height,38px) - env(safe-area-inset-bottom,0px))!important;
    max-height:calc(100dvh - var(--v461-topbar-height,38px) - env(safe-area-inset-bottom,0px))!important;
    min-height:0!important;
    margin-top:0!important;margin-bottom:0!important;
    padding-bottom:0!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    transition:height .24s ease,max-height .24s ease!important;
  }
  html body.dock-manual-layout.dock-manual-open.dock-pos-bottom > main.page:not(.auth-page) {
    box-sizing:border-box!important;
    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;
    margin-top:0!important;margin-bottom:0!important;
    padding-bottom:0!important;
    overflow-x:hidden!important;overflow-y:auto!important;
    transition:height .24s ease,max-height .24s ease!important;
  }
  /* Caso a classe dock-peek antiga continue sendo atualizada pelo
     autohide legado, a escolha explícita do usuário prevalece. */
  html body.dock-manual-layout.dock-manual-hidden.dock-autohide.dock-pos-bottom.dock-peek > main.page:not(.auth-page) {
    height:calc(100dvh - var(--v461-topbar-height,38px) - env(safe-area-inset-bottom,0px))!important;
    max-height:calc(100dvh - var(--v461-topbar-height,38px) - env(safe-area-inset-bottom,0px))!important;
  }
  html body.dock-manual-layout.dock-manual-open.dock-autohide.dock-pos-bottom.dock-peek > main.page:not(.auth-page) {
    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;
  }
  html body.dock-manual-layout.dock-manual-open:is(.dock-pos-left,.dock-pos-right) > main.page:not(.auth-page) {
    height:calc(100dvh - var(--v461-topbar-height,38px) - env(safe-area-inset-bottom,0px))!important;
    max-height:calc(100dvh - var(--v461-topbar-height,38px) - env(safe-area-inset-bottom,0px))!important;
    min-height:0!important;
  }
  html body.dock-manual-layout.dock-manual-hidden.dock-pos-left > main.page:not(.auth-page) {
    padding-left:clamp(12px,2.4vw,44px)!important;
  }
  html body.dock-manual-layout.dock-manual-hidden.dock-pos-right > main.page:not(.auth-page) {
    padding-right:clamp(12px,2.4vw,44px)!important;
  }

  /* App de chat/editor é uma viewport interna com rolagem própria. */
  html body.dock-manual-layout:has(.msn-v33-shell) > main.page:not(.auth-page),
  html body.dock-manual-layout:has(#flow-editor-app) > main.page:not(.auth-page) {
    overflow:hidden!important;
  }
  html body.dock-manual-layout:has(.msn-v33-shell) > main.page:not(.auth-page) .msn-v33-shell {
    height:100%!important;
    max-height:100%!important;min-height:0!important;
  }
  html body.dock-manual-layout:has(#flow-editor-app) > main.page:not(.auth-page) #flow-editor-app {
    height:100%!important;min-height:0!important;
    display:flex!important;flex-direction:column!important;
  }
  html body.dock-manual-layout:has(#flow-editor-app) > main.page:not(.auth-page) .flow-editor-shell {
    flex:1 1 auto!important;min-height:0!important;
  }

  /* Apenas os recipientes crescem, não os cards individuais. */
  html body.dock-manual-layout:not(:has(.msn-v33-shell)):not(:has(#flow-editor-app)) > main.page:not(.auth-page) {
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
  }
  html body.dock-manual-layout > main.page:not(.auth-page) >
  :is(.settings-shell,.prefs-shell,.audience-shell,.campaign-shell,.broadcast-shell,
      .schedule-shell,.billing-shell,.billing-workspace,.automation-shell,.flows-shell,
      .flow-shell,.tasks-shell,.utilities-shell,.internal-chat-shell,.d43-dashboard,
      .d44-dashboard,.dashboard-shell) {
    flex-grow:1!important;flex-shrink:0!important;
    align-self:stretch!important;min-height:0;
  }
}
@media screen and (min-width:601px) and (prefers-reduced-motion:reduce) {
  html body.dock-manual-layout > main.page:not(.auth-page),
  .dock-manual-toggle,
  html body.dock-manual-layout #msnbot-dock {transition:none!important;}
}
@media screen and (max-width:600px) {
  .dock-manual-toggle {display:none!important}
}


/* Botão externo: permanece fora da cápsula, à sua direita.
 * Aparece somente quando o cursor entra no Dock, mantendo acesso durante a
 * travessia da pequena distância até o botão. Recolhido, conserva a seta
 * visível de reabertura. Não altera o Dock mobile em smartphones.
 */
@media screen and (min-width:601px){
  html body.dock-manual-layout.dock-manual-open > #dock-manual-toggle{
    display:grid!important;
    position:fixed!important;
    left:var(--dock-toggle-x,50%)!important;
    top:var(--dock-toggle-y,90%)!important;
    right:auto!important;bottom:auto!important;
    width:34px!important;min-width:34px!important;max-width:34px!important;
    height:34px!important;min-height:34px!important;max-height:34px!important;
    margin:0!important;padding:0!important;
    border-radius:12px!important;
    box-sizing:border-box!important;
    transform:translateY(-50%)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:950!important;
    transition:opacity .15s ease,visibility 0s linear .15s!important;
  }
  html body.dock-manual-layout.dock-manual-open > #dock-manual-toggle.dock-toggle-hover-visible,
  html body.dock-manual-layout.dock-manual-open > #dock-manual-toggle:focus-visible{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transition:opacity .15s ease!important;
  }
  html body.dock-manual-layout.dock-manual-open > #dock-manual-toggle:is(:hover,:focus-visible){
    transform:translateY(-50%) scale(1.06)!important;
  }
}
@media screen and (min-width:601px) and (hover:none) and (pointer:coarse){
  /* Em iPads apenas por toque não existe hover: controle acessível. */
  html body.dock-manual-layout.dock-manual-open > #dock-manual-toggle{
    opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  }
}
@media (prefers-reduced-motion:reduce){
  html body.dock-manual-layout.dock-manual-open > #dock-manual-toggle{
    transition:none!important;
  }
}


/* source: /assets/msnbot-dashboard-kpi-row-v489.css */
/* MSNBOT Luz 4.8.9 — Dashboard apenas.
   Os seis indicadores ficam sempre em uma linha; nas telas pequenas a
   própria linha desliza horizontalmente sem alterar o resto do painel. */

/* Monitores amplos: mais respiro nas laterais apenas do Painel. */
@media screen and (min-width:1200px) {
  html body:not(#msnbot-dashboard-margin-priority):has(> main.page > .d43-dashboard) > main.page:not(.auth-page) {
    box-sizing:border-box!important;
    padding-left:clamp(55px,5vw,85px)!important;
    padding-right:clamp(55px,5vw,85px)!important;
  }
}
@media screen and (min-width:761px) and (max-width:1199px) {
  html body:not(#msnbot-dashboard-margin-priority):has(> main.page > .d43-dashboard) > main.page:not(.auth-page) {
    box-sizing:border-box!important;
    padding-left:clamp(24px,3vw,36px)!important;
    padding-right:clamp(24px,3vw,36px)!important;
  }
}

/* Layout compacto, centralizado e sem quebras em todas as telas.
   Regras específicas para superar v471, v479 e mobile-modern já carregados. */
html body main.page:not(.auth-page) .d43-dashboard .d471-dashboard-kpis {
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,120px))!important;
  justify-content:center!important;
  align-items:stretch!important;
  column-gap:clamp(12px,3.1vw,44px)!important;
  row-gap:0!important;
  width:100%!important;
  max-width:100%!important;
  margin:14px auto 18px!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

html body main.page:not(.auth-page) .d43-dashboard .d471-dashboard-kpis > .d471-kpi {
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  min-height:92px!important;
  aspect-ratio:1/1!important;
  padding:9px 5px!important;
  gap:5px!important;
  border-radius:16px!important;
}

/* Tablet e janela estreita: os 6 cartões encolhem juntos e mantêm-se em uma fileira. */
@media screen and (min-width:601px) and (max-width:1000px) {
  html body main.page:not(.auth-page) .d43-dashboard .d471-dashboard-kpis {
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    justify-content:stretch!important;
    column-gap:clamp(6px,1vw,11px)!important;
    margin-block:11px 15px!important;
  }
  html body main.page:not(.auth-page) .d43-dashboard .d471-dashboard-kpis > .d471-kpi {
    min-height:78px!important;
    padding:7px 3px!important;
    border-radius:13px!important;
    gap:4px!important;
  }
  html body main.page:not(.auth-page) .d43-dashboard .d471-dashboard-kpis > .d471-kpi span {
    font-size:clamp(8px,1.15vw,10px)!important;
    line-height:1.15!important;
    overflow-wrap:anywhere!important;
    text-align:center!important;
  }
  html body main.page:not(.auth-page) .d43-dashboard .d471-dashboard-kpis > .d471-kpi strong {
    font-size:clamp(19px,2.6vw,25px)!important;
    line-height:1!important;
  }
}

/* Smartphone: apenas a faixa de indicadores rola lateralmente; a página não.
   Ela nunca vira uma grade de 3x2 ou 2x3. */
@media screen and (max-width:600px) {
  html body main.page:not(.auth-page) .d43-dashboard .d471-dashboard-kpis {
    grid-template-columns:repeat(6,84px)!important;
    justify-content:start!important;
    column-gap:8px!important;
    row-gap:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity;
    padding:1px 3px 7px!important;
    margin:10px 0 15px!important;
    scrollbar-width:thin;
  }
  html body main.page:not(.auth-page) .d43-dashboard .d471-dashboard-kpis > .d471-kpi {
    min-height:76px!important;
    aspect-ratio:1/1!important;
    padding:7px 3px!important;
    border-radius:13px!important;
    scroll-snap-align:start;
  }
  html body main.page:not(.auth-page) .d43-dashboard .d471-dashboard-kpis > .d471-kpi span {
    font-size:9px!important;
    line-height:1.15!important;
    text-align:center!important;
    overflow-wrap:anywhere!important;
  }
  html body main.page:not(.auth-page) .d43-dashboard .d471-dashboard-kpis > .d471-kpi strong {
    font-size:20px!important;
    line-height:1!important;
  }
}


/* source: /assets/msnbot-schedule-timeline-v489.css */
/* MSNBOT Luz 4.8.9 — Agenda contínua, somente /agendamentos. */
html body main.page:not(.auth-page):has(.schedule-timeline-app){
  display:flex!important;flex-direction:column!important;min-height:0!important;
  padding-top:10px!important;padding-bottom:0!important;overflow:hidden!important;
}
html body main.page:not(.auth-page) .schedule-timeline-app{
  --timeline-ink:var(--ink,#17233a);
  --timeline-line:var(--border,#e0e7f2);
  --timeline-panel:var(--surface-solid,#fff);
  color:var(--timeline-ink);
  display:flex!important;flex-direction:column!important;
  flex:1 1 auto!important;align-self:stretch!important;
  min-width:0!important;min-height:0!important;
  width:100%!important;height:100%!important;
  max-height:100%!important;
  gap:9px;box-sizing:border-box;
}
.schedule-timeline-app .timeline-toolbar{
  position:relative;z-index:5;
  display:flex;align-items:center;gap:11px;flex-wrap:wrap;
  padding:9px 12px;border:1px solid var(--timeline-line);
  border-radius:18px;background:color-mix(in srgb,var(--timeline-panel) 89%,transparent);
  backdrop-filter:blur(14px);box-shadow:0 8px 20px rgba(16,37,68,.05);
  flex:0 0 auto;min-width:0;
}
.schedule-timeline-app .timeline-mode-tabs{
  display:flex;gap:3px;align-items:center;flex:0 0 auto;
  background:color-mix(in srgb,var(--user-accent,#2878f5) 8%,transparent);
  border-radius:12px;padding:3px;
}
.schedule-timeline-app .timeline-mode-tabs a{
  padding:9px 13px;text-decoration:none;border-radius:9px;
  color:var(--timeline-ink);font-size:12px;font-weight:800;white-space:nowrap;
}
.schedule-timeline-app .timeline-mode-tabs a.active{
  color:#fff!important;background:var(--user-accent,#2878f5);
  box-shadow:0 4px 12px rgba(42,110,227,.19);
}
.schedule-timeline-app .timeline-live-clock{
  display:inline-flex;align-items:center;font-size:12px;
  color:var(--timeline-ink);font-weight:750;min-width:0;
  white-space:normal;line-height:1.4;flex:1 1 200px;
}
.schedule-timeline-app .timeline-toolbar-stats{
  display:flex;align-items:center;gap:5px;flex:0 0 auto;min-width:0;
}
.schedule-timeline-app .timeline-stat{
  display:flex;align-items:center;gap:5px;
  border:1px solid var(--timeline-line);border-radius:10px;
  padding:6px 8px;background:color-mix(in srgb,var(--timeline-panel) 90%,transparent);
  white-space:nowrap;
}
.schedule-timeline-app .timeline-stat strong{font-size:14px;font-weight:900;color:var(--user-accent,#2878f5);}
.schedule-timeline-app .timeline-stat span{font-size:10px;font-weight:700;color:var(--muted,#70809a);}
.schedule-timeline-app .timeline-toolbar-actions{
  display:flex;gap:6px;align-items:center;flex:0 0 auto;
}
.schedule-timeline-app .timeline-toolbar-actions button{
  padding:10px 12px;border-radius:11px;font-size:11px;white-space:nowrap;
}
.schedule-timeline-app .timeline-calendar{
  display:flex;flex-direction:column;flex:1 1 auto;min-height:280px;
  width:100%;min-width:0;position:relative;
  overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior-y:contain;scroll-behavior:auto;
  -webkit-overflow-scrolling:touch;
  box-sizing:border-box;
  border:1px solid var(--timeline-line);border-radius:20px;
  background:color-mix(in srgb,var(--timeline-panel) 95%,transparent);
  box-shadow:0 10px 25px rgba(25,44,82,.06);
}
.schedule-timeline-app .timeline-scroll-status{
  position:sticky;top:0;z-index:4;text-align:center;
  min-height:0;font-size:11px;font-weight:700;color:var(--muted,#66758f);
  pointer-events:none;
}
.schedule-timeline-app .timeline-scroll-status:not(:empty){
  padding:7px;background:color-mix(in srgb,var(--timeline-panel) 93%,transparent);
}
.schedule-timeline-app .timeline-chunks{
  display:flex;flex-direction:column;flex:1 0 auto;min-height:100%;
}
.schedule-timeline-app .timeline-chunk{
  box-sizing:border-box;display:flex;flex-direction:column;
  min-width:0;min-height:100%;flex-shrink:0;
  border-bottom:1px solid var(--timeline-line);
}
.schedule-timeline-app .timeline-chunk-heading{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:12px 16px;background:color-mix(in srgb,var(--user-accent,#2878f5) 7%,var(--timeline-panel));
  border-bottom:1px solid var(--timeline-line);
}
.schedule-timeline-app .timeline-chunk-heading h2{font-size:16px;margin:0;letter-spacing:-.025em;color:var(--timeline-ink);}
.schedule-timeline-app .timeline-chunk-heading span{font-size:11px;color:var(--muted,#66758f);text-align:right;}
/* Mês: grade completa 6 x 7, crescendo até a parte inferior da área do app. */
.schedule-timeline-app .timeline-month-weekdays,
.schedule-timeline-app .timeline-month-grid{
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));
}
.schedule-timeline-app .timeline-month-weekdays{
  flex:0 0 auto;
  text-align:center;border-bottom:1px solid var(--timeline-line);
}
.schedule-timeline-app .timeline-month-weekdays span{
  padding:9px 0;font-size:11px;color:var(--muted,#66758f);font-weight:800;
}
.schedule-timeline-app .timeline-month-grid{
  grid-template-rows:repeat(6,minmax(86px,1fr));
  flex:1 1 auto;min-height:540px;
}
.schedule-timeline-app .timeline-month-day{
  position:relative;min-width:0;min-height:0;padding:8px;
  border-right:1px solid var(--timeline-line);
  border-bottom:1px solid var(--timeline-line);
  cursor:pointer;transition:background .12s ease;
}
.schedule-timeline-app .timeline-month-day:nth-child(7n){border-right:0}
.schedule-timeline-app :is(.timeline-month-day,.timeline-mini-day,.timeline-week-day header):hover{
  background:color-mix(in srgb,var(--user-accent,#2878f5) 6%,transparent);
}
.schedule-timeline-app .outside-month{opacity:.4}
.schedule-timeline-app .timeline-date-number{
  display:grid;place-items:center;min-width:28px;height:28px;width:max-content;
  border:2px solid transparent;border-radius:50%;
  color:var(--timeline-ink);font-size:12px;font-weight:850;
}
.schedule-timeline-app .mark-today>.timeline-date-number{
  border-color:#18a058!important;color:#16894e!important;
}
.schedule-timeline-app .mark-past>.timeline-date-number{
  border-color:#ec6268!important;color:#c73540!important;
}
.schedule-timeline-app .mark-future>.timeline-date-number{
  border-color:#e4b128!important;color:#ad7a06!important;
}
.schedule-timeline-app .timeline-month-events{display:grid;gap:3px;margin-top:4px;min-width:0}
.schedule-timeline-app .timeline-month-events small{font-size:10px;color:var(--muted,#70809a);}
.schedule-timeline-app .timeline-event{
  box-sizing:border-box;display:flex;gap:6px;align-items:center;
  min-width:0;border-radius:8px;padding:5px 7px;
  background:color-mix(in srgb,var(--user-accent,#2878f5) 9%,var(--timeline-panel));
  border-left:3px solid #5b8bf7;text-decoration:none!important;
  color:var(--timeline-ink);font-size:11px;
}
.schedule-timeline-app .timeline-event time{flex:0 0 auto;color:var(--muted,#697b94);font-size:10px;font-weight:800}
.schedule-timeline-app .timeline-event strong{
  flex:1 1 auto;min-width:0;font-size:11px;font-weight:750;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.schedule-timeline-app .timeline-event.status-completed{border-left-color:#15a264}
.schedule-timeline-app .timeline-event.status-failed{border-left-color:#d74c5d}
/* Dia: 24 faixas, com eventos na respectiva hora. */
.schedule-timeline-app .timeline-hours{
  display:grid;flex:1 1 auto;grid-template-rows:repeat(24,minmax(66px,auto));
}
.schedule-timeline-app .timeline-hour{
  display:grid;grid-template-columns:68px minmax(0,1fr);
  border-bottom:1px solid var(--timeline-line);min-height:66px;
  cursor:pointer;
}
.schedule-timeline-app .timeline-hour>time{
  padding:12px;color:var(--muted,#67758e);font-size:12px;
  font-weight:800;border-right:1px solid var(--timeline-line);
}
.schedule-timeline-app .timeline-hour-events{display:grid;align-content:center;gap:5px;padding:7px 12px;min-width:0}
.schedule-timeline-app .timeline-hour-events:empty{background:transparent}
.schedule-timeline-app .timeline-hour:hover{background:color-mix(in srgb,var(--user-accent,#2878f5) 3%,transparent)}
/* Semana: lista vertical de 7 dias por bloco e suas ações. */
.schedule-timeline-app .timeline-week-days{flex:1;display:grid;grid-template-rows:repeat(7,minmax(85px,auto));}
.schedule-timeline-app .timeline-week-day{display:grid;grid-template-columns:150px minmax(0,1fr);min-width:0;border-bottom:1px solid var(--timeline-line);}
.schedule-timeline-app .timeline-week-day>header{
  display:flex;flex-direction:column;justify-content:center;gap:6px;
  padding:12px;border-right:1px solid var(--timeline-line);cursor:pointer;
}
.schedule-timeline-app .timeline-week-day header b{font-size:13px}
.schedule-timeline-app .timeline-week-day header span,.schedule-timeline-app .timeline-free{font-size:11px;color:var(--muted,#66758f)}
.schedule-timeline-app .timeline-week-events{
  display:flex;flex-wrap:wrap;gap:7px;align-content:center;padding:10px;min-width:0;
}
.schedule-timeline-app .timeline-week-events .timeline-event{max-width:min(100%,400px);flex:0 1 240px;}
.schedule-timeline-app .timeline-free{align-self:center}
/* Ano: calendário de parede, 12 meses compactos no mesmo painel. */
.schedule-timeline-app .timeline-year-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;padding:16px;flex:1;align-content:stretch;
}
.schedule-timeline-app .timeline-year-month{
  display:flex;flex-direction:column;min-width:0;
  border:1px solid var(--timeline-line);border-radius:15px;
  background:color-mix(in srgb,var(--timeline-panel) 90%,transparent);
  overflow:hidden;
}
.schedule-timeline-app .timeline-year-month h3{
  margin:0;padding:10px;text-align:center;
  background:color-mix(in srgb,var(--user-accent,#2878f5) 11%,var(--timeline-panel));
  font-size:13px;font-weight:850;
}
.schedule-timeline-app .timeline-mini-weekdays,
.schedule-timeline-app .timeline-mini-grid{
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));
  gap:2px;padding:5px 8px;
}
.schedule-timeline-app .timeline-mini-weekdays{text-align:center}
.schedule-timeline-app .timeline-mini-weekdays span{font-size:9px;font-weight:800;color:var(--muted,#7b8797)}
.schedule-timeline-app .timeline-mini-grid{flex:1;align-content:space-evenly;padding-bottom:10px}
.schedule-timeline-app .timeline-mini-day{
  display:grid;place-items:center;position:relative;
  min-height:25px;border-radius:8px;cursor:pointer;
}
.schedule-timeline-app .timeline-mini-day .timeline-date-number{
  width:27px;height:27px;border:2px solid transparent;
  font-size:11px;font-weight:800;
}
.schedule-timeline-app .timeline-mini-dot{
  position:absolute;bottom:0;width:3px;height:3px;border-radius:50%;
  background:currentColor;
}
.schedule-timeline-app .timeline-year-legend{
  display:flex;align-items:center;gap:16px;flex:0 0 auto;flex-wrap:wrap;
  font-size:11px;font-weight:700;color:var(--muted,#65738a);
}
.schedule-timeline-app .timeline-year-legend span{display:flex;align-items:center;gap:5px}
.schedule-timeline-app .timeline-year-legend i{display:inline-block;width:13px;height:13px;border:2px solid;border-radius:50%}
.schedule-timeline-app .timeline-year-legend i.mark-today{border-color:#18a058}
.schedule-timeline-app .timeline-year-legend i.mark-past{border-color:#ec6268}
.schedule-timeline-app .timeline-year-legend i.mark-future{border-color:#e4b128}
/* Detalhes após clique em compromisso, sem reservar a coluna lateral. */
html body .timeline-detail-overlay{
  position:fixed;z-index:140;top:calc(var(--v461-topbar-height,38px) + 12px);
  right:16px;bottom:18px;width:min(400px,calc(100vw - 24px));
  overflow-y:auto;overscroll-behavior:contain;
  border-radius:20px;box-shadow:0 22px 60px rgba(17,38,72,.27);
}
html body .timeline-detail-overlay .schedule-detail-card{
  background:var(--timeline-panel,var(--surface-solid,#fff));
  border:1px solid var(--border,#dae1ef);
  border-radius:20px;padding:18px;min-height:100%;
}
html[data-theme="dark"] body .schedule-timeline-app .timeline-event{color:#e9eef7}
html[data-theme="dark"] body .schedule-timeline-app .timeline-toolbar {background:#182333}
html[data-theme="dark"] body .schedule-timeline-app .timeline-calendar {background:#111b28}

/* Telas de desktop com barras horizontais estreitas */
@media (max-width:1250px){
  .schedule-timeline-app .timeline-live-clock{order:2;flex:1 1 100%}
  .schedule-timeline-app .timeline-mode-tabs{order:0}
  .schedule-timeline-app .timeline-toolbar-stats{order:1;margin-left:auto}
  .schedule-timeline-app .timeline-toolbar-actions{order:3;margin-left:auto}
  .schedule-timeline-app .timeline-year-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  html body main.page:not(.auth-page):has(.schedule-timeline-app){
    height:auto!important;max-height:none!important;overflow:visible!important;
    padding-bottom:95px!important;
  }
  html body main.page:not(.auth-page) .schedule-timeline-app{
    height:auto!important;max-height:none!important;min-height:0!important;
  }
  .schedule-timeline-app .timeline-toolbar{padding:8px;gap:7px}
  .schedule-timeline-app .timeline-mode-tabs{width:100%;justify-content:space-between;order:0}
  .schedule-timeline-app .timeline-mode-tabs a{flex:1;text-align:center;padding:8px 7px}
  .schedule-timeline-app .timeline-live-clock{order:1;flex:1 1 100%;text-align:center;justify-content:center;font-size:11px}
  .schedule-timeline-app .timeline-toolbar-stats{order:2;width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  .schedule-timeline-app .timeline-stat{display:grid;justify-items:center;gap:0;padding:5px 2px}
  .schedule-timeline-app .timeline-stat span{font-size:9px}
  .schedule-timeline-app .timeline-toolbar-actions{order:3;width:100%;display:grid;grid-template-columns:1fr 1fr;gap:6px}
  .schedule-timeline-app .timeline-toolbar-actions button{white-space:normal;font-size:10px}
  .schedule-timeline-app .timeline-calendar{height:min(72dvh,720px)!important;min-height:420px!important;flex:none!important}
  .schedule-timeline-app .timeline-chunk-heading{padding:10px}
  .schedule-timeline-app .timeline-chunk-heading h2{font-size:13px}
  .schedule-timeline-app .timeline-chunk-heading span{font-size:9px}
  .schedule-timeline-app .timeline-month-weekdays span{font-size:9px}
  .schedule-timeline-app .timeline-month-grid{grid-template-rows:repeat(6,minmax(74px,1fr));min-height:444px}
  .schedule-timeline-app .timeline-month-day{padding:3px}
  .schedule-timeline-app .timeline-date-number{width:24px;min-width:24px;height:24px;font-size:10px}
  .schedule-timeline-app .timeline-month-day .timeline-event{padding:3px 2px;gap:1px}
  .schedule-timeline-app .timeline-month-day .timeline-event time,
  .schedule-timeline-app .timeline-month-day .timeline-event span{display:none}
  .schedule-timeline-app .timeline-month-day .timeline-event strong{font-size:8px}
  .schedule-timeline-app .timeline-month-events{gap:2px;margin-top:2px}
  .schedule-timeline-app .timeline-year-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:7px}
  .schedule-timeline-app .timeline-year-month h3{font-size:11px;padding:8px}
  .schedule-timeline-app .timeline-mini-weekdays,.schedule-timeline-app .timeline-mini-grid{padding:2px 4px}
  .schedule-timeline-app .timeline-mini-day{min-height:22px}
  .schedule-timeline-app .timeline-mini-day .timeline-date-number{width:22px;height:22px;min-width:22px;font-size:9px}
  .schedule-timeline-app .timeline-week-day{grid-template-columns:95px minmax(0,1fr)}
  .schedule-timeline-app .timeline-week-day>header{padding:7px}
  .schedule-timeline-app .timeline-week-events{padding:7px}
  .schedule-timeline-app .timeline-hour{grid-template-columns:53px minmax(0,1fr)}
  .schedule-timeline-app .timeline-hour>time{padding:10px 5px}
  html body .timeline-detail-overlay{right:8px;bottom:10px}
}
@media (max-width:350px){
  .schedule-timeline-app .timeline-year-grid{grid-template-columns:1fr}
}


/* Agenda 4.8.9 - revisão: altura de cada célula idêntica, mesmo após
   carregar meses anteriores/posteriores. Nunca usar flex:1 sobre chunks. */
html body .schedule-timeline-app .timeline-chunks{
  display:block!important;
  flex:none!important;min-height:0!important;height:auto!important;
}
html body .schedule-timeline-app .timeline-chunk{
  display:flex!important;flex-direction:column!important;
  flex:none!important;min-height:0!important;height:auto!important;
  align-self:stretch!important;
}
html body .schedule-timeline-app .timeline-month-grid{
  --timeline-fixed-row:clamp(82px,calc(14.2857vw - 22px),158px);
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  grid-template-rows:repeat(6,var(--timeline-fixed-row))!important;
  grid-auto-rows:var(--timeline-fixed-row)!important;
  flex:none!important;
  height:calc(6 * var(--timeline-fixed-row))!important;
  min-height:0!important;max-height:none!important;
  align-content:start!important;
}
html body .schedule-timeline-app .timeline-month-day{
  min-height:0!important;max-height:var(--timeline-fixed-row)!important;
  height:var(--timeline-fixed-row)!important;
  overflow:hidden!important;
}
/* As cores e círculos só pertencem à miniatura anual. */
html body .schedule-timeline-app .mark-today>.timeline-date-number,
html body .schedule-timeline-app .mark-past>.timeline-date-number,
html body .schedule-timeline-app .mark-future>.timeline-date-number{
  border-color:transparent!important;color:var(--timeline-ink)!important;
}
html body .schedule-timeline-app .timeline-year-grid .mark-today>.timeline-date-number{
  border-color:#18a058!important;color:#16894e!important;
}
html body .schedule-timeline-app .timeline-year-grid .mark-past>.timeline-date-number{
  border-color:#ec6268!important;color:#c73540!important;
}
html body .schedule-timeline-app .timeline-year-grid .mark-future>.timeline-date-number{
  border-color:#e4b128!important;color:#ad7a06!important;
}
/* Dia: sete abas compactas logo abaixo dos filtros; o restante são
   as 24 horas do dia selecionado, sem carregar outros dias pelo scroll. */
html body .schedule-timeline-app .timeline-day-strip{
  flex:0 0 auto;display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:7px;min-width:0;
}
html body .schedule-timeline-app .timeline-day-strip a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;text-decoration:none!important;color:var(--timeline-ink);
  background:color-mix(in srgb,var(--timeline-panel) 92%,transparent);
  border:1px solid var(--timeline-line);border-radius:13px;
  padding:8px 3px;min-width:0;font-size:11px;transition:.12s;
}
html body .schedule-timeline-app .timeline-day-strip a span{
  color:var(--muted,#66758f);font-weight:650;
}
html body .schedule-timeline-app .timeline-day-strip a strong{
  font-size:15px;font-weight:850;
}
html body .schedule-timeline-app .timeline-day-strip a.active{
  border-color:var(--user-accent,#2878f5);
  box-shadow:inset 0 0 0 1px var(--user-accent,#2878f5);
  background:color-mix(in srgb,var(--user-accent,#2878f5) 12%,var(--timeline-panel));
}
html body .schedule-timeline-app .timeline-day-strip a.today:not(.active) strong{
  color:#16894e;
}
html body .schedule-timeline-app .timeline-month-events .timeline-event strong,
html body .schedule-timeline-app .timeline-week-events .timeline-event strong{
  display:block!important;
  opacity:1!important;visibility:visible!important;
}
@media(max-width:760px){
  html body .schedule-timeline-app .timeline-month-grid{
    --timeline-fixed-row:clamp(64px,calc(14.2857vw - 4px),92px);
  }
  html body .schedule-timeline-app .timeline-day-strip{gap:3px}
  html body .schedule-timeline-app .timeline-day-strip a{padding:7px 1px;border-radius:9px;font-size:9px}
  html body .schedule-timeline-app .timeline-day-strip a strong{font-size:13px}
}

/* 4.8.9 — Agendar: popup limpo, responsivo, contato pesquisável */
html body #schedule-create-dialog .schedule-create-dialog-clean{
  width:min(600px,calc(100vw - 24px))!important;
  max-height:min(86dvh,800px)!important;
  border-radius:23px!important;
  padding:clamp(16px,2.8vw,26px)!important;
  box-sizing:border-box!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
html body #schedule-create-dialog .schedule-create-dialog-clean .dialog-head{
  margin-bottom:16px!important;
  padding-bottom:13px!important;
  border-bottom:1px solid var(--border,#dbe3f2)!important;
}
html body #schedule-create-dialog .schedule-create-dialog-clean .dialog-head h2{
  font-size:clamp(23px,3vw,29px)!important;
  line-height:1.15!important;
  margin:0!important;
  font-weight:850!important;
}
html body #schedule-create-dialog .schedule-clean-form{
  display:flex!important;
  flex-direction:column!important;
  gap:15px!important;
  min-width:0!important;
}
html body #schedule-create-dialog .schedule-clean-form label,
html body #schedule-create-dialog .schedule-contact-picker>label{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  margin:0!important;
  color:var(--ink,#1b2941)!important;
  font-size:12px!important;
  font-weight:750!important;
}
html body #schedule-create-dialog .schedule-clean-form :is(input:not([type="hidden"]),select,textarea){
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  border-radius:12px!important;
  border:1px solid var(--border,#dbe3f2)!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#1b2941)!important;
  font-size:13px!important;
  padding:11px 13px!important;
  min-height:43px!important;
  box-shadow:none!important;
}
html body #schedule-create-dialog .schedule-clean-form :is(input,select,textarea):focus-visible{
  outline:2px solid var(--user-accent,#2878f5)!important;
  outline-offset:0!important;
}
html body #schedule-create-dialog .schedule-clean-form textarea{
  min-height:98px!important;
  max-height:220px!important;
  resize:vertical!important;
  line-height:1.5!important;
}
html body #schedule-create-dialog .schedule-clean-pair{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0!important;
}
html body #schedule-create-dialog .schedule-contact-picker{
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  position:relative!important;
  min-width:0!important;
}
html body #schedule-create-dialog .schedule-contact-results:not([hidden]){
  position:absolute!important;
  inset-inline:0!important;
  top:calc(100% + 5px)!important;
  width:100%!important;
  max-height:min(225px,35dvh)!important;
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  padding:6px!important;
  box-sizing:border-box!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  z-index:999!important;
  background:var(--surface-solid,#fff)!important;
  border:1px solid var(--border,#dbe3f2)!important;
  border-radius:14px!important;
  box-shadow:0 15px 42px rgba(15,37,74,.23)!important;
}
html body #schedule-create-dialog .schedule-contact-results[hidden]{
  display:none!important;
}
html body #schedule-create-dialog .schedule-contact-results .schedule-contact-option:not([hidden]){
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  text-align:left!important;
  width:100%!important;
  min-width:0!important;
  border:0!important;
  border-radius:9px!important;
  padding:9px 11px!important;
  background:transparent!important;
  cursor:pointer!important;
  gap:3px!important;
  color:var(--ink,#1b2941)!important;
}
html body #schedule-create-dialog .schedule-contact-results .schedule-contact-option[hidden]{
  display:none!important;
}
html body #schedule-create-dialog .schedule-contact-option:is(:hover,.active){
  background:color-mix(in srgb,var(--user-accent,#2878f5) 10%,var(--surface-solid,#fff))!important;
}
html body #schedule-create-dialog .schedule-contact-option strong{
  font-size:12px!important;font-weight:750!important;
  max-width:100%!important;
  text-overflow:ellipsis!important;
  overflow:hidden!important;white-space:nowrap!important;
}
html body #schedule-create-dialog .schedule-contact-option small{
  color:var(--muted,#71819a)!important;
  font-size:10px!important;
}
html body #schedule-create-dialog .dialog-actions{
  margin-top:5px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  gap:9px!important;
}
html body #schedule-create-dialog .dialog-actions>button{
  border-radius:12px!important;
  min-height:42px!important;
  padding:10px 18px!important;
}
html body .schedule-timeline-app[data-timeline-view="month"] .timeline-month-day{
  cursor:pointer!important;
}
@media(max-width:680px){
  html body #schedule-create-dialog .schedule-create-dialog-clean{
    max-height:calc(100dvh - 35px)!important;
    padding:15px!important;
    border-radius:18px!important;
  }
  html body #schedule-create-dialog .schedule-clean-pair{
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }
  html body #schedule-create-dialog .schedule-clean-form{
    gap:12px!important;
  }
  html body #schedule-create-dialog .dialog-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }
}

/* Agendar: respiro entre campos, sem modificar a posição do popup. */
html body #schedule-create-dialog .schedule-clean-form{
  gap:17px!important
}
html body #schedule-create-dialog .schedule-clean-form label,
html body #schedule-create-dialog .schedule-contact-picker>label{
  gap:8px!important;line-height:1.4!important
}
html body #schedule-create-dialog .schedule-contact-picker{
  gap:8px!important
}
html body #schedule-create-dialog .schedule-clean-pair{
  gap:15px!important
}
html body #schedule-create-dialog .schedule-message-field{
  display:flex!important;flex-direction:column!important;gap:8px!important
}
@media(max-width:680px){
  html body #schedule-create-dialog .schedule-clean-form{gap:15px!important}
  html body #schedule-create-dialog .schedule-clean-pair{gap:14px!important}
}

/* iPhone: o campo de data/hora e seus pais não expandem o popup Agendar. */
html body #schedule-create-dialog .schedule-clean-form,
html body #schedule-create-dialog .schedule-clean-pair,
html body #schedule-create-dialog .schedule-clean-pair>label{
  min-width:0!important;max-width:100%!important;box-sizing:border-box!important
}
html body #schedule-create-dialog .schedule-clean-form input[type="datetime-local"]{
  display:block!important;width:100%!important;max-width:100%!important;
  min-width:0!important;inline-size:100%!important;min-inline-size:0!important;
  box-sizing:border-box!important;overflow:hidden!important;
  padding-inline:12px!important;text-align:left!important
}
html body #schedule-create-dialog .schedule-clean-form input[type="datetime-local"]::-webkit-date-and-time-value{
  min-width:0!important;text-align:left!important
}
html body #schedule-create-dialog .schedule-clean-form input[type="datetime-local"]::-webkit-datetime-edit{
  min-width:0!important
}
@supports (-webkit-touch-callout:none){
  html body #schedule-create-dialog .schedule-clean-form :is(
    input:not([type=hidden]),textarea,select
  ){
    font-size:16px!important;-webkit-text-size-adjust:100%!important
  }
}
@media(max-width:680px){
  html body #schedule-create-dialog .schedule-clean-pair{
    grid-template-columns:minmax(0,1fr)!important
  }
}

/* Agendar: Data e hora com largura/altura idênticas a Título e Buscar contato. */
html body #schedule-create-dialog .schedule-clean-pair > .schedule-create-date-label{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-inline-size:0!important;
  box-sizing:border-box!important;
}
html body #schedule-create-dialog .schedule-date-input-frame{
  display:block!important;
  flex:0 1 auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-inline-size:0!important;
  height:43px!important;
  max-height:43px!important;
  overflow:hidden!important;
  border-radius:12px!important;
  box-sizing:border-box!important;
}
html body #schedule-create-dialog .schedule-date-input-frame > input[type=datetime-local]{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-inline-size:0!important;
  height:43px!important;
  min-height:43px!important;
  max-height:43px!important;
  margin:0!important;
  padding:0 13px!important;
  box-sizing:border-box!important;
  border-radius:12px!important;
  line-height:normal!important;
  font-size:16px!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  -webkit-text-size-adjust:100%!important;
}

/* Agendar: iniciar sem texto, usar apenas ícone de data/hora à direita. */
html body #schedule-create-dialog .schedule-date-icon-field{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  cursor:pointer!important;
}
html body #schedule-create-dialog .schedule-date-icon-field > input[type=datetime-local]{
  position:relative!important;
  z-index:1!important;
  cursor:pointer!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
  caret-color:transparent!important;
  padding-right:48px!important;
}
html body #schedule-create-dialog .schedule-date-icon-field > input[type=datetime-local]::-webkit-datetime-edit,
html body #schedule-create-dialog .schedule-date-icon-field > input[type=datetime-local]::-webkit-date-and-time-value{
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
}
html body #schedule-create-dialog .schedule-date-icon-field.has-selected-date > input[type=datetime-local],
html body #schedule-create-dialog .schedule-date-icon-field.has-selected-date > input[type=datetime-local]::-webkit-datetime-edit,
html body #schedule-create-dialog .schedule-date-icon-field.has-selected-date > input[type=datetime-local]::-webkit-date-and-time-value{
  color:var(--ink,#1b2941)!important;
  -webkit-text-fill-color:var(--ink,#1b2941)!important;
}
html body #schedule-create-dialog .schedule-date-icon-field > input[type=datetime-local]::-webkit-calendar-picker-indicator{
  opacity:0!important;
  cursor:pointer!important;
}
html body #schedule-create-dialog .schedule-date-field-icon{
  position:absolute!important;
  z-index:2!important;
  right:13px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  color:var(--muted,#607490)!important;
  display:grid!important;
  place-items:center!important;
  width:24px!important;
  height:24px!important;
  pointer-events:none!important;
}

/* Monthly day details — native top-layer modal, compact inline editing. */
html body #schedule-day-details-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid var(--hair,#dce4ef);border-radius:20px;background:var(--surface-solid,#fff);color:var(--text,#172036);box-shadow:0 24px 72px #14213c33;overflow:hidden}
#schedule-day-details-dialog::backdrop{background:#10203a55;backdrop-filter:blur(3px)}
.sd-day-card{display:flex;flex-direction:column;gap:12px;padding:16px;max-height:calc(100dvh - 28px);box-sizing:border-box;min-width:0}
.sd-day-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sd-day-card>header h2{font-size:19px;margin:0;color:var(--text)}
.sd-day-card>header p{font-size:12px;color:var(--sub,#718095);margin:3px 0 0}
.sd-close,.sd-delete{border:0;border-radius:50%;width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;background:color-mix(in srgb,var(--text,#172036) 6%,transparent);color:var(--sub,#718095);font-size:22px;line-height:1;cursor:pointer;padding:0}
.sd-delete:hover{color:#c33;background:#e4444414}
.sd-day-list{display:grid;gap:9px;overflow-y:auto;min-height:0;overscroll-behavior:contain;padding-right:2px}
.sd-event{display:grid;gap:8px;padding:11px;border:1px solid var(--hair,#dce4ef);border-radius:13px;background:color-mix(in srgb,var(--surface-solid,#fff) 97%,var(--accent,#2878f5));min-width:0}
.sd-event-head{display:flex;align-items:center;gap:9px;min-width:0}
.sd-time{font-size:14px;font-weight:750;color:var(--accent,#2878f5);flex:0 0 auto}
.sd-event-info{flex:1;min-width:0;display:grid;gap:3px}
.sd-event-info strong{font-size:13px;overflow-wrap:anywhere}
.sd-event-info small,.sd-event-title,.sd-attachment{font-size:11px;color:var(--sub,#718095);overflow-wrap:anywhere}
.sd-inline-edit{display:grid;gap:7px;min-width:0}
.sd-inline-edit label{display:grid;gap:4px;font-size:11px;font-weight:650;min-width:0;color:var(--sub,#718095)}
.sd-inline-edit input,.sd-inline-edit textarea{box-sizing:border-box;width:100%;min-width:0;padding:7px 9px;background:var(--surface-solid,#fff);border:1px solid var(--hair,#dce4ef);border-radius:9px;color:var(--text,#172036);font-size:16px}
.sd-inline-edit .sd-time-input{width:96px}
.sd-inline-edit textarea{resize:vertical;min-height:64px;max-height:200px}
.sd-save,.sd-secondary,.sd-danger{border:1px solid var(--hair,#dce4ef);border-radius:9px;background:var(--surface-solid,#fff);color:var(--accent,#2878f5);padding:8px 11px;font-size:12px;font-weight:650;cursor:pointer}
.sd-save{justify-self:end}
.sd-readonly{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.sd-link{font-size:11px;color:var(--accent,#2878f5);justify-self:end}
.sd-confirm{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;border-top:1px solid var(--hair,#dce4ef);padding-top:8px;font-size:12px}
.sd-confirm span{margin-right:auto}
.sd-danger{color:#c33}
.sd-day-card>footer{display:flex;gap:7px;flex-wrap:wrap}
.sd-day-card>footer button{flex:1;min-height:40px;font-size:12px;white-space:nowrap}
.sd-day-card [data-sd-status]:empty{display:none}
.sd-day-card [data-sd-status],.sd-empty{font-size:12px;color:var(--sub,#718095);margin:0;overflow-wrap:anywhere}
@media(max-width:480px){.sd-day-card{padding:12px;gap:9px}.sd-event{padding:9px}.sd-day-card>footer button{flex-basis:100%}}
/* Compact day cards and full-size message editor */
#schedule-day-details-dialog .sd-day-card{gap:9px;padding:12px}
#schedule-day-details-dialog .sd-event{gap:6px;padding:10px}
#schedule-day-details-dialog .sd-event-info strong{font-size:14px}
#schedule-day-details-dialog .sd-inline-edit{gap:5px;margin:0}
#schedule-day-details-dialog .sd-date-pair{display:grid;grid-template-columns: minmax(80px,1fr) minmax(0,1.65fr);gap:8px}
#schedule-day-details-dialog .sd-date-pair label{display:grid;gap:3px!important;margin:0!important;padding:0!important;min-height:0!important}
#schedule-day-details-dialog .sd-date-pair input{width:100%!important;height:34px!important;min-height:0!important;margin:0!important;padding:5px 8px!important;font-size:16px!important;color:var(--text,#172036);-webkit-text-fill-color:var(--text,#172036)}
#schedule-day-details-dialog [hidden],.sd-content-editor [hidden]{display:none!important}
#schedule-day-details-dialog .sd-message-preview{width:100%;text-align:left;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--hair,#dce4ef);border-radius:9px;background:var(--surface-solid,#fff);color:var(--text,#172036);padding:7px 9px;font:inherit;font-size:13px;line-height:1.4;cursor:pointer}
#schedule-day-details-dialog .sd-file-edit{border:0;background:transparent;color:var(--accent,#2878f5);padding:2px 0;text-align:left;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
#schedule-day-details-dialog .sd-switch{position:relative;width:36px;height:20px;flex:0 0 36px;border:0;border-radius:20px;background:#a2adbf;padding:2px;cursor:pointer}
#schedule-day-details-dialog .sd-switch[aria-checked=true]{background:#2878f5}
#schedule-day-details-dialog .sd-switch span{position:absolute;top:2px;left:2px;background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s}
#schedule-day-details-dialog .sd-switch[aria-checked=true] span{transform:translateX(16px)}
#schedule-day-details-dialog .sd-paused{background:color-mix(in srgb,var(--surface-solid,#fff) 93%,#98a2b3)}
.timeline-event.is-paused{opacity:.52;filter:grayscale(.75)}
.sd-readonly-status{font-size:11px;color:var(--sub,#718095)}
html body dialog.sd-content-editor{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(640px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;border:1px solid var(--hair,#dce4ef);border-radius:20px;background:var(--surface-solid,#fff);color:var(--text,#172036);padding:15px;box-shadow:0 20px 70px #14213c33}
.sd-content-editor::backdrop{background:#10203a66}
.sd-editor-shell{display:grid;gap:10px;min-width:0}
.sd-editor-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sd-editor-head strong{font-size:16px;overflow-wrap:anywhere}
.sd-editor-box{border:1px solid var(--hair,#dce4ef);border-radius:13px;overflow:hidden}
.sd-content-editor .sd-editor-message{box-sizing:border-box;width:100%;border:0!important;background:transparent!important;color:var(--text,#172036);padding:10px!important;min-height:140px;height:min(230px,32dvh);font-size:16px;resize:vertical;margin:0!important}
.sd-editor-tools{display:flex;align-items:center;gap:7px;padding:6px 9px}
.sd-editor-tools small{margin-left:auto;color:var(--sub,#718095);font-size:11px}
.sd-tool{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:9px;color:#2878f5;background:#2878f515;cursor:pointer}
.sd-tool svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.sd-emoji-picker{padding:7px;border-top:1px solid var(--hair,#dce4ef)}
.sd-emoji-picker input{box-sizing:border-box;width:100%;padding:7px 9px;border-radius:9px;border:1px solid var(--hair,#dce4ef);background:var(--surface-solid,#fff);color:var(--text,#172036);font-size:16px;margin:0 0 5px!important}
.sd-emoji-grid,.sd-emoji-recent{display:grid;grid-template-columns:repeat(auto-fill,minmax(36px,1fr));gap:0}
.sd-emoji-grid{max-height:min(180px,24dvh);overflow:auto}
.sd-emoji-recent{border-bottom:1px solid var(--hair,#dce4ef);margin-bottom:4px}
.sd-emoji-grid button,.sd-emoji-recent button{border:0;background:transparent;min-width:0;font-size:21px;line-height:1.3;padding:6px;cursor:pointer}
.sd-editor-preview{display:flex;align-items:center;gap:7px;margin:7px;padding:7px;border:1px solid var(--hair,#dce4ef);border-radius:9px}
.sd-editor-preview span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.sd-editor-status{font-size:12px;color:var(--sub,#718095)}
.sd-editor-status:empty{display:none}
.sd-editor-save{min-height:40px}


/* source: /assets/msnbot-schedule-alerts-v489.css */
/* MSNBOT Luz 4.8.9 — lembretes de Agenda integrados ao sino e modal central. */
html body .timeline-detail-overlay .timeline-reminder-card{
  padding:16px;margin-top:8px;border-radius:16px;
  border:1px solid var(--border,#dce5f4);
  background:color-mix(in srgb,var(--surface-solid,#fff) 93%,transparent);
  color:var(--ink,#17233a);
}
html body .timeline-detail-overlay .timeline-reminder-card h4{
  font-size:14px;font-weight:850;margin:0 0 10px;
}
html body .timeline-detail-overlay .timeline-alert-status{
  font-size:12px;color:#177a53;margin:5px 0 12px;line-height:1.4;
}
html body .timeline-detail-overlay .timeline-reminder-form{
  display:flex;flex-direction:column;gap:10px;
}
html body .timeline-detail-overlay .timeline-reminder-form label{
  display:flex;flex-direction:column;gap:5px;font-weight:750;font-size:12px;
}
html body .timeline-detail-overlay .timeline-reminder-form select{
  width:100%;min-width:0;background:var(--surface-solid,#fff);
  color:var(--ink,#17233a);border:1px solid var(--border,#dce3f0);
  border-radius:10px;padding:9px 11px;font-size:12px;
}
html body .timeline-detail-overlay .timeline-reminder-actions{
  display:flex;gap:8px;align-items:center;flex-wrap:wrap;
}
html body .timeline-detail-overlay .timeline-reminder-actions button{
  font-size:11px;border-radius:10px;padding:10px 11px;
}
html body .timeline-detail-overlay .schedule-detail-card{
  min-height:0!important;
}
html body dialog.msnbot-schedule-alert-dialog{
  width:min(460px,calc(100vw - 28px));max-width:calc(100vw - 28px);
  max-height:calc(100dvh - 50px);margin:auto;box-sizing:border-box;
  padding:0;overflow:auto;border:1px solid var(--border,#d8e3ef);
  border-radius:21px;background:var(--surface-solid,#fff);
  color:var(--ink,#17233a);box-shadow:0 25px 75px rgba(11,25,56,.35);
}
html body dialog.msnbot-schedule-alert-dialog::backdrop{
  background:rgba(12,27,51,.43);backdrop-filter:blur(6px);
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-content{
  padding:24px;display:flex;flex-direction:column;gap:12px;
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-icon{
  width:48px;height:48px;border-radius:15px;display:grid;place-items:center;
  background:color-mix(in srgb,var(--user-accent,#2878f5) 12%,transparent);
  font-size:24px;
}
html body dialog.msnbot-schedule-alert-dialog h2{
  font-size:21px;margin:0;line-height:1.2;
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-title{
  font-size:15px;font-weight:850;line-height:1.35;margin:0;overflow-wrap:anywhere;
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-details{
  font-size:13px;color:var(--muted,#6b788e);line-height:1.5;margin:0;overflow-wrap:anywhere;
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-buttons{
  display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin-top:6px;
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-buttons a,
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-buttons button{
  font-size:12px;border-radius:10px;text-decoration:none;
  padding:10px 14px;font-weight:800;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-buttons a{
  color:var(--ink,#223d5f);
  background:color-mix(in srgb,var(--user-accent,#2878f5) 9%,var(--surface-solid,#fff));
  border:1px solid var(--border,#dce3f0);
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-buttons button{
  background:var(--user-accent,#2878f5);color:white;border:1px solid transparent;
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-buttons button:disabled{
  opacity:.6;cursor:wait;
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-error{
  color:#b33240;font-size:12px;min-height:0;margin:0;
}
@media(max-width:600px){
  html body dialog.msnbot-schedule-alert-dialog .schedule-alert-content{padding:18px}
  html body dialog.msnbot-schedule-alert-dialog .schedule-alert-buttons{display:grid;grid-template-columns:1fr}
}

/* Resultado do envio agendado. Dois botões, sem sobreposição no iPhone. */
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-message{
  white-space:pre-wrap!important;
  font-size:13px!important;line-height:1.45!important;
  margin:0!important;padding:10px 12px!important;
  max-height:min(25dvh,190px)!important;overflow-y:auto!important;
  overflow-wrap:anywhere!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 90%,#d7e6fa)!important;
  border:1px solid var(--border,#dfe5f0)!important;border-radius:12px!important;
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-message[hidden],
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-resend[hidden],
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-link[hidden]{
  display:none!important;
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-buttons .schedule-alert-resend{
  color:#2356a5!important;
  background:color-mix(in srgb,var(--user-accent,#2878f5) 8%,var(--surface-solid,#fff))!important;
  border:1px solid var(--border,#c9daef)!important;
}
html body dialog.msnbot-schedule-alert-dialog .schedule-alert-buttons .schedule-alert-confirm{
  color:#fff!important;background:var(--user-accent,#2878f5)!important;
}
@media(max-width:600px){
  html body dialog.msnbot-schedule-alert-dialog .schedule-alert-buttons{
    grid-template-columns:1fr!important;
  }
  html body dialog.msnbot-schedule-alert-dialog .schedule-alert-buttons :is(button,a){
    width:100%!important;box-sizing:border-box!important;
    min-height:42px!important;
  }
}

/* Notificação de envio agendado: não modal, central e sem pedir confirmação. */
html body .msnbot-schedule-delivery-toast{
  position:fixed!important;left:50%!important;top:50%!important;
  transform:translate(-50%,-46%)!important;
  z-index:2147482000!important;
  display:flex!important;gap:13px!important;align-items:flex-start!important;
  width:min(420px,calc(100vw - 36px))!important;max-width:calc(100vw - 36px)!important;
  box-sizing:border-box!important;padding:19px 20px!important;
  border-radius:19px!important;border:1px solid var(--border,#d9e5f2)!important;
  background:var(--surface-solid,#fff)!important;color:var(--ink,#1b2d48)!important;
  box-shadow:0 18px 65px rgba(11,28,57,.26)!important;
  pointer-events:none!important;opacity:0;transition:opacity .22s ease,transform .22s ease;
}
html body .msnbot-schedule-delivery-toast[hidden]{display:none!important}
html body .msnbot-schedule-delivery-toast.is-visible{
  opacity:1!important;transform:translate(-50%,-50%)!important
}
html body .msnbot-schedule-delivery-toast .schedule-delivery-toast-icon{
  width:44px;height:44px;flex:0 0 44px;
  border-radius:14px;display:grid;place-items:center;
  background:var(--accent-soft,#eaf1ff);font-size:23px
}
html body .msnbot-schedule-delivery-toast .schedule-delivery-toast-content{
  flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:6px
}
html body .msnbot-schedule-delivery-toast .schedule-delivery-toast-title{
  font-size:16px;line-height:1.3;font-weight:850
}
html body .msnbot-schedule-delivery-toast .schedule-delivery-toast-body{
  margin:0!important;line-height:1.45!important;font-size:13px!important;overflow-wrap:anywhere
}
html body .msnbot-schedule-delivery-toast .schedule-delivery-toast-details{
  color:var(--muted,#748097);font-size:11px;line-height:1.35;
  overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical
}
@media(prefers-reduced-motion:reduce){
  html body .msnbot-schedule-delivery-toast{transition:none!important}
}

/* Compact translucent delivery notifications, stacked like iOS. */
html body .msnbot-delivery-glass-stack{
  position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;
  z-index:2147482000!important;width:min(390px,calc(100vw - 30px));box-sizing:border-box;
  display:grid;gap:6px;pointer-events:none;color:#fff;isolation:isolate;
}
html body .msnbot-delivery-glass-stack[hidden]{display:none!important}
.msnbot-delivery-glass-stack .delivery-glass-card,.msnbot-delivery-glass-stack .delivery-glass-layer{
  box-sizing:border-box;border:1px solid rgba(255,255,255,.32);
  background:linear-gradient(145deg,rgba(255,255,255,.13),rgba(255,255,255,.035)),rgba(22,25,34,.49);
  -webkit-backdrop-filter:blur(22px) saturate(150%);backdrop-filter:blur(22px) saturate(150%);
  border-radius:20px;box-shadow:inset 0 1px 1px #ffffff24,0 6px 20px #12192728;color:#fff;
}
.msnbot-delivery-glass-stack .delivery-glass-card{
  position:relative;z-index:3;display:flex;align-items:center;gap:8px;
  min-width:0;min-height:52px;padding:8px 9px 8px 11px;pointer-events:auto;
  touch-action:pan-y;user-select:none;-webkit-user-select:none;
  animation:delivery-glass-in .16s ease-out;
}
.msnbot-delivery-glass-stack .delivery-glass-layer{position:absolute;left:0;right:0;top:0;bottom:0;pointer-events:none}
.msnbot-delivery-glass-stack .layer-1{z-index:2;transform:translateY(6px) scale(.96)}
.msnbot-delivery-glass-stack .layer-2{z-index:1;transform:translateY(12px) scale(.91)}
.msnbot-delivery-glass-stack.is-stacked .delivery-glass-card{cursor:pointer}
.msnbot-delivery-glass-stack.is-expanded{max-height:min(70dvh,520px);overflow:auto;pointer-events:auto;overscroll-behavior:contain;padding:2px}
.msnbot-delivery-glass-stack .delivery-glass-icon{
  display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;border-radius:8px;
  background:linear-gradient(145deg,#53dc8a,#18a35d);color:white;font-size:16px;font-weight:700;
  box-shadow:inset 0 1px 1px #ffffff60;
}
.msnbot-delivery-glass-stack .delivery-glass-copy{flex:1;min-width:0;color:#fff;font-size:12px;font-weight:600;line-height:1.3;overflow-wrap:anywhere;text-shadow:0 1px 2px #0004}
.msnbot-delivery-glass-stack :is(.delivery-glass-close,.delivery-glass-count){
  box-sizing:border-box;display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;min-width:0;min-height:0;
  padding:0!important;margin:0!important;border:1px solid #ffffff25;border-radius:50%;background:#ffffff20;color:white;
  font-size:16px;line-height:1;cursor:pointer;
}
.msnbot-delivery-glass-stack .delivery-glass-count{font-size:11px;font-weight:700}
@keyframes delivery-glass-in{from{opacity:0;translate:0 -5px}to{opacity:1;translate:0 0}}
@media(max-width:600px){
  html body .msnbot-delivery-glass-stack{top:max(76px,calc(env(safe-area-inset-top) + 58px))!important;transform:translateX(-50%)!important;width:min(340px,calc(100vw - 28px))}
  .msnbot-delivery-glass-stack .delivery-glass-card{min-height:48px;padding:7px 8px 7px 10px;gap:7px;border-radius:19px}
  .msnbot-delivery-glass-stack .delivery-glass-copy{font-size:12px}
  .msnbot-delivery-glass-stack .delivery-glass-close{width:21px;height:21px;flex-basis:21px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){.msnbot-delivery-glass-stack .delivery-glass-card{animation:none}}


/* source: /assets/msnbot-schedule-compose-v489.css */
/* Compositor da Agenda — anexos e emojis responsivos. */
html body .schedule-compose-tools{position:relative;display:flex;justify-content:flex-start;align-items:center;min-height:34px;margin:6px 0}
html body .schedule-emoji-toggle{
  border:1px solid var(--border,#dbe4f2)!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#233653)!important;
  border-radius:11px!important;
  display:grid!important;place-items:center!important;
  font-size:21px!important;width:38px!important;height:36px!important;
  cursor:pointer!important;box-shadow:none!important;
}
html body .schedule-emoji-toggle[aria-expanded="true"]{border-color:#3c85ec!important;background:#e5f0ff!important}
html body .schedule-emoji-pop:not([hidden]){
  display:block!important;z-index:2147483646!important;
  padding:9px!important;box-sizing:border-box!important;
  max-width:calc(100vw - 24px)!important;max-height:260px!important;overflow-y:auto!important;
  background:var(--surface-solid,#fff)!important;
  border:1px solid var(--border,#d9e3f0)!important;
  border-radius:15px!important;
  box-shadow:0 14px 45px rgba(21,38,73,.23)!important;
}
html body .schedule-emoji-grid{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:3px!important}
html body .schedule-emoji-choice{
  display:grid!important;place-items:center!important;
  font-size:23px!important;width:100%!important;aspect-ratio:1!important;
  padding:2px!important;border:0!important;border-radius:8px!important;
  background:transparent!important;cursor:pointer!important;
}
html body .schedule-emoji-choice:hover{background:#e7f0ff!important}
html body .schedule-media-editor{
  border:1px solid var(--border,#dbe4f2)!important;
  padding:11px!important;border-radius:13px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 94%,#d8e6f8)!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;
  gap:8px!important;align-items:end!important;
}
html body .schedule-media-editor label{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important}
html body .schedule-media-editor select,
html body .schedule-media-editor input[type=file]{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  min-height:37px!important;padding:7px 8px!important;border:1px solid var(--border,#dce5ef)!important;
  border-radius:9px!important;background:var(--surface-solid,#fff)!important;
  font-size:12px!important;color:var(--ink,#1b2e50)!important;
}
html body .schedule-media-editor input[type=file]{font-size:10px!important;overflow:hidden!important}
html body .schedule-media-preview{grid-column:1/-1!important;font-size:10px!important;color:var(--muted,#64748b)!important}
html body .schedule-media-preview.is-error{color:#c13945!important}
html body .schedule-media-existing{
  grid-column:1/-1!important;display:flex!important;justify-content:space-between!important;align-items:center!important;
  gap:8px!important;flex-wrap:wrap!important;font-size:11px!important;
  margin:0!important;overflow-wrap:anywhere!important;
}
html body .schedule-media-existing span{display:flex!important;align-items:center!important;gap:5px!important;font-size:11px!important}
html body .schedule-media-existing input{width:16px!important;height:16px!important;min-height:0!important;margin:0!important}
@media(max-width:520px){
  html body .schedule-media-editor{grid-template-columns:minmax(0,1fr)!important}
  html body .schedule-media-preview{grid-column:1!important}
  html body .schedule-emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}
}

/* Layout 4.8.9 UI/CX: emoji dentro da caixa de mensagem. */
html body .schedule-message-field{
  display:block!important;min-width:0!important;position:relative!important;
}
html body .schedule-message-field>label{
  display:block!important;
  margin-bottom:6px!important;
}
html body .schedule-message-input{
  position:relative!important;width:100%!important;min-width:0!important;
}
html body .schedule-message-input textarea{
  display:block!important;box-sizing:border-box!important;
  width:100%!important;min-width:0!important;
  padding:12px 49px 12px 12px!important;
  margin:0!important;
}
html body .schedule-message-input .schedule-compose-tools{
  position:absolute!important;
  right:9px!important;top:9px!important;
  display:block!important;
  padding:0!important;margin:0!important;
  min-height:0!important;width:auto!important;
  z-index:4!important;
}
html body .schedule-message-input .schedule-emoji-toggle{
  display:grid!important;place-items:center!important;
  width:31px!important;height:31px!important;
  border-radius:10px!important;
  font-size:19px!important;
  padding:0!important;
  box-shadow:0 1px 4px rgba(20,44,80,.09)!important;
}

/* Um único controle de arquivo. Tipo definido pelo conteúdo no backend. */
html body .schedule-media-editor{
  grid-template-columns:minmax(0,1fr)!important;
  padding:9px 11px!important;gap:5px!important;
  border-radius:12px!important;
}
html body .schedule-media-editor label{
  grid-column:1!important;min-width:0!important;
  font-size:11px!important;
}
html body .schedule-media-editor input[type=file]{
  max-width:100%!important;
  width:100%!important;
  min-height:35px!important;
  padding:7px 9px!important;
  border-radius:9px!important;
  font-size:11px!important;
  overflow:hidden!important;
}
html body .schedule-media-editor .schedule-media-preview{
  grid-column:1!important;
  font-size:10px!important;line-height:1.3!important;
  overflow-wrap:anywhere!important;
}
html body .schedule-media-editor .schedule-media-existing{
  grid-column:1!important;
}

/* O segundo popup é um modal central, discreto e compacto. */
html body .timeline-detail-overlay{
  position:fixed!important;
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  width:min(408px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  max-height:min(690px,calc(100dvh - 32px))!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  border-radius:18px!important;
  box-shadow:0 0 0 100vmax rgba(19,32,58,.24),0 21px 64px rgba(18,37,76,.22)!important;
  z-index:2147483001!important;
  box-sizing:border-box!important;
}
html body .timeline-detail-overlay .schedule-detail-card.schedule-detail-compact{
  padding:13px 14px!important;
  border-radius:17px!important;
  min-height:0!important;
}
html body .timeline-detail-overlay .schedule-detail-compact .detail-title{
  margin-bottom:9px!important;
}
html body .timeline-detail-overlay .schedule-detail-compact .detail-title h3{
  font-size:16px!important;
}
html body .timeline-detail-overlay .schedule-detail-edit-form{
  display:grid!important;gap:7px!important;
}
html body .timeline-detail-overlay .schedule-detail-edit-form>label,
html body .timeline-detail-overlay .schedule-detail-edit-form .schedule-message-field>label{
  gap:4px!important;font-size:11px!important;
  margin:0!important;
}
html body .timeline-detail-overlay .schedule-detail-edit-form :is(input:not([type=file]):not([type=checkbox]),textarea){
  font-size:12px!important;
  min-height:35px!important;
  padding:8px 10px!important;
  border-radius:10px!important;
}
html body .timeline-detail-overlay .schedule-detail-edit-form .schedule-message-input textarea{
  min-height:82px!important;
  padding:10px 48px 10px 11px!important;
}
html body .timeline-detail-overlay .schedule-detail-edit-form .schedule-detail-save{
  min-height:36px!important;
  margin-top:1px!important;
  font-size:12px!important;
}
html body .timeline-detail-overlay .schedule-detail-delete-form{
  margin-top:6px!important;
}
html body .timeline-detail-overlay .schedule-detail-delete-form button{
  min-height:31px!important;
}
@media(max-width:560px){
  html body .timeline-detail-overlay{
    top:50%!important;
    left:50%!important;
    right:auto!important;
    width:min(400px,calc(100vw - 20px))!important;
    max-width:calc(100vw - 20px)!important;
    max-height:calc(100dvh - 28px)!important;
    transform:translate(-50%,-50%)!important;
  }
  html body .timeline-detail-overlay .schedule-detail-card.schedule-detail-compact{
    padding:12px!important;
  }
}
/* Emojis em camada superior: sem cortes no scroll da janela de edição. */
html body .schedule-emoji-pop:popover-open{
  margin:0!important;
  border:1px solid var(--border,#d9e3f0)!important;
  background:var(--surface-solid,#fff)!important;
  max-height:min(260px,55dvh)!important;
  overflow-y:auto!important;
}


/* source: /assets/msnbot-campaigns-unified-v489.css */
/* MSNBOT Luz 4.8.9 — Barra unificada de Campanhas.
   Escopo restrito à tela /campanhas e ao modal de criação. */
html body main.page:not(.auth-page) > .campaign-headbar{
  width:100%!important;max-width:none!important;
  display:grid!important;
  grid-template-columns:minmax(240px,1fr) auto auto!important;
  align-items:center!important;
  gap:clamp(8px,.9vw,14px)!important;
  margin:4px 0 13px!important;
  padding:10px 14px!important;
  min-width:0!important;
  border:1px solid color-mix(in srgb,var(--border,#d9e2ef) 82%,transparent)!important;
  border-radius:18px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 88%,transparent)!important;
  box-shadow:0 8px 22px rgba(16,37,68,.07)!important;
  backdrop-filter:blur(14px) saturate(115%)!important;
  -webkit-backdrop-filter:blur(14px) saturate(115%)!important;
  box-sizing:border-box!important;
}
html body main.page:not(.auth-page) > .campaign-headbar .campaign-search{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(100px,130px)!important;
  align-items:center!important;
  flex:1!important;
  gap:8px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
html body main.page:not(.auth-page) > .campaign-headbar .campaign-search :is(input,select){
  width:100%!important;min-width:0!important;
  height:40px!important;min-height:40px!important;
  padding:8px 12px!important;
  background:var(--surface-solid,#fff)!important;
  border:1px solid var(--border,#dfe6f2)!important;
  color:var(--ink,#1d2740)!important;
  border-radius:11px!important;
  font-size:12px!important;
  box-sizing:border-box!important;
}
html body main.page:not(.auth-page) > .campaign-headbar .campaign-search input::placeholder{
  color:var(--muted,#7e889a)!important;
}
html body main.page:not(.auth-page) > .campaign-headbar .campaign-stats{
  width:auto!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(75px,1fr))!important;
  flex:none!important;
  gap:7px!important;
  min-width:0!important;
  margin:0!important;
}
html body main.page:not(.auth-page) > .campaign-headbar .campaign-stats>div{
  box-sizing:border-box!important;
  min-width:0!important;
  padding:7px 9px!important;
  min-height:44px!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  gap:1px!important;
  border:1px solid var(--border,#dfe6f2)!important;
  border-radius:12px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 93%,transparent)!important;
}
html body main.page:not(.auth-page) > .campaign-headbar .campaign-stats strong{
  font-size:16px!important;font-weight:900!important;
  line-height:1.05!important;
  margin:0!important;
}
html body main.page:not(.auth-page) > .campaign-headbar .campaign-stats small{
  color:var(--muted,#77829a)!important;
  font-size:9px!important;
  line-height:1.2!important;
  margin:0!important;text-align:center!important;
  overflow-wrap:anywhere!important;
}
html body main.page:not(.auth-page) > .campaign-headbar .campaign-toolbar-actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex:none!important;min-width:0!important;
  margin:0!important;padding:0!important;gap:0!important;
}
html body main.page:not(.auth-page) > .campaign-headbar .campaign-toolbar-actions button{
  width:auto!important;flex:none!important;
  min-height:40px!important;
  padding:10px 14px!important;
  border-radius:12px!important;
  font-size:12px!important;font-weight:800!important;
  white-space:nowrap!important;
}
/* Campo modal sem opções desnecessárias e proporção do form original. */
html body .campaign-create-dialog .dialog-card{
  width:min(620px,calc(100vw - 28px))!important;
  max-height:calc(100dvh - 30px)!important;
  padding:22px!important;
  gap:14px!important;
}
html body .campaign-create-dialog .dialog-head{
  margin-bottom:1px!important;
  align-items:center!important;
}
html body .campaign-create-dialog .dialog-head h2{
  font-size:23px!important;
  line-height:1.2!important;
  margin:0!important;
}
html body .campaign-create-dialog .settings-form label{
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  margin:0!important;
  color:var(--ink,#17233a)!important;
  font-size:12px!important;
  font-weight:800!important;
}
html body .campaign-create-dialog .settings-form :is(input,select){
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#17233a)!important;
  border:1px solid var(--border,#dfe6f2)!important;
  padding:10px 12px!important;
  min-height:42px!important;
  border-radius:11px!important;
  font-size:12px!important;
  width:100%!important;
  min-width:0!important;
}
html body .campaign-create-dialog .form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:11px!important;
}
html body .campaign-create-dialog .settings-form>.primary{
  width:100%!important;
  min-height:44px!important;
  border-radius:11px!important;
}
@media screen and (min-width:761px) and (max-width:1250px){
  html body main.page:not(.auth-page) > .campaign-headbar{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  html body main.page:not(.auth-page) > .campaign-headbar .campaign-search{
    grid-column:1!important;
  }
  html body main.page:not(.auth-page) > .campaign-headbar .campaign-stats{
    grid-column:1!important;grid-row:2!important;
    justify-self:start!important;
  }
  html body main.page:not(.auth-page) > .campaign-headbar .campaign-toolbar-actions{
    grid-column:2!important;grid-row:1/3!important;
  }
}
@media screen and (max-width:760px){
  html body main.page:not(.auth-page) > .campaign-headbar{
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;margin-top:6px!important;
    padding:10px!important;
  }
  html body main.page:not(.auth-page) > .campaign-headbar .campaign-search{
    grid-template-columns:minmax(0,1fr) minmax(85px,32%)!important;
    gap:7px!important;
  }
  html body main.page:not(.auth-page) > .campaign-headbar .campaign-stats{
    width:100%!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
  }
  html body main.page:not(.auth-page) > .campaign-headbar .campaign-stats>div{
    padding:6px 2px!important;
    min-height:42px!important;
    border-radius:10px!important;
  }
  html body main.page:not(.auth-page) > .campaign-headbar .campaign-stats strong{
    font-size:14px!important;
  }
  html body main.page:not(.auth-page) > .campaign-headbar .campaign-stats small{
    font-size:8px!important;
  }
  html body main.page:not(.auth-page) > .campaign-headbar .campaign-toolbar-actions{
    width:100%!important;display:flex!important;
  }
  html body main.page:not(.auth-page) > .campaign-headbar .campaign-toolbar-actions button{
    width:100%!important;
  }
  html body .campaign-create-dialog .dialog-card{
    padding:17px!important;
  }
  html body .campaign-create-dialog .form-grid{
    grid-template-columns:1fr!important;
  }
}


/* source: /assets/msnbot-campaigns-compact-v489.css */
/* Campanhas: cartões minimalistas com copiar, contador e editar. */
html body main.page:not(.auth-page) .campaign-compact-list{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  padding:clamp(12px,1.6vw,22px)!important;
  border-radius:21px!important;
}
html body main.page:not(.auth-page) .campaign-compact-rows{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:10px!important;
  min-width:0!important;
  margin-top:14px!important;
}
html body main.page:not(.auth-page) .campaign-compact-row{
  display:flex!important;
  flex-direction:row!important;
  justify-content:flex-start!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
  gap:clamp(10px,1.4vw,16px)!important;
  padding:14px 16px!important;
  border-radius:16px!important;
  border:1px solid var(--border,#dce4ee)!important;
  background:var(--surface-solid,#fff)!important;
  transition:box-shadow .2s,border-color .2s!important;
  box-sizing:border-box!important;
}
html body main.page:not(.auth-page) .campaign-compact-row:hover{
  box-shadow:0 8px 30px rgba(23,43,82,.08)!important;
  border-color:color-mix(in srgb,var(--accent,#3489ec) 35%,var(--border,#dce4ee))!important;
}
html body main.page:not(.auth-page) .campaign-compact-row.is-inactive{
  opacity:.78!important;
}
html body main.page:not(.auth-page) .campaign-compact-icon{
  display:grid!important;
  place-items:center!important;
  width:46px!important;height:46px!important;
  min-width:46px!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#53b2ff,#2863e4)!important;
  color:#fff!important;
  font-size:24px!important;
  font-weight:850!important;
  flex:none!important;
}
html body main.page:not(.auth-page) .campaign-compact-info{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  flex:1 1 auto!important;
  gap:3px!important;
  overflow:hidden!important;
}
html body main.page:not(.auth-page) .campaign-compact-info>strong{
  display:block!important;
  max-width:100%!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  font-size:clamp(14px,1.2vw,17px)!important;
  line-height:1.3!important;
  color:var(--ink,#1b2b49)!important;
  font-weight:850!important;
}
html body main.page:not(.auth-page) .campaign-compact-info .campaign-compact-phrase,
html body main.page:not(.auth-page) .campaign-compact-info .campaign-compact-subinfo{
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:var(--muted,#667792)!important;
  font-size:11px!important;
  line-height:1.35!important;
}
html body main.page:not(.auth-page) .campaign-compact-subinfo{
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
}
html body main.page:not(.auth-page) .campaign-state-dot{
  display:inline-block!important;
  width:7px!important;height:7px!important;
  min-width:7px!important;
  border-radius:50%!important;
  background:#a2a9b6!important;
}
html body main.page:not(.auth-page) .campaign-state-dot.active{background:#20bc70!important;}
html body main.page:not(.auth-page) .campaign-compact-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:clamp(8px,.95vw,15px)!important;
  flex:none!important;
}
html body main.page:not(.auth-page) .campaign-compact-actions :is(button,.campaign-download-btn){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  box-sizing:border-box!important;
  min-height:38px!important;
  padding:9px 13px!important;
  font-size:12px!important;
  font-weight:800!important;
  border:1px solid var(--border,#dbe4f0)!important;
  border-radius:11px!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}
html body main.page:not(.auth-page) .campaign-compact-actions :is(button,.campaign-download-btn):focus-visible{
  outline:2px solid var(--accent,#3084fa)!important;
  outline-offset:3px!important;
}
html body main.page:not(.auth-page) .campaign-compact-actions :is(.campaign-copy-btn,.campaign-download-btn){
  background:linear-gradient(125deg,#297ef5,#2856b7)!important;
  border-color:transparent!important;
  color:#fff!important;
  min-width:116px!important;
}
html body main.page:not(.auth-page) .campaign-compact-actions :is(.campaign-copy-btn,.campaign-download-btn):disabled{
  opacity:.48!important;cursor:not-allowed!important;
}
html body main.page:not(.auth-page) .campaign-compact-actions .campaign-edit-btn{
  background:color-mix(in srgb,var(--surface-solid,#fff) 73%,#d7e7ff)!important;
  color:var(--accent,#2866dc)!important;
  min-width:66px!important;
}
html body main.page:not(.auth-page) .campaign-people-count{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:70px!important;
  flex:none!important;
  line-height:1.1!important;
  font-variant-numeric:tabular-nums!important;
}
html body main.page:not(.auth-page) .campaign-people-count strong{
  display:block!important;
  font-size:18px!important;
  font-weight:900!important;
  color:var(--ink,#17253e)!important;
}
html body main.page:not(.auth-page) .campaign-people-count small{
  display:block!important;
  margin-top:2px!important;
  font-size:10px!important;
  color:var(--muted,#6d7b93)!important;
}

/* Mesmo popup para criar e editar; QR disponível no editor, sem página secundária. */
html body .campaign-unified-dialog .dialog-card{
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  box-sizing:border-box!important;
}
html body .campaign-unified-dialog .campaign-edit-generated:not([hidden]){
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  padding:12px!important;
  border:1px solid var(--border,#dfe6f3)!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 90%,#e8f0ff)!important;
  border-radius:13px!important;
}
html body .campaign-unified-dialog [hidden]{display:none!important;}
html body .campaign-unified-dialog .campaign-link-label{
  font-size:11px!important;font-weight:800!important;
  color:var(--ink,#1c2b44)!important;
}
html body .campaign-unified-dialog .campaign-generated-link{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:7px!important;
  width:100%!important;
}
html body .campaign-unified-dialog .campaign-generated-link input{
  min-width:0!important;max-width:100%!important;
  text-overflow:ellipsis!important;
  font-size:11px!important;
  box-sizing:border-box!important;
}
html body .campaign-unified-dialog .campaign-generated-link button{
  min-height:40px!important;
  padding:8px 14px!important;
  border-radius:10px!important;
  border:0!important;
  color:#fff!important;
  background:linear-gradient(135deg,#3286fc,#285bbd)!important;
  font-weight:800!important;
  font-size:12px!important;
  cursor:pointer!important;
}
html body .campaign-unified-dialog .campaign-edit-qr:not([hidden]){
  display:flex!important;
  align-items:center!important;
  flex-direction:column!important;
  gap:6px!important;
  padding:4px!important;
}
html body .campaign-unified-dialog .campaign-edit-qr img{
  width:min(190px,70vw)!important;
  max-width:100%!important;
  aspect-ratio:1!important;
  object-fit:contain!important;
  border-radius:10px!important;
  background:#fff!important;
  padding:8px!important;
  box-sizing:border-box!important;
}
html body .campaign-unified-dialog .campaign-edit-qr a{
  color:var(--accent,#2f74d9)!important;
  font-size:12px!important;
  font-weight:800!important;
  text-decoration:underline!important;
}
html body .campaign-unified-dialog .campaign-edit-advanced{
  margin-top:2px!important;
  border-top:1px solid var(--border,#dfe6f2)!important;
  padding-top:9px!important;
  width:100%!important;
  color:var(--muted,#67758c)!important;
}
html body .campaign-unified-dialog .campaign-edit-advanced summary{
  cursor:pointer!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1.6!important;
}
html body .campaign-unified-dialog .campaign-edit-advanced-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin-top:10px!important;
}
html body .campaign-unified-dialog .campaign-edit-advanced-actions :is(button,a){
  display:inline-flex!important;
  justify-content:center!important;
  align-items:center!important;
  min-height:35px!important;
  border-radius:10px!important;
  padding:8px 11px!important;
  border:1px solid var(--border,#dfe6f2)!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#223651)!important;
  text-decoration:none!important;
  font-size:11px!important;
  font-weight:750!important;
  cursor:pointer!important;
}
html body .campaign-unified-dialog .campaign-edit-advanced-actions .campaign-advanced-delete{
  color:#bd3a4f!important;
}
@media (max-width:700px){
  html body main.page:not(.auth-page) .campaign-compact-list{padding:10px!important;}
  html body main.page:not(.auth-page) .campaign-compact-row{
    display:grid!important;
    grid-template-columns:38px minmax(0,1fr)!important;
    column-gap:10px!important;
    row-gap:10px!important;
    align-items:center!important;
    padding:11px!important;
  }
  html body main.page:not(.auth-page) .campaign-compact-icon{
    width:38px!important;height:38px!important;min-width:38px!important;
    border-radius:11px!important;font-size:19px!important;
  }
  html body main.page:not(.auth-page) .campaign-compact-actions{
    grid-column:1/-1!important;
    width:100%!important;
    justify-content:space-between!important;
  }
  html body main.page:not(.auth-page) .campaign-compact-actions :is(button,.campaign-download-btn){
    min-height:37px!important;
    padding:8px 10px!important;
    font-size:11px!important;
  }
  html body main.page:not(.auth-page) .campaign-compact-actions :is(.campaign-copy-btn,.campaign-download-btn){
    min-width:0!important;
    flex:1 1 auto!important;
  }
  html body main.page:not(.auth-page) .campaign-compact-actions .campaign-edit-btn{
    min-width:59px!important;
  }
  html body main.page:not(.auth-page) .campaign-people-count{
    min-width:54px!important;
  }
  html body main.page:not(.auth-page) .campaign-people-count strong{font-size:16px!important;}
  html body .campaign-unified-dialog .campaign-generated-link{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  html body .campaign-unified-dialog .campaign-generated-link button{
    padding:8px!important;
    font-size:11px!important;
  }
}

/* Link QR para download em PNG tem a mesma aparência de botão nativo. */
html body main.page:not(.auth-page) .campaign-compact-actions .campaign-download-btn{
  min-width:116px!important;
  text-decoration:none!important;
  line-height:1.25!important;
  cursor:pointer!important;
}
html body main.page:not(.auth-page) .campaign-headbar .campaign-stats{
  grid-template-columns:repeat(3,minmax(75px,1fr))!important;
}
@media(max-width:760px){
  html body main.page:not(.auth-page) .campaign-headbar .campaign-stats{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:700px){
  html body main.page:not(.auth-page) .campaign-compact-actions .campaign-download-btn{
    min-width:0!important;flex:1 1 auto!important;
  }
}

/* Link curto: prefixo visível e palavra personalizada com tamanho adaptável. */
html body .campaign-unified-dialog .campaign-short-prefix-input{
  display:flex!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  align-items:stretch!important;
  gap:0!important;
  overflow:hidden!important;
  border:1px solid var(--border,#dbe4f1)!important;
  border-radius:12px!important;
  background:var(--surface-solid,#fff)!important;
  transition:border-color .18s,box-shadow .18s!important;
}
html body .campaign-unified-dialog .campaign-short-prefix-input:focus-within{
  border-color:var(--accent,#3286ff)!important;
  box-shadow:0 0 0 3px rgba(50,134,255,.12)!important;
}
html body .campaign-unified-dialog .campaign-short-prefix{
  display:flex!important;
  align-items:center!important;
  flex:0 0 auto!important;
  padding:10px 9px 10px 13px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 80%,#edf2fc)!important;
  color:var(--muted,#64748b)!important;
  border-right:1px solid var(--border,#dbe4f1)!important;
  white-space:nowrap!important;
  font-size:12px!important;
  font-weight:700!important;
}
html body .campaign-unified-dialog .campaign-short-prefix-input input{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  border-radius:0!important;
  margin:0!important;
  padding:10px 12px!important;
  height:auto!important;
  min-height:42px!important;
  font-size:14px!important;
  color:var(--ink,#17253e)!important;
  background:var(--surface-solid,#fff)!important;
}
html body .campaign-unified-dialog .campaign-short-prefix-input input:focus{
  outline:none!important;
  border:0!important;
  box-shadow:none!important;
}
@media(max-width:480px){
  html body .campaign-unified-dialog .campaign-short-prefix{
    font-size:10px!important;
    padding:9px 7px!important;
  }
  html body .campaign-unified-dialog .campaign-short-prefix-input input{
    font-size:16px!important;
    min-height:39px!important;
    padding:9px 8px!important;
  }
}

/* Interruptor de campanha (POST com CSRF), responsivo em todos os tamanhos. */
html body main.page:not(.auth-page) .campaign-compact-actions .campaign-quick-switch{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  margin:0!important;
  padding:0!important;
}
html body main.page:not(.auth-page) .campaign-compact-actions .campaign-quick-switch button{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  width:70px!important;
  min-width:60px!important;
  min-height:42px!important;
  margin:0!important;
  padding:2px 6px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--muted,#66748b)!important;
  font-size:10px!important;
  cursor:pointer!important;
}
html body main.page:not(.auth-page) .campaign-compact-actions .campaign-switch-track{
  position:relative!important;
  display:block!important;
  width:39px!important;height:23px!important;
  min-height:23px!important;
  border-radius:99px!important;
  background:#afb9cc!important;
  border:1px solid #9caabd!important;
  transition:background .19s ease!important;
}
html body main.page:not(.auth-page) .campaign-compact-actions .campaign-switch-track i{
  position:absolute!important;
  display:block!important;
  top:2px!important;left:2px!important;
  width:17px!important;height:17px!important;
  background:#fff!important;border-radius:50%!important;
  box-shadow:0 1px 3px rgba(20,37,56,.23)!important;
  transition:transform .19s ease!important;
}
html body main.page:not(.auth-page) .campaign-compact-actions .campaign-quick-switch button[aria-checked="true"] .campaign-switch-track{
  background:linear-gradient(135deg,#31b977,#0d9a5a)!important;
  border-color:#16a263!important;
}
html body main.page:not(.auth-page) .campaign-compact-actions .campaign-quick-switch button[aria-checked="true"] .campaign-switch-track i{
  transform:translateX(16px)!important;
}
html body main.page:not(.auth-page) .campaign-compact-actions .campaign-quick-switch small{
  display:block!important;
  white-space:nowrap!important;
  color:var(--muted,#5f708a)!important;
  font-size:10px!important;
  font-weight:750!important;
}
@media(max-width:700px){
  html body main.page:not(.auth-page) .campaign-compact-actions .campaign-quick-switch button{
    width:54px!important;
    min-width:48px!important;
    padding:2px!important;
  }
  html body main.page:not(.auth-page) .campaign-compact-actions .campaign-quick-switch small{
    font-size:9px!important;
  }
}
@media(max-width:370px){
  html body main.page:not(.auth-page) .campaign-compact-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    justify-content:stretch!important;
    gap:7px!important;
  }
  html body main.page:not(.auth-page) .campaign-compact-actions :is(.campaign-copy-btn,.campaign-download-btn){
    grid-column:1!important;grid-row:1!important;
    width:100%!important;min-width:0!important;
  }
  html body main.page:not(.auth-page) .campaign-compact-actions .campaign-people-count{
    grid-column:2!important;grid-row:1!important;
  }
  html body main.page:not(.auth-page) .campaign-compact-actions .campaign-quick-switch{
    grid-column:1!important;grid-row:2!important;
    justify-self:start!important;
  }
  html body main.page:not(.auth-page) .campaign-compact-actions .campaign-edit-btn{
    grid-column:2!important;grid-row:2!important;
    width:100%!important;
  }
}


/* source: /assets/msnbot-team-studio-v489.css */
/* MSNBOT Luz 4.8.9 — Chat Equipe: Team Studio
   Layout responsivo: desktop/tablet duas colunas, celular lista ou conversa.
   Mantém eventos, anexos, emojis, grupos e GIFs da implementação original. */

/* Integração com o viewport/Dock sem reduzir a área útil. */
html body main.page:not(.auth-page):has(> .team-studio){
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  min-width:0!important;
  width:calc(100% - (2 * var(--v461-page-gap,7px)))!important;
  max-width:none!important;
  height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,75px) - 7px)!important;
  max-height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,75px) - 7px)!important;
  min-height:0!important;
  margin-top:0!important;
  padding-block:10px 0!important;
  padding-inline:0!important;
  overflow:hidden!important;
}
html body.dock-autohide:not(.dock-peek) main.page:not(.auth-page):has(> .team-studio),
html body.dock-manual-hidden main.page:not(.auth-page):has(> .team-studio){
  height:calc(100dvh - var(--v461-topbar-height,38px) - 8px)!important;
  max-height:calc(100dvh - var(--v461-topbar-height,38px) - 8px)!important;
}
html body.dock-autohide.dock-peek main.page:not(.auth-page):has(> .team-studio),
html body.dock-manual-open main.page:not(.auth-page):has(> .team-studio){
  height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,75px) - 6px)!important;
  max-height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,75px) - 6px)!important;
}
html body .team-studio.internal-v225.internal-chat-shell{
  --team-ink:#172740;
  --team-sub:#71809a;
  --team-line:rgba(79,104,146,.13);
  --team-side:rgba(246,248,255,.93);
  --team-paper:rgba(255,255,255,.96);
  --team-sent:#e6f0ff;
  --team-accent:var(--user-accent,var(--accent,#2777f5));
  display:grid!important;
  grid-template-columns:clamp(310px,26vw,388px) minmax(0,1fr)!important;
  gap:12px!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  min-height:0!important;height:100%!important;max-height:100%!important;
  flex:1 1 auto!important;align-self:stretch!important;
  margin:0!important;padding:0!important;
  background:none!important;
  box-sizing:border-box!important;
}
/* Superfícies amplas, sem cartões estreitos centralizados. */
html body .team-studio.internal-v225 :is(.internal-chat-sidebar,.internal-chat-main){
  display:flex;
  flex-direction:column;
  min-height:0!important;
  height:100%!important;
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  border:1px solid var(--team-line)!important;
  border-radius:22px!important;
  box-shadow:0 16px 52px rgba(29,43,83,.09)!important;
  backdrop-filter:blur(24px) saturate(135%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(135%)!important;
  color:var(--team-ink)!important;
}
html body .team-studio.internal-v225 .internal-chat-sidebar{
  background:var(--team-side)!important;
}
html body .team-studio.internal-v225 .internal-chat-main{
  position:relative!important;
  isolation:isolate;
  background:var(--team-paper)!important;
}
/* Coluna da equipe */
.team-studio .team-sidebar-heading{
  display:flex;align-items:center;gap:11px;
  padding:22px 19px 17px;
  min-height:92px;
  flex:none;
}
.team-studio .team-heading-emblem{
  display:grid;place-items:center;
  width:43px;height:43px;flex:0 0 43px;
  color:white;font-size:23px;font-weight:800;
  border-radius:15px;
  background:linear-gradient(135deg,#70c6ff 0%,#2878f5 50%,#7352ec 100%);
  box-shadow:0 9px 20px rgba(38,104,221,.22);
}
.team-studio .team-heading-copy{
  min-width:0;display:flex;flex-direction:column;gap:3px;flex:1;
}
.team-studio .team-eyebrow{
  color:var(--team-accent);font-size:9px;font-weight:900;
  letter-spacing:.135em;line-height:1.3;
}
.team-studio .team-heading-copy strong{
  color:var(--team-ink);font-size:18px;letter-spacing:-.045em;
  line-height:1.15;font-weight:850;
}
.team-studio .team-heading-copy small{
  color:var(--team-sub);font-size:10px;line-height:1.25;
}
.team-studio .team-chats-count{
  min-width:29px;min-height:29px;padding:5px;
  display:grid;place-items:center;flex:none;
  border-radius:9px;
  background:color-mix(in srgb,var(--team-accent) 9%,transparent);
  color:var(--team-accent);
  font-size:11px;font-weight:850;
}
html body .team-studio.internal-v225 .internal-chat-search{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center;gap:7px!important;
  padding:0 17px 13px!important;
  background:transparent!important;
  border:0!important;
  flex:none;
}
.team-studio .internal-chat-search input{
  width:100%!important;min-width:0!important;height:42px!important;
  border:1px solid var(--team-line)!important;
  border-radius:13px!important;
  padding:10px 13px!important;
  background:var(--team-paper)!important;color:var(--team-ink)!important;
  font-size:12px!important;outline-offset:2px;
  box-shadow:none!important;
}
.team-studio .internal-chat-search input::placeholder{color:var(--team-sub)!important;}
.team-studio .internal-chat-search button{
  padding:9px 11px!important;height:42px!important;
  border-radius:11px!important;
  color:var(--team-accent)!important;
  background:color-mix(in srgb,var(--team-accent) 9%,var(--team-paper))!important;
  border:1px solid var(--team-line)!important;
  font-size:11px!important;font-weight:800!important;
}
html body .team-studio.internal-v225 .internal-start{
  margin:0 17px 12px!important;
  border:1px solid color-mix(in srgb,var(--team-accent) 17%,var(--team-line))!important;
  border-radius:13px!important;
  background:color-mix(in srgb,var(--team-accent) 5%,var(--team-paper))!important;
  flex:none;
  position:relative;z-index:6;
}
html body .team-studio.internal-v225 .internal-start>summary{
  padding:12px 14px!important;
  font-size:12px!important;font-weight:850!important;
  color:var(--team-accent)!important;
  list-style:none;
}
.team-studio .internal-start>summary::-webkit-details-marker{display:none;}
.team-studio .internal-start>summary:before{
  content:"+";
  font-weight:900;font-size:17px;
  margin-right:9px;
}
.team-studio .internal-start[open]>summary:before{content:"−";}
.team-studio .internal-start>summary:hover{
  background:color-mix(in srgb,var(--team-accent) 10%,transparent)!important;
  transform:none!important;
}
.team-studio .internal-start-form{
  max-height:55dvh;overflow:auto;overscroll-behavior:contain;
}
.team-studio .internal-start-form :is(input,select){
  min-width:0;color:var(--team-ink);background:var(--team-paper);
  border:1px solid var(--team-line);border-radius:10px;
}
.team-studio .internal-start-form .internal-member-picker{max-height:180px;}
.team-studio .team-list-caption{
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 19px 9px;
  flex:none;
  color:var(--team-sub);font-size:9px;font-weight:850;
  letter-spacing:.11em;
  border-top:1px solid var(--team-line);
}
.team-studio .team-list-caption span:last-child{
  letter-spacing:0;color:var(--team-accent);
  font-size:10px;
}
html body .team-studio.internal-v225 .internal-conversation-list{
  display:flex!important;flex-direction:column;
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  gap:5px!important;
  padding:5px 10px 13px!important;
  overscroll-behavior:contain;
}
html body .team-studio.internal-v225 .internal-conversation-list>a{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) auto!important;
  gap:11px!important;align-items:center!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
  padding:11px 10px!important;
  min-width:0!important;min-height:65px!important;
  color:var(--team-ink)!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
  text-decoration:none!important;
}
html body .team-studio.internal-v225 .internal-conversation-list>a:hover{
  background:color-mix(in srgb,var(--team-accent) 7%,var(--team-paper))!important;
  transform:none!important;
}
html body .team-studio.internal-v225 .internal-conversation-list>a.active{
  background:color-mix(in srgb,var(--team-accent) 11%,var(--team-paper))!important;
  border-color:color-mix(in srgb,var(--team-accent) 23%,transparent)!important;
  box-shadow:inset 3px 0 0 var(--team-accent)!important;
}
.team-studio .team-chat-avatar{
  display:grid;place-items:center;
  width:43px;height:43px;min-width:43px;
  border-radius:15px;
  background:linear-gradient(145deg,#e8edff,#d9e9ff);
  color:#285baf;
  font-size:17px;font-weight:850;
  border:1px solid rgba(85,132,213,.17);
}
.team-studio .internal-conversation-list>a:nth-child(3n+2) .team-chat-avatar{
  background:linear-gradient(135deg,#efe9ff,#e4dafa);
  color:#7845bb;
}
.team-studio .internal-conversation-list>a:nth-child(3n+3) .team-chat-avatar{
  background:linear-gradient(135deg,#dff8f1,#dceffc);
  color:#128e8c;
}
.team-studio .internal-conversation-list>a>span:nth-child(2){
  min-width:0;display:flex;flex-direction:column;gap:5px;
}
.team-studio .internal-conversation-list strong{
  color:var(--team-ink);font-size:12px;font-weight:800;
  line-height:1.22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.team-studio .internal-conversation-list small{
  color:var(--team-sub);font-size:11px;line-height:1.25;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.team-studio .internal-conversation-list>a b{
  display:grid;place-items:center;
  min-width:21px;height:21px;
  border-radius:999px;background:var(--team-accent);color:#fff;
  font-size:10px;font-weight:850;padding:2px 5px;
}
.team-studio .team-sidebar-foot{
  min-height:49px;flex:none;
  display:flex;gap:8px;align-items:center;
  border-top:1px solid var(--team-line);
  padding:10px 19px;
  color:var(--team-sub);
  font-size:10px;font-weight:700;
}
.team-studio .team-sidebar-foot>span:last-child{
  margin-left:auto;font-size:9px;
  letter-spacing:.08em;color:var(--team-accent);
  font-weight:850;
}
.team-studio .team-status-indicator,
.team-studio .team-header-live{
  display:inline-block;flex:none;
  width:7px;height:7px;border-radius:50%;
  background:#21b576;box-shadow:0 0 0 3px rgba(33,181,118,.13);
}
/* Painel de boas-vindas: editorial, luminoso, não é mais um bloco branco vazio. */
html body .team-studio.internal-v225 .internal-chat-main:has(.internal-chat-empty){
  display:grid!important;
  grid-template-rows:minmax(0,1fr)!important;
}
html body .team-studio.internal-v225 .internal-chat-empty{
  grid-row:1/-1;min-height:0!important;height:100%!important;
  width:100%!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  position:relative;overflow:hidden;
  gap:16px!important;
  background:
    radial-gradient(ellipse at 50% 32%,rgba(105,160,255,.18),transparent 49%),
    radial-gradient(ellipse at 79% 82%,rgba(135,108,248,.08),transparent 45%),
    linear-gradient(165deg,rgba(255,255,255,.35),rgba(230,239,255,.45))!important;
  padding:clamp(24px,5vw,65px)!important;
  color:var(--team-ink)!important;
  text-align:center;
}
.team-studio .internal-chat-empty:after{
  content:"";position:absolute;pointer-events:none;
  inset:auto -12% -38% -12%;height:60%;
  border:1px solid rgba(94,138,224,.12);
  border-radius:50%;
  box-shadow:0 -40px 0 rgba(121,160,235,.02);
}
.team-studio .team-empty-visual{
  position:relative;
  width:clamp(148px,20vw,208px);
  height:clamp(148px,20vw,208px);
  display:grid;place-items:center;
  flex:none;
}
.team-studio .team-empty-orbit{
  position:absolute;inset:6%;
  border:1px solid rgba(85,139,231,.22);
  border-radius:50%;
  box-shadow:0 0 0 19px rgba(85,139,231,.035),0 0 0 43px rgba(85,139,231,.025);
}
.team-studio .team-empty-dot{
  width:9px;height:9px;position:absolute;
  border-radius:50%;
  background:#4e99f5;box-shadow:0 0 0 5px rgba(78,153,245,.1);
}
.team-studio .team-empty-dot.a{top:5%;right:15%}
.team-studio .team-empty-dot.b{
  width:7px;height:7px;bottom:20%;left:8%;
  background:#a175e7;
}
html body .team-studio.internal-v225 .internal-chat-empty img{
  width:clamp(100px,12vw,135px)!important;
  height:clamp(100px,12vw,135px)!important;
  max-width:135px!important;max-height:135px!important;
  position:relative;z-index:2;
  object-fit:contain!important;
  filter:drop-shadow(0 12px 24px rgba(40,85,165,.18));
}
.team-studio .team-empty-copy{
  z-index:1;position:relative;
  max-width:460px;display:flex;flex-direction:column;
  gap:12px;align-items:center;
}
.team-studio .team-empty-copy .team-eyebrow{
  color:var(--team-accent);font-size:10px;letter-spacing:.135em;
}
html body .team-studio.internal-v225 .team-empty-copy strong{
  font-size:clamp(20px,2.35vw,32px)!important;
  letter-spacing:-.055em;line-height:1.16!important;
  font-weight:875;color:var(--team-ink)!important;
}
.team-studio .team-empty-copy p{
  color:var(--team-sub);line-height:1.6;
  margin:0;font-size:clamp(12px,1.04vw,14px);
}
.team-studio .team-empty-tip{
  display:inline-flex;gap:6px;align-items:center;
  margin-top:12px;
  border:1px solid var(--team-line);
  background:rgba(255,255,255,.55);
  border-radius:999px;
  padding:10px 17px;
  color:var(--team-sub);font-size:11px;font-weight:750;
}
/* Conversa aberta */
html body .team-studio.internal-v225 .internal-chat-main:has(.internal-messages){
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
}
html body .team-studio.internal-v225 .internal-chat-header{
  display:flex!important;align-items:center!important;
  gap:12px!important;
  min-height:75px!important;flex:0 0 auto!important;
  padding:13px 22px!important;
  background:var(--team-paper)!important;
  border-bottom:1px solid var(--team-line)!important;
  color:var(--team-ink)!important;
}
.team-studio .team-mobile-back{display:none;}
.team-studio .internal-chat-header .internal-avatar.large{
  width:45px;height:45px;flex:0 0 45px;
  display:grid;place-items:center;
  border-radius:15px!important;
  background:linear-gradient(135deg,#d9ecff,#e9e4ff)!important;
  color:var(--team-accent);
  font-size:17px;font-weight:850;
  border:1px solid var(--team-line);
}
.team-studio .internal-chat-title{min-width:0;flex:1 1 auto;}
.team-studio .internal-chat-title strong{
  font-size:15px;font-weight:850;
  letter-spacing:-.025em;
  color:var(--team-ink);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.team-studio .internal-chat-title small{
  display:flex!important;align-items:center;
  gap:8px;margin-top:3px!important;
  color:var(--team-sub)!important;font-size:11px!important;
}
.team-studio .internal-group-menu{margin-left:auto;flex:0 0 auto;}
.team-studio .internal-group-menu>summary{
  border-radius:11px;padding:9px 11px;
  background:color-mix(in srgb,var(--team-accent) 7%,var(--team-paper));
  color:var(--team-accent);font-size:11px;font-weight:800;
  cursor:pointer;
}
.team-studio .internal-group-panel{
  max-width:min(340px,calc(100vw - 30px));
  max-height:min(68dvh,560px);
  overflow:auto;
  border-radius:15px;
  background:var(--team-paper);
  color:var(--team-ink);
  border:1px solid var(--team-line);
}
html body .team-studio.internal-v225 .internal-messages{
  min-width:0!important;min-height:0!important;
  flex:1 1 auto!important;
  height:auto!important;max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:clamp(14px,2vw,29px)!important;
  background-color:rgba(244,248,255,.7)!important;
  background-image:var(--team-wallpaper,linear-gradient(170deg,rgba(241,247,255,.97),rgba(249,250,255,.94)))!important;
  background-size:cover!important;
  background-position:center!important;
  overscroll-behavior:contain;
  scroll-behavior:auto!important;
}
html body .team-studio.internal-v225 .internal-message{
  max-width:min(73%,680px)!important;
  border-radius:17px!important;
  box-shadow:0 4px 14px rgba(27,52,91,.065)!important;
  padding:11px 15px!important;
  line-height:1.5;
  overflow-wrap:anywhere;
  margin-bottom:11px!important;
}
html body .team-studio.internal-v225 .internal-message.mine{
  background:linear-gradient(135deg,#e4efff,#ddecff)!important;
  color:#1c3350!important;
  border:1px solid rgba(98,147,237,.13)!important;
  border-bottom-right-radius:6px!important;
}
html body .team-studio.internal-v225 .internal-message.theirs{
  background:#fff!important;
  color:#192c44!important;
  border:1px solid rgba(86,111,151,.13)!important;
  border-bottom-left-radius:6px!important;
}
.team-studio .internal-message .internal-message-body{
  font-size:13px;line-height:1.5;
}
.team-studio .internal-message footer{
  font-size:10px!important;color:#72849b!important;
  margin-top:7px!important;
}
html body .team-studio.internal-v225 .internal-composer{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  flex:none!important;
  gap:8px!important;
  align-items:end!important;
  min-width:0!important;
  padding:13px 16px!important;
  background:var(--team-paper)!important;
  border-top:1px solid var(--team-line)!important;
  box-shadow:0 -7px 22px rgba(30,53,85,.025);
}
.team-studio .internal-composer .internal-attach-actions{
  display:flex;gap:6px;align-items:center;
  align-self:center!important;
}
html body .team-studio.internal-v225 .internal-attach-actions :is(label,button){
  display:grid;place-items:center;
  width:39px!important;height:39px!important;
  flex:none;border:1px solid var(--team-line)!important;
  border-radius:12px!important;
  background:color-mix(in srgb,var(--team-accent) 5%,var(--team-paper))!important;
  color:var(--team-accent)!important;
  font-size:17px!important;
  box-shadow:none!important;
}
html body .team-studio.internal-v225 .internal-compose-field textarea{
  min-height:45px!important;
  max-height:130px!important;
  width:100%!important;min-width:0!important;
  border-radius:15px!important;
  background:var(--team-paper)!important;
  border:1px solid var(--team-line)!important;
  padding:13px 56px 12px 15px!important;
  color:var(--team-ink)!important;
  font-size:13px!important;
  box-sizing:border-box!important;
  resize:none!important;
}
.team-studio .internal-compose-field textarea:focus{
  outline:2px solid color-mix(in srgb,var(--team-accent) 30%,transparent)!important;
  outline-offset:0!important;
}
html body .team-studio.internal-v225 .internal-send-icon{
  width:34px!important;height:34px!important;
  border-radius:12px!important;
  right:6px!important;bottom:6px!important;
  box-shadow:0 4px 12px rgba(30,91,195,.2)!important;
}
.team-studio .internal-send-status{
  grid-column:1/-1;
  min-height:0!important;
  font-size:10px!important;
}
.team-studio .internal-send-status:empty{
  display:none!important;
}
.team-studio .internal-emoji-panel,
.team-studio .internal-command-panel{
  border-radius:15px!important;
  background:var(--team-paper)!important;
  border:1px solid var(--team-line)!important;
  color:var(--team-ink)!important;
}
/* Dark mode */
html[data-theme="dark"] body .team-studio.internal-v225{
  --team-ink:#ecf3ff;--team-sub:#9eb0c8;--team-line:#34485e;
  --team-side:rgba(23,33,49,.95);
  --team-paper:rgba(20,31,46,.97);
  --team-sent:#223c58;
}
html[data-theme="dark"] body .team-studio.internal-v225 .internal-chat-sidebar,
html[data-theme="dark"] body .team-studio.internal-v225 .internal-chat-main{
  color:var(--team-ink)!important;border-color:var(--team-line)!important;
}
html[data-theme="dark"] body .team-studio.internal-v225 .internal-chat-empty{
  background:
    radial-gradient(ellipse at 50% 32%,rgba(57,99,183,.22),transparent 48%),
    linear-gradient(165deg,#152235,#111c2c)!important;
}
html[data-theme="dark"] .team-studio .team-empty-tip{
  background:rgba(49,72,107,.27);
}
html[data-theme="dark"] body .team-studio.internal-v225 .internal-messages{
  background-color:#101a2b!important;
  background-image:var(--team-wallpaper,linear-gradient(165deg,#142235,#101a2b))!important;
}
html[data-theme="dark"] body .team-studio.internal-v225 .internal-message.mine{
  background:#244366!important;color:#f3f8ff!important;
  border-color:#365e87!important;
}
html[data-theme="dark"] body .team-studio.internal-v225 .internal-message.theirs{
  background:#1c2b3d!important;color:#f2f7ff!important;
  border-color:#374b62!important;
}
html[data-theme="dark"] body .team-studio.internal-v225 .internal-message footer{color:#b1c0d2!important;}
html[data-theme="dark"] .team-studio .team-chat-avatar{
  background:linear-gradient(135deg,#2c4360,#35456a);color:#c0d6fd;
}
html[data-theme="dark"] .team-studio .internal-conversation-list>a:nth-child(3n+2) .team-chat-avatar{
  background:linear-gradient(135deg,#493a6b,#39345e);color:#e5d5ff;
}
html[data-theme="dark"] .team-studio .internal-conversation-list>a:nth-child(3n+3) .team-chat-avatar{
  background:linear-gradient(135deg,#224b4b,#234458);color:#a8e6d9;
}
/* Tablet: mantém a lista de pessoas acessível sem comprimir as mensagens. */
@media screen and (min-width:701px) and (max-width:1050px){
  html body .team-studio.internal-v225.internal-chat-shell{
    grid-template-columns:clamp(255px,32vw,310px) minmax(0,1fr)!important;
    gap:8px!important;
  }
  .team-studio .team-sidebar-heading{padding:17px 13px 13px;gap:9px}
  .team-studio .team-heading-copy strong{font-size:15px}
  .team-studio .team-heading-emblem{width:38px;height:38px;flex-basis:38px}
  html body .team-studio.internal-v225 .internal-chat-search{padding-inline:11px!important}
  html body .team-studio.internal-v225 .internal-start{margin-inline:11px!important}
  html body .team-studio.internal-v225 .internal-conversation-list>a{padding:9px 8px!important}
  html body .team-studio.internal-v225 .internal-composer{padding:10px!important}
  html body .team-studio.internal-v225 .internal-message{max-width:84%!important}
}
/* Mobile: a lista vira uma tela e a conversa outra, sem duas colunas espremidas. */
@media screen and (max-width:700px){
  html body main.page:not(.auth-page):has(> .team-studio){
    width:calc(100% - 12px)!important;
    margin-inline:6px!important;
    height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,75px) - 3px)!important;
    max-height:calc(100dvh - var(--v461-topbar-height,38px) - var(--v461-dock-height,75px) - 3px)!important;
    padding-top:5px!important;
    padding-bottom:0!important;
    overflow:hidden!important;
  }
  html body .team-studio.internal-v225.internal-chat-shell{
    grid-template-columns:1fr!important;gap:0!important;
    min-height:0!important;height:100%!important;
    grid-template-rows:minmax(0,1fr)!important;
  }
  html body .team-studio.internal-v225 .internal-chat-sidebar,
  html body .team-studio.internal-v225 .internal-chat-main{
    grid-column:1!important;grid-row:1!important;
    height:100%!important;
    min-height:0!important;border-radius:16px!important;
  }
  html body .team-studio.internal-v225:not(:has(.internal-messages)) .internal-chat-main{
    display:none!important;
  }
  html body .team-studio.internal-v225:has(.internal-messages) .internal-chat-sidebar{
    display:none!important;
  }
  html body .team-studio.internal-v225 .internal-chat-header{
    min-height:60px!important;padding:9px 11px!important;gap:9px!important;
  }
  .team-studio .team-mobile-back{
    width:35px;height:35px;flex:0 0 35px;
    display:grid;place-items:center;
    text-decoration:none;color:var(--team-accent);
    font-size:29px;font-weight:400;
    border:1px solid var(--team-line);
    border-radius:11px;
  }
  .team-studio .internal-chat-header .internal-avatar.large{
    width:37px;height:37px;flex-basis:37px;border-radius:12px!important;
  }
  .team-studio .internal-chat-title strong{font-size:13px}
  .team-studio .internal-chat-title small{font-size:10px!important}
  html body .team-studio.internal-v225 .internal-message{
    max-width:89%!important;padding:9px 12px!important;
  }
  html body .team-studio.internal-v225 .internal-messages{
    padding:12px 9px!important;
  }
  html body .team-studio.internal-v225 .internal-composer{
    padding:9px!important;gap:7px!important;
  }
  html body .team-studio.internal-v225 .internal-attach-actions :is(label,button){
    width:32px!important;height:37px!important;border-radius:10px!important;
    font-size:15px!important;
  }
  .team-studio .internal-composer .internal-attach-actions{gap:4px}
  html body .team-studio.internal-v225 .internal-compose-field textarea{
    min-height:43px!important;font-size:13px!important;
  }
  /* Chat aberto: a barra de digitação ocupa a área que era do Dock. */
  html body:has(.team-studio:has(.internal-messages)) #msnbot-dock{
    display:none!important;
  }
  html body:has(.team-studio:has(.internal-messages)) main.page:not(.auth-page):has(> .team-studio){
    height:calc(100dvh - var(--v461-topbar-height,38px) - 5px)!important;
    max-height:calc(100dvh - var(--v461-topbar-height,38px) - 5px)!important;
  }
}
@media screen and (max-width:360px){
  .team-studio .team-sidebar-heading{padding:15px 10px 12px;gap:7px}
  .team-studio .team-heading-copy strong{font-size:15px}
  html body .team-studio.internal-v225 .internal-attach-actions :is(label,button){
    width:30px!important;
  }
  html body .team-studio.internal-v225 .internal-group-menu>summary{
    padding:7px;font-size:10px;
  }
}
@media(prefers-reduced-motion:reduce){
  .team-studio *{scroll-behavior:auto!important}
}


/* Estado sem conversas: discreto e integrado ao painel de pessoas. */
html body .team-studio.internal-v225 .team-list-empty{
  margin:5px 16px 20px;padding:17px;
  text-align:center;
  border:1px dashed var(--team-line);
  background:color-mix(in srgb,var(--team-accent) 4%,var(--team-paper));
  border-radius:14px;
  color:var(--team-sub);
  font-size:12px;line-height:1.5;
}
html body .team-studio.internal-v225 .team-list-empty strong{
  color:var(--team-accent);
}


/* source: /assets/msnbot-audience-unified-v489.css */
/* MSNBOT 4.8.9 — Audiência: cabeçalho único e formulários rápidos.
   Isolado ao módulo Audiência e ao card Cobranças do Bate-Papo. */
html body main.page:not(.auth-page)>.audience-headbar{
  display:grid!important;
  grid-template-columns:minmax(160px,1fr) auto auto!important;
  align-items:center!important;gap:clamp(7px,.9vw,14px)!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:4px 0 13px!important;padding:10px 14px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 89%,transparent)!important;
  border:1px solid color-mix(in srgb,var(--border,#dce4f0) 85%,transparent)!important;
  border-radius:18px!important;
  box-shadow:0 8px 22px rgba(16,37,68,.075)!important;
  backdrop-filter:blur(16px) saturate(120%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(120%)!important;
  overflow:visible!important;isolation:isolate;
  box-sizing:border-box!important;
}
html body .audience-headbar .audience-search{
  min-width:0!important;display:flex!important;flex:1!important;
  margin:0!important;padding:0!important;
}
html body .audience-headbar .audience-search input{
  width:100%!important;max-width:none!important;min-width:0!important;
  height:40px!important;min-height:40px!important;
  border-radius:11px!important;
  padding:9px 12px!important;
  border:1px solid var(--border,#dce4f0)!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#1c2a43)!important;
  font-size:12px!important;
}
html body .audience-headbar .audience-stats{
  min-width:0!important;width:auto!important;
  margin:0!important;padding:0!important;
  display:grid!important;grid-template-columns:repeat(2,minmax(78px,1fr))!important;
  gap:7px!important;overflow:visible!important;
}
html body .audience-headbar .audience-stats>div{
  display:flex!important;flex-direction:column;align-items:center;justify-content:center;
  min-width:0!important;min-height:44px!important;
  padding:7px 11px!important;
  border:1px solid var(--border,#dae3f0)!important;
  border-radius:12px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 94%,transparent)!important;
  box-sizing:border-box!important;
}
html body .audience-headbar .audience-stats strong{
  font-size:16px!important;line-height:1.1!important;font-weight:900!important;
  color:var(--ink,#17253e)!important;
}
html body .audience-headbar .audience-stats small{
  color:var(--muted,#77839b)!important;font-size:9px!important;
  text-align:center;line-height:1.25!important;margin-top:1px!important;
}
html body .audience-headbar .audience-head-right{
  display:flex;align-items:center;justify-content:flex-end;
  gap:8px;min-width:0!important;
}
html body .audience-headbar .audience-status-select{
  width:clamp(96px,10vw,145px)!important;min-width:0!important;
  min-height:40px!important;height:40px!important;
  border-radius:11px!important;
  border:1px solid var(--border,#dae3f0)!important;
  padding:8px 10px!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#17253e)!important;font-size:12px!important;
  box-sizing:border-box!important;
}
html body .audience-headbar .audience-top-actions{
  display:flex!important;align-items:center!important;
  flex-wrap:nowrap!important;gap:7px!important;
  min-width:0!important;
  margin:0!important;padding:0!important;
}
html body .audience-headbar .audience-top-actions>.toolbar-pop{
  position:relative!important;margin:0!important;flex:none!important;
}
html body .audience-headbar .audience-top-actions>.toolbar-pop>summary,
html body .audience-headbar .audience-top-actions>.button{
  height:40px!important;min-height:40px!important;
  display:flex;align-items:center;justify-content:center;
  white-space:nowrap!important;font-weight:800!important;
  border-radius:11px!important;
  padding:9px 12px!important;
  font-size:11px!important;
  box-sizing:border-box!important;
  margin:0!important;
}
html body .audience-headbar .audience-create-pop>.audience-create-clean{
  display:flex!important;flex-direction:column!important;
  gap:11px!important;
  width:min(525px,calc(100vw - 32px))!important;
  max-height:min(78dvh,790px)!important;
  min-width:0!important;
  position:absolute!important;top:calc(100% + 10px)!important;
  right:0!important;left:auto!important;
  margin:0!important;padding:20px!important;
  box-sizing:border-box!important;
  border-radius:20px!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#17253e)!important;
  border:1px solid var(--border,#dae3f0)!important;
  box-shadow:0 27px 78px rgba(12,28,62,.23)!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  z-index:9999!important;
  backdrop-filter:blur(18px) saturate(125%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(125%)!important;
}
html body .audience-create-clean .audience-popup-title{
  display:flex;align-items:center;justify-content:space-between;
  gap:8px;margin:0!important;padding:0 0 8px!important;
  border-bottom:1px solid var(--border,#dae3f0);
}
html body .audience-create-clean .audience-popup-title strong{
  font-size:19px!important;font-weight:900!important;color:var(--ink,#17253e)!important;
}
html body .audience-create-clean .audience-popup-helper{
  color:var(--muted,#8190a3)!important;
  font-size:10px!important;
}
html body .audience-create-clean label,
html body .msnbot-quick-billing-fields label{
  display:flex!important;flex-direction:column!important;
  align-items:stretch!important;gap:5px!important;
  min-width:0!important;margin:0!important;
  font-size:12px!important;font-weight:750!important;
  color:var(--ink,#17253e)!important;
}
html body .audience-create-clean :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),
html body .msnbot-quick-billing-fields :is(input,select,textarea){
  width:100%!important;max-width:none!important;min-width:0!important;
  min-height:40px!important;
  padding:9px 11px!important;
  border:1px solid var(--border,#dae3f0)!important;
  border-radius:11px!important;
  background:var(--surface-solid,#fff)!important;color:var(--ink,#17253e)!important;
  font-size:12px!important;box-sizing:border-box!important;
  box-shadow:none!important;
}
html body .msnbot-quick-billing-fields textarea{
  min-height:74px!important;resize:vertical!important;
  line-height:1.45!important;
}
html body .audience-create-clean .audience-popup-two{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
html body .audience-create-clean .audience-search-picker{
  display:flex;flex-direction:column;gap:7px;
  min-width:0!important;
  border:1px solid var(--border,#dae3f0)!important;
  border-radius:13px!important;
  padding:12px!important;margin:1px 0!important;
  background:color-mix(in srgb,var(--user-accent,#2878f5) 3%,var(--surface-solid,#fff))!important;
}
html body .audience-create-clean .audience-search-picker>strong{
  font-size:11px!important;color:var(--ink,#17253e)!important;
}
html body .audience-create-clean .audience-picker-options{
  display:flex!important;flex-wrap:wrap!important;
  min-width:0!important;max-height:118px!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  gap:6px!important;align-content:flex-start;
}
html body .audience-create-clean .audience-picker-option{
  display:flex!important;flex-direction:row!important;
  align-items:center!important;gap:6px!important;
  max-width:100%!important;width:auto!important;
  margin:0!important;padding:6px 9px!important;
  background:var(--surface-solid,#fff)!important;
  border:1px solid var(--border,#dae3f0)!important;
  border-radius:10px!important;cursor:pointer;
  font-size:11px!important;font-weight:700!important;
}
html body .audience-create-clean .audience-picker-option[hidden]{
  display:none!important;
}
html body .audience-create-clean .audience-picker-option input{
  width:14px!important;height:14px!important;flex:none!important;
  padding:0!important;margin:0!important;min-height:0!important;
  accent-color:var(--user-accent,#2878f5);
}
html body .audience-create-clean .audience-picker-option .etiq-dot{
  width:8px;height:8px;flex:none;border-radius:50%;
}
html body .audience-create-clean .audience-custom-value{
  margin-top:4px!important;
}
html body .audience-create-clean .audience-billing-create{
  border:1px solid var(--border,#dae3f0)!important;
  border-radius:12px!important;
  padding:0!important;
  overflow:visible!important;
  background:color-mix(in srgb,var(--user-accent,#2878f5) 5%,var(--surface-solid,#fff))!important;
}
html body .audience-create-clean .audience-billing-create>summary{
  padding:11px 13px!important;cursor:pointer;
  font-size:12px!important;font-weight:850!important;
  color:var(--user-accent,#2878f5)!important;
  list-style:none!important;
}
html body .audience-create-clean .audience-billing-create>summary::-webkit-details-marker{
  display:none!important;
}
html body .audience-create-clean .audience-billing-create>summary::before{
  content:"＋";margin-right:8px!important;font-size:14px!important;
}
html body .audience-create-clean .audience-billing-create[open]>summary::before{content:"−";}
html body .audience-create-clean .audience-billing-create fieldset{
  display:block!important;min-width:0!important;
  margin:0!important;padding:12px!important;
  border:0!important;
  border-top:1px solid var(--border,#dae3f0)!important;
}
html body .msnbot-quick-billing-fields{
  display:flex!important;flex-direction:column!important;
  gap:11px!important;
  min-width:0!important;
  color:var(--ink,#17253e)!important;
}
html body .msnbot-quick-billing-fields label>small{
  display:inline!important;margin:0!important;
  color:var(--muted,#77859e)!important;
  font-size:10px!important;font-weight:500!important;
}
html body .msnbot-quick-billing-fields .qb-official-note{
  color:var(--muted,#77859e)!important;
  line-height:1.4!important;font-size:10px!important;
}
html body .audience-create-clean>button[type="submit"]{
  width:100%!important;min-height:43px!important;
  padding:10px 14px!important;border-radius:12px!important;
  font-size:12px!important;font-weight:850!important;
  flex:none!important;
}
/* Cartão lateral do Bate-Papo: campos idênticos sem estourar a largura. */
html body .msn-quick-billing-form{
  display:flex!important;flex-direction:column!important;
  gap:11px!important;
  min-width:0!important;
}
html body .msn-quick-billing-form>.primary,
html body .msn-quick-billing-form>button[type="submit"]{
  width:100%!important;min-height:39px!important;
  border-radius:11px!important;font-size:12px!important;
  font-weight:850!important;
}
html body .msn-quick-billing-form .msnbot-quick-billing-fields label{
  font-size:11px!important;
}
html body .msn-quick-billing-form .msnbot-quick-billing-fields :is(input,select,textarea){
  font-size:11px!important;min-height:38px!important;
}
/* Ajustes responsivos universais */
@media screen and (min-width:761px) and (max-width:1200px){
  html body main.page:not(.auth-page)>.audience-headbar{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
  html body .audience-headbar .audience-search{grid-column:1!important;grid-row:1!important;}
  html body .audience-headbar .audience-stats{grid-column:1!important;grid-row:2!important;justify-self:start!important;}
  html body .audience-headbar .audience-head-right{grid-column:2!important;grid-row:1/3!important;}
}
@media screen and (max-width:760px){
  html body main.page:not(.auth-page)>.audience-headbar{
    grid-template-columns:minmax(0,1fr)!important;
    padding:10px!important;gap:8px!important;
  }
  html body .audience-headbar .audience-stats{
    width:100%!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body .audience-headbar .audience-stats>div{padding:7px!important;}
  html body .audience-headbar .audience-head-right{
    display:grid!important;
    grid-template-columns:minmax(100px,1fr) minmax(0,2.8fr)!important;
    gap:7px!important;width:100%!important;
  }
  html body .audience-headbar .audience-status-select{width:100%!important;}
  html body .audience-headbar .audience-top-actions{
    display:flex!important;gap:5px!important;min-width:0!important;
    justify-content:flex-end!important;
  }
  html body .audience-headbar .audience-top-actions>.toolbar-pop>summary,
  html body .audience-headbar .audience-top-actions>.button{
    padding:8px 7px!important;min-width:0!important;
    font-size:10px!important;white-space:normal!important;
    text-align:center!important;
  }
  html body .audience-headbar .audience-create-pop>.audience-create-clean{
    position:fixed!important;top:clamp(70px,10dvh,100px)!important;
    left:8px!important;right:8px!important;
    width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 125px)!important;
    padding:15px!important;
    z-index:99999!important;
  }
  html body .audience-create-clean .audience-popup-two{
    grid-template-columns:1fr!important;
  }
}
@media screen and (max-width:370px){
  html body .audience-headbar .audience-head-right{
    grid-template-columns:1fr!important;
  }
  html body .audience-headbar .audience-top-actions{
    justify-content:space-between!important;
  }
}
/* O cabeçalho sobe de camada apenas quando um popup está aberto,
   impedindo que a lista de contatos o cubra. */
html body main.page:not(.auth-page)>.audience-headbar:has(.toolbar-pop[open]){
  position:relative!important;
  z-index:10500!important;
  isolation:isolate!important;
}

/* 4.8.9 — Novos contatos: etiquetas com botão +, sem caixas de seleção.
   Mesmo conceito visual dos chips do cartão do Bate-Papo. */
html body .audience-create-clean .audience-tag-selector{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  min-width:0!important;
  margin:0!important;
  padding:12px 0!important;
  border-top:1px solid var(--border,#dae3f0)!important;
  border-bottom:1px solid var(--border,#dae3f0)!important;
  background:transparent!important;
}
html body .audience-create-clean .audience-tag-heading{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
html body .audience-create-clean .audience-tag-heading strong{
  color:var(--ink,#17253e)!important;
  font-size:13px!important;
  font-weight:850!important;
}
html body .audience-create-clean .audience-tag-add{
  display:inline-grid!important;
  place-items:center!important;
  flex:none!important;
  width:34px!important;
  height:34px!important;
  min-height:34px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid var(--border,#d9e4f2)!important;
  border-radius:10px!important;
  background:color-mix(in srgb,var(--user-accent,#2878f5) 8%,var(--surface-solid,#fff))!important;
  color:var(--user-accent,#2878f5)!important;
  font-size:20px!important;
  line-height:1!important;
  font-weight:600!important;
  cursor:pointer!important;
}
html body .audience-create-clean .audience-tag-add:hover{
  background:color-mix(in srgb,var(--user-accent,#2878f5) 16%,var(--surface-solid,#fff))!important;
}
html body .audience-create-clean .audience-tag-selected{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  min-width:0!important;
}
html body .audience-create-clean .audience-tag-selected:empty{
  display:none!important;
}
html body .audience-create-clean .audience-tag-chip{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  max-width:100%!important;
  min-width:0!important;
  padding:6px 8px!important;
  border-radius:10px!important;
  border:1px solid var(--border,#dae3f0)!important;
  background:color-mix(in srgb,var(--user-accent,#2878f5) 6%,var(--surface-solid,#fff))!important;
  color:var(--ink,#17253e)!important;
  font-size:11px!important;
  font-weight:700!important;
}
html body .audience-create-clean .audience-tag-chip .etiq-dot,
html body .audience-create-clean .audience-tag-result .etiq-dot{
  display:inline-block!important;
  flex:none!important;
  width:8px!important;
  height:8px!important;
  border-radius:50%!important;
}
html body .audience-create-clean .audience-tag-chip>span{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
html body .audience-create-clean .audience-tag-remove{
  margin:0 0 0 2px!important;
  padding:0!important;
  min-width:18px!important;
  min-height:18px!important;
  width:18px!important;
  height:18px!important;
  display:inline-grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  color:var(--muted,#79859c)!important;
  cursor:pointer!important;
  font-size:16px!important;
  line-height:1!important;
}
html body .audience-create-clean .audience-tag-remove:hover{
  color:#c83f50!important;
  background:rgba(230,61,77,.09)!important;
}
html body .audience-create-clean .audience-tag-picker-panel:not([hidden]){
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  min-width:0!important;
}
html body .audience-create-clean .audience-tag-picker-panel[hidden]{
  display:none!important;
}
html body .audience-create-clean .audience-tag-results{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  max-height:164px!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  min-width:0!important;
}
html body .audience-create-clean .audience-tag-result:not([hidden]){
  width:100%!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:9px!important;
  padding:9px 10px!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:9px!important;
  color:var(--ink,#17253e)!important;
  font-size:12px!important;
  text-align:left!important;
  cursor:pointer!important;
  min-height:34px!important;
}
html body .audience-create-clean .audience-tag-result[hidden],
html body .audience-create-clean .audience-tag-empty[hidden]{
  display:none!important;
}
html body .audience-create-clean .audience-tag-result:hover,
html body .audience-create-clean .audience-tag-result:focus-visible{
  background:color-mix(in srgb,var(--user-accent,#2878f5) 10%,var(--surface-solid,#fff))!important;
}
html body .audience-create-clean .audience-tag-empty{
  padding:7px!important;
  font-size:11px!important;
  color:var(--muted,#79859c)!important;
}

/* 4.8.9 — Valor e data/hora na mesma linha, no criar contato e no
   cartão do Bate-Papo; os nomes reais dos campos são preservados. */
html body .msnbot-quick-billing-fields .qb-amount-due-row{
  display:grid!important;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.65fr)!important;
  align-items:start!important;
  column-gap:10px!important;
  row-gap:0!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
html body .msnbot-quick-billing-fields .qb-amount-due-row>label{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  width:100%!important;
  gap:5px!important;
  margin:0!important;
}
html body .msnbot-quick-billing-fields .qb-amount-due-row :is(input[type="number"],input[type="datetime-local"]){
  display:block!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  padding-inline:8px!important;
  font-size:clamp(11px,1.1vw,13px)!important;
}
html body .msn-quick-billing-form .qb-amount-due-row{
  column-gap:7px!important;
}
html body .msn-quick-billing-form .qb-amount-due-row input[type="datetime-local"]{
  padding-inline:5px!important;
  font-size:11px!important;
}
/* WebKit/iOS: o calendário nativo continua clicável e dentro do campo. */
html body .msnbot-quick-billing-fields .qb-amount-due-row input[type="datetime-local"]::-webkit-calendar-picker-indicator{
  flex:none!important;
  cursor:pointer;
}

/* v764: explicit close control for the create-contact popover. */
html body .audience-create-pop .audience-popup-title .audience-create-close-v764{
 flex:0 0 12px!important;width:12px!important;height:12px!important;min-width:12px!important;min-height:12px!important;
 margin:0 4px 0 0!important;padding:0!important;border:1px solid #e74845!important;
 border-radius:50%!important;background:#ff605c!important;box-shadow:none!important;cursor:pointer;
}
html body .audience-create-pop .audience-popup-title .audience-create-close-v764:focus-visible{outline:2px solid #2672d4!important;outline-offset:3px}


/* source: /assets/msnbot-audience-mobile-v489.css */
/* MSNBOT 4.8.9 — Audiência em telas compactas e edição reutilizável.
   Escopo restrito à Audiência e à linha Valor/Data-Hora do formulário
   de cobrança compartilhado com o cartão do Bate-Papo. */

/* O mesmo formulário de Criar pode ser aberto como diálogo de Editar. */
html body dialog.audience-edit-dialog{
  width:min(525px,calc(100vw - 24px))!important;
  max-width:min(525px,calc(100vw - 24px))!important;
  max-height:min(84dvh,760px)!important;
  padding:0!important;
  border:1px solid var(--border,#dce4f0)!important;
  border-radius:21px!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#17253e)!important;
  box-shadow:0 28px 85px rgba(14,25,50,.25)!important;
  overflow:hidden!important;
  margin:auto!important;
  box-sizing:border-box!important;
}
html body dialog.audience-edit-dialog::backdrop{
  background:rgba(9,19,40,.48)!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
}
html body dialog.audience-edit-dialog .audience-edit-sheet{
  width:100%!important;
  max-height:inherit!important;
  min-width:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  position:relative!important;
  box-sizing:border-box!important;
  padding:18px!important;
}
html body dialog.audience-edit-dialog form.audience-create-clean.audience-edit-form{
  display:flex!important;
  flex-direction:column!important;
  position:static!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  left:auto!important;
  bottom:auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
  gap:11px!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  isolation:auto!important;
  z-index:auto!important;
}
html body dialog.audience-edit-dialog .audience-edit-close{
  position:sticky!important;
  top:0!important;
  z-index:5!important;
  float:right!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid var(--border,#dce4f0)!important;
  border-radius:50%!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#17253e)!important;
  font-size:20px!important;
  line-height:1!important;
  padding:0!important;
  margin:0 0 -30px 0!important;
  cursor:pointer!important;
}
html body dialog.audience-edit-dialog .audience-popup-title{
  padding-right:38px!important;
}
html body dialog.audience-edit-dialog .audience-tag-selector{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* Dimensionamento por espaço REAL disponível, não apenas largura da tela:
   no cartão do Bate-Papo o painel lateral pode ser mais estreito. */
html body .msnbot-quick-billing-fields{
  container-type:inline-size;
}
@container (max-width:390px){
  .qb-amount-due-row{
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:10px!important;
    column-gap:0!important;
  }
}
@media screen and (max-width:480px){
  html body .msnbot-quick-billing-fields .qb-amount-due-row{
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:9px!important;
    column-gap:0!important;
  }
}

/* ===================== SOMENTE MOBILE: AUDIÊNCIA ====================== */
@media screen and (max-width:700px){
  html body main.page .audience-headbar{
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    padding:9px!important;
    margin:4px 0 9px!important;
    border-radius:16px!important;
    row-gap:7px!important;
  }
  html body main.page .audience-headbar .audience-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  html body main.page .audience-headbar .audience-stats>div{
    min-height:38px!important;
    padding:5px 9px!important;
  }
  html body main.page .audience-headbar .audience-stats strong{
    font-size:15px!important;
  }
  html body main.page .audience-headbar .audience-stats small{
    font-size:9px!important;
  }
  html body main.page .audience-headbar .audience-head-right{
    grid-template-columns:minmax(90px,1fr) minmax(0,2.6fr)!important;
    gap:6px!important;
  }
  html body main.page .audience-headbar .audience-top-actions{
    gap:5px!important;
  }
  html body main.page .audience-headbar .audience-top-actions>.toolbar-pop>summary,
  html body main.page .audience-headbar .audience-top-actions>.button{
    min-height:35px!important;
    height:35px!important;
    font-size:10px!important;
    padding:7px 8px!important;
    line-height:1.15!important;
    border-radius:9px!important;
  }

  /* Barra horizontal de filtros: scroll somente no filtro, não na página. */
  html body main.page .audience-shell{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    gap:9px!important;
    box-sizing:border-box!important;
    overflow-x:clip!important;
  }
  html body main.page .audience-shell .audience-filters{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    overscroll-behavior-x:contain!important;
    scroll-snap-type:x proximity!important;
    gap:5px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:7px 8px!important;
    border-radius:13px!important;
    position:static!important;
    height:auto!important;
    box-sizing:border-box!important;
  }
  html body main.page .audience-shell .audience-filters::-webkit-scrollbar{
    display:none!important;
  }
  html body main.page .audience-shell .audience-filters .filter-item{
    flex:0 0 auto!important;
    min-width:0!important;
    width:max-content!important;
    max-width:260px!important;
    padding:8px 10px!important;
    margin:0!important;
    border-radius:10px!important;
    scroll-snap-align:start!important;
    font-size:11px!important;
    white-space:nowrap!important;
  }
  html body main.page .audience-shell .audience-filters .filter-item span{
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  html body main.page .audience-shell .audience-filters .filter-item b{
    font-size:10px!important;
  }
  html body main.page .audience-shell .audience-list-panel{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    padding:10px!important;
    border-radius:16px!important;
    box-sizing:border-box!important;
    overflow-x:clip!important;
  }
  html body main.page .audience-list-head{
    padding:2px 3px 9px!important;
  }
  html body main.page .audience-list-head strong{
    font-size:13px!important;
    line-height:1.3!important;
    font-weight:850!important;
  }
  html body main.page .audience-list-panel .bulk-bar{
    padding:7px!important;
    margin-bottom:9px!important;
    min-height:40px!important;
    gap:6px!important;
    border-radius:12px!important;
    overflow-x:auto!important;
  }
  html body main.page .audience-list-panel .bulk-bar .select-mode-button{
    font-size:11px!important;
    min-height:32px!important;
    padding:7px 10px!important;
    border-radius:9px!important;
  }
  html body main.page .audience-list-panel .contact-list{
    min-width:0!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:8px!important;
  }

  /* Ações na linha superior direita, avatar e identificação na segunda linha.
     Evita o esmagamento do nome/telefone visto no iPhone. */
  html body main.page .audience-list-panel .contact-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-items:center!important;
    gap:7px!important;
    min-height:0!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:9px 10px 11px!important;
    border-radius:13px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-check[hidden]{
    display:none!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-meta.contact-actions{
    grid-column:1!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:start!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:flex-end!important;
    align-items:center!important;
    gap:5px!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    padding:0!important;
    margin:0!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-main{
    grid-column:1!important;
    grid-row:2!important;
    justify-self:stretch!important;
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    gap:9px!important;
    align-items:center!important;
    padding:0 2px!important;
    margin:0!important;
    overflow:hidden!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-avatar{
    width:37px!important;
    height:37px!important;
    min-width:37px!important;
    min-height:37px!important;
    max-width:37px!important;
    max-height:37px!important;
    flex:0 0 37px!important;
    border-radius:50%!important;
    font-size:15px!important;
    overflow:hidden!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-avatar img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    border-radius:50%!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-identity{
    display:block!important;
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-align:left!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-identity strong{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:13px!important;
    font-weight:850!important;
    line-height:1.4!important;
    letter-spacing:0!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-identity small{
    display:block!important;
    max-width:100%!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
    font-size:11px!important;
    line-height:1.3!important;
    margin-top:2px!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-actions :is(.small-btn,button,a){
    display:inline-flex!important;
    justify-content:center!important;
    align-items:center!important;
    min-height:29px!important;
    height:29px!important;
    width:auto!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:5px 7px!important;
    border-radius:8px!important;
    box-sizing:border-box!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:750!important;
    white-space:nowrap!important;
    text-align:center!important;
    text-decoration:none!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-delete-form{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    margin:0!important;
    padding:0!important;
    width:auto!important;
    min-width:0!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-actions a.primary-soft{
    font-size:0!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-actions a.primary-soft::after{
    content:"Bate-Papo";
    font-size:10px!important;
    line-height:1!important;
    font-weight:750!important;
    white-space:nowrap!important;
    text-decoration:none!important;
  }

  /* Seleção múltipla mantém o checkbox acessível sem apertar ações ou nome. */
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row{
    grid-template-columns:25px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
  }
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row .contact-check:not([hidden]){
    grid-column:1!important;
    grid-row:1 / 3!important;
    align-self:center!important;
    justify-self:center!important;
    display:block!important;
    width:16px!important;
    height:16px!important;
  }
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row .contact-actions{
    grid-column:2!important;
    grid-row:1!important;
  }
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row .contact-main{
    grid-column:2!important;
    grid-row:2!important;
  }

  /* Criar: uma janela menor e independente da largura do aparelho. */
  html body main.page .audience-headbar .audience-create-pop>.audience-create-clean{
    position:fixed!important;
    top:max(18px,env(safe-area-inset-top))!important;
    right:12px!important;
    bottom:auto!important;
    left:12px!important;
    width:min(420px,calc(100vw - 24px))!important;
    min-width:0!important;
    max-width:420px!important;
    max-height:calc(100dvh - 50px)!important;
    height:auto!important;
    margin-inline:auto!important;
    padding:14px!important;
    gap:9px!important;
    border-radius:17px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    box-sizing:border-box!important;
  }
  html body .audience-create-clean .audience-popup-title{
    padding:0 0 8px!important;
    margin:0!important;
  }
  html body .audience-create-clean .audience-popup-title strong{
    font-size:17px!important;
    line-height:1.2!important;
    letter-spacing:0!important;
  }
  html body .audience-create-clean .audience-popup-helper{
    font-size:10px!important;
  }
  html body .audience-create-clean label{
    gap:4px!important;
    font-size:11px!important;
    font-weight:700!important;
  }
  html body .audience-create-clean :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
    min-height:36px!important;
    height:auto!important;
    padding:8px 10px!important;
    border-radius:10px!important;
    font-size:16px!important; /* Evita zoom automático indesejado no Safari iOS. */
    line-height:1.25!important;
    box-sizing:border-box!important;
  }
  html body .audience-create-clean textarea{
    min-height:62px!important;
  }
  html body .audience-create-clean .audience-tag-selector{
    gap:7px!important;
    padding:8px 0!important;
    margin:0!important;
  }
  html body .audience-create-clean .audience-tag-heading strong{
    font-size:12px!important;
  }
  html body .audience-create-clean .audience-tag-add{
    width:32px!important;
    height:32px!important;
    min-height:32px!important;
    border-radius:9px!important;
  }
  html body .audience-create-clean .audience-tag-picker-panel:not([hidden]){
    display:flex!important;
    position:relative!important;
    z-index:3!important;
    width:100%!important;
    gap:6px!important;
    border:1px solid var(--border,#dbe3f0)!important;
    border-radius:12px!important;
    background:var(--surface-solid,#fff)!important;
    padding:8px!important;
    box-shadow:0 4px 16px rgba(24,40,72,.08)!important;
    box-sizing:border-box!important;
  }
  html body .audience-create-clean .audience-tag-picker-panel [data-audience-tag-search]{
    width:100%!important;
    min-height:42px!important;
    font-size:16px!important;
    background:var(--surface-solid,#fff)!important;
    border:1px solid var(--user-accent,#2878f5)!important;
    outline:0!important;
    box-sizing:border-box!important;
  }
  html body .audience-create-clean .audience-tag-results{
    max-height:124px!important;
    overflow:auto!important;
  }
  html body .audience-create-clean .audience-tag-result:not([hidden]){
    min-height:32px!important;
    padding:7px 9px!important;
    font-size:12px!important;
  }
  html body .audience-create-clean .audience-billing-create>summary{
    padding:8px 10px!important;
    font-size:11px!important;
  }
  html body .audience-create-clean .audience-billing-create fieldset{
    padding:9px!important;
  }
  html body .audience-create-clean .msnbot-quick-billing-fields{
    gap:9px!important;
  }
  html body .audience-create-clean>button[type="submit"]{
    min-height:39px!important;
    border-radius:10px!important;
    padding:9px!important;
    font-size:12px!important;
  }
  html body dialog.audience-edit-dialog{
    width:min(420px,calc(100vw - 20px))!important;
    max-width:min(420px,calc(100vw - 20px))!important;
    max-height:calc(100dvh - 42px)!important;
    border-radius:17px!important;
  }
  html body dialog.audience-edit-dialog .audience-edit-sheet{
    padding:14px!important;
  }
  html body dialog.audience-edit-dialog form.audience-edit-form{
    gap:9px!important;
  }
}
@media screen and (max-width:360px){
  html body main.page .audience-list-panel .contact-row .contact-actions :is(.small-btn,button,a){
    min-height:28px!important;
    height:28px!important;
    padding:5px 6px!important;
    font-size:9px!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-actions a.primary-soft::after{
    font-size:9px!important;
  }
  html body main.page .audience-headbar .audience-create-pop>.audience-create-clean{
    right:8px!important;
    left:8px!important;
    width:calc(100vw - 16px)!important;
    padding:12px!important;
  }
}

/* Mantém os inputs acessíveis durante a abertura do teclado no iPhone. */
@media screen and (max-width:700px) and (pointer:coarse){
  html body dialog.audience-edit-dialog .audience-edit-sheet,
  html body main.page .audience-headbar .audience-create-pop>.audience-create-clean{
    scroll-padding-bottom:26dvh!important;
    -webkit-overflow-scrolling:touch!important;
  }
}

/* Telas de 320–420 CSS px: sem sobreposição da busca e das três ações
   principais da barra superior. */
@media screen and (max-width:420px){
  html body main.page .audience-headbar .audience-head-right{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-auto-rows:auto!important;
    row-gap:6px!important;
    width:100%!important;
  }
  html body main.page .audience-headbar .audience-status-select{
    grid-column:1!important;
    width:100%!important;
  }
  html body main.page .audience-headbar .audience-top-actions{
    grid-column:1!important;
    justify-content:space-between!important;
    width:100%!important;
  }
}


/* source: /assets/msnbot-sales-bell-v489.css */
/* MSNBOT 4.8.9 — compra confirmada no Bate-Papo; gráfico da Audiência no Painel */

/* Sino ao lado do nome, com confirmação visual persistente. */
html body .msn-v33-contact-card .msnbot-sale-title{
  display:flex!important;
  flex-direction:row!important;
  justify-content:center!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0 auto!important;
}
html body .msn-v33-contact-card .msnbot-sale-title h2{
  margin:0!important;
  min-width:0!important;
  max-width:100%!important;
  overflow-wrap:anywhere!important;
}
html body .msn-v33-contact-card .msnbot-sale-bell{
  display:inline-grid!important;
  place-items:center!important;
  width:35px!important;
  height:35px!important;
  min-width:35px!important;
  flex:none!important;
  padding:0!important;
  margin:0!important;
  border-radius:12px!important;
  border:1px solid color-mix(in srgb,#f1c45f 56%,var(--border,#d8e0ee))!important;
  background:color-mix(in srgb,#fdf3c9 75%,var(--surface-solid,#fff))!important;
  color:#a67b17!important;
  font-size:20px!important;
  line-height:1!important;
  box-shadow:0 3px 12px rgba(183,141,42,.10)!important;
  cursor:pointer!important;
  transition:transform .2s, box-shadow .2s!important;
}
html body .msn-v33-contact-card .msnbot-sale-bell:not(:disabled):hover{
  transform:rotate(-12deg) scale(1.07)!important;
  box-shadow:0 6px 20px rgba(234,180,38,.25)!important;
}
html body .msn-v33-contact-card .msnbot-sale-bell.is-confirmed{
  border-color:#efc34d!important;
  background:linear-gradient(130deg,#fff2a8,#f8cb3f,#fff6c6)!important;
  box-shadow:0 0 0 2px rgba(255,222,84,.35),0 0 22px rgba(253,201,58,.45)!important;
  filter:drop-shadow(0 0 5px rgba(255,218,65,.3))!important;
  animation:msnbot-sale-glow 2.3s ease-in-out infinite!important;
  opacity:1!important;
  cursor:default!important;
}
@keyframes msnbot-sale-glow{
  0%,100%{box-shadow:0 0 0 2px rgba(255,222,84,.25),0 0 10px rgba(253,201,58,.32);}
  50%{box-shadow:0 0 0 3px rgba(255,222,84,.48),0 0 26px rgba(253,201,58,.74);}
}

/* Popup nativo modal; se abre somente ao clicar no ícone. */
html body dialog.msnbot-sale-confirm-dialog{
  position:fixed!important;
  inset:0!important;
  margin:auto!important;
  width:min(365px,calc(100vw - 30px))!important;
  max-width:calc(100vw - 30px)!important;
  max-height:min(80dvh,410px)!important;
  padding:0!important;
  border:1px solid var(--border,#e1e7f1)!important;
  border-radius:23px!important;
  color:var(--ink,#17253e)!important;
  background:var(--surface-solid,#fff)!important;
  box-shadow:0 28px 90px rgba(11,26,51,.28)!important;
  overflow:hidden!important;
}
html body dialog.msnbot-sale-confirm-dialog::backdrop{
  background:rgba(10,21,44,.52)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
}
html body .msnbot-sale-dialog-inner{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  gap:12px!important;
  text-align:center!important;
  padding:27px 23px 22px!important;
}
html body .msnbot-sale-dialog-emoji{
  display:grid!important;
  place-items:center!important;
  width:70px!important;
  height:70px!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#fff5c7,#ffde6f)!important;
  font-size:40px!important;
}
html body .msnbot-sale-dialog-inner h2{
  margin:0!important;
  font-weight:850!important;
  font-size:21px!important;
  color:var(--ink,#17253e)!important;
}
html body .msnbot-sale-dialog-inner p{
  margin:0!important;
  font-size:13px!important;
  line-height:1.5!important;
  color:var(--muted,#697891)!important;
}
html body .msnbot-sale-dialog-error:not([hidden]){
  color:#b82536!important;
  background:#fff1f2!important;
  border-radius:10px!important;
  padding:10px!important;
  width:100%!important;
  font-size:12px!important;
}
html body .msnbot-sale-dialog-error[hidden]{display:none!important}
html body .msnbot-sale-dialog-inner footer{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  width:100%!important;
  gap:10px!important;
  margin-top:8px!important;
}
html body .msnbot-sale-dialog-inner footer button{
  min-height:44px!important;
  border-radius:12px!important;
  font-size:13px!important;
  font-weight:800!important;
  padding:10px!important;
  cursor:pointer!important;
  border:1px solid var(--border,#d7e0ef)!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#17253e)!important;
}
html body .msnbot-sale-dialog-inner footer button[data-sale-yes]{
  color:#fff!important;
  border:0!important;
  background:linear-gradient(130deg,#2582fa,#2357be)!important;
}
html body .msnbot-sale-dialog-inner footer button:disabled{
  opacity:.65!important;cursor:progress!important;
}

/* Festa discreta em conteúdo, mas memorável no centro da tela. */
html body .msnbot-sale-celebration{
  position:fixed!important;
  inset:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
  z-index:2147483645!important;
  display:grid!important;
  place-items:center!important;
  isolation:isolate!important;
}
html body .msnbot-sale-celebration-backdrop{
  position:absolute!important;
  inset:0!important;
  background:radial-gradient(circle,rgba(255,236,160,.33),rgba(12,25,50,.14) 64%,transparent)!important;
  animation:msnbot-sale-fade .6s ease both!important;
}
html body .msnbot-sale-celebration-body{
  position:relative!important;
  z-index:1!important;
  width:min(320px,86vw)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:21px!important;
  border-radius:30px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  background:linear-gradient(150deg,rgba(255,252,225,.96),rgba(255,231,138,.94))!important;
  box-shadow:0 18px 80px rgba(141,104,30,.30),0 0 55px rgba(255,213,76,.35)!important;
  text-align:center!important;
  animation:msnbot-sale-pop .4s ease-out both!important;
}
html body .msnbot-sale-big-bell{
  display:block!important;
  font-size:clamp(75px,17vw,125px)!important;
  line-height:1.35!important;
  transform-origin:50% 15%!important;
  animation:msnbot-sale-ring .27s ease-in-out 0s 8 alternate!important;
}
html body .msnbot-sale-celebration-body strong{
  font-size:clamp(20px,4vw,28px)!important;
  font-weight:900!important;
  color:#53420c!important;
}
html body .msnbot-sale-celebration-body small{
  font-size:13px!important;color:#755d18!important;
}
html body .msnbot-sale-firework{
  position:absolute!important;
  width:3px!important;height:3px!important;
  animation:msnbot-sale-firework-glow .9s ease-out both!important;
}
html body .msnbot-sale-firework i{
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:7px!important;height:7px!important;
  border-radius:50%!important;
  background:var(--spark-color,#ffbd32)!important;
  box-shadow:0 0 10px var(--spark-color,#ffbd32)!important;
  transform:translate(0,0) scale(.4);
  animation:msnbot-sale-spark 1.2s cubic-bezier(.12,.78,.3,1) both!important;
}
@keyframes msnbot-sale-pop{from{transform:scale(.6);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes msnbot-sale-fade{from{opacity:0}to{opacity:1}}
@keyframes msnbot-sale-ring{from{transform:rotate(-17deg)}to{transform:rotate(17deg)}}
@keyframes msnbot-sale-spark{0%{opacity:1;transform:translate(0,0) scale(.45)}70%{opacity:1}100%{opacity:0;transform:translate(var(--fx),var(--fy)) scale(.12)}}
@keyframes msnbot-sale-firework-glow{from{opacity:0}to{opacity:1}}

/* Leitura por mouse, toque ou setas do teclado no gráfico. */
html body .d441-audience-trend .msnbot-audience-chart-interactive{
  position:relative!important;
  cursor:crosshair!important;
  touch-action:pan-y!important;
  outline-offset:4px!important;
}
html body .d441-audience-trend .msnbot-chart-hover-line{
  stroke:#a1abc1!important;
  stroke-width:1.5!important;
  stroke-dasharray:5 6!important;
  pointer-events:none!important;
}
html body .d441-audience-trend .msnbot-chart-hover-line[hidden]{
  display:none!important;
}
html body .d441-audience-trend .msnbot-chart-tooltip:not([hidden]){
  display:flex!important;
  flex-direction:column!important;
  gap:6px!important;
  position:absolute!important;
  z-index:10!important;
  padding:10px 12px!important;
  border:1px solid var(--border,#d8e0ee)!important;
  border-radius:12px!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#17253e)!important;
  box-shadow:0 14px 32px rgba(20,34,56,.18)!important;
  pointer-events:none!important;
  text-align:left!important;
  font-size:11px!important;
  line-height:1.3!important;
}
html body .d441-audience-trend .msnbot-chart-tooltip[hidden]{
  display:none!important;
}
html body .d441-audience-trend .msnbot-chart-tooltip strong{
  font-weight:800!important;
  font-size:11px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  margin-bottom:3px!important;
}
html body .d441-audience-trend .msnbot-chart-tooltip span{
  display:flex!important;
  gap:6px!important;
  align-items:center!important;
  justify-content:space-between!important;
}
html body .d441-audience-trend .msnbot-chart-tooltip i{
  width:8px!important;height:8px!important;
  flex:none!important;border-radius:50%!important;
  background:#28b980!important;
}
html body .d441-audience-trend .msnbot-chart-tooltip .bought i{
  background:#2878f5!important;
}
html body .d441-audience-trend .msnbot-chart-tooltip b{
  margin-left:auto!important;
  font-weight:850!important;
  font-variant-numeric:tabular-nums!important;
}
html body .d441-audience-trend .d441-trend-totals span:first-child{
  color:#236cda!important;
}
html body .d441-audience-trend .d441-trend-totals span:last-child{
  color:#188e65!important;
}

/* Apenas Painel no mobile: repõe o Dock no MESMO tamanho das demais páginas. */
@media(max-width:600px){
  html body:not(.dock-manual-hidden):has(.d43-dashboard) > #msnbot-mobile-dock.mobile-dock{
    display:grid!important;
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    bottom:max(7px,env(safe-area-inset-bottom,0px))!important;
    transform:translateX(-50%)!important;
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    gap:3px!important;
    width:calc(100vw - 12px)!important;
    max-width:510px!important;
    min-width:0!important;
    padding:6px 6px max(6px,env(safe-area-inset-bottom,0px))!important;
    border-radius:19px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    box-sizing:border-box!important;
    z-index:120!important;
  }
  html body:not(.dock-manual-hidden):has(.d43-dashboard) > #msnbot-mobile-dock .dock-icon{
    width:clamp(30px,8.4vw,35px)!important;
    height:clamp(30px,8.4vw,35px)!important;
    border-radius:11px!important;
    font-size:clamp(16px,4.6vw,20px)!important;
  }
  html body:not(.dock-manual-hidden):has(.d43-dashboard) > #msnbot-mobile-dock .dock-item small{
    font-size:8px!important;line-height:1.05!important;
  }
  html body .d441-audience-trend .msnbot-chart-tooltip:not([hidden]){
    font-size:10px!important;
    padding:8px 10px!important;
    gap:4px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body .msnbot-sale-celebration .msnbot-sale-big-bell,
  html body .msnbot-sale-celebration .msnbot-sale-firework,
  html body .msnbot-sale-celebration .msnbot-sale-celebration-body,
  html body .msn-v33-contact-card .msnbot-sale-bell.is-confirmed{
    animation:none!important;
  }
}

/* 4.8.9 - compras sucessivas: sino no cartão, conquistas no cabeçalho. */
html body .msn-v33-contact-card .ticket-state{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:8px!important;
}
html body .msn-v33-contact-card .msnbot-sale-title .msnbot-sale-bell{
  display:inline-grid!important;
  place-items:center!important;
  position:relative!important;
  flex:0 0 37px!important;
  width:37px!important;
  min-width:37px!important;
  height:37px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid #f0cf75!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#fff7d0,#ffe493)!important;
  color:#a77a12!important;
  box-shadow:0 3px 10px rgba(199,151,27,.12)!important;
  line-height:1!important;
  font-size:20px!important;
  opacity:1!important;
  cursor:pointer!important;
}
html body .msn-v33-contact-card .msnbot-sale-title .msnbot-sale-bell:hover{
  transform:scale(1.06) rotate(-8deg)!important;
  box-shadow:0 0 17px rgba(229,184,49,.36)!important;
}
html body .msn-v33-chat-head .msnbot-sale-trophy{
  position:relative!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  width:clamp(35px,3vw,47px)!important;
  height:clamp(35px,3vw,47px)!important;
  min-width:35px!important;
  padding:2px!important;
  margin:0 4px!important;
  border:1px solid rgba(220,166,45,.5)!important;
  border-radius:13px!important;
  background:linear-gradient(130deg,rgba(255,249,210,.96),rgba(255,233,159,.92))!important;
  box-shadow:0 0 9px rgba(243,190,53,.3)!important;
  cursor:pointer!important;
  overflow:visible!important;
  animation:msnbot-sale-trophy-glow 2.6s ease-in-out infinite!important;
  isolation:isolate!important;
}
html body .msn-v33-chat-head .msnbot-sale-trophy[hidden]{
  display:none!important;
}
html body .msn-v33-chat-head .msnbot-sale-trophy:hover{
  transform:translateY(-1px) scale(1.06)!important;
}
html body .msn-v33-chat-head .msnbot-sale-trophy::after{
  content:attr(data-sale-count);
  position:absolute;
  bottom:-5px;right:-5px;
  display:grid;
  place-items:center;
  width:16px;height:16px;
  border-radius:99px;
  border:1px solid #fff;
  background:#8c5a08;
  color:#fff;
  font:800 10px/1 system-ui,sans-serif;
  box-shadow:0 2px 5px rgba(110,68,16,.24);
}
html body .msn-v33-chat-head .msnbot-sale-trophy:focus-visible,
html body .msn-v33-contact-card .msnbot-sale-title .msnbot-sale-bell:focus-visible{
  outline:3px solid #3888f5!important;
  outline-offset:3px!important;
}
html body .msnbot-sale-trophy-symbol{
  display:grid!important;
  place-items:center!important;
  width:100%!important;height:100%!important;
  pointer-events:none!important;
}
html body .msnbot-sale-coins,
html body .msnbot-sale-diamonds{
  display:flex!important;
  flex-direction:row!important;
  justify-content:center!important;
  align-items:center!important;
  padding:0 2px!important;
  max-width:100%!important;
}
html body .msnbot-sale-goldcoin{
  display:grid!important;
  flex:none!important;
  width:23px!important;height:23px!important;
  place-items:center!important;
  border-radius:50%!important;
  border:3px double #ac6713!important;
  background:radial-gradient(circle at 27% 20%,#fffbd5 0,#ffdf65 27%,#f8b827 70%,#bd7b12 100%)!important;
  box-shadow:inset 0 0 0 2px rgba(255,239,167,.55),0 2px 4px rgba(137,91,21,.27)!important;
  color:#b47712!important;
  font-size:12px!important;
  font-weight:900!important;
}
html body .msnbot-sale-goldcoin:not(:first-child){
  margin-left:-14px!important;
  transform:translateY(6px)!important;
}
html body .msnbot-sale-goldcoin:nth-child(3){
  transform:translateY(-5px)!important;
}
html body .msnbot-sale-chest{
  width:38px!important;height:38px!important;
  max-width:100%!important;
  display:block!important;
  filter:drop-shadow(0 2px 2px #bc781c55)!important;
}
html body .msnbot-sale-diamonds{
  gap:0!important;
  letter-spacing:-.15em!important;
}
html body .msnbot-sale-diamond{
  display:inline-block!important;
  font-size:clamp(17px,2.1vw,24px)!important;
  line-height:1.1!important;
  filter:drop-shadow(0 0 4px rgba(91,208,255,.66))!important;
}
html body .msnbot-sale-diamond:not(:first-child){margin-left:-8px!important;}
html body .msnbot-sale-trophy[data-sale-stage="8"]{
  width:clamp(44px,3.3vw,55px)!important;
  background:linear-gradient(140deg,#fdf6ff,#d2efff)!important;
  box-shadow:0 0 22px rgba(75,204,252,.66)!important;
  animation:msnbot-sale-diamond-glow 1.7s ease-in-out infinite!important;
}
html body .msnbot-sale-trophy[data-sale-stage="8"] .msnbot-sale-diamond{
  font-size:clamp(21px,2.2vw,27px)!important;
}
@keyframes msnbot-sale-trophy-glow{
  0%,100%{box-shadow:0 0 6px rgba(235,182,47,.18)}
  50%{box-shadow:0 0 22px rgba(244,197,48,.73)}
}
@keyframes msnbot-sale-diamond-glow{
  0%,100%{box-shadow:0 0 9px rgba(61,197,255,.35)}
  50%{box-shadow:0 0 28px rgba(92,215,255,.84)}
}
html body dialog.msnbot-sale-confirm-dialog.msnbot-sale-history-dialog{
  width:min(475px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  max-height:min(82dvh,650px)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
}
html body .msnbot-sale-history-dialog .msnbot-sale-dialog-inner{
  align-items:stretch!important;
  text-align:left!important;
  gap:11px!important;
  padding:23px 20px 18px!important;
}
html body .msnbot-sale-history-dialog .msnbot-sale-dialog-inner h2{
  font-size:20px!important;
}
html body .msnbot-sale-history-dialog [data-sale-history-content]{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
}
html body .msnbot-sale-history-summary{
  font-weight:800!important;
  font-size:12px!important;
  color:var(--ink,#142643)!important;
  margin:4px 0!important;
}
html body .msnbot-sale-history-row{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:9px!important;
  border:1px solid var(--border,#dce4f0)!important;
  background:var(--surface-solid,#fff)!important;
  border-radius:12px!important;
  padding:11px!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
html body .msnbot-sale-history-row>div{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-width:0!important;
  gap:4px!important;
}
html body .msnbot-sale-history-row strong{
  overflow-wrap:anywhere!important;
  color:var(--ink,#1a2c49)!important;
  font-size:12px!important;
  font-weight:800!important;
}
html body .msnbot-sale-history-row small{
  color:var(--muted,#64748b)!important;
  font-size:11px!important;
  overflow-wrap:anywhere!important;
}
html body .msnbot-sale-history-row>button,
html body .msnbot-sale-history-close{
  flex:none!important;
  border:1px solid #f7c9cd!important;
  background:#fff0f0!important;
  color:#aa303e!important;
  border-radius:10px!important;
  padding:9px 11px!important;
  font-size:12px!important;
  font-weight:800!important;
  cursor:pointer!important;
  min-height:36px!important;
}
html body .msnbot-sale-history-close{
  margin-top:6px!important;
  align-self:flex-end!important;
  background:#eaf1ff!important;
  border-color:#d5e4fc!important;
  color:#2454a6!important;
}
html body .msnbot-sale-history-row.is-canceled{
  background:color-mix(in srgb,var(--surface-solid,#fff) 86%,#dadde5)!important;
  opacity:.7!important;
}
html body .msnbot-sale-canceled-badge{
  color:#9b5561!important;
  font-size:11px!important;
  font-weight:750!important;
}
html body .msnbot-sale-cancel-dialog [data-sale-yes]{
  background:linear-gradient(120deg,#c34b5d,#8d2a3c)!important;
}
html body .msnbot-sale-celebration-v2 .msnbot-sale-big-bell{
  filter:drop-shadow(0 6px 12px rgba(154,105,0,.25))!important;
}
@media(max-width:640px){
  html body .msn-v33-chat-head .msnbot-sale-trophy{
    width:35px!important;height:35px!important;min-width:35px!important;
    margin:0 2px!important;
    border-radius:11px!important;
  }
  html body .msn-v33-chat-head .msnbot-sale-trophy[data-sale-stage="8"]{
    width:42px!important;min-width:42px!important;
  }
  html body .msn-v33-contact-card .msnbot-sale-title .msnbot-sale-bell{
    width:34px!important;height:34px!important;min-width:34px!important;
    flex-basis:34px!important;font-size:19px!important;
  }
  html body .msn-v33-contact-card .ticket-state{gap:7px!important;}
  html body .msnbot-sale-history-dialog .msnbot-sale-dialog-inner{
    padding:18px 14px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body .msn-v33-chat-head .msnbot-sale-trophy,
  html body .msn-v33-chat-head .msnbot-sale-trophy[data-sale-stage="8"]{
    animation:none!important;
  }
}
html body .msnbot-sale-celebration-v2 .msnbot-sale-big-bell svg{
  width:clamp(85px,18vw,135px)!important;
  height:clamp(95px,19vw,150px)!important;
  max-width:100%!important;
  display:block!important;
  filter:drop-shadow(0 10px 9px rgba(135,76,0,.3))!important;
}
@media(max-width:390px){
  html body .msn-v33-chat-head .msnbot-sale-trophy{
    width:31px!important;height:31px!important;min-width:31px!important;margin:0 1px!important;
  }
  html body .msn-v33-chat-head .msnbot-sale-trophy[data-sale-stage="8"]{
    width:36px!important;min-width:36px!important;
  }
  html body .msn-v33-chat-head .msnbot-sale-goldcoin{width:20px!important;height:20px!important;}
}


/* source: /assets/msnbot-polish-v489.css */
/* MSNBOT Luz 4.8.9 — refinamentos responsivos, sem alterar o layout do Bate-Papo. */

/* Conquistas mais discretas; sem números junto ao indicador. */
html body .msn-v33-chat-head .msnbot-sale-trophy{
  width:35px!important;height:35px!important;min-width:35px!important;
  margin-inline:2px!important;border-radius:11px!important;
}
html body .msn-v33-chat-head .msnbot-sale-trophy::after{display:none!important}
html body .msn-v33-chat-head .msnbot-sale-trophy[data-sale-stage="8"]{
  width:40px!important;min-width:40px!important;
}
html body .msn-v33-chat-head .msnbot-sale-goldcoin{
  width:19px!important;height:19px!important;
  font-size:9px!important;border-width:2px!important;
}
html body .msn-v33-chat-head .msnbot-sale-goldcoin:not(:first-child){
  margin-left:-12px!important;
}
html body .msn-v33-chat-head .msnbot-sale-chest{width:30px!important;height:30px!important}
html body .msn-v33-chat-head .msnbot-sale-diamond{font-size:19px!important}
html body .msn-v33-chat-head .msnbot-sale-trophy[data-sale-stage="8"] .msnbot-sale-diamond{font-size:20px!important}

/* v784: sale bell stays on the right of the contact name, never on a separate row. */
html body .msn-v33-contact-card .msnbot-sale-title{
  display:flex!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:center!important;gap:6px!important;
}
html body .msn-v33-contact-card .msnbot-sale-title:has(> .msnbot-sale-bell){width:100%!important;justify-content:space-between!important}
html body .msn-v33-contact-card .msnbot-sale-title > h2{flex:1 1 auto!important;min-width:0!important;text-align:center!important;overflow-wrap:anywhere!important}
html body .msn-v33-contact-card .msnbot-sale-title > .msnbot-sale-bell{
  width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;
  border-radius:10px!important;font-size:16px!important;
  border-color:#f0cf75!important;background:linear-gradient(135deg,#fff7d0,#ffe493)!important;
}
html body [data-msnbot-open-contact]{cursor:pointer!important;}
html body [data-msnbot-open-contact]:focus-visible{outline:2px solid #2878f5!important;outline-offset:3px!important;}
html body [data-msnbot-inline-name]{
  cursor:text!important;
  text-decoration-color:color-mix(in srgb,#2878f5 25%,transparent)!important;
  text-underline-offset:3px!important;
}
html body [data-msnbot-inline-name]:hover{
  text-decoration:underline!important;text-decoration-color:#2878f5!important;
}
html body .msnbot-name-inline-input{
  width:100%!important;max-width:100%!important;
  min-width:0!important;min-height:35px!important;
  box-sizing:border-box!important;
  padding:6px 9px!important;margin:0!important;
  color:var(--ink,#14223c)!important;background:var(--surface-solid,#fff)!important;
  border:2px solid #3886f4!important;border-radius:10px!important;
  font-size:clamp(12px,2.5vw,16px)!important;font-weight:800!important;
  outline:0!important;
}
html body .msn-v33-contact-card .msnbot-name-inline-input{
  max-width:280px!important;margin:0 auto!important;display:block!important;text-align:center!important;
}
html body [data-msnbot-inline-feedback]{
  display:block!important;font-size:10px!important;color:#168051!important;
  text-align:center!important;margin-top:4px!important;
}
html body [data-msnbot-inline-feedback].is-error{color:#bc3645!important}

/* Menu de automação compacto e rolável: funciona com toque e clique. */
html body .msn-v33-contact-card .automation-card details{
  position:relative!important;
}
html body .msn-v33-contact-card .automation-card .automation-actions{
  box-sizing:border-box!important;
  position:absolute!important;top:calc(100% + 4px)!important;
  left:50%!important;right:auto!important;transform:translateX(-50%)!important;
  width:min(270px,calc(100vw - 48px))!important;max-height:min(320px,48dvh)!important;
  overflow-y:auto!important;overscroll-behavior:contain!important;
  border-radius:13px!important;padding:5px!important;
  box-shadow:0 14px 36px rgba(20,36,70,.20)!important;
}
html body .msn-v33-contact-card .automation-card .automation-actions button{
  width:100%!important;
  padding:8px 10px!important;min-height:32px!important;
  font-size:clamp(10px,2.4vw,12px)!important;
  line-height:1.25!important;
  white-space:normal!important;
  border-radius:8px!important;
}
html body .msn-v33-contact-card .automation-card{
  padding:9px 11px!important;
  margin:9px 0!important;
}

/* Agenda — detalhes menores e sempre no mesmo mês/visualização. */
html body .timeline-detail-overlay{
  top:calc(var(--v461-topbar-height,38px) + 13px)!important;
  bottom:auto!important;
  right:12px!important;
  width:min(385px,calc(100vw - 24px))!important;
  max-height:calc(100dvh - 85px)!important;
  min-height:0!important;
  overflow-y:auto!important;
  border-radius:18px!important;
  box-shadow:0 18px 52px rgba(20,38,70,.24)!important;
  overscroll-behavior:contain!important;
  z-index:165!important;
}
html body .timeline-detail-overlay .schedule-detail-card.schedule-detail-compact{
  padding:13px!important;
  min-height:0!important;
  border-radius:16px!important;
}
html body .timeline-detail-overlay .schedule-detail-compact .detail-title{
  margin:0 0 10px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
}
html body .timeline-detail-overlay .schedule-detail-compact .detail-title h3{
  font-size:16px!important;font-weight:850!important;margin:0!important;
}
html body .timeline-detail-overlay .schedule-detail-edit-form{
  display:grid!important;gap:9px!important;min-width:0!important;
}
html body .timeline-detail-overlay .schedule-detail-edit-form label{
  display:flex!important;flex-direction:column!important;gap:5px!important;
  font-size:11px!important;font-weight:800!important;
  color:var(--ink,#182944)!important;
}
html body .timeline-detail-overlay .schedule-detail-edit-form :is(input,textarea){
  display:block!important;box-sizing:border-box!important;
  width:100%!important;min-width:0!important;
  border:1px solid var(--border,#d9e1ee)!important;border-radius:10px!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#17243c)!important;
  font-family:inherit!important;font-size:12px!important;font-weight:500!important;line-height:1.4!important;
  padding:9px 10px!important;
}
html body .timeline-detail-overlay .schedule-detail-edit-form input{
  min-height:37px!important;
}
html body .timeline-detail-overlay .schedule-detail-edit-form textarea{
  min-height:75px!important;max-height:180px!important;resize:vertical!important;
}
html body .timeline-detail-overlay .schedule-detail-edit-form :is(input,textarea)[readonly]{
  background:color-mix(in srgb,var(--surface-solid,#fff) 93%,#dbe4f2)!important;
}
html body .timeline-detail-overlay .schedule-detail-save{
  margin:3px 0 0!important;
  padding:10px!important;min-height:39px!important;
  border-radius:10px!important;font-size:12px!important;
}
html body .timeline-detail-overlay .schedule-detail-delete-form{
  margin:8px 0 0!important;display:flex!important;justify-content:flex-end!important;
}
html body .timeline-detail-overlay .schedule-detail-delete-form button{
  min-height:32px!important;font-size:11px!important;padding:7px 10px!important;
}
html body .timeline-detail-overlay .timeline-reminder-card.timeline-reminder-compact{
  margin:8px 0 0!important;padding:12px!important;border-radius:14px!important;
}
html body .timeline-detail-overlay .timeline-reminder-compact h4{
  font-size:13px!important;margin:0 0 5px!important;
}
html body .timeline-detail-overlay .timeline-reminder-compact .timeline-alert-hint{
  color:var(--muted,#66758b)!important;
  font-size:10px!important;line-height:1.35!important;
  margin:0 0 9px!important;
}
html body .timeline-detail-overlay .timeline-reminder-options{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
}
html body .timeline-detail-overlay .timeline-reminder-options label{
  display:flex!important;align-items:center!important;flex-direction:row!important;
  gap:6px!important;min-height:34px!important;
  padding:5px 7px!important;
  border:1px solid var(--border,#dce3ef)!important;
  border-radius:10px!important;
  background:var(--surface-solid,#fff)!important;
  font-size:10px!important;line-height:1.3!important;
  cursor:pointer!important;
}
html body .timeline-detail-overlay .timeline-reminder-options input{
  width:16px!important;height:16px!important;min-width:16px!important;
  margin:0!important;accent-color:#2878f5!important;
}
html body .timeline-detail-overlay .timeline-reminder-options label:has(input:checked){
  border-color:#8db9fa!important;background:color-mix(in srgb,#dceaff 68%,var(--surface-solid,#fff))!important;
}
html body .timeline-detail-overlay .timeline-reminder-options label.is-saving{opacity:.6!important}
html body .timeline-detail-overlay .timeline-alert-feedback{
  font-size:10px!important;min-height:12px!important;line-height:1.35!important;
  color:#218361!important;margin:0!important;
}
html body .timeline-detail-overlay .timeline-alert-feedback.is-error{color:#c13549!important}
@media(max-width:560px){
  html body .timeline-detail-overlay{
    top:54px!important;
    right:8px!important;
    width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 80px)!important;
  }
}

/* O trilho se move; a cápsula e o fundo do Dock continuam imóveis. */
@media(max-width:700px){
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel,
  html body:has(.d43-dashboard) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel{
    display:block!important;
    grid-template-columns:none!important;
    position:fixed!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    left:50%!important;right:auto!important;
    transform:translateX(-50%)!important;
    width:min(520px,calc(100vw - 12px))!important;max-width:calc(100vw - 12px)!important;
    padding:5px 6px max(5px,env(safe-area-inset-bottom,0px))!important;
    bottom:max(7px,env(safe-area-inset-bottom,0px))!important;
  }
  html body #msnbot-mobile-dock .msnbot-mobile-dock-track{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;overflow-y:hidden!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
    scroll-snap-type:x proximity!important;
    scroll-behavior:smooth!important;
    overscroll-behavior-x:contain!important;
    touch-action:pan-x!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html body #msnbot-mobile-dock .msnbot-mobile-dock-track::-webkit-scrollbar{
    display:none!important;
  }
  html body #msnbot-mobile-dock .msnbot-mobile-dock-track .dock-item{
    flex:0 0 clamp(46px,12.8vw,59px)!important;
    display:grid!important;
    width:clamp(46px,12.8vw,59px)!important;
    min-width:clamp(46px,12.8vw,59px)!important;
    max-width:clamp(46px,12.8vw,59px)!important;
    scroll-snap-align:center!important;
    padding:2px 0!important;
    touch-action:pan-x!important;
  }
  html body #msnbot-mobile-dock .msnbot-mobile-dock-track .dock-icon{
    width:clamp(30px,8.2vw,38px)!important;
    height:clamp(30px,8.2vw,38px)!important;
    font-size:clamp(16px,4.5vw,20px)!important;
  }
  html body #msnbot-mobile-dock .msnbot-mobile-dock-track .dock-item small{
    font-size:8px!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
  }
  /* Ícones de utilitários proporcionais, preenchendo a largura sem grandes margens. */
  html body main.page:not(.auth-page) .launchpad-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    justify-content:stretch!important;
    gap:9px!important;
    width:100%!important;
    max-width:100%!important;
    padding:8px 1px!important;
    margin-inline:0!important;
    box-sizing:border-box!important;
  }
  html body main.page:not(.auth-page) .launchpad-grid .launchpad-app{
    display:block!important;
    min-width:0!important;max-width:none!important;
    width:100%!important;
    padding:9px 3px!important;
    box-sizing:border-box!important;
    border-radius:14px!important;
  }
  html body main.page:not(.auth-page) .launchpad-grid .launchpad-app>a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    min-height:85px!important;
    gap:7px!important;padding:4px!important;
  }
  html body main.page:not(.auth-page) .launchpad-grid .launchpad-icon{
    width:clamp(36px,11vw,49px)!important;
    height:clamp(36px,11vw,49px)!important;
    min-width:0!important;
    font-size:clamp(19px,5.2vw,24px)!important;
    border-radius:12px!important;
    display:grid!important;place-items:center!important;
  }
  html body main.page:not(.auth-page) .launchpad-grid .launchpad-app strong{
    max-width:100%!important;
    font-size:10px!important;line-height:1.22!important;
    overflow-wrap:anywhere!important;text-align:center!important;
  }
  /* Popovers da barra superior devem ficar acima do conteúdo. */
  html body:not(:has(main.auth-page)) > .mac-topbar{
    contain:layout style!important;overflow:visible!important;
    isolation:isolate!important;
    position:relative!important;z-index:2147483000!important;
  }
  html body .mac-topbar details[open]{
    position:relative!important;
    z-index:2147483100!important;
  }
  html body .mac-topbar :is(.mac-menu-pop,.notification-pop,.context-pop){
    max-width:calc(100vw - 18px)!important;
    z-index:2147483101!important;
    overflow-y:auto!important;
    max-height:min(66dvh,480px)!important;
  }
}
@media(min-width:480px) and (max-width:700px){
  html body main.page:not(.auth-page) .launchpad-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body #msnbot-mobile-dock .msnbot-mobile-dock-track{scroll-behavior:auto!important}
}


/* source: /assets/broadcast-modern-v489.css */
/* MSNBOT 4.8.9 • Transmissão moderna, isolada do restante do sistema */
html body .broadcast-unified-toolbar{
 display:flex!important;align-items:center!important;flex-wrap:wrap!important;
 gap:12px 18px!important;padding:12px 18px!important;margin:8px auto 13px!important;
 max-width:calc(100% - 42px)!important;box-sizing:border-box!important;
 background:color-mix(in srgb,var(--surface-solid,#fff) 84%,transparent)!important;
 border:1px solid var(--border,#dce5f4)!important;border-radius:19px!important;
 box-shadow:0 10px 30px rgba(16,33,65,.08)!important;
 backdrop-filter:blur(12px)!important;
}
html body .broadcast-unified-toolbar h1{
 font-size:clamp(17px,1.65vw,24px)!important;
 line-height:1.1!important;font-weight:800!important;margin:0!important;white-space:nowrap!important;
}
html body .broadcast-unified-stats{
 display:flex!important;gap:7px!important;flex-wrap:wrap!important;align-items:center!important;
}
html body .broadcast-unified-stats>span{
 display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 border:1px solid var(--border,#dae4f1)!important;border-radius:11px!important;
 padding:6px 10px!important;min-width:58px!important;
 font-size:10px!important;color:var(--muted,#6a7c98)!important;
 background:color-mix(in srgb,var(--surface-solid,#fff) 75%,transparent)!important;
 line-height:1.35!important;white-space:nowrap!important;
}
html body .broadcast-unified-stats strong{font-size:17px!important;color:var(--ink,#162340)!important;font-weight:850!important}
html body .broadcast-unified-actions{
 display:flex!important;gap:8px!important;align-items:center!important;justify-content:flex-end!important;
 flex:1 1 375px!important;min-width:0!important;flex-wrap:wrap!important;
}
html body .broadcast-unified-actions .broadcast-tabs{
 margin:0!important;width:auto!important;display:flex!important;gap:2px!important;
 border-radius:12px!important;padding:3px!important;white-space:nowrap!important;
}
html body .broadcast-unified-actions .broadcast-tabs a{
 font-size:11px!important;padding:8px 10px!important;
}
html body .broadcast-unified-actions .broadcast-search{
 min-width:120px!important;max-width:280px!important;flex:1 1 150px!important;
 padding:0!important;margin:0!important;background:none!important;box-shadow:none!important;
 border:0!important;display:block!important;
}
html body .broadcast-unified-actions .broadcast-search input{
 width:100%!important;min-height:37px!important;box-sizing:border-box!important;
 border-radius:11px!important;font-size:12px!important;
}
html body .broadcast-unified-actions>.primary{
 min-height:37px!important;font-size:11px!important;padding:9px 13px!important;
 border-radius:11px!important;white-space:nowrap!important;
}
html body .broadcast-modern-dialog{
 width:min(620px,calc(100vw - 24px))!important;
 max-width:calc(100vw - 24px)!important;
 max-height:min(94dvh,800px)!important;overflow-y:auto!important;
 box-sizing:border-box!important;padding:18px!important;
}
html body .broadcast-modern-dialog .dialog-head{padding:0 0 10px!important;margin:0 0 11px!important}
html body .broadcast-modern-dialog .dialog-head h2{font-size:21px!important;margin:0!important}
html body .broadcast-modern-form .v486-broadcast-block{
 display:grid!important;gap:11px!important;padding:0!important;
 background:transparent!important;border:0!important;border-radius:0!important;
}
html body .broadcast-modern-form .v486-broadcast-block>label,
html body .broadcast-modern-form [data-broadcast-mode]>label,
html body .broadcast-modern-form .v486-tag-label,
html body .broadcast-modern-form .v487-interval-grid>label,
html body .broadcast-modern-form .broadcast-modern-schedule>label{
 display:grid!important;gap:5px!important;min-width:0!important;
 font-size:11px!important;font-weight:750!important;margin:0!important;color:var(--ink,#1d3254)!important;
}
html body .broadcast-modern-form :is(input:not([type=radio]):not([type=checkbox]):not([type=file]),select,textarea){
 box-sizing:border-box!important;min-width:0!important;
 min-height:39px!important;width:100%!important;
 font-size:12px!important;border-radius:11px!important;
 border:1px solid var(--border,#dae4f1)!important;
 padding:8px 12px!important;
 background:var(--surface-solid,#fff)!important;
 color:var(--ink,#1c2a48)!important;
}
html body .broadcast-modern-form .v486-tag-input{border-radius:11px!important;min-height:39px!important}
html body .broadcast-modern-form .v486-tag-input input{
 min-height:28px!important;height:29px!important;border:0!important;padding:0!important;
}
html body .broadcast-modern-form .v487-interval-grid{
 display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;
}
html body .broadcast-modern-form .v487-interval-grid [data-v487-manual-interval][hidden]{display:none!important}
html body .broadcast-modern-form .v486-interval-range{gap:6px!important}
html body .broadcast-modern-form .v486-interval-range b{font-size:15px!important}
html body .broadcast-modern-form .v486-start-switch{
 margin:2px 0!important;padding:0!important;font-size:12px!important;
}
html body .broadcast-modern-schedule{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:9px!important;padding:10px!important;border-radius:13px!important;
 border:1px solid var(--border,#d8e3f4)!important;
 background:color-mix(in srgb,var(--surface-solid,#fff) 78%,transparent)!important;
}
html body .broadcast-modern-schedule[hidden]{display:none!important}
html body .broadcast-modern-schedule>label:first-child{grid-column:1/-1!important}
html body .broadcast-modern-dialog .dialog-actions{
 display:flex!important;justify-content:flex-end!important;gap:8px!important;
 padding:12px 0 0!important;
}
html body .broadcast-modern-dialog .dialog-actions>button{
 font-size:12px!important;min-height:38px!important;border-radius:11px!important;
}
html body .broadcast-mode-picker{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:5px!important;padding:4px!important;border-radius:12px!important;
 border:1px solid var(--border,#dce6f3)!important;
 background:color-mix(in srgb,var(--surface-solid,#fff) 78%,#dce8f6)!important;
}
html body .broadcast-mode-picker>label{
 display:block!important;margin:0!important;cursor:pointer!important;min-width:0!important;
}
html body .broadcast-mode-picker input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important}
html body .broadcast-mode-picker span{
 display:grid!important;place-items:center!important;text-align:center!important;
 font-size:11px!important;min-height:34px!important;font-weight:700!important;
 padding:6px 3px!important;border-radius:9px!important;
}
html body .broadcast-mode-picker input:checked+span{
 background:var(--accent,#2878f5)!important;color:#fff!important;
 box-shadow:0 4px 15px rgba(22,104,210,.25)!important;
}
html body .broadcast-mode-picker input:focus-visible+span{
 outline:3px solid color-mix(in srgb,var(--accent,#2878f5) 45%,transparent)!important;
}
html body .broadcast-modern-form [data-broadcast-mode][hidden]{display:none!important}
html body .broadcast-modern-form [data-broadcast-mode="message groups"]{
 position:relative!important;min-width:0!important;display:grid!important;gap:5px!important;
}
html body .broadcast-modern-form [data-broadcast-mode="message groups"]>label{
 font-size:11px!important;font-weight:750!important;
}
html body .broadcast-variation-list{display:grid!important;gap:7px!important}
html body .broadcast-message-card{position:relative!important;min-width:0!important}
html body .broadcast-modern-form .broadcast-message-card textarea{
 width:100%!important;max-width:100%!important;min-height:75px!important;
 padding:11px 92px 11px 12px!important;resize:vertical!important;
 font-size:12px!important;line-height:1.5!important;
}
html body .broadcast-message-tools{
 position:absolute!important;right:7px!important;top:7px!important;
 display:flex!important;align-items:center!important;gap:3px!important;
}
html body .broadcast-message-tool,html body .broadcast-remove-variant{
 width:27px!important;height:28px!important;min-height:0!important;
 display:grid!important;place-items:center!important;padding:0!important;
 border-radius:8px!important;background:color-mix(in srgb,var(--surface-solid,#fff) 91%,#dbe9fb)!important;
 border:1px solid var(--border,#dce5f1)!important;
 cursor:pointer!important;font-size:16px!important;
}
html body .broadcast-message-tool[hidden]{display:none!important}
html body .broadcast-remove-variant{font-size:17px!important;color:var(--muted,#6d7894)!important}
html body .broadcast-emoji-pop:not([hidden]){
 z-index:2147483646!important;max-width:calc(100vw - 24px)!important;
 max-height:min(235px,44dvh)!important;overflow-y:auto!important;
 padding:10px!important;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;
 gap:3px!important;background:var(--surface-solid,#fff)!important;
 border:1px solid var(--border,#dbe3f0)!important;border-radius:14px!important;
 box-shadow:0 18px 54px rgba(20,37,75,.3)!important;
}
html body .broadcast-emoji-pop button{
 font-size:21px!important;padding:3px!important;aspect-ratio:1!important;
 border:0!important;border-radius:8px!important;background:transparent!important;cursor:pointer!important;
}
html body .broadcast-emoji-pop button:hover{background:#e5edff!important}
html body .broadcast-add-message{
 justify-self:end!important;margin-top:-2px!important;
 padding:5px 9px!important;font-size:11px!important;font-weight:750!important;
 background:var(--accent-soft,#e9f1ff)!important;color:var(--accent,#2878f5)!important;
 border:1px solid var(--border,#d9e5f4)!important;border-radius:9px!important;cursor:pointer!important;
}
html body .broadcast-group-section{
 display:grid!important;gap:7px!important;
}
html body .broadcast-group-section[hidden]{display:none!important}
html body .broadcast-pick-groups{
 width:100%!important;display:flex!important;justify-content:space-between!important;align-items:center!important;
 font-size:12px!important;border-radius:11px!important;min-height:39px!important;
}
html body .broadcast-pick-groups [data-broadcast-group-count]{
 font-size:10px!important;color:var(--accent,#2878f5)!important;
}
html body .broadcast-group-chips{display:flex!important;flex-wrap:wrap!important;gap:5px!important}
html body .broadcast-group-chip{
 display:flex!important;align-items:center!important;gap:6px!important;
 background:var(--accent-soft,#e9f1ff)!important;border-radius:999px!important;
 padding:4px 8px!important;font-size:10px!important;font-weight:750!important;
}
html body .broadcast-group-chip button{border:0!important;background:transparent!important;color:inherit!important;cursor:pointer!important}
html body .broadcast-authorization{
 display:flex!important;align-items:center!important;gap:8px!important;
 font-size:11px!important;font-weight:500!important;line-height:1.35!important;
 padding:6px 2px!important;
}
html body .broadcast-authorization input{width:18px!important;height:18px!important;flex:0 0 auto!important;margin:0!important}
html body .broadcast-media-display small{display:block!important;font-size:10px!important;color:var(--muted,#74829b)!important}
html body .broadcast-media-display>label{display:flex!important;align-items:center!important;gap:7px!important;font-size:11px!important}
html body .broadcast-media-display>label[hidden]{display:none!important}
html body .broadcast-groups-dialog .broadcast-groups-card{
 width:min(460px,calc(100vw - 24px))!important;
 padding:18px!important;box-sizing:border-box!important;border-radius:18px!important;
 max-height:min(76dvh,590px)!important;overflow-y:auto!important;
}
html body .broadcast-groups-card .dialog-head{margin-bottom:8px!important}
html body .broadcast-groups-card [data-broadcast-group-search]{
 width:100%!important;min-height:41px!important;padding:8px 12px!important;
 border:1px solid var(--border,#dce5f1)!important;border-radius:12px!important;
 background:var(--surface-solid,#fff)!important;font-size:12px!important;
}
html body .broadcast-group-options{
 display:grid!important;gap:5px!important;
 margin:10px 0!important;max-height:min(42dvh,380px)!important;overflow-y:auto!important;
}
html body .broadcast-group-options>label{
 display:flex!important;align-items:center!important;gap:10px!important;
 border-radius:11px!important;border:1px solid var(--border,#dce5f1)!important;
 background:var(--surface-solid,#fff)!important;padding:10px!important;cursor:pointer!important;
}
html body .broadcast-group-options>label[hidden]{display:none!important}
html body .broadcast-group-options input{
 flex:0 0 auto!important;width:18px!important;height:18px!important;
 margin:0!important;
}
html body .broadcast-group-options strong{display:block!important;font-size:12px!important;overflow-wrap:anywhere!important}
html body .broadcast-group-options small{display:block!important;font-size:10px!important;color:var(--muted,#64748b)!important;margin-top:2px!important}
html body .broadcast-group-options>label:has(input:checked){border-color:var(--accent,#2878f5)!important;background:var(--accent-soft,#e9f1ff)!important}
html body .broadcast-group-options>label.broadcast-incompatible{opacity:.47!important}
html body .broadcast-groups-card .dialog-actions{display:flex!important;justify-content:flex-end!important}
@media(max-width:860px){
 html body .broadcast-unified-toolbar{max-width:calc(100% - 20px)!important;padding:12px!important;gap:10px!important}
 html body .broadcast-unified-actions{justify-content:flex-start!important;flex-basis:100%!important}
 html body .broadcast-modern-dialog{width:min(620px,calc(100vw - 18px))!important;padding:14px!important}
}
@media(max-width:550px){
 html body .broadcast-unified-stats{width:100%!important;justify-content:space-between!important}
 html body .broadcast-unified-stats>span{flex:1 1 20%!important;min-width:0!important;padding:6px 3px!important}
 html body .broadcast-unified-actions .broadcast-tabs{flex:1 1 100%!important}
 html body .broadcast-unified-actions .broadcast-search{flex:1 1 150px!important;max-width:none!important}
 html body .broadcast-unified-actions>.primary{flex:0 0 auto!important}
 html body .broadcast-modern-dialog{max-height:calc(94dvh - 8px)!important}
 html body .broadcast-modern-schedule{grid-template-columns:1fr 1fr!important}
 html body .broadcast-modern-form .v487-interval-grid{grid-template-columns:1fr!important}
 html body .broadcast-mode-picker span{font-size:10px!important}
}

/* Ajuste pontual de UX: título à direita, horários opcionais e ajuda recolhível. */
html body .broadcast-modern-dialog .dialog-head {
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:10px!important;
}
html body .broadcast-modern-dialog .dialog-head h2 {
  margin-left:auto!important;
  margin-right:0!important;
  text-align:right!important;
  flex:1 1 auto!important;
  padding-left:75px!important; /* reserva espaço aos três pontos macOS */
}
html body .broadcast-modern-dialog .dialog-head .dialog-close {
  flex:0 0 auto!important;
}
html body .broadcast-modern-form .broadcast-time-setting {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(100px,.8fr)!important;
  gap:6px!important;
  min-width:0!important;
}
html body .broadcast-modern-form .broadcast-time-setting.is-off {
  grid-template-columns:1fr!important;
}
html body .broadcast-modern-form .broadcast-time-setting input[hidden] {
  display:none!important;
}
html body .broadcast-modern-form .broadcast-time-setting :is(select,input) {
  width:100%!important;
  min-width:0!important;
  min-height:39px!important;
  box-sizing:border-box!important;
  font-size:12px!important;
}
html body .broadcast-modern-form .broadcast-zero-note {
  grid-column:1/-1!important;
  color:var(--muted,#73809a)!important;
  font-size:10px!important;
  line-height:1.3!important;
}
html body .broadcast-modern-dialog .broadcast-help-details {
  display:block!important;
  margin:8px 0 0!important;
  padding:0!important;
  border:0!important;
  background:none!important;
}
html body .broadcast-modern-dialog .broadcast-help-details summary {
  list-style:none!important;
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:25px!important;
  margin:0 auto!important;
  border:1px solid var(--border,#dce4f1)!important;
  border-radius:12px 12px 6px 6px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 82%,#e7edfc)!important;
  color:var(--muted,#65778e)!important;
  cursor:pointer!important;
}
html body .broadcast-modern-dialog .broadcast-help-details summary::-webkit-details-marker {
  display:none!important;
}
html body .broadcast-modern-dialog .broadcast-help-details summary span {
  display:block!important;
  line-height:1!important;
  font-size:19px!important;
  transition:transform .2s ease!important;
}
html body .broadcast-modern-dialog .broadcast-help-details[open] summary span {
  transform:rotate(180deg)!important;
}
html body .broadcast-modern-dialog .broadcast-help-details p {
  margin:7px 0 0!important;
  padding:9px 11px!important;
  border-radius:10px!important;
  border:1px solid var(--border,#dce4f1)!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 90%,#daeafa)!important;
  color:var(--muted,#65778e)!important;
  font-size:11px!important;
  line-height:1.45!important;
  text-align:center!important;
}
html body .broadcast-modern-dialog .broadcast-media-display:has([data-broadcast-media-preview][hidden]):not(:has([data-broadcast-remove-media-wrap]:not([hidden]))) {
  display:none!important;
}
html body .broadcast-modern-dialog .broadcast-media-display [data-broadcast-media-preview][hidden]{
  display:none!important;
}
@media(max-width:560px){
  html body .broadcast-modern-form .broadcast-time-setting {
    grid-template-columns:1fr!important;
  }
  html body .broadcast-modern-dialog .dialog-head h2 {
    padding-left:45px!important;
  }
}

/* A dica de agendamento não aparece em Iniciar agora. */
html body .broadcast-modern-dialog .broadcast-help-details[hidden]{display:none!important}

/* v766: tools outside the writing area, emoji in a stable side column. */
html body .broadcast-modern-form .broadcast-message-card{
 display:grid!important;grid-template-columns:minmax(0,1fr) 30px!important;
 grid-template-rows:auto auto!important;column-gap:5px!important;row-gap:3px!important;
 align-items:center!important;min-width:0!important;
}
html body .broadcast-modern-form .broadcast-message-card>.broadcast-message-tools{
 position:static!important;inset:auto!important;
 grid-column:1/-1!important;grid-row:1!important;justify-self:end!important;
 margin:0!important;gap:4px!important;
}
html body .broadcast-modern-form .broadcast-message-card>textarea{
 grid-column:1!important;grid-row:2!important;align-self:stretch!important;
 box-sizing:border-box!important;min-width:0!important;width:100%!important;
 padding:10px 12px!important;margin:0!important;
}
html body .broadcast-modern-form .broadcast-message-card>.broadcast-emoji-side-v766{
 grid-column:2!important;grid-row:2!important;align-self:center!important;
 justify-self:center!important;position:static!important;margin:0!important;
}
html body .broadcast-modern-form .broadcast-message-card>.broadcast-emoji-side-v766[hidden]{
 display:none!important;
}


/* source: /assets/msnbot-multi-ui-v489.css */
/* MSNBOT 4.8.9: pequenos ajustes de densidade e separação de ações. */
html body .dashboard-health-bottom .d42-connect,
html body .d42-health .d42-connect {
 min-height:33px!important;
 height:33px!important;
 padding:4px 14px!important;
 border-radius:10px!important;
 box-sizing:border-box!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 font-size:12px!important;line-height:1.15!important;
}
html body .msn-v33-chat-head {gap:6px!important;min-width:0!important;}
html body .msn-v33-chat-head .grow{min-width:0!important;flex:1 1 auto!important;}
html body .msn-v33-chat-head .msnbot-sale-trophy,
html body .msn-v33-chat-head .msnbot-sale-trophy[data-sale-stage="8"]{
 flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;
 height:34px!important;margin:0 5px 0 2px!important;overflow:hidden!important;
 box-sizing:border-box!important;z-index:1!important;transform:none!important;
}
html body .msn-v33-chat-head .msnbot-sale-diamond,
html body .msn-v33-chat-head .msnbot-sale-trophy[data-sale-stage="8"] .msnbot-sale-diamond {
 font-size:15px!important;line-height:1!important;
}
html body .msn-v33-chat-head .msnbot-sale-diamond:not(:first-child){margin-left:-7px!important;}
html body .msn-v33-chat-head .msnbot-sale-diamonds{max-width:100%!important;overflow:hidden!important;}
html body .msn-v33-chat-head .msnbot-sale-trophy:hover{transform:translateY(-1px)!important;}
@media(max-width:600px){
 html body .msn-v33-chat-head {gap:4px!important;}
 html body .msn-v33-chat-head .msnbot-sale-trophy,
 html body .msn-v33-chat-head .msnbot-sale-trophy[data-sale-stage="8"]{
  flex-basis:32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;
  height:32px!important;margin:0 3px!important;
 }
 html body .msn-v33-chat-head .msnbot-sale-diamond,
 html body .msn-v33-chat-head .msnbot-sale-trophy[data-sale-stage="8"] .msnbot-sale-diamond{
  font-size:13px!important;
 }
}
/* Citação de resposta: estilo compacto inspirado na conversa do WhatsApp. */
html body .msn-v33-chat .msnbot-reply-banner{
 display:flex!important;align-items:center!important;gap:6px!important;
 padding:6px 8px!important;margin:2px 5px 4px!important;min-width:0!important;
 border-radius:11px!important;border:1px solid var(--border,#d7dfeb)!important;
 border-left:4px solid #2684eb!important;background:var(--surface-solid,#fff)!important;
 box-shadow:0 2px 5px #263b5710!important;
}
html body .msn-v33-chat .msnbot-reply-banner[hidden]{display:none!important;}
html body .msnbot-reply-banner-jump{
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 text-align:left!important;flex:1 1 0!important;min-width:0!important;gap:3px!important;
 border:0!important;background:none!important;color:inherit!important;cursor:pointer!important;
 padding:2px 4px!important;font-size:12px!important;line-height:1.25!important;
}
html body .msnbot-reply-banner-author{font-size:12px!important;color:#1d77ce!important;}
html body .msnbot-reply-banner-body{
 display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;color:var(--muted,#718096)!important;font-size:11px!important;
}
html body .msnbot-reply-banner-close{
 border:0!important;background:transparent!important;min-width:32px!important;min-height:32px!important;
 font-size:21px!important;color:var(--muted,#6e8097)!important;cursor:pointer!important;
}
html body .msnbot-chat-quote{
 display:flex!important;flex-direction:column!important;gap:3px!important;
 max-width:100%!important;text-align:left!important;padding:6px 9px!important;
 margin:0 0 6px!important;border:0!important;border-left:3px solid #2c9c75!important;
 border-radius:6px!important;background:rgba(127,150,164,.12)!important;cursor:pointer!important;
 font-size:11px!important;line-height:1.35!important;color:inherit!important;
}
html body .msnbot-chat-quote strong{font-size:11px!important;color:#16886d!important;}
html body .msnbot-chat-quote span{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;overflow-wrap:anywhere!important;}
html body .msnbot-reply-target-focus{outline:3px solid #438dfb!important;outline-offset:3px!important;transition:outline .2s!important;}
html body .msnbot-reply-toast{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:9999;padding:10px 16px;background:#172c47;color:white;border-radius:12px;font:13px sans-serif;max-width:min(370px,90vw);text-align:center;}
@media(max-width:600px){html body .msn-v33-chat .msnbot-reply-banner{margin:2px 5px 3px!important;padding:5px 6px!important;}html body .msnbot-chat-quote{padding:5px 7px!important;}}


/* source: /assets/msnbot-swipe-reply-v489.css */
/* Gesto de resposta: apenas mensagens do bate-papo, sem afetar o Dock ou a rolagem vertical. */
@media (pointer:coarse){
 .msn-v33-chat #msn-messages .message-bubble-v33{touch-action:pan-y pinch-zoom;}
 .msn-v33-chat #msn-messages .message-bubble-v33.msnbot-reply-dragging{
   transform:translate3d(var(--msnbot-reply-dx,0px),0,0)!important;
   transition:none!important;will-change:transform;
 }
 .msn-v33-chat #msn-messages .message-bubble-v33.msnbot-reply-returning{
   transform:translate3d(0,0,0)!important;
   transition:transform 180ms cubic-bezier(.22,.8,.3,1)!important;
 }
 .msn-v33-chat #msn-messages .message-bubble-v33 .msnbot-reply-swipe-indicator{
   position:absolute;left:-37px;top:50%;transform:translateY(-50%) scale(.84);
   display:flex;align-items:center;justify-content:center;
   width:32px;height:32px;border-radius:50%;
   background:rgba(25,107,199,.92);color:white;
   box-shadow:0 3px 9px rgba(24,68,111,.18);
   opacity:.72;pointer-events:none;transition:background .12s,transform .12s;
 }
 .msn-v33-chat #msn-messages .message-bubble-v33.msnbot-reply-left .msnbot-reply-swipe-indicator{
   left:auto;right:-37px;transform:translateY(-50%) scaleX(-1) scale(.84);
 }
 .msn-v33-chat #msn-messages .message-bubble-v33.msnbot-reply-ready .msnbot-reply-swipe-indicator{
   background:#168d72;opacity:1;transform:translateY(-50%) scale(1);
 }
 .msn-v33-chat #msn-messages .message-bubble-v33.msnbot-reply-left.msnbot-reply-ready .msnbot-reply-swipe-indicator{
   transform:translateY(-50%) scaleX(-1) scale(1);
 }
}
@media (prefers-reduced-motion:reduce){
 .msn-v33-chat #msn-messages .message-bubble-v33.msnbot-reply-returning{transition:none!important;}
}


/* source: /assets/msnbot-group-v489.css */
/* MSNBOT Luz 4.8.9 — interface de grupos, sem alterações nas conversas individuais. */
html body .msnbot-group-shell.v479-contact-card-open{
 grid-template-columns:minmax(270px,23%) minmax(0,1fr) minmax(320px,29%)!important;
}
html body .msnbot-group-shell .msn-v33-contact-card{
 padding:0!important;overflow-y:auto!important;overflow-x:hidden!important;
 background:var(--surface-solid,#fff)!important;
 color:var(--ink,#17253e)!important;
 scrollbar-gutter:auto!important;
}
html body .msnbot-group-details{
 font-family:inherit;min-width:0;max-width:100%;min-height:100%;
 background:var(--surface-solid,#fff);color:var(--ink,#17253e);
 display:flex;flex-direction:column;gap:0;
}
html body .msnbot-group-details-bar{
 position:sticky;top:0;z-index:6;background:var(--surface-solid,#fff);
 display:flex;align-items:center;gap:10px;padding:14px 16px;
 border-bottom:1px solid var(--border,#e1e6ef);
}
html body .msnbot-group-details-bar>strong{font-size:15px;font-weight:800;flex:1;}
html body .msnbot-group-details-bar button,
html body .msnbot-group-section-head>button{
 appearance:none;border:0;background:transparent;color:inherit;cursor:pointer;
 font-size:22px;min-width:34px;min-height:34px;border-radius:10px;
}
html body .msnbot-group-details-bar button:hover,
html body .msnbot-group-section-head>button:hover{background:color-mix(in srgb,currentColor 9%,transparent)}
html body .msnbot-group-details-profile{
 display:flex;flex-direction:column;align-items:center;
 padding:22px 14px 17px;text-align:center;
}
html body .msnbot-group-profile-photo{
 width:100px;height:100px;flex-shrink:0;border-radius:50%;
 background:color-mix(in srgb,#308aff 15%,var(--surface-solid,#fff));
 display:grid;place-items:center;font-size:42px;overflow:hidden;
 box-shadow:0 0 0 4px color-mix(in srgb,#2b80ff 7%,transparent);
}
html body .msnbot-group-profile-photo img{display:block;width:100%;height:100%;object-fit:cover;}
html body .msnbot-group-details-profile h2{
 margin:17px 0 3px!important;padding:0!important;
 font-size:clamp(18px,1.8vw,22px)!important;line-height:1.22!important;
 font-weight:800!important;overflow-wrap:anywhere;text-align:center;
}
html body .msnbot-group-details-profile>p{color:var(--muted,#738097);font-size:12px;margin:2px 0 0!important;}
html body .msnbot-group-fast-actions{
 display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;margin-top:22px;
}
html body .msnbot-group-fast-actions button{
 background:transparent!important;border:0!important;padding:2px!important;
 color:inherit!important;display:flex;align-items:center;flex-direction:column;gap:5px!important;
 cursor:pointer;min-width:0;font-family:inherit;
}
html body .msnbot-group-fast-actions button>span{
 display:grid;place-items:center;width:42px;height:42px;border-radius:50%;
 font-size:23px;background:color-mix(in srgb,#277df4 11%,var(--surface-solid,#fff));color:#2678d8;
 transition:transform .14s ease;
}
html body .msnbot-group-fast-actions button:hover>span{transform:translateY(-2px);}
html body .msnbot-group-fast-actions button small{font-size:10px;color:var(--muted,#68768e);white-space:nowrap;}
html body .msnbot-group-details-section{
 border-top:8px solid color-mix(in srgb,var(--ink,#16243a) 3%,var(--surface-solid,#fff));
 padding:17px 18px;
}
html body .msnbot-group-section-head{display:flex;align-items:center;gap:8px;justify-content:space-between;margin-bottom:8px;}
html body .msnbot-group-section-head strong{font-size:13px;font-weight:800;}
html body .msnbot-group-section-head small{font-size:10px;color:var(--muted,#7c8ba0);margin-left:auto;}
html body .msnbot-group-section-head>button{min-width:27px;min-height:27px;font-size:20px;}
html body .msnbot-group-description{margin:0!important;white-space:normal!important;font-size:12px;line-height:1.65;color:var(--ink,#17253e);overflow-wrap:anywhere;}
html body .msnbot-group-inline-editor[hidden],
html body .msnbot-group-message-search[hidden],
html body [data-msnbot-group-member-search][hidden]{display:none!important;}
html body .msnbot-group-inline-editor,
html body .msnbot-group-rename form,
html body .msnbot-group-permissions{display:grid;gap:9px;margin-top:12px;}
html body .msnbot-group-inline-editor textarea,
html body .msnbot-group-rename input,
html body .msnbot-group-permissions select,
html body .msnbot-group-message-search input,
html body [data-msnbot-group-member-search]{
 width:100%;min-width:0;padding:10px 12px!important;border:1px solid var(--border,#d9e1ef)!important;
 border-radius:11px!important;color:inherit!important;background:var(--surface-solid,#fff)!important;
 font:inherit!important;font-size:12px!important;box-sizing:border-box;
}
html body .msnbot-group-inline-editor button,
html body .msnbot-group-rename button,
html body .msnbot-group-permissions button{
 background:linear-gradient(110deg,#3286fd,#265dbe);border:0;color:#fff;font-weight:750;
 border-radius:11px;padding:10px 12px;cursor:pointer;
}
html body .msnbot-group-rename{margin-top:11px;}
html body .msnbot-group-rename summary{font-size:11px;color:#2878d8;cursor:pointer;font-weight:700;}
html body .msnbot-group-muted{font-size:12px;color:var(--muted,#7c8ba0);line-height:1.5;margin:8px 0;}
html body .msnbot-group-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px;}
html body .msnbot-group-media-item{
 min-width:0;min-height:65px;aspect-ratio:1;border:1px solid var(--border,#e0e7ee);
 border-radius:10px;background:color-mix(in srgb,#2982e8 6%,var(--surface-solid,#fff));
 overflow:hidden;display:grid;place-items:center;color:var(--ink,#17253e);cursor:pointer;padding:0;
}
html body .msnbot-group-media-item img{width:100%;height:100%;object-fit:cover;}
html body .msnbot-group-media-item>span{font-size:24px;}
html body .msnbot-group-expand>summary{cursor:pointer;display:flex;align-items:center;gap:10px;list-style:none;font-size:13px;min-height:28px;}
html body .msnbot-group-expand>summary::-webkit-details-marker{display:none}
html body .msnbot-group-expand>summary span{font-size:22px;width:25px;color:#7b8a9d;}
html body .msnbot-group-expand>summary strong{font-size:12px;flex:1;}
html body .msnbot-group-expand>summary small{font-size:10px;color:var(--muted,#75869b);}
html body .msnbot-group-favorite-list{display:grid;gap:5px;padding-top:10px;}
html body .msnbot-group-favorite-list button{
 color:inherit;text-align:left;font-size:11px;padding:11px 9px;
 border:1px solid var(--border,#e5e9f0);background:transparent;border-radius:9px;cursor:pointer;
}
html body .msnbot-group-member-list{display:grid;gap:2px;max-width:100%;}
html body .msnbot-group-member{
 display:flex;align-items:center;gap:10px;min-width:0;padding:7px 2px;border-radius:12px;
}
html body .msnbot-group-member[hidden]{display:none!important}
html body .msnbot-group-member-photo{
 width:38px;height:38px;min-width:38px;overflow:hidden;border-radius:50%;
 display:grid;place-items:center;color:var(--group-avatar-color,#388bfb);font-size:16px;font-weight:800;
 background:color-mix(in srgb,var(--group-avatar-color,#388bfb) 15%,var(--surface-solid,#fff));
}
html body .msnbot-group-member-photo img{width:100%;height:100%;display:block;object-fit:cover;}
html body .msnbot-group-member-main{flex:1;min-width:0;display:grid;gap:2px;}
html body .msnbot-group-member-main strong{font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
html body .msnbot-group-member-main small{font-size:10px;color:var(--muted,#75849b);overflow:hidden;text-overflow:ellipsis;}
html body .msnbot-group-admin-pill{
 flex-shrink:0;font-size:9px;padding:4px 7px;border-radius:6px;
 background:color-mix(in srgb,#b68b4c 15%,var(--surface-solid,#fff));color:var(--ink,#654a25);
}
html body .msnbot-group-permissions label{font-size:11px;font-weight:600;display:grid;gap:5px;}
html body .msnbot-group-details-footer{text-align:center;color:var(--muted,#7d8da4);font-size:10px;padding:22px 12px 35px;}
html body .msnbot-group-message-search{width:100%;margin-top:14px;text-align:left;}
html body [data-msnbot-group-message-results]{display:grid;gap:4px;max-height:190px;overflow:auto;}
html body [data-msnbot-group-message-results]>button{
 text-align:left;border:0;border-radius:7px;cursor:pointer;background:color-mix(in srgb,#237ffd 7%,var(--surface-solid,#fff));
 padding:8px;color:inherit;font-size:11px;line-height:1.35;
}
/* Chat participant avatars */
html body .msnbot-group-shell .message-bubble-v33.msnbot-group-message{
 position:relative!important;max-width:min(78%,calc(100% - 58px))!important;overflow:visible!important;
}
html body .msnbot-group-shell .message-bubble-v33.incoming.msnbot-group-message{margin-left:48px!important;}
html body .msnbot-group-shell .message-bubble-v33.outgoing.msnbot-group-message{margin-right:48px!important;margin-left:auto!important;}
html body .msnbot-group-message-avatar{
 width:33px;height:33px;position:absolute;left:-41px;top:0;
 border-radius:50%;display:grid;place-items:center;overflow:hidden;font-size:13px;font-weight:850;
 background:color-mix(in srgb,var(--msnbot-group-person-color,#3989fa) 14%,#fff);
 color:var(--msnbot-group-person-color,#3989fa);box-shadow:0 1px 4px #001a3125;
}
html body .msnbot-group-message-avatar img{width:100%;height:100%;object-fit:cover;display:block;}
html body .msnbot-group-message.outgoing>.msnbot-group-message-avatar{left:auto;right:-41px;}
html body .msnbot-group-message-author{
 display:block!important;font-size:11px!important;line-height:1.3!important;
 color:var(--msnbot-group-person-color,#2988c6)!important;font-weight:800!important;
 margin:0 0 5px!important;
}
html body .msnbot-group-message.incoming .v475-audio-card .v475-audio-avatar{display:none!important;}
@media(max-width:1100px){
 html body .msnbot-group-shell.v479-contact-card-open{grid-template-columns:280px minmax(0,1fr)!important;}
 html body .msnbot-group-shell .msn-v33-contact-card{width:min(390px,calc(100vw - 24px))!important;}
}
@media(max-width:720px){
 html body .msnbot-group-shell.v479-contact-card-open{display:block!important;}
 html body .msnbot-group-shell.v479-contact-card-open .msn-v33-contact-card{
  position:fixed!important;z-index:180!important;
  top:calc(47px + env(safe-area-inset-top,0px))!important;bottom:calc(63px + env(safe-area-inset-bottom,0px))!important;
  left:5px!important;right:5px!important;width:calc(100vw - 10px)!important;max-width:none!important;
  border-radius:18px!important;box-shadow:0 18px 45px #0d193a55!important;
 }
 html body .msnbot-group-shell .message-bubble-v33.msnbot-group-message{max-width:calc(100% - 55px)!important;}
 html body .msnbot-group-details-profile{padding-top:17px;}
 html body .msnbot-group-details-section{padding:15px 14px;}
 html body .msnbot-group-profile-photo{width:78px;height:78px;font-size:34px;}
 html body .msnbot-group-media-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
 html body .msnbot-group-fast-actions button>span{width:38px;height:38px;}
}


/* source: /assets/msnbot-followup-v489.css */
/* MSNBOT Luz 4.8.9 — correcoes pontuais: editor Agenda, Dock genie, audio, encaminhadas. */

/* Editor de agendamento: diálogo centralizado, mesmo ritmo visual de "Agendar". */
html body .timeline-detail-overlay{
 position:fixed!important;inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;
 width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;
 display:flex!important;flex-flow:column nowrap!important;align-items:center!important;
 justify-content:safe center!important;gap:10px!important;
 overflow-x:hidden!important;overflow-y:auto!important;box-sizing:border-box!important;
 padding:clamp(12px,2vh,24px)!important;z-index:10020!important;
 background:rgba(15,22,43,.48)!important;backdrop-filter:blur(5px)!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
}
html body .timeline-detail-overlay .schedule-detail-card{
 flex:0 0 auto!important;width:min(550px,calc(100vw - 24px))!important;
 min-height:0!important;max-height:calc(100dvh - 28px)!important;
 margin:auto!important;overflow-x:hidden!important;overflow-y:auto!important;
 box-sizing:border-box!important;overscroll-behavior:contain;
 padding:clamp(16px,2.6vw,25px)!important;border-radius:23px!important;
 background:var(--surface-solid,#fff)!important;
 box-shadow:0 20px 62px rgba(8,25,50,.22)!important;
}
html body .timeline-detail-overlay .schedule-detail-card .detail-title{
 display:flex!important;align-items:center!important;gap:12px!important;
 border-bottom:1px solid var(--border,#dbe4ee)!important;
 padding:0 0 14px!important;margin:0 0 15px!important;
}
html body .timeline-detail-overlay .schedule-detail-card .detail-title h3{
 font-size:clamp(21px,2.8vw,28px)!important;font-weight:850!important;letter-spacing:-.035em;
}
html body .timeline-detail-overlay .schedule-detail-card :is(input:not([type="hidden"]),textarea,select){
 border:1px solid var(--border,#dbe3ef)!important;border-radius:12px!important;
 font-size:clamp(12px,1.2vw,14px)!important;min-height:42px!important;
 background:var(--surface-solid,#fff)!important;color:var(--ink,#1b2b49)!important;
}
html body .timeline-detail-overlay .schedule-detail-card textarea{
 min-height:96px!important;padding:12px!important;
}
html body .timeline-detail-overlay .schedule-detail-card .schedule-detail-save{
 min-height:42px!important;border-radius:12px!important;font-weight:800!important;
}
html body .timeline-detail-overlay .timeline-reminder-card{
 flex:0 0 auto!important;width:min(550px,calc(100vw - 24px))!important;
 max-height:35vh;overflow:auto;border-radius:17px!important;
 margin:0!important;padding:15px!important;box-shadow:0 10px 30px rgba(6,20,39,.15)!important;
}
@media(max-width:620px){
 html body .timeline-detail-overlay{padding:10px!important;gap:8px!important;}
 html body .timeline-detail-overlay .schedule-detail-card{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;padding:16px!important;}
}

/* Dock: placa de vidro unica, ampliada em X e Y por composicao GPU.
   A pintura original fica na placa, nunca duplicada no contorno. */
@media (min-width:601px) and (hover:hover){
 html body.dock-manual-open:not(.dock-pos-left):not(.dock-pos-right) #msnbot-dock{
  isolation:isolate;
  overflow:visible!important;
  background:transparent!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  border-color:transparent!important;
  box-shadow:none!important;
 }
 html body.dock-manual-open:not(.dock-pos-left):not(.dock-pos-right) #msnbot-dock::after{
  content:"";position:absolute;pointer-events:none;inset:0;
  border-radius:inherit;
  background:color-mix(in srgb,var(--dock-bg,#202631) var(--dock-mix,45%),transparent);
  border:1px solid color-mix(in srgb,#fff 30%,transparent);
  box-shadow:0 14px 42px rgba(20,33,52,.24),inset 0 1px rgba(255,255,255,.35);
  -webkit-backdrop-filter:blur(22px) saturate(148%);
  backdrop-filter:blur(22px) saturate(148%);
  transform-origin:center center;
  transform:scale3d(1,1,1);
  transition:transform .58s cubic-bezier(.2,.75,.25,1);
  will-change:transform;
  z-index:-1;
 }
 /* Apenas 2 estados: recolhido ou expandido. Nenhum hover de ícone altera a placa. */
 html body.dock-manual-open.dock-wall-expanded:not(.dock-pos-left):not(.dock-pos-right) #msnbot-dock::after{
  transform:scale3d(var(--dock-genie-scale-x,1),var(--dock-genie-scale-y,1),1);
 }
 html[data-theme="dark"] body.dock-manual-open:not(.dock-pos-left):not(.dock-pos-right) #msnbot-dock::after{
  box-shadow:0 16px 48px rgba(0,0,0,.34),inset 0 1px rgba(255,255,255,.12);
 }
 /* Sem brilho de parallax móvel sobre a parede: o vidro fica uniforme. */
 html body.dock-manual-open:not(.dock-pos-left):not(.dock-pos-right) #msnbot-dock::before{
  z-index:0;
  background:none!important;
  transform:none!important;
  transition:none!important;
  will-change:auto!important;
 }
 html body.dock-manual-open:not(.dock-pos-left):not(.dock-pos-right) #msnbot-dock > .dock-item{
  z-index:1;
 }
}
@media(prefers-reduced-motion:reduce){
 html body #msnbot-dock::after{transition:none!important;will-change:auto!important;}
}
/* Player integrado: só as barras já reproduzidas recebem azul, com busca por toque/clique. */
html body .msn-v33-chat .v475-audio-card .v475-waveform{
 cursor:pointer!important;touch-action:pan-y;outline-offset:3px;
}
html body .msn-v33-chat .v475-audio-card .v475-waveform:focus-visible{
 outline:2px solid var(--accent,#2878f5)!important;border-radius:6px;
}
html body .msn-v33-chat .v475-audio-card .v475-waveform i.msnbot-wave-played{
 background:#278aff!important;color:#278aff!important;opacity:1!important;
}
html body .msn-v33-chat .v475-audio-card .v475-waveform i{
 transition:background-color .08s linear,opacity .08s linear;
}
html body .msn-v33-chat .msnbot-forwarded-label{
 display:flex;align-items:center;gap:5px;margin:0 0 6px;
 color:var(--muted,#6c7b8f)!important;font-size:11px!important;
 font-style:italic;font-weight:600;letter-spacing:.005em;line-height:1.3;
}
html body .msn-v33-chat .message-content .msnbot-forwarded-label::before{
 content:"⇄";font-style:normal;font-size:15px;font-weight:800;
}
html body .msn-v33-chat .v475-audio-main audio{display:none!important;}

html body .msn-v33-chat .message-bubble-v33[data-msnbot-forwarded="1"] .message-content::before{
 content:"↪ Encaminhada";display:flex;align-items:center;margin:0 0 5px;
 color:var(--muted,#718096);font-size:11px;font-style:italic;font-weight:600;line-height:1.3;
}


/* Áudios enviados como resposta pelo WhatsApp externo: a citação não pode
   alargar o balão para a largura das mensagens de texto. Áudios sem citação
   preservam o player compacto que já estava correto. */
html body #msn-messages article.message-bubble-v33.outgoing:has(.v475-audio-card):has(.msnbot-chat-quote){
  box-sizing:border-box!important;
  width:min(340px,86%)!important;
  max-width:min(340px,86%)!important;
  min-width:0!important;
}
html body #msn-messages article.message-bubble-v33.outgoing:has(.v475-audio-card):has(.msnbot-chat-quote) .message-content{
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
html body #msn-messages article.message-bubble-v33.outgoing:has(.v475-audio-card):has(.msnbot-chat-quote) .msnbot-chat-quote{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}
html body #msn-messages article.message-bubble-v33.outgoing:has(.v475-audio-card):has(.msnbot-chat-quote) .v475-audio-card{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  grid-template-columns:30px minmax(0,1fr) auto!important;
}


/* source: /assets/msnbot-audience-filters-v489.css */
/* MSNBOT Luz 4.8.9 — Audiência. Filtros sem sticky, seleção intacta
   e drawer de etiquetas. Os estilos são restritos ao app Audiência. */
html body main.page .audience-shell .audience-filters-vnext{
  position:static!important;top:auto!important;left:auto!important;
  align-self:start!important;height:auto!important;max-height:none!important;
  display:flex!important;flex-flow:column nowrap!important;align-items:stretch!important;
  overflow:visible!important;gap:13px!important;
  min-width:0!important;padding:15px!important;box-sizing:border-box!important;
}
html body main.page .audience-filters-vnext .filter-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:0 0 3px!important;gap:8px!important;
}
html body main.page .audience-filters-vnext .filter-head :is(strong,a){font-size:12px!important}
html body main.page .audience-filters-vnext .audience-filter-unit{
  position:relative;min-width:0;width:100%;display:flex;flex-flow:column nowrap;gap:6px;
}
html body main.page .audience-filters-vnext .audience-filter-heading{
  display:block!important;position:static!important;max-width:100%!important;
  margin:0!important;padding:0!important;text-align:left;
  color:var(--muted,#75829a);font-weight:800;font-size:10px!important;
  letter-spacing:.065em;text-transform:uppercase;line-height:1.35;
}
html body main.page .audience-filters-vnext .audience-filter-input{
  display:block!important;width:100%!important;min-width:0!important;
  max-width:100%!important;height:37px!important;min-height:37px!important;
  border-radius:11px!important;border:1px solid var(--border,#dce5f5)!important;
  background:var(--surface-solid,#fff)!important;color:var(--ink,#1d2740)!important;
  box-shadow:none!important;margin:0!important;padding:8px 10px!important;
  font-size:12px!important;font-weight:500!important;line-height:1.35!important;font-family:inherit!important;box-sizing:border-box!important;
}
html body main.page .audience-filters-vnext .audience-filter-input:focus-visible{
  outline:2px solid #4790ff;outline-offset:1px;
}
html body main.page .audience-filters-vnext .audience-filter-chips{
  display:flex;flex-flow:row wrap;gap:5px;min-width:0;
}
html body main.page .audience-filters-vnext .audience-filter-chip{
  display:inline-flex;align-items:center;gap:5px;max-width:100%;width:auto;
  border:1px solid #d0defb;border-radius:999px;padding:5px 7px;
  background:#eaf1ff;color:#315b9b;cursor:pointer;font-size:10px;font-weight:650;line-height:1.3;font-family:inherit;
}
html body main.page .audience-filters-vnext .audience-filter-chip span{
  font-size:15px;font-weight:750;margin-left:2px;
}
html body main.page .audience-filters-vnext .etiq-dot,
html body .audience-bulk-drawer .etiq-dot{
  display:inline-block;flex:0 0 8px;width:8px;height:8px;border-radius:50%;
}
html body main.page .audience-filters-vnext .audience-filter-tag-results,
html body main.page .audience-filters-vnext .audience-sales-agents{
  position:absolute!important;z-index:250!important;left:0;right:0;
  top:calc(100% - 5px);min-width:0;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#20314f)!important;border:1px solid var(--border,#dfe6f2);
  box-shadow:0 12px 30px rgba(24,50,89,.17);border-radius:13px;
  padding:6px;max-height:235px;overflow-y:auto;overscroll-behavior:contain;
}
html body main.page .audience-filters-vnext .audience-filter-tag-results[hidden],
html body main.page .audience-filters-vnext .audience-sales-agents[hidden]{display:none!important}
html body main.page .audience-filters-vnext :is(.audience-filter-tag-results,.audience-sales-agents) button{
  width:100%;min-height:33px;max-width:100%;display:flex;align-items:center;
  text-align:left;gap:8px;padding:7px 8px;border:0;border-radius:8px;
  color:inherit;background:transparent;cursor:pointer;font-size:11px;font-weight:550;
}
html body main.page .audience-filters-vnext :is(.audience-filter-tag-results,.audience-sales-agents) button:hover,
html body main.page .audience-filters-vnext :is(.audience-filter-tag-results,.audience-sales-agents) button:focus-visible{
  background:#e9f0ff;color:#2c63cf;
}
html body main.page .audience-filters-vnext :is(.audience-filter-tag-results,.audience-sales-agents) button[hidden]{display:none!important}
html body main.page .audience-filters-vnext :is(.audience-filter-tag-results,.audience-sales-agents) button small{
  margin-left:auto;opacity:.65;font-size:10px;
}
html body main.page .audience-filters-vnext .audience-filter-no-match{
  font-size:11px;padding:8px;color:var(--muted,#7085a0);
}
html body main.page .audience-filters-vnext .audience-sales-switch{
  display:flex;align-items:center;gap:8px;width:100%;min-height:39px;
  padding:6px 10px;border-radius:11px;border:1px solid var(--border,#d8e4f5);
  background:var(--surface-solid,#fff);color:var(--ink,#223353);
  cursor:pointer;font-weight:800;font-size:11px;text-align:left;
}
html body main.page .audience-filters-vnext .audience-sales-switch.is-on{
  border-color:#ebc879;background:linear-gradient(110deg,#fff9e9,#fff5d8);
  color:#855914;
}
html body main.page .audience-filters-vnext .audience-sales-symbol{
  font-size:18px;line-height:1.1;display:inline-flex;align-items:center;justify-content:center;
}
html body main.page .audience-filters-vnext .audience-sales-status{
  margin-left:auto;font-size:10px;font-weight:650;opacity:.65;
}
html body main.page .audience-filters-vnext .audience-sales-active-agent{
  display:block;max-width:100%;color:var(--muted,#7885a0);font-size:10px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
html body main.page .audience-filters-vnext .audience-sales-agents{
  top:calc(100% - 2px);
}

/* O checkbox fica FORA do fluxo grid. Os cartões nunca ganham uma
   coluna adicional e não esticam nem esmagam texto ou ações. */
html body main.page .audience-list-panel .contact-row{
  position:relative!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:auto!important;
  align-items:center!important;column-gap:12px!important;
  min-height:66px!important;box-sizing:border-box!important;
}
html body main.page .audience-list-panel .contact-row .contact-main{
  grid-column:1!important;grid-row:1!important;min-width:0!important;
  justify-self:stretch!important;max-width:100%!important;
}
html body main.page .audience-list-panel .contact-row .contact-meta.contact-actions{
  grid-column:2!important;grid-row:1!important;
  justify-self:end!important;min-width:0!important;
  display:flex!important;align-items:center!important;gap:6px!important;
}
html body main.page .audience-list-panel .contact-row input.contact-check:not([hidden]){
  display:block!important;position:absolute!important;
  grid-column:auto!important;grid-row:auto!important;
  z-index:3;left:10px;top:50%;transform:translateY(-50%);
  width:17px!important;height:17px!important;
  accent-color:#2878f5;margin:0!important;padding:0!important;cursor:pointer;
}
html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row .contact-main{
  margin-left:25px!important;width:calc(100% - 25px)!important;
}
html body main.page .audience-list-panel .contact-row .contact-identity{
  min-width:0!important;max-width:100%!important;
}
html body main.page .audience-list-panel .contact-row .contact-identity strong{
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
}
html body main.page .audience-list-panel .contact-row .contact-actions .audience-delete-action{
  flex:0 0 auto;
}

/* Drawer para etiquetas da seleção em massa. */
html body .audience-bulk-overlay{
  position:fixed;inset:0;z-index:25000;
  background:rgba(19,31,50,.42);backdrop-filter:blur(4px);
  display:flex;justify-content:flex-end;align-items:stretch;
}
html body .audience-bulk-overlay[hidden]{display:none!important}
html body.audience-bulk-dialog-open{overflow:hidden!important}
html body .audience-bulk-drawer{
  width:min(405px,94vw);height:100%;max-height:100dvh;
  background:var(--surface-solid,#fff);color:var(--ink,#1d2740);
  border:1px solid var(--border,#dce5f2);border-radius:20px 0 0 20px;
  box-shadow:-16px 0 45px rgba(14,35,72,.24);box-sizing:border-box;
  padding:22px 18px;display:flex;flex-flow:column nowrap;gap:14px;
  overflow:auto;overscroll-behavior:contain;
}
html body .audience-bulk-drawer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
html body .audience-bulk-drawer-heading small{font-size:11px;color:var(--muted,#70839d)}
html body .audience-bulk-drawer-heading h3{font-size:22px;margin:2px 0 0;line-height:1.2}
html body .audience-bulk-close{border:0;border-radius:50%;width:35px;height:35px;background:#edf3ff;color:#28466f;font-size:23px;cursor:pointer}
html body .audience-bulk-description{font-size:12px;line-height:1.5;color:var(--muted,#73849c);margin:0}
html body .audience-bulk-drawer .audience-filter-input{
  width:100%;height:40px;min-height:40px;border-radius:11px;padding:8px 11px;
  font-size:12px;border:1px solid var(--border,#dae3f2);background:var(--surface-solid,#fff);
}
html body .audience-bulk-tag-results{display:flex;flex-flow:column nowrap;gap:5px;overflow:auto;flex:1 1 auto;min-height:100px}
html body .audience-bulk-tag-results button{
  display:flex;align-items:center;gap:10px;min-height:39px;width:100%;
  border-radius:11px;border:1px solid var(--border,#dbe5f3);
  background:transparent;color:inherit;text-align:left;
  padding:8px 11px;cursor:pointer;font-size:12px;font-weight:650;line-height:1.25;font-family:inherit;
}
html body .audience-bulk-tag-results button:hover,
html body .audience-bulk-tag-results button.selected{
  border-color:#4a8df3;background:#ebf3ff;color:#2760c2;
}
html body .audience-bulk-tag-results button[hidden]{display:none!important}
html body .audience-bulk-drawer-footer{display:flex;flex-flow:column nowrap;gap:10px}
html body .audience-bulk-drawer-footer select{width:100%;min-height:39px;padding:8px 10px;border-radius:10px;font-size:12px}
html body .audience-bulk-drawer-footer button{width:100%;min-height:42px;border-radius:11px}
html body .audience-bulk-drawer-footer button:disabled{opacity:.45;cursor:not-allowed}

/* Tablet e smartphone: filtros compactos em duas colunas.
   Não herdam a barra horizontal com itens antigos. */
@media(max-width:900px){
  html body main.page .audience-shell .audience-filters-vnext{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:start!important;justify-items:stretch!important;
    overflow:visible!important;flex-wrap:unset!important;gap:10px!important;
    width:100%!important;max-width:100%!important;padding:11px!important;
    border-radius:15px!important;position:static!important;
  }
  html body main.page .audience-filters-vnext .filter-head{grid-column:1/-1}
  html body main.page .audience-filters-vnext .audience-filter-tags{grid-column:1/-1}
  html body main.page .audience-filters-vnext .audience-sales-unit{grid-column:1/-1}
  html body main.page .audience-list-panel .contact-row{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    gap:7px!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-meta.contact-actions{
    grid-column:1!important;grid-row:1!important;
    justify-self:end!important;align-self:start!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-main{
    grid-column:1!important;grid-row:2!important;
    width:100%!important;justify-self:stretch!important;
  }
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row{
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
  }
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row .contact-main{
    grid-column:1!important;grid-row:2!important;
    margin-left:25px!important;width:calc(100% - 25px)!important;
  }
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row .contact-actions{
    grid-column:1!important;grid-row:1!important;
  }
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row .contact-check:not([hidden]){
    grid-column:auto!important;grid-row:auto!important;
    top:auto!important;bottom:20px!important;transform:none!important;
  }
}
@media(max-width:520px){
 html body main.page .audience-filters-vnext .audience-filter-input{font-size:12px!important}
 html body .audience-bulk-drawer{width:min(100vw,400px);border-radius:17px 0 0 17px;padding:16px 12px}
}
@media(prefers-reduced-motion:reduce){
 html body .audience-bulk-overlay{backdrop-filter:none}
}

/* Refinamento 4.8.9 — Entradas e ordenação em Filtros. */
html body main.page>.audience-headbar:has(.audience-entry-summary[open]){z-index:210!important}
html body main.page .audience-headbar .audience-stats .audience-entries-stat{
  padding:0!important;position:relative!important;overflow:visible!important;
}
html body main.page .audience-headbar .audience-entry-summary{
  display:block;min-width:82px;width:100%;position:relative;
}
html body main.page .audience-headbar .audience-entry-summary summary{
  min-height:44px;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:1px;
  cursor:pointer;padding:7px 9px;list-style:none;white-space:nowrap;
}
html body main.page .audience-headbar .audience-entry-summary summary::-webkit-details-marker{display:none}
html body main.page .audience-headbar .audience-entry-summary summary:focus-visible{
  outline:2px solid #2878f5;outline-offset:2px;border-radius:11px;
}
html body main.page .audience-headbar .audience-entry-summary small{
  display:flex;align-items:center;gap:4px;justify-content:center;
  font-size:9px!important;white-space:nowrap;
}
html body main.page .audience-headbar .audience-entry-summary small span{
  font-size:12px;color:#2e75df
}
html body main.page .audience-headbar .audience-entry-summary-menu{
  position:absolute;top:calc(100% + 9px);right:0;width:max-content;min-width:205px;
  padding:6px;background:var(--surface-solid,#fff);
  border:1px solid var(--border,#d9e3f2);
  border-radius:13px;box-shadow:0 16px 38px rgba(27,44,82,.19);
  display:flex;flex-flow:column nowrap;gap:2px;z-index:8000;
}
html body main.page .audience-headbar .audience-entry-summary-menu a{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  text-decoration:none;color:var(--ink,#192940);font-size:12px;
  padding:9px 10px;border-radius:8px;font-weight:600;
}
html body main.page .audience-headbar .audience-entry-summary-menu a:hover,
html body main.page .audience-headbar .audience-entry-summary-menu a.selected{
  background:var(--accent-soft,#eaf1ff);color:var(--user-accent,#2878f5);
}
html body main.page .audience-headbar .audience-entry-summary-menu b{font-variant-numeric:tabular-nums;font-size:11px}
@media(max-width:520px){
  html body main.page .audience-headbar .audience-entry-summary-menu{
    right:auto;left:50%;transform:translateX(-50%);
    min-width:190px;
  }
}

/* Seleção sem deixar os botões individuais roubarem a coluna do nome.
   No modo de ação em massa, o cartão inteiro fica dedicado à identificação. */
html body main.page .audience-list-panel #bulk-form .bulk-bar.selection-mode~.contact-list .contact-row{
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;min-width:0!important;min-height:68px!important;
  padding:9px 12px 9px 43px!important;gap:8px!important;
  grid-template-columns:none!important;grid-template-rows:none!important;
  box-sizing:border-box!important;
}
html body main.page .audience-list-panel #bulk-form .bulk-bar.selection-mode~.contact-list .contact-row .contact-main{
  display:flex!important;flex:1 1 auto!important;align-items:center!important;
  min-width:0!important;max-width:100%!important;width:100%!important;
  padding:0!important;margin:0!important;
  grid-column:auto!important;grid-row:auto!important;
  overflow:visible!important;opacity:1!important;visibility:visible!important;
}
html body main.page .audience-list-panel #bulk-form .bulk-bar.selection-mode~.contact-list .contact-row .contact-identity{
  display:flex!important;flex-direction:column!important;min-width:0!important;
  width:auto!important;flex:1 1 auto!important;max-width:100%!important;
  overflow:visible!important;opacity:1!important;visibility:visible!important;
}
html body main.page .audience-list-panel #bulk-form .bulk-bar.selection-mode~.contact-list .contact-row .contact-identity :is(strong,small){
  display:block!important;opacity:1!important;visibility:visible!important;
  white-space:normal!important;overflow:visible!important;
  overflow-wrap:anywhere!important;text-overflow:clip!important;max-width:100%!important;
}
html body main.page .audience-list-panel #bulk-form .bulk-bar.selection-mode~.contact-list .contact-row .contact-meta.contact-actions{
  display:none!important;
}
html body main.page .audience-list-panel #bulk-form .bulk-bar.selection-mode~.contact-list .contact-row input.contact-check:not([hidden]){
  display:block!important;position:absolute!important;left:12px!important;
  top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;
  width:17px!important;height:17px!important;z-index:3!important;
}

/* Audiência: ordem em dois ícones e entradas com contagem somente no filtro. */
html body .audience-headbar .audience-stats{
  grid-template-columns:minmax(75px,1fr)!important;
}
html body main.page .audience-filters-vnext .audience-sort-icons,
html body main.page .audience-filters-vnext .audience-entries-filter{
  min-width:0!important;
}
html body main.page .audience-filters-vnext .audience-sort-toggle{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;width:100%!important;margin-top:6px!important;
}
html body main.page .audience-filters-vnext .audience-sort-toggle button{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:41px!important;min-width:0!important;
  border-radius:11px!important;border:1px solid var(--border,#d8e2f2)!important;
  background:var(--surface-solid,#fff)!important;color:var(--muted,#66758b)!important;
  padding:8px!important;cursor:pointer!important;
  transition:background .17s ease,border-color .17s ease,color .17s ease,box-shadow .17s ease;
}
html body main.page .audience-filters-vnext .audience-sort-toggle button.is-active{
  background:var(--accent-soft,#e9f1ff)!important;
  color:var(--user-accent,#2878f5)!important;
  border-color:color-mix(in srgb,var(--user-accent,#2878f5) 45%,#dce5f3)!important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--user-accent,#2878f5) 14%,transparent)!important;
}
html body main.page .audience-filters-vnext .audience-sort-toggle button:focus-visible,
html body main.page .audience-filters-vnext .audience-entries-filter summary:focus-visible{
  outline:2px solid var(--user-accent,#2878f5)!important;outline-offset:2px!important;
}
html body main.page .audience-filters-vnext .audience-sort-toggle button svg{
  width:19px!important;height:19px!important;flex:none!important;
}
html body main.page .audience-filters-vnext .audience-entries-filter{
  position:relative!important;
}
html body main.page .audience-filters-vnext .audience-entries-filter:has(details[open]){
  z-index:500!important;
}
html body main.page .audience-filters-vnext .audience-entry-summary{
  display:block!important;position:relative!important;
  width:100%!important;max-width:100%!important;margin-top:6px!important;
  border:1px solid var(--border,#dbe4f2)!important;
  border-radius:12px!important;background:var(--surface-solid,#fff)!important;
  box-sizing:border-box!important;
}
html body main.page .audience-filters-vnext .audience-entry-summary>summary{
  min-height:66px!important;padding:9px 10px!important;
  display:flex!important;flex-flow:column nowrap!important;
  align-items:center!important;justify-content:center!important;
  cursor:pointer!important;list-style:none!important;gap:3px!important;
  border-radius:11px!important;
}
html body main.page .audience-filters-vnext .audience-entry-summary>summary::-webkit-details-marker{
  display:none!important;
}
html body main.page .audience-filters-vnext .audience-entry-count{
  font-size:22px!important;font-weight:850!important;line-height:1.1!important;
  letter-spacing:-.035em!important;color:var(--user-accent,#2878f5)!important;
  font-variant-numeric:tabular-nums!important;
}
html body main.page .audience-filters-vnext .audience-entry-current{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:6px!important;font-size:11px!important;font-weight:650!important;
  color:var(--ink,#243751)!important;line-height:1.2!important;text-align:center!important;
}
html body main.page .audience-filters-vnext .audience-entry-current>span{
  font-size:14px!important;color:var(--user-accent,#2878f5)!important;
}
html body main.page .audience-filters-vnext .audience-entry-summary-menu{
  position:absolute!important;top:calc(100% + 6px)!important;left:0!important;
  right:auto!important;width:max(100%,190px)!important;
  max-width:min(285px,calc(100vw - 36px))!important;
  display:flex!important;flex-direction:column!important;gap:2px!important;
  padding:6px!important;box-sizing:border-box!important;
  background:var(--surface-solid,#fff)!important;
  border:1px solid var(--border,#d9e3f2)!important;
  border-radius:12px!important;
  box-shadow:0 14px 38px rgba(20,40,77,.22)!important;
  z-index:1200!important;
}
html body main.page .audience-filters-vnext .audience-entry-summary-menu>a{
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  gap:9px!important;text-decoration:none!important;
  font-size:11px!important;font-weight:650!important;line-height:1.25!important;
  padding:9px 10px!important;border-radius:8px!important;
  color:var(--ink,#1e3049)!important;
}
html body main.page .audience-filters-vnext .audience-entry-summary-menu>a:hover,
html body main.page .audience-filters-vnext .audience-entry-summary-menu>a.selected{
  background:var(--accent-soft,#eaf1ff)!important;
  color:var(--user-accent,#2878f5)!important;
}
html body main.page .audience-filters-vnext .audience-entry-summary-menu b{
  font-size:11px!important;font-weight:800!important;font-variant-numeric:tabular-nums!important;
}
html body main.page .audience-filters-vnext .audience-entry-summary-menu>a.audience-entry-clear{
  border-top:1px solid var(--border,#dbe4f2)!important;
  margin-top:4px!important;
}
@media(max-width:760px){
  html body .audience-headbar .audience-stats{
    width:100%!important;grid-template-columns:minmax(0,1fr)!important;
  }
  html body .audience-headbar .audience-head-right{
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
    grid-template-columns:none!important;width:100%!important;
  }
  html body .audience-headbar .audience-top-actions{
    width:100%!important;justify-content:space-between!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body main.page .audience-filters-vnext .audience-sort-toggle button{
    transition:none!important;
  }
}

/* Audiência — filtro Entradas compacto, na proporção de Compras. */
html body main.page .audience-filters-vnext .audience-entries-filter .audience-entry-summary{
  width:100%!important;max-width:100%!important;
  height:39px!important;min-height:39px!important;
  margin-top:0!important;border-radius:11px!important;
}
html body main.page .audience-filters-vnext .audience-entries-filter .audience-entry-summary>summary{
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
  justify-content:flex-start!important;gap:8px!important;
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  height:39px!important;min-height:39px!important;
  padding:6px 10px!important;border-radius:11px!important;
  list-style:none!important;
}
html body main.page .audience-filters-vnext .audience-entries-filter .audience-entry-count{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;min-width:23px!important;
  padding:3px 5px!important;border-radius:7px!important;
  font-size:12px!important;font-weight:850!important;line-height:1.2!important;
  background:var(--accent-soft,#eaf1ff)!important;color:var(--user-accent,#2878f5)!important;
}
html body main.page .audience-filters-vnext .audience-entries-filter .audience-entry-current{
  display:flex!important;flex:1 1 auto!important;min-width:0!important;
  justify-content:flex-start!important;align-items:center!important;
  gap:4px!important;white-space:nowrap!important;overflow:hidden!important;
  font-size:11px!important;font-weight:700!important;text-align:left!important;
}
html body main.page .audience-filters-vnext .audience-entries-filter .audience-entry-chevron{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;margin-left:auto!important;
  font-size:15px!important;line-height:1!important;
  color:var(--muted,#66758b)!important;
  transform:translateY(-1px)!important;
  transition:transform .16s ease!important;
}
html body main.page .audience-filters-vnext .audience-entries-filter .audience-entry-summary[open] .audience-entry-chevron{
  transform:rotate(180deg) translateY(1px)!important;
}
html body main.page .audience-filters-vnext .audience-entries-filter .audience-entry-summary-menu{
  top:calc(100% + 5px)!important;
}
@media(prefers-reduced-motion:reduce){
  html body main.page .audience-filters-vnext .audience-entries-filter .audience-entry-chevron{
    transition:none!important;
  }
}


/* source: /assets/msnbot-schedule-month-editor-v489.css */
/* Modo Mês — editor independente do grid do calendário.
   <dialog> utiliza a top layer do navegador e nunca herda transform/clip. */
html body dialog.schedule-month-edit-dialog{
  position:fixed!important;inset:0!important;
  margin:auto!important;padding:0!important;
  display:none;
  width:min(440px,calc(100vw - 28px))!important;
  max-width:calc(100vw - 28px)!important;
  max-height:min(680px,calc(100dvh - 32px))!important;
  border:1px solid var(--border,#dce5f2)!important;
  border-radius:20px!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#1b2c48)!important;
  box-shadow:0 24px 80px rgba(14,31,62,.29)!important;
  z-index:2147483000!important;
  overflow:auto!important;overscroll-behavior:contain!important;
  box-sizing:border-box!important;isolation:isolate;
}
html body dialog.schedule-month-edit-dialog[open]{display:block!important}
html body dialog.schedule-month-edit-dialog::backdrop{
  background:rgba(18,30,53,.46)!important;
  backdrop-filter:blur(5px)!important;
  -webkit-backdrop-filter:blur(5px)!important;
}
html body .schedule-month-edit-dialog .schedule-detail-card.schedule-detail-compact{
  background:transparent!important;color:inherit!important;
  padding:20px 20px 16px!important;
  min-height:0!important;width:100%!important;max-width:100%!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  box-sizing:border-box!important;display:block!important;
}
html body .schedule-month-edit-dialog .detail-title{
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:space-between!important;gap:10px!important;
  min-width:0!important;margin:0 0 16px!important;padding-bottom:13px!important;
  border-bottom:1px solid var(--border,#dce5f2)!important;
}
html body .schedule-month-edit-dialog .schedule-month-title-copy{
  display:flex;flex-flow:column nowrap;gap:3px;min-width:0;
}
html body .schedule-month-edit-dialog .schedule-month-title-copy small{
  font-size:10px!important;font-weight:900!important;letter-spacing:.1em!important;
  color:var(--user-accent,#2878f5)!important;
}
html body .schedule-month-edit-dialog .detail-title h3{
  font-size:19px!important;line-height:1.2!important;letter-spacing:-.02em!important;
  font-weight:850!important;color:var(--ink,#1a2b46)!important;
  margin:0!important;padding:0!important;
}
html body .schedule-month-edit-dialog .detail-title .detail-close{
  width:35px!important;height:35px!important;min-width:35px!important;
  display:grid!important;place-items:center!important;flex:0 0 35px!important;
  border:1px solid var(--border,#dee7f4)!important;border-radius:11px!important;
  font-size:20px!important;color:var(--ink,#283d5b)!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 91%,#dfe7f6)!important;
  text-decoration:none!important;cursor:pointer!important;margin:0!important;
}
html body .schedule-month-edit-dialog .schedule-detail-edit-form{
  display:flex!important;flex-direction:column!important;gap:10px!important;
  width:100%!important;margin:0!important;
}
html body .schedule-month-edit-dialog .schedule-detail-edit-form>label,
html body .schedule-month-edit-dialog .schedule-message-field>label{
  display:flex!important;flex-direction:column!important;gap:5px!important;
  font-size:11px!important;line-height:1.3!important;font-weight:800!important;
  color:var(--ink,#24354e)!important;margin:0!important;
}
html body .schedule-month-edit-dialog .schedule-detail-edit-form :is(input:not([type=file]):not([type=checkbox]),textarea){
  display:block!important;width:100%!important;min-width:0!important;
  max-width:100%!important;min-height:38px!important;
  padding:9px 11px!important;margin:0!important;box-sizing:border-box!important;
  font-family:inherit!important;font-size:12px!important;line-height:1.35!important;
  border:1px solid var(--border,#d6e1f1)!important;border-radius:11px!important;
  background:var(--surface-solid,#fff)!important;color:var(--ink,#21344d)!important;
  box-shadow:none!important;
}
html body .schedule-month-edit-dialog .schedule-detail-edit-form input[readonly]{
  background:color-mix(in srgb,var(--surface-solid,#fff) 91%,#e4ebf4)!important;
  color:var(--muted,#73819a)!important;
}
html body .schedule-month-edit-dialog .schedule-detail-edit-form textarea{
  min-height:88px!important;max-height:210px!important;resize:vertical!important;
}
html body .schedule-month-edit-dialog .schedule-message-field,
html body .schedule-month-edit-dialog .schedule-message-input{
  position:relative!important;display:block!important;min-width:0!important;
}
html body .schedule-month-edit-dialog .schedule-message-input textarea{
  padding-right:45px!important;
}
html body .schedule-month-edit-dialog .schedule-media-editor{
  padding:9px!important;gap:5px!important;min-width:0!important;
  border-radius:12px!important;
}
html body .schedule-month-edit-dialog .schedule-media-editor :is(label,small){
  font-size:10px!important;line-height:1.3!important;
}
html body .schedule-month-edit-dialog .schedule-detail-save{
  width:100%!important;min-height:41px!important;border-radius:11px!important;
  margin-top:3px!important;font-size:12px!important;font-weight:850!important;
}
html body .schedule-month-edit-dialog .schedule-detail-delete-form{
  display:flex!important;justify-content:center!important;margin:9px 0 0!important;
  padding:0!important;width:100%!important;
}
html body .schedule-month-edit-dialog .schedule-detail-delete-form button{
  font-size:11px!important;min-height:33px!important;
  padding:7px 12px!important;border-radius:10px!important;
}
html body .schedule-month-edit-dialog .schedule-status{
  display:inline-block!important;margin:0 0 10px!important;font-size:11px!important;
}
html body .schedule-month-edit-dialog .schedule-month-alerts{
  margin:7px 20px 18px!important;border:1px solid var(--border,#dce5f2)!important;
  border-radius:12px!important;background:transparent!important;
}
html body .schedule-month-edit-dialog .schedule-month-alerts summary{
  cursor:pointer;font-size:12px;font-weight:800;padding:11px 13px;
}
html body .schedule-month-edit-dialog .timeline-reminder-card.timeline-reminder-compact{
  border:0!important;box-shadow:none!important;background:transparent!important;
  margin:0!important;padding:4px 12px 12px!important;
}
html body .schedule-month-edit-dialog .timeline-reminder-options{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
}
html body .schedule-month-edit-dialog .timeline-reminder-options label{
  display:flex!important;align-items:center!important;gap:5px!important;
  min-height:31px!important;font-size:10px!important;white-space:normal!important;
  padding:5px 7px!important;margin:0!important;grid-column:auto!important;
}
html body .schedule-month-edit-dialog .timeline-alert-hint{
  font-size:10px!important;line-height:1.4!important;margin:0 0 8px!important;
  color:var(--muted,#7887a1)!important;
}
@media(max-width:520px){
  html body dialog.schedule-month-edit-dialog{
    width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;
    max-height:calc(100dvh - 22px)!important;border-radius:16px!important;
  }
  html body .schedule-month-edit-dialog .schedule-detail-card.schedule-detail-compact{
    padding:14px 13px 12px!important;
  }
  html body .schedule-month-edit-dialog .detail-title{margin-bottom:12px!important}
  html body .schedule-month-edit-dialog .detail-title h3{font-size:17px!important}
  html body .schedule-month-edit-dialog .schedule-month-alerts{margin:6px 13px 12px!important}
}
@media(prefers-reduced-motion:reduce){
  html body dialog.schedule-month-edit-dialog::backdrop{backdrop-filter:none!important}
}


/* source: /assets/msnbot-chat-static-wallpaper-v489.css */
/* MSNBOT Luz 4.8.9 — wallpaper persistente e histórico suavemente compacto.
   Escopo restrito ao quadro de mensagens: não altera o Dock nem o composer. */

/* Papel de parede permanece ancorado ao quadro, em vez de acompanhar o
   conteúdo e repintar durante a rolagem ou a troca de atendimento. */
html body .msn-v33-chat #msn-messages{
  background-attachment:scroll!important;
  scroll-behavior:auto!important;
  padding:13px 11px 15px!important;
  gap:4px!important;
  overscroll-behavior:contain!important;
}

/* Leitura ligeiramente mais compacta, sem mudar a largura do layout nem
   as dimensões dos botões de acesso e interação. */
html body .msn-v33-chat #msn-messages .message-bubble-v33:not(.v475-emoji-only):not(.v475-sticker-bubble){
  font-size:clamp(12.5px,calc(13.5px * var(--font-scale,1)),14px)!important;
  line-height:1.37!important;
}
html body .msn-v33-chat #msn-messages .message-bubble-v33:not(.v475-sticker-bubble):not(.v475-emoji-only):not(:has(.v475-chat-image,.v475-chat-video,.v475-document-card,.v475-audio-card)){
  padding:7px 9px 5px!important;
}
html body .msn-v33-chat #msn-messages .message-bubble-v33 footer{
  font-size:9px!important;
  min-height:13px!important;
  margin-top:2px!important;
}
html body .msn-v33-chat #msn-messages .message-agent{
  font-size:9px!important;margin-bottom:2px!important;
}
html body .msn-v33-chat #msn-messages .msn-day-label{
  font-size:9px!important;padding:4px 8px!important;
  margin-block:5px 7px!important;
}

/* Fotos, vídeos e documentos discretamente menores; áudio preserva as
   correções de tamanho e de citações existentes. */
html body .msn-v33-chat #msn-messages :is(.v475-chat-image,.v475-chat-video){
  max-width:min(100%,320px)!important;
  max-height:345px!important;
}
html body .msn-v33-chat #msn-messages .v475-document-card{
  width:min(270px,100%)!important;
}

/* Sticker sem balão, borda, sombra, cor ou cauda.
   Inclui figurinhas do HTML inicial e do polling assíncrono. */
html body .msn-v33-chat #msn-messages .message-bubble-v33.v475-sticker-bubble,
html body .msn-v33-chat #msn-messages .message-bubble-v33:has(.v475-sticker){
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  border-color:transparent!important;
  box-shadow:none!important;
  min-width:0!important;
  padding:2px!important;
  border-radius:0!important;
}
html body .msn-v33-chat #msn-messages .message-bubble-v33.v475-sticker-bubble .message-content,
html body .msn-v33-chat #msn-messages .message-bubble-v33:has(.v475-sticker) .message-content{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  border:0!important;
  padding:0!important;
}
html body .msn-v33-chat #msn-messages .v475-sticker{
  display:block!important;
  width:min(155px,34vw)!important;
  max-width:100%!important;
  max-height:177px!important;
  height:auto!important;
  object-fit:contain!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
  filter:none!important;
}
html body .msn-v33-chat #msn-messages .v475-sticker-fallback{
  background:transparent!important;
}
html body .msn-v33-chat #msn-messages .message-bubble-v33.v475-sticker-bubble footer,
html body .msn-v33-chat #msn-messages .message-bubble-v33:has(.v475-sticker) footer{
  width:max-content!important;
  padding:2px 5px!important;
  border-radius:6px!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 84%,transparent)!important;
  color:var(--ink,#22334a)!important;
  margin-left:auto!important;
  box-shadow:none!important;
}
@media(max-width:720px){
  html body .msn-v33-chat #msn-messages{
    padding:11px 8px 13px!important;
    gap:4px!important;
  }
  html body .msn-v33-chat #msn-messages :is(.v475-chat-image,.v475-chat-video){
    max-width:min(100%,270px)!important;
    max-height:310px!important;
  }
  html body .msn-v33-chat #msn-messages .v475-document-card{
    width:min(250px,100%)!important;
  }
  html body .msn-v33-chat #msn-messages .v475-sticker{
    width:min(149px,43vw)!important;
    max-height:168px!important;
  }
}


/* source: /assets/msnbot-schedule-choice-v489.css */
/* MSNBOT Luz 4.8.9 — primeira etapa do Agendar e registro de aniversário. */
html body #schedule-action-choice-dialog,
html body #schedule-birthday-register-dialog{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  max-width:calc(100vw - 24px)!important;
  max-height:calc(100dvh - 24px)!important;
}
html body #schedule-action-choice-dialog::backdrop,
html body #schedule-birthday-register-dialog::backdrop{
  background:rgba(16,30,55,.45);
  -webkit-backdrop-filter:blur(4px);
  backdrop-filter:blur(4px);
}
html body #schedule-action-choice-dialog .schedule-choice-card{
  width:min(455px,calc(100vw - 24px))!important;
  max-width:100%!important;max-height:calc(100dvh - 24px)!important;
  padding:23px!important;
  border-radius:22px!important;
  box-sizing:border-box!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#1d2c44)!important;
  overflow:auto!important;
}
html body #schedule-action-choice-dialog .schedule-choice-heading{
  margin:0 0 17px!important;padding-bottom:12px!important;
  display:flex!important;align-items:flex-start!important;
  justify-content:space-between!important;gap:12px!important;
  border-bottom:1px solid var(--border,#dce4f2)!important;
}
html body #schedule-action-choice-dialog .schedule-choice-heading small,
html body #schedule-birthday-register-dialog .dialog-head small{
  color:var(--user-accent,#2878f5);
  letter-spacing:.1em;font-size:10px;font-weight:850;
}
html body #schedule-action-choice-dialog .schedule-choice-heading h2{
  font-size:20px!important;line-height:1.2!important;
  letter-spacing:-.02em!important;margin:4px 0 5px!important;
}
html body #schedule-action-choice-dialog .schedule-choice-heading p{
  color:var(--muted,#78849a);font-size:12px;margin:0;line-height:1.4;
}
html body #schedule-action-choice-dialog .schedule-choice-options{
  display:flex;flex-flow:column nowrap;gap:9px;min-width:0;
}
html body #schedule-action-choice-dialog .schedule-choice-option{
  display:flex;align-items:center;gap:13px;
  width:100%;min-height:76px;padding:12px 13px;
  border:1px solid var(--border,#dce5f3);border-radius:15px;
  background:color-mix(in srgb,var(--surface-solid,#fff) 96%,#e9f0fa);
  color:var(--ink,#1b2f4a);text-align:left;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,transform .15s ease;
}
html body #schedule-action-choice-dialog .schedule-choice-option:hover,
html body #schedule-action-choice-dialog .schedule-choice-option:focus-visible{
  border-color:var(--user-accent,#2878f5);
  background:var(--accent-soft,#edf4ff);
  outline:none;
}
html body #schedule-action-choice-dialog .schedule-choice-option:active{transform:scale(.992)}
html body #schedule-action-choice-dialog .schedule-choice-icon{
  display:grid;place-items:center;flex:0 0 43px;
  width:43px;height:43px;border-radius:13px;
  background:var(--accent-soft,#eaf1ff);font-size:22px;
}
html body #schedule-action-choice-dialog .schedule-choice-label{
  display:flex;flex:1 1 auto;min-width:0;
  flex-flow:column nowrap;gap:4px;
}
html body #schedule-action-choice-dialog .schedule-choice-label strong{
  font-size:13px;line-height:1.25;font-weight:850;
}
html body #schedule-action-choice-dialog .schedule-choice-label small{
  font-size:11px;line-height:1.25;color:var(--muted,#77849a);
}
html body #schedule-action-choice-dialog .schedule-choice-arrow{
  margin-left:auto;color:var(--muted,#8897ab);
  font-size:24px;line-height:1;
}
html body #schedule-birthday-register-dialog .schedule-birthday-register-card{
  width:min(480px,calc(100vw - 24px))!important;
  max-width:100%!important;max-height:calc(100dvh - 24px)!important;
  padding:22px!important;border-radius:21px!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#21324a)!important;
  overflow:auto!important;box-sizing:border-box!important;
}
html body #schedule-birthday-register-dialog .dialog-head{
  display:flex!important;align-items:flex-start!important;
  justify-content:space-between!important;gap:12px!important;
  padding:0 0 13px!important;margin-bottom:16px!important;
  border-bottom:1px solid var(--border,#dfe6f0)!important;
}
html body #schedule-birthday-register-dialog .dialog-head h2{
  font-size:20px!important;line-height:1.2!important;margin:4px 0 6px!important;
}
html body #schedule-birthday-register-dialog .dialog-head p{
  font-size:11px!important;line-height:1.45!important;
  margin:0!important;color:var(--muted,#7786a0)!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-form{
  display:flex!important;flex-flow:column nowrap!important;gap:13px!important;
  min-width:0!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode label{
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;min-width:0!important;
  background:var(--accent-soft,#f0f5ff)!important;
  border:1px solid var(--border,#e1e8f3)!important;
  border-radius:10px!important;padding:10px 7px!important;
  font-size:11px!important;font-weight:750!important;
  cursor:pointer;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode input{
  accent-color:var(--user-accent,#2878f5)!important;
}
html body #schedule-birthday-register-dialog [data-schedule-birthday-mode]{
  display:flex!important;flex-flow:column nowrap!important;gap:10px!important;
}
html body #schedule-birthday-register-dialog [data-schedule-birthday-mode][hidden]{
  display:none!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-form label{
  font-size:11px;font-weight:800;
}
html body #schedule-birthday-register-dialog .schedule-birthday-form select,
html body #schedule-birthday-register-dialog .schedule-birthday-form input[type=date],
html body #schedule-birthday-register-dialog .schedule-birthday-form input[type=tel],
html body #schedule-birthday-register-dialog .schedule-birthday-form input[type=text]{
  width:100%!important;min-width:0!important;max-width:100%!important;
  height:41px!important;min-height:41px!important;
  padding:8px 11px!important;
  border:1px solid var(--border,#dce4f0)!important;
  border-radius:11px!important;
  background:var(--surface-solid,#fff)!important;
  color:var(--ink,#24364f)!important;font-size:12px!important;
  box-sizing:border-box!important;
}
html body #schedule-birthday-register-dialog .dialog-actions{
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  flex-wrap:wrap!important;gap:8px!important;margin-top:4px!important;
}
html body #schedule-birthday-register-dialog .dialog-actions button{
  min-height:39px!important;border-radius:11px!important;
}
@media(max-width:600px){
  html body #schedule-action-choice-dialog .schedule-choice-card,
  html body #schedule-birthday-register-dialog .schedule-birthday-register-card{
    padding:15px!important;border-radius:17px!important;
  }
  html body #schedule-action-choice-dialog .schedule-choice-option{
    min-height:70px;padding:10px;
  }
  html body #schedule-birthday-register-dialog .dialog-actions button{
    flex:1 1 auto;
  }
}
@media(prefers-reduced-motion:reduce){
  html body #schedule-action-choice-dialog .schedule-choice-option{transition:none!important}
}

/* Registro de aniversários: modal simples e pesquisa digitável em todas as telas. */
html body #schedule-birthday-register-dialog .dialog-head{padding-top:0!important}
html body #schedule-birthday-register-dialog .dialog-window-controls{display:none!important}
html body #schedule-birthday-register-dialog .schedule-birthday-contact-picker{
  position:relative!important;display:flex!important;flex-direction:column!important;gap:5px!important;
  min-width:0!important
}
html body #schedule-birthday-register-dialog .schedule-birthday-contact-picker input[type=search]{
  width:100%!important;min-width:0!important;min-height:43px!important;
  border:1px solid var(--border,#dce4f0)!important;border-radius:11px!important;
  background:var(--surface-solid,#fff)!important;color:var(--ink,#24364f)!important;
  padding:9px 12px!important;box-sizing:border-box!important;font-size:16px!important
}
html body #schedule-birthday-register-dialog .schedule-contact-results:not([hidden]){
  position:absolute!important;top:calc(100% + 4px)!important;left:0!important;right:0!important;
  max-height:min(240px,32dvh)!important;padding:6px!important;display:flex!important;
  flex-direction:column!important;gap:3px!important;overflow-y:auto!important;
  background:var(--surface-solid,#fff)!important;color:var(--ink,#24364f)!important;
  border:1px solid var(--border,#dce4f0)!important;border-radius:12px!important;
  box-shadow:0 14px 35px rgba(12,30,56,.25)!important;z-index:30!important
}
html body #schedule-birthday-register-dialog .schedule-contact-results[hidden],
html body #schedule-birthday-register-dialog .schedule-contact-option[hidden]{display:none!important}
html body #schedule-birthday-register-dialog .schedule-contact-option:not([hidden]){
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:3px!important;text-align:left!important;width:100%!important;padding:9px 11px!important;
  border:0!important;border-radius:9px!important;background:transparent!important;
  color:inherit!important;cursor:pointer!important
}
html body #schedule-birthday-register-dialog .schedule-contact-option:is(:hover,.active){
  background:var(--accent-soft,#e9f1ff)!important
}
html body #schedule-birthday-register-dialog .schedule-contact-option strong{font-size:13px!important}
html body #schedule-birthday-register-dialog .schedule-contact-option small{
  font-size:11px!important;color:var(--muted,#6f7c91)!important
}
@media(max-width:600px){
  html body #schedule-birthday-register-dialog .schedule-birthday-contact-picker input[type=search]{font-size:16px!important}
}

/* Aniversário: centro exato em tela pequena, respeitando notch e rolagem. */
html body #schedule-birthday-register-dialog[open]{
  position:fixed!important;
  inset:auto!important;
  left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
  width:min(480px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  max-height:calc(100dvh - 28px)!important;
  box-sizing:border-box!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-register-card{
  width:100%!important;max-width:100%!important;
  max-height:calc(100dvh - 28px)!important;overflow-y:auto!important;
  overscroll-behavior:contain!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-result-title{
  display:flex!important;align-items:center!important;gap:9px!important;
  max-width:100%!important;min-width:0!important
}
html body #schedule-birthday-register-dialog .schedule-birthday-result-title strong{
  overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  min-width:0!important;font-size:13px!important
}
html body #schedule-birthday-register-dialog .schedule-birthday-registered{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:20px!important;height:20px!important;flex:0 0 20px!important;
  border-radius:50%!important;color:#fff!important;background:#15834e!important;
  font-weight:850!important;font-size:13px!important
}
html body #schedule-birthday-register-dialog .schedule-birthday-contact-picker input[type=search]{
  font-size:16px!important
}
html body #schedule-birthday-register-dialog :is(
  .schedule-birthday-existing-notice,.schedule-birthday-complete-notice
){
  margin:5px 0 0!important;padding:10px 11px!important;border-radius:10px!important;
  background:var(--accent-soft,#edf4ff)!important;color:var(--ink,#24354f)!important;
  font-size:12px!important;line-height:1.5!important;font-weight:500!important
}
html body #schedule-birthday-register-dialog :is(
  .schedule-birthday-existing-notice,.schedule-birthday-complete-notice
)[hidden]{display:none!important}
html body #schedule-birthday-register-dialog .schedule-birthday-confirmation:not([hidden]){
  display:flex!important;flex-direction:column!important;gap:10px!important;
  padding:13px!important;border-radius:13px!important;
  background:var(--accent-soft,#f0f5ff)!important;
  border:1px solid var(--border,#dbe6f4)!important;
  color:var(--ink,#1b2941)!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-confirmation[hidden],
html body #schedule-birthday-register-dialog .schedule-birthday-confirmation [hidden]{
  display:none!important
}
html body #schedule-birthday-register-dialog .schedule-birthday-confirmation strong{font-size:14px!important}
html body #schedule-birthday-register-dialog .schedule-birthday-confirmation p{
  margin:0!important;line-height:1.5!important;font-size:12px!important
}
html body #schedule-birthday-register-dialog .schedule-birthday-confirm-actions{
  display:flex!important;flex-wrap:wrap!important;gap:8px!important
}
html body #schedule-birthday-register-dialog .schedule-birthday-confirm-actions button{
  border-radius:10px!important;min-height:40px!important;flex:1 1 135px!important
}
@media(max-width:600px){
  html body #schedule-birthday-register-dialog .schedule-birthday-register-card{padding:17px!important}
  html body #schedule-birthday-register-dialog .schedule-birthday-form :is(
    input[type=text],input[type=tel],input[type=date]
  ){font-size:16px!important}
}

/* iPhone: data de nascimento com largura idêntica à busca de contato. */
html body #schedule-birthday-register-dialog .schedule-birthday-form,
html body #schedule-birthday-register-dialog .schedule-birthday-form>label{
  min-width:0!important;max-width:100%!important;width:100%!important;
  box-sizing:border-box!important
}
html body #schedule-birthday-register-dialog .schedule-birthday-form input[type="date"]{
  display:block!important;width:100%!important;max-width:100%!important;
  min-width:0!important;inline-size:100%!important;min-inline-size:0!important;
  box-sizing:border-box!important;overflow:hidden!important;
  padding-inline:12px!important;text-align:left!important
}
html body #schedule-birthday-register-dialog .schedule-birthday-form input[type="date"]::-webkit-date-and-time-value{
  min-width:0!important;text-align:left!important
}
html body #schedule-birthday-register-dialog .schedule-birthday-form input[type="date"]::-webkit-datetime-edit{
  min-width:0!important
}
@supports (-webkit-touch-callout:none){
  html body #schedule-birthday-register-dialog .schedule-birthday-form :is(input[type=date],input[type=search],input[type=text],input[type=tel]){
    font-size:16px!important;-webkit-text-size-adjust:100%!important
  }
}

/* iOS: tamanho efetivamente igual ao seletor Contato da Audiência.
   O frame contém o intrinsic-size do calendário nativo sem cortar o modal. */
html body #schedule-birthday-register-dialog .schedule-birthday-form > .schedule-birthday-date-label{
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-inline-size:0!important;
  box-sizing:border-box!important;
}
html body #schedule-birthday-register-dialog .schedule-date-input-frame{
  display:block!important;
  position:relative!important;
  flex:0 1 auto!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-inline-size:0!important;
  height:43px!important;
  max-height:43px!important;
  overflow:hidden!important;
  border-radius:11px!important;
  box-sizing:border-box!important;
}
html body #schedule-birthday-register-dialog .schedule-date-input-frame > input[type=date]{
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-inline-size:0!important;
  height:43px!important;
  min-height:43px!important;
  max-height:43px!important;
  margin:0!important;
  padding:0 12px!important;
  box-sizing:border-box!important;
  border-radius:11px!important;
  line-height:normal!important;
  font-size:16px!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  -webkit-text-size-adjust:100%!important;
}

/* Centralização do menu inicial, independente da posição calculada pelo Safari. */
html body #schedule-action-choice-dialog[open]{
  position:fixed!important;
  inset:auto!important;
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
  margin:0!important;
  width:min(455px,calc(100vw - 24px))!important;
  max-width:calc(100vw - 24px)!important;
  max-height:calc(100dvh - 28px)!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
html body #schedule-action-choice-dialog .schedule-choice-card{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* Substitui cartões por um interruptor compacto entre as opções. */
html body #schedule-birthday-register-dialog .schedule-birthday-mode{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 46px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  margin:0!important;
  min-width:0!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode .schedule-birthday-mode-option{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  padding:4px 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--muted,#758297)!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1.25!important;
  cursor:pointer!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode-option:first-child{
  text-align:right!important;
  justify-content:flex-end!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode-option:last-child{
  text-align:left!important;
  justify-content:flex-start!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode-option input[type=radio]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  opacity:0!important;
  clip-path:inset(50%)!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode-option:has(input:checked){
  color:var(--ink,#22334e)!important;
  font-weight:850!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode-option:has(input:focus-visible){
  outline:2px solid var(--user-accent,#2878f5)!important;
  outline-offset:3px!important;
  border-radius:6px!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode .schedule-birthday-mode-switch{
  position:relative!important;
  display:block!important;
  width:46px!important;
  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid var(--border,#c7d2e4)!important;
  background:var(--accent-soft,#e2ebf8)!important;
  border-radius:100px!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
  -webkit-tap-highlight-color:transparent!important;
  touch-action:manipulation!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode-switch .schedule-birthday-switch-thumb{
  position:absolute!important;
  left:3px!important;
  top:3px!important;
  width:18px!important;
  height:18px!important;
  border-radius:50%!important;
  background:var(--user-accent,#2878f5)!important;
  box-shadow:0 1px 3px rgba(15,38,74,.18)!important;
  transform:translateX(0)!important;
  transition:transform .17s ease!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode-switch[aria-checked=true]{
  border-color:var(--user-accent,#2878f5)!important;
  background:var(--accent-soft,#dce9ff)!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode-switch[aria-checked=true] .schedule-birthday-switch-thumb{
  transform:translateX(20px)!important;
}
html body #schedule-birthday-register-dialog .schedule-birthday-mode-switch:focus-visible{
  outline:2px solid var(--user-accent,#2878f5)!important;
  outline-offset:3px!important;
}
@media(prefers-reduced-motion:reduce){
  html body #schedule-birthday-register-dialog .schedule-birthday-mode-switch .schedule-birthday-switch-thumb{
    transition:none!important;
  }
}


/* source: /assets/msnbot-mobile-dock-unified-v489.css */
/* MSNBOT 4.8.9 — geometria única do Dock no smartphone.
 * Os módulos compartilham o mesmo Dock; o Painel não deve redimensioná-lo.
 * Safari/PWA: safe-area aplicada AO POSICIONAMENTO, nunca duplicada
 * também no padding interno do Dock.
 * Escopo: apenas telas autenticadas, touch <=600px, sem alterar tablets/desktop.
 */
@media screen and (max-width:600px) and (pointer:coarse) {
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel {
    position:fixed!important;
    display:block!important;
    grid-template-columns:none!important;
    box-sizing:border-box!important;
    left:50%!important;
    right:auto!important;
    width:min(520px,calc(100vw - 12px))!important;
    max-width:calc(100vw - 12px)!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:5px 6px 6px!important;
    border-radius:22px!important;
    bottom:max(7px,env(safe-area-inset-bottom,0px))!important;
    transform:translateX(-50%)!important;
    overflow:hidden!important;
  }
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel
    > .msnbot-mobile-dock-track {
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:5px!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:0!important;
    margin:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
    scroll-behavior:smooth!important;
    scroll-snap-type:x proximity!important;
    touch-action:pan-x!important;
    -webkit-overflow-scrolling:touch!important;
  }
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel
    > .msnbot-mobile-dock-track::-webkit-scrollbar {
    display:none!important;
  }
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel
    > .msnbot-mobile-dock-track .dock-item {
    flex:0 0 clamp(46px,12.8vw,59px)!important;
    display:grid!important;
    width:clamp(46px,12.8vw,59px)!important;
    min-width:clamp(46px,12.8vw,59px)!important;
    max-width:clamp(46px,12.8vw,59px)!important;
    justify-items:center!important;
    align-content:center!important;
    gap:3px!important;
    padding:2px 0!important;
    margin:0!important;
    transform:none!important;
    scroll-snap-align:center!important;
  }
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel
    > .msnbot-mobile-dock-track .dock-icon {
    display:grid!important;
    place-items:center!important;
    width:clamp(30px,8.2vw,38px)!important;
    height:clamp(30px,8.2vw,38px)!important;
    font-size:clamp(16px,4.5vw,20px)!important;
    border-radius:12px!important;
    transform:none!important;
    flex-shrink:0!important;
  }
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel
    > .msnbot-mobile-dock-track .dock-item small {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    font-size:8px!important;
    line-height:1.05!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}
/* Manter a preferência de recolhimento se ativada pelo usuário. */
@media screen and (max-width:600px) and (pointer:coarse) {
  html body.dock-autohide:not(.dock-peek) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel {
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateX(-50%) translateY(calc(100% + 28px))!important;
  }
}


/* source: /assets/msnbot-mobile-swipe-v489.css */
/* O indicador nunca aparece fora do modo smartphone. */
.msnbot-swipe-cue {display:none;}

/* Correção iOS: a parede do Dock é uma única cápsula arredondada.
   Remove a segunda pintura/parallax que produzia um retângulo opaco. */
@media screen and (max-width:600px) and (pointer:coarse) {
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel {
    border-radius:22px!important;
    overflow:hidden!important;
    isolation:isolate!important;
    background-clip:padding-box!important;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
  }
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel::before,
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel::after {
    content:none!important;
    display:none!important;
  }
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock .msnbot-mobile-dock-track {
    border-radius:inherit;
    background:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }

  .msnbot-swipe-cue {
    position:fixed;
    top:48%;
    z-index:205;
    display:flex;
    align-items:center;
    gap:7px;
    padding:10px 13px;
    max-width:190px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.60);
    background:color-mix(in srgb,var(--surface-solid,#fff) 88%,#aec8ed);
    color:var(--ink,#213451);
    box-shadow:0 8px 25px rgba(16,37,72,.18);
    -webkit-backdrop-filter:blur(14px);
    backdrop-filter:blur(14px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    font:600 12px/1.2 system-ui,sans-serif;
    transition:opacity .12s ease,transform .18s cubic-bezier(.25,1.4,.4,1);
    will-change:transform,opacity;
  }
  .msnbot-swipe-cue.is-visible {opacity:1;visibility:visible;}
  .msnbot-swipe-cue[data-side="left"] {
    left:9px;
    transform:translate3d(calc(-22px + var(--msnbot-pull,0px)),-50%,0);
  }
  .msnbot-swipe-cue[data-side="right"] {
    right:9px;
    flex-direction:row-reverse;
    transform:translate3d(calc(22px - var(--msnbot-pull,0px)),-50%,0);
  }
  .msnbot-swipe-cue.is-visible[data-side="left"],
  .msnbot-swipe-cue.is-visible[data-side="right"] {
    --msnbot-pull:16px;
  }
  .msnbot-swipe-cue.is-committed {
    border-color:color-mix(in srgb,var(--user-accent,#2878f5) 52%,#fff);
    box-shadow:0 6px 26px rgba(31,112,224,.22);
  }
  .msnbot-swipe-cue .msnbot-swipe-arrow {
    font-size:25px;
    font-weight:600;
    line-height:15px;
    color:var(--user-accent,#2878f5);
  }
  .msnbot-swipe-cue .msnbot-swipe-text {
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
  html[data-theme="dark"] .msnbot-swipe-cue {
    background:rgba(28,40,61,.94);
    border-color:rgba(255,255,255,.18);
    color:#edf4ff;
  }
}
@media (prefers-reduced-motion:reduce) {
  .msnbot-swipe-cue {transition:none!important;}
}


/* Dock mobile v2: superfície única até o contorno arredondado.
   Espaço dos ícones fica no trilho transparente, não cria uma segunda parede. */
@media screen and (max-width:600px) and (pointer:coarse) {
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel {
    left:50%!important;
    right:auto!important;
    width:calc(100vw - 12px)!important;
    max-width:520px!important;
    margin:0!important;
    transform:translateX(-50%)!important;
    padding:0!important;
    box-sizing:border-box!important;
    border-radius:24px!important;
    overflow:hidden!important;
    background-clip:border-box!important;
    border:1px solid color-mix(in srgb,#fff 35%,transparent)!important;
    box-shadow:0 13px 29px rgba(16,32,60,.16)!important;
  }
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel
    > .msnbot-mobile-dock-track {
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:5px 5px 6px!important;
    margin:0!important;
    border:0!important;
    border-radius:inherit!important;
    background:none!important;
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel::before,
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel::after,
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel
    > .msnbot-mobile-dock-track::before,
  html body:not(:has(main.auth-page)) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel
    > .msnbot-mobile-dock-track::after {
    content:none!important;
    display:none!important;
  }
  html body.dock-autohide:not(.dock-peek) > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel {
    transform:translate(-50%,calc(100% + 28px))!important;
  }
}

/* Quando o usuário revela o Dock oculto, manter o mesmo eixo lateral. */
@media screen and (max-width:600px) and (pointer:coarse) {
  html body.dock-autohide.dock-peek:not(:has(main.auth-page))
    > #msnbot-mobile-dock.mobile-dock.msnbot-dock-carousel {
    transform:translateX(-50%)!important;
  }
}


/* source: /assets/msnbot-audience-viewport-scroll-v489.css */
/* MSNBOT 4.8.9 — Audiência: lista de contatos até o topo do Dock.
 * Apenas no módulo Audiência. Não interfere nos filtros, popups, Bate-Papo.
 * Altura calculada pelo posicionamento efetivo do Dock / área visível.
 */
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel {
  display:flex!important;
  flex-direction:column!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:var(--audience-panel-viewport-height,60dvh)!important;
  max-height:var(--audience-panel-viewport-height,60dvh)!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel > .audience-list-head {
  flex:0 0 auto!important;
  min-height:0!important;
}
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel > #bulk-form {
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  overflow:hidden!important;
}
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel #bulk-form > .bulk-bar {
  flex:0 0 auto!important;
}
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel #bulk-form > .contact-list {
  flex:1 1 auto!important;
  display:grid!important;
  grid-auto-rows:max-content!important;
  align-content:start!important;
  gap:7px!important;
  min-width:0!important;
  min-height:0!important;
  max-height:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior-y:contain!important;
  scroll-behavior:auto!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb,var(--user-accent,#2878f5) 45%,transparent) transparent;
  padding:2px 5px 7px 1px!important;
  box-sizing:border-box!important;
}
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel #bulk-form > .contact-list::-webkit-scrollbar {
  width:6px;
}
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel #bulk-form > .contact-list::-webkit-scrollbar-thumb {
  border-radius:10px;
  background:color-mix(in srgb,var(--user-accent,#2878f5) 42%,transparent);
}
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel > .audience-load-more {
  flex:0 0 auto!important;
  margin:0!important;
  padding:6px 0 0!important;
}
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel > .audience-load-more > a {
  min-height:32px!important;
  padding:6px 13px!important;
  box-sizing:border-box!important;
}
@media (max-width:700px){
  html body main.page:not(.auth-page) > .audience-shell .audience-list-panel {
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
}
/* Sem layout de lista confinada no modo de impressão. */
@media print {
  html body main.page:not(.auth-page) > .audience-shell .audience-list-panel {
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body main.page:not(.auth-page) > .audience-shell .audience-list-panel #bulk-form > .contact-list {
    max-height:none!important;
    overflow:visible!important;
  }
}

/* A paginação serve somente como cursor interno para a rolagem automática. */
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel
  > nav.audience-load-more {
  display:none!important;
}
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel
  > .audience-autoload-status:not([hidden]) {
  display:block!important;
  flex:0 0 auto!important;
  padding:5px 8px 1px!important;
  font-size:11px!important;
  line-height:1.25!important;
  color:var(--muted,#70809b)!important;
  text-align:center!important;
}
html body main.page:not(.auth-page) > .audience-shell .audience-list-panel
  > .audience-autoload-status[hidden] {
  display:none!important;
}


/* source: /assets/msnbot-audience-mobile-focus-v489.css */
/* MSNBOT Luz 4.8.9: Audiência mobile com contatos como conteúdo principal.
 * Desktop e tablet permanecem com a apresentação anterior. */
html body main.page .audience-filters-vnext .audience-mobile-filter-toggle{
  display:contents!important;
}
html body main.page .audience-filters-vnext .audience-mobile-filter-chevron,
html body main.page .audience-filters-vnext .audience-mobile-active-count{
  display:none!important;
}
html body main.page .audience-filters-vnext .audience-mobile-filter-options{
  display:contents!important;
}
@media screen and (max-width:600px){
  /* Busca e ações sempre visíveis. Contador migra ao quadro dos filtros. */
  html body main.page:not(.auth-page)>.audience-headbar{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    gap:7px!important;
    width:100%!important;min-width:0!important;
    margin:3px 0 8px!important;
    padding:8px 9px!important;
    border-radius:15px!important;
    box-sizing:border-box!important;
  }
  html body main.page .audience-headbar .audience-search{
    flex:none!important;
    display:block!important;
    grid-column:auto!important;grid-row:auto!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    padding:0!important;margin:0!important;
  }
  html body main.page .audience-headbar .audience-search>input[type=search]{
    display:block!important;width:100%!important;min-width:0!important;
    max-width:100%!important;box-sizing:border-box!important;
    height:41px!important;min-height:41px!important;
    font-size:16px!important;-webkit-text-size-adjust:100%!important;
  }
  html body main.page .audience-headbar .audience-stats{
    display:none!important;
  }
  html body main.page .audience-headbar .audience-head-right{
    display:block!important;
    flex:none!important;
    grid-column:auto!important;grid-row:auto!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    margin:0!important;padding:0!important;
    box-sizing:border-box!important;
  }
  html body main.page .audience-headbar .audience-top-actions{
    display:grid!important;
    grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr) minmax(0,1.18fr)!important;
    gap:6px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;
    align-items:stretch!important;
  }
  html body main.page .audience-headbar .audience-top-actions>.toolbar-pop{
    display:block!important;
    min-width:0!important;
    width:100%!important;
    margin:0!important;
  }
  html body main.page .audience-headbar .audience-top-actions>.toolbar-pop>summary,
  html body main.page .audience-headbar .audience-top-actions>.button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;max-width:100%!important;width:100%!important;
    height:38px!important;min-height:38px!important;
    margin:0!important;
    padding:5px 5px!important;
    border-radius:10px!important;
    box-sizing:border-box!important;
    font-size:clamp(10px,2.65vw,12px)!important;
    font-weight:800!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    text-align:center!important;
    -webkit-tap-highlight-color:transparent;
  }
  html body main.page .audience-headbar .audience-top-actions>.toolbar-pop>summary:focus-visible,
  html body main.page .audience-headbar .audience-top-actions>.button:focus-visible{
    outline:2px solid var(--user-accent,#2878f5)!important;outline-offset:2px;
  }

  /* Filtros e contador de ativos num único quadro retrátil. */
  html body main.page .audience-shell{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-content:start!important;
    align-items:start!important;
    gap:7px!important;
    min-width:0!important;
  }
  html body main.page .audience-shell .audience-filters-vnext{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    padding:7px 10px!important;
    margin:0!important;
    border-radius:14px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    position:relative!important;
  }
  html body main.page .audience-filters-vnext .filter-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto!important;
    align-items:center!important;
    gap:9px!important;
    width:100%!important;
    min-height:34px!important;
    padding:0!important;margin:0!important;
  }
  html body main.page .audience-filters-vnext .audience-mobile-filter-toggle{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:9px!important;
    width:100%!important;min-width:0!important;
    height:34px!important;min-height:34px!important;
    padding:0 2px!important;
    margin:0!important;
    border:0!important;border-radius:8px!important;
    color:var(--ink,#17253e)!important;
    background:transparent!important;
    font:inherit!important;
    cursor:pointer!important;
    touch-action:pan-y!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  html body main.page .audience-filters-vnext .audience-mobile-filter-toggle strong{
    font-size:14px!important;font-weight:850!important;
    white-space:nowrap!important;
  }
  html body main.page .audience-filters-vnext .audience-mobile-filter-chevron{
    display:block!important;
    width:20px!important;height:20px!important;
    flex:none!important;
    color:var(--user-accent,#2878f5)!important;
    transition:transform .18s ease!important;
    transform:rotate(0)!important;
  }
  html body main.page .audience-filters-vnext[data-mobile-filters-open=true]
    .audience-mobile-filter-chevron{
    transform:rotate(180deg)!important;
  }
  html body main.page .audience-filters-vnext .audience-mobile-active-count{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    min-width:0!important;
    padding:6px 8px!important;
    border-radius:9px!important;
    border:1px solid var(--border,#dbe5f2)!important;
    background:var(--surface-solid,#fff)!important;
    color:var(--muted,#75849a)!important;
    font-size:11px!important;
    white-space:nowrap!important;
  }
  html body main.page .audience-filters-vnext .audience-mobile-active-count strong{
    font-size:13px!important;
    color:var(--ink,#1a2a43)!important;
    font-weight:850!important;
    font-variant-numeric:tabular-nums!important;
  }
  html body main.page .audience-filters-vnext .filter-head>a{
    display:none!important;
    font-size:11px!important;
    white-space:nowrap!important;
  }
  html body main.page .audience-filters-vnext[data-mobile-filters-open=true] .filter-head>a{
    display:inline!important;
  }
  html body main.page .audience-filters-vnext .audience-mobile-filter-options{
    display:none!important;
    min-width:0!important;
  }
  html body main.page .audience-filters-vnext[data-mobile-filters-open=true]
    .audience-mobile-filter-options{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:start!important;
    gap:9px!important;
    padding:11px 0 3px!important;
    margin:0!important;
    border-top:1px solid var(--border,#dce4f1)!important;
  }
  html body main.page .audience-filters-vnext[data-mobile-filters-open=true]
    .audience-mobile-filter-options>.audience-filter-tags,
  html body main.page .audience-filters-vnext[data-mobile-filters-open=true]
    .audience-mobile-filter-options>.audience-sales-unit{
    grid-column:1/-1!important;
  }
  html body main.page .audience-filters-vnext .audience-mobile-filter-toggle:focus-visible{
    outline:2px solid var(--user-accent,#2878f5)!important;
    outline-offset:2px!important;
  }

  /* Lista compacta: contador e Selecionar na mesma linha. */
  html body main.page .audience-shell .audience-list-panel{
    position:relative!important;
    min-width:0!important;
    padding:8px 9px 9px!important;
    border-radius:15px!important;
  }
  html body main.page .audience-list-panel>.audience-list-head{
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-height:37px!important;
    padding:3px 110px 7px 2px!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  html body main.page .audience-list-panel>.audience-list-head strong{
    font-size:13px!important;
    white-space:nowrap!important;
  }
  html body main.page .audience-list-panel #bulk-form>.bulk-bar:not(.selection-mode){
    position:absolute!important;
    right:10px!important;top:8px!important;
    left:auto!important;bottom:auto!important;
    display:flex!important;align-items:center!important;
    width:auto!important;min-width:0!important;max-width:calc(100% - 135px)!important;
    height:32px!important;min-height:32px!important;
    padding:0!important;margin:0!important;
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
    overflow:visible!important;
    z-index:2!important;
  }
  html body main.page .audience-list-panel #bulk-form>.bulk-bar:not(.selection-mode) #select-mode{
    width:auto!important;
    height:31px!important;min-height:31px!important;
    font-size:11px!important;
    padding:5px 9px!important;
    border-radius:9px!important;
  }
  html body main.page .audience-list-panel #bulk-form>.bulk-bar.selection-mode{
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    margin-bottom:5px!important;
    padding:5px!important;
    min-height:38px!important;
  }
  html body main.page .audience-list-panel #bulk-form>.contact-list{
    gap:5px!important;
    padding-top:1px!important;
  }
  html body main.page .audience-list-panel .contact-row:not(.selection-mode){
    grid-template-rows:auto auto!important;
    gap:3px!important;
    padding:7px 9px!important;
    border-radius:11px!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-main{
    grid-row:1!important;
    grid-column:1!important;
    gap:8px!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-meta.contact-actions{
    grid-row:2!important;
    grid-column:1!important;
    justify-self:end!important;
    gap:4px!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-avatar{
    width:32px!important;height:32px!important;
    min-width:32px!important;min-height:32px!important;
    max-width:32px!important;max-height:32px!important;
    flex:0 0 32px!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-actions :is(button,a){
    min-height:29px!important;
    height:29px!important;
    padding:5px 7px!important;
    font-size:10px!important;
    border-radius:8px!important;
  }
}
@media screen and (max-width:600px) and (prefers-reduced-motion:reduce){
  html body main.page .audience-filters-vnext .audience-mobile-filter-chevron{
    transition:none!important;
  }
}


/* source: /assets/msnbot-billing-client-v489.css */
/* MSNBOT — Cobranças por cliente, padrão visual da Audiência.
   Interface isolada em .billing-vnext para preservar outros módulos. */
html body main.page:has(> .billing-vnext){
  width:calc(100% - 30px)!important;
  max-width:1800px!important;
  margin-inline:auto!important;
  min-width:0!important;
  padding:14px 0 105px!important;
  box-sizing:border-box!important;
}
html body .billing-vnext{
  --billing-card:color-mix(in srgb,var(--panel,#fff) 90%,transparent);
  --billing-inset:color-mix(in srgb,var(--surface-solid,#fff) 92%,transparent);
  --billing-line:var(--hair,#dce3ed);
  --billing-muted:var(--sub,#6d7c90);
  --billing-ink:var(--ink,#1a2942);
  --billing-blue:var(--accent,#2878f5);
  color:var(--billing-ink);
  font-size:13px;
  line-height:1.4;
  max-width:100%;
  min-width:0;
}
html body .billing-vnext *,html body .billing-vnext *::before,
html body .billing-vnext *::after,
html body .billing-vnext-dialog *,
html body .billing-vnext-bulk-dialog *{box-sizing:border-box}
html body .billing-vnext :is(button,input,select,textarea){
  font-family:inherit
}
html body .billing-vnext :is(.billing-vnext-top,.billing-vnext-filter-card,.billing-vnext-kpis article,.billing-vnext-clients),
html body .billing-vnext-dialog .billing-vnext-dialog-frame{
  background:var(--billing-card);
  border:1px solid var(--billing-line);
  border-radius:20px;
  box-shadow:0 8px 28px rgba(21,37,63,.055);
  overflow:hidden;
  isolation:isolate;
}
html body .billing-vnext-top{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:16px 19px;margin-bottom:12px
}
html body .billing-vnext .eyebrow,
html body .billing-vnext-dialog .eyebrow{
  display:block;
  font-size:10px;
  font-weight:850;
  letter-spacing:.095em;
  color:var(--billing-blue,var(--accent,#2878f5));
}
html body .billing-vnext-title h1{
  font-size:clamp(21px,2vw,29px);
  line-height:1.18;
  margin:3px 0 2px;
  letter-spacing:-.035em
}
html body .billing-vnext-title p{
  font-size:12px;
  color:var(--billing-muted);
  margin:3px 0 0
}
html body .billing-vnext-top-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
html body .billing-vnext-top-actions>:is(button,a){
  display:inline-flex;justify-content:center;align-items:center;
  min-height:38px;padding:8px 13px;border-radius:11px;
  font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap
}
html body .billing-vnext-layout{
  display:grid;
  grid-template-columns:minmax(220px,248px) minmax(0,1fr);
  align-items:start;
  gap:12px;
  min-width:0
}
html body .billing-vnext-sidebar{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:0
}
html body .billing-vnext-filter-card{padding:14px 14px 12px}
html body .billing-vnext-panel-head{
  display:flex;align-items:center;gap:10px;
  margin:0 0 13px;
}
html body .billing-vnext-panel-head strong{font-size:15px;font-weight:850;margin-right:auto}
html body .billing-vnext-panel-head a{font-size:11px;font-weight:750;text-decoration:none}
html body .billing-vnext-panel-head .billing-filter-collapse{display:none}
html body .billing-vnext-filters{display:flex;flex-direction:column;gap:11px;margin:0}
html body .billing-vnext-filter-fields{display:flex;flex-direction:column;gap:11px}
html body .billing-vnext-filters label,
html body .billing-vnext-bulk-card label{
  display:flex;flex-direction:column;gap:6px;
  color:var(--billing-muted);font-size:10px;font-weight:850;letter-spacing:.02em;
  min-width:0
}
html body .billing-vnext-filters :is(input,select),
html body .billing-vnext-bulk-card :is(input,select){
  min-width:0;width:100%;height:39px;min-height:39px;
  padding:0 10px;border-radius:11px;
  background:var(--billing-inset);
  border:1px solid var(--billing-line);
  color:var(--billing-ink);
  box-shadow:none;
  font-size:13px;
  font-weight:550;
  letter-spacing:0;
}
html body .billing-vnext-filters input[type=search]{
  font-size:16px
}
html body .billing-vnext-date-range{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}
html body .billing-vnext-date-range input{
  height:36px;min-height:36px;
  padding:0 5px;
  font-size:12px;
}
html body .billing-vnext-kpis{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:8px
}
html body .billing-vnext-kpis article{
  padding:12px;
  border-radius:15px;
  display:flex;flex-direction:column;justify-content:space-between;gap:7px;
  min-width:0;min-height:91px
}
html body .billing-vnext-kpis article>div{display:grid;gap:5px}
html body .billing-vnext-kpis article span{color:var(--billing-muted);font-size:11px;font-weight:680}
html body .billing-vnext-kpis article strong{
  color:var(--billing-ink);
  font-size:clamp(13px,1.15vw,20px);
  font-weight:850;
  line-height:1.15;
  overflow-wrap:anywhere;
}
html body .billing-vnext-kpis article small{color:var(--billing-muted);font-size:10px}
html body .billing-vnext-kpis article.is-overdue strong{color:#dc4559}
html body .billing-vnext-kpis article.is-paid strong{color:#189c62}
html body .billing-vnext-clients{
  display:flex;flex-direction:column;
  min-width:0;min-height:310px;
  height:var(--billing-client-panel-height,calc(100dvh - 225px));
  max-height:var(--billing-client-panel-height,calc(100dvh - 225px));
  padding:0 12px 11px;
}
html body .billing-vnext-clients-head{
  display:flex;justify-content:space-between;align-items:center;
  gap:12px;padding:14px 4px 12px;
  flex:0 0 auto;min-width:0
}
html body .billing-vnext-clients-head>div{min-width:0}
html body .billing-vnext-clients-head strong{
  display:block;font-size:clamp(15px,1.45vw,20px);line-height:1.25;margin:3px 0;
}
html body .billing-vnext-clients-head small{display:block;color:var(--billing-muted);font-size:11px}
html body .billing-vnext-clients-head>button{
  flex:0 0 auto;min-height:35px;
  padding:7px 12px;
  font-weight:800;font-size:12px;border-radius:10px
}
html body .billing-vnext-bulk:not([hidden]){
  flex:0 0 auto;display:flex;align-items:center;flex-wrap:wrap;gap:8px;
  padding:8px;margin:0 0 9px;
  border-radius:12px;
  background:var(--billing-inset);
  border:1px solid var(--billing-line)
}
html body .billing-vnext-bulk[hidden]{display:none!important}
html body .billing-vnext-bulk select{
  min-width:180px;flex:1;
  height:35px;min-height:35px;
  border-radius:9px;padding:4px 10px;
  background:var(--billing-card);
  color:var(--billing-ink);
  border:1px solid var(--billing-line);
  font-size:12px
}
html body .billing-vnext-bulk button{
  min-height:35px;padding:7px 10px;border-radius:9px;font-size:11px;font-weight:800
}
html body .billing-vnext-selected-count{font-size:11px;color:var(--billing-muted)}
html body .billing-vnext-list{
  flex:1 1 auto;min-height:0;
  overflow-y:auto;overflow-x:hidden;
  scrollbar-width:thin;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:2px 3px 4px;
  display:grid;
  grid-auto-rows:max-content;
  align-content:start;
  gap:7px
}
html body .billing-vnext-list::-webkit-scrollbar{width:6px}
html body .billing-vnext-list::-webkit-scrollbar-thumb{
  border-radius:10px;
  background:color-mix(in srgb,var(--billing-blue) 40%,transparent)
}
html body .billing-vnext-client-row{
  display:grid;align-items:center;
  grid-template-columns:minmax(140px,1.25fr) minmax(135px,1.2fr) minmax(65px,.55fr)
    minmax(88px,.7fr) minmax(83px,.6fr) minmax(105px,.65fr) 19px;
  gap:9px;
  padding:12px 13px;
  min-width:0;
  border:1px solid var(--billing-line);
  border-radius:14px;
  background:var(--billing-inset);
  box-shadow:0 1px 1px rgba(12,25,45,.025);
  isolation:isolate;
  overflow:hidden;
  transition:border-color .15s ease,background .15s ease;
}
html body .billing-vnext-client-row:hover{
  border-color:color-mix(in srgb,var(--billing-blue) 42%,var(--billing-line));
  background:color-mix(in srgb,var(--billing-blue) 5%,var(--billing-inset))
}
html body .billing-vnext-client-row.is-checked{
  border-color:var(--billing-blue);
  background:color-mix(in srgb,var(--billing-blue) 9%,var(--billing-inset))
}
html body .billing-vnext-list.is-selecting .billing-vnext-client-row{
  grid-template-columns:21px minmax(138px,1.2fr) minmax(120px,1.2fr) minmax(60px,.55fr)
    minmax(78px,.65fr) minmax(80px,.6fr) minmax(100px,.65fr) 18px
}
html body .billing-vnext-list.is-selecting .billing-vnext-check{
  display:flex!important;
  width:21px;height:24px;align-items:center
}
html body .billing-vnext-check[hidden]{display:none!important}
html body .billing-vnext-list.is-selecting .billing-vnext-check[hidden]{display:flex!important}
html body .billing-vnext-check input{
  width:17px;height:17px;accent-color:var(--billing-blue)
}
html body .billing-vnext-client-person{
  display:flex;align-items:center;gap:9px;min-width:0
}
html body .billing-vnext-avatar{
  flex:0 0 37px;width:37px;height:37px;
  display:grid;place-items:center;
  border-radius:50%;
  background:linear-gradient(140deg,#5eb7ff,#276be7);
  color:#fff;
  font-size:15px;font-weight:850;
}
html body .billing-vnext-client-person>div{min-width:0}
html body .billing-vnext-client-name{
  display:block!important;text-align:left!important;
  max-width:100%;width:auto;
  color:var(--billing-ink);
  background:none!important;border:0!important;
  padding:0!important;margin:0!important;
  font-size:13px!important;font-weight:850!important;
  cursor:pointer!important;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
html body .billing-vnext-client-name:hover{color:var(--billing-blue)}
html body .billing-vnext-client-person small{
  color:var(--billing-muted);display:block;
  margin-top:3px;font-size:10px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
html body .billing-vnext-cell{min-width:0}
html body .billing-vnext-cell>small{
  display:block;
  color:var(--billing-muted);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.035em;
  margin-bottom:5px
}
html body .billing-vnext-cell>span:not(.billing-status),
html body .billing-vnext-cell>strong{
  display:block;
  font-size:11px;font-weight:720;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
html body .billing-vnext-description>em{
  display:block;margin-top:4px;color:var(--billing-muted);
  font-size:10px;font-style:normal
}
html body .billing-vnext-amount>strong{font-size:13px!important;font-weight:850!important}
html body .billing-vnext-row-chevron{
  border:0;background:none!important;
  padding:0!important;
  cursor:pointer;
  font-size:22px;line-height:1;
  color:var(--billing-blue);
  justify-self:end
}
html body .billing-vnext-client-row .billing-status{
  font-size:10px!important;
  padding:5px 8px!important
}
html body .billing-vnext-list-state:not([hidden]){
  flex:0 0 auto;
  text-align:center;
  color:var(--billing-muted);
  padding:6px;font-size:12px
}
html body .billing-vnext-list-state[hidden]{display:none!important}
html body .billing-vnext-empty{text-align:center;padding:60px 12px;color:var(--billing-muted)}
html body .billing-vnext-empty p{font-size:12px;margin:4px 0}
/* Modal próprio: o histórico do cliente não é substituído por um detalhe de parcela. */
html body #billing-client-dialog.billing-vnext-dialog{
  position:fixed;
  inset:0;
  margin:auto!important;
  padding:0!important;
  width:min(1050px,calc(100vw - 28px));
  max-width:calc(100vw - 28px);
  max-height:calc(100dvh - 32px);
  border:0;
  border-radius:22px;
  overflow:hidden;
  background:transparent;
  color:var(--billing-ink,var(--ink));
}
html body #billing-client-dialog::backdrop,
html body #billing-bulk-dialog::backdrop{
  background:rgba(11,18,32,.62);
  backdrop-filter:blur(5px)
}
html body .billing-vnext-dialog .billing-vnext-dialog-frame{
  display:flex;flex-direction:column;
  max-height:calc(100dvh - 32px);
  width:100%;
  background:var(--panel,#fff);
  border-radius:22px;
  color:var(--ink,#1b2a40);
  overflow:hidden
}
html body .billing-vnext-dialog-head{
  flex:0 0 auto;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:18px 21px;
  border-bottom:1px solid var(--hair)
}
html body .billing-vnext-dialog-head h2{font-size:24px;margin:3px 0}
html body .billing-vnext-dialog-head p{font-size:12px;color:var(--sub);margin:3px 0}
html body .billing-vnext-dialog-close{
  border:0;background:var(--surface);
  color:var(--ink);
  border-radius:50%;height:38px;width:38px;
  font-size:24px;cursor:pointer
}
html body .billing-vnext-dialog-scroll{
  overflow:auto;
  min-height:0;
  padding:17px 21px 22px;
  overscroll-behavior:contain
}
html body .billing-vnext-dialog-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px
}
html body .billing-vnext-dialog-summary article{
  padding:13px;
  border:1px solid var(--hair);
  background:var(--surface);
  border-radius:12px;min-width:0
}
html body .billing-vnext-dialog-summary span,
html body .billing-vnext-dialog-summary strong{display:block}
html body .billing-vnext-dialog-summary span{font-size:11px;color:var(--sub)}
html body .billing-vnext-dialog-summary strong{font-size:17px;margin:6px 0 0}
html body .billing-vnext-dialog-tools{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;
  margin:13px 0 17px
}
html body .billing-vnext-dialog-tools>:is(button,a){
  border-radius:10px;padding:9px 12px;
  font-size:12px;font-weight:800;text-decoration:none
}
html body .billing-vnext-dialog-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:16px;align-items:start
}
html body .billing-vnext-dialog-grid>section{
  min-width:0;
  border:1px solid var(--hair);
  border-radius:15px;
  overflow:hidden;
  background:var(--surface)
}
html body .billing-vnext-dialog-grid h3{
  font-size:14px;margin:0;padding:13px 15px;
  border-bottom:1px solid var(--hair)
}
html body .billing-vnext-charge-items,
html body .billing-vnext-timeline{display:grid;gap:9px;padding:12px}
html body .billing-vnext-charge-items article,
html body .billing-vnext-timeline article{
  border:1px solid var(--hair);
  background:var(--panel);
  padding:12px;
  border-radius:11px;
  min-width:0;
  overflow:hidden
}
html body .billing-vnext-charge-items article>header,
html body .billing-vnext-timeline article>header{
  display:flex;justify-content:space-between;align-items:flex-start;gap:8px
}
html body .billing-vnext-charge-items article strong{
  font-size:13px;overflow-wrap:anywhere
}
html body .billing-vnext-charge-items article p,
html body .billing-vnext-timeline article p{
  font-size:12px;color:var(--sub);line-height:1.5;margin:7px 0
}
html body .billing-vnext-charge-items article small,
html body .billing-vnext-timeline article small{
  color:var(--sub);font-size:10px
}
html body .billing-vnext-charge-actions,
html body .billing-vnext-note-actions{
  display:flex;flex-wrap:wrap;gap:7px;margin-top:9px
}
html body .billing-vnext-charge-actions :is(a,button),
html body .billing-vnext-note-actions button{
  min-height:30px;
  border:1px solid var(--hair);
  border-radius:8px;
  background:var(--surface);
  color:var(--ink);
  padding:6px 9px;
  text-decoration:none;
  font-size:10px;font-weight:800;
  cursor:pointer;
}
html body .billing-vnext-timeline-head{
  display:flex;align-items:center;justify-content:space-between;gap:8px
}
html body .billing-vnext-timeline-head h3{border:0}
html body .billing-vnext-timeline-head span{color:var(--sub);font-size:11px;padding-right:12px}
html body .billing-vnext-timeline article[data-level=error]{border-left:3px solid #df455b}
html body .billing-vnext-note-form{
  padding:12px;
  border-top:1px solid var(--hair);
  border-bottom:1px solid var(--hair);
  display:grid;gap:8px
}
html body .billing-vnext-note-form textarea{
  width:100%;min-width:0;
  border:1px solid var(--hair);
  background:var(--panel);
  color:var(--ink);
  border-radius:10px;
  padding:10px;font-size:13px;
  resize:vertical
}
html body .billing-vnext-note-form>div{display:flex;justify-content:flex-end;gap:7px}
html body .billing-vnext-note-form button{padding:7px 10px;border-radius:8px;font-size:11px}
html body .billing-vnext-bulk-dialog{width:min(480px,calc(100vw - 24px));max-width:calc(100vw - 24px);border-radius:18px;overflow:hidden;padding:0}
html body .billing-vnext-bulk-card{width:100%;padding:18px}
html body .billing-vnext-bulk-card>p{color:var(--sub);font-size:13px}
html body .billing-vnext-bulk-card form{display:grid;gap:12px}
@media(min-width:761px){
  html body .billing-vnext-sidebar{position:sticky;top:53px;max-height:calc(100dvh - 170px);overflow-y:auto;scrollbar-width:thin}
}
@media(max-width:1200px){
  html body .billing-vnext-layout{grid-template-columns:minmax(208px,230px) minmax(0,1fr)}
  html body .billing-vnext-client-row{
    grid-template-columns:minmax(140px,1.1fr) minmax(130px,1fr) minmax(72px,.6fr) minmax(80px,.7fr) minmax(92px,.65fr) 16px;
    gap:7px;padding:10px
  }
  html body .billing-vnext-client-row>.billing-vnext-cell:nth-of-type(3){display:none}
  html body .billing-vnext-list.is-selecting .billing-vnext-client-row{
    grid-template-columns:20px minmax(140px,1.1fr) minmax(130px,1fr) minmax(80px,.7fr) minmax(92px,.65fr) 16px;
  }
}
@media(max-width:760px){
  html body main.page:has(> .billing-vnext){padding:8px 0 108px!important;width:calc(100% - 20px)!important}
  html body .billing-vnext-layout{grid-template-columns:minmax(0,1fr);gap:9px}
  html body .billing-vnext-top{padding:11px 12px;align-items:flex-start;gap:8px}
  html body .billing-vnext-title p{display:none}
  html body .billing-vnext-title h1{font-size:21px}
  html body .billing-vnext-top-actions{justify-content:flex-end}
  html body .billing-vnext-top-actions>:is(a,button){padding:7px 9px;font-size:11px;min-height:35px}
  html body .billing-vnext-sidebar{gap:7px}
  html body .billing-vnext-filter-card{padding:9px 11px}
  html body .billing-vnext-panel-head{margin:0}
  html body .billing-vnext-panel-head .billing-filter-collapse{
    display:grid;place-items:center;
    border:0;background:transparent;color:var(--billing-blue);
    border-radius:8px;width:31px;height:31px;cursor:pointer
  }
  html body .billing-vnext-panel-head .billing-filter-collapse svg{transition:transform .18s ease}
  html body .billing-vnext-filter-card.is-open .billing-filter-collapse svg{transform:rotate(180deg)}
  html body .billing-vnext-filters{margin-top:8px;gap:7px}
  html body .billing-vnext-filter-card:not(.is-open) .billing-filter-fields{display:none}
  html body .billing-vnext-kpis{
    display:flex;flex-wrap:nowrap;gap:7px;
    overflow-x:auto;padding-bottom:4px;
    min-width:0;max-width:100%;scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x proximity
  }
  html body .billing-vnext-kpis article{
    flex:0 0 145px;min-width:145px;max-width:145px;
    min-height:69px;padding:8px 10px;gap:4px;
    scroll-snap-align:start
  }
  html body .billing-vnext-kpis article strong{font-size:14px}
  html body .billing-vnext-kpis article small{font-size:9px}
  html body .billing-vnext-clients{min-height:270px;padding:0 7px 8px}
  html body .billing-vnext-clients-head{padding:10px 2px 8px}
  html body .billing-vnext-clients-head small{display:none}
  html body .billing-vnext-client-row{
    grid-template-columns:minmax(0,1fr) minmax(0,auto);
    gap:7px 9px;
    padding:9px 10px
  }
  html body .billing-vnext-list.is-selecting .billing-vnext-client-row{
    grid-template-columns:20px minmax(0,1fr) minmax(0,auto);
  }
  html body .billing-vnext-client-person{grid-column:1;grid-row:1}
  html body .billing-vnext-list.is-selecting .billing-vnext-client-person{grid-column:2;grid-row:1}
  html body .billing-vnext-description{grid-column:1;grid-row:2}
  html body .billing-vnext-list.is-selecting .billing-vnext-description{grid-column:2;grid-row:2}
  html body .billing-vnext-client-row>.billing-vnext-cell:nth-of-type(3){display:none}
  html body .billing-vnext-client-row>.billing-vnext-cell:nth-of-type(4){grid-column:1;grid-row:3}
  html body .billing-vnext-client-row>.billing-vnext-cell:nth-of-type(5){grid-column:1;grid-row:4}
  html body .billing-vnext-list.is-selecting .billing-vnext-client-row>.billing-vnext-cell:nth-of-type(4),
  html body .billing-vnext-list.is-selecting .billing-vnext-client-row>.billing-vnext-cell:nth-of-type(5){grid-column:2}
  html body .billing-vnext-client-row>.billing-vnext-cell:nth-of-type(4)>small,
  html body .billing-vnext-client-row>.billing-vnext-cell:nth-of-type(5)>small,
  html body .billing-vnext-description>small{display:none}
  html body .billing-vnext-description span{font-weight:550!important;color:var(--billing-muted)}
  html body .billing-vnext-description em{display:inline;margin-left:4px}
  html body .billing-vnext-amount{grid-column:2;grid-row:3/5;text-align:right}
  html body .billing-vnext-list.is-selecting .billing-vnext-amount{grid-column:3}
  html body .billing-vnext-amount>strong{font-size:14px!important}
  html body .billing-vnext-row-chevron{grid-column:2;grid-row:1}
  html body .billing-vnext-list.is-selecting .billing-vnext-row-chevron{grid-column:3}
  html body .billing-vnext-cell>span:not(.billing-status){white-space:normal;max-height:2.6em;overflow:hidden}
  html body .billing-vnext-client-row .billing-status{font-size:9px!important}
  html body .billing-vnext-avatar{width:33px;height:33px;flex-basis:33px}
  html body .billing-vnext-dialog-scroll{padding:11px}
  html body .billing-vnext-dialog-head{padding:12px 14px}
  html body .billing-vnext-dialog-head h2{font-size:18px}
  html body .billing-vnext-dialog-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body .billing-vnext-dialog-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:390px){
  html body .billing-vnext-top{flex-wrap:wrap}
  html body .billing-vnext-top-actions{width:100%}
}
@media(prefers-reduced-motion:reduce){
  html body .billing-vnext-client-row,
  html body .billing-vnext-panel-head .billing-filter-collapse svg{transition:none!important}
}


/* source: /assets/msnbot-billing-modern-v489.css */
/* Cobranças — formulário moderno, isolado dos diálogos globais do MSNBOT. */
html body .billing-create-product-sidebar{
 display:flex;align-items:center;justify-content:center;gap:8px;
 width:100%;min-height:41px;margin:0;
 border:1px solid color-mix(in srgb,var(--accent,#2878f5) 35%,var(--hair));
 background:color-mix(in srgb,var(--accent,#2878f5) 11%,var(--panel,#fff));
 color:var(--accent,#2878f5);border-radius:13px;
 font:800 12px/1.2 Montserrat,system-ui,sans-serif;
 cursor:pointer;transition:background .15s ease;
}
html body .billing-create-product-sidebar:hover{background:color-mix(in srgb,var(--accent) 18%,var(--panel))}
html body .billing-create-product-sidebar span{font-size:19px;line-height:1}

html body #billing-create-dialog.billing-modern-dialog,
html body #billing-product-dialog.billing-product-dialog,
html body #billing-custom-days-dialog.billing-product-dialog{
 position:fixed!important;inset:0!important;
 margin:auto!important;padding:0!important;
 width:min(840px,calc(100vw - 24px));
 max-width:calc(100vw - 24px);
 max-height:calc(100dvh - 28px);
 border:1px solid var(--hair,#dce5f1);
 border-radius:22px;
 background:var(--panel,#fff);
 color:var(--ink,#18243c);
 box-shadow:0 30px 100px rgba(9,17,41,.32);
 overflow:hidden;
 isolation:isolate;
 font-family:Montserrat,system-ui,sans-serif;
}
html body #billing-create-dialog::backdrop,
html body #billing-product-dialog::backdrop,
html body #billing-custom-days-dialog::backdrop{
 background:rgba(8,14,30,.65);
 backdrop-filter:blur(7px);
}
html body .billing-modern-dialog *,
html body .billing-product-dialog *{box-sizing:border-box}
html body .billing-modern-dialog .billing-modern-shell{
 height:min(820px,calc(100dvh - 28px));
 max-height:inherit;
 min-height:0;
 display:flex;flex-direction:column;
 overflow:hidden;border-radius:22px;
}
html body .billing-modern-header{
 flex:none;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;
 padding:20px 24px 16px;
 background:var(--panel,#fff);
 border-bottom:1px solid var(--hair,#dce5f1);
}
html body .billing-modern-header h2{font-size:27px;letter-spacing:-.035em;margin:0;color:var(--ink)}
html body .billing-modern-header p{margin:5px 0 0;font-size:11px;color:var(--sub)}
html body .billing-modern-close,
html body .billing-product-dialog header>button{
 display:grid;place-items:center;width:35px;height:35px;flex:none;
 border:1px solid var(--hair);border-radius:50%;background:var(--surface);
 font-size:24px;line-height:1;color:var(--ink);cursor:pointer;
}
html body #billing-modern-form{
 min-height:0;display:flex;flex-direction:column;flex:1;
}
html body .billing-modern-body{
 overflow-y:auto;overflow-x:hidden;
 flex:1;min-height:0;
 padding:20px 24px 12px;
 -webkit-overflow-scrolling:touch;
 overscroll-behavior:contain;
 scrollbar-width:thin;
}
html body .billing-modern-grid{
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 align-items:start;gap:16px 16px;
}
html body .billing-modern-full{grid-column:1/-1}
html body .billing-modern-field{
 position:relative;display:flex;flex-direction:column;gap:7px;min-width:0;
}
html body .billing-modern-field>label:not(.billing-modern-schedule-check){
 color:var(--ink);font-size:12px;font-weight:750;line-height:1.4;
}
html body .billing-modern-muted{font-size:10px;font-weight:500;color:var(--sub)}
html body .billing-modern-field :is(input:not([type=hidden]),select,textarea){
 min-width:0;max-width:100%;width:100%;min-height:43px;
 padding:10px 12px;
 border:1px solid var(--hair);border-radius:12px;
 background:var(--surface-solid,var(--panel,#fff));color:var(--ink);
 font:550 14px/1.35 Montserrat,system-ui,sans-serif;
 box-shadow:none;outline:none;
}
html body .billing-modern-field input[type=search]{font-size:16px!important}
html body .billing-modern-field input[type=date],
html body .billing-modern-field input[type=time]{font-size:16px!important;padding:7px 10px}
html body .billing-modern-field :is(input,select,textarea):focus{
 border-color:var(--accent)!important;
 box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 13%,transparent)!important;
}
html body .billing-modern-help{font-size:10px;line-height:1.4;color:var(--sub);font-weight:500}
html body .billing-modern-inline-input{position:relative;display:flex;gap:7px;align-items:center;min-width:0}
html body .billing-modern-inline-input input{flex:1;min-width:0}
html body .billing-modern-inline-plus{
 flex:0 0 44px;min-height:43px;
 border:1px solid var(--hair);border-radius:12px;background:var(--accent-soft,var(--surface));
 color:var(--accent);font-size:22px;cursor:pointer;
}
html body .billing-modern-results:not([hidden]){
 display:flex;flex-direction:column;
 position:absolute;top:100%;left:0;right:0;z-index:50;
 max-height:220px;overflow:auto;
 border:1px solid var(--hair);border-radius:12px;
 background:var(--panel,#fff);
 box-shadow:0 18px 45px rgba(9,23,49,.22);
}
html body .billing-modern-results[hidden]{display:none!important}
html body .billing-modern-result{
 display:flex;flex-direction:column;align-items:flex-start;gap:4px;
 padding:11px 13px;width:100%;min-width:0;
 border:0;border-bottom:1px solid var(--hair);
 background:transparent;
 color:var(--ink);
 text-align:left;cursor:pointer;
 font:750 12px/1.3 Montserrat,system-ui,sans-serif;
}
html body .billing-modern-result:hover,
html body .billing-modern-result:focus{background:var(--accent-soft)}
html body .billing-modern-result small{font-size:10px;color:var(--sub);font-weight:500}
html body .billing-modern-no-result{padding:14px;color:var(--sub);font-size:11px}
html body .billing-modern-currency{position:relative;min-width:0}
html body .billing-modern-currency>span{
 position:absolute;left:12px;top:50%;transform:translateY(-50%);
 font-size:13px;font-weight:800;color:var(--sub)
}
html body .billing-modern-field .billing-modern-currency input{padding-left:39px}
html body .billing-modern-switch{
 display:flex;gap:3px;align-items:center;
 padding:4px;
 border-radius:12px;
 border:1px solid var(--hair);
 background:var(--surface);
 min-height:43px;
}
html body .billing-modern-switch button{
 flex:1;padding:7px 9px;min-height:33px;
 border:0;border-radius:9px;
 background:transparent;color:var(--sub);
 font:800 12px/1.2 Montserrat,system-ui,sans-serif;cursor:pointer;
 white-space:nowrap;
}
html body .billing-modern-switch button.is-active{
 background:var(--accent,#2878f5)!important;color:#fff!important;
 box-shadow:0 3px 9px rgba(20,80,170,.12)
}
html body .billing-modern-recurrence{display:flex;align-items:center;gap:8px}
html body .billing-modern-recurrence select{flex:1}
html body .billing-modern-custom-days-trigger{
 min-height:43px;flex:0 0 auto;
 background:var(--accent-soft);
 border:1px solid var(--hair);
 border-radius:11px;
 padding:7px 12px;
 color:var(--accent);font:750 12px Montserrat,system-ui;cursor:pointer
}
html body .billing-modern-link-line{display:flex;align-items:center;gap:9px;min-width:0}
html body .billing-modern-link-line>.billing-modern-switch{flex:0 0 175px}
html body .billing-modern-link-line>input{flex:1}
html body .billing-modern-help.is-warning{color:#da6c24}
html body .billing-modern-message-box{
 border:1px solid var(--hair);border-radius:15px;
 overflow:hidden;background:var(--surface-solid,var(--panel));
}
html body .billing-modern-field .billing-modern-message-box textarea{
 border:0;box-shadow:none!important;
 border-radius:0;
 background:transparent;
 min-height:95px;
 resize:vertical;padding:12px;
 font-size:14px;line-height:1.48
}
html body .billing-modern-message-toolbar{
 display:flex;align-items:center;gap:7px;
 padding:6px 9px;
 border-top:1px solid var(--hair);
}
html body .billing-modern-message-toolbar>button,
html body .billing-modern-clip{
 display:grid;place-items:center;
 border:1px solid var(--hair);
 border-radius:9px;
 background:var(--surface);
 color:var(--ink);
 width:32px;min-height:31px;
 font-size:18px;
 cursor:pointer
}
html body .billing-modern-clip{padding:3px}
html body .billing-modern-message-toolbar .billing-modern-add-message{
 margin-left:auto;display:inline-flex;align-items:center;
 width:auto;white-space:nowrap;
 padding:6px 10px;font-size:11px;font-weight:850;color:var(--accent)
}
html body .billing-modern-message-toolbar .billing-modern-add-message[hidden],
html body .billing-modern-recurrence [hidden]{display:none!important}
html body .billing-modern-add-message:disabled{opacity:.45;cursor:default}
html body .billing-modern-attachment-name{
 flex:1;min-width:0;
 font-size:10px;color:var(--sub);
 text-overflow:ellipsis;overflow:hidden;white-space:nowrap
}
html body .billing-modern-emoji-panel:not([hidden]){
 display:grid;grid-template-columns:repeat(8,1fr);
 padding:8px;gap:4px;border-top:1px solid var(--hair)
}
html body .billing-modern-emoji-panel[hidden]{display:none!important}
html body .billing-modern-emoji-panel>button{
 font-size:19px;min-height:34px;border:0;background:transparent;border-radius:7px;cursor:pointer
}
html body .billing-modern-emoji-panel>button:hover{background:var(--surface)}
html body .billing-modern-message-info{font-size:10px;color:var(--sub);line-height:1.8}
html body .billing-modern-message-info code{
 color:var(--accent);font-size:10px;padding:2px 3px
}
html body .billing-modern-variations{display:grid;gap:9px}
html body .billing-modern-variation{
 border:1px solid var(--hair);
 border-radius:12px;
 padding:10px 11px;
 background:var(--surface);
}
html body .billing-modern-variation-head{display:flex;justify-content:space-between;align-items:center}
html body .billing-modern-variation-head strong{font-size:11px}
html body .billing-modern-variation-head button{font-size:20px;border:0;background:transparent;color:var(--sub);cursor:pointer}
html body .billing-modern-variation textarea{margin-top:7px;min-height:70px}
html body .billing-modern-variation .billing-modern-message-toolbar{padding:6px 0 0}
html body .billing-modern-schedule-check{
 display:flex!important;align-items:center;gap:9px;
 color:var(--ink)!important;font-size:12px;font-weight:700
}
html body .billing-modern-schedule-check input[type=checkbox]{
 flex:0 0 17px;width:17px;min-height:17px;height:17px;
 accent-color:var(--accent)
}
html body .billing-modern-schedule-time{
 display:flex;gap:9px;align-items:center;
 font-size:11px;color:var(--sub);
 margin:5px 0 0
}
html body .billing-modern-schedule-time input{max-width:170px}
html body .billing-modern-footer{
 display:flex;align-items:center;justify-content:flex-end;gap:8px;
 flex:none;min-height:69px;
 padding:12px 24px;
 border-top:1px solid var(--hair);
 background:var(--panel,#fff)
}
html body .billing-modern-footer>button{
 min-height:40px;padding:9px 16px;border-radius:11px;font-size:12px;font-weight:850
}
html body .billing-product-dialog .billing-product-shell{
 background:var(--panel);
 color:var(--ink);
 border-radius:20px;
 padding:20px;
 max-height:calc(100dvh - 28px);overflow:auto;
}
html body #billing-product-dialog,
html body #billing-custom-days-dialog{width:min(480px,calc(100vw - 24px))}
html body .billing-product-dialog header{
 display:flex;align-items:flex-start;justify-content:space-between;
 gap:15px;padding:0 0 14px;margin-bottom:14px;
 border-bottom:1px solid var(--hair)
}
html body .billing-product-dialog header h2{margin:3px 0;font-size:21px;color:var(--ink)}
html body .billing-product-dialog header p{margin:0;color:var(--sub);font-size:11px}
html body .billing-product-dialog form{display:flex;flex-direction:column;gap:13px}
html body .billing-product-dialog form>label{
 display:flex;flex-direction:column;gap:6px;
 font-size:12px;font-weight:750;color:var(--ink)
}
html body .billing-product-dialog label :is(input,select){
 border:1px solid var(--hair);border-radius:11px;
 height:43px;min-height:43px;
 padding:8px 11px;
 background:var(--surface-solid);
 color:var(--ink);
 font-size:16px;
}
html body .billing-product-dialog footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 0 0}
html body .billing-product-dialog footer>button{
 min-height:38px;padding:8px 13px;font-size:12px;border-radius:10px;
 font-weight:800
}
html body .billing-product-error:not([hidden]){
 border:1px solid #eba7ac;color:#b93447;background:#fff0f2;
 border-radius:10px;padding:9px;font-size:11px
}
html body .billing-day-picker>div{
 display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:13px
}
html body .billing-day-chip{
 display:flex;gap:8px;align-items:center;
 padding:7px 10px;
 border-radius:12px;
 background:var(--accent-soft);color:var(--accent);
 font-size:13px;font-weight:850
}
html body .billing-day-chip button{
 border:0;background:transparent;color:inherit;font-size:16px;cursor:pointer
}
html body [data-billing-days-add]{
 border:1px solid var(--hair);background:var(--surface);color:var(--ink);
 border-radius:10px;padding:9px 12px;font-size:12px;font-weight:750;cursor:pointer
}
@media(max-width:600px){
 html body .billing-modern-dialog .billing-modern-shell{height:min(850px,calc(100dvh - 20px))}
 html body #billing-create-dialog.billing-modern-dialog{max-height:calc(100dvh - 20px)}
 html body .billing-modern-header{padding:13px 14px 11px}
 html body .billing-modern-header h2{font-size:23px}
 html body .billing-modern-header p{font-size:10px}
 html body .billing-modern-body{padding:13px 14px 10px}
 html body .billing-modern-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 html body .billing-modern-full{grid-column:1}
 html body .billing-modern-footer{padding:10px 14px}
 html body .billing-modern-field :is(input:not([type=hidden]),select,textarea){font-size:16px!important}
 html body .billing-modern-link-line{flex-direction:column;align-items:stretch}
 html body .billing-modern-link-line>.billing-modern-switch{flex:0 0 auto;width:100%}
 html body .billing-modern-recurrence{flex-wrap:wrap}
 html body .billing-modern-recurrence select{min-width:170px}
 html body .billing-modern-message-toolbar .billing-modern-add-message{font-size:10px}
}
@media(prefers-reduced-motion:reduce){
 html body .billing-create-product-sidebar{transition:none}
}

html body .billing-day-number-picker{width:100%;min-height:41px;border:1px solid var(--hair);border-radius:10px;background:var(--surface-solid);color:var(--ink);padding:7px 11px;font:600 15px Montserrat,system-ui,sans-serif;margin:0 0 10px}

/* Criar cobrança — geometria compacta sem legendas ou textos explicativos */
html body #billing-create-dialog.billing-modern-dialog{
  width:min(784px,calc(100vw - 24px));
  border-radius:17px;
}
html body #billing-create-dialog .billing-modern-shell{
  height:min(680px,calc(100dvh - 26px));
  max-height:calc(100dvh - 26px);
  border-radius:17px;
}
html body #billing-create-dialog .billing-modern-header{
  padding:11px 18px;
  min-height:55px;
  align-items:center;
  gap:9px;
}
html body #billing-create-dialog .billing-modern-header h2{
  font-size:22px;
}
html body #billing-create-dialog .billing-modern-body{
  padding:13px 18px 9px;
}
html body #billing-create-dialog .billing-modern-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  column-gap:11px;
  row-gap:10px;
  align-items:start;
}
html body #billing-create-dialog .billing-modern-full{grid-column:1/-1}
html body #billing-create-dialog .billing-modern-grid>.billing-modern-field:not(.billing-modern-full):not(.billing-modern-value-field):not(.billing-modern-form-field):not(.billing-modern-due-field){
  grid-column:span 6;
}
html body #billing-create-dialog .billing-modern-value-field{grid-column:span 3}
html body #billing-create-dialog .billing-modern-form-field{grid-column:span 4}
html body #billing-create-dialog .billing-modern-due-field{grid-column:span 5}
html body #billing-create-dialog .billing-modern-field{
  gap:4px;
}
html body #billing-create-dialog .billing-modern-field>label{
  font-size:11px;
  font-weight:750;
}
html body #billing-create-dialog .billing-modern-field :is(input:not([type=hidden]),select){
  min-height:39px;
  height:39px;
  border-radius:10px;
  padding:7px 10px;
  font-size:15px;
}
html body #billing-create-dialog .billing-modern-field input[type=search]{
  font-size:16px!important;
}
html body #billing-create-dialog .billing-modern-due-field input[type=datetime-local]{
  min-width:0;
  width:100%;
  max-width:100%;
  padding:5px 7px;
  font-size:14px!important;
  box-sizing:border-box;
}
html body #billing-create-dialog .billing-modern-currency>span{left:10px;font-size:11px}
html body #billing-create-dialog .billing-modern-currency input{padding-left:32px!important}
html body #billing-create-dialog .billing-modern-switch{
  min-height:39px;
  height:39px;
  padding:3px;
  border-radius:10px;
}
html body #billing-create-dialog .billing-modern-switch button{
  min-height:31px;
  padding:4px 6px;
  font-size:11px;
  border-radius:8px;
}
html body #billing-create-dialog .billing-modern-recurrence select{flex:1 1 auto}
html body #billing-create-dialog .billing-modern-custom-days-trigger{
  min-height:39px;
  border-radius:9px;
}
html body #billing-create-dialog .billing-modern-link-line{
  gap:7px;
}
html body #billing-create-dialog .billing-modern-link-line>.billing-modern-switch{
  flex:0 0 165px;
}
html body #billing-create-dialog .billing-modern-link-line>input,
html body #billing-create-dialog .billing-modern-api-search{
  flex:1 1 0;
  min-width:0;
}
html body #billing-create-dialog .billing-modern-api-search{
  position:relative;
  width:100%;
}
html body #billing-create-dialog .billing-modern-api-search[hidden],
html body #billing-create-dialog input[hidden]{
  display:none!important;
}
html body #billing-create-dialog .billing-modern-api-search input{
  width:100%;
}
html body #billing-create-dialog .billing-modern-api-search .billing-modern-results:not([hidden]){
  left:0;right:0;top:calc(100% + 3px);
}
html body #billing-create-dialog .billing-modern-message-box{
  border-radius:11px;
}
html body #billing-create-dialog .billing-modern-field .billing-modern-message-box textarea{
  min-height:68px;
  height:78px;
  padding:9px 10px;
  font-size:14px;
}
html body #billing-create-dialog .billing-modern-message-toolbar{
  padding:4px 6px;
  gap:5px;
}
html body #billing-create-dialog .billing-modern-message-toolbar>button,
html body #billing-create-dialog .billing-modern-clip{
  width:29px;min-height:28px;height:28px;border-radius:7px;
}
html body #billing-create-dialog .billing-modern-footer{
  min-height:55px;
  padding:8px 18px;
  gap:7px;
}
html body #billing-create-dialog .billing-modern-footer>button{
  min-height:36px;
  padding:7px 12px;
  border-radius:9px;
}
html body #billing-create-dialog .billing-modern-field .billing-modern-results{
  max-height:190px;
}
@media(max-width:620px){
 html body #billing-create-dialog.billing-modern-dialog{
  max-height:calc(100dvh - 16px);
  width:calc(100vw - 16px);
  max-width:calc(100vw - 16px);
 }
 html body #billing-create-dialog .billing-modern-shell{
  height:min(760px,calc(100dvh - 16px));
  max-height:calc(100dvh - 16px);
 }
 html body #billing-create-dialog .billing-modern-body{padding:11px 12px 8px}
 html body #billing-create-dialog .billing-modern-header{padding:9px 12px;min-height:49px}
 html body #billing-create-dialog .billing-modern-grid{row-gap:9px;column-gap:8px}
 html body #billing-create-dialog .billing-modern-value-field{grid-column:span 5}
 html body #billing-create-dialog .billing-modern-form-field{grid-column:span 7}
 html body #billing-create-dialog .billing-modern-due-field{grid-column:1/-1}
 html body #billing-create-dialog .billing-modern-field input[type=datetime-local]{
  font-size:16px!important;
 }
 html body #billing-create-dialog .billing-modern-footer{padding:8px 12px}
}
@media(max-width:359px){
 html body #billing-create-dialog .billing-modern-value-field,
 html body #billing-create-dialog .billing-modern-form-field,
 html body #billing-create-dialog .billing-modern-due-field{
  grid-column:1/-1;
 }
 html body #billing-create-dialog .billing-modern-link-line{
  flex-wrap:wrap;
 }
 html body #billing-create-dialog .billing-modern-link-line>.billing-modern-switch{
  flex:1 1 100%;
 }
 html body #billing-create-dialog .billing-modern-api-search{
  flex:1 1 100%;
 }
}

/* Larguras reais, inclusive Safari iOS: impedir altura artificial no seletor de link. */
html body #billing-create-dialog .billing-modern-message-toolbar>button.billing-modern-add-message{
 width:auto!important;min-width:98px!important;max-width:none!important;
 min-height:28px;height:28px;padding:4px 7px;
 font-size:10px!important;flex:0 0 auto;
}
@media(max-width:620px){
 html body #billing-create-dialog .billing-modern-link-line{
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
  align-items:center!important;gap:7px!important;
 }
 html body #billing-create-dialog .billing-modern-link-line>.billing-modern-switch{
  flex:0 0 124px!important;width:124px!important;
  height:39px!important;min-height:39px!important;max-height:39px!important;
 }
 html body #billing-create-dialog .billing-modern-link-line>input,
 html body #billing-create-dialog .billing-modern-link-line>.billing-modern-api-search{
  flex:1 1 0!important;width:auto!important;min-width:0!important;
 }
}

/* O popup acompanha a altura real dos campos; só rola quando ultrapassar a tela. */
html body #billing-create-dialog .billing-modern-shell{
  height:auto!important;
  max-height:calc(100dvh - 20px)!important;
}
html body #billing-create-dialog #billing-modern-form{
  flex:0 1 auto!important;
  min-height:0!important;
  max-height:calc(100dvh - 78px)!important;
}
html body #billing-create-dialog .billing-modern-body{
  flex:0 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
}
html body #billing-create-dialog .billing-modern-footer{flex:0 0 auto!important}


/* source: /assets/msnbot-billing-sales-v489.css */

.msnbot-sale-confirm-dialog .msnbot-sale-product-field{
 display:flex;flex-direction:column;gap:7px;
 color:var(--ink,#17243b);font:750 12px/1.3 Montserrat,system-ui,sans-serif;
 margin:10px 0;
}
.msnbot-sale-confirm-dialog .msnbot-sale-product-field :is(select,input){
 width:100%;min-height:43px;border:1px solid var(--hair,#dfe5ee);border-radius:10px;
 background:var(--surface-solid,#fff);color:var(--ink,#17243b);
 padding:8px 11px;font:550 16px Montserrat,system-ui,sans-serif;
}


/* source: /assets/msnbot-audience-compact-row-v489.css */
/* MSNBOT 4.8.9 — Audiência mobile: avatar, nome, telefone e ações na mesma linha.
   Não altera desktop nem fluxos de seleção/edição. */
@media screen and (max-width:600px){
  html body main.page .audience-list-panel #bulk-form>.contact-list{
    gap:4px!important;
  }
  html body main.page .audience-list-panel .contact-row:not(.selection-mode){
    display:grid!important;
    grid-template-columns:minmax(0,1fr) max-content!important;
    grid-template-rows:minmax(32px,auto)!important;
    align-items:center!important;
    align-content:center!important;
    column-gap:5px!important;
    row-gap:0!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:44px!important;
    padding:5px 7px!important;
    border-radius:11px!important;
    overflow:hidden!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-main{
    grid-column:1!important;
    grid-row:1!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    justify-self:stretch!important;
    align-self:center!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-avatar{
    width:30px!important;height:30px!important;
    min-width:30px!important;min-height:30px!important;
    max-width:30px!important;max-height:30px!important;
    flex:0 0 30px!important;
    border-radius:50%!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-identity{
    flex:1 1 0!important;
    min-width:0!important;
    max-width:100%!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-identity strong{
    display:block!important;
    font-size:12px!important;
    line-height:1.22!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
    max-width:100%!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-identity small{
    display:block!important;
    font-size:9.5px!important;
    line-height:1.2!important;
    margin-top:3px!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    text-overflow:ellipsis!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-meta.contact-actions{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    align-self:start!important;
    justify-self:end!important;
    gap:3px!important;
    min-width:0!important;
    max-width:100%!important;
    width:max-content!important;
    padding:0!important;
    margin:1px 0 0!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-actions :is(.small-btn,button,a){
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:none!important;
    height:29px!important;
    min-height:29px!important;
    max-height:29px!important;
    min-width:0!important;
    width:auto!important;
    padding:5px 5px!important;
    border-radius:7px!important;
    font-size:9px!important;
    font-weight:750!important;
    line-height:1!important;
    margin:0!important;
    white-space:nowrap!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-actions a.primary-soft{
    font-size:0!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-actions a.primary-soft::after{
    content:"Bate-Papo"!important;
    font-size:9px!important;
    font-weight:750!important;
    line-height:1!important;
  }
  /* No modo de seleção, o checkbox ocupa o lugar das ações individuais. */
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row:not(.selection-mode){
    grid-template-columns:23px minmax(0,1fr)!important;
    grid-template-rows:minmax(32px,auto)!important;
  }
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row .contact-check:not([hidden]){
    display:block!important;
    grid-column:1!important;
    grid-row:1!important;
    justify-self:center!important;
    align-self:center!important;
  }
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row .contact-main{
    grid-column:2!important;
    grid-row:1!important;
  }
  html body main.page .audience-list-panel .bulk-bar.selection-mode~.contact-list .contact-row .contact-meta.contact-actions{
    display:none!important;
  }
}
@media screen and (max-width:360px){
  html body main.page .audience-list-panel .contact-row:not(.selection-mode){padding:4px 5px!important;column-gap:3px!important}
  html body main.page .audience-list-panel .contact-row .contact-avatar{
    flex-basis:27px!important;width:27px!important;height:27px!important;
    min-width:27px!important;min-height:27px!important;max-width:27px!important;max-height:27px!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-main{gap:4px!important}
  html body main.page .audience-list-panel .contact-row .contact-actions :is(.small-btn,button,a){
    padding:5px 4px!important;font-size:8.5px!important;height:28px!important;min-height:28px!important;
  }
  html body main.page .audience-list-panel .contact-row .contact-actions a.primary-soft::after{font-size:8.5px!important}
}


/* source: /assets/msnbot-audience-static-v494.css */
/* MSNBOT Audiência — largura consistente com o cabeçalho e atualização localizada.
 * A tela não possui uma terceira coluna de detalhes: o painel principal
 * utiliza todo o restante da mesma largura do cabeçalho.
 */
html body main.page:not(.auth-page) > .audience-headbar,
html body main.page:not(.auth-page) > .audience-shell {
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin-left:0!important;
  margin-right:0!important;
}
html body main.page:not(.auth-page) > .audience-shell,
html body main.page:not(.auth-page) > .audience-shell.with-detail {
  display:grid!important;
  grid-template-columns:clamp(170px,14.5vw,220px) minmax(0,1fr)!important;
  column-gap:clamp(10px,.95vw,16px)!important;
  align-items:start!important;
}
html body main.page:not(.auth-page) > .audience-shell > .audience-list-panel {
  grid-column:2!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  justify-self:stretch!important;
}
html body main.page:not(.auth-page) > .audience-shell > .audience-filters {
  grid-column:1!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
html body main.page:not(.auth-page) > .alert.success:has(+ .audience-headbar){
  display:none!important;
}
@media(max-width:900px){
  html body main.page:not(.auth-page) > .audience-shell,
  html body main.page:not(.auth-page) > .audience-shell.with-detail {
    grid-template-columns:minmax(0,1fr)!important;
    row-gap:10px!important;
  }
  html body main.page:not(.auth-page) > .audience-shell > .audience-filters,
  html body main.page:not(.auth-page) > .audience-shell > .audience-list-panel {
    grid-column:1!important;
  }
}
.audience-static-error {
  position:fixed!important;
  left:50%!important;
  bottom:clamp(84px,11vh,115px)!important;
  transform:translateX(-50%)!important;
  z-index:2147482000!important;
  max-width:min(460px,calc(100vw - 28px))!important;
  padding:11px 16px!important;
  border:1px solid #eeb7bd!important;
  border-radius:13px!important;
  background:color-mix(in srgb,#fff4f5 93%,transparent)!important;
  color:#9b2732!important;
  box-shadow:0 12px 32px rgba(68,21,27,.15)!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
  text-align:center!important;
  font-size:12px!important;
  line-height:1.45!important;
}
@media(prefers-reduced-motion:no-preference){
  .audience-list-panel .contact-row.audience-recent {
    animation:audienceRecent 550ms ease-out both;
  }
  @keyframes audienceRecent{
    from{opacity:.65;transform:translateY(-4px)}
    to{opacity:1;transform:translateY(0)}
  }
}
/* Número já cadastrado: aviso central simples, X vermelho e saída para a esquerda. */
.audience-number-repeated {
  position:fixed!important;
  z-index:2147483100!important;
  top:50%!important;
  left:50%!important;
  transform:translate(-50%,-50%);
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:clamp(18px,3vw,44px)!important;
  min-width:min(300px,calc(100vw - 32px))!important;
  max-width:calc(100vw - 32px)!important;
  padding:17px 15px 17px 22px!important;
  border-radius:18px!important;
  border:1px solid rgba(229,162,178,.58)!important;
  background:color-mix(in srgb,var(--surface-solid,#fff) 93%,transparent)!important;
  color:var(--ink,#23314c)!important;
  box-shadow:0 20px 64px rgba(27,38,72,.25),inset 0 1px rgba(255,255,255,.75)!important;
  -webkit-backdrop-filter:blur(18px) saturate(135%)!important;
  backdrop-filter:blur(18px) saturate(135%)!important;
  font-size:15px!important;
  text-align:left!important;
  box-sizing:border-box!important;
  animation:audience-number-appear .25s cubic-bezier(.23,.7,.3,1) both;
}
.audience-number-repeated strong {
  font-size:15px!important;font-weight:750!important;
  white-space:nowrap!important;
}
.audience-number-repeated .audience-number-close {
  appearance:none!important;
  background:rgba(255,231,233,.94)!important;
  color:#e2394b!important;
  border:1px solid rgba(236,91,108,.24)!important;
  border-radius:9px!important;
  width:33px!important;height:33px!important;
  min-width:33px!important;
  display:grid!important;place-items:center!important;
  cursor:pointer!important;
  padding:0!important;margin:0!important;
  line-height:1!important;font-size:26px!important;font-weight:650!important;
  transition:transform .18s ease,background .18s ease!important;
}
.audience-number-repeated .audience-number-close:hover{
  transform:scale(1.08)!important;background:#ffe0e4!important;
}
.audience-number-repeated.is-leaving{
  animation:audience-number-exit .53s cubic-bezier(.55,.04,.87,.38) forwards!important;
  pointer-events:none!important;
}
@keyframes audience-number-appear{
  from{opacity:0;transform:translate(-50%,calc(-50% + 14px)) scale(.97)}
  to{opacity:1;transform:translate(-50%,-50%) scale(1)}
}
@keyframes audience-number-exit{
  from{opacity:1;transform:translate(-50%,-50%) scale(1)}
  to{opacity:0;transform:translate(calc(-100vw - 100%),-50%) scale(.90)}
}
@media(prefers-reduced-motion:reduce){
  .audience-number-repeated,.audience-number-repeated.is-leaving{animation:none!important}
}


/* source: /assets/msnbot-billing-mobile-focus-v489.css */
/* MSNBOT 4.8.9 — Cobranças focado em clientes.
   Camada responsiva isolada: nenhum estilo financeiro modifica as demais páginas. */
html body .billing-vnext .billing-vnext-mobile-meta{display:none}
html body .billing-vnext-client-row:focus-visible{
  outline:2px solid var(--billing-blue,#2878f5);
  outline-offset:-2px;
}
html body .billing-vnext-dialog .billing-vnext-dialog-frame{
  border-radius:18px;
}
html body #billing-client-dialog.billing-vnext-dialog{
  width:min(650px,calc(100vw - 20px));
  max-width:calc(100vw - 20px);
  border-radius:18px;
}
html body .billing-vnext-dialog-head{padding:13px 17px}
html body .billing-vnext-dialog-head h2{font-size:20px;line-height:1.2;margin:3px 0}
html body .billing-vnext-dialog-head p{
  margin:2px 0 0;
  font-size:11px;
  line-height:1.3;
  overflow-wrap:anywhere;
}
html body .billing-vnext-dialog-scroll{padding:12px 15px 15px}
html body .billing-vnext-dialog-summary{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
html body .billing-vnext-dialog-summary article{
  border-radius:11px;
  min-width:0;
  padding:9px 11px;
}
html body .billing-vnext-dialog-summary span{font-size:10px}
html body .billing-vnext-dialog-summary strong{font-size:14px;line-height:1.2;margin-top:3px;overflow-wrap:anywhere}
html body .billing-vnext-dialog-tools{margin:10px 0;gap:6px}
html body .billing-vnext-dialog-tools>:is(a,button){
  min-height:33px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  font-size:11px;
  border-radius:9px;
}
html body .billing-vnext-dialog-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:8px;
}
html body .billing-vnext-dialog-grid>section,
html body .billing-vnext-dialog-grid>details{
  min-width:0;
  border:1px solid var(--hair,#dce5f1);
  border-radius:12px;
  overflow:hidden;
  background:var(--surface,#fff);
}
html body .billing-vnext-dialog-grid>section h3{
  font-size:12px;
  padding:9px 11px;
  margin:0;
}
html body .billing-vnext-timeline-section>.billing-vnext-timeline-head{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:39px;
  padding:8px 11px;
}
html body .billing-vnext-timeline-section>.billing-vnext-timeline-head::-webkit-details-marker{display:none}
html body .billing-vnext-timeline-section>.billing-vnext-timeline-head strong{font-size:12px}
html body .billing-vnext-timeline-section>.billing-vnext-timeline-head span{
  font-size:10px;
  color:var(--sub,#6d7c90);
}
html body .billing-vnext-timeline-section>.billing-vnext-timeline-head span[data-billing-timeline-count]{
  margin-left:auto;
}
html body .billing-vnext-timeline-arrow{font-size:17px!important;transition:transform .16s ease}
html body .billing-vnext-timeline-section[open] .billing-vnext-timeline-arrow{transform:rotate(180deg)}
html body .billing-vnext-timeline-section[open]>.billing-vnext-timeline-head{border-bottom:1px solid var(--hair,#dce5f1)}
html body .billing-vnext-parcels-summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:8px 10px;
  color:var(--sub,#75849a);
  font-size:11px;
}
html body .billing-vnext-view-parcels{
  min-height:35px;
  border-radius:9px;
  border:1px solid var(--hair,#dce5f1);
  padding:7px 11px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:color-mix(in srgb,var(--accent,#2878f5) 10%,var(--panel,#fff));
  color:var(--accent,#2878f5);
  font:800 11px/1.1 Montserrat,system-ui,sans-serif;
  cursor:pointer;
  white-space:nowrap;
}
html body .billing-vnext-view-parcels b{font-size:11px}
html body #billing-installments-dialog.billing-installments-dialog{
  position:fixed;
  inset:0;
  margin:auto!important;
  padding:0!important;
  width:min(580px,calc(100vw - 18px));
  max-width:calc(100vw - 18px);
  max-height:calc(100dvh - 22px);
  border:1px solid var(--hair,#dce5f1);
  border-radius:17px;
  color:var(--ink,#1a2840);
  background:var(--panel,#fff);
  box-shadow:0 25px 70px rgba(10,24,45,.3);
  overflow:hidden;
  isolation:isolate;
}
html body #billing-installments-dialog::backdrop{
  background:rgba(9,16,33,.62);
  backdrop-filter:blur(5px);
}
html body .billing-installments-dialog *,
html body .billing-installments-dialog *::before,
html body .billing-installments-dialog *::after{box-sizing:border-box}
html body .billing-installments-frame{
  display:flex;
  flex-direction:column;
  min-height:0;
  max-height:calc(100dvh - 22px);
  overflow:hidden;
}
html body .billing-installments-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  flex:0 0 auto;
  padding:14px 16px;
  border-bottom:1px solid var(--hair,#dce5f1);
}
html body .billing-installments-header .eyebrow{font-size:9px}
html body .billing-installments-header h2{
  font-size:18px;
  margin:3px 0;
  line-height:1.2;
  overflow-wrap:anywhere;
}
html body .billing-installments-header p{
  margin:3px 0 0;
  color:var(--sub,#78859b);
  font-size:10px;
  overflow-wrap:anywhere;
}
html body .billing-installments-close{
  border:1px solid var(--hair,#dce5f1);
  background:var(--surface,#f2f5fa);
  color:var(--ink,#17243b);
  border-radius:50%;
  flex:0 0 33px;
  width:33px;
  height:33px;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
html body .billing-installments-scroll{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  padding:10px 12px;
  display:grid;
  gap:7px;
  align-content:start;
}
html body .billing-installments-scroll article{
  min-width:0;
  padding:10px 11px;
  border-radius:11px;
  border:1px solid var(--hair,#dce5f1);
  background:var(--surface,#fff);
}
html body .billing-installments-scroll article>header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:6px;
}
html body .billing-installments-scroll article header>div{
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:4px;
}
html body .billing-installments-scroll article strong{
  font-size:12px;
  overflow-wrap:anywhere;
}
html body .billing-installments-scroll article small{
  color:var(--sub,#6d7c90);
  font-size:10px;
}
html body .billing-installments-scroll article>p{
  margin:6px 0 4px;
  font-size:11px;
  color:var(--ink,#17243b);
}
html body .billing-installments-scroll .billing-vnext-charge-actions{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:8px;
  flex-wrap:wrap;
}
html body .billing-installments-scroll .billing-vnext-charge-actions :is(a,button){
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 9px;
  text-decoration:none;
  font-size:10px;
  font-weight:750;
  color:var(--accent,#2878f5);
  background:var(--panel,#fff);
  border:1px solid var(--hair,#dce5f1);
  border-radius:8px;
}
html body .billing-installments-footer{
  flex:0 0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:9px 13px;
  border-top:1px solid var(--hair,#dce5f1);
}
html body .billing-installments-footer span{font-size:10px;color:var(--sub,#7a88a0)}
html body .billing-installments-footer button{
  min-height:34px;
  padding:7px 12px;
  border-radius:9px;
  font-size:11px;
}
@media screen and (max-width:760px){
  html body main.page:has(> .billing-vnext){
    width:calc(100% - 16px)!important;
    padding:5px 0 105px!important;
  }
  html body .billing-vnext{font-size:12px}
  html body .billing-vnext-top{
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:space-between;
    min-height:50px;
    gap:6px;
    padding:8px 10px;
    margin:0 0 6px;
    border-radius:15px;
  }
  html body .billing-vnext-title{
    min-width:0;
    flex:1 1 auto;
  }
  html body .billing-vnext-title .eyebrow,
  html body .billing-vnext-title p{display:none!important}
  html body .billing-vnext-title h1{font-size:17px;white-space:nowrap;margin:0}
  html body .billing-vnext-top-actions{
    min-width:0;
    flex:0 1 auto;
    display:flex;
    flex-wrap:nowrap;
    gap:5px;
  }
  html body .billing-vnext-top-actions>:is(a,button){
    min-height:33px;
    padding:6px 9px;
    font-size:10px;
    font-weight:750;
    border-radius:9px;
    white-space:nowrap;
  }
  html body .billing-vnext-layout{
    gap:6px;
    grid-template-columns:minmax(0,1fr);
  }
  html body .billing-vnext-sidebar{gap:6px}
  /* Mesma organização da Audiência: busca no topo, faixa Filtros retrátil. */
  html body .billing-vnext-filter-card{
    display:flex!important;
    flex-direction:column;
    gap:0;
    min-height:0!important;
    padding:7px 9px!important;
    border-radius:14px;
    overflow:visible!important;
  }
  html body .billing-vnext-filter-card>.billing-vnext-filters{
    display:contents!important;
  }
  html body .billing-vnext-filter-card .billing-vnext-query{
    order:1;
    display:flex!important;
    flex-direction:column;
    gap:0!important;
    font-size:0!important;
    letter-spacing:0!important;
    margin:0!important;
    min-width:0;
    width:100%;
  }
  html body .billing-vnext-filter-card .billing-vnext-query input{
    width:100%;
    height:39px!important;
    min-height:39px!important;
    border-radius:11px;
    font-size:16px!important;
    padding:7px 12px;
  }
  html body .billing-vnext-panel-head{
    order:2;
    display:flex;
    gap:9px;
    align-items:center;
    min-height:31px;
    margin:4px 0 0!important;
    padding:0 3px;
  }
  html body .billing-vnext-panel-head strong{font-size:13px!important}
  html body .billing-vnext-panel-head .billing-filter-collapse{
    display:grid;
    place-items:center;
    height:30px;
    width:33px;
    padding:0;
  }
  html body .billing-vnext-panel-head .billing-filter-collapse svg{width:19px;height:19px}
  html body .billing-vnext-filter-card:not(.is-open) .billing-filter-clear{
    display:none;
  }
  html body .billing-vnext-filter-card .billing-filter-fields{
    order:3;
    min-width:0;
    max-width:100%;
    margin:4px 0 0;
    padding:9px 0 3px;
    border-top:1px solid var(--billing-line);
    gap:7px;
  }
  html body .billing-vnext-filter-card:not(.is-open) .billing-filter-fields{
    display:none!important;
  }
  html body .billing-vnext-filter-card.is-open .billing-filter-fields{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body .billing-vnext-filter-card .billing-filter-fields>.billing-vnext-date-range{
    grid-column:1/-1!important;
  }
  html body .billing-vnext-filter-card .billing-filter-fields label{
    min-width:0!important;
    max-width:100%;
    font-size:10px;
    gap:4px;
  }
  html body .billing-vnext-filter-card .billing-filter-fields :is(input,select){
    width:100%;
    max-width:100%;
    min-width:0;
    height:36px!important;
    min-height:36px!important;
    border-radius:9px;
    padding:6px 8px;
    font-size:16px!important;
  }
  html body .billing-vnext-filter-card .billing-vnext-date-range{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  html body .billing-vnext-filter-card .billing-vnext-date-range :is(input[type=date],input[type=number]){
    padding:5px 6px;
    font-size:14px!important;
  }
  html body .billing-create-product-sidebar{
    min-height:32px;
    margin:0;
    padding:6px 8px;
    border-radius:11px;
    font-size:11px;
    line-height:1.1;
  }
  html body .billing-create-product-sidebar span{font-size:16px}
  html body .billing-vnext-kpis{
    display:flex!important;
    flex-flow:row nowrap!important;
    overflow-x:auto!important;
    min-width:0!important;
    max-width:100%!important;
    padding:0 0 2px!important;
    gap:6px!important;
    scrollbar-width:none;
    scroll-snap-type:x proximity;
  }
  html body .billing-vnext-kpis article{
    flex:0 0 123px!important;
    min-width:123px!important;
    max-width:123px!important;
    min-height:48px!important;
    height:48px;
    gap:1px!important;
    padding:6px 8px!important;
    border-radius:11px!important;
    scroll-snap-align:start;
  }
  html body .billing-vnext-kpis article>div{
    gap:2px!important;
  }
  html body .billing-vnext-kpis article span{font-size:9px!important;white-space:nowrap}
  html body .billing-vnext-kpis article strong{font-size:12px!important;line-height:1.1}
  html body .billing-vnext-kpis article small{display:none!important}
  html body .billing-vnext-clients{
    min-height:180px!important;
    padding:0 7px 7px!important;
    border-radius:15px;
  }
  html body .billing-vnext-clients-head{
    display:flex;
    align-items:center;
    gap:8px;
    min-height:39px;
    padding:7px 2px 5px!important;
  }
  html body .billing-vnext-clients-head .eyebrow,
  html body .billing-vnext-clients-head small{display:none!important}
  html body .billing-vnext-clients-head strong{font-size:14px!important;line-height:1.2;margin:0}
  html body .billing-vnext-clients-head>button{
    min-height:30px!important;
    height:30px;
    padding:5px 9px!important;
    border-radius:9px;
    font-size:11px!important;
  }
  html body .billing-vnext-list{gap:5px!important;padding:2px 2px 4px}
  html body .billing-vnext-client-row,
  html body .billing-vnext-list.is-selecting .billing-vnext-client-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) max-content!important;
    grid-template-rows:minmax(31px,auto) minmax(21px,auto)!important;
    column-gap:8px!important;
    row-gap:2px!important;
    align-items:center!important;
    min-width:0!important;
    width:100%!important;
    padding:6px 9px!important;
    border-radius:11px!important;
    cursor:pointer;
  }
  html body .billing-vnext-client-row>.billing-vnext-cell:not(.billing-vnext-amount),
  html body .billing-vnext-client-row>.billing-vnext-row-chevron{
    display:none!important;
  }
  html body .billing-vnext-client-row .billing-vnext-client-person{
    grid-column:1!important;
    grid-row:1!important;
    align-self:center;
    display:flex;
    gap:7px!important;
    min-width:0!important;
  }
  html body .billing-vnext-client-person .billing-vnext-avatar{
    width:29px!important;height:29px!important;
    min-width:29px!important;min-height:29px!important;
    max-width:29px!important;max-height:29px!important;
    flex:0 0 29px!important;
    border-radius:50%;
    font-size:12px;
  }
  html body .billing-vnext-client-person>div{min-width:0;flex:1 1 auto}
  html body .billing-vnext-client-name{
    display:block;
    max-width:100%;
    font-size:12px!important;
    line-height:1.2;
  }
  html body .billing-vnext-client-person small{
    display:block;
    font-size:9px!important;
    line-height:1.15;
    margin-top:2px!important;
  }
  html body .billing-vnext-client-row>.billing-vnext-amount{
    display:block!important;
    grid-column:2!important;
    grid-row:1!important;
    align-self:center;
    min-width:0;
    max-width:115px;
    text-align:right;
  }
  html body .billing-vnext-amount>small{display:none!important}
  html body .billing-vnext-amount>strong{
    display:block;
    font-size:12.5px!important;
    text-align:right;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  html body .billing-vnext-client-row .billing-vnext-mobile-meta{
    display:flex!important;
    grid-column:1/-1!important;
    grid-row:2!important;
    min-width:0!important;
    width:100%!important;
    gap:5px!important;
    justify-content:space-between;
    align-items:center;
    overflow:hidden;
  }
  html body .billing-vnext-mobile-due{
    flex:1 1 auto;
    min-width:0;
    font-size:9.5px;
    color:var(--billing-muted,#79869c);
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
  }
  html body .billing-vnext-mobile-meta .billing-status{
    flex:0 0 auto;
    display:inline-flex!important;
    font-size:9px!important;
    line-height:1.1!important;
    padding:4px 6px!important;
    border-radius:7px;
    white-space:nowrap;
  }
  html body .billing-vnext-installments-button{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    min-height:24px;
    padding:3px 7px;
    border:1px solid var(--billing-line,#dce5f1);
    border-radius:8px;
    background:color-mix(in srgb,var(--billing-blue,#2878f5) 10%,var(--billing-inset,#fff));
    color:var(--billing-blue,#2878f5);
    font:800 9.5px/1.1 Montserrat,system-ui,sans-serif;
    cursor:pointer;
  }
  html body .billing-vnext-installments-button strong{
    font-size:9.5px;
    font-weight:850;
  }
  html body .billing-vnext-list.is-selecting .billing-vnext-client-row{
    grid-template-columns:18px minmax(0,1fr) max-content!important;
    gap:2px 6px!important;
  }
  html body .billing-vnext-list.is-selecting .billing-vnext-check{
    grid-column:1!important;
    grid-row:1/3!important;
    width:18px!important;
    justify-self:center!important;
    align-self:center!important;
  }
  html body .billing-vnext-list.is-selecting .billing-vnext-client-person{
    grid-column:2!important;
    grid-row:1!important;
  }
  html body .billing-vnext-list.is-selecting .billing-vnext-amount{
    grid-column:3!important;
    grid-row:1!important;
  }
  html body .billing-vnext-list.is-selecting .billing-vnext-mobile-meta{
    grid-column:2/-1!important;
    grid-row:2!important;
  }
  html body .billing-vnext-bulk:not([hidden]){
    gap:5px;
    padding:6px;
    margin-bottom:6px;
    border-radius:10px;
  }
  html body .billing-vnext-bulk select{
    min-width:160px;
    height:33px;
    min-height:33px;
    font-size:11px;
  }
  html body .billing-vnext-bulk button{min-height:33px;font-size:10px}
  /* Popup resumo: visível e confortável no Safari, movimentações recolhidas. */
  html body #billing-client-dialog.billing-vnext-dialog{
    width:calc(100vw - 18px)!important;
    max-width:calc(100vw - 18px)!important;
    max-height:calc(100dvh - 24px)!important;
    border-radius:16px!important;
  }
  html body .billing-vnext-dialog .billing-vnext-dialog-frame{
    max-height:calc(100dvh - 24px)!important;
    border-radius:16px!important;
  }
  html body .billing-vnext-dialog-head{padding:11px 12px!important}
  html body .billing-vnext-dialog-head h2{font-size:17px!important}
  html body .billing-vnext-dialog-scroll{padding:10px!important}
  html body .billing-vnext-dialog-summary{gap:6px!important}
  html body .billing-vnext-dialog-summary article{padding:8px 9px!important}
  html body .billing-vnext-dialog-summary strong{font-size:13px!important}
  html body .billing-vnext-dialog-tools{gap:5px;margin:8px 0}
  html body .billing-vnext-dialog-tools>:is(a,button){font-size:10px!important;padding:6px 8px!important}
  html body .billing-vnext-dialog-grid{gap:7px!important;grid-template-columns:minmax(0,1fr)!important}
  html body .billing-vnext-parcels-summary{padding:7px 8px}
  html body .billing-vnext-parcels-summary span{font-size:10px}
  html body .billing-installments-scroll{padding:8px;gap:6px}
  html body .billing-installments-scroll article{padding:9px 10px}
}
@media screen and (max-width:359px){
  html body .billing-vnext-top{padding:7px!important}
  html body .billing-vnext-title h1{font-size:15px}
  html body .billing-vnext-top-actions>:is(button,a){font-size:9px;padding:6px}
  html body .billing-vnext-client-row{padding:5px 6px!important}
  html body .billing-vnext-amount>strong{font-size:11px!important}
  html body .billing-vnext-client-person .billing-vnext-avatar{flex-basis:26px!important;width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important}
}
@media(prefers-reduced-motion:reduce){
  html body .billing-vnext-timeline-arrow{transition:none}
}


/* source: /assets/msnbot-billing-layout-refine-v489.css */
/* MSNBOT 4.8.9 — Filtros compactos desktop, busca no cabeçalho e produto por etiqueta. */
html body .billing-vnext-top .billing-vnext-header-search{
  flex:1 1 400px;
  min-width:120px;
  max-width:100%;
  display:block;
  align-self:center;
}
html body .billing-vnext-header-search input{
  display:block;
  width:100%;
  max-width:100%;
  min-width:0;
  height:40px;
  min-height:40px;
  padding:8px 13px;
  border:1px solid var(--billing-line,#dce3ed);
  background:var(--billing-inset,#fff);
  color:var(--billing-ink,#1a2942);
  border-radius:11px;
  box-sizing:border-box;
  box-shadow:none;
  font:550 16px/1.3 Montserrat,system-ui,sans-serif;
}
html body .billing-vnext-header-search input:focus{
  outline:none;
  border-color:var(--billing-blue,#2878f5);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--billing-blue,#2878f5) 14%,transparent);
}
html body .billing-vnext .billing-vnext-title{flex:0 0 auto}
html body .billing-vnext .billing-vnext-top{gap:12px;padding:11px 15px;margin-bottom:9px}
html body .billing-vnext .billing-vnext-title h1{margin:2px 0}
html body .billing-vnext .billing-vnext-top-actions{flex:0 0 auto;gap:6px}
html body .billing-vnext .billing-vnext-top-actions>:is(button,a){min-height:39px}
@media (min-width:761px){
  html body .billing-vnext .billing-vnext-layout{gap:9px}
  html body .billing-vnext .billing-vnext-sidebar{gap:7px}
  html body .billing-vnext .billing-vnext-filter-card{padding:10px 11px!important}
  html body .billing-vnext .billing-vnext-panel-head{margin-bottom:7px!important;gap:5px;min-height:27px}
  html body .billing-vnext .billing-vnext-panel-head strong{font-size:13px}
  html body .billing-vnext .billing-vnext-filters{gap:5px}
  html body .billing-vnext .billing-filter-fields{
    display:flex;
    flex-direction:column;
    gap:7px!important;
  }
  html body .billing-vnext .billing-vnext-filters label{gap:3px!important;font-size:9px!important;line-height:1.25}
  html body .billing-vnext .billing-vnext-filters :is(input,select){
    min-height:34px!important;height:34px!important;
    border-radius:9px;
    padding:5px 8px;
    font-size:12px!important;
  }
  html body .billing-vnext .billing-vnext-date-range{gap:5px}
  html body .billing-vnext .billing-vnext-kpis{gap:6px}
  html body .billing-vnext .billing-vnext-kpis article{
    min-height:74px;padding:9px;border-radius:12px;gap:3px
  }
  html body .billing-vnext .billing-vnext-kpis article>div{gap:3px}
  html body .billing-vnext .billing-vnext-kpis article strong{font-size:clamp(12px,1.05vw,16px)}
}
html body #billing-product-dialog .billing-product-shell>header{
  padding-bottom:11px;margin-bottom:13px
}
html body #billing-product-dialog .billing-product-shell>header h2{margin:2px 0}
html body #billing-product-dialog .billing-product-search-field{
  display:flex;
  flex-direction:column;
  gap:7px;
  position:relative;
}
html body #billing-product-dialog .billing-product-search-box{
  display:block;
  position:relative;
  width:100%;
  min-width:0;
  max-width:100%;
}
html body #billing-product-dialog .billing-product-search-box input{
  display:block;
  width:100%;
  max-width:100%;
  font-size:16px!important;
}
html body #billing-product-dialog .billing-product-tag-results:not([hidden]){
  position:absolute;
  z-index:10;
  inset-inline:0;
  top:calc(100% + 4px);
  display:flex;
  flex-direction:column;
  max-height:200px;
  overflow:auto;
  background:var(--panel,#fff);
  border:1px solid var(--hair,#dce5f1);
  border-radius:11px;
  box-shadow:0 14px 30px rgba(16,29,52,.17);
  padding:3px;
}
html body #billing-product-dialog .billing-product-tag-results[hidden]{display:none!important}
html body #billing-product-dialog .billing-product-tag-suggestion{
  border:0;
  border-radius:7px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:3px;
  padding:9px 10px;
  background:transparent;
  color:var(--ink,#18243c);
  text-align:left;
  cursor:pointer;
  width:100%;
}
html body #billing-product-dialog .billing-product-tag-suggestion:hover,
html body #billing-product-dialog .billing-product-tag-suggestion:focus{
  background:var(--accent-soft,#edf4ff);
}
html body #billing-product-dialog .billing-product-tag-suggestion strong{font-size:12px}
html body #billing-product-dialog .billing-product-tag-suggestion small{
  font-size:10px;color:var(--sub,#78849a)
}
html body #billing-product-dialog .billing-product-new-tag{
  display:block;
  padding:10px;
  color:var(--sub,#78849a);
  font-size:11px;
  line-height:1.4;
}
@media(max-width:760px){
  html body .billing-vnext .billing-vnext-top{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto!important;
    gap:7px!important;
    padding:8px 9px!important;
    min-height:0!important;
    align-items:center!important;
  }
  html body .billing-vnext .billing-vnext-title{
    grid-column:1!important;
    grid-row:1!important;
    min-width:0!important;
  }
  html body .billing-vnext .billing-vnext-header-search{
    display:block!important;
    grid-column:1/-1!important;
    grid-row:2!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  html body .billing-vnext .billing-vnext-header-search input{
    height:39px!important;
    min-height:39px!important;
    padding:7px 11px!important;
    font-size:16px!important;
    border-radius:10px!important;
  }
  html body .billing-vnext .billing-vnext-top-actions{
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    gap:5px!important;
    justify-self:end!important;
    align-self:center!important;
    min-width:0!important;
    flex-wrap:nowrap!important;
  }
  html body .billing-vnext .billing-vnext-top-actions>:is(button,a){
    min-height:32px!important;
    height:32px!important;
    padding:6px 8px!important;
    border-radius:9px!important;
    font-size:10px!important;
  }
  html body .billing-vnext .billing-vnext-filter-card{
    padding:6px 9px!important;
    gap:0!important
  }
  html body .billing-vnext .billing-vnext-panel-head{
    margin:0!important;
    padding:0 2px!important;
    min-height:30px!important;
  }
  html body .billing-vnext .billing-vnext-sidebar{gap:5px!important}
  html body .billing-vnext .billing-vnext-panel-head .billing-filter-clear{font-size:10px}
  html body #billing-product-dialog.billing-product-dialog{width:min(450px,calc(100vw - 20px))}
}

/* Cabeçalho único: contador e Selecionar fora da Carteira. */
html body .billing-vnext-top .billing-vnext-top-count{
  display:inline-flex;align-items:center;justify-content:center;
  gap:4px;white-space:nowrap;flex:0 0 auto;
  padding:7px 10px;min-height:38px;max-height:39px;
  background:var(--billing-inset,#fff);
  border:1px solid var(--billing-line,#dce3ed);
  border-radius:10px;color:var(--billing-muted,#63718a);
  font-size:11px;font-weight:650;
}
html body .billing-vnext-top-count strong{
  font-size:13px;line-height:1.1;font-weight:850;
  color:var(--billing-ink,#18243c);
}
html body .billing-vnext-clients-head{min-height:40px;padding:8px 4px!important}
html body .billing-vnext-clients-head>strong{
  margin:0!important;font-size:16px!important;line-height:1.2;font-weight:850;
}
@media(max-width:760px){
  html body .billing-vnext .billing-vnext-top{
    grid-template-columns:minmax(0,1fr) auto!important;
    grid-template-rows:auto auto auto!important;
  }
  html body .billing-vnext .billing-vnext-title{
    grid-column:1!important;grid-row:1!important;
  }
  html body .billing-vnext .billing-vnext-top-actions{
    grid-column:1/-1!important;grid-row:3!important;
    display:flex!important;align-items:center;justify-content:space-between;
    gap:5px!important;flex-wrap:nowrap!important;min-width:0!important;width:100%;
  }
  html body .billing-vnext .billing-vnext-top-actions>*{
    min-width:0!important;max-width:100%;
  }
  html body .billing-vnext .billing-vnext-top-actions .billing-vnext-top-count{
    padding:6px 7px!important;min-height:32px!important;
    height:32px!important;font-size:10px;flex:0 0 auto;
  }
  html body .billing-vnext .billing-vnext-top-actions .billing-vnext-top-count strong{
    font-size:12px!important;
  }
  html body .billing-vnext .billing-vnext-top-actions>:is(a,button){
    padding:6px 8px!important;
    min-height:32px!important;max-height:32px!important;
    height:32px!important;
    border-radius:8px!important;
    font-size:10px!important;
    flex:1 1 auto;
  }
  html body .billing-vnext .billing-vnext-top-actions .billing-vnext-report{
    display:none!important;
  }
  html body .billing-vnext .billing-vnext-header-search{
    grid-column:1/-1!important;grid-row:2!important;
  }
  html body .billing-vnext-clients-head{min-height:35px!important;padding:6px 3px!important}
  html body .billing-vnext-clients-head>strong{font-size:13px!important}
}
@media(max-width:360px){
  html body .billing-vnext .billing-vnext-top-actions>:is(a,button){font-size:9px!important;padding:6px!important}
  html body .billing-vnext .billing-vnext-top-actions .billing-vnext-top-count span{font-size:9px}
}

html body .billing-vnext-mobile-report{display:none!important}
@media(max-width:760px){
 html body .billing-vnext-filter-card.is-open .billing-vnext-mobile-report{
   display:inline-flex!important;grid-column:1/-1!important;
   align-items:center;justify-content:center;
   min-height:33px;max-height:33px;
   padding:7px 10px;margin-top:2px;
   border-radius:9px;
   border:1px solid var(--billing-line,#dce3ed);
   background:var(--billing-inset,#fff);
   color:var(--billing-blue,#2878f5);
   font:750 11px Montserrat,system-ui,sans-serif;
   text-decoration:none;
 }
}


/* source: /assets/msnbot-billing-compact-ux-v489.css */
/* MSNBOT Cobranças — refinamento enxuto, 2026-11-22 */
html body main.page:has(>.billing-vnext){
 width:calc(100% - 30px)!important;max-width:none!important;
 min-width:0!important;margin:0 auto!important;padding-top:7px!important;
 padding-bottom:0!important;
}
html body .billing-vnext{width:100%;max-width:none!important}
html body .billing-vnext-top{
 gap:9px!important;padding:8px 11px!important;margin-bottom:7px!important
}
html body .billing-vnext .eyebrow{font-size:9px!important}
html body .billing-vnext-layout{gap:8px!important;align-items:start}
html body .billing-vnext-sidebar{gap:5px!important}
html body .billing-vnext-filter-card{padding:8px 10px!important}
html body .billing-vnext-panel-head{min-height:24px!important;margin-bottom:3px!important}
html body .billing-vnext-filters{gap:3px!important}
html body .billing-vnext .billing-filter-fields{gap:5px!important}
html body .billing-vnext .billing-vnext-filters label{
 font-size:9px!important;gap:2px!important;line-height:1.1!important
}
html body .billing-vnext .billing-vnext-filters :is(input,select){
 height:31px!important;min-height:31px!important;
 font-size:11px!important;border-radius:8px;padding:4px 7px!important
}
html body .billing-vnext-date-range{gap:5px!important}
html body .billing-rank-filter span{font-size:9px}
html body .billing-vnext-kpis{gap:5px!important}
html body .billing-vnext-kpis article{
 min-height:63px!important;padding:7px 8px!important;
 border-radius:11px!important;gap:2px!important
}
html body .billing-vnext-kpis article strong{
 font-size:clamp(12px,1.1vw,15px)!important;line-height:1.2!important
}
html body .billing-vnext-kpis article>div{gap:1px!important}
html body .billing-vnext-kpis article :is(span,small){font-size:9px!important}
html body .billing-vnext .billing-create-product-sidebar{
 min-height:34px!important;height:34px!important;padding:5px 10px!important;
 border-radius:9px!important;
}
@media(min-width:761px){
 html body .billing-vnext-layout{grid-template-columns:248px minmax(0,1fr)!important}
 html body .billing-vnext-sidebar{
  max-height:none!important;overflow:visible!important;
  position:relative!important;top:auto!important;
 }
 html body .billing-vnext-clients{min-height:240px!important}
}
html body .billing-vnext-clients{
 padding:0 7px 2px!important;border-radius:16px!important;
}
html body .billing-vnext-clients-head{min-height:36px!important;padding:6px 3px!important}
html body .billing-vnext-clients-head strong{font-size:15px!important;margin:0!important}
html body .billing-vnext-clients-head #billing-select-toggle{
 padding:6px 10px!important;min-height:29px!important;height:29px!important;
 font-size:11px!important;font-weight:750!important;border-radius:9px!important;
}
html body .billing-vnext-list{
 gap:5px!important;padding:2px 3px 0!important;
}
html body .billing-vnext-client-row{
 min-height:52px;gap:6px!important;padding:6px 9px!important;border-radius:12px!important;
}
html body .billing-vnext-description{display:flex;align-items:center;flex-wrap:wrap;gap:3px 6px}
html body .billing-vnext-description>small{width:100%}
html body .billing-vnext-description>em{font-size:9px!important;margin:0!important}
html body .billing-description-open{
 background:transparent!important;border:0!important;
 color:var(--billing-blue,#2878f5)!important;padding:0!important;
 font-size:12px!important;font-weight:800!important;cursor:pointer;
}
html body .billing-vnext-bulk:not([hidden]){
 gap:5px!important;padding:5px 8px!important;margin-bottom:5px!important;
 flex-wrap:nowrap!important;min-height:39px
}
html body .billing-vnext-bulk select{
 flex:0 1 185px!important;min-width:106px!important;
 max-width:185px!important;height:29px!important;min-height:29px!important;
 font-size:11px!important;padding:3px 7px!important;
}
html body .billing-vnext-bulk .billing-bulk-dismiss{
 flex:0 0 25px;margin-left:auto;padding:0!important;
 border:0;background:transparent!important;color:var(--billing-muted)!important;
 font-size:20px!important;min-height:27px!important;cursor:pointer
}
html body .billing-vnext-selected-count{font-size:10px!important}
html body .billing-vnext .billing-nando-fab{
 position:static!important;inset:auto!important;transform:none!important;
 opacity:1!important;visibility:visible!important;
 display:inline-flex!important;align-items:center!important;gap:5px!important;
 width:auto!important;height:37px!important;min-height:37px!important;
 border-radius:11px!important;padding:5px 8px!important;
 margin:0!important;z-index:auto!important;box-shadow:none!important;
 font-size:11px!important;white-space:nowrap!important;
}
html body .billing-vnext .billing-nando-fab .ai-orb{
 height:22px!important;width:22px!important;min-width:22px!important;
}
html body .billing-notification-actions{
 display:flex;justify-content:flex-end;gap:5px;padding:4px 10px 7px;
}
html body .billing-notification-actions button{
 display:grid;place-items:center;min-width:30px;height:29px;
 border:1px solid var(--hair,#dce5f1);border-radius:8px;
 background:var(--surface-solid,#fff);color:var(--accent,#2878f5);cursor:pointer;
}
html body .billing-vnext-timeline-section{position:relative}
html body .billing-vnext-timeline article{padding:10px!important}
html body .billing-vnext-timeline article header strong{font-size:12px!important}
html body .billing-vnext-charge-actions .billing-delete-charge{
 color:#d34856!important;min-width:30px;padding:4px!important;font-size:17px!important;
}
html body #billing-description-dialog,
html body #billing-restore-dialog,
html body #billing-send-dialog{
 position:fixed!important;inset:0!important;margin:auto!important;padding:0!important;
 width:min(555px,calc(100vw - 22px))!important;max-width:calc(100vw - 22px)!important;
 max-height:calc(100dvh - 24px)!important;overflow:hidden!important;
 border:1px solid var(--hair,#dce5f1)!important;border-radius:17px!important;
 background:var(--panel,#fff)!important;color:var(--ink,#1d2941)!important;
 box-shadow:0 18px 60px rgba(8,15,29,.28)!important;
}
html body :is(#billing-description-dialog,#billing-restore-dialog,#billing-send-dialog)::backdrop{
 background:rgba(10,20,43,.62);backdrop-filter:blur(6px);
}
html body :is(.billing-description-frame,.billing-restore-frame,.billing-send-compact-frame){
 display:flex;flex-direction:column;max-height:calc(100dvh - 24px);
 min-width:0;overflow:hidden;box-sizing:border-box;
}
html body :is(.billing-description-frame,.billing-restore-frame,.billing-send-compact-frame)>header{
 display:flex;align-items:center;justify-content:space-between;
 padding:12px 15px;min-height:50px;border-bottom:1px solid var(--hair,#dce5f1)
}
html body :is(.billing-description-frame,.billing-restore-frame,.billing-send-compact-frame) header h2{
 margin:0;font-size:20px!important;line-height:1.25
}
html body :is(.billing-description-frame,.billing-restore-frame,.billing-send-compact-frame) header button{
 display:grid;place-items:center;width:32px;height:32px;min-height:32px;
 border:1px solid var(--hair,#dce5f1);border-radius:50%;
 color:var(--ink,#1d2941);background:var(--surface-solid,#fff);
 font-size:22px;cursor:pointer
}
html body [data-billing-description-text]{
 white-space:pre-wrap;overflow-wrap:anywhere;overflow:auto;
 padding:16px;font-size:13px;line-height:1.5;max-height:55dvh
}
html body .billing-restore-frame{gap:8px;padding-bottom:10px}
html body .billing-restore-frame>input{
 margin:3px 13px;width:calc(100% - 26px);height:39px;border-radius:10px;
 border:1px solid var(--hair,#dce5f1);font-size:16px;padding:8px 10px;
 background:var(--surface-solid,#fff);color:var(--ink,#1d2941);
}
html body .billing-restore-list{overflow:auto;max-height:55dvh;padding:3px 12px 8px}
html body .billing-restore-list article{
 display:flex;justify-content:space-between;align-items:center;
 gap:10px;padding:9px;border:1px solid var(--hair,#dce5f1);border-radius:10px;margin-bottom:6px;
}
html body .billing-restore-list article>div{min-width:0;display:grid;gap:3px}
html body .billing-restore-list article small{font-size:10px;color:var(--sub,#6d7c90)}
html body .billing-restore-list button{
 border:1px solid var(--hair,#dce5f1);border-radius:9px;
 background:var(--surface-solid,#fff);color:var(--accent,#2878f5);
 padding:7px 10px;cursor:pointer
}
html body .billing-send-compact-form{display:grid;gap:8px;padding:13px 15px}
html body .billing-send-compact-form label{font-size:12px;font-weight:750}
html body .billing-send-compact-form textarea{
 min-height:130px;max-height:54dvh;min-width:0;width:100%;resize:vertical;
 padding:11px;border:1px solid var(--hair,#dce5f1);border-radius:11px;
 background:var(--surface-solid,#fff);color:var(--ink,#1d2941);font:500 14px Montserrat,system-ui;
 box-sizing:border-box
}
html body .billing-send-compact-form footer{display:flex;justify-content:flex-end;gap:7px}
html body .billing-send-compact-form footer button{padding:8px 13px;border-radius:9px;min-height:37px}
@media(max-width:760px){
 html body main.page:has(>.billing-vnext){width:calc(100% - 16px)!important;max-width:none!important}
 html body .billing-vnext-layout{gap:5px!important}
 html body .billing-vnext-clients{padding:0 5px 1px!important}
 html body .billing-vnext .billing-vnext-top{gap:6px!important;padding:7px 8px!important}
 html body .billing-vnext .billing-nando-fab{height:32px!important;min-height:32px!important;font-size:10px!important;padding:4px 6px!important}
 html body .billing-vnext .billing-nando-fab strong{display:none!important}
 html body .billing-vnext .billing-vnext-top-actions{gap:4px!important}
 html body .billing-vnext-client-row{padding:7px 8px!important}
 html body .billing-vnext-list{gap:5px!important}
 html body .billing-vnext-description>small{display:none!important}
 html body .billing-vnext-description>em{font-size:9px!important}
 html body .billing-vnext-clients-head #billing-select-toggle{height:28px!important;min-height:28px!important}
 html body .billing-vnext-bulk select{flex:1 1 145px!important;width:auto!important;max-width:none!important}
 html body .billing-vnext-kpis article{min-height:63px!important}
}

html body .billing-vnext .billing-vnext-filters :is(label,select,input),
html body .billing-vnext .billing-vnext-date-range{
 margin-block:0!important;margin-bottom:0!important;margin-top:0!important;
}
html body .billing-vnext .billing-filter-fields{
 row-gap:5px!important;column-gap:4px!important;
}
html body .billing-vnext .billing-vnext-filters label{
 padding:0!important;max-width:100%;
}
html body .billing-vnext .billing-vnext-mobile-meta .billing-mobile-description{
 display:inline-flex!important;align-items:center!important;
 font-size:11px!important;min-height:20px!important;
 padding:2px 4px!important;
 order:3;
}
@media(max-width:760px){
 html body .billing-vnext .billing-vnext-mobile-meta{gap:3px 7px!important;flex-wrap:wrap!important}
 html body .billing-vnext .billing-vnext-mobile-meta .billing-mobile-description{order:3}
}

