/* La calculadora de la v2p y la potenciada, una sola (Dirección, 29/11 12:0x). */
#lcv2 .a4{position:relative;margin:4px 0}
#lcv2 .a4-boton{list-style:none;display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 0 8px 12px;background:#fff;border:1px solid #e6e3ee;border-radius:10px;box-shadow:0 1px 2px rgba(29,29,31,.06);cursor:pointer;max-width:420px}
#lcv2 .a4-boton::-webkit-details-marker{display:none}
#lcv2 .a4-boton::marker{content:""}
#lcv2 .a4-boton:hover{border-color:#4b1f8f}
#lcv2 .a4-boton:focus-visible{outline:2px solid #4b1f8f;outline-offset:2px}
#lcv2 .a4-icono{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff6db}
#lcv2 .a4-texto{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
#lcv2 .a4-l1{font-size:14px;font-weight:500;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#lcv2 .a4-l1 strong{font-size:15px;font-weight:700;color:inherit;font-variant-numeric:tabular-nums}
#lcv2 .a4-l2{font-size:12px;color:#6b6b70;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#lcv2 .a4-sup{font-size:13px;line-height:1.35;color:#6b6b70;margin:-4px 0 4px}
#lcv2 .a4-dato{font-size:13px;line-height:1.4;margin:0}
#lcv2 .a4-fuentes summary{display:inline-flex;min-height:36px;align-items:center;font-size:12px;color:#4b1f8f;text-decoration:underline;cursor:pointer;list-style:none}
#lcv2 .a4-fuentes summary::-webkit-details-marker{display:none}
#lcv2 .a4-flecha{flex:none;align-self:stretch;margin:-8px 0;width:44px;border-left:1px solid #e6e3ee;display:grid;place-items:center}
#lcv2 .a4[open] .a4-flecha svg{transform:rotate(180deg)}
#lcv2 .a4-panel{background:#fff;display:flex;flex-direction:column;gap:10px;border:1px solid #e6e3ee;border-radius:12px;padding:14px 16px;margin-top:8px;max-width:440px}
@media (min-width:900px){#lcv2 .a4-panel{position:absolute;top:100%;left:0;width:440px;z-index:20;box-shadow:0 12px 32px rgba(29,29,31,.16)}}
#lcv2 .a4-panel h3{font-size:15px;font-weight:700;margin:0}
#lcv2 .a4-fb{display:flex;flex-direction:column;gap:6px}
#lcv2 .a4-et{display:flex;justify-content:space-between;gap:12px;font-size:14px}
#lcv2 .a4-et b{font-variant-numeric:tabular-nums;white-space:nowrap}
#lcv2 .a4-bar{display:block;height:12px;border-radius:6px}
#lcv2 .a4-bar-este{background:#1f8a4c}
#lcv2 .a4-bar-max{background:#c9c6d3;width:100%}
#lcv2 .a4-total{font-size:14px;font-weight:700;margin:0}
#lcv2 .a4-frase{font-size:14px;line-height:40px;margin:0}
#lcv2 .a4-campo input{width:64px;height:36px;font:600 16px system-ui,sans-serif;text-align:center;border:1px solid #d9d4e6;border-radius:8px;padding:0 6px}
#lcv2 .a4-campo input:focus{outline:2px solid #4b1f8f;outline-offset:1px}
#lcv2 .a4-fuente{font-size:12px;line-height:1.45;color:#6b6b70;margin:0}
#lcv2 .a4-fuente a{color:#4b1f8f}
#lcv2 #ahorro-v4 .panel h3{font-size:15px;font-weight:700;line-height:1.25}
#lcv2 #ahorro-v4 .cabeza{display:flex;flex-direction:column;gap:2px}
#lcv2 #ahorro-v4 .rango{display:flex;flex-direction:column;gap:0;padding:2px 0 0}
#lcv2 #ahorro-v4 .r-fila{position:relative}
#lcv2 #ahorro-v4 .r-arriba{height:34px}
#lcv2 #ahorro-v4 .r-abajo{height:34px}
#lcv2 #ahorro-v4 .r-et{position:absolute;white-space:nowrap;font-size:13px;line-height:18px;font-variant-numeric:tabular-nums;transform:translateX(-50%)}
#lcv2 #ahorro-v4 .r-et-este{top:0;background:var(--texto);color:#fff;border-radius:99px;padding:4px 10px;font-size:13px;line-height:18px}
#lcv2 #ahorro-v4 .r-et-este b{font-weight:700}
#lcv2 #ahorro-v4 .r-et-este::after{content:"";position:absolute;left:var(--pico,50%);bottom:-5px;margin-left:-5px;border:5px solid transparent;border-bottom:0;border-top-color:var(--texto)}
#lcv2 #ahorro-v4 .r-et-media{top:11px;color:var(--texto-2)}
#lcv2 #ahorro-v4 .r-et-media b{color:var(--texto);font-weight:600}
#lcv2 #ahorro-v4 .r-pista{position:relative;height:10px;margin-top:6px;border-radius:5px;background:linear-gradient(90deg,#e06a4b 0%,#f0a35e 22%,#f2d27a 45%,#9fcf7a 70%,#3c9d63 100%)}
#lcv2 #ahorro-v4 .r-marca{position:absolute;top:50%}
#lcv2 #ahorro-v4 .r-m-este{width:4px;height:20px;margin:-10px 0 0 -2px;border-radius:2px;background:var(--texto);box-shadow:0 0 0 2px #fff}
#lcv2 #ahorro-v4 .r-m-media{top:0;width:2px;height:100%;margin-left:-1px;background:rgba(255,255,255,.95)}
#lcv2 #ahorro-v4 .r-m-media::after{content:"";position:absolute;left:50%;top:calc(100% + 3px);margin-left:-5px;border:5px solid transparent;border-top:0;border-bottom-color:var(--texto-2)}
#lcv2 #ahorro-v4 .r-extremos{display:flex;justify-content:space-between;gap:12px;font-size:12px;line-height:1.35;color:var(--texto-2);border-top:1px solid var(--borde);padding-top:8px}
#lcv2 #ahorro-v4 .r-extremos b{color:var(--texto);font-weight:600;font-variant-numeric:tabular-nums}
#lcv2 #ahorro-v4 .r-extremos span{display:flex;flex-direction:column}
#lcv2 #ahorro-v4 .r-extremos .der{align-items:flex-end;text-align:right;gap:0}
#lcv2 #ahorro-v4 .r-extremos b{display:inline-flex;align-items:center;gap:6px}
#lcv2 #ahorro-v4 .r-extremos b::before{content:"";width:8px;height:8px;border-radius:50%;background:#e06a4b}
#lcv2 #ahorro-v4 .r-extremos .der b::before{background:#3c9d63;order:2}
#lcv2 #ahorro-v4 .r-arriba{height:33px;z-index:2}
#lcv2 #ahorro-v4 .r-pista{margin-top:0}
#lcv2 #ahorro-v4 .r-m-este{display:none}
#lcv2 #ahorro-v4 .r-et-este::after{bottom:-7px;margin-left:-7px;border-width:7px 7px 0}
#lcv2 #ahorro-v4 .tabla tbody th{white-space:nowrap}
#lcv2 #ahorro-v4 .r-ahorros{list-style:none;display:flex;flex-direction:column;gap:2px;font-size:14px;line-height:1.4}
#lcv2 #ahorro-v4 .r-ahorros b{font-weight:700;font-variant-numeric:tabular-nums}
#lcv2 #ahorro-v4 .r-ahorros .principal{font-size:15px}
#lcv2 #ahorro-v4 .r-ahorros .principal b{color:var(--verde)}
#lcv2 #ahorro-v4 .r-ahorros .principal .segunda{white-space:nowrap}
#lcv2 #ahorro-v4 .r-ahorros .principal .segunda[hidden],#lcv2 #ahorro-v4 .movil .r-ahorros .principal .segunda[hidden]{display:none}
#lcv2 #ahorro-v4 .r-ahorros .segunda{color:var(--texto-2);font-size:13px}
#lcv2 #ahorro-v4 .r-ahorros .segunda b{color:var(--texto);font-weight:600}
#lcv2 #ahorro-v4 .supuesto{font-size:13px;line-height:1.35;color:var(--texto-2)}
#lcv2 #ahorro-v4 .filas{display:flex;flex-direction:column;gap:12px}
#lcv2 #ahorro-v4 .fb{display:flex;flex-direction:column;gap:6px}
#lcv2 #ahorro-v4 .fb .et{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px;line-height:1.2}
#lcv2 #ahorro-v4 .fb .et b{font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
#lcv2 #ahorro-v4 .fb .bar{display:block;height:12px;border-radius:6px;transition:width .2s}
#lcv2 #ahorro-v4 .bar-este{background:var(--verde)}
#lcv2 #ahorro-v4 .bar-max{background:var(--gris-barra);width:100%}
#lcv2 #ahorro-v4 .total{font-size:14px;font-weight:700;line-height:1.3;font-variant-numeric:tabular-nums}
#lcv2 #ahorro-v4 .ajustes{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#lcv2 #ahorro-v4 .ajuste{display:flex;flex-direction:column;gap:4px;min-width:0;cursor:text}
#lcv2 #ahorro-v4 .ajuste .et{font-size:12px;line-height:16px;color:var(--texto-2)}
#lcv2 #ahorro-v4 .caja{display:flex;align-items:center;height:44px;padding:0 12px;background:#fff;border:1px solid var(--borde-campo);border-radius:10px;gap:6px}
#lcv2 #ahorro-v4 .caja:focus-within{outline:2px solid var(--morado);outline-offset:1px;border-color:var(--morado)}
#lcv2 #ahorro-v4 .caja input{flex:1;min-width:0;width:100%;height:100%;font-family:inherit;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--texto);background:transparent;border:0;outline:0;padding:0}
#lcv2 #ahorro-v4 .caja .ud{flex:none;font-size:13px;color:var(--texto-2)}
#lcv2 #ahorro-v4 .fuente{font-size:12px;line-height:1.45;color:var(--texto-2)}
#lcv2 #ahorro-v4 .datos{display:flex;flex-direction:column;gap:4px}
#lcv2 #ahorro-v4 .dato{font-size:13px;line-height:1.4;color:var(--texto)}
#lcv2 #ahorro-v4 .tabla{width:100%;border-collapse:collapse;font-size:13px;line-height:1.3;font-variant-numeric:tabular-nums}
#lcv2 #ahorro-v4 .tabla th,#lcv2 #ahorro-v4 .tabla td{padding:6px 4px;text-align:right;border-bottom:1px solid var(--borde)}
#lcv2 #ahorro-v4 .tabla tr>:first-child{padding-left:0}
#lcv2 #ahorro-v4 .tabla tr>:last-child{padding-right:0}
#lcv2 #ahorro-v4 .th-luz{white-space:nowrap}
#lcv2 #ahorro-v4 .firma{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid var(--borde)}
#lcv2 #ahorro-v4 .firma span{font-size:11px;letter-spacing:.02em;color:var(--texto-2);line-height:1}
#lcv2 #ahorro-v4 .firma img{display:block;height:32px;width:auto}
#lcv2 #ahorro-v4 .tabla thead th{font-size:12px;font-weight:500;color:var(--texto-2);padding-top:0}
#lcv2 #ahorro-v4 .tabla tbody th{text-align:left;font-weight:400;color:var(--texto)}
#lcv2 #ahorro-v4 .tabla tbody tr:last-child th,#lcv2 #ahorro-v4 .tabla tbody tr:last-child td{border-bottom:0}
#lcv2 #ahorro-v4 .tabla .min th::before,#lcv2 #ahorro-v4 .tabla .max th::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;background:#3c9d63}
#lcv2 #ahorro-v4 .tabla .max th::before{background:#e06a4b}
#lcv2 #ahorro-v4 .tabla .este th,#lcv2 #ahorro-v4 .tabla .este td{background:#f3eefb;font-weight:700}
#lcv2 #ahorro-v4 .oculto{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#lcv2 #ahorro-v4 .caja:has(input.mal){animation:a4mal .9s ease-out}
@keyframes a4mal{0%,30%,60%{border-color:var(--rojo);box-shadow:0 0 0 2px rgba(198,40,40,.25)}15%,45%{border-color:var(--borde-campo);box-shadow:none}100%{border-color:var(--borde-campo);box-shadow:none}}
#lcv2 #ahorro-v4{--texto:#1d1d1f;--texto-2:#6b6b70;--borde:#e6e3ee;--borde-campo:#d9d4e6;--rojo:#c62828}
#lcv2 #ahorro-v4 .a4-panel{gap:12px}
#lcv2 #ahorro-v4 .r-ahorros{margin:0;padding:0}
#lcv2 #ahorro-v4 .supuesto,#lcv2 #ahorro-v4 .dato,#lcv2 #ahorro-v4 .fuente{margin:0}
@media (max-width:899px){#lcv2 #ahorro-v4 .r-ahorros .principal .segunda{display:block;font-size:13px;color:var(--texto-2)}#lcv2 #ahorro-v4 .r-ahorros .principal .segunda[hidden]{display:none}}
#lcv2 #ahorro-v4 .a4-boton{border-color:#E6D9F0!important;background:#F6F0FA!important}
#lcv2 #ahorro-v4 .a4-boton:hover,#lcv2 #ahorro-v4[open] .a4-boton{background:#EEE3F6!important}
#lcv2 #ahorro-v4 .a4-flecha path{stroke:var(--morado)}
#lcv2:has(#ahorro-v4[open]) .fija-arriba.ve,#lcv2:has(#ahorro-v4[open]) .fija-abajo>.barra-compra{visibility:hidden}
#lcv2 .p-bf{align-self:center;display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;background:var(--ltit,#28303D);color:#fff;font-family:Roboto,sans-serif;font-size:13px;font-weight:600;line-height:1;white-space:nowrap}
