/* MyLoanSaathi Tools Contrast V4 — component-by-component surface mapping.
   Dark/blue surfaces => white copy. Light/white surfaces => dark ink.
   Loaded last on the four requested pages only. */
body.mls-tools-contrast-audit{color:#10243d!important;-webkit-text-fill-color:#10243d}
body.mls-tools-contrast-audit :is(.of-hero,.finance-hero){color:#fff!important}
body.mls-tools-contrast-audit :is(.of-hero,.finance-hero) :is(h1,h2,h3,h4,h5,h6,p,span,b,strong,small,em,a:not(.btn),.of-badge,.of-proof,.of-flow,.of-bottom){color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
body.mls-tools-contrast-audit :is(.of-hero,.finance-hero) :is(.of-secondary,.of-bottom a){color:#fff!important;-webkit-text-fill-color:#fff!important}
body.mls-tools-contrast-audit .of-hero :is(.of-badge,.of-proof b){color:#79edff!important;-webkit-text-fill-color:#79edff!important}

/* Light page canvas and white cards */
body.mls-tools-contrast-audit :is(.tool-suite-intro,.section,.section.soft,.a19-tool-stage,.tool-shell,.tool-panel,.calc-card,.schedule-card,.a19-control,.form-card,.card:not(.tone-dark),.tool-suite-card:not(.primary),.adv-engine,.adv-console,.adv-metric,.adv-insight){color:#10243d!important}
body.mls-tools-contrast-audit :is(.tool-suite-intro,.section,.section.soft,.a19-tool-stage,.tool-shell,.tool-panel,.calc-card,.schedule-card,.a19-control,.form-card,.card:not(.tone-dark),.tool-suite-card:not(.primary),.adv-engine,.adv-console,.adv-metric,.adv-insight) :is(h1,h2,h3,h4,h5,h6,p,span,b,strong,small,label,legend,li,dt,dd,th,td,a:not(.btn),.eyebrow,.kicker,.result-kicker,.calc-disclaimer){color:#10243d!important;-webkit-text-fill-color:#10243d!important;opacity:1!important;text-shadow:none!important}
body.mls-tools-contrast-audit :is(.section-head .eyebrow,.a19-kicker,.tool-suite-card:not(.primary) small,.calc-icon){color:#075fbd!important;-webkit-text-fill-color:#075fbd!important}
body.mls-tools-contrast-audit :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fff!important;color:#10243d!important;-webkit-text-fill-color:#10243d!important;caret-color:#075fc4!important;opacity:1!important;border-color:#cbd9e8!important}
body.mls-tools-contrast-audit :is(input,textarea)::placeholder{color:#66798d!important;-webkit-text-fill-color:#66798d!important;opacity:1!important}

/* Dark / blue cards and result surfaces */
body.mls-tools-contrast-audit :is(.tool-suite-card.primary,.tone-dark,.contact-panel,.a19-output,.result-card,.apply-band,.darksec){color:#fff!important}
body.mls-tools-contrast-audit :is(.tool-suite-card.primary,.tone-dark,.contact-panel,.a19-output,.result-card,.apply-band,.darksec) :is(h1,h2,h3,h4,h5,h6,p,span,b,strong,small,label,legend,li,dt,dd,th,td,a:not(.btn),em,.eyebrow,.kicker,.result-kicker,.result-note,.calc-disclaimer){color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;text-shadow:none!important}
body.mls-tools-contrast-audit :is(.tone-dark,.contact-panel,.a19-output,.result-card,.apply-band,.darksec){background-color:#082b59!important}
body.mls-tools-contrast-audit .tool-suite-card.primary{background:linear-gradient(135deg,#082653,#075eb2)!important}
body.mls-tools-contrast-audit .tone-mint{background:#effcf8!important;color:#10243d!important}
body.mls-tools-contrast-audit .tone-mint :is(h1,h2,h3,h4,h5,p,span,b,strong,small,label,a){color:#10243d!important;-webkit-text-fill-color:#10243d!important;opacity:1!important}

/* Comparison Studio: force the output table itself dark. The previous white rectangle
   was caused by the table cell surface, not by the output panel text colour. */
body.mls-tools-contrast-audit .a19-output{background:linear-gradient(145deg,#071b3b,#0a4c91)!important;border:1px solid #28649c!important}
body.mls-tools-contrast-audit .a19-output .a19-big{color:#fff!important;-webkit-text-fill-color:#fff!important;background:transparent!important}
body.mls-tools-contrast-audit .a19-output .a19-comparison-table,
body.mls-tools-contrast-audit .a19-output .a19-comparison-table tbody,
body.mls-tools-contrast-audit .a19-output .a19-comparison-table tr{background:transparent!important;background-color:transparent!important}
body.mls-tools-contrast-audit .a19-output .a19-comparison-table td,
body.mls-tools-contrast-audit .a19-output .a19-comparison-table th,
body.mls-tools-contrast-audit .a19-output .a19-comparison-table tr td{background:#123e70!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid rgba(255,255,255,.18)!important}
body.mls-tools-contrast-audit .a19-output .a19-comparison-table td:first-child{color:#e4f2ff!important;-webkit-text-fill-color:#e4f2ff!important}
body.mls-tools-contrast-audit .a19-output .a19-metrics{background:rgba(255,255,255,.08)!important;border-radius:14px;padding:12px}
body.mls-tools-contrast-audit .a19-output .a19-metrics :is(span,b){color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Finance Lab: calculator cards stay light; results stay dark; supporting engine panels light. */
body.mls-tools-contrast-audit .tool-shell .calc-card,
body.mls-tools-contrast-audit .tool-shell .schedule-card,
body.mls-tools-contrast-audit .tool-shell .adv-engine,
body.mls-tools-contrast-audit .tool-shell .adv-console,
body.mls-tools-contrast-audit .tool-shell .adv-metric,
body.mls-tools-contrast-audit .tool-shell .adv-insight{background:#fff!important;color:#10243d!important}
body.mls-tools-contrast-audit .tool-shell :is(.calc-card,.schedule-card,.adv-engine,.adv-console,.adv-metric,.adv-insight) :is(h1,h2,h3,h4,h5,p,span,b,strong,small,label,li,th,td){color:#10243d!important;-webkit-text-fill-color:#10243d!important;opacity:1!important}
body.mls-tools-contrast-audit .tool-shell .result-card{background:linear-gradient(145deg,#071a3c,#0a3d78)!important;color:#fff!important}
body.mls-tools-contrast-audit .tool-shell .result-card :is(h1,h2,h3,h4,p,span,b,strong,small,label,li,.result-kicker,.result-note,.calc-disclaimer){color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
body.mls-tools-contrast-audit .tool-shell .result-card .result-kicker{color:#8beaff!important;-webkit-text-fill-color:#8beaff!important}
body.mls-tools-contrast-audit .tool-nav button{color:#173654!important;-webkit-text-fill-color:#173654!important}
body.mls-tools-contrast-audit .tool-nav button.active{background:#0b63c7!important;color:#fff!important;-webkit-text-fill-color:#fff!important}

/* Contact: blue contact panel white, enquiry form white with dark labels and entered values. */
body.mls-tools-contrast-audit .contact-panel{background:linear-gradient(145deg,#071a3e,#0b3b82)!important;color:#fff!important}
body.mls-tools-contrast-audit .contact-panel :is(h1,h2,h3,h4,p,li,span,b,strong,small,a,.eyebrow,.contact-item){color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important}
body.mls-tools-contrast-audit .form-card{background:#fff!important;color:#10243d!important}
body.mls-tools-contrast-audit .form-card :is(h1,h2,h3,h4,p,li,span,b,strong,small,label){color:#10243d!important;-webkit-text-fill-color:#10243d!important;opacity:1!important}
body.mls-tools-contrast-audit .form-card :is(input,select,textarea){background:#fff!important;color:#10243d!important;-webkit-text-fill-color:#10243d!important}

/* Keep disabled/secondary copy readable without changing unrelated site pages. */
body.mls-tools-contrast-audit :is(.of-hero,.finance-hero,.tool-suite-intro,.section,.a19-tool-stage,.tool-shell,.contact-panel,.form-card) :is(h1,h2,h3,h4,h5,h6,p,span,b,strong,small,label,li,a){opacity:1!important;text-shadow:none!important}
