/* ─────────────────────────────────────────────────────────────────────────────
   skygroom-web v6 · EL TOUR CON LA APP DE AHORA (07/11; DECISIONES.md, «El tour, rehecho con la app de ahora»)
   Las pantallas de la app, dibujadas en piezas (v6/parciales/escena-*.html). Va DESPUÉS de v5/css/tour.css, que sigue
   poniendo el reproductor, el lienzo y lo que se repite (los huecos, el dedo, la señal, las palabras que suben).

   DESDE EL 28/11, LA APP DE LA 1.8, EN SUS DOS COMPOSICIONES (el guion de JOSEP del 28/11):
   · el ORDENADOR (el lienzo de 1600 × 900, `.k-lienzo.h`): la web desde 1000 px y la tableta Android, con la barra de la
     izquierda (el logo arriba; Inicio, Agenda, Clientes, Dinero, Mensajes, Tareas y Formación; Negocio; y Ayuda abajo) y
     el «+» redondo abajo a la derecha. A la escala de la web a 1366 px por 1,05.
   · el TELÉFONO (`.k-lienzo:not(.h)`, de 460 a 620 de ancho): la Android y la web en el móvil, con la barra de abajo
     (Inicio, Clientes, Agenda, Dinero y Más) y el «+» verde flotando encima. A la escala del móvil de 390 px por 1,15.
   Los colores, de los tokens de la app (app-canina/tokens y src/app/globals.css) y medidos en la demo: el suelo #f1f0ec,
   el pino #3e5c50, la menta de la próxima cita, el esmeralda de lo que entra, el teja de lo que sale y el verde de
   WhatsApp; los de cada persona, los de la Agenda (rosa Alba, turquesa Leo, azul Nuria).
   Solo se anima transform y opacity (CLAUDE.md, «Movimiento»); los colores, solo en piezas pequeñas y por clase.
   ───────────────────────────────────────────────────────────────────────────── */

.k-mesa { --ip-sans: var(--sans-app), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --ip-fondo: #f1f0ec; --ip-tinta: #251f1e;
  --ip-tinta-2: #6e625f; --ip-tinta-3: #978c88; --ip-pino: #3e5c50; --ip-pino-osc: #2c4239; --ip-tinte: #dcefe3; --ip-sel: #e5efe9;
  --ip-linea: rgba(37, 31, 30, .08); --ip-entra: #059669; --ip-entra-pastel: #e1f2ed; --ip-sale: #b03f26; --ip-sale-pastel: #f7e7e2;
  --ip-ocre: #7a6727; --ip-ocre-bg: #f2ecd6; --ip-wa: #25d366; --ip-rojo: #b0221f;
  --pe-at: #ee82b8; --pe-lm: #45c4d6; --pe-nf: #5b9bf0; }

/* ═══ LO DE TODAS ═══════════════════════════════════════════════════════════════════════════════════════════════════ */
.ip-pantalla { position: absolute; inset: 10px 36px 6px; border-radius: 26px; background: var(--ip-fondo); overflow: hidden; color: var(--ip-tinta);
  font: 400 17px/1.3 var(--ip-sans); }
.ip-pantalla .k-cont, .ip-fondo { position: absolute; inset: 0 0 auto 262px; padding: 22px 26px 40px; }
.ip-pantalla.sin-lado .k-cont { left: 0; }
.ip-pantalla small { font-size: inherit; }
.ip-pantalla svg { width: 20px; height: 20px; }
/* EL FOCO (JOSEP, 28/11, elegido en el lienzo entre cinco maneras de señalar; antes, un aro verde por fuera: «vaya mierda
   de círculo»): lo que nombra la voz se queda a la luz, con un filo blanco, y el resto de la pantalla baja a la penumbra.
   Una sola capa por pantalla, con un hueco por cada cosa señalada (js/tour.js, pintarFoco): con una sombra por pieza, la
   de la segunda tapaba a la primera. La pantalla aísla sus capas, para que el dedo siga por encima. */
.ip-pantalla { isolation: isolate; }
.ip-pantalla > .k-foco-capa { position: absolute; inset: 0; z-index: 40; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
.ip-pantalla > .k-foco-capa.on { opacity: 1; }
.k-foco-velo { fill: rgba(16, 26, 21, .45); }
.k-foco-filos rect { fill: none; stroke: #fff; stroke-width: 3; }
html:not(.movimiento) .ip-pantalla > .k-foco-capa { transition: none; }
.ip-pantalla h3, .ip-pantalla h4 { font-weight: 700; }
.ip-pantalla ul, .ip-pantalla ol { margin: 0; padding: 0; list-style: none; }

/* La barra de la izquierda (la escribe tour.js: `vestir`) */
.ip-lado { position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; width: 246px; display: flex; flex-direction: column; gap: 1px; padding: 18px 12px 12px;
  background: #fff; box-shadow: 1px 0 0 var(--ip-linea); }
.ip-marca { display: flex; align-items: center; gap: 11px; padding: 2px 12px 16px; font: 700 21px/1 var(--ip-sans); letter-spacing: -.01em; }
.ip-marca i { width: 31px; height: 31px; border-radius: 9px; display: grid; place-items: center; background: var(--ip-pino); color: #fff; }
.ip-marca i svg { width: 21px; height: 21px; }
.ip-lado > span { display: flex; align-items: center; gap: 14px; height: 42px; padding: 0 14px; border-radius: 11px; font-size: 16.5px; color: var(--ip-tinta); }
.ip-lado > span svg { width: 19px; height: 19px; color: var(--ip-tinta-2); }
.ip-lado > span.on { background: var(--ip-sel); font-weight: 600; }
.ip-lado > span.on svg { color: var(--ip-pino-osc); }
.ip-lado > span.off { background: none; font-weight: 400; }
.ip-lado > span.off svg { color: var(--ip-tinta-2); }
.ip-lado > small { margin: 14px 14px 5px; font-size: 12.5px; font-weight: 500; color: var(--ip-tinta-2); }
.ip-lado > .i-ayuda { margin-top: auto; margin-bottom: 8px; }
.ip-lado > .i-ayuda svg { width: 23px; height: 23px; color: var(--ip-tinta); }
.ip-yo { display: flex; align-items: center; gap: 11px; padding: 12px 8px 2px; border-top: 1px solid var(--ip-linea); font-style: normal; }
.ip-yo b { flex: 1; display: flex; flex-direction: column; font-size: 15px; font-weight: 600; }
.ip-yo b small { font-size: 13px; font-weight: 400; color: var(--ip-tinta-2); }
.ip-yo > svg { width: 17px; height: 17px; color: var(--ip-tinta-2); }
.ip-av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e3f1ea; color: var(--ip-pino-osc);
  font: 600 16px/1 var(--ip-sans); font-style: normal; }
.ip-av.av-rosa { background: #f7dfd9; color: #7a3a2c; } .ip-av.av-ocre { background: #f2e7c9; color: #6e5a1c; }
.ip-av.av-azul { background: #dde7f6; color: #2f4f86; } .ip-av.av-lila { background: #ebe1f3; color: #5d3c78; }

/* La barra de abajo del teléfono y el «+» que flota encima */
.ip-barra { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 6; height: 76px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  padding: 0 8px; border-radius: 32px; background: #fff; box-shadow: 0 0 0 1px rgba(37, 31, 30, .06), 0 10px 28px -12px rgba(37, 31, 30, .35); }
.ip-barra > span { position: relative; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 10px 6px; min-width: 76px;
  border-radius: 26px; font: 600 13.5px/1 var(--ip-sans); color: var(--ip-tinta); }
.ip-barra > span svg { width: 27px; height: 27px; }
.ip-barra > span.on { background: #ebeae5; color: var(--ip-pino-osc); }
.ip-barra > span.on svg { color: var(--ip-pino); }
.ip-barra .i-mas::after { content: ""; position: absolute; top: 4px; right: 22px; width: 10px; height: 10px; border-radius: 50%; background: #c0261c; }
.ip-mas, .ip-fab { position: absolute; z-index: 5; border-radius: 50%; display: grid; place-items: center; background: var(--ip-pino); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(29, 46, 38, .65); }
.ip-mas { right: 28px; bottom: 26px; width: 66px; height: 66px; }
.ip-mas svg, .ip-fab svg { width: 30px; height: 30px; }
.ip-fab { right: 20px; bottom: 104px; width: 70px; height: 70px; }

/* Piezas que se repiten */
.ip-carta { background: #fff; border-radius: 20px; box-shadow: 0 0 0 1px rgba(37, 31, 30, .045); }
.ip-fila { display: flex; align-items: center; gap: 18px; min-height: 60px; padding: 0 22px; border-top: 1px solid var(--ip-linea); }
.ip-fila > span { flex: 1; min-width: 0; font-size: 17px; color: var(--ip-tinta-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ip-fila > span b { color: var(--ip-tinta); font-weight: 600; }
.ip-fila > span small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--ip-tinta-2); }
.ip-fila > svg { width: 17px; height: 17px; color: var(--ip-tinta-3); }
.ip-h { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ip-sin { padding: 3px 11px; border-radius: 999px; background: var(--ip-ocre-bg); color: var(--ip-ocre); font: 500 14px/1.2 var(--ip-sans); font-style: normal; white-space: nowrap; }
.ip-muerde { display: inline-block; width: 0; height: 0; margin: 0 2px; border: 7px solid transparent; border-bottom: 12px solid #c8372d; border-top: 0; vertical-align: 1px; }
.ip-bot { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 999px; background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(37, 31, 30, .16); font: 500 16.5px/1 var(--ip-sans); color: var(--ip-tinta); white-space: nowrap; }
.ip-bot svg { width: 19px; height: 19px; }
.ip-wa { background: var(--ip-wa); box-shadow: none; color: #0b2c17; }
.ip-pino { background: var(--ip-pino); color: #fff; box-shadow: none; font-weight: 600; }
.ip-redondo { position: relative; width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 4px rgba(37, 31, 30, .12); }
.ip-redondo svg { width: 20px; height: 20px; }
.ip-redondo > b, .ip-campana > b { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #b0221f; color: #fff;
  font: 700 11.5px/20px var(--ip-sans); text-align: center; }
.ip-tit { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.ip-tit h3 { font: 500 34px/1.1 var(--ip-sans); letter-spacing: -.015em; }
.ip-tit .ip-tit-campana { margin-left: auto; }
.ip-boton { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--ip-pino); color: #fff;
  font: 600 17px/1 var(--ip-sans); }
.ip-boton.ip-sec { background: #fff; color: var(--ip-tinta); font-weight: 500; box-shadow: inset 0 0 0 1.5px rgba(37, 31, 30, .16); }
.ip-boton svg { width: 20px; height: 20px; }
.ip-etq { display: block; margin: 16px 4px 8px; font-size: 15px; font-weight: 600; color: var(--ip-tinta-2); }
.ip-lista { background: #fff; border-radius: 18px; overflow: hidden; }
.ip-velo { position: absolute; inset: 0; z-index: 7; background: rgba(23, 28, 26, .4); opacity: 0; }
.ip-velo.on { opacity: 1; }
.ip-pantalla .k-hueco::before { border-radius: 24px; }
.ip-personas { display: flex; flex-wrap: wrap; gap: 8px; }
.ip-personas b, .ag-pers b { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 6px; border-radius: 999px; background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(37, 31, 30, .12); font-size: 16px; font-weight: 500; }
.ip-personas b i, .ag-pers b i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 11.5px/1 var(--ip-sans); font-style: normal; color: #10201a; }
.pe-at i { background: var(--pe-at); } .pe-lm i { background: var(--pe-lm); } .pe-nf i { background: var(--pe-nf); }
.ip-personas b.on { box-shadow: inset 0 0 0 2px var(--ip-pino); background: var(--ip-sel); font-weight: 600; }

/* Sin movimiento, el dedo no se pinta: cada paso sale entero y quieto */
html:not(.movimiento) .k-dedo { display: none; }

/* Lo que entra en otra pantalla: una página encima de la escena */
.ip-pagina { position: absolute; inset: 0 0 0 262px; z-index: 3; padding: 22px 26px 40px; background: var(--ip-fondo); opacity: 0; }

/* ═══ El reproductor en oscuro, los subtítulos en una línea y sin verse vacío (MAX, 07/11) ═══════════════════════════
   «Venimos de la pantalla de la aplicación, que es más oscurita»: el grafito verdoso de la página App (v6.css,
   .estilo-noche), sin nubes. «No me gusta que los subtítulos salgan en dos líneas… en un apartado tan grande»: una sola
   línea (v6/js/tour.js parte la frase en trozos que caben) y la franja baja de 150 a 84 px, que gana la pantalla. Y «que no
   se vea tan vacío, pero que se vaya desvelando»: ?revela=a (la pantalla entera, apagada, y cada parte se enciende cuando
   la voz la nombra) y ?revela=b (un esqueleto gris, como una app que carga, que se vuelve lo de verdad; la de partida). */
.tr { color: #fff; background: radial-gradient(120% 90% at 50% 0%, #2f3633 0%, #232926 55%, #1c211f 100%); }
.tr::backdrop { background: #232926; }
.tr-cielo { display: none; }
.tr-titulo { color: rgba(255, 255, 255, .6); }
.tr-titulo b { color: #fff; }
.tr-simbolo { color: #8fc2a8; }
.tr-boton { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.tr-boton:hover { background: rgba(255, 255, 255, .15); }
.tr-pausa { background: #447a61; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 22px -10px rgba(0, 0, 0, .7); }
.tr-pausa:hover { background: #4f8a6e; }
.tr-capitulos button { color: rgba(255, 255, 255, .5); }
.tr-capitulos button:hover, .tr-capitulos [aria-current="step"] { color: #fff; }
.tr-tiempo { color: rgba(255, 255, 255, .55); }
.tr-boton:focus-visible, .tr-capitulos button:focus-visible { outline-color: #8fc2a8; }

/* La barra para ir adelante y atrás (JOSEP, 28/11: «como en YouTube»; v6/js/tour.js, «La barra»). Debajo de los nombres de
   los capítulos: un tramo por capítulo, lo hecho en verde, y el tirador. Se pulsa o se arrastra en cualquier punto (con el
   dedo, sin que la página se mueva: touch-action), y mientras se arrastra o con el ratón encima, un globo dice el minuto y el
   capítulo. El alto que se toca, 26 px (32 en el teléfono), aunque la línea sea de 4. */
.tr-linea { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tr-linea .tr-capitulos { flex: none; }
.tr-capitulos button { padding-bottom: 2px; }
.tr-barra { position: relative; height: 26px; flex: none; cursor: pointer; touch-action: none; outline: none; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.tr-barra-pista { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; display: flex; gap: 6px; transition: height .15s ease, margin-top .15s ease; }
.tr-barra-pista i { position: relative; flex: var(--span, 10) 1 0; min-width: 0; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.tr-barra-pista.alineada i { flex: none; }
.tr-barra-pista i::after { content: ""; position: absolute; inset: 0; background: #8fc2a8; transform-origin: 0 50%; transform: scaleX(var(--hecho, 0)); }
.tr-barra:hover .tr-barra-pista, .tr-barra.arrastrando .tr-barra-pista, .tr-barra:focus-visible .tr-barra-pista { height: 6px; margin-top: -3px; }
.tr-barra-tirador { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .45); pointer-events: none; transition: width .15s ease, height .15s ease, margin .15s ease; }
.tr-barra:hover .tr-barra-tirador, .tr-barra.arrastrando .tr-barra-tirador { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.tr-barra:focus-visible .tr-barra-tirador { box-shadow: 0 0 0 3px #8fc2a8, 0 1px 4px rgba(0, 0, 0, .45); }
.tr-barra-globo { position: absolute; left: 0; bottom: calc(100% + 2px); padding: 5px 9px; border-radius: 8px; background: #0f1412; color: #fff; white-space: nowrap;
  font: 500 .8125rem/1 var(--sans, system-ui); font-variant-numeric: tabular-nums; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .6); opacity: 0; pointer-events: none; transition: opacity .12s ease; }
.tr-barra-globo.on { opacity: 1; }
.tr-barra:not(:hover):not(.arrastrando) .tr-barra-globo { opacity: 0; }
@media (max-width: 899px), (orientation: portrait) {
  .tr-linea { order: -1; flex: 1 1 100%; }
  .tr-capitulos button { padding-bottom: 0; }
  .tr-barra { height: 32px; margin-top: -2px; }
  .tr-barra-pista { gap: 4px; }
  .tr-barra-tirador { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .tr-linea { order: 0; flex: 1 1 auto; }
  .tr-barra { height: 26px; margin-top: 0; }
  /* el móvil tumbado de más de 900 px: los nombres no caben (once de 72 px como poco) y se salían por la derecha; se
     deslizan, como en vertical, y la barra va por lo que dura cada capítulo */
  .tr-capitulos { overflow-x: auto; scrollbar-width: none; }
  .tr-capitulos::-webkit-scrollbar { display: none; }
  .tr-capitulos ol { gap: 14px; width: max-content; }
  .tr-capitulos li { flex: none; min-width: 0; }
}
.tr-marco { background: #2a302d; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .04), 0 2px 6px rgba(0, 0, 0, .25), 0 44px 70px -42px rgba(0, 0, 0, .75); }
.ip-pantalla { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 3px 8px rgba(0, 0, 0, .3), 0 40px 70px -34px rgba(0, 0, 0, .8); }
.k-lienzo { --subs-alto: 84px; }
.k-subs { align-items: center; gap: 18px; padding: 0 64px 8px; }
.k-subs-texto { font: 500 34px/1.2 var(--serif); color: #fff; white-space: nowrap; text-wrap: nowrap; max-width: none; }
.k-subs-texto span { opacity: .3; }
.k-voz { width: 46px; height: 30px; margin-top: 0; gap: 5px; padding-bottom: 6px; border-radius: 18px 18px 9px 9px; background: #447a61; }
.k-voz i { width: 5px; height: 14px; }
.k-voz i:nth-child(2) { height: 18px; }
.k-lienzo:not(.h) { --subs-alto: 92px; }
.k-lienzo:not(.h) .k-subs { padding: 0 18px 6px; gap: 12px; }
.k-lienzo:not(.h) .k-subs-texto { font-size: 26px; }
.k-lienzo:not(.h) .k-voz { width: 40px; height: 27px; }
html[data-revela="a"] .ip-pantalla .k-hueco::before { display: none; }
html[data-revela="b"] .ip-pantalla .k-hueco::before { inset: 0; border: 0; border-radius: 20px;
  background: linear-gradient(#e5e2dc, #e5e2dc) 24px 24px / min(38%, 300px) 18px no-repeat,
              linear-gradient(#ebe8e2, #ebe8e2) 24px 56px / min(24%, 190px) 14px no-repeat, #faf9f6; }
html[data-revela="b"] .ip-pantalla .h-cab::before { border-radius: 26px;
  background: linear-gradient(rgba(255, 255, 255, .28), rgba(255, 255, 255, .28)) 28px 30px / 34% 28px no-repeat,
              linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)) 28px 72px / 20% 15px no-repeat, #8fa39a; }
html[data-revela="b"] .ip-pantalla .h-semana::before { border-radius: 18px;
  background: repeating-linear-gradient(90deg, #faf9f6 0 calc((100% - 72px) / 7), transparent 0 calc((100% - 72px) / 7 + 12px)); }
html[data-revela="b"] .ip-pantalla .ip-ag .h-semana::before, html[data-revela="b"] .ip-pantalla .h-dia::before { display: none; }   /* la agenda, plana (MAX, 07/11) */

/* ═══ TU DÍA (Inicio) ═══ */
.ip-ini { display: flex; flex-direction: column; gap: 12px; }
.ip-cab { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "saludo acciones" "pildoras acciones"; align-items: start; column-gap: 24px;
  padding: 22px 28px 20px; border-radius: 26px; background: var(--ip-pino); color: #fff; }
.ip-saludo { grid-area: saludo; }
.ip-saludo h3 { font: 700 38px/1.05 var(--ip-sans); letter-spacing: -.015em; }
.ip-saludo p { margin-top: 6px; font-size: 16px; color: rgba(255, 255, 255, .8); }
.ip-pildoras { grid-area: pildoras; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ip-pildoras > span { display: inline-flex; align-items: center; gap: 7px; height: 33px; padding: 0 13px; border-radius: 999px; background: #fff; color: var(--ip-tinta); font: 500 14.5px/1 var(--ip-sans); }
.ip-pildoras svg { width: 15px; height: 15px; color: #33648e; }
.ip-pildoras .p-avisos svg, .ip-pildoras .p-tareas svg { color: var(--ip-tinta-2); }
.ip-pildoras .p-aus svg { color: var(--ip-ocre); }
.ip-pildoras i { font: 700 13px/1 var(--ip-sans); font-style: normal; color: var(--ip-ocre); }
.ip-acciones { grid-area: acciones; display: flex; align-items: flex-start; gap: 22px; }
.ip-acciones > span { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 14.5px; color: rgba(255, 255, 255, .92); }
.ip-acciones i { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); font-style: normal; }
.ip-acciones i svg { width: 22px; height: 22px; }
.ip-euro { font: 600 24px/1 var(--ip-sans); }
.ip-avisos { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .22); }
.ip-avisos i { position: relative; background: #fff; color: var(--ip-tinta); }
.ip-avisos i b { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #b0221f; color: #fff;
  font: 700 12.5px/22px var(--ip-sans); text-align: center; }
.ip-campana { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); }
.ip-campana svg { width: 23px; height: 23px; }
.ip-semana { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 11px; }
.ip-semana > span { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 12px 6px 11px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(37, 31, 30, .045); }
.ip-semana small { font-size: 14.5px; font-weight: 600; color: var(--ip-tinta-2); }
.ip-semana b { font: 700 31px/1.15 var(--ip-sans); }
.ip-semana em { font-size: 12.5px; font-style: normal; color: var(--ip-tinta-2); }
.ip-semana i { width: 56%; height: 4px; margin-top: 9px; border-radius: 3px; background: linear-gradient(90deg, var(--ip-pino) calc(var(--r) * 100%), #e7e5e0 0); }
.ip-semana .hoy { background: var(--ip-pino); box-shadow: none; }
.ip-semana .hoy small, .ip-semana .hoy b, .ip-semana .hoy em { color: #fff; }
.ip-semana .hoy i { background: linear-gradient(90deg, #fff calc(var(--r) * 100%), rgba(255, 255, 255, .25) 0); }
.ip-semana .cerrado b { color: var(--ip-tinta-3); }
.ip-par { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.ip-ahora { display: grid; grid-template-columns: 1fr auto; align-items: baseline; row-gap: 3px; column-gap: 16px; padding: 15px 20px 18px 22px; border-radius: 20px; background: #fff;
  box-shadow: inset 4px 0 0 var(--ip-entra), 0 0 0 1px rgba(37, 31, 30, .045); }
.ip-et { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ip-entra); }
.ip-et i { width: 7px; height: 7px; border-radius: 50%; background: var(--ip-entra); }
.ip-quien { font-size: 20px; color: var(--ip-tinta-2); }
.ip-quien b { color: var(--ip-tinta); font-weight: 600; }
.ip-desde { justify-self: end; font-size: 14.5px; color: var(--ip-tinta-2); }
.ip-bots { grid-column: 1 / -1; display: flex; gap: 10px; margin-top: 10px; }
.ip-bots .ip-bot { flex: 1; min-width: 0; height: 42px; }
.ip-prox { position: relative; display: grid; grid-template-columns: 1fr auto; align-content: center; row-gap: 6px; padding: 14px 52px 16px 26px; border-radius: 20px; background: #dcefe3;
  box-shadow: inset 0 0 0 1px rgba(62, 92, 80, .22); }
.ip-prox small { font-size: 14.5px; color: var(--ip-tinta-2); }
.ip-prox-serv { justify-self: end; }
.ip-prox span { grid-column: 1 / -1; font-size: 21px; color: var(--ip-tinta-2); }
.ip-prox span b { color: var(--ip-tinta); font-weight: 600; }
.ip-prox .ip-hora { font-size: 24px; font-weight: 500; margin-right: 4px; }
.ip-prox > svg { position: absolute; right: 22px; top: 50%; margin-top: -4px; width: 17px; height: 17px; color: var(--ip-tinta-3); }
.ip-dias { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; align-items: stretch; }
.ip-dias > .k-hueco, .ip-dias .ip-dia { height: 100%; }
.ip-dia { display: flex; flex-direction: column; }
.ip-dia header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 22px 10px; }
.ip-dia h4 { font: 500 20px/1.2 var(--ip-sans); }
.ip-dia header small { font-size: 14px; color: var(--ip-tinta-2); }
.ip-dia .ip-fila { margin: 0 0 0 22px; padding-left: 0; }
.ip-ver { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 14px; border-top: 1px solid var(--ip-linea); margin-left: 22px; padding-left: 0;
  font-size: 16px; font-weight: 500; color: var(--ip-pino); }
.ip-ver svg { width: 16px; height: 16px; color: var(--ip-tinta-2); }

/* ═══ TUS CLIENTES (Importar) ═══ */
.ip-imp { left: 262px; right: 0; display: flex; flex-direction: column; align-items: center; }
.ip-imp > * { width: 680px; }
.ip-imp-caja { position: relative; }
.ip-imp-b, .ip-imp-c { position: absolute; left: 0; right: 0; top: 0; opacity: 0; }
.ip-subir { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px 18px 22px; }
.ip-subir-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #dff0e6; color: var(--ip-entra); font-style: normal; }
.ip-subir-ic svg { width: 25px; height: 25px; }
.k-mesa .ip-subir-tit { font-size: 19px; font-weight: 500; margin-bottom: 2px; }
.ip-subir .ip-boton { align-self: stretch; }
.ip-salidas { margin-top: 16px; }
.ip-salidas > span { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; }
.ip-salidas > span + span { border-top: 1px solid var(--ip-linea); }
.ip-salidas small { font-size: 14px; color: var(--ip-tinta-2); }
.ip-salidas b { font-size: 16.5px; font-weight: 600; color: var(--ip-pino); }
.ip-leyendo { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; }
.ip-leyendo h4 { font: 600 22px/1.2 var(--ip-sans); }
.ip-progreso { height: 8px; border-radius: 4px; background: #e6e4df; overflow: hidden; }
.ip-progreso i { display: block; height: 100%; background: var(--ip-pino); transform-origin: 0 50%; transform: scaleX(0); }
.ip-leidas { display: grid; font-size: 16px; font-weight: 500; }
.ip-leidas > span { grid-area: 1 / 1; opacity: 0; }
.ip-leidas .l0 { opacity: 1; }
.ip-leyendo p { font-size: 14.5px; color: var(--ip-tinta-2); }
.ip-imp-cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.ip-imp-cab h4 { font: 600 27px/1.15 var(--ip-sans); letter-spacing: -.01em; }
.ip-imp-cab small { display: block; margin-top: 4px; font-size: 14.5px; color: var(--ip-tinta-2); }
.ip-imp-cab .ip-boton { height: 42px; font-size: 15px; }
.ip-fichas li { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 46px 14px 20px; }
.ip-fichas li + li { border-top: 1px solid var(--ip-linea); }
.ip-fichas li b { font-size: 17.5px; font-weight: 600; }
.ip-fichas li span { font-size: 15.5px; }
.ip-fichas li em { font-size: 14px; font-style: normal; color: var(--ip-tinta-2); }
.ip-fichas li svg { position: absolute; right: 18px; top: 50%; margin-top: -7px; width: 14px; height: 14px; color: var(--ip-tinta-3); }
.ip-importar { margin-top: 16px; }
/* Las fichas en papel, fotografiadas */
.ip-papeles { position: absolute; z-index: 4; left: calc(262px + (100% - 262px) / 2 + 220px); top: 130px; width: 250px; height: 300px; pointer-events: none; }
.ip-ficha-papel { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: 6px; background: #fbf6e8;
  background-image: repeating-linear-gradient(#fbf6e8 0 31px, #d9cfb4 31px 32px); background-position: 0 18px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 18px 34px -16px rgba(40, 30, 10, .45); font: italic 400 19px/22px var(--serif); color: #2d3b6b; opacity: 0; }
.ip-ficha-papel b { font-weight: 600; font-style: italic; }
/* la inclinación, con rotate y translate sueltos: la animación (transform) no la pisa */
.ip-ficha-papel.p1 { rotate: -4deg; } .ip-ficha-papel.p2 { rotate: 3deg; translate: 14px 8px; } .ip-ficha-papel.p3 { rotate: -1deg; translate: -10px 14px; }

/* ═══ DAR UNA CITA: la hoja («¿Quién viene?» → «¿Qué le hago?» → «¿Qué día, a qué hora?») ═══ */
.ip-fondo { pointer-events: none; }
.ip-hoja { position: absolute; left: calc(262px + (100% - 262px) / 2 - 300px); top: 18px; bottom: 18px; z-index: 8; width: 600px; display: flex; flex-direction: column;
  border-radius: 28px; background: var(--ip-fondo); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45); overflow: hidden; }
.ip-hoja-cab { position: relative; flex: none; height: 66px; display: flex; align-items: center; justify-content: center; padding: 0 16px; }
.ip-cancelar, .ip-atras { position: absolute; left: 14px; top: 12px; height: 42px; display: grid; place-items: center; padding: 0 18px; border-radius: 999px; background: #fff;
  font-size: 16.5px; color: var(--ip-pino); box-shadow: 0 1px 4px rgba(37, 31, 30, .1); }
.ip-atras { width: 42px; padding: 0; opacity: 0; }
.ip-preg { position: relative; display: grid; font-size: 18.5px; font-weight: 600; }
.ip-preg span, .ip-pasos small span, .ip-hoja-boton span, .hq-nueva, .hq-roger { grid-area: 1 / 1; }
.ip-preg .q2, .ip-preg .q3, .n2, .n3, .hb-sig, .hb-hora, .hb-crear, .hq-roger { opacity: 0; }
.ip-hoja-quien { flex: none; padding: 2px 20px 0; }
.ip-hoja-quien > b { display: grid; font-size: 17.5px; font-weight: 600; }
.ip-hoja-quien > b small { font-weight: 400; color: var(--ip-tinta-2); }
.hq-serv { display: block; min-height: 20px; font-size: 14.5px; color: var(--ip-tinta-2); opacity: 0; }
.hq-dia { opacity: 0; }
.ip-pasos { display: flex; align-items: center; gap: 7px; margin-top: 6px; }
.ip-pasos small { display: grid; font-size: 13.5px; font-weight: 600; white-space: nowrap; margin-right: 6px; }
.ip-pasos i { flex: 1; height: 4px; border-radius: 2px; background: #e2dfd9; overflow: hidden; position: relative; }
.ip-pasos i::after { content: ""; position: absolute; inset: 0; background: var(--ip-pino); transform: scaleX(0); transform-origin: 0 50%; }
.ip-pasos i.on::after { transform: scaleX(1); transition: transform .5s ease; }
.ip-hoja-cuerpo { position: relative; flex: 1; min-height: 0; margin-top: 8px; }
.ip-p1, .ip-p2, .ip-p3 { position: absolute; inset: 0; padding: 4px 16px; }
.ip-p2, .ip-p3 { opacity: 0; }
.ip-seg { display: flex; padding: 4px; border-radius: 999px; background: #fff; }
.ip-seg b { flex: 1; height: 42px; display: grid; place-items: center; border-radius: 999px; font-size: 16px; font-weight: 500; color: var(--ip-tinta-2); }
.ip-seg b.on { background: var(--ip-pino); color: #fff; font-weight: 600; }
.ip-buscar { position: relative; display: flex; align-items: center; gap: 11px; height: 52px; margin: 12px 0 6px; padding: 0 18px; border-radius: 16px; background: #fff; font-size: 17px; }
.ip-buscar svg { width: 20px; height: 20px; color: var(--ip-tinta-3); }
.ip-guia { color: var(--ip-tinta-3); }
.ip-escrito:not(:empty) + .ip-guia { display: none; }
.ip-escrito:not(:empty)::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--ip-pino); }
.ip-recientes > small, .ip-resultados > small { display: block; padding: 12px 16px 6px; font-size: 14.5px; font-weight: 600; color: var(--ip-tinta-2); background: var(--ip-fondo); }
.ip-recientes { position: relative; }
.ip-resultados { position: absolute; left: 16px; right: 16px; top: 126px; opacity: 0; }
.ip-res { display: flex; align-items: center; gap: 13px; min-height: 64px; padding: 8px 16px; border-top: 1px solid var(--ip-linea); background: #fff; }
.ip-res b { flex: 1; display: flex; flex-direction: column; font-size: 17px; font-weight: 600; }
.ip-res b small { font-size: 14px; font-weight: 400; color: var(--ip-tinta-2); }
.ip-res b em { font-size: 13.5px; font-style: normal; font-weight: 500; color: #c8372d; }
.ip-res > svg { width: 16px; height: 16px; color: var(--ip-tinta-3); }
.ip-elegido { position: absolute; left: 16px; right: 16px; top: 66px; opacity: 0; }
.ip-elegido .ip-res { border-radius: 18px; border: 0; }
.ip-cambiar { font-size: 15.5px; font-style: normal; font-weight: 600; color: var(--ip-pino); }
.ip-masc { display: flex; gap: 9px; padding: 12px; border-radius: 18px 18px 0 0; background: #fff; }
.ip-masc b { height: 40px; display: grid; place-items: center; padding: 0 18px; border-radius: 999px; font-size: 15.5px; font-weight: 600; box-shadow: inset 0 0 0 1.5px rgba(37, 31, 30, .14); }
.ip-masc b.on { background: var(--ip-pino); color: #fff; box-shadow: none; }
.ip-alerta { display: flex; align-items: center; gap: 7px; padding: 12px 16px 16px; border-top: 1px solid var(--ip-linea); border-radius: 0 0 18px 18px; background: #fff; font-size: 15px; color: #c8372d; }
.ip-alerta b { font-weight: 700; }
.ip-p2 .ip-etq:first-child { margin-top: 2px; }
.ip-serv { position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 7px 10px 7px 18px; border-top: 1px solid var(--ip-linea); }
.ip-serv:first-child { border-top: 0; }
.ip-serv b { flex: 1; display: flex; flex-direction: column; font-size: 16.5px; font-weight: 600; }
.ip-serv b small { font-size: 13.5px; font-weight: 400; color: var(--ip-tinta-2); }
.ip-serv i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ip-pino); font-style: normal; }
.ip-serv .ip-serv-mas { background: #f1f0ec; }
.ip-serv i svg { width: 19px; height: 19px; }
.ip-serv-ok { position: absolute; right: 56px; opacity: 0; }
.ip-serv.on .ip-serv-ok { opacity: 1; }
.ip-serv.on .ip-serv-mas { visibility: hidden; }
.ip-serv.on { background: var(--ip-sel); }
.ip-tyc { margin-top: 12px; opacity: 0; }
.ip-tyc-cab { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 8px; font-size: 15.5px; }
.ip-tyc-cab b { font-weight: 600; }
.ip-tyc-cab svg { width: 16px; height: 16px; color: var(--ip-tinta-2); }
.ip-tyc-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ip-numero { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 4px; padding: 12px 16px; border-radius: 16px; background: #fff; }
.ip-numero small { font-size: 14.5px; color: var(--ip-tinta-2); }
.ip-numero b { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ip-numero em { grid-column: 1 / -1; font-size: 13px; font-style: normal; color: var(--ip-tinta-2); }
.ip-dias-cita { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; padding: 10px; border-radius: 18px; background: #fff; }
.ip-dias-cita > span { display: flex; flex-direction: column; align-items: center; padding: 8px 0 7px; border-radius: 13px; box-shadow: inset 0 0 0 1.5px rgba(37, 31, 30, .1); }
.ip-dias-cita small { font-size: 13px; font-weight: 500; color: var(--ip-tinta-2); }
.ip-dias-cita b { font: 600 22px/1.2 var(--ip-sans); }
.ip-dias-cita em { font-size: 11.5px; font-style: normal; color: var(--ip-tinta-3); }
.ip-dias-cita .cerrado { background: #f1f0ec; box-shadow: none; }
.ip-dias-cita .cerrado b { color: var(--ip-tinta-3); }
.ip-dias-cita .d-elige.on { background: var(--ip-pino); box-shadow: none; }
.ip-dias-cita .d-elige.on small, .ip-dias-cita .d-elige.on b, .ip-dias-cita .d-elige.on em { color: #fff; }
.ip-otro-dia { display: flex; align-items: center; justify-content: space-between; height: 50px; margin-top: 8px; padding: 0 16px; border-radius: 14px; background: #fff; font-size: 15.5px; }
.ip-otro-dia b { display: grid; font-weight: 500; font-variant-numeric: tabular-nums; } .ip-otro-dia b span { grid-area: 1 / 1; } .ip-otro-dia .od-12 { opacity: 0; }
.ip-horas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; padding: 12px; border-radius: 18px; background: #fff; }
.ip-horas b { height: 46px; display: grid; place-items: center; border-radius: 13px; background: #f1f0ec; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ip-horas b.on { background: var(--ip-pino); color: #fff; }
.ip-hoja-boton { flex: none; display: grid; place-items: center; height: 56px; margin: 10px 16px 16px; border-radius: 999px; background: var(--ip-pino); color: #fff; font-size: 17px; font-weight: 600; }

/* ═══ LA AGENDA ═══ */
.ip-pantalla .ip-ag { padding: 14px 18px 30px; }
.ag-cab { display: flex; align-items: center; gap: 14px; height: 56px; margin-bottom: 6px; }
.ag-x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 4px rgba(37, 31, 30, .12); }
.ag-x svg { width: 19px; height: 19px; }
.ag-cab h3 { font: 500 33px/1 var(--ip-sans); letter-spacing: -.015em; }
.ag-flechas { display: flex; gap: 14px; color: var(--ip-tinta-2); } .ag-flechas svg { width: 19px; height: 19px; }
.ag-rango { font-size: 18px; color: var(--ip-tinta-2); }
.ag-rango b { font-weight: 600; color: var(--ip-tinta); }
.ag-der { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ag-seg { display: flex; padding: 3px; border-radius: 999px; background: #e6e4df; }
.ag-seg b { height: 36px; display: grid; place-items: center; padding: 0 16px; border-radius: 999px; font-size: 15.5px; font-weight: 600; color: var(--ip-tinta-2); }
.ag-seg b.on { background: var(--ip-pino); color: #fff; }
.ag-der > i { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 4px rgba(37, 31, 30, .12); }
.ag-der > i svg { width: 19px; height: 19px; }
.ag-campana b { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; border-radius: 10px; background: #b0221f; color: #fff; font: 700 11px/19px var(--ip-sans); text-align: center; }
.ag-rejilla { position: relative; display: grid; grid-template-columns: 54px repeat(6, minmax(0, 1fr)); padding-top: 50px; }
.ag-horas { position: relative; }
.ag-horas small { position: absolute; left: 4px; transform: translateY(-50%); font-size: 12px; color: var(--ip-tinta-3); font-variant-numeric: tabular-nums; }
.ag-horas small::after { content: ""; position: absolute; left: calc(100% + 6px); top: 50%; width: 3000px; height: 1px; background: rgba(37, 31, 30, .07); }
.ag-rejilla { overflow: hidden; }
.ag-ahora { position: absolute; left: 0; z-index: 3; transform: translateY(-50%); padding: 2px 6px; border-radius: 7px; background: #c0391f; color: #fff; font: 700 11.5px/1.2 var(--ip-sans); }
.ag-col { position: relative; border-left: 1px solid var(--ip-linea); }
.ag-col header { position: absolute; left: 0; right: 0; top: -50px; height: 46px; display: flex; flex-direction: column; justify-content: center; padding: 0 12px; border-radius: 10px; }
.ag-col header b { font-size: 16.5px; font-weight: 700; }
.ag-col header small { font-size: 12px; color: var(--ip-tinta-2); white-space: nowrap; }
.ag-col.hoy header { margin: 0 4px; background: var(--ip-pino); }
.ag-col.hoy header b, .ag-col.hoy header small { color: #fff; }
.ag-col header { transition: background-color .25s ease; }
.ag-col header.ag-luz { background: var(--ip-tinte); }
.ag-col.hoy header.ag-luz { background: var(--ip-pino-osc); }
.ag-dia { position: relative; }
.ag-pasado { position: absolute; left: 0; right: 0; top: 0; background: rgba(37, 31, 30, .035); }
.ag-linea { position: absolute; left: 0; right: -1px; z-index: 3; height: 2px; margin-top: -1px; background: #c0391f; }
.ag-cita { position: absolute; display: flex; flex-direction: column; gap: 1px; padding: 6px 8px 0 11px; border-radius: 9px; overflow: hidden; background: #e3f3ec;
  box-shadow: inset 3px 0 0 #2f9e6e, inset 0 0 0 1px rgba(47, 158, 110, .35); }
.ag-cita b { display: block; padding-right: 24px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-cita b .ag-hora { display: block; font-size: 12.5px; font-weight: 600; color: var(--ip-tinta); }
.ag-cita > small { font-size: 12px; color: var(--ip-tinta-2); line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ag-cita em { font-size: 11.5px; font-weight: 600; font-style: normal; color: var(--ip-sale); }
.ag-cita em.ag-cerrar { color: var(--ip-ocre); }
/* Las citas cortas (media hora o menos): la hora junto al nombre y la raza en una línea, para que quepan sin pisarse con las
   iniciales (JOSEP, 28/11: la de Tofu, a las 08:30, se montaba). */
.ag-cita.corta { gap: 0; padding-top: 4px; }
.ag-cita.corta b .ag-hora { display: inline; margin-right: 5px; font-size: inherit; }
.ag-cita.corta > small { -webkit-line-clamp: 1; padding-right: 22px; }
.ag-cita.corta em { line-height: 1.2; }
.ag-cita.sin { background: #f6e1d9; box-shadow: inset 3px 0 0 #b8452c, inset 0 0 0 1px rgba(184, 69, 44, .3); }
.ag-cita.marcha { box-shadow: inset 3px 0 0 #2f9e6e, inset 0 0 0 1.5px rgba(5, 150, 105, .6); }
.ag-quien { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--q, #d6e3dc);
  font-size: 9.5px; font-weight: 700; font-style: normal; color: #10201a; letter-spacing: -.02em; }
.ag-quien.q-at { --q: var(--pe-at); } .ag-quien.q-lm { --q: var(--pe-lm); } .ag-quien.q-nf { --q: var(--pe-nf); }
.ag-car { display: inline-block; width: 7px; height: 7px; margin-left: 5px; border-radius: 50%; vertical-align: 2px; }
.ag-car.c-verde { background: #0ca20c; } .ag-car.c-amarillo { background: #b48406; } .ag-car.c-rojo { background: #ae1e1e; } .ag-car.c-morado { background: #783c9c; }
.ag-libre { position: absolute; left: 3px; right: 3px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; background: #e9f0fa;
  box-shadow: inset 0 0 0 1.5px rgba(80, 120, 190, .32); outline: 1.5px dashed rgba(80, 120, 190, .4); outline-offset: -1.5px; font-size: 13px; font-weight: 600; color: #3b63a8; text-align: center; }
.ag-libre svg { width: 13px; height: 13px; }
.ag-comida { position: absolute; left: 3px; right: 3px; z-index: 2; display: flex; align-items: center; padding-left: 9px; border-radius: 6px; font-size: 11.5px; color: var(--ip-tinta-2);
  background: repeating-linear-gradient(135deg, #e6e4de 0 5px, #efede9 5px 10px); box-shadow: inset 0 0 0 1px rgba(37, 31, 30, .06); }
.ag-bloqueo { position: absolute; padding: 8px; border-radius: 9px; font-size: 12px; color: var(--ip-tinta-2); background: repeating-linear-gradient(135deg, #e6e4de 0 5px, #f1efea 5px 10px); }
/* La agenda del teléfono: el día */
.ag-tel-cab { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 12px; }
.ag-tel-cab h3 { font: 500 33px/1 var(--ip-sans); letter-spacing: -.015em; }
.ag-tel-cab .ag-seg { padding: 4px; background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 31, 30, .1); }
.ag-tel-cab .ag-seg b { height: 40px; padding: 0 18px; font-size: 17px; }
.ag-mes { display: block; font-size: 16.5px; font-weight: 500; color: var(--ip-tinta-2); }
.ag-tira { display: grid; grid-template-columns: repeat(7, 1fr); margin: 12px 0 14px; }
.ag-tira > span { display: flex; flex-direction: column; align-items: center; padding: 8px 0 6px; border-radius: 14px; }
.ag-tira small { font-size: 14.5px; color: var(--ip-tinta-2); }
.ag-tira b { font: 500 27px/1.2 var(--ip-sans); }
.ag-tira i { height: 10px; font-size: 13px; line-height: 8px; font-style: normal; letter-spacing: 1px; color: var(--ip-pino); }
.ag-tira .on { background: var(--ip-pino); }
.ag-tira .on small, .ag-tira .on b, .ag-tira .on i { color: #fff; }
.ag-tira .cerrado b, .ag-tira .cerrado small { color: var(--ip-tinta-3); }
.ag-pers { display: flex; gap: 7px; margin-bottom: 12px; }
.ag-pers b { height: 40px; font-size: 15px; padding-right: 13px; }
.ag-pers b:first-child { padding: 0 14px; }
.ag-pers b.on { background: var(--ip-pino); color: #fff; box-shadow: none; font-weight: 700; }
.ag-cuenta { display: grid; font-size: 15.5px; color: var(--ip-tinta-2); }
.ag-cuenta > span { grid-area: 1 / 1; } .ag-cuenta .c-11 { opacity: 0; }
.ag-cuenta b { color: var(--ip-tinta); font-weight: 600; }
.ag-tel-rejilla { position: relative; display: grid; grid-template-columns: 50px 1fr; margin-top: 8px; padding-top: 12px; overflow: hidden; }
.ag-tel-rejilla .ag-horas { border-right: 1px solid var(--ip-linea); }
.ag-tel-rejilla .ag-horas small { font-size: 13px; }
.ag-tel-rejilla .ag-dia { grid-area: 1 / 2; }
.ag-tel-rejilla .t-11 { opacity: 0; }
.ag-tel-rejilla .ag-linea { left: -50px; }
.ag-tel-rejilla .ag-cita b { font-size: 15.5px; } .ag-tel-rejilla .ag-cita b .ag-hora { display: inline; margin-right: 5px; font-size: 15.5px; }
.ag-tel-rejilla .ag-cita > small { font-size: 13.5px; }
.ag-tel-rejilla .ag-libre { font-size: 14.5px; }
.ag-tel-rejilla .ag-quien { width: 26px; height: 26px; font-size: 11px; }

/* ═══ LA FICHA de Zeus ═══ */
.ip-fi { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 30px; align-items: start; }
.ip-fi-izq { display: flex; flex-direction: column; gap: 12px; }
.ip-fi-barra { display: flex; justify-content: space-between; color: var(--ip-tinta); }
.ip-fi-barra svg { width: 24px; height: 24px; }
.ip-zeus { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: -10px; }
.ip-zeus-foto { width: 128px; height: 128px; border-radius: 50%; overflow: hidden; background: #dbe6f3; }
.ip-zeus-foto img, .ip-masc-carta > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip-zeus-nombre { display: flex; align-items: center; gap: 10px; margin-left: 46px; }
.ip-zeus h3 { font: 600 36px/1.1 var(--ip-sans); }
.ip-lapiz { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 4px rgba(37, 31, 30, .12); font-style: normal; }
.ip-lapiz svg { width: 16px; height: 16px; }
.ip-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ip-zeus .ip-chips > span { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 31, 30, .12);
  font-size: 15.5px; font-weight: 500; }
.ip-zeus .ip-chips svg { width: 16px; height: 16px; color: var(--ip-pino); }
.ip-zeus .ip-chips b { font-size: 15px; color: var(--ip-pino); }
.ip-zeus .ip-chips .facil { background: #d8edd8; box-shadow: inset 0 0 0 1px rgba(31, 154, 60, .45); }
.ip-zeus .ip-chips .facil i { width: 9px; height: 9px; border-radius: 50%; background: #1f9a3c; }
.ip-zeus .ip-chips .muerde { background: #f8dedb; box-shadow: inset 0 0 0 1px rgba(200, 55, 45, .4); color: var(--ip-rojo); }
.ip-fi-fila { display: flex; align-items: center; gap: 18px; min-height: 62px; padding: 8px 20px; border-top: 1px solid var(--ip-linea); }
.ip-fi-fila:first-child { border-top: 0; }
.ip-fi-fila > small { width: 84px; font-size: 16px; color: var(--ip-tinta-2); }
.ip-fi-fila b { flex: 1; display: flex; flex-direction: column; font-size: 16.5px; font-weight: 600; }
.ip-fi-fila b small { font-size: 15px; font-weight: 400; color: var(--ip-tinta-2); }
.ip-fi-fila > svg { width: 16px; height: 16px; color: var(--ip-tinta-3); }
.ip-fi-fila.on { background: var(--ip-sel); }
.ip-fi-medio { position: relative; display: flex; flex-direction: column; align-items: center; padding: 14px; }
.ip-fi-medio b { font: 600 22px/1.15 var(--ip-sans); font-variant-numeric: tabular-nums; }
.ip-fi-medio small { font-size: 15px; color: var(--ip-tinta-2); }
.ip-reloj { position: absolute; right: 18px; top: 50%; margin-top: -19px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ip-tinte); color: var(--ip-pino); opacity: 0; }
.ip-reloj svg { width: 19px; height: 19px; }
.ip-fi-notas header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 4px; }
.ip-fi-notas h4 { font: 600 17px/1.2 var(--ip-sans); }
.ip-fi-notas header span { font-size: 16px; font-weight: 600; color: var(--ip-pino); }
.ip-fi-notas p { padding: 6px 20px 16px; font-size: 16px; line-height: 1.4; }
.ip-fi-der { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 54px; }
.ip-fi-der h4 { flex: 1 1 100%; font: 600 20px/1.2 var(--ip-sans); }
.ip-fi-der h4 small { display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin-left: 6px; border-radius: 999px; background: #e6e4df; font-size: 13px; vertical-align: 2px; }
.ip-masc-carta { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 196px; padding: 16px 10px; border-radius: 20px; background: #fff; text-align: center; }
.ip-masc-carta > img { width: 66px; height: 66px; flex: none; border-radius: 50%; margin-bottom: 4px; }
.ip-masc-carta b { font-size: 18px; font-weight: 600; }
.ip-masc-carta small { font-size: 14px; color: var(--ip-tinta-2); }
.ip-masc-carta .punto { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #1f9a3c; vertical-align: 1px; }
.ip-masc-carta em { margin-top: 3px; padding: 2px 10px; border-radius: 999px; background: #fbe4e1; color: var(--ip-rojo); font-size: 13.5px; font-style: normal; font-weight: 600; }
.ip-masc-carta.on { box-shadow: inset 0 0 0 2px var(--ip-pino); }
.ip-masc-carta.nueva { justify-content: center; background: none; outline: 2px dashed rgba(37, 31, 30, .16); outline-offset: -2px; color: var(--ip-pino); }
.ip-masc-carta.nueva i { font-size: 26px; font-style: normal; font-weight: 300; }
.ip-masc-carta.nueva b { font-size: 16px; }

/* ═══ MENSAJES ═══ */
.ip-me { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 30px; align-items: start; }
.ip-me .ip-tit { grid-column: 1 / -1; margin-bottom: 8px; }
.ip-me-h { font: 600 23px/1.2 var(--ip-sans); }
.ip-me-h em { display: inline-grid; place-items: center; min-width: 30px; height: 26px; margin-left: 6px; padding: 0 8px; border-radius: 999px; background: var(--ip-pino); color: #fff;
  font-size: 14px; font-style: normal; vertical-align: 3px; }
.k-mesa .ip-me-sub { margin: 4px 0 12px; font-size: 14.5px; color: var(--ip-tinta-2); }
.ip-me-prog { position: relative; display: flex; justify-content: space-between; padding-bottom: 12px; margin-bottom: 10px; font-size: 14.5px; color: var(--ip-tinta-2); }
.ip-me-prog i { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 2px; background: #e2dfd9; }
.ip-grande { display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 12px; }
.ip-grande-cab { display: flex; align-items: center; gap: 14px; }
.ip-grande-cab .ip-av { width: 48px; height: 48px; font-size: 19px; }
.ip-grande-cab b { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 17px; font-weight: 600; }
.ip-grande-cab b small { font-size: 14.5px; font-weight: 400; color: var(--ip-tinta-2); }
.ip-grande-cab b strong { font-weight: 600; color: var(--ip-tinta); }
.ip-grande-cab > span { align-self: flex-start; font-size: 16px; }
.ip-mandar-grande { display: flex; align-items: center; justify-content: center; gap: 9px; height: 50px; border-radius: 14px; background: var(--ip-wa); color: #0b2c17; font-size: 17px; font-weight: 500; }
.ip-mandar-grande svg { width: 19px; height: 19px; }
.ip-grande-pie { display: flex; justify-content: space-between; font-size: 13px; color: var(--ip-tinta-2); }
.ip-grande-pie u { color: var(--ip-tinta); }
.ip-grande-pie small { margin-right: 32%; }
.k-mesa .ip-me-h2 { margin: 18px 0 10px; font: 600 20px/1.2 var(--ip-sans); }
.ip-me-fila { display: flex; align-items: center; gap: 13px; min-height: 58px; padding: 6px 12px 6px 14px; border-top: 1px solid var(--ip-linea); }
.ip-me-fila:first-child { border-top: 0; }
.ip-me-fila .ip-av { width: 34px; height: 34px; font-size: 14px; }
.ip-me-fila > b:not(.ip-h) { flex: 1; display: flex; flex-direction: column; font-size: 16px; font-weight: 600; }
.ip-me-fila > b small { font-size: 15px; font-weight: 400; color: var(--ip-tinta-2); }
.ip-mandar { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--ip-wa); color: #0b2c17; font-size: 15px; font-weight: 500; }
.ip-mandar svg { width: 16px; height: 16px; }
.ip-salio { display: flex; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(37, 31, 30, .045); }
.ip-salio > span { flex: 0 0 46%; display: flex; align-items: center; gap: 10px; padding: 12px 12px; border-right: 1px solid var(--ip-linea); }
.ip-salio .ip-av { width: 30px; height: 30px; font-size: 12px; }
.ip-salio b { display: flex; flex-direction: column; font-size: 14px; font-weight: 500; white-space: nowrap; }
.ip-salio b small { font-size: 13.5px; font-weight: 400; color: var(--ip-tinta-2); }
.k-mesa .ip-me-nota { display: flex; gap: 8px; margin: 14px 4px 0; font-size: 12.5px; color: var(--ip-tinta-2); }
.ip-me-nota svg { width: 15px; height: 15px; flex: none; }
.ip-me-nota b, .ip-me-ajustes { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--ip-pino); }
.ip-me-nota b svg { width: 14px; height: 14px; }
.ip-conf-fila { display: grid; grid-template-columns: 82px 40px 1fr auto; align-items: center; gap: 12px; padding: 7px 12px 7px 14px; }
.ip-conf-fila:not(.sigue) { border-top: 1px solid var(--ip-linea); }
.ip-conf-fila:first-child { border-top: 0; }
.ip-conf-fila > small { display: flex; flex-direction: column; font-size: 13px; color: var(--ip-tinta-2); }
.ip-conf-fila > small b { font-size: 14px; font-weight: 600; color: var(--ip-tinta); }
.ip-conf-fila > i:empty { width: 34px; }
.ip-conf-fila .ip-av { width: 34px; height: 34px; font-size: 14px; }
.ip-conf-fila > b { display: flex; flex-direction: column; font-size: 15.5px; font-weight: 600; }
.ip-conf-fila > b small { font-size: 15px; font-weight: 400; color: var(--ip-tinta-2); }
.ip-conf-fila > b em { font-size: 11px; font-style: normal; font-weight: 400; color: var(--ip-tinta-2); }
.ip-pestanas { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: #e9e7e2; box-shadow: inset 0 0 0 1px rgba(37, 31, 30, .06); margin-bottom: 10px; }
.ip-pestanas b { height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-size: 17px; font-weight: 600; color: var(--ip-tinta-2); }
.ip-pestanas b i { min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: rgba(37, 31, 30, .1); font-size: 13px; font-style: normal; line-height: 22px; text-align: center; }
.ip-pestanas b.on { background: var(--ip-pino); color: #fff; }
.ip-pestanas b.on i { background: rgba(255, 255, 255, .22); }
/* El WhatsApp que se abre */
.ip-wa-chat { position: absolute; right: 120px; top: 22px; bottom: 22px; z-index: 8; aspect-ratio: 9 / 19.3; display: flex; flex-direction: column; border-radius: 50px; overflow: hidden;
  background: #efeae2; box-shadow: 0 0 0 6px #121413, 0 0 0 7.5px #4a4f4c, 0 40px 80px -20px rgba(0, 0, 0, .6); opacity: 0; }
.ip-wa-estado { flex: none; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 6px 28px 0; background: #f6f5f3; font-size: 15px; }
.ip-wa-estado b { font-weight: 600; }
.ip-isla { width: 100px; height: 28px; border-radius: 16px; background: #0d0e0e; }
.ip-wa-estado span { width: 40px; }
.ip-wa-chat header { display: flex; align-items: center; gap: 10px; padding: 8px 14px 12px; background: #f6f5f3; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.ip-wa-chat header > svg { width: 22px; height: 22px; color: #128c7e; }
.ip-wa-chat header .ip-av { width: 36px; height: 36px; font-size: 14px; }
.ip-wa-chat header b { display: flex; flex-direction: column; font-size: 17px; font-weight: 600; }
.ip-wa-chat header b small { font-size: 13px; font-weight: 400; color: var(--ip-tinta-2); }
.ip-wa-fondo { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: #efeae2 radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .05) 1px, transparent 1.5px) 0 0 / 16px 16px; }
.ip-wa-burbuja { align-self: flex-end; max-width: 94%; padding: 10px 12px; border-radius: 14px 4px 14px 14px; background: #d9fdd3; font-size: 14.5px; line-height: 1.36; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.ip-wa-chat footer { display: flex; align-items: center; gap: 10px; padding: 10px 12px 24px; background: #f6f5f3; }
.ip-wa-chat footer span { flex: 1; height: 44px; display: flex; align-items: center; padding: 0 16px; border-radius: 999px; background: #fff; font-size: 16px; color: var(--ip-tinta-3); }
.ip-wa-enviar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; }
.ip-wa-enviar svg { width: 22px; height: 22px; }
/* Las hojas que salen encima: «Qué sale solo» y el Excel para el gestor */
.ip-dialogo { position: absolute; left: calc(262px + (100% - 262px) / 2 - 290px); top: 40px; z-index: 9; width: 580px; padding: 0 18px 20px; border-radius: 26px; background: var(--ip-fondo);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); opacity: 0; }
.ip-dialogo > header { position: relative; display: flex; align-items: center; justify-content: center; height: 66px; margin: 0 -4px; }
.ip-dialogo > header b { font-size: 18px; font-weight: 600; text-align: center; }
.ip-dia-sale { position: absolute; left: 0; height: 40px; display: grid; place-items: center; padding: 0 16px; border-radius: 999px; background: #fff; font-size: 15.5px; color: var(--ip-pino); box-shadow: 0 1px 4px rgba(37, 31, 30, .1); }
.ip-dia-ok { position: absolute; right: 0; height: 40px; display: grid; place-items: center; padding: 0 18px; border-radius: 999px; background: var(--ip-pino); color: #fff; font-size: 15.5px; font-weight: 600; }
.ip-ss-texto { padding: 14px 16px; border-radius: 16px; background: #fff; font-size: 15.5px; line-height: 1.4; }
.ip-ss-texto b { font-weight: 700; }
.ip-ss-numero { position: relative; }
.ip-ss-lista { margin-top: 12px !important; border-radius: 16px; background: #fff; overflow: hidden; }
.ip-ss-lista li { display: flex; align-items: center; gap: 14px; padding: 11px 16px; }
.ip-ss-lista li + li { border-top: 1px solid var(--ip-linea); }
.ip-ss-lista li > span { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.ip-ss-lista b { font-size: 16px; font-weight: 600; }
.ip-ss-lista small { font-size: 13.5px; color: var(--ip-tinta-2); }
.ip-inter { position: relative; width: 50px; height: 30px; flex: none; border-radius: 999px; background: #d8d5cf; font-style: normal; }
.ip-inter::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s ease; }
.ip-inter.on { background: var(--ip-entra); }
.ip-inter.on::after { transform: translateX(20px); }
.k-mesa .ip-ss-nota { margin: 12px 6px 0; font-size: 13px; line-height: 1.4; color: var(--ip-tinta-2); }

/* ═══ CERRAR Y COBRAR, y DINERO ═══ */
.ip-co-fondo { position: absolute; inset: 0; z-index: 3; }
.ip-co-fondo .ip-velo { z-index: 7; }
.ip-modal { position: absolute; left: calc(262px + (100% - 262px) / 2 - 300px); top: 60px; z-index: 8; width: 600px; border-radius: 26px; background: var(--ip-fondo); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .45); overflow: hidden; }
.ip-modal header { position: relative; display: flex; align-items: center; justify-content: center; height: 64px; }
.ip-modal h4 { font: 600 18px/1.2 var(--ip-sans); }
.ip-cerrar-x { position: absolute; left: 14px; top: 11px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 4px rgba(37, 31, 30, .1); }
.ip-cerrar-x svg { width: 18px; height: 18px; }
.ip-modal-cuerpo { position: relative; min-height: 400px; padding: 0 20px 10px; }
.ip-resumen { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: 16px; background: #fff; font-size: 16px; }
.ip-resumen b { font-weight: 400; } .ip-resumen strong { font-weight: 700; }
.ip-resumen small { font-size: 14px; color: var(--ip-tinta-2); }
.ip-barras { display: flex; align-items: center; gap: 7px; margin: 12px 0 6px; }
.ip-barras small { display: grid; margin-right: 6px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.ip-barras small span { grid-area: 1 / 1; } .ip-barras .pa2 { opacity: 0; }
.ip-barras i { flex: 1; height: 4px; border-radius: 2px; background: #e2dfd9; position: relative; overflow: hidden; }
.ip-barras i::after { content: ""; position: absolute; inset: 0; background: var(--ip-pino); transform: scaleX(0); transform-origin: 0 50%; }
.ip-barras i.on::after { transform: scaleX(1); transition: transform .45s ease; }
.ip-co-a, .ip-co-b { position: absolute; left: 20px; right: 20px; top: 118px; }
.ip-co-b { opacity: 0; }
.k-mesa .ip-pregunta { font: 600 25px/1.2 var(--ip-sans); margin-bottom: 12px; }
.ip-importe { display: flex; align-items: center; justify-content: space-between; height: 62px; padding: 0 20px; border-radius: 16px; background: #fff; font: 600 30px/1 var(--ip-sans); font-variant-numeric: tabular-nums; }
.ip-importe small { font-size: 21px; color: var(--ip-tinta-2); }
.ip-co-serv { display: flex; justify-content: space-between; margin: 14px 4px 10px; font-size: 15px; }
.ip-co-serv b { font-weight: 500; }
.ip-co-serv em { font-style: normal; font-weight: 600; color: var(--ip-pino); }
.ip-chip-ok { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: #e1f2e6; color: #1f7a3c; font-size: 13.5px; font-weight: 600; }
.ip-chip-ok svg { width: 13px; height: 13px; }
.k-mesa .ip-co-pista { margin-top: 12px; font-size: 13.5px; line-height: 1.4; color: var(--ip-tinta-2); }
.ip-co-pista b { font-weight: 600; color: var(--ip-tinta); }
.ip-co-sub { display: block; margin: -4px 0 14px; font-size: 14.5px; color: var(--ip-tinta-2); }
.ip-formas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ip-formas b { height: 54px; display: grid; place-items: center; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(37, 31, 30, .12); font-size: 17px; font-weight: 600; }
.ip-formas .ip-sin-anotar { grid-column: 1 / -1; height: 48px; font-size: 15.5px; font-weight: 500; }
.ip-formas b.on { background: var(--ip-pino); color: #fff; box-shadow: none; }
.ip-modal footer { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px 18px; }
.ip-modal footer .ip-bot { min-width: 140px; height: 48px; }
.ip-di { opacity: 1; }
.ip-di-tit { position: absolute; right: 26px; top: 16px; margin: 0; }
.ip-di-cab { display: flex; align-items: center; justify-content: space-between; margin-top: 50px; padding: 22px 28px; border-radius: 26px; background: var(--ip-pino); color: #fff; }
.ip-di-izq { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; }
.ip-di-cab h3 { font: 700 38px/1.1 var(--ip-sans); letter-spacing: -.015em; }
.ip-mes { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 16px; font-weight: 600; }
.ip-mes svg { width: 15px; height: 15px; }
.ip-di-queda { grid-column: 1 / -1; display: flex; flex-direction: column; margin-top: 6px; }
/* con aire y redondeado, para que el foco no lo enmarque a ras de las cifras (el margen negativo deja todo en su sitio) */
.ip-di-queda { justify-self: start; border-radius: 14px; padding: 4px 12px 6px; margin: 2px -12px -6px; }
.ip-di-queda small { font-size: 14px; color: rgba(255, 255, 255, .78); }
.ip-queda { display: block; font: 700 38px/1.1 var(--ip-sans); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ip-di-bots { display: flex; gap: 22px; }
.ip-di-bots > span { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; }
.ip-di-bots > span:nth-child(n+3) { font-weight: 400; color: rgba(255, 255, 255, .85); }
.ip-di-bots i { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); font: 300 34px/1 var(--ip-sans); font-style: normal; }
.ip-di-bots i.blanco { background: #fff; color: var(--ip-tinta); }
.ip-di-bots i svg { width: 22px; height: 22px; }
.ip-di-tres { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 13px; margin-top: 13px; }
.ip-di-es { display: grid; grid-template-columns: 1fr 1fr; padding: 22px 20px 16px; min-height: 226px; align-content: center; column-gap: 14px; }
.ip-di-es > span:not(.ip-mesbar) { display: flex; flex-direction: column; gap: 4px; }
.ip-sale { padding-left: 16px; border-left: 1px solid var(--ip-linea); }
.ip-di-es small { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ip-tinta-2); }
.ip-di-es small svg { width: 14px; height: 14px; }
.ip-entra small svg, .ip-entra b { color: var(--ip-entra); } .ip-sale small svg, .ip-sale b { color: var(--ip-sale); }
.ip-di-es b { font: 700 23px/1.2 var(--ip-sans); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ip-mesbar { grid-column: 1 / -1; height: 4px; margin-top: 30px; border-radius: 3px; background: #e6e4df; overflow: hidden; }
.ip-mesbar i { display: block; width: 33%; height: 100%; background: var(--ip-entra); transform-origin: 0 50%; }
.ip-dia-de { grid-column: 1 / -1; margin-top: 8px; font-size: 12.5px !important; }
.ip-di-aro { display: flex; flex-direction: column; align-items: center; padding: 18px 20px; min-height: 226px; text-align: center; }
.ip-di-aro header { align-self: stretch; display: flex; justify-content: space-between; font-size: 16px; font-weight: 500; }
.ip-di-aro header svg { width: 15px; height: 15px; color: var(--ip-tinta-3); }
.ip-pantalla .ip-aro { width: 104px; height: 104px; margin: 12px 0 10px; transform: rotate(-90deg); }
.ip-aro circle { fill: none; stroke-width: 6; }
.ip-di-aro small { font-size: 15px; } .ip-di-aro b { font-size: 18px; font-weight: 600; }
.ip-di-movs { margin-top: 13px; }
.ip-di-movs header { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px 6px; }
.ip-di-movs h4 { font: 500 19px/1.2 var(--ip-sans); }
.ip-di-movs header span { display: flex; align-items: center; gap: 4px; font-size: 15.5px; font-weight: 500; color: var(--ip-pino); }
.ip-di-movs header svg { width: 15px; height: 15px; }
.ip-mov { display: grid; grid-template-columns: 96px 40px 1fr auto; align-items: center; gap: 14px; min-height: 60px; padding: 4px 22px; border-top: 1px solid var(--ip-linea); }
.ip-mov > small { font-size: 14px; font-weight: 500; color: var(--ip-tinta-2); }
.ip-mov > i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.ip-mov > i svg { width: 14px; height: 14px; }
.ip-mov > i.entra { background: var(--ip-entra-pastel); color: var(--ip-entra); } .ip-mov > i.sale { background: var(--ip-sale-pastel); color: var(--ip-sale); }
.ip-mov b { display: flex; flex-direction: column; font-size: 16px; font-weight: 500; }
.ip-mov b small { font-size: 14px; font-weight: 400; color: var(--ip-tinta-2); }
.ip-mov em { font-size: 16.5px; font-weight: 500; font-style: normal; }
.ip-mov em.entra { color: var(--ip-entra); } .ip-mov em.sale { color: var(--ip-sale); }
.ip-velo-excel, .ip-velo-solo { z-index: 8; }
.ip-excel-dlg { width: 560px; left: calc(262px + (100% - 262px) / 2 - 280px); top: 120px; }
.ip-excel-dlg > header b { padding-left: 90px; }
.ip-periodos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; border-radius: 16px; background: #fff; }
.ip-periodos b { height: 44px; display: grid; place-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(37, 31, 30, .12); font-size: 15.5px; font-weight: 500; }
.ip-periodos b.on { background: var(--ip-pino); color: #fff; box-shadow: none; font-weight: 600; }
.k-mesa .ip-excel-frase { margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: #fff; font-size: 15.5px; line-height: 1.4; }
.ip-excel-frase strong { font-weight: 700; }
.ip-exportar { margin-top: 14px; }

/* ═══ EL EQUIPO, Horario (teléfono) y Tareas ═══ */
.ip-eq-cab h3 { margin-right: 2px; }
.ip-eq-cuantos { padding: 4px 12px; border-radius: 999px; background: #e6e4df; font-size: 14px; font-weight: 500; color: var(--ip-tinta-2); }
.ip-eq-cab .ip-invitar { margin-left: auto; height: 44px; }
.ip-eq-cab .ip-invitar + .ip-tit-campana { margin-left: 0; }
.ip-eq-cartas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ip-persona { position: relative; display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; row-gap: 5px; padding: 20px 46px 18px 20px; align-content: start; }
.ip-persona > :not(.ip-av) { grid-column: 2; }
.ip-persona .ip-av { grid-row: 1 / span 3; width: 52px; height: 52px; font-size: 17px; }
.ip-persona > b { font-size: 19px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.ip-persona .ip-chips { justify-content: flex-start; gap: 7px; }
.ip-persona .ip-chips > span { padding: 3px 11px; border-radius: 999px; background: #ecebe6; font-size: 13.5px; font-weight: 500; color: var(--ip-tinta-2); }
.ip-persona .ip-chips > .ip-resp { background: var(--ip-tinte); color: var(--ip-pino-osc); }
.ip-permisos, .ip-papel { font-size: 14.5px; color: var(--ip-tinta); }
.ip-papel { color: var(--ip-tinta-2); }
.ip-permisos em, .ip-papel em { font-style: normal; }
.k-ve { display: inline-block; }
.ip-persona p { font-size: 14px; line-height: 1.45; color: var(--ip-tinta-2); }
.k-subraya { padding: 0 2px; margin: 0 -2px; border-radius: 4px; background: linear-gradient(rgba(143, 194, 168, .42), rgba(143, 194, 168, .42)) 0 0 / 0 100% no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size .5s ease; }
.k-subraya.on { background-size: 100% 100%; color: var(--ip-tinta); }
.ip-hoy-citas { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--ip-linea); }
.ip-hoy-citas b { font-size: 15.5px; font-weight: 500; } .ip-hoy-citas strong { font-size: 15.5px; font-weight: 500; } .ip-hoy-citas small { font-size: 14px; color: var(--ip-tinta-2); }
.ip-persona > svg { position: absolute; right: 20px; top: 70px; width: 16px; height: 16px; color: var(--ip-tinta-3); }
.ip-tu { padding: 2px 10px; border-radius: 999px; background: #ecebe6; font-size: 13px; font-weight: 500; color: var(--ip-tinta-2); }
.ip-cuantos { margin-top: 14px; }
.ip-cuantos > small { display: block; margin: 0 0 8px 14px; font-size: 15px; font-weight: 500; color: var(--ip-tinta-2); }
.ip-cuantos-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px; border-radius: 20px; background: #fff; }
.ip-cuantos-seg b { height: 44px; display: grid; place-items: center; background: #eeede9; font-size: 16px; font-weight: 500; }
.ip-cuantos-seg b:first-child { border-radius: 999px 0 0 999px; } .ip-cuantos-seg b:last-child { border-radius: 0 999px 999px 0; }
.ip-cuantos > em { display: block; margin: 8px 0 0 14px; font-size: 13.5px; font-style: normal; color: var(--ip-tinta-2); }
.ip-aus { margin-top: 14px; overflow: hidden; }
.ip-aus header { display: flex; align-items: center; gap: 16px; padding: 18px 22px 14px; background: #fbf8ee; }
.ip-campana-aus { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #f2ecd6; color: var(--ip-ocre); font-style: normal; }
.ip-aus header b { display: flex; flex-direction: column; font-size: 21px; font-weight: 600; }
.ip-aus header b small { font-size: 14px; font-weight: 400; color: var(--ip-tinta-2); }
.ip-aus-fila { display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 8px 20px; border-top: 1px solid var(--ip-linea); }
.ip-sol { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #f8eed6; color: #b68412; font-style: normal; }
.ip-sol svg { width: 18px; height: 18px; }
.ip-aus-fila > b { flex: 1; display: block; font-size: 16.5px; font-weight: 500; }
.ip-aus-fila b small, .ip-hor-fila b small { display: inline; font-weight: 400; color: var(--ip-tinta-2); }
.ip-aus-cuando { display: block !important; font-size: 13.5px; }
.ip-aus-fila > em { padding: 3px 12px; border-radius: 999px; background: #f6eedb; color: var(--ip-ocre); font-size: 13.5px; font-style: normal; font-weight: 500; }
.ip-rechazar { font-size: 16px; font-weight: 500; padding: 0 14px; color: var(--ip-tinta-2); }
.ip-aceptar { display: grid; height: 46px; padding: 0 18px; place-items: center; border-radius: 14px; background: var(--ip-pino-osc); color: #fff; font-size: 16px; font-weight: 600; }
.ip-aceptar span { grid-area: 1 / 1; display: flex; align-items: center; gap: 6px; }
.ip-aceptar svg { width: 16px; height: 16px; }
.ip-aceptar .a2 { opacity: 0; }
.ip-aceptar.on { background: var(--ip-entra); }
.ip-aceptar.on .a1 { opacity: 0; } .ip-aceptar.on .a2 { opacity: 1; }
.ip-ta-cab .ip-nueva { margin-left: auto; height: 44px; border-radius: 12px; }
.ip-ta-cab .ip-nueva + .ip-tit-campana { margin-left: 0; }
.ip-ta-filtros { display: flex; gap: 8px; margin-bottom: 14px; }
.ip-ta-filtros > span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(37, 31, 30, .06); font-size: 16.5px; font-weight: 500; }
.ip-ta-filtros > span small { font-size: 15px; color: var(--ip-tinta-2); }
.ip-av.mini { width: 32px; height: 32px; font-size: 11px; background: #e3eee7; color: var(--ip-pino-osc); }
.ip-av.mini svg { width: 15px; height: 15px; }
.ip-ta-hoy header { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 22px 10px; }
.ip-ta-hoy h4 { font: 600 23px/1.2 var(--ip-sans); }
.ip-ta-hoy header small { font-size: 14px; font-weight: 500; color: var(--ip-tinta-2); }
.ip-ta-barra { display: block; height: 5px; margin: 0 22px 8px; border-radius: 3px; background: #ebe9e4; }
.ip-tarea { display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 8px 20px; border-top: 1px solid var(--ip-linea); }
.ip-circulo { width: 30px; height: 30px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px #3e4f48; font-style: normal; }
.ip-tarea > b { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 16.5px; font-weight: 500; }
.ip-tarea > b small { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 400; color: var(--ip-tinta-2); }
.ip-tarea > b small em { font-style: normal; color: var(--ip-rojo); }
.ip-tarea .ip-av.mini { width: 22px; height: 22px; font-size: 8.5px; }
.ip-tarea .ip-av.mini svg { width: 12px; height: 12px; }
.ip-tarde { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #c0261c; vertical-align: 2px; }
.t-quien { position: relative; }
.t-cada { display: inline-flex; align-items: center; gap: 4px; }
.t-cada svg { width: 13px; height: 13px; }
.k-mesa .ip-ta-sec { font: 600 19px/1.2 var(--ip-sans); margin: 18px 4px 10px; }
.ip-ta-sec small { color: var(--ip-tinta-2); font-size: 17px; font-weight: 500; }
.ip-ta-dia { display: block; padding: 12px 20px 0; font-size: 13.5px; font-weight: 500; color: var(--ip-tinta-2); }
.ip-ta-prox .ip-tarea { border-top: 0; }

/* ═══ FORMACIÓN ═══ */
.ip-fo { background: #f3f2ee; }
.fo-cab { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 70px; display: flex; align-items: center; gap: 24px; padding: 0 130px; background: var(--ip-pino); color: #fff; }
.fo-marca { display: flex; align-items: center; gap: 10px; }
.fo-marca svg { width: 30px; height: 30px; }
.fo-marca .fo-palabra { width: 128px; height: 25px; }
.fo-marca i { width: 1px; height: 28px; margin: 0 8px; background: rgba(255, 255, 255, .35); }
.fo-marca b { font-size: 19px; font-weight: 600; }
.fo-buscar { flex: 1; max-width: 560px; height: 42px; display: flex; align-items: center; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 15px; color: rgba(255, 255, 255, .7); }
.fo-iconos { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.fo-iconos > i { position: relative; font-style: normal; }
.fo-iconos > i svg { width: 24px; height: 24px; }
.fo-iconos > i b { position: absolute; top: -8px; right: -9px; min-width: 19px; height: 19px; border-radius: 10px; background: #fff; color: var(--ip-pino); font: 700 11px/19px var(--ip-sans); text-align: center; }
.fo-yo { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ip-pino); font: 700 17px/1 var(--ip-sans); }
.fo-pestanas { position: absolute; left: 0; right: 0; top: 70px; z-index: 2; height: 54px; display: flex; gap: 36px; padding: 0 130px; background: #fff; box-shadow: 0 1px 0 var(--ip-linea); }
.fo-pestanas span { display: flex; align-items: center; font-size: 16.5px; color: var(--ip-tinta-2); }
.fo-pestanas .on { color: var(--ip-tinta); font-weight: 600; box-shadow: inset 0 -3px 0 var(--ip-pino); }
.ip-pantalla.ip-fo .fo-cont { inset: 124px 130px auto; padding: 24px 0 40px; }
.fo-sigue { display: flex; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(37, 31, 30, .05), 0 6px 18px -10px rgba(37, 31, 30, .25); }
.fo-sigue-foto { position: relative; width: 400px; flex: none; aspect-ratio: 16 / 9; }
.fo-sigue-foto img, .fo-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fo-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ip-pino); opacity: 0; }
.fo-play svg { width: 28px; height: 28px; margin-left: 4px; }
.fo-sigue-texto { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px 34px; }
.fo-sigue-texto small { font-size: 15px; font-weight: 700; color: var(--ip-pino-osc); }
.fo-sigue-texto b { font: 700 30px/1.1 var(--ip-sans); }
.fo-sigue-texto em { font-size: 16px; font-style: normal; color: var(--ip-tinta-2); font-variant-numeric: tabular-nums; }
.fo-barra { width: 420px; height: 6px; border-radius: 3px; background: #ecebe6; overflow: hidden; }
.fo-barra i { display: block; width: 100%; height: 100%; background: var(--ip-pino); transform-origin: 0 50%; transform: scaleX(.35); }
.fo-seguir { align-self: flex-start; margin-top: 6px; height: 44px; display: grid; place-items: center; padding: 0 24px; border-radius: 999px; background: var(--ip-pino); color: #fff; font-size: 16.5px; font-weight: 700; }
.fo-chips { display: flex; flex-wrap: nowrap; gap: 9px; margin-top: 22px; }
.fo-chips b { height: 40px; display: grid; place-items: center; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 31, 30, .12); font-size: 15px; font-weight: 500; white-space: nowrap; }
.fo-chips b.on { background: var(--ip-pino); color: #fff; box-shadow: none; font-weight: 600; }
.fo-formadores { position: absolute; right: 0; top: 271px; height: 40px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 31, 30, .12); font-size: 15px; }
.fo-formadores svg { width: 15px; height: 15px; }
.fo-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.fo-video { border-radius: 20px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(37, 31, 30, .05), 0 6px 18px -10px rgba(37, 31, 30, .25); }
.fo-foto { position: relative; display: block; aspect-ratio: 16 / 9; }
/* «Nuevo», junto a la categoría y no encima de la foto: las miniaturas llevan «CLASE N» y el título arriba a la
   izquierda, y la etiqueta los tapaba (aviso de Max, 30 nov). */
.fo-nuevo { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--ip-pino); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; line-height: 1.4; vertical-align: 1px; }
.fo-foto small { position: absolute; right: 10px; bottom: 10px; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 12px; font-weight: 600; }
.fo-visto { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .5); }
.fo-visto i { display: block; width: 35%; height: 100%; background: var(--ip-pino); }
.fo-video-texto { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 16px; }
.fo-video-texto > small { font-size: 14px; font-weight: 700; color: var(--ip-pino-osc); }
.fo-video-texto > b { font-size: 19px; font-weight: 700; }
.fo-video-texto > span { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 14.5px; font-weight: 500; }
.fo-video-texto > span i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e3eee7; color: var(--ip-pino-osc); font: 700 12px/1 var(--ip-sans); font-style: normal; }
.fo-video-texto > span em { margin-left: auto; font-style: normal; font-weight: 400; color: var(--ip-tinta-2); }
.fo-abajo { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 84px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 0 10px 6px;
  background: #fff; box-shadow: 0 -1px 0 var(--ip-linea); }
.fo-abajo span { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 30px; border-radius: 30px; font-size: 13.5px; font-weight: 500; color: var(--ip-tinta-2); }
.fo-abajo span svg { width: 26px; height: 26px; }
.fo-abajo .on { background: var(--ip-pino); color: #fff; padding: 10px 44px; }

/* ═══ AYUDA: Sky ═══ */
.sky { position: absolute; right: 0; top: 0; bottom: 0; z-index: 9; width: 470px; display: flex; flex-direction: column; background: var(--ip-fondo);
  box-shadow: -1px 0 0 var(--ip-linea), -30px 0 60px -30px rgba(0, 0, 0, .35); opacity: 0; }
.sky-cab { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; box-shadow: 0 1px 0 var(--ip-linea); }
.sky-signo { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ip-pino); color: #fff; font-style: normal; }
.sky-signo svg { width: 24px; height: 24px; }
.sky-cab > span { flex: 1; display: flex; flex-direction: column; }
.sky-cab > span b { font-size: 17px; font-weight: 600; }
.sky-cab > span small { font-size: 13px; color: var(--ip-tinta-2); }
.sky-boton { width: 40px; height: 40px; display: grid; place-items: center; color: var(--ip-tinta-2); font-style: normal; }
.sky-boton svg { width: 19px; height: 19px; }
.sky-cuerpo { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; overflow: hidden; }
.k-mesa .sky-nota { margin: 0 8px; font-size: 13px; line-height: 1.4; color: var(--ip-tinta-2); text-align: center; }
.sky-suyo { align-self: flex-start; display: flex; flex-direction: column; gap: 10px; max-width: 92%; padding: 13px 14px; border-radius: 16px 16px 16px 4px; background: #fff;
  box-shadow: 0 0 0 1px var(--ip-linea); font-size: 15.5px; line-height: 1.42; }
.sky-mio { align-self: flex-end; max-width: 82%; padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: #e1f0e7; color: var(--ip-pino-osc); font-size: 15.5px; opacity: 0; }
.sky-rapidas { display: flex; flex-wrap: wrap; gap: 7px; }
.sky-rapidas b { padding: 5px 13px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 31, 30, .14); font-size: 14px; font-weight: 400; }
.sky-escribe { position: absolute; flex-direction: row; gap: 5px; padding: 14px 16px; opacity: 0; }
.sky-escribe span { width: 7px; height: 7px; border-radius: 50%; background: var(--ip-tinta-3); }
.sky-respuesta { opacity: 0; }
.sky-respuesta ol { display: flex; flex-direction: column; gap: 6px; padding-left: 22px !important; list-style: decimal !important; }
.sky-respuesta li { padding-left: 2px; }
.sky-respuesta b { font-weight: 700; }
.sky-ir { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; padding: 7px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--ip-pino); color: var(--ip-pino);
  font-size: 14px; font-weight: 600; }
.sky-ir svg { width: 15px; height: 15px; }
.sky-pie { display: flex; align-items: center; gap: 10px; padding: 12px 14px 16px; background: #fff; box-shadow: 0 -1px 0 var(--ip-linea); }
.sky-pie span { flex: 1; height: 44px; display: flex; align-items: center; padding: 0 14px; border-radius: 14px; background: var(--ip-fondo); font-size: 15px; color: var(--ip-tinta-3); }
.sky-pie i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ip-pino); color: #fff; font-style: normal; }

/* ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
   EL TELÉFONO (`.k-lienzo:not(.h)`): sin la barra de la izquierda, con la de abajo y el «+» encima; la escala, la del móvil
   de 390 px por 1,15. Lo que va solo en una composición lleva k-solo-h o k-solo-v (v5/css/tour.css).
   ════════════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
.k-lienzo:not(.h) .ip-pantalla { inset: 8px 8px 4px; border-radius: 26px; font-size: 17px; }
.k-lienzo:not(.h) .ip-pantalla .k-cont, .k-lienzo:not(.h) .ip-fondo, .k-lienzo:not(.h) .ip-pagina { left: 0; right: 0; padding: 14px 14px 110px; }
.k-lienzo:not(.h) .ip-pagina { bottom: 0; }
.k-lienzo:not(.h) .ip-tit { margin-bottom: 12px; }
.k-lienzo:not(.h) .ip-tit h3 { flex: 1; font-size: 22px; font-weight: 600; text-align: center; }
.k-lienzo:not(.h) .ip-tit .ip-redondo { width: 50px; height: 50px; }
/* Donde a la derecha no hay botón (Importar, Mensajes), un hueco del ancho del de volver, para que el título quede en el
   centro de verdad (JOSEP, 28/11). */
.k-lienzo:not(.h) .ip-tit-hueco { flex: none; width: 50px; }
/* Inicio: la cabecera verde de lado a lado, con la campana arriba y los avisos debajo de los botones */
.k-lienzo:not(.h) .ip-pantalla .ip-ini { padding: 0 12px 110px; gap: 12px; }
.k-lienzo:not(.h) .ip-ini .h-cab { margin: 0 -12px; }
.k-lienzo:not(.h) .ip-cab { grid-template-columns: 1fr; grid-template-areas: "saludo" "acciones" "pildoras"; padding: 30px 20px 22px; border-radius: 0 0 32px 32px; }
.k-lienzo:not(.h) .ip-saludo h3 { font-size: 40px; padding-right: 54px; }
.k-lienzo:not(.h) .ip-saludo p { font-size: 17px; }
.k-lienzo:not(.h) .ip-acciones { justify-content: space-around; gap: 0; margin-top: 26px; }
.k-lienzo:not(.h) .ip-acciones > span { font-size: 17px; gap: 12px; }
.k-lienzo:not(.h) .ip-acciones i { width: 60px; height: 60px; }
.k-lienzo:not(.h) .ip-acciones i svg { width: 24px; height: 24px; }
.k-lienzo:not(.h) .ip-pildoras { margin-top: 24px; gap: 9px; }
.k-lienzo:not(.h) .ip-pildoras > span { height: 38px; padding: 0 15px; font-size: 16px; }
.k-lienzo:not(.h) .ip-par, .k-lienzo:not(.h) .ip-dias { grid-template-columns: 1fr; gap: 12px; }
.k-lienzo:not(.h) .ip-quien { font-size: 21px; }
.k-lienzo:not(.h) .ip-bots .ip-bot { height: 46px; font-size: 17.5px; }
.k-lienzo:not(.h) .ip-prox { padding: 15px 50px 16px 22px; }
.k-lienzo:not(.h) .ip-prox span { font-size: 22px; }
.k-lienzo:not(.h) .ip-prox .ip-hora { font-size: 25px; }
/* Importar: a lo ancho, y las fichas en papel, en medio */
.k-lienzo:not(.h) .ip-imp > * { width: 100%; }
.k-lienzo:not(.h) .ip-subir { padding: 26px 18px 22px; }
.k-lienzo:not(.h) .ip-papeles { left: 50%; top: 180px; margin-left: -125px; }
.k-lienzo:not(.h) .ip-imp-cab { flex-direction: column; align-items: stretch; }
.k-lienzo:not(.h) .ip-imp-cab .ip-boton { align-self: flex-start; }
/* Nueva cita: a pantalla entera */
.k-lienzo:not(.h) .ip-hoja { left: 0; right: 0; top: 0; bottom: 0; width: auto; border-radius: 26px; }
.k-lienzo:not(.h) .ip-dias-cita { grid-template-columns: repeat(5, 1fr); }
.k-lienzo:not(.h) .ip-dias-cita > span:nth-child(n+6) { display: none; }
.k-lienzo:not(.h) .ip-horas { grid-template-columns: repeat(3, 1fr); }
.k-lienzo:not(.h) .ip-horas b:nth-child(n+7) { display: none; }
.k-lienzo:not(.h) .ip-tyc-dos { grid-template-columns: 1fr; gap: 8px; }
.k-lienzo:not(.h) .ip-numero { padding: 10px 16px; }
/* La agenda: el día */
.k-lienzo:not(.h) .ip-pantalla .ip-ag { padding: 12px 14px 110px; }
/* La ficha: una columna */
.k-lienzo:not(.h) .ip-fi { grid-template-columns: 1fr; }
.k-lienzo:not(.h) .ip-zeus-foto { width: 156px; height: 156px; }
.k-lienzo:not(.h) .ip-zeus h3 { font-size: 34px; }
.k-lienzo:not(.h) .ip-zeus .ip-chips { padding: 0 6px; }
.k-lienzo:not(.h) .ip-zeus .ip-chips > span { height: 40px; font-size: 16.5px; }
.k-lienzo:not(.h) .ip-fi-medio b { font-size: 24px; }
/* Mensajes: las pestañas y una columna */
.k-lienzo:not(.h) .ip-me { grid-template-columns: minmax(0, 1fr); }
.k-lienzo:not(.h) .ip-grande-cab > span { max-width: 46%; text-align: right; }
.k-lienzo:not(.h) .k-mesa .ip-me-sub { margin-top: 2px; }
.k-lienzo:not(.h) .k-mesa .ip-me-h2 { font-size: 22px; }
.k-lienzo:not(.h) .ip-grande-cab > span { font-size: 16.5px; }
.k-lienzo:not(.h) .k-mesa .ip-me-nota { font-size: 14px; margin-top: 16px; }
.k-lienzo:not(.h) .ip-me-ajustes { margin: 16px 6px 0; font-size: 16.5px; }
/* centrado sin transform (la animación de entrada lo pisaría) */
.k-lienzo:not(.h) .ip-wa-chat { left: 0; right: 0; top: 22px; bottom: 22px; margin: 0 auto; }
.k-lienzo:not(.h) .ip-dialogo { left: 0; right: 0; top: auto; bottom: 0; width: auto; border-radius: 26px 26px 0 0; padding-bottom: 26px; }
/* Cerrar y cobrar, y Dinero */
.k-lienzo:not(.h) .ip-co-fondo { z-index: 7; }
.k-lienzo:not(.h) .ip-modal { left: 0; right: 0; top: 0; bottom: 0; width: auto; border-radius: 26px; }
.k-lienzo:not(.h) .ip-modal footer { position: absolute; left: 0; right: 0; bottom: 0; }
.k-lienzo:not(.h) .ip-modal footer .ip-bot { flex: 1; }
.k-lienzo:not(.h) .ip-pantalla .ip-di { padding: 0 12px 110px; }
.k-lienzo:not(.h) .ip-di .h-dcab { margin: 0 -12px; }
.k-lienzo:not(.h) .ip-di-cab { flex-direction: column; align-items: stretch; gap: 22px; margin-top: 0; padding: 30px 20px 26px; border-radius: 0 0 32px 32px; }
.k-lienzo:not(.h) .ip-di-izq { grid-template-columns: 1fr auto; }
.k-lienzo:not(.h) .ip-di-cab h3 { font-size: 40px; }
.k-lienzo:not(.h) .ip-mes { justify-self: end; height: 42px; background: rgba(255, 255, 255, .2); }
.k-lienzo:not(.h) .ip-di-queda { align-items: center; justify-self: center; margin: 12px 0 -6px; }
.k-lienzo:not(.h) .ip-di-queda small { font-size: 16px; }
.k-lienzo:not(.h) .ip-queda { font-size: 44px; }
.k-lienzo:not(.h) .ip-di-bots { justify-content: space-between; gap: 0; padding: 0 4px; }
.k-lienzo:not(.h) .ip-di-bots > span { font-size: 16.5px; }
.k-lienzo:not(.h) .ip-di-bots i { width: 66px; height: 66px; }
.k-lienzo:not(.h) .ip-di-tres { grid-template-columns: 1fr 1fr; gap: 12px; }
.k-lienzo:not(.h) .ip-di-tres > .h-entra { grid-column: 1 / -1; }
.k-lienzo:not(.h) .ip-di-es { min-height: 0; padding: 20px 20px 14px; }
.k-lienzo:not(.h) .ip-mesbar { margin-top: 14px; }
.k-lienzo:not(.h) .ip-di-aro { min-height: 0; padding: 16px 14px; }
.k-lienzo:not(.h) .ip-di-aro small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.k-lienzo:not(.h) .ip-mov { grid-template-columns: 40px 1fr auto; padding: 4px 16px; }
.k-lienzo:not(.h) .ip-mov > small { display: none; }
/* El equipo: tarjetas en columna; Horario, con las ausencias; y Tareas */
.k-lienzo:not(.h) .ip-eq-cartas { grid-template-columns: 1fr; gap: 12px; }
.k-lienzo:not(.h) .ip-eq-cuantos-v { display: block; margin: -2px 4px 12px; font-size: 17px; color: var(--ip-tinta-2); }
.k-lienzo:not(.h) .ip-persona { grid-template-columns: 50px 1fr; padding: 16px 40px 16px 16px; row-gap: 3px; }
.k-lienzo:not(.h) .ip-persona .ip-av { grid-row: 1 / span 3; align-self: center; width: 50px; height: 50px; }
.k-lienzo:not(.h) .ip-persona > b { font-size: 19px; }
.k-lienzo:not(.h) .ip-persona > svg { top: 50%; margin-top: -8px; }
.k-lienzo:not(.h) .ip-papel { font-size: 16px; }
.k-lienzo:not(.h) .ip-persona p { font-size: 14px; }
.k-lienzo:not(.h) .ip-cuantos > small { margin-left: 4px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.k-lienzo:not(.h) .ip-cuantos > em { margin-left: 4px; font-size: 15px; }
.ip-hor-aviso { display: flex; align-items: center; gap: 9px; margin: 0 6px 10px; font-size: 17px; font-weight: 500; color: var(--ip-tinta-2); }
.ip-hor-aviso svg { width: 19px; height: 19px; }
.ip-hor-fila { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 14px 16px; }
.ip-hor-fila + .ip-hor-fila { border-top: 1px solid var(--ip-linea); margin-left: 52px; padding-left: 0; grid-template-columns: 40px 1fr; margin-left: 0; padding-left: 16px; }
.ip-hor-fila > b { display: block; font-size: 17.5px; font-weight: 600; line-height: 1.35; }
.ip-hor-fila > b .ip-aus-cuando { margin-top: 3px; font-size: 15px; }
.ip-hor-fila > b em { display: inline-block; margin-top: 7px; padding: 2px 10px; border-radius: 999px; background: #f6eedb; color: var(--ip-ocre); font-size: 14px; font-style: normal; font-weight: 500; }
.ip-hor-bots { grid-column: 2; display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.ip-hor-bots .ip-rechazar { height: 44px; display: grid; place-items: center; padding: 0 18px; border-radius: 999px; background: #eceae5; color: var(--ip-tinta); }
.ip-hor-bots .ip-aceptar { border-radius: 999px; height: 44px; padding: 0 20px; }
.ip-hor-nota { display: block; margin: 8px 8px 14px; font-size: 13.5px; color: var(--ip-tinta-2); }
.k-mesa .ip-hor-h { margin: 4px 6px 10px; font: 600 19px/1.2 var(--ip-sans); color: var(--ip-tinta-2); }
.ip-hor-horas > span { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 16px; border-top: 1px solid var(--ip-linea); font-size: 17px; }
.ip-hor-horas > span:first-child { border-top: 0; }
.ip-hor-horas b { margin-left: auto; font-weight: 400; }
.ip-hor-horas svg { width: 15px; height: 15px; color: var(--ip-tinta-3); }
.k-lienzo:not(.h) .ip-ta-hoy h4 { font-size: 24px; }
.k-lienzo:not(.h) .ip-tarea { padding: 10px 16px; }
.k-lienzo:not(.h) .ip-tarea > b { font-size: 17px; }
.k-lienzo:not(.h) .k-mesa .ip-ta-sec { font-size: 21px; }
/* Formación: su cabecera y su barra de abajo */
.k-lienzo:not(.h) .fo-cab { height: 74px; padding: 0 16px; gap: 10px; }
.k-lienzo:not(.h) .fo-marca svg { width: 26px; height: 26px; }
.k-lienzo:not(.h) .fo-marca .fo-palabra { width: 104px; height: 21px; }
.k-lienzo:not(.h) .fo-marca i { margin: 0 4px; }
.k-lienzo:not(.h) .fo-marca b { font-size: 16.5px; }
.k-lienzo:not(.h) .fo-iconos { gap: 16px; }
.k-lienzo:not(.h) .ip-pantalla.ip-fo .fo-cont { inset: 74px 0 auto; padding: 16px 16px 100px; }
.k-lienzo:not(.h) .fo-sigue { flex-direction: column; }
.k-lienzo:not(.h) .fo-sigue-foto { width: 100%; }
.k-lienzo:not(.h) .fo-sigue-texto { padding: 18px 18px 20px; }
.k-lienzo:not(.h) .fo-sigue-texto b { font-size: 26px; }
.k-lienzo:not(.h) .fo-barra { width: 100%; }
.fo-buscar-v { display: flex; align-items: center; height: 50px; margin-top: 16px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 31, 30, .12); font-size: 17px; color: var(--ip-tinta-2); }
.k-lienzo:not(.h) .fo-chips { margin-top: 14px; overflow: hidden; }
.k-lienzo:not(.h) .fo-formadores { position: static; display: inline-flex; margin-top: 12px; }
.k-lienzo:not(.h) .fo-videos { grid-template-columns: 1fr; margin-top: 14px; }
/* Ayuda: tapa la pantalla */
.k-lienzo:not(.h) .sky { left: 0; width: auto; z-index: 9; }
.k-lienzo:not(.h) .sky-cuerpo { padding: 14px; }

/* ═══ PRUÉBALA (fin), COMO EL FINAL DEL VÍDEO DE MARC (JOSEP, 28/11) ════════════════════════════════════════════════════
   De negro se enciende el verde, con su luz; el símbolo sale grande en el centro y, con «skygroom», se aparta a la izquierda
   mientras se escribe la palabra; luego el título, la frase y las tiendas (el movimiento, en js/tour.js, ESCENAS.fin).
   --h es el alto de la marca: la palabra mide 5,17 veces eso y el hueco 0,32. Las tiendas van fuera del lienzo (.tr-fin),
   a la escala del lienzo con --fin-k. */
.k-fin { --h: 128px; gap: 0; padding: 0 40px 184px; background: #26392f; }
.k-fin-luz { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 55% at 50% 44%, #4f7364 0%, #365447 50%, #26392f 100%); }
.k-fin > :not(.k-fin-luz) { position: relative; }
.k-fin-marca { display: flex; align-items: center; gap: calc(var(--h) * .32); height: var(--h); color: #fff; }
.k-mesa .k-fin-sim { width: var(--h); height: var(--h); overflow: visible; }
.k-mesa .k-fin-pal { display: block; width: calc(var(--h) * 5.17); height: var(--h); }
.k-fin .k-fin-t { margin-top: 76px; font: 700 60px/1.2 var(--ip-sans); letter-spacing: -.01em; color: #fff; }
.k-fin .k-fin-s { margin-top: 12px; font: 500 33px/1.3 var(--ip-sans); color: rgba(255, 255, 255, .72); }
/* las tiendas, debajo de la frase (js/tour.js pone --fin-arriba al montar la escena); el lienzo les guarda el sitio abajo */
.tr-fin { top: var(--fin-arriba); bottom: auto; }
.tr-fin .insignias { --alto: calc(var(--fin-k, 1) * 46px); margin-top: calc(var(--fin-k, 1) * 8px); }
/* el botón al alta, delante de las tiendas (JOSEP, 29/11), y la línea de las tiendas, pequeña */
.tr-crear { display: inline-flex; align-items: center; justify-content: center; min-height: calc(var(--fin-k, 1) * 84px); padding: 0 calc(var(--fin-k, 1) * 44px);
  border-radius: 999px; background: #dcefe3; color: #1d2e26; font: 700 calc(var(--fin-k, 1) * 30px)/1 var(--serif); text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); -webkit-tap-highlight-color: transparent; }
.tr-crear:hover { background: #fff; }
.tr-crear:focus-visible { outline: 3px solid #a9d8bf; outline-offset: 3px; }
.tr-fin .tiendas { display: flex; flex-direction: column; align-items: center; }
.tr-fin .tiendas-t { margin: 0; font: 400 calc(var(--fin-k, 1) * 22px)/1.2 var(--serif); color: rgba(255, 255, 255, .66); }
.k-lienzo:not(.h) .k-fin { --h: 58px; padding: 0 20px 150px; }
.k-lienzo:not(.h) .k-fin .k-fin-t { margin-top: 40px; font-size: 33px; }
.k-lienzo:not(.h) .k-fin .k-fin-s { margin-top: 8px; font-size: 20px; }
.k-lienzo:not(.h) ~ .tr-fin .insignias { --alto: calc(var(--fin-k, 1) * 36px); }
.k-lienzo:not(.h) ~ .tr-fin .tr-crear { min-height: calc(var(--fin-k, 1) * 56px); padding: 0 calc(var(--fin-k, 1) * 28px); font-size: calc(var(--fin-k, 1) * 20px); }
.k-lienzo:not(.h) ~ .tr-fin .tiendas-t { font-size: calc(var(--fin-k, 1) * 15px); }
.k-lienzo.l .k-fin { --h: 62px; padding-bottom: 130px; }
.k-lienzo.l .k-fin .k-fin-t { margin-top: 30px; }
.k-lienzo.l ~ .tr-fin .insignias { --alto: calc(var(--fin-k, 1) * 34px); }

/* Si el navegador no deja sonar la voz sin un toque (Safari en el iPhone, 28/11), el tour espera con este botón en medio
   (js/tour.js, sonar): un play grande sobre la escena en penumbra */
.tr-empezar { position: absolute; left: 50%; top: 50%; z-index: 31; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 0; border: 0; background: none; cursor: pointer; font: 600 1.1875rem/1.2 var(--serif); color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
  -webkit-tap-highlight-color: transparent; }
.tr-empezar[hidden] { display: none; }
.tr-empezar { white-space: nowrap; }
.tr-empezar-play { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #3e5c50; color: #fff;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .22), 0 16px 36px rgba(0, 0, 0, .4), 0 0 0 100vmax rgba(16, 26, 21, .42); }
.tr-empezar-play svg { width: 42px; height: 42px; margin-left: 5px; }
.tr-empezar:hover .tr-empezar-play { background: #34503f; }
.tr-empezar:focus-visible { outline: none; }
.tr-empezar:focus-visible .tr-empezar-play { outline: 3px solid #a9d8bf; outline-offset: 10px; }
