/* Tokens do design system (2026-09-22 — redesign completo do painel).
   Espelha as cores do tailwind.config.js como CSS vars, para uso em SVGs
   inline e nos poucos lugares que o Tailwind não cobre. */
:root {
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --navy: #111827;
  --primary: #5B4BEB;
  --primary-700: #4735C9;
  --ink: #172033;
  --ink-2: #667085;
  --line: #E5E9F0;
  --success: #12B76A;
  --warning: #F79009;
  --danger: #F04438;
  --info: #2E90FA;
  --radius-card: 12px;
  --radius-control: 10px;
}

[x-cloak] { display: none !important; }

html, body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

/* Foco visível consistente (WCAG 2.2 AA) — substitui o outline default do
   navegador por um anel roxo de alto contraste, sempre visível ao navegar
   por teclado. */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #CBD2E0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #A8B2C4; }

/* Ícones SVG inline (substituem os emojis) — tamanho e traço padrão. */
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 22px; height: 22px; }

/* Transição padrão do painel lateral de detalhes do lead. */
.slide-panel-enter { transition: transform .2s ease, opacity .2s ease; }

/* Cores e utilitários de mídia para o Omnichannel */
.bg-info-600, .bg-messenger {
  background-color: #0084FF !important;
  color: #FFFFFF !important;
}

/* Barra de ferramentas fixa do Kanban ao rolar horizontalmente. */
.kanban-toolbar-sticky {
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Navegação interna fixa (Configurações). */
.settings-nav-sticky {
  position: sticky;
  top: 24px;
}

@media print {
  aside, .no-print { display: none !important; }
}
