/* css/crm2-marketing-resultados.css — Marketing → Resultados (05/11/2026). Reaproveita .mkv-* / .mkc-* / .mkl-* e os tokens --c2-*. */
.mkr-page { min-width: 0; max-width: 100%; }
.mkr-filtros .per-filtro { margin-top: 0; } .mkr-sel { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.mkr-sel label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--c2-mut); flex: 1 1 200px; min-width: 0; }
.mkr-sel select, .mkr-sel input { border: 1px solid var(--c2-card-line); background: var(--c2-card); color: var(--c2-txt); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-family: inherit; min-height: 42px; max-width: 100%; }
.mkr-sel select:focus-visible, .mkr-sel input:focus-visible { outline: 2px solid var(--c2-ok); outline-offset: 2px; }
.mkr-page .mkv-kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (min-width: 900px) { .mkr-page .mkv-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (min-width: 1500px) { .mkr-page .mkv-kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.mkr-abas { display: flex; gap: 6px; overflow-x: auto; padding: 6px; background: var(--c2-card); border: 1px solid var(--c2-card-line); border-radius: 999px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.mkr-aba { border: 0; background: none; font: inherit; font-weight: 650; font-size: 14px; color: var(--c2-mut); padding: 9px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; min-height: 40px; }
.mkr-aba.is-on { background: #0f1714; color: #fff; } .mkr-aba:focus-visible, .mkr-m:focus-visible { outline: 2px solid var(--c2-ok); outline-offset: 2px; }
.mkr-met { display: flex; gap: 4px; flex-wrap: wrap; background: var(--c2-bg); border-radius: 999px; padding: 4px; } .mkr-m { flex: 1 1 90px; border: 0; background: none; font: inherit; font-weight: 650; color: var(--c2-mut); padding: 8px 12px; border-radius: 999px; cursor: pointer; min-height: 38px; } .mkr-m.is-on { background: var(--c2-card); color: var(--c2-txt); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.mkr-page .mkv-card { margin-top: 14px; } .mkr-painel { display: flex; flex-direction: column; gap: 14px; } .mkr-slot { display: flex; flex-direction: column; gap: 14px; min-width: 0; } .mkr-slot > * { min-width: 0; max-width: 100%; overflow-x: auto; }
.mkr-slot .chart-card { background: var(--c2-card); color: var(--c2-txt); border: 1px solid var(--c2-card-line); border-radius: 14px; } .mkr-slot .chart-card h3, .mkr-slot .chart-card h2 { color: var(--c2-txt); }
.mkr-tab { min-width: 640px; } .mkr-tab td small { display: inline; color: var(--c2-mut); margin-left: 4px; }
@media (max-width: 760px) { .mkr-tab { min-width: 0; } .mkr-tab thead { display: none; } .mkr-tab, .mkr-tab tbody, .mkr-tab tr, .mkr-tab td { display: block; width: 100%; } .mkr-tab tr { border-top: 1px solid var(--c2-card-line); padding: 10px; } .mkr-tab td { border: 0; padding: 3px 0; } .mkr-tab td[data-l]::before { content: attr(data-l) ': '; color: var(--c2-mut); font-size: 11.5px; } }
/* contraste: os relatórios existentes foram desenhados para o tema escuro (texto branco translúcido); sobre o fundo claro do CRM2 viram texto de baixo contraste.
   Aqui, só dentro desta página, esse texto passa a usar as cores do CRM2 (nenhum relatório é alterado fora dela). */
.mkr-slot [style*="color:rgba(255,255,255"], .mkr-slot [style*="color: rgba(255,255,255"], .mkr-slot [style*="color:#fff"], .mkr-slot [style*="color:white"] { color: var(--c2-mut) !important; }
.mkr-slot [style*="color:rgba(255,255,255,0.9"], .mkr-slot [style*="color:rgba(255,255,255,.9"], .mkr-slot [style*="color:rgba(255,255,255,0.8"], .mkr-slot [style*="color:rgba(255,255,255,0.7"], .mkr-slot [style*="color:#fff"], .mkr-slot [style*="color:white"] { color: var(--c2-txt) !important; }
.mkr-slot svg text[fill*="255,255,255"], .mkr-slot svg text[fill="#fff"], .mkr-slot svg text[fill="white"] { fill: var(--c2-txt); }
.mkr-slot table th, .mkr-slot table td { color: var(--c2-txt); border-color: var(--c2-card-line); } .mkr-slot table th { color: var(--c2-mut); }
.mkr-slot [style*="background:rgba(255,255,255,0.0"], .mkr-slot [style*="background:rgba(255,255,255,.0"] { background: var(--c2-bg) !important; }
