/*
 * Marketplace: la sección de la portada, el catálogo (/marketplace/) y la página de cada add-on
 * (/marketplace/<id>/). Plano como el resto del sitio: bordes y fondos, sin sombras. Las escenas
 * son sólo CSS y comparten un mismo reloj (--m); con «reducir movimiento» quedan en su estado final.
 */
.market-card[hidden],
.fp-more[hidden] {
  display: none;
}
@property --brand {
  syntax: '<color>';
  inherits: true;
  initial-value: #f16b4b;
}
.mk-nw {
  white-space: nowrap;
}
.mk-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Al entrar en pantalla, cada bloque sube apenas. Sólo donde el navegador lo hace con el scroll. */
@supports (animation-timeline: view()) {
  .mk-reveal {
    animation: mk-rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}
@keyframes mk-rise {
  from {
    opacity: 0;
    translate: 0 28px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* Lo que espera al catálogo: una barra que brilla, del ancho de un precio. */
.mk-skel {
  display: inline-block;
  width: 9em;
  height: 0.9em;
  border-radius: 99px;
  background: linear-gradient(90deg, #e8eee3 0%, #f6f9f3 50%, #e8eee3 100%) 0 0 / 200% 100%;
  animation: mk-shine 1.4s linear infinite;
  vertical-align: middle;
}
@keyframes mk-shine {
  to {
    background-position: -200% 0;
  }
}
.mk-soon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 10px;
  border-radius: 99px;
  background: #fdebe6;
  color: #a83a21;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.005em;
}
.mk-soon::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: mk-beat 2s ease-out infinite;
}
@keyframes mk-beat {
  from {
    box-shadow: 0 0 0 0 rgb(241 107 75 / 0.45);
  }
  to {
    box-shadow: 0 0 0 8px rgb(241 107 75 / 0);
  }
}
.mk-retry {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.mk-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  font-weight: 650;
  text-decoration: none;
  color: var(--ink);
}
.mk-all::after {
  content: '→';
  transition: translate 0.2s;
}
.mk-all:hover::after {
  translate: 4px 0;
}
.mk-empty:empty {
  display: none;
}
.mk-empty {
  margin: 28px 0 0;
  text-align: center;
  color: var(--ink-2);
}

/* Tarjetas */
.mk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 18px;
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: left;
}
.market-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  transition:
    border-color 0.2s,
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.market-card:hover {
  border-color: #b4c9b8;
  transform: translateY(-4px);
}
.market-card:has(a:focus-visible) {
  outline: 3px solid #487c48;
  outline-offset: 4px;
}
.mk-card-stage {
  container-type: inline-size;
  position: relative;
  display: grid;
  place-items: center;
  height: 252px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 1px 1px, rgb(18 51 47 / 0.09) 1px, transparent 0) 0 0 / 18px 18px,
    #f2f6ee;
}
.mk-card-stage .mk-sc {
  font-size: clamp(6.5px, 1.95cqi, 10px);
}
.mk-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px 22px;
}
.mk-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mk-card-cat svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 9px;
  background: #eaf1e5;
  color: var(--ink);
}
.market-card h2,
.market-card h3 {
  max-width: none;
  margin: 2px 0 0;
  font-size: clamp(22px, 2.2vw, 27px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  font-weight: 650;
  text-align: left;
}
.market-card h2 a,
.market-card h3 a {
  text-decoration: none;
}
.market-card h2 a:focus-visible,
.market-card h3 a:focus-visible {
  outline: none;
}
/* Toda la tarjeta es el enlace a la página del add-on. */
.market-card h2 a::after,
.market-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
}
.mk-card-blurb {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.55;
  text-wrap: pretty;
}
.mk-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid #edf1e9;
}
.mk-price {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 4px;
  color: var(--ink-2);
  font-size: 14px;
}
.mk-price b {
  color: var(--ink);
  font-size: 21px;
  font-weight: 680;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.mk-go-to {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 9px 16px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}
.mk-go-to::after {
  content: '→';
  transition: translate 0.2s;
}
.market-card:hover .mk-go-to {
  background: #1b4a44;
}
.market-card:hover .mk-go-to::after {
  translate: 3px 0;
}

/* Catálogo */
.mk-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  margin-top: -92px;
  padding-top: calc(92px + clamp(24px, 4vh, 44px));
}
.mk-hero .orbit {
  translate: -50% calc(-50% + 240px);
}
.mk-hero .pitch h1 {
  margin-inline: auto;
}
.mk-hero .lead {
  margin-inline: auto;
}
.mk-catalog {
  padding: clamp(44px, 6vw, 64px) 24px 0;
}
.mk-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  width: min(1120px, 100%);
  margin: 0 auto 26px;
}
.mk-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 240px;
  max-width: 320px;
}
.mk-search svg {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 18px;
  color: var(--ink-3);
  pointer-events: none;
}
.mk-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 16px 0 42px;
  border: 1px solid #cfdccf;
  border-radius: 99px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.16s;
}
.mk-search input:focus-visible {
  outline: 3px solid #487c48;
  outline-offset: 2px;
}
.mk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
}
.mk-chips label {
  position: relative;
  cursor: pointer;
}
.mk-chips input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.mk-chips span {
  display: block;
  padding: 8px 15px;
  border-radius: 99px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s;
}
.mk-chips label:hover span {
  color: var(--ink);
}
.mk-chips input:checked + span {
  background: var(--ink);
  color: #fff;
}
.mk-chips input:focus-visible + span {
  outline: 3px solid #487c48;
  outline-offset: 2px;
}

/* Página de un add-on */
.mk-crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-3);
}
.mk-crumbs a {
  color: var(--ink-2);
  font-weight: 600;
}
.mk-hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  margin: 30px 0 0;
}
.mk-hero-cta .cta {
  margin: 0;
}
.mk-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-height: 30px;
  color: var(--ink-2);
  font-size: 14px;
}
.mk-chip b {
  color: var(--ink);
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.mk-hero .pitch > small {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-3);
}
.mk-live {
  container-type: inline-size;
  display: grid;
  place-items: center;
  width: min(1040px, 100%);
  margin: clamp(44px, 6vw, 64px) auto 0;
  padding: clamp(18px, 4vw, 44px) 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 1px 1px, rgb(18 51 47 / 0.09) 1px, transparent 0) 0 0 / 22px 22px,
    #f2f6ee;
}
.mk-live .mk-sc {
  font-size: clamp(7px, 2.6cqi, 17px);
}

/* Precio */
.mk-pricing {
  padding: clamp(80px, 10vw, 128px) 24px 0;
  text-align: center;
  scroll-margin-top: 60px;
}
.mk-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 16px;
  width: min(780px, 100%);
  margin: 44px auto 0;
  text-align: left;
}
.mk-plans:has(> :only-child) {
  width: min(440px, 100%);
}
.mk-plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.mk-plan h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.mk-plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  min-height: 48px;
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
}
.mk-plan-price b {
  color: var(--ink);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}
.mk-plan-price .mk-skel {
  width: 11em;
  height: 1.6em;
}
.mk-plan-scope {
  padding-top: 14px;
  border-top: 1px solid #edf1e9;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.mk-plan-scope:empty {
  display: none;
}
.mk-plan-scope ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-plan-scope li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
}
.mk-plan-scope li svg {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--ok);
}
.mk-scope-group + .mk-scope-group {
  margin-top: 14px;
}
.mk-scope-group strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}
.mk-scope-group ul {
  gap: 4px;
}
.mk-scope-group li {
  display: list-item;
  margin-left: 1.1em;
  list-style: disc;
}
.mk-note {
  margin: 18px auto 0;
  max-width: 560px;
  color: var(--ink-2);
  font-size: 14.5px;
}
.mk-note:empty {
  display: none;
}
.mk-grid-more {
  width: min(560px, 100%);
  margin-top: 40px;
}

/* ---------- Escenas ---------- */
.mk-sc {
  --m: 10s;
  position: relative;
  color: #202124;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  text-align: left;
}
.mk-sc svg,
.mk-fx svg {
  flex: none;
  width: 1.2em;
  height: 1.2em;
}
.mk-sc small,
.mk-fx small {
  color: #5f6368;
}
/* Aparecen en su momento del ciclo y se van juntos al final, para volver a empezar. */
.mk-a1 { animation: mk-a1 var(--m) infinite both; }
.mk-a2 { animation: mk-a2 var(--m) infinite both; }
.mk-a3 { animation: mk-a3 var(--m) infinite both; }
.mk-a4 { animation: mk-a4 var(--m) infinite both; }
.mk-a5 { animation: mk-a5 var(--m) infinite both; }
.mk-a6 { animation: mk-a6 var(--m) infinite both; }
@keyframes mk-a1 { 0%, 8% { opacity: 0; translate: 0 0.6em; } 13%, 92% { opacity: 1; translate: 0 0; } 97%, to { opacity: 0; } }
@keyframes mk-a2 { 0%, 18% { opacity: 0; translate: 0 0.6em; } 23%, 92% { opacity: 1; translate: 0 0; } 97%, to { opacity: 0; } }
@keyframes mk-a3 { 0%, 28% { opacity: 0; translate: 0 0.6em; } 33%, 92% { opacity: 1; translate: 0 0; } 97%, to { opacity: 0; } }
@keyframes mk-a4 { 0%, 38% { opacity: 0; translate: 0 0.6em; } 43%, 92% { opacity: 1; translate: 0 0; } 97%, to { opacity: 0; } }
@keyframes mk-a5 { 0%, 48% { opacity: 0; translate: 0 0.6em; } 53%, 92% { opacity: 1; translate: 0 0; } 97%, to { opacity: 0; } }
@keyframes mk-a6 { 0%, 58% { opacity: 0; translate: 0 0.6em; } 63%, 92% { opacity: 1; translate: 0 0; } 97%, to { opacity: 0; } }

/* El cursor llega desde abajo a la derecha y hace clic al 42 % del ciclo. */
.mk-cur {
  position: absolute;
  z-index: 4;
  left: var(--cx, 50%);
  top: var(--cy, 50%);
  opacity: 0;
  animation: mk-cur var(--m) infinite both;
}
.mk-sc svg.mk-cur,
.mk-fx svg.mk-cur {
  width: 1.9em;
  height: 1.9em;
}
@keyframes mk-cur {
  0%, 28% { opacity: 0; translate: 3em 2.6em; scale: 1; }
  33% { opacity: 1; }
  40% { translate: 0 0; scale: 1; }
  42% { scale: 0.8; }
  44% { scale: 1; }
  50% { opacity: 1; }
  56%, to { opacity: 0; translate: 0 0; }
}
@keyframes mk-press {
  0%, 41% { scale: 1; }
  42.5% { scale: 0.95; }
  45%, to { scale: 1; }
}

/* Factura */
.mk-fac {
  width: 36em;
  height: 25em;
}
.mk-fac.solo {
  width: 23em;
}
.mk-inv {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 50%;
  width: 23em;
  translate: 0 -50%;
  padding: 1.3em 1.4em 1.4em;
  border: 1px solid #dfe5dc;
  border-radius: 1.2em;
  background: #fff;
}
.mk-inv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05em;
}
.mk-tag {
  padding: 0.25em 0.7em;
  border-radius: 99px;
  background: #eaf1e5;
  color: var(--ink);
  font-size: 0.82em;
  font-weight: 650;
}
.mk-inv-to {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-top: 1em;
  padding: 0.75em;
  border-radius: 0.8em;
  background: #f6f8f4;
}
.mk-inv-to img {
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
}
.mk-inv-to span,
.mk-draft span,
.mk-ack span,
.mk-case-top > span:not(.mk-stage),
.mk-sub > span {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  min-width: 0;
}
.mk-inv-to small,
.mk-draft small,
.mk-ack small {
  font-size: 0.85em;
}
.mk-inv-rows {
  display: grid;
  gap: 0.55em;
  margin-top: 1em;
}
.mk-inv-rows span {
  display: flex;
  justify-content: space-between;
  gap: 1em;
}
.mk-inv-rows i {
  font-style: normal;
  color: #5f6368;
}
.mk-inv-rows .tot {
  margin-top: 0.2em;
  padding-top: 0.6em;
  border-top: 1px dashed #dfe5dc;
  font-size: 1.1em;
}
.mk-inv-rows .tot i {
  color: #202124;
  font-weight: 600;
}
.mk-go {
  display: grid;
  margin-top: 1.1em;
  animation: mk-press var(--m) infinite both;
}
.mk-go > span {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  height: 2.8em;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.mk-go .g1 { animation: mk-g1 var(--m) infinite both; }
.mk-go .g2 { background: #2d5650; animation: mk-g2 var(--m) infinite both; }
.mk-go .g3 { background: #e6f4ea; color: #137333; animation: mk-g3 var(--m) infinite both; }
@keyframes mk-g1 { 0%, 42% { opacity: 1; } 44%, 95% { opacity: 0; } 98%, to { opacity: 1; } }
@keyframes mk-g2 { 0%, 42% { opacity: 0; } 44%, 54% { opacity: 1; } 56%, to { opacity: 0; } }
@keyframes mk-g3 { 0%, 54% { opacity: 0; scale: 0.96; } 57%, 93% { opacity: 1; scale: 1; } 96%, to { opacity: 0; } }
.mk-spin {
  width: 1em;
  height: 1em;
  border: 2px solid rgb(255 255 255 / 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mk-spin 0.8s linear infinite;
}
@keyframes mk-spin {
  to {
    rotate: 1turn;
  }
}
.mk-fac .mk-cur {
  --cx: 13em;
  --cy: 21.2em;
}
.mk-fac .mk-inv .mk-cur {
  --cx: 13em;
  --cy: calc(100% - 2.3em);
}
/* El PDF sale de atrás de la factura, con la marca del negocio. */
.mk-pdf {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 50%;
  width: 14em;
  padding: 0 1.1em 1.1em;
  overflow: hidden;
  border: 1px solid #dfe5dc;
  border-radius: 0.6em;
  background: #fff;
  font-size: 0.92em;
  animation: mk-pdf var(--m) infinite both;
}
@keyframes mk-pdf {
  0%, 58% { opacity: 0; translate: -8em -50%; rotate: 0deg; }
  66%, 93% { opacity: 1; translate: 0 -50%; rotate: 4deg; }
  97%, to { opacity: 0; translate: 0 -50%; rotate: 4deg; }
}
.mk-pdf-band {
  display: block;
  height: 0.55em;
  margin: 0 -1.2em;
  background: var(--coral);
}
.mk-pdf-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.2em 0.6em;
  margin: 1em 0 0.9em;
}
.mk-pdf-logo {
  width: 2.2em;
  height: 2.2em;
  border-radius: 0.5em;
  background: var(--coral);
}
.mk-pdf-head em {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.mk-pdf-head em small {
  font-weight: 500;
  letter-spacing: 0.02em;
}
.mk-pdf-l {
  display: block;
  height: 0.5em;
  margin-top: 0.55em;
  border-radius: 99px;
  background: #eef1ec;
}
.mk-pdf-l.s {
  width: 62%;
}
.mk-pdf-tot {
  display: flex;
  justify-content: space-between;
  margin-top: 1em;
  padding-top: 0.6em;
  border-top: 1px solid #eef1ec;
  font-weight: 700;
}
.mk-pdf-tot i {
  font-style: normal;
  font-weight: 500;
  color: #5f6368;
}
.mk-pdf-cae {
  display: block;
  margin-top: 0.7em;
  color: #5f6368;
  font-size: 0.82em;
  letter-spacing: 0.02em;
}
.mk-draft {
  position: absolute;
  z-index: 3;
  right: 1em;
  bottom: 0.8em;
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.7em 1em 0.7em 0.8em;
  border: 1px solid #dfe5dc;
  border-radius: 0.9em;
  background: #fff;
  animation: mk-pop var(--m) infinite both;
}
.mk-draft svg {
  width: 2.1em;
  height: 2.1em;
  padding: 0.45em;
  border-radius: 0.55em;
  background: #fce8e6;
  color: #c5221f;
}
@keyframes mk-pop {
  0%, 72% { opacity: 0; translate: 0 1em; scale: 0.92; }
  77%, 93% { opacity: 1; translate: 0 0; scale: 1; }
  97%, to { opacity: 0; translate: 0 0; scale: 1; }
}

/* Mes contable */
.mk-con {
  width: 37em;
  height: 27em;
}
.mk-case {
  position: absolute;
  left: 0;
  top: 50%;
  width: 27.5em;
  translate: 0 -50%;
  padding: 1.3em 1.4em 1.4em;
  border: 1px solid #dfe5dc;
  border-radius: 1.2em;
  background: #fff;
}
.mk-case-top {
  display: flex;
  align-items: center;
  gap: 0.8em;
}
.mk-case-top .cal {
  width: 2.4em;
  height: 2.4em;
  padding: 0.5em;
  border-radius: 0.7em;
  background: #eaf1e5;
  color: var(--ink);
}
.mk-case-top b {
  font-size: 1.05em;
}
.mk-case-top small {
  font-size: 0.85em;
}
.mk-stage {
  display: grid;
  flex: none;
  margin-left: auto;
}
.mk-stage i {
  grid-area: 1 / 1;
  justify-self: end;
  padding: 0.3em 0.75em;
  border-radius: 99px;
  font-style: normal;
  font-size: 0.85em;
  font-weight: 650;
}
.mk-stage .t1 { background: #fef7e0; color: #8a5a00; animation: mk-t1 var(--m) infinite both; }
.mk-stage .t2 { background: #e8f0fe; color: #1a56c4; animation: mk-t2 var(--m) infinite both; }
.mk-stage .t3 { background: #eaf1e5; color: var(--ink); animation: mk-t3 var(--m) infinite both; }
.mk-stage .t4 { background: #e6f4ea; color: #137333; animation: mk-t4 var(--m) infinite both; }
@keyframes mk-t1 { 0%, 38% { opacity: 1; } 40%, 96% { opacity: 0; } 98%, to { opacity: 1; } }
@keyframes mk-t2 { 0%, 38% { opacity: 0; scale: 0.9; } 41%, 56% { opacity: 1; scale: 1; } 58%, to { opacity: 0; } }
@keyframes mk-t3 { 0%, 56% { opacity: 0; scale: 0.9; } 59%, 74% { opacity: 1; scale: 1; } 76%, to { opacity: 0; } }
@keyframes mk-t4 { 0%, 74% { opacity: 0; scale: 0.9; } 77%, 94% { opacity: 1; scale: 1; } 97%, to { opacity: 0; } }
.mk-docs {
  display: grid;
  gap: 0.5em;
  margin: 1.1em 0 0;
  padding: 0;
  list-style: none;
}
.mk-docs li {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.65em 0.8em;
  border-radius: 0.7em;
  background: #f6f8f4;
}
.mk-docs .f {
  color: #5f6368;
}
.mk-docs .ok {
  display: grid;
  place-items: center;
  width: 1.5em;
  height: 1.5em;
  margin-left: auto;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
}
.mk-docs .ok svg {
  width: 0.95em;
  height: 0.95em;
}
.mk-track {
  margin-top: 1.2em;
}
.mk-bar {
  display: block;
  height: 0.45em;
  overflow: hidden;
  border-radius: 99px;
  background: #eef1ec;
}
.mk-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ok);
  animation: mk-bar var(--m) infinite both;
}
@keyframes mk-bar {
  0%, 30% { width: 6%; }
  40%, 56% { width: 37%; }
  59%, 74% { width: 68%; }
  77%, 94% { width: 100%; }
  98%, to { width: 6%; }
}
.mk-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.55em;
  color: #9aa49f;
  font-size: 0.82em;
  font-weight: 600;
}
.mk-marks i {
  font-style: normal;
}
.mk-marks i:nth-child(1) { color: var(--ink); }
.mk-marks i:nth-child(2) { animation: mk-m2 var(--m) infinite both; }
.mk-marks i:nth-child(3) { animation: mk-m3 var(--m) infinite both; }
.mk-marks i:nth-child(4) { animation: mk-m4 var(--m) infinite both; }
@keyframes mk-m2 { 0%, 39% { color: #9aa49f; } 41%, 95% { color: var(--ink); } 98%, to { color: #9aa49f; } }
@keyframes mk-m3 { 0%, 57% { color: #9aa49f; } 59%, 95% { color: var(--ink); } 98%, to { color: #9aa49f; } }
@keyframes mk-m4 { 0%, 75% { color: #9aa49f; } 77%, 95% { color: var(--ink); } 98%, to { color: #9aa49f; } }
.mk-ack {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.75em 1em 0.75em 0.8em;
  border: 1px solid #dfe5dc;
  border-radius: 0.9em;
  background: #fff;
  animation: mk-ack var(--m) infinite both;
}
.mk-ack svg {
  width: 2.1em;
  height: 2.1em;
  padding: 0.45em;
  border-radius: 0.55em;
  background: #e6f4ea;
  color: #137333;
}
@keyframes mk-ack {
  0%, 77% { opacity: 0; translate: 1.2em 0; scale: 0.92; }
  81%, 93% { opacity: 1; translate: 0 0; scale: 1; }
  97%, to { opacity: 0; }
}

/* ---------- Escenas de los pasos ---------- */
.mk-fx {
  --m: 9s;
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  height: 176px;
  padding: 0 14px;
  overflow: hidden;
  border-radius: 12px;
  background: #f2f6ee;
  color: #202124;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}
.mk-fx .mk-sc {
  --m: 9s;
  font-size: clamp(5.5px, 2.35cqi, 7.8px);
}
.mk-field {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  width: min(100%, 17.5em);
  padding: 0.7em 0.9em;
  border: 1px solid #cfd8cc;
  border-radius: 0.7em;
  background: #fff;
}
.mk-field small {
  font-size: 0.85em;
}
.mk-field b {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
/* Se escribe de a un carácter, con el cursor detrás del último. */
.mk-field b i {
  display: inline-block;
  overflow: hidden;
  max-width: 0;
  font-style: normal;
  animation: mk-type var(--m) steps(14, end) infinite both;
}
.mk-field b::after {
  content: '';
  width: 1.5px;
  height: 1.1em;
  margin-left: 2px;
  background: var(--ink);
  animation: mk-caret 0.9s steps(1) infinite;
}
@keyframes mk-type {
  0%, 6% { max-width: 0; }
  30%, 94% { max-width: 8.4em; }
  97%, to { max-width: 0; }
}
@keyframes mk-caret {
  50% {
    opacity: 0;
  }
}
.mk-row {
  display: flex;
  align-items: center;
  gap: 0.6em;
  width: min(100%, 17.5em);
  padding: 0.55em 0.8em;
  border-radius: 0.7em;
  background: #fff;
}
.mk-row svg {
  width: 1.5em;
  height: 1.5em;
  padding: 0.25em;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
}
.mk-row small {
  margin-left: auto;
  font-size: 0.85em;
}
/* Mandar el PDF en un borrador */
.mk-s-send {
  align-items: stretch;
  justify-content: flex-start;
  padding-top: 16px;
}
.mk-mini-pdf {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15em 0.6em;
  align-self: center;
  width: 12em;
  padding: 0 0.9em 0.8em;
  overflow: hidden;
  border: 1px solid #dfe5dc;
  border-radius: 0.5em;
  background: #fff;
}
.mk-mini-pdf .band {
  grid-column: 1 / -1;
  height: 0.45em;
  margin: 0 -1em 0.4em;
  background: var(--coral);
}
.mk-mini-pdf b {
  grid-column: 1 / -1;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.mk-mini-pdf small {
  grid-column: 1 / -1;
  font-size: 0.85em;
}
.mk-mini-pdf .l {
  grid-column: 1 / -1;
  height: 0.45em;
  margin-top: 0.35em;
  border-radius: 99px;
  background: #eef1ec;
}
.mk-mini-pdf .l.s {
  width: 60%;
}
.mk-attach {
  display: grid;
  align-self: center;
  margin-top: 0.7em;
  animation: mk-press var(--m) infinite both;
}
.mk-attach > span {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  padding: 0.55em 1em;
  border: 1px solid #cfd8cc;
  border-radius: 99px;
  background: #fff;
  font-weight: 600;
}
.mk-attach .a1 { animation: mk-g1 var(--m) infinite both; }
.mk-attach .a2 { border-color: transparent; background: #e6f4ea; color: #137333; animation: mk-a2b var(--m) infinite both; }
@keyframes mk-a2b { 0%, 42% { opacity: 0; } 45%, 93% { opacity: 1; } 96%, to { opacity: 0; } }
.mk-s-send .mk-cur {
  --cx: calc(50% + 2em);
  --cy: 7.7em;
}
.mk-compose {
  position: absolute;
  left: 50%;
  bottom: -1px;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  width: min(86%, 19em);
  padding: 0.7em 0.9em 0.8em;
  border: 1px solid #dfe5dc;
  border-bottom: 0;
  border-radius: 0.8em 0.8em 0 0;
  background: #fff;
  translate: -50% 0;
  animation: mk-compose var(--m) infinite both;
}
.mk-compose b {
  margin: -0.7em -0.9em 0.2em;
  padding: 0.5em 0.9em;
  border-radius: 0.8em 0.8em 0 0;
  background: #404040;
  color: #fff;
  font-size: 0.92em;
  font-weight: 600;
}
.mk-compose small {
  font-size: 0.85em;
}
.mk-compose .mk-file {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  align-self: flex-start;
  padding: 0.35em 0.65em;
  border: 1px solid #dfe5dc;
  border-radius: 0.5em;
  background: #f6f8f4;
  font-size: 0.9em;
  animation: mk-a6 var(--m) infinite both;
}
.mk-compose .mk-file svg {
  color: #c5221f;
}
@keyframes mk-compose {
  0%, 46% { translate: -50% 110%; }
  54%, 93% { translate: -50% 0; }
  98%, to { translate: -50% 110%; }
}
/* Elegir el régimen */
.mk-seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 24em);
  padding: 0.25em;
  border: 1px solid #cfd8cc;
  border-radius: 99px;
  background: #fff;
}
.mk-seg b {
  position: relative;
  z-index: 1;
  padding: 0.55em 0.4em;
  text-align: center;
  font-size: 0.92em;
  font-weight: 600;
}
.mk-seg .m { animation: mk-on-a var(--m) infinite both; }
.mk-seg .r { animation: mk-on-b var(--m) infinite both; }
.mk-seg .k {
  position: absolute;
  left: 0.25em;
  top: 0.25em;
  bottom: 0.25em;
  width: calc(50% - 0.25em);
  border-radius: 99px;
  background: var(--ink);
  animation: mk-knob var(--m) infinite both;
}
@keyframes mk-knob { 0%, 42% { translate: 0 0; } 48%, 93% { translate: 100% 0; } 98%, to { translate: 0 0; } }
@keyframes mk-on-a { 0%, 43% { color: #fff; } 47%, 94% { color: #202124; } 98%, to { color: #fff; } }
@keyframes mk-on-b { 0%, 43% { color: #202124; } 47%, 94% { color: #fff; } 98%, to { color: #202124; } }
.mk-s-regime .mk-cur {
  --cx: calc(50% + 4.2em);
  --cy: calc(50% - 1.4em);
}
.mk-scope {
  display: grid;
}
.mk-scope > span {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.55em 0.9em;
  border-radius: 0.7em;
  background: #fff;
}
.mk-scope svg {
  color: var(--ok);
}
.mk-scope .s1 { animation: mk-g1 var(--m) infinite both; }
.mk-scope .s2 { animation: mk-a2b var(--m) infinite both; }
/* Sumar documentación */
.mk-tray {
  display: grid;
  gap: 0.5em;
  width: min(100%, 22em);
  padding: 0.7em;
  border: 1.5px dashed #c3d1c3;
  border-radius: 0.9em;
  background: rgb(255 255 255 / 0.55);
}
.mk-tray .mk-file {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 0.6em;
  border-radius: 0.6em;
  background: #fff;
}
.mk-tray em {
  display: grid;
  place-items: center;
  width: 3em;
  padding: 0.2em 0;
  border-radius: 0.35em;
  background: #fce8e6;
  color: #c5221f;
  font-style: normal;
  font-size: 0.75em;
  font-weight: 700;
}
.mk-tray em.csv {
  background: #e8f0fe;
  color: #1a56c4;
}
.mk-tray em.xls {
  background: #e6f4ea;
  color: #137333;
}
.mk-tray .mk-file svg {
  margin-left: auto;
  color: var(--ok);
}
.mk-tray .mk-a2,
.mk-tray .mk-a4,
.mk-tray .mk-a6 {
  animation-name: mk-drop2;
}
.mk-tray .mk-a4 {
  animation-name: mk-drop4;
}
.mk-tray .mk-a6 {
  animation-name: mk-drop6;
}
@keyframes mk-drop2 { 0%, 16% { opacity: 0; translate: 0 -1.6em; } 22%, 92% { opacity: 1; translate: 0 0; } 97%, to { opacity: 0; } }
@keyframes mk-drop4 { 0%, 36% { opacity: 0; translate: 0 -1.6em; } 42%, 92% { opacity: 1; translate: 0 0; } 97%, to { opacity: 0; } }
@keyframes mk-drop6 { 0%, 56% { opacity: 0; translate: 0 -1.6em; } 62%, 92% { opacity: 1; translate: 0 0; } 97%, to { opacity: 0; } }
/* Recibir la presentación: el expediente sin la lista de documentos. */
.mk-s-deliver .mk-sc {
  font-size: clamp(6px, 2.75cqi, 9px);
}
.mk-con.lite {
  width: 28em;
  height: 18em;
}
.mk-con.lite .mk-docs {
  display: none;
}
.mk-con.lite .mk-case {
  top: 34%;
}
.mk-con.lite .mk-ack {
  right: auto;
  left: 5em;
  bottom: 0.4em;
}
/* Elegir el add-on */
.mk-s-pick {
  flex-direction: row;
  gap: 0.8em;
}
.mk-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.6em;
  width: 9.5em;
  padding: 0.9em;
  border: 1px solid #dfe5dc;
  border-radius: 0.9em;
  background: #fff;
}
.mk-tile svg {
  width: 2.3em;
  height: 2.3em;
  padding: 0.5em;
  border-radius: 0.6em;
  background: #eaf1e5;
  color: var(--ink);
}
.mk-tile.t1 {
  animation: mk-pick var(--m) infinite both;
}
@keyframes mk-pick {
  0%, 42% { border-color: #dfe5dc; outline: 0.25em solid rgb(18 51 47 / 0); }
  45%, 93% { border-color: var(--ink); outline: 0.25em solid rgb(18 51 47 / 0.12); }
  97%, to { border-color: #dfe5dc; outline: 0.25em solid rgb(18 51 47 / 0); }
}
.mk-s-pick .mk-cur {
  --cx: calc(50% - 3em);
  --cy: calc(50% + 0.6em);
}
/* Pagar con Mercado Pago */
.mk-mp {
  display: grid;
  width: min(100%, 17.5em);
  animation: mk-press var(--m) infinite both;
}
.mk-mp > span {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.65em 1em;
  border-radius: 99px;
  font-weight: 600;
}
.mk-mp .p1 { background: #009ee3; color: #fff; animation: mk-g1 var(--m) infinite both; }
.mk-mp .p2 { background: #e6f4ea; color: #137333; animation: mk-a2b var(--m) infinite both; }
.mk-mp img {
  width: 1.4em;
  height: 1.4em;
  padding: 0.1em;
  border-radius: 50%;
  background: #fff;
}
/* Mis suscripciones */
.mk-subs {
  display: grid;
  gap: 0.5em;
  width: min(100%, 20em);
  padding: 0.9em;
  border: 1px solid #dfe5dc;
  border-radius: 0.9em;
  background: #fff;
}
.mk-sub {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 0.6em;
  border-radius: 0.6em;
  background: #f6f8f4;
}
.mk-sub > svg {
  width: 2em;
  height: 2em;
  padding: 0.4em;
  border-radius: 0.5em;
  background: #eaf1e5;
  color: var(--ink);
}
.mk-sub small {
  font-size: 0.85em;
}
.mk-sub em {
  margin-left: auto;
  padding: 0.2em 0.6em;
  border-radius: 99px;
  background: #e6f4ea;
  color: #137333;
  font-style: normal;
  font-size: 0.82em;
  font-weight: 650;
}

/* ---------- Lo que se ve al lado de los puntos ---------- */
/* La factura de muestra cambia de color: es la del negocio que la emite. */
.mk-paper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(100%, 460px);
  justify-self: center;
  padding: 0 28px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: #202124;
  font-size: 13px;
  animation: mk-brand 12s infinite;
}
@keyframes mk-brand {
  0%, 22% { --brand: #f16b4b; }
  25%, 47% { --brand: #16804c; }
  50%, 72% { --brand: #1a56c4; }
  75%, 97% { --brand: #7a3fb0; }
  100% { --brand: #f16b4b; }
}
.mk-paper-band {
  height: 10px;
  margin: 0 -28px 6px;
  background: var(--brand);
}
.mk-paper-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.mk-paper-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-style: normal;
}
.mk-paper-head span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mk-paper-head small,
.mk-paper-to small,
.mk-paper-cae small {
  color: #5f6368;
  font-size: 11.5px;
}
.mk-paper-head em {
  display: grid;
  justify-items: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.mk-paper-head em b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 2px 0;
  border: 2px solid var(--brand);
  border-radius: 8px;
  color: var(--brand);
  font-size: 20px;
  letter-spacing: 0;
}
.mk-paper-to {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f6f8f4;
}
.mk-paper-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px 90px;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef1ec;
}
.mk-paper-row i {
  font-style: normal;
}
.mk-paper-row i:not(:first-child) {
  text-align: right;
}
.mk-paper-row.th {
  color: #5f6368;
  font-size: 11.5px;
  font-weight: 600;
}
.mk-paper-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 14px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 10%, #fff);
}
.mk-paper-total i {
  font-style: normal;
  font-weight: 600;
}
.mk-paper-total b {
  color: var(--brand);
  font-size: 20px;
  letter-spacing: -0.02em;
}
.mk-paper-cae {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 2px 12px;
  font-variant-numeric: tabular-nums;
}
.mk-swatches {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 6px;
}
.mk-swatches i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.mk-swatches .c1 { background: #f16b4b; animation: mk-sw1 12s infinite; }
.mk-swatches .c2 { background: #16804c; animation: mk-sw2 12s infinite; }
.mk-swatches .c3 { background: #1a56c4; animation: mk-sw3 12s infinite; }
.mk-swatches .c4 { background: #7a3fb0; animation: mk-sw4 12s infinite; }
@keyframes mk-sw1 { 0%, 22%, 100% { outline-color: #202124; } 25%, 97% { outline-color: transparent; } }
@keyframes mk-sw2 { 0%, 22%, 50%, 100% { outline-color: transparent; } 25%, 47% { outline-color: #202124; } }
@keyframes mk-sw3 { 0%, 47%, 75%, 100% { outline-color: transparent; } 50%, 72% { outline-color: #202124; } }
@keyframes mk-sw4 { 0%, 72%, 100% { outline-color: transparent; } 75%, 97% { outline-color: #202124; } }
/* Los meses del estudio: el actual late. */
.mk-months {
  justify-self: center;
  width: min(100%, 460px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: #202124;
  font-size: 14px;
}
.mk-months-top {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 14px;
}
.mk-months-top b {
  font-size: 16px;
}
.mk-months-top small {
  color: #5f6368;
}
.mk-months ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-months li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f8f4;
}
.mk-months li.now {
  background: #fff;
  outline: 1.5px solid var(--ink);
  outline-offset: -1.5px;
}
.mk-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 650;
}
.mk-pill.e {
  background: #e6f4ea;
  color: #137333;
}
.mk-pill.p {
  background: #fef7e0;
  color: #8a5a00;
}
.mk-pill.p::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8a200;
  animation: mk-beat 2s ease-out infinite;
}

/* WhatsApp: el cliente escribe, el bot responde con su menú y el pedido de una persona llega al equipo. */
.mk-wa {
  width: 44em;
  height: 30em;
}
.mk-wa.solo {
  width: 24em;
}
.mk-chat {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 50%;
  width: 24em;
  translate: 0 -50%;
  overflow: hidden;
  border: 1px solid #dfe5dc;
  border-radius: 1.2em;
  background: #efeae2;
}
.mk-chat-top {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.8em 1em;
  background: #fff;
  border-bottom: 1px solid #e7ebe4;
}
.mk-chat-top span {
  display: flex;
  flex-direction: column;
}
.mk-chat-av {
  display: grid;
  place-items: center;
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-style: normal;
  font-size: 0.9em;
  font-weight: 700;
}
.mk-chat-body {
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  min-height: 19.5em;
  padding: 0.9em 0.9em 1.1em;
}
.mk-bub {
  position: relative;
  max-width: 82%;
  padding: 0.5em 0.75em;
  border-radius: 0.8em;
  background: #fff;
  white-space: normal;
}
.mk-bub.in {
  align-self: flex-start;
  border-top-left-radius: 0.2em;
}
.mk-bub.out {
  align-self: flex-end;
  border-top-right-radius: 0.2em;
  background: #d9fdd3;
}
.mk-bub small {
  display: block;
  margin-top: 0.2em;
  text-align: right;
  font-size: 0.78em;
}
.mk-wa-btns {
  display: grid;
  gap: 0.3em;
  align-self: flex-end;
  width: 82%;
}
.mk-wa-btns i {
  padding: 0.45em;
  border-radius: 0.7em;
  background: #fff;
  color: #027eb5;
  font-style: normal;
  font-weight: 600;
  text-align: center;
}
.mk-wa-btns .hum {
  animation: mk-press var(--m) infinite both;
}
.mk-wa .mk-cur {
  --cx: 15em;
  --cy: 18.6em;
}
.mk-alert {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 5.5em;
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.75em 0.8em 0.75em 0.8em;
  border: 1px solid #dfe5dc;
  border-radius: 0.9em;
  background: #fff;
  animation: mk-ack var(--m) infinite both;
}
.mk-alert svg {
  width: 2.1em;
  height: 2.1em;
  padding: 0.45em;
  border-radius: 0.55em;
  background: #fff3e0;
  color: #b06000;
}
.mk-alert span {
  display: flex;
  flex-direction: column;
}
.mk-alert em {
  margin-left: 0.6em;
  padding: 0.35em 0.8em;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-style: normal;
  font-size: 0.85em;
  font-weight: 650;
}
/* En el paso, el chat sin el aviso y a su medida. */
.mk-s-menu .mk-sc {
  font-size: clamp(4.5px, 1.75cqi, 5.7px);
}
/* El número tiene más caracteres que un CUIT: se escribe en 16 pasos. */
.mk-s-number .mk-field b i {
  animation-name: mk-type-phone;
  animation-timing-function: steps(16, end);
}
@keyframes mk-type-phone {
  0%, 6% { max-width: 0; }
  30%, 94% { max-width: 10em; }
  97%, to { max-width: 0; }
}
.mk-sub em.new {
  background: #fef7e0;
  color: #8a5a00;
}
/* La bandeja de muestra, al lado de los puntos. */
.mk-board {
  justify-self: center;
  width: min(100%, 460px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: #202124;
  font-size: 14px;
}
.mk-board-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
}
.mk-board-top b {
  font-size: 16px;
}
.mk-board-top span {
  display: flex;
  gap: 6px;
}
.mk-board-top i {
  padding: 4px 10px;
  border-radius: 99px;
  background: #f6f8f4;
  color: #5f6368;
  font-style: normal;
  font-size: 12.5px;
}
.mk-board-top i:first-child {
  background: var(--ink);
  color: #fff;
}
.mk-board ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mk-board li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f8f4;
}
.mk-board li small {
  grid-column: 1;
  overflow: hidden;
  color: #5f6368;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mk-board li .mk-pill {
  grid-column: 2;
  grid-row: 1 / 3;
}
.mk-board li.hot {
  background: #fff;
  outline: 1.5px solid var(--ink);
  outline-offset: -1.5px;
}
.mk-pill.a {
  background: #e8f0fe;
  color: #1a56c4;
}
.mk-pill.b {
  background: #eaf1e5;
  color: var(--ink);
}
.mk-pill.d {
  background: #f1f3f4;
  color: #5f6368;
}

/* El cierre: la aclaración va debajo del botón. */
.mk-page .closing small {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 20px;
  color: rgb(238 244 240 / 0.72);
  font-size: 14px;
}
/* Los pasos usan las tarjetas de las páginas de funcionalidad, con escenas propias. */
@media (max-width: 1139px) {
  .fp-steps .mk-fx {
    grid-row: 1 / 3;
  }
}
@media (max-width: 640px) {
  .fp-steps .mk-fx {
    grid-row: auto;
  }
}

/* ---------- Pantallas angostas ---------- */
@media (max-width: 900px) {
  .mk-tools {
    flex-direction: column;
    align-items: stretch;
  }
  .mk-search {
    max-width: none;
    flex-basis: auto;
  }
  .mk-chips {
    justify-content: center;
    border-radius: 22px;
  }
}
@media (max-width: 640px) {
  .mk-card-stage {
    height: 214px;
  }
  .mk-card-body {
    padding: 20px 20px 18px;
  }
  .mk-card-foot {
    flex-wrap: wrap;
  }
  .mk-chips span {
    padding: 7px 12px;
    font-size: 13.5px;
  }
  .mk-plan {
    padding: 22px;
  }
  .mk-paper {
    padding: 0 18px 20px;
    font-size: 12px;
  }
  .mk-paper-band {
    margin: 0 -18px 6px;
  }
  .mk-paper-row {
    grid-template-columns: minmax(0, 1fr) 30px 76px;
  }
  .mk-swatches {
    position: static;
    justify-content: flex-end;
  }
}

/* Con «reducir movimiento», cada escena muestra su estado final y nada se mueve. */
@media (prefers-reduced-motion: reduce) {
  .mk-sc *,
  .mk-fx *,
  .mk-paper,
  .mk-paper *,
  .mk-reveal,
  .mk-soon::before,
  .mk-pill::before,
  .mk-skel {
    animation: none !important;
  }
  .mk-cur,
  .mk-go .g1,
  .mk-go .g2,
  .mk-stage .t1,
  .mk-stage .t2,
  .mk-stage .t3,
  .mk-attach .a1,
  .mk-scope .s1,
  .mk-mp .p1 {
    opacity: 0;
  }
  .mk-wa .mk-cur {
    opacity: 0;
  }
  .mk-pdf {
    rotate: 4deg;
    translate: 0 -50%;
  }
  .mk-bar i {
    width: 100%;
  }
  .mk-seg .k {
    translate: 100% 0;
  }
  .mk-seg .m {
    color: #202124;
  }
  .mk-seg .r {
    color: #fff;
  }
  .mk-field b i {
    max-width: none;
  }
  .mk-compose {
    translate: -50% 0;
  }
  .mk-tile.t1 {
    border-color: var(--ink);
  }
}
