/* ============================================================
   Kelp · Ejecución de proyectos. Solo las escenas de esta página;
   hero, bloques de caso, banda, cierre y FAQ son del sistema.
   El hero (par-*) es propio de esta página: todos los proyectos
   a la vez sobre la semana.
   ============================================================ */

/* ---- Hero: todos tus proyectos a la vez. Un carril por proyecto sobre la semana, de quien
   lo lleva (izquierda) a su cliente (derecha). Los huecos del plan se llenan con lo que hace
   Kelp; la línea discontinua es la entrega del viernes ---- */
#e2e { height: 600px; }
/* La rejilla sale de unas pocas variables: cada hueco va en su carril (--l) y su día (--d), y el
   JS lee las mismas variables para mover las piezas. En móvil la rejilla se traspone */
.par-cv { --cw: 1104px; --ch: 452px; --x0: 172px; --y0: 55px; --dx: 144px; --dy: 0px; --lx: 0px; --ly: 102px; --gw: 128px; --gh: 72px; --kx: 258px; --ky: 2px; }
.par-d { position: absolute; left: calc(236px + var(--dx) * var(--d)); top: 8px; translate: -50% 0; font-size: 12.5px; font-weight: 600; color: rgb(198 238 227 / .55); transition: color .3s; z-index: 2; }
.par-d.on { color: #F2FBF8; }
.par-lane { position: absolute; left: 0; right: 0; top: calc(44px + var(--ly) * var(--l)); height: 94px; border-radius: 14px; background: rgb(255 255 255 / .035); box-shadow: inset 0 0 0 1px rgb(198 238 227 / .1); transition: background-color .4s, box-shadow .4s; }
.par-lane::after { content: ""; position: absolute; left: 892px; right: 74px; top: 50%; border-top: 1.5px dotted rgb(198 238 227 / .28); }
.par-lane.warn { background: rgb(231 178 92 / .09); box-shadow: inset 0 0 0 1.5px rgb(231 178 92 / .75); }
.par-who { position: absolute; left: 14px; top: 50%; translate: 0 -50%; display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: #F2FBF8; }
.par-who img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgb(198 238 227 / .3); }
.par-cli { position: absolute; left: 1044px; width: 60px; top: 17px; display: grid; justify-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; line-height: 1.2; color: rgb(242 251 248 / .85); }
.par-cli .co { width: 40px; height: 40px; border-radius: 11px; font-size: 13px; box-shadow: 0 10px 20px -8px rgb(0 0 0 / .5); }
.par-rule { position: absolute; left: 884px; top: 36px; height: 416px; border-left: 1.5px dashed rgb(198 238 227 / .35); }
.par-dyn { position: absolute; inset: 0; }
.par-hoy { position: absolute; left: 166px; top: 0; width: 140px; height: 452px; border-radius: 12px; background: rgb(198 238 227 / .07); box-shadow: inset 0 0 0 1px rgb(198 238 227 / .16); }
.par-cnt { position: absolute; left: 0; top: 2px; display: flex; align-items: baseline; gap: 7px; font-size: 12.5px; font-weight: 600; color: rgb(198 238 227 / .6); }
.par-n { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; color: #F2FBF8; font-variant-numeric: tabular-nums; }
.par-sent { position: absolute; right: 0; top: 4px; display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 8px; border-radius: 99px; background: var(--foam); color: var(--deep); font-size: 12px; font-weight: 700; white-space: nowrap; }
.par-sent .ic { width: 14px; height: 14px; stroke-width: 2.6; }
/* el plan: huecos con la herramienta en la que se hará cada pieza */
.par-g, .par-c { left: calc(var(--x0) + var(--dx) * var(--d) + var(--lx) * var(--l)); top: calc(var(--y0) + var(--dy) * var(--d) + var(--ly) * var(--l)); }
.par-g { position: absolute; width: var(--gw); height: var(--gh); border-radius: 9px; border: 1.5px dashed rgb(198 238 227 / .26); display: grid; place-items: center; transition: background-color .3s, border-color .3s, scale .25s, box-shadow .25s; }
.par-g img { width: 26px; height: 26px; padding: 5px; border-radius: 7px; background: #fff; opacity: .42; }
.par-g b { position: absolute; left: 50%; bottom: -11px; translate: -50% 0; padding: 1px 8px; border-radius: 99px; background: var(--ember); color: var(--ember-ink); font-size: 11.5px; font-weight: 700; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.par-g.late { border-color: #E7B25C; background: linear-gradient(rgb(231 178 92 / .2), rgb(231 178 92 / .2)), #0D3B37; }
.par-g.late b { opacity: 1; }
.par-g.hold { z-index: 5; scale: 1.05; border-style: solid; border-color: rgb(198 238 227 / .7); background: #0D3B37; box-shadow: 0 16px 30px -12px rgb(0 0 0 / .7); }
/* lo hecho: una miniatura real de cada herramienta */
.par-c { position: absolute; width: var(--gw); height: var(--gh); border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 30px -14px rgb(0 0 0 / .65); z-index: 3; }
.par-h { display: flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-bottom: 1px solid var(--line); background: #F7F8F7; flex: none; }
.par-h img { width: 11px; height: 11px; }
.par-h i { width: 46px; height: 4px; border-radius: 2px; background: #D3DBD9; }
.par-b { position: relative; flex: 1; padding: 6px 9px; }
.par-ppt .par-b { display: grid; place-items: center; padding: 5px; background: #F3F2F1; }
.par-sl { width: 86px; height: 42px; display: grid; grid-template-rows: 4px 1fr; gap: 4px; padding: 5px 7px 0; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px #E1DFDD; }
.par-sl > b { width: 56%; height: 4px; border-radius: 2px; background: var(--deep); }
.par-sl > span { display: flex; align-items: flex-end; gap: 5px; }
.par-sl i { flex: 1; height: var(--h); border-radius: 1px 1px 0 0; background: #1F7A6C; }
.par-xls .par-b { padding: 0; background: linear-gradient(90deg, #E2E7E5 1px, transparent 1px) 0 0 / 21px 100%, linear-gradient(#E2E7E5 1px, transparent 1px) 0 0 / 100% 13px; box-shadow: inset 0 13px 0 #EAF3EE; }
.par-xls .par-b i { position: absolute; left: 63px; top: 13px; bottom: 0; width: 21px; background: rgb(33 115 70 / .14); }
.par-xls .par-b b { position: absolute; left: 63px; bottom: 0; width: 21px; height: 13px; box-shadow: inset 0 0 0 1.5px #217346; }
.par-doc .par-b { display: grid; gap: 5px; align-content: start; padding: 8px 12px; }
.par-doc .par-b b { width: 58%; height: 5px; border-radius: 3px; background: var(--deep); }
.par-doc .par-b i { height: 3px; border-radius: 2px; background: #DAE1DF; }
.par-doc .par-b i:last-child { width: 66%; }
.par-mail .par-b { display: grid; gap: 6px; align-content: start; padding: 8px 10px; }
.par-to { display: flex; align-items: center; gap: 6px; }
.par-to .co { width: 13px; height: 13px; border-radius: 4px; }
.par-to i { width: 44px; height: 4px; border-radius: 2px; background: var(--ink-3); }
.par-mail .par-b > i { height: 3px; border-radius: 2px; background: #DAE1DF; }
.par-mail .par-b > i:last-child { width: 72%; }
.par-cva .par-b { display: flex; gap: 6px; align-items: center; padding: 6px 9px; background: #EEF0F3; }
.par-cva .par-b i { position: relative; flex: 1; height: 38px; border-radius: 5px; background: linear-gradient(145deg, var(--a), var(--b)); }
.par-cva .par-b i::after { content: ""; position: absolute; left: 5px; right: 9px; bottom: 5px; height: 3px; border-radius: 2px; background: rgb(255 255 255 / .85); }
.par-met .par-b { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; align-content: center; padding: 6px 8px; }
.par-met .par-b i { height: 17px; border-radius: 3px; background: var(--c, #F1F4F3); }
.par-mdl .par-b { display: grid; gap: 4px; align-content: center; padding: 5px 9px; }
.par-mdl .par-b span { display: flex; align-items: center; gap: 6px; height: 11px; }
.par-mdl .par-b span i { width: 10px; height: 10px; border-radius: 3px; background: #F98012; }
.par-mdl .par-b span b { flex: 1; height: 3px; border-radius: 2px; background: #DAE1DF; }
.par-mdl .par-b span em { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
.par-kah .par-b { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 5px; background: #46178F; }
.par-kah .par-b i { position: relative; border-radius: 3px; background: #E21B3C; }
.par-kah .par-b i:nth-child(2) { background: #1368CE; }
.par-kah .par-b i:nth-child(3) { background: #D89E00; }
.par-kah .par-b i:nth-child(4) { background: #26890C; }
.par-kah .par-b i::after { content: ""; position: absolute; left: 6px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: #fff; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.par-kah .par-b i:nth-child(2)::after { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.par-kah .par-b i:nth-child(3)::after { clip-path: circle(50%); }
.par-kah .par-b i:nth-child(4)::after { clip-path: none; }
.par-pla .par-b { padding: 5px 8px; background: #EEF3F7; }
.par-pla svg { width: 100%; height: 100%; fill: none; stroke: #36587A; stroke-width: 1.4; }
.par-arc { stroke-dasharray: 2 2; }
/* tú: tu marca de revisión */
.par-ok { position: absolute; left: calc(var(--x0) + var(--gw) - 42px); top: calc(var(--y0) + var(--gh) - 14px); display: flex; align-items: center; gap: 3px; padding: 2px 6px 2px 2px; border-radius: 99px; background: #fff; box-shadow: 0 6px 14px -6px rgb(0 0 0 / .5); z-index: 4; }
.par-ok img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.par-ok .ic { width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: var(--ok); color: #fff; stroke-width: 3; }
/* lo que llega de fuera, lo que sale al cliente */
.par-msg { position: absolute; left: 452px; top: 82px; width: 150px; display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px 10px 9px; border-radius: 12px 12px 12px 4px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.3; box-shadow: 0 18px 36px -14px rgb(0 0 0 / .6); z-index: 8; }
.par-msg .co { border-radius: 50%; }
.par-pic { position: absolute; left: 0; top: 0; width: 44px; height: 34px; border-radius: 5px; border: 2.5px solid #fff; background: radial-gradient(circle at 72% 30%, #FBE3A0 0 4px, transparent 4.5px), linear-gradient(#9FD0E4, #D8EEF4 58%, #7DB38A 58%); box-shadow: 0 10px 20px -6px rgb(0 0 0 / .55); z-index: 7; }
.par-env { position: absolute; left: 0; top: 0; width: 34px; height: 27px; border-radius: 7px; display: grid; place-items: center; background: #fff; color: var(--c); box-shadow: 0 10px 20px -8px rgb(0 0 0 / .6); z-index: 7; }
.par-env .ic { width: 18px; height: 18px; stroke-width: 2; }
.par-ck { position: absolute; left: 1083px; top: calc(54px + var(--ly) * var(--l)); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; box-shadow: 0 0 0 2px #0B3F3B; z-index: 5; }
.par-ck .ic { width: 12px; height: 12px; stroke-width: 3; }
/* Kelp: un solo símbolo, junto al nombre del día en curso */
.par-k { position: absolute; left: 0; top: 0; width: 30px; height: 30px; z-index: 6; }
.par-k .kbot { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 0 0 3px rgb(255 255 255 / .9), 0 10px 20px -6px rgb(0 0 0 / .55); }
.par-k .kbot svg { width: 20px; height: 20px; }
.par-k .rp { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.par-k.busy .kbot svg { animation: turn 2.1s var(--ease) infinite; }

/* ---- 01 · Hacer: tres ventanas de trabajo en cascada; Kelp edita dentro de cada una ---- */
.mak-w { position: absolute; left: 0; top: 0; width: 350px; height: 236px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px rgb(1 33 32 / .08), 0 26px 50px -22px rgb(1 33 32 / .5); }
.mak-h { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #F7F8F7; font-size: 12.5px; flex: none; }
.mak-h img { width: 15px; height: 15px; }
.mak-h b { font-weight: 600; }
.mak-ty { margin-left: auto; padding: 2px 8px; border-radius: 99px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-size: 11px; font-weight: 600; }
.mak-b { position: relative; flex: 1; padding: 12px; }
.mak-pp { display: grid; grid-template-columns: 50px 1fr; gap: 10px; align-items: start; background: #F3F2F1; }
.mak-th { display: grid; gap: 6px; }
.mak-th i { height: 30px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px #E1DFDD; }
.mak-sl { aspect-ratio: 16 / 9; display: grid; gap: 9px; align-content: start; padding: 12px 14px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px #E1DFDD; }
.mak-sk { width: 54%; height: 8px; border-radius: 4px; background: var(--deep); transform-origin: left; }
.mak-ch { display: flex; align-items: flex-end; gap: 9px; height: 64px; border-bottom: 1px solid var(--line-2); }
.mak-ch i { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: linear-gradient(#1F7A6C, #0E5A55); transform-origin: bottom; }
.mak-lns { display: grid; gap: 5px; }
.mak-lns i { display: block; height: 5px; border-radius: 3px; background: #E4EAE8; transform-origin: left; }
.mak-lns i + i { width: 68%; }
.mak-cg { display: grid; grid-template-columns: repeat(4, 64px); gap: 9px; align-content: start; justify-content: center; background: #EEF0F3; }
.mak-cg i { position: relative; height: 64px; border-radius: 7px; background: linear-gradient(145deg, var(--a), var(--b)); box-shadow: 0 4px 10px -6px rgb(1 33 32 / .4); }
.mak-cg i::before { content: ""; position: absolute; right: 9px; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: rgb(255 255 255 / .55); }
.mak-cg i::after { content: ""; position: absolute; left: 8px; right: 16px; bottom: 8px; height: 5px; border-radius: 3px; background: rgb(255 255 255 / .85); }
.mak-md { display: grid; gap: 6px; align-content: start; }
.mak-m { display: flex; align-items: center; gap: 9px; height: 31px; padding: 0 10px 0 5px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; font-weight: 600; }
.mak-m > i { width: 22px; height: 22px; border-radius: 6px; background: #FDEEE2; color: #E6720F; display: grid; place-items: center; }
.mak-m > i .ic { width: 12px; height: 12px; }
.mak-m > b { position: relative; margin-left: auto; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background-color .3s, box-shadow .3s; }
.mak-m > b::after { content: ""; position: absolute; left: 5.5px; top: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.8px 1.8px 0; rotate: 45deg; opacity: 0; transition: opacity .25s; }
.mak-m.on > b { background: var(--ok); box-shadow: none; }
.mak-m.on > b::after { opacity: 1; }
.mak-ok { position: absolute; left: 12px; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 3px 9px 3px 3px; border-radius: 99px; background: var(--foam-2); box-shadow: 0 0 0 1px rgb(14 107 84 / .15); color: var(--ok); font-size: 11.5px; font-weight: 600; z-index: 2; }
.mak-ok img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.mak-ok .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.mak-w + .mak-w { left: 125px; top: 92px; }
.mak-w + .mak-w + .mak-w { left: 250px; top: 184px; }
.mak-cur { position: absolute; left: 0; top: 0; z-index: 10; pointer-events: none; }
.mak-cur > svg { width: 20px; height: 20px; fill: var(--deep); stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .25)); }
.mak-cur > span { position: absolute; left: 15px; top: 16px; display: flex; align-items: center; gap: 4px; padding: 2px 8px 2px 4px; border-radius: 99px 99px 99px 4px; background: var(--deep); color: var(--foam); font-size: 11px; font-weight: 600; white-space: nowrap; }
.mak-cur > span svg { width: 13px; height: 13px; fill: var(--foam); }

/* ---- 02 · Con el equipo: la lista de tareas del proyecto en Asana. Kelp está en la columna
   «Responsable» como una persona más; Marta le asigna una tarea, Kelp la hace y deja el borrador
   en la tarea de Jorge, que la cierra ---- */
.eq-l { position: absolute; left: 14px; top: 24px; width: 572px; overflow: hidden; }
.eq-top { display: flex; align-items: center; gap: 9px; height: 48px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.eq-top img { width: 18px; height: 18px; }
.eq-top b { font-weight: 600; }
.eq-vw { margin-left: 6px; padding: 3px 10px; border-radius: 6px; background: var(--tint); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.eq-hd, .eq-r { display: grid; grid-template-columns: 28px 1fr 132px 82px; gap: 12px; align-items: center; padding: 0 18px; }
.eq-hd { height: 34px; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.eq-hd span:first-child { grid-column: 2; }
.eq-r { height: 58px; border-bottom: 1px solid var(--line); font-size: 14px; transition: background-color .4s; }
.eq-r:last-child { border-bottom: 0; }
.eq-r.hit { background: var(--foam-2); }
.eq-r > b { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 500; white-space: nowrap; transition: color .3s; }
.eq-r > em { font-style: normal; font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.eq-ck { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink-3); transition: background-color .3s, box-shadow .3s, color .3s; }
.eq-ck .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.eq-done .eq-ck, .eq-r.on .eq-ck { background: var(--ok); color: #fff; box-shadow: none; }
.eq-done > b, .eq-r.on > b { color: var(--ink-3); }
.eq-who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.eq-who img, .eq-who .kbot { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.eq-who .kbot svg { width: 17px; height: 17px; }
.eq-slot { display: grid; }
.eq-slot > * { grid-area: 1 / 1; }
.eq-none { width: 28px; height: 28px; border-radius: 50%; border: 1.5px dashed var(--line-2); }
.eq-kl { display: flex; align-items: center; gap: 8px; }
.eq-att { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 6px; border-radius: 6px; background: #EAF0FB; color: #2B579A; font-size: 11.5px; font-weight: 600; }
.eq-att img { width: 14px; height: 14px; }
/* el selector de responsable que abre Marta, y el borrador que viaja */
.eq-pick { position: absolute; left: 0; top: 0; z-index: 6; display: flex; gap: 8px; padding: 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 16px 32px -14px rgb(1 33 32 / .45); }
.eq-pick img, .eq-pick .kbot { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; transition: box-shadow .25s; }
.eq-pick .kbot svg { width: 21px; height: 21px; }
.eq-pick .kbot.on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #C2527A; }
.eq-doc { position: absolute; left: 0; top: 0; z-index: 7; width: 40px; height: 50px; padding: 7px 7px 0; border-radius: 5px; background: #fff; display: grid; gap: 4px; align-content: start; box-shadow: 0 0 0 1px var(--line-2), 0 12px 22px -10px rgb(1 33 32 / .45); }
.eq-doc img { width: 14px; height: 14px; }
.eq-doc i { display: block; height: 3px; border-radius: 2px; background: #DCE3E1; }
.eq-doc i:last-child { width: 65%; }

/* ---- 03 · Planificar: la reunión de arranque arriba y el plan que se dibuja debajo ---- */
.pln-call { position: absolute; left: 0; top: 0; width: 296px; height: 138px; overflow: hidden; }
.pln-call img { width: 15px; height: 15px; }
.pln-rec { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.pln-rec i { width: 7px; height: 7px; border-radius: 50%; background: #E5484D; }
.pln-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px; }
.pln-tile { position: relative; height: 80px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: #2B3533; }
.pln-tile > img { width: 100%; height: 100%; object-fit: cover; }
.pln-tile small { position: absolute; left: 7px; bottom: 5px; font-size: 10.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .5); }
.pln-cli .co { width: 38px; height: 38px; border-radius: 50%; font-size: 13px; }
.pln-k { background: var(--deep); transition: box-shadow .3s; }
.pln-k .kbot { width: 38px; height: 38px; border-radius: 11px; background: var(--teal); }
.pln-k.on { box-shadow: inset 0 0 0 2px var(--foam); }
.pln-eq { position: absolute; right: 8px; top: 8px; display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.pln-eq i { width: 3px; height: 35%; border-radius: 2px; background: var(--foam); }
.pln-k.on .pln-eq i { animation: pln-eq .9s ease-in-out infinite alternate; }
.pln-k.on .pln-eq i:nth-child(2) { animation-delay: .2s; }
.pln-k.on .pln-eq i:nth-child(3) { animation-delay: .4s; }
.pln-k.on .pln-eq i:nth-child(4) { animation-delay: .1s; }
@keyframes pln-eq { to { height: 100%; } }
.pln-q { position: absolute; left: 312px; top: 14px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 13px 0 7px; border-radius: 3px 12px 12px 12px; background: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-card); z-index: 3; }
.pln-q + .pln-q { top: 70px; }
.pln-q .co, .pln-q img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; font-size: 9.5px; }
.pln-g { position: absolute; left: 0; top: 164px; width: 600px; height: 256px; padding: 14px 18px 6px; }
.pln-gh { display: grid; grid-template-columns: 96px repeat(8, 1fr); padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; color: var(--ink-3); text-align: center; }
.pln-r { display: grid; grid-template-columns: 96px 1fr; align-items: center; height: 50px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.pln-r:last-child { border-bottom: 0; }
.pln-tr { position: relative; height: 100%; background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 12.5% 100%; }
.pln-tr > i { position: absolute; top: 13px; height: 24px; border-radius: 6px; background: #1F7A6C; transform-origin: left; box-shadow: 0 6px 14px -8px rgb(1 33 32 / .5); }
.pln-r:nth-child(3) .pln-tr > i { background: #0E5A55; }
.pln-r:nth-child(4) .pln-tr > i { background: var(--deep); }
.pln-tr > i > img, .pln-tr > i > .kbot { position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.pln-tr > i > .kbot { background: var(--teal); }
.pln-tr > i > .kbot svg { width: 12px; height: 12px; }
.pln-ms { position: absolute; top: 16px; width: 18px; height: 18px; margin-left: -9px; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); background: var(--ember-ink); }
.pln-ml { position: absolute; top: 15px; right: calc(6.25% + 16px); font-size: 12px; font-weight: 700; color: var(--ember-ink); white-space: nowrap; }
.pln-ok { position: absolute; left: 318px; top: 48px; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 10px; background: #fff; font-size: 12.5px; font-weight: 600; color: var(--ok); white-space: nowrap; box-shadow: 0 0 0 1.5px rgb(14 107 84 / .25), var(--shadow-card); }
.pln-ok img { width: 16px; height: 16px; }

/* ---- 04 · Controlar: horas por semana contra el presupuesto; Kelp avisa y reajusta ---- */
.ctl-c { position: absolute; left: 0; top: 0; width: 600px; height: 258px; display: flex; flex-direction: column; }
.ctl-c .c-h { height: 42px; padding: 0 16px; font-size: 12.5px; flex: none; }
.ctl-c .c-h img { width: 15px; height: 15px; }
.ctl-tot { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.ctl-n { font-weight: 600; font-variant-numeric: tabular-nums; }
.ctl-bad { color: var(--ember-ink); }
.ctl-good { color: var(--ok); }
.ctl-plot { position: relative; flex: 1; display: grid; grid-template-columns: repeat(8, 1fr); margin: 0 22px; padding-bottom: 28px; }
.ctl-w { position: relative; display: flex; justify-content: center; align-items: flex-end; box-shadow: inset 0 -1px 0 var(--line-2); }
.ctl-w small { position: absolute; bottom: -22px; font-size: 11px; font-weight: 600; color: var(--ink-3); }
.ctl-b, .ctl-p { width: 34px; height: calc(var(--h) * 3.4px); border-radius: 5px 5px 0 0; transform-origin: bottom; }
.ctl-b { background: #1F7A6C; }
.ctl-b.ctl-ov { background: linear-gradient(to top, #1F7A6C 0 calc(40 * 3.4px), #E7B25C calc(40 * 3.4px)); }
.ctl-p { background: repeating-linear-gradient(135deg, rgb(231 178 92 / .5) 0 4px, rgb(231 178 92 / .18) 4px 8px); box-shadow: inset 0 0 0 1.5px #E7B25C; }
.ctl-p.fix { background: repeating-linear-gradient(135deg, rgb(31 122 108 / .35) 0 4px, rgb(31 122 108 / .12) 4px 8px); box-shadow: inset 0 0 0 1.5px #1F7A6C; }
.ctl-bud { position: absolute; left: -10px; right: -10px; bottom: calc(28px + 40 * 3.4px); border-top: 1.5px dashed var(--ink-2); z-index: 2; }
.ctl-bud span { position: absolute; left: 4px; top: -22px; padding: 0 4px; background: #fff; font-style: normal; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.ctl-pin { position: absolute; left: calc(3.5 / 8 * 100%); bottom: calc(28px + 47 * 3.4px + 10px); display: flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 99px; background: var(--ember-2); color: var(--ember-ink); font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 0 0 1.5px #E7B25C, 0 10px 20px -8px rgb(1 33 32 / .45); z-index: 3; }
.ctl-pin .kbot { width: 22px; height: 22px; border-radius: 50%; }
.ctl-msg { position: absolute; left: 120px; top: 272px; width: 360px; box-shadow: 0 0 0 1px rgb(1 33 32 / .08), 0 30px 60px -24px rgb(0 0 0 / .6); }
.ctl-msg .c-h img { width: 15px; height: 15px; }
.ctl-mb { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding: 12px 14px 14px; }
.ctl-mb > .kbot { width: 30px; height: 30px; border-radius: 50%; }
.ctl-mb > .kbot svg { width: 19px; height: 19px; }
.ctl-mb p { font-size: 13px; line-height: 1.45; }
.ctl-sw { margin-top: 10px; justify-items: start; }
.ctl-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 16px; border-radius: 7px; background: var(--deep); color: #fff; font-size: 12.5px; font-weight: 600; transition: box-shadow .3s; }
.ctl-btn.ready { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--teal); }
.ctl-done { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 4px; border-radius: 99px; background: var(--foam-2); color: var(--ok); font-size: 12.5px; font-weight: 600; }
.ctl-done img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

/* ---- 05 · Informar: la bandeja del cliente recibe un avance cada viernes ---- */
.inb-w { position: absolute; left: 0; top: 10px; width: 600px; height: 400px; overflow: hidden; display: grid; grid-template-columns: 232px 1fr; }
.inb-l { display: flex; flex-direction: column; border-right: 1px solid var(--line); background: #F7F8F8; }
.inb-lh { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; flex: none; }
.inb-lh img { width: 16px; height: 16px; }
.inb-list { position: relative; flex: 1; }
.inb-row { position: absolute; left: 0; right: 0; top: 0; height: 66px; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); background: #F7F8F8; transition: background-color .3s, box-shadow .3s; }
.inb-row > .kbot { width: 30px; height: 30px; border-radius: 50%; }
.inb-row > .kbot svg { width: 19px; height: 19px; }
.inb-row b { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.inb-row small { display: block; font-size: 12px; color: var(--ink-2); }
.inb-row em { align-self: start; margin-top: 15px; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.inb-row.sel { background: #fff; box-shadow: inset 3px 0 0 var(--teal); }
.inb-r { display: grid; gap: 14px; align-content: start; padding: 16px 20px; }
.inb-rh { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.inb-rh b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.inb-rh small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-3); }
.inb-d { justify-items: start; }
.inb-sec { display: grid; gap: 7px; }
.inb-sec > i { display: block; height: 6px; border-radius: 3px; background: #E4EAE8; transform-origin: left; }
.inb-lab { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.inb-lab .ic { width: 13px; height: 13px; color: var(--teal); stroke-width: 2.2; }
.inb-ask { padding: 10px 12px; border-radius: 9px; background: var(--ember-2); transition: box-shadow .3s; }
.inb-ask .inb-lab, .inb-ask .inb-lab .ic { color: var(--ember-ink); }
.inb-ask b { font-size: 13px; font-weight: 600; }
.inb-ask.on { box-shadow: 0 0 0 1.5px #E7B25C; }
.inb-re { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding-top: 14px; border-top: 1px solid var(--line); }
.inb-re .co { width: 28px; height: 28px; border-radius: 50%; font-size: 10px; }
.inb-re p { font-size: 13px; font-weight: 600; }
.inb-att { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 7px 11px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); font-size: 12px; font-weight: 600; }
.inb-att img { width: 16px; height: 16px; }

/* ---- 06 · Heredar: dos proyectos, uno encima del otro. Atalaya empezó de cero y llega al final;
   de él salen la plantilla, el checklist y las horas reales, que entran en la barra de Norte
   Seguros: el proyecto nuevo arranca el día 1 con un tercio hecho ---- */
.mtd-p { position: absolute; left: 30px; width: 540px; padding: 18px 22px 22px; }
.mtd-a { top: 22px; }
.mtd-b { top: 262px; transition: box-shadow .4s; }
.mtd-b.on { box-shadow: 0 0 0 2px var(--teal), var(--shadow-card); }
.mtd-ph { display: flex; align-items: center; gap: 10px; }
.mtd-ph .co { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
.mtd-ph b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.mtd-ph > .tag, .mtd-st { margin-left: auto; }
.mtd-row { display: flex; align-items: flex-end; gap: 18px; margin-top: 18px; }
.mtd-tr { position: relative; flex: 1; height: 34px; border-radius: 9px; background: #EEF3F1; box-shadow: inset 0 0 0 1px var(--line); display: flex; overflow: hidden; }
.mtd-fill { position: absolute; inset: 0; border-radius: 9px; background: linear-gradient(90deg, #6F9F93, #2E7566); transform-origin: left; }
.mtd-sg { width: 10%; height: 100%; display: grid; place-items: center; background: var(--teal); color: var(--foam); box-shadow: inset -1px 0 0 rgb(255 255 255 / .35); transform-origin: left; }
.mtd-sg img, .mtd-sg .ic { width: 16px; height: 16px; }
.mtd-sg img { padding: 1px; border-radius: 3px; background: #fff; }
.mtd-sg .ic { stroke-width: 2.4; }
.mtd-pc { width: 104px; white-space: nowrap; line-height: 1; text-align: right; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.mtd-a .mtd-pc, .mtd-b.on .mtd-pc { color: var(--ink); }
.mtd-cap { display: grid; justify-items: end; margin-bottom: 1px; font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--ink-3); }
.mtd-cap > * { grid-area: 1 / 1; }
/* lo que se queda la firma: una pieza por cosa, con su herramienta */
.mtd-it { position: absolute; left: 0; top: 0; z-index: 4; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 10px; background: #fff; box-shadow: var(--shadow-card); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.mtd-it img, .mtd-it .ic { width: 18px; height: 18px; }
.mtd-it .ic { color: var(--teal); stroke-width: 2.4; }

/* ============================================================
   Móvil (≤ 700 px): cada escena recompone su lienzo en vertical, de 330 px de ancho, para que
   se lea a tamaño real (a 360 px de pantalla el sistema lo encoge a ~0,9). Mismas piezas y
   mismo gesto; lo que iba en fila se apila
   ============================================================ */
@media (max-width: 700px) {
  /* Hero · la semana se traspone: un carril por columna, con quien lo lleva arriba y su cliente
     abajo; los días bajan de lunes a viernes y la entrega es la raya bajo el viernes */
  #e2e { height: 444px; }
  .par-cv { --cw: 352px; --ch: 404px; --x0: 63px; --y0: 92px; --dx: 0px; --dy: 44px; --lx: 74px; --ly: 0px; --gw: 64px; --gh: 36px; --kx: 30px; --ky: 97px; }
  .par-d { left: 2px; top: calc(110px + var(--dy) * var(--d)); translate: 0 -50%; }
  .par-lane { left: calc(60px + var(--lx) * var(--l)); right: auto; top: 32px; bottom: 0; width: 70px; height: auto; }
  .par-lane::after { left: 50%; right: auto; top: 318px; bottom: 52px; border-top: 0; border-left: 1.5px dotted rgb(198 238 227 / .28); }
  .par-who { left: 50%; top: 8px; translate: -50% 0; flex-direction: column; gap: 4px; font-size: 11px; }
  .par-who img { width: 26px; height: 26px; }
  .par-cli { left: 50%; top: auto; bottom: 4px; translate: -50% 0; width: 70px; gap: 3px; font-size: 11px; }
  .par-cli .co { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
  .par-rule { left: 58px; right: 0; top: 310px; height: 0; border-left: 0; border-top: 1.5px dashed rgb(198 238 227 / .35); }
  .par-hoy { left: 0; top: 88px; width: 352px; height: 44px; }
  .par-cnt { top: 0; }
  .par-n { font-size: 20px; }
  .par-sent { top: 0; height: 24px; font-size: 11.5px; }
  .par-g { border-radius: 7px; }
  .par-g img { width: 18px; height: 18px; padding: 3px; border-radius: 5px; }
  .par-g b { top: -10px; bottom: auto; font-size: 11px; }
  .par-c { border-radius: 6px; }
  .par-c > * { zoom: .5; }
  .par-ok { zoom: .85; }
  .par-msg { left: 100px; top: 130px; }
  .par-ck { left: calc(101px + var(--lx) * var(--l)); top: 347px; }
  .par-k, .par-k .kbot, .par-k .rp { width: 26px; height: 26px; }
  .par-k .kbot { border-radius: 8px; }
  .par-k .kbot svg { width: 17px; height: 17px; }
  .par-k .rp { margin: -13px 0 0 -13px; }

  /* 01 · las tres ventanas, en cascada hacia abajo */
  #s-mak { --cw: 330px; --ch: 430px; height: 470px; }
  .mak-w { width: 300px; }
  .mak-w + .mak-w { left: 15px; top: 97px; }
  .mak-w + .mak-w + .mak-w { left: 30px; top: 194px; }
  .mak-cg { grid-template-columns: repeat(4, 1fr); }
  .mak-cur > span { left: auto; right: 12px; border-radius: 99px 4px 99px 99px; }   /* la etiqueta, a la izquierda: a la derecha se sale */

  /* 02 · la lista de tareas sin la columna de fecha; el adjunto baja bajo el nombre */
  #s-tsk { --cw: 330px; --ch: 384px; height: 424px; }
  .eq-l { left: 0; top: 10px; width: 330px; }
  .eq-top { height: 44px; padding: 0 14px; }
  .eq-hd, .eq-r { grid-template-columns: 24px 1fr 94px; gap: 10px; padding: 0 12px; }
  .eq-hd { height: 30px; }
  .eq-hd span:last-child, .eq-r > em { display: none; }
  .eq-r { font-size: 13px; }
  .eq-r > b { flex-wrap: wrap; gap: 4px 8px; white-space: normal; line-height: 1.25; }

  /* 03 · la reunión arriba, lo que se dice debajo y el plan al pie */
  #s-pln { --cw: 330px; --ch: 444px; height: 484px; }
  .pln-call { width: 330px; height: 122px; }
  .pln-tile { height: 64px; }
  .pln-q, .pln-ok { left: 0; top: 134px; }
  .pln-q + .pln-q { top: 180px; }
  .pln-g { top: 230px; width: 330px; height: 214px; padding: 12px 12px 4px; }
  .pln-gh { grid-template-columns: 78px repeat(8, 1fr); }
  .pln-r { grid-template-columns: 78px 1fr; height: 42px; font-size: 12px; }
  .pln-tr > i { top: 10px; height: 22px; }
  .pln-tr > i > img, .pln-tr > i > .kbot { right: 2px; top: 2px; }
  .pln-ms { top: 12px; }
  .pln-ml { top: 12px; }

  /* 04 · el gráfico a lo ancho y el aviso de Kelp debajo */
  #s-ctl { --cw: 330px; --ch: 440px; height: 480px; }
  .ctl-c { width: 330px; }
  .ctl-c .c-h { padding: 0 12px; }
  .ctl-plot { margin: 0 12px; }
  .ctl-b, .ctl-p { width: 22px; }
  .ctl-msg { left: 0; width: 330px; }

  /* 05 · la bandeja se queda en una columna estrecha con la fecha de cada avance */
  #s-inb { --cw: 330px; --ch: 410px; height: 450px; }
  .inb-w { width: 330px; grid-template-columns: 92px 1fr; }
  .inb-lh { padding: 0 12px; }
  .inb-lh > span, .inb-row > span:not(.kbot) { display: none; }
  .inb-row { grid-template-columns: 28px auto; gap: 8px; padding: 0 10px 0 12px; }
  .inb-row > .kbot { width: 28px; height: 28px; }
  .inb-row em { align-self: center; margin: 0; }
  .inb-r { padding: 14px; gap: 12px; }
  .inb-rh b { font-size: 14px; }

  /* 06 · los dos proyectos a lo ancho; lo que se queda la firma, entre los dos */
  #s-mtd { --cw: 330px; --ch: 390px; height: 430px; }
  .mtd-p { left: 0; width: 330px; padding: 16px 16px 18px; }
  .mtd-a { top: 10px; }
  .mtd-row { gap: 12px; margin-top: 16px; }
  .mtd-pc { width: 80px; font-size: 26px; }
  .mtd-it { gap: 6px; padding: 0 10px 0 8px; font-size: 12.5px; }
  .mtd-it img, .mtd-it .ic { width: 16px; height: 16px; }
}
