/* Calculadora de interés compuesto (hero) */
.calc-k { font-family: Montserrat, Inter, sans-serif; font-size: 9.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: #8F8F8B; }
.calc-num { display: inline-flex; align-items: baseline; gap: 0.3rem; font-size: 14px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.14); padding-bottom: 1px; transition: border-color .2s; }
.calc-num:focus-within { border-color: #3B82F6; }
.calc-num input { width: 2.4rem; background: transparent; border: 0; outline: none; color: #fff; font: inherit; text-align: right; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.calc-num input::-webkit-outer-spin-button, .calc-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-num.is-money input { width: 3.9rem; }
.calc-num.is-money > span { font-size: 11px; font-weight: 500; }

.calc-range { -webkit-appearance: none; appearance: none; height: 22px; background: transparent; cursor: pointer; touch-action: pan-y; --fill: 50%; }
.calc-range:focus { outline: none; }
.calc-range::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: linear-gradient(to right, #3B82F6 0, #3B82F6 var(--fill), rgba(255,255,255,0.14) var(--fill)); }
.calc-range::-moz-range-track { height: 2px; border-radius: 2px; background: rgba(255,255,255,0.14); }
.calc-range::-moz-range-progress { height: 2px; border-radius: 2px; background: #3B82F6; }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(59,130,246,0.25), 0 2px 6px rgba(0,0,0,0.5); transition: box-shadow .2s; }
.calc-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(59,130,246,0.25), 0 2px 6px rgba(0,0,0,0.5); }
.calc-range:focus-visible::-webkit-slider-thumb, .calc-range:active::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(59,130,246,0.35), 0 2px 6px rgba(0,0,0,0.5); }
@media (pointer: coarse) { .calc-range { height: 32px; } .calc-range::-webkit-slider-thumb { width: 22px; height: 22px; margin-top: -10px; } .calc-range::-moz-range-thumb { width: 22px; height: 22px; } }

.calc-chart svg text { font-family: Inter, system-ui, sans-serif; font-size: 10px; fill: #8F8F8B; }
.calc-tip { background: rgba(14,14,14,0.96); border: 1px solid rgba(255,255,255,0.12); border-radius: 4px; padding: 7px 10px; font-size: 11.5px; line-height: 1.45; color: #EDEDEB; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.7); transition: opacity .15s; }
.calc-tip b { color: #fff; font-weight: 600; }
.calc-tip .t-y { font-family: Montserrat, sans-serif; font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #D2B985; }
