/* ServiPago · rediseño de la web en pantalla grande (Claude Design, 30-10-2026).
   Las pantallas W, desde 600 px. En el celular no se aplica nada de esto. */

:root {
    --w-azul-osc: #003F5D; --w-azul-noche: #002A40; --w-azul: #1F71B8; --w-azul-suave: #EAF3FB; --w-celeste: #00B6ED;
    --w-naranja: #E94E24; --w-naranja-cl: #F26A33; --w-naranja-f: #D4401B; --w-naranja-suave: #FFF1EA;
    --w-fondo: #F3F6F9; --w-tinta: #0F1B2A; --w-texto2: #334155; --w-texto3: #475569; --w-gris: #5B6675;
    --w-borde: #D7E1E9; --w-linea: #EEF2F5; --w-panel: #E2E9F0;
    --w-verde: #15803D; --w-verde-vivo: #16A34A; --w-verde-claro: #DCFCE7; --w-verde-nuevo: #ECFDF3;
}

/* La letra Figtree de Google (v9), la misma con que se ve el diseño. La copia
   vieja de fuentes/figtree-*.woff2 sale más ancha en negrilla (+14 %) y corría
   los textos. Solo desde 600 px: en el celular la web no cambia. */
@media (min-width: 600px) {
    @font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 900; font-display: swap;
        src: url("fuentes/figtree-v9-latin-ext.woff2") format("woff2");
        unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
    @font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 900; font-display: swap;
        src: url("fuentes/figtree-v9-latin.woff2") format("woff2");
        unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
}

@media (min-width: 600px) {
    /* ---- Menú de la izquierda (computador) ---- */
    #menu.lat-barra .lat-logo-b, #menu.rail-barra .ri-logo-b { position: relative; z-index: 1; display: block; align-self: center; padding: 0; border: 0; background: none; cursor: pointer; }
    #menu.lat-barra .lat-logo-b { margin: 2px 0 14px; }
    #menu.lat-barra .lat-logo-b .lat-logo { margin: 0; height: 46px; }
    #menu.lat-barra .lat-tit { margin: 12px 14px 4px; font-size: 13px; font-weight: 900; letter-spacing: .8px; color: #8FB3CC; }
    #menu.lat-barra .lat { min-height: 42px; font-size: 16px; }
    #menu.lat-barra .lat svg { flex: 0 0 22px; }
    /* El globo («50 %», mensajes) no se encoge (en algunos computadores el «%»
       se salía del círculo): el botón con globo gana espacio a la derecha y,
       solo si aun así no cabe, se acorta el nombre. */
    #menu.lat-barra .lat:has(.chip) { padding-right: 8px; }
    #menu.lat-barra .lat > span:not(.chip) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    #menu.lat-barra .lat > span:not(.chip):has(+ .chip) { margin-right: -4px; }
    #menu.lat-barra .lat .chip { flex: none; margin-left: auto; min-width: 24px; height: 22px; padding: 0 6px; box-sizing: border-box; border-radius: 11px; background: var(--w-naranja); color: #fff; font-size: 13px; font-weight: 900; display: grid; place-items: center; white-space: nowrap; }
    #menu.lat-barra .lat-perfil .ini.vend { background: #DCFCE7; color: #15803D; }
    #menu.rail-barra .ri-logo-b .ri-logo { margin: 0; }

    /* ---- Piezas comunes ---- */
    #app .w-zona { display: flex; flex-direction: column; min-height: 100vh; background: var(--w-fondo); color: var(--w-tinta); }
    #app .w-cab { position: sticky; top: 0; z-index: 8; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 24px; box-sizing: border-box; background: #fff; border-bottom: 1px solid #DCE5ED; }
    #app .w-cab-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    #app .w-cab-tx > b { font-size: 24px; line-height: 1.15; font-weight: 900; color: var(--w-azul-osc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-cab-sub { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 16px; font-weight: 800; color: var(--w-texto2); white-space: nowrap; }
    #app .w-ult { color: var(--w-gris); }
    #app .w-ult-mal { display: inline-flex; align-items: center; gap: 5px; padding: 1px 10px; border: 0; border-radius: 999px; background: #FEF3C7; color: #92400E; font: inherit; font-size: 15px; cursor: pointer; }
    #app .w-saludo-ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
    #app .w-tarjeta { background: #fff; border: 1px solid #E3EAF0; border-radius: 20px; box-shadow: 0 4px 14px rgba(0,40,70,.05); box-sizing: border-box; min-width: 0; }
    #app .w-tt { font-size: 18px; font-weight: 900; color: var(--w-azul-osc); white-space: nowrap; }
    #app .w-enl { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 800; color: var(--w-azul); cursor: pointer; }
    #app .w-vacio { padding: 30px 20px; text-align: center; font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--w-gris); }
    #app .w-vacio span { font-size: 15px; font-weight: 600; }
    #app .w-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 800; white-space: nowrap; box-sizing: border-box; }
    #app button.w-pill { cursor: pointer; }
    #app .w-p-osc { background: var(--w-azul-osc); color: #fff; }
    #app .w-p-verde { background: var(--w-verde-claro); color: var(--w-verde); }
    #app .w-p-ambar { background: #FEF3C7; color: #92400E; }
    #app .w-p-rojo { background: #FEE2E2; color: #B91C1C; }
    #app .w-p-gris { background: #EEF2F6; color: #334155; }
    #app .w-p-voz { background: var(--w-verde-claro); color: var(--w-verde); }
    #app .w-p-sinvoz { background: #FEE2E2; color: #B91C1C; }
    #app .w-punto { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
    #app .w-p-verde .w-punto { background: var(--w-verde-vivo); animation: w-vivo 1.8s ease-out infinite; }
    @keyframes w-vivo { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 100% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } }
    #app .w-redondo { position: relative; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #DCE5ED; background: #fff; color: var(--w-azul-osc); display: grid; place-items: center; cursor: pointer; }
    #app .w-redondo.on { background: var(--w-azul-osc); color: #fff; }
    #app .w-globo { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 10px; background: var(--w-naranja); color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
    #app .w-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 14px; font: inherit; font-size: 16px; font-weight: 900; white-space: nowrap; box-sizing: border-box; cursor: pointer; text-decoration: none; }
    #app .w-b-pri, #app .w-b-pri:link, #app .w-b-pri:visited { background: linear-gradient(135deg, var(--w-naranja-cl), var(--w-naranja-f)); color: #fff; box-shadow: 0 8px 18px rgba(233,78,36,.28); }
    #app .w-b-sua { background: #fff; color: var(--w-azul-osc); border: 2px solid #DCE5ED; }
    #app .w-b-tx { background: transparent; color: var(--w-gris); font-size: 15px; padding: 0 10px; }
    #app .w-b-wa, #app .w-b-wa:link, #app .w-b-wa:visited { background: #1F71B8; color: #fff; }
    #app .w-b-g { min-height: 54px; padding: 0 24px; font-size: 18px; }
    #app .w-b-ancho { width: 100%; min-height: 52px; }
    #app .w-icono { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; border: 2px solid #E3EAF0; background: #fff; color: var(--w-azul-osc); display: grid; place-items: center; cursor: pointer; }
    #app .w-velo { position: fixed; inset: 0; z-index: 11; }
    #app .w-estado { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; white-space: nowrap; }
    #app .w-estado i { width: 7px; height: 7px; border-radius: 50%; }
    #app .w-lat button:focus-visible, #app .w-zona button:focus-visible, #app .w-zona a:focus-visible, #app .w-zona input:focus-visible { outline: 3px solid #F6A57F; outline-offset: 2px; }

    /* ---- Franjas del Inicio (sonido, mensaje, plan, instalar) ---- */
    #app .w-franja { flex: 0 0 auto; margin: 12px 24px 0; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 14px; border-radius: 18px; }
    #app .w-f-ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; color: #fff; display: grid; place-items: center; }
    #app .w-f-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
    #app .w-f-tx b { font-size: 16px; line-height: 1.3; }
    #app .w-f-tx span { font-size: 14px; line-height: 1.35; }
    #app .w-f-sonido { padding: 12px 14px 12px 16px; background: linear-gradient(120deg, #00507A, var(--w-azul-osc)); color: #fff; box-shadow: 0 10px 24px rgba(0,40,70,.2); }
    #app .w-f-sonido .w-f-ic { flex-basis: 50px; width: 50px; height: 50px; border-radius: 16px; }
    #app .w-f-sonido .w-f-tx b { font-size: 18px; }
    #app .w-f-sonido .w-f-tx span { font-size: 15px; color: #CFE3F2; }
    #app .w-f-toque { gap: 12px; padding: 8px 14px; border-radius: 14px; background: #FEF2F2; border: 2px dashed #FCA5A5; color: #991B1B; font-size: 15px; font-weight: 800; }
    #app .w-f-msj { background: #FEF3C7; border: 2px solid #FCD34D; }
    #app .w-f-msj .k { font-size: 12px !important; letter-spacing: .8px; color: #92400E; }
    #app .w-f-msj .elip { font-size: 15px !important; color: #451A03; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-b-msj { min-height: 42px; font-size: 15px; background: #fff; color: #92400E; border: 2px solid #F59E0B; }
    #app .w-b-ok { min-height: 42px; font-size: 15px; background: #B45309; color: #fff; }
    #app .w-franja .w-b { min-height: 42px; font-size: 15px; }
    #app .w-f-inst { background: #fff; border: 2px solid #B9D3EA; }
    #app .w-f-inst img { flex: 0 0 40px; border-radius: 11px; }
    #app .w-f-inst .w-f-tx b { color: var(--w-azul-osc); }
    #app .w-f-inst .w-f-tx span { color: var(--w-texto2); }

    /* ---- Inicio (W1) ---- */
    #app .w-cuerpo { flex: 1; min-height: 0; padding: 18px 24px 22px; box-sizing: border-box; display: flex; gap: 18px; align-items: flex-start; }
    #app .w-col-izq { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
    #app .w-col-der { flex: 0 0 382px; width: 382px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; }
    #app .w-negs { display: flex; flex-direction: column; gap: 8px; }
    #app .w-negs-fila { display: flex; gap: 10px; align-items: stretch; }
    #app .w-negs-grilla { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    #app .w-neg { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 2px solid #E3EAF0; background: #fff; text-align: left; cursor: pointer; font: inherit; box-shadow: 0 2px 8px rgba(0,40,70,.05); animation: w-aparece .3s ease; }
    #app .w-neg.activa { border-color: var(--w-azul); background: var(--w-azul-suave); }
    #app .w-neg.tenue { opacity: .55; }
    #app .w-neg-sin { border: 2px dashed #CBD5E1; background: #F8FAFC; box-shadow: none; }
    #app .w-neg-av { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #EAF3FB; }
    #app .w-neg-av > *, #app .w-neg-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
    #app .w-neg-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
    #app .w-neg-tx .n { font-size: 14px; font-weight: 800; color: var(--w-texto2); }
    #app .w-neg-tx .v { font-size: 19px; line-height: 1.2; color: var(--w-azul-osc); white-space: nowrap; }
    #app .w-neg-tx .c { font-size: 13px; font-weight: 700; color: var(--w-gris); white-space: nowrap; }
    #app .w-neg-tx .conectar { font-size: 14px; font-weight: 900; color: var(--w-azul); }
    #app .w-barrita { margin-top: 4px; height: 5px; border-radius: 3px; background: #E2E8F0; overflow: hidden; }
    #app .w-barrita span { display: block; height: 100%; background: var(--w-verde-vivo); }
    #app .w-neg-mas { flex: 0 0 104px; width: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px; border-radius: 16px; border: 2px dashed #9CC3E6; background: #F5FAFF; cursor: pointer; font: inherit; text-align: center; color: var(--w-azul); }
    #app .w-neg-mas b { font-size: 22px; line-height: 1.1; }
    #app .w-neg-mas span { font-size: 14px; font-weight: 800; line-height: 1.2; }
    #app .w-linea { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 14px; border-radius: 14px; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
    #app .w-linea .elip { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-linea b, #app .w-linea .ir { white-space: nowrap; }
    #app .w-linea .ir { font-weight: 800; }
    #app .w-linea i { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; }
    #app .w-l-ambar { border: 2px dashed #F5C26B; background: #FFFBEB; color: #78350F; }
    #app .w-l-ambar b, #app .w-l-ambar .ir { color: #92400E; }
    #app .w-l-gris { border: 2px dashed #CBD5E1; background: #F8FAFC; color: var(--w-texto3); }
    #app .w-l-gris b { color: var(--w-texto2); }
    #app .w-l-gris .ir { color: var(--w-azul); }
    #app .w-acceso { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; background: #F4FAFE; border: 2px solid #BBD8F0; }
    #app .w-acceso .ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(135deg, #22C55E, #15803D); color: #fff; display: grid; place-items: center; }
    #app .w-acceso .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    #app .w-acceso b { font-size: 18px; color: var(--w-azul-osc); }
    #app .w-acceso span span { font-size: 15px; line-height: 1.4; color: var(--w-texto2); }
    #app .w-acceso.poco { background: #FFFBEB; border-color: #FCD34D; }
    #app .w-acceso.poco .ic { background: linear-gradient(135deg, #F9B233, #D97706); }
    #app .w-acceso.poco b { color: #B45309; }

    /* Pagos en vivo */
    #app .w-pagos { display: flex; flex-direction: column; overflow: hidden; }
    #app .w-tabla-cab { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px 16px 10px; }
    #app .w-tabla-tit { display: flex; align-items: center; gap: 12px; min-width: 0; }
    #app .w-tabla-der { display: flex; justify-content: flex-end; min-width: 0; }
    #app .w-leyenda { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
    #app .w-leyenda span, #app .w-porbanco .w-pb-n { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 800; color: var(--w-texto2); }
    #app .w-leyenda i, #app .w-porbanco i { flex: 0 0 14px; width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; border: 3px solid; background: #fff; }
    #app .w-busca { display: flex; align-items: center; gap: 6px; width: 100%; max-width: 250px; height: 40px; padding: 0 6px 0 12px; box-sizing: border-box; border-radius: 12px; border: 2px solid var(--w-azul); background: #fff; }
    #app .w-busca input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--w-tinta); }
    #app .w-busca button { width: 30px; height: 30px; border: 0; border-radius: 8px; background: #F1F5F9; color: var(--w-azul-osc); display: grid; place-items: center; cursor: pointer; }
    #app .w-cols, #app .w-fila { display: grid; grid-template-columns: minmax(0, 1fr) 70px 110px 130px; gap: 9px; align-items: center; }
    #app .w-cols { min-height: 42px; padding: 0 16px; background: #F1F6FA; border-top: 1px solid var(--w-linea); border-bottom: 2px solid var(--w-linea); font-size: 16px; font-weight: 900; letter-spacing: .3px; color: var(--w-azul-osc); text-align: center; }
    #app .w-lista { max-height: calc(100vh - 330px); min-height: 220px; overflow-y: auto; }
    #app .w-fila { width: 100%; min-height: 66px; padding: 8px 16px; border: 0; border-top: 1px solid var(--w-linea); box-sizing: border-box; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .15s; }
    #app .w-fila:first-child { border-top: 0; }
    #app .w-fila:hover { background: #F7FAFC; }
    #app .w-fila.nuevo { background: var(--w-verde-nuevo); }
    #app .w-fila.sel { background: var(--w-azul-suave); box-shadow: inset 4px 0 0 var(--w-azul); }
    #app .w-quien { display: flex; align-items: center; gap: 12px; min-width: 0; }
    #app .w-aro { position: relative; flex: 0 0 46px; width: 46px; height: 46px; padding: 3px; box-sizing: border-box; border-radius: 50%; background: var(--aro); }
    #app .w-aro .in { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 2.5px solid #fff; box-sizing: border-box; overflow: hidden; background: #fff; }
    #app .w-aro .in > *, #app .w-aro .in img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
    #app .w-fila.nuevo .w-aro::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: w-girar 2.4s linear infinite; }
    @keyframes w-girar { to { transform: rotate(360deg); } }
    #app .w-q-tx { flex: 0 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
    #app .w-q-tx .q { font-size: 17px; font-weight: 800; color: var(--w-tinta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-q-tx .q.sin { font-style: italic; color: var(--w-texto3); }
    #app .w-q-tx .n { font-size: 14px; font-weight: 600; color: var(--w-gris); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-nota { flex: 0 0 34px; width: 34px; height: 34px; box-sizing: border-box; border-radius: 12px; background: #FFFBEB; border: 2px solid #FDE7B0; color: #92400E; display: grid; place-items: center; }
    #app .w-banco { display: flex; justify-content: center; }
    #app .w-banco img { width: 34px; height: 34px; border-radius: 10px; object-fit: contain; background: #fff; }
    #app .w-hora { display: flex; flex-direction: column; align-items: center; gap: 1px; }
    #app .w-hora .num { font-size: 15px; font-weight: 800; color: var(--w-texto2); white-space: nowrap; }
    #app .w-hora .hace { font-size: 14px; font-weight: 700; color: var(--w-texto3); white-space: nowrap; }
    #app .w-monto { font-size: 20px; font-weight: 900; color: var(--w-verde); white-space: nowrap; text-align: center; }
    #app .w-pie-enl { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border: 0; border-top: 1px solid var(--w-linea); background: #fff; font: inherit; font-size: 15px; font-weight: 800; color: var(--w-azul); cursor: pointer; }

    /* Hoy ha recibido */
    #app .w-total { padding: 16px 18px; border-radius: 20px; color: #fff; background: linear-gradient(160deg, var(--w-azul-osc), var(--w-azul-noche)); box-shadow: 0 10px 24px rgba(0,40,70,.18); }
    #app .w-tot-tit { font-size: 18px; font-weight: 900; letter-spacing: .8px; color: #9FD0FF; }
    #app .w-tot-v { font-size: 38px; font-weight: 900; line-height: 1.1; letter-spacing: -.5px; }
    #app .w-tot-fila { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
    #app .w-chip-n { padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.14); font-size: 14px; font-weight: 800; white-space: nowrap; }
    #app .w-ayer { padding: 3px 10px; border-radius: 999px; background: rgba(134,239,172,.2); color: #86EFAC; font-size: 13px; font-weight: 800; white-space: nowrap; }
    #app .w-ayer.baja { background: rgba(252,165,165,.2); color: #FCA5A5; }
    #app .w-en { font-size: 13px; font-weight: 800; color: #CFE3F2; }
    #app .w-porbanco { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    #app .w-porbanco > span { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.08); }
    #app .w-porbanco .w-pb-n { color: #E3EEF5; }
    #app .w-porbanco b { font-size: 16px; }
    #app .w-otro-banco { margin-top: 12px; width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.1); border: 1.5px dashed rgba(159,208,255,.55); color: #fff; font: inherit; text-align: left; cursor: pointer; }
    #app .w-otro-banco > span:first-child { flex: 1; display: flex; flex-direction: column; gap: 1px; }
    #app .w-otro-banco b { font-size: 15px; }
    #app .w-otro-banco span span { font-size: 14px; color: #CFE3F2; }
    #app .w-otro-banco .ir { font-size: 15px; font-weight: 900; color: #9FD0FF; white-space: nowrap; }

    /* Cobrar */
    #app .w-cobrar { position: relative; padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 8px; }
    #app .w-cob-cab { display: flex; align-items: center; gap: 8px; }
    #app .w-neg-sel { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 220px; height: 32px; padding: 0 10px 0 4px; border-radius: 999px; border: 2px solid #E3EAF0; background: #fff; font: inherit; font-size: 14px; font-weight: 800; color: var(--w-azul-osc); cursor: pointer; }
    #app .w-neg-sel .av, #app .w-menu-neg .av { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 7px; overflow: hidden; display: grid; place-items: center; }
    #app .w-neg-sel .av > *, #app .w-menu-neg .av > *, #app .w-neg-sel .av img, #app .w-menu-neg .av img { width: 100%; height: 100%; object-fit: cover; }
    #app .w-neg-sel .elip, #app .w-menu-neg .elip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-menu-neg { position: absolute; top: 52px; right: 16px; z-index: 12; width: 250px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 14px 34px rgba(0,25,45,.25); display: flex; flex-direction: column; gap: 2px; }
    #app .w-menu-neg .k, #app .w-menu-qr .k { padding: 6px 10px 4px; font-size: 13px; font-weight: 900; letter-spacing: .6px; color: var(--w-gris); }
    #app .w-menu-neg button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--w-tinta); text-align: left; cursor: pointer; }
    #app .w-menu-neg button .av { flex-basis: 28px; width: 28px; height: 28px; border-radius: 9px; }
    #app .w-menu-neg button.sel, #app .w-menu-neg button:hover { background: var(--w-azul-suave); }
    #app .w-qr-tabs { display: flex; gap: 6px; height: 56px; padding: 5px; box-sizing: border-box; border-radius: 16px; background: var(--w-panel); }
    #app .w-qr-tab { position: relative; flex: 1; min-width: 0; display: grid; place-items: center; padding: 0; border: 2px solid transparent; border-radius: 12px; background: transparent; cursor: pointer; transition: background .15s, border-color .15s; }
    #app .w-qr-tab img { width: 32px; height: 32px; border-radius: 9px; object-fit: contain; opacity: .55; filter: saturate(.6); transition: opacity .15s, transform .15s; }
    #app .w-qr-tab[aria-selected="true"] { background: #fff; border-color: var(--bc); box-shadow: 0 2px 6px rgba(0,30,50,.12); }
    #app .w-qr-tab[aria-selected="true"] img { opacity: 1; filter: none; transform: scale(1.08); }
    #app .w-qr-tab i { position: absolute; top: 5px; right: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--w-naranja); box-shadow: 0 0 0 3px #FFE4D9; }
    #app .w-qr-uno { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; box-sizing: border-box; border-radius: 16px; background: var(--w-panel); }
    #app .w-qr-uno img { width: 34px; height: 34px; border-radius: 10px; object-fit: contain; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
    #app .w-qr-uno b { font-size: 16px; color: var(--w-azul-osc); }
    #app .w-qr-uno .falta { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: #FFE4D9; color: #9A3412; font-size: 13px; font-weight: 800; }
    #app .w-qr-uno .falta i { width: 8px; height: 8px; border-radius: 50%; background: var(--w-naranja); }
    #app .w-qr-zona { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 2px; }
    #app .w-qr-caja { position: relative; }
    #app .w-qr { position: relative; width: 158px; height: 158px; box-sizing: border-box; padding: 10px; border-radius: 18px; border: 2.5px solid var(--banco); background: #fff; animation: w-espera 2.2s ease-in-out infinite; }
    #app .w-qr svg { display: block; width: 100%; height: 100%; }
    #app .w-qr img { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 3px #fff; object-fit: contain; }
    @keyframes w-espera { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 26px 6px var(--sombra); } }
    #app .w-qr-mas { position: absolute; top: 0; right: -52px; }
    #app .w-qr-vacio { width: 158px; height: 158px; box-sizing: border-box; padding: 12px; border-radius: 18px; border: 2px dashed #C3CFD9; background: #F8FAFC; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
    #app .w-qr-vacio .ic, #app .w-sinqr .ic { width: 46px; height: 46px; border-radius: 14px; background: #E2E8F0; color: #64748B; display: grid; place-items: center; }
    #app .w-qr-vacio b { font-size: 15px; line-height: 1.25; color: #334155; }
    #app .w-qr-nota { font-size: 15px; line-height: 1.35; color: var(--w-texto3); text-align: center; }
    #app .w-sinqr { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 16px; border-radius: 18px; border: 2px dashed #C3CFD9; text-align: center; font-size: 16px; font-weight: 800; line-height: 1.4; color: var(--w-texto2); }
    #app .w-llave { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 14px; border-radius: 14px; background: var(--w-panel); }
    #app .w-llave .tx { display: flex; flex-direction: column; line-height: 1.15; }
    #app .w-llave .k { font-size: 13px; font-weight: 900; letter-spacing: .6px; color: var(--w-gris); }
    #app .w-llave b { font-size: 20px; font-weight: 900; letter-spacing: .2px; color: var(--w-azul-osc); }
    #app .w-copiar { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 96px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 10px; background: #fff; color: var(--w-azul); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.1); transition: background .2s, color .2s; }
    #app .w-copiar.ok { background: var(--w-verde-vivo); color: #fff; }
    #app .w-menu-qr { position: absolute; right: 14px; bottom: 120px; z-index: 12; width: 300px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 16px 38px rgba(0,25,45,.28); display: flex; flex-direction: column; gap: 4px; }
    #app .w-op { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 10px; border: 0; border-radius: 14px; background: transparent; font: inherit; font-size: 16px; font-weight: 800; color: var(--w-tinta); text-align: left; cursor: pointer; }
    #app .w-op:hover { background: #F1F5F9; }
    #app .w-op .i { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; color: #fff; display: grid; place-items: center; }
    #app .w-op .tx { flex: 1; display: flex; flex-direction: column; gap: 1px; }
    #app .w-op small { font-size: 14px; font-weight: 600; color: var(--w-texto3); }

    @keyframes w-aparece { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* Tablet: una sola columna, lo de la derecha baja debajo de los pagos. */
@media (min-width: 600px) and (max-width: 1023px) {
    #app .w-cab { flex-wrap: wrap; padding: 10px 16px; gap: 8px; }
    #app .w-cab-tx { flex-basis: calc(100% - 60px); }
    #app .w-cuerpo { flex-direction: column; padding: 14px 16px 18px; align-items: stretch; }
    #app .w-col-der { position: static; width: auto; flex-basis: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    #app .w-franja { margin: 10px 16px 0; flex-wrap: wrap; }
    #app .w-negs-grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #app .w-tabla-cab { grid-template-columns: minmax(0, 1fr) auto; }
    #app .w-leyenda { display: none; }
    #app .w-cols, #app .w-fila { grid-template-columns: minmax(0, 1fr) 50px 90px 110px; }
    #app .w-lista { max-height: none; }
}
@media (min-width: 600px) and (max-width: 819px) { .w-col-der { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
    #app .w-p-verde .w-punto, #app .w-qr, #app .w-fila.nuevo .w-aro::before, #app .w-neg { animation: none; }
}

@media (min-width: 600px) {
    #app .w-cab-sub { overflow: hidden; text-overflow: ellipsis; }
    #app .w-cab-sub > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
    #app .w-porbanco > span { align-items: flex-start; text-align: left; }
    #app .w-total, #app .w-cobrar, #app .w-pagos { text-align: left; }
}

@media (min-width: 600px) and (max-width: 1023px) {
    #app .w-lista { max-height: 470px; }
    #menu.rail-barra { justify-content: flex-start; }
    #menu.rail-barra .ri-logo-b { margin: 6px auto 10px; }
}

/* ---- Aviso de pago grande (W12) ---- */
@media (min-width: 600px) {
    .w-avf { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; font-family: "Figtree", system-ui, sans-serif;
        background: radial-gradient(120% 90% at 50% 30%, rgba(0,90,130,.97) 0%, rgba(0,63,93,.97) 45%, rgba(0,32,50,.98) 100%); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
    .w-avf.visible { opacity: 1; }
    .w-avf[hidden] { display: none; }
    .w-avf::before, .w-avf::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
    .w-avf::before { width: 720px; height: 720px; left: -220px; top: -260px; background: radial-gradient(circle, rgba(0,182,237,.22), transparent 65%); }
    .w-avf::after { width: 620px; height: 620px; right: -200px; bottom: -260px; background: radial-gradient(circle, rgba(31,113,184,.35), transparent 65%); }
    .w-avf .avf-marca { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; align-items: center; padding: 10px 22px; border-radius: 999px; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.3), 0 0 0 4px rgba(255,255,255,.15); }
    .w-avf .avf-marca img { height: 40px; width: auto; display: block; }
    .w-avf .avf-in { position: relative; z-index: 1; width: 100%; max-width: 980px; padding: 70px 40px 24px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
    .w-avf.visible .avf-in { animation: avfSubeW .55s cubic-bezier(.2,1.25,.4,1); }
    @keyframes avfSubeW { from { transform: translateY(40px) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
    .w-avf .avf-logo { position: relative; width: 132px; height: 132px; display: grid; place-items: center; }
    .w-avf .avf-logo img { position: relative; z-index: 1; width: 112px; height: 112px; border-radius: 28px; background: #fff; object-fit: contain; box-shadow: 0 0 0 6px rgba(255,255,255,.16), 0 14px 34px rgba(0,0,0,.35); }
    .w-avf .avf-logo i { position: absolute; inset: 10px; border-radius: 32px; border: 3px solid #00B6ED; opacity: 0; animation: avfOndaW 2.1s ease-out infinite; }
    .w-avf .avf-logo i:nth-child(3) { animation-delay: .7s; } .w-avf .avf-logo i:nth-child(4) { animation-delay: 1.4s; }
    .w-avf .avf-logo.quieto i { display: none; }
    @keyframes avfOndaW { 0% { transform: scale(.9); opacity: .85; } 100% { transform: scale(1.85); opacity: 0; } }
    .w-avf .avf-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; border-radius: 999px; background: #16A34A; font-size: 20px; font-weight: 900; letter-spacing: 1.5px; box-shadow: 0 8px 22px rgba(22,163,74,.4); }
    .w-avf .avf-chip > span { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #16A34A; display: grid; place-items: center; }
    .w-avf .avf-monto { font-size: clamp(64px, 9vw, 112px); font-weight: 900; line-height: 1; letter-spacing: -3px; text-shadow: 0 6px 30px rgba(0,182,237,.35); }
    .w-avf.visible .avf-monto { animation: avfLateW 1.6s ease-in-out .6s 2; }
    @keyframes avfLateW { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
    .w-avf .avf-quien { font-size: clamp(26px, 3.2vw, 40px); font-weight: 900; }
    .w-avf .avf-det { font-size: 20px; font-weight: 700; color: #CFE3F2; }
    .w-avf .avf-lee { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 17px; font-weight: 800; color: #E3F4FB; }
    .w-avf .avf-lee.apagada button { padding: 0; border: 0; background: none; color: #9FD0FF; font: inherit; text-decoration: underline; cursor: pointer; }
    .w-avf .avf-barras { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
    .w-avf .avf-barras b { width: 4px; border-radius: 2px; background: #00B6ED; animation: avfBarraW .9s ease-in-out infinite; }
    .w-avf .avf-barras b:nth-child(1) { height: 10px; } .w-avf .avf-barras b:nth-child(2) { height: 20px; animation-delay: .15s; } .w-avf .avf-barras b:nth-child(3) { height: 14px; animation-delay: .3s; } .w-avf .avf-barras b:nth-child(4) { height: 22px; animation-delay: .45s; }
    @keyframes avfBarraW { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
    .w-avf .avf-tarj { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; width: 100%; }
    .w-avf .avf-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 14px 14px; border: 0; border-radius: 22px; background: #fff; color: var(--w-azul-osc); font: inherit; box-shadow: 0 14px 34px rgba(0,0,0,.28); }
    .w-avf .avf-card img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; }
    .w-avf .avf-card b { font-size: 28px; font-weight: 900; color: #15803D; }
    .w-avf .avf-card .q { font-size: 17px; font-weight: 800; }
    .w-avf .avf-card .d { font-size: 14px; font-weight: 700; color: var(--w-texto3); }
    .w-avf .avf-card.avf-mas { cursor: pointer; justify-content: center; }
    .w-avf .avf-card.avf-mas b { color: var(--w-azul); font-size: 34px; }
    .w-avf .avf-botones { display: flex; gap: 14px; margin-top: 6px; }
    .w-avf .avf-botones button { min-width: 180px; min-height: 58px; padding: 0 26px; border-radius: 16px; font: inherit; font-size: 19px; font-weight: 900; cursor: pointer; }
    .w-avf .avf-ver { border: 2px solid rgba(255,255,255,.6); background: transparent; color: #fff; }
    .w-avf .avf-listo { border: 0; background: linear-gradient(135deg, #F26A33, #D4401B); color: #fff; box-shadow: 0 8px 18px rgba(233,78,36,.35); }
    .w-avf .avf-tiempo { width: 320px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
    .w-avf .avf-tiempo i { display: block; height: 100%; background: #00B6ED; transform-origin: left; }
    .w-avf.visible .avf-tiempo i { animation: avfTiempoW var(--dura, 12s) linear forwards; }
    @keyframes avfTiempoW { from { transform: scaleX(1); } to { transform: scaleX(0); } }
    .w-avf .avf-solo { font-size: 15px; font-weight: 700; color: #9FC3DA; }
    @media (prefers-reduced-motion: reduce) { .w-avf, .w-avf .avf-in, .w-avf .avf-monto, .w-avf .avf-logo i, .w-avf .avf-barras b { animation: none !important; transition: none; } .w-avf .avf-logo i { opacity: 0; } }
}

/* ---- Inicio sin banco (W20) y cuenta nueva (W13) ---- */
@media (min-width: 600px) {
    #app .w-sb { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; }
    #app .w-sb-cab { display: flex; align-items: center; gap: 14px; }
    #app .w-sb-cab .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    #app .w-sb-cab .k { font-size: 14px; font-weight: 800; color: var(--w-texto3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-sb-cab b { font-size: 28px; line-height: 1.15; font-weight: 900; color: var(--w-azul-osc); }
    #app .w-neg-av.g { flex-basis: 64px; width: 64px; height: 64px; border-radius: 18px; }
    #app .w-sb-tx { margin: 0; font-size: 18px; line-height: 1.5; color: var(--w-texto2); }
    #app .w-sb-banco { display: flex; align-items: center; gap: 10px; }
    #app .w-sb-banco img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
    #app .w-sb-banco b { font-size: 19px; color: var(--w-azul-osc); }
    #app .w-sb-bot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
    #app .w-logos-b { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    #app .w-logo-b { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 8px 12px; border-radius: 16px; border: 2px solid #E3EAF0; background: #fff; font: inherit; cursor: pointer; text-align: center; }
    #app .w-logo-b.rec { border-color: #22C55E; background: #F0FDF4; }
    #app .w-logo-b .rec-t { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 2px 10px; border-radius: 999px; background: #16A34A; color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .6px; white-space: nowrap; }
    #app .w-logo-b img { width: 44px; height: 44px; border-radius: 12px; object-fit: contain; }
    #app .w-logo-b b { font-size: 15px; color: var(--w-azul-osc); }
    #app .w-logo-b span { font-size: 13px; font-weight: 800; color: var(--w-azul); }
    #app .w-logo-b.rec span { color: #15803D; }
    #app .w-logo-b.rec .rec-t { color: #fff; }
    #app .w-nota-b { margin: 0; font-size: 15px; font-weight: 700; color: var(--w-texto2); }
    #app .w-gratis { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; color: #fff; background: linear-gradient(160deg, var(--w-azul-osc), var(--w-azul-noche)); box-shadow: 0 10px 24px rgba(0,40,70,.18); }
    #app .w-gratis .ic { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, var(--w-naranja-cl), var(--w-naranja-f)); display: grid; place-items: center; }
    #app .w-gratis .tx { display: flex; flex-direction: column; gap: 3px; }
    #app .w-gratis b { font-size: 22px; }
    #app .w-gratis span span { font-size: 15px; line-height: 1.4; color: #CFE3F2; }
    #app .w-vivo-vacio { padding: 16px 18px; border-radius: 20px; border: 2px dashed #C3CFD9; background: #F8FAFC; display: flex; flex-direction: column; gap: 12px; }
    #app .w-vivo-vacio .cab { display: flex; align-items: center; gap: 12px; }
    #app .w-vivo-vacio .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: #E2E8F0; color: #64748B; display: grid; place-items: center; }
    #app .w-vivo-vacio .tx { display: flex; flex-direction: column; }
    #app .w-vivo-vacio b { font-size: 18px; color: var(--w-azul-osc); }
    #app .w-vivo-vacio .tx span { font-size: 15px; color: var(--w-texto3); }
    #app .w-vivo-vacio .fantasma { display: flex; align-items: center; gap: 12px; }
    #app .w-vivo-vacio .fantasma i { flex: 0 0 38px; height: 38px; border-radius: 50%; background: #E2E8F0; }
    #app .w-vivo-vacio .fantasma span { flex: 1; height: 12px; border-radius: 6px; background: #E2E8F0; }
    #app .w-vivo-vacio .fantasma em { flex: 0 0 70px; height: 12px; border-radius: 6px; background: #E2E8F0; }
    #app .w-ayuda-c { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
    #app .w-ayuda-c b, #app .w-nequi-rec > b { font-size: 18px; color: var(--w-azul-osc); }
    #app .w-ayuda-c > span, #app .w-nequi-rec > span { font-size: 15px; line-height: 1.4; color: var(--w-texto2); }
    #app .w-b-wa-l, #app .w-b-wa-l:link, #app .w-b-wa-l:visited { background: #fff; color: var(--w-azul); border: 2px solid #BBD8F0; }
    #app .w-b-wa-l svg { color: #25D366; }
    #app .w-nuevo-h { display: flex; align-items: center; gap: 22px; padding: 22px; }
    #app .w-nuevo-h .ilus { flex: 0 0 220px; }
    #app .w-nuevo-h .ilus svg { width: 100%; height: auto; }
    #app .w-nuevo-h .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
    #app .w-nuevo-h .tx > b { font-size: 30px; line-height: 1.15; font-weight: 900; color: var(--w-azul-osc); }
    #app .w-nuevo-h p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--w-texto2); }
    #app .w-pasos-sec { display: flex; flex-direction: column; gap: 10px; }
    #app .w-pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    #app .w-paso { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid #E3EAF0; }
    #app .w-paso .n { position: absolute; top: 12px; right: 14px; font-size: 28px; font-weight: 900; color: #D5E5F0; }
    #app .w-paso .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--w-azul-suave); color: var(--w-azul); display: grid; place-items: center; }
    #app .w-paso b { font-size: 17px; color: var(--w-azul-osc); }
    #app .w-paso > span:last-child { font-size: 15px; line-height: 1.4; color: var(--w-texto2); }
    #app .w-nequi-rec { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
    #app .w-logos-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    #app .w-logos-mini span { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--w-texto2); }
    #app .w-logos-mini img { width: 30px; height: 30px; border-radius: 9px; object-fit: contain; }
}
@media (min-width: 600px) and (max-width: 1023px) {
    #app .w-logos-b { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #app .w-pasos { grid-template-columns: minmax(0, 1fr); }
    #app .w-nuevo-h { flex-direction: column; text-align: center; }
    #app .w-nuevo-h .ilus { flex-basis: auto; width: 200px; }
}

/* ---- Pagos (W14) ---- */
@media (min-width: 600px) {
    #app .w-k { font-size: 14px; font-weight: 900; letter-spacing: .8px; color: var(--w-gris); }
    #app .w-panel-vacio { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 50px 16px; color: var(--w-gris); font-size: 16px; font-weight: 700; text-align: center; }
    #app .w-det-cab { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; color: #fff; background: linear-gradient(160deg, var(--w-azul-osc), var(--w-azul-noche)); }
    #app .w-det-cab img { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: #fff; object-fit: contain; }
    #app .w-det-cab > span { display: flex; flex-direction: column; }
    #app .w-det-cab .k { font-size: 13px; font-weight: 900; letter-spacing: .8px; color: #9FD0FF; }
    #app .w-det-cab b { font-size: 30px; font-weight: 900; line-height: 1.1; }
    #app .w-det-quien { display: flex; align-items: center; gap: 12px; padding: 4px 2px; }
    #app .w-det-quien > span:last-child { display: flex; flex-direction: column; min-width: 0; }
    #app .w-det-quien .k { font-size: 12px; font-weight: 900; letter-spacing: .8px; color: var(--w-gris); }
    #app .w-det-quien b { font-size: 19px; color: var(--w-tinta); }
    #app .w-dl { display: flex; flex-direction: column; border-top: 1px solid var(--w-linea); }
    #app .w-dl-f { display: grid; grid-template-columns: 28px minmax(0, auto) minmax(0, 1fr); align-items: center; gap: 8px; min-height: 46px; border-bottom: 1px solid var(--w-linea); }
    #app .w-dl-f .ic { color: var(--w-azul); display: grid; place-items: center; }
    #app .w-dl-f .k { font-size: 15px; font-weight: 700; color: var(--w-texto3); white-space: nowrap; }
    #app .w-dl-f b { font-size: 15px; color: var(--w-tinta); text-align: right; min-width: 0; overflow-wrap: anywhere; }
    #app .w-nota-caja { padding: 10px 12px; border-radius: 16px; background: #FFFBEB; border: 2px solid #FDE7B0; }
    #app .w-nota-caja .cab { display: flex; align-items: center; gap: 8px; color: #92400E; }
    #app .w-nota-caja .cab b { flex: 1; font-size: 13px; letter-spacing: .8px; }
    #app .w-nota-caja .cab button { width: 34px; height: 34px; border: 0; border-radius: 10px; background: #fff; color: #92400E; display: grid; place-items: center; cursor: pointer; }
    #app .w-nota-caja p { margin: 6px 0 2px; font-size: 16px; font-weight: 700; color: #451A03; }
    #app .w-nota-caja .por { font-size: 13px; font-weight: 700; color: #92400E; }
    #app .w-nota-nueva { min-height: 48px; border-radius: 14px; border: 2px dashed #E3C77A; background: #FFFDF5; color: #92400E; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
    #app .w-nota-ed { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 16px; background: #FFFBEB; border: 2px solid #FDE7B0; }
    #app .w-nota-ed label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 900; color: #92400E; }
    #app .w-nota-ed textarea { min-height: 70px; padding: 10px; border-radius: 12px; border: 2px solid #F5C26B; font: inherit; font-size: 16px; resize: vertical; box-sizing: border-box; }
    #app .w-rapidas { display: flex; flex-wrap: wrap; gap: 6px; }
    #app .w-rapidas button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 2px solid #F5C26B; background: #fff; color: #92400E; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
    #app .w-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    #app .pg-g { padding: 16px 24px 22px; }
    #app .pg-panel { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid #E3EAF0; box-shadow: 0 4px 14px rgba(0,40,70,.05); }
    #app .pg-tabla { border-radius: 20px; background: #fff; border: 1px solid #E3EAF0; overflow: hidden; }
    #app .pg-tabla .w-fila { border-top: 1px solid var(--w-linea); }
    #app .pg-kpis .kpi.azul { background: linear-gradient(160deg, var(--w-azul-osc), var(--w-azul-noche)); color: #fff; border: 0; }
    #app .pg-kpis .kpi.azul span { color: #9FD0FF; }
}
@media (min-width: 1024px) {
    #app .pg-g-fila { flex-wrap: nowrap; gap: 10px; }
    #app .pg-g-fila .buscar { flex: 1 1 200px; min-width: 170px; }
    #app .pg-g-fila .filtro { flex: 0 1 auto; min-width: 0; }
    #app .pg-g-fila .filtro select { max-width: 150px; }
    #app .pg-kpis .kpi > span { font-size: 13px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }
}
/* Entre 1024 y 1279 px no cabe todo en una fila: los filtros bajan a la otra
   fila y el detalle del pago se angosta, para que la tabla muestre los nombres. */
@media (min-width: 1024px) and (max-width: 1279px) {
    #app .pg-g-fila { flex-wrap: wrap; }
    #app .pg-g-fila .filtro { flex: 0 0 auto; }
    #app .pg-g-cuerpo { grid-template-columns: minmax(0, 1fr) 260px; gap: 14px; }
    #app .pg-g-cuerpo .w-cols, #app .pg-g-cuerpo .w-fila { grid-template-columns: minmax(0, 1fr) 44px 84px 104px; gap: 6px; }
}

/* ---- Modo caja (W15), como el diseño ---- */
/* El QR mide lo que deja el alto del cuerpo (cqh): 330 px en 1366 × 768, como
   el diseño; más chico si sale la franja del sonido o «Sin internet». */
@media (min-width: 600px) {
    #app .w-cj { --cj-alto: 100dvh; position: relative; height: var(--cj-alto); min-height: 560px; overflow: hidden; display: flex; flex-direction: column; color: #fff; background: linear-gradient(160deg, #00507A 0%, var(--w-azul-osc) 48%, var(--w-azul-noche) 100%); }
    body.con-cinta #app .w-cj { --cj-alto: calc(100dvh - 100px); }
    #app .w-cj-simbolo { position: absolute; right: -90px; bottom: -60px; height: 460px; width: auto; opacity: .05; pointer-events: none; }
    #app .w-cj-barra { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 16px 24px 10px; }
    #app .w-cj-barra > img { height: 36px; width: auto; margin-left: 6px; }
    #app .w-cj-salir { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 14px; background: rgba(255,255,255,.14); color: #fff; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; }
    #app .w-cj-reloj { flex: 1; text-align: center; font-size: 30px; font-weight: 900; letter-spacing: -.3px; }
    #app .w-cj-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #D5E5F0; font: inherit; font-size: 14px; font-weight: 800; white-space: nowrap; }
    #app button.w-cj-chip { cursor: pointer; }
    #app .w-cj-chip.on { background: rgba(134,239,172,.2); color: #86EFAC; }
    #app .w-cj-chip.off { background: #FEE2E2; color: #B91C1C; }
    #app .w-cj-vend { color: #fff; }
    #app .w-cj-vend .av { width: 24px; height: 24px; border-radius: 50%; background: #DCFCE7; color: #15803D; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
    #app .w-cj-son { position: relative; z-index: 3; }
    #app .w-cj-son .w-franja { margin: 0 24px 8px; }
    #app .w-cj-son .w-f-sonido { background: #fff; color: var(--w-tinta); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
    #app .w-cj-son .w-f-sonido .w-f-tx b { font-size: 19px; color: var(--w-azul-osc); }
    #app .w-cj-son .w-f-sonido .w-f-tx span { color: var(--w-texto2); }
    #app .w-cj-son .w-f-toque { background: rgba(254,226,226,.95); border: 0; font-size: 16px; }
    #app .w-cj-rojo { position: relative; z-index: 2; margin: 0 24px 6px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: #FEF3C7; color: #78350F; font-size: 16px; font-weight: 800; }
    #app .w-cj-fuera { position: relative; z-index: 2; margin: 0 24px 6px; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; background: #fff; color: var(--w-tinta); font-size: 16px; }
    #app .w-cj-fuera > svg { flex: 0 0 auto; color: #D97706; }
    #app .w-cj-fuera span { flex: 1; }
    #app .w-cj-fuera .w-b { min-height: 40px; font-size: 15px; background: var(--w-azul-osc); color: #fff; }

    /* El cuerpo: el QR del tamaño que deje el alto (330 px en 1366 × 768, como el diseño). */
    #app .w-cj-cuerpo { container-type: size; position: relative; z-index: 1; flex: 1; min-height: 0; display: flex; gap: 26px; padding: 6px 24px 22px; }
    #app .w-cj-cobro { --cj-qr: clamp(190px, calc(100cqh - 342px), 440px); flex: 0 0 auto; display: flex; gap: 6px; padding: 14px; border-radius: 26px; background: rgba(255,255,255,.08); }
    #app .w-cj-cobro.un-banco { --cj-qr-mas: 50px; }
    #app .w-cj-negs { flex: 0 0 168px; width: 168px; display: flex; flex-direction: column; gap: 6px; min-height: 0; overflow-y: auto; scrollbar-width: none; padding-right: 10px; border-right: 1px solid rgba(255,255,255,.12); }
    #app .w-cj-negs .k, #app .w-cj-tit .k { padding: 4px 6px 2px; font-size: 13px; font-weight: 900; letter-spacing: .8px; color: #9FD0FF; }
    #app .w-cj-negs button { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 10px; border: 0; border-radius: 14px; background: rgba(255,255,255,.07); color: #E3EEF5; font: inherit; font-size: 16px; font-weight: 800; text-align: left; cursor: pointer; }
    #app .w-cj-negs button.sel { background: #fff; color: var(--w-azul-osc); box-shadow: 0 4px 12px rgba(0,0,0,.25); }
    #app .w-cj-negs .av { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 9px; overflow: hidden; display: grid; place-items: center; background: #EAF3FB; }
    #app .w-cj-negs .av > *, #app .w-cj-negs .av img { width: 100%; height: 100%; object-fit: cover; }
    #app .w-cj-negs .elip, #app .w-cj-fila .elip { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-cj-negs .elip { flex: 1; }
    #app .w-cj-qrcol { width: max(360px, calc(var(--cj-qr) + var(--cj-qr-mas, 0px) + 30px)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 0 6px; box-sizing: border-box; }
    #app .w-cj-tit { text-align: center; line-height: 1.2; }
    #app .w-cj-tit .k { display: block; padding: 0; font-size: 15px; }
    #app .w-cj-tit b { font-size: 22px; }
    #app .w-qr.w-cj-qr { width: calc(var(--cj-qr) + var(--cj-qr-mas, 0px)); height: calc(var(--cj-qr) + var(--cj-qr-mas, 0px)); flex: 0 0 auto; padding: 18px; border-width: 4px; border-radius: 26px; }
    #app .w-qr.w-cj-qr img { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 12px; }
    #app .w-cj-tabs { width: 100%; flex: 0 0 56px; background: rgba(255,255,255,.12); }
    #app .w-cj-tabs .w-qr-tab i { box-shadow: 0 0 0 3px rgba(255,228,217,.5); }
    #app .w-cj-llave { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 16px; box-sizing: border-box; border-radius: 16px; background: rgba(255,255,255,.1); }
    #app .w-cj-llave img { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; background: #fff; object-fit: contain; }
    #app .w-cj-llave .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
    #app .w-cj-llave .tx span { font-size: 13px; font-weight: 900; letter-spacing: .8px; color: #9FD0FF; }
    #app .w-cj-llave b { max-width: 100%; font-size: 28px; font-weight: 900; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-cj-sinqr { width: var(--cj-qr); height: var(--cj-qr); box-sizing: border-box; padding: 24px; border-radius: 26px; border: 3px dashed rgba(255,255,255,.35); background: rgba(255,255,255,.06); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
    #app .w-cj-sinqr .ic { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.12); color: #CFE3F2; display: grid; place-items: center; }
    #app .w-cj-sinqr b { font-size: 22px; line-height: 1.25; }
    #app .w-cj-sinqr span:not(.ic) { font-size: 16px; line-height: 1.4; color: #CFE3F2; }
    #app .w-cj-ir { min-height: 48px; background: #fff; color: var(--w-azul-osc); }
    #app .w-cj-nota { margin: 0; font-size: 15px; line-height: 1.4; color: #CFE3F2; text-align: center; }

    /* Derecha: la espera y los últimos 5. */
    #app .w-cj-der { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
    #app .w-cj-espera { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px 20px 20px; border-radius: 26px; background: rgba(255,255,255,.06); text-align: center; }
    #app .w-cj-espera > b { font-size: 38px; line-height: 1.1; font-weight: 900; }
    #app .w-cj-espera > span { font-size: 17px; color: #CFE3F2; }
    #app .w-cj-espera .hoy { margin-top: 4px; display: inline-flex; align-items: baseline; gap: 10px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 17px; font-weight: 800; color: #CFE3F2; }
    #app .w-cj-espera .hoy b { font-size: 26px; color: #fff; }
    #app .w-cj-espera .pts { display: inline-flex; gap: 8px; }
    #app .w-cj-espera .pts i { display: block; width: 12px; height: 12px; border-radius: 50%; background: #86EFAC; animation: w-pts 1.4s ease-in-out infinite; }
    #app .w-cj-espera .pts i:nth-child(2) { animation-delay: .2s; } #app .w-cj-espera .pts i:nth-child(3) { animation-delay: .4s; }
    @keyframes w-pts { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: none; } }
    #app .w-cj-ult { container-type: size; flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 22px; background: #fff; color: var(--w-tinta); overflow: hidden; }
    /* El título también crece con la tarjeta: 19 px en 1366 × 868, hasta 26 px. */
    #app .w-cj-ult .cab { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 22px 8px; }
    #app .w-cj-ult .k { font-size: clamp(17px, calc((100cqh - 44px) * .045), 26px); font-weight: 900; letter-spacing: .8px; color: var(--w-azul-osc); }
    #app .w-cj-ult .w-enl { font-size: clamp(15px, calc((100cqh - 44px) * .036), 20px); }
    /* Las 5 filas llenan la tarjeta y la letra crece con el alto de cada fila
       (cqh de .w-cj-ult; 100cqh − 44 px es lo que queda debajo del título). En
       1366 × 768 sale como el modo caja del diseño: nombre 21, valor 25, aro 54. */
    #app .w-cj-fila { --fq: clamp(17px, calc((100cqh - 44px) * .052), 28px); --fs: clamp(14px, calc((100cqh - 44px) * .038), 19px);
        --fm: clamp(20px, calc((100cqh - 44px) * .062), 36px); --fh: clamp(14px, calc((100cqh - 44px) * .036), 18px); --fa: clamp(46px, calc((100cqh - 44px) * .128), 66px);
        flex: 1 1 0; max-height: calc((100cqh - 44px) / 5); min-height: 0; display: flex; align-items: center; gap: 16px; padding: 4px 22px; border-top: 1px solid var(--w-linea); box-sizing: border-box; background: #fff; }
    #app .w-cj-fila .w-aro { flex-basis: var(--fa); width: var(--fa); height: var(--fa); }
    #app .w-cj-fila.nuevo { background: var(--w-verde-nuevo); }
    #app .w-cj-fila.nuevo .w-aro::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: w-girar 2.4s linear infinite; }
    #app .w-cj-fila.fuera { background: #FFFBEB; }
    #app .w-cj-fila .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    #app .w-cj-fila .tx b { font-size: var(--fq); line-height: 1.2; font-weight: 800; color: var(--w-tinta); } #app .w-cj-fila .tx b.sin { font-style: italic; color: var(--w-texto3); }
    #app .w-cj-fila .tx span { font-size: var(--fs); font-weight: 600; color: var(--w-gris); }
    #app .w-cj-fila .der { display: flex; flex-direction: column; align-items: flex-end; }
    #app .w-cj-fila .der b { font-size: var(--fm); line-height: 1.15; font-weight: 900; color: var(--w-verde); white-space: nowrap; }
    #app .w-cj-fila .der span { font-size: var(--fh); font-weight: 700; color: var(--w-texto3); white-space: nowrap; }

    /* Sin ningún banco (encargo 12). */
    #app .w-cj-vacio { position: relative; z-index: 1; flex: 1; min-height: 0; display: grid; place-items: center; padding: 20px; }
    #app .w-cj-vacio .caja { width: 100%; max-width: 560px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 32px 30px; border-radius: 26px; border: 2px dashed rgba(255,255,255,.3); background: rgba(255,255,255,.08); text-align: center; }
    #app .w-cj-vacio .ic { position: relative; width: 96px; height: 96px; border-radius: 28px; background: linear-gradient(135deg, #00B6ED, #1F71B8); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px rgba(0,182,237,.35); }
    #app .w-cj-vacio .ic .mas { position: absolute; right: -8px; bottom: -8px; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--w-naranja-cl), var(--w-naranja-f)); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 900; box-shadow: 0 0 0 4px #0B3550; }
    #app .w-cj-vacio b { font-size: 26px; line-height: 1.2; } #app .w-cj-vacio span { font-size: 17px; line-height: 1.45; color: #CFE3F2; }
    #app .w-cj-vacio .logos { display: flex; gap: 10px; } #app .w-cj-vacio .logos img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; background: #fff; box-shadow: 0 3px 8px rgba(0,40,70,.15); }
    #app .w-cj-vacio .w-cj-b { min-height: 58px; padding: 0 30px; font-size: 19px; }
    #app .w-cj-vacio .gratis { font-size: 15px; font-weight: 700; }
}
/* Tablet: el cobro arriba (centrado) y la espera con los pagos debajo; la página baja. */
@media (min-width: 600px) and (max-width: 1023px) {
    #app .w-cj { height: auto; min-height: var(--cj-alto); overflow: visible; }
    #app .w-cj-barra { flex-wrap: wrap; padding: 12px 16px 8px; }
    #app .w-cj-reloj { font-size: 24px; }
    #app .w-cj-cuerpo { container-type: normal; flex-direction: column; align-items: center; gap: 18px; padding: 6px 16px 22px; }
    #app .w-cj-cobro { --cj-qr: 300px; max-width: 100%; box-sizing: border-box; }
    #app .w-cj-der { width: 100%; }
    #app .w-cj-ult { flex: none; container-type: normal; }
    #app .w-cj-fila { --fq: 20px; --fs: 15px; --fm: 25px; --fh: 15px; --fa: 54px; flex: none; min-height: 84px; max-height: none; }
    #app .w-cj-ult .k { font-size: 20px; } #app .w-cj-ult .w-enl { font-size: 16px; }
}
@media (min-width: 600px) and (max-width: 719px) { #app .w-cj-cobro { flex-direction: column; } #app .w-cj-negs { flex-basis: auto; width: auto; flex-direction: row; flex-wrap: wrap; padding: 0 0 10px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); } }
@media (prefers-reduced-motion: reduce) { #app .w-cj-espera .pts i, #app .w-cj-fila.nuevo .w-aro::before { animation: none; } }

/* ---- Mi mes (W2) y el estado vacío sin banco ---- */
@media (min-width: 600px) {
    #app .w-mes-sel { display: flex; align-items: center; gap: 8px; }
    #app .w-mes-sel > span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 12px; background: var(--w-azul-suave); color: var(--w-azul-osc); font-size: 16px; font-weight: 900; white-space: nowrap; }
    #app .w-mes-sel button[disabled] { opacity: .35; cursor: default; }
    #app .w-mes-cuerpo { padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
    #app .w-mes-aviso:empty { display: none; }
    #app .w-mes-aviso { margin: 10px 24px 0; }
    #app .w-mes-arriba { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; }
    #app .w-mes-total { padding: 16px 20px; border-radius: 22px; color: #fff; background: linear-gradient(160deg, var(--w-azul-osc), var(--w-azul-noche)); box-shadow: 0 10px 24px rgba(0,40,70,.18); display: flex; flex-direction: column; gap: 10px; }
    #app .w-mes-total .k { font-size: 14px; font-weight: 900; letter-spacing: .8px; color: #9FD0FF; }
    #app .w-mes-total .linea { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
    #app .w-mes-total .v { font-size: 40px; font-weight: 900; line-height: 1.05; }
    #app .w-mes-total .cmp { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px; background: rgba(255,255,255,.1); }
    #app .w-mes-total .cmp .c { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: #16A34A; }
    #app .w-mes-total .cmp.baja .c { background: #DC2626; }
    #app .w-mes-total .cmp > span:last-child { display: flex; flex-direction: column; }
    #app .w-mes-total .cmp b { font-size: 17px; }
    #app .w-mes-total .cmp span span { font-size: 13px; color: #CFE3F2; }
    #app .w-mes-total .cmp.gris { padding: 8px 14px; font-size: 14px; color: #CFE3F2; }
    #app .w-mes-total .kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    #app .w-mes-total .kpis > span { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.08); }
    #app .w-mes-total .kpis .k { font-size: 12px; }
    #app .w-mes-total .kpis b { font-size: 22px; }
    #app .w-mes-dia { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 22px; background: #FFF7ED; border: 2px solid #FDBA74; }
    #app .w-mes-dia .k { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 900; letter-spacing: .8px; color: #C2410C; }
    #app .w-mes-dia .k i { width: 9px; height: 9px; border-radius: 50%; background: var(--w-naranja); }
    #app .w-mes-dia > b { font-size: 18px; color: var(--w-azul-osc); }
    #app .w-mes-dia .v { font-size: 32px; font-weight: 900; color: var(--w-verde); }
    #app .w-mes-dia .n { font-size: 15px; font-weight: 700; color: var(--w-texto3); margin-bottom: 8px; }
    #app .w-mt { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
    #app .w-mt-cab { display: flex; align-items: center; gap: 12px; }
    #app .w-mt-cab .ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; color: #fff; display: grid; place-items: center; }
    #app .w-mt-cab > span:last-child { display: flex; flex-direction: column; min-width: 0; }
    #app .w-mt-cab b { font-size: 18px; color: var(--w-azul-osc); }
    #app .w-mt-cab span span { font-size: 14px; color: var(--w-texto3); }
    #app .w-mt-p { margin: 0; font-size: 15px; color: var(--w-texto2); }
    #app .w-mes-grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
    #app .w-graf { position: relative; display: flex; align-items: flex-end; gap: 4px; height: 170px; padding-top: 6px; }
    #app .w-graf.horas { height: 110px; }
    #app .w-barra { flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; padding: 0; border: 0; background: transparent; cursor: pointer; }
    #app .w-barra span { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--w-azul); }
    #app .w-barra.vacia span { background: #E2E8F0; }
    #app .w-barra.hoy span { background: var(--w-celeste); }
    #app .w-barra.sel span { background: var(--w-naranja); }
    #app .w-barra.top span { background: var(--w-naranja); }
    #app span.w-barra { cursor: default; }
    #app .w-prom { position: absolute; left: 0; right: 0; border-top: 2px dashed #94A3B8; pointer-events: none; }
    #app .w-eje { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--w-gris); }
    #app .w-ley { display: flex; gap: 16px; font-size: 13px; font-weight: 800; color: var(--w-texto2); }
    #app .w-ley span { display: inline-flex; align-items: center; gap: 6px; }
    #app .w-ley i { width: 12px; height: 12px; border-radius: 3px; background: var(--w-azul); }
    #app .w-ley i.hoy { background: var(--w-celeste); } #app .w-ley i.sel { background: var(--w-naranja); } #app .w-ley i.prom { height: 0; border-top: 2px dashed #94A3B8; border-radius: 0; background: none; }
    #app .w-mfila { display: flex; align-items: center; gap: 10px; min-height: 46px; border-top: 1px solid var(--w-linea); }
    #app .w-mfila .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    #app .w-mfila .tx b { font-size: 15px; color: var(--w-tinta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-mfila .tx span { font-size: 13px; color: var(--w-texto3); }
    #app .w-mfila > b { font-size: 16px; color: var(--w-azul-osc); white-space: nowrap; }
    #app .w-mfila > b.verde { color: var(--w-verde); }
    #app .w-mfila .pct { font-size: 14px; font-weight: 800; color: var(--w-gris); }
    #app .w-punto-b { flex: 0 0 16px; width: 16px; height: 16px; box-sizing: border-box; border-radius: 50%; border: 4px solid; }
    #app .w-pos { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #EEF2F6; color: var(--w-texto2); display: grid; place-items: center; font-size: 14px; font-weight: 900; }
    #app .w-pos.oro { background: #FEF3C7; color: #92400E; }
    #app .w-mneg { display: flex; flex-direction: column; gap: 4px; padding: 6px 0; border-top: 1px solid var(--w-linea); }
    #app .w-mneg .cab { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 800; color: var(--w-texto2); }
    #app .w-mneg .cab .elip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-mneg .riel { height: 8px; border-radius: 4px; background: #E2E8F0; overflow: hidden; }
    #app .w-mneg .riel span { display: block; height: 100%; border-radius: 4px; }
    #app .w-mneg .pie { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--w-texto3); }
    #app .w-sem { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; height: 90px; }
    #app .w-sem > span { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
    #app .w-sem i { display: block; width: 100%; border-radius: 6px 6px 0 0; background: #BFD6EA; }
    #app .w-sem .top i { background: var(--w-naranja); }
    #app .w-sem small { font-size: 12px; font-weight: 800; color: var(--w-gris); }
    #app .w-menu-bajar { position: fixed; top: 84px; right: 24px; z-index: 12; width: 340px; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 16px 38px rgba(0,25,45,.28); }
    #app .w-menu-bajar b { font-size: 17px; color: var(--w-azul-osc); }
    #app .w-menu-bajar > span { font-size: 14px; color: var(--w-texto2); }
    #app .w-vacio-banco { align-self: center; width: 100%; max-width: 560px; margin: 20px auto; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 32px 30px; border-radius: 26px; border: 2px dashed #B9D3EA; background: #fff; text-align: center; box-sizing: border-box; }
    #app .w-vacio-banco .ic { width: 96px; height: 96px; border-radius: 28px; background: linear-gradient(135deg, #00B6ED, #1F71B8); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px rgba(0,182,237,.35); }
    #app .w-vacio-banco > b { font-size: 26px; line-height: 1.2; color: var(--w-azul-osc); }
    #app .w-vacio-banco > span { font-size: 17px; line-height: 1.45; color: var(--w-texto2); }
    #app .w-vacio-banco .logos { display: flex; gap: 10px; }
    #app .w-vacio-banco .logos img { width: 40px; height: 40px; border-radius: 11px; object-fit: contain; box-shadow: 0 3px 8px rgba(0,40,70,.15); background: #fff; }
    #app .w-vacio-banco .gratis { font-size: 15px; font-weight: 700; }
}
@media (min-width: 600px) and (max-width: 1023px) {
    #app .w-mes-arriba { grid-template-columns: minmax(0, 1fr); }
    #app .w-mes-grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #app .w-cab .w-mes-sel { order: 3; }
}

/* ---- Mi plan (W3) y las hojas de confirmar ---- */
.w-hoja .w-hoja-cuerpo { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; text-align: left; }
.w-hoja .w-hoja-f { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #EEF2F5; font-size: 16px; }
.w-hoja .w-hoja-f span { color: #475569; font-weight: 700; } .w-hoja .w-hoja-f b { color: #003F5D; text-align: right; }
.w-hoja .w-hoja-nota { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: #334155; }
.w-hoja .w-hoja-bot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.w-hoja .w-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 16px; border: 0; border-radius: 14px; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; }
.w-hoja .w-b-pri { background: linear-gradient(135deg, #F26A33, #D4401B); color: #fff; }
.w-hoja .w-b-sua { background: #fff; color: #003F5D; border: 2px solid #DCE5ED; }
.w-hoja .w-b-rojo { background: #DC2626; color: #fff; }
.w-hoja .w-enl { padding: 0; border: 0; background: none; font: inherit; font-weight: 800; color: #1F71B8; cursor: pointer; text-decoration: underline; }
@media (min-width: 600px) {
    #app .w-plan-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 16px 24px 24px; align-items: start; }
    #app .w-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
    #app .w-plan-su { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 22px; color: #fff; background: linear-gradient(160deg, var(--w-azul-osc), var(--w-azul-noche)); box-shadow: 0 10px 24px rgba(0,40,70,.2); }
    #app .w-cinta { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: var(--w-naranja); font-size: 13px; font-weight: 900; }
    #app .w-plan-su .nom { font-size: 28px; font-weight: 900; }
    #app .w-plan-su .sub { font-size: 15px; color: #CFE3F2; }
    #app .w-plan-est { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 6px; }
    #app .w-plan-est .f { display: flex; justify-content: space-between; font-size: 15px; font-weight: 800; }
    #app .w-plan-est .w-fechas-plan { font-size: 13px; color: #CFE3F2; }
    #app .w-plan-est .et { display: inline-flex; align-items: center; gap: 6px; }
    #app .w-plan-est .et i { width: 9px; height: 9px; border-radius: 50%; background: #4ADE80; }
    #app .w-plan-est .et i.ambar { background: #FBBF24; } #app .w-plan-est .et i.rojo { background: #F87171; }
    #app .w-plan-est .riel { height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); overflow: hidden; }
    #app .w-plan-est .riel span { display: block; height: 100%; background: #4ADE80; } #app .w-plan-est .riel span.rojo { background: #F87171; }
    #app .w-k.claro { color: #9FD0FF; }
    #app .w-chk { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; font-weight: 700; }
    #app .w-chk > span:first-child { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; }
    #app .w-chk > span:first-child svg { width: 13px; height: 13px; }
    #app .w-chk small { display: block; font-size: 13px; font-weight: 600; opacity: .8; }
    #app .w-plan-mas { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 14px; border-radius: 14px; border: 2px dashed rgba(159,208,255,.6); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: 15px; cursor: pointer; }
    #app .w-plan-mas span { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--w-azul-osc); display: grid; place-items: center; font-weight: 900; }
    #app .w-plan-solic { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; background: #FFF7ED; color: #7C2D12; }
    #app .w-plan-solic span { font-size: 14px; }
    #app .w-plan-lista { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
    #app .w-plan-fila { border-radius: 16px; background: linear-gradient(120deg, #1F71B8, #00A3D9); color: #fff; overflow: hidden; }
    #app .w-plan-fila.mio { background: linear-gradient(120deg, var(--w-azul-osc), #0B4A6B); box-shadow: 0 0 0 3px var(--w-naranja); }
    #app .w-plan-fila .cab { width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
    #app .w-plan-fila .n { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--w-azul-osc); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
    #app .w-plan-fila .n b { font-size: 22px; } #app .w-plan-fila .n small { font-size: 10px; font-weight: 800; }
    #app .w-plan-fila .tx { flex: 1; display: flex; flex-direction: column; }
    #app .w-plan-fila .tx b { font-size: 18px; } #app .w-plan-fila .tx em { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--w-naranja); }
    #app .w-plan-fila .tx span { font-size: 20px; font-weight: 900; } #app .w-plan-fila .tx small { font-size: 13px; font-weight: 700; }
    #app .w-plan-fila.abierto .cab svg { transform: rotate(180deg); }
    #app .w-plan-fila .det { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 14px; }
    #app .w-plan-fila .det p { margin: 0; font-size: 14px; color: #E3F4FB; }
    #app .w-plan-fila .bot { margin-top: 4px; }
    #app .w-actual { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; background: rgba(255,255,255,.15); font-weight: 800; }
    #app .w-actual.pedido { background: #FFF1EA; color: #C2410C; }
    #app .w-pie-p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--w-texto3); }
    #app .w-plan-reco { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 0; border-radius: 20px; background: linear-gradient(120deg, #F59E0B, var(--w-naranja)); color: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 10px 22px rgba(233,78,36,.3); }
    #app .w-plan-reco .ic { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--w-naranja); display: grid; place-items: center; }
    #app .w-plan-reco .tx { flex: 1; display: flex; flex-direction: column; } #app .w-plan-reco .tx b { font-size: 20px; } #app .w-plan-reco .tx span { font-size: 14px; }
    #app .w-plan-reco .sello { flex: 0 0 74px; width: 74px; height: 74px; border-radius: 50%; background: #fff; color: var(--w-naranja); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
    #app .w-plan-reco .sello b { font-size: 24px; } #app .w-plan-reco .sello small { font-size: 10px; font-weight: 900; }
    #app .w-cobro { overflow: hidden; }
    #app .w-cobro .cab { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: linear-gradient(120deg, var(--w-azul-osc), #0B4A6B); color: #fff; }
    #app .w-cobro .cab .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.15); display: grid; place-items: center; }
    #app .w-cobro .cab b { flex: 1; font-size: 18px; }
    #app .w-chip-cobro { padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--w-azul-osc); font-size: 13px; font-weight: 900; white-space: nowrap; }
    #app .w-chip-cobro.ambar { background: #FEF3C7; color: #92400E; } #app .w-chip-cobro.rojo { background: #FEE2E2; color: #B91C1C; }
    #app .w-chip-cobro.auto { background: #E0F7FD; color: #0077A3; }
    #app .w-cobro .tot { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px 4px; }
    #app .w-cobro .tot b { font-size: 36px; font-weight: 900; color: var(--w-azul-osc); } #app .w-cobro .tot span { font-size: 14px; color: var(--w-texto3); }
    #app .w-desglose { padding: 4px 16px; }
    #app .w-desglose .r { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--w-linea); }
    #app .w-desglose .r .tx { display: flex; flex-direction: column; } #app .w-desglose .r b { font-size: 15px; } #app .w-desglose .r .tx span { font-size: 13px; color: var(--w-texto3); }
    #app .w-desglose .r .num { font-size: 16px; font-weight: 900; color: var(--w-azul-osc); } #app .w-desglose .r.desc .num { color: var(--w-verde); }
    #app .w-cobro-msj { margin: 8px 16px 14px; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #FFFBEB; color: #78350F; }
    #app .w-cobro-msj.gris { flex-direction: row; align-items: center; justify-content: space-between; background: #F1F5F9; color: var(--w-texto2); }
    #app .w-cobro-msj.verde { background: #F0FDF4; color: #14532D; }
    #app .w-pagar { display: flex; flex-direction: column; gap: 10px; padding: 8px 16px 16px; font-size: 15px; color: var(--w-texto2); }
    #app .w-ojo-p { padding: 10px 12px; border-radius: 12px; background: #FFFBEB; font-size: 14px; color: #78350F; }
    #app .w-avisado { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #EAF3FB; color: var(--w-azul-osc); }
    #app .w-avisado span { font-size: 14px; color: var(--w-texto2); }
}
@media (min-width: 600px) and (max-width: 1023px) { #app .w-plan-cuerpo { grid-template-columns: minmax(0, 1fr); } }
/* Pagos anteriores (Mi plan): la fila de cada pago cabe en su tarjeta. Un
   estilo viejo le daba el ancho completo sin contar el relleno y el botón PDF
   quedaba cortado a la derecha (Alexander, 30-10). */
@media (min-width: 600px) {
    #app #w-pagos-ant .mp-ant .fila { width: auto; box-sizing: border-box; }
}

/* ---- Celulares (W6), como el diseño ---- */
@media (min-width: 600px) {
    #app .w6-cuerpo { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px 24px 20px; }
    #app .w6-b-viejos { min-height: 46px; gap: 8px; background: #FFFBEB; color: #92400E; border: 2px solid #F5C26B; }
    #app .w6-b-otros { min-height: 46px; gap: 8px; margin-left: 8px; background: #fff; color: var(--w-azul-osc); border: 2px solid var(--w-azul-osc); }
    #app .w6-b-otros svg { width: 16px; height: 16px; }
    /* El cupo del plan */
    #app .w6-cupo { flex: none; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 20px; color: #fff; background: linear-gradient(150deg, #00507A, var(--w-azul-osc) 55%, var(--w-azul-noche)); }
    #app .w6-cupo .arriba { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    #app .w6-cupo .tag { padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 13px; font-weight: 900; }
    #app .w6-cupo .cuenta { display: flex; align-items: baseline; gap: 8px; }
    #app .w6-cupo .cuenta b { font-size: 32px; line-height: 1; font-weight: 900; }
    #app .w6-cupo .cuenta .de { font-size: 18px; font-weight: 800; color: #BFE3F7; }
    #app .w6-cupo .cuenta span:last-child { font-size: 15px; color: #BFE3F7; }
    #app .w6-cupo .esp { flex: 1; }
    #app .w6-cupo .est { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; }
    #app .w6-cupo .est i { width: 9px; height: 9px; border-radius: 50%; }
    #app .w6-cupo .ver { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 800; color: #9FD0FF; cursor: pointer; }
    #app .w6-puestos { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; }
    #app .w6-pt { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 88px; padding: 10px 12px; box-sizing: border-box; border-radius: 16px; border: 2px solid rgba(255,255,255,.18); background: rgba(255,255,255,.12); color: #fff; }
    #app .w6-pt.rojo { border-color: rgba(248,113,113,.7); }
    #app .w6-pt .ic { position: relative; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--w-azul); display: grid; place-items: center; }
    #app .w6-pt .ic i { position: absolute; right: -7px; bottom: -7px; width: 22px; height: 22px; box-sizing: content-box; border-radius: 50%; border: 2px solid var(--w-azul-osc); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 900; font-style: normal; }
    #app .w6-pt .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    #app .w6-pt .tx b { font-size: 14px; }
    #app .w6-pt .tx span { font-size: 12px; color: #BFE3F7; }
    #app .w6-pt .tx span.viejo { color: #FCD34D; }
    #app .w6-pt .elip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w6-pt.w6-mas { justify-content: center; gap: 8px; padding: 8px 12px; border: 2px dashed rgba(249,178,51,.7); background: rgba(242,106,51,.14); font: inherit; text-align: left; cursor: pointer; }
    #app .w6-pt.w6-mas .tx { flex: 0 1 auto; }
    #app .w6-pt.w6-mas .tx span { color: #FDE7D5; }
    #app .w6-pt .w6-mas-c { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #F26A33, #D4401B); display: grid; place-items: center; font-size: 20px; font-weight: 900; }
    #app .w6-cupo .nota { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #BFE3F7; }
    #app .w6-cupo .nota svg { flex: none; }
    /* Los avisos: completo (rojo), Básico solo con este (azul), sin usar (ámbar) */
    #app .w6-aviso { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; border: 2px solid; }
    #app .w6-aviso > svg { flex: none; }
    #app .w6-aviso > span { flex: 1; font-size: 15px; line-height: 1.4; }
    #app .w6-aviso .w-b { min-height: 42px; padding: 0 14px; font-size: 14px; }
    #app .w6-aviso.rojo { background: #FEF2F2; border-color: #FCA5A5; } #app .w6-aviso.rojo > svg { color: #B91C1C; } #app .w6-aviso.rojo > span { color: #7F1D1D; }
    #app .w6-aviso.azul { background: var(--w-azul-suave); border-color: #B9D6F0; } #app .w6-aviso.azul > svg { color: var(--w-azul); } #app .w6-aviso.azul > span { color: var(--w-azul-osc); }
    #app .w6-aviso.ambar { background: #FFFBEB; border-color: #F6D9A8; } #app .w6-aviso.ambar > svg { color: #B45309; } #app .w6-aviso.ambar > span { color: #78350F; }
    #app .w6-b-azul { background: #fff; color: var(--w-azul); border: 2px solid var(--w-azul); }
    #app .w6-b-cafe { background: #78350F; color: #fff; }
    /* La tabla */
    #app .w6-tabla { flex: none; padding: 0; overflow: hidden; }
    #app .w6-cabt, #app .w6-fila { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr) 150px 120px 112px; gap: 10px; }
    #app .w6-cabt { align-items: center; min-height: 50px; padding: 0 16px 0 20px; background: var(--w-azul-suave); border-bottom: 2px solid #B9D6F0; font-size: 16px; font-weight: 900; color: var(--w-azul-osc); }
    #app .w6-grupo { display: flex; align-items: center; gap: 10px; padding: 12px 16px 10px 20px; border-top: 2px solid var(--w-linea); background: #F8FAFC; }
    #app .w6-grupo .ic { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; color: #fff; display: grid; place-items: center; }
    #app .w6-grupo b { font-size: 17px; color: var(--w-azul-osc); }
    #app .w6-grupo .n { min-width: 24px; height: 24px; padding: 0 8px; box-sizing: border-box; border-radius: 12px; background: var(--w-azul); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
    #app .w6-grupo .s { font-size: 14px; color: var(--w-texto3); }
    #app .w6-fila { min-height: 64px; padding: 8px 16px 8px 20px; border-top: 1px solid #EEF3F7; box-shadow: inset 5px 0 0 var(--franja); background: #fff; }
    #app .w6-fila.este { background: #F4F9FD; }
    #app .w6-fila > span { display: flex; align-items: center; min-width: 0; }
    #app .w6-fila .w6-disp { gap: 12px; }
    #app .w6-fila .w6-disp .ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; color: #fff; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,63,93,.2); }
    #app .w6-fila .ic.cel { background: linear-gradient(135deg, #1F71B8, #003F5D); }
    #app .w6-fila .ic.nav { background: linear-gradient(135deg, #00B6ED, #1F71B8); }
    #app .w6-fila .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
    #app .w6-fila .w6-disp b { font-size: 17px; line-height: 1.25; color: var(--w-azul-osc); }
    #app .w6-fila .w6-disp .tx span { font-size: 13px; color: var(--w-texto3); }
    #app .w6-fila .w6-quien { gap: 8px; }
    #app .w6-fila .av { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 900; box-shadow: 0 3px 8px rgba(0,0,0,.15); }
    #app .w6-fila .w6-quien .tx { gap: 0; }
    #app .w6-fila .w6-quien b { font-size: 15px; line-height: 1.25; color: var(--w-tinta); }
    #app .w6-fila .w6-quien .tx span { font-size: 12px; line-height: 1.35; color: var(--w-azul); }
    #app .w6-fila .w6-uso { gap: 6px; font-size: 14px; font-weight: 800; }
    #app .w6-fila .w6-uso .w6-vivo { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--w-verde-vivo); animation: w4-vivo 1.8s ease-out infinite; }
    #app .w6-plan { padding: 3px 10px; border-radius: 999px; background: var(--w-azul-suave); color: var(--w-azul-osc); font-size: 13px; font-weight: 800; white-space: nowrap; }
    #app .w6-plan.no { background: #DCFCE7; color: #15803D; }
    #app .w6-fila .w6-acc { justify-content: flex-end; }
    #app .w6-fila .w6-aqui { padding: 4px 10px; border-radius: 999px; background: #DCFCE7; color: #15803D; font-size: 12px; font-weight: 900; white-space: nowrap; }
    #app .w6-sacar { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 2px solid #FECACA; background: #fff; color: #B91C1C; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
    #app .w6-sacar:hover { background: #FEF2F2; }
    #app .w6-solo { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-top: 1px solid var(--w-linea); background: #F8FAFC; }
    #app .w6-solo .ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #DCFCE7; color: #15803D; display: grid; place-items: center; }
    #app .w6-solo .tx { display: flex; flex-direction: column; gap: 2px; }
    #app .w6-solo b { font-size: 16px; color: var(--w-azul-osc); }
    #app .w6-solo .tx span { font-size: 14px; line-height: 1.4; color: var(--w-texto2); }
    /* ¿Qué es esto? */
    #app .w6-que { flex: none; padding: 0; overflow: hidden; margin-bottom: 8px; }
    #app .w6-que > button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 0; background: #fff; font: inherit; text-align: left; cursor: pointer; }
    #app .w6-que .ic { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, #00B6ED, #1F71B8); color: #fff; display: grid; place-items: center; }
    #app .w6-que > button b { flex: 1; font-size: 17px; color: var(--w-azul-osc); }
    #app .w6-que .fl { display: grid; color: var(--w-azul); transition: transform .2s; }
    #app .w6-que .fl svg { width: 18px; height: 18px; }
    #app .w6-que.abierto .fl { transform: rotate(180deg); }
    #app .w6-que .reglas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 16px 16px; }
    #app .w6-que .reglas > div { display: flex; gap: 10px; padding: 12px; border-radius: 14px; background: #F8FAFC; border: 1px solid #EEF3F7; }
    #app .w6-que .reglas .n { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--w-azul); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
    #app .w6-que .reglas span:last-child { font-size: 15px; line-height: 1.45; color: var(--w-tinta); }
    /* Cargando y sin conexión */
    #app .w6-bloq { flex: 1; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
    #app .w6-bloq .ic { width: 76px; height: 76px; border-radius: 50%; background: var(--w-azul-suave); color: var(--w-azul); display: grid; place-items: center; }
    #app .w6-bloq .ic.ambar { background: #FEF3C7; color: #B45309; }
    #app .w6-bloq .w6-giro { width: 36px; height: 36px; box-sizing: border-box; border-radius: 50%; border: 4px solid #D5E5F0; border-top-color: var(--w-azul); animation: w4-girar .9s linear infinite; }
    #app .w6-bloq b { font-size: 23px; color: var(--w-azul-osc); }
    #app .w6-bloq .w-b { min-height: 50px; padding: 0 28px; }
    /* Las ventanas de sacar y de agregar */
    .w-dlg .w6-dlg-ic { align-self: center; width: 64px; height: 64px; border-radius: 50%; background: #FEF2F2; color: #B91C1C; display: grid; place-items: center; }
    .w-dlg .w6-dlg-ic.azul { background: #EAF3FB; color: #1F71B8; }
    .w-dlg .w6-dlg-vend { padding: 10px 14px; border-radius: 12px; background: #FFFBEB; font-size: 16px; line-height: 1.4; color: #78350F; text-align: center; }
    .w-dlg .w6-dlg-lista { display: flex; flex-direction: column; gap: 6px; }
    .w-dlg .w6-dlg-lista > span { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: #F8FAFC; font-size: 15px; }
    .w-dlg .w6-dlg-lista b { flex: 1; color: #0F1B2A; } .w-dlg .w6-dlg-lista span span { color: #B45309; font-weight: 700; }
    .w-dlg .w6-dlg-err { padding: 8px 12px; border-radius: 10px; background: #FEF2F2; font-size: 14px; font-weight: 800; color: #B91C1C; text-align: center; }
    .w-dlg .w6-dlg-2 { grid-template-columns: 1fr 1.3fr; }
    .w-dlg .w-dlg-rojo[disabled] { opacity: .7; cursor: default; }
}
/* Tablet: la tabla en dos renglones por dispositivo, sin la fila de títulos. */
@media (min-width: 600px) and (max-width: 1023px) {
    #app .w6-cabt { display: none; }
    #app .w6-fila { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; row-gap: 6px; }
    #app .w6-fila .w6-disp { grid-column: 1; grid-row: 1; } #app .w6-fila .w6-quien { grid-column: 2; grid-row: 1; }
    #app .w6-fila .w6-acc { grid-column: 3; grid-row: 1 / span 2; }
    #app .w6-fila .w6-uso { grid-column: 1; grid-row: 2; padding-left: 58px; } #app .w6-fila > span:nth-child(4) { grid-column: 2; grid-row: 2; }
    #app .w6-que .reglas { grid-template-columns: 1fr; }
    #app .w6-aviso { flex-wrap: wrap; } #app .w6-aviso > span { flex-basis: calc(100% - 40px); }
}

/* ---- Vendedores (W5), como el diseño ---- */
@media (min-width: 600px) {
    #app .w-vd-cupo { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 999px; background: var(--w-azul-suave); color: var(--w-azul-osc); font-size: 14px; font-weight: 800; white-space: nowrap; }
    #app .w-vd-cupo svg { width: 18px; height: 18px; }
    #app .w-vd-cupo .bar { width: 70px; height: 6px; border-radius: 3px; background: rgba(0,63,93,.12); overflow: hidden; }
    #app .w-vd-cupo .bar i { display: block; height: 100%; background: var(--w-azul); }
    #app .w-vd-cupo.lleno { background: #FEF3C7; color: #78350F; } #app .w-vd-cupo.lleno .bar i { background: #F59E0B; }
    #app .w-vd-pasos { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 10px 16px; border-radius: 14px; background: var(--w-azul-suave); font-size: 14px; font-weight: 800; color: var(--w-azul-osc); }
    #app .w-vd-pasos > span:not(.fl):not(.nota) { display: inline-flex; align-items: center; gap: 8px; }
    #app .w-vd-pasos i { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--w-azul-osc); color: #fff; font-style: normal; font-size: 12px; font-weight: 900; }
    #app .w-vd-pasos .fl { color: #9CC3E6; }
    #app .w-vd-pasos .nota { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--w-texto2); cursor: help; }
    #app .w-vd-pasos .nota u { text-decoration: underline dotted; text-underline-offset: 3px; }
    #app .w-vd-cuerpo { display: flex; gap: 14px; align-items: flex-start; }

    /* La ficha del vendedor escogido. */
    #app .w-vf { flex: 0 0 380px; width: 380px; padding: 0; overflow: hidden; display: flex; flex-direction: column; position: sticky; top: 90px; }
    #app .w-vf-cab { display: flex; align-items: center; gap: 10px; padding: 14px; background: linear-gradient(160deg, #00507A, var(--w-azul-osc) 60%, var(--w-azul-noche)); color: #fff; }
    #app .w-vf-cab.vencido { background: linear-gradient(160deg, #64748B, #475569); }
    #app .w-vf-cab .av { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 900; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
    #app .w-vf-cab .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    #app .w-vf-cab .tx b { font-size: 17px; line-height: 1.2; }
    #app .w-vf-cab .cel { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; }
    #app .w-vf-cab .cel i { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; }
    #app .w-vf-cab .cel i.vivo { animation: w-vivo 1.8s ease-out infinite; }
    #app .w-vf-cab .t { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; }
    #app .w-vf-cab .t b { font-size: 21px; line-height: 1.05; white-space: nowrap; }
    #app .w-vf-cab .t span { font-size: 12px; font-weight: 700; color: #9FD0FF; white-space: nowrap; }
    #app .w-vf-tabs { display: flex; gap: 4px; padding: 5px; margin: 12px 14px 0; border-radius: 14px; background: #EEF3F7; }
    #app .w-vf-tabs button { flex: 1; min-height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--w-texto3); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
    #app .w-vf-tabs button[aria-selected="true"] { background: #fff; color: var(--w-azul-osc); box-shadow: 0 1px 3px rgba(0,63,93,.15); }
    #app .w-vf-cuerpo { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
    #app .w-vf-llave { padding: 14px; border-radius: 18px; border: 2px dashed #9CC3E6; background: var(--w-azul-suave); display: flex; flex-direction: column; align-items: center; gap: 4px; }
    #app .w-vf-llave .k, #app .w-vf-negs .k { font-size: 12px; font-weight: 900; letter-spacing: .6px; color: var(--w-gris); }
    #app .w-vf-llave > b { font-size: 36px; letter-spacing: 3px; color: var(--w-azul-osc); white-space: nowrap; }
    #app .w-vf-llave .ay { font-size: 13px; font-weight: 700; color: var(--w-texto3); }
    #app .w-vf-llave .bs { align-self: stretch; margin-top: 10px; display: flex; gap: 8px; }
    #app .w-vf-llave .cp { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 12px; border-radius: 12px; border: 2px solid var(--w-azul); background: #fff; color: var(--w-azul); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
    #app .w-vf-llave .cp.ok { border-color: #16A34A; background: #F0FDF4; color: #15803D; }
    #app .w-vf-llave .wa { flex: 1; min-width: 0; min-height: 46px; padding: 0 8px; gap: 6px; font-size: 14px; }
    #app .w-vf-llave .wa svg { width: 18px; height: 18px; }
    #app .w-vf-llave .ancho { align-self: stretch; margin-top: 10px; min-height: 46px; }
    #app .w-vf-negs { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
    #app .w-vf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
    #app .w-vf-chips span { padding: 4px 10px; border-radius: 8px; background: var(--w-azul-suave); color: var(--w-azul-osc); font-size: 14px; font-weight: 800; }
    #app .w-vf-nota { margin: 4px 0 0; font-size: 14px; line-height: 1.4; color: var(--w-texto2); }
    #app .w-vf-cambio { min-height: 44px; gap: 6px; background: #fff; color: var(--w-azul); border: 2px solid var(--w-azul); }
    #app .w-vf-cambio svg { width: 18px; height: 18px; }
    #app .w-vf-ahora { font-size: 14px; font-weight: 700; color: var(--w-texto2); } #app .w-vf-ahora b { color: var(--w-tinta); }
    #app .w-vf-op { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 12px; border: 2px solid #DCE5ED; background: #fff; font: inherit; text-align: left; cursor: pointer; }
    #app .w-vf-op i { flex: 0 0 18px; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--w-azul); background: #fff; box-shadow: inset 0 0 0 3px #fff; font-style: normal; }
    #app .w-vf-op b { flex: 1; min-width: 0; font-size: 15px; color: var(--w-azul-osc); }
    #app .w-vf-op span { font-size: 12px; font-weight: 700; color: var(--w-texto3); text-align: right; }
    #app .w-vf-op.on { border-color: var(--w-azul); background: var(--w-azul-suave); } #app .w-vf-op.on i { background: var(--w-azul); }
    /* «Por horas» (18-11-2026): − y + pegados debajo de la opción escogida. */
    #app .w-vf-op.con-horas { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
    #app .w-vf .vd-horas { display: flex; align-items: center; gap: 12px; margin-top: -8px; padding: 2px 12px 10px 40px; border: 2px solid var(--w-azul); border-top: 0; border-radius: 0 0 12px 12px; background: var(--w-azul-suave); }
    #app .w-vf .vd-h-b { flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border-radius: 10px; border: 2px solid #CBD5E1; background: #fff; color: var(--w-azul-osc); font: inherit; font-size: 22px; font-weight: 800; line-height: 1; display: grid; place-items: center; cursor: pointer; }
    #app .w-vf .vd-h-b:disabled { opacity: .4; cursor: default; }
    #app .w-vf .vd-h-n { min-width: 84px; text-align: center; font-size: 18px; font-weight: 900; color: var(--w-azul-osc); }
    #app .w-vf-op.caja { min-height: 40px; } #app .w-vf-op.caja i { flex-basis: 20px; width: 20px; height: 20px; border-radius: 6px; box-shadow: none; color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
    #app .w-vf-op.caja b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-vf-err { font-size: 14px; font-weight: 800; color: #B91C1C; }
    #app .w-vf-pie { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 14px 10px; border-top: 1px solid var(--w-linea); }
    #app .w-vf-pie .w-enl { min-height: 38px; font-size: 14px; }
    #app .w-vf-pie .w-enl.rojo { color: #B91C1C; }
    #app .w-vf-pie.g { padding: 10px 14px 12px; }
    #app .w-vf-pie.g .w-b-sua { min-height: 46px; padding: 0 16px; }
    #app .w-vf-pie.g .w-b-pri { flex: 1; min-height: 46px; }
    #app .w-vf-pie.g .w-b-pri:disabled { opacity: .5; cursor: default; box-shadow: none; }

    /* Las tarjetas cortas. */
    #app .w-vd-grilla { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); grid-auto-rows: min-content; gap: 12px; padding: 2px; }
    #app .w-vd-c { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; border-radius: 20px; border: 2px solid transparent; background: #fff; box-shadow: 0 1px 3px rgba(0,63,93,.08); font: inherit; text-align: left; cursor: pointer; }
    #app .w-vd-c.sel { border-color: var(--w-azul); background: var(--w-azul-suave); box-shadow: 0 6px 16px rgba(31,113,184,.18); }
    #app .w-vd-c.vencido:not(.sel) { background: #F8FAFC; }
    #app .w-vd-c .cab { display: flex; align-items: center; gap: 10px; min-width: 0; }
    #app .w-vd-c .av { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 900; }
    #app .w-vd-c .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    #app .w-vd-c .tx b { font-size: 15px; line-height: 1.2; color: var(--w-tinta); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    #app .w-vd-c .est { align-self: flex-start; padding: 1px 8px; border-radius: 999px; background: #DCFCE7; color: #15803D; font-size: 11px; font-weight: 900; }
    #app .w-vd-c .est.gris { background: #E2E8F0; color: #475569; }
    #app .w-vd-c .w-vdt { display: flex; flex-direction: column; gap: 4px; }
    #app .w-vd-c .w-vdt .l { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 800; color: var(--w-tinta); }
    #app .w-vd-c.vencido .w-vdt .l { color: #64748B; }
    #app .w-vd-c .w-vdt .q { font-weight: 700; color: var(--w-texto3); white-space: nowrap; }
    #app .w-vd-c .bar { height: 5px; border-radius: 3px; background: #E2E8F0; overflow: hidden; } #app .w-vd-c .bar i { display: block; height: 100%; }
    #app .w-vd-c .pie { display: flex; align-items: center; gap: 6px; min-width: 0; }
    #app .w-vd-c .pie > i { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; }
    #app .w-vd-c .pie .c { flex: 1; min-width: 0; font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w-vd-c .pie .n { flex: 0 0 auto; padding: 1px 8px; border-radius: 7px; background: var(--w-azul-suave); color: var(--w-azul-osc); font-size: 12px; font-weight: 800; }
    #app .w-vd-c.sel .pie .n { background: #fff; }
    #app .w-vd-c.nuevo { min-height: 128px; align-items: center; justify-content: center; gap: 6px; border: 2px dashed #C3CFD9; background: transparent; box-shadow: none; color: var(--w-azul-osc); }
    #app .w-vd-c.nuevo .w-mas-ic { width: 40px; height: 40px; border-radius: 50%; background: var(--w-naranja-suave); color: var(--w-naranja); display: grid; place-items: center; font-size: 24px; font-weight: 900; }
    #app .w-vd-c.nuevo b { font-size: 15px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
    #app .w-vd-cuerpo { flex-direction: column; align-items: stretch; }
    #app .w-vf { position: static; width: auto; flex: none; }
    #app .w-vd-pasos .nota { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { #app .w-vf-cab .cel i.vivo { animation: none; } }

/* ---- Las pantallas que todavía usan el acomodo G1: la misma barra blanca del rediseño ---- */
@media (min-width: 600px) {
    #app > .g-barra, #app .g-barra { position: sticky; top: 0; z-index: 8; min-height: 72px; padding: 12px 24px; box-sizing: border-box; background: #fff; border-bottom: 1px solid #DCE5ED; }
    #app .g-barra h1 { font-size: 24px; line-height: 1.15; font-weight: 900; color: var(--w-azul-osc); }
    #app .g-barra .g-sub { font-size: 16px; font-weight: 800; color: var(--w-texto2); }
    #app[data-patron] .g-pag { background: var(--w-fondo); }
}
@media (min-width: 600px) {
    #app .w-pests { display: flex; gap: 6px; max-width: 520px; padding: 5px; margin: 14px 0 4px; border-radius: 14px; background: var(--w-panel); }
    #app .w-pest { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 16px; font-weight: 800; color: var(--w-texto2); cursor: pointer; }
    #app .w-pest.sel { background: #fff; color: var(--w-azul-osc); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
    #app .w-pest .n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--w-naranja); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
}
.ms-solo-dueno { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #F1F5F9; color: #334155; font-size: 15px; font-weight: 700; }
.ms-btn.ms-al-dia { background: #DCFCE7 !important; color: #15803D !important; cursor: default; }

/* ---- Entrar y crear cuenta en el computador (W9) ---- */
@media (min-width: 1024px) {
    #app .w-entrada { display: grid; grid-template-columns: minmax(380px, 44%) minmax(0, 1fr); min-height: 100vh; }
    #app .w-ent-marca { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 48px 56px; color: #fff; background: linear-gradient(160deg, var(--w-azul-osc), var(--w-azul-noche)); }
    #app .w-ent-marca::after { content: ""; position: absolute; right: -140px; bottom: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0,182,237,.25), transparent 65%); }
    #app .w-ent-marca .logo { height: 52px; width: auto; align-self: flex-start; }
    #app .w-ent-marca h2 { margin: 0; font-size: 38px; line-height: 1.1; font-weight: 900; }
    #app .w-ent-marca p { margin: 0; font-size: 18px; line-height: 1.45; color: #CFE3F2; }
    #app .w-ent-marca .breb { font-size: 16px; font-weight: 800; color: #9FD0FF; }
    #app .w-ent-aviso { position: relative; z-index: 1; align-self: flex-start; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 20px; background: #fff; color: var(--w-azul-osc); box-shadow: 0 16px 36px rgba(0,0,0,.3); }
    #app .w-ent-aviso .ok { width: 44px; height: 44px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; }
    #app .w-ent-aviso > span:nth-child(2) { display: flex; flex-direction: column; }
    #app .w-ent-aviso small { font-size: 12px; font-weight: 900; letter-spacing: .8px; color: var(--w-gris); }
    #app .w-ent-aviso b { font-size: 30px; font-weight: 900; color: #15803D; }
    #app .w-ent-aviso .voz { color: var(--w-celeste); }
    #app .w-ent-marca ul { position: relative; z-index: 1; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
    #app .w-ent-marca li { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
    #app .w-ent-marca li svg { flex: 0 0 18px; color: #4ADE80; }
    #app .w-ent-form { display: flex; align-items: center; justify-content: center; padding: 30px; background: var(--w-fondo); min-width: 0; }
    #app .w-ent-form > * { width: 100%; max-width: 560px; }
}
@media (min-width: 1024px) {
    #app .w-ent-marca { justify-content: flex-start; padding-top: 56px; gap: 16px; }
    #app .w-ent-marca h2 { color: #fff; font-size: 34px; }
    #app .w-entrada { min-height: calc(100vh - var(--sup, 0px)); }
}

/* ---- W4 · Mi negocio y bancos ---- */
@keyframes w4-vivo { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); } 100% { box-shadow: 0 0 0 8px rgba(22,163,74,0); } }
@keyframes w4-girar { to { transform: rotate(360deg); } }
@keyframes w4-entra { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 600px) {
    #app .w4-vivo { flex: 0 0 auto; border-radius: 50%; background: var(--w-verde-vivo); animation: w4-vivo 1.8s ease-out infinite; }
    #app .w4-giro { width: 40px; height: 40px; box-sizing: border-box; border-radius: 50%; border: 4px solid #D5E5F0; border-top-color: var(--w-azul); animation: w4-girar .9s linear infinite; }
    #app .w4-cuerpo { gap: 14px; align-items: stretch; }
    #app .w4-centro { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 420px; text-align: center; }
    #app .w4-t { font-size: 22px; font-weight: 900; color: var(--w-azul-osc); }
    #app .w4-x { font-size: 16px; line-height: 1.45; color: var(--w-texto2); }
    #app .w4-redondo { border-radius: 50%; background: var(--w-azul-suave); color: var(--w-azul); display: grid; place-items: center; }
    #app .w4-redondo.ambar { background: #FEF3C7; color: #B45309; }
    #app .w4-susp { width: 520px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px; box-sizing: border-box; border-radius: 24px; background: #FFFBEB; border: 2px solid #F6D9A8; text-align: center; }
    #app .w4-susp b { font-size: 23px; color: #78350F; } #app .w4-susp > span:not(.w4-redondo) { font-size: 16px; line-height: 1.45; color: #78350F; }

    /* Lista de negocios */
    #app .w4-lista { flex: 0 0 300px; align-self: flex-start; position: sticky; top: 90px; max-height: calc(100vh - 110px); display: flex; flex-direction: column; overflow: hidden; }
    #app .w4-lista-cab { padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; color: var(--w-texto3); }
    #app .w4-busca { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 6px 0 12px; box-sizing: border-box; border-radius: 12px; border: 2px solid #DCE5ED; background: #fff; }
    #app .w4-busca:focus-within { border-color: var(--w-azul); }
    #app .w4-busca input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--w-tinta); }
    #app .w4-lista-l { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
    #app .w4-ngi { width: 100%; display: flex; align-items: flex-start; gap: 14px; padding: 10px 16px; border: 0; border-top: 1px solid var(--w-linea); background: #fff; font: inherit; text-align: left; cursor: pointer; color: inherit; }
    #app .w4-ngi:hover { background: #F7FAFC; }
    #app .w4-ngi.sel { background: var(--w-azul-suave); box-shadow: inset 4px 0 0 var(--w-azul); }
    #app .w4-ngi[hidden] { display: none; }
    #app .w4-ngi .av { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--w-azul-suave); color: var(--w-azul-osc); display: grid; place-items: center; font-size: 17px; font-weight: 900; overflow: hidden; }
    #app .w4-ngi .av img { width: 100%; height: 100%; object-fit: cover; }
    #app .w4-ngi .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
    #app .w4-ngi .tx > b { font-size: 15px; line-height: 1.25; color: var(--w-tinta); }
    #app .w4-ngi .est { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; }
    #app .w4-ngi .pie { display: flex; align-items: center; gap: 4px; }
    #app .w4-ngi .pie .id { flex: 1; font-size: 12px; font-weight: 700; color: var(--w-gris); }
    #app .w4-ngi .pie img { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; }
    #app .w4-sinres { padding: 24px 16px; text-align: center; font-size: 15px; font-weight: 700; color: var(--w-gris); }

    /* El negocio escogido */
    #app .w4-der { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-bottom: 6px; }
    #app .w4-cab { padding: 14px 16px; display: flex; align-items: center; gap: 16px; }
    #app .w4-foto { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; border: 2px dashed #9CC3E6; background: #F8FAFC; color: var(--w-azul); display: grid; place-items: center; font-size: 11px; font-weight: 900; line-height: 1.1; text-align: center; cursor: pointer; position: relative; box-sizing: border-box; }
    #app .w4-foto.con { border: 0; background: linear-gradient(135deg, #CFE3F2, #9CC3E6); }
    #app .w4-foto.con img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
    #app .w4-foto .badge { position: absolute; right: -2px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--w-azul); color: #fff; border: 2px solid #fff; display: grid; place-items: center; box-sizing: border-box; }
    #app .w4-cab .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
    #app .w4-cab .tx > b { font-size: 22px; line-height: 1.2; font-weight: 900; color: var(--w-azul-osc); }
    #app .w4-cab .etqs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    #app .w4-cab .id { font-size: 14px; font-weight: 800; color: var(--w-gris); }
    #app .w4-cab .tipo { padding: 3px 10px; border-radius: 999px; background: var(--w-azul-suave); color: var(--w-azul-osc); font-size: 13px; font-weight: 800; }
    #app .w4-cab .est { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; }
    #app .w4-cab .der { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 14px; color: var(--w-texto3); }
    #app .w4-cab .vd { display: inline-flex; align-items: center; gap: 6px; color: var(--w-texto2); }
    #app .w4-nota-f { font-size: 13px; font-weight: 700; color: var(--w-texto3); } #app .w4-nota-f.mal { color: #B91C1C; }
    #app .w4-pend { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; background: #FFFBEB; border: 2px solid #F6D9A8; }
    #app .w4-pend .tx { flex: 1; display: flex; flex-direction: column; } #app .w4-pend b { font-size: 16px; color: #78350F; } #app .w4-pend .tx span { font-size: 15px; line-height: 1.4; color: #78350F; }
    #app .w4-b-wa, #app .w4-b-wa:link, #app .w4-b-wa:visited { flex: 0 0 auto; min-height: 44px; background: #1F71B8; color: #fff; }
    #app .w4-dos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    #app .w4-t { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
    #app .w4-tcab { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--w-linea); }
    #app .w4-tcab .ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px; background: var(--w-azul-osc); color: #fff; display: grid; place-items: center; }
    #app .w4-tcab b { flex: 1; min-width: 0; font-size: 17px; color: var(--w-azul-osc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w4-corr { min-height: 38px; padding: 0 12px; gap: 6px; font-size: 14px; background: #fff; color: var(--w-azul); border: 2px solid var(--w-azul); }
    #app .w4-fila { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
    #app .w4-fila + .w4-fila { border-top: 1px solid #EEF3F7; }
    #app .w4-fila .ic { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px; background: var(--w-azul-suave); color: var(--w-azul); display: grid; place-items: center; }
    #app .w4-fila .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
    #app .w4-t .etq, #app .w4-conecte .etq, #app .w4-avisa .etq, #app .w4-suena .etq { font-size: 12px; font-weight: 900; letter-spacing: .6px; color: var(--w-gris); }
    #app .w4-fila .tx > b { font-size: 16px; line-height: 1.25; color: var(--w-tinta); }
    #app .w4-voz { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--w-texto3); }
    #app .w4-sub { font-size: 14px; color: var(--w-texto2); }
    #app .w4-quien { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
    #app .w4-quien .ini { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #00B6ED, #1F71B8); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 900; }
    #app .w4-quien .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
    #app .w4-quien .tx > b { font-size: 17px; line-height: 1.2; color: var(--w-tinta); }
    #app .w4-quien .tag { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: var(--w-azul-suave); color: var(--w-azul-osc); font-size: 12px; font-weight: 900; }
    #app .w4-quien .tag.otra { background: #F1F5F9; color: #475569; }
    #app .w4-quien + .w4-fila { border-top: 1px solid #EEF3F7; }
    #app .w4-ok { margin: auto 14px 14px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: #F0FDF4; border: 1px solid #BBF7D0; font-size: 14px; font-weight: 800; color: #15803D; }

    /* Mis bancos */
    #app .w4-banda { display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(135deg, #00507A, var(--w-azul-osc)); color: #fff; }
    #app .w4-banda > .ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
    #app .w4-banda .tx { flex: 1; display: flex; flex-direction: column; gap: 1px; }
    #app .w4-banda .t { display: flex; align-items: center; gap: 8px; } #app .w4-banda .t b { font-size: 20px; }
    #app .w4-banda .n { min-width: 26px; height: 26px; padding: 0 8px; box-sizing: border-box; border-radius: 13px; background: #fff; color: var(--w-azul-osc); display: grid; place-items: center; font-size: 14px; font-weight: 900; }
    #app .w4-banda .s { font-size: 14px; color: #BFE3F7; }
    #app .w4-banda .der { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 13px; font-weight: 800; color: #BFE3F7; }
    #app .w4-banda .der .v { display: inline-flex; align-items: center; gap: 6px; color: #86EFAC; }
    #app .w4-bts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    #app .w4-bt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px 12px; border-radius: 18px; border: 2px solid transparent; background: #fff; font: inherit; cursor: pointer; box-shadow: 0 1px 3px rgba(0,63,93,.08); color: inherit; }
    #app .w4-bt img, #app .w4-bt .sinlogo { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
    #app .w4-bt .sinlogo { display: grid; place-items: center; background: var(--w-azul-suave); color: var(--w-azul); }
    #app .w4-bt > b { font-size: 15px; line-height: 1.2; color: var(--w-tinta); text-align: center; } #app .w4-bt > b span { font-weight: 700; color: var(--w-texto3); }
    #app .w4-bt .est { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; }
    #app .w4-mas { justify-content: center; gap: 7px; border-color: #F9C9A8; background: linear-gradient(160deg, #FFF7F0, #FFE9DA); box-shadow: 0 6px 16px rgba(233,78,36,.16); }
    #app .w4-mas .w4-mas-c { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--w-naranja-cl), var(--w-naranja-f)); color: #fff; display: grid; place-items: center; font-size: 30px; font-weight: 900; line-height: 1; box-shadow: 0 6px 14px rgba(233,78,36,.35); }
    #app .w4-mas > b { color: #C2410C; }
    #app .w4-mas .precio { padding: 2px 10px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 800; color: #C2410C; }
    #app .w4-ficha { padding: 16px; display: flex; flex-direction: column; gap: 14px; border: 2px solid var(--w-azul); }
    #app .w4-fcab { display: flex; align-items: center; gap: 12px; }
    #app .w4-fcab img { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
    #app .w4-fcab .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    #app .w4-fcab .tx > b { font-size: 17px; color: var(--w-tinta); } #app .w4-fcab .tx > b span { font-weight: 700; color: var(--w-texto3); }
    #app .w4-fcab .est { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; }
    #app .w4-fcab .ult { font-size: 13px; color: var(--w-texto3); }
    #app .w4-avisa { display: flex; flex-direction: column; gap: 6px; }
    #app .w4-avisa .canales { display: flex; gap: 8px; }
    #app .w4-canal { flex: 0 1 auto; min-width: 128px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 10px; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; box-sizing: border-box; }
    #app .w4-canal .w4-mas-c { font-size: 17px; line-height: 1; } #app .w4-canal .sub { font-size: 12px; font-weight: 800; }
    #app .w4-suena { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--w-linea); }
    #app .w4-suena .tx { flex: 1; display: flex; flex-direction: column; } #app .w4-suena .tx > span:last-child { font-size: 13px; color: var(--w-texto3); }
    #app .w4-suena > b { font-size: 15px; }
    #app .w4-sw { width: 52px; height: 30px; border: 0; padding: 0; border-radius: 15px; background: #CBD5E1; position: relative; cursor: pointer; flex: 0 0 auto; }
    #app .w4-sw.on { background: #16A34A; }
    #app .w4-sw span { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
    #app .w4-sw.on span { left: 25px; }
    #app .w4-acc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    #app .w4-b-azul { min-height: 46px; gap: 8px; font-size: 15px; background: #fff; color: var(--w-azul); border: 2px solid var(--w-azul); }
    #app .w4-b-rojo { min-height: 46px; gap: 8px; font-size: 15px; background: #fff; color: #B91C1C; border: 2px solid #FECACA; }
    #app .w4-gratis { margin-top: -6px; font-size: 13px; color: var(--w-texto3); text-align: center; }
    #app .w4-falta { padding: 10px 12px; border-radius: 12px; background: #FFFBEB; border: 1px solid #F6D9A8; font-size: 15px; line-height: 1.4; color: #78350F; }
    #app .w4-falta.rojo { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
    #app .w4-cancelar { min-height: 44px; padding: 0 16px; font-size: 15px; background: #fff; color: var(--w-azul-osc); border: 2px solid #DCE5ED; }
    #app .w4-conecte { padding: 22px; display: flex; align-items: center; gap: 20px; border: 2px dashed #9CC3E6; background: var(--w-azul-suave); }
    #app .w4-conecte .tx { flex: 1; display: flex; flex-direction: column; gap: 8px; }
    #app .w4-conecte .tx > b { font-size: 22px; color: var(--w-azul-osc); }
    #app .w4-conecte .logos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    #app .w4-conecte .lg { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 800; color: var(--w-azul-osc); }
    #app .w4-conecte .lg img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
    #app .w4-conecte .x { font-size: 15px; line-height: 1.4; color: var(--w-texto2); }
    #app .w4-otro-neg { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; border: 2px dashed #C3CFD9; background: transparent; font: inherit; text-align: left; cursor: pointer; color: inherit; }
    #app .w4-otro-neg .w4-mas-c { width: 40px; height: 40px; border-radius: 50%; background: var(--w-naranja-suave); color: var(--w-naranja); display: grid; place-items: center; font-size: 24px; font-weight: 900; }
    #app .w4-otro-neg .tx { flex: 1; display: flex; flex-direction: column; } #app .w4-otro-neg b { font-size: 16px; color: var(--w-azul-osc); } #app .w4-otro-neg .tx span { font-size: 14px; font-weight: 700; color: var(--w-texto3); }
    #app .w4-elim { display: flex; justify-content: center; padding: 6px 0 2px; } #app .w4-elim .w-enl { min-height: 40px; font-size: 14px; color: #B91C1C; }

    /* Panel de corregir */
    #app .w4-velo { position: fixed; inset: 0; z-index: 40; background: rgba(6,20,32,.35); }
    #app .w4-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: 540px; max-width: 100vw; display: flex; flex-direction: column; background: #fff; box-shadow: -18px 0 40px rgba(0,25,45,.25); animation: w4-entra .3s ease-out; }
    #app .w4-pcab { display: flex; align-items: center; gap: 10px; padding: 14px 16px 12px 22px; border-bottom: 1px solid var(--w-linea); }
    #app .w4-pcab .tx { flex: 1; display: flex; flex-direction: column; } #app .w4-pcab b { font-size: 20px; color: var(--w-azul-osc); } #app .w4-pcab .tx span { font-size: 14px; color: var(--w-texto3); }
    #app .w4-cerrar { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #F1F5F9; color: var(--w-azul-osc); display: grid; place-items: center; cursor: pointer; }
    #app .w4-pcuerpo { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 22px 20px; display: flex; flex-direction: column; gap: 18px; margin: 0; }
    #app .w4-grupo { display: flex; flex-direction: column; gap: 8px; }
    #app .w4-etq { font-size: 12px; font-weight: 900; letter-spacing: .6px; color: var(--w-gris); }
    #app .w4-campo { width: 100%; min-height: 50px; padding: 0 14px; box-sizing: border-box; border-radius: 14px; border: 2px solid #D7E1E9; background: #fff; font: inherit; font-size: 17px; font-weight: 700; color: var(--w-tinta); outline: 0; }
    #app .w4-campo:focus { border-color: var(--w-azul); } #app .w4-campo.mal { border-color: #B91C1C; }
    #app .w4-sub-c { display: flex; flex-direction: column; gap: 4px; } #app .w4-sub-c > span { font-size: 14px; font-weight: 800; color: var(--w-texto2); }
    #app .w4-ayuda { font-size: 14px; line-height: 1.35; color: var(--w-texto3); } #app .w4-ayuda.mal, #app .w4-err { font-size: 14px; font-weight: 700; color: #B91C1C; }
    #app .w4-ej { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--w-azul-suave); }
    #app .w4-ej span { flex: 1; font-size: 15px; line-height: 1.35; color: var(--w-azul-osc); }
    #app .w4-ej .w-b { min-height: 40px; padding: 0 14px; font-size: 14px; background: var(--w-azul); color: #fff; }
    #app .w4-ubicar { align-self: flex-start; min-height: 44px; gap: 8px; background: #fff; color: var(--w-azul); border: 2px solid var(--w-azul); }
    #app .w4-pfoto { display: flex; align-items: center; gap: 14px; }
    #app .w4-pfoto .circ { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 50%; border: 2px dashed #9CC3E6; background: #F8FAFC; color: var(--w-azul); display: grid; place-items: center; font-size: 30px; font-weight: 900; box-sizing: border-box; overflow: hidden; }
    #app .w4-pfoto .circ.con { border-color: transparent; } #app .w4-pfoto .circ img { width: 100%; height: 100%; object-fit: cover; }
    #app .w4-pfoto .tx { flex: 1; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; } #app .w4-pfoto .s { font-size: 14px; line-height: 1.35; color: var(--w-texto3); }
    #app .w4-b-sua-az { min-height: 40px; padding: 0 14px; font-size: 14px; background: var(--w-azul-suave); color: var(--w-azul); }
    #app .w4-tipos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    #app .w4-tipo { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; border: 2px solid #DCE5ED; background: #fff; font: inherit; cursor: pointer; }
    #app .w4-tipo .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--w-azul-suave); color: var(--w-azul); display: grid; place-items: center; }
    #app .w4-tipo b { font-size: 14px; color: var(--w-azul-osc); }
    #app .w4-tipo.sel { border-color: var(--w-azul); background: var(--w-azul-suave); } #app .w4-tipo.sel .ic { background: var(--w-azul); color: #fff; }
    #app .w4-pt { font-size: 19px; color: var(--w-azul-osc); } #app .w4-px { font-size: 15px; line-height: 1.45; color: var(--w-texto2); }
    #app .w4-op { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 16px; border: 2px solid #DCE5ED; background: #fff; font: inherit; text-align: left; cursor: pointer; }
    #app .w4-op.sel { border-color: var(--w-azul); background: var(--w-azul-suave); }
    #app .w4-op .radio { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--w-azul); background: #fff; box-shadow: inset 0 0 0 4px #fff; box-sizing: border-box; }
    #app .w4-op.sel .radio { background: var(--w-azul); }
    #app .w4-op .tx { flex: 1; display: flex; flex-direction: column; } #app .w4-op b { font-size: 17px; color: var(--w-azul-osc); } #app .w4-op .tx span { font-size: 14px; color: var(--w-texto3); }
    #app .w4-cons { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 2px solid #DCE5ED; background: #F8FAFC; font: inherit; text-align: left; cursor: pointer; font-size: 15px; line-height: 1.45; color: var(--w-texto2); }
    #app .w4-cons.mal { border-color: #B91C1C; }
    #app .w4-cons .caja { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--w-azul); background: #fff; color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 900; box-sizing: border-box; }
    #app .w4-cons.on .caja { background: var(--w-azul); }
    #app .w4-ppie { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--w-linea); box-shadow: 0 -8px 18px rgba(0,25,45,.06); }
    #app .w4-ppie .falta { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: #B45309; }
    #app .w4-ppie .falta::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #F59E0B; }
    #app .w4-ppie .falta.mal { color: #B91C1C; } #app .w4-ppie .falta.mal::before { background: #DC2626; }
    #app .w4-ppie .falta.ok { color: #15803D; } #app .w4-ppie .falta.ok::before { background: #16A34A; }
    #app .w4-ppie .bot { display: flex; gap: 10px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
    #app .w4-cuerpo { flex-direction: column; }
    #app .w4-lista { position: static; flex: 0 0 auto; max-height: 300px; align-self: stretch; }
    #app .w4-dos { grid-template-columns: minmax(0, 1fr); }
    #app .w4-bts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    #app .w4-cab { flex-wrap: wrap; } #app .w4-cab .der { align-items: flex-start; flex-basis: 100%; }
}

/* Ventanas centradas del diseño (Negocios y las que siguen) */
@media (min-width: 600px) {
    .dz-hoja.w-dlg { left: 50%; right: auto; top: 50%; bottom: auto; width: min(var(--ancho, 460px), calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 40px); overflow-y: auto; margin: 0; box-sizing: border-box; padding: 22px; border-radius: 24px;
        display: flex; flex-direction: column; gap: 14px; transform: translate(-50%, -40%); opacity: 0; box-shadow: 0 24px 60px rgba(0,25,45,.35); }
    .dz-hoja.w-dlg.on { transform: translate(-50%, -50%); opacity: 1; transition: transform .25s ease, opacity .2s; }
    .dz-hoja.w-dlg > .asa { display: none; }
    .w-dlg .w-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 16px; border: 0; border-radius: 14px; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; text-decoration: none; box-sizing: border-box; }
    .w-dlg .w-b-pri { background: linear-gradient(135deg, #F26A33, #D4401B); color: #fff; box-shadow: 0 8px 18px rgba(233,78,36,.28); }
    .w-dlg .w-dlg-sec { background: #fff; color: #003F5D; border: 2px solid #DCE5ED; }
    .w-dlg .w-dlg-osc { background: #003F5D; color: #fff; }
    .w-dlg .w-dlg-rojo { background: #B91C1C; color: #fff; }
    .w-dlg .w4-b-wa { background: #1F71B8; color: #fff; }
    .w-dlg .w-dlg-t { font-size: 22px; line-height: 1.25; color: #003F5D; text-align: center; }
    .w-dlg .w-dlg-x { font-size: 16px; line-height: 1.45; color: #334155; text-align: center; }
    .w-dlg .w-dlg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .w-dlg .w-dlg-lista { margin: 0; padding: 14px 16px 14px 34px; border-radius: 16px; background: #F8FAFC; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.4; color: #334155; }
    .w-dlg .w-dlg-imp { padding: 12px 14px; border-radius: 14px; background: #FFFBEB; border: 1px solid #F6D9A8; font-size: 15px; line-height: 1.45; color: #78350F; }
    .w-dlg .w-dlg-costo { display: flex; flex-direction: column; align-items: center; padding: 16px; border-radius: 18px; background: #EAF3FB; }
    .w-dlg .w-dlg-costo b { font-size: 40px; line-height: 1.1; color: #003F5D; } .w-dlg .w-dlg-costo span { font-size: 15px; font-weight: 700; color: #334155; }
    .w-dlg .w-dlg-logo { align-self: center; width: 64px; height: 64px; border-radius: 50%; background: #EAF3FB; display: grid; place-items: center; }
    .w-dlg .w-dlg-logo img { width: 40px; height: 40px; border-radius: 10px; } .w-dlg .w-dlg-logo.ambar { background: #FEF3C7; color: #B45309; }
    .w-dlg .w-dlg-bk { display: flex; align-items: center; gap: 12px; } .w-dlg .w-dlg-bk img { width: 48px; height: 48px; border-radius: 12px; }
    .w-dlg .w-dlg-bk > span { flex: 1; display: flex; flex-direction: column; } .w-dlg .w-dlg-bk b { font-size: 20px; color: #003F5D; } .w-dlg .w-dlg-bk span span { font-size: 15px; color: #475569; }
    .w-dlg .w-dlg-op { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 16px; border-radius: 18px; border: 2px solid #DCE5ED; background: #fff; font: inherit; text-align: left; cursor: pointer; }
    .w-dlg .w-dlg-op .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; background: #EAF3FB; color: #1F71B8; display: grid; place-items: center; }
    .w-dlg .w-dlg-op .tx { flex: 1; display: flex; flex-direction: column; gap: 2px; } .w-dlg .w-dlg-op b { font-size: 17px; color: #003F5D; } .w-dlg .w-dlg-op .tx span { font-size: 14px; line-height: 1.35; color: #475569; }
    .w-dlg .w-dlg-op.rojo { border-color: #FECACA; } .w-dlg .w-dlg-op.rojo .ic { background: #FEF2F2; color: #B91C1C; } .w-dlg .w-dlg-op.rojo b { color: #B91C1C; }
}

/* ---- W10 · Asistente (agregar negocio y conectar banco) a pantalla completa ---- */
@media (min-width: 600px) {
    #app.dz-asis { padding: 0 !important; }
    #app .dz .sx.w10, .dz .sx.w10 { max-width: none; min-height: 100vh; margin: 0; padding: 0 !important; border: 0; border-radius: 0; box-shadow: none; background: #F3F6F9; display: flex; flex-direction: column; overflow: visible; }
    .dz .w10-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; min-height: 92px; padding: 14px 24px; box-sizing: border-box; background: #fff; border-bottom: 1px solid #DCE5ED; }
    .dz .w10-top .logo { height: 34px; width: auto; flex: 0 0 auto; }
    .dz .w10-top .tit { flex: 0 1 210px; min-width: 0; display: flex; flex-direction: column; padding-left: 16px; border-left: 1px solid #DCE5ED; }
    .dz .w10-top .tit b { font-size: 19px; font-weight: 900; color: #003F5D; white-space: nowrap; }
    .dz .w10-top .tit span { font-size: 14px; font-weight: 700; color: #475569; }
    .dz .w10-fases { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; justify-content: center; }
    .dz .w10-fase { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; color: #64748B; white-space: nowrap; }
    .dz .w10-fase .n { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #E2E8F0; color: #475569; font-size: 15px; font-weight: 900; }
    .dz .w10-fase .t { font-size: 15px; font-weight: 800; }
    .dz .w10-fase.actual { color: #003F5D; } .dz .w10-fase.actual .n { background: linear-gradient(135deg, #F26A33, #D4401B); color: #fff; box-shadow: 0 0 0 5px #FFE1D3; }
    .dz .w10-fase.hecha { color: #15803D; } .dz .w10-fase.hecha .n { background: #16A34A; color: #fff; }
    .dz button.w10-fase.hecha { cursor: pointer; } .dz button.w10-fase.hecha .t { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 4px; }
    .dz .w10-fases .raya { flex: 1 1 24px; max-width: 70px; height: 2px; border-radius: 1px; background: #CBD5E1; }
    .dz .w10-fases .raya.on { background: #16A34A; }
    .dz .w10-ayuda { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px 0 8px; border: 0; border-radius: 999px; background: linear-gradient(135deg, #00B6ED, #1F71B8); color: #fff; font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; box-shadow: 0 8px 20px rgba(0,120,200,.35); }
    .dz .w10-ayuda .ic { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #1F71B8; display: grid; place-items: center; }
    .dz .w10-salir { flex: 0 0 auto; min-height: 44px; padding: 0 14px; border-radius: 14px; border: 2px solid #DCE5ED; background: #fff; color: #003F5D; font: inherit; font-size: 15px; font-weight: 900; cursor: pointer; }

    .dz .w10-cuerpo { flex: 1; width: 100%; max-width: 1340px; margin: 0 auto; padding: 22px 28px 28px; box-sizing: border-box; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; align-content: start; align-items: start; }
    .dz .w10-cuerpo > * { grid-column: 1 / -1; margin: 0 !important; min-width: 0; }
    /* El título va arriba a la izquierda, sin la franja azul. */
    .dz .w10 .w10-cuerpo > .sx-cab { padding: 0 !important; border-radius: 0; background: none; color: #003F5D; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
    .dz .w10 .w10-cuerpo > .sx-cab::before, .dz .w10 .w10-cuerpo > .sx-cab::after { display: none; }
    .dz .w10 .w10-cuerpo > .sx-cab h1 { margin: 0 !important; font-size: 27px; line-height: 1.2; color: #003F5D; }
    .dz .w10 .w10-cuerpo > .sx-cab p { margin: 4px 0 0; font-size: 16px; color: #334155; } .dz .w10 .w10-cuerpo > .sx-cab p b { color: #003F5D; }
    .dz .w10 .w10-cuerpo > .sx-cab .pastilla-c { order: -1; margin-bottom: 8px; padding: 4px 12px 4px 4px; background: #EAF3FB; color: #003F5D; font-size: 14px; }
    .dz .w10 .w10-cuerpo > .sx-cab .ida-c { background: #EAF3FB; color: #003F5D; }
    /* Lo de adentro, en dos columnas de tarjetas blancas. */
    .dz .w10 .w10-cuerpo > .cuerpo-c, .dz .w10 .w10-cuerpo > .c4, .dz .w10 .w10-cuerpo > .ops4, .dz .w10 .w10-cuerpo > div:not([class]) { max-width: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; align-items: start; }
    .dz .w10 .w10-cuerpo > * > * { margin-top: 0 !important; min-width: 0; }
    .dz .w10 .sec-c, .dz .w10 .c4-sec, .dz .w10 .nombre-card, .dz .w10 .ambar-c, .dz .w10 .verde-c, .dz .w10 .conf-c { border-radius: 20px; }
    .dz .w10 .sec-c, .dz .w10 .c4-sec { background: #fff; border: 1px solid #E3EAF0; box-shadow: 0 4px 14px rgba(0,40,70,.05); padding: 20px; }
    .dz .w10 .negocio-c, .dz .w10 .salir-c { display: none !important; }
    .dz .w10 .err-c:empty { display: none; }
    .dz .w10 .w10-cuerpo > .cuerpo-c.ancha:has(> .negocio-c:only-child) { display: none; }
    /* La barra de abajo: «Atrás» y los enlaces a la izquierda, el botón para seguir a la derecha. */
    .dz .w10-pie { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 18px; min-height: 96px; padding: 16px 28px; box-sizing: border-box; background: #fff; border-top: 1px solid #DCE5ED; }
    .dz .w10-atras { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 14px; border: 2px solid #003F5D; background: #fff; color: #003F5D; font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
    .dz .w10-enl { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 800; color: #1F71B8; text-decoration: underline; cursor: pointer; }
    .dz .w10 .w10-pie-c { position: static; flex: 1; min-width: 0; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; max-width: none; }
    .dz .w10 .w10-pie-c > * { margin: 0 !important; width: auto !important; }
    .dz .w10 .w10-pie-c .btn-pri, .dz .w10 .w10-pie-c .btn-blanco, .dz .w10 .w10-pie-c #enviar-ventana, .dz .w10 .w10-pie-c .btn-wa-l, .dz .w10 .w10-pie-c .dos-5b { order: 9; margin-left: auto !important; min-width: 240px; min-height: 56px; padding: 0 28px; font-size: 18px; }
    .dz .w10 .w10-pie-c .dos-5b { min-width: 0; padding: 0; display: flex; } .dz .w10 .w10-pie-c .btn-atras-5b { display: none; }
    .dz .w10 .w10-pie-c [data-accion="ayudaAsisD"] { display: none; }
    .dz .w10 .w10-pie-c .enlace-c, .dz .w10 .w10-pie-c .btn-azul-l { min-height: 0; padding: 0; border: 0; background: none; box-shadow: none; font-size: 15px; font-weight: 800; color: #1F71B8; text-decoration: underline; }
    .dz .w10 .w10-pie-c .btn-azul-l svg { display: none; }
    .dz .w10 .w10-pie-c .falta { font-size: 15px; font-weight: 800; color: #334155; text-align: left; }
    .dz .w10 .w10-pie-c .falta.ok { color: #15803D; }

    /* W10 · Su negocio y contacto en una pantalla (encargo «Registros», 16-11-2026). */
    .dz .w10 .w10n-cab { display: flex; flex-direction: column; gap: 4px; } .dz .w10 .w10n-cab b { font-size: 26px; line-height: 1.15; color: #003F5D; } .dz .w10 .w10n-cab span { font-size: 16px; line-height: 1.4; color: #334155; }
    .dz .w10 .w10n { display: flex; gap: 18px; align-items: flex-start; }
    .dz .w10 .w10n-neg { flex: 1.25; min-width: 0; } .dz .w10 .w10n-der { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
    .dz .w10 .w10n-tarj { padding: 18px 20px; border-radius: 22px; background: #fff; border: 1px solid #E3EAF0; box-shadow: 0 4px 14px rgba(0,40,70,.06); display: flex; flex-direction: column; gap: 14px; box-sizing: border-box; }
    .dz .w10 .w10n-h { display: flex; align-items: center; gap: 10px; } .dz .w10 .w10n-h > b { font-size: 20px; color: #003F5D; } .dz .w10 .esp { flex: 1; }
    .dz .w10 .w10n-num { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: #1F71B8; color: #fff; display: grid; place-items: center; font-weight: 900; } .dz .w10 .w10n-num.ok { background: #16A34A; }
    .dz .w10 .w10n-guardado { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #DCFCE7; color: #14532D; font-size: 14px; font-weight: 800; } .dz .w10 .w10n-guardado[hidden] { display: none; } .dz .w10 .w10n-guardado svg { width: 16px; height: 16px; }
    .dz .w10 .w10n-vuelta { display: flex; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #EAF3FB; color: #1E4A66; font-size: 15px; line-height: 1.45; } .dz .w10 .w10n-vuelta > svg { flex: 0 0 20px; margin-top: 1px; }
    .dz .w10 .w10n-vuelta > span { flex: 1; display: flex; flex-direction: column; gap: 2px; } .dz .w10 .w10n-vuelta b { font-size: 16px; color: #003F5D; }
    .dz .w10 .w10n-vuelta button { align-self: flex-start; min-height: 40px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 900; color: #1F71B8; cursor: pointer; }
    .dz .w10 .w10n-nombre { display: flex; gap: 16px; align-items: flex-start; }
    .dz .w10 .w10n-foto { position: relative; flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; border: 3px dashed #9CC3E6; background: #F5FAFF; color: #1F71B8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 8px; font: inherit; font-size: 12px; font-weight: 900; line-height: 1.2; text-align: center; cursor: pointer; overflow: hidden; }
    .dz .w10 .w10n-foto.con { border-color: #16A34A; color: #fff; } .dz .w10 .w10n-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    .dz .w10 .w10n-foto.con svg, .dz .w10 .w10n-foto.con span { position: relative; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
    .dz .w10 .w10n-campo { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
    .dz .w10 .w10n-campo .r { font-size: 15px; font-weight: 800; color: #334155; } .dz .w10 .ast { color: #DC2626; } .dz .w10 .w10n-campo .opc-r { font-weight: 600; color: #5B6675; }
    .dz .w10 .w10n-in { width: 100%; height: 50px; padding: 0 14px; border-radius: 14px; border: 2px solid #D7E1E9; background: #fff; box-sizing: border-box; font: inherit; font-size: 17px; color: #0F1B2A; outline: 0; transition: border-color .15s ease; }
    .dz .w10 .w10n-in:focus { border-color: #1F71B8; } .dz .w10 .w10n-in.ok { border-color: #16A34A; } .dz .w10 .w10n-in.mal { border-color: #DC2626; }
    .dz .w10 .w10n-err { font-size: 13px; font-weight: 700; color: #B91C1C; } .dz .w10 .w10n-err[hidden] { display: none; }
    .dz .w10 .w10n-donde, .dz .w10 .w10n-tipos { display: flex; flex-direction: column; gap: 8px; }
    .dz .w10 .w10n-sub { display: flex; align-items: center; gap: 10px; font-size: 16px; color: #003F5D; } .dz .w10 .w10n-sub b, .dz .w10 b.w10n-sub { font-size: 16px; color: #003F5D; }
    .dz .w10 .w10n-ubi { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 12px; border: 2px solid #BBD8F0; background: #EAF3FB; color: #1F71B8; font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; }
    .dz .w10 .w10n-ubi.ok { border-color: #86EFAC; background: #F0FDF4; color: #15803D; }
    .dz .w10 .w10n-nota { font-size: 14px; font-weight: 700; color: #475569; } .dz .w10 .w10n-nota.mal { color: #B91C1C; }
    .dz .w10 .w10n-fila { display: flex; gap: 12px; align-items: flex-start; }
    .dz .w10 .w10n-fila .sugerencias-ciudad { position: absolute; left: 0; right: 0; top: 78px; z-index: 15; box-shadow: 0 12px 28px rgba(0,40,70,.14); }
    .dz .w10 .w10n-grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-radius: 18px; } .dz .w10 .w10n-grilla.mal { box-shadow: 0 0 0 2px #FCA5A5; }
    .dz .w10 .w10n-tipo { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 6px 12px; border-radius: 16px; border: 2px solid #E2E8F0; background: #fff; font: inherit; text-align: left; cursor: pointer; }
    .dz .w10 .w10n-tipo.sel { background: #F4FAFE; } .dz .w10 .w10n-tipo .ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px; color: #fff; display: grid; place-items: center; } .dz .w10 .w10n-tipo b { font-size: 16px; color: #003F5D; }
    .dz .w10 .w10n-p { font-size: 15px; line-height: 1.4; color: #334155; }
    .dz .w10 .w10n-quienes { display: flex; gap: 8px; }
    .dz .w10 .w10n-quien { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border-radius: 16px; border: 2px solid #E2E8F0; background: #fff; font: inherit; text-align: left; cursor: pointer; }
    .dz .w10 .w10n-quien.sel { border-color: #1F71B8; background: #EAF3FB; } .dz .w10 .w10n-quien b { font-size: 16px; color: #003F5D; } .dz .w10 .w10n-quien span { font-size: 13px; color: #475569; }
    .dz .w10 .w10n-yo { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #F8FAFC; }
    .dz .w10 .w10n-yo .k { font-size: 12px; font-weight: 900; letter-spacing: .8px; color: #5B6675; } .dz .w10 .w10n-yo .k ~ .k { margin-top: 4px; } .dz .w10 .w10n-yo b { font-size: 17px; color: #0F1B2A; } .dz .w10 .w10n-yo .x { font-size: 13px; color: #475569; }
    .dz .w10 .w10n-autz { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; border: 2px solid #E2E8F0; background: #F8FAFC; font: inherit; font-size: 14px; line-height: 1.4; color: #334155; text-align: left; cursor: pointer; }
    .dz .w10 .w10n-autz.mal { border-color: #FCA5A5; } .dz .w10 .w10n-autz a { color: #1F71B8; font-weight: 800; }
    .dz .w10 .w10n-autz .c { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px; border: 3px solid #94A3B8; background: #fff; color: #fff; display: grid; place-items: center; box-sizing: border-box; } .dz .w10 .w10n-autz.on .c { border-color: #16A34A; background: #16A34A; } .dz .w10 .w10n-autz .c svg { width: 16px; height: 16px; }
    .dz .w10 .w10n-previa { padding: 16px 18px; border-radius: 20px; background: linear-gradient(150deg, #00507A, #003F5D 60%, #002A40); color: #fff; display: flex; flex-direction: column; gap: 10px; }
    .dz .w10 .w10n-previa > .k { font-size: 12px; font-weight: 900; letter-spacing: .8px; color: #9FD0FF; }
    .dz .w10 .w10n-fila-p { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #fff; color: #0F1B2A; }
    .dz .w10 .w10n-fila-p .ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 14px; color: #fff; display: grid; place-items: center; }
    .dz .w10 .w10n-fila-p .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; } .dz .w10 .w10n-fila-p .tx b { font-size: 17px; color: #003F5D; } .dz .w10 .w10n-fila-p .tx b.vacio { color: #94A3B8; } .dz .w10 .w10n-fila-p .tx span { font-size: 14px; color: #475569; }
    .dz .w10 .w10n-fila-p .elip { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dz .w10 .w10n-fila-p > .num { font-size: 18px; color: #15803D; }
    .dz .w10 .w10-pie-c .w10n-falta { flex: 1; font-size: 15px; font-weight: 800; color: #475569; } .dz .w10 .w10-pie-c .w10n-falta.ok { color: #15803D; }
    .dz .w10 .w10-pie-c .w10n-seguir { order: 9; margin-left: auto !important; min-height: 56px; padding: 0 30px; font-size: 18px; }
    .dz .w10 .w10-pie-c .w10n-seguir.apagado { background: #E2E8F0; color: #94A3B8; box-shadow: none; }
    .dz .w10n-velo { position: fixed; inset: 0; z-index: 60; background: rgba(6,20,32,.4); animation: w-aparece .2s ease-out; }
    .dz .w10n-modal { position: fixed; left: 50%; top: 50%; z-index: 61; width: 540px; max-width: calc(100vw - 32px); max-height: calc(100vh - 40px); overflow-y: auto; transform: translate(-50%, -50%); box-sizing: border-box; padding: 24px 26px; border-radius: 26px; background: #fff; box-shadow: 0 24px 60px rgba(0,25,45,.35); display: flex; flex-direction: column; gap: 12px; }
    .dz .w10n-modal .t { font-size: 24px; color: #003F5D; } .dz .w10n-modal .s { font-size: 16px; color: #334155; }
    .dz .w10n-res { display: flex; flex-direction: column; padding: 4px 16px; border-radius: 16px; background: #F8FAFC; }
    .dz .w10n-res > span { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid #E3EAF0; } .dz .w10n-res > span:last-child { border-bottom: 0; }
    .dz .w10n-res .k { font-size: 12px; font-weight: 900; letter-spacing: .8px; color: #5B6675; } .dz .w10n-res b { font-size: 17px; color: #0F1B2A; }
    .dz .w10n-modal .bts { display: flex; gap: 10px; } .dz .w10n-modal .bts .w-b { flex: 1; min-height: 52px; } .dz .w10n-modal .bts .w-b-pri { flex: 1.6; }
    #app .w10n-modal .w10n-sec { background: #fff; color: #003F5D; border: 2px solid #003F5D; }
    .dz .w10n-modal .err-c:empty { display: none; }

    /* W10b · Su banco: los 4 bancos en 2 × 2 y a la derecha lo que significa. */
    .dz .w10-banco .w10-cuerpo { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
    .dz .w10-banco .w10-cuerpo > .ops, .dz .w10-banco .w10-cuerpo > .nota-azul, .dz .w10-banco .w10-cuerpo > .w10b-izq { grid-column: 1; }
    .dz .w10-banco .w10b-izq { display: flex; flex-direction: column; gap: 14px; }
    .dz .w10-banco .w10b-izq > * { margin: 0 !important; }
    .dz .w10-banco .w10b-guardado { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: #F0FDF4; border: 2px solid #BBF7D0; color: #14532D; }
    .dz .w10-banco .w10b-guardado .ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #15803D; color: #fff; display: grid; place-items: center; }
    .dz .w10-banco .w10b-guardado > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 15px; } .dz .w10-banco .w10b-guardado b { font-size: 17px; }
    .dz .w10-banco .w10-lado .nota-verde { margin: 0 !important; }
    .dz .w10-banco .w10-cuerpo > .w10-lado { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; gap: 14px; }
    .dz .w10-banco .w10-cuerpo > .nota-verde { grid-column: 2; grid-row: 4; }
    .dz .w10-banco .ops { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .dz .w10 .ops > .op { position: relative; margin: 0; display: grid; grid-template-columns: 52px minmax(0, 1fr) 26px; column-gap: 12px; row-gap: 8px; align-items: center; padding: 16px; border-radius: 20px; text-align: left; min-height: 0; }
    .dz .w10 .ops > .op .logo, .dz .w10 .ops > .op .ico-m { grid-column: 1; grid-row: 1; width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
    .dz .w10 .ops > .op .tx { display: contents; }
    .dz .w10 .ops > .op .tx b { grid-column: 2; grid-row: 1; font-size: 19px; color: #003F5D; }
    .dz .w10 .ops > .op .tx small { grid-column: 1 / -1; grid-row: 2; font-size: 15px; line-height: 1.4; color: #334155; }
    .dz .w10 .ops > .op .tx .modo-s { grid-column: 1 / -1; grid-row: 3; font-size: 13px; font-weight: 900; }
    .dz .w10 .ops > .op .rd { grid-column: 3; grid-row: 1; }
    .dz .w10 .ops > .op .cinta { position: absolute; top: -11px; right: 14px; left: auto; padding: 3px 10px; border-radius: 999px; background: #15803D; color: #fff; font-size: 12px; font-weight: 900; }
    .dz .w10 .nota-azul { border-radius: 18px; background: #E8F1FA; padding: 14px 16px; }
    .dz .w10 .nota-verde { border-radius: 16px; background: #DCFCE7; color: #14532D; padding: 12px 14px; text-align: left !important; justify-content: flex-start; }
    .dz .w10-tarj { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid #E3EAF0; box-shadow: 0 4px 14px rgba(0,40,70,.05); }
    .dz .w10-centro { align-items: center; text-align: center; padding: 26px 22px; gap: 10px; }
    .dz .w10-centro b { font-size: 19px; color: #003F5D; } .dz .w10-centro > span:last-child { font-size: 15px; line-height: 1.45; color: #334155; }
    .dz .w10-ic72 { width: 72px; height: 72px; border-radius: 22px; background: #EAF3FB; color: #1F71B8; display: grid; place-items: center; }
    .dz .w10-lt { font-size: 19px; color: #003F5D; } .dz .w10-lx { font-size: 15px; line-height: 1.45; color: #334155; }
    .dz .w10-lb { display: flex; align-items: center; gap: 10px; } .dz .w10-lb img { width: 40px; height: 40px; border-radius: 12px; }
    .dz .w10-forma { display: flex; gap: 12px; padding: 14px; border-radius: 18px; border: 2px solid #DCE5ED; background: #fff; font: inherit; text-align: left; cursor: pointer; }
    .dz .w10-forma.sel { border-color: #1F71B8; background: #EAF3FB; }
    .dz .w10-forma .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; color: #fff; display: grid; place-items: center; }
    .dz .w10-forma .tx { flex: 1; display: flex; flex-direction: column; gap: 3px; } .dz .w10-forma .f { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .dz .w10-forma b { font-size: 17px; color: #003F5D; } .dz .w10-forma .tag { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; } .dz .w10-forma .x { font-size: 14px; line-height: 1.4; color: #475569; }
    .dz .w10-oks { display: flex; gap: 10px; } .dz .w10-oks span { flex: 1; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #F0FDF4; color: #15803D; font-size: 15px; font-weight: 900; }
    .dz .w10-ambar { font-size: 14px; line-height: 1.4; color: #92400E; padding: 10px 12px; border-radius: 14px; background: #FFFBEB; }
    .dz .w10-reloj { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: #003F5D; }
    /* Las hojas del asistente, centradas como ventanas. */
    .dz-hoja:has(.asis-hc) { left: 50%; right: auto; top: 50%; bottom: auto; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; margin: 0; border-radius: 24px; transform: translate(-50%, -40%); opacity: 0; }
    .dz-hoja.on:has(.asis-hc) { transform: translate(-50%, -50%); opacity: 1; transition: transform .25s ease, opacity .2s; }
    .dz-hoja:has(.asis-hc) > .asa { display: none; }
}
@media (min-width: 600px) and (max-width: 1023px) {
    .dz .w10-top { flex-wrap: wrap; gap: 10px 14px; }
    .dz .w10-fases { order: 9; flex-basis: 100%; justify-content: flex-start; }
    .dz .w10-fases .t { display: none; } .dz .w10-fase.actual .t { display: inline; }
    .dz .w10-cuerpo, .dz .w10 .w10-cuerpo > .cuerpo-c, .dz .w10 .w10-cuerpo > .c4, .dz .w10 .w10-cuerpo > .ops4, .dz .w10 .w10-cuerpo > div:not([class]), .dz .w10-banco .w10-cuerpo { grid-template-columns: minmax(0, 1fr); }
    .dz .w10-banco .w10-cuerpo > * { grid-column: 1 !important; grid-row: auto !important; }
    .dz .w10-pie { flex-wrap: wrap; }
}

/* ---- W7 · Recomendar, como el diseño ---- */
@media (min-width: 600px) {
    #app .w7-cuerpo { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 18px 24px 20px; }
    #app .w7-dos-col { flex: none; display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 14px; align-items: start; }
    #app .w7-izq { display: flex; flex-direction: column; gap: 12px; }
    /* Lo que gana: la tarjeta naranja que brilla, con el regalo que salta */
    #app .w7-gana { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 22px; background: linear-gradient(120deg, #F9B233, #F26A33 35%, #D4401B); color: #fff; box-shadow: 0 12px 26px rgba(233,78,36,.3); transition: transform .2s ease, box-shadow .2s ease; }
    #app .w7-gana:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 18px 34px rgba(233,78,36,.4); }
    #app .w7-gana::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); animation: w-brillo 3.2s ease-in-out infinite; pointer-events: none; }
    #app .w7-gana .regalo { animation: w-salta 2.4s ease-in-out infinite; }
    #app .w7-gana-t { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; color: #FFF4EC; }
    #app .w7-gana-t .ic { flex: 0 0 52px; width: 52px; height: 52px; box-sizing: border-box; margin: 0; padding: 0; border-radius: 16px; background: #fff; color: #D4401B; display: grid; place-items: center; }
    #app .w7-pct { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
    #app .w7-pct b:first-child { font-size: 58px; line-height: 1; font-weight: 900; } #app .w7-pct b:last-child { font-size: 22px; font-weight: 900; }
    #app .w7-sig { font-size: 16px; font-weight: 700; color: #FFF4EC; }
    #app .w7-dos { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.18); }
    #app .w7-dos > b { flex: 0 0 auto; padding: 4px 10px; border-radius: 10px; background: #fff; color: #D4401B; font-size: 20px; font-weight: 900; }
    #app .w7-dos > span { font-size: 15px; line-height: 1.35; }
    /* Los descuentos que ya tiene */
    #app .w7-desc { display: flex; gap: 12px; padding: 14px 16px; border-radius: 18px; background: #F0FDF4; border: 2px solid #86EFAC; }
    #app .w7-desc > .ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; }
    #app .w7-desc .tx { display: flex; flex-direction: column; gap: 3px; }
    #app .w7-desc .tx > b { font-size: 17px; color: #14532D; }
    #app .w7-desc .tx > span { font-size: 15px; line-height: 1.4; color: #166534; }
    #app .w7-desc .tx > span.sobra { font-size: 14px; font-weight: 700; color: #15803D; }
    #app .w7-verplan { align-self: flex-start; margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 12px; background: #16A34A; color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 4px 12px rgba(22,163,74,.3); }
    #app .w7-verplan span { font-size: 18px; line-height: 1; }
    /* Su código */
    #app .w7-cod { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: 22px; background: linear-gradient(150deg, #00507A, var(--w-azul-osc) 55%, var(--w-azul-noche)); color: #fff; }
    #app .w7-cod .k { font-size: 12px; font-weight: 900; letter-spacing: .8px; color: #9FD0FF; }
    #app .w7-cod .caja { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 16px; border: 2px dashed rgba(159,208,255,.55); background: rgba(255,255,255,.08); }
    #app .w7-cod .caja b { flex: 1; font-size: 34px; letter-spacing: 3px; font-weight: 900; }
    #app .w7-copiar { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border: 0; border-radius: 12px; background: #fff; color: var(--w-azul-osc); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
    #app .w7-copiar.ok { background: #22C55E; color: #fff; }
    #app .w7-cod .x { font-size: 14px; line-height: 1.4; color: #BFE3F7; }
    #app .w7-reco { min-height: 56px; gap: 10px; font-size: 19px; background: #25D366; color: #fff; box-shadow: 0 8px 18px rgba(37,211,102,.35); }
    #app .w7-reco:hover { background: #1FBF5B; }
    /* Sus recomendados */
    #app .w7-recs { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
    #app .w7-rcab { display: flex; align-items: center; gap: 12px; padding: 14px 16px 10px; }
    #app .w7-rcab .ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(135deg, #00B6ED, #1F71B8); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(0,182,237,.3); }
    #app .w7-rcab b { flex: 1; font-size: 20px; color: var(--w-azul-osc); }
    #app .w7-rcab .n { min-width: 28px; height: 28px; padding: 0 9px; box-sizing: border-box; border-radius: 14px; background: var(--w-azul); color: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 900; }
    #app .w7-res { margin: 0 16px 10px; display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; border-radius: 14px; background: #F8FAFC; }
    #app .w7-res > span:first-child { font-size: 15px; line-height: 1.4; color: var(--w-tinta); }
    #app .w7-res .prox { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: #15803D; }
    #app .w7-res .prox svg { flex: none; }
    #app .w7-res .prox button { margin-left: auto; padding: 0; border: 0; background: none; font: inherit; font-weight: 800; color: #15803D; text-decoration: underline; white-space: nowrap; cursor: pointer; }
    #app .w7-gtit { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-top: 1px solid var(--w-linea); }
    #app .w7-gtit .p { width: 10px; height: 10px; border-radius: 50%; }
    #app .w7-gtit b { font-size: 13px; letter-spacing: .6px; }
    #app .w7-gtit .n { padding: 1px 8px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 900; }
    #app .w7-rec { display: flex; align-items: center; gap: 12px; min-height: 83px; padding: 8px 16px; border-top: 1px solid #EEF3F7; box-sizing: border-box; }
    #app .w7-rec > .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; color: #fff; display: grid; place-items: center; box-shadow: 0 3px 8px rgba(0,0,0,.12); }
    #app .w7-rec .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    #app .w7-rec .tx > b { font-size: 16px; line-height: 1.25; color: var(--w-azul-osc); }
    #app .w7-rec .tx > b.sin { font-style: italic; color: var(--w-texto3); }
    #app .w7-rec .f { font-size: 13px; color: var(--w-texto3); }
    #app .w7-rec .e { font-size: 14px; font-weight: 700; line-height: 1.35; }
    #app .w7-recordar { flex: 0 0 auto; min-height: 40px; padding: 0 12px; gap: 6px; font-size: 14px; background: #fff; color: #128C7E; border: 2px solid #86EFAC; }
    #app .w7-recordar:hover { background: #F0FDF4; }
    #app .w7-todos { min-height: 46px; border: 0; border-top: 1px solid var(--w-linea); background: #F8FAFC; font: inherit; font-size: 15px; font-weight: 800; color: var(--w-azul); cursor: pointer; }
    #app .w7-vacio { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 26px 40px; text-align: center; }
    #app .w7-vacio > .ic { width: 76px; height: 76px; border-radius: 22px; background: var(--w-azul-suave); color: var(--w-azul); display: grid; place-items: center; }
    #app .w7-vacio > .ic.ambar { width: 64px; height: 64px; border-radius: 50%; background: #FEF3C7; color: #B45309; }
    #app .w7-vacio > b { font-size: 19px; color: var(--w-azul-osc); }
    #app .w7-vacio > span { max-width: 380px; font-size: 15px; line-height: 1.45; color: var(--w-texto2); }
    #app .w7-vacio > .w-b { min-height: 46px; padding: 0 22px; }
    /* Así funciona y Bueno saber */
    #app .w7-asi { flex: none; display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; }
    #app .w7-asi .t { font-size: 20px; color: var(--w-azul-osc); }
    #app .w7-asi .t2 { margin-top: 4px; font-size: 17px; color: var(--w-azul-osc); }
    #app .w7-asi .pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    #app .w7-asi .pasos > div { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 16px; background: var(--w-azul-suave); }
    #app .w7-asi .pasos .n { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #1F71B8, #003F5D); color: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 900; }
    #app .w7-asi .pasos b { font-size: 17px; color: var(--w-azul-osc); }
    #app .w7-asi .pasos span:last-child { font-size: 14px; line-height: 1.45; color: var(--w-texto2); }
    #app .w7-asi .bueno { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
    #app .w7-asi .bueno > span { display: flex; gap: 8px; font-size: 14px; line-height: 1.45; color: var(--w-texto2); }
    #app .w7-asi .bueno i { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: #DCFCE7; color: #15803D; display: grid; place-items: center; }
    #app .w7-asi .bueno i svg { width: 14px; height: 14px; }
    /* Cargando y sin código */
    #app .w7-centro { flex: 1; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
    #app .w7-centro > b { font-size: 18px; color: var(--w-azul-osc); }
    #app .w7-giro { width: 40px; height: 40px; box-sizing: border-box; border-radius: 50%; border: 4px solid #D5E5F0; border-top-color: var(--w-azul); animation: w4-girar .9s linear infinite; }
    #app .w7-sincod { width: min(520px, 100%); box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px; border-radius: 24px; background: #fff; box-shadow: 0 1px 3px rgba(0,63,93,.08); text-align: center; }
    #app .w7-sincod > .ic { width: 76px; height: 76px; border-radius: 22px; background: linear-gradient(135deg, #F9B233, #E94E24); color: #fff; display: grid; place-items: center; }
    #app .w7-sincod > b { font-size: 23px; color: var(--w-azul-osc); }
    #app .w7-sincod > span { font-size: 16px; line-height: 1.45; color: var(--w-texto2); }
    #app .w7-b-wa { min-height: 52px; padding: 0 26px; gap: 8px; background: #25D366; color: #fff; text-decoration: none; }
    /* La ventana de compartir */
    .w-dlg.w7-dlg { max-height: min(780px, calc(100vh - 40px)); padding: 20px 22px; }
    .w-dlg .w7-dcab { display: flex; align-items: flex-start; gap: 12px; }
    .w-dlg .w7-dcab > .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; display: grid; place-items: center; }
    .w-dlg .w7-dcab .tx { flex: 1; display: flex; flex-direction: column; gap: 2px; }
    .w-dlg .w7-dcab .tx b { font-size: 21px; color: #003F5D; } .w-dlg .w7-dcab .tx span { font-size: 15px; line-height: 1.4; color: #334155; }
    .w-dlg .w7-dcab .x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #F1F5F9; color: #003F5D; display: grid; place-items: center; cursor: pointer; }
    .w-dlg .w7-vista { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 18px; background: #E7F0E9; }
    .w-dlg .w7-vista .k, .w-dlg .w7-num .k { font-size: 12px; font-weight: 900; letter-spacing: .7px; color: #5B6675; }
    .w-dlg .w7-vista .msj { align-self: flex-start; max-width: 92%; padding: 10px 12px; border-radius: 4px 14px 14px 14px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); font-size: 15px; line-height: 1.45; color: #111B21; overflow-wrap: anywhere; }
    .w-dlg .w7-vista .enl { color: #027EB5; text-decoration: underline; }
    .w-dlg .w7-formas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .w-dlg .w7-forma { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 8px 12px; border-radius: 16px; border: 2px solid #DCE5ED; background: #fff; font: inherit; text-align: left; cursor: pointer; }
    .w-dlg .w7-forma:hover { border-color: #B9D6F0; }
    .w-dlg .w7-forma.on { border-color: #25D366; background: #F0FDF4; }
    .w-dlg .w7-forma .ic { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; color: #fff; display: grid; place-items: center; }
    .w-dlg .w7-forma .tx { flex: 1; display: flex; flex-direction: column; } .w-dlg .w7-forma b { font-size: 15px; color: #003F5D; } .w-dlg .w7-forma .tx span { font-size: 13px; color: #475569; }
    .w-dlg .w7-num { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 16px; background: #F0FDF4; border: 2px solid #BBF7D0; }
    .w-dlg .w7-num .fila { display: flex; gap: 8px; }
    .w-dlg .w7-num .pre { display: flex; align-items: center; padding: 0 12px; border-radius: 12px; background: #fff; border: 2px solid #D7E1E9; font-size: 16px; font-weight: 800; color: #334155; }
    .w-dlg .w7-num input { flex: 1; min-width: 0; height: 48px; box-sizing: border-box; padding: 0 12px; border-radius: 12px; border: 2px solid #D7E1E9; font: inherit; font-size: 17px; }
    .w-dlg .w7-num input.mal { border-color: #B91C1C; }
    .w-dlg .w7-num .w-b { min-height: 48px; padding: 0 16px; gap: 6px; background: #25D366; color: #fff; }
    .w-dlg .w7-num .err { font-size: 14px; font-weight: 800; color: #B91C1C; }
}
@media (min-width: 600px) and (max-width: 1023px) {
    #app .w7-dos-col { grid-template-columns: minmax(0, 1fr); }
    #app .w7-asi .pasos, #app .w7-asi .bueno { grid-template-columns: minmax(0, 1fr); }
}

/* ---- W17 · Preguntas frecuentes ---- */
@media (min-width: 600px) {
    #app .w17-cuerpo { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 14px; }
    #app .w17-cic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 15px; background: linear-gradient(135deg, #00B6ED, #1F71B8); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,182,237,.3); }
    #app .w17-busca { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 10px 0 18px; border-radius: 18px; border: 2px solid #DCE5ED; background: #fff; color: var(--w-azul); box-shadow: 0 4px 14px rgba(0,40,70,.06); }
    #app .w17-busca:focus-within, #app .w17-busca.activo { border-color: var(--w-azul); }
    #app .w17-busca input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 19px; font-weight: 600; color: var(--w-tinta); }
    #app .w17-busca button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #F1F5F9; color: var(--w-azul-osc); display: grid; place-items: center; cursor: pointer; }
    #app .w17-temas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    #app .w17-tema { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px; border-radius: 16px; border: 2px solid #E3EAF0; background: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: 0 2px 6px rgba(0,40,70,.05); transition: transform .15s ease, box-shadow .15s ease; }
    #app .w17-tema:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,40,70,.1); }
    #app .w17-tema b { flex: 1; font-size: 17px; line-height: 1.2; color: var(--w-azul-osc); }
    #app .w17-tema .ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; background: var(--g); color: #fff; display: grid; place-items: center; }
    #app .w17-tema.sel { border-color: transparent; background: var(--g); box-shadow: 0 8px 18px rgba(0,40,70,.22); }
    #app .w17-tema.sel b { color: #fff; } #app .w17-tema.sel .ic { background: rgba(255,255,255,.25); }
    #app .w17-tema.apagado { opacity: .55; }
    #app .w17-dos { flex: 1; min-height: 0; display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 14px; align-items: stretch; }
    #app .w17-lista { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 420px; }
    #app .w17-lcab { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--w-linea); }
    #app .w17-lcab b { flex: 1; font-size: 17px; color: var(--w-azul-osc); } #app .w17-lcab span { font-size: 14px; font-weight: 800; color: var(--w-texto3); }
    #app .w17-ql { flex: 1; min-height: 0; overflow-y: auto; }
    #app .w17-q { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-height: 60px; padding: 10px 14px 10px 12px; border: 0; border-bottom: 1px solid var(--w-linea); border-left: 4px solid transparent; background: #fff; font: inherit; text-align: left; cursor: pointer; color: var(--w-azul-osc); }
    #app .w17-q .q { flex: 1; font-size: 16px; line-height: 1.35; font-weight: 800; } #app .w17-q svg { color: #94A3B8; }
    #app .w17-q .tt { flex-basis: 100%; font-size: 12px; font-weight: 900; letter-spacing: .5px; color: var(--c); text-transform: uppercase; }
    #app .w17-q.sel { background: var(--w-azul-suave); border-left-color: var(--c); } #app .w17-q.sel .q { color: var(--w-azul); } #app .w17-q.sel svg { color: var(--c); }
    #app .w17-nada { padding: 30px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 15px; line-height: 1.45; color: var(--w-texto2); } #app .w17-nada b { font-size: 20px; color: var(--w-azul-osc); }
    #app .w17-nada .ic { width: 80px; height: 80px; border-radius: 50%; background: var(--w-azul-suave); color: var(--w-azul); display: grid; place-items: center; }
    #app .w17-resp { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
    #app .w17-rcuerpo { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 26px 12px; display: flex; flex-direction: column; gap: 10px; animation: w-aparece .3s ease; }
    #app .w17-rvacia { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; }
    #app .w17-rvacia .ic { width: 84px; height: 84px; border-radius: 26px; background: var(--w-azul-suave); color: var(--w-azul); display: grid; place-items: center; }
    #app .w17-rvacia .ic svg { width: 44px; height: 44px; } #app .w17-rvacia b { font-size: 20px; color: var(--w-azul-osc); }
    #app .w17-rt { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 900; letter-spacing: .6px; }
    #app .w17-rt .ic { width: 38px; height: 38px; border-radius: 12px; color: #fff; display: grid; place-items: center; }
    #app .w17-resp h2 { margin: 0; font-size: 24px; line-height: 1.25; color: var(--w-azul-osc); }
    #app .w17-resp p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--w-texto2); }
    #app .w17-bts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
    #app .w17-ir { min-height: 52px; padding: 0 22px; font-size: 17px; }
    #app .w17-solo { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #F1F5F9; color: #475569; font-size: 16px; font-weight: 800; }
    #app .w17-final { margin: 0 16px 14px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #F8FAFC; border: 1px solid #E3EAF0; }
    #app .w17-final .ic { color: var(--w-azul); display: grid; } #app .w17-final b { flex: 1; min-width: 0; font-size: 15px; color: var(--w-azul-osc); }
    #app .w17-nueva { min-height: 40px; padding: 0 12px; border: 2px solid #BBD8F0; background: #fff; color: var(--w-azul); font-size: 14px; }
    #app .w17-wa, #app .w17-wa:link, #app .w17-wa:visited { min-height: 40px; padding: 0 12px; gap: 6px; border: 2px solid #BBD8F0; background: #fff; color: var(--w-azul); font-size: 14px; }
    #app .w17-wa svg { color: #25D366; }
}
@media (min-width: 600px) and (max-width: 1023px) { #app .w17-temas { grid-template-columns: repeat(2, minmax(0, 1fr)); } #app .w17-dos { grid-template-columns: minmax(0, 1fr); } #app .w17-final { flex-wrap: wrap; } }

/* ---- W16 · Mis solicitudes ---- */
@media (min-width: 600px) {
    #app .w16 .w-pests { margin: 14px 24px 0; }
    #app .w16-cuerpo { align-items: stretch; }
    #app .w16-lista { flex: 0 0 440px; padding: 0; overflow: hidden; display: flex; flex-direction: column; align-self: flex-start; }
    #app .w16-pest { display: flex; gap: 4px; margin: 12px; padding: 4px; border-radius: 14px; background: var(--w-panel); }
    #app .w16-pest button { flex: 1; min-height: 46px; border: 0; border-radius: 11px; background: transparent; font: inherit; font-size: 17px; font-weight: 900; color: var(--w-texto2); cursor: pointer; }
    #app .w16-pest button.sel { background: #fff; color: var(--w-azul-osc); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
    #app .w16-item { display: flex; gap: 14px; padding: 14px 16px; border: 0; border-top: 1px solid var(--w-linea); background: #fff; font: inherit; text-align: left; cursor: pointer; box-shadow: inset 4px 0 0 var(--c); color: inherit; }
    #app .w16-item.sel { background: var(--w-azul-suave); }
    #app .w16-item .ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; color: #fff; display: grid; place-items: center; }
    #app .w16-item .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
    #app .w16-item .tx > b { font-size: 16px; color: var(--w-azul-osc); display: flex; align-items: center; gap: 8px; }
    #app .w16-item .pto { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--w-azul); }
    #app .w16-item .neg { font-size: 14px; color: var(--w-texto3); }
    #app .w16-item .pie { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--w-texto3); }
    #app .w16-item .etq { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; }
    #app .w16-item .nota { font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    #app .w16-det { flex: 1; min-width: 0; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; align-self: flex-start; }
    #app .w16-det .so-det { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; display: flex; flex-direction: column; gap: 10px; }
    #app .w16-det .so-det h2 { margin: 0; font-size: 27px; color: var(--w-azul-osc); }
    #app .w16-det .so-det .neg, #app .w16-det .so-det .fecha { display: inline; font-size: 16px; font-weight: 700; color: var(--w-texto2); }
    #app .w16-det .so-texto { padding: 12px 16px; border-radius: 14px; background: #F8FAFC; border-left: 4px solid #CBD5E1; }
    #app .w16-det .so-texto .k, #app .w16-det .so-resp .k { font-size: 12px; font-weight: 900; letter-spacing: .6px; color: var(--w-texto3); }
    #app .w16-det .so-texto p { margin: 4px 0 0; font-size: 16px; line-height: 1.45; color: var(--w-tinta); }
    #app .w16-det .so-linea { display: flex; flex-direction: row; justify-content: space-around; gap: 0; padding: 10px 0; }
    #app .w16-det .so-paso { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 0; }
    #app .w16-det .so-paso::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--linea); }
    #app .w16-det .so-paso:first-child::before { display: none; }
    #app .w16-det .so-paso .p { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 900; box-shadow: 0 0 0 4px #fff; }
    #app .w16-det .so-paso .tx { display: flex; flex-direction: column; align-items: center; } #app .w16-det .so-paso .tx b { font-size: 16px; } #app .w16-det .so-paso .tx span { font-size: 14px; color: var(--w-texto3); }
    #app .w16-det .so-resp { padding: 14px 16px; border-radius: 16px; border: 2px solid #BFDBFE; background: #F5FAFF; font-size: 16px; line-height: 1.5; color: var(--w-tinta); }
    #app .w16-det .so-resp .k { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } #app .w16-det .so-resp .k img { width: 22px; height: 22px; }
    #app .w16-det .btn-wa { align-self: flex-start; width: auto; min-height: 52px; padding: 0 22px; border-radius: 14px; }
    #app .w16-det .so-ayuda { font-size: 14px; color: var(--w-texto3); }
    #app .w16-det .so-yano { align-self: flex-start; width: auto; min-height: 46px; padding: 0 18px; border-radius: 14px; border: 2px solid #FCA5A5; background: #fff; color: #B91C1C; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; }
    #app .w16-nada { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--w-texto3); font-size: 16px; font-weight: 700; }
}
@media (min-width: 600px) and (max-width: 1023px) { #app .w16-cuerpo { flex-direction: column; } #app .w16-lista { flex-basis: auto; width: 100%; } }
@media (min-width: 600px) { #app .w16-det .so-det > *, #app .w16-det .so-linea { margin-top: 0 !important; margin-bottom: 0 !important; } #app .w16-det .so-linea { border-top: 0; } }

/* ---- W18 · Ajustes ---- */
@media (min-width: 600px) {
    #app .w18-cuerpo { align-items: flex-start; }
    #app .w18-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
    #app .w18-t { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
    #app .w18-tcab { display: flex; align-items: center; gap: 12px; } #app .w18-tcab b { font-size: 21px; color: var(--w-azul-osc); }
    #app .w18-tcab .ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; color: #fff; display: grid; place-items: center; }
    #app .w18-dice { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 16px; border: 2px solid #BFDBFE; background: #F5FAFF; }
    #app .w18-dice b { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--w-azul-osc); } #app .w18-dice b svg { color: var(--w-azul); }
    #app .w18-dice span { font-size: 15px; line-height: 1.5; color: var(--w-texto2); }
    #app .w18-bot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } #app .w18-bot .w-b { min-height: 52px; font-size: 17px; }
    #app .w18-pers { background: #fff; color: var(--w-azul-osc); border: 2px solid var(--w-azul-osc); }
    #app .w18-fila, #app .w18-fila:link, #app .w18-fila:visited { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 4px; border: 0; border-top: 1px solid var(--w-linea); background: none; font: inherit; text-align: left; cursor: pointer; text-decoration: none; color: var(--w-azul-osc); }
    #app .w18-fila .ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; color: #fff; display: grid; place-items: center; }
    #app .w18-fila b { flex: 1; font-size: 17px; } #app .w18-fila > svg { color: var(--w-azul-osc); } #app .w18-fila.rojo b { color: #B91C1C; }
    #app .w18-res { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-size: 18px; font-weight: 900; }
    #app .w18-res .m, #app .w18-rev .m, #app .w18-dia .m { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 900; }
    #app .w18-rev { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--w-linea); }
    #app .w18-rev .tx { flex: 1; display: flex; flex-direction: column; gap: 2px; } #app .w18-rev b { font-size: 16px; color: var(--w-azul-osc); } #app .w18-rev .tx span { font-size: 14px; line-height: 1.4; color: var(--w-texto3); }
    #app .w18-k { font-size: 12px; font-weight: 900; letter-spacing: .6px; color: var(--w-texto3); }
    #app .w18-dia { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #F0FDF4; border: 2px solid #86EFAC; }
    #app .w18-dia .m { background: #16A34A; } #app .w18-dia .tx { flex: 1; display: flex; flex-direction: column; gap: 3px; } #app .w18-dia b { font-size: 18px; color: #14532D; } #app .w18-dia .tx span { font-size: 15px; line-height: 1.45; color: #166534; }
}
@media (min-width: 600px) and (max-width: 1023px) { #app .w18-cuerpo { flex-direction: column; } #app .w18-col { width: 100%; } }

/* ---- W11 · Mi perfil ---- */
@media (min-width: 600px) {
    #app .w11-cuerpo { align-items: flex-start; }
    #app .w11-izq { flex: 0 0 340px; padding: 0 0 10px; overflow: hidden; display: flex; flex-direction: column; }
    #app .w11-quien { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 16px 20px; background: linear-gradient(170deg, #00507A, #003F5D 70%); color: #fff; text-align: center; }
    #app .w11-quien .av { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #F7931E, #E94E24); border: 4px solid rgba(255,255,255,.25); display: grid; place-items: center; font-size: 30px; font-weight: 900; }
    #app .w11-quien > b { font-size: 24px; } #app .w11-quien .desde { font-size: 13px; font-weight: 900; letter-spacing: 1px; color: #BFE3F7; }
    #app .w11-id { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 6px 14px; border-radius: 999px; border: 2px dashed rgba(255,255,255,.45); background: transparent; color: #fff; font: inherit; font-size: 15px; font-weight: 900; letter-spacing: 1px; cursor: pointer; }
    #app .w11-k { margin: 14px 16px 6px; font-size: 12px; font-weight: 900; letter-spacing: .6px; color: var(--w-texto3); }
    #app .w11-op { display: flex; align-items: center; gap: 12px; margin: 0 8px; padding: 9px 10px; border: 0; border-radius: 14px; background: none; font: inherit; text-align: left; cursor: pointer; color: inherit; }
    #app .w11-op:hover { background: #F7FAFC; } #app .w11-op.sel { background: var(--w-azul-suave); box-shadow: inset 4px 0 0 var(--w-azul); }
    #app .w11-op .ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; color: #fff; display: grid; place-items: center; }
    #app .w11-op .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; } #app .w11-op b { font-size: 17px; color: var(--w-azul-osc); } #app .w11-op .tx span { font-size: 13px; font-weight: 700; color: var(--w-texto3); }
    #app .w11-op > svg { color: #94A3B8; } #app .w11-op .pto { width: 9px; height: 9px; border-radius: 50%; background: var(--w-celeste); }
    /* «Cerrar sesión» a la vista, debajo de Mis solicitudes (Alexander, 08-11). */
    #app .w11-salir { margin-top: 10px; padding-top: 13px; border-radius: 0 0 14px 14px; box-shadow: inset 0 1px 0 #EEF2F6; }
    #app .w11-salir:hover { background: #FFF7F7; } #app .w11-salir .ic { background: #FEE2E2; color: #B91C1C; } #app .w11-salir b { color: #B91C1C; }
    #app .w11-der { flex: 1; min-width: 0; padding: 22px 24px; display: flex; flex-direction: column; }
    #app .w11-der h2 { margin: 0; font-size: 27px; color: var(--w-azul-osc); } #app .w11-sub { margin: 2px 0 10px; font-size: 15px; color: var(--w-texto2); }
    #app .w11-dato { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--w-linea); }
    #app .w11-dato .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; color: #fff; display: grid; place-items: center; }
    #app .w11-dato .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } #app .w11-dato .k { font-size: 12px; font-weight: 900; letter-spacing: .6px; color: var(--w-texto3); } #app .w11-dato b { font-size: 19px; color: var(--w-tinta); }
    #app .w11-cand { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; background: #F1F5F9; font-size: 14px; font-weight: 800; color: var(--w-texto3); }
    #app .w11-b { min-height: 42px; padding: 0 16px; border: 2px solid #9CC3E6; background: var(--w-azul-suave); color: var(--w-azul); font-size: 15px; }
    #app .w11-b.rojo { border-color: #FCA5A5; background: #fff; color: #B91C1C; } #app .w11-b.osc { border-color: var(--w-azul-osc); background: #fff; color: var(--w-azul-osc); min-height: 46px; }
    #app .w11-ed .bot { display: flex; gap: 8px; } #app .w11-ed .tx { gap: 6px; }
    #app .w11-nota { font-size: 13px; font-weight: 800; color: #15803D; letter-spacing: 0; }
    #app .w11-error, #app .w11-elim { margin-top: 16px; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; border: 2px solid #BFDBFE; background: #F5FAFF; }
    #app .w11-elim { border-color: #FECACA; background: #FFF7F7; }
    #app .w11-error > span, #app .w11-elim > span { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.45; color: var(--w-texto2); } #app .w11-error b, #app .w11-elim b { font-size: 16px; color: var(--w-azul-osc); }
}
@media (min-width: 600px) and (max-width: 1023px) { #app .w11-cuerpo { flex-direction: column; } #app .w11-izq { flex-basis: auto; width: 100%; } }
/* En un computador de poca altura (768 px) «Cerrar sesión» quedaba cortado
   abajo: la tarjeta de la cuenta y el menú se compactan un poco. */
@media (min-width: 1024px) and (max-height: 820px) {
    #app .w11-quien { gap: 4px; padding: 12px 16px 14px; } #app .w11-quien .av { width: 62px; height: 62px; font-size: 24px; } #app .w11-quien > b { font-size: 21px; }
    #app .w11-k { margin: 10px 16px 4px; } #app .w11-op { padding: 6px 10px; } #app .w11-salir { margin-top: 6px; padding-top: 10px; }
}
@media (min-width: 600px) { #app .w18-perm { align-self: flex-start; margin-top: 8px; min-height: 42px; font-size: 15px; } #app .w18-rev .tx { align-items: flex-start; } }

/* Animaciones del diseño (gen_web.py): el brillo que cruza las tarjetas
   naranjas y el regalo que salta. */
@keyframes w-brillo { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes w-salta { 0%, 70%, 100% { transform: none; } 78% { transform: translateY(-6px) rotate(-8deg); } 86% { transform: translateY(0) rotate(6deg); } 92% { transform: rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { #app .w7-gana::after, #app .w7-gana .regalo { animation: none; } }

/* ---- Antes de entrar (W9a, W9b, W9, W9c y W9d) ----
   A la izquierda la marca (con su animación de entrada la primera vez); a la
   derecha la tarjeta. Desde 600 px; en el celular siguen las A0–A9. */
@media (min-width: 600px) {
    #app.dz-sin:has(> .w9) { padding: 0 !important; }
    #app .w9 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; background: var(--w-fondo); font-size: 16px; color: var(--w-tinta); }
    #app .w9-marca { position: sticky; top: 0; align-self: start; height: 100vh; height: 100dvh; box-sizing: border-box; }
    #app .w9 .num { font-variant-numeric: tabular-nums; }
    #app .w9-marca { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 44px; text-align: center; color: #fff; background: linear-gradient(160deg, var(--w-azul-osc), var(--w-azul-noche)); }
    #app .w9-marca > * { position: relative; }
    #app .w9-giro { position: absolute !important; left: 50%; top: 50%; height: 560px; width: auto; margin: -280px 0 0 -147px; opacity: .06; pointer-events: none; animation: w9-giro 40s linear infinite; }
    #app .w9-logo { height: 56px; width: auto; }
    #app .w9-tit { margin-top: 26px; font-size: 44px; line-height: 1.05; letter-spacing: -.5px; font-weight: 900; }
    #app .w9-tit span { color: #FDBA9F; }
    #app .w9-sub { margin-top: 12px; max-width: 470px; font-size: 19px; line-height: 1.45; color: #D5E5F0; }
    #app .w9-sub b { color: #fff; }
    #app .w9-aviso { margin-top: 24px; display: flex; align-items: center; gap: 14px; padding: 14px 24px 14px 16px; border-radius: 20px; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.28); text-align: left; animation: w9-flota 3.2s ease-in-out 1.4s infinite; }
    #app .w9-aviso .voz { position: relative; flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: var(--w-verde-vivo); color: #fff; display: grid; place-items: center; }
    #app .w9-aviso .voz::before, #app .w9-aviso .voz::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid #16A34A; animation: w9-ondas 1.8s ease-out infinite; }
    #app .w9-aviso .voz::after { animation-delay: .9s; }
    #app .w9-aviso .tx { display: flex; flex-direction: column; }
    #app .w9-aviso .t { font-size: 13px; font-weight: 900; letter-spacing: .8px; color: var(--w-verde); }
    #app .w9-aviso b { font-size: 32px; line-height: 1.1; color: var(--w-azul-osc); }
    #app .w9-aviso .n { font-size: 15px; font-weight: 600; color: var(--w-gris); }
    #app .w9-btx { margin-top: 22px; font-size: 16px; font-weight: 700; color: #E3EEF5; } #app .w9-btx b { color: #fff; }
    #app .w9-bancos { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
    #app .w9-bancos img { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; background: #fff; box-sizing: border-box; padding: 3px; }
    #app .w9-checks { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 10px 26px; text-align: left; }
    #app .w9-checks > span { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
    #app .w9-checks .c { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: rgba(134,239,172,.2); color: #86EFAC; display: grid; place-items: center; }
    /* La entrada: cada pieza sube en orden; los bancos saltan uno por uno. */
    #app .w9-anim .ent { opacity: 0; animation: w9-entra .6s cubic-bezier(.2,.9,.3,1) forwards; }
    #app .w9-anim .d1 { animation-delay: .05s; } #app .w9-anim .d2 { animation-delay: .2s; } #app .w9-anim .d3 { animation-delay: .35s; } #app .w9-anim .d5 { animation-delay: .75s; } #app .w9-anim .d6 { animation-delay: .95s; }
    #app .w9-anim .w9-aviso { opacity: 0; animation: w9-entra .6s cubic-bezier(.2,.9,.3,1) .55s forwards, w9-flota 3.2s ease-in-out 1.4s infinite; }
    #app .w9-anim .bk-pop { opacity: 0; animation: w9-pop .45s cubic-bezier(.2,1.4,.4,1) forwards; }
    #app .w9:not(.w9-anim) .bk-pop { animation: none !important; }

    #app .w9-der { display: flex; align-items: center; justify-content: center; padding: 22px 30px; overflow-y: auto; }
    #app .w9-tarj { width: 100%; margin: auto 0; padding: 26px 28px; box-sizing: border-box; border-radius: 22px; background: #fff; box-shadow: 0 20px 50px rgba(0,40,70,.12); display: flex; flex-direction: column; gap: 14px; }
    #app .w9-nueva .w9-tarj { animation: w-aparece .3s ease; }
    #app .w9-tarj.apretada { padding: 20px 26px; gap: 11px; }
    #app .w9-form { display: flex; flex-direction: column; gap: inherit; margin: 0; }
    #app .w9-h { font-size: 32px; line-height: 1.15; font-weight: 900; color: var(--w-azul-osc); }
    #app .w9-h2 { font-size: 25px; line-height: 1.15; font-weight: 900; color: var(--w-azul-osc); }
    #app .w9-tarj.apretada .w9-h2 { font-size: 28px; }
    #app .w9-h2-fila { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; } #app .w9-h2-fila > span { font-size: 14px; font-weight: 800; color: var(--w-verde); }
    #app .w9-h-fila { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; } #app .w9-h-fila > span { display: flex; flex-direction: column; gap: 4px; }
    #app .w9-tt { display: flex; flex-direction: column; gap: 4px; }
    #app .w9-p { font-size: 15px; line-height: 1.45; color: var(--w-texto2); }
    #app .w9-tarj.apretada .w9-p { font-size: 16px; }
    #app .w9 .c { text-align: center; } #app .w9-p.c { font-size: 17px; }
    #app .w9-demo-et { align-self: center; padding: 4px 14px; border-radius: 999px; background: #FFF1EA; border: 1px solid #FDBA8C; font-size: 13px; font-weight: 900; letter-spacing: .6px; color: #C2410C; }
    #app .w9-sep { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 14px; font-weight: 800; color: var(--w-gris); } #app .w9-sep i { flex: 1; height: 1px; background: #CBD5E1; }
    #app .w9-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    #app .w9-rol { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 16px; border: 0; border-radius: 18px; color: #fff; font: inherit; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
    #app .w9-rol:hover:not(:disabled) { transform: translateY(-2px); }
    #app .w9-rol:disabled { opacity: .55; cursor: default; }
    #app .w9-rol.osc { background: var(--w-azul-osc); box-shadow: 0 8px 18px rgba(0,63,93,.3); } #app .w9-rol.azul { background: var(--w-azul); box-shadow: 0 8px 18px rgba(31,113,184,.3); }
    #app .w9-rol .ic { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
    #app .w9-rol b { font-size: 18px; } #app .w9-rol > span:last-child { font-size: 14px; color: #CFE6F5; }
    #app .w9-b, #app .w9-b:link, #app .w9-b:visited { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; padding: 0 18px; box-sizing: border-box; border-radius: 16px; border: 0; font: inherit; font-size: 18px; font-weight: 900; text-decoration: none; cursor: pointer; }
    #app .w9-b.pri { background: linear-gradient(135deg, var(--w-naranja-cl), var(--w-naranja-f)); color: #fff; box-shadow: 0 8px 18px rgba(233,78,36,.28); }
    #app .w9-b.pri:disabled { background: #E2E8F0; color: #94A3B8; box-shadow: none; cursor: default; }
    #app .w9-b.grande { min-height: 62px; font-size: 20px; margin-top: 4px; }
    #app .w9-b.sec { border: 2px solid var(--w-azul-osc); background: #fff; color: var(--w-azul-osc); min-height: 52px; font-size: 17px; }
    #app .w9-b.sua { border: 1px solid #DCE5ED; background: #fff; color: var(--w-azul-osc); min-height: 50px; font-size: 16px; }
    #app .w9-gratis { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: -4px; font-size: 16px; font-weight: 800; color: var(--w-verde); }
    #app .w9-gratis .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--w-verde-claro); display: grid; place-items: center; }
    #app .w9-wa, #app .w9-wa:link, #app .w9-wa:visited { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; font-size: 15px; font-weight: 800; color: var(--w-azul); text-decoration: none; text-align: center; }
    #app .w9-wa svg { flex: 0 0 auto; color: #25D366; }
    #app .w9-enl { align-self: flex-start; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 900; color: var(--w-azul); text-decoration: underline; cursor: pointer; }
    #app .w9-enl.c { align-self: center; min-height: 36px; text-decoration: none; } #app .w9-enl.der { align-self: flex-end; margin-top: -6px; } #app .w9-enl.gris { color: var(--w-texto3); text-decoration: none; font-size: 14px; }
    #app .w9-pie { text-align: center; font-size: 15px; color: var(--w-texto3); } #app .w9-pie .w9-enl { align-self: auto; }
    #app .w9-tarj > .w9-pie { margin-top: -2px; }
    /* Pasos (W9b, W9c) y pestañas (W9). */
    #app .w9-pasos { display: flex; align-items: center; gap: 8px; }
    #app .w9-pasos .p { flex: 1; display: flex; flex-direction: column; gap: 5px; } #app .w9-pasos .p i { height: 6px; border-radius: 3px; background: #E2E8F0; }
    #app .w9-pasos .p span { font-size: 12px; font-weight: 900; letter-spacing: .4px; color: #94A3B8; }
    #app .w9-pasos .p.actual i { background: var(--w-naranja-f); } #app .w9-pasos .p.actual span { color: var(--w-azul-osc); }
    #app .w9-pasos .p.hecho i { background: var(--w-verde-vivo); } #app .w9-pasos .p.hecho span { color: var(--w-verde); }
    #app .w9-atras { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid #DCE5ED; background: #fff; color: var(--w-azul-osc); display: grid; place-items: center; cursor: pointer; }
    #app .w9-volver { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin: -6px 0 -4px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 900; color: var(--w-azul); cursor: pointer; }
    #app .w9-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 16px; background: var(--w-panel); }
    #app .w9-tabs button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border: 0; border-radius: 12px; background: transparent; color: var(--w-texto3); font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
    #app .w9-tabs button.sel { background: #fff; color: var(--w-azul-osc); box-shadow: 0 3px 8px rgba(0,40,70,.16); }
    #app .w9-seg { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: var(--w-panel); }
    #app .w9-seg button { flex: 1; min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--w-texto3); font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; }
    #app .w9-seg button.sel { background: #fff; color: var(--w-azul-osc); box-shadow: 0 2px 6px rgba(0,40,70,.15); }
    /* Tipo de documento: la casilla que abre la lista de los cinco tipos, cada
       uno con su explicación (encargo «Registros» de Claude Design, 16-11-2026). */
    #app .w9-td { position: relative; flex: 0 0 auto; }
    #app .w9-td-b { display: flex; align-items: center; gap: 10px; width: 100%; height: 52px; padding: 0 8px 0 14px; border-radius: 14px; border: 2px solid var(--w-borde); background: #fff; box-sizing: border-box; font: inherit; text-align: left; cursor: pointer; }
    #app .w9-td-b.ab, #app .w9-td-b:focus-visible { border-color: var(--w-azul); box-shadow: 0 0 0 4px rgba(31,113,184,.15); outline: 0; }
    #app .w9-td-b .n { flex: 1; min-width: 0; font-size: 17px; font-weight: 600; color: var(--w-tinta); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w9-td-b .fl { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #EAF3FB; color: var(--w-azul); transition: transform .15s ease; }
    #app .w9-td-b.ab .fl { transform: rotate(180deg); }
    #app .w9-td-lista { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid #D7E1E9; box-shadow: 0 18px 40px rgba(0,40,70,.18); display: flex; flex-direction: column; gap: 2px; animation: w-aparece .15s ease; }
    #app .w9-td-lista button { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 12px; border: 0; border-radius: 12px; background: transparent; font: inherit; text-align: left; color: var(--w-azul); cursor: pointer; }
    #app .w9-td-lista button:hover, #app .w9-td-lista button:focus-visible { background: #F4F8FB; outline: 0; }
    #app .w9-td-lista button.on { background: #EAF3FB; }
    #app .w9-td-lista .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
    #app .w9-td-lista .tx b { font-size: 16px; color: var(--w-azul-osc); } #app .w9-td-lista .tx span { font-size: 14px; color: var(--w-gris); }
    #app .w9-seg.chico { flex: 0 0 auto; gap: 6px; padding: 4px; border-radius: 12px; background: #EEF2F6; } #app .w9-seg.chico button { min-width: 80px; min-height: 36px; border-radius: 9px; font-size: 15px; }
    /* Campos. */
    #app .w9-campo { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
    #app .w9-campo .r { font-size: 15px; font-weight: 800; color: var(--w-azul-osc); } #app .w9 .ast { color: #DC2626; }
    #app .w9-in { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 8px 0 14px; border-radius: 14px; border: 2px solid var(--w-borde); background: #fff; box-sizing: border-box; transition: border-color .15s ease; }
    #app .w9-in:focus-within { border-color: var(--w-azul); }
    #app .w9-in.ok { border-color: var(--w-verde-vivo); } #app .w9-in.mal { border-color: #DC2626; } #app .w9-in.ambar { border-color: #D97706; }
    #app .w9-in input, #app .w9-in select { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; font-weight: 600; color: var(--w-tinta); }
    #app .w9-in .pre { font-size: 16px; font-weight: 800; color: var(--w-gris); }
    #app .w9-in.llave { height: 66px; padding: 0 16px; border-radius: 16px; gap: 10px; } #app .w9-in.llave .ic { color: var(--w-azul); display: grid; }
    #app .w9-in.llave input { font-family: ui-monospace, Menlo, monospace; font-size: 28px; font-weight: 800; letter-spacing: 4px; color: var(--w-azul-osc); }
    #app .w9-ojo { flex: 0 0 40px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: #F1F5F9; color: var(--w-azul-osc); display: grid; place-items: center; cursor: pointer; }
    #app .w9-campo .x { font-size: 13px; font-weight: 700; color: var(--w-texto3); } #app .w9-campo .x.mal { color: #B91C1C; }
    #app .w9 .ay { display: none; } #app .w9 .ay.err { display: block; font-size: 13px; font-weight: 700; color: #B91C1C; }
    #app .w9-dos { display: flex; gap: 10px; }
    #app .w9-grilla { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
    #app .w9-reglas { display: flex; gap: 12px; flex-wrap: wrap; }
    #app .w9-reglas > span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--w-texto3); }
    #app .w9-reglas .c { width: 18px; height: 18px; border-radius: 50%; background: #CBD5E1; color: #fff; display: grid; place-items: center; } #app .w9-reglas .c svg { width: 11px; height: 11px; }
    #app .w9-reglas .ok { color: var(--w-verde); } #app .w9-reglas .ok .c { background: var(--w-verde-vivo); }
    #app .w9-reglas .mal { color: #B91C1C; } #app .w9-reglas .mal .c { background: #DC2626; }
    #app .w9-reglas-r { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 14px; background: #F8FAFC; }
    #app .w9-reglas-r #sx-reglas { display: flex; flex-direction: column; gap: 6px; } #app .w9-reglas-r b { font-size: 14px; color: var(--w-azul-osc); }
    #app .w9 .regla-s { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--w-gris); }
    #app .w9 .regla-s .c { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C3CFD9; display: grid; place-items: center; color: #fff; box-sizing: border-box; }
    #app .w9 .regla-s.ok { color: var(--w-verde); } #app .w9 .regla-s.ok .c { background: var(--w-verde-vivo); border-color: var(--w-verde-vivo); }
    #app .w9 .regla-s.mal { color: #B91C1C; } #app .w9 .regla-s.mal .c { background: #DC2626; border-color: #DC2626; }
    #app .w9 .regla-s .x { display: none; } #app .w9 .regla-s.mal .x { display: block; } #app .w9 .regla-s.mal .v { display: none; }
    #app .w9-reglas-r .consejo { font-size: 13px; color: var(--w-texto3); }
    #app .w9-chk { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; border: 2px solid #E2E8F0; background: #F8FAFC; font: inherit; font-size: 15px; line-height: 1.4; color: var(--w-texto2); text-align: left; cursor: pointer; }
    #app .w9-chk:disabled { cursor: default; }
    #app .w9-chk .c { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 7px; border: 3px solid #94A3B8; background: #fff; color: transparent; display: grid; place-items: center; box-sizing: border-box; }
    #app .w9-chk.on { border-color: var(--w-azul); } #app .w9-chk.on .c { border-color: var(--w-azul); background: var(--w-azul); color: #fff; }
    #app .w9-chk a { font-weight: 800; color: var(--w-azul); } #app .w9-chk .err { color: #B91C1C; font-weight: 700; } #app .w9-chk .esp { color: var(--w-texto3); }
    #app .w9-nota { font-size: 13px; color: var(--w-texto3); }
    /* La demo con formulario (docs/34): el enlace de crear la cuenta y la línea de hasta cuándo. */
    #app .w9-p.c.pd-o { font-size: 14px; } #app .pd-o a, #app .w9-nota a { color: var(--w-azul, #1F71B8); font-weight: 800; }
    #app .w9-gratis.pd-hasta-w { justify-content: center; }
    #app .w9-enl.pd-vermas-w { align-self: flex-start; margin-top: -4px; padding: 0 0 0 12px; text-decoration: underline; }
    #app .w9-info { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #F4FAFE; font-size: 14px; line-height: 1.4; color: var(--w-texto2); } #app .w9-info svg { flex: 0 0 auto; color: var(--w-azul); }
    #app .w9-verde { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--w-verde-claro); color: #14532D; font-size: 14px; line-height: 1.4; } #app .w9-verde svg { flex: 0 0 auto; }
    #app .w9-ambar { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #FFFBEB; color: #78350F; font-size: 14px; line-height: 1.4; } #app .w9-ambar svg { flex: 0 0 auto; color: #D97706; }
    #app .w9-err { display: flex; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #FEF2F2; border: 2px solid #FCA5A5; color: #991B1B; }
    #app .w9-err.ambar { background: #FFFBEB; border-color: #FCD34D; color: #78350F; }
    #app .w9-err .ic { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #DC2626; color: #fff; display: grid; place-items: center; } #app .w9-err.ambar .ic { background: #D97706; }
    #app .w9-err .ic svg { width: 16px; height: 16px; }
    #app .w9-err .tx { display: flex; flex-direction: column; gap: 2px; } #app .w9-err b { font-size: 16px; } #app .w9-err .tx > span { font-size: 14px; line-height: 1.4; }
    #app .w9-err .w9-enl { margin-top: 4px; text-decoration: none; }
    #app .w9 .falta { min-height: 18px; margin-top: -6px; text-align: center; font-size: 14px; font-weight: 800; color: var(--w-texto3); display: flex; align-items: center; justify-content: center; gap: 6px; }
    #app .w9 .falta:not(.mal):not(.suave) { visibility: hidden; }
    #app .w9 .falta.mal { color: #B91C1C; } #app .w9 .falta.ok { color: var(--w-verde); } #app .w9 .falta svg { width: 16px; height: 16px; }
    /* Bancos de la W9b. */
    #app .w9-bks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    #app .w9-bk { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; border: 2px solid #E2E8F0; background: #fff; }
    #app .w9-bk.reco { border-color: #86EFAC; }
    #app .w9-bk .cinta { position: absolute; top: -10px; right: 10px; padding: 2px 8px; border-radius: 999px; background: var(--w-verde); color: #fff; font-size: 11px; font-weight: 900; }
    #app .w9-bk img { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; object-fit: contain; }
    #app .w9-bk > span { display: flex; flex-direction: column; gap: 2px; } #app .w9-bk b { font-size: 15px; color: var(--w-azul-osc); }
    #app .w9-bk small { font-size: 12px; font-weight: 800; color: var(--w-azul); } #app .w9-bk.reco small { color: var(--w-verde); }
    #app .w9-busca { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #F4FAFE; font-size: 15px; font-weight: 800; color: var(--w-azul-osc); }
    #app .w9-busca .giro { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #D5E5F0; border-top-color: var(--w-azul); animation: w-girar .9s linear infinite; }
    #app .w9-res { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; border-radius: 16px; text-align: center; }
    #app .w9-res.verde { background: #F0FDF4; border: 2px solid #86EFAC; color: #166534; } #app .w9-res.ambar { background: #FFFBEB; border: 2px solid #FCD34D; color: #78350F; }
    #app .w9-res .ic { width: 44px; height: 44px; border-radius: 50%; color: #fff; display: grid; place-items: center; } #app .w9-res.verde .ic { background: var(--w-verde-vivo); } #app .w9-res.ambar .ic { background: #F59E0B; }
    #app .w9-res b { font-size: 18px; } #app .w9-res.verde b { color: #14532D; } #app .w9-res.ambar b { color: #92400E; } #app .w9-res > span { font-size: 15px; }
    #app .w9-res .bts { display: flex; gap: 10px; width: 100%; margin-top: 4px; } #app .w9-res .bts .w9-b { flex: 1; min-height: 48px; font-size: 16px; }
    #app .w9-ref { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 16px; border: 2px solid #FED7AA; background: #FFF7ED; }
    #app .w9-ref .cab { display: flex; align-items: center; gap: 12px; }
    #app .w9-ref .cab .ic { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--w-naranja-cl), var(--w-naranja-f)); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(233,78,36,.28); }
    #app .w9-ref .cab .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; } #app .w9-ref .cab b { font-size: 16px; color: var(--w-azul-osc); } #app .w9-ref .cab .tx span { font-size: 14px; font-weight: 800; color: var(--w-texto3); }
    #app .w9-ref .w9-in input { font-family: ui-monospace, Menlo, monospace; font-size: 20px; font-weight: 800; letter-spacing: 2px; color: var(--w-azul-osc); }
    #app .w9-ref .x { margin-top: -4px; font-size: 13px; font-weight: 700; color: var(--w-texto3); }
    #app .w9-pill { flex: 0 0 auto; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--w-azul); background: #fff; font: inherit; font-size: 15px; font-weight: 900; color: var(--w-azul); cursor: pointer; }
    #app .w9-listo { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 16px; line-height: 1.5; color: var(--w-texto2); }
    #app .w9-listo .ok { width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(135deg, #22C55E, #15803D); color: #fff; display: grid; place-items: center; animation: w9-pop .45s cubic-bezier(.2,1.4,.4,1); }
    #app .w9-listo > b { font-size: 24px; color: var(--w-azul-osc); }
    #app .w9-listo .otra { padding: 12px 14px; border-radius: 14px; background: #F4FAFE; font-size: 14px; line-height: 1.45; text-align: left; } #app .w9-listo .otra b { color: var(--w-azul-osc); }
    #app .w9-listo .hor { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--w-texto3); }
    #app .w9-listo .w9-info { text-align: left; }
    /* Las ventanas que ya existían (celulares llenos, varios negocios). */
    #app .w9 .sx-modal .btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; border-radius: 16px; font: inherit; font-size: 17px; font-weight: 900; cursor: pointer; }
    #app .w9 .sx-modal .btn-pri { border: 0; background: linear-gradient(135deg, #F26A33, #D4401B); color: #fff; }
    #app .w9 .sx-modal .btn-sec { border: 2px solid #003F5D; background: #fff; color: #003F5D; }

    @keyframes w9-entra { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
    @keyframes w9-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
    @keyframes w9-ondas { from { transform: scale(1); opacity: .7; } to { transform: scale(1.8); opacity: 0; } }
    @keyframes w9-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
    @keyframes w9-giro { to { transform: rotate(360deg); } }
    @media (prefers-reduced-motion: reduce) {
        #app .w9 .ent, #app .w9 .w9-aviso, #app .w9 .bk-pop { animation: none !important; opacity: 1 !important; }
        #app .w9-aviso .voz::before, #app .w9-aviso .voz::after, #app .w9-giro, #app .w9-listo .ok { animation: none; }
    }
}
/* Tablet (600–999 px): la marca arriba, corta, y la tarjeta debajo. */
@media (min-width: 600px) and (max-width: 999px) {
    #app .w9 { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
    #app .w9-marca { position: relative; height: auto; padding: 28px 32px 24px; }
    #app .w9-tit { margin-top: 16px; font-size: 34px; }
    #app .w9-aviso, #app .w9-btx, #app .w9-bancos, #app .w9-checks { display: none; }
    #app .w9-der { align-items: flex-start; padding: 22px 24px 32px; }
    #app .w9-tarj { margin: 0 auto; }
}

/* Computador: Pagos (W14) y Mensajes (W8) llenan el ancho, como el diseño
   (antes quedaban en una columna de 1400 px en el centro). Mensajes, como el
   correo: la lista a la izquierda (480 px) y el mensaje completo a la derecha. */
@media (min-width: 1024px) {
    .dz[data-patron="b"] .g-pag, .dz .pg-g { max-width: none; }
    .dz .ms-cuerpo .g-dos { grid-template-columns: 480px minmax(0, 1fr); }
}

}

/* Letra más grande donde quedaba en 12–14 px (DIFERENCIAS-DEMO, 30-10): los
   datos en 15 px o más, las etiquetas cortas en 13–14 px, como el diseño. */
@media (min-width: 600px) {
    /* Mi plan (W3) */
    #app .w-plan-est .f > span, #app .w-mt-cab span span, #app .w-plan-reco .tx span, #app .w-pie-p, #app .w-cobro .tot span, #app .w-cobro .tx > span { font-size: 15px; }
    #app .w-plan-lista .tx .num small, #app .w-chip-cobro, #app .w-cinta, #app .w-plan-fila .tx em { font-size: 14px; }
    #app .w-plan-lista .n small { font-size: 13px; }
    /* Ajustes (W18) y Mi perfil (W11) */
    #app .w18 .tx > span, #app .w11 .tx > span, #app .w11-cand { font-size: 15px; }
    #app .w18-k { font-size: 13px; }
}

/* Animaciones del diseño que faltaban (30-10): el radar y los puntos de
   «esperando el pago de prueba» (W20, W10i), la entrada de la cuenta nueva
   (W13), el brillo de «Recomiende y pague menos» y la fila del plan (W3). */
@media (min-width: 600px) {
    #app .w-radar { position: relative; flex: 0 0 110px; width: 110px; height: 110px; display: grid; place-items: center; }
    #app .w-radar .nucleo { position: relative; z-index: 1; width: 86px; height: 86px; border-radius: 26px; background: linear-gradient(135deg, #00B6ED, #1F71B8); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,182,237,.35); animation: w-late 2.4s ease-in-out infinite; }
    #app .w-radar img.nucleo { padding: 0; background: #fff; object-fit: contain; box-sizing: border-box; }
    #app .w-radar i { position: absolute; inset: 10px; border-radius: 30px; border: 2px solid #00B6ED; opacity: 0; animation: w-radar 2.4s ease-out infinite; }
    #app .w-radar i:nth-child(2) { animation-delay: .8s; } #app .w-radar i:nth-child(3) { animation-delay: 1.6s; }
    #app .w-radar.chico { flex-basis: 64px; width: 64px; height: 64px; } #app .w-radar.chico .nucleo { width: 56px; height: 56px; border-radius: 16px; } #app .w-radar.chico i { inset: 6px; border-radius: 18px; }
    #app .w-puntos { display: inline-flex; gap: 4px; margin-left: 6px; vertical-align: middle; } #app .w-puntos b { width: 6px; height: 6px; border-radius: 50%; background: #1F71B8; animation: w-pts 1.2s ease-in-out infinite; }
    #app .w-puntos b:nth-child(2) { animation-delay: .2s; } #app .w-puntos b:nth-child(3) { animation-delay: .4s; }
    #app .w-sb-espera { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--w-azul-suave); border: 1px solid #B9D3EA; }
    #app .w-sb-espera .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; } #app .w-sb-espera b { font-size: 20px; color: var(--w-azul-osc); } #app .w-sb-espera .tx > span { font-size: 17px; color: var(--w-texto2); }
    /* El asistente, en «Esperando el pago»: la ruedita pasa a ser el radar. */
    .dz-asis .espera-p .giro-n { position: relative; flex: 0 0 64px; width: 64px; height: 64px; border: 0; border-radius: 18px; background: linear-gradient(135deg, #00B6ED, #1F71B8); animation: w-late 2.4s ease-in-out infinite; }
    .dz-asis .espera-p .giro-n::before, .dz-asis .espera-p .giro-n::after { content: ""; position: absolute; inset: -4px; border-radius: 22px; border: 2px solid #00B6ED; opacity: 0; animation: w-radar 2.4s ease-out infinite; }
    .dz-asis .espera-p .giro-n::after { animation-delay: 1.2s; }
    @keyframes w-radar { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
    @keyframes w-late { 0%, 100% { transform: none; } 50% { transform: scale(1.06); } }

    /* W3 · Mi plan */
    #app .w-plan-reco { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
    #app .w-plan-reco:hover { transform: translateY(-2px) scale(1.01); box-shadow: 0 18px 34px rgba(233,78,36,.4); }
    #app .w-plan-reco::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); animation: w-brillo 3.2s ease-in-out infinite; pointer-events: none; }
    #app .w-plan-reco .ic { animation: w-salta 2.4s ease-in-out infinite; }
    #app .w-plan-fila { transition: transform .2s ease, box-shadow .2s ease; }
    #app .w-plan-fila:hover { transform: scale(1.025); position: relative; z-index: 2; box-shadow: 0 18px 34px rgba(0,63,93,.28); }

    /* W13 · Cuenta nueva: todo sube en orden, el botón brilla, el regalo se
       mueve, el paso 1 late y las flechas empujan hacia el siguiente. */
    #app .w13-anim .w-col-izq > *, #app .w13-anim .w-col-der > * { opacity: 0; animation: w13-sube .7s cubic-bezier(.2,.9,.3,1) forwards; }
    #app .w13-anim .w-col-izq > :nth-child(2) { animation-delay: .55s; } #app .w13-anim .w-col-izq > :nth-child(3) { animation-delay: 1s; }
    #app .w13-anim .w-col-der > :nth-child(1) { opacity: 0; animation: w13-pop .6s cubic-bezier(.2,1.4,.4,1) .55s forwards; } #app .w13-anim .w-col-der > :nth-child(2) { animation-delay: 1.1s; }
    #app .w13-anim .w-pasos .w-paso { opacity: 0; animation: w13-sube .7s cubic-bezier(.2,.9,.3,1) forwards; }
    #app .w13-anim .w-paso:nth-child(1) { animation-delay: .65s; } #app .w13-anim .w-paso:nth-child(2) { animation-delay: .78s; } #app .w13-anim .w-paso:nth-child(3) { animation-delay: .91s; }
    #app .w-nuevo .w-nuevo-h .w-b-pri { position: relative; overflow: hidden; }
    #app .w-nuevo .w-nuevo-h .w-b-pri::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg); animation: w13-brillo 3.6s ease-in-out 1.6s infinite; pointer-events: none; }
    #app .w-nuevo .w-gratis .ic { animation: w13-regalo 3.4s ease-in-out 1.5s infinite; }
    #app .w-nuevo .w-paso:first-child { border-color: #F6B89B; animation: w13-pulso 2.4s ease-in-out 1.4s infinite; }
    #app .w13-anim .w-paso:first-child { animation: w13-sube .7s cubic-bezier(.2,.9,.3,1) .65s forwards, w13-pulso 2.4s ease-in-out 1.4s infinite; }
    #app .w13-flecha { position: absolute; right: -23px; top: 50%; z-index: 2; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: #fff; border: 2px solid #DCE5ED; color: var(--w-azul); display: grid; place-items: center; font-size: 19px; font-weight: 900; line-height: 1; animation: w13-empuja 1.6s ease-in-out infinite; }
    #app .w-nuevo .w-vivo-vacio .fantasma i, #app .w-nuevo .w-vivo-vacio .fantasma span, #app .w-nuevo .w-vivo-vacio .fantasma em { background: linear-gradient(90deg, #E2E8F0 0%, #F1F5F9 50%, #E2E8F0 100%); background-size: 200% 100%; animation: w13-esq 1.6s linear infinite; }
    #app .w13-anim .w-logos-mini > span { opacity: 0; animation: w13-pop .6s cubic-bezier(.2,1.4,.4,1) forwards; }
    #app .w13-anim .w-logos-mini > span:nth-child(1) { animation-delay: 1.25s; } #app .w13-anim .w-logos-mini > span:nth-child(2) { animation-delay: 1.37s; } #app .w13-anim .w-logos-mini > span:nth-child(3) { animation-delay: 1.49s; } #app .w13-anim .w-logos-mini > span:nth-child(4) { animation-delay: 1.61s; }
    @keyframes w13-sube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
    @keyframes w13-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
    @keyframes w13-regalo { 0%, 68%, 100% { transform: rotate(0); } 74% { transform: rotate(-12deg) scale(1.1); } 80% { transform: rotate(10deg) scale(1.1); } 86% { transform: rotate(-6deg); } 92% { transform: rotate(3deg); } }
    @keyframes w13-brillo { 0% { left: -60%; } 35%, 100% { left: 130%; } }
    @keyframes w13-pulso { 0%, 100% { box-shadow: 0 10px 24px rgba(233,78,36,.16), 0 0 0 0 rgba(242,106,51,.4); } 50% { box-shadow: 0 10px 24px rgba(233,78,36,.16), 0 0 0 12px rgba(242,106,51,0); } }
    @keyframes w13-empuja { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
    @keyframes w13-esq { from { background-position: 200% 0; } to { background-position: -200% 0; } }
}
@media (min-width: 600px) and (max-width: 1023px) { #app .w13-flecha { display: none; } }
@media (prefers-reduced-motion: reduce) {
    #app .w-radar i, #app .w-radar .nucleo, #app .w-puntos b, .dz-asis .espera-p .giro-n, .dz-asis .espera-p .giro-n::before, .dz-asis .espera-p .giro-n::after,
    #app .w-plan-reco::after, #app .w-plan-reco .ic, #app .w13-flecha, #app .w-nuevo .w-gratis .ic, #app .w-nuevo .w-paso:first-child, #app .w-nuevo .w-vivo-vacio .fantasma *, #app .w-nuevo .w-nuevo-h .w-b-pri::after { animation: none !important; }
    #app .w13-anim * { animation: none !important; opacity: 1 !important; }
}

/* ---- Mensajes (W8), como el correo: dos tarjetas que llenan la pantalla. */
@media (min-width: 600px) {
    #app .w8 { height: 100vh; height: 100dvh; min-height: 640px; box-sizing: border-box; }
    /* En la demo, la cinta y «Ver como» van arriba: la pantalla cabe sin bajar. */
    body.con-cinta #app .w8 { height: calc(100dvh - 100px); }
    #app .w8-cic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 15px; background: linear-gradient(135deg, #00B6ED, #1F71B8); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,182,237,.3); }
    #app .w8 .w-cab-sub { font-size: 16px; font-weight: 800; }
    #app .w8-cuerpo { display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 16px; align-items: stretch; min-height: 0; }
    #app .w8-izq, #app .w8-der { min-height: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
    #app .w8-tabs { flex: 0 0 auto; display: flex; gap: 5px; margin: 12px; padding: 5px; border-radius: 16px; background: var(--w-panel); }
    #app .w8-tabs button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 0; border-radius: 12px; background: transparent; color: var(--w-texto3); font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; }
    #app .w8-tabs button.sel { background: #fff; color: var(--w-azul-osc); box-shadow: 0 2px 8px rgba(0,40,70,.15); }
    #app .w8-tabs .n { min-width: 22px; height: 22px; padding: 0 6px; box-sizing: border-box; border-radius: 11px; background: #DC2626; color: #fff; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
    #app .w8-lista { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; border-top: 1px solid var(--w-linea); }
    #app .w8-izq > .w8-lista:first-child { border-top: 0; }
    #app .w8-m, #app .w8-s { display: flex; gap: 10px; width: 100%; padding: 12px 14px 12px 8px; border: 0; border-bottom: 1px solid var(--w-linea); border-left: 4px solid transparent; background: #fff; font: inherit; text-align: left; cursor: pointer; }
    #app .w8-m:hover, #app .w8-s:hover { background: #F8FBFE; }
    #app .w8-m.sel, #app .w8-s.sel { background: var(--w-azul-suave); border-left-color: var(--w-azul); }
    #app .w8-m .w8-pto, #app .w8-s .w8-pto { flex: 0 0 12px; display: flex; justify-content: center; padding-top: 7px; }
    #app .w8-m .w8-pto i, #app .w8-s .w8-pto i { width: 10px; height: 10px; border-radius: 50%; background: var(--w-azul); }
    #app .w8-m .ic { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 11px; color: #fff; display: grid; place-items: center; transform: scale(.95); }
    #app .w8-m .tx, #app .w8-s .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
    #app .w8-m .f1 { display: flex; align-items: baseline; gap: 8px; }
    #app .w8-m .f1 b { flex: 1; min-width: 0; font-size: 16px; font-weight: 900; color: var(--w-azul-osc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w8-m .fe { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--w-azul); }
    #app .w8-m .p { font-size: 14px; line-height: 1.4; color: var(--w-texto2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    #app .w8-m .du, #app .w8-det .du { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 900; color: #C2410C; }
    #app .w8-m.leido .ic { opacity: .55; } #app .w8-m.leido .f1 b { font-weight: 700; color: #64748B; } #app .w8-m.leido .fe, #app .w8-m.leido .p { color: #94A3B8; }
    #app .w8-s .raya { flex: 0 0 6px; border-radius: 3px; }
    #app .w8-s .tx { gap: 4px; } #app .w8-s .tx > b { font-size: 16px; line-height: 1.3; color: var(--w-azul-osc); }
    #app .w8-s .f2 { display: flex; align-items: center; gap: 8px; min-width: 0; } #app .w8-s .f2 .elip { min-width: 0; font-size: 13px; font-weight: 700; color: var(--w-texto3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    #app .w8 .e { flex: 0 0 auto; white-space: nowrap; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; }
    #app .w8-vacio, #app .w8-nada { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px; text-align: center; }
    #app .w8-vacio .ic { width: 84px; height: 84px; border-radius: 26px; background: linear-gradient(135deg, #00B6ED, #1F71B8); color: #fff; display: grid; place-items: center; }
    #app .w8-vacio b { font-size: 21px; color: var(--w-azul-osc); } #app .w8-vacio > span:not(.ic) { font-size: 15px; line-height: 1.45; color: var(--w-texto2); }
    #app .w8-nada .ic { width: 84px; height: 84px; border-radius: 26px; background: var(--w-azul-suave); color: var(--w-azul); display: grid; place-items: center; }
    #app .w8-nada b { font-size: 20px; color: var(--w-azul-osc); }
    #app .w8-det { flex: 1; min-height: 0; overflow-y: auto; padding: 24px 30px; display: flex; flex-direction: column; gap: 14px; animation: w-aparece .3s ease; }
    #app .w8-tipo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
    #app .w8-tipo .ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 15px; color: #fff; display: grid; place-items: center; }
    #app .w8-tipo > b { font-size: 15px; letter-spacing: .6px; }
    #app .w8-det .du { padding: 3px 11px; border-radius: 999px; background: #FFF1EA; font-size: 13px; }
    #app .w8-tipo .e { padding: 3px 12px; font-size: 13px; } #app .w8-tipo b.num { font-size: 14px; }
    #app .w8-t { font-size: 28px; line-height: 1.2; color: var(--w-azul-osc); }
    #app .w8-fe { padding-bottom: 12px; border-bottom: 1px solid var(--w-linea); font-size: 15px; font-weight: 700; color: var(--w-gris); }
    #app .w8-det p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--w-texto2); }
    #app .w8-bt { align-self: flex-start; min-height: 52px; padding: 0 24px; font-size: 17px; }
    #app .w8-sec { padding: 0 22px; border: 2px solid var(--w-azul-osc); background: #fff; color: var(--w-azul-osc); }
    #app .w8-aldia { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 14px; background: #DCFCE7; color: #15803D; font-size: 17px; font-weight: 900; }
    #app .w8-aldia .c { width: 28px; height: 28px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; }
    #app .w8-solo { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #F1F5F9; color: #475569; font-size: 16px; font-weight: 800; }
    #app .w8-resp { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 18px; background: #F4FAFE; border: 2px solid #BBD8F0; }
    #app .w8-resp .k { font-size: 12px; font-weight: 900; letter-spacing: .8px; color: var(--w-azul-osc); } #app .w8-resp > span:last-child { font-size: 17px; line-height: 1.5; color: var(--w-tinta); }
    #app .w8-pie { flex: 0 0 auto; padding: 0 30px 18px; }
    #app .w8-seg { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #F0FDF4; border: 1px solid #BBF7D0; color: #15803D; font-size: 14px; line-height: 1.4; font-weight: 800; } #app .w8-seg svg { flex: 0 0 auto; }
    #app .w8-cargando, #app .w8-error { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
    #app .w8-cargando b { font-size: 18px; color: var(--w-azul-osc); }
    #app .w8-error { align-self: center; justify-self: center; width: 520px; max-width: 100%; padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 4px 14px rgba(0,40,70,.06); text-align: center; }
    #app .w8-error .ic { width: 76px; height: 76px; border-radius: 50%; background: #FEF3C7; color: #B45309; display: grid; place-items: center; } #app .w8-error b { font-size: 22px; color: var(--w-azul-osc); }
    #app .w8-error .w-b { min-height: 52px; padding: 0 28px; font-size: 17px; }
    .w-dlg .w8-negs { display: flex; flex-direction: column; gap: 10px; }
    .w-dlg .w8-negs button { display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 8px 14px; border-radius: 16px; border: 2px solid #DCE5ED; background: #fff; font: inherit; text-align: left; color: var(--w-azul); cursor: pointer; }
    .w-dlg .w8-negs .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, #1F71B8, #003F5D); color: #fff; display: grid; place-items: center; }
    .w-dlg .w8-negs .tx { flex: 1; display: flex; flex-direction: column; } .w-dlg .w8-negs b { font-size: 17px; color: var(--w-azul-osc); } .w-dlg .w8-negs .tx span { font-size: 14px; color: var(--w-texto3); }
}
/* Tablet: la lista arriba y el mensaje debajo. */
@media (min-width: 600px) and (max-width: 1023px) {
    #app .w8 { height: auto; min-height: 100vh; }
    #app .w8-cuerpo { grid-template-columns: minmax(0, 1fr); }
    #app .w8-izq { max-height: 46vh; }
    #app .w8-der { min-height: 360px; }
}

/* ---- Inicio (W1) igual al diseño (ronda 3, 30-10-2026) ---- */
@media (min-width: 600px) {
    /* El saludo va chico y gris; la fecha, en negrilla (como se ve el diseño). */
    #app .w-cab-hola > b { font-size: 15px; line-height: 28px; font-weight: 600; color: var(--w-gris); }
    /* «#menu button { flex: 1 }» (app.css) estiraba el logo y bajaba el menú. */
    #menu.lat-barra .lat-logo-b, #menu.rail-barra .ri-logo-b { flex: none; max-width: none; }
    #menu.lat-barra .lat-perfil { margin-top: auto; }
}
/* El menú del computador: letra 16 y el perfil abajo, como el diseño. Mide
   256 px (el diseño, 232) para que «Recomendar» con su globo y el nombre del
   cliente quepan enteros también con la letra más ancha de otros computadores
   (Alexander, 30-10). */
@media (min-width: 600px) {
    #menu.dz.lat-barra { width: 256px; padding: 16px 14px 14px; }
    #menu.lat-barra .lat-burbuja { width: 240px; height: 240px; opacity: .22; }
    #menu.lat-barra .lat-logo-b .lat-logo { height: 44px; }
    #menu.lat-barra .lat { gap: 12px; padding: 0 12px; border-radius: 12px; color: #D5E5F0; }
    #menu.lat-barra .lat.activo { background: rgba(255,255,255,.15); }
    #menu.lat-barra .lat.activo::before { left: -14px; top: 9px; bottom: 9px; }
    #menu.lat-barra .lat-tit { margin: 12px 12px 4px; color: #8FB3CC; }
    #menu.lat-barra .lat-perfil { padding: 10px; border-radius: 14px; gap: 10px; }
    #menu.lat-barra .lat-perfil .ini { flex-basis: 38px; width: 38px; height: 38px; font-size: 17px; }
    #menu.lat-barra .lat-perfil .tx b { font-size: 15px; }
    #menu.lat-barra .lat-perfil .tx span { font-size: 13px; }
    body.dz-ancho #app { margin-left: 256px; }
    body.dz-ancho #app:not(.w1) { margin-left: calc(256px + max(0px, (100vw - 256px - 600px) / 2)); }
    body.dz-ancho #app.dz:not(.w1), body.dz-ancho #app:not(.w1) { margin-left: 256px; }
    body.dz-ancho .dz-toast { left: 272px; }
    body.dz-ancho .aviso-pago { left: calc(256px + (100% - 256px) / 2); }
    body.dz-ancho .dz-hoja:not(#hoja-d) { left: calc(256px + (100% - 256px) / 2); }
}
@media (min-width: 1024px) { .dz .ng-pie { left: 256px; margin-left: calc(max(0px, (100vw - 256px - 600px) / 2)); } }

/* El Inicio cabe en la pantalla, como el diseño: los pagos llenan el alto con
   «Ver todos los pagos de hoy» siempre abajo, y Cobrar llena la columna de la
   derecha con el QR en el centro. Si la pantalla es baja, baja con la página
   como antes. La demo tiene 100 px más arriba (la cinta y «Ver como»). */
@media (min-width: 1024px) and (min-height: 760px) {
    body:not(.con-cinta) #app .w-inicio { height: 100vh; height: 100dvh; min-height: 0; }
    body:not(.con-cinta) #app .w-inicio .w-cab { position: relative; }
    body:not(.con-cinta) #app .w-inicio .w-cuerpo { flex: 1; min-height: 0; align-items: stretch; padding-bottom: 20px; }
    body:not(.con-cinta) #app .w-inicio .w-col-izq { min-height: 0; }
    body:not(.con-cinta) #app .w-inicio .w-pagos { flex: 1; min-height: 0; }
    body:not(.con-cinta) #app .w-inicio .w-lista { flex: 1; min-height: 0; max-height: none; scrollbar-width: none; }
    body:not(.con-cinta) #app .w-inicio .w-col-der { position: static; min-height: 0; }
    body:not(.con-cinta) #app .w-inicio .w-cobrar { flex: 1 0 auto; }
    body:not(.con-cinta) #app .w-inicio .w-qr-zona { flex: 1 0 auto; justify-content: center; }
}
@media (min-width: 1024px) and (min-height: 860px) {
    body.con-cinta #app .w-inicio { height: calc(100vh - 100px); height: calc(100dvh - 100px); min-height: 0; }
    body.con-cinta #app .w-inicio .w-cab { position: relative; }
    body.con-cinta #app .w-inicio .w-cuerpo { flex: 1; min-height: 0; align-items: stretch; padding-bottom: 20px; }
    body.con-cinta #app .w-inicio .w-col-izq { min-height: 0; }
    body.con-cinta #app .w-inicio .w-pagos { flex: 1; min-height: 0; }
    body.con-cinta #app .w-inicio .w-lista { flex: 1; min-height: 0; max-height: none; scrollbar-width: none; }
    body.con-cinta #app .w-inicio .w-col-der { position: static; min-height: 0; }
    body.con-cinta #app .w-inicio .w-cobrar { flex: 1 0 auto; }
    body.con-cinta #app .w-inicio .w-qr-zona { flex: 1 0 auto; justify-content: center; }
}

/* Pantalla ancha: el título de la primera columna va sobre los nombres (al
   centro quedaba lejos), y el QR crece con el alto que sobra en Cobrar. */
@media (min-width: 1440px) {
    #app .w-inicio .w-cols span:first-child { text-align: left; padding-left: 58px; }
}
@media (min-width: 1024px) and (min-height: 760px) {
    body:not(.con-cinta) #app .w-inicio .w-qr { width: clamp(158px, calc(100vh - 700px), 240px); height: clamp(158px, calc(100vh - 700px), 240px); }
}
@media (min-width: 1024px) and (min-height: 860px) {
    body.con-cinta #app .w-inicio .w-qr { width: clamp(158px, calc(100vh - 800px), 240px); height: clamp(158px, calc(100vh - 800px), 240px); }
}

/* ---------------------------------------- Pago por Wompi (W21 y W23, docs/89) --- */
#app .w-wompi { gap: 12px; }
#app .w-wompi .w-pagar-btn { min-height: 58px; font-size: 18px; gap: 10px; }
#app .w-wompi-nota { font-size: 15px; line-height: 1.45; color: var(--w-texto2); text-align: center; }
#app .w-medios { display: flex; flex-wrap: wrap; gap: 8px; }
#app .w-medios .medio { height: 40px; width: 54px; object-fit: contain; border-radius: 10px; border: 1px solid #D7E1E9; background: #fff; padding: 5px; box-sizing: border-box; }
#app .w-medios .efe { display: inline-flex; align-items: center; gap: 6px; width: auto; padding: 0 12px; font-size: 14px; font-weight: 800; color: var(--w-azul-osc); }
#app .w-sello { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #EAF3FB; color: var(--w-tinta); font-size: 14.5px; line-height: 1.45; }
#app .w-sello .ic { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--w-azul-osc); color: #fff; }
#app .w-sello .tx { display: flex; flex-direction: column; gap: 3px; }
#app .w-sello b { color: var(--w-azul-osc); }
#app .w-seguro { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: var(--w-gris); }
#app .w-rp-cuerpo { width: 100%; max-width: 560px; margin: 24px auto; padding: 0 16px; box-sizing: border-box; }
#app .w-rp .rp { padding: 36px 32px 28px; }
#app .w-rp .rp-bot { flex-direction: row; }
#app .w-rp .rp-bot .btn-naranja, #app .w-rp .rp-bot .btn-borde { width: auto; flex: 1; }

/* Pago automático (W21 y W22, docs/89 §16): la hoja sale en el centro. */
@media (min-width: 600px) {
    .pa-cab { padding: 16px 20px; gap: 12px; }
    .pa-cab .ic { flex-basis: 44px; width: 44px; height: 44px; border-radius: 14px; }
    .pa-cab b { font-size: 22px; }
    .pa-pill { min-height: 32px; padding: 0 13px; font-size: 15px; }
    .pa-cpo { padding: 20px; gap: 16px; }
    .pa-lead { font-size: 18px; }
    .dz-hoja.pa-hoja, .dz-hoja.pa-hoja-q { left: 50%; right: auto; top: 50%; bottom: auto; width: min(580px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 40px); margin: 0;
        border-radius: 26px; transform: translate(-50%, -40%); opacity: 0; box-shadow: 0 30px 70px rgba(0,20,40,.4); }
    .dz-hoja.pa-hoja-q { width: min(470px, calc(100vw - 32px)); padding: 24px; }
    .dz-hoja.pa-hoja.on, .dz-hoja.pa-hoja-q.on { transform: translate(-50%, -50%); opacity: 1; transition: transform .25s ease, opacity .2s; }
    .dz-hoja.pa-hoja > .asa, .dz-hoja.pa-hoja-q > .asa { display: none; }
    .pa-hcab { padding: 18px 20px 12px; } .pa-hcab b { font-size: 21px; }
    .pa-pasos { padding: 0 20px; }
    .pa-hcpo { padding: 18px 20px 22px; }
    .pa-hpie { padding: 12px 20px 18px; }
    .pa-h2 { font-size: 24px; }
    .dz-hoja.pa-hoja-q .tit-hoja, .dz-hoja.pa-hoja-q .sub-hoja { text-align: left; }
}
@media (min-width: 600px) {
    .dz-hoja.co-hoja .tit-hoja, .dz-hoja.co-hoja .sub-hoja { text-align: center; }
}
