/* EasyToCalculate — Force Light Mode v6 — ALL CLASSES */
html,body{color-scheme:only light!important}
*{color-scheme:light!important}
html[data-theme=dark],body.dark,html[data-theme=dark] body{background:#f5f5f5!important;color:#222!important}
:root{--bg:#f5f5f5;--bg1:#f5f5f5;--bg2:#ebebeb;--card:#fff;--ink:#222;--txt:#222;
  --muted:#546e7a;--line:#e0e0e0;--accent:#1565c0;--accent2:#0d47a1;
  --green:#2e7d32;--peach:#e3f2fd;--sky:#e3f2fd;--brand-green:#0d47a1}
html[data-theme=dark]{--bg:#f5f5f5!important;--bg1:#f5f5f5!important;--bg2:#ebebeb!important;
  --card:#fff!important;--ink:#222!important;--txt:#222!important;--accent:#1565c0!important;--peach:#e3f2fd!important}
body{background:#f5f5f5!important;color:#222!important}
/* ALL card variants */
.calc-card,.card,.cbox,.card-box,.calc-box{background:#fff!important;color:#222!important;border-color:#ccc!important}
.calc-card h2,.calc-card h3,.card h2,.card h3{color:#1a3a5c!important}
/* ALL input variants */
input,select,textarea{background:#fff!important;color:#222!important;border-color:#aaa!important}
input:focus,select:focus{border-color:#2e7bc4!important;outline:none!important}
/* Labels */
label{color:#444!important}
/* Header */
header,header.site,.header,.page-header,.hdr{background:#1a3a5c!important;color:#fff!important}
.brand .e,.brand .c,.brand-title,header .brand,.logo,.logo span{-webkit-text-fill-color:initial!important}
.brand .e,.brand-e,.logo{color:#fff!important;-webkit-text-fill-color:#fff!important;
  background:none!important;-webkit-background-clip:unset!important;background-clip:unset!important}
.brand .c,.logo span{color:#4caf50!important;-webkit-text-fill-color:#4caf50!important}
header a,.nav a,.hnav a{color:rgba(255,255,255,.9)!important}
/* Hide dark mode toggle */
.toggle,#toggle,[onclick="toggleTheme()"]{display:none!important}
/* Headings */
h1{color:#1a3a5c!important}h2{color:#1a3a5c!important}h3{color:#333!important}
/* Buttons */
.btn,.go-btn,.calc-btn,.go,.cbar+.cbody~.brow .go{background:#4caf50!important;color:#fff!important}
.btn.clear,.clr-btn,.clr{background:#9e9e9e!important;color:#fff!important}
button[style*="background:#4caf50"]{background:#4caf50!important}
/* Results - hidden by default */
.result:not(.show):not(.on):not(.visible){display:none!important}
.result.show,.result.on,.result.visible{display:block!important}
.res:not(.on){display:none!important}
.res.on{display:block!important}
.res-box:not(.show){display:none!important}
.res-box.show{display:block!important}
/* result tiles inside a results grid must stay visible */
.res-grid>.res-box{display:block!important;background:#e8f5e9!important;border:1px solid #c8e6c9!important}
.res-grid>.res-box .val{color:#2e7d32!important;font-weight:800!important;font-size:18px}
.res-grid>.res-box .lbl{color:#555!important;font-size:13px}
/* Result colors */
.rv,.amt,.result-value,.rh span{color:#2e7d32!important;font-weight:700!important}
.emi-big .amt{color:#1a3a5c!important;font-size:2rem!important}
.rh{background:#4caf50!important;color:#fff!important}
/* Tables */
th{background:#2e5a8a!important;color:#fff!important}
td{background:#fff!important;color:#333!important}
tr:nth-child(even) td{background:#f9f9f9!important}
/* Footer */
footer,.footer,.site-foot,.foot{background:#1a3a5c!important;color:rgba(255,255,255,.8)!important}
footer a,.footer a,.foot a{color:#4caf50!important}
/* Body text */
p,li,span:not(.logo span){color:#333}
a{color:#2e7bc4!important}
/* Article classes */
.wrap{max-width:900px;margin:0 auto;padding:14px 16px 50px}
.fml,.formula{background:#f0f4f8!important;border-left:4px solid #2e7bc4!important;color:#222!important}
.nt,.note{background:#fff8e1!important;border-left:4px solid #fdd835!important;color:#555!important}
/* Calc bar */
.cbar,.calc-bar{background:#2e5a8a!important;color:#fff!important}
/* Form body */
.cbody,.calc-body,.calc-form{background:#f9f9f9!important}
/* Chip/badge */
.chip,.rel a,.rel-list a{background:#e8f0f8!important;color:#0d47a1!important;border-color:#c5d8f0!important}
