/* Acabamento da integração: mantém o menu contido e o primeiro acesso compacto. */
#toolbar .bm-pop #btn-instagram,
#toolbar .bm-pop #btn-whatsapp,
#toolbar .bm-pop #btn-email {
  grid-template-columns: 38px minmax(0, 1fr) auto;
  overflow: hidden;
}

#toolbar .bm-pop .integration-menu-logo {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border-radius: 11px;
  flex-shrink: 0;
}

#toolbar .bm-pop .integration-menu-logo img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 1 !important;
  filter: none !important;
}

#toolbar .bm-pop .whatsapp-menu-logo {
  background: #e9fbf0;
}

#toolbar .bm-pop .gmail-menu-logo {
  background: #fff;
  border: 1px solid #e7edf5;
}

#toolbar .bm-pop #btn-instagram .ig-menu-logo {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
}

#toolbar .bm-pop #btn-instagram .bm-tit,
#toolbar .bm-pop #btn-instagram .bm-sub,
#toolbar .bm-pop #btn-whatsapp .bm-tit,
#toolbar .bm-pop #btn-whatsapp .bm-sub,
#toolbar .bm-pop #btn-email .bm-tit,
#toolbar .bm-pop #btn-email .bm-sub {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: anywhere;
}

#toolbar .bm-pop #btn-instagram .bm-sub,
#toolbar .bm-pop #btn-whatsapp .bm-sub,
#toolbar .bm-pop #btn-email .bm-sub {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ig-logo {
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  flex: 0 0 auto;
  background: radial-gradient(circle at 30% 100%, #ffd776, #fd5b3b 40%, #d62976 65%, #7935af);
  opacity: 1 !important;
  filter: none !important;
  box-shadow: 0 7px 18px rgba(225, 48, 108, .24);
}

.ig-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1 !important;
  filter: none !important;
}

.ig-planning-logo {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.ig-planning-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.ig-card.ig-card-disconnected {
  position: relative;
  width: min(524px, 100%);
  height: auto;
  min-height: 0;
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}

.ig-card.ig-card-disconnected::before {
  content: "";
  position: absolute;
  top: -230px;
  left: 50%;
  width: 520px;
  height: 350px;
  translate: -50% 0;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(225, 48, 108, .2), rgba(225, 48, 108, 0));
}

.ig-card-disconnected > header {
  position: relative;
  gap: 14px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(225, 48, 108, .15);
  background: linear-gradient(105deg, rgba(131, 58, 180, .2), rgba(225, 48, 108, .14) 52%, rgba(247, 119, 55, .1));
}

.ig-card-disconnected > header > div {
  min-width: 0;
  flex: 1;
}

.ig-card-disconnected .ig-close {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  font-size: 17px;
}

.ig-card-disconnected .ig-body {
  flex: 0 1 auto;
  min-height: 0;
  overflow: visible;
  padding: 2px 22px 22px;
}

.ig-card-disconnected .ig-intro {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ig-card-disconnected .ig-intro > b {
  display: block;
  font: 700 1.12rem/1.3 Syne, Inter, sans-serif;
  letter-spacing: -.2px;
}

.ig-card-disconnected .ig-intro p {
  margin: 7px 0 18px;
  max-width: 430px;
  font-size: .82rem;
  line-height: 1.55;
}

.ig-card-disconnected .ig-intro ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.ig-card-disconnected .ig-intro li {
  position: relative;
  padding-left: 26px;
  font-size: .79rem;
  line-height: 1.45;
}

.ig-card-disconnected .ig-intro li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(225, 48, 108, .13);
  color: #f06a91;
  font-weight: 800;
  font-size: .68rem;
}

.ig-card-disconnected .ig-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 0 17px;
  border-radius: 12px;
  background: linear-gradient(120deg, #833ab4 0%, #c13584 38%, #e1306c 65%, #f77737 100%);
  box-shadow: 0 8px 20px rgba(193, 53, 132, .24);
  transition: transform .15s, filter .15s, box-shadow .15s;
}

.ig-card-disconnected .ig-primary:hover {
  transform: translateY(-1px);
  filter: brightness(.96);
  box-shadow: 0 11px 25px rgba(193, 53, 132, .32);
}

html[data-theme="light"] .ig-card.ig-card-disconnected {
  border-color: #dbe6f1;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 39, 68, .22);
}

html[data-theme="light"] .ig-card-disconnected > header {
  border-bottom-color: #f0d8e2;
  background: linear-gradient(105deg, #fcecf7, #fff1f5 52%, #fff7ee);
}

html[data-theme="light"] .ig-card-disconnected .ig-intro {
  background: transparent;
}

html[data-theme="light"] .ig-card-disconnected .ig-intro li::before {
  background: #fdeaf1;
  color: #c92560;
}

@media (max-width: 640px) {
  .ig-card.ig-card-disconnected {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 18px);
  }

  .ig-card-disconnected .ig-body {
    padding: 0 18px 20px;
    overflow: auto;
  }

  .ig-card-disconnected .ig-intro {
    padding: 0;
  }
}
