/* issue96 v23 -- corrected white WebKit text-fill left by premium-3d.css.
   A dark color declaration alone does not win against a separate
   -webkit-text-fill-color: white !important declaration.
   The foreground and text-fill must agree on every interactive control. */
:root{color-scheme:light}
html body{color:#172b45!important;background:#f9fcff!important}
html body :is(.main-nav .nav-primary,.search-box button,.inline-search-form button,
  .primary-button,.guide-product-button,.guided-card-actions a,
  .compare-affiliate-button,.guide-fixed-affiliate-button,.product-fixed-purchase,
  .finder-card-actions a:last-child,.site-utility a,.site-footer a,.site-footer strong,
  .hero-guide .text-button:hover,.compare-priority-buttons button.is-active,
  .compare-share-tools button:hover,.compare-share-tools button:focus-visible){
  color:#951432!important;
  -webkit-text-fill-color:#951432!important;
  text-shadow:none!important;
}
html body :is(.main-nav .nav-primary,.search-box button,.inline-search-form button,
  .primary-button,.guide-product-button,.guided-card-actions a,
  .compare-affiliate-button,.guide-fixed-affiliate-button,.product-fixed-purchase,
  .finder-card-actions a:last-child,.hero-guide .text-button:hover)
  :is(span,strong,b,small,em,i,svg){
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  text-shadow:none!important;
}
/* Pink and pale-sky action surfaces keep the dark label readable. */
html body :is(.main-nav .nav-primary,.search-box button,.inline-search-form button,
  .primary-button,.guide-product-button,.guided-card-actions a,
  .compare-affiliate-button,.guide-fixed-affiliate-button,.product-fixed-purchase,
  .finder-card-actions a:last-child,.hero-guide .text-button:hover){
  background:linear-gradient(180deg,#fff1f5,#ffdae6)!important;
  border-color:#d87597!important;
}
html body :is(.search-box button,.inline-search-form button,.primary-button,
  .guide-product-button,.guide-fixed-affiliate-button,.product-fixed-purchase,
  .main-nav .nav-primary):is(:hover,:focus-visible){
  background:linear-gradient(180deg,#ffe3ec,#ffc9d9)!important;
  color:#80102e!important;
  -webkit-text-fill-color:#80102e!important;
}
/* Utility bar, footer links and drawer previously inherited an invisible white
   text fill regardless of their dark computed color. */
html body :is(.site-utility,.site-footer,.footer-top,.footer-bottom){
  background:#edf7ff!important;
  color:#193751!important;
  -webkit-text-fill-color:#193751!important;
}
html body :is(.site-utility,.site-footer,.footer-top,.footer-bottom) :is(a,span,b,strong,small,p,li,h2,h3){
  color:#193751!important;
  -webkit-text-fill-color:#193751!important;
}
/* Mobile navigation backdrop remains light, not white text on legacy dark blue. */
html body :is(.mobile-nav,.mobile-menu,.mobile-nav-panel,.menu-panel,.nav-drawer){
  background:#f1f9ff!important;
  color:#172b45!important;
}
html body :is(.mobile-nav,.mobile-menu,.mobile-nav-panel,.menu-panel,.nav-drawer) :is(a,button,span,small,strong,b){
  color:#172b45!important;
  -webkit-text-fill-color:#172b45!important;
}
/* Search fields never inherit the button tint. */
html body :is(input,textarea,select){color:#172b45!important;-webkit-text-fill-color:#172b45!important;background:#fff!important}
html body :is(input,textarea)::placeholder{color:#56667b!important;-webkit-text-fill-color:#56667b!important;opacity:1!important}
/* Focus indicators do not depend on text color. */
html body :is(a,button,input,select,textarea):focus-visible{outline:3px solid #3e96c8!important;outline-offset:2px!important}
