/* MESA 6.1.0 R4.1.3.11 HF8 — refinamento tipográfico final
   Camada exclusivamente visual. Não altera rotas, IDs, eventos, dados ou contratos de API.
   Regra: corpo 400, informação/controles 500, nomes/títulos 600, alerta excepcional 700. */

/* Base: elimina pesos sintetizados excessivos herdados sem mudar dimensões do layout */
body{font-weight:400!important}

/* Texto corrido e metadados */
p,
small,
.card-header p,
.page-heading p,
.command-heading p,
.compact-main small,
.mini-development small,
.queue-card-line,
.queue-card-footer,
.upcoming-item span,
.notification-item small,
.notification-item em,
.timeline-item span,
.timeline-item p,
.form-section p,
.mapping-help span,
.development-spec span,
.development-price span,
.sidebar-help span,
.page-identification span,
.search-result span,
.drawer header p,
.toast span,
.ux-sla-owner-row .compact-main small{
  font-weight:400!important;
}

/* Informações secundárias/operacionais */
label,
.form-field>span,
.inline-form label,
.queue-card-stage,
.status-chip,
.tab-button,
.r413-tabs button,
.ux-filter-note,
.ux-client-filters,
.r413-pagination,
.r413-buckets,
.date-box span,
.reason-chip,
.metric-card span,
.ux-metric-card>span{
  font-weight:500!important;
}

/* Títulos, nomes e hierarquia */
h1,h2,h3,h4,h5,h6,
.page-title,
.page-heading h2,
.page-identification h1,
.command-heading h2,
.card-header h3,
.modal h2,
.drawer h2,
.login-card h2,
.login-copy h1,
b,strong,
.cell-title b,
.compact-main b,
.mini-development b,
.queue-card h4,
.upcoming-item>div:nth-child(2) b,
.search-result b,
.notification-item b,
.timeline-item b,
.mapping-help b,
.sidebar-help b,
.ux-sla-owner-row .compact-main b{
  font-weight:600!important;
}

/* Navegação e controles: presença sem "gritar" */
.nav-group-toggle,
.eyebrow,
.data-table th,
.ux-client-table th,
.funnel-detail-table th{
  font-weight:600!important;
}
.nav-item,
.nav-group .nav-item,
button,
.primary-button,
.secondary-button,
.text-button,
.icon-button,
input,
select,
textarea{
  font-weight:500!important;
}

/* Avatares e indicadores neutros */
.compact-avatar,
.stage-dot,
.match-score,
.queue-more,
.badge,
.status-chip,
.reason-chip,
.ux-today-chip,
.ux-lead-avatar{
  font-weight:600!important;
}

/* Exceções que precisam chamar atenção */
.badge.red,
.overdue-days,
.danger-button,
.ux-overdue-text,
.task-overdue .badge,
.next-action-card.overdue .badge,
.notification-type.critica + span b,
.status-chip.red{
  font-weight:700!important;
}

/* Métricas: números firmes, sem peso excessivo */
.metric-card strong,
.ux-metric-card>strong,
.report-kpi strong,
.funnel-projection-step strong,
.funnel-monthly-projection strong,
.queue-more strong,
.development-price strong,
.development-spec b,
.date-box b{
  font-weight:600!important;
}

/* Meta visual com contraste menor, sem reduzir acessibilidade */
.login-version,
.sidebar-footer,
.compact-main small,
.notification-item em,
.timeline-item span,
.development-spec span,
.development-price span{
  font-weight:400!important;
}

/* Mantém responsividade e temas; só tipografia */
@media(max-width:620px){
  .card-header h3{font-weight:600!important}
  .compact-main b{font-weight:600!important}
}
