/* M2Business, estrutura de app (menu lateral + conteúdo em cartões). Carregado DEPOIS de
   styles.css nas telas logadas da empresa: portal, Meus clientes, Usuários, M2Pay, M2CRM.
   O menu lateral é montado por app.js. */

.app-body {
  --bg: #f3f5f9;
  --card-2: #f7f8fb;
  --line: #e7ebf2;
  --line-soft: #eef1f6;
  --shadow-card: 0 1px 2px rgba(16,24,64,.04), 0 6px 20px rgba(16,24,64,.04);
  --side-w: 248px;
  background: var(--bg);
}
.app-body .bg-glow { display: none; }

/* Identidade Grafite + Índigo (2026-11-24, a mesma do app do iPhone): grafite azulado no texto e no
   menu, índigo como cor de ação, fundo com manchas de cor bem suaves e cartões de vidro por cima.
   Só nas telas logadas (.app-body); o site público continua com a paleta própria em styles.css. */
.app-body {
  --ink: #1b1f3b; --text: #1f2445; --navy: #1b1f3b; --navy-2: #2a2f6b;
  --brand: #5b4cff; --brand-2: #6d5fff; --brand-deep: #4a3ce6;
  --rosa: #7c5cff; --ciano: #22c3ee;
  --grad: linear-gradient(135deg, #7b6cff 0%, #5b4cff 100%);
  --grad-2: linear-gradient(135deg, #7b6cff, #5b4cff);
  --grad-hero: linear-gradient(135deg, #1b1f3b 0%, #2a2f6b 55%, #5b4cff 100%);
  --shadow-glow: 0 10px 26px rgba(91,76,255,.32);
  --bg: #f4f5fb;
}
.app-body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 420px at 12% 8%, rgba(91,76,255,.13), transparent 70%),
    radial-gradient(480px 380px at 92% 22%, rgba(124,92,255,.10), transparent 70%),
    radial-gradient(560px 460px at 70% 96%, rgba(34,195,238,.10), transparent 70%);
  animation: m2b-fundo 24s ease-in-out infinite alternate;
}
@keyframes m2b-fundo { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-2%,2%,0) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .app-body::before { animation: none; } }
.app-body .panel, .app-body .kpi { background-color: rgba(255,255,255,.82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: rgba(255,255,255,.9); }
.app-body .sidebar { background: rgba(255,255,255,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.app-body .btn-primary:hover { box-shadow: 0 14px 36px rgba(91,76,255,.42); }
.app-body .btn-ghost:hover, .app-body .icon-btn:hover, .app-body .icon-btn:focus-visible { border-color: var(--brand); background: rgba(91,76,255,.06); }
.app-body .txt:focus, .app-body select:focus, .app-body textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(91,76,255,.12); }
.app-body .side-link, .app-body .side-link:hover { color: var(--text); }

/* Chips (escolha por botões, igual ao app): app.js troca <select data-chips> por botões. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button:not(.chip) { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 13.5px/1 inherit; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: transform .12s, box-shadow .2s, background .2s; }
.chips button:not(.chip):hover { border-color: var(--brand); }
.chips button:not(.chip):active { transform: scale(.97); }
.chips button:not(.chip).on { color: #fff; border-color: transparent; background: linear-gradient(180deg, color-mix(in srgb, var(--chip, #5b4cff) 85%, #fff), var(--chip, #5b4cff)); box-shadow: 0 4px 12px color-mix(in srgb, var(--chip, #5b4cff) 35%, transparent); }
.chips button:not(.chip):disabled { opacity: .6; cursor: default; }

/* Telefone com bandeira e código do país (app.js envolve os inputs [data-phone]). */
.tel-pais { display: flex; align-items: center; gap: 8px; }
.tel-pais .ddi { flex: none; height: 48px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 11px; background: var(--card-2); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--ink); }

/* Comemoração do negócio fechado (igual ao app): confete, troféu e cartão de vidro. */
.festa { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(14,20,48,.25); animation: festa-in .25s ease-out; cursor: pointer; }
.festa .confete { position: absolute; top: -20px; width: 8px; height: 12px; border-radius: 2px; animation: cair linear forwards; }
@keyframes cair { to { transform: translateY(110vh) rotate(720deg); } }
.festa .cartao { position: relative; text-align: center; padding: 26px 34px; border-radius: 28px; background: rgba(255,255,255,.86); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 30px 80px rgba(14,20,48,.25); border: 1px solid rgba(255,255,255,.9); animation: festa-pop .55s cubic-bezier(.2,1.6,.4,1); max-width: 340px; }
.festa .trofeu { font-size: 68px; line-height: 1; display: inline-block; animation: balanca 1s ease-in-out infinite alternate; filter: drop-shadow(0 6px 14px rgba(245,158,11,.5)); }
.festa h3 { margin: 10px 0 4px; font-size: 26px; font-weight: 900; color: var(--ink); }
.festa p { margin: 0; color: var(--muted); font-weight: 600; }
.festa .valor { margin-top: 8px; font-size: 22px; font-weight: 900; color: #0f9a66; }
@keyframes festa-in { from { opacity: 0; } }
@keyframes festa-pop { from { transform: scale(.5); opacity: 0; } }
@keyframes balanca { from { transform: rotate(-7deg) scale(1); } to { transform: rotate(7deg) scale(1.08); } }


/* ---------- layout ---------- */
.app { display: flex; min-height: 100vh; }
.app-main { flex: 1; min-width: 0; padding: 26px 32px 48px; margin-left: var(--side-w); }
.app-wide .app-main { padding-right: 24px; }

/* ---------- menu lateral ---------- */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--side-w); background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 20px 14px 16px; z-index: 40; overflow-y: auto; }
.side-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 18px; text-decoration: none; }
.side-brand .mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--navy); }
.side-brand .nome { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.side-brand .nome strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.side-empresa { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; margin-bottom: 18px; background: var(--card-2); }
.side-empresa .logo-avatar { width: 32px; height: 32px; min-width: 32px; border-radius: 9px; }
.side-empresa .txt-emp { min-width: 0; }
.side-empresa b { display: block; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-empresa span { font-size: 11.5px; color: var(--muted); }
.side-sec { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted-2); padding: 14px 10px 6px; }
.side-link { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; transition: background .15s, color .15s; }
.side-link svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--muted); transition: color .15s; }
.side-link:hover { background: var(--card-2); color: var(--ink); }
.side-link:hover svg { color: var(--ink); }
.side-link.ativo { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(16,24,64,.18); }
.side-link.ativo svg { color: var(--brand); }
.side-link.off { color: var(--muted-2); cursor: default; }
/* submódulo (ex.: Página do anúncio dentro do CRM + Leads Machine): recuado, com uma linha ligando ao pai */
.side-link.side-sub { margin: 2px 0 4px 22px; padding: 8px 10px; font-size: 13px; position: relative; }
.side-link.side-sub::before { content: ''; position: absolute; left: -10px; top: -6px; width: 9px; height: 22px; border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); border-bottom-left-radius: 8px; }
.side-link.side-sub svg { width: 17px; height: 17px; }
.side-link.side-sub.ativo { background: linear-gradient(135deg, #7b6cff, #5b4cff); box-shadow: 0 6px 14px rgba(91,76,255,.3); }
.side-link.side-sub.ativo svg { color: #fff; }
/* botões de submódulo no topo das páginas (Página do anúncio, Etapas do funil): ícone colorido + título + subtítulo */
.btn-sub { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 14px; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); cursor: pointer; font-family: inherit; text-decoration: none; text-align: left; transition: transform .15s, box-shadow .2s; }
.btn-sub:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16,24,64,.12); }
.btn-sub .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--g, linear-gradient(135deg, #7c5cff, #5b4cff)); box-shadow: 0 4px 10px rgba(91,76,255,.3); }
.btn-sub .ic svg { width: 18px; height: 18px; }
.btn-sub b { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.2; }
.btn-sub small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.side-link.off svg { color: var(--line); }
.side-link .tag { margin-left: auto; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); }
.side-foot { margin-top: auto; padding-top: 14px; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 13px; border: 1px solid var(--line); }
.side-user .quem { min-width: 0; flex: 1; }
.side-user b { display: block; font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .quem span { display: block; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-sair { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 5px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; }
.side-sair:hover { background: rgba(224,57,76,.08); color: var(--red); }
.side-sair svg { width: 18px; height: 18px; }

/* barra do celular */
.mob-bar { display: none; }
.side-veu { display: none; }

/* ---------- cabeçalho da página ---------- */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head .crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.page-head .crumb a { color: inherit; text-decoration: none; }
.page-head .crumb a:hover { color: var(--brand-deep); }
.page-head h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.page-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- cartões ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); padding: 20px 22px; margin-bottom: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.panel-head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.panel-head p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.panel-link { font-size: 13px; font-weight: 700; color: var(--brand-deep); text-decoration: none; }
.panel-link:hover { text-decoration: underline; }
.panel.flush { padding: 0; overflow: hidden; }
.panel.flush .panel-head { padding: 18px 22px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-2 > .panel { margin-bottom: 0; }

/* indicadores (KPI) com ícone colorido */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.kpi-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; }
.kpi-ic svg { width: 22px; height: 22px; }
.kpi-lbl { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi-num { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.2; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpi-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.kpi-sub .up { color: var(--green); font-weight: 700; }
.kpi-sub .down { color: var(--red); font-weight: 700; }
.t-blue { background: #eaf0ff; color: #3b63e0; }
.t-green { background: #e6f6ee; color: var(--green); }
.t-purple { background: #f1ebff; color: #7a4fd6; }
.t-orange { background: #eeebff; color: var(--brand-deep); }
.t-red { background: #fdebed; color: var(--red); }
.t-navy { background: #e9ebf3; color: var(--navy); }

/* ---------- botões e campos no app ---------- */
.app-body .btn-primary { padding: 10px 18px; font-size: 14px; border-radius: 11px; box-shadow: 0 6px 16px rgba(91,76,255,.28); }
.app-body .btn-primary.btn-sm { padding: 8px 14px; font-size: 13px; }
.app-body .btn-primary:hover { box-shadow: 0 8px 20px rgba(91,76,255,.36); }
.app-body .btn-ghost { border-radius: 11px; padding: 9px 15px; }
.app-body .btn-ghost.btn-sm { padding: 7px 12px; }
.app-body .txt { height: 42px; font-size: 14px; border-radius: 11px; }
.app-body .field-lbl { font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); }
.busca-box { position: relative; }
.busca-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted-2); pointer-events: none; }
.busca-box .txt { padding-left: 38px; height: 40px; width: 280px; background: #fff; }
.app-body .msg { text-align: left; }

/* ---------- tabelas ---------- */
.app-body .data-table-wrap { border: 0; border-radius: 0; background: transparent; }
.app-body .data-table th { font-size: 11.5px; font-weight: 700; color: var(--muted-2); background: var(--card-2); padding: 11px 14px; text-transform: uppercase; letter-spacing: .4px; }
.app-body .data-table th:first-child { border-top-left-radius: 11px; border-bottom-left-radius: 11px; }
.app-body .data-table th:last-child { border-top-right-radius: 11px; border-bottom-right-radius: 11px; }
.app-body .data-table td { padding: 13px 14px; font-size: 13.5px; }
.app-body .data-table tr:not(:last-child) th { border-bottom: 0; }
.app-body .data-table tbody tr:not(.edit-row):hover td { background: #fafbfd; }
.app-body .data-table tr.edit-row td { background: var(--card-2); }
.app-body .link-btn { color: var(--ink); }
.app-body .link-btn:hover { color: var(--brand-deep); text-decoration: none; }
.cel-pessoa { display: flex; align-items: center; gap: 11px; }
.cel-pessoa .quem b, .cel-pessoa .quem .link-btn { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.cel-pessoa .quem span { display: block; font-size: 12px; color: var(--muted); }

/* avatar com iniciais */
.av { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-size: 12.5px; font-weight: 800; flex-shrink: 0; }
.av.sm { width: 26px; height: 26px; font-size: 10px; }
.av.c0 { background: #eaf0ff; color: #3b63e0; } .av.c1 { background: #e6f6ee; color: #0f8a58; }
.av.c2 { background: #f1ebff; color: #7a4fd6; } .av.c3 { background: #eeebff; color: #d06208; }
.av.c4 { background: #fdebed; color: #c92f41; } .av.c5 { background: #e3f4f8; color: #1a8aa3; }

/* selos */
.app-body .status-pill { font-size: 11.5px; font-weight: 700; padding: 4px 10px; }
.icon-act { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--muted); padding: 0; transition: border-color .15s, color .15s, background .15s; }
.icon-act svg { width: 16px; height: 16px; }
.icon-act:hover { border-color: var(--brand); color: var(--brand-deep); background: #f4f2ff; }
.icon-act.danger:hover { border-color: var(--red); color: var(--red); background: #fdf1f2; }
.icon-act:disabled { opacity: .5; cursor: default; }

/* cartões de módulo (portal) */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-card); padding: 18px; text-decoration: none; color: inherit; transition: border-color .15s, transform .12s, box-shadow .15s; min-height: 150px; }
a.tile:hover { border-color: rgba(91,76,255,.5); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16,24,64,.08); }
a.tile:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tile.off { background: var(--card-2); box-shadow: none; }
.tile.off .kpi-ic { filter: grayscale(1); opacity: .55; }
/* módulos contratados: card colorido em degradê, uma cor por módulo (mesmas da página inicial) */
.m-pay { --c: #12a067; --c2: #0b7f52; }
.m-crm { --c: #2a78d6; --c2: #1a56a8; }
.m-ag  { --c: #7a4ee0; --c2: #5a32b8; }
.m-b2b { --c: #e8801f; --c2: #c2600a; }
.m-vendas { --c: #0e8f8f; --c2: #0a6c6c; }
.t-teal { background: #e3f5f5; color: #0a7a7a; }
.tile.mod { position: relative; overflow: hidden; border: 0; color: #fff; background: linear-gradient(135deg, var(--c) 0%, var(--c2) 100%); }
a.tile.mod:hover { border-color: transparent; box-shadow: 0 14px 32px rgba(16,24,64,.18); }
.tile.mod > :not(.tile-big) { position: relative; }
.tile.mod .tile-big { position: absolute; right: -16px; bottom: -20px; width: 120px; height: 120px; color: rgba(255,255,255,.13); pointer-events: none; }
.tile.mod .tile-big svg { width: 100%; height: 100%; }
.tile.mod .kpi-ic { background: rgba(255,255,255,.18); color: #fff; }
.tile.mod .tile-nome { color: #fff; }
.tile.mod .tile-desc { color: rgba(255,255,255,.9); }
.tile.mod .tile-foot { color: #fff; }
.tile.mod .status-pill { background: rgba(255,255,255,.22); color: #fff; border-color: transparent; }
.tile.mod.off { opacity: .78; box-shadow: none; }
.tile.mod.off .kpi-ic { filter: none; opacity: 1; }
.tile.mod.off .tile-foot { color: rgba(255,255,255,.92); }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 6px; }
.tile-nome { font-size: 15.5px; font-weight: 800; color: var(--ink); }
/* selinho no canto do card: diz de qual módulo o cadastro faz parte */
.tile-modulo { font-size: 10px; font-weight: 800; letter-spacing: .03em; padding: 2px 7px; border-radius: 999px; background: #eeebff; color: var(--brand-deep); }
.tile-desc { font-size: 13px; color: var(--muted); line-height: 1.45; }
.tile-foot { margin-top: auto; padding-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--brand-deep); }
.tile.off .tile-foot { color: var(--muted); font-weight: 600; }
.tile.off .tile-foot a { color: var(--brand-deep); }

/* listas simples dentro de cartões */
.lista { list-style: none; margin: 0; padding: 0; }
.lista li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.lista li:last-child { border-bottom: 0; }
.lista .l-txt { flex: 1; min-width: 0; }
.lista .l-txt b { display: block; font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lista .l-txt span { display: block; font-size: 12px; color: var(--muted); }
.lista .l-dir { text-align: right; font-size: 12px; color: var(--muted); white-space: nowrap; }
.vazio { text-align: center; color: var(--muted); font-size: 13.5px; padding: 22px 0; }

/* formulários inline (novo / editar) */
.form-card { border: 1px solid var(--line); border-radius: 14px; background: var(--card-2); padding: 16px; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.form-grid.tres { grid-template-columns: repeat(3, 1fr); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .field-lbl { margin: 0 0 5px; }
.form-grid .txt, .form-grid select, .form-grid textarea { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); padding: 0 12px; font-family: inherit; font-size: 14px; }
.form-grid textarea { height: auto; min-height: 72px; padding: 10px 12px; resize: vertical; }
.form-acoes { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* diálogos */
dialog.modal { border: 0; border-radius: 20px; padding: 0; width: min(560px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(14,20,48,.22); color: var(--text); }
dialog.modal.wide { width: min(980px, calc(100vw - 32px)); }
dialog.modal::backdrop { background: rgba(14,20,48,.45); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px 14px; border-bottom: 1px solid var(--line-soft); }
.dlg-head h2 { margin: 0; font-size: 18px; }
.dlg-body { padding: 18px 22px; max-height: calc(100vh - 200px); overflow-y: auto; }
.dlg-foot { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; padding: 14px 22px 18px; border-top: 1px solid var(--line-soft); }
.dlg-foot .esq { margin-right: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.x-btn { border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--muted); line-height: 1; padding: 4px 8px; border-radius: 8px; }
.x-btn:hover { background: var(--card-2); }
.dlg-msg { font-size: 13px; margin: 0; }
.dlg-msg.err { color: var(--red); } .dlg-msg.ok { color: var(--green); }

/* indicador em destaque (degradê, como o card colorido das referências) */
.kpi.destaque { background: linear-gradient(135deg, #16215a 0%, #2b3a8f 100%); border-color: transparent; box-shadow: 0 14px 30px rgba(22,33,90,.28); color: #fff; }
.kpi.destaque .kpi-ic { background: rgba(255,255,255,.14); color: #a89fff; }
.kpi.destaque .kpi-lbl, .kpi.destaque .kpi-sub { color: rgba(255,255,255,.75); }
.kpi.destaque .kpi-num { color: #fff; }
.kpi.destaque .kpi-sub .up { color: #7ee2b0; }
.dash-card.destaque { background: linear-gradient(135deg, #16215a 0%, #2b3a8f 100%) !important; border-color: transparent !important; box-shadow: 0 14px 30px rgba(22,33,90,.28) !important; }
.dash-card.destaque .dash-lbl, .dash-card.destaque .dash-sub-lbl { color: rgba(255,255,255,.75) !important; }
.dash-card.destaque .dash-sub-num { color: #fff !important; }

/* card de destaque com avisos em carrossel */
.card-destaque { position: relative; overflow: hidden; border-radius: 20px; padding: 20px 22px; color: #fff; background: linear-gradient(145deg, #16215a 0%, #2d3e99 70%, #3a4fb8 100%); box-shadow: 0 16px 34px rgba(22,33,90,.3); display: flex; flex-direction: column; gap: 8px; min-height: 210px; }
.card-destaque::after { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(91,76,255,.45), transparent 65%); pointer-events: none; }
.card-destaque > * { position: relative; z-index: 1; }
.dest-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.dest-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--navy); }
.dest-ic svg { width: 20px; height: 20px; }
.dest-tag { background: #fff; color: var(--navy); font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 999px; }
.dest-titulo { font-size: 17px; font-weight: 800; line-height: 1.3; }
.dest-texto { font-size: 13.5px; color: rgba(255,255,255,.82); line-height: 1.5; }
.dest-link { color: #a89fff; font-size: 13px; font-weight: 700; text-decoration: none; margin-top: 2px; }
.dest-link:hover { text-decoration: underline; }
.dest-dots { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.dest-dots button { flex: 1; height: 4px; border: 0; border-radius: 4px; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; }
.dest-dots button.on { background: #fff; }

/* faixa de aviso (modo suporte / perfil só leitura) */
.suporte-faixa { display: flex; align-items: center; gap: 10px; background: #f4f2ff; border: 1px solid rgba(91,76,255,.45); color: #8a4705; border-radius: 13px; padding: 10px 14px; margin-bottom: 18px; font-size: 13.5px; }
.suporte-faixa svg { width: 18px; height: 18px; flex-shrink: 0; }
.suporte-faixa span { flex: 1; }
.suporte-faixa button { border: 0; background: var(--navy); color: #fff; font: inherit; font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.suporte-faixa.leitura { background: #eef2ff; border-color: #c9d3ff; color: #2b3a8f; }
.grid-3 { display: grid; grid-template-columns: 1.1fr .9fr 1fr; gap: 18px; }
.grid-3 > .panel { margin-bottom: 0; }

/* prévia do e-mail de boas-vindas (admin e Cadastro de Usuários) */
.bv-meta { display: grid; grid-template-columns: 70px 1fr; gap: 4px 10px; font-size: 13px; margin-bottom: 12px; }
.bv-meta b { color: var(--muted); font-weight: 600; }
.bv-frame { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: 12px; background: #f3f5f9; }
.check-linha { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; margin-right: auto; }
.check-linha input { width: 16px; height: 16px; accent-color: var(--brand); }

/* ---------- responsivo ---------- */
@media (max-width: 1180px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) { .tiles { grid-template-columns: 1fr 1fr; } .grid-2, .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .app-main { margin-left: 0; padding: 16px 16px 40px; }
  .sidebar { transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgba(14,20,48,.25); }
  .app.menu-aberto .sidebar { transform: none; }
  .app.menu-aberto .side-veu { display: block; position: fixed; inset: 0; background: rgba(14,20,48,.35); z-index: 35; }
  .mob-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; top: 0; z-index: 30; background: rgba(243,245,249,.92); backdrop-filter: blur(10px); padding: 10px 16px; margin: -16px -16px 14px; border-bottom: 1px solid var(--line); }
  .mob-bar .side-brand { padding: 0; }
  .mob-menu { border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
  .mob-menu svg { width: 20px; height: 20px; }
  .page-head h1 { font-size: 22px; }
  .busca-box, .busca-box .txt { width: 100%; }
  .panel { padding: 16px; border-radius: 16px; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 13px; gap: 10px; flex-direction: column; }
  .kpi-ic { width: 38px; height: 38px; border-radius: 11px; }
  .kpi-num { font-size: 18px; }
  .tiles { grid-template-columns: 1fr; }
  .form-grid, .form-grid.tres { grid-template-columns: 1fr; }
}

/* seletor segmentado (ex.: Lead / Cliente, Anotação / Tarefa, Nenhum / Existente / Novo) */
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 11px; padding: 3px; background: var(--card-2); }
.seg label { font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--brand); }

/* contatos vinculados a um cliente (Meus clientes) */
.vinc-lista { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.vinc-item { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 5px 6px 5px 5px; background: #fff; font-size: 13px; }
.vinc-item .quem b { display: block; font-size: 13px; color: var(--ink); }
.vinc-item .quem span { display: block; font-size: 11.5px; color: var(--muted); }
.vinc-item .x-btn { font-size: 16px; padding: 2px 6px; }
.vinc-box { border: 1px dashed var(--line); border-radius: 14px; padding: 12px; background: var(--card-2); }

/* Quadradinho, o mascote (app.js → M2B.mascote) */
.mascote .mq-pula { animation: mq-pula 1.4s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
.mascote .mq-festa { animation: mq-festa .5s ease-in-out infinite alternate; transform-origin: 50% 100%; transform-box: fill-box; }
.mascote .mq-respira { animation: mq-respira 3s ease-in-out infinite; transform-origin: 50% 100%; transform-box: fill-box; }
.mascote .mq-treme { animation: mq-treme .25s ease-in-out 6 alternate, mq-pula 1.4s ease-in-out .9s infinite; transform-origin: 50% 100%; transform-box: fill-box; }
.mascote .mq-pisca { animation: mq-pisca 4s infinite; transform-origin: center; transform-box: fill-box; }
.mascote .mq-alerta { animation: mq-alerta .9s ease-in-out infinite alternate; transform-origin: center; transform-box: fill-box; }
.mascote .mq-z { font-weight: 900; fill: #9aa1c8; opacity: 0; animation: mq-z 2.4s ease-in infinite; } .mascote .mq-z.b { animation-delay: .8s; } .mascote .mq-z.c { animation-delay: 1.6s; }
@keyframes mq-pula { 50% { transform: translateY(-6%); } }
@keyframes mq-festa { from { transform: translateY(0) rotate(-6deg); } to { transform: translateY(-14%) rotate(6deg); } }
@keyframes mq-respira { 50% { transform: scale(1.03, .97); } }
@keyframes mq-treme { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@keyframes mq-pisca { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes mq-alerta { to { transform: scale(1.15); } }
@keyframes mq-z { 0% { opacity: 0; transform: translate(0, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, -26px); } }
@media (prefers-reduced-motion: reduce) { .mascote * { animation: none !important; } }
.dest-masc { display: grid; place-items: center; width: 58px; height: 58px; margin: -6px 0 -6px -4px; }
.vazio-masc { display: flex; flex-direction: column; align-items: center; gap: 8px; }
/* cenas: praia e carrinho */
.mascote .mq-sol { animation: mq-sol 2.6s ease-in-out infinite alternate; transform-origin: center; transform-box: fill-box; filter: drop-shadow(0 0 4px rgba(255,213,77,.8)); }
.mascote .mq-guarda { animation: mq-guarda 2.6s ease-in-out infinite alternate; transform-origin: 82px 70px; }
.mascote .mq-deitado { animation: mq-respira 2.6s ease-in-out infinite; }
.mascote .mq-carro { animation: mq-carro .35s ease-in-out infinite alternate; }
.mascote .mq-roda { animation: mq-roda .6s linear infinite; transform-origin: center; transform-box: fill-box; }
.mascote .mq-estrada { animation: mq-estrada .5s linear infinite; }
.mascote .mq-vento { animation: mq-vento .35s ease-in-out infinite alternate; }
@keyframes mq-sol { from { transform: scale(.92); } to { transform: scale(1.1); } }
@keyframes mq-guarda { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
@keyframes mq-carro { from { transform: translateY(1px); } to { transform: translateY(-1.5px); } }
@keyframes mq-roda { to { transform: rotate(360deg); } }
@keyframes mq-estrada { to { stroke-dashoffset: 18; } }
@keyframes mq-vento { from { transform: translateX(8px); opacity: .8; } to { transform: translateX(0); opacity: .15; } }

/* ===== Identidade soft UI (2026-11-25, modelo 1, igual ao app do iPhone) =====
   Um cliente achou o visual anterior com "cara de IA". Agora: fundo gelo, cartões da mesma cor em relevo só
   com sombra (sem borda, degradê nem vidro), preto nos botões e destaques, um único acento azul nos
   detalhes, Poppins no texto e Caveat (cursiva) nos toques pessoais. Texto sempre escuro (leitura no sol).
   Este bloco vem por último e passa por cima do Grafite + Índigo acima. */
.app-body {
  --ink: #111418; --text: #1d2229; --navy: #111418; --navy-2: #2a2f36;
  --brand: #2f6fd6; --brand-2: #3b7be0; --brand-deep: #2558ad; --rosa: #2f6fd6;
  --grad: #111418; --grad-2: #111418; --grad-hero: #111418; --shadow-glow: none;
  --bg: #e6ebf2; --card-2: #e6ebf2; --line: #cfd6e0; --line-soft: #d9dfe8;
  --sombra: 7px 7px 16px #bcc5d3, -7px -7px 16px #ffffff;
  --sombra-p: 4px 4px 9px #bcc5d3, -4px -4px 9px #ffffff;
  --afundado: inset 4px 4px 9px #bcc5d3, inset -4px -4px 9px #ffffff;
  --shadow-card: var(--sombra); --shadow-sm: var(--sombra-p);
  font-family: Poppins, system-ui, sans-serif;
  background: #e6ebf2;
}
.app-body::before { display: none; }
.app-body .panel, .app-body .kpi, .app-body .sidebar, .app-body .tile, .app-body .dash-card, .app-body .job-card, .app-body .bloco, .app-body .eq-ed, .app-body .eq-card, .app-body .dia-col, .app-body .mini, .app-body .vis, .app-body .btn-sub {
  background: #e6ebf2 !important; border-color: transparent !important; box-shadow: var(--sombra) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
.app-body .mini, .app-body .vis, .app-body .job-card, .app-body .dia-col { box-shadow: var(--sombra-p) !important; }
.app-body .sidebar { box-shadow: 8px 0 20px #cfd6e0 !important; }
.app-body .kpi.destaque, .app-body .card-destaque, .app-body .dash-card.destaque { background: #111418 !important; box-shadow: var(--sombra) !important; }
.app-body .card-destaque::after { display: none; }
.app-body .kpi-ic { background: #111418 !important; color: #fff !important; border-radius: 50%; }
.app-body .kpi.destaque .kpi-ic { background: #e6ebf2 !important; color: #111418 !important; }
.app-body h1, .app-body h2, .app-body .kpi-num, .app-body .dest-titulo { font-family: Poppins, sans-serif; letter-spacing: -.01em; }
.app-body .page-head h1 { font-weight: 800; }
.app-body .script { font-family: Caveat, cursive; font-weight: 700; color: #2f6fd6; }
/* menu: bolinhas pretas, item atual afundado */
.app-body .side-link svg { background: #111418; color: #fff !important; border-radius: 50%; padding: 7px; width: 32px; height: 32px; }
.app-body .side-link.ativo, .app-body .side-link.side-sub.ativo { background: #e6ebf2; color: #111418; box-shadow: var(--afundado); }
.app-body .side-link.ativo svg { color: #fff !important; }
.app-body .side-link:hover { background: transparent; }
.app-body .side-link.side-sub svg { width: 28px; height: 28px; padding: 6px; }
/* botões */
.app-body .btn-primary { background: #111418 !important; color: #fff; box-shadow: var(--sombra-p); border-radius: 999px; }
.app-body .btn-primary:hover { box-shadow: var(--sombra); filter: none; }
.app-body .btn-ghost { background: #e6ebf2; border-color: transparent; box-shadow: var(--sombra-p); border-radius: 999px; }
.app-body .btn-ghost:hover { background: #e6ebf2; box-shadow: var(--afundado); }
.app-body .chips button:not(.chip) { background: #e6ebf2; border-color: transparent; box-shadow: var(--sombra-p); }
.app-body .chips button:not(.chip).on { background: var(--chip, #111418); box-shadow: var(--sombra-p); }
.app-body .tabs, .app-body .abas, .app-body .seg { background: #e6ebf2; border-color: transparent; box-shadow: var(--afundado); }
.app-body .tabs button[aria-selected="true"], .app-body .abas button[aria-selected="true"] { background: #111418; color: #fff; box-shadow: none; }
/* campos afundados */
.app-body .txt, .app-body select, .app-body textarea, .app-body .valor-box { background: #e6ebf2; border-color: transparent; box-shadow: var(--afundado); }
.app-body .txt:focus, .app-body select:focus, .app-body textarea:focus { box-shadow: var(--afundado), 0 0 0 2px #2f6fd6; }
/* janelas e tabelas */
.app-body dialog.modal { background: #e6ebf2; }
.app-body .data-table th { background: transparent; }
.app-body .data-table-wrap { background: transparent; }
.app-body .mob-bar { background: rgba(230,235,242,.94); }
.app-body .card-destaque .dest-masc { background: #e6ebf2; border-radius: 16px; width: 58px; height: 58px; margin: 0; }
.app-body .dest-link { color: #8fb3f0; }
/* painel de números no estilo do exemplo de vendas (2026-11-25): cantos bem redondos, destaque verde-limão */
.app-body .kpi { border-radius: 28px; }
.app-body .kpi.destaque { background: #d4ff26 !important; color: #111418; }
.app-body .kpi.destaque .kpi-lbl, .app-body .kpi.destaque .kpi-sub { color: rgba(17,20,24,.7) !important; }
.app-body .kpi.destaque .kpi-num { color: #111418 !important; }
.app-body .kpi.destaque .kpi-ic { background: #111418 !important; color: #d4ff26 !important; }
.app-body .tile { border-radius: 28px; }

/* ===== CRM + Leads no visual novo (2026-11-25), igual ao app ===== */
.app-body .deal, .app-body .cv { background: #e6ebf2 !important; border: 0 !important; box-shadow: var(--sombra-p) !important; color: #111418 !important; border-radius: 24px !important; }
.app-body .cv * { color: #111418 !important; }
.app-body .deal::before, .app-body .deal.novo::before, .app-body .cv::before, .app-body .cv::after { display: none !important; }
.app-body .deal.novo, .app-body .cv.novo { box-shadow: inset 6px 0 0 #d4ff26, var(--sombra-p) !important; }
.app-body .deal:hover, .app-body .cv:hover { box-shadow: var(--sombra) !important; }
.app-body .aviso-leads { background: #111418 !important; box-shadow: var(--sombra-p) !important; }
.app-body .ct4 { background: #111418 !important; border-radius: 22px; box-shadow: var(--sombra-p); }
.app-body .btn-avancar { background: #111418 !important; box-shadow: var(--sombra-p) !important; border-radius: 999px; }
.app-body .tabs3 { background: #e6ebf2 !important; border: 0 !important; box-shadow: var(--afundado) !important; border-radius: 999px; }
.app-body .tabs3 button { border-radius: 999px; color: #111418; }
.app-body .tabs3 button[aria-selected="true"] { background: #111418 !important; color: #fff !important; box-shadow: none !important; }
.app-body .fase-card { background: #e6ebf2 !important; border: 0 !important; box-shadow: var(--sombra) !important; border-radius: 28px; }
.app-body .fase-card.aberto { background: #d4ff26 !important; }
.app-body .fase-card::before { display: none !important; }
.app-body .fase-top small, .app-body .fase-nome { color: #111418 !important; }
.app-body .fase-top .pill { background: #111418 !important; }
.app-body .jornada .feito .bola, .app-body .jornada .atual .bola { background: #111418 !important; animation: none !important; box-shadow: none !important; }
.app-body .jornada .atual .bola { box-shadow: 0 0 0 5px rgba(17,20,24,.15) !important; }
.app-body .btn-sub .ic { background: #111418 !important; box-shadow: none !important; }
.app-body .tabs button[aria-selected="true"], .app-body .vis button.on { background: #111418; color: #fff; }
.app-body .lead-card { background: #e6ebf2 !important; border: 0 !important; box-shadow: var(--sombra-p) !important; border-radius: 24px !important; }

/* ===== Jobs Machine e M2 Agenda no visual novo (2026-11-25), igual ao app ===== */
.app-body .det-topo { background: #111418 !important; border-radius: 26px; }
.app-body .btn-passo { background: var(--passo) !important; box-shadow: none !important; border-radius: 999px; }
.app-body .btn-nav { background: #e6ebf2; border-color: transparent; box-shadow: var(--sombra-p); border-radius: 999px; }
.app-body .btn-nav:hover { background: #e6ebf2; box-shadow: var(--afundado); }
.app-body .job-card { border-left-width: 4px !important; border-left-style: solid !important; border-left-color: var(--st) !important; border-radius: 26px !important; background: #e6ebf2 !important; }
.app-body .mes, .app-body .mes-cel { background: #e6ebf2 !important; border-color: #d9dfe8 !important; }
.app-body .mes-cel.fora { background: #dde3ea !important; }
.app-body .bloco { border-radius: 24px !important; }
.app-body .add-dia { border-color: #c5cdd8; }
.app-body .rec-linha { border-bottom-color: #d4dae3; }

/* correções do portal (2026-11-25): módulo ativo em preto (a letra é branca) e item do menu escolhido bem visível */
.app-body .tile.mod { background: #111418 !important; box-shadow: var(--sombra) !important; }
.app-body a.tile.mod:hover { box-shadow: var(--sombra), 0 0 0 2px #d4ff26 !important; }
.app-body .tile.mod .kpi-ic { background: #d4ff26 !important; color: #111418 !important; }
.app-body .tile.mod .tile-desc { color: rgba(255,255,255,.75); }
.app-body .tile.mod .tile-foot { color: #d4ff26; }
.app-body .tile.mod .status-pill, .app-body .tile.mod .tag, .app-body .tile.mod .pill { background: #d4ff26 !important; color: #111418 !important; }
.app-body .side-link.ativo, .app-body .side-link.side-sub.ativo { background: #111418 !important; color: #fff !important; box-shadow: var(--sombra-p) !important; }
.app-body .side-link.ativo svg { background: #ffffff !important; color: #111418 !important; }
.app-body .side-link:not(.ativo):hover { background: rgba(17,20,24,.05); }
.app-body .panel.crm-cta, .app-body .aviso-leads { background: #111418 !important; color: #fff !important; }
.app-body .panel.crm-cta .fogo, .app-body .aviso-leads .fogo { background: #d4ff26 !important; }

/* CRM do portal mais compacto (2026-11-25): o Poppins é mais largo, então colunas e cartões menores */
.app-body .board { gap: 12px; }
.app-body .col { min-width: 220px !important; max-width: 280px !important; border-radius: 20px; }
.app-body .col-head { padding: 11px 12px 8px; }
.app-body .col-nome { font-size: 13px; }
.app-body .col-total { font-size: 11.5px; }
.app-body .col-body { padding: 4px 8px 8px; gap: 8px; }
.app-body .deal { padding: 10px 11px !important; border-radius: 16px !important; }
.app-body .deal-titulo { font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.app-body .deal-contato { font-size: 11.5px; margin-top: 2px; }
.app-body .deal-foot { margin-top: 7px; }
.app-body .deal-valor { font-size: 13px; font-weight: 700; }
.app-body .deal-etapa { font-size: 11px; margin-top: 4px; }
.app-body .deal .av, .app-body .deal .avatar { width: 24px; height: 24px; font-size: 9.5px; }
.app-body .tabs3 button { padding: 5px 14px; }
.app-body .tabs3 button b { font-size: 13.5px; }
.app-body .tabs3 button span { font-size: 11.5px; }
.app-body .col-add { padding: 6px; font-size: 12px; border-radius: 12px; }
.app-body .col-body > * { flex-shrink: 0; }

/* ===== Mais leveza no portal (2026-11-25) ===== */
/* texto corrido volta para a Inter (mais estreita); Poppins fica nos títulos e números */
.app-body { font-family: Inter, system-ui, sans-serif; }
.app-body h1, .app-body h2, .app-body .kpi-num, .app-body .dest-titulo, .app-body .fase-nome, .app-body .tile-nome, .app-body .valor-topo button { font-family: Poppins, sans-serif; }
/* quadro do CRM ainda mais baixo */
.app-body .deal { padding: 9px 10px !important; }
.app-body .deal-foot { margin-top: 5px; }
.app-body .deal-etapa { margin-top: 3px; }
/* ficha do negócio: compacta */
.app-body #dlgDet .dlg-head { padding: 14px 20px 10px; }
.app-body #dlgDet .dlg-head h2 { font-size: 16px; }
.app-body #dlgDet .dlg-body { padding: 14px 20px; }
.app-body .valor-topo { margin: 0 0 10px; }
.app-body .valor-topo button { font-size: 20px !important; color: #111418 !important; }
.app-body .contatos4 { margin: 8px 0 10px; gap: 6px; }
.app-body .ct4 { display: flex !important; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px !important; font-size: 12px !important; border-radius: 999px !important; }
.app-body .ct4 svg { width: 15px !important; height: 15px !important; margin: 0 !important; display: inline-block !important; }
.app-body .lead-card { padding: 12px 14px !important; margin-bottom: 10px; border-radius: 18px !important; }
.app-body .lead-card h4 { font-size: 10.5px; margin-bottom: 4px; }
.app-body .lead-card .campos { gap: 6px 14px; margin-top: 6px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.app-body .lead-card .campos div span { font-size: 11px; }
.app-body .lead-card .campos div b { font-size: 13px; font-weight: 600; }
.app-body .fase-card { padding: 12px 14px !important; border-radius: 20px !important; margin-bottom: 10px; }
.app-body .fase-nome { font-size: 18px !important; margin: 2px 0 8px !important; }
.app-body .fase-top small { font-size: 10.5px; }
.app-body .jornada .passo { width: 80px; gap: 4px; }
.app-body .jornada .passo::before { top: 13px; }
.app-body .jornada .bola { width: 26px; height: 26px; font-size: 11px; }
.app-body .jornada .passo span { font-size: 11px; }
.app-body .btn-avancar { padding: 10px !important; font-size: 13px !important; }
.app-body #dlgDet .dlg-foot { padding: 10px 20px 14px; }
.app-body #dlgDet .dlg-foot button, .app-body #dlgDet .btn-verde, .app-body #dlgDet .btn-vermelho { padding: 8px 14px; font-size: 13px; border-radius: 999px; }
.app-body #dlgDet textarea { min-height: 56px; font-size: 13px; }
.app-body .tl-item, .app-body .atividade, .app-body #detTimeline > * { font-size: 13px; }
.app-body .board .deal-etapa { display: none; } /* a coluna já diz a etapa */
