/* INSTALAR EN EL IPHONE · la ventanita con los pasos (23-oct). Código: public/comun/instalar-iphone.js
   Fondo claro y letra oscura en todas (gym, alumnos, panel y la web como app): se lee igual sobre cualquier color de marca. */
.ii { width: min(440px, calc(100% - 24px)); max-height: calc(100% - 24px); margin: auto auto 12px; padding: 0; border: 0; border-radius: 20px;
  background: #fff; color: #1b1d24; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .55); font-family: inherit; overflow: auto; }
.ii::backdrop { background: rgba(10, 12, 18, .62); }
.ii[open] { display: block; }
.ii-caja { padding: 22px 20px calc(18px + env(safe-area-inset-bottom)); }
.ii-cab { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.ii-cab img { flex: none; border-radius: 12px; }
.ii h2 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 800; color: #1b1d24; }
.ii-bajada { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: #3d414d; }
.ii-pasos { list-style: none; counter-reset: ii; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ii-pasos li { counter-increment: ii; display: grid; grid-template-columns: 30px 22px 1fr; align-items: start; gap: 10px; padding: 12px; border-radius: 14px; background: #f2f4f8;
  font-size: 15px; line-height: 1.45; color: #1b1d24; }
.ii-pasos li::before { content: counter(ii); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #1b1d24; color: #fff;
  font-weight: 800; font-size: 15px; }
.ii-pasos svg { margin-top: 4px; color: #0a66d6; }
.ii-pasos b { font-weight: 800; }
.ii-b { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin-top: 10px; padding: 12px 18px; border-radius: 999px; font: inherit;
  font-size: 16px; font-weight: 800; cursor: pointer; }
.ii-b--pri { border: 0; background: #1b1d24; color: #fff; }
.ii-b--sec { border: 2px solid #1b1d24; background: #fff; color: #1b1d24; }
.ii-b:focus-visible { outline: 3px solid #0a66d6; outline-offset: 3px; }
.ii-estado { margin: 10px 0 0; font-size: 14px; color: #3d414d; word-break: break-all; }
.ii-estado:empty { display: none; }

/* La WEB del negocio como app: el aviso de abajo (23-oct, public/comun/web-app-aviso.js). Mismo fondo claro en todos los
   rubros; el ícono lleva el logo del negocio. Sube solo por encima de la barra de abajo y del carrito. */
.wa-aviso { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 0 auto;
  padding: 12px; border-radius: 18px; background: #fff; color: #1b1d24; box-shadow: 0 18px 44px -10px rgba(0, 0, 0, .45); border: 1px solid rgba(0, 0, 0, .08);
  font-family: inherit; animation: wa-sube .35s ease-out; }
.wa-aviso[hidden] { display: none !important; }
.wa-aviso img { flex: none; width: 44px; height: 44px; border-radius: 12px; }
.wa-aviso p { flex: 1; min-width: 0; margin: 0; font-size: 13.5px; line-height: 1.35; color: #3d414d; }
.wa-aviso b { display: block; font-size: 15px; font-weight: 800; color: #1b1d24; }
.wa-si { flex: none; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 999px; background: #1b1d24; color: #fff; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; }
.wa-no { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #3d414d; font-size: 26px; line-height: 1; cursor: pointer; }
.wa-si:focus-visible, .wa-no:focus-visible { outline: 3px solid #0a66d6; outline-offset: 2px; }
@keyframes wa-sube { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wa-aviso { animation: none; } }
