/* Integrações — layout de marketplace (2026-10-03, pedido do usuário) */

.int-page { padding-bottom: 32px; }

/* Topo com busca */
.int-hero {
  position: relative;
  background: var(--bg-2);
  border-radius: 8px;
  padding: 44px 56px 52px;
  margin-bottom: 24px;
}
.int-hero-title { font-size: 26px; font-weight: 500; color: var(--fg); margin: 0 0 12px; letter-spacing: -.01em; }
.int-hero-sub { font-size: 15px; color: var(--fg-2); margin: 0 0 24px; }
.int-hero-sub b { color: var(--fg); font-weight: 600; }
.int-manage-btn {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); color: var(--fg); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.int-manage-btn:hover { background: var(--bg-2); border-color: var(--line-strong, var(--line)); }
.int-search { display: flex; gap: 8px; max-width: 560px; }
.int-search input {
  flex: 1; min-width: 0; height: 38px; padding: 0 12px;
  background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 8px;
  font-size: 13.5px; font-family: inherit; outline: none;
}
.int-search input::placeholder { color: var(--fg-4); }
.int-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.int-search-btn {
  height: 38px; padding: 0 18px; border: none; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.int-search-btn:hover { filter: brightness(1.06); }

/* Aviso */
.int-banner {
  display: flex; align-items: center; gap: 16px;
  background: color-mix(in srgb, var(--accent) 7%, var(--card));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 8px; padding: 18px 18px 18px 20px; margin-bottom: 24px;
}
.int-banner-title { font-size: 19px; font-weight: 500; color: var(--accent); margin-bottom: 6px; }
.int-banner-text { font-size: 13.5px; color: var(--fg-2); }
.int-banner-x {
  width: 30px; height: 30px; border-radius: 8px; border: none; background: transparent; color: var(--fg-3);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; align-self: flex-start;
}
.int-banner-x:hover { background: var(--bg-2); color: var(--fg); }

/* Faixa de marcas */
.int-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 32px; }
.int-strip-tile {
  height: 64px; border: none; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 19px; font-weight: 700; letter-spacing: -.02em; font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease; overflow: hidden; padding: 0 10px;
}
.int-strip-tile span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.int-strip-tile:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.14); }

/* Seções */
.int-section { margin-bottom: 32px; }
.int-h2 { font-size: 20px; font-weight: 500; color: var(--fg); margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.int-count {
  font-size: 12px; font-weight: 600; color: var(--fg-3); background: var(--bg-2);
  border-radius: 999px; padding: 2px 9px; font-variant-numeric: tabular-nums;
}
.int-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.int-empty { padding: 28px; text-align: center; color: var(--fg-3); font-size: 13.5px; background: var(--card); border: 1px dashed var(--line); border-radius: 8px; }

/* Cartões de aplicativo */
.int-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.int-app {
  display: flex; flex-direction: column; gap: 10px; text-align: left;
  height: 140px; padding: 14px 14px 12px; box-sizing: border-box;
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  cursor: pointer; font-family: inherit; color: inherit;
  transition: box-shadow .18s ease;
}
.int-app:hover { box-shadow: var(--card-hover-shadow); }
.int-app.is-soon .int-app-top > :first-child { opacity: .75; }
.int-app-top { display: flex; align-items: center; gap: 12px; }
.int-app-name { font-size: 14.5px; font-weight: 600; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.int-app-desc {
  flex: 1; font-size: 12.5px; line-height: 1.45; color: var(--fg-3);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.int-app-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.int-app-by { font-size: 12px; color: var(--fg-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.int-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--fg-3); }
.int-status--on { color: var(--success); }
.int-status--soon { color: var(--fg-4); background: var(--bg-2); border-radius: 999px; padding: 2px 9px; font-weight: 500; }

/* Metas */
.int-goals { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.int-goal {
  display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 14px; box-sizing: border-box; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  font-size: 14.5px; color: var(--fg); font-family: inherit; text-align: left; cursor: pointer;
  transition: box-shadow .18s ease, background .15s ease;
}
.int-goal > span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.int-goal:hover { box-shadow: var(--card-hover-shadow); }
.int-goal-ic { color: var(--fg-3); display: inline-flex; flex-shrink: 0; width: 32px; height: 32px; }
.int-goal:hover .int-goal-ic, .int-goal.on .int-goal-ic { color: var(--accent); }
.int-goal.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--card)); }

/* Instalados */
.int-installed { background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.int-inst-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.int-inst-row + .int-inst-row { border-top: 1px solid var(--line); }

/* Botões e links */
.int-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: 8px; flex-shrink: 0;
  background: var(--card); color: var(--fg); border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; text-decoration: none;
}
.int-btn:hover:not(:disabled) { background: var(--bg-2); }
.int-btn:disabled { opacity: .55; cursor: not-allowed; }
.int-btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.int-btn--primary:hover:not(:disabled) { background: var(--accent); filter: brightness(1.06); }
.int-link {
  display: inline-flex; align-items: center; gap: 4px; background: none; border: none; padding: 0;
  color: var(--accent); font-size: 13.5px; font-family: inherit; cursor: pointer; text-decoration: none;
}
.int-link:hover { text-decoration: underline; }
.int-foot { display: flex; gap: 24px; padding-top: 4px; }

.int-block { border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-bottom: 14px; }
.int-block-title { font-size: 13px; font-weight: 600; color: var(--fg); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.int-muted { font-size: 12.5px; color: var(--fg-3); line-height: 1.5; }
.int-conn-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.int-conn-row + .int-conn-row { border-top: 1px solid var(--line); }
.int-conn-av {
  width: 32px; height: 32px; border-radius: 8px; background: var(--bg-2); color: var(--fg-2);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.int-conn-name { font-size: 13.5px; font-weight: 600; color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.int-note { margin-top: 10px; font-size: 12px; color: var(--fg-3); line-height: 1.5; border-left: 3px solid var(--accent); padding-left: 10px; }

.int-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 9999;
  background: var(--card); color: var(--fg); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 18px; font-size: 13px; font-weight: 500; box-shadow: 0 6px 24px rgba(0,0,0,.18);
}

@keyframes intFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1500px) { .int-grid, .int-goals { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1200px) { .int-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } .int-grid, .int-goals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .int-hero { padding: 64px 18px 28px; }
  .int-strip, .int-grid, .int-goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .int-banner { flex-wrap: wrap; }
}


/* Janela do aplicativo (layout do Marketplace) */
.int-modal-ov { position: fixed; inset: 0; z-index: 900; background: rgba(15, 18, 24, .55); display: flex; align-items: center; justify-content: center; padding: 24px; animation: intFade .15s ease; }
.int-modal {
  width: 860px; max-width: 100%; height: min(800px, calc(100vh - 48px)); display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 64px rgba(0,0,0,.28);
  animation: intPop .2s cubic-bezier(.2,.8,.2,1);
}
.int-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.int-modal-title { font-size: 16px; font-weight: 600; color: var(--fg); }
.int-modal-body { flex: 1; overflow-y: auto; padding: 18px 24px 28px; }
.int-modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); }
.int-modal-foot .int-btn { height: 36px; padding: 0 18px; font-size: 14px; }

.int-modal-app { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.int-modal-name { font-size: 21px; font-weight: 500; color: var(--fg); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.int-modal-goals { font-size: 14px; color: var(--fg-3); line-height: 1.5; margin-bottom: 6px; }
.int-modal-by { font-size: 14px; font-weight: 600; color: var(--fg); }
.int-badge { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; border: 1px solid; }
.int-badge--on { color: var(--success); border-color: color-mix(in srgb, var(--success) 45%, transparent); background: color-mix(in srgb, var(--success) 10%, transparent); }
.int-badge--av { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.int-badge--soon { color: var(--fg-3); border-color: var(--line); background: var(--bg-2); }

.int-modal-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.int-modal-tabs button { background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 12px; font-size: 14px; font-family: inherit; color: var(--fg-2); cursor: pointer; }
.int-modal-tabs button:hover { color: var(--fg); }
.int-modal-tabs button.on { color: var(--accent); border-bottom-color: var(--accent); }

.int-carousel { display: flex; align-items: center; gap: 12px; }
.int-car-frame { flex: 1; min-width: 0; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; }
.int-car-arrow { width: 36px; height: 36px; border-radius: 50%; border: none; background: transparent; color: var(--fg-2); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.int-car-arrow:hover { background: var(--bg-2); color: var(--fg); }
.int-car-dots { display: flex; justify-content: center; gap: 10px; margin: 16px 0 0; }
.int-car-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 1.5px solid var(--accent); background: transparent; cursor: pointer; }
.int-car-dots button.on { background: var(--accent); }

.int-slide { width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; animation: intFade .25s ease; }
.int-slide-pair { display: flex; align-items: center; gap: 28px; }
.int-slide-orb { width: 150px; height: 150px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.int-slide-orb img { width: 72px; height: 72px; }
.int-slide-sync { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.int-slide-cap { position: absolute; left: 22px; top: 18px; font-size: 18px; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.2); }
.int-slide-feat { text-align: center; padding: 24px; }
.int-slide-ic { width: 96px; height: 96px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.int-slide-title { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.int-slide-text { font-size: 16px; opacity: .85; }

.int-modal-tagline { text-align: center; font-size: 20px; line-height: 1.5; color: var(--fg-3); max-width: 560px; margin: 32px auto 28px; }
.int-modal-hr { border: none; border-top: 1px solid var(--line); margin: 0 0 24px; }
.int-modal-text { font-size: 15px; line-height: 1.6; color: var(--fg); }
.int-modal-text p { margin: 0 0 14px; }
.int-modal-text h3 { font-size: 15px; font-weight: 600; margin: 20px 0 10px; }
.int-modal-text h3:first-child { margin-top: 0; }
.int-modal-checks { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 12px; }
.int-modal-checks li { display: flex; gap: 8px; }
.int-modal-checks li::before { content: '✓'; color: var(--fg); flex-shrink: 0; }
.int-modal-steps { margin: 0 0 8px; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; }
.int-res { display: flex; flex-direction: column; gap: 4px; }
.int-res a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--fg); text-decoration: none; font-size: 14.5px; }
.int-res a:hover { background: var(--bg-2); }
.int-res a svg { color: var(--fg-3); }

@keyframes intPop { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) {
  .int-slide-orb { width: 90px; height: 90px; } .int-slide-orb img { width: 44px; height: 44px; }
  .int-slide-pair { gap: 12px; } .int-modal-app { flex-direction: column; } .int-car-arrow { display: none; }
}

/* Oficial x não oficial (WhatsApp) */
.int-tag { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; margin-top: 3px; }
.int-tag--of  { color: var(--success); background: color-mix(in srgb, var(--success) 12%, transparent); }
.int-tag--nof { color: #b45309; background: color-mix(in srgb, #f59e0b 16%, transparent); }
[data-theme="dark"] .int-tag--nof { color: #fbbf24; }
.int-modal-name .int-tag { margin-top: 0; }
.int-notice { font-size: 14px; line-height: 1.55; color: var(--fg-2); border: 1px solid var(--line); border-left: 3px solid; border-radius: 8px; padding: 12px 14px; margin: 0 0 20px; }
.int-notice b { color: var(--fg); }
.int-notice--warn { border-left-color: #f59e0b; background: color-mix(in srgb, #f59e0b 6%, var(--card)); }
.int-notice--ok   { border-left-color: var(--success); background: color-mix(in srgb, var(--success) 6%, var(--card)); }
.int-app.has-tag .int-app-desc { -webkit-line-clamp: 2; }

/* WhatsApp — escolher oficial x não oficial */
.int-wa-choose { padding-top: 4px; }
.int-wa-choose-title { font-size: 18px; font-weight: 600; color: var(--fg); margin: 0 0 6px; }
.int-wa-choose-sub { font-size: 14px; color: var(--fg-3); margin: 0 0 20px; }
.int-wa-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.int-wa-opt { display: flex; flex-direction: column; gap: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: var(--card); transition: box-shadow .18s ease, border-color .18s ease; }
.int-wa-opt:hover { box-shadow: var(--card-hover-shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.int-wa-opt-head { display: flex; align-items: center; gap: 12px; }
.int-wa-opt-ic { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.int-wa-opt-name { font-size: 15.5px; font-weight: 600; color: var(--fg); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.int-wa-opt-name .int-tag { margin-top: 0; }
.int-wa-opt-by { font-size: 12.5px; color: var(--fg-4); }
.int-wa-opt > p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.int-wa-opt .int-modal-checks { font-size: 13.5px; gap: 9px; flex: 1; color: var(--fg-2); }
.int-modal-checks li.is-warn { color: #b45309; }
.int-modal-checks li.is-warn::before { content: '!'; color: #b45309; font-weight: 700; }
[data-theme="dark"] .int-modal-checks li.is-warn, [data-theme="dark"] .int-modal-checks li.is-warn::before { color: #fbbf24; }
.int-wa-opt-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 680px) { .int-wa-opts { grid-template-columns: 1fr; } }

/* Desconectar (rodapé da janela) */
.int-btn--off { color: var(--fg-2); }
.int-btn--off:hover:not(:disabled) { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); background: color-mix(in srgb, var(--danger) 6%, var(--card)); }
.int-btn--danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.int-btn--danger:hover:not(:disabled) { background: var(--danger); filter: brightness(1.06); }
.int-modal-foot--confirm { align-items: center; background: color-mix(in srgb, var(--danger) 5%, var(--card)); border-radius: 0 0 12px 12px; }
.int-off-ask { flex: 1; min-width: 0; font-size: 13.5px; line-height: 1.45; color: var(--fg-2); }
.int-off-ask b { color: var(--fg); }

/* Rodapé do cartão: status nunca quebra; fornecedor longo corta com … */
.int-app-foot > :first-child { flex-shrink: 0; white-space: nowrap; }
.int-app-foot .int-app-by { min-width: 0; flex: 1; text-align: right; }

/* WhatsApp oficial — conectar com a Meta ou manualmente */
.int-wa-off { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.int-wa-off .int-notice { margin: 0; font-size: 13px; }
.int-wa-meta-btn { justify-content: center; width: 100%; }
.int-wa-form { display: flex; flex-direction: column; gap: 10px; }
.int-wa-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 500; color: var(--fg-2); }
.int-wa-form label .int-muted { font-weight: 400; font-size: 12px; }
.int-wa-form input { height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg-1); color: var(--fg); font: inherit; font-size: 14px; outline: none; }
.int-wa-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.int-wa-form .int-btn { justify-content: center; }
.int-wa-err { font-size: 13px; line-height: 1.45; color: var(--danger); background: color-mix(in srgb, var(--danger) 7%, var(--card)); border-left: 3px solid var(--danger); border-radius: 6px; padding: 8px 10px; }
.int-link-btn { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 13px; cursor: pointer; }
.int-link-btn:hover { text-decoration: underline; }
@media (max-width: 760px) { .int-wa-form input { font-size: 16px; } }

/* ═══ INTEGRAÇÕES ABERTAS — API, webhooks, Zapier/Make, Google Ads, Conversões do Meta (2026-10-06) ═══ */
.int-op-copy { display: flex; align-items: center; gap: 8px; margin-top: 6px; min-width: 0; }
.int-op-copy code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 12.5px/1.4 ui-monospace, 'JetBrains Mono', monospace; color: var(--fg); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.int-op-fresh { border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--card));
  border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; font-size: 12.5px; color: var(--fg-2); line-height: 1.5; }
.int-op-fresh code { font-family: ui-monospace, monospace; font-size: 12px; }
.int-op-form { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.int-op-form--col { flex-direction: column; align-items: stretch; gap: 12px; }
/* Na coluna, o "flex: 1 1 200px" dos campos virava altura de 200px (buraco entre um campo e outro) */
.int-op-form.int-op-form--col > * { flex: 0 0 auto; }
.int-op-row { display: flex; gap: 10px; flex-wrap: wrap; }
.int-op-row > .int-op-field { flex: 1 1 200px; }
.int-op-field { display: flex; flex-direction: column; gap: 5px; flex: 1 1 200px; min-width: 0; }
.int-op-field > span { font-size: 12px; color: var(--fg-3); font-weight: 500; }
.int-op-field input, .int-op-field select { height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: var(--bg-1); color: var(--fg); font: inherit; font-size: 13px; outline: none; min-width: 0; }
.int-op-field input:focus, .int-op-field select:focus { border-color: var(--accent); }
.int-op-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.int-op-chip { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--fg-2); font: inherit; font-size: 12.5px; cursor: pointer; }
.int-op-chip.on { border-color: var(--accent); color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--card)); }
.int-op-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.int-op-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, monospace; font-size: 11.5px; }
.int-op-good { color: var(--success); }
.int-op-bad { color: var(--danger); }
.int-op-err { width: 100%; font-size: 11.5px; color: var(--danger); margin-top: 2px; word-break: break-word; }
.int-conn-row.is-off { opacity: .6; }
.int-op-log { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.int-op-log summary { cursor: pointer; font-size: 12.5px; color: var(--fg-2); font-weight: 500; }
.int-op-log-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 0; font-size: 12.5px; color: var(--fg); }
.int-op-log-row + .int-op-log-row { border-top: 1px solid var(--line); }
.int-op-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-4); flex: 0 0 auto; }
.int-op-dot.ok { background: var(--success); } .int-op-dot.bad { background: var(--danger); } .int-op-dot.wait { background: var(--accent); }
.int-op-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 12.5px; }
.int-op-table td { padding: 7px 8px; border-top: 1px solid var(--line); vertical-align: top; color: var(--fg-2); }
.int-op-table td:first-child { font: 600 11.5px ui-monospace, monospace; color: var(--accent); width: 56px; }
.int-op-table td:nth-child(2) { font-family: ui-monospace, monospace; color: var(--fg); white-space: nowrap; }
.int-op-pre { margin: 0; padding: 10px 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px;
  font: 11.5px/1.5 ui-monospace, 'JetBrains Mono', monospace; color: var(--fg); overflow-x: auto; white-space: pre; }
.int-op-stages { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.int-op-stage { display: grid; grid-template-columns: 18px 1fr minmax(120px, 200px); align-items: center; gap: 10px; padding: 6px 10px; font-size: 13px; color: var(--fg); }
.int-op-stage + .int-op-stage { border-top: 1px solid var(--line); }
.int-op-stage input[type="text"], .int-op-stage input:not([type]) { height: 30px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line-strong);
  background: var(--bg-1); color: var(--fg); font: inherit; font-size: 12.5px; min-width: 0; }
.int-op-stage input:disabled { opacity: .5; }
.int-op-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg); cursor: pointer; }
@media (max-width: 760px) {
  .int-op-stage { grid-template-columns: 18px 1fr; }
  .int-op-stage input:not([type="checkbox"]) { grid-column: 2; }
  .int-op-field input, .int-op-field select { font-size: 16px; }
  .int-conn-row { flex-wrap: wrap; }
}

.int-sub-title { font-size: 13px; font-weight: 600; color: var(--fg); margin: 18px 0 4px; }
.int-gbtn { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: var(--card); color: var(--fg); font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.int-gbtn:hover:not(:disabled) { background: var(--bg-2); }
.int-gbtn:disabled { opacity: .7; cursor: default; }
.int-op-stage--2 { grid-template-columns: 18px 1fr auto; }
.int-op-manual { margin-top: 4px; }
.int-op-manual > summary { cursor: pointer; font-size: 13px; color: var(--fg-2); font-weight: 500; padding: 6px 0 12px; }

/* Selo Beta — integração pronta, mas sem teste com conta real do fornecedor (2026-10-13) */
.int-tag--beta { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); margin-left: 4px; }
.int-app-top .int-tag--beta { margin-left: 0; }
.int-modal-name .int-tag--beta { margin-left: 6px; }
.int-beta-note { margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--fg-3); max-width: 520px; }

/* ── Estoque de imóveis e Conversões do Google Ads (2026-10-14) ── */
.int-prop-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 10px; }
.int-prop { display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 8px; color: var(--fg); text-decoration: none; min-width: 0; }
.int-prop:hover { background: var(--bg-2); }
.int-prop img, .int-prop-ph { width: 48px; height: 40px; border-radius: 6px; object-fit: cover; flex: none; background: var(--bg-2); display: grid; place-items: center; color: var(--fg-3); }
.int-prop-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12.5px; }
.int-prop-txt b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.int-prop-txt .int-muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; }
.int-gconv-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; }
.int-gconv-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.int-gconv-row + .int-gconv-row { border-top: 1px solid var(--line); }
.int-gconv-stage { flex: 1 1 160px; font-size: 13px; color: var(--fg); min-width: 0; }
.int-gconv-row select { flex: 1 1 200px; height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--bg-1); color: var(--fg); min-width: 0; }
@media (max-width: 760px) {
  .int-gconv-row { flex-wrap: wrap; }
  .int-gconv-row select { font-size: 16px; }
}

/* ── Situação das integrações (2026-10-14) ───────────────────────────────── */
.int-manage-alert { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.int-hp { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 12px; font-weight: 500; color: var(--fg-2); white-space: nowrap; flex: none; }
.int-hp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fg-4); }
.int-hp--ok .int-hp-dot { background: var(--success); }
.int-hp--warn { color: #b45309; border-color: color-mix(in srgb, #f59e0b 40%, var(--line)); }
.int-hp--warn .int-hp-dot { background: #f59e0b; }
.int-hp--error { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.int-hp--error .int-hp-dot { background: var(--danger); }
[data-theme="dark"] .int-hp--warn { color: #fbbf24; }
.int-hsum { display: flex; flex-wrap: wrap; gap: 14px; margin: -4px 0 12px; font-size: 13px; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.int-hsum > span { display: inline-flex; align-items: center; gap: 6px; }
.int-hrow { align-items: flex-start; }
.int-hrow > .int-hp, .int-hrow > .int-status, .int-hrow > .int-btn { margin-top: 6px; }
.int-hrow.is-warn { box-shadow: inset 3px 0 0 #f59e0b; }
.int-hrow.is-error { box-shadow: inset 3px 0 0 var(--danger); }
.int-hrow-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.int-hrow-line { display: flex; flex-direction: column; gap: 1px; }
.int-hrow-title { font-size: 13px; font-weight: 500; color: var(--fg); }
.int-act-row { width: 100%; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; align-items: center; }
.int-act-row:hover { background: var(--bg-2); }
.int-act-av { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--bg-2); color: var(--fg-2); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 760px) {
  .int-hrow { flex-wrap: wrap; }
  .int-hrow-main { flex-basis: calc(100% - 52px); }
  .int-hrow > .int-hp { margin-left: 50px; }
}
