
/* M1d: Integrações no estilo novo (abas em pílula, card da Meta, conexão animada, perfis e contas, aba UTMs). Paleta e cards do CLAUDE.md. */
.int-tabs { gap: 8px !important; padding: 8px 24px 12px !important; background: transparent !important; border-bottom: 0 !important; flex-wrap: wrap; }
.int-tabs button { height: 36px !important; padding: 0 16px !important; border-radius: 18px !important; border: 0 !important; background: #1a1a1a !important; color: #d1d5db !important; font-weight: 500; }
.int-tabs button.mx-on { background: #B8F6FD !important; color: #121635 !important; font-weight: 600; } .int-tabs button[disabled] { opacity: .5; cursor: not-allowed; }
.mx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 330px)); gap: 16px; }
.mx-card { background: #1a1a1a; border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 260px; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.mx-ico { height: 96px; border-radius: 6px; background: #0a0a0a; color: #B8F6FD; display: flex; align-items: center; justify-content: center; }
.mx-top { display: flex; align-items: center; gap: 8px; } .mx-top h3 { margin: 0; font-size: 16px; color: #fff; flex: 1; }
.mx-gear { width: 44px; height: 44px; margin: -6px -6px -6px 0; border: 0; border-radius: 6px; background: transparent; color: #919eab; font-size: 22px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } .mx-gear:hover { background: #262626; color: #fff; }
.mx-card p { margin: 0; color: #919eab; font-size: 13px; line-height: 1.5; flex: 1; }
.mx-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mx-alert { background: rgba(245,158,11,.12); color: #f59e0b; border-radius: 6px; padding: 8px 10px; font-size: 12px; } .mx-alert.bad { background: rgba(248,113,113,.12); color: #f87171; }
.mx-note { border-radius: 6px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; max-width: 700px; } .mx-note.ok { background: rgba(16,185,129,.12); color: #10b981; } .mx-note.bad { background: rgba(248,113,113,.12); color: #f87171; }
.mx-ov { z-index: 1150; } .pg-modal.mx-wide { width: min(980px, 100%); }
.mx-x { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .mx-x .pg-h { margin-top: 6px; }
.mx-det { margin-top: 16px; } .mx-det summary { cursor: pointer; color: #B8F6FD; font-size: 13px; min-height: 44px; display: flex; align-items: center; }
.mx-warn { background: rgba(245,158,11,.12); color: #f59e0b; border-radius: 6px; padding: 10px 12px; font-size: 12px; line-height: 1.5; margin-top: 12px; }
.mx-wait { display: flex; align-items: center; gap: 10px; color: #d1d5db; font-size: 13px; margin-top: 8px; } .mx-dot { width: 10px; height: 10px; border-radius: 50%; background: #B8F6FD; animation: igPulse 1.2s ease-in-out infinite; }
@keyframes igPulse { 0%,100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.mx-anim { text-align: center; padding: 8px 4px; } .mx-check { width: 48px; height: 48px; margin: 0 auto 8px; border-radius: 50%; background: #10b981; color: #fff; display: flex; align-items: center; justify-content: center; } .mx-check svg { width: 24px; height: 24px; }
.mx-big { font-size: 56px; font-weight: 700; color: #B8F6FD; line-height: 1.1; font-variant-numeric: tabular-nums; margin-top: 8px; } .mx-bigl { color: #919eab; font-size: 13px; margin-bottom: 12px; }
.mx-alist { list-style: none; margin: 0 0 16px; padding: 0; max-height: 220px; overflow-y: auto; text-align: left; background: #0a0a0a; border-radius: 6px; } .mx-alist:empty { display: none; }
.mx-ali, .mx-more { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid #1a1a1a; font-size: 13px; color: #fff; animation: igIn .25s ease-out; } .mx-ali:first-child { border-top: 0; } .mx-more { color: #919eab; justify-content: center; }
@keyframes igIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mx-av { width: 32px; height: 32px; border-radius: 50%; background: #262626; color: #B8F6FD; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: 0 0 auto; }
.mx-an { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mx-an b { display: block; font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; } .mx-an small { font-size: 11px; color: #919eab; } .mx-an small.bad { color: #f87171; }
.mx-ok { color: #10b981; display: inline-flex; }
.mx-steps { list-style: none; display: flex; justify-content: space-between; margin: 0 0 12px; padding: 0; gap: 8px; position: relative; } .mx-steps li { flex: 1; font-size: 12px; color: #6b7280; padding-top: 18px; position: relative; text-align: center; }
.mx-steps li::before { content: ''; position: absolute; top: 4px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #3a3a3a; z-index: 1; } .mx-steps li::after { content: ''; position: absolute; top: 8px; left: -50%; width: 100%; height: 2px; background: #262626; } .mx-steps li:first-child::after { display: none; }
.mx-steps li.on { color: #fff; } .mx-steps li.on::before { background: #10b981; } .mx-steps li.on::after { background: #10b981; }
.mx-prog { height: 6px; background: #262626; border-radius: 3px; overflow: hidden; margin-bottom: 16px; } .mx-prog i { display: block; height: 100%; width: 0; background: #10b981; }
.mx-cols { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 20px; margin-top: 12px; }
.mx-left { background: #0a0a0a; border-radius: 6px; padding: 12px; align-self: start; } .mx-lh { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6b7280; margin-bottom: 8px; }
.mx-prof { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; background: none; border: 0; border-radius: 6px; padding: 6px 8px; color: #fff; font: inherit; text-align: left; cursor: pointer; } .mx-prof:hover { background: #1a1a1a; } .mx-prof.on { background: #1f2a30; outline: 1px solid #B8F6FD; }
.mx-pn { display: flex; flex-direction: column; min-width: 0; } .mx-pn b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mx-pn small { font-size: 11px; } .mx-pn small.ok { color: #10b981; } .mx-pn small.bad { color: #f59e0b; }
.mx-right { min-width: 0; } .mx-rh { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; } .mx-rt { margin: 0; font-size: 16px; color: #fff; }
.mx-tgl { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: #fff; } .mx-tgl small { color: #919eab; }
.mx-sh { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .06em; color: #6b7280; } .mx-link { background: none; border: 0; color: #B8F6FD; font: inherit; font-size: 12px; cursor: pointer; min-height: 44px; padding: 0 4px; } .mx-link:disabled { opacity: .4; cursor: not-allowed; }
.mx-search { width: 100%; box-sizing: border-box; min-height: 44px; margin-bottom: 10px; }
.mx-list { max-height: 340px; overflow-y: auto; background: #0a0a0a; border-radius: 6px; }
.mx-bm { display: flex; justify-content: space-between; padding: 8px 12px; background: #151515; font-size: 12px; font-weight: 600; color: #d1d5db; position: sticky; top: 0; z-index: 1; } .mx-bm small { color: #919eab; font-weight: 400; }
.mx-acc { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid #1a1a1a; min-height: 52px; } .mx-acc.dim { opacity: .55; }
.mx-bdg { font-size: 11px; background: #262626; color: #d1d5db; border-radius: 4px; padding: 2px 8px; white-space: nowrap; } .mx-id { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: #919eab; white-space: nowrap; }
.mx-acc .cm-sw { flex: 0 0 auto; } .mx-acc .cm-sw:disabled { opacity: .4; cursor: not-allowed; }
.mx-ft { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; } .mx-sp { flex: 1; }
.mx-code { background: #0a0a0a; border-radius: 6px; padding: 14px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: #B8F6FD; white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 14px; }
.mx-ah { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; } .mx-aa { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mx-empty { display: flex; flex-direction: column; gap: 4px; align-items: center; padding: 28px 0; color: #919eab; font-size: 13px; } .mx-empty b { color: #10b981; font-size: 15px; }
@media (max-width: 700px) {
  .int-tabs { flex-wrap: nowrap; overflow-x: auto; padding: 8px 17px 12px !important; } .int-tabs button { height: 44px !important; flex: 0 0 auto; }
  .mx-cols { grid-template-columns: 1fr; } .mx-acc { flex-wrap: wrap; } .mx-acc .mx-an { flex: 1 1 60%; } .mx-big { font-size: 44px; }
  .mx-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .mx-dot, .mx-ali, .mx-more { animation: none; } }
