/* ============================================================
   Kelp para concesionarios · Comercial. Solo lo propio de esta página:
   el hero y las escenas de "Te sonará" y de las cuatro capacidades.
   Los componentes de la familia están en vertical.css. Prefijo: cm-.
   ============================================================ */

/* ---- Hero: el termómetro del mes y la cartera entregable ---- */
#s-com { height: 620px; }
.cm-cv { --cw: 1104px; --ch: 520px; }
.cm-tt { position: absolute; left: 0; top: 0; display: grid; gap: 2px; }
.cm-tt small { font-size: 13px; font-weight: 600; color: rgb(198 238 227 / .7); }
.cm-tt b { font-size: 40px; font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; color: #F2FBF8; font-variant-numeric: tabular-nums; }
.cm-tt em { margin-left: 8px; font-style: normal; font-size: 18px; font-weight: 500; color: rgb(198 238 227 / .55); letter-spacing: 0; }
.cm-plot { position: absolute; left: 0; top: 0; width: 744px; height: 520px; }
.cm-plot::after { content: ""; position: absolute; left: 0; right: 0; top: 480px; height: 1px; background: rgb(198 238 227 / .3); }
.cm-ln { position: absolute; left: 0; width: 744px; border-top: 1px dashed rgb(198 238 227 / .28); }
.cm-ln small { position: absolute; left: 0; bottom: 5px; font-size: 11.5px; font-weight: 600; color: rgb(198 238 227 / .55); white-space: nowrap; }
.cm-ln.cm-ln-t { border-top: 1.5px solid rgb(198 238 227 / .7); transition: border-color .4s; }
.cm-ln.cm-ln-t small { color: #F2FBF8; font-size: 12.5px; }
.cm-ln.cm-ln-t.on { border-top-color: #7FE0BE; }
.cm-b { position: absolute; width: 16px; border-radius: 3px 3px 0 0; background: rgb(198 238 227 / .82); transform-origin: bottom; }
.cm-b.cm-g { background: rgb(198 238 227 / .1); box-shadow: inset 0 0 0 1px rgb(198 238 227 / .42); transition: background-color .4s, box-shadow .4s; }
.cm-b.cm-g.on { background: rgb(127 224 190 / .32); box-shadow: inset 0 0 0 1px rgb(127 224 190 / .8); }
.cm-today { position: absolute; top: 210px; height: 270px; border-left: 1px dashed rgb(198 238 227 / .45); }
.cm-today small { position: absolute; left: 6px; top: -2px; font-size: 11.5px; font-weight: 600; color: rgb(198 238 227 / .7); white-space: nowrap; }
.cm-end { position: absolute; left: 732px; top: 132px; translate: -50% 0; }
.cm-end > span { padding: 5px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 20px -10px rgb(0 0 0 / .6); }
.cm-end-ok { background: #7FE0BE; color: var(--deep); }
.cm-end-x { background: #FBE3BD; color: var(--ember-ink); }
.cm-ca { position: absolute; left: 780px; top: 36px; width: 324px; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -24px rgb(0 0 0 / .6); }
.cm-ca-h { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.cm-ca-h .kbot { width: 26px; height: 26px; }
.cm-ca-h > b { font-size: 14px; font-weight: 600; white-space: nowrap; }
.cm-ca-n { margin-left: auto; }
.cm-ca-n .tag b { font-weight: 700; }
.cm-cr { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.cm-cr:last-child { border-bottom: 0; }
.cm-cr > .ic { width: 18px; height: 18px; color: var(--teal); flex: none; }
.cm-cr b { display: block; font-size: 13.5px; font-weight: 600; }
.cm-cr small { display: block; font-size: 12px; color: var(--ink-3); }
.cm-ck { width: 20px; height: 20px; margin-left: auto; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; flex: none; }
.cm-cr.on { background: var(--foam-2); }
.cm-pk { position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 4px; background: #7FE0BE; box-shadow: 0 0 0 3px rgb(127 224 190 / .25); opacity: 0; z-index: 6; }

/* ---- Te sonará 01 · El rápel: la hoja con fórmulas rotas y lo que de verdad importa ---- */
.cm-sh { position: absolute; left: 0; top: 4px; width: 236px; border-radius: 10px; overflow: hidden; }
.cm-sh-h { display: flex; align-items: center; gap: 7px; padding: 7px 10px; border-bottom: 1px solid var(--line); background: #F6F8F7; font-size: 11px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.cm-sh-h img { width: 13px; height: 13px; }
.cm-sh-g { display: grid; grid-template-columns: repeat(6, 1fr); }
.cm-sh-g i { height: 30px; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-style: normal; font-size: 10px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.cm-sh-g i:nth-child(6n) { border-right: 0; }
.cm-sh-g i:nth-child(n+13) { border-bottom: 0; }
.cm-sh-g i:nth-child(4), .cm-sh-g i:nth-child(8), .cm-sh-g i:nth-child(13) { color: #C0392B; background: #FDF0EE; }
.cm-res { position: absolute; left: 152px; top: 26px; width: 224px; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px 12px 12px; border-radius: 14px; box-shadow: 0 18px 34px -14px rgb(1 33 32 / .55); }
.cm-res .kbot { width: 26px; height: 26px; margin-top: 2px; }
.cm-res small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.cm-res b { display: block; font-size: 24px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.cm-res em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--ink-2); }

/* ---- Te sonará 02 · El stock: seis coches de VO y sus días ---- */
.cm-vo { position: absolute; left: 0; top: 4px; display: grid; grid-template-columns: repeat(3, 118px); gap: 10px 13px; }
.cm-v { display: grid; grid-template-columns: auto 1fr; align-content: center; align-items: center; gap: 7px 8px; height: 66px; padding: 0 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 8px 16px -12px rgb(1 33 32 / .45); transition: box-shadow .3s; }
.cm-v > .ic { width: 18px; height: 18px; color: var(--teal); }
.cm-v b { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cm-v em { grid-column: 1 / -1; justify-self: start; padding: 2px 7px; border-radius: 6px; background: var(--deep); color: var(--foam); font-style: normal; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.cm-v.cm-old.on { box-shadow: 0 0 0 1.5px #E7B25C, 0 8px 16px -12px rgb(138 90 23 / .5); }
.cm-v.cm-old.on b { color: var(--ember-ink); }

/* ---- Te sonará 03 · Financiación: veinte entregas y el porcentaje con la marca ---- */
.cm-fi { position: absolute; inset: 0; display: flex; align-items: center; gap: 30px; padding-left: 14px; }
.cm-dots { display: grid; grid-template-columns: repeat(5, 18px); gap: 9px; }
.cm-dots i { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px rgb(1 33 32 / .2); transition: background-color .35s, box-shadow .35s; }
.cm-dots i.on { background: var(--teal); box-shadow: none; }
.cm-dots i.cm-p.on { background: var(--teal); box-shadow: none; }
.cm-dots i.cm-p.wait { background: #FBE3BD; box-shadow: inset 0 0 0 1.5px #E39B35; }
.cm-fi-k { display: grid; gap: 3px; }
.cm-fi-k small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.cm-fi-k b { font-size: 34px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.cm-goal { justify-self: start; margin-top: 4px; padding: 3px 9px; border-radius: 99px; background: var(--foam-2); color: var(--ok); font-size: 11.5px; font-weight: 600; transition: background-color .3s, color .3s; }
.cm-goal.warn { background: var(--ember-2); color: var(--ember-ink); }

/* ---- En concreto · Las llaves ---- */
.cm-ky { position: absolute; left: 40px; top: 16px; width: 440px; padding: 6px 16px; border-radius: 16px; }
.cm-kr { display: grid; grid-template-columns: 30px 112px 1fr 44px; align-items: center; gap: 12px; height: 40px; border-bottom: 1px solid var(--line); }
.cm-kr:last-child { border-bottom: 0; }
.cm-lk { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--foam-2); color: var(--ok); transition: background-color .3s, color .3s; }
.cm-lk svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cm-lk .cm-sh2 { transform: translate(3.5px, -2px) rotate(14deg); transform-origin: 15.5px 10.5px; transition: transform .35s var(--ease-out); }
.cm-kx .cm-lk { background: var(--ember-2); color: var(--ember-ink); }
.cm-kx .cm-lk .cm-sh2 { transform: none; }
.cm-kr.shut .cm-lk { background: #EEF1EF; color: var(--ink-3); }
.cm-kr.shut .cm-lk .cm-sh2 { transform: none; }
.cm-kn { font-size: 13px; font-weight: 600; }
.cm-kb { position: relative; height: 8px; border-radius: 4px; background: rgb(1 33 32 / .08); }
.cm-kb i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: 4px; background: var(--teal); transform-origin: left; }
.cm-kx .cm-kb i { background: #E39B35; }
.cm-kb b { position: absolute; top: -5px; width: 2px; height: 18px; margin-left: -1px; border-radius: 1px; background: var(--deep); }
.cm-kv { font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.cm-kx .cm-kv { color: var(--ember-ink); }
.cm-kc { position: absolute; left: 70px; top: 196px; width: 380px; display: flex; align-items: center; gap: 11px; padding: 11px 14px 11px 11px; border-radius: 13px; box-shadow: 0 0 0 1px rgb(227 155 53 / .45), 0 18px 34px -14px rgb(1 33 32 / .55); }
.cm-kc .kbot { width: 28px; height: 28px; }
.cm-kc b { display: block; font-size: 13.5px; font-weight: 600; }
.cm-kc small { display: block; font-size: 12px; color: var(--ink-2); }

/* ---- En concreto · Vendedor a vendedor ---- */
.cm-sl { position: absolute; left: 14px; top: 16px; width: 330px; border-radius: 16px; overflow: hidden; }
.cm-sr { display: grid; grid-template-columns: 26px 54px 1fr 42px; align-items: center; gap: 11px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); transition: background-color .3s; }
.cm-sr:last-child { border-bottom: 0; }
.cm-sr img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.cm-sr b { font-size: 13px; font-weight: 600; }
.cm-sb { height: 8px; border-radius: 4px; background: rgb(1 33 32 / .08); overflow: hidden; }
.cm-sb i { display: block; height: 100%; width: var(--v); border-radius: 4px; background: var(--teal); transform-origin: left; }
.cm-lag .cm-sb i { background: #E39B35; }
.cm-sv { font-size: 12.5px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.cm-lag.on { background: var(--ember-2); }
.cm-wa { position: absolute; left: 340px; top: 112px; width: 168px; display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; border-radius: 12px 4px 12px 12px; background: #D9FDD3; box-shadow: 0 1px 1px rgb(0 0 0 / .1), 0 16px 30px -14px rgb(1 33 32 / .5); }
.cm-wa img { width: 16px; height: 16px; margin-top: 1px; }
.cm-wa p { font-size: 13px; line-height: 1.4; }

/* ---- En concreto · Las campañas de la marca ---- */
.cm-cp { position: absolute; left: 110px; top: 12px; width: 300px; display: flex; align-items: center; gap: 11px; padding: 10px 13px; border-radius: 13px; }
.cm-cp-i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--deep); color: var(--foam); flex: none; }
.cm-cp-i .ic { width: 17px; height: 17px; }
.cm-cp small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.cm-cp b { display: block; font-size: 14px; font-weight: 600; }
.cm-of { position: absolute; left: 110px; top: 76px; width: 300px; display: grid; gap: 6px; }
.cm-o { position: relative; display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 12px 0 8px; border-radius: 10px; transition: box-shadow .3s; }
.cm-o .co { width: 24px; height: 24px; border-radius: 50%; }
.cm-o b { display: block; font-size: 12.5px; font-weight: 600; }
.cm-o small { display: block; font-size: 11px; color: var(--ink-3); }
.cm-op { margin-left: auto; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cm-o em { position: absolute; left: calc(100% + 10px); top: 50%; translate: 0 -50%; padding: 3px 8px; border-radius: 7px; background: var(--ember); color: var(--ember-ink); font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cm-o.cm-hit.on { box-shadow: 0 0 0 1.5px var(--teal), var(--shadow-card); }
.cm-cnt { position: absolute; left: 110px; top: 246px; display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ok); white-space: nowrap; }
.cm-cnt .ic { width: 15px; height: 15px; }

/* ---- En concreto · Las flotas ---- */
.cm-fl { position: absolute; left: 30px; top: 20px; width: 460px; padding: 12px 16px 10px; border-radius: 16px; }
.cm-fl-h, .cm-fr { display: grid; grid-template-columns: 128px 1fr; align-items: center; }
.cm-fl-h { grid-template-columns: 128px repeat(5, 1fr); margin-bottom: 4px; }
.cm-fl-h span { font-size: 11px; font-weight: 600; color: var(--ink-3); }
.cm-fr { height: 50px; border-top: 1px solid var(--line); }
.cm-fr b { font-size: 12.5px; font-weight: 600; line-height: 1.25; }
.cm-fr b small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.cm-ft { position: relative; height: 12px; }
.cm-ft i { position: absolute; top: 0; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #2F7D72, #0E5A55); transform-origin: left; }
.cm-due .cm-ft i { background: linear-gradient(90deg, #2F7D72, #E39B35); }
.cm-ft em { position: absolute; top: 50%; left: 0; translate: 0 -50%; margin-left: 8px; padding: 3px 8px; border-radius: 7px; background: var(--deep); color: var(--foam); font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; }
.cm-now { position: absolute; left: 144px; top: 12px; bottom: 10px; border-left: 1.5px solid var(--deep); }
.cm-now small { position: absolute; right: 6px; top: -2px; font-size: 10.5px; font-weight: 700; }
