/* Mesmo padrão tipográfico da loja, restrito ao painel administrativo. */
body.admin-theme-v2.admin-typography {
  --admin-font-ui: "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--admin-font-ui);
  font-weight: 400;
}

body.admin-theme-v2.admin-typography :is(
  h1, h2, h3, h4, h5, h6, button, input, select, textarea
) {
  font-family: var(--admin-font-ui);
}

body.admin-theme-v2.admin-typography :is(input, select, textarea) {
  font-weight: 400;
}

body.admin-theme-v2.admin-typography :is(
  h1, h2, h3, h4, h5, h6, strong, b, th, label, legend,
  button, .btn, .btn-danger, summary, .tabs a, .quick-filters a, .links a,
  .product-category-tabs a, .field span, .bulk-toolbar label,
  .batch-products label, .stock-selection-bar > span,
  .filter-result, .channel-pill, .customer-name,
  .order-status, .badge, .flash,
  .production-warning, .attention-banner, .store-alert,
  .settings-notice, .settings-notice a, .movement-hint, .schedule-day,
  .product-create-eyebrow, .product-create-placeholder,
  .admin-title small, .finance-eyebrow, .finance-auto,
  .stock-week-eyebrow, .future-usage, .future-shortage
) {
  font-weight: 500;
  letter-spacing: normal;
}

body.admin-theme-v2.admin-typography .flash.ok a {
  font-weight: 500;
}

body.admin-theme-v2.admin-typography :is(
  h1, h2, .kpi strong, .production-kpi strong,
  .finance-insight-grid strong, .cashflow-income,
  .cashflow-expense, .cashflow-balance, .future-capacity-badge strong,
  .future-week-kpis strong, .future-usage, .future-shortage,
  .attention-banner.critical, .production-table .pending,
  .production-table .confirmed, .stock-zero, .stock-ok
) {
  font-weight: 600;
  letter-spacing: normal;
}

body.admin-theme-v2.admin-typography :is(
  .kpi span, .order-kpis .kpi span,
  .finance-period-label span, .finance-insight-grid span,
  .finance-insight-grid small, .future-capacity-badge span,
  .future-week-card header div span
) {
  font-weight: 400;
}

/* O nome em itálico de .tabs::before continua como assinatura da marca. */
body.admin-theme-v2.admin-typography .tabs::after {
  font-family: var(--admin-font-ui);
  font-weight: 500;
  letter-spacing: .04em;
}

body.admin-theme-v2.admin-typography .tabs a:nth-child(6)::before {
  font-weight: 600;
}

body.admin-theme-v2.admin-typography :is(
  .inventory-table td, .cashflow-table td
)::before {
  font-weight: 500;
}
