/* =====================================================
   INDICACIÓN DE TRATAMIENTO (Lonstein & Carlson) — tablero
   ===================================================== */
.lt { display: flex; flex-direction: column; gap: 16px; }
.lt-cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid #eef0f3; }
.lt-cab h3 { font-size: 19px; font-weight: 900; color: #1e293b; display: flex; align-items: center; gap: 10px; margin: 0; }
.lt-cab h3 i { color: var(--turquesa); }
.lt-cab p { font-size: 13px; font-weight: 700; color: #94a3b8; margin: 3px 0 0; }
.lt-formula { font-family: 'Cambria Math', Cambria, Georgia, serif; font-size: 15px; font-weight: 700; color: #475569; background: #f5f7fa; border: 1px solid #e8edf2; border-radius: 99px; padding: 8px 16px; }

.lt-grid { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr); gap: 16px; }
.lt-card { background: #fff; border: 1px solid #eaeef2; border-radius: 20px; padding: 20px; }
.lt-card-tit { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.lt-card-tit b { font-size: 14.5px; font-weight: 900; color: #1e293b; }
.lt-card-tit span { font-size: 12px; font-weight: 700; color: #94a3b8; }

/* Datos */
.lt-datos { display: flex; flex-direction: column; gap: 18px; background: linear-gradient(180deg, #fbfdfd, #fff); }
.lt-campo label { display: block; font-size: 11.5px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; color: #64748b; margin-bottom: 8px; }
.lt-campo label small { text-transform: none; letter-spacing: 0; font-weight: 700; color: #a0aec0; }
.lt-numero { display: flex; align-items: center; gap: 8px; background: #f6f8fa; border: 2px solid #e6ebf0; border-radius: 14px; padding: 4px 14px; transition: .15s; }
.lt-numero:focus-within { border-color: var(--turquesa); background: #fff; }
.lt-numero input { width: 100%; border: 0; outline: none; background: transparent; font-size: 28px; font-weight: 900; color: #1e293b; padding: 6px 0; font-family: inherit; letter-spacing: -1px; -moz-appearance: textfield; }
.lt-numero input::-webkit-outer-spin-button, .lt-numero input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lt-numero input::placeholder { color: #cbd5e1; }
.lt-numero span { font-size: 14px; font-weight: 900; color: #94a3b8; white-space: nowrap; }
.lt-campo input[type=range] { width: 100%; margin-top: 10px; accent-color: var(--turquesa); height: 6px; cursor: pointer; }
.lt-risser { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.lt-risser button { border: 2px solid #e6ebf0; background: #f6f8fa; border-radius: 12px; padding: 12px 0; font-size: 18px; font-weight: 900; color: #64748b; cursor: pointer; transition: .15s; font-family: inherit; }
.lt-risser button:hover:not(:disabled) { border-color: #b6e5e1; background: #f0fdfa; }
.lt-risser button.activa { background: var(--turquesa); border-color: var(--turquesa); color: #fff; box-shadow: 0 6px 14px rgba(0, 168, 157, .3); transform: translateY(-2px); }
.lt-campo input:disabled, .lt-risser button:disabled { opacity: .6; cursor: not-allowed; }
.lt-ayuda { font-size: 12px; font-weight: 700; color: #94a3b8; }
.lt-ayuda i { color: #f59e0b; margin-right: 5px; }

/* Medidor */
.lt-medidor { display: flex; flex-direction: column; gap: 12px; background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, #f7fafc 100%); }
.lt-medidor-caja { position: relative; max-width: 380px; width: 100%; margin: 0 auto; }
.lt-svg-medidor { width: 100%; height: auto; display: block; overflow: visible; }
.lt-marca { font-size: 9.5px; font-weight: 800; fill: #94a3b8; }
.lt-arco { opacity: .32; transition: opacity .5s, stroke-width .5s; }
.lt-arco.activa { opacity: 1; stroke-width: 30; }
#lt-aguja { transition: transform 1s cubic-bezier(.2, 1.3, .35, 1); }
.lt-valor { position: absolute; left: 0; right: 0; bottom: -2px; text-align: center; }
.lt-valor span { display: block; font-size: 44px; font-weight: 900; letter-spacing: -2px; line-height: 1; color: #94a3b8; transition: color .4s; }
.lt-valor small { font-size: 11px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; color: #94a3b8; }
.lt-medidor-caja { padding-bottom: 54px; }

.lt-veredicto { display: flex; align-items: center; gap: 14px; background: var(--f); border: 1.5px solid color-mix(in srgb, var(--c) 35%, white); border-radius: 16px; padding: 14px 18px; animation: lt-entrada .45s; }
.lt-veredicto > i { width: 46px; height: 46px; border-radius: 14px; background: var(--c); color: #fff; font-size: 19px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 40%, transparent); }
.lt-veredicto b { display: block; font-size: 19px; font-weight: 900; color: var(--c); line-height: 1.2; }
.lt-veredicto span { font-size: 13px; font-weight: 700; color: #64748b; }
.lt-veredicto.vacio { background: #f6f8fa; border: 1.5px dashed #d8e0e8; --c: #94a3b8; }
.lt-veredicto.vacio > i { background: #e2e8f0; color: #94a3b8; box-shadow: none; }
.lt-veredicto.vacio b { color: #64748b; font-size: 15px; }
@keyframes lt-entrada { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lt-esc-tit { font-size: 11px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; color: #94a3b8; margin-bottom: 6px; }
.lt-esc-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lt-esc { background: #fff; border: 1px solid #eaeef2; border-left: 4px solid var(--c); border-radius: 12px; padding: 9px 12px; display: grid; gap: 1px; }
.lt-esc span { font-size: 11.5px; font-weight: 800; color: #94a3b8; }
.lt-esc b { font-size: 20px; font-weight: 900; color: var(--c); letter-spacing: -.5px; }
.lt-esc em { font-style: normal; font-size: 12px; font-weight: 800; color: #64748b; }

/* Tres caminos */
.lt-pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lt-paso { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1.5px solid #eaeef2; border-radius: 18px; padding: 16px; opacity: .55; transition: .3s; position: relative; }
.lt-paso.activa { opacity: 1; background: var(--f); border-color: var(--c); box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 22%, transparent); transform: translateY(-3px); }
.lt-paso.activa::after { content: '\f058'; font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free'; font-weight: 900; position: absolute; top: 12px; right: 14px; color: var(--c); font-size: 18px; }
.lt-paso-icono { width: 42px; height: 42px; border-radius: 13px; background: color-mix(in srgb, var(--c) 14%, white); color: var(--c); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.lt-paso.activa .lt-paso-icono { background: var(--c); color: #fff; }
.lt-paso b { display: block; font-size: 14.5px; font-weight: 900; color: #1e293b; }
.lt-paso span { font-size: 11.5px; font-weight: 800; color: var(--c); }
.lt-paso p { font-size: 12.5px; font-weight: 600; color: #64748b; line-height: 1.4; margin: 6px 0 0; }

/* Plan */
.lt-plan { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: linear-gradient(135deg, #f6fffd, #faf5ff); border: 1px solid #e7eef2; border-radius: 16px; padding: 12px 18px; }
.lt-plan-tit { font-size: 12px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; color: #64748b; }
.lt-plan-tit i { color: var(--turquesa); margin-right: 6px; }
.lt-plan-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lt-chip { display: inline-flex; align-items: center; gap: 7px; background: color-mix(in srgb, var(--c) 10%, white); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 30%, white); border-radius: 99px; padding: 6px 13px; font-size: 12.5px; font-weight: 800; }
.lt-chip.vacio { --c: #94a3b8; background: #f6f8fa; border-style: dashed; }
.lt-enlace { background: none; border: 0; color: var(--morado); font-weight: 800; font-size: 12.5px; cursor: pointer; font-family: inherit; }
.lt-enlace:hover { text-decoration: underline; }

/* Curva y evolución */
.lt-curva-card { position: relative; }
.lt-svg-curva, .lt-svg-hist { width: 100%; height: auto; display: block; border-radius: 14px; }
.lt-eje { font-size: 17px; font-weight: 800; fill: #64748b; }
.lt-zona-txt { font-size: 22px; font-weight: 900; opacity: .85; }
.lt-punto-txt { font-size: 19px; font-weight: 900; fill: #fff; }
.lt-halo { animation: lt-pulso 1.8s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes lt-pulso { 0% { transform: scale(.7); opacity: .35; } 100% { transform: scale(1.6); opacity: 0; } }
#lt-punto circle, #lt-punto line, #lt-punto-etq { transition: all .7s cubic-bezier(.3, 1.2, .4, 1); }
.lt-eje-y { position: absolute; top: 62px; right: 34px; font-size: 11px; font-weight: 800; color: #94a3b8; }
.lt-h-val { font-size: 19px; font-weight: 900; fill: #1e293b; }
.lt-h-fecha { font-size: 17px; font-weight: 800; fill: #64748b; }
.lt-tend { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 800; padding: 7px 14px; border-radius: 99px; }
.lt-tend.sube { background: #fef2f2; color: #b91c1c; } .lt-tend.baja { background: #ecfdf5; color: #15803d; } .lt-tend.igual { background: #f1f5f9; color: #475569; }
.lt-vacio { text-align: center; color: #94a3b8; font-weight: 700; font-size: 13.5px; padding: 26px 10px; }
.lt-vacio i { display: block; font-size: 26px; margin-bottom: 8px; opacity: .7; }
.lt-aviso { font-size: 12px; font-weight: 700; color: #94a3b8; text-align: center; }
.lt-aviso i { margin-right: 5px; }

@media (max-width: 900px) { .lt-grid { grid-template-columns: 1fr; } .lt-pasos { grid-template-columns: 1fr; } .lt-eje-y { display: none; } .lt-valor span { font-size: 36px; } }
