/* KBM rc.133 — Global navy/dark-blue contrast authority.
   Loaded at PHP_INT_MAX so later legacy/general selectors cannot turn text dark
   on navy interactive surfaces. Yellow/light controls are not included. */

/* Dashboard owner-card actions — recurring production regression. */
.kbm-dashboard-recode-actions .kbm-dashboard-recode-act--edit,
.kbm-dashboard-recode-act--pay,
.kbm-dashboard-recode-card.is-expired .kbm-dashboard-recode-act--pay,
.kbm-vp16-preview-actions .is-pay,
.kbm-owner-single-preview a,
.kbm-life-btn--primary,
.kbm-uvlds-claim-notice>a,
.kbm-uvlds-dash-card footer a:last-child{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.kbm-dashboard-recode-actions .kbm-dashboard-recode-act--edit :where(span,b,strong,small),
.kbm-dashboard-recode-act--pay :where(span,b,strong,small),
.kbm-dashboard-recode-card.is-expired .kbm-dashboard-recode-act--pay :where(span,b,strong,small),
.kbm-vp16-preview-actions .is-pay :where(span,b,strong,small),
.kbm-owner-single-preview a :where(span,b,strong,small),
.kbm-life-btn--primary :where(span,b,strong,small),
.kbm-uvlds-claim-notice>a :where(span,b,strong,small),
.kbm-uvlds-dash-card footer a:last-child :where(span,b,strong,small){
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
}

/* Provider / Parts & Services rc.132 single — protect hero and catalog contrast. */
.kbm-ps132-hero-copy,
.kbm-ps132-hero h1,
.kbm-ps132-summary,
.kbm-ps132-published,
.kbm-ps132-rating-row .kbm-ur105-card-rating,
.kbm-ps132-rating-row .kbm-ur105-card-rating strong,
.kbm-ps132-rating-row .kbm-ur105-card-rating small,
.kbm-ps132-hero-stats strong,
.kbm-ps132-completion span,
.kbm-ps132-completion b,
.kbm-ps132-actions>button,
.kbm-ps132-actions>.kbm-c30-favorite:not(.is-active),
.kbm-ps132-actions>.kbm-c30-favorite:not(.is-active) .kbm-c30-favorite__label,
.kbm-ps132-actions>.kbm-c30-favorite:not(.is-active) b,
.kbm-ps132-catalog a,
.kbm-ps132-lead .kbm-services-recode-lead button{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.kbm-ps132-summary{color:#f2f7fa!important}
.kbm-ps132-published,.kbm-ps132-completion span{color:#e3eef4!important}
.kbm-ps132-hero-stats span{color:#c8d9e3!important;-webkit-text-fill-color:#c8d9e3!important}
/* deliberate light/yellow exceptions */
.kbm-ps132-kind,
.kbm-ps132-actions>.kbm-c30-favorite.is-active,
.kbm-ps132-actions>.kbm-c30-favorite.is-active .kbm-c30-favorite__label,
.kbm-ps132-actions>.kbm-c30-favorite.is-active b{
  color:#142433!important;
  -webkit-text-fill-color:#142433!important;
}

/* Rental / Sales / Providers / Contractors / Drivers / Articles / Tenders — navy CTA family. */
.kbm-t125-single-grid aside>a,
.kbm-m40-filter__actions button,
.kbm-driver-owner-preview a,
.kbm-psu70-filter button,
.kbm-marketplace-search a,
.kbm-marketplace-auto-strip a.is-active,
body.kbm-marketplace-v139 .kbm-marketplace-auto-strip.is-driver-context a,
.kbm-articles-recode-filter button,
.kbm-articles-recode-actions a,
.kbm-articles-recode-pagination .current,
.kbm-articles-recode .kbm-article-category-rail a.is-active,
.kbm-articles-recode .kbm-article-category-rail a:hover,
.kbm-article-category-rail a:hover,
.kbm-article-category-rail a.is-active,
.kbm-p0-review-modal__actions a,
#kbm-auth-modal.kbm-p28-auth-polished #kbm-send-otp,
body.kbm-visual-batch01-home .kbm-b01-trust__copy a,
.kbm-hust48-tabs button[aria-selected="true"],
body.kbm-mhvl56 .kbm-hust48-tabs button[aria-selected="true"]{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
.kbm-t125-single-grid aside>a :where(span,b,strong,small),
.kbm-m40-filter__actions button :where(span,b,strong,small),
.kbm-driver-owner-preview a :where(span,b,strong,small),
.kbm-psu70-filter button :where(span,b,strong,small),
.kbm-marketplace-search a :where(span,b,strong,small),
.kbm-articles-recode-filter button :where(span,b,strong,small),
.kbm-articles-recode-actions a :where(span,b,strong,small),
.kbm-p0-review-modal__actions a :where(span,b,strong,small),
#kbm-auth-modal.kbm-p28-auth-polished #kbm-send-otp :where(span,b,strong,small){
  color:inherit!important;
  -webkit-text-fill-color:inherit!important;
}

/* Commercial value/price blocks that use navy surfaces. */
.kbm-machine-sale-recode-single__pricebox,
.kbm-machine-sale-recode-single__pricebox strong,
.kbm-machine-sale-recode-single__pricebox b,
.kbm-machine-sale-recode-single__pricebox span:not(.kbm-machine-sale-recode-single__pricebox-label),
.kbm-ad-single-recode-commercial{
  color:#fff!important;
}
.kbm-machine-sale-recode-single__pricebox strong,
.kbm-machine-sale-recode-single__pricebox b{
  -webkit-text-fill-color:#fff!important;
}

/* KBM admin primary controls. */
body[class*="kbm"] :where(.button-primary,.page-title-action),
.kbm-core-tabs a.is-active{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* Inline-style guard for legacy buttons that still carry the historical navy palette inline. */
a[style*="background:#0b2a3b"],button[style*="background:#0b2a3b"],
a[style*="background: #0b2a3b"],button[style*="background: #0b2a3b"],
a[style*="background:#0f172a"],button[style*="background:#0f172a"],
a[style*="background: #0f172a"],button[style*="background: #0f172a"],
a[style*="background:#071d33"],button[style*="background:#071d33"],
a[style*="background: #071d33"],button[style*="background: #071d33"],
a[style*="background:#071f31"],button[style*="background:#071f31"],
a[style*="background: #071f31"],button[style*="background: #071f31"]{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
