/* ============================================================
   Kelp · Para agencias. Solo lo propio de esta página: el hero
   (los dos frentes) y las escenas de "Te sonará" y de las cuatro
   capacidades. Los componentes de la familia están en vertical.css.
   ============================================================ */

/* ---- Hero: el nuevo negocio a la izquierda, las cuentas a la derecha, la misma semana ---- */
#frentes { height: 600px; }
.ag-cv { --cw: 1104px; --ch: 480px; --hx: 532px; --hy: 232px; --sdx: 96px; --sdy: -58px; --rdx: -46px; --rdy: 0px; }
/* --hx, --hy: donde descansa Kelp; --sdx, --sdy y --rdx, --rdy: dónde se pone respecto a la
   diapositiva y a la cuenta en que trabaja (los lee agencias.js) */
.ag-dyn { position: absolute; inset: 0; }
.ag-cap { position: absolute; top: 12px; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #F2FBF8; }
.ag-cap .ic { width: 15px; height: 15px; color: var(--foam); }
.ag-days { position: absolute; left: 50%; top: 4px; translate: -50% 0; display: flex; gap: 2px; padding: 4px; border-radius: 10px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(198 238 227 / .14); }
.ag-days span { width: 50px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: rgb(198 238 227 / .5); transition: background-color .3s, color .3s; }
.ag-days span.on { background: var(--foam); color: var(--deep); }
.ag-deck, .ag-acs { position: absolute; top: 56px; width: 500px; height: 396px; display: flex; flex-direction: column; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .6); }
.ag-deck { left: 0; }
.ag-acs { left: 604px; }
.ag-deck .c-h img, .ag-acs .c-h img { width: 15px; height: 15px; }
.ag-when { padding: 2px 8px; border-radius: 6px; transition: background-color .3s, color .3s; }
.ag-when.on { background: var(--deep); color: var(--foam); font-weight: 600; }
.ag-sls { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; padding: 16px; }
.ag-sl { position: relative; display: flex; flex-direction: column; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1.5px rgb(1 33 32 / .14); overflow: hidden; background-image: repeating-linear-gradient(135deg, transparent 0 7px, rgb(1 33 32 / .025) 7px 8px); transition: box-shadow .3s; }
.ag-sl > b { padding: 7px 11px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-3); background: #fff; transition: color .3s; }
.ag-slc { flex: 1; position: relative; padding: 14px; opacity: 0; transition: opacity .4s; }
.ag-sl.ag-f { background-image: none; box-shadow: 0 0 0 1px var(--line), 0 8px 18px -12px rgb(1 33 32 / .45); }
.ag-sl.ag-f .ag-slc { opacity: 1; }
.ag-sl.ag-f > b { color: var(--ink); }
.ag-bars { display: flex; align-items: flex-end; gap: 8px; }
.ag-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(#2F7D72, #0E5A55); transform-origin: bottom; }
.ag-bars i:nth-child(4) { background: linear-gradient(#E2B36A, #C98A2E); }
.ag-ang { display: grid; align-content: start; gap: 7px; }
.ag-ang i { height: 7px; border-radius: 4px; background: #E4EAE8; }
.ag-ang i:first-child { height: 11px; width: 78%; background: var(--ink); opacity: .82; }
.ag-ang i:nth-child(3) { width: 64%; }
.ag-src { justify-self: start; margin-top: 8px; padding: 3px 9px; border-radius: 99px; background: var(--ember-2); color: var(--ember-ink); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.ag-cred { display: grid; align-content: center; gap: 9px; }
.ag-cred > span { display: flex; align-items: center; gap: 9px; }
.ag-cred .co { width: 20px; height: 20px; font-size: 8.5px; }
.ag-cred i { flex: 1; height: 7px; border-radius: 4px; background: #E4EAE8; }
.ag-cred > span:nth-child(2) i { flex: 0 0 60%; }
.ag-idea { background: linear-gradient(135deg, #F6C58B 0%, #E8836B 42%, #5B4E8C 100%); }
.ag-idea i { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgb(255 255 255 / .9); box-shadow: 0 0 0 10px rgb(255 255 255 / .22); }
.ag-stamp { position: absolute; left: 50%; top: 56%; translate: -50% -50%; rotate: -8deg; padding: 6px 22px; border-radius: 10px; border: 3px solid var(--ok); background: rgb(255 255 255 / .92); color: var(--ok); font-size: 30px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 18px 36px -16px rgb(1 33 32 / .5); opacity: 0; }
.ag-rw { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 104px; align-items: center; gap: 12px; height: 88px; padding: 0 18px; border-bottom: 1px solid var(--line); transition: background-color .4s; }
.ag-rw .co { width: 30px; height: 30px; border-radius: 8px; font-size: 10.5px; }
.ag-rwn b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.ag-rwn small { display: block; font-size: 12.5px; color: var(--ink-3); }
.ag-lg { display: flex; gap: 6px; }
.ag-lg img { width: 26px; height: 26px; padding: 4px; border-radius: 7px; box-shadow: 0 0 0 1px var(--line); filter: grayscale(1); opacity: .35; transition: filter .4s, opacity .4s; }
.ag-rw.ag-d .ag-lg img { filter: none; opacity: 1; }
.ag-rw.ag-hit { background: var(--foam-2); }
.ag-st { justify-items: end; }
.ag-nw { opacity: 0; }
.ag-nw .tag { justify-self: end; }
.ag-fly { position: absolute; left: 0; top: 0; z-index: 8; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 5px; border-radius: 99px; background: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 0 0 1px var(--line), 0 16px 32px -12px rgb(0 0 0 / .55); opacity: 0; }
.ag-fly .co { width: 28px; height: 28px; border-radius: 50%; }

/* ---- Te sonará 01 · el mazo del pitch: amontonado el jueves o hecho el martes ---- */
.ag-wk { position: absolute; inset: 0; overflow: hidden; }
.ag-wkh, .ag-wkb { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.ag-wkh { top: 0; height: 30px; align-items: center; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--ink-3); text-align: center; }
.ag-wkb { top: 30px; bottom: 0; }
.ag-wkb i + i { border-left: 1px solid var(--line); }
.ag-wk-p { position: absolute; left: 310px; top: 44px; width: 64px; height: 34px; border-radius: 7px; display: grid; place-items: center; background: var(--deep); color: var(--foam); font-size: 12px; font-weight: 600; }
/* cada mazo es una pila de diapositivas; --x, --y y --r colocan cada una */
.ag-dk { position: absolute; top: 100px; width: 56px; height: 34px; }
.ag-dk-x { left: 234px; opacity: 0; }
.ag-dk-k { left: 80px; }
.ag-ds { position: absolute; left: var(--x, 0); top: var(--y, 0); width: 100%; height: 100%; border-radius: 3px; background: linear-gradient(#D5DEDC 0 0) 7px 7px / 26px 4px no-repeat, linear-gradient(#EDF1F0 0 0) 7px 15px / 18px 12px no-repeat, #fff; box-shadow: 0 0 0 1px rgb(1 33 32 / .16), 0 3px 6px -3px rgb(1 33 32 / .35); rotate: var(--r, 0deg); }
.ag-dk-x .ag-ds { background-color: #FDF3E1; box-shadow: 0 0 0 1px #E2B36A, 0 3px 6px -3px rgb(138 90 23 / .4); }
.ag-ds-c { background: linear-gradient(rgb(255 255 255 / .85) 0 0) 7px 7px / 26px 4px no-repeat, linear-gradient(#F2B84B 0 0) 7px 15px / 18px 12px no-repeat, #3A5BA0; box-shadow: 0 0 0 1px #2C4780, 0 6px 12px -5px rgb(1 33 32 / .5); }
.ag-dk-k .kbot { position: absolute; left: -10px; top: 22px; z-index: 1; width: 20px; height: 20px; border-radius: 6px; box-shadow: 0 0 0 2px #fff; }

/* ---- Te sonará 02 · el canal del cliente: las peticiones suben a 9 y bajan a 0 con el informe y el resumen ---- */
.ag-ch { position: absolute; left: 0; top: 0; width: 232px; height: 150px; overflow: hidden; }
.ag-ch .c-h { height: 36px; padding-block: 0; }
.ag-ch .c-h img { width: 14px; height: 14px; }
.ag-ch-hs { margin-right: -5px; color: var(--ink-3); }
.ag-ch-n { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-3); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .3s, color .3s, box-shadow .3s; }
.ag-ch-n.hot { background: #E01E5A; box-shadow: none; color: #fff; }
.ag-ch-q, .ag-ch-k { position: absolute; left: 10px; display: flex; align-items: center; gap: 7px; height: 26px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ag-ch-q { opacity: 0; }
.ag-ch-q .co { border-radius: 50%; }
.ag-ch-q > span:last-child { padding: 3px 9px; border-radius: 4px 11px 11px 11px; background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); }
.ag-ch-k .kbot { width: 22px; height: 22px; border-radius: 6px; }
.ag-ch-f { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px 0 4px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.ag-ch-f i { padding: 2px 5px; border-radius: 4px; background: var(--foam-2); color: var(--ok); font-size: 9.5px; font-style: normal; font-weight: 700; letter-spacing: .03em; }
/* las piezas creativas, en manos del equipo */
.ag-pz { position: absolute; left: 248px; top: 0; width: 132px; height: 150px; }
.ag-pz .c-h { height: 36px; padding-block: 0; }
.ag-pz .c-h img { width: 14px; height: 14px; }
.ag-pz .c-h .ag-pz-me { width: 22px; height: 22px; margin-left: auto; border-radius: 50%; object-fit: cover; }
.ag-pz-g { position: absolute; left: 12px; right: 12px; top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ag-pz-g i { height: 40px; border-radius: 6px; background: linear-gradient(135deg, #F6C58B, #E8836B 55%, #5B4E8C); }
.ag-pz-g i:nth-child(2) { background: linear-gradient(160deg, #3A5BA0, #6B5B95); }
.ag-pz-g i:nth-child(3) { background: linear-gradient(135deg, #C6EEE3, #2F7D72); }
.ag-pz-g .ag-pz-n { background: linear-gradient(200deg, #F2B84B, #C98A2E); }

/* ---- Te sonará 03 · la ejecutiva, de vacaciones; contesta Kelp ---- */
.ag-aw { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; }
.ag-aw-av { position: relative; flex: none; }
.ag-aw-av img { display: block; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; filter: grayscale(.6); }
.ag-aw-av i { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px #9AA6A4, 0 0 0 2px #fff; }
.ag-aw b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.ag-aw small { display: block; font-size: 11.5px; color: var(--ink-3); }
.ag-aw-st { margin-left: 6px; padding: 3px 9px; border-radius: 99px; background: var(--ember-2); color: var(--ember-ink); font-size: 12px; font-weight: 600; white-space: nowrap; }
.ag-aw-q { position: absolute; left: 22px; top: 64px; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ag-aw-q img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.ag-aw-q > span { padding: 5px 11px; border-radius: 4px 12px 12px 12px; background: #fff; box-shadow: var(--shadow-card); }
.ag-aw-q em { font-style: normal; padding: 0 2px; border-radius: 3px; background: #E8F0FB; color: #1D5BB8; }
.ag-aw-a { position: absolute; left: 132px; top: 98px; display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 9px; }
.ag-aw-a .kbot { width: 26px; height: 26px; }
.ag-aw-a b { display: block; font-size: 13px; font-weight: 600; line-height: 1.25; }
.ag-aw-src { display: flex; gap: 5px; margin-top: 3px; }
.ag-aw-src > span { display: flex; align-items: center; gap: 4px; padding: 1px 7px; border-radius: 5px; background: var(--foam-2); color: var(--ok); font-size: 11px; font-weight: 600; white-space: nowrap; }
.ag-aw-src img { width: 12px; height: 12px; }

/* ---- Capacidad 1 · del mazo ganado en seguros, la diapositiva del ángulo al pitch nuevo ---- */
.ag-fan { position: absolute; left: 0; top: 0; z-index: 5; width: 520px; height: 140px; }
.ag-dk3 { position: absolute; left: 36px; top: 22px; --r: -7deg; width: 132px; height: 88px; padding: 11px 12px; display: grid; align-content: start; gap: 6px; border-radius: 8px; background: #fff; rotate: var(--r); box-shadow: 0 0 0 1px rgb(1 33 32 / .1), 3px 3px 0 -1px #fff, 3px 3px 0 0 rgb(1 33 32 / .12), 6px 6px 0 -1px #fff, 6px 6px 0 0 rgb(1 33 32 / .1), 0 16px 26px -16px rgb(1 33 32 / .5); transition: box-shadow .3s; }
.ag-dk3-w { left: 194px; top: 8px; --r: 0deg; }
.ag-dk3:last-child { left: 352px; --r: 7deg; }
.ag-dk3-s { font-size: 13px; font-weight: 600; }
.ag-dk3 i { height: 5px; border-radius: 3px; background: #E4EAE8; }
.ag-dk3 i:last-of-type { width: 64%; }
.ag-dk3.ag-pick { box-shadow: 0 0 0 2px var(--teal), 3px 3px 0 -1px #fff, 3px 3px 0 0 rgb(1 33 32 / .12), 6px 6px 0 -1px #fff, 6px 6px 0 0 rgb(1 33 32 / .1), 0 16px 26px -16px rgb(1 33 32 / .5); }
/* el sello de cada mazo */
.ag-sl3 { position: absolute; right: -8px; bottom: 8px; rotate: -9deg; padding: 2px 8px; border: 2px solid var(--ok); border-radius: 6px; background: rgb(255 255 255 / .94); color: var(--ok); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ag-sl3-x { border-color: #B4533A; color: #B4533A; }
/* el pitch nuevo: cuatro diapositivas; la tercera espera el ángulo */
.ag-nd { position: absolute; left: 34px; top: 170px; width: 452px; height: 104px; }
.ag-nd-h { display: flex; align-items: center; gap: 8px; height: 26px; font-size: 13px; font-weight: 600; }
.ag-nd-h .ag-kb { margin-left: 4px; }
.ag-th { position: absolute; top: 36px; width: 104px; height: 64px; padding: 10px; display: grid; align-content: start; gap: 5px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgb(1 33 32 / .1), 0 8px 16px -10px rgb(1 33 32 / .45); }
.ag-th i { height: 5px; border-radius: 3px; background: #E4EAE8; }
.ag-th-1 { left: 0; background: var(--deep); }
.ag-th-1 i { background: rgb(198 238 227 / .5); }
.ag-th-1 i:first-child { width: 70%; height: 8px; margin-top: 18px; background: var(--foam); }
.ag-th-1 i:last-child { width: 42%; }
.ag-th-2 { left: 116px; grid-template-columns: repeat(3, 1fr); align-items: end; align-content: end; }
.ag-th-2 i { border-radius: 2px 2px 0 0; background: #2F7D72; }
.ag-th-2 i:nth-child(1) { height: 18px; }
.ag-th-2 i:nth-child(2) { height: 30px; }
.ag-th-2 i:nth-child(3) { height: 40px; }
.ag-th-e { left: 232px; background: none; box-shadow: none; outline: 1.5px dashed rgb(1 33 32 / .25); outline-offset: -1.5px; }
.ag-th-4 { left: 348px; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: center; }
.ag-th-4 i { height: 22px; border-radius: 50%; width: 22px; justify-self: center; background: #E4EAE8; }
/* la diapositiva del ángulo: sale del mazo ganado y encaja en la tercera */
.ag-ang3 { position: absolute; left: 266px; top: 206px; z-index: 4; width: 104px; height: 64px; display: grid; place-content: center; justify-items: center; gap: 4px; border-radius: 6px; background: var(--teal); color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 10px 20px -10px rgb(1 33 32 / .6); }
.ag-ang3 .ic { width: 20px; height: 20px; color: var(--foam); }

/* ---- Capacidad 2 · el informe del mes, en la bandeja del cliente ---- */
.ag-rp { position: absolute; left: 40px; top: 6px; width: 440px; }
.ag-rp .c-h img { width: 15px; height: 15px; }
.ag-rp-b { display: grid; grid-template-columns: 120px 1fr; gap: 14px 18px; padding: 16px; }
.ag-rp-k small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.ag-rp-k b { display: block; margin-top: 2px; font-size: 32px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--ok); font-variant-numeric: tabular-nums; }
.ag-rp-ch { width: 100%; height: 90px; overflow: visible; }
.ag-rp-bg { fill: none; stroke: var(--line-2); stroke-width: 1; }
.ag-rp-ln { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; }
.ag-rp-l { grid-column: 1 / -1; display: flex; gap: 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.ag-rp-l span { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; }
.ag-rp-l .ic { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--foam-2); color: var(--ok); stroke-width: 3; }
.ag-rp-re { position: absolute; left: 236px; top: 226px; display: flex; align-items: flex-start; gap: 8px; }
.ag-rp-re .co { border-radius: 50%; }
.ag-rp-re span:last-child { padding: 7px 11px; border-radius: 4px 12px 12px 12px; background: #fff; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-card); white-space: nowrap; }

/* ---- Capacidad 3 · el presupuesto como vasos comunicantes, en el Administrador de anuncios ---- */
.ag-vc { position: absolute; left: 20px; top: 9px; width: 480px; height: 262px; }
.ag-vc .c-h { height: 40px; padding-block: 0; padding-right: 48px; }
.ag-vc .c-h img { width: 16px; height: 16px; }
.ag-vcol { position: absolute; top: 40px; width: 152px; height: 214px; }
.ag-vcol:nth-child(3) { left: 12px; }
.ag-vcol:nth-child(4) { left: 164px; }
.ag-vcol:nth-child(5) { left: 316px; }
.ag-vnm { position: absolute; left: 0; right: 0; top: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.ag-voff .ag-vnm { color: var(--ink-3); }
/* el interruptor de la campaña, como en Meta */
.ag-vsw { position: relative; width: 28px; height: 16px; border-radius: 99px; background: #CBD3D1; flex: none; }
.ag-vsw b { position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .2); }
.ag-vsw.ag-on { background: #1877F2; }
.ag-vsw.ag-on b { translate: 12px 0; }
/* cada campaña, un vaso graduado; el líquido es su presupuesto por día */
.ag-vs { position: absolute; left: 47px; top: 42px; z-index: 1; width: 58px; height: 114px; border: 1.5px solid rgb(1 33 32 / .17); border-top: 0; border-radius: 0 0 15px 15px; background: linear-gradient(90deg, rgb(255 255 255 / .9), #F2F6F5 70%, #FAFCFB); transform-origin: 50% 100%; }
.ag-vs::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 16px; z-index: 1; width: 9px; background: repeating-linear-gradient(to bottom, rgb(1 33 32 / .2) 0 1px, transparent 1px 20px); }
.ag-vs::after { content: ""; position: absolute; left: 50%; top: 100%; width: 14px; height: 17px; margin-left: -7px; background: linear-gradient(90deg, rgb(1 33 32 / .17) 0 1.5px, #1F7468 1.5px calc(100% - 1.5px), rgb(1 33 32 / .17) 0); }
.ag-lq { position: absolute; left: 3px; right: 3px; bottom: 3px; border-radius: 3px 3px 12px 12px; background: linear-gradient(#48A897, #17665E); box-shadow: inset 0 2px 0 rgb(255 255 255 / .3); }
.ag-vt { position: absolute; left: 112px; top: 42px; width: 36px; height: 20px; border-radius: 6px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ag-vt-dn { background: var(--ember-2); stroke: #C27A1E; }
.ag-vt-up { background: var(--foam-2); stroke: var(--ok); }
.ag-va { position: absolute; left: 0; right: 0; top: 190px; text-align: center; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.ag-va b { font-size: 16px; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
/* el tubo que los une por abajo, y el dinero que corre por él */
.ag-vp { position: absolute; left: 78px; top: 208px; width: 324px; height: 12px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1.5px rgb(1 33 32 / .17); }
.ag-vp::before, .ag-vf { content: ""; position: absolute; inset: 3px; border-radius: 3px; }
.ag-vp::before { background: #1F7468; }
.ag-vf { background: repeating-linear-gradient(90deg, transparent 0 10px, rgb(255 255 255 / .7) 10px 16px, transparent 16px 26px); opacity: 0; }
.ag-vgh { position: absolute; left: 363px; top: 82px; width: 58px; height: 114px; display: grid; place-items: center; border-radius: 0 0 15px 15px; border: 1.5px dashed rgb(1 33 32 / .22); border-top: 0; color: var(--ink-3); }
.ag-vgh .ic { width: 20px; height: 20px; }
/* Kelp, dentro del Administrador de anuncios */
.ag-vk { position: absolute; left: 0; top: 0; z-index: 6; width: 26px; height: 26px; }
.ag-vk .kbot { width: 26px; height: 26px; border-radius: 8px; box-shadow: 0 0 0 3px rgb(255 255 255 / .9), 0 8px 16px -6px rgb(1 33 32 / .55); }
.ag-vk .rp { width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 9px; }

/* ---- Capacidad 4 · la cuenta renueva y crece ---- */
.ag-rn { position: absolute; left: 20px; top: 14px; width: 300px; padding: 16px 18px 18px; }
.ag-rn-h { display: flex; align-items: center; gap: 9px; }
.ag-rn-h b { font-size: 15px; font-weight: 600; }
.ag-rn-st { margin-left: auto; }
.ag-rn-f { margin-top: 16px; }
.ag-rn-f small { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.ag-rn-f b { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ag-rn-bar { display: flex; gap: 3px; height: 12px; margin-top: 12px; }
.ag-rn-bar i { border-radius: 4px; }
.ag-rn-b1 { width: 77%; background: #2F7D72; }
.ag-rn-b2 { width: 23%; background: #E2B36A; transform-origin: left; }
.ag-rn-lg { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.ag-rn-lg span { display: flex; align-items: center; gap: 6px; }
.ag-rn-lg i { width: 8px; height: 8px; border-radius: 2px; }
.ag-rn-d1 { background: #2F7D72; }
.ag-rn-d2 { background: #E2B36A; }
.ag-rn-doc { position: absolute; left: 250px; top: 176px; width: 250px; display: flex; align-items: center; gap: 11px; padding: 12px 14px; transition: box-shadow .3s; }
.ag-rn-pg { width: 30px; height: 38px; border-radius: 4px; background: #F1F7F4; box-shadow: inset 0 0 0 1px #D5DFDB; display: grid; place-items: center; color: var(--teal); flex: none; }
.ag-rn-pg .ic { width: 15px; height: 15px; }
.ag-rn-doc b { display: block; font-size: 13px; font-weight: 600; }
.ag-rn-doc small { display: block; font-size: 12px; color: var(--ink-3); }
.ag-rn-doc .kbot { width: 22px; height: 22px; border-radius: 6px; margin-left: auto; }
.ag-rn-doc.ag-ok { box-shadow: 0 0 0 2px var(--teal), var(--shadow-card); }
.ag-kb { width: 22px; height: 22px; border-radius: 6px; margin-left: auto; }
.ag-rp .ag-kb { margin-left: 8px; }

@media (max-width: 1180px) {
  .ag-cv { zoom: .86; }
}
@media (max-width: 980px) {
  #frentes { height: 420px; }
  .ag-cv { zoom: .62; }
}
@media (max-width: 700px) {
  /* Hero en vertical: el pitch arriba, la semana en medio (es de los dos frentes) y las
     cuentas debajo; Kelp descansa a la derecha de la semana */
  #frentes { height: 728px; }
  .ag-cv { --cw: 340px; --ch: 690px; --hx: 298px; --hy: 318px; --sdx: 52px; --sdy: -34px; --rdx: -18px; --rdy: 0px; zoom: 1; }
  .ag-cap { top: 0; }
  .ag-cap + .ag-cap { top: 366px; left: 0; }
  .ag-days { left: 0; top: 316px; translate: none; }
  .ag-days span { width: 44px; }
  .ag-deck, .ag-acs { left: 0; width: 340px; }
  .ag-deck { top: 26px; height: 282px; }
  .ag-acs { top: 392px; height: 296px; }
  .ag-sls { gap: 10px; padding: 12px; }
  .ag-sl > b { padding: 6px 10px; }
  .ag-slc { padding: 9px 10px; }
  .ag-bars { gap: 6px; }
  .ag-ang i:not(:first-child) { display: none; }
  .ag-src { margin-top: 6px; padding: 3px 8px; font-size: 11px; line-height: 1.25; white-space: normal; border-radius: 8px; }
  .ag-cred { gap: 5px; }
  .ag-cred .co { width: 16px; height: 16px; font-size: 8.5px; }
  .ag-idea i { width: 40px; height: 40px; margin: -20px 0 0 -20px; box-shadow: 0 0 0 7px rgb(255 255 255 / .22); }
  .ag-stamp { font-size: 24px; padding: 5px 16px; }
  /* cada cuenta: el nombre a la izquierda; las herramientas y el estado, apilados a la derecha */
  .ag-rw { grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "co nm lg" "co nm st"; align-content: center; gap: 5px 12px; height: 64px; padding: 0 14px; }
  .ag-rw > .co { grid-area: co; }
  .ag-rwn { grid-area: nm; }
  .ag-lg { grid-area: lg; justify-self: end; gap: 4px; }
  .ag-lg img { width: 22px; height: 22px; padding: 3px; border-radius: 6px; }
  .ag-st, .ag-nw > .tag { grid-area: st; justify-self: end; }

  /* Te sonará: los rótulos de las escenas, un punto más grandes (el lienzo se encoge) */
  .ag-wkh { font-size: 12px; }
  .ag-aw small { font-size: 12px; }

  /* Capacidad 1: el abanico de mazos arriba y el pitch nuevo debajo */
  .vt-cap:nth-child(1) .vt-cv { --cw: 340px; --ch: 204px; }
  .ag-fan { width: 340px; height: 100px; }
  .ag-dk3 { left: 4px; top: 18px; --r: -6deg; width: 104px; height: 72px; padding: 9px 10px; gap: 5px; }
  .ag-dk3-w { left: 118px; top: 6px; --r: 0deg; }
  .ag-dk3:last-child { left: 232px; --r: 6deg; }
  .ag-nd { left: 0; top: 116px; width: 340px; height: 88px; }
  .ag-th { top: 34px; width: 76px; height: 50px; padding: 8px; }
  .ag-th-1 i:first-child { margin-top: 10px; }
  .ag-th-2 { left: 88px; }
  .ag-th-2 i:nth-child(1) { height: 12px; }
  .ag-th-2 i:nth-child(2) { height: 20px; }
  .ag-th-2 i:nth-child(3) { height: 28px; }
  .ag-th-e { left: 176px; }
  .ag-th-4 { left: 264px; gap: 4px; }
  .ag-th-4 i { width: 16px; height: 16px; }
  .ag-ang3 { left: 176px; top: 150px; width: 76px; height: 50px; gap: 2px; }
  .ag-ang3 .ic { width: 17px; height: 17px; }

  /* Capacidad 2: el informe a todo el ancho; lo hecho, en lista; la respuesta debajo */
  .vt-cap:nth-child(2) .vt-cv { --cw: 340px; --ch: 258px; }
  .ag-rp { left: 0; top: 0; width: 340px; }
  .ag-rp-b { grid-template-columns: 92px 1fr; gap: 12px 12px; padding: 14px; }
  .ag-rp-ch { height: 72px; }
  .ag-rp-l { flex-direction: column; gap: 8px; }
  .ag-rp-re { left: auto; right: 0; top: auto; bottom: 0; }

  /* Capacidad 3: los tres vasos en columnas más estrechas; el interruptor, sobre el nombre */
  .vt-cap:nth-child(3) .vt-cv { --cw: 340px; --ch: 290px; }
  .ag-vc { left: 0; top: 4px; width: 340px; height: 280px; }
  .ag-vcol { width: 108px; height: 236px; }
  .ag-vcol:nth-child(3) { left: 6px; }
  .ag-vcol:nth-child(4) { left: 116px; }
  .ag-vcol:nth-child(5) { left: 226px; }
  .ag-vnm { top: 10px; flex-direction: column-reverse; gap: 5px; }
  .ag-vs { left: 25px; top: 58px; }
  .ag-vt { left: 86px; top: 58px; }
  .ag-va { top: 206px; }
  .ag-vp { left: 50px; top: 224px; }
  .ag-vgh { left: 251px; top: 98px; }

  /* Capacidad 4: la cuenta arriba y la renovación asomando debajo, a la derecha */
  .vt-cap:nth-child(4) .vt-cv { --cw: 340px; --ch: 244px; }
  .ag-rn { left: 0; top: 0; }
  .ag-rn-doc { left: 90px; top: 162px; }
}
