/* ════════════════════════════════════════════════════════════════════════════
   LA LANDING EN EL MÓVIL (index.html, hasta 700 px) — 17-11-2026

   POR QUÉ. En escritorio una sola hoja cambia mientras se baja. En el móvil esa
   hoja se sustituía por copias quietas, una por capítulo: 16.400 px de alto (unas
   20 pantallas) y nada se movía. Quien la abría desde un enlace no la entendía.

   QUÉ HACE. Por debajo de 700 px la historia es UNA hoja (#lm, la pinta
   js/landing-movil.js): se escribe la cifra, Clevels lee las herramientas y la
   reparte; al deslizar, la hoja se queda pegada y vive el año (de dónde sale cada
   objetivo, quién acepta, la noche de los agentes y el cierre). Se ocultan «El
   año sin plan» y el relato por capítulos; planes y preguntas se compactan.

   El escritorio NO cambia: todo va con el prefijo lm- o dentro de
   @media (max-width: 700px). De 701 a 1099 px sigue la versión apilada de antes.

   SI EL CÓDIGO FALLA, SE VE LA VERSIÓN DE ANTES. Nada de lo de siempre se oculta
   sin la clase `lm-on` en <html>: la pone una línea en la cabecera de index.html
   y la quita js/landing-movil.js si no consigue arrancar (o el propio <script>
   si el archivo no carga). Así nadie se queda con una hoja vacía y sin relato.
   ════════════════════════════════════════════════════════════════════════════ */

#lm, .lm-solo { display: none; }

@media (max-width: 700px) {

    /* ── Lo que el móvil ya no enseña: lo cuenta la hoja ── */
    html.lm-on #seccion-problema, html.lm-on #seccion-tour, html.lm-on #rail,
    html.lm-on #hero-section .he-cifra, html.lm-on #hero-section .he-cta-fila, html.lm-on #hero-section .he-acta,
    html.lm-on #seccion-empieza .ey-tabla { display: none !important; }

    /* WhatsApp deja de flotar sobre la hoja: pasa a ser un enlace al final. Y el
       aviso «esta página también está en español» deja de tapar un cuarto de la
       pantalla: en su lugar se marca ese idioma en la cabecera. */
    html.lm-on body:has(#page-home.active) .whatsapp-float, html.lm-on .lang-aviso { display: none !important; }
    .nav-actions .lang-btn { min-width: 34px; }
    .lang-btn.lm-sugerido { position: relative; color: var(--green, #5DCAA5) !important; opacity: 1 !important; }
    .lang-btn.lm-sugerido::after { content: ''; position: absolute; left: 50%; top: 50%; width: 34px; height: 30px; margin: -15px 0 0 -17px; border-radius: 9px; border: 1.5px solid var(--green, #5DCAA5); animation: lmLatido 2.2s ease-in-out infinite; pointer-events: none; }
    @keyframes lmLatido { 0%, 100% { opacity: 0.9; transform: scale(1); } 50% { opacity: 0.35; transform: scale(1.12); } }

    /* El menú: «Plataforma» lleva a la hoja; los capítulos que no están, fuera */
    html.lm-on .lm-solo { display: block; }
    html.lm-on a.lm-solo { display: flex; }
    html.lm-on .lm-solo:empty { display: none; }
    html.lm-on #mobile-dropdown a[data-scroll="seccion-tour"], html.lm-on #mobile-dropdown a[data-scroll="seccion-problema"], html.lm-on #mobile-dropdown a[data-scroll="seccion-ai"] { display: none; }

    /* ── Portada: el titular de la landing, a la izquierda y sin relleno ── */
    html.lm-on #hero-section { padding: 66px 20px 10px !important; min-height: 0 !important; }
    html.lm-on #hero-section .hero-embat { display: block; padding: 0 !important; }
    html.lm-on #hero-section .he-text { align-items: flex-start; text-align: left; gap: 8px; }
    html.lm-on #hero-section .hero-eyebrow { text-wrap: balance; letter-spacing: 0.09em; }
    html.lm-on #hero-section .he-text h1 { font-size: 26px !important; line-height: 1.14 !important; }
    html.lm-on #hero-section .he-text h1 .hw { font-size: inherit; letter-spacing: inherit; color: var(--green, #5DCAA5); }

    /* ── La escena: la hoja se queda arriba y el año pasa al deslizar ── */
    html.lm-on #lm { display: block; position: relative; padding: 0 20px; --lm-top: 80px; --lm-alto: calc(100svh - var(--lm-top)); --lm-paso: 15svh;
          height: calc(var(--lm-alto) + 16 * var(--lm-paso)); background: var(--bg-deep, #020617); }
    #lm .lm-escena { position: sticky; top: var(--lm-top); height: var(--lm-alto); display: flex; flex-direction: column; padding-top: 6px; isolation: isolate; }
    #lm .lm-escena::before { content: ''; position: absolute; inset: 0 -20px; z-index: -1; pointer-events: none;
        background-image: linear-gradient(rgba(93,202,165,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(93,202,165,0.05) 1px, transparent 1px);
        background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 75% 55% at 50% 30%, #000 20%, transparent 75%); }
    #lm .lm-escena::after { content: ''; position: absolute; left: 10%; right: 10%; top: 8%; height: 46%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at center, rgba(93,202,165,0.16), transparent 68%); }
    #lm .lm-escena[data-noche]::after { background: radial-gradient(ellipse at center, rgba(99,102,241,0.2), transparent 68%); }

    /* La hoja: papel de día, azul de noche */
    #lm .lm-hoja { --p-bg: #F7F4EC; --p-fg: #0B1220; --p-mut: #6B7280; --p-line: rgba(11,18,32,0.13); --p-verde: #1F6B50; --p-tinte: rgba(31,107,80,0.08); --p-ambar: #B45309; --p-rol-bg: #0B1220; --p-rol-fg: #F3EFE5; --p-brillo: 0.45;
        position: relative; flex: 0 0 auto; padding: 12px 14px; border-radius: 7px; background-color: var(--p-bg); color: var(--p-fg); transform: rotate(-1deg); text-align: left;
        box-shadow: 0 30px 50px -24px rgba(0,0,0,0.95), 0 2px 4px rgba(0,0,0,0.3); transition: background-color 0.6s ease, color 0.6s ease; }
    #lm .lm-hoja::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,var(--p-brillo)), transparent 45%); }
    #lm .lm-hoja[data-noche] { --p-bg: #131A2A; --p-fg: #F3EFE5; --p-mut: #AEB6C2; --p-line: rgba(255,255,255,0.14); --p-verde: #5DCAA5; --p-tinte: rgba(93,202,165,0.1); --p-ambar: #FCD34D; --p-rol-bg: rgba(255,255,255,0.1); --p-rol-fg: #F3EFE5; --p-brillo: 0.04; }
    #lm .lm-hoja > * { position: relative; }
    #lm .lm-h-cab { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--p-line); }
    #lm .lm-h-logo { font-weight: 800; font-size: 14px; letter-spacing: -0.02em; } #lm .lm-h-logo i { font-style: normal; color: var(--p-verde); }
    #lm .lm-h-tit { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--p-mut); white-space: nowrap; }
    #lm .lm-h-ej { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--p-mut); white-space: nowrap; }
    #lm .lm-h-obj { padding: 8px 0; border-bottom: 1px solid var(--p-line); }
    #lm .lm-h-obj-cab { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 700; color: var(--p-mut); }
    #lm .lm-h-obj-cab span { white-space: nowrap; }
    #lm .lm-h-cifra { display: flex; align-items: center; gap: 8px; margin: 2px -6px 0; padding: 0 6px; border-radius: 8px; border: 1.5px dashed transparent; transition: border-color 0.3s, background 0.3s; }
    #lm .lm-h-cifra.lm-invita { border-color: rgba(31,107,80,0.45); background: var(--p-tinte); }
    #lm .lm-h-cifra input { flex: 1; min-width: 0; width: 100%; height: 46px; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; outline: 0; box-shadow: none; color: var(--p-fg); font: inherit; font-size: 28px !important; font-weight: 800; letter-spacing: -0.035em; caret-color: var(--p-verde); transition: color 0.6s; }
    #lm .lm-lapiz { width: 18px; height: 18px; color: var(--p-verde); flex-shrink: 0; opacity: 0; transition: opacity 0.3s; }
    #lm .lm-h-cifra.lm-invita .lm-lapiz { opacity: 0.85; }
    #lm .lm-h-meta { display: flex; align-items: center; gap: 8px; min-height: 22px; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--p-verde); }
    #lm .lm-fuentes { display: inline-flex; gap: 5px; flex-shrink: 0; }
    #lm .lm-fuentes span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--p-rol-bg); opacity: 0.16; transform: scale(0.85); transition: opacity 0.25s, transform 0.25s cubic-bezier(0.2, 1.5, 0.4, 1); }
    #lm .lm-fuentes span.lm-on { opacity: 1; transform: none; }
    #lm .lm-fuentes svg { width: 12px; height: 12px; fill: var(--p-rol-fg); }
    #lm #lm-meta-txt { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #lm .lm-h-filas-cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; white-space: nowrap; min-height: 30px; padding-top: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--p-mut); }
    #lm .lm-h-estado { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--p-verde); white-space: nowrap; }
    #lm .lm-h-estado::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
    #lm .lm-h-estado.lm-gris { color: var(--p-mut); }
    #lm .lm-h-estado.lm-sello { padding: 2px 9px; border: 2.5px solid var(--p-verde); border-radius: 7px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(251,249,244,0.9); transform: rotate(-7deg); animation: lmSello 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) both; }
    #lm .lm-h-estado.lm-sello::before { display: none; }
    @keyframes lmSello { from { opacity: 0; transform: rotate(-7deg) scale(1.9); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }

    #lm .lm-filas { list-style: none; margin: 0; padding: 0; }
    #lm .lm-fila { display: grid; grid-template-columns: 40px minmax(0, 1fr) 96px; gap: 0 10px; align-items: center; min-height: 52px; margin: 0 -8px; padding: 5px 8px; border-radius: 9px; border-bottom: 1px dashed var(--p-line); transition: background-color 0.35s, box-shadow 0.35s; }
    #lm .lm-fila:last-child { border-bottom-color: transparent; }
    #lm .lm-fila.lm-activa { background-color: var(--p-tinte); box-shadow: 0 0 0 1.5px var(--p-verde) inset; border-bottom-color: transparent; }
    #lm .lm-fila.lm-activa.lm-alerta { background-color: rgba(245,158,11,0.12); box-shadow: 0 0 0 1.5px var(--p-ambar) inset; }
    #lm .lm-rol { display: grid; place-items: center; width: 40px; height: 30px; border-radius: 7px; background: var(--p-rol-bg); color: var(--p-rol-fg); font-size: 12px; font-weight: 800; transition: background-color 0.4s, color 0.4s; }
    #lm .lm-quien strong { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.25; }
    #lm .lm-quien small { display: block; font-size: 12.5px; color: var(--p-mut); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    /* Sin asignar: la fila es un hueco, como la hoja en blanco del escritorio */
    #lm .lm-fila.lm-vacia .lm-rol { background: transparent; color: transparent; border: 1.5px dashed var(--p-line); transition: none; }   /* vaciarse es de golpe: si no, al arrancar se veía «CRO» apagándose */
    #lm .lm-fila.lm-vacia .lm-quien > * { display: none; }
    #lm .lm-fila.lm-vacia .lm-quien::before, #lm .lm-fila.lm-vacia .lm-quien::after { content: ''; display: block; height: 7px; border-radius: 4px; background: rgba(11,18,32,0.09); }
    #lm .lm-fila.lm-vacia .lm-quien::before { width: 46%; margin-bottom: 7px; } #lm .lm-fila.lm-vacia .lm-quien::after { width: 78%; }
    #lm .lm-fila.lm-llega .lm-rol, #lm .lm-fila.lm-llega .lm-quien { animation: lmLlega 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }
    @keyframes lmLlega { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
    #lm .lm-der { text-align: right; font-variant-numeric: tabular-nums; }
    #lm .lm-der.lm-cambio > * { animation: lmPop 0.42s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
    @keyframes lmPop { from { transform: scale(0.7); opacity: 0; } to { transform: none; opacity: 1; } }
    #lm .lm-imp { display: block; font-size: 14px; font-weight: 800; line-height: 1.2; }
    #lm .lm-der small { display: block; font-size: 12px; font-weight: 700; color: var(--p-mut); line-height: 1.3; }
    #lm .lm-cas { display: inline-flex; align-items: center; justify-content: center; height: 30px; padding: 0 10px; border-radius: 8px; border: 1.5px dashed var(--p-line); font-size: 12px; font-weight: 700; color: var(--p-mut); }
    #lm .lm-cas.lm-pide { border: 1.5px solid var(--p-verde); background: var(--p-verde); color: #fff; font-weight: 800; }
    #lm .lm-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 9px; border-radius: 8px; font-size: 12px; font-weight: 800; border: 1.5px solid rgba(31,107,80,0.45); color: var(--p-verde); background: var(--p-tinte); }
    #lm .lm-herr { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px 0 8px; border-radius: 100px; background: var(--p-rol-bg); color: var(--p-rol-fg); font-size: 12.5px; font-weight: 800; }
    #lm .lm-herr svg { width: 14px; height: 14px; fill: currentColor; }
    #lm .lm-est { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--p-verde); }
    #lm .lm-est::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
    #lm .lm-est.lm-est-aviso { color: var(--p-ambar); }
    #lm .lm-est.lm-est-espera { color: var(--p-mut); letter-spacing: 0.2em; } #lm .lm-est.lm-est-espera::before { display: none; }
    #lm .lm-pie-hoja:empty { display: none; }
    #lm .lm-liq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 6px; padding: 9px 11px; border-radius: 9px; background: #0B1220; color: #F3EFE5; animation: lmLlega 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
    #lm .lm-liq span { display: block; font-size: 12px; font-weight: 700; color: #AEB6C2; }
    #lm .lm-liq b { display: block; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
    #lm .lm-liq div + div { text-align: right; } #lm .lm-liq div + div b { color: var(--green, #5DCAA5); }

    /* Debajo de la hoja: qué está pasando, en una frase */
    #lm .lm-cap { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; padding-top: 16px; text-align: left; }
    #lm .lm-cap.lm-cambia > * { animation: lmLlega 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
    #lm .lm-cap .lm-kick { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; white-space: nowrap; margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; color: var(--green, #5DCAA5); flex: 0 0 auto; }
    #lm .lm-kick b { font-size: 22px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; }
    #lm .lm-cap h2 { margin: 0; font-size: 22px !important; line-height: 1.16 !important; font-weight: 800; letter-spacing: -0.025em; color: #fff; text-wrap: balance; flex: 0 0 auto; }
    #lm .lm-cap p { margin: 6px 0 0; font-size: 15px; color: var(--text-muted, #94A3B8); line-height: 1.42; flex: 0 0 auto; }
    #lm .lm-cap p b { color: #fff; }
    #lm .lm-fichas { display: flex; gap: 8px; margin: 10px -20px 0; padding: 0 20px; overflow-x: auto; scrollbar-width: none; flex: 0 0 auto; }
    #lm .lm-fichas::-webkit-scrollbar { display: none; }
    #lm .lm-ficha { flex: 0 0 auto; min-height: 44px; padding: 0 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.03); color: #fff; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
    #lm .lm-ficha[aria-pressed="true"] { border-color: var(--green, #5DCAA5); color: var(--green, #5DCAA5); }
    #lm .lm-ver { align-self: flex-start; min-height: 44px; margin-top: 4px; padding: 0; background: none; border: 0; color: var(--green, #5DCAA5); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; flex: 0 0 auto; }
    #lm .lm-cinta { margin: 10px -20px 0; flex: 0 0 auto; }
    #lm .lm-cinta .integ-cinta { margin: 0; }
    /* La noche: lo que hace cada agente, lo último a la vista */
    #lm .lm-feed { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; }
    #lm .lm-feed.lm-lleno { -webkit-mask-image: linear-gradient(180deg, transparent, #000 30px); mask-image: linear-gradient(180deg, transparent, #000 30px); }
    #lm .lm-feed li { flex: 0 0 auto; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); font-size: 13.5px; line-height: 1.35; color: #CBD5E1; transition: opacity 0.4s; }
    #lm .lm-feed li:not(:last-child) { opacity: 0.5; }
    #lm .lm-feed li.lm-entra { animation: lmLlega 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
    #lm .lm-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,0.08); color: #F3EFE5; font-size: 13px; font-weight: 800; }
    #lm .lm-ico svg { width: 15px; height: 15px; fill: #F3EFE5; }
    #lm .lm-feed b { display: block; font-size: 12.5px; color: #fff; }
    #lm .lm-feed b time { color: var(--green, #5DCAA5); font-variant-numeric: tabular-nums; }
    #lm .lm-feed li.lm-aviso { border-color: rgba(245,158,11,0.4); background: rgba(245,158,11,0.08); color: #FDE68A; }
    #lm .lm-feed li.lm-aviso b time { color: #FCD34D; }
    #lm .lm-feed li.lm-clv { border-color: rgba(93,202,165,0.4); background: rgba(93,202,165,0.09); color: #fff; }
    #lm .lm-feed li.lm-clv .lm-ico { background: var(--green, #5DCAA5); color: #030712; }

    #lm .lm-pasos { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; padding-bottom: env(safe-area-inset-bottom, 0px); }
    #lm .lm-pasos button { position: relative; flex: 1; height: 30px; min-height: 0; padding: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
    #lm .lm-pasos button::before { content: ''; position: absolute; inset: -14px 0 0; }
    #lm .lm-pasos button i { position: relative; display: block; width: 100%; height: 4px; border-radius: 3px; background: rgba(255,255,255,0.14); overflow: hidden; }
    #lm .lm-pasos button i u { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--green, #5DCAA5); border-radius: 3px; transition: width 0.3s ease; }
    #lm .lm-pasos span { flex-shrink: 0; margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--text-muted, #94A3B8); font-variant-numeric: tabular-nums; }

    /* ── Después de la hoja: lo mismo de siempre, más corto ── */
    /* Los planes se deslizan con el dedo en vez de apilarse. Sin el recuadro que
       los envuelve en el escritorio: dentro de él cada tarjeta medía 235 px de
       390 y la segunda quedaba cortada en seco. Ahora van de borde a borde de la
       pantalla, la segunda asoma por la derecha y dos puntos dicen cuál se ve. */
    html.lm-on #seccion-precios .why-card-wrapper { margin-bottom: 2.25rem !important; }
    html.lm-on #seccion-precios .why-card-slider-wrapper { background: none !important; border: 0 !important; border-radius: 0 !important; overflow: visible !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
    html.lm-on #seccion-precios .why-card-slider-wrapper::before { display: none; }
    html.lm-on #seccion-precios .why-slide-panel.empresa { padding: 0 !important; }
    html.lm-on #seccion-precios .why-slide-panel.empresa > div:first-child { display: none; }
    html.lm-on #seccion-precios .plan-cards { display: flex; grid-template-columns: none; gap: 12px; margin: 0 calc(50% - 50vw); padding: 2px 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
    html.lm-on #seccion-precios .plan-cards::-webkit-scrollbar { display: none; }
    html.lm-on #seccion-precios .plan-card { flex: 0 0 calc(100vw - 72px); scroll-snap-align: start; }
    html.lm-on .lm-planes-pasos { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
    .lm-planes-pasos button { width: 44px; height: 32px; min-height: 0; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
    .lm-planes-pasos button i { display: block; width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.25); transition: width 0.25s, background 0.25s; }
    .lm-planes-pasos button[aria-current="true"] i { width: 22px; background: var(--green, #5DCAA5); }
    /* Cuatro preguntas a la vista; el resto, con «ver todas» (lm-corta la pone el código) */
    html.lm-on #seccion-precios .faq-container.lm-corta .faq-item:nth-child(n+5) { display: none; }
    .lm-faq-mas { width: calc(100% - 10%); max-width: 760px; min-height: 48px; margin: 10px 5% 0; border-radius: 14px; border: 1px dashed rgba(255,255,255,0.2); background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
    a.lm-wa { align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 12px; color: var(--text-muted, #94A3B8); font-size: 14px; font-weight: 700; text-decoration: none; }
    a.lm-wa svg { width: 18px; height: 18px; fill: #25D366; }
}

/* Teléfonos altos: la hoja respira */
@media (max-width: 700px) and (min-height: 780px) {
    #lm .lm-fila { min-height: 58px; }
    #lm .lm-quien strong { font-size: 14.5px; } #lm .lm-quien small { font-size: 13px; }
    #lm .lm-h-cifra input { height: 50px; font-size: 30px !important; }
    #lm .lm-h-obj { padding-block: 10px; }
}
/* Pantallas bajas (un iPhone con las barras del navegador a la vista) */
@media (max-width: 700px) and (max-height: 720px) {
    #lm .lm-hoja { padding-block: 10px; }
    #lm .lm-fila { min-height: 44px; padding-block: 3px; }
    #lm .lm-h-filas-cab { min-height: 28px; }
    #lm .lm-h-cifra input { height: 40px; font-size: 25px !important; }
    #lm .lm-h-obj { padding-block: 6px; }
    #lm .lm-cap { padding-top: 12px; }
    #lm .lm-cap h2 { font-size: 20px !important; }
    #lm .lm-cap p { font-size: 14px; margin-top: 4px; }
    #lm .lm-cap .lm-extra { display: none; }
    #lm .lm-liq { padding: 6px 11px; } #lm .lm-liq b { font-size: 15px; }
}
@media (max-width: 700px) and (max-height: 600px) {
    #lm .lm-hoja { padding-block: 9px; }
    #lm .lm-h-cab { padding-bottom: 5px; }
    #lm .lm-h-obj-cab { display: none; }
    #lm .lm-h-obj { padding-block: 2px 5px; }
    #lm .lm-h-cifra input { height: 36px; font-size: 23px !important; }
    #lm .lm-h-meta { margin-top: 2px; }
    #lm .lm-fila { min-height: 40px; padding-block: 2px; }
    #lm .lm-rol { height: 26px; }
    #lm .lm-h-filas-cab { min-height: 24px; padding-top: 4px; }
    #lm .lm-cap { padding-top: 6px; }
    #lm .lm-cap p { margin-top: 2px; }
    #lm .lm-cinta { margin-top: 6px; } #lm .lm-cinta .integ-logo { padding-block: 5px; }
    #lm .lm-cap[data-b="3"] h2 { display: none; }   /* la noche: el rótulo y el reloj bastan; el sitio es para lo que hacen los agentes */
    #lm .lm-cap h2 { font-size: 19px !important; }
    #lm .lm-cap .lm-ver, #lm .lm-cap .lm-extra-b { display: none; }
    #lm .lm-feed { margin-top: 4px; }
    #lm .lm-feed li { grid-template-columns: 26px 1fr; gap: 8px; padding: 5px 8px; font-size: 12.5px; }
    #lm .lm-ico { width: 26px; height: 26px; }
}
@media (max-width: 700px) and (prefers-reduced-motion: reduce) {
    #lm .lm-cap.lm-cambia > *, #lm .lm-feed li.lm-entra, #lm .lm-der.lm-cambio > *, #lm .lm-h-estado.lm-sello, #lm .lm-fila.lm-llega .lm-rol, #lm .lm-fila.lm-llega .lm-quien, #lm .lm-liq, .lang-btn.lm-sugerido::after { animation: none !important; }
    #lm .lm-hoja, #lm .lm-fila, #lm .lm-fuentes span { transition: none; }
}
