/* Saúde dos clientes e indicadores da Meta Ads. */
.mh-plataformas{display:flex;gap:6px;overflow:auto;border-bottom:1px solid var(--line);margin:0 0 18px}
.mh-plataformas button{display:flex;align-items:center;gap:8px;white-space:nowrap;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);padding:11px 13px;font:600 14px var(--body);cursor:pointer}
.mh-plataformas button.ativo{color:var(--accent);border-color:var(--accent)}
.mh-plataformas button:disabled{cursor:not-allowed;opacity:.55}
.mh-plataformas small{font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.mh-grade{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}
.mh-cliente{display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;min-width:0}
.mh-cliente:hover{border-color:var(--accent)}
.mh-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--surface-2);color:var(--accent);font:700 14px var(--display);flex:none}
.mh-cliente-info{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
.mh-cliente-info b,.mh-cliente-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mh-cliente-info small,.mh-ajuda{color:var(--muted);font-size:12.5px}
.mh-legenda{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:16px 0;color:var(--muted);font-size:12.5px;font-weight:600}
.mh-ponto{width:9px;height:9px;border-radius:50%;display:inline-block;margin-left:10px}
.mh-ponto.verde{background:#13835f}.mh-ponto.vermelho{background:#c43b49}.mh-ponto.laranja{background:#cf740e}
.mh-sem-acesso{display:flex;flex-direction:column}
.mh-head{align-items:flex-start}
.mh-head h1{margin-top:6px}
.mh-filtros{padding:12px 14px}
.mh-periodo{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.mh-periodo label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:12px;font-weight:700}
.mh-periodo .txt{width:auto;min-width:145px}
.mh-periodo .btn{min-height:38px}
.mh-presets{margin-right:auto}
.mh-verba{display:flex;flex-direction:column;gap:12px}
.mh-verba-cab,.mh-verba-rodape{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.mh-verba-cab small{display:block;color:var(--muted);font-size:12px;font-weight:700}
.mh-verba-cab strong{display:block;font:700 23px var(--display);margin-top:3px}
.mh-verba-cab strong span{font:600 14px var(--body);color:var(--muted)}
.mh-trilho{height:11px;border-radius:99px;background:var(--surface-2);border:1px solid var(--line);overflow:hidden}
.mh-trilho i{display:block;height:100%;border-radius:99px;background:var(--accent)}
.mh-verba-rodape{color:var(--muted);font-size:12.5px;font-weight:600}
.mh-excesso{margin:0;color:#b66100;font-size:13px;font-weight:700}
.mh-info-verba p{margin:5px 0 0;color:var(--muted)}
.mh-kpis{display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:11px;margin:16px 0}
.mh-kpi{display:flex;min-width:0;flex-direction:column;gap:6px}
.mh-kpi small{color:var(--muted);font-size:12px;font-weight:700}
.mh-kpi strong{font:700 21px var(--display);overflow-wrap:anywhere}
.mh-kpi>span{color:var(--muted);font-size:11.5px}
.mh-kpi .verde{color:#087b53}.mh-kpi .vermelho{color:#b52f3e}.mh-kpi .sem-meta{color:var(--ink)}
.mh-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:11.5px;font-weight:700}
.mh-status i{width:7px;height:7px;border-radius:50%;background:currentColor}
.mh-status.bom{color:#087b53;background:rgba(19,131,95,.1)}
.mh-status.ruim{color:#b52f3e;background:rgba(196,59,73,.1)}
.mh-status.alerta{color:#ad5a00;background:rgba(207,116,14,.12)}
.mh-status.neutro{color:var(--muted);background:var(--surface-2)}
.mh-titulo-tabela{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.mh-titulo-tabela p{margin:4px 0 0;color:var(--muted);font-size:12.5px}
.mh-tabela{min-width:950px}
.mh-tabela th,.mh-tabela td{vertical-align:middle}
.mh-metrica{display:block;font-weight:800}
.mh-metrica.verde{color:#087b53}.mh-metrica.vermelho{color:#b52f3e}.mh-metrica.sem-meta{color:var(--ink)}
.mh-meta-legenda{display:block;white-space:nowrap;margin-top:3px;color:var(--muted);font-size:10.5px}
.mh-insights{margin-top:14px}
.mh-insight-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 18px}
.mh-insight-list>div{display:flex;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px solid var(--line);font-size:13px}
.mh-insight-list span{color:var(--muted)}
.mh-atualizacao{margin:14px 0;color:var(--muted);font-size:11.5px}
.mh-privado{margin:5px 0 0;color:var(--muted);font-size:12.5px}
.mh-metas-form{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:11px}
.mh-metas-form label{display:flex;flex-direction:column;gap:5px;font-size:12.5px;font-weight:700}
.mh-metas-form small{color:var(--muted);font-size:11px;font-weight:500}
.mh-metas-form .txt{width:100%}
@media(max-width:700px){
  .mh-periodo{align-items:stretch}
  .mh-periodo .txt{min-width:0;width:100%}
  .mh-periodo label{flex:1;min-width:125px}
  .mh-presets{width:100%;margin:0}
  .mh-presets button{flex:1;padding-inline:7px}
  .mh-verba-cab strong{font-size:20px}
  .mh-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .mh-kpi{padding:12px}
  .mh-kpi strong{font-size:18px}
}
