/* Engage Config → Meta Ads (conexão OAuth e conta de anúncios); reutiliza .eir-* e .ec-mc-* */

.ema-guide {
  border: 1px solid var(--es-border);
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ema-guide p,
.ema-guide ol {
  margin: 0;
}

.ema-guide ol {
  padding-left: 1.1rem;
}

.ema-selected {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.8125rem;
}

.ema-selected p {
  margin: 0;
  color: var(--es-text);
}

.ema-accounts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ema-account label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  border: 1px solid var(--es-border);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
  cursor: pointer;
}

.ema-account label small {
  color: var(--es-text-muted);
  word-break: break-all;
}

.ema-account input:disabled + span {
  opacity: 0.65;
}

/* INBOUND-05C.3 — catálogo sincronizado (somente leitura) */

.ema-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--es-text-muted);
}

.ema-crumbs [aria-current="page"] {
  color: var(--es-text);
  font-weight: 600;
}

.ema-crumb {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: #1559b8;
  cursor: pointer;
}

.ema-crumb:hover {
  text-decoration: underline;
}

.ema-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ema-cat-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  border: 1px solid var(--es-border);
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.8125rem;
}

.ema-cat-main {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow-wrap: anywhere;
}

.ema-cat-main small {
  color: var(--es-text-muted);
}

.ema-pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  font-size: 0.8125rem;
}
