/* VyaparMitra Settings Center V2 - readable type scale for the complete Billing workspace. */
#cpsBillingAdvancedDesk,
#cpsBillingAdvancedDesk .cps-af-main { font-size: 15px !important; line-height: 1.5 !important; }
#cpsBillingAdvancedDesk .cps-af-nav button {
  min-height: 48px !important; padding: 11px 13px !important;
  font-size: 14px !important; line-height: 1.35 !important;
  white-space: normal !important; overflow-wrap: anywhere !important;
}
#cpsBillingAdvancedDesk .cps-af-nav button:before { font-size: 17px !important; }
#cpsBillingAdvancedDesk .cps-af-head h2,
#cpsBillingAdvancedDesk .cps-af-title-row h3 { font-size: 23px !important; line-height: 1.25 !important; }
#cpsBillingAdvancedDesk .cps-af-head p,
#cpsBillingAdvancedDesk .cps-af-title-row p,
#cpsBillingAdvancedDesk .cps-af-note,
#cpsBillingAdvancedDesk .cps-af-small { font-size: 14px !important; line-height: 1.55 !important; }
#cpsBillingAdvancedDesk .cps-af-head-actions button,
#cpsBillingAdvancedDesk .cps-af-head-actions span { font-size: 13.5px !important; }
#cpsBillingAdvancedDesk .cps-af-main button { font-size: 14.5px !important; line-height: 1.4 !important; min-height: 40px; }
#cpsBillingAdvancedDesk .cps-af-main input,
#cpsBillingAdvancedDesk .cps-af-main select,
#cpsBillingAdvancedDesk .cps-af-main textarea { font-size: 15px !important; min-height: 42px; }
#cpsBillingAdvancedDesk .cps-af-main label,
#cpsBillingAdvancedDesk .cps-af-main label > span { font-size: 14.5px !important; line-height: 1.45 !important; }
#cpsBillingAdvancedDesk .cps-af-settings-card header h4 { font-size: 17px !important; line-height: 1.35 !important; }
#cpsBillingAdvancedDesk .cps-af-settings-card header p { font-size: 14px !important; line-height: 1.5 !important; }
#cpsBillingAdvancedDesk .cps-af-settings-card input,
#cpsBillingAdvancedDesk .cps-af-settings-card select,
#cpsBillingAdvancedDesk .cps-af-settings-card textarea { min-height: 44px; font-size: 15px !important; }
#cpsBillingAdvancedDesk .cps-af-table th { font-size: 13.5px !important; line-height: 1.4 !important; }
#cpsBillingAdvancedDesk .cps-af-table td { font-size: 14px !important; line-height: 1.5 !important; }
#cpsBillingAdvancedDesk .cps-af-metrics article span,
#cpsBillingAdvancedDesk .cps-v20-quick-actions button > small { font-size: 13.5px !important; line-height: 1.5 !important; }
#cpsBillingAdvancedDesk .cps-af-metrics article b { font-size: 24px !important; }
#cpsBillingAdvancedDesk .cps-v20-quick-actions button > b { font-size: 15px !important; line-height: 1.4 !important; }
#cpsBillingAdvancedDesk .cps-v20-quick-actions button > span { font-size: 17px !important; }
#cpsBillingAdvancedDesk .cps-af-settings-footer button { font-size: 14.5px !important; min-height: 44px !important; }

/* Tenant header actions and quick navigation. */
#cpsBillingTenantHeaderV1 .cps-bth-edition { font-size: 11px !important; }
#cpsBillingTenantHeaderV1 .cps-bth-name,
#cpsBillingTenantHeaderV1 .cps-bth-product-title-v1 { font-size: clamp(27px, 2.5vw, 36px) !important; line-height: 1.15 !important; }
#cpsBillingTenantHeaderV1 .cps-bth-copy p { font-size: 14px !important; line-height: 1.45 !important; }
#cpsBillingTenantHeaderV1 .cps-bth-chip,
#cpsBillingTenantHeaderV1 .cps-bth-settings,
#cpsBillingTenantHeaderV1 .cps-bth-quick-button-v1 { font-size: 14px !important; line-height: 1.35 !important; }
#cpsBillingTenantHeaderV1 .cps-bth-settings { min-height: 44px !important; padding: 11px 17px !important; font-weight: 850 !important; }
#cpsBillingTenantHeaderV1 .cps-bth-quick-button-v1 { min-height: 56px !important; }

/* Settings section navigator. */
.vm-settings-toolbar-v2 {
  position: sticky; top: 0; z-index: 18; display: flex; align-items: center;
  justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 16px;
  padding: 15px 17px; border: 1px solid #d6e2f5; border-radius: 16px;
  background: rgba(255,255,255,.97); box-shadow: 0 8px 26px rgba(21,43,86,.10);
  backdrop-filter: blur(10px);
}
.vm-settings-toolbar-copy-v2 { display: grid; gap: 4px; min-width: 230px; }
.vm-settings-toolbar-copy-v2 strong { color: #142b58; font-size: 18px; line-height: 1.3; font-weight: 900; }
.vm-settings-toolbar-copy-v2 span { color: #50627f; font-size: 14px; line-height: 1.45; }
.vm-settings-progress-v2 { color: #2458d3; font-size: 13px; font-weight: 850; }
.vm-settings-toolbar-actions-v2 { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.vm-settings-toolbar-actions-v2 button {
  min-height: 44px; padding: 10px 16px; border: 1px solid #cad7ed; border-radius: 11px;
  background: #f7faff; color: #16376f; font-size: 14px !important; font-weight: 850; cursor: pointer;
}
.vm-settings-toolbar-actions-v2 button.vm-settings-next-v2 { border-color: transparent; color: #fff; background: linear-gradient(110deg,#1768d8,#6d28d9); }
.vm-settings-toolbar-actions-v2 button.vm-settings-close-v2 { color: #8b1e3f; background: #fff6f7; border-color: #f3cbd4; }
.vm-settings-toolbar-actions-v2 button:disabled { opacity: .45; cursor: not-allowed; }
.vm-settings-branding-row-v2 {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin: 0 0 8px; padding: 16px 17px;
  border: 1px solid #d5e2f7; border-radius: 14px; background: linear-gradient(110deg,#f3f8ff,#faf7ff);
}
.vm-settings-branding-row-v2 > div { display: grid; gap: 5px; }
.vm-settings-branding-row-v2 strong { color: #19396e; font-size: 16px; }
.vm-settings-branding-row-v2 small { color: #536780; font-size: 13.5px; line-height: 1.5; }
.vm-settings-branding-button-v2 { min-height: 44px !important; padding: 11px 17px !important; border-radius: 11px !important; font-size: 14.5px !important; font-weight: 850 !important; }
#cpsBillingAdvancedDesk .cps-af-settings-card { scroll-margin-top: 110px; }

@media (max-width: 900px) {
  #cpsBillingAdvancedDesk .cps-af-nav button { font-size: 14px !important; }
  .vm-settings-toolbar-v2 { position: relative; top: auto; }
}
@media (max-width: 620px) {
  #cpsBillingAdvancedDesk .cps-af-head h2,
  #cpsBillingAdvancedDesk .cps-af-title-row h3 { font-size: 21px !important; }
  #cpsBillingAdvancedDesk .cps-af-table th,
  #cpsBillingAdvancedDesk .cps-af-table td { font-size: 13px !important; }
  .vm-settings-toolbar-actions-v2 { width: 100%; }
  .vm-settings-toolbar-actions-v2 button { flex: 1 1 auto; }
  .vm-settings-branding-button-v2 { width: 100%; }
}
