/* Landings de ASI (Applied Specialized Intelligence): /ia-para-retail/, /ia-para-manufactura/ y
 * /ia-para-servicios/ (generadas por _build/asi/build.py).
 * Usa los componentes de /mozart/ (mozart.css: .mz-*) como plano y solo agrega aquí lo propio:
 * hero con video o marca de agua, síntomas con réplicas de software, procesos en 3 columnas, flujos
 * automatizados, casos, puntos del cierre y el formulario de dos pasos con su salida hacia Mozart. */

/* ── Marca ASI en el lockup y en la tabla (mz-wordmark pasa todo a minúsculas) ── */
.asi-wordmark {
  text-transform: none;
  letter-spacing: 0.01em;
}
.asi-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ════════════════ 1 · Hero: el video de reposición ocupa el cuadro del video de /mozart/ ════════════════ */
/* El título de ASI es más largo que el de Mozart: un punto menos de tamaño en escritorio.
   El piso del video es un poco más claro que el fondo: se funde arriba y abajo para que no se vea el borde. */
@media (min-width: 992px) {
  .asi-hero .mz-hero__title {
    font-size: clamp(48px, 4.6vw, 80px);
  }
  .asi-hero .mz-hero__frame {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 78%, transparent 100%);
  }
}

/* La leyenda del video se reparte en líneas parejas (sin una palabra sola en la segunda línea). */
.asi-hero .mz-hero__caption span {
  text-wrap: balance;
}

/* Mientras llega el video de la industria: su palabra como marca de agua (recurso de /mozart/,
   .mz-local__mark) a la izquierda del texto, con un pulso de luz lento que recorre las letras.
   --n (letras de la palabra) ajusta el tamaño para que ocupe la mitad izquierda. En móvil queda solo el texto. */
.asi-hero__mark {
  position: absolute;
  left: max(16px, calc((100vw - 1320px) / 2));
  top: calc(50% - 0.52em);
  font-family: var(--font_bdogrotesk);
  font-weight: 600;
  font-size: min(calc(46vw / (var(--n, 6) * 0.58)), 34vh);
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.045);
  white-space: nowrap;
  user-select: none;
}
.asi-hero__mark .asi-glow-ch {
  animation-name: asiMark;
  animation-duration: 6.8s;
  animation-delay: calc(var(--i, 0) * 170ms);
}
@keyframes asiMark {
  0%, 52%, 100% { color: rgba(255, 255, 255, 0.045); text-shadow: none; }
  66% { color: rgba(255, 255, 255, 0.11); text-shadow: 0 0 70px rgba(157, 188, 196, 0.26); }
  80% { color: rgba(255, 255, 255, 0.06); text-shadow: 0 0 40px rgba(157, 188, 196, 0.08); }
}
@media (max-width: 991px) {
  .asi-hero__mark {
    display: none;
  }
  .asi-hero.is-pending .mz-hero__content {
    padding-top: 140px;
  }
}
@media (max-width: 767px) {
  .asi-hero.is-pending .mz-hero__content {
    padding-top: 128px;
    padding-bottom: 72px;
  }
}

/* ════════════════ 3 · Síntomas ════════════════ */
.asi-symptoms__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 28px;
  padding: 26px 30px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--mz-card);
}
.asi-symptoms__cta p {
  margin: 0;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  color: var(--mz-ink);
}
@media (max-width: 575px) {
  .asi-symptoms__cta {
    padding: 22px;
  }
  .asi-symptoms__cta .mz-btn {
    width: 100%;
  }
}

/* ════════════════ 4 · Procesos: los roles de /mozart/ en 3 columnas ════════════════ */
.mz-team__grid.asi-processes__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 991px) {
  .mz-team__grid.asi-processes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .mz-team__grid.asi-processes__grid {
    grid-template-columns: 1fr;
  }
}

/* ════════════════ 5 · Flujos automatizados (en lugar del teléfono de /mozart/) ════════════════ */
.asi-flowstage {
  position: relative;
}
.asi-flowstage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 560px;
  height: 460px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(157, 188, 196, 0.12), rgba(157, 188, 196, 0.04) 60%, transparent);
  filter: blur(30px);
  pointer-events: none;
}
.asi-flow {
  max-width: 600px;
  margin-left: auto;
}
.asi-flow__tabs {
  display: flex;
  gap: 4px;
  padding: 10px 12px 0;
}
.asi-flow__tabs span {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.asi-flow__tabs span.is-on {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.asi-flow__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.asi-flow__head b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.asi-flow__head small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
}
.asi-flow__state {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(242, 171, 60, 0.12);
  font-size: 11px;
  font-weight: 600;
  color: #f2c46d;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.asi-flow__state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.asi-flow__state.is-done {
  background: rgba(79, 214, 168, 0.12);
  color: #7fe3c0;
}
.asi-flow__body {
  position: relative;
  padding: 12px 18px 6px;
}
.asi-flow__body::before {
  /* el riel que une los pasos */
  content: "";
  position: absolute;
  left: 27px;
  top: 26px;
  bottom: 28px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.asi-flow__pulse {
  /* el pulso de inteligencia: el mismo brillo del video y de los títulos */
  position: absolute;
  left: 24px;
  top: 0;
  z-index: 0;
  width: 7px;
  height: 46px;
  border-radius: 4px;
  background: rgba(232, 244, 247, 0.9);
  box-shadow: 0 0 16px rgba(207, 226, 230, 0.85);
  filter: blur(3px);
  opacity: 0;
  transform: translateY(var(--y, 0px));
  transition: transform 0.7s var(--mz-ease), opacity 0.4s ease;
  pointer-events: none;
}
.asi-flow__pulse.is-on {
  opacity: 0.85;
}
.asi-flow__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.asi-frow {
  display: grid;
  grid-template-columns: 20px 58px minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 12px;
  padding: 9px 0;
  opacity: 0.42;
  transition: opacity 0.4s ease;
}
.asi-frow.is-running,
.asi-frow.is-wait,
.asi-frow.is-done {
  opacity: 1;
}
.asi-frow__dot {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: #1c1d20;
}
.asi-frow.is-running .asi-frow__dot {
  border-color: rgba(255, 255, 255, 0.12);
  border-top-color: #e8f4f7;
  animation: asiSpin 0.8s linear infinite;
}
.asi-frow.is-wait .asi-frow__dot {
  border-color: #f2ab3c;
  box-shadow: 0 0 0 4px rgba(242, 171, 60, 0.14);
}
.asi-frow.is-done .asi-frow__dot {
  border-color: #4fd6a8;
  background: #4fd6a8;
}
.asi-frow.is-done .asi-frow__dot::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 2.5px;
  width: 4.5px;
  height: 8.5px;
  border-right: 2px solid #0f1512;
  border-bottom: 2px solid #0f1512;
  transform: rotate(45deg);
}
@keyframes asiSpin {
  to { transform: rotate(360deg); }
}
.asi-frow .asi-sys {
  justify-self: start;
  margin-top: 0;
}
.asi-frow b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.asi-frow small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}
.asi-frow time {
  padding-top: 2px;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.4);
}
.asi-frow.is-wait time {
  color: #f2c46d;
}
.asi-frow.is-approved time {
  color: #7fe3c0;
}
.asi-frow.is-human .asi-sys {
  border-color: rgba(242, 171, 60, 0.4);
  color: #f2c46d;
}
.asi-flow__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 11px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(79, 214, 168, 0.05);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.asi-flow__foot.is-on {
  opacity: 1;
}
.asi-flow__foot b {
  font-weight: 600;
  text-align: right;
  color: #7fe3c0;
}
.asi-flowstage__note {
  max-width: 600px;
  margin: 16px 0 0 auto;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mz-faint);
}
@media (max-width: 991px) {
  .asi-flow,
  .asi-flowstage__note {
    margin-left: 0;
  }
}
@media (max-width: 575px) {
  .asi-frow {
    grid-template-columns: 20px 50px minmax(0, 1fr);
    column-gap: 10px;
  }
  .asi-frow time {
    display: none;
  }
  .asi-flow__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .asi-flow__foot b {
    text-align: left;
  }
}

/* Eventos de sistema en las tarjetas de procesos (en lugar de burbujas de chat) */
.asi-processes .mz-role__desc {
  margin-bottom: 22px;
}
.asi-event {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  margin: auto 0 0;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--sys);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  -webkit-font-smoothing: antialiased;
}
.asi-event time {
  padding-top: 1px;
  font-size: 11.5px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.4);
}
.asi-sys {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--sys);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.78);
}

/* ════════════════ 7 · Casos ════════════════ */
.asi-cases__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}
.asi-case {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  color: var(--mz-ink);
  text-decoration: none;
  transition: transform 0.5s var(--mz-ease), border-color 0.4s ease;
}
.asi-case:hover {
  color: var(--mz-ink);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
}
.asi-case__tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mz-faint);
}
.asi-case__num {
  font-size: clamp(38px, 3.4vw, 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.asi-case p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--mz-dim);
}
.asi-case__who {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  font-weight: 500;
}
.asi-case__who i {
  margin-left: 6px;
  font-size: 12px;
  opacity: 0.6;
}
@media (max-width: 1199px) {
  .asi-cases__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .asi-cases__grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .asi-case {
    min-height: 0;
    padding: 22px;
  }
}

/* ════════════════ Cierre: puntos de confianza ════════════════ */
.asi-close__points {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}
.asi-close__points li {
  display: flex;
  gap: 12px;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(17, 17, 17, 0.78);
}
.asi-close__points i {
  margin-top: 5px;
  font-size: 13px;
  color: #111;
}

/* ════════════════ Formulario de dos pasos ════════════════ */
.asi-form {
  position: relative;
}
.asi-progress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
  counter-reset: asiStep;
}
.asi-progress li {
  counter-increment: asiStep;
  padding-top: 10px;
  border-top: 2px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.asi-progress li::before {
  content: counter(asiStep) " · ";
}
.asi-progress li.is-on {
  border-color: #fff;
  color: #fff;
}
.asi-step {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.asi-step .mz-field select {
  padding-right: 34px;
}
.asi-back {
  justify-self: center;
  margin-top: 2px;
  font-size: 14px;
}
.asi-nofit {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}
.asi-nofit p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}
.asi-nofit .asi-nofit__title {
  font-size: 17px;
  font-weight: 500;
  color: #fff;
}
.asi-nofit .asi-back {
  justify-self: center;
}

/* ════════════════ 3 · Síntomas: pantallas reales del día a día de un retail ════════════════
   Ventanas oscuras con el cromado de la oficina de /mozart/ (mz-win-bar) y tipografía del sistema. */
.asi-symptoms__bento {
  margin-top: 56px;
}
.asi-symptoms__bento .mz-tile {
  min-height: 0;
}
.asi-symptoms__bento .mz-tile__name {
  font-size: 28px;
}
.asi-app {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1c1d20;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.8), 0 30px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-family: var(--sys);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  -webkit-font-smoothing: antialiased;
}
.asi-app .mz-win-bar {
  height: 34px;
  padding-left: 14px;
}
.asi-app .mz-win-lights {
  gap: 7px;
}
.asi-app .mz-win-lights i {
  width: 11px;
  height: 11px;
}
.asi-app .mz-win-title {
  padding: 0 70px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}
.asi-app__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: #202124;
}
.asi-search {
  flex: 0 1 200px;
  min-width: 0;
  padding: 5px 10px 5px 27px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Ccircle cx='5' cy='5' r='3.6' fill='none' stroke='%23fff' stroke-opacity='.45' stroke-width='1.3'/%3E%3Cpath d='m7.7 7.7 3 3' stroke='%23fff' stroke-opacity='.45' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 9px center / 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.36);
}
.asi-filter {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.72);
}
.asi-filter::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  opacity: 0.6;
  transform: translateY(-2px) rotate(45deg);
}
.asi-app__meta {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.42);
}
.asi-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12px;
}
.asi-table th {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
}
.asi-table td {
  padding: 8px 12px;
  height: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.84);
}
.asi-table .w-ref { width: 72px; }
.asi-table .w-store { width: 70px; }
.asi-table .w-qty { width: 62px; }
.asi-table .w-num { width: 84px; }
.asi-table .w-state { width: 100px; }
.asi-table .w-price { width: 84px; }
.asi-table .w-mkt { width: 100px; }
.asi-table .w-val { width: 82px; }
.asi-table .w-state2 { width: 108px; }
.asi-table .w-state3 { width: 118px; }
.asi-table tr:last-child td {
  border-bottom: 0;
}
.asi-table .r {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.asi-table td.is-diff {
  background: rgba(255, 125, 105, 0.09);
  color: #ff9a88;
}
.asi-table td.is-muted {
  color: rgba(255, 255, 255, 0.36);
}
.asi-st {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.asi-st.is-out { background: rgba(255, 125, 105, 0.14); color: #ff9a88; }
.asi-st.is-low { background: rgba(242, 171, 60, 0.14); color: #f2c46d; }
.asi-st.is-ok { background: rgba(79, 214, 168, 0.12); color: #7fe3c0; }
.asi-app__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.55);
}
.asi-app__foot span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.asi-app__foot b {
  flex: 0 0 auto;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
}
.asi-app__foot .is-bad { color: #ff9a88; }
.asi-app__foot .is-warn { color: #f2c46d; }
/* Antigüedad del inventario */
.asi-bars {
  display: grid;
  gap: 13px;
  padding: 16px 14px 15px;
}
.asi-bar {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 12px;
}
.asi-bar span {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.6);
}
.asi-bar i {
  position: relative;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.asi-bar i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: 4px;
  background: #5e7683;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--mz-ease);
}
.asi-bar.is-bad i::after { background: #ff7d69; }
.asi-bar b {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.asi-bar.is-bad b,
.asi-bar.is-bad span { color: #ff9a88; }
.mz-tile.is-in .asi-bar i::after { transform: scaleX(1); }
.mz-tile.is-in .asi-bar:nth-child(2) i::after { transition-delay: 0.12s; }
.mz-tile.is-in .asi-bar:nth-child(3) i::after { transition-delay: 0.24s; }
.mz-tile.is-in .asi-bar:nth-child(4) i::after { transition-delay: 0.36s; }
/* Hoja de cálculo */
.asi-xl__ribbon {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 12px 0;
  background: #202124;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
}
.asi-xl__ribbon span {
  padding-bottom: 6px;
  white-space: nowrap;
}
.asi-xl__ribbon .is-on {
  color: #fff;
  box-shadow: inset 0 -2px 0 #21a366;
}
.asi-xl__saved {
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.36);
}
.asi-xl__fx {
  display: grid;
  grid-template-columns: 48px 28px minmax(0, 1fr);
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px;
}
.asi-xl__cell,
.asi-xl__fxicon {
  padding: 6px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.asi-xl__cell { color: #fff; }
.asi-xl__fxicon {
  padding: 6px 0;
  text-align: center;
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
}
.asi-xl__formula {
  padding: 6px 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.86);
}
.asi-xl__grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 11.5px;
}
.asi-xl__grid th,
.asi-xl__grid td {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-align: left;
  font-weight: 400;
}
.asi-xl__grid .r { text-align: right; font-variant-numeric: tabular-nums; }
.asi-xl__grid thead th,
.asi-xl__grid tbody th {
  background: #25262a;
  text-align: center;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.42);
}
.asi-xl__grid thead th:first-child { width: 28px; }
.asi-xl__grid .w-d { width: 13%; }
.asi-xl__grid td b { font-weight: 600; color: #fff; }
.asi-xl__grid td.is-err { color: #ff9a88; }
.asi-xl__grid td.is-sel { box-shadow: inset 0 0 0 2px #21a366; }
.asi-xl__grid td.is-empty { background: rgba(242, 171, 60, 0.08); }
.asi-xl__grid td.has-note { position: relative; }
.asi-xl__grid td.has-note::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 7px 7px 0;
  border-color: transparent #ff7d69 transparent transparent;
}
.asi-xl__note {
  position: absolute;
  left: 34%;
  bottom: 40px;
  z-index: 2;
  max-width: 220px;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #2c2d31;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}
.asi-xl__note b {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  color: #fff;
}
.asi-xl__tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #202124;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.asi-xl__tabs span {
  padding: 3px 10px;
  border-radius: 5px;
  white-space: nowrap;
}
.asi-xl__tabs .is-on {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -2px 0 #21a366;
  color: #fff;
}
/* Bandeja de correo */
.asi-mails {
  margin: 0;
  padding: 0;
  list-style: none;
}
.asi-mails li {
  display: grid;
  grid-template-columns: 8px 96px minmax(0, 1fr) 14px 64px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.asi-mails li:last-child { border-bottom: 0; }
.asi-mails li.is-sel {
  background: rgba(157, 188, 196, 0.08);
  box-shadow: inset 2px 0 0 #9dbcc4;
}
.asi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9dbcc4;
}
.asi-mails b {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}
.asi-mails li.is-unread b { font-weight: 700; color: #fff; }
.asi-mails span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.4);
}
.asi-mails strong {
  margin-right: 6px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}
.asi-mails li.is-unread strong { font-weight: 600; color: #fff; }
.asi-mails svg {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.asi-mails time {
  text-align: right;
  font-size: 11px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.4);
}
.asi-mails li.is-unread time { color: rgba(255, 255, 255, 0.75); }
/* Entrada de las filas cuando el mosaico llega a pantalla */
.asi-symptoms__bento .asi-table tbody tr,
.asi-symptoms__bento .asi-xl__grid tbody tr,
.asi-symptoms__bento .asi-mails li {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--mz-ease), transform 0.5s var(--mz-ease);
}
.asi-symptoms__bento .mz-tile.is-in tbody tr,
.asi-symptoms__bento .mz-tile.is-in .asi-mails li {
  opacity: 1;
  transform: none;
}
.asi-symptoms__bento .mz-tile.is-in tbody tr:nth-child(2),
.asi-symptoms__bento .mz-tile.is-in .asi-mails li:nth-child(2) { transition-delay: 0.08s; }
.asi-symptoms__bento .mz-tile.is-in tbody tr:nth-child(3),
.asi-symptoms__bento .mz-tile.is-in .asi-mails li:nth-child(3) { transition-delay: 0.16s; }
.asi-symptoms__bento .mz-tile.is-in tbody tr:nth-child(4),
.asi-symptoms__bento .mz-tile.is-in .asi-mails li:nth-child(4) { transition-delay: 0.24s; }
.asi-symptoms__bento .mz-tile.is-in tbody tr:nth-child(5) { transition-delay: 0.32s; }
@media (max-width: 575px) {
  .asi-hide-sm { display: none; }
  .asi-symptoms__bento .mz-tile__name { font-size: 24px; }
  .asi-app__tools { flex-wrap: nowrap; }
  .asi-table { font-size: 11.5px; }
  .asi-table th,
  .asi-table td { padding: 8px 7px; }
  .asi-table .w-store { width: 54px; }
  .asi-table .w-qty { width: 50px; }
  .asi-xl__grid .w-d { width: 22%; }
  .asi-table .w-state { width: 80px; }
  .asi-table .w-price { width: 62px; }
  .asi-table .w-mkt { width: 76px; }
  .asi-table .w-val { width: 62px; }
  .asi-table .w-state2 { width: 84px; }
  .asi-table .w-state3 { width: 98px; }
  .asi-st { padding: 2px 6px; font-size: 10.5px; }
  .asi-app__foot { align-items: flex-end; }
  .asi-app__foot span { white-space: normal; line-height: 1.35; } /* en móvil el pie se lee completo, en dos líneas */
  .asi-app__foot b { flex: 0 0 auto; white-space: nowrap; }
  .asi-bar { grid-template-columns: 92px minmax(0, 1fr) 62px; gap: 8px; }
  .asi-mails li { grid-template-columns: 8px 74px minmax(0, 1fr) 52px; }
  .asi-mails svg,
  .asi-noclip { display: none; }
  .asi-xl__note { display: none; }
}

/* ════════════════ Brillo de inteligencia: ASI no usa el degradado de /mozart/ ════════════════
   El texto destacado queda blanco y un pulso de luz lo recorre letra por letra (asi.js parte las letras). */
.asi-page .mz-grad-text,
.asi-page .mz-hero__title span {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #fff;
  -webkit-text-fill-color: #fff;
}
.asi-glow-ch {
  padding: 0 !important; /* .mz-hero__title span de /mozart/ da respiro a la itálica; aquí aplicaría a cada letra */
  animation: asiGlow 5.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  animation-delay: calc(var(--i, 0) * 55ms);
}
@keyframes asiGlow {
  0%, 60%, 100% { text-shadow: 0 0 18px rgba(157, 188, 196, 0.22); }
  68% { text-shadow: 0 0 8px rgba(232, 244, 247, 0.65), 0 0 26px rgba(157, 188, 196, 0.45); }
  80% { text-shadow: 0 0 14px rgba(157, 188, 196, 0.28); }
}
@media (prefers-reduced-motion: reduce) {
  .asi-glow-ch {
    animation: none;
    text-shadow: 0 0 16px rgba(157, 188, 196, 0.3);
  }
  .asi-hero__mark .asi-glow-ch {
    animation: none;
    text-shadow: none;
  }
  .asi-symptoms__bento .asi-table tbody tr,
  .asi-symptoms__bento .asi-xl__grid tbody tr,
  .asi-symptoms__bento .asi-mails li {
    opacity: 1;
    transform: none;
  }
  .asi-bar i::after {
    transform: none;
  }
  .asi-frow.is-running .asi-frow__dot {
    animation: none;
  }
}
