/* Conectee: visual aprovado em 26/10 (referência de mosaico claro). Fundo claro, cartões brancos de canto 24, um cartão preto
   de destaque e UMA cor viva. A paleta ainda vai ser escolhida: a cor viva mora só em --cx-acento (e --cx-acento-tinta, o texto em cima dela).
   Medidas na régua de 4: menu do topo 56 (dentro de 88), conteúdo de 1280, cartões em 4 colunas de 308 com 16. */
:root, :root[data-theme='dark'] {
  color-scheme: light;
  --cx-acento: #D4F84A; --cx-acento-tinta: #111214;
  --cx-fundo: #E9EAED; --cx-cartao: #FFFFFF; --cx-preto: #0F1012; --cx-preto2: #1C1D21; --cx-tinta: #111214; --cx-sub: #6E727A; --cx-linha: #EEEFF1; --cx-suave: #F4F5F7;
  --bg: var(--cx-fundo); --surface: var(--cx-cartao); --surface-solid: var(--cx-cartao); --surface-2: var(--cx-suave); --fg: var(--cx-tinta); --muted: #4E525A; --faint: var(--cx-sub); --line: var(--cx-linha);
  --accent: var(--cx-acento); --on-accent: var(--cx-acento-tinta); --accent-text: var(--cx-tinta); --accent-soft: var(--cx-suave);
  --field: #FFFFFF; --control: #FFFFFF; --control-line: #E2E4E8; --control-hover: #B8BBC1;
  --panel: var(--cx-preto); --panel-2: var(--cx-preto2); --panel-fg: #FFFFFF; --panel-muted: #9A9DA4; --panel-line: rgba(255, 255, 255, .12);
  --shadow: none; --r-lg: 24px; --r-md: 14px; --r-sm: 10px;
}

/* ---------- Casca: menu em pílulas no topo ---------- */
body.cx { background: var(--cx-fundo); }
.cx .app, .cx .side, .cx .mobile-top { display: none; }
.cx-top { position: sticky; top: 0; z-index: 40; padding: 16px 0; background: color-mix(in srgb, var(--cx-fundo) 88%, transparent); backdrop-filter: blur(14px); }
.cx-top-in { width: min(100% - 32px, 1280px); margin: 0 auto; height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.cx-logo .logo { width: 132px; }
.cx-logo .logo-dark { display: none !important; }
.cx-logo .logo-light { display: block !important; }
.cx-pills { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--cx-cartao); }
.cx-pills a { height: 40px; padding: 0 20px; border-radius: 999px; display: flex; align-items: center; font-weight: 500; color: #4A4E56; transition: background .15s ease, color .15s ease; }
.cx-pills a:hover { background: var(--cx-suave); color: var(--cx-tinta); }
.cx-pills a[aria-current='page'] { background: var(--cx-tinta); color: #FFFFFF; }
.cx-right { justify-self: end; display: flex; align-items: center; gap: 8px; }
.cx-switch { height: 44px; padding: 0 16px; border-radius: 999px; display: flex; align-items: center; gap: 8px; background: var(--cx-cartao); font-weight: 600; font-size: 14px; }
.cx-switch .icon { width: 18px; height: 18px; }
.cx .me summary { height: 44px; padding: 0 12px 0 4px; border-radius: 999px; background: var(--cx-cartao); }
.cx .me .avatar { width: 36px; height: 36px; }
.cx .main { min-height: calc(100dvh - 88px); }
.cx .content { width: min(100% - 32px, 1280px); margin: 0 auto; padding: 16px 0 56px; }
.cx .mode-badge { margin: 0; }

/* ---------- Início ---------- */
.i-page { display: grid; gap: 24px; }
.i-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 48px; }
.i-head h1 { font: 600 40px/48px var(--font-display); letter-spacing: -.04em; }
.i-head-act { display: flex; gap: 8px; flex-wrap: wrap; }
.i-pill { height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; background: var(--cx-cartao); font-weight: 600; font-size: 14px; }
.i-pill .icon { width: 18px; height: 18px; }
.i-pill.dark { background: var(--cx-tinta); color: #FFFFFF; }
.i-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 150px 150px 316px; gap: 16px; }
.i-card { position: relative; background: var(--cx-cartao); border-radius: 24px; padding: 24px; min-width: 0; overflow: hidden; }
.i-card h2 { font: 600 16px/24px var(--font-body); letter-spacing: 0; }
.i-arrow { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--cx-linha); color: var(--cx-tinta); }
.i-arrow .icon { width: 16px; height: 16px; }
.i-arrow:hover { background: var(--cx-suave); }
.i-label { font-size: 13px; color: var(--cx-sub); }
.i-big { font: 600 40px/44px var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-top: 6px; }
.i-big small { font-size: 22px; opacity: .5; }
.i-big.sm { font-size: 32px; line-height: 36px; margin-top: 16px; }
.i-note { font-size: 13px; color: var(--cx-sub); margin-top: 4px; }
.i-note b.up { color: #1F9D55; } .i-note b.down { color: #C2410C; }
.i-empty { color: var(--cx-sub); font-size: 14px; margin-top: 16px; max-width: 34ch; }
.i-empty.small { font-size: 13px; }
.i-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 12px; font-weight: 600; background: var(--cx-suave); color: #3A3E46; }
.i-who { flex: 1; min-width: 0; }
.i-who b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.i-who small { display: block; color: var(--cx-sub); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cartão preto: a rede */
.i-net { grid-column: 1; grid-row: 1 / 4; background: var(--cx-preto); color: #FFFFFF; display: flex; flex-direction: column; }
.i-net .i-arrow { border-color: rgba(255, 255, 255, .16); color: #FFFFFF; }
.i-net .i-arrow:hover { background: var(--cx-preto2); }
.i-net .i-label, .i-net .i-note { color: #9A9DA4; }
.i-net .i-note b { color: var(--cx-acento); }
.i-map { width: calc(100% + 16px); margin: 12px -8px 0; height: auto; max-height: 200px; }
.map-ring { fill: none; stroke: rgba(255, 255, 255, .07); }
.map-line { stroke: rgba(255, 255, 255, .16); stroke-width: 1; }
.map-line.on { stroke: var(--cx-acento); stroke-width: 1.6; stroke-dasharray: 3 5; }
.map-dot { fill: #3A3C42; } .map-dot.on { fill: var(--cx-acento); }
.map-pulse { fill: var(--cx-acento); opacity: .45; transform-box: fill-box; transform-origin: center; animation: i-pulse 2.4s ease-out infinite; }
.map-me { fill: #FFFFFF; }
.map-me-txt { fill: var(--cx-tinta); font: 700 13px var(--font-display); }
@keyframes i-pulse { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
.i-net-foot { margin-top: auto; display: grid; gap: 12px; }
.i-link { height: 48px; border-radius: 999px; background: var(--cx-preto2); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px 0 18px; font-size: 14px; min-width: 0; }
.i-link span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.i-link b { color: var(--cx-acento); font-weight: 600; }
.i-round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--cx-preto2); color: #FFFFFF; }
.i-round .icon { width: 18px; height: 18px; }
.i-round:hover { background: #2A2C31; }
.i-round.accent { width: 36px; height: 36px; background: var(--cx-acento); color: var(--cx-acento-tinta); }
.i-round.done { outline: 2px solid var(--cx-acento); outline-offset: 2px; }
.i-share { display: flex; justify-content: space-between; }
.i-pilot { height: 56px; border-radius: 18px; background: var(--cx-preto2); display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.i-pilot b { display: block; font-size: 14px; } .i-pilot small { display: block; color: #9A9DA4; font-size: 12px; }
.i-bolt { color: var(--cx-acento); } .i-bolt .icon { width: 20px; height: 20px; }
.i-switch { margin-left: auto; width: 48px; height: 28px; border-radius: 999px; background: var(--cx-acento); position: relative; flex: none; }
.i-switch::after { content: ""; position: absolute; right: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--cx-tinta); }

/* Fale agora com */
.i-talk { grid-column: 2; grid-row: 1 / 3; padding: 24px 16px 16px; }
.i-talk h2 { padding: 0 8px; }
.i-hot-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 16px; }
.i-hot { height: 56px; border-radius: 16px; display: flex; align-items: center; gap: 10px; padding: 0 10px; }
.i-hot:hover { background: var(--cx-suave); }
.i-hot.top { background: var(--cx-tinta); color: #FFFFFF; }
.i-hot.top .i-av { background: #2A2C31; color: #FFFFFF; }
.i-hot.top small { color: #9A9DA4; }
.i-tag { height: 24px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; background: var(--cx-suave); color: #4A4E56; flex: none; }
.i-hot.top .i-tag { background: var(--cx-acento); color: var(--cx-acento-tinta); }

/* Sua página e De onde vêm */
.i-page-card { grid-column: 3; grid-row: 1; }
.i-src-card { grid-column: 3; grid-row: 2; }
.i-sources { display: flex; gap: 8px; margin-top: 10px; }
.i-sources > div { flex: 1; display: grid; justify-items: center; gap: 2px; }
.i-sources b { font-size: 14px; } .i-sources small { font-size: 11px; color: var(--cx-sub); }
.i-src { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--cx-suave); margin-bottom: 4px; }
.i-src.first { background: var(--cx-tinta); color: #FFFFFF; }
.i-src .icon { width: 18px; height: 18px; }

/* Gráfico do ano */
.i-year { grid-column: 2 / 4; grid-row: 3; }
.i-year-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-right: 44px; }
.i-key { height: 24px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12px; background: var(--cx-suave); color: #4A4E56; }
.i-key.soft { background: none; color: var(--cx-sub); }
.i-chart { width: 100%; height: auto; max-height: 200px; margin-top: 4px; display: block; }
.ch-grid { stroke: var(--cx-linha); }
.ch-area { fill: rgba(17, 18, 20, .07); }
.ch-visits { fill: none; stroke: var(--cx-tinta); stroke-width: 2.4; stroke-linejoin: round; }
.ch-leads { fill: none; stroke: #9A9DA4; stroke-width: 2; stroke-dasharray: 5 5; }
.ch-mark { stroke: var(--cx-tinta); stroke-dasharray: 3 4; }
.ch-dot { fill: var(--cx-acento); stroke: var(--cx-tinta); stroke-width: 2.4; }
.i-months { display: flex; justify-content: space-between; gap: 4px; }
.i-months span { height: 28px; min-width: 36px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; color: var(--cx-sub); }
.i-months span.on { background: var(--cx-tinta); color: #FFFFFF; }

/* Três atalhos e a Atividade */
.i-tile { grid-row: 1; padding: 14px 12px; display: flex; flex-direction: column; justify-content: space-between; }
.i-tile.accent { background: var(--cx-acento); color: var(--cx-acento-tinta); }
.i-tile.dark { background: var(--cx-tinta); color: #FFFFFF; }
.i-tile b { display: block; font-size: 15px; line-height: 18px; } .i-tile small { display: block; font-size: 11px; line-height: 14px; opacity: .75; margin-top: 2px; }
.i-tile-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cx-tinta); color: var(--cx-acento); }
.i-tile.dark .i-tile-ic { background: var(--cx-acento); color: var(--cx-acento-tinta); }
.i-tile-ic .icon { width: 16px; height: 16px; }
.i-act-card { grid-column: 4; grid-row: 2 / 4; overflow: auto; }
.i-day { display: block; margin: 16px 0 6px; font-size: 12px; color: var(--cx-sub); }
.i-act { height: 52px; display: flex; align-items: center; gap: 10px; border-radius: 12px; }
.i-good { font-size: 12px; font-weight: 600; color: #1F9D55; }

/* Os três atalhos dividem a coluna 4 da primeira linha */
.i-grid > .i-tile { grid-column: 4; width: calc((100% - 32px) / 3); }
.i-grid > .i-tile + .i-tile { margin-left: calc((100% - 32px) / 3 + 16px); }
.i-grid > .i-tile + .i-tile + .i-tile { margin-left: calc(((100% - 32px) / 3 + 16px) * 2); }

/* ---------- Celular e telas médias ---------- */
@media (max-width: 1100px) {
  .cx-top-in { grid-template-columns: auto 1fr auto; }
  .cx-pills a { padding: 0 14px; }
  .i-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .i-net { grid-column: 1; grid-row: span 2; }
  .i-talk { grid-column: 2; grid-row: span 2; }
  .i-page-card, .i-src-card { grid-column: auto; grid-row: auto; min-height: 150px; }
  .i-year { grid-column: 1 / -1; grid-row: auto; }
  .i-grid > .i-tile { grid-column: auto; grid-row: auto; width: auto; margin-left: 0 !important; min-height: 120px; }
  .i-act-card { grid-column: 1 / -1; grid-row: auto; max-height: none; }
}
@media (max-width: 760px) {
  .cx-top { padding: 12px 0; }
  .cx-pills, .cx-switch { display: none; }
  .cx-top-in { grid-template-columns: 1fr auto; height: 48px; }
  .cx .content { padding: 8px 0 104px; }
  .i-head h1 { font-size: 30px; line-height: 40px; }
  .i-head-act { display: none; }
  .i-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .i-net, .i-talk, .i-page-card, .i-src-card, .i-year, .i-act-card { grid-column: 1 / -1; grid-row: auto; }
  .i-net { min-height: 380px; }
  .i-grid > .i-tile { grid-column: auto; min-height: 96px; }
  .i-year-head { padding-right: 44px; }
  .cx .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); height: 60px; padding: 6px; gap: 4px; border: 0; border-radius: 999px; background: var(--cx-tinta); }
  .cx .tabbar a { display: grid; place-items: center; border-radius: 999px; color: #9A9DA4; padding: 0; }
  .cx .tabbar a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cx .tabbar a[aria-current='page'] { background: var(--cx-acento); color: var(--cx-acento-tinta); }
}
@media (prefers-reduced-motion: reduce) { .map-pulse { animation: none; } }

/* ---------- Minha página ---------- */
/* Mesma régua do Início: prévia nas colunas 1 e 2, Modelo e Seus dados na coluna 3, Partes na coluna 4; 2 linhas de 316. */
.mp { display: grid; gap: 24px; }
.mp-title { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mp-seg, .mp-devs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--cx-cartao); }
.mp-seg a, .mp-devs button { height: 36px; padding: 0 16px; border-radius: 999px; display: flex; align-items: center; font-size: 14px; font-weight: 500; color: #4A4E56; }
.mp-seg a:hover, .mp-devs button:hover { color: var(--cx-tinta); }
.mp-seg a[aria-current='page'], .mp-devs button[aria-pressed='true'] { background: var(--cx-tinta); color: #FFFFFF; }
.mp-devs { background: var(--cx-suave); }
.mp-devs button { height: 32px; padding: 0 14px; font-size: 13px; }
.mp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 316px 316px; gap: 16px; }
.mp-prev { grid-column: 1 / 3; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 16px; }
.mp-prev-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.mp-frame { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--cx-suave); border: 1px solid var(--cx-linha); }
.mp-bar { height: 32px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--cx-sub); background: var(--cx-cartao); border-bottom: 1px solid var(--cx-linha); }
.mp-view { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.mp-view iframe { position: absolute; top: 0; left: 0; border: 0; background: #FFFFFF; transform-origin: 0 0; pointer-events: none; }

.mp-models { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; }
.mp-models ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.mp-mod { width: 100%; height: 64px; padding: 8px 12px 8px 8px; border-radius: 16px; display: flex; align-items: center; gap: 12px; text-align: left; background: var(--cx-suave); border: 1px solid transparent; transition: border-color .15s ease; }
.mp-mod:hover { border-color: #D6D8DD; }
.mp-mod.on { background: var(--cx-cartao); border-color: var(--cx-tinta); }
.mp-mod-tx { flex: 1; min-width: 0; }
.mp-mod-tx strong { display: block; font-size: 14px; font-weight: 600; }
.mp-mod-tx small { display: block; font-size: 12px; color: var(--cx-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-ok { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cx-acento); color: var(--cx-acento-tinta); }
.mp-ok .icon { width: 14px; height: 14px; }
/* Miniatura do modelo: duas linhas de texto e o bloco principal (formulário, vídeo, perguntas...) no lugar dele. */
.mp-thumb { position: relative; width: 56px; height: 48px; flex: none; border-radius: 10px; background: var(--cx-cartao); border: 1px solid var(--cx-linha); overflow: hidden; }
.mp-mod.on .mp-thumb { background: var(--cx-suave); }
.mp-thumb i { position: absolute; left: 7px; height: 4px; border-radius: 2px; background: #C9CCD2; }
.mp-thumb i:first-child { top: 8px; width: 28px; background: var(--cx-tinta); }
.mp-thumb i + i { top: 15px; width: 20px; }
.mp-thumb b { position: absolute; left: 7px; right: 7px; top: 24px; bottom: 7px; border-radius: 4px; background: var(--cx-acento); }
.mp-thumb-captura i:first-child { width: 14px; }
.mp-thumb-captura i + i { width: 10px; }
.mp-thumb-captura b { left: 26px; top: 8px; }
.mp-thumb-vsl b { background: var(--cx-tinta); }
.mp-thumb-aplicacao b { background: repeating-linear-gradient(to bottom, var(--cx-acento) 0 4px, transparent 4px 7px); }
.mp-thumb-loja b { background: repeating-linear-gradient(to right, var(--cx-acento) 0 12px, transparent 12px 15px); }
.mp-thumb-kit b { background: repeating-linear-gradient(to right, var(--cx-acento) 0 19px, transparent 19px 22px); }

.mp-data { grid-column: 3; grid-row: 2; background: var(--cx-preto); color: #FFFFFF; display: flex; flex-direction: column; }
.mp-data .i-note, .mp-data dt, .mp-data .mp-me small { color: #9A9DA4; }
.mp-data .i-arrow { border-color: rgba(255, 255, 255, .16); color: #FFFFFF; }
.mp-data .i-arrow:hover { background: var(--cx-preto2); }
.mp-me { display: flex; align-items: center; gap: 10px; margin-top: 16px; min-width: 0; }
.mp-me > span:last-child { min-width: 0; }
.mp-me b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-me small { display: block; font-size: 12px; }
.mp-av { background: var(--cx-acento); color: var(--cx-acento-tinta); overflow: hidden; }
.mp-av img { width: 100%; height: 100%; object-fit: cover; }
.mp-dl { margin: 12px 0 0; display: grid; }
.mp-dl div { height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.mp-dl dt { font-size: 12px; flex: none; }
.mp-dl dd { margin: 0; font-size: 13px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-edit { margin-top: auto; height: 40px; flex: none; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; background: var(--cx-acento); color: var(--cx-acento-tinta); }

.mp-parts { grid-column: 4; grid-row: 1 / 3; display: flex; flex-direction: column; }
.mp-parts ol { list-style: none; margin: 16px 0 0; padding: 0; overflow: hidden auto; flex: 1; min-height: 0; }
.mp-part { height: 52px; display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--cx-linha); }
.mp-part:first-child { border-top: 0; }
.mp-n { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--cx-suave); font-variant-numeric: tabular-nums; }
.mp-part-tx { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-part.off .mp-part-tx, .mp-part.off .mp-n { color: #A4A7AE; }
.mp-toggle { display: block; padding: 4px; margin: -4px; border-radius: 999px; }
.mp-switch { position: relative; display: block; width: 40px; height: 24px; border-radius: 999px; background: #D6D8DD; transition: background .15s ease; }
.mp-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; transition: transform .15s ease; }
.mp-toggle[aria-checked='true'] .mp-switch { background: var(--cx-tinta); }
.mp-toggle[aria-checked='true'] .mp-switch::after { transform: translateX(16px); background: var(--cx-acento); }
.mp-empty { color: var(--cx-sub); font-size: 14px; }
.mp-toast { position: fixed; z-index: 60; left: 50%; bottom: 32px; transform: translateX(-50%); height: 44px; padding: 0 18px; border-radius: 999px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; background: var(--cx-tinta); color: #FFFFFF; animation: mp-sai 3.2s ease forwards; }
.mp-toast .icon { width: 18px; height: 18px; color: var(--cx-acento); }
@keyframes mp-sai { 0%, 85% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

@media (max-width: 1100px) {
  .mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .mp-prev { grid-column: 1 / -1; grid-row: auto; height: 560px; }
  .mp-models, .mp-data { grid-column: auto; grid-row: auto; min-height: 316px; }
  .mp-parts { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 760px) {
  .mp-grid { grid-template-columns: minmax(0, 1fr); }
  .mp-prev { height: 520px; }
  .mp-prev-head { flex-direction: column; }
  .mp-toast { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .mp-toast { animation: none; } }

/* ---------- Contatos ---------- */
/* Lista nas colunas 1 a 3 (952 x 648) e ficha preta na coluna 4; no Quadro, 5 colunas de etapas da mesma altura. */
.ct-views a { gap: 8px; }
.ct-views .icon { width: 16px; height: 16px; }
.ct-search { height: 44px; width: 300px; padding: 0 18px; border-radius: 999px; display: flex; align-items: center; gap: 10px; background: var(--cx-cartao); color: var(--cx-sub); }
.ct-search .icon { width: 18px; height: 18px; flex: none; }
.ct-search input { flex: 1; min-width: 0; height: 100%; border: 0; padding: 0; background: none; font: inherit; font-size: 14px; color: var(--cx-tinta); outline: none; box-shadow: none; }
.ct-search:focus-within { box-shadow: 0 0 0 2px var(--cx-tinta); }
.ct-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 648px; gap: 16px; }
.ct-list { grid-column: 1 / 4; display: flex; flex-direction: column; }
.ct-grid > .ct-list:only-child { grid-column: 1 / -1; }
.ct-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.ct-chip { height: 36px; padding: 0 6px 0 14px; border-radius: 999px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #4A4E56; background: var(--cx-suave); }
.ct-chip b { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--cx-cartao); font-variant-numeric: tabular-nums; }
.ct-chip:hover { color: var(--cx-tinta); }
.ct-chip[aria-current='page'] { background: var(--cx-tinta); color: #FFFFFF; }
.ct-chip[aria-current='page'] b { background: var(--cx-acento); color: var(--cx-acento-tinta); }
.ct-table { margin-top: 16px; }
.ct-row { position: relative; height: 58px; display: grid; grid-template-columns: 36px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.5fr) 116px; align-items: center; gap: 12px; border-bottom: 1px solid var(--cx-linha); font-size: 13px; }
.ct-row > * { min-width: 0; }
.ct-th { height: 36px; font-size: 12px; color: var(--cx-sub); }
.ct-row:not(.ct-th):hover { background: var(--cx-suave); }
.ct-row.on { background: var(--cx-suave); border-color: transparent; border-radius: 14px; }
.ct-row:not(.ct-th) { margin: 0 -12px; padding: 0 12px; }
.ct-row.on .i-av { background: var(--cx-cartao); }
.ct-name a { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-name a::after { content: ""; position: absolute; inset: 0; }
.ct-name small { display: block; font-size: 12px; color: var(--cx-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-mut { color: var(--cx-sub); }
.ct-from, .ct-last { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--cx-suave); font-size: 12px; font-weight: 500; white-space: nowrap; }
.ct-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--cx-tinta); }
.ct-row.on .ct-tag:not(.quente):not(.fechou) { background: var(--cx-cartao); }
.ct-tag.quente { background: var(--cx-acento); color: var(--cx-acento-tinta); }
.ct-tag.fechou { background: var(--cx-tinta); color: #FFFFFF; }
.ct-tag.fechou i { background: var(--cx-acento); }
.ct-tag.nao { color: var(--cx-sub); }
.ct-tag.nao i { background: #C3C6CC; }
.ct-zap { position: relative; z-index: 1; height: 34px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 600; background: var(--cx-tinta); color: #FFFFFF; }
.ct-zap .icon { width: 15px; height: 15px; }
.ct-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--cx-sub); }
.ct-pages { display: flex; gap: 2px; }
.ct-pages a { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; color: var(--cx-sub); font-variant-numeric: tabular-nums; }
.ct-pages a:hover { color: var(--cx-tinta); background: var(--cx-suave); }
.ct-pages a[aria-current='page'] { background: var(--cx-tinta); color: #FFFFFF; }
.ct-pages .icon { width: 14px; height: 14px; }
.ct-pages .prev .icon { transform: rotate(180deg); }
.ct-none { margin: 32px 0; color: var(--cx-sub); }

.ct-ficha { grid-column: 4; background: var(--cx-preto); color: #FFFFFF; display: flex; flex-direction: column; }
.ct-back { display: none; }
.ct-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ct-who > span:last-child { min-width: 0; }
.ct-who b { display: block; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-who small { display: block; font-size: 12px; color: #9A9DA4; }
.ct-av-lg { width: 48px; height: 48px; font-size: 15px; background: var(--cx-acento); color: var(--cx-acento-tinta); }
.ct-dl { margin-top: 16px; }
.ct-ficha dt, .ct-label { color: #9A9DA4; }
.ct-label { margin: 14px 0 8px; font-size: 12px; }
.ct-move { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ct-move button { width: 100%; height: 34px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--cx-preto2); color: #C9CBD0; }
.ct-move button:hover { color: #FFFFFF; }
.ct-move button[aria-pressed='true'] { background: #FFFFFF; color: var(--cx-tinta); }
.ct-hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 12px; }
.ct-hist li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
.ct-hist i { width: 8px; height: 8px; border-radius: 50%; background: #4A4D55; }
.ct-hist li:first-child i { background: var(--cx-acento); }
.ct-hist span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-hist small { color: #9A9DA4; }
.ct-msg { margin: auto 0 0; padding: 12px; border-radius: 14px; background: var(--cx-preto2); font-size: 12px; line-height: 1.5; color: #C9CBD0; }
.ct-msg b { display: block; margin-bottom: 4px; color: #FFFFFF; font-weight: 600; }
.ct-zap-lg { margin-top: 12px; height: 48px; flex: none; font-size: 14px; gap: 10px; background: var(--cx-acento); color: var(--cx-acento-tinta); }
.ct-zap-lg .icon { width: 20px; height: 20px; }

/* Quadro: arrasta o cartão para outra coluna e a etapa muda. */
.ct-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; height: 648px; }
.ct-col { min-width: 0; display: flex; flex-direction: column; padding: 16px 12px; border-radius: 24px; background: rgba(255, 255, 255, .55); border: 2px solid transparent; transition: border-color .15s ease; }
.ct-col header { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 12px; }
.ct-col header b { font-weight: 600; }
.ct-col header span { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: var(--cx-cartao); font-variant-numeric: tabular-nums; }
.ct-col.quente header span { background: var(--cx-acento); color: var(--cx-acento-tinta); }
.ct-col.fechou header span { background: var(--cx-tinta); color: #FFFFFF; }
.ct-col.solta { border-color: var(--cx-tinta); border-style: dashed; }
.ct-cards { flex: 1; min-height: 0; overflow: hidden auto; display: flex; flex-direction: column; gap: 8px; }
.ct-k { position: relative; flex: none; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 12px; border-radius: 16px; background: var(--cx-cartao); cursor: grab; }
.ct-k .i-av { width: 32px; height: 32px; font-size: 11px; }
.ct-k-tx a { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-k-tx a::after { content: ""; position: absolute; inset: 0; }
.ct-k-tx small { display: block; font-size: 11px; color: var(--cx-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-k-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--cx-sub); }
.ct-k-zap { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cx-tinta); color: #FFFFFF; }
.ct-k-zap .icon { width: 14px; height: 14px; }
.ct-k.arrasta { opacity: .4; }
.ct-col.nao .ct-k { opacity: .6; }
.ct-more { padding: 8px; text-align: center; font-size: 12px; font-weight: 600; color: var(--cx-sub); }

/* Sem nenhum contato ainda */
.ct-empty { min-height: 648px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.ct-empty-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--cx-acento); color: var(--cx-acento-tinta); }
.ct-empty-ic .icon { width: 32px; height: 32px; }
.ct-empty h2 { font: 600 28px/36px var(--font-display); letter-spacing: -.03em; }
.ct-empty p { max-width: 46ch; color: var(--cx-sub); }
.ct-empty-act { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.ct-empty-act .i-pill:not(.dark) { background: var(--cx-suave); }

@media (max-width: 1100px) {
  .ct-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .ct-list { grid-column: 1; min-height: 0; }
  .ct-ficha { grid-column: 1; display: none; }
  .ct-ficha.aberta { display: flex; order: -1; }
  .ct-ficha.aberta .ct-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; font-weight: 600; color: #C9CBD0; }
  .ct-back .icon { width: 16px; height: 16px; transform: rotate(180deg); }
  .ct-msg { margin-top: 16px; }
  .ct-board { display: flex; height: auto; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .ct-col { flex: none; width: 260px; height: 560px; scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .ct .i-head-act { display: flex; width: 100%; }
  .ct-search { width: auto; flex: 1; }
  .ct .i-head-act .i-pill { display: none; }
  .ct-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 0 24px; scrollbar-width: none; }
  .ct-chip { flex: none; }
  .ct-row { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .ct-row > :nth-child(3), .ct-from, .ct-last, .ct-th { display: none; }
  .ct-zap:not(.ct-zap-lg) { width: 34px; padding: 0; font-size: 0; gap: 0; }
  .ct-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- Piloto automático ---------- */
/* Coluna 1: cartão preto com o interruptor (2 linhas). Colunas 2 a 4 em cima: a trilha. Embaixo: e-mails (2 e 3) e Esperando você (4). */
.pl-status { height: 44px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; background: var(--cx-cartao); }
.pl-status i { width: 10px; height: 10px; border-radius: 50%; background: var(--cx-acento); box-shadow: 0 0 0 4px rgba(17, 18, 20, .06); }
.pl-status.off { color: var(--cx-sub); }
.pl-status.off i { background: #C3C6CC; }
.pl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 316px 316px; gap: 16px; }

.pl-main { grid-column: 1; grid-row: 1 / 3; background: var(--cx-preto); color: #FFFFFF; display: flex; flex-direction: column; }
.pl-main .i-note { color: #9A9DA4; }
.pl-big { display: block; margin: 28px 0 20px; padding: 0; border-radius: 999px; }
.pl-big span { position: relative; display: block; width: 132px; height: 72px; border-radius: 999px; background: var(--cx-acento); transition: background .2s ease; }
.pl-big span::after { content: ""; position: absolute; top: 6px; left: 66px; width: 60px; height: 60px; border-radius: 50%; background: var(--cx-tinta); transition: left .2s ease, background .2s ease; }
.pl-big[aria-checked='false'] span { background: var(--cx-preto2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.pl-big[aria-checked='false'] span::after { left: 6px; background: #4A4D55; }
.pl-big:focus-visible { outline: 2px solid var(--cx-acento); outline-offset: 4px; }
.pl-word { font: 600 40px/44px var(--font-display); letter-spacing: -.04em; }
.pl-main.off .pl-word { color: #9A9DA4; }
.pl-line { margin-top: 10px; font-size: 14px; line-height: 1.5; color: #C9CBD0; }
.pl-week { margin-top: auto; }
.pl-week .i-note { margin-bottom: 6px; }
.pl-num { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.pl-num span { font-size: 13px; color: #9A9DA4; }
.pl-num b { font: 600 22px/28px var(--font-body); font-variant-numeric: tabular-nums; }
.pl-num small { margin-left: 6px; font-size: 13px; color: var(--cx-acento); }

.pl-trail { grid-column: 2 / 5; grid-row: 1; }
.pl-steps { position: relative; list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pl-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 44px; height: 2px; background: repeating-linear-gradient(90deg, #D6D8DD 0 6px, transparent 6px 12px); }
.pl-step { position: relative; min-width: 0; height: 208px; padding: 16px; border-radius: 20px; display: flex; flex-direction: column; background: var(--cx-suave); }
.pl-step b { font-size: 15px; font-weight: 600; }
.pl-step p { margin-top: 2px; font-size: 13px; color: var(--cx-sub); }
.pl-n { position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 600; color: #9A9DA4; }
.pl-ball { width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; display: grid; place-items: center; background: var(--cx-tinta); color: #FFFFFF; }
.pl-ball .icon { width: 24px; height: 24px; }
.pl-step.you .pl-ball { background: var(--cx-acento); color: var(--cx-acento-tinta); }
.pl-step.soon { background: var(--cx-cartao); border: 1.5px dashed #D6D8DD; }
.pl-step.soon .pl-ball, .pl-step.paused .pl-ball { background: var(--cx-suave); color: #9A9DA4; }
.pl-step.paused .pl-ball { background: #E3E5E9; }
.pl-foot { margin-top: auto; min-height: 24px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; }
a.pl-foot:hover { text-decoration: underline; }
.pl-soon { height: 24px; padding: 0 10px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 11px; background: var(--cx-tinta); color: #FFFFFF; }
.pl-muted { color: var(--cx-sub); font-weight: 500; }

.pl-emails { grid-column: 2 / 4; grid-row: 2; display: flex; flex-direction: column; }
.pl-lock { position: absolute; top: 22px; right: 24px; height: 28px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: #4A4E56; background: var(--cx-suave); }
.pl-lock .icon { width: 14px; height: 14px; }
.pl-list { list-style: none; margin: 12px 0 0; padding: 0; }
.pl-row { width: 100%; height: 31px; display: grid; grid-template-columns: 52px minmax(0, 1fr) 150px; align-items: center; gap: 12px; border-top: 1px solid var(--cx-linha); font-size: 13px; text-align: left; border-radius: 0; }
.pl-list li:first-child .pl-row { border-top: 0; }
.pl-row:hover .pl-subj { text-decoration: underline; }
.pl-day { font-size: 12px; font-weight: 500; color: var(--cx-sub); }
.pl-subj { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-pc { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--cx-sub); font-variant-numeric: tabular-nums; }
.pl-bar { position: relative; flex: 1; height: 6px; border-radius: 999px; background: var(--cx-suave); overflow: hidden; }
.pl-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--cx-tinta); }

.pl-wait { grid-column: 4; grid-row: 2; }
.pl-people { list-style: none; margin: 10px 0 0; padding: 0; }
.pl-people li { height: 56px; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--cx-linha); }
.pl-people li:first-child { border-top: 0; }

.pl-dialog { width: min(100% - 32px, 560px); }
.pl-dia { display: block; font-size: 12px; color: var(--cx-sub); margin-bottom: 4px; }
.pl-mail { margin-top: 8px; padding: 20px; border-radius: 16px; background: var(--cx-suave); display: grid; gap: 12px; font-size: 14px; line-height: 1.6; }
.pl-mail-btn { justify-self: start; height: 40px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; background: #1FA855; color: #FFFFFF; }
.pl-mail-btn .icon { width: 16px; height: 16px; }

@media (max-width: 1100px) {
  .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .pl-main { grid-column: 1; grid-row: auto; min-height: 520px; }
  .pl-wait { grid-column: 2; grid-row: auto; }
  .pl-trail, .pl-emails { grid-column: 1 / -1; grid-row: auto; }
  .pl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-steps::before { display: none; }
}
@media (max-width: 760px) {
  .pl-grid { grid-template-columns: minmax(0, 1fr); }
  .pl-main, .pl-wait { grid-column: 1; }
  .pl-main { min-height: 0; }
  .pl-week { margin-top: 24px; }
  .pl-step { height: auto; min-height: 188px; }
  .pl .i-head-act { display: flex; }
  .pl-lock { position: static; align-self: flex-start; margin-top: 12px; }
  .pl-row { grid-template-columns: 44px minmax(0, 1fr) 64px; }
  .pl-bar { display: none; }
}

/* ---------- Minha conta ---------- */
/* Coluna 1: Você (preto, 2 linhas). Em cima: Seu plano (colunas 2 e 3) e Sua empresa (4). Embaixo: Ajuda (2 a 4). */
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--cx-sub); }
.back-link .icon { width: 16px; height: 16px; transform: rotate(180deg); }
.ac-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 316px 316px; gap: 16px; }
.ac-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }

.ac-you { grid-column: 1; grid-row: 1 / 3; background: var(--cx-preto); color: #FFFFFF; display: flex; flex-direction: column; }
.ac-you .i-note, .ac-you dt { color: #9A9DA4; }
.ac-photo { position: relative; width: 112px; height: 112px; margin: 20px 0 16px; padding: 0; border-radius: 50%; display: grid; place-items: center; font: 600 32px/1 var(--font-display); background: var(--cx-acento); color: var(--cx-acento-tinta); }
.ac-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ac-photo span { position: absolute; right: 0; bottom: 4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #FFFFFF; color: var(--cx-tinta); box-shadow: 0 0 0 4px var(--cx-preto); }
.ac-photo span .icon { width: 16px; height: 16px; }
.ac-name { font: 600 28px/34px var(--font-display); letter-spacing: -.03em; }
.ac-dl { margin-top: 16px; }
.ac-actions { margin-top: auto; display: grid; gap: 8px; }
.ac-btn { height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; background: var(--cx-preto2); color: #FFFFFF; }
.ac-btn .icon { width: 18px; height: 18px; }
.ac-btn.accent { background: var(--cx-acento); color: var(--cx-acento-tinta); }

.ac-plan { grid-column: 2 / 4; grid-row: 1; display: flex; flex-direction: column; }
.ac-badge { height: 28px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; background: var(--cx-acento); color: var(--cx-acento-tinta); }
.ac-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ac-mid { align-items: flex-end; margin-top: 14px; }
.ac-price { font: 600 40px/44px var(--font-display); letter-spacing: -.04em; }
.ac-price small { margin-left: 6px; font: 500 14px var(--font-body); letter-spacing: 0; color: var(--cx-sub); }
.ac-price.sm { font-size: 24px; line-height: 32px; }
.ac-renew { text-align: right; font-size: 13px; }
.ac-renew b { display: block; font-weight: 600; }
.ac-renew small { color: var(--cx-sub); }
.ac-time { height: 8px; margin-top: 10px; border-radius: 999px; background: var(--cx-suave); overflow: hidden; }
.ac-time i { display: block; height: 100%; border-radius: 999px; background: var(--cx-tinta); }
.ac-pays { margin-top: 12px; }
.ac-pay { height: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; border-top: 1px solid var(--cx-linha); font-size: 13px; }
.ac-pay span:first-child { color: var(--cx-sub); }
.ac-pay b { font-weight: 600; font-variant-numeric: tabular-nums; }
.ac-paid { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--cx-sub); }
.ac-paid .icon { width: 14px; height: 14px; }
.ac-hot { margin-top: auto; align-self: flex-end; height: 36px; font-size: 13px; background: var(--cx-suave); }
.ac-hot .icon { width: 14px; height: 14px; }

.ac-company { grid-column: 4; grid-row: 1; display: flex; flex-direction: column; }
.ac-logo { width: 64px; height: 64px; margin: 20px 0 14px; border-radius: 18px; display: grid; place-items: center; font: 700 22px var(--font-display); background: var(--cx-tinta); color: #FFFFFF; }
.ac-co { font-size: 18px; font-weight: 600; }
.ac-foot { margin-top: auto; font-size: 12px; color: var(--cx-sub); }

.ac-help { grid-column: 2 / 5; grid-row: 2; }
.ac-help-act { display: flex; gap: 8px; flex-wrap: wrap; }
.ac-help-act .i-pill { height: 40px; font-size: 13px; }
.i-pill.soft { background: var(--cx-suave); }
.ac-videos { margin-top: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ac-video { min-width: 0; }
.ac-cover { height: 118px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, #20232A, var(--cx-preto)) center / cover; color: #FFFFFF; }
.ac-cover i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.ac-cover .icon { width: 18px; height: 18px; }
.ac-video.first .ac-cover:not([style]) { background: var(--cx-acento); color: var(--cx-acento-tinta); }
.ac-video.first .ac-cover:not([style]) i { background: rgba(17, 18, 20, .12); }
.ac-video b { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-video small { display: block; font-size: 12px; color: var(--cx-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-video:hover b { text-decoration: underline; }

@media (max-width: 1100px) {
  .ac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .ac-you { grid-column: 1; grid-row: span 2; }
  .ac-plan, .ac-company { grid-column: 2; grid-row: auto; min-height: 316px; }
  .ac-help { grid-column: 1 / -1; grid-row: auto; }
  .ac-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ac-grid { grid-template-columns: minmax(0, 1fr); }
  .ac-you, .ac-plan, .ac-company { grid-column: 1; grid-row: auto; min-height: 0; }
  .ac-actions { margin-top: 20px; }
  .ac .i-head-act { display: flex; }
  .ac-help .ac-row { flex-direction: column; }
}

/* ---------- Home de quem não está logado (provisória, até a página de venda) ---------- */
.lp-body { min-height: 100dvh; background: var(--cx-fundo); }
.lp-top { width: min(100% - 32px, 1280px); margin: 0 auto; height: 88px; display: flex; align-items: center; justify-content: space-between; }
.lp { width: min(100% - 32px, 880px); margin: 0 auto; padding: 72px 0 96px; display: grid; justify-items: start; gap: 20px; }
.lp-kicker { font-size: 14px; font-weight: 600; color: var(--cx-sub); }
.lp h1 { font: 600 clamp(40px, 7vw, 72px) / 1.02 var(--font-display); letter-spacing: -.045em; text-wrap: balance; }
.lp-sub { font-size: 18px; color: #4E525A; max-width: 46ch; }
.lp-points { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.lp-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.lp-points .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--cx-acento); color: var(--cx-acento-tinta); }
.lp-cta { margin-top: 12px; height: 56px; padding: 0 28px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 16px; font-weight: 600; background: var(--cx-tinta); color: #FFFFFF; }

/* ---------- Escolha da empresa ---------- */
.em-steps { display: flex; gap: 6px; }
.em-steps i { width: 40px; height: 6px; border-radius: 999px; background: #C9CCD2; }
.em-steps i.on { background: var(--cx-tinta); }
.em-head h1 { font: 600 40px/48px var(--font-display); letter-spacing: -.04em; text-wrap: balance; }
.em-head p { margin-top: 6px; font-size: 15px; color: var(--cx-sub); }
.em-error { padding: 12px 16px; border-radius: 14px; background: #FFFFFF; color: #B42318; font-weight: 600; }
.em-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.em-card { position: relative; min-width: 0; min-height: 330px; padding: 24px; border-radius: 24px; display: flex; flex-direction: column; background: var(--cx-cartao); }
.em-card.on { box-shadow: inset 0 0 0 3px var(--cx-tinta); }
.em-check { position: absolute; top: 20px; right: 20px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cx-acento); color: var(--cx-acento-tinta); }
.em-check .icon { width: 16px; height: 16px; }
.em-logo { width: 64px; height: 64px; margin-bottom: 16px; border-radius: 18px; display: grid; place-items: center; font: 700 22px var(--font-display); background: var(--cx-tinta); color: #FFFFFF; }
.em-card strong { font: 600 22px/28px var(--font-display); letter-spacing: -.02em; }
.em-card ul { list-style: none; margin: 14px 0 20px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.em-card li { display: flex; align-items: center; gap: 10px; }
.em-card li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--cx-acento); }
.em-btn { margin-top: auto; height: 44px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--cx-tinta); color: #FFFFFF; }
.em-btn:disabled { background: var(--cx-suave); color: var(--cx-sub); cursor: default; }
.em-note { font-size: 14px; color: var(--cx-sub); }
.ac-swap { margin-top: auto; align-self: flex-start; height: 36px; font-size: 13px; }
.cx-company { height: 44px; padding: 0 14px 0 6px; border-radius: 999px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; background: var(--cx-cartao); }
.cx-company i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; background: var(--cx-tinta); color: #FFFFFF; }
@media (max-width: 1100px) { .em-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .em-grid { grid-template-columns: minmax(0, 1fr); } .em-head h1 { font-size: 30px; line-height: 38px; } .cx-company span { display: none; } .cx-company { padding: 0 6px; } }

/* ---------- Câmbio Automático/Manual ---------- */
/* Pílula preta com dois lados: o ligado acende (Automático na cor viva, Manual em branco); o outro abre a confirmação. */
.cb { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--cx-tinta); }
.cb button { height: 36px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #9A9DA4; }
.cb button:hover:not([aria-pressed='true']) { color: #FFFFFF; }
.cb button b { width: 22px; height: 22px; border-radius: 6px; border: 2px solid currentColor; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.cb button[aria-pressed='true'] { background: var(--cx-acento); color: var(--cx-acento-tinta); cursor: default; }
.cb button:last-child[aria-pressed='true'] { background: #FFFFFF; color: var(--cx-tinta); }
.cb-list { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.cb-list li { display: grid; grid-template-columns: 8px 1fr; gap: 10px; }
.cb-list li::before { content: ""; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--cx-tinta); }
.mp-view.editavel iframe { pointer-events: auto; }
.mp-manual .mp-manual-tx { margin-top: 16px; font-size: 14px; line-height: 1.5; color: #C9CBD0; }
.mp-manual-act { margin-top: auto; display: grid; gap: 8px; }
.mp-manual-act .mp-edit { margin-top: 0; }
.mp-back { height: 40px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--cx-preto2); color: #FFFFFF; }
.mp-link { justify-self: center; font-size: 13px; font-weight: 600; color: #9A9DA4; }
.mp-link:hover { color: #FFFFFF; }
.mp-parts ol[data-sortable] .mp-part { cursor: grab; }
.mp-part.arrasta { opacity: .4; }
.mp-grip { width: 24px; flex: none; display: grid; place-items: center; color: #B5B8BE; }
.mp-grip .icon { width: 18px; height: 18px; }
.mp-pen { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--cx-suave); color: var(--cx-tinta); }
.mp-pen .icon { width: 15px; height: 15px; }
.mp-pen:hover { background: var(--cx-acento); }
.mp-add { margin-top: 12px; height: 40px; flex: none; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; background: var(--cx-suave); }
.mp-add .icon { width: 16px; height: 16px; }
.mp-add-list { list-style: none; margin: 0; padding: 0; display: grid; max-height: 60vh; overflow: auto; }
.mp-add-list li { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--cx-linha); }
.mp-add-list li:first-child { border-top: 0; }
.mp-add-list b { display: block; font-size: 14px; font-weight: 600; }
.mp-add-list small { font-size: 12px; color: var(--cx-sub); }
.mp-add-btn { height: 34px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: var(--cx-tinta); color: #FFFFFF; white-space: nowrap; }
.mp-add-btn .icon { width: 14px; height: 14px; }
.pl-cambio { position: absolute; top: 18px; right: 24px; }
.pl-cambio .cb button { height: 30px; padding: 0 10px; font-size: 12px; }
.pl-cambio .cb button b { width: 18px; height: 18px; font-size: 10px; }
@media (max-width: 760px) {
  .mpg .i-head-act { display: flex; flex-wrap: wrap; }
  .mpg .i-head-act .i-pill { display: none; }
  .pl-cambio { position: static; margin-top: 12px; }
}

/* ---------- Tipos de empresa e Anúncios ---------- */
.em-kind { position: absolute; top: 24px; right: 24px; height: 28px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; background: var(--cx-suave); }
.em-kind.em-mmn { background: var(--cx-tinta); color: #FFFFFF; }
.em-kind.em-afiliacao { background: var(--cx-acento); color: var(--cx-acento-tinta); }
.em-card.on .em-kind { right: 64px; }
.mp-only { font-size: 14px; color: var(--cx-sub); }
.ac-help { grid-column: 2 / 4; }
.ac-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ac-ads { grid-column: 4; grid-row: 2; display: flex; flex-direction: column; }
.ac-ads-form { margin-top: 12px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.ac-px { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; }
.ac-px-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #FFFFFF; background: var(--cx-tinta); }
.ac-px b { display: block; font-size: 12px; font-weight: 600; }
.ac-px input { width: 100%; min-width: 0; height: 34px; margin-top: 4px; padding: 0 10px; border: 1px solid var(--control-line); border-radius: 10px; font: inherit; font-size: 13px; }
.ac-ads-form .i-pill { margin-top: auto; align-self: flex-start; height: 38px; }
@media (max-width: 1100px) { .ac-help { grid-column: 1 / -1; } .ac-ads { grid-column: 1 / -1; grid-row: auto; } }
