/*
 * Mix Suite · shell responsivo global
 * A classe histórica .connections-pilot-shell permanece como ponte de
 * compatibilidade; ela agora é aplicada pelo único shell global do produto.
 */

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell {
  --connections-rail-width: 62px;
  --connections-shell-gap: 14px;
  --connections-shell-left: calc(var(--connections-rail-width) + (var(--connections-shell-gap) * 2));
  min-height: 100vh;
  padding: 0 0 18px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-main {
  width: calc(100% - var(--connections-shell-left) - var(--connections-shell-gap)) !important;
  max-width: none !important;
  margin-right: var(--connections-shell-gap) !important;
  margin-left: var(--connections-shell-left) !important;
  padding-right: 18px !important;
  padding-left: 18px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header {
  position: sticky !important;
  top: 10px !important;
  z-index: 20000 !important;
  min-height: 62px !important;
  margin-top: 10px !important;
  margin-bottom: 10px !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  border: 1px solid rgb(255 255 255 / 78%) !important;
  border-radius: 18px !important;
  background: rgb(248 251 255 / 82%) !important;
  box-shadow: 0 10px 30px rgb(30 54 91 / 8%), inset 0 1px 0 #fff !important;
  backdrop-filter: blur(22px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.35) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header-actions {
  grid-template-columns: max-content minmax(240px, 400px) max-content !important;
  gap: 9px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .brand-company-logo,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .brand-company-logo:where(span) {
  width: 132px !important;
  height: 32px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-home-button,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-time-control,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-search-block {
  height: 40px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-home-button {
  width: 40px !important;
  border-radius: 12px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-time-control {
  min-width: 112px !important;
  padding: 4px 6px 4px 12px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-search-block {
  border-radius: 14px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-global-search {
  height: 38px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-icons {
  height: 42px !important;
  gap: 3px !important;
  padding: 3px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-icons > button {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-icons .template-avatar {
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar.mix-ds-module-dock,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar.mix-ds-module-dock:hover,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar.mix-ds-module-dock:focus-within,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar.mix-ds-module-dock.is-hover-open {
  position: fixed !important;
  inset: 50% auto auto 14px !important;
  z-index: 19000 !important;
  display: flex !important;
  width: var(--connections-rail-width) !important;
  min-width: var(--connections-rail-width) !important;
  height: max-content !important;
  min-height: 0 !important;
  max-height: calc(100vh - 120px) !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  overflow: visible auto !important;
  padding: 7px !important;
  border: 1px solid rgb(255 255 255 / 82%) !important;
  border-radius: 18px !important;
  background: rgb(248 251 255 / 86%) !important;
  box-shadow: 0 14px 34px rgb(30 54 91 / 9%), inset 0 1px 0 #fff !important;
  backdrop-filter: blur(22px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.35) !important;
  transform: translateY(-50%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar.mix-ds-module-dock::before {
  content: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar.mix-ds-module-dock > * {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar:hover .mix-ds-module-dock-item,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar:focus-within .mix-ds-module-dock-item {
  display: grid !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  flex: 0 0 38px !important;
  grid-template: none !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 13px !important;
  color: #40546d !important;
  background: transparent !important;
  transform: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item:hover,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item:focus-visible {
  border-color: #d6e5f2 !important;
  color: var(--mix-blue-deep) !important;
  background: #f0f7fd !important;
  transform: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item.active {
  border-color: #b9d8ef !important;
  color: var(--mix-blue-deep) !important;
  background: linear-gradient(145deg, #eef8ff, #e8f3ff) !important;
  box-shadow: 0 7px 18px rgb(28 123 191 / 13%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item .mix-ds-sidebar-icon,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar:hover .mix-ds-module-dock-item .mix-ds-sidebar-icon,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar:focus-within .mix-ds-module-dock-item .mix-ds-sidebar-icon {
  display: grid !important;
  width: 36px !important;
  height: 36px !important;
  grid-row: auto !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item b {
  position: fixed !important;
  left: 68px !important;
  z-index: 24900 !important;
  display: none !important;
  padding: 7px 9px !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: #1d3147 !important;
  box-shadow: 0 8px 22px rgb(20 38 58 / 20%) !important;
  font-size: .72rem !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item:hover b,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item:focus-visible b {
  display: inline-flex !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item b img {
  display: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-main {
  min-height: calc(100vh - 98px) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: 1px solid rgb(225 233 242 / 86%) !important;
  border-radius: 18px !important;
  background: rgb(255 255 255 / 76%) !important;
  box-shadow: 0 12px 34px rgb(30 54 91 / 6%), inset 0 1px 0 #fff !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-page {
  min-height: calc(100vh - 100px) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-page > .mix-page-context {
  order: 2;
  margin-top: auto !important;
  padding: 16px 4px 18px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-connections-pilot {
  order: 1;
  display: block !important;
  min-width: 0;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "tabs tabs"
    "title tools" !important;
  gap: 0 18px !important;
  margin: 0 -18px 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-module-page-header__tabs {
  width: 100%;
  justify-self: stretch !important;
  padding: 10px 18px 9px !important;
  overflow: hidden;
  border-bottom: 1px solid #e2eaf2;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-module-navigation-tabs {
  display: flex !important;
  width: max-content;
  max-width: 100%;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  padding: 4px !important;
  border: 1px solid #e1e9f2 !important;
  background: #f6f9fc !important;
  box-shadow: none !important;
  scrollbar-width: thin;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-module-navigation-tabs button {
  flex: 0 0 auto !important;
  min-height: 34px !important;
  padding: 0 15px !important;
  white-space: nowrap;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-module-page-header__title {
  min-height: 78px;
  padding: 18px 22px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-module-page-header__title h1 {
  font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-page-header__icon {
  width: 42px !important;
  height: 42px !important;
  flex-basis: 42px !important;
  border-color: rgb(119 175 220 / 32%) !important;
  border-radius: 12px !important;
  color: #176ba8 !important;
  background: rgb(239 248 255 / 32%) !important;
  box-shadow:
    0 8px 20px rgb(40 81 120 / 7%),
    inset 0 1px 0 rgb(255 255 255 / 88%) !important;
  backdrop-filter: blur(14px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.15) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-page-header__icon svg {
  width: 20px !important;
  height: 20px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-module-page-header__tools {
  align-self: center;
  padding: 16px 22px 16px 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-btn-primary {
  min-height: 40px !important;
  border-radius: 9px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-connection-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 410px)) !important;
  justify-content: start !important;
  gap: 16px !important;
  padding: 28px 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-connection-card {
  min-height: 0 !important;
  padding: 18px !important;
  border-color: #e1e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 22px rgb(30 54 91 / 7%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-channel-empty {
  width: min(100%, 560px);
  min-height: 260px;
  align-content: center;
  justify-self: start;
  border: 1px dashed #c9d9e7 !important;
  border-radius: 14px !important;
  background: #fbfdff !important;
  box-shadow: none !important;
}

@media (max-width: 1180px) {
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header {
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header-actions {
    grid-template-columns: max-content minmax(180px, 1fr) max-content !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-icons > button:nth-child(-n + 2) {
    display: none !important;
  }
}

@media (max-width: 860px) {
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell {
    --connections-rail-width: 56px;
    --connections-shell-gap: 10px;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header,
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-main {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-search-block {
    display: none !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header-actions {
    grid-template-columns: max-content max-content !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header {
    margin-right: -14px !important;
    margin-left: -14px !important;
  }
}

@media (max-width: 620px) {
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell {
    --connections-mobile-nav-height: 66px;
    padding-bottom: calc(var(--connections-mobile-nav-height) + 10px) !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header,
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-main {
    width: calc(100% - 20px) !important;
    margin-right: 10px !important;
    margin-left: 10px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header {
    position: relative !important;
    top: auto !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 56px !important;
    padding: 7px 10px !important;
    border-radius: 15px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .brand-company-logo,
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .brand-company-logo:where(span) {
    width: 112px !important;
    height: 29px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-utility-strip,
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-icons > button:not(.template-avatar):not(.template-header-dialer) {
    display: none !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header-actions {
    display: flex !important;
    justify-content: flex-end !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-icons {
    width: auto !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar.mix-ds-module-dock,
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar.mix-ds-module-dock:hover,
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar.mix-ds-module-dock:focus-within,
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-sidebar.mix-ds-module-dock.is-hover-open {
    inset: auto 10px 8px 10px !important;
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    height: var(--connections-mobile-nav-height) !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 7px !important;
    border-radius: 17px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item {
    flex: 0 0 44px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item b {
    display: none !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-main,
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-page {
    min-height: calc(100vh - 150px) !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "tabs tabs"
      "title tools" !important;
    margin-right: -14px !important;
    margin-left: -14px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-module-page-header__tabs {
    padding: 8px 12px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-module-page-header__title {
    min-height: 66px;
    padding: 14px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-module-page-header__tools {
    width: auto !important;
    padding: 12px 14px 12px 0 !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-btn-primary {
    width: 40px;
    padding: 0 !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-btn-primary span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-connection-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 16px 0 !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-connection-card {
    padding: 15px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-channel-empty {
    width: 100%;
    min-height: 230px;
    padding: 24px 18px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-page > .mix-page-context {
    padding-bottom: 14px !important;
  }
}

/*
 * O dock legado recebe .is-dock-hidden por JavaScript. Nesta tela o estado é
 * deliberadamente neutralizado: os módulos precisam permanecer acessíveis.
 */
html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden,
html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:hover,
html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:focus-within {
  inset: 50% auto auto 14px !important;
  display: flex !important;
  width: var(--connections-rail-width) !important;
  min-width: var(--connections-rail-width) !important;
  height: max-content !important;
  min-height: 0 !important;
  max-height: calc(100vh - 120px) !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  overflow: visible auto !important;
  padding: 7px !important;
  border: 1px solid rgb(255 255 255 / 82%) !important;
  border-radius: 18px !important;
  background: rgb(248 251 255 / 86%) !important;
  box-shadow: 0 14px 34px rgb(30 54 91 / 9%), inset 0 1px 0 #fff !important;
  transform: translateY(-50%) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden::before {
  content: none !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden > * {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

@media (max-width: 620px) {
  html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden,
  html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:hover,
  html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:focus-within {
    inset: auto 10px 8px 10px !important;
    width: calc(100% - 20px) !important;
    min-width: 0 !important;
    height: var(--connections-mobile-nav-height) !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 7px !important;
    border-radius: 17px !important;
    transform: none !important;
  }
}

/* Liquid glass: profundidade e transparência sem sair da identidade Mix. */
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell {
  background: var(--mix-app-background) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header,
html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-connection-card,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-channel-empty,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-page > .mix-page-context {
  border: 1px solid rgb(255 255 255 / 82%) !important;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 72%), rgb(246 251 255 / 46%)) !important;
  box-shadow:
    0 18px 46px rgb(35 65 100 / 11%),
    inset 0 1px 0 rgb(255 255 255 / 96%),
    inset 0 -1px 0 rgb(169 196 220 / 18%) !important;
  backdrop-filter: blur(24px) saturate(1.45) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.45) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-home-button,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-time-control,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-search-block,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-icons {
  border-color: var(--mix-halo-control-border) !important;
  background: var(--mix-halo-control-bg) !important;
  box-shadow: var(--mix-halo-control-shadow) !important;
  backdrop-filter: var(--mix-halo-blur) !important;
  -webkit-backdrop-filter: var(--mix-halo-blur) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-main {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header {
  position: relative;
  overflow: hidden;
  margin: 2px 0 0 !important;
  border-radius: 18px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px 18% auto 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 92%), transparent);
  pointer-events: none;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header > * {
  position: relative;
  z-index: 1;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-module-page-header__tabs {
  border-bottom-color: rgb(255 255 255 / 64%) !important;
  background: rgb(255 255 255 / 14%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header .mix-module-navigation-tabs {
  border-color: rgb(255 255 255 / 76%) !important;
  background: rgb(241 247 252 / 56%) !important;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 88%),
    0 7px 18px rgb(45 79 113 / 7%) !important;
  backdrop-filter: blur(16px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-connection-grid {
  padding-top: 24px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-connection-card,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-channel-empty {
  border-color: rgb(255 255 255 / 76%) !important;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 68%), rgb(244 250 255 / 42%)) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-channel-empty {
  box-shadow:
    0 16px 38px rgb(39 70 105 / 9%),
    inset 0 1px 0 rgb(255 255 255 / 94%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-connection-grid.is-empty-showcase {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* Estado vazio definitivo: opção Halo. */
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-empty-halo {
  position: relative;
  display: grid;
  width: min(100%, 480px);
  min-height: 320px;
  grid-template-rows: auto auto auto;
  align-content: center;
  justify-items: center;
  gap: 24px;
  padding: 42px 34px !important;
  overflow: hidden;
  border-radius: 18px !important;
  border-color: rgb(255 255 255 / 34%) !important;
  text-align: center;
  background: rgb(224 234 243 / 11%) !important;
  box-shadow:
    0 18px 46px rgb(35 62 91 / 10%),
    0 0 0 1px rgb(116 161 199 / 12%),
    0 0 24px rgb(255 255 255 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 58%) !important;
  backdrop-filter: blur(26px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.08) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-empty-halo .contact-channel-icon {
  width: 46px;
  height: 46px;
  margin: 0;
  border-color: rgb(108 165 215 / 42%);
  border-radius: 13px;
  background: rgb(239 248 255 / 48%);
  box-shadow:
    0 8px 20px rgb(40 81 120 / 8%),
    inset 0 1px 0 rgb(255 255 255 / 92%);
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-empty-copy {
  display: grid;
  justify-items: center;
  gap: 10px;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-empty-copy h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-empty-copy p {
  max-width: 330px;
  margin: 0;
  font-size: .78rem;
  line-height: 1.6;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .contact-empty-halo .mix-btn {
  min-height: 42px !important;
  margin: 2px 0 0;
  padding-inline: 20px !important;
}

/* A sidebar e o breadcrumb compartilham a mesma superfície Halo do card. */
html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden,
html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:hover,
html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:focus-within,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-page > .mix-page-context {
  border-color: rgb(255 255 255 / 34%) !important;
  background: rgb(224 234 243 / 11%) !important;
  box-shadow:
    0 18px 46px rgb(35 62 91 / 10%),
    0 0 0 1px rgb(116 161 199 / 12%),
    0 0 24px rgb(255 255 255 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 58%) !important;
  backdrop-filter: blur(26px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.08) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-page > .mix-page-context {
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px !important;
  padding: 9px 12px !important;
  border-radius: 12px !important;
}

/* Tooltip próprio do dock: simples, consistente e acessível por mouse/teclado. */
html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden,
html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:hover,
html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:focus-within {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item {
  position: relative !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item b,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item:hover b,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item:focus-visible b {
  display: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item::after {
  content: attr(aria-label);
  position: absolute;
  top: 50%;
  left: calc(100% + 13px);
  z-index: 26000;
  width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 9px;
  color: #fff;
  background: rgb(24 43 63 / 90%);
  box-shadow: 0 12px 30px rgb(20 38 58 / 24%);
  opacity: 0;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(5px, -50%) scale(.97);
  transition: opacity 130ms ease, transform 130ms ease;
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item:hover::after,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

@media (max-width: 620px) {
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .central-atendimento-module-header {
    margin-top: 0 !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-ds-module-dock-item::after {
    display: none !important;
  }

  html[data-mix-theme="mix-fiscal-default"] body #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden {
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
}

/*
 * Superfície Halo compartilhada por toda a Central de Atendimento.
 * Mantém a composição específica de cada página e padroniza apenas a casca.
 */
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell {
  background:
    radial-gradient(circle at 17% 14%, rgb(62 187 137 / 18%), transparent 26rem),
    radial-gradient(circle at 82% 12%, rgb(57 139 216 / 20%), transparent 32rem),
    radial-gradient(circle at 70% 82%, rgb(125 180 231 / 12%), transparent 28rem),
    linear-gradient(145deg, #eef4f9 0%, #f5f8fc 46%, #eaf2f8 100%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-header {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-home-button,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-time-control,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-search-block,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-icons,
html[data-mix-theme="mix-fiscal-default"] body #app .central-atendimento-halo-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden,
html[data-mix-theme="mix-fiscal-default"] body #app .central-atendimento-halo-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:hover,
html[data-mix-theme="mix-fiscal-default"] body #app .central-atendimento-halo-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:focus-within,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-page > .mix-page-context {
  border-color: rgb(255 255 255 / 34%) !important;
  background: rgb(224 234 243 / 11%) !important;
  box-shadow:
    0 18px 46px rgb(35 62 91 / 10%),
    0 0 0 1px rgb(116 161 199 / 12%),
    0 0 24px rgb(255 255 255 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 58%) !important;
  backdrop-filter: blur(26px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.08) !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-home-button,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-time-control,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-search-block,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-icons {
  border-radius: 16px;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-home-button:hover,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-time-control:hover,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-icons > button:hover,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-icons > button:focus-visible {
  background: rgb(239 248 255 / 34%) !important;
  box-shadow:
    0 18px 46px rgb(35 62 91 / 12%),
    0 0 0 1px rgb(93 151 201 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 68%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-main {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-page > .mix-page-context {
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px !important;
  padding: 9px 12px !important;
  border-radius: 12px !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .central-atendimento-halo-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden,
html[data-mix-theme="mix-fiscal-default"] body #app .central-atendimento-halo-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:hover,
html[data-mix-theme="mix-fiscal-default"] body #app .central-atendimento-halo-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden:focus-within {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .mix-ds-module-dock-item {
  position: relative !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .mix-ds-module-dock-item b,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .mix-ds-module-dock-item:hover b,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .mix-ds-module-dock-item:focus-visible b {
  display: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .mix-ds-module-dock-item::after {
  content: attr(aria-label);
  position: absolute;
  top: 50%;
  left: calc(100% + 13px);
  z-index: 26000;
  width: max-content;
  max-width: 220px;
  padding: 7px 10px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 9px;
  color: #fff;
  background: rgb(24 43 63 / 90%);
  box-shadow: 0 12px 30px rgb(20 38 58 / 24%);
  opacity: 0;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(5px, -50%) scale(.97);
  transition: opacity 130ms ease, transform 130ms ease;
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .mix-ds-module-dock-item:hover::after,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .mix-ds-module-dock-item:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

@media (max-width: 620px) {
  html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .mix-ds-module-dock-item::after {
    display: none !important;
  }

  html[data-mix-theme="mix-fiscal-default"] body #app .central-atendimento-halo-shell aside.mix-ds-sidebar.mix-ds-module-dock.is-dock-hidden {
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
}

/* Contrato estrutural único para todas as páginas da Central de Atendimento. */
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-page--central-atendimento {
  display: flex !important;
  min-height: calc(100vh - 100px) !important;
  flex-direction: column !important;
  gap: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas:
    "tabs tabs"
    "title tools" !important;
  gap: 0 18px !important;
  margin: 2px 0 0 !important;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 34%) !important;
  border-radius: 18px !important;
  background: rgb(224 234 243 / 11%) !important;
  box-shadow:
    0 18px 46px rgb(35 62 91 / 10%),
    0 0 0 1px rgb(116 161 199 / 12%),
    0 0 24px rgb(255 255 255 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 58%) !important;
  backdrop-filter: blur(26px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.08) !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 1px 18% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 92%), transparent);
  pointer-events: none;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header > * {
  position: relative;
  z-index: 1;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-module-page-header__tabs {
  grid-area: tabs;
  width: 100%;
  justify-self: stretch !important;
  padding: 10px 18px 9px !important;
  overflow: hidden;
  border-bottom: 1px solid rgb(255 255 255 / 64%) !important;
  background: rgb(255 255 255 / 14%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-module-navigation-tabs {
  display: flex !important;
  width: max-content;
  max-width: 100%;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  padding: 4px !important;
  border: 1px solid rgb(255 255 255 / 76%) !important;
  border-radius: 16px !important;
  background: rgb(241 247 252 / 56%) !important;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 88%),
    0 7px 18px rgb(45 79 113 / 7%) !important;
  scrollbar-width: thin;
  backdrop-filter: blur(16px) saturate(1.3) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-module-navigation-tabs button {
  min-height: 34px !important;
  flex: 0 0 auto !important;
  padding: 0 15px !important;
  white-space: nowrap;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-module-page-header__title {
  grid-area: title;
  min-width: 0;
  min-height: 78px;
  padding: 18px 22px !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-module-page-header__title h1 {
  overflow: hidden;
  font-size: clamp(1.35rem, 2vw, 1.75rem) !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-page-header__icon {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  border: 1px solid rgb(119 175 220 / 32%) !important;
  border-radius: 12px !important;
  color: #176ba8 !important;
  background: rgb(239 248 255 / 32%) !important;
  box-shadow:
    0 8px 20px rgb(40 81 120 / 7%),
    inset 0 1px 0 rgb(255 255 255 / 88%) !important;
  backdrop-filter: blur(14px) saturate(1.15) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.15) !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-page-header__icon svg {
  width: 20px !important;
  height: 20px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-module-page-header__tools {
  grid-area: tools;
  align-self: center;
  justify-self: end;
  padding: 16px 22px 16px 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-page-toolbar {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-tool {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 34%);
  border-radius: 13px;
  color: #17324d;
  background: rgb(224 234 243 / 11%);
  box-shadow:
    0 12px 28px rgb(35 62 91 / 9%),
    0 0 0 1px rgb(116 161 199 / 10%),
    inset 0 1px 0 rgb(255 255 255 / 62%);
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
  backdrop-filter: blur(20px) saturate(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-tool:hover,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-tool:focus-visible {
  background: rgb(239 248 255 / 40%);
  box-shadow:
    0 14px 32px rgb(35 62 91 / 13%),
    0 0 0 1px rgb(82 143 195 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 74%);
  transform: translateY(-1px);
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-tool.is-primary {
  border-color: rgb(20 109 190 / 78%);
  color: #fff;
  background: #1674c4;
  box-shadow:
    0 12px 26px rgb(22 100 174 / 24%),
    inset 0 1px 0 rgb(255 255 255 / 24%);
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-tool.is-primary:hover,
html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-tool.is-primary:focus-visible {
  background: #0f67b2;
  box-shadow:
    0 15px 30px rgb(22 100 174 / 30%),
    inset 0 1px 0 rgb(255 255 255 / 28%);
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-tool svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-content {
  min-width: 0;
  flex: 1 0 auto;
  padding: 24px 0;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-content > :first-child {
  margin-top: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-content .contact-connection-grid {
  padding-top: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .template-page--central-atendimento > .mix-page-context {
  order: 3;
  margin-top: 14px !important;
  margin-bottom: 18px !important;
}

@media (max-width: 760px) {
  html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "tabs tabs"
      "title tools" !important;
    gap: 0 8px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-module-page-header__tabs {
    padding-inline: 10px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-module-page-header__title {
    min-height: 68px;
    padding: 13px 10px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-module-page-header__tools {
    width: auto;
    padding: 12px 10px 12px 0 !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-module-header .mix-page-header__icon {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-tool {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  html[data-mix-theme="mix-fiscal-default"] .central-atendimento-halo-shell .central-atendimento-page-content {
    padding: 16px 0;
  }
}

/* O Office usa o cliente oficial do WorkAdventure. A Suite só fornece a
   moldura responsiva; câmera, barras e ações pertencem ao runtime nativo. */
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .workadventure-office-runtime {
  position: relative;
  width: 100%;
  min-width: 0;
  background: transparent;
  overflow: hidden;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .workadventure-office-frame {
  display: block;
  width: 100%;
  height: max(420px, calc(100dvh - 190px));
  min-height: 420px;
  border: 0;
  background: transparent;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active.mix-office-standalone .workadventure-office-runtime,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active.mix-office-standalone .workadventure-office-frame {
  position: fixed;
  inset: 0;
  z-index: 10000;
  width: 100vw;
  height: 100dvh;
  min-height: 0;
  border-radius: 0;
}

@media (max-width: 760px) {
  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .workadventure-office-frame {
    height: calc(100dvh - 170px);
    min-height: 320px;
  }
}

/* Office map fit: the canvas follows the real map ratio instead of cropping it. */
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-embedded .mix-office-runtime,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-embedded .mix-office-app,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-embedded .mix-office-layout,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-embedded .mix-office-viewport,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-embedded .mix-office-stage {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-embedded .mix-office-app,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-embedded .mix-office-layout,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-embedded .mix-office-viewport {
  display: block !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-embedded .mix-office-viewport {
  position: relative !important;
  inset: auto !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-runtime,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-app,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-layout,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-viewport,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-stage {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-app,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-layout,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-viewport {
  display: block !important;
  overflow: visible !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-viewport {
  position: relative !important;
  inset: auto !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active :where(.mix-office-stage, .mix-office-floor) {
  width: 100% !important;
  max-width: none !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .mix-office-stage {
  container-type: inline-size !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .mix-office-floor {
  height: auto !important;
  max-height: none !important;
  aspect-ratio: var(--office-map-aspect, 2.06667) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .mix-office-plan {
  object-fit: contain !important;
  object-position: center !important;
}

/* Standalone: optional full-map fit keeps the complete floor plan inside the viewport. */
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-app.is-fit-height,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-app.is-fit-height .mix-office-layout,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-app.is-fit-height .mix-office-viewport {
  width: calc(100vw - var(--office-fit-offset-left, 0px)) !important;
  height: calc(100dvh - var(--office-fit-offset-top, 0px)) !important;
  min-height: calc(100dvh - var(--office-fit-offset-top, 0px)) !important;
  overflow: hidden !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-app.is-fit-height .mix-office-viewport {
  display: grid !important;
  place-items: center !important;
  padding: 12px !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-app.is-fit-height .mix-office-stage,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-app.is-fit-height .mix-office-floor {
  width: var(--office-fit-width) !important;
  height: var(--office-fit-height) !important;
  min-height: 0 !important;
  max-width: calc(100vw - 24px) !important;
  max-height: calc(100dvh - 24px) !important;
  overflow: visible !important;
}

/* Room badges remain readable over light and dark areas of every map. */
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .mix-office-floor.has-plan .mix-office-room header {
  border: 1px solid rgb(255 255 255 / 38%) !important;
  color: #fff !important;
  background: rgb(12 28 46 / 94%) !important;
  box-shadow: 0 5px 16px rgb(4 16 31 / 30%) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .mix-office-floor.has-plan .mix-office-room header strong,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .mix-office-floor.has-plan .mix-office-room header span,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .mix-office-floor.has-plan .mix-office-room header b {
  color: #fff !important;
  text-shadow: 0 1px 2px rgb(0 0 0 / 55%) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .mix-office-floor.has-plan .mix-office-room header span {
  opacity: .88;
}

/* Standalone tools use the same compact glass controls and tooltip language as Mix Suite. */
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools {
  position: fixed !important;
  z-index: 300 !important;
  top: 18px !important;
  right: 18px !important;
  gap: 5px !important;
  padding: 6px !important;
  border: 1px solid rgb(197 213 228 / 90%) !important;
  border-radius: 15px !important;
  background: rgb(255 255 255 / 91%) !important;
  box-shadow: 0 16px 42px rgb(32 55 90 / 18%), inset 0 1px 0 #fff !important;
  backdrop-filter: blur(22px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(135%) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools .mix-icon-button {
  position: relative !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: #42566d !important;
  background: transparent !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools .mix-icon-button:hover,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools .mix-icon-button:focus-visible,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools .mix-icon-button.is-active {
  border-color: #b9d5f3 !important;
  color: #075b9e !important;
  background: #eaf5ff !important;
  outline: none !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools .mix-icon-button--primary {
  color: #fff !important;
  background: linear-gradient(135deg, #0d70b8, #178ca7) !important;
  box-shadow: 0 7px 16px rgb(13 112 184 / 22%) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools svg {
  width: 17px !important;
  height: 17px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools [data-office-tooltip]::after {
  content: attr(data-office-tooltip);
  position: absolute;
  z-index: 320;
  top: calc(100% + 10px);
  right: 50%;
  width: max-content;
  max-width: 220px;
  padding: 7px 9px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  color: #fff;
  background: rgb(18 38 58 / 96%);
  box-shadow: 0 10px 24px rgb(14 31 48 / 22%);
  font-size: 10px;
  font-weight: 720;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(50%, -4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools [data-office-tooltip]:hover::after,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools [data-office-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(50%, 0);
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools [data-office-tooltip]:last-child::after {
  right: 0;
  transform: translate(0, -4px);
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools [data-office-tooltip]:last-child:hover::after,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .mix-office-standalone-tools [data-office-tooltip]:last-child:focus-visible::after {
  transform: translate(0, 0);
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-runtime,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-app,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-layout,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-viewport {
  background: transparent !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-runtime {
  border-color: rgb(196 211 226 / 78%) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 40px rgb(40 67 101 / 11%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-viewport {
  padding: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-stage {
  max-width: none !important;
  max-height: none !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f3eee5 !important;
  box-shadow: none !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-plan {
  object-fit: fill !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock:hover,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock:focus-within {
  border: 1px solid rgb(201 215 228 / 92%) !important;
  background: rgb(255 255 255 / 94%) !important;
  box-shadow: 0 18px 44px rgb(25 48 77 / 22%), inset 0 1px 0 #fff !important;
  backdrop-filter: blur(18px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock .mix-ds-module-dock-item {
  color: #52647b !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock .mix-ds-module-dock-item.active .mix-ds-sidebar-icon {
  border-color: #b9d5f3 !important;
  color: #075b9e !important;
  background: #eaf5ff !important;
  box-shadow: 0 0 0 2px rgb(51 142 213 / 12%), 0 7px 18px rgb(31 75 113 / 14%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-templates[data-office-anchored="true"] {
  width: min(420px, calc(100vw - 24px)) !important;
  overflow-y: auto !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-templates > div:first-child {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 3px 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #e2e9f0;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-templates > div:first-child > span {
  color: #667990;
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-templates > div:first-child > strong {
  color: #17233a;
  font-size: .9rem;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-templates > div:first-child > button {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  align-self: center;
  border: 1px solid #d7e2ed;
  border-radius: 10px;
  color: #52647b;
  background: #fff;
  cursor: pointer;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list article {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 12px;
  padding: 8px;
  border: 1px solid #dce6ef;
  border-radius: 13px;
  background: #f8fbfd;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list article.is-current {
  border-color: #8cccf0;
  background: #f0f9ff;
  box-shadow: inset 3px 0 0 #258bc7;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list img {
  width: 126px;
  height: 76px;
  display: block;
  object-fit: cover;
  border-radius: 9px;
  background: #e9f0f6;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list article > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list :where(strong, span, b) {
  display: block;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list strong {
  color: #17233a;
  font-size: .82rem;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list span,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-templates > footer {
  color: #667990;
  font-size: .69rem;
  line-height: 1.45;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list b {
  padding: 3px 7px;
  border-radius: 999px;
  color: #11755f;
  background: #e8f8f2;
  font-size: .62rem;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-templates > footer {
  padding: 0 14px 14px;
}

@media (max-width: 760px) {
  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list article {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list img {
    width: 104px;
  }
}

/*
 * Sidebar de comunicação · paridade visual e espacial com a sidebar de módulos.
 * As duas barras ocupam áreas reservadas do shell em vez de flutuar sobre as telas.
 */
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell {
  --communications-rail-width: 62px;
  --connections-shell-right: calc(var(--communications-rail-width) + (var(--connections-shell-gap) * 2));
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar:hover,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar:focus-within {
  position: fixed !important;
  inset: 50% 14px auto auto !important;
  z-index: 19000 !important;
  display: flex !important;
  width: var(--communications-rail-width) !important;
  min-width: var(--communications-rail-width) !important;
  height: max-content !important;
  min-height: 0 !important;
  max-height: calc(100vh - 120px) !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  overflow: visible !important;
  padding: 7px !important;
  border: 1px solid rgb(255 255 255 / 34%) !important;
  border-radius: 18px !important;
  background: rgb(224 234 243 / 11%) !important;
  box-shadow:
    0 18px 46px rgb(35 62 91 / 10%),
    0 0 0 1px rgb(116 161 199 / 12%),
    0 0 24px rgb(255 255 255 / 18%),
    inset 0 1px 0 rgb(255 255 255 / 58%) !important;
  backdrop-filter: blur(26px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(26px) saturate(1.08) !important;
  transform: translateY(-50%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar button,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar button:hover,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar button:focus-visible {
  position: relative !important;
  display: grid !important;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  flex: 0 0 38px !important;
  place-items: center !important;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 13px !important;
  color: #40546d !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar button:hover,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar button:focus-visible {
  border-color: #d6e5f1 !important;
  color: #1169a8 !important;
  background: #edf7ff !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar .mix-communications-dock-inbox.active {
  border-color: #b9d8ef !important;
  color: #075b9e !important;
  background: linear-gradient(145deg, #edf9ff, #e5f3ff) !important;
  box-shadow: 0 0 0 2px rgb(51 142 213 / 8%), 0 7px 18px rgb(31 75 113 / 10%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar .mix-communications-dock-inbox.active::before {
  content: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar button > svg {
  width: 19px !important;
  height: 19px !important;
  stroke-width: 1.8 !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar .mix-communications-dock-divider {
  width: 28px !important;
  height: 1px !important;
  margin: 3px 0 !important;
  background: #dce6ed !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar .mix-communications-dock-people {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 5px !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar .mix-communications-avatar {
  width: 34px !important;
  height: 34px !important;
  border: 1px solid rgb(185 207 221 / 78%) !important;
  border-radius: 50% !important;
  color: #27536a !important;
  background: #e9f5f4 !important;
  box-shadow: inset 0 1px 0 #fff !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar button > strong {
  top: -4px !important;
  right: -5px !important;
  min-width: 16px !important;
  height: 16px !important;
  padding: 0 4px !important;
  border: 2px solid #f8fbff !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #087d68 !important;
  font-size: 9px !important;
  line-height: 12px !important;
  box-shadow: 0 3px 8px rgb(21 74 66 / 24%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar .mix-communications-dock-empty {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  place-items: center !important;
  border: 1px dashed #c9d8e4 !important;
  border-radius: 50% !important;
  color: #73869c !important;
  background: rgb(255 255 255 / 58%) !important;
}

/* Central de notificações ancorada na sidebar de comunicação. */
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar .mix-communications-dock-notifications.active {
  border-color: #b9d8ef !important;
  color: #075b9e !important;
  background: #edf8ff !important;
  box-shadow: 0 0 0 2px rgb(51 142 213 / 8%), 0 7px 18px rgb(31 75 113 / 10%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .mix-communication-sidebar .mix-communications-notification-badge {
  background: #e44444 !important;
  border-color: #fff !important;
  box-shadow: 0 3px 8px rgb(128 30 30 / 24%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-backdrop {
  position: fixed;
  z-index: 18990;
  inset: 0;
  background: transparent;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-notification-tray {
  position: fixed;
  z-index: 19020;
  top: 92px;
  right: 86px;
  display: grid;
  width: min(520px, calc(100vw - 120px));
  height: min(760px, calc(100dvh - 110px));
  max-height: none;
  grid-template-rows: auto auto auto minmax(180px, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgb(204 219 232 / 92%);
  border-radius: 22px;
  color: #26394d;
  background: rgb(250 253 255 / 96%);
  box-shadow: 0 28px 90px rgb(25 52 82 / 24%), inset 0 1px 0 #fff;
  backdrop-filter: blur(30px) saturate(1.15);
  -webkit-backdrop-filter: blur(30px) saturate(1.15);
  transform: none;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-head,
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-toolbar,
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-head {
  padding: 17px 18px 12px;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-head > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-head > div > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  color: #0d6cae;
  background: #e8f5ff;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-head svg {
  width: 19px;
  height: 19px;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-head strong,
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-head small {
  display: block;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-head strong { font-size: 1.02rem; }
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-head small { margin-top: 2px; color: #718296; font-size: .75rem; }

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-notification-tray button {
  position: relative !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-head > button {
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
  color: #61758b !important;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-head > button:hover { background: #edf3f8 !important; }

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 0 18px;
  padding: 4px;
  border-radius: 13px;
  background: #edf3f8;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-tabs button {
  gap: 6px !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  color: #63758a !important;
  font-size: .75rem;
  font-weight: 800;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-tabs button.active {
  color: #0b66a8 !important;
  background: #fff !important;
  box-shadow: 0 4px 13px rgb(55 85 113 / 10%) !important;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-tabs b {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #e44444;
  font-size: .63rem;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-toolbar {
  flex-wrap: wrap;
  padding: 13px 19px 9px;
  color: #78899c;
  font-size: .72rem;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-toolbar button,
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray footer button {
  color: #0a69aa !important;
  font-size: .72rem;
  font-weight: 850;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-list {
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 0;
  overflow: auto;
  padding: 0 10px 10px;
  scrollbar-width: thin;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item {
  position: relative;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 9px;
  padding: 13px 9px 11px;
  border: 1px solid #e6edf3;
  border-radius: 12px;
  background: rgb(255 255 255 / 66%);
  box-shadow: 0 2px 8px rgb(41 72 101 / 4%);
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item.unread { background: #f0f8ff; }
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item:hover { background: #f5f9fc; }

html[data-mix-theme="mix-fiscal-default"] .mix-notification-priority-dot {
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: #9aaabc;
}

html[data-mix-theme="mix-fiscal-default"] .priority-critical .mix-notification-priority-dot { background: #d93636; box-shadow: 0 0 0 4px rgb(217 54 54 / 10%); }
html[data-mix-theme="mix-fiscal-default"] .priority-high .mix-notification-priority-dot { background: #e78a24; }
html[data-mix-theme="mix-fiscal-default"] .priority-normal .mix-notification-priority-dot { background: #2784c5; }
html[data-mix-theme="mix-fiscal-default"] .priority-low .mix-notification-priority-dot { background: #7f91a3; }

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-notification-tray .mix-notification-tray-item-main {
  display: grid !important;
  width: 100% !important;
  min-width: 0 !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  white-space: normal !important;
  text-align: left !important;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item-main > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  color: #74869a;
  font-size: .67rem;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item-main > span b { color: #1975b4; text-transform: uppercase; letter-spacing: .04em; }
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item-main > span time { white-space: nowrap; }
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item-main > strong {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 5px;
  color: #26394d;
  font-size: .84rem;
  line-height: 1.32;
  overflow-wrap: anywhere;
}
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item-main p {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 4px 0 0;
  overflow: visible;
  color: #63758a;
  font-size: .76rem;
  line-height: 1.42;
  white-space: normal;
  overflow-wrap: anywhere;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item-actions {
  grid-column: 2;
  display: flex;
  gap: 14px;
  margin-top: 7px;
  opacity: 0;
  transition: opacity 140ms ease;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item:hover .mix-notification-tray-item-actions,
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item:focus-within .mix-notification-tray-item-actions { opacity: 1; }
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item-actions button { color: #63778c !important; font-size: .68rem; font-weight: 750; }
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-item-actions button:hover { color: #0a69aa !important; }

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-state {
  display: grid;
  min-height: 230px;
  padding: 32px;
  place-items: center;
  align-content: center;
  gap: 7px;
  color: #6f8195;
  text-align: center;
  font-size: .8rem;
}

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-state > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: #17815e; background: #e5f7ef; }
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-state > span svg { width: 21px; height: 21px; }
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-state strong { color: #31465c; }
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-state p { margin: 0; }
html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray-state button { margin-top: 6px; color: #0a69aa !important; font-weight: 800; }

html[data-mix-theme="mix-fiscal-default"] .mix-notification-tray footer {
  flex-wrap: wrap;
  padding: 13px 18px 15px;
  border-top: 1px solid #e3ebf2;
  background: rgb(247 251 254 / 94%);
}

@media (max-width: 720px) {
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-notification-tray {
    inset: 82px 10px 10px;
    width: auto;
    height: auto;
    max-height: none;
    transform: none;
  }
}

@media (max-height: 700px) and (min-width: 721px) {
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-notification-tray {
    top: 82px;
    right: 78px;
    height: calc(100dvh - 94px);
    border-radius: 18px;
  }
}

@media (min-width: 981px) {
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell > .template-header,
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell > .template-main {
    width: calc(100% - var(--connections-shell-left) - var(--connections-shell-right)) !important;
    max-width: none !important;
    margin-right: var(--connections-shell-right) !important;
    margin-left: var(--connections-shell-left) !important;
  }
}

@media (max-width: 980px) {
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell {
    --connections-shell-right: var(--connections-shell-gap);
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar {
    display: none !important;
  }

  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell > .template-header,
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell > .template-main {
    width: calc(100% - var(--connections-shell-left) - var(--connections-shell-right)) !important;
    margin-right: var(--connections-shell-right) !important;
    margin-left: var(--connections-shell-left) !important;
  }
}

@media (max-width: 620px) {
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell > .template-header,
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell > .template-main {
    width: calc(100% - 20px) !important;
    margin-right: 10px !important;
    margin-left: 10px !important;
  }
}

/* Office: controles no cabeçalho nativo e popovers ancorados à ferramenta acionada. */
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .office-page-toolbar {
  max-width: min(100%, 520px);
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .office-page-toolbar::-webkit-scrollbar {
  display: none;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .office-page-toolbar .mix-icon-button.is-active {
  border-color: #94c4ea !important;
  color: #075b9e !important;
  background: #e8f5ff !important;
  box-shadow: 0 8px 20px rgb(31 106 165 / 12%), inset 0 1px 0 #fff !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .template-page--halo-module > .mix-module-page-header--halo .mix-page-toolbar > .office-toolbar-presence {
  width: auto !important;
  min-width: max-content !important;
  height: 34px !important;
  min-height: 34px !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 3px 6px !important;
  border: 1px solid #dce7ef;
  border-radius: 999px;
  color: #52647b;
  background: rgb(255 255 255 / 92%);
  box-shadow: 0 6px 18px rgb(31 106 165 / 8%);
  cursor: pointer;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .office-toolbar-presence > :where(span, strong) {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border-radius: 999px;
  color: inherit;
  background: #f4f8fb;
  font-size: 9px;
  font-weight: 750;
  white-space: nowrap;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .office-toolbar-presence span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38c98c;
  box-shadow: 0 0 0 4px rgb(56 201 140 / 12%);
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .office-toolbar-presence.is-active {
  border-color: #94c4ea;
  background: #e8f5ff;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .office-toolbar-presence [data-tone="error"] {
  color: #a33b3b;
  background: #fff1f1;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .office-toolbar-presence [data-tone="warning"] {
  color: #8c6114;
  background: #fff8e8;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-app {
  grid-template-rows: minmax(0, 1fr) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-map-status {
  position: absolute;
  z-index: 32;
  top: 14px;
  left: 78px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 999px;
  color: #52647b;
  background: rgb(255 255 255 / 91%);
  box-shadow: 0 12px 30px rgb(6 20 39 / 16%);
  backdrop-filter: blur(14px) saturate(125%);
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active.mix-office-standalone .mix-office-map-status {
  left: 14px;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-map-status > :where(span, b) {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 999px;
  color: inherit;
  background: #f4f8fb;
  font-size: 9px;
  font-weight: 750;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-map-status span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38c98c;
  box-shadow: 0 0 0 4px rgb(56 201 140 / 12%);
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-map-status [data-tone="error"] {
  color: #a33b3b;
  background: #fff1f1;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-map-status [data-tone="warning"] {
  color: #8c6114;
  background: #fff8e8;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-standalone-tools {
  position: absolute;
  z-index: 48;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 76%);
  border-radius: 16px;
  background: rgb(255 255 255 / 93%);
  box-shadow: 0 16px 40px rgb(4 16 34 / 24%);
  backdrop-filter: blur(16px) saturate(125%);
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-standalone-tools button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #43546c;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-standalone-tools button:hover,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-standalone-tools button.is-active {
  border-color: #b9d5f3;
  color: #075b9e;
  background: #eaf5ff;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active :where(.mix-office-floating-panel, .mix-office-media-settings)[data-office-anchored="true"] {
  position: fixed !important;
  z-index: 260 !important;
  top: var(--office-popover-top) !important;
  right: auto !important;
  bottom: auto !important;
  left: var(--office-popover-left) !important;
  max-height: var(--office-popover-max-height) !important;
  border: 1px solid #d7e2ed !important;
  border-radius: 16px !important;
  color: #17233a !important;
  background: rgb(255 255 255 / 98%) !important;
  box-shadow: 0 22px 64px rgb(27 51 82 / 24%), inset 0 1px 0 #fff !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-media-settings[data-office-anchored="true"] {
  width: min(320px, calc(100vw - 24px)) !important;
  overflow-y: auto !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-media-settings[data-office-anchored="true"] label {
  color: #52647b !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-media-settings[data-office-anchored="true"] select {
  border-color: #d7e2ed !important;
  color: #213249 !important;
  background: #f8fbfd !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-tour[data-office-anchored="true"] {
  position: fixed !important;
  z-index: 270 !important;
  top: var(--office-popover-top) !important;
  right: auto !important;
  bottom: auto !important;
  left: var(--office-popover-left) !important;
  max-height: var(--office-popover-max-height) !important;
  overflow-y: auto !important;
  border: 1px solid #d7e2ed !important;
  border-radius: 18px !important;
  color: #17233a !important;
  background: rgb(255 255 255 / 98%) !important;
  box-shadow: 0 24px 72px rgb(27 51 82 / 26%), inset 0 1px 0 #fff !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-tour[data-office-anchored="true"] .mix-office-tour-visual {
  border-color: #dce6ef !important;
  background: #f3f8fc !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-tour[data-office-anchored="true"] .mix-office-tour-copy > span {
  color: #16846b !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-tour[data-office-anchored="true"] :where(h2, p) {
  color: #17233a !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-tour[data-office-anchored="true"] p {
  color: #60738b !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-tour[data-office-anchored="true"] .mix-office-onboarding-secondary {
  border-color: #d7e2ed !important;
  color: #52647b !important;
  background: #f5f8fb !important;
}

@media (max-width: 760px) {
  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-module-page-header--halo .mix-module-page-header__tools {
    width: 100%;
    padding: 0 12px 12px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .office-page-toolbar {
    width: 100%;
    max-width: none;
    justify-content: flex-start !important;
  }

  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-map-status {
    left: 12px;
  }
}

/* Estado de rolagem do header global, consumindo somente tokens da Design System. */
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header {
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease !important;
  isolation: isolate;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header:not(.is-scrolled) {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header.is-scrolled {
  border-color: var(--mix-halo-header-scrolled-border) !important;
  background: rgb(241 247 252 / 86%) !important;
  box-shadow: 0 10px 30px rgb(28 50 82 / 10%), inset 0 1px 0 rgb(255 255 255 / 88%) !important;
  backdrop-filter: blur(12px) saturate(118%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(118%) !important;
}

@media (prefers-reduced-motion: reduce) {
  html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .template-header {
    transition: none !important;
  }
}

/* O modo isolado do Office é deliberadamente um mapa sem o chrome do Mix Suite. */
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .connections-pilot-shell > .mix-ds-sidebar.mix-ds-module-dock,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .connections-pilot-shell > .template-header,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .connections-pilot-shell .mix-module-page-header,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .connections-pilot-shell > .template-main > .template-nav {
  display: none !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .connections-pilot-shell,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .connections-pilot-shell > .template-main,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .connections-pilot-shell > .template-main > #viewMount,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active.mix-office-standalone .connections-pilot-shell .mix-office-runtime {
  width: 100% !important;
  max-width: none !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Office: o mapa volta a ser o produto; salas, chat e mídia vivem na barra superior. */
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-runtime {
  height: clamp(640px, calc(100dvh - 190px), 920px) !important;
  min-height: 640px !important;
  overflow: hidden !important;
  border: 1px solid var(--mix-border, #d8e2ee) !important;
  border-radius: 22px !important;
  background: #17243a !important;
  box-shadow: 0 18px 52px rgb(40 67 101 / 14%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-app {
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  color: #17233a !important;
  background: #eaf1f8 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar {
  position: relative !important;
  z-index: 50 !important;
  min-height: 74px !important;
  display: grid !important;
  grid-template-columns: minmax(210px, 1fr) auto minmax(0, 2fr) !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-bottom: 1px solid #d8e2ee !important;
  border-radius: 0 !important;
  background: rgb(255 255 255 / 96%) !important;
  box-shadow: 0 8px 30px rgb(31 55 88 / 8%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-brand strong {
  color: #17233a !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-brand small,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-status {
  color: #687a92 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-status span,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-status > b {
  min-height: 34px !important;
  border-color: #dbe5ef !important;
  color: #43546c !important;
  background: #f6f9fc !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-actions {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  overflow-x: auto !important;
  scrollbar-width: none;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-actions::-webkit-scrollbar {
  display: none;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-control {
  min-width: 52px !important;
  min-height: 48px !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 0 11px !important;
  border: 1px solid transparent !important;
  border-radius: 13px !important;
  color: #43546c !important;
  background: transparent !important;
  font: inherit !important;
  cursor: pointer !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-control:hover,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-control[aria-pressed="true"],
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-control.is-active {
  border-color: #b9d5f3 !important;
  color: #075b9e !important;
  background: #eaf5ff !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-control.is-primary {
  border-color: #bed6ed !important;
  color: #075b9e !important;
  background: #f5faff !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-control span {
  font-size: 17px !important;
  line-height: 1 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-control b {
  color: inherit !important;
  font-size: 10px !important;
  font-weight: 750 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-separator {
  width: 1px !important;
  height: 28px !important;
  flex: 0 0 1px !important;
  margin: 0 2px !important;
  background: #dce5ef !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-layout {
  position: relative !important;
  min-height: 0 !important;
  display: block !important;
  overflow: hidden !important;
  background: #18253a !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-viewport {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  padding: 16px !important;
  overflow: hidden !important;
  background: radial-gradient(circle at 50% 12%, #30425b, #17243a 68%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-stage {
  width: 100% !important;
  height: 100% !important;
  max-width: 1240px !important;
  max-height: none !important;
  display: grid !important;
  place-items: center !important;
  container-type: size;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor {
  width: min(100cqw, calc(100cqh * 2.06667)) !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
  border: 1px solid rgb(255 255 255 / 28%) !important;
  border-radius: 15px !important;
  background: #101a2b !important;
  box-shadow: 0 28px 70px rgb(3 10 23 / 42%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-plan {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: top center !important;
  image-rendering: pixelated;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor.has-plan .mix-office-room {
  padding: 6px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor.has-plan .mix-office-room:hover,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor.has-plan .mix-office-room.is-current {
  border-color: #55d8b4 !important;
  background: rgb(27 120 103 / 12%) !important;
  box-shadow: inset 0 0 0 2px rgb(85 216 180 / 18%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor.has-plan .mix-office-room header {
  width: max-content !important;
  max-width: 100% !important;
  gap: 7px !important;
  padding: 4px 7px !important;
  border-radius: 999px !important;
  background: rgb(12 24 40 / 76%) !important;
  backdrop-filter: blur(5px);
  opacity: 0 !important;
  transition: opacity 160ms ease !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor.has-plan .mix-office-room:hover header,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor.has-plan .mix-office-room.is-current header {
  opacity: 1 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor.has-plan .mix-office-room header strong {
  color: #fff !important;
  font-size: 9px !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor.has-plan .mix-office-room header span {
  color: #b9c7d8 !important;
  font-size: 8px !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor.has-plan .mix-office-furniture {
  display: none !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-object {
  position: absolute;
  z-index: 12;
  display: block;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-object:hover,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-object:focus-visible,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-object.is-playing {
  border-color: rgb(85 216 180 / 82%);
  background: rgb(27 120 103 / 12%);
  box-shadow: 0 0 0 3px rgb(85 216 180 / 18%);
  outline: 0;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-object > span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  width: max-content;
  max-width: 150px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgb(12 24 40 / 88%);
  box-shadow: 0 7px 18px rgb(3 10 23 / 22%);
  font-size: 9px;
  font-weight: 750;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(3px);
  transition: opacity 150ms ease, transform 150ms ease;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-object:hover > span,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-object:focus-visible > span,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-object.is-playing > span {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floating-panel {
  position: absolute !important;
  z-index: 40 !important;
  top: 16px !important;
  bottom: 16px !important;
  width: min(340px, calc(100% - 32px)) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgb(255 255 255 / 76%) !important;
  border-radius: 18px !important;
  color: #17233a !important;
  background: rgb(250 253 255 / 96%) !important;
  box-shadow: 0 24px 70px rgb(2 10 24 / 38%) !important;
  backdrop-filter: blur(18px) saturate(120%);
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floating-panel[hidden] {
  display: none !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-directory {
  left: 76px !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  gap: 12px !important;
  padding: 14px !important;
  border-right: 1px solid rgb(255 255 255 / 76%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active.mix-office-standalone .mix-office-directory {
  left: 16px !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-directory > div,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-chat > header {
  min-height: 56px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 4px 10px !important;
  padding: 8px 10px !important;
  border-bottom: 1px solid #e0e8f1 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-directory > div span {
  grid-column: 1 !important;
  color: #718199 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-directory > div strong {
  grid-column: 1 !important;
  color: #17233a !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-directory > div button,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-chat > header button {
  grid-column: 2 !important;
  grid-row: 1 / span 2 !important;
  width: 34px !important;
  height: 34px !important;
  border: 1px solid #d8e2ee !important;
  border-radius: 10px !important;
  color: #4b5c73 !important;
  background: #fff !important;
  cursor: pointer !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-directory nav button {
  color: #2b3b51 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-directory nav button:hover,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-directory nav button.is-current {
  border-color: #c5dbef !important;
  color: #075b9e !important;
  background: #edf7ff !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-directory nav button small,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-directory footer {
  color: #6d7f96 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-chat {
  right: 16px !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
  border-left: 1px solid rgb(255 255 255 / 76%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-chat > header strong,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-chat-empty strong {
  color: #17233a !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-chat > header span,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-chat-empty {
  color: #718199 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-message-list {
  min-height: 0 !important;
  overflow-y: auto !important;
  background: #f7fafd !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-message-form {
  border-top-color: #dce5ef !important;
  background: #fff !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-media-settings {
  z-index: 45 !important;
  top: 16px !important;
  right: 16px !important;
  bottom: auto !important;
  border-color: #d8e2ee !important;
  color: #17233a !important;
  background: rgb(255 255 255 / 98%) !important;
  box-shadow: 0 24px 64px rgb(2 10 24 / 35%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-media-settings strong {
  color: #17233a !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active.mix-office-standalone .mix-office-runtime {
  height: 100dvh !important;
  min-height: 100dvh !important;
  border: 0 !important;
  border-radius: 0 !important;
}

@media (max-width: 1450px) {
  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar {
    grid-template-columns: auto auto minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-brand small,
  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-control b {
    display: none !important;
  }

  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar-control {
    width: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
  }
}

@media (max-width: 760px) {
  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-runtime {
    height: calc(100dvh - 130px) !important;
    min-height: 560px !important;
    border-radius: 16px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-toolbar {
    min-height: 64px !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-status {
    display: none !important;
  }

  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-directory {
    left: 12px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floating-panel {
    top: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: calc(100% - 24px) !important;
  }
}

/* Office header tools: authoritative overrides after the legacy Office skin. */
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-app {
  grid-template-rows: minmax(0, 1fr) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active :where(.mix-office-floating-panel, .mix-office-media-settings)[data-office-anchored="true"] {
  position: fixed !important;
  z-index: 260 !important;
  top: var(--office-popover-top) !important;
  right: auto !important;
  bottom: auto !important;
  left: var(--office-popover-left) !important;
  max-height: var(--office-popover-max-height) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-tour[data-office-anchored="true"] {
  position: fixed !important;
  z-index: 270 !important;
  top: var(--office-popover-top) !important;
  right: auto !important;
  bottom: auto !important;
  left: var(--office-popover-left) !important;
  max-height: var(--office-popover-max-height) !important;
}

@media (max-width: 760px) {
  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active :where(.mix-office-floating-panel, .mix-office-media-settings)[data-office-anchored="true"],
  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-tour[data-office-anchored="true"] {
    top: var(--office-popover-top) !important;
    right: auto !important;
    bottom: auto !important;
    left: var(--office-popover-left) !important;
  }
}

/* Office canvas: authoritative overrides after the legacy Office skin. */
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active :where(.mix-office-runtime, .mix-office-app, .mix-office-layout, .mix-office-viewport) {
  background: transparent !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-runtime {
  border-color: rgb(196 211 226 / 78%) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 40px rgb(40 67 101 / 11%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-viewport {
  padding: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-stage {
  max-width: none !important;
  max-height: none !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f3eee5 !important;
  box-shadow: none !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-plan {
  object-fit: fill !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock:hover,
html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock:focus-within {
  border: 1px solid rgb(201 215 228 / 92%) !important;
  background: rgb(255 255 255 / 94%) !important;
  box-shadow: 0 18px 44px rgb(25 48 77 / 22%), inset 0 1px 0 #fff !important;
  backdrop-filter: blur(18px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock .mix-ds-module-dock-item {
  color: #52647b !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app.mix-office-active .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock .mix-ds-module-dock-item.active .mix-ds-sidebar-icon {
  border-color: #b9d5f3 !important;
  color: #075b9e !important;
  background: #eaf5ff !important;
  box-shadow: 0 0 0 2px rgb(51 142 213 / 12%), 0 7px 18px rgb(31 75 113 / 14%) !important;
}

/* Sidebar de comunicação: somente o desenho da Inbox recebe destaque. */
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar .mix-communications-inbox-gradient-icon {
  width: 20px !important;
  height: 20px !important;
  overflow: visible;
  fill: none;
  filter: drop-shadow(0 2px 4px rgb(193 60 255 / 24%));
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar .mix-communications-inbox-gradient-icon path {
  fill: none !important;
  stroke-width: 2 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar .mix-communications-dock-inbox > .mix-communications-external-badge {
  position: absolute !important;
  z-index: 3;
  top: -5px !important;
  right: -6px !important;
  display: grid !important;
  min-width: 16px !important;
  width: auto !important;
  height: 16px !important;
  min-height: 16px !important;
  padding: 0 4px !important;
  place-items: center !important;
  border: 2px solid #f3f8fc !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: #c63c8f !important;
  box-shadow: 0 3px 8px rgb(116 34 92 / 24%) !important;
  font-size: 8px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar [data-sidebar-tooltip]::after {
  position: absolute;
  z-index: 26000;
  top: 50%;
  right: calc(100% + 13px);
  display: block !important;
  width: max-content;
  max-width: 240px;
  padding: 7px 10px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 9px;
  color: #fff;
  background: rgb(24 43 63 / 92%);
  box-shadow: 0 12px 30px rgb(20 38 58 / 24%);
  content: attr(data-sidebar-tooltip);
  opacity: 0 !important;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(5px, -50%) scale(.97) !important;
  transition: opacity 130ms ease, transform 130ms ease;
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar [data-sidebar-tooltip]:hover::after,
html[data-mix-theme="mix-fiscal-default"] .connections-pilot-shell .mix-communication-sidebar [data-sidebar-tooltip]:focus-visible::after {
  opacity: 1 !important;
  transform: translate(0, -50%) scale(1) !important;
}

/* Inbox: carregamento reconhecível sem apagar conteúdo já sincronizado. */
html[data-mix-theme="mix-fiscal-default"] body #app .inbox-loading-state {
  min-width: 0;
  min-height: 150px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  color: #64778c;
  text-align: center;
}

html[data-mix-theme="mix-fiscal-default"] body #app .inbox-loading-state .loader {
  width: 26px;
  height: 26px;
  padding: 0;
  border-width: 3px;
  border-color: #d6e1eb;
  border-top-color: #4b86bb;
  background: transparent;
  box-shadow: none;
}

html[data-mix-theme="mix-fiscal-default"] body #app .inbox-loading-state strong {
  color: #263b52;
  font-size: .76rem;
}

html[data-mix-theme="mix-fiscal-default"] body #app .inbox-loading-state small {
  max-width: 280px;
  color: #73859a;
  font-size: .64rem;
  line-height: 1.4;
}

/* Inbox interna: mesma hierarquia operacional da Inbox externa. */
html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal {
  --internal-inbox-list-width: clamp(18rem, 22vw, 21rem);
  flex: 1 1 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  grid-template-rows: minmax(0, 1fr) !important;
  overflow: hidden !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-inbox-grid {
  grid-template-columns: var(--internal-inbox-list-width) minmax(0, 1fr) !important;
  height: 100% !important;
  min-height: 0 !important;
  gap: 12px !important;
  overflow: visible !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal :is(.internal-inbox-list, .internal-inbox-thread) {
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  overflow: hidden !important;
  border: 1px solid #d8e2ec !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgb(31 55 78 / 8%) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-inbox-thread {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-thread-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  min-height: 64px !important;
  padding: 9px 12px !important;
  border-bottom: 1px solid #d8e2ec !important;
  background: #fff !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 16px 18px 22px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
  background: #eef3f7 !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message {
  align-self: flex-start !important;
  width: fit-content !important;
  max-width: min(76%, 44rem) !important;
  display: block !important;
  margin: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message.mine {
  align-self: flex-end !important;
  margin-left: auto !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message > div {
  padding: 8px 10px !important;
  border: 1px solid #d8e2ec !important;
  border-radius: 8px !important;
  color: #0e2238 !important;
  background: #fff !important;
  box-shadow: 0 2px 7px rgb(29 52 73 / 6%) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message.mine > div {
  border-color: #b8dfc9 !important;
  background: #e7f6ed !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message header,
html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message-author {
  display: flex;
  align-items: center;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message header {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 4px;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message-author {
  gap: 6px;
  min-width: 0;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message-avatar {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message header strong {
  color: #274b6b !important;
  font-size: 10.5px !important;
  font-weight: 750 !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message header time,
html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message footer {
  color: #6d7f96 !important;
  font-size: 9.5px !important;
  white-space: nowrap;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message p {
  margin: 0 !important;
  color: #31465b !important;
  font-size: 12.5px !important;
  line-height: 1.42 !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message footer {
  margin-top: 4px;
  text-align: right;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message-form {
  position: relative;
  z-index: 38;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 7px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 9px 11px !important;
  border: 0 !important;
  border-top: 1px solid #d8e2ec !important;
  border-radius: 0 0 8px 8px !important;
  background: #fff !important;
  box-shadow: 0 -8px 20px rgb(33 57 79 / 5%) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-composer-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 40px !important;
  align-items: end !important;
  gap: 7px !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-composer-row textarea {
  grid-column: 1 !important;
  width: 100% !important;
  min-height: 42px !important;
  max-height: 112px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  resize: none !important;
  border: 1px solid #c6d5e3 !important;
  border-radius: 8px !important;
  color: #0e2238 !important;
  background: #fff !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-composer-row > button {
  grid-column: 2 !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid #1470b8 !important;
  border-radius: 8px !important;
  color: #fff !important;
  background: #1470b8 !important;
  box-shadow: 0 5px 12px rgb(20 112 184 / 18%) !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-composer-row > button:disabled {
  border-color: #bfd0df !important;
  background: #bfd0df !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .contact-composer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #72849a;
  font-size: 10px;
}

@media (max-width: 900px) {
  html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal {
    --internal-inbox-list-width: 16rem;
  }
}

@media (max-width: 720px) {
  html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal {
    height: auto !important;
    max-height: none !important;
  }

  html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-inbox-grid {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }

  html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-inbox-list {
    height: 17rem !important;
  }

  html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-inbox-thread {
    height: min(40rem, calc(100dvh - 4rem)) !important;
    min-height: 32rem !important;
  }

  html[data-mix-theme="mix-fiscal-default"] body #app .contact-inbox-page--internal .internal-message {
    max-width: 90% !important;
  }
}
/* A ficha CRM é uma experiência focada: os dois docks ficam ocultos enquanto o slice está aberto. */
html[data-mix-theme="mix-fiscal-default"] body.crm-record-modal-open #app .connections-pilot-shell aside.mix-ds-sidebar.mix-ds-module-dock,
html[data-mix-theme="mix-fiscal-default"] body.crm-record-modal-open #app .connections-pilot-shell aside.mix-communications-dock.mix-communication-sidebar {
  display: none !important;
}

/* Escritório Virtual · acabamento final no mesmo canvas Liquid Glass da Home. */
html[data-mix-theme="mix-fiscal-default"] .mix-communication-sidebar .mix-communications-dock-office {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: #60748a;
  background: transparent;
  cursor: pointer;
}

html[data-mix-theme="mix-fiscal-default"] .mix-communication-sidebar .mix-communications-dock-office:hover,
html[data-mix-theme="mix-fiscal-default"] .mix-communication-sidebar .mix-communications-dock-office:focus-visible,
html[data-mix-theme="mix-fiscal-default"] .mix-communication-sidebar .mix-communications-dock-office.active {
  color: #075b9e;
  background: #eaf5ff;
  outline: none;
}

html[data-mix-theme="mix-fiscal-default"] .mix-communication-sidebar .mix-communications-dock-office svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active.mix-office-embedded .mix-module-page-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active.mix-office-embedded .mix-module-page-content {
  margin-top: 14px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active.mix-office-embedded .mix-office-runtime {
  width: 100% !important;
  height: clamp(540px, calc(100dvh - 300px), 760px) !important;
  min-height: 540px !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-onboarding {
  padding: clamp(12px, 3vw, 32px) !important;
  background: transparent !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-onboarding-backdrop {
  display: none !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-onboarding-card {
  width: min(860px, 100%) !important;
  border: 1px solid rgb(197 213 228 / 88%) !important;
  border-radius: 18px !important;
  background: rgb(255 255 255 / 88%) !important;
  box-shadow: 0 18px 52px rgb(28 63 94 / 14%), inset 0 1px 0 #fff !important;
  backdrop-filter: blur(28px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(135%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-onboarding-card > header,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-onboarding-card > footer {
  background: rgb(247 251 254 / 72%) !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-onboarding-brand strong {
  color: #12273d !important;
  font-size: 1rem !important;
  font-weight: 790 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-layout,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-viewport {
  overflow: visible !important;
  background: transparent !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-viewport {
  padding: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-floor {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: var(--office-map-aspect, 2.06667) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f7f3ec !important;
  box-shadow: none !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-plan {
  object-fit: cover !important;
  border-radius: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-player {
  gap: 2px;
  transform: translate(-50%, -72%);
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-player > .mix-office-character {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-player > strong {
  margin-top: 0 !important;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template-list {
  display: grid;
  gap: 8px;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template {
  width: 100%;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid #dce6ef;
  border-radius: 12px;
  color: #52647b;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template:hover,
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template.is-current {
  border-color: #91c8ec;
  background: #eef8ff;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template img {
  width: 108px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template :where(strong, em, b) {
  font-style: normal;
}

html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template strong { color: #20344a; font-size: 11px; }
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template em { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-template b { color: #16846b; font-size: 9px; }

.mix-office-notice {
  position: fixed;
  z-index: 10000;
  top: 82px;
  right: 24px;
  width: min(420px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid #efcaca;
  border-radius: 12px;
  color: #8f3030;
  background: rgb(255 247 247 / 98%);
  box-shadow: 0 16px 42px rgb(73 31 31 / 18%);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mix-office-notice.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active.mix-office-embedded .mix-office-runtime {
    height: calc(100dvh - 240px) !important;
    min-height: 500px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active.mix-office-embedded .mix-module-page-content {
    padding: 10px !important;
    border-radius: 15px !important;
  }

  html[data-mix-theme="mix-fiscal-default"] #app.mix-office-active .mix-office-onboarding-card > footer {
    display: none !important;
  }
}
/* Listagens documentais crescem com o conteúdo e usam a rolagem da página. */
html[data-mix-theme="mix-fiscal-default"] body #app .central-atendimento-page-content--document-flow {
  display: block !important;
  flex: 0 0 auto !important;
  min-height: auto !important;
  overflow: visible !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .central-atendimento-page-content--document-flow .mix-data-table-wrap {
  height: auto !important;
  max-height: none !important;
}

html[data-mix-theme="mix-fiscal-default"] body #app .central-atendimento-page-content--document-flow .mix-data-table__viewport {
  height: auto !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
}
