/* Calculadora de baja temeraria: filas de ofertas, barras y paso a paso. Prefijo cx-. Colores de marca. */
.cx-filas { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: fila; }
.cx-filas li { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.cx-filas label { font-size: 14px; font-weight: 700; color: #C6D8EE; }
.cx-filas .cx-entrada { min-width: 0; }
.cx-filas li.cx-nueva { animation: cx-fila .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes cx-fila { from { opacity: 0; transform: translateY(-6px); } }
.cx-filas .cx-error { grid-column: 2 / -1; }
.cx-quitar { min-height: 44px; min-width: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid #607089; background: transparent; color: #F4F8FF; font: 700 14px/1 Jakarta, Arial, sans-serif; cursor: pointer; }
.cx-quitar:hover { border-color: #17B8F6; }
.cx-quitar:focus-visible { outline: 3px solid #6FE0FF; outline-offset: 2px; }
.cx-quitar:disabled { opacity: .4; cursor: not-allowed; }

.cx-resumen { margin: 12px 0 0; font-size: 15px; color: #E3EAF5; }
.cx-resumen b { color: #F4F8FF; }
.cx-barras { position: relative; list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.cx-barras li { display: grid; gap: 4px; }
.cx-barras .cx-b-txt { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #C6D8EE; }
.cx-barras .cx-b-txt b { color: #F4F8FF; font-size: 14px; font-variant-numeric: tabular-nums; }
.cx-b-estado { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.cx-b-estado::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.cx-b-pista { position: relative; height: 12px; border-radius: 6px; background: rgb(96 112 137 / 22%); overflow: visible; }
.cx-b-barra { position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); border-radius: 6px; background: #17B8F6; transform-origin: left; }
.cx-barras li.b-anormal .cx-b-barra { background: #F4F8FF; box-shadow: 0 0 0 2px #6FE0FF; }
.cx-barras li.b-anormal .cx-b-estado { color: #6FE0FF; }
.cx-barras li.b-fuera .cx-b-barra { background: #607089; }
.cx-barras li.b-fuera .cx-b-estado { color: #C6D8EE; }
.cx-barras li.b-encima .cx-b-barra { background: repeating-linear-gradient(135deg, rgb(96 112 137 / 80%) 0 4px, rgb(96 112 137 / 35%) 4px 8px); }
.cx-tic { position: absolute; top: -5px; bottom: -5px; left: var(--x, 0%); width: 0; border-left: 2px solid #6FE0FF; }
.cx-tic.t-media { border-left: 2px dashed #C6D8EE; }
.cx-eje { position: relative; height: 34px; }
.cx-eje span { position: absolute; left: var(--x, 0%); transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 800; color: #6FE0FF; }
.cx-eje .e-media { color: #C6D8EE; top: 16px; }
.anima .cx-listo .cx-b-barra { animation: cx-barra .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(200ms + var(--k, 0) * 60ms); }
.anima .cx-listo .cx-tic, .anima .cx-listo .cx-eje span { animation: cx-aparece .5s ease both; animation-delay: .9s; }
@keyframes cx-barra { from { transform: scaleX(0); } }
@keyframes cx-aparece { from { opacity: 0; } }
.cx-pasos { margin: 16px 0 0; padding: 0 0 0 22px; display: grid; gap: 8px; font-size: 14px; color: #E3EAF5; }
.cx-pasos li::marker { color: #6FE0FF; font-weight: 800; }
.cx-pasos b { color: #F4F8FF; font-variant-numeric: tabular-nums; }
.cx-pasos small { display: block; font-size: 13px; color: #C6D8EE; }
.cx-pasos-titulo { margin: 18px 0 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6FE0FF; }
@media (max-width: 420px) { .cx-filas li { grid-template-columns: 66px minmax(0, 1fr) auto; } }
@media (prefers-reduced-motion: reduce) { .cx-b-barra, .cx-tic, .cx-eje span, .cx-filas li.cx-nueva { animation: none !important; } }
