/* ============================================================
   Kelp · Chat. Solo las escenas de esta página; hero, bloques,
   iPhone con WhatsApp y cierre son del sistema (kelp.css).
   Prefijos: hx- (hero), cg- (la rejilla de chats), wk- (01, la semana),
   vv- (02, el vídeo con la nota de voz), gr- (03, los grupos),
   ai- (la banda de los asistentes), ch- (piezas que comparten varias escenas).
   ============================================================ */

/* ---- Piezas compartidas: la nota de voz que se reproduce y el hueco donde
   «escribiendo…» deja paso a la respuesta ---- */
.ch-wave { position: relative; }
.ch-wpl { position: absolute; inset: 0; display: flex; align-items: center; gap: 2px; }
.wave .ch-wpl i { background: #2E9E63; }
.ch-st { justify-items: start; }
.ch-slot { display: grid; justify-items: start; align-items: start; }
.ch-slot > * { grid-area: 1 / 1; }
.ch-close { text-wrap: balance; }

/* ---- Hero: la misma Kelp en cuatro apps. Arriba, lo que hace en cada una ---- */
#hx { height: 620px; }
.hx-cv { --cw: 1104px; --ch: 520px; }
.hx-dyn, .hx-trk { position: absolute; inset: 0; }
.hx-lab { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 8px; background: var(--foam); color: var(--deep); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.hx-lab .ic { width: 15px; height: 15px; }
.hx-lwa { left: 437px; }
.hx-lsl, .hx-lgc { left: 700px; }
.hx-lgc { top: 282px; }
.hx-app { position: absolute; top: 46px; }
.hx-tm, .hx-sl, .hx-gc { overflow: hidden; border-radius: 10px; background: #fff; color: #242424; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 12.5px; line-height: 1.4; text-align: left; box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 30px 60px -24px rgb(0 0 0 / .6); }

/* Microsoft Teams */
.hx-tm { left: 0; width: 404px; height: 474px; display: flex; flex-direction: column; }
.hx-tbar { height: 36px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 10px; background: #EBEBEB; border-bottom: 1px solid #E1E1E1; }
.hx-tbar > img:first-child { width: 18px; height: 18px; }
.hx-srch { flex: 1; height: 24px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px #E1E1E1; display: flex; align-items: center; gap: 6px; padding: 0 8px; font-size: 11.5px; color: #8A8A8A; }
.hx-srch .ic { width: 12px; height: 12px; }
.hx-me { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.hx-thd { height: 46px; flex: none; display: flex; align-items: center; gap: 9px; padding: 0 14px; border-bottom: 1px solid #E1E1E1; }
.hx-thd b { font-size: 13.5px; font-weight: 700; }
.hx-ttab { align-self: stretch; display: grid; align-items: center; margin-left: 6px; font-size: 12px; font-weight: 600; box-shadow: inset 0 -2px 0 #5B5FC7; }
.hx-ppl { margin-left: auto; display: flex; }
.hx-ppl img, .hx-ppl .kbot { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; margin-left: -5px; }
.hx-tth { flex: 1; min-height: 0; padding: 12px 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.hx-tday { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #8A8A8A; }
.hx-tday::before, .hx-tday::after { content: ""; flex: 1; height: 1px; background: #E1E1E1; }
.hx-tmeet { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; background: #F5F5F5; }
.hx-tvid { width: 28px; height: 28px; border-radius: 6px; background: #5B5FC7; color: #fff; display: grid; place-items: center; flex: none; }
.hx-tvid .ic { width: 15px; height: 15px; }
.hx-tmeet b, .hx-tfile b { display: block; font-size: 12px; font-weight: 600; }
.hx-tmeet small { display: block; font-size: 11px; color: #616161; }
.hx-tmsg { display: grid; grid-template-columns: 28px 1fr; gap: 9px; align-items: start; }
.hx-tmsg > img, .hx-tmsg > .kbot { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.hx-twho { display: flex; gap: 6px; margin-bottom: 3px; font-size: 11px; color: #616161; }
.hx-twho b { color: #242424; font-weight: 600; }
.hx-tbub { display: inline-block; padding: 7px 11px; border-radius: 6px; background: #F5F5F5; }
.hx-tkb { background: #fff; box-shadow: 0 0 0 1px #E1E1E1; }
.hx-men { color: #5B5FC7; font-weight: 600; border-radius: 3px; transition: background-color .3s; }
.hx-men.on { background: #E3E4FA; }
.hx-tfile { display: flex; align-items: center; gap: 9px; width: 250px; margin-top: 6px; padding: 9px 11px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px #E1E1E1; transition: box-shadow .3s; }
.hx-tfile.on { box-shadow: 0 0 0 2px var(--teal); }
.hx-tfile img { width: 22px; height: 22px; }
.hx-tfile small { display: block; font-size: 11px; font-weight: 600; color: var(--ok); }
.hx-ttyp { position: absolute; left: 16px; bottom: 58px; display: flex; align-items: center; gap: 7px; font-size: 11px; color: #8A8A8A; }
.hx-ttyp .kbot { width: 18px; height: 18px; border-radius: 5px; }
.hx-ttyp .kbot svg, .vv-rd svg { animation: turn 2.1s var(--ease) infinite; }
.hx-tcomp { flex: none; margin: 0 14px 14px; height: 34px; border-radius: 5px; box-shadow: inset 0 0 0 1px #E1E1E1, inset 0 -2px 0 #5B5FC7; display: flex; align-items: center; padding: 0 10px; font-size: 11.5px; color: #8A8A8A; }

/* WhatsApp: el iPhone del sistema, a escala */
.hx-ph { left: 437px; width: 230px; height: 474px; }
.hx-ph .iph { zoom: .75; }
.hx-wth .wm { font-size: 15px; }
.hx-wd .pg img { width: 16px; height: 16px; }
.hx-wtr { margin-top: 5px; padding-top: 5px; border-top: 1px solid rgb(0 0 0 / .08); font-size: 14px; line-height: 1.35; }

/* Slack */
.hx-sl { left: 700px; width: 404px; height: 220px; display: grid; grid-template-columns: 112px 1fr; }
.hx-sside { background: #3F0E40; color: rgb(255 255 255 / .72); padding: 0 7px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.hx-sside b { height: 40px; display: flex; align-items: center; margin: 0 -7px 6px; padding: 0 12px; border-bottom: 1px solid rgb(255 255 255 / .12); color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.hx-sside span { padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.hx-sside .on { background: #1164A3; color: #fff; font-weight: 600; }
.hx-smain { min-width: 0; }
.hx-shd { height: 40px; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-bottom: 1px solid #E8E8E8; font-size: 13px; }
.hx-shd img { width: 14px; height: 14px; }
.hx-shd b, .hx-swho b, .hx-stit { font-weight: 800; color: #1D1C1D; }
.hx-smsg { display: grid; grid-template-columns: 30px 1fr; gap: 9px; padding: 10px 12px; }
.hx-smsg > .kbot { width: 30px; height: 30px; border-radius: 7px; }
.hx-swho { display: flex; align-items: center; gap: 5px; font-size: 11px; color: #616061; }
.hx-swho b { font-size: 12.5px; }
.hx-sapp { font-size: 9px; font-weight: 700; padding: 0 3px; border-radius: 3px; background: #EEE; color: #616061; }
.hx-srep { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #616061; }
.hx-srep .ic { width: 12px; height: 12px; }
.hx-stit { font-size: 12.5px; margin: 4px 0 5px; }
.hx-srow { display: flex; justify-content: space-between; padding: 3px 8px; border-left: 3px solid #D4D4D4; font-size: 12px; color: #1D1C1D; }
.hx-srow b { font-weight: 700; font-variant-numeric: tabular-nums; }

/* Google Chat */
.hx-gc { left: 700px; top: 326px; width: 404px; height: 194px; font-family: "Google Sans", Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif; }
.hx-ghd { height: 46px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #F6F8FC; }
.hx-ghd img { width: 20px; height: 20px; }
.hx-ghd b { font-size: 15px; font-weight: 500; color: #444746; }
.hx-gsrch { margin-left: auto; width: 196px; height: 28px; border-radius: 14px; background: #E9EEF6; display: flex; align-items: center; gap: 7px; padding: 0 11px; font-size: 11.5px; color: #5E5E5E; }
.hx-gsrch .ic { width: 12px; height: 12px; }
.hx-gmsg { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 14px 16px; }
.hx-gmsg > .kbot { width: 30px; height: 30px; border-radius: 50%; }
.hx-gwho { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #5E5E5E; }
.hx-gwho b { font-size: 12.5px; font-weight: 600; color: #1F1F1F; }
.hx-gapp { font-size: 10px; font-weight: 500; padding: 0 5px; border-radius: 4px; background: #E9EEF6; color: #444746; }
.hx-gtx { margin-top: 2px; color: #1F1F1F; }
.hx-gsw { justify-items: start; margin-top: 10px; }
.hx-gbts { display: flex; gap: 8px; }
.hx-gb1, .hx-gb2, .hx-gok { height: 28px; padding: 0 14px; border-radius: 14px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 500; }
.hx-gb1 { background: #0B57D0; color: #fff; transition: box-shadow .3s; }
.hx-gb1.ready { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0B57D0; }
.hx-gb2 { box-shadow: inset 0 0 0 1px #747775; color: #0B57D0; }
.hx-gok { gap: 6px; background: var(--foam-2); color: var(--ok); font-weight: 600; }
.hx-gok .ic { width: 13px; height: 13px; stroke-width: 2.5; }

/* El acta que viaja de Teams a WhatsApp, y las otras apps */
.hx-fly { position: absolute; left: 0; top: 0; z-index: 6; display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 13px 0 10px; border-radius: 9px; background: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 0 0 1.5px var(--teal), 0 16px 30px -12px rgb(0 0 0 / .6); }
.hx-fly img { width: 18px; height: 18px; }

/* ---- Los chats donde vive Kelp: la misma rejilla que los sellos de la home.
   Entran uno a uno con un brillo cuando la rejilla se ve por primera vez ---- */
.cg { display: grid; grid-template-columns: repeat(9, 1fr) auto; }
.cg-c { position: relative; overflow: hidden; display: grid; place-items: center; padding: 30px 8px 26px; border-right: 1px solid var(--line); }
.cg-c:last-child { border-right: 0; }
.cg-l { display: grid; justify-items: center; gap: 12px; }
.cg-l img { width: 36px; height: 36px; object-fit: contain; transition: transform .35s var(--ease-out); }
.cg-c:hover img { transform: translateY(-3px); }
.cg-l b { font-size: 13px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap; }
.cg-gl { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgb(198 238 227 / .55) 50%, transparent 65%); translate: -120% 0; }
.cg-lk { display: flex; gap: 6px; padding: 0 28px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.cg-lk:hover { color: var(--teal); background: #fff; }

/* ---- 01 · Quién da el primer paso: la semana arriba y, debajo, los mensajes de Kelp.
   Cada mensaje lleva a su izquierda lo que lo provocó (tu cara con @, el reloj de un
   encargo fijo o el cliente que no contesta), que antes cae desde su día ---- */
.wk-strip { position: absolute; left: 0; right: 0; top: 24px; height: 78px; display: grid; grid-template-columns: repeat(7, 1fr); border-radius: 14px; }
.wk-hoy { position: absolute; left: 0; top: 0; bottom: 0; width: calc(100% / 7); padding: 7px 5px; }
.wk-hoy::before { content: ""; display: block; height: 100%; border-radius: 10px; background: var(--foam-2); box-shadow: inset 0 0 0 1.5px rgb(0 74 72 / .18); }
.wk-d { position: relative; display: grid; justify-items: center; align-content: center; gap: 1px; }
.wk-d + .wk-d { box-shadow: -1px 0 0 var(--line); }
.wk-d em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.wk-d b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.wk-d.wk-we b { color: var(--ink-3); }
.wk-d i { width: 7px; height: 7px; margin-top: 4px; border-radius: 50%; background: var(--cc, transparent); opacity: 0; transition: opacity .3s; }
.wk-d.on i { opacity: 1; }
.wk-col { position: absolute; left: 0; right: 0; top: 138px; display: grid; gap: 16px; }
.wk-r { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; }
.wk-tg { position: relative; z-index: 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 700; box-shadow: 0 0 0 3px #fff, 0 10px 20px -8px rgb(1 33 32 / .5); }
.wk-tg > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.wk-tg > .ic { width: 22px; height: 22px; }
.wk-tg > i { position: absolute; right: -5px; bottom: -5px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--cc); color: #fff; font-size: 12px; font-style: normal; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
.wk-tg > i .ic { width: 11px; height: 11px; stroke-width: 2.4; }
.wk-ck { background: var(--teal); color: var(--foam); }
.wk-ck > i { background: #fff; color: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.wk-cl { background: var(--ember); color: var(--ember-ink); }
.wk-m { padding: 11px 16px 12px; box-shadow: inset 3px 0 0 var(--cc), var(--shadow-card); }
.wk-why { font-size: 12px; font-weight: 600; color: var(--ct, var(--cc)); }
.wk-k { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; margin-top: 7px; font-size: 14px; }
.wk-k > .kbot { width: 24px; height: 24px; }
.wk-f { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px 0 8px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 12px; font-weight: 600; white-space: nowrap; }
.wk-f img { width: 18px; height: 18px; }

/* ---- 02 · Pídeselo: el vídeo de producción (en el coche, entre reuniones) y, encima,
   la conversación: tu nota de voz, lo que Kelp saca de ella y su respuesta ---- */
.vv { overflow: hidden; isolation: isolate; background: #1C2422; --cw: 612px; --ch: 452px; }
.vv::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgb(4 16 15 / 0) 36%, rgb(4 16 15 / .34)), linear-gradient(0deg, rgb(4 16 15 / .28), rgb(4 16 15 / 0) 34%); }
.vv-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vv-cv { z-index: 2; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; color: #111B21; }
.vv-th { position: absolute; right: 0; top: 0; width: 300px; display: flex; flex-direction: column; gap: 10px; }
.vv-m { position: relative; padding: 8px 10px 6px 11px; border-radius: 12px; background: #fff; font-size: 14px; line-height: 1.4; box-shadow: 0 1px 1px rgb(0 0 0 / .12), 0 18px 36px -14px rgb(0 0 0 / .6); }
.vv-me { align-self: flex-end; width: 272px; background: #DCF8C6; border-top-right-radius: 4px; }
.vv-vn .du { font-size: 11.5px; }
.vv-tr { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgb(0 0 0 / .08); }
.vv-mk { white-space: nowrap; padding: 0 2px; border-radius: 3px; transition: background-color .3s, box-shadow .3s; }
.vv-mk.on { background: #fff; box-shadow: 0 0 0 1.5px var(--teal); }
.vv-t { float: right; margin: 5px 0 -3px 10px; font-size: 11.5px; color: #667781; }
.vv-tk { margin-left: 2px; color: #53BDEB; }
.vv-kr { display: flex; align-items: flex-start; gap: 8px; }
.vv-kr .ch-slot { flex: 1; min-width: 0; }
.vv-av { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 8px 16px -6px rgb(0 0 0 / .6); }
.vv-typ { margin-left: 0; box-shadow: 0 1px 1px rgb(0 0 0 / .12), 0 18px 36px -14px rgb(0 0 0 / .6); }
.vv-re { border-top-left-radius: 4px; }
.vv-who { display: block; font-size: 11.5px; font-weight: 600; color: var(--teal); }
.vv-doc { display: flex; align-items: center; gap: 10px; margin: 7px 0 2px; padding: 8px 10px; border-radius: 8px; background: #F1F7F4; }
.vv-doc img { width: 24px; height: 24px; flex: none; }
.vv-doc b, .vv-fx b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.vv-doc small { display: block; font-size: 11.5px; color: #667781; }
.vv-fx { position: absolute; left: 48px; width: 226px; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1.5px var(--teal), 0 18px 32px -14px rgb(0 0 0 / .65); }
.vv-fx img { width: 22px; height: 22px; flex: none; }
.vv-fx small { display: block; font-size: 11.5px; color: var(--ink-3); }
.vv-rd { position: absolute; left: 0; top: 0; z-index: 4; width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 6px 12px -4px rgb(0 0 0 / .5); }

/* ---- 03 · Invitar: dos listas espejo de los mismos grupos de Teams. A la izquierda, como los
   ves tú; a la derecha, como los ve Kelp: donde no está, el grupo sale esmerilado ---- */
.gr-list { position: absolute; top: 46px; width: 272px; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.gr-me { left: 0; }
.gr-k { right: 0; }
.gr-hd { height: 50px; display: flex; align-items: center; gap: 9px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.gr-hd b { font-size: 14.5px; font-weight: 700; }
.gr-me-av { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.gr-hd .kbot { width: 26px; height: 26px; border-radius: 7px; }
.gr-hd .kbot svg { width: 17px; height: 17px; }
.gr-app { width: 17px; height: 17px; margin-left: auto; }
.gr-row { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 11px; align-items: center; height: 56px; padding: 0 14px; border-bottom: 1px solid var(--line); transition: background-color .4s; }
.gr-row:last-child { border-bottom: 0; }
.gr-k .gr-row.on { background: var(--foam-2); }
.gr-ic { position: relative; width: 36px; height: 36px; }
.gr-av { width: 36px; height: 36px; border-radius: 9px; font-size: 11.5px; }
.gr-grp { display: grid; place-items: center; background: #EDEBE9; color: #616161; }
.gr-grp .ic { width: 17px; height: 17px; }
.gr-kb { position: absolute; right: -6px; bottom: -6px; }
.gr-kb .kbot { width: 20px; height: 20px; border-radius: 6px; box-shadow: 0 0 0 2px #fff; }
.gr-kb .kbot svg { width: 13px; height: 13px; }
.gr-tx { min-width: 0; display: grid; gap: 7px; }
.gr-tx b { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.gr-sk { display: block; height: 6px; border-radius: 3px; background: #E4E4E4; }
/* el esmerilado: lo que hay debajo no se lee */
.gr-veil { position: absolute; inset: 0; background: rgb(246 246 244 / .55); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.gr-menu { position: absolute; left: 70px; top: 0; z-index: 5; padding: 5px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 13px; font-weight: 600;
  box-shadow: 0 0 0 1px rgb(1 33 32 / .1), 0 24px 48px -16px rgb(1 33 32 / .45); }
.gr-menu .swap { justify-items: start; }
.gr-menu .swap > span { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 8px; border-radius: 6px; white-space: nowrap; }
.gr-add { background: #F0F0FA; color: #3D3F9E; }
.gr-add .kbot { width: 20px; height: 20px; border-radius: 6px; }
.gr-add .kbot svg { width: 13px; height: 13px; }
.gr-rm { color: #C4314B; }

/* ---- También desde ChatGPT y Claude: una banda de una celda, toda ella un enlace.
   Cada asistente pide algo a Kelp y la respuesta vuelve por la misma línea ---- */
.ai { display: flex; align-items: center; gap: 36px; padding: 34px clamp(24px, 4.5vw, 56px); transition: background-color .2s; }
.ai:hover { background: #fff; }
.ai-t { flex: 1; min-width: 0; }
.ai-h { display: block; font-size: 24px; line-height: 1.2; font-weight: var(--w-head); letter-spacing: var(--track); }
.ai-p { display: block; margin-top: 4px; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }
.ai-v { display: flex; align-items: center; gap: 8px; }
.ai-lg { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line), 0 8px 18px -12px rgb(1 33 32 / .4); transition: box-shadow .3s, translate .3s var(--ease-out); }
.ai-lg img { width: 24px; height: 24px; object-fit: contain; }
.ai-lg.on { translate: 0 -3px; box-shadow: 0 0 0 1.5px var(--teal), 0 12px 22px -12px rgb(1 33 32 / .5); }
.ai-ln { position: relative; width: 64px; height: 2px; margin: 0 4px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 8px); }
.ai-pk { position: absolute; left: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgb(0 74 72 / .15); }
.ai-k { width: 44px; height: 44px; border-radius: 12px; }
.ai-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.ai:hover .ai-go { color: var(--teal); }

/* ---- Anchos menores: la rejilla pasa a cinco y a tres columnas; la banda y el vídeo se apilan ---- */
@media (max-width: 1040px) {
  .cg { grid-template-columns: repeat(5, 1fr); }
  .cg-c { border-bottom: 1px solid var(--line); }
  .cg-c:nth-child(5n) { border-right: 0; }
  .cg-c:nth-last-child(-n+5) { border-bottom: 0; }
  .cg-lk { justify-content: center; padding: 0 16px; }
  .ai { flex-wrap: wrap; gap: 20px 32px; }
  .ai-t { flex-basis: 100%; }
}
@media (max-width: 700px) {
  /* Hero en vertical: cada columna del escritorio es una pantalla del ancho del lienzo, en fila
     (Teams; WhatsApp; Slack y Google Chat). La fila se desliza a la app donde actúa Kelp y el acta
     llega a WhatsApp desde el lado por donde se fue Teams */
  #hx { height: 560px; }
  .hx-cv { --cw: calc(100% - 24px); }
  .hx-tm, .hx-sl, .hx-gc { width: 100%; }
  .hx-ph, .hx-lwa { left: calc(100% + 40px + (100% - 230px) / 2); }
  .hx-sl, .hx-gc, .hx-lsl, .hx-lgc { left: calc(200% + 80px); }
  .hx-sl { grid-template-columns: 104px 1fr; }
  .hx-gsrch { width: auto; min-width: 0; flex: 0 1 196px; }
  .cg { grid-template-columns: repeat(3, 1fr); }
  .cg-c:nth-child(5n) { border-right: 1px solid var(--line); }
  .cg-c:nth-child(3n), .cg-c:last-child { border-right: 0; }
  .cg-c:nth-last-child(-n+5) { border-bottom: 1px solid var(--line); }
  .cg-c:last-child { border-bottom: 0; }
  .cg-lk { grid-column: 1 / -1; padding: 18px 16px; }
  .ai { flex-direction: column; align-items: flex-start; padding-block: 28px; }
  .ai-lg, .ai-k { width: 38px; height: 38px; }
  .ai-lg img { width: 21px; height: 21px; }
  .ai-ln { width: 28px; }
  .vv { --cw: calc(100% - 24px); }
  #s-men { height: 540px; --cw: calc(100% - 24px); --ch: 490px; }
  .wk-r { grid-template-columns: 40px 1fr; gap: 10px; }
  .wk-tg { width: 40px; height: 40px; }
  .wk-m { padding-inline: 12px; }
  .wk-d b { font-size: 15px; }
  .vv-th { left: 0; width: auto; }
  .vv-fx { left: 24px; }   /* lo que Kelp saca de la nota cabe debajo de ella, sobre el vídeo */
  #s-grp { height: 440px; --cw: calc(100% - 20px); --ch: 400px; }
  .gr-list { top: 36px; width: calc(50% - 7px); }
  .gr-hd { padding: 0 10px; gap: 7px; }
  .gr-row { grid-template-columns: 28px 1fr; gap: 8px; padding: 0 8px; }
  .gr-ic, .gr-av { width: 28px; height: 28px; }
  .gr-tx b { font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
}
