/* UI_TYPOGRAPHY_PLATFORM_STABILITY_ROLLOUT: crm-ui-typography-platform-stability-1 · crm-ui-typography-platform-stability-beta */
/* UI_TYPOGRAPHY_SOURCE_CLEANUP_ROLLOUT: crm-ui-typography-source-cleanup-1 · crm-ui-typography-source-cleanup-beta */

@media screen {
  html.crm-ui-typography-source-cleanup-beta {
    --ui-text-3xs: 11px;
    --ui-text-2xs: 11px;
    --ui-weight-heavy: 800;
    --ui-weight-black: 800;
  }

  html.crm-ui-typography-platform-stability-beta body {
    font-synthesis: none;
    line-height: 1.4;
  }

  html.crm-ui-typography-platform-stability-beta :is(button, input, select, textarea) {
    font-family: var(--ui-font-sans, "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif);
    line-height: 1.25;
  }

  html.crm-ui-typography-platform-stability-beta :is(h1, h2, h3, h4, h5, h6) {
    line-height: 1.2;
  }

  html.crm-ui-typography-source-cleanup-beta :is(strong, b) {
    font-weight: var(--ui-weight-bold, 700);
  }

  html.crm-ui-typography-platform-stability-beta :is(
    p,
    li,
    label,
    small,
    .orders-list__row,
    .contacts-row,
    .finance-table__row,
    .company-staff-table__row,
    .settings-table > div,
    #nsWarehouseRoot table
  ) {
    line-height: 1.35;
  }
}
