/* stylelint-disable */
/* brand-check-bypass: o Painel imita a DS NATIVA do GHL (light · cinza/branco + azul/verde/vermelho semanticos), de proposito, pra parecer nativo do GoHighLevel. NAO segue a marca dark do BOOOT (carvao/creme/laranja). Fonte: _MARCA/specs/ds-painel-login.md. */
/* ============================================================================
   PAINEL BOOOT · pattern CSS
   ----------------------------------------------------------------------------
   EXCECAO DE MARCA DOCUMENTADA: o Painel imita a DS NATIVA do GHL (light),
   nao a marca dark do BOOOT (carvao/creme/laranja/Poppins). E PROPOSITAL: o
   objetivo cravado pelo dono e PARECER NATIVO do GoHighLevel (fundo cinza claro,
   cards brancos, borda fina, radius baixo, tipografia pequena/limpa Inter, AZUL
   so pra navegacao ativa/foco/grafico, verde sucesso, vermelho erro), nao uma
   peca diferente. Por isso este arquivo NAO consome _MARCA/tokens/tokens.css
   (que e a marca dark do Portal) e define o seu proprio set de tokens light.
   Fonte unica desta DS: _MARCA/specs/ds-painel-login.md (secoes 22 = CSS BASE,
   7 app shell, 8 cards, 9 grid, 10 KPIs, 11 badges, 15 estado vazio,
   17 lista de tarefas, 19 icones, 24 checklist de fidelidade).
   Qualquer ajuste visual do Painel volta NAQUELA spec, nunca aqui no olho.
   ============================================================================ */

:root {
  /* Backgrounds */
  --bg-app: #EEF1F5;            /* 10x: meio tom mais escuro pro card branco FLUTUAR (profundidade GHL) */
  --bg-page: #F8F9FA;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-soft: #FAFBFC;
  --bg-table-head: #F9FAFB;    /* 10x: header de tabela/ranking/acoes */
  --bg-track: #F2F4F7;         /* 10x: trilho do funil e capsulas de % */

  /* Textos */
  --text-primary: #2F4056;
  --text-heading: #181E29;
  --text-secondary: #344054;   /* 10x: secundario GHL (era #4A5B64) */
  --text-muted: #475467;       /* 10x: headers/labels com mais contraste (era #747E87 timido) */
  --text-soft: #9CA3AF;        /* 10x: placeholder (era #A7AFBC) */

  /* Bordas */
  --border-default: #D0D5DD;   /* 10x: borda input/select/btn-secondary (casa com GHL) */
  --border-soft: #EAECF0;      /* 10x: divisores hairline */
  --border-card: #EAECF0;      /* 10x: borda do card quase invisivel (a sombra que separa) */

  /* Marca / acao (AZUL ROYAL do GHL · 10x: corrige o azul-claro fraco que parecia estagiario) */
  --brand-blue: #2563EB;       /* era #43A5DC azul-ceu lavado · alias do azul de acao */
  --blue-primary: #2563EB;     /* era #52B3FD · azul-royal = cor de ACAO (btn, funil, nav.active, foco) */
  --blue-600: #1D4FD7;         /* 10x: hover do btn-primary + etapa-chave do funil */
  --blue-disabled: #A8BDF5;    /* 10x: btn-primary disabled (GHL periwinkle dessaturado, NUNCA cinza) */
  --blue-soft: #EFF4FF;        /* era #EAF5FF · realce: pill ativo, badge, rank is-me, avatar, empty-icon */
  --blue-sky: #52B3FD;         /* azul-ceu antigo · SO dado/grafico secundario, NUNCA acao */

  /* Sucesso (verde · so concluido/crescimento) */
  --success-bg: #D3F7DF;
  --success-bg-soft: #E7F8EC;
  --success-text: #0F6B3A;
  --success-text-soft: #27B45E;

  /* Erro / queda */
  --danger-bg: #FEF3F2;        /* 10x: vermelho-soft do GHL (era #FCECEC) */
  --danger-text: #D92D20;      /* 10x: 1 unico quente por tela (era #F05B5B claro demais) */

  /* Atraso / alerta (AMBAR de verdade · 10x, era vermelho) */
  --warning-bg: #FFFAEB;
  --warning-text: #B54708;

  /* Branco */
  --white: #FFFFFF;

  /* Espacamento */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;
  --space-9: 36px;
  --space-10: 40px;

  --dashboard-gap: 14px;       /* 10x: ar entre blocos (era 8 grudado) */
  --card-padding-x: 16px;      /* 10x: respiro interno (era 14 apertado) */
  --card-padding-y: 16px;      /* 10x: (era 12) */
  --page-padding-x: 36px;
  --section-gap: 28px;

  /* Radius, bordas, sombras (radius baixo · sombra quase invisivel) */
  --radius-sm: 5px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --radius-card: 8px;          /* 10x: leitura de card flutuante (era 6) */
  --radius-input: 8px;         /* 10x: escala consistente (era 5) */
  --radius-badge: 999px;
  --radius-chart-bar: 4px;     /* 10x: cantos mais suaves (era 2) */

  --border-width: 1px;

  --shadow-soft: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);   /* 10x v2: 2 camadas · eleva de verdade (juiz L2) */
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 4px 12px rgba(16, 24, 40, 0.10);           /* 10x: hover de card/modal/dropdown */
  --shadow-btn-primary: 0 1px 2px rgba(37, 99, 235, 0.24);  /* 10x: drop-shadow azulada do btn-primary */
  --shadow-topbar: 0 1px 3px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-app);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------------------------------------------------------------- 7 · APP SHELL */
.app-shell {
  min-height: 100vh;
  background: var(--bg-app);
}

/* 7.2 · Topbar (as 4 abas: Analisar / Atender / Atrair / Acessos) */
.topbar {
  height: 88px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-default);
  box-shadow: var(--shadow-topbar);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 36px;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-heading);
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-right: 8px;
  white-space: nowrap;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  height: 88px;
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  background: none;
  padding: 0;
}

.nav-item:hover {
  color: var(--text-heading);
}

/* aba ativa em AZUL */
.nav-item.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

.nav-divider {
  width: 1px;
  height: 52px;
  background: var(--border-default);
}

/* 7.3 · Area de pagina */
.page {
  padding: 24px 28px;
  background: var(--bg-page);
}

.page-header {
  margin-bottom: 28px;
}

/* 12.1 · Filtros rapidos do dashboard (quick filters · GHL-nativo · linha de selects sob o header) */
.page-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.page-title {
  margin: 0;
  color: var(--text-heading);
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-description {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

/* ---------------------------------------------------------------- 9 · GRID DASHBOARD */
.dashboard {
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--dashboard-gap);
  background: var(--bg-app);
}

.col-12 { grid-column: span 12; }
.col-9 { grid-column: span 9; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }

/* ---------------------------------------------------------------- 8 · CARDS */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.card-header {
  min-height: 36px;
  padding: 12px 14px 6px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.card-header-with-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-title {
  margin: 0;
  color: var(--text-heading);
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
}

.card-subtitle {
  margin-top: 2px;
  color: var(--text-primary);
  font-size: 9px;
  line-height: 13px;
  font-weight: 400;
}

.card-content {
  padding: 14px 16px;
}

/* 8.1 · Tamanhos */
.card-large  { min-height: 260px; }
.card-medium { min-height: 320px; }
.card-short  { min-height: 150px; }
.card-tall   { min-height: 410px; }
.card-kpi    { min-height: 132px; display: flex; flex-direction: column; }

/* ---------------------------------------------------------------- 10 · KPIs */
.kpi {
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.kpi-xl {
  color: var(--text-primary);
  font-size: 82px;
  line-height: 92px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.kpi-lg {
  color: var(--text-primary);
  font-size: 56px;
  line-height: 64px;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.kpi-sm {
  color: var(--text-primary);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.kpi-center {
  height: 100%;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.kpi-top-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 16px;
}

/* 10.3 · KPI-herói uniforme · os 4 da fileira no MESMO peso (40px · padrao SaaS), nao 82 vs 24 */
.kpi-hero {
  color: var(--text-heading);
  font-size: 40px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* o numero desce pro canto inferior-esquerdo, badge na MESMA base · mata o oceano de branco */
.kpi-foot {
  margin-top: auto;
  padding: 6px 16px 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.kpi-foot .metric-change {
  margin-top: 0;
}

.kpi-caption {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 14px;
  font-weight: 400;
}

/* GATE DE SANIDADE (a analise se recusa a afirmar numero sem base · _MODELO-ANALISE-SENIOR §9).
   O KPI fica "a confirmar" e um callout ambar explica por que + pede o dado real. E o coracao
   da confianca: o Painel nunca mente um numero. */
.kpi.kpi-gated {
  color: var(--text-soft);
  font-size: 22px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.kpi-gate {
  margin: 0 16px 16px;
  padding: 10px 12px;
  background: var(--warning-bg);
  border: 1px solid #FEDF89;
  border-radius: 8px;
  color: var(--warning-text);
  font-size: 12px;
  line-height: 17px;
  font-weight: 400;
}
.kpi-gate-tag {
  display: block;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.01em;
  margin-bottom: 3px;
}
/* nota discreta sob uma linha do funil (contexto honesto: "95% cadastro manual") */
.funnel-nota {
  display: block;
  color: var(--text-soft);
  font-size: 10px;
  line-height: 13px;
  font-weight: 400;
  margin-top: 2px;
}
/* linha do funil que o gate acende (etapa nao instrumentada · ⚪ nao medivel) */
.funnel-row.is-gated .funnel-label { color: var(--warning-text); }
.funnel-row.is-gated .funnel-value { color: var(--warning-text); font-weight: 600; }
.funnel-gate {
  grid-column: 1 / -1;
  margin: 2px 0 6px;
  padding: 8px 10px;
  background: var(--warning-bg);
  border-radius: 6px;
  color: var(--warning-text);
  font-size: 11px;
  line-height: 15px;
}
/* acao "ponto forte" (o modelo tambem aponta o que esta BOM · verde GHL, reusa tokens) */
.action-bar.ok { background: var(--success-text-soft); }
.action-tag.ok { color: var(--success-text); background: var(--success-bg-soft); }

/* card-flex: card em coluna com o corpo esticando e o botao ancorado embaixo (usado pelo card meta) */
.card-flex { display: flex; flex-direction: column; height: 100%; }
.card-flex .meta-body { flex: 1 1 auto; }

/* META · dirigido por meta · 3 numeros (meta, ativos azul-claro, novos azul-vivo) = crescimento c/ BOOOT */
.meta-body { padding: 4px 16px 12px; }
.meta-numbers { display: flex; align-items: baseline; gap: 10px; }
.meta-alvo { color: var(--text-muted); font-size: 15px; font-weight: 500; }
.meta-track { display: flex; height: 12px; background: var(--bg-track); border-radius: 999px; overflow: hidden; margin: 12px 0 10px; }
.meta-seg { height: 100%; transition: width .4s ease; }
.meta-seg-base { background: var(--blue-sky); }
.meta-seg-novos { background: var(--blue-primary); }
.meta-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 10px; }
.meta-leg { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); }
.meta-leg b { color: var(--text-heading); font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.dot-ativos { background: var(--blue-sky); }
.dot-novos { background: var(--blue-primary); }
.meta-proj { color: var(--text-secondary); font-size: 13px; line-height: 19px; margin: 0; }
.meta-cta { margin: auto 16px 16px; }

/* (o antigo card DIAGNOSTICO / .diag-* foi deletado na onda 1 do coracao · o gargalo vive agora
   dentro de "Sua semana" · .sua-semana-* mais abaixo · zero-residuo) */

/* RANKING · "Seu resultado" (lifetime) + top 10 com PLANO, sem posicao propria (ajuste 2) */
.rank-mine { padding: 4px 4px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--border-soft); }
.rank-mine-num { font-size: 30px; font-weight: 600; color: var(--blue-primary); letter-spacing: -0.02em; }
.rank-mine-lbl { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.rank-plano { font-size: 10px; font-weight: 600; color: var(--text-muted); background: var(--bg-track); padding: 1px 6px; border-radius: 999px; margin-left: 6px; }

/* ---------------------------------------------------------------- 11 · BADGES */
.metric-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}

.badge-positive,
.badge-negative,
.badge-late {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 17px;
  padding: 0 7px;
  border-radius: var(--radius-badge);
  font-size: 9px;
  line-height: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-positive {
  background: var(--success-bg-soft);
  color: var(--success-text-soft);
}

.badge-negative {
  background: var(--danger-bg);
  color: var(--danger-text);
}

.badge-late {
  background: var(--warning-bg);
  color: var(--warning-text);
}

.badge-context {
  color: var(--text-primary);
  font-size: 9px;
  line-height: 12px;
}

.badge-status-success {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--success-bg);
  color: var(--success-text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}

/* ---------------------------------------------------------------- 12 · FILTROS / SELECTS */
.filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.select-filter {
  height: 26px;
  min-width: 116px;
  padding: 0 10px;
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-input);
  color: var(--text-secondary);
  font-size: 9px;
  line-height: 13px;
  font-weight: 400;
}

.select-filter:hover {
  background: var(--bg-card-soft);
  border-color: #D7DDE4;
}

/* ---------------------------------------------------------------- 14 · GRAFICOS (funil) */
.chart-bar {
  background: var(--blue-primary);
  border-radius: 2px 2px 0 0;
}

.chart-label {
  color: var(--text-muted);
  font-size: 8px;
  line-height: 10px;
  font-weight: 400;
}

/* funil horizontal (barras azuis · KPI no apoio, nao na competicao) */
.funnel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 116px 1fr 64px;
  align-items: center;
  gap: 12px;
}

.funnel-label {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.funnel-label.is-key {
  color: var(--text-heading);
}

.funnel-track {
  height: 28px;
  background: var(--border-soft);
  border: 0;
  border-radius: var(--radius-chart-bar);
  overflow: hidden;
}

.funnel-fill {
  display: block;
  height: 100%;
  background: var(--brand-blue);
  border-radius: var(--radius-chart-bar);
  min-width: 4px;
}

.funnel-fill.is-key {
  background: #2F86C2;
}

.funnel-fill.is-zero {
  background: var(--border-default);
  min-width: 0;
}

.funnel-value {
  color: var(--text-heading);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  text-align: right;
}

/* % do topo que chegou na etapa (padrao do widget Horizontal Bar do GHL) */
.funnel-pct {
  display: block;
  margin-top: 1px;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 13px;
  font-weight: 500;
}

/* ---------------------------------------------------------------- 13 · RANKING (lista do moat) */
.rank-list {
  display: flex;
  flex-direction: column;
}

.rank-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 9px 4px;
  border-top: 1px solid var(--border-soft);
}

.rank-row:first-child {
  border-top: 0;
}

.rank-pos {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  text-align: center;
}

.rank-name {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-value {
  color: var(--text-heading);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.rank-row.is-me {
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
  border-top-color: transparent;
}

.rank-row.is-me .rank-pos,
.rank-row.is-me .rank-name,
.rank-row.is-me .rank-value {
  color: var(--brand-blue);
}

.rank-you {
  display: inline-flex;
  align-items: center;
  height: 16px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: var(--radius-badge);
  background: var(--brand-blue);
  color: var(--white);
  font-size: 8px;
  line-height: 12px;
  font-weight: 600;
  vertical-align: middle;
}

/* ---------------------------------------------------------------- 15 · ESTADO VAZIO */
.empty-state {
  height: 100%;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.empty-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-text {
  margin-top: 10px;
  color: var(--text-heading);
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
}

.empty-hint {
  margin-top: 4px;
  max-width: 220px;
  color: var(--text-muted);
  font-size: 9px;
  line-height: 13px;
  font-weight: 400;
}

/* ---------------------------------------------------------------- 16 · ESTADO DE PERMISSAO / ERRO */
.permission-state {
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.permission-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: #FFECEC;
  color: var(--danger-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.permission-text {
  max-width: 150px;
  color: var(--text-primary);
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
}

/* ---------------------------------------------------------------- 17 · LISTA DE TAREFAS (onboarding) */
.task-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.task-header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.task-header-title {
  margin: 0;
  color: var(--text-heading);
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
}

.task-progress {
  color: var(--text-muted);
  font-size: 9px;
  line-height: 13px;
  font-weight: 400;
}

/* barra de progresso do checklist (4px · +22% de conclusao · Userflow) */
.task-progress-wrap {
  padding: 0 14px 10px;
}

.task-progress-track {
  height: 4px;
  border-radius: 999px;
  background: var(--border-soft);
  overflow: hidden;
}

.task-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--success-text-soft);
  min-width: 4px;
  transition: width .3s ease;
}

.task-row {
  min-height: 54px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border-soft);
}

.task-checkbox {
  width: 14px;
  height: 14px;
  border: 1px solid var(--border-card);
  border-radius: 3px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
}

.task-checkbox.is-done {
  background: var(--success-bg-soft);
  border-color: var(--success-text-soft);
  color: var(--success-text-soft);
}

.task-body {
  min-width: 0;
}

.task-title {
  color: var(--text-heading);
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
}

.task-description {
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 9px;
  line-height: 13px;
  font-weight: 400;
}

.task-meta {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 8px;
  line-height: 11px;
  font-weight: 400;
}

.task-menu-icon {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
}

/* botao RECOLHER dos primeiros-passos (o dono 06/jul: "no minimo um botao de recolher · ocupa
   o topo da parte mais importante"). Light · so tokens. Ao recolher, some a barra + as linhas
   e fica so o header (1 linha), liberando o topo do Analisar pra inteligencia. */
.task-header-controls { display: inline-flex; align-items: center; gap: 10px; }
.task-collapse {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  background: var(--bg-page);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-input);
  color: var(--text-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.task-collapse:hover { background: var(--bg-app); color: var(--text-heading); }
.task-collapse .icon { width: 14px; height: 14px; transition: transform .2s ease; }
.task-card.is-collapsed .task-collapse .icon { transform: rotate(-90deg); }
.task-card.is-collapsed .task-progress-wrap,
.task-card.is-collapsed #tasks { display: none; }

/* botao de acao da tarefa (Conectar / Ativar) · azul = acao */
.task-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  width: 124px;            /* LARGURA PADRAO FIXA · todo botao igual · NUNCA encolhe/cresce com o texto */
  padding: 0 10px;
  border: 1px solid var(--brand-blue);
  border-radius: var(--radius-input);
  background: var(--brand-blue);
  color: var(--white);
  font-size: 10px;
  line-height: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 0 auto;          /* o flex do container nao estica nem encolhe o botao */
}

.task-action:hover {
  filter: brightness(0.96);
}

/* ---------------------------------------------------------------- 18 · ACOES RECOMENDADAS (lista datada · alerta GHL · vermelho/ambar) */
.action-list {
  max-height: 248px;
  overflow-y: auto;
}

.action-row {
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--border-soft);
}

.action-row:first-child {
  border-top: 0;
}

.action-bar {
  border-radius: 2px;
}

.action-bar.urgente {
  background: var(--danger-text);
}

.action-bar.atencao {
  background: var(--warning-text);
}

.action-main {
  min-width: 0;
}

.action-text {
  color: var(--text-heading);
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
}

.action-meta {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-tag {
  font-size: 8px;
  line-height: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.action-tag.urgente {
  color: var(--danger-text);
}

.action-tag.atencao {
  color: var(--warning-text);
}

.action-date {
  color: var(--text-muted);
  font-size: 9px;
  line-height: 12px;
}

.action-empty {
  padding: 24px 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 10px;
}

.task-action.is-done {
  background: var(--white);
  border-color: var(--border-card);
  color: var(--success-text-soft);
  cursor: default;
}

.task-action.is-done:hover {
  filter: none;
}

/* ---------------------------------------------------------------- pendencia de ativacao (cartao da regua · TEXTOS §5) */
.activation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.activation-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.activation-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--blue-soft);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.activation-title {
  color: var(--text-heading);
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
}

.activation-sub {
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 9px;
  line-height: 13px;
  font-weight: 400;
}

/* ---------------------------------------------------------------- 19 · ICONES (line · lucide · NUNCA emoji) */
.icon {
  width: 14px;
  height: 14px;
  stroke-width: 1.75;
  color: var(--text-muted);
  flex: none;
}

.icon-lg {
  width: 20px;
  height: 20px;
}

.icon-empty {
  color: var(--blue-primary);
}

.icon-danger {
  color: var(--danger-text);
}

/* ---------------------------------------------------------------- 22 · responsividade */
@media (max-width: 1024px) {
  .col-9,
  .col-8,
  .col-6,
  .col-5,
  .col-4,
  .col-3,
  .col-2 {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .dashboard {
    grid-template-columns: 1fr;
  }

  .col-12,
  .col-9,
  .col-8,
  .col-6,
  .col-5,
  .col-4,
  .col-3,
  .col-2 {
    grid-column: span 1;
  }

  .topbar {
    height: auto;
    min-height: 72px;
    padding: 0 20px;
    gap: 16px;
    overflow-x: auto;
  }

  .topbar-nav {
    gap: 20px;
  }

  .nav-item {
    height: 72px;
    font-size: 16px;
    white-space: nowrap;
  }

  .page {
    padding: 28px 20px;
  }

  .page-title {
    font-size: 28px;
    line-height: 36px;
  }

  .funnel-row {
    grid-template-columns: 96px 1fr 40px;
    gap: 8px;
  }

  .task-action {
    width: 100%;
  }

  .kpi-hero {
    font-size: 32px;
    line-height: 36px;
  }
}

/* ---------------------------------------------------------------- MODAL · Conectar WhatsApp
   Popup que abre o link Stevo (smv2-wl) num iframe contido, de forma sutil, sem
   tirar o cliente do Painel. O fundo navy do Stevo vive DENTRO do iframe (origem
   deles, cross-origin); a moldura e a DS light do Painel. Framing liberado:
   o smv2-wl responde Content-Security-Policy: frame-ancestors * (verificado 29/jun). */
.wa-modal {
  /* moldura em CARVAO (marca dark do BOOOT) pra o navy do Stevo encostar e ler
     como uma superficie escura so. Valores espelham _MARCA/tokens/tokens.css
     (carvao #1D1D1F, creme #E9DCC9). Permitido aqui: este arquivo ja tem
     brand-check-bypass no topo (Painel = excecao de marca documentada). */
  --wa-carvao: #1D1D1F;
  --wa-creme: #E9DCC9;
  --wa-creme-muted: rgba(233, 220, 201, 0.55);
  --wa-creme-faint: rgba(233, 220, 201, 0.32);
  --wa-hairline: rgba(233, 220, 201, 0.10);
  --wa-hairline-strong: rgba(233, 220, 201, 0.16);
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wa-modal[hidden] {
  display: none;
}

/* garante que o atributo hidden vença display:block/flex dos filhos (frame/empty) */
.wa-modal [hidden] {
  display: none !important;
}

.wa-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 30, 41, 0.55);
}

.wa-modal-card {
  position: relative;
  width: 412px;
  max-width: 92vw;
  height: min(680px, 90vh);   /* comporta o QR do Stevo (mais alto que o estado conectado) · responsivo */
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: var(--wa-carvao);
  border: 1px solid var(--wa-hairline-strong);
  border-radius: 16px;
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

/* X flutuante (sem header) · canto superior direito, sobre o carvao */
.wa-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 29, 31, 0.72);
  border: 1px solid var(--wa-hairline-strong);
  border-radius: var(--radius-pill);
  color: var(--wa-creme-muted);
  cursor: pointer;
  font-family: inherit;
}

.wa-modal-close:hover {
  color: var(--wa-creme);
  background: var(--wa-carvao);
}

.wa-modal-body {
  position: relative;
  flex: 1;
  min-height: 0;
  background: var(--wa-carvao);
}

.ativos-card { height: auto; max-height: 90vh; }
.ativos-body { display: flex; flex-direction: column; gap: 12px; padding: 34px 26px 26px; background: var(--wa-carvao); }
.ativos-title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; color: var(--wa-creme); }
.ativos-hint { margin: 0 0 6px; font-size: 13px; line-height: 1.5; color: var(--wa-creme-muted); }
.ativos-input { box-sizing: border-box; width: 100%; padding: 14px; font: inherit; font-size: 24px; font-weight: 700; text-align: center; color: var(--wa-carvao); background: var(--wa-creme); border: 1.5px solid var(--wa-hairline-strong); border-radius: var(--radius-input); }
.ativos-input:focus { outline: none; border-color: var(--blue-sky); }
.ativos-salvar { align-self: stretch; margin-top: 4px; }
.ativos-msg { margin: 2px 0 0; min-height: 18px; font-size: 13px; text-align: center; color: var(--wa-creme-muted); }

.wa-modal-frame {
  display: block;
  width: 100%;
  height: 100%;       /* enche o card (que tem altura definida e responsiva) · sem clipar o QR */
  border: 0;
}

.wa-modal-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  padding: 24px;
}

.wa-modal-empty-text {
  color: var(--wa-creme);
  font-size: 11px;
  line-height: 15px;
  font-weight: 600;
}

.wa-modal-empty-hint {
  max-width: 220px;
  color: var(--wa-creme-muted);
  font-size: 9px;
  line-height: 13px;
  font-weight: 400;
}

/* trava o scroll do fundo enquanto o modal esta aberto */
body.wa-open {
  overflow: hidden;
}

/* botao de acao da tarefa quando e <button> (herdar a fonte Inter) */
.task-action {
  font-family: inherit;
}

/* ================================================================
   24 · 10x · refinamento GHL-nativo (padrao-ouro · do workflow painel-10x-design-spec)
   Familia .btn (4 variantes) · profundidade real · tabela · funil · step-list · card-shelf
   + tipografia maior + focus-ring. Regras DEPOIS das originais = override (stylelint-disable).
   ================================================================ */

/* --- profundidade: o card ELEVA + ganha hover (era chapado) --- */
.card { box-shadow: var(--shadow-sm); border-color: var(--border-card); }
.card:hover { box-shadow: var(--shadow-md); transition: box-shadow .15s ease; }
.task-card, .activation-card { box-shadow: var(--shadow-sm); }

/* --- familia de botao GHL · 4 variantes · 36px --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 18px; border-radius: var(--radius-input);
  font-size: 13px; line-height: 1; font-weight: 600; font-family: inherit;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--blue-primary); border-color: var(--blue-primary); color: #fff; box-shadow: var(--shadow-btn-primary); }
.btn-primary:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn-primary:disabled, .btn-primary.is-disabled { background: var(--blue-disabled); border-color: var(--blue-disabled); cursor: default; box-shadow: none; }
.btn-secondary { background: #fff; border-color: var(--border-default); color: var(--text-secondary); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: #F9FAFB; }
.btn-danger { background: #fff; border-color: var(--danger-text); color: var(--danger-text); }
.btn-danger:hover { background: var(--danger-bg); }
.btn-danger-solid { background: var(--danger-text); border-color: var(--danger-text); color: #fff; }
.btn-lg { height: 42px; font-size: 14px; padding: 0 22px; }

/* .task-action herda o look do btn-primary · MAS mantem a LARGURA FIXA (regra do dono · alinhamento na lista) */
.task-action { height: 36px; padding: 0 14px; font-size: 13px; box-shadow: var(--shadow-btn-primary); }
.task-action:hover { filter: none; background: var(--blue-600); border-color: var(--blue-600); }

/* --- filtro vira pill 36px com estado ativo azul (era .select-filter 26px morto) --- */
.select-filter { height: 36px; min-width: 132px; padding: 0 14px; border-radius: var(--radius-pill); border-color: var(--border-soft); font-size: 13px; color: var(--text-secondary); }
.select-filter:hover { background: var(--blue-soft); border-color: var(--blue-primary); color: var(--blue-primary); }

/* --- focus-ring azul GHL (nao existia) --- */
.select-filter:focus, input:focus, .btn:focus-visible, .nav-item:focus-visible { outline: none; border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }

/* --- tipografia: subir os tamanhos minusculos (era 9-11px de wireframe) --- */
.card-title { font-size: 14px; line-height: 20px; }
.card-subtitle { font-size: 12px; line-height: 16px; color: var(--text-muted); }
.page-title { font-size: 26px; line-height: 34px; }
.funnel-label { font-size: 13px; line-height: 18px; }
.funnel-value { font-size: 15px; line-height: 20px; }
.rank-pos, .rank-name, .rank-value { font-size: 13px; line-height: 18px; }
.task-title { font-size: 13px; line-height: 18px; }
.task-description { font-size: 12px; line-height: 17px; }
.task-meta { font-size: 11px; }
.action-text { font-size: 13px; line-height: 18px; }
.kpi-hero { color: var(--text-heading); }

/* --- funil: azul-royal forte + trilho cinza + etapa-chave no azul mais escuro --- */
.funnel-track { height: 28px; background: var(--bg-track); border: 0; }
.funnel-fill { background: var(--blue-primary); }
.funnel-fill.is-key { background: var(--blue-600); }
.funnel-fill.is-zero { background: var(--border-default); }
.funnel-pct { display: inline-flex; align-items: center; margin-top: 0; padding: 1px 7px; border-radius: var(--radius-pill); background: var(--bg-track); color: var(--text-secondary); font-size: 11px; font-weight: 600; }

/* --- tabela/ranking: linha com respiro + hover na linha inteira + avatar --- */
.rank-row { padding: 13px 8px; min-height: 48px; border-top: 1px solid var(--border-soft); }
.rank-row:hover { background: #F9FAFB; }
.rank-row.is-me { background: var(--blue-soft); border-radius: var(--radius-md); }
.rank-avatar { width: 28px; height: 28px; border-radius: var(--radius-pill); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex: 0 0 auto; }

/* --- pill de contagem no titulo de card ("Top 5", "5 acoes") --- */
.pill-count { display: inline-flex; align-items: center; height: 20px; padding: 0 9px; margin-left: 8px; border-radius: var(--radius-pill); background: var(--blue-soft); color: var(--blue-primary); font-size: 12px; font-weight: 600; vertical-align: middle; }

/* --- step-list: passo-a-passo das acoes que saem do BOOOT (Google/Instagram/WhatsApp) --- */
.step-list { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.step-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--text-secondary); font-size: 13px; line-height: 19px; }
.step-num { width: 22px; height: 22px; border-radius: var(--radius-pill); background: var(--blue-soft); color: var(--blue-primary); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* --- card-shelf: a prateleira auto-explicativa da Acessos (titulo de gente + valor + acao + passo) --- */
.card-shelf { padding: 20px; }
.shelf-title { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--text-heading); }
.shelf-value { margin-top: 5px; font-size: 13px; line-height: 19px; color: var(--text-secondary); }
.shelf-foot { margin-top: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shelf-help { font-size: 12px; color: var(--text-muted); }
.shelf-help a { color: var(--blue-primary); text-decoration: none; font-weight: 600; }

/* --- selo de sucesso / faixa de boas-vindas (copy na entrega) --- */
.win-banner { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--radius-card); background: var(--success-bg-soft); border: 1px solid var(--success-bg); color: var(--text-secondary); font-size: 13px; line-height: 19px; }
.win-banner strong { color: var(--success-text); }
.intro-banner { padding: 16px 18px; border-radius: var(--radius-card); background: var(--blue-soft); border: 1px solid #DCE6FB; color: var(--text-secondary); font-size: 13px; line-height: 20px; }
.intro-banner strong { color: var(--text-heading); }

/* ================================================================
   25 · PADRAO OPERACIONAL UNIFICADO (.cap) · Atender / Atrair / Acessos
   1 SO layout, o conteudo varia. Cartao de capacidade de largura cheia (1 por linha,
   baixa carga cognitiva, respiro PC) com estado antes (acao) / depois (status + gestao).
   ================================================================ */
.op-stack { display: flex; flex-direction: column; gap: var(--dashboard-gap); }
.cap { padding: 22px 24px; }
.cap-head { display: flex; align-items: flex-start; gap: 16px; }
.cap-icon { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; background: var(--blue-soft); color: var(--blue-primary); display: flex; align-items: center; justify-content: center; }
.cap-icon .icon { width: 22px; height: 22px; }
.cap-main { flex: 1; min-width: 0; }
.cap-title { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--text-heading); }
.cap-desc { margin-top: 4px; font-size: 13px; line-height: 20px; color: var(--text-secondary); max-width: 62ch; }
.cap-side { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding-top: 2px; }
.cap-status { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 13px; border-radius: var(--radius-pill); background: var(--success-bg-soft); color: var(--success-text); font-size: 13px; font-weight: 600; }
.cap-status .icon { width: 15px; height: 15px; }
.cap-body { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.cap-body-title { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }

/* historico de solicitacoes/implementacoes (a area da IA depois de ativada) */
.ticket-row { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border-soft); font-size: 13px; }
.ticket-row:first-child { border-top: 0; padding-top: 0; }
.ticket-date { color: var(--text-muted); font-size: 12px; }
.ticket-what { color: var(--text-secondary); }
.ticket-status { font-size: 12px; font-weight: 600; white-space: nowrap; }
.ticket-status.done { color: var(--success-text); }
.ticket-status.doing { color: var(--blue-primary); }

/* mini-KPIs no corpo (Atrair ativo · 3 numeros traduzidos, hierarquia clara) */
.cap-kpis { display: flex; gap: 32px; flex-wrap: wrap; }
.cap-kpi-num { font-size: 28px; line-height: 32px; font-weight: 600; color: var(--text-heading); letter-spacing: -0.02em; }
.cap-kpi-label { font-size: 12px; line-height: 16px; color: var(--text-muted); margin-top: 3px; }

/* --- PACK (Atrair) · grade dos posts prontos da academia (o cliente baixa/copia e posta) ---
   Grid responsivo de cards quadrados (formato do post) · imagem + rotulo + 2 acoes.
   0 posts = a secao inteira fica hidden (render · sem estado morto). Tudo em var(--token). */
/* contador de posts · pill NEUTRO (nao o .cap-status verde de "conectado" · "12 posts" nao e status de sucesso) */
.pack-count { display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: var(--radius-pill); background: var(--bg-track); color: var(--text-muted); font-size: 13px; font-weight: 600; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.pack-item { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--border-card); border-radius: var(--radius-card); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.pack-thumb { position: relative; aspect-ratio: 1 / 1; background: var(--bg-page); }
.pack-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pack-cap { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; }
.pack-rot { font-size: 12px; font-weight: 600; color: var(--text-muted); }
/* acoes empilhadas (1 por linha · full-width) · card estreito (~150px) nao comporta 2 botoes lado a lado
   sem apertar "Copiar imagem" · empilhar = cada acao legivel, alvo de toque generoso, zero cramping. */
.pack-acts { display: flex; flex-direction: column; gap: 6px; }
.pack-btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 10px; border-radius: var(--radius-input); border: 1px solid var(--border-default); background: var(--white); color: var(--text-secondary); font-size: 12px; font-weight: 600; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pack-btn:hover { background: var(--bg-page); color: var(--text-heading); }
.pack-btn.is-ok { border-color: var(--blue-primary); color: var(--blue-primary); background: var(--blue-soft); }

/* ---------------------------------------------------------------------------
   CONECTAR ANUNCIOS (Conexoes) · 3 estados. O corpo AGUARDANDO vive no card LIGHT (.cap).
   O passo a passo (.ads-idbox/.ads-steps/.ads-jaliberei) vive DENTRO do modal .sol-card, que
   e LIGHT (background: var(--white) · secao 26). Por isso TUDO aqui usa os tokens light
   --text-*/--bg-*/--border-* (como o .sol-expect da secao 27), NUNCA creme --wa-* (creme
   sobre branco = ilegivel · bug pego pelo dono 06/jul). Zero hex cru. */
.ads-aguardando { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--bg-page); border: 1px solid var(--border-soft); border-radius: var(--radius-card); font-size: 13px; line-height: 19px; color: var(--text-secondary); }
.ads-aguardando-dot { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 5px; border-radius: var(--radius-pill); background: var(--success-text-soft); }
/* passo a passo (dentro do modal .sol-card LIGHT · tokens light) */
.ads-idbox { margin: 0 0 20px; padding: 14px 16px; background: var(--bg-page); border: 1px solid var(--border-soft); border-radius: var(--radius-card); }
.ads-idbox-lbl { font-size: 12px; line-height: 17px; color: var(--text-muted); margin-bottom: 8px; }
.ads-idbox-row { display: flex; align-items: center; gap: 10px; }
.ads-idbox-code { flex: 1 1 auto; font-family: inherit; font-size: 18px; font-weight: 700; letter-spacing: 0.02em; color: var(--text-heading); word-break: break-all; }
.ads-idbox-copy { flex: 0 0 auto; height: 34px; padding: 0 14px; }
.ads-steps { margin: 0 0 20px; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 21px; color: var(--text-secondary); }
.ads-steps > li { padding-left: 4px; }
.ads-steps strong { font-weight: 600; color: var(--text-heading); }
.ads-steps-sub { margin: 8px 0 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 19px; color: var(--text-muted); }
.ads-jaliberei { width: 100%; }

/* ---------------------------------------------------------------------------
   ANALISE DA SEMANA · o DOCUMENTO de 10s da promessa-core (_OFERTA §1/§5/§110):
   NUMERO da semana + delta · REGUA (mercado) · ALAVANCA (1 das 3) · PLANO NOS x DELE.
   Nasce hidden (render · sem estado morto). Tudo em var(--token) · azul-ponte na acao (Area 2).
   Separacao por espaco/ritmo e tinta suave, nunca borda-listra lateral (contencao, DS). */
.card-analise { padding: 20px 22px; }
.analise-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.analise-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue-600); }
.analise-janela { font-size: 12px; color: var(--text-muted); }
.analise-grid { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: 28px; align-items: start; }
.analise-num { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--bg-card-soft); border-radius: var(--radius-md); }
.analise-num-big { font-size: 52px; line-height: 54px; font-weight: 600; color: var(--text-heading); letter-spacing: -0.03em; }
.analise-num-lbl { font-size: 13px; color: var(--text-secondary); }
.analise-delta { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.analise-delta.up { color: var(--success-text); }
.analise-delta.down { color: var(--danger-text); }
.analise-corpo { display: flex; flex-direction: column; gap: 12px; }
.analise-alavanca { display: flex; flex-direction: column; gap: 6px; }
.analise-badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--blue-600); background: var(--blue-soft); padding: 3px 9px; border-radius: var(--radius-badge); }
.analise-badge.incerto { color: var(--warning-text); background: var(--warning-bg); }
.analise-foco { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-primary); }
.analise-regua { margin: 0; font-size: 13px; line-height: 19px; color: var(--text-secondary); }
.analise-sanidade { font-size: 13px; line-height: 19px; color: var(--warning-text); background: var(--warning-bg); border-radius: var(--radius-md); padding: 10px 12px; }
.analise-sanidade-tag { display: inline-block; font-weight: 700; margin-right: 6px; }
/* [hidden] tem que vencer o display: sem isto, esconder no JS nao esconde nada (bug pego no QA
   visual de 07/jul: o bloco NOS/DELE seguia visivel em conta nascente mesmo com hidden=true) */
.analise-plano[hidden], .card[hidden], .cap[hidden] { display: none !important; }
.analise-plano { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--border-soft); }
.analise-plano-lbl { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.analise-plano ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.analise-plano li { font-size: 13px; line-height: 18px; color: var(--text-secondary); }
@media (max-width: 640px) {
  .analise-grid { grid-template-columns: 1fr; gap: 16px; }
  .analise-plano { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   SUA SEMANA · a MANCHETE-BRIEFING (a voz de socio · onda 1 do coracao).
   Fica ACIMA do .analise-grid, largura cheia: 3 frases + 1 acao, geradas por
   template deterministico dos numeros do cerebro (numero + alavanca + plano).
   E o holofote de 10s. Tudo em var(--token) · azul-ponte SO na acao (Area 2).
   Degrada honesto quando o gate de sanidade acende (manchete.incerto). */
.sua-semana-manchete {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
}
.sua-semana-frase {
  margin: 0;
  font-size: 19px;
  line-height: 27px;
  font-weight: 500;
  color: var(--text-heading);
  letter-spacing: -0.01em;
}
.sua-semana-frase + .sua-semana-frase { margin-top: 8px; }
/* a frase da acao do dono (a "sua unica tarefa") · destaque sutil, nunca listra */
.sua-semana-frase.is-tarefa { color: var(--text-primary); }
.sua-semana-tarefa-tag {
  display: inline;
  font-weight: 700;
  color: var(--blue-600);
  margin-right: 6px;
}
/* a acao (abre a solicitacao certa via cta_tipo derivado da alavanca) · azul de acao */
.sua-semana-acao { margin-top: 16px; }
.sua-semana-acao .btn { min-width: 200px; }
/* PACE · a projecao que o leigo SENTE (dias uteis + ritmo + meta). Reusa o net/prazo
   JA COMPUTADO pelo engine (data.projecao · zero 2a regua): so adiciona o enquadramento
   de dias uteis por cima. Linha honesta quando falta meta ou 2a leitura de ativos. */
.sua-semana-pace {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bg-card-soft);
  border-radius: var(--radius-md);
}
.sua-semana-pace-icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  margin-top: 1px;
}
.sua-semana-pace-txt {
  margin: 0;
  font-size: 13px;
  line-height: 19px;
  color: var(--text-secondary);
}
.sua-semana-pace-txt b { color: var(--text-heading); font-weight: 600; }
/* pace SEM meta = convite honesto a setar a meta (link pro fluxo existente btn-alunos-ativos) */
.sua-semana-pace.is-pendente { background: var(--warning-bg); }
.sua-semana-pace.is-pendente .sua-semana-pace-icon,
.sua-semana-pace.is-pendente .sua-semana-pace-txt { color: var(--warning-text); }
.sua-semana-pace-link {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  color: var(--warning-text);
  text-decoration: underline;
  cursor: pointer;
}

/* --- card-hero: o numero-norte (aluno novo do mes) em destaque, largura cheia (Analisar) --- */
.card-hero { padding: 24px 26px; }
.hero-foot { margin-top: 14px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.card-hero .kpi-xl { font-size: 68px; line-height: 72px; font-weight: 600; color: var(--text-heading); letter-spacing: -0.03em; }
.card-hero .metric-change { margin-top: 0; }
.hero-life { margin-left: auto; color: var(--text-muted); font-size: 13px; line-height: 18px; }
.hero-life strong { color: var(--text-heading); font-weight: 600; }

/* ================================================================
   26 · MODAL SOLICITAR (form do motor EMBUTIDO · LIGHT · fecha R2+R3)
   Reusa a ESTRUTURA neutra do .wa-modal (overlay + backdrop + body.wa-open scroll-lock),
   mas a cartela e LIGHT (DS do Painel · nunca o carvao do Stevo). Campos na linguagem dos
   inputs do Painel: branco, texto carvao-GHL, foco azul-royal. Tudo em var(--token).
   ================================================================ */
.sol-card {
  position: relative;
  width: 520px;
  max-width: 94vw;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  box-shadow: 0 20px 56px rgba(16, 24, 40, 0.24);
}
/* botao fechar LIGHT (herda a POSICAO do .wa-modal-close · troca so a pele pro claro) */
.sol-close {
  background: var(--bg-page);
  border: 1px solid var(--border-default);
  color: var(--text-muted);
}
.sol-close:hover { background: var(--bg-app); color: var(--text-heading); }

.sol-body { padding: 30px 28px 26px; }
.sol-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.sol-progress { height: 3px; border-radius: var(--radius-pill); background: var(--border-soft); overflow: hidden; margin-bottom: 22px; }
.sol-progress-fill { height: 100%; width: 0; border-radius: var(--radius-pill); background: var(--blue-primary); transition: width .3s ease; }

.sol-step { display: none; }
.sol-step.on { display: block; }
.sol-title { margin: 0 0 8px; font-size: 21px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; color: var(--text-heading); }
.sol-sub { margin: 0 0 20px; font-size: 14px; line-height: 21px; color: var(--text-secondary); }

/* campos LIGHT (a linguagem do input do Painel · foco azul-royal) */
.sol-field + .sol-field { margin-top: 14px; }
.sol-field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin: 0 0 6px 2px; }
.sol-field input, .sol-field textarea, .sol-field select {
  box-sizing: border-box; width: 100%; padding: 12px 14px;
  font: inherit; font-size: 15px; color: var(--text-heading);
  background: var(--white); border: 1px solid var(--border-default);
  border-radius: var(--radius-input); outline: none;
}
.sol-field textarea { min-height: 108px; resize: vertical; }
.sol-field input::placeholder, .sol-field textarea::placeholder { color: var(--text-soft); }
.sol-field input:focus, .sol-field textarea:focus, .sol-field select:focus { border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }

.sol-err { display: none; margin: 12px 0 0; font-size: 13px; color: var(--danger-text); }
.sol-cta { width: 100%; margin-top: 22px; }
.sol-confcard { padding: 16px 18px; background: var(--bg-page); border: 1px solid var(--border-soft); border-radius: var(--radius-card); font-size: 15px; line-height: 22px; color: var(--text-heading); }
.sol-note { margin: 12px 0 0; font-size: 13px; color: var(--text-muted); }
.sol-link { display: block; margin: 14px auto 0; padding: 6px; background: none; border: 0; font: inherit; font-size: 13px; color: var(--blue-primary); text-decoration: underline; cursor: pointer; }
.sol-done { width: 52px; height: 52px; border-radius: var(--radius-pill); background: var(--success-bg-soft); color: var(--success-text-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sol-msg { margin: 12px 0 0; min-height: 18px; font-size: 13px; text-align: center; color: var(--danger-text); }

.sol-spin { width: 15px; height: 15px; border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: var(--white); border-radius: 50%; animation: sol-spin .7s linear infinite; display: none; }
.sol-cta.busy { opacity: 0.85; }
.sol-cta.busy .sol-spin { display: inline-block; }
@keyframes sol-spin { to { transform: rotate(360deg); } }

/* status neutro "A conectar" (o .cap-status default e verde=sucesso · nao mentir conexao pendente de verde) */
.cap-status.is-pend { background: var(--bg-track); color: var(--text-muted); }
/* [hidden] TEM que vencer o .cap-status{display:inline-flex} · senao o pill do WhatsApp aparece FANTASMA
   antes do radar cravar (regressao pega pelo juiz P4 · o pill so surge quando setStevoState remove o hidden) */
.cap-status[hidden] { display: none; }
/* MESMA armadilha no .btn{display:inline-flex}: um botao com [hidden] aparecia FANTASMA (o #diag-cta sem
   cta_tipo, o #conn-comunidade sem link real = href="#" morto). [hidden] tem que vencer o display do .btn. */
.btn[hidden] { display: none; }

/* ================================================================
   27 · CARDS DE EXPECTATIVA (P3 · passo form do sol-modal · 3 linhas por tipo · educa ANTES do pedido)
   O que acontece · Quando fica pronto · O que voce precisa saber. Regra das 3 promessas: nosso=AI-native
   (rapido, status ao vivo) · terceiro (WABA/Meta)=prazo honesto do terceiro. Injetado por montar() de UI.expectativa.
   ================================================================ */
.sol-expect { margin: 0 0 20px; padding: 14px 16px; background: var(--bg-page); border: 1px solid var(--border-soft); border-radius: var(--radius-card); display: flex; flex-direction: column; gap: 10px; }
.sol-expect-row { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: start; }
.sol-expect-k { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); padding-top: 1px; }
.sol-expect-v { font-size: 13px; line-height: 19px; color: var(--text-secondary); }

/* ================================================================
   28 · TOUR DE PRIMEIRO ACESSO (P5 · overlay · spotlight + 1 beneficio por passo)
   A marca do BOOOT no onboarding (insight fable5-onboarding-tour · carvao+creme · permitido pelo
   brand-check-bypass no topo do arquivo · mesma pele dos modais wa/ativos). O spotlight (box-shadow
   gigante) escurece o Painel exceto o alvo; a cartela e carvao, fixa no rodape-centro (baseline estavel).
   ================================================================ */
.tour { --tour-carvao: #1D1D1F; --tour-creme: #E9DCC9; --tour-creme-muted: rgba(233, 220, 201, 0.66); --tour-hairline: rgba(233, 220, 201, 0.16); position: fixed; inset: 0; z-index: 9998; }
.tour[hidden] { display: none; }
/* spotlight: caixa transparente no alvo + sombra gigante que escurece o resto · pointer-events none (o .tour ja bloqueia o fundo) */
.tour-spot { position: fixed; border-radius: var(--radius-card); box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.72); transition: top .25s ease, left .25s ease, width .25s ease, height .25s ease; pointer-events: none; }
.tour-spot[hidden] { display: none; }
/* cartela carvao (a marca do BOOOT guiando) · fixa no rodape-centro · nao sobrepoe o alvo do topo */
.tour-card { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); width: 460px; max-width: calc(100vw - 32px); background: var(--tour-carvao); color: var(--tour-creme); border: 1px solid var(--tour-hairline); border-radius: 16px; box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45); padding: 22px 24px; }
.tour-count { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tour-creme-muted); }
.tour-title { margin: 8px 0 6px; font-size: 19px; line-height: 25px; font-weight: 700; color: var(--tour-creme); }
.tour-benefit { margin: 0; font-size: 14px; line-height: 21px; color: var(--tour-creme-muted); }
.tour-foot { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tour-skip { background: none; border: 0; font: inherit; font-size: 13px; color: var(--tour-creme-muted); text-decoration: underline; cursor: pointer; padding: 6px; }
.tour-skip:hover { color: var(--tour-creme); }
.tour-nav { display: flex; align-items: center; gap: 10px; }
.tour-btn { height: 36px; padding: 0 18px; border-radius: var(--radius-input); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.tour-btn-ghost { background: transparent; border-color: var(--tour-hairline); color: var(--tour-creme-muted); }
.tour-btn-ghost:hover { color: var(--tour-creme); border-color: var(--tour-creme-muted); }
.tour-btn-ghost[hidden] { display: none; }
.tour-btn-solid { background: var(--tour-creme); border-color: var(--tour-creme); color: var(--tour-carvao); }
.tour-btn-solid:hover { filter: brightness(0.96); }
body.tour-open { overflow: hidden; }
@media (max-width: 640px) { .tour-card { width: auto; left: 16px; right: 16px; transform: none; bottom: 16px; } }

/* ================================================================
   29 · FORMS DE CONTA/SUPORTE (.acct-*) · minha-conta.html + suporte.html
   ----------------------------------------------------------------------------
   Estas paginas abrem DE DENTRO do Painel/GHL (iframe · /minha-conta e /suporte).
   A LEI: toda superficie aberta no Painel herda a EXCECAO LIGHT (o dono 06/jul:
   "clico em minha conta ou suporte, vai pra uma tela toda carvao · dentro do GHL
   nao funciona"). Antes eram carvao/creme (marca dark do Portal · <style> inline).
   Agora consomem SO estes tokens light · ZERO style inline no HTML (lei da casa).
   Sao paginas full-screen (nao modal): trazem o proprio frame light (header/stage/
   footer). Copy e JS ficam INTACTOS · aqui e so a pele.
   ================================================================ */
.acct-header {
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-default);
  box-shadow: var(--shadow-topbar);
}
.acct-header .acct-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 720px; margin: 0 auto; }
.acct-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text-heading); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.acct-back-top {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  background: var(--bg-page); border: 1px solid var(--border-default); border-radius: var(--radius-input);
  color: var(--text-secondary); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.acct-back-top:hover { background: var(--bg-app); color: var(--text-heading); }

/* barra de progresso (azul-royal · a do Painel) */
.acct-progress { height: 3px; background: var(--border-soft); }
.acct-progress-bar { height: 100%; width: 0; background: var(--blue-primary); transition: width .3s ease; }

/* palco */
.acct-stage { max-width: 720px; margin: 0 auto; padding: clamp(20px, 4vh, 36px) 24px 48px; display: flex; flex-direction: column; }
.acct-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.acct-back { background: none; border: 0; color: var(--text-muted); font: inherit; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px; margin-bottom: 6px; }
.acct-back:hover { color: var(--text-heading); }

/* passos (fade sutil) */
.acct-step { display: none; animation: acct-fade .3s ease; }
.acct-step.on { display: block; }
@keyframes acct-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.acct-q { font-size: clamp(26px, 4.6vw, 38px); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; color: var(--text-heading); margin-bottom: 10px; text-wrap: balance; }
.acct-sub { color: var(--text-secondary); font-size: 16px; line-height: 24px; margin-bottom: 26px; max-width: 52ch; text-wrap: pretty; }

/* campos light (a linguagem do input do Painel · foco azul-royal) */
.acct-field + .acct-field { margin-top: 12px; }
.acct-field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin: 0 0 6px 2px; }
.acct-field input, .acct-field textarea, .acct-field select {
  box-sizing: border-box; width: 100%; padding: 13px 15px; font: inherit; font-size: 16px;
  color: var(--text-heading); background: var(--white); border: 1px solid var(--border-default);
  border-radius: var(--radius-input); outline: none;
}
.acct-field textarea { min-height: 116px; resize: vertical; }
.acct-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475467' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.acct-field input::placeholder, .acct-field textarea::placeholder { color: var(--text-soft); }
.acct-field input:focus, .acct-field textarea:focus, .acct-field select:focus { border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12); }

/* lista de opcoes (cartoes clicaveis · borda azul no hover) */
.acct-opts { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.acct-opt {
  width: 100%; text-align: left; background: var(--white); border: 1px solid var(--border-default);
  border-radius: var(--radius-card); padding: 15px 16px; color: var(--text-heading); font: inherit;
  font-size: 15px; font-weight: 600; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; transition: border-color .15s, background .15s, box-shadow .15s;
}
.acct-opt:hover { border-color: var(--blue-primary); background: var(--blue-soft); box-shadow: var(--shadow-sm); }
.acct-opt small { display: block; font-weight: 400; font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.acct-opt-arrow { color: var(--text-soft); flex: 0 0 auto; }

/* cartao de confirmacao */
.acct-confcard { background: var(--bg-page); border: 1px solid var(--border-soft); border-radius: var(--radius-card); padding: 18px 18px; margin-bottom: 4px; }
.acct-confcard .acct-r { display: flex; align-items: flex-start; gap: 10px; color: var(--text-secondary); font-size: 15px; line-height: 22px; padding: 8px 0; }
.acct-confcard .acct-r + .acct-r { border-top: 1px solid var(--border-soft); }
.acct-confcard .acct-r i { color: var(--blue-primary); flex: 0 0 auto; font-style: normal; }

.acct-err { color: var(--danger-text); font-size: 14px; margin-top: 10px; display: none; }

/* CTA (azul-royal · a acao da Area 2 dentro do Painel) */
.acct-cta {
  margin-top: 24px; width: 100%; background: var(--blue-primary); color: var(--white); border: 1px solid var(--blue-primary);
  border-radius: var(--radius-input); padding: 15px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; box-shadow: var(--shadow-btn-primary);
}
.acct-cta:hover { background: var(--blue-600); border-color: var(--blue-600); }
.acct-cta:disabled { opacity: 0.55; cursor: default; }
.acct-cta.acct-ghost { margin-top: 12px; background: var(--white); border: 1px solid var(--border-default); color: var(--text-secondary); box-shadow: var(--shadow-sm); }
.acct-cta.acct-ghost:hover { background: #F9FAFB; color: var(--text-heading); }

.acct-lgpd { display: block; color: var(--text-muted); font-size: 13px; line-height: 20px; margin-top: 14px; text-align: center; text-wrap: pretty; }
.acct-lgpd a { color: var(--blue-primary); text-decoration: underline; }

/* estado pronto */
.acct-done-ic { width: 56px; height: 56px; border-radius: var(--radius-pill); background: var(--success-bg-soft); color: var(--success-text-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 700; margin: 0 0 18px; }

/* toast de erro (canto inferior · vermelho GHL) */
.acct-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--danger-text); color: var(--white); font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: var(--radius-input); box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 50; max-width: calc(100vw - 32px); text-align: center; }
.acct-toast.on { opacity: 1; }

/* spinner do CTA */
.acct-spin { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: var(--white); border-radius: 50%; animation: acct-spin .7s linear infinite; display: none; }
.acct-cta.busy .acct-spin { display: inline-block; }
@keyframes acct-spin { to { transform: rotate(360deg); } }

/* rodape light */
.acct-footer { border-top: 1px solid var(--border-soft); background: var(--bg-surface); }
.acct-footer .acct-wrap { max-width: 720px; margin: 0 auto; padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acct-legal { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--text-muted); font-size: 12px; }
.acct-legal a { color: var(--text-secondary); text-decoration: none; }
.acct-legal a:hover { color: var(--text-heading); text-decoration: underline; }
@media (max-width: 640px) { .acct-header, .acct-footer .acct-wrap { padding-left: 18px; padding-right: 18px; } }

/* ============================== POP-UPS CLAROS (dono 07/jul: "estamos dentro da plataforma light ·
   nao tinha que ser um pop-up escuro" · vale pro modal de ativos E pro tour) ============================== */
.ativos-body { background: #FFFFFF; }
.ativos-title { color: var(--ink, #1D1D1F); }
.ativos-body p, .ativos-body label { color: #3A3A3C; }
#ativos-modal .wa-modal-card { background: #FFFFFF; border: 1px solid #E5E7EB; }

.tour { --tour-carvao: #FFFFFF; --tour-creme: #1D1D1F; --tour-creme-muted: #5B5B60; --tour-hairline: #E5E7EB; }
.tour-card { box-shadow: 0 18px 52px rgba(15, 23, 42, 0.28); }
.tour-btn-solid { background: #2563EB; border-color: #2563EB; color: #FFFFFF; }
.tour-btn-ghost { color: #5B5B60; border-color: #E5E7EB; }
.tour-btn-ghost:hover { color: #1D1D1F; border-color: #9CA3AF; }
.tour-skip { color: #6B7280; }
.tour-skip:hover { color: #1D1D1F; }

/* ============================== FORM RICO · secoes + aceites (solicitacoes) ============================== */
.sol-secao { margin: 18px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #6B7280; border-top: 1px solid #F0F1F3; padding-top: 14px; }
.sol-secao:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.sol-aceite { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #E5E7EB; border-radius: 10px; font-size: 13.5px; line-height: 1.45; color: #3A3A3C; cursor: pointer; margin-bottom: 8px; }
.sol-aceite input { margin-top: 2px; accent-color: #2563EB; }

/* ============================== MODAL · Proposta de Perfil (claro) ============================== */
.perfil-modal { position: fixed; inset: 0; z-index: 9997; }
.perfil-modal[hidden] { display: none; }
.perfil-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.45); }
.perfil-modal-card { position: relative; margin: 5vh auto; width: min(720px, calc(100vw - 32px)); max-height: 88vh; display: flex; flex-direction: column; background: #FFFFFF; border-radius: 14px; box-shadow: 0 24px 64px rgba(15, 23, 42, 0.3); overflow: hidden; }
.perfil-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #F0F1F3; }
.perfil-modal-title { margin: 0; font-size: 17px; font-weight: 700; color: #1D1D1F; }
.perfil-modal-x { background: none; border: 0; font-size: 26px; line-height: 1; color: #9CA3AF; cursor: pointer; padding: 2px 6px; }
.perfil-modal-x:hover { color: #1D1D1F; }
.perfil-modal-body { padding: 18px 22px 26px; overflow-y: auto; font-size: 14px; line-height: 1.6; color: #3A3A3C; }
.perfil-modal-body h4 { margin: 18px 0 6px; font-size: 15px; color: #1D1D1F; }
.perfil-modal-body h5 { margin: 14px 0 4px; font-size: 13.5px; color: #1D1D1F; }
.perfil-modal-body ul { margin: 6px 0 10px 18px; }
.perfil-modal-body li { margin: 3px 0; }
.perfil-modal-body p { margin: 6px 0; }

/* Sua semana em col-6 (lado a lado com Sua meta · dono 07/jul) · compacta */
.card-analise .analise-grid { grid-template-columns: 1fr; gap: 14px; }
.card-analise .analise-num-big { font-size: 44px; }
