/* Vibe-Code Enterprise AI Apps, an 18.09s loop in the three steps of the rail on top:
   1 Describe (0-16.6%): a prompt types itself into the agent chat and is sent.
   2 Build & Ship (16.6-57.9%): the agent plans; three cards connect data, write the app, test and deploy it.
   3 Use The App (57.9-97.5%): the app as a sales rep, then (via "view as") as the regional manager. */
/* Frame */
.ent-apps {
  --ent-apps-cycle: 18.09s;
  width: 100%;
  height: 420px;
  box-sizing: border-box;
  padding: 18px;
  border-radius: 16px;
  background: var(--paper-2);
  box-shadow:
    0 16px 48px var(--ent-ink-a8),
    inset 0 0 0 1px var(--rule);
  font-family: Inter, system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  color: var(--ink-2);
}
.ent-apps__label {
  font:
    400 10.5px/14px "Geist Mono",
    ui-monospace,
    monospace;
  letter-spacing: 0.06em;
  color: var(--ent-zinc-350);
}

/* Step rail: each pill is idle, active (filled) or done (soft violet) */
.ent-apps__steps {
  display: flex;
  align-items: center;
  gap: 5px;
}
.ent-apps__step {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  padding: 6px 4px;
  border-radius: 999px;
  font:
    500 11px Inter,
    system-ui,
    sans-serif;
  background: var(--paper);
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.ent-apps__step b {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9.5px;
  box-shadow: inset 0 0 0 1px currentColor;
}
.ent-apps__step--describe {
  animation: ent-apps-step-describe var(--ent-apps-cycle) steps(1, end) infinite;
}
.ent-apps__step--build {
  animation: ent-apps-step-build var(--ent-apps-cycle) steps(1, end) infinite;
}
.ent-apps__step--use {
  animation: ent-apps-step-use var(--ent-apps-cycle) steps(1, end) infinite;
}
.ent-apps__arrow {
  font-style: normal;
  color: var(--rule-strong);
  font-size: 11px;
}
@keyframes ent-apps-step-describe {
  0% {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: none;
  }
  16.64% {
    background: var(--ent-violet-100);
    color: var(--ent-violet-400);
    box-shadow: none;
  }
  98.74% {
    background: var(--paper);
    color: var(--muted);
    box-shadow: inset 0 0 0 1px var(--rule);
  }
}
@keyframes ent-apps-step-build {
  0% {
    background: var(--paper);
    color: var(--muted);
    box-shadow: inset 0 0 0 1px var(--rule);
  }
  16.64% {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: none;
  }
  57.88% {
    background: var(--ent-violet-100);
    color: var(--ent-violet-400);
    box-shadow: none;
  }
  98.74% {
    background: var(--paper);
    color: var(--muted);
    box-shadow: inset 0 0 0 1px var(--rule);
  }
}
@keyframes ent-apps-step-use {
  0% {
    background: var(--paper);
    color: var(--muted);
    box-shadow: inset 0 0 0 1px var(--rule);
  }
  57.88% {
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: none;
  }
  97.5% {
    background: var(--paper);
    color: var(--muted);
    box-shadow: inset 0 0 0 1px var(--rule);
  }
}

/* Stage: the three scenes stack; each has its captions pinned on top */
.ent-apps__stage {
  position: relative;
  flex: 1;
  min-height: 0;
}
.ent-apps__scene {
  position: absolute;
  inset: 0;
  padding-top: 36px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
}
.ent-apps__caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  color: var(--ent-zinc-750);
  opacity: 0;
}
.ent-apps__caption .ent-apps__label {
  color: var(--accent);
}

/* Status slot: a spinner while busy, swapped for a check when done */
.ent-apps__status {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 14px;
  height: 16px;
  flex-shrink: 0;
}
.ent-apps__status-busy,
.ent-apps__status-done {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  opacity: 0;
}
.ent-apps__status-done {
  position: absolute;
  left: 0;
  top: 0;
  height: 16px;
}
.ent-apps__spinner {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--ent-violet-60);
  border-top-color: var(--accent);
  animation: ent-apps-spin-free 0.8s linear infinite;
  flex-shrink: 0;
  box-sizing: border-box;
}
.ent-apps__check {
  flex-shrink: 0;
  display: block;
  stroke: var(--ent-green-700);
}
@keyframes ent-apps-spin-free {
  to {
    transform: rotate(360deg);
  }
}

/* Step 1, Describe: the prompt types in word by word (a fixed 0.395% apart), then the send button pulses */
.ent-apps__scene--describe,
.ent-apps__caption--describe {
  animation: ent-apps-describe var(--ent-apps-cycle) linear infinite;
}
.ent-apps__chat {
  width: 520px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow:
    0 8px 28px var(--ent-ink-a6),
    inset 0 0 0 1px var(--rule);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ent-apps__chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink);
}
.ent-apps__agent-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--ent-cyan-600));
}
.ent-apps__prompt {
  min-height: 66px;
  font-size: 15px;
  line-height: 22px;
  color: var(--ink);
  animation: ent-apps-prompt-clear var(--ent-apps-cycle) linear infinite;
}
.ent-apps__word {
  --ent-apps-word: 0;
  opacity: 0;
  animation: ent-apps-word-type var(--ent-apps-cycle) linear infinite;
  animation-delay: calc(
    var(--ent-apps-cycle) * (0.0124 + 0.00395 * var(--ent-apps-word))
  );
}
.ent-apps__word:nth-child(2) {
  --ent-apps-word: 1;
}
.ent-apps__word:nth-child(3) {
  --ent-apps-word: 2;
}
.ent-apps__word:nth-child(4) {
  --ent-apps-word: 3;
}
.ent-apps__word:nth-child(5) {
  --ent-apps-word: 4;
}
.ent-apps__word:nth-child(6) {
  --ent-apps-word: 5;
}
.ent-apps__word:nth-child(7) {
  --ent-apps-word: 6;
}
.ent-apps__word:nth-child(8) {
  --ent-apps-word: 7;
}
.ent-apps__word:nth-child(9) {
  --ent-apps-word: 8;
}
.ent-apps__word:nth-child(10) {
  --ent-apps-word: 9;
}
.ent-apps__word:nth-child(11) {
  --ent-apps-word: 10;
}
.ent-apps__word:nth-child(12) {
  --ent-apps-word: 11;
}
.ent-apps__word:nth-child(13) {
  --ent-apps-word: 12;
}
.ent-apps__word:nth-child(14) {
  --ent-apps-word: 13;
}
.ent-apps__word:nth-child(15) {
  --ent-apps-word: 14;
}
.ent-apps__word:nth-child(16) {
  --ent-apps-word: 15;
}
.ent-apps__word:nth-child(17) {
  --ent-apps-word: 16;
}
.ent-apps__word:nth-child(18) {
  --ent-apps-word: 17;
}
.ent-apps__word:nth-child(19) {
  --ent-apps-word: 18;
}
.ent-apps__word:nth-child(20) {
  --ent-apps-word: 19;
}
.ent-apps__word:nth-child(21) {
  --ent-apps-word: 20;
}
.ent-apps__chat-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ent-apps__send {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  animation: ent-apps-send-pulse var(--ent-apps-cycle) linear infinite;
}
@keyframes ent-apps-describe {
  0%,
  15.19% {
    opacity: 1;
  }
  16.43%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-prompt-clear {
  0%,
  15.4% {
    opacity: 1;
  }
  15.64%,
  100% {
    opacity: 0;
  }
}
/* delayed per word; stays up for half a cycle, well past the prompt clearing */
@keyframes ent-apps-word-type {
  0% {
    opacity: 0;
  }
  0.26%,
  50% {
    opacity: 1;
  }
  50.01%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-send-pulse {
  0%,
  10.37% {
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--ent-accent-a0);
  }
  11.4% {
    transform: scale(1.18);
    box-shadow: 0 0 0 8px var(--ent-accent-a20);
  }
  12.64%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 var(--ent-accent-a0);
  }
}

/* Step 2, Build & Ship: scene and its three captions */
.ent-apps__scene--build {
  animation: ent-apps-build var(--ent-apps-cycle) linear infinite;
}
.ent-apps__caption--connect {
  animation: ent-apps-caption-connect var(--ent-apps-cycle) linear infinite;
}
.ent-apps__caption--write {
  animation: ent-apps-caption-write var(--ent-apps-cycle) linear infinite;
}
.ent-apps__caption--deploy {
  animation: ent-apps-caption-deploy var(--ent-apps-cycle) linear infinite;
}
@keyframes ent-apps-build {
  0%,
  16.64% {
    opacity: 0;
    transform: translateY(5px);
  }
  17.88%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.67%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-caption-connect {
  0%,
  16.64% {
    opacity: 0;
    transform: translateY(5px);
  }
  17.88%,
  31.25% {
    opacity: 1;
    transform: none;
  }
  32.49%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-caption-write {
  0%,
  32.07% {
    opacity: 0;
    transform: translateY(5px);
  }
  33.32%,
  43.92% {
    opacity: 1;
    transform: none;
  }
  45.16%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-caption-deploy {
  0%,
  44.75% {
    opacity: 0;
    transform: translateY(5px);
  }
  45.99%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.67%,
  100% {
    opacity: 0;
    transform: none;
  }
}

/* Step 2: the plan line ("Planning..." with a spinner, then "Plan ready" with a check) */
.ent-apps__plan {
  position: relative;
  align-self: stretch;
  height: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ent-zinc-650);
}
.ent-apps__plan-text {
  position: absolute;
  left: 24px;
  opacity: 0;
}
.ent-apps__plan-text b {
  font-weight: 600;
  color: var(--ink);
}
.ent-apps__plan .ent-apps__status-busy,
.ent-apps__plan-text--busy {
  animation: ent-apps-plan-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__plan .ent-apps__status-done,
.ent-apps__plan-text--done {
  animation: ent-apps-plan-done var(--ent-apps-cycle) linear infinite;
}
@keyframes ent-apps-plan-busy {
  0%,
  17.05% {
    opacity: 0;
  }
  17.67%,
  20.26% {
    opacity: 1;
  }
  20.88%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-plan-done {
  0%,
  20.47% {
    opacity: 0;
  }
  21.3%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}

/* Step 2: the three cards. Each is dim, then lit (violet ring) while it works, then done */
.ent-apps__cards {
  display: flex;
  gap: 10px;
  width: 100%;
  align-self: stretch;
  height: 270px;
}
.ent-apps__card {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border-radius: 12px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-sizing: border-box;
  opacity: 0.45;
  box-shadow: inset 0 0 0 1px var(--rule);
}
.ent-apps__card-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink);
  margin-bottom: 3px;
}
.ent-apps__card-icon {
  stroke: var(--accent);
}
.ent-apps__card-status {
  margin-left: auto;
  opacity: 0;
}
.ent-apps__card--connect {
  animation: ent-apps-card-connect var(--ent-apps-cycle) steps(1, end) infinite;
}
.ent-apps__card--connect .ent-apps__card-status {
  animation: ent-apps-card-connect-status var(--ent-apps-cycle) linear infinite;
}
.ent-apps__card--connect .ent-apps__card-head .ent-apps__status-busy {
  animation: ent-apps-card-connect-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__card--connect .ent-apps__card-head .ent-apps__status-done {
  animation: ent-apps-card-connect-done var(--ent-apps-cycle) linear infinite;
}
.ent-apps__card--write {
  animation: ent-apps-card-write var(--ent-apps-cycle) steps(1, end) infinite;
}
.ent-apps__card--write .ent-apps__card-status {
  animation: ent-apps-card-write-status var(--ent-apps-cycle) linear infinite;
}
.ent-apps__card--write .ent-apps__card-head .ent-apps__status-busy {
  animation: ent-apps-card-write-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__card--write .ent-apps__card-head .ent-apps__status-done {
  animation: ent-apps-card-write-done var(--ent-apps-cycle) linear infinite;
}
.ent-apps__card--deploy {
  animation: ent-apps-card-deploy var(--ent-apps-cycle) steps(1, end) infinite;
}
.ent-apps__card--deploy .ent-apps__card-status {
  animation: ent-apps-card-deploy-status var(--ent-apps-cycle) linear infinite;
}
.ent-apps__card--deploy .ent-apps__card-head .ent-apps__status-busy {
  animation: ent-apps-card-deploy-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__card--deploy .ent-apps__card-head .ent-apps__status-done {
  animation: ent-apps-card-deploy-done var(--ent-apps-cycle) linear infinite;
}
@keyframes ent-apps-card-connect {
  0% {
    opacity: 0.45;
    box-shadow: inset 0 0 0 1px var(--rule);
  }
  16.64% {
    opacity: 1;
    box-shadow:
      0 0 0 4px var(--ent-accent-a9),
      inset 0 0 0 1px var(--ent-violet-160);
  }
  32.07% {
    opacity: 1;
    box-shadow: inset 0 0 0 1px var(--rule);
  }
  98.74% {
    opacity: 0.45;
    box-shadow: inset 0 0 0 1px var(--rule);
  }
}
@keyframes ent-apps-card-write {
  0% {
    opacity: 0.45;
    box-shadow: inset 0 0 0 1px var(--rule);
  }
  32.07% {
    opacity: 1;
    box-shadow:
      0 0 0 4px var(--ent-accent-a9),
      inset 0 0 0 1px var(--ent-violet-160);
  }
  44.75% {
    opacity: 1;
    box-shadow: inset 0 0 0 1px var(--rule);
  }
  98.74% {
    opacity: 0.45;
    box-shadow: inset 0 0 0 1px var(--rule);
  }
}
@keyframes ent-apps-card-deploy {
  0% {
    opacity: 0.45;
    box-shadow: inset 0 0 0 1px var(--rule);
  }
  44.75% {
    opacity: 1;
    box-shadow:
      0 0 0 4px var(--ent-accent-a9),
      inset 0 0 0 1px var(--ent-violet-160);
  }
  57.88% {
    opacity: 1;
    box-shadow: inset 0 0 0 1px var(--rule);
  }
  98.74% {
    opacity: 0.45;
    box-shadow: inset 0 0 0 1px var(--rule);
  }
}
@keyframes ent-apps-card-connect-status {
  0%,
  16.64% {
    opacity: 0;
  }
  17.27%,
  56.43% {
    opacity: 1;
  }
  57.05%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-card-write-status {
  0%,
  32.07% {
    opacity: 0;
  }
  32.7%,
  56.43% {
    opacity: 1;
  }
  57.05%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-card-deploy-status {
  0%,
  44.75% {
    opacity: 0;
  }
  45.37%,
  56.43% {
    opacity: 1;
  }
  57.05%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-card-connect-busy {
  0%,
  16.84% {
    opacity: 0;
  }
  17.46%,
  31.87% {
    opacity: 1;
  }
  32.49%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-card-write-busy {
  0%,
  32.28% {
    opacity: 0;
  }
  32.91%,
  44.54% {
    opacity: 1;
  }
  45.16%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-card-deploy-busy {
  0%,
  44.96% {
    opacity: 0;
  }
  45.58%,
  57.67% {
    opacity: 1;
  }
  58.29%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-card-connect-done {
  0%,
  32.07% {
    opacity: 0;
  }
  32.91%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-card-write-done {
  0%,
  44.75% {
    opacity: 0;
  }
  45.58%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}
/* as shipped: this check fades in slowly over the whole cycle up to 56.43%, so it shows over the spinner
   while the card works (the original's out-of-order stops did this) */
@keyframes ent-apps-card-deploy-done {
  0% {
    opacity: 0;
  }
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}

/* Step 2: card rows. Each row rises in with its spinner, the spinner turns into a check,
   and everything clears at 56.43% */
.ent-apps__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 8px;
  background: var(--paper-2);
  font-size: 11.5px;
  min-height: 20px;
  opacity: 0;
}
.ent-apps__item .ent-apps__status-done {
  display: block; /* sits 1px higher than the card-head check, as before */
}
.ent-apps__logo {
  width: 38px;
  height: 22px;
  object-fit: contain;
}
.ent-apps__item-text {
  display: flex;
  flex-direction: column;
  line-height: 14px;
  min-width: 0;
}
.ent-apps__item b {
  font-weight: 500;
  color: var(--ink);
}
.ent-apps__item em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--muted);
}
.ent-apps__item code {
  font:
    400 10.5px "Geist Mono",
    ui-monospace,
    monospace;
  color: var(--ent-zinc-750);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ent-apps__snippet {
  margin-top: auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--ent-zinc-900);
  color: var(--rule);
  font:
    400 10px/14px "Geist Mono",
    ui-monospace,
    monospace;
  white-space: nowrap;
  opacity: 0;
  animation: ent-apps-snippet var(--ent-apps-cycle) linear infinite;
}
.ent-apps__snippet i {
  font-style: normal;
  color: var(--muted);
}
.ent-apps__snippet s {
  text-decoration: none;
  color: var(--ent-violet-150);
}
.ent-apps__url {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow:
    inset 0 0 0 1px var(--ent-violet-120),
    0 0 0 3px var(--ent-accent-a6);
  font:
    500 10.5px "Geist Mono",
    ui-monospace,
    monospace;
  color: var(--ink);
  opacity: 0;
  animation: ent-apps-url var(--ent-apps-cycle) linear infinite;
}
.ent-apps__url em {
  margin-left: auto;
  font-style: normal;
  font-size: 9.5px;
  color: var(--ent-green-700);
  background: var(--ent-green-50);
  padding: 2px 6px;
  border-radius: 5px;
}
.ent-apps__live-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ent-green-550);
  box-shadow: 0 0 0 3px var(--ent-green-550-a20);
  flex-shrink: 0;
}
.ent-apps__item--salesforce {
  animation: ent-apps-salesforce var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--salesforce .ent-apps__status-busy {
  animation: ent-apps-salesforce-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--salesforce .ent-apps__status-done {
  animation: ent-apps-salesforce-done var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--snowflake {
  animation: ent-apps-snowflake var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--snowflake .ent-apps__status-busy {
  animation: ent-apps-snowflake-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--snowflake .ent-apps__status-done {
  animation: ent-apps-snowflake-done var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--owners {
  animation: ent-apps-owners var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--owners .ent-apps__status-busy {
  animation: ent-apps-owners-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--owners .ent-apps__status-done {
  animation: ent-apps-owners-done var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--schema {
  animation: ent-apps-schema var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--schema .ent-apps__status-busy {
  animation: ent-apps-schema-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--schema .ent-apps__status-done {
  animation: ent-apps-schema-done var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--rules {
  animation: ent-apps-rules var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--rules .ent-apps__status-busy {
  animation: ent-apps-rules-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--rules .ent-apps__status-done {
  animation: ent-apps-rules-done var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--api {
  animation: ent-apps-api var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--api .ent-apps__status-busy {
  animation: ent-apps-api-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--api .ent-apps__status-done {
  animation: ent-apps-api-done var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--page {
  animation: ent-apps-page var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--page .ent-apps__status-busy {
  animation: ent-apps-page-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--page .ent-apps__status-done {
  animation: ent-apps-page-done var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--build {
  animation: ent-apps-build-passes var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--build .ent-apps__status-busy {
  animation: ent-apps-build-passes-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--build .ent-apps__status-done {
  animation: ent-apps-build-passes-done var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--tests {
  animation: ent-apps-tests var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--tests .ent-apps__status-busy {
  animation: ent-apps-tests-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--tests .ent-apps__status-done {
  animation: ent-apps-tests-done var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--verified {
  animation: ent-apps-verified var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--verified .ent-apps__status-busy {
  animation: ent-apps-verified-busy var(--ent-apps-cycle) linear infinite;
}
.ent-apps__item--verified .ent-apps__status-done {
  animation: ent-apps-verified-done var(--ent-apps-cycle) linear infinite;
}

/* Connect Data rows */
@keyframes ent-apps-salesforce {
  0%,
  21.29% {
    opacity: 0;
    transform: translateY(5px);
  }
  22.13%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.26%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-salesforce-busy {
  0%,
  21.29% {
    opacity: 0;
  }
  21.92%,
  25.24% {
    opacity: 1;
  }
  25.85%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-salesforce-done {
  0%,
  25.43% {
    opacity: 0;
  }
  26.27%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-snowflake {
  0%,
  22.95% {
    opacity: 0;
    transform: translateY(5px);
  }
  23.79%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.26%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-snowflake-busy {
  0%,
  22.95% {
    opacity: 0;
  }
  23.58%,
  27.72% {
    opacity: 1;
  }
  28.35%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-snowflake-done {
  0%,
  27.93% {
    opacity: 0;
  }
  28.75%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-owners {
  0%,
  25.43% {
    opacity: 0;
    transform: translateY(5px);
  }
  26.27%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.26%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-owners-busy {
  0%,
  25.43% {
    opacity: 0;
  }
  26.06%,
  30.21% {
    opacity: 1;
  }
  30.83%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-owners-done {
  0%,
  30.41% {
    opacity: 0;
  }
  31.25%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}

/* Write The App rows and the access-rules snippet */
@keyframes ent-apps-schema {
  0%,
  32.69% {
    opacity: 0;
    transform: translateY(5px);
  }
  33.53%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.26%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-schema-busy {
  0%,
  32.69% {
    opacity: 0;
  }
  33.32%,
  34.36% {
    opacity: 1;
  }
  34.98%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-schema-done {
  0%,
  34.56% {
    opacity: 0;
  }
  35.39%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-rules {
  0%,
  34.56% {
    opacity: 0;
    transform: translateY(5px);
  }
  35.39%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.26%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-rules-busy {
  0%,
  34.56% {
    opacity: 0;
  }
  35.19%,
  36.22% {
    opacity: 1;
  }
  36.85%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-rules-done {
  0%,
  36.43% {
    opacity: 0;
  }
  37.26%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-api {
  0%,
  36.43% {
    opacity: 0;
    transform: translateY(5px);
  }
  37.26%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.26%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-api-busy {
  0%,
  36.43% {
    opacity: 0;
  }
  37.05%,
  38.09% {
    opacity: 1;
  }
  38.71%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-api-done {
  0%,
  38.3% {
    opacity: 0;
  }
  39.12%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-page {
  0%,
  38.3% {
    opacity: 0;
    transform: translateY(5px);
  }
  39.12%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.26%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-page-busy {
  0%,
  38.3% {
    opacity: 0;
  }
  38.91%,
  39.96% {
    opacity: 1;
  }
  40.57%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-page-done {
  0%,
  40.15% {
    opacity: 0;
  }
  40.99%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-snippet {
  0%,
  37.04% {
    opacity: 0;
    transform: translateY(5px);
  }
  37.88%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.26%,
  100% {
    opacity: 0;
    transform: none;
  }
}

/* Test & Deploy rows and the live URL */
@keyframes ent-apps-build-passes {
  0%,
  45.36% {
    opacity: 0;
    transform: translateY(5px);
  }
  46.2%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.26%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-build-passes-busy {
  0%,
  45.36% {
    opacity: 0;
  }
  45.99%,
  47.44% {
    opacity: 1;
  }
  48.07%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-build-passes-done {
  0%,
  47.65% {
    opacity: 0;
  }
  48.48%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-tests {
  0%,
  46.81% {
    opacity: 0;
    transform: translateY(5px);
  }
  47.65%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.26%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-tests-busy {
  0%,
  46.81% {
    opacity: 0;
  }
  47.44%,
  49.1% {
    opacity: 1;
  }
  49.73%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-tests-done {
  0%,
  49.31% {
    opacity: 0;
  }
  50.13%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-verified {
  0%,
  48.47% {
    opacity: 0;
    transform: translateY(5px);
  }
  49.31%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.26%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-verified-busy {
  0%,
  48.47% {
    opacity: 0;
  }
  49.1%,
  50.76% {
    opacity: 1;
  }
  51.39%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-verified-done {
  0%,
  50.97% {
    opacity: 0;
  }
  51.79%,
  56.43% {
    opacity: 1;
  }
  57.26%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-url {
  0%,
  52.62% {
    opacity: 0;
    transform: translateY(5px);
  }
  53.66%,
  56.43% {
    opacity: 1;
    transform: none;
  }
  57.46%,
  100% {
    opacity: 0;
    transform: none;
  }
}

/* Step 3, Use The App: scene and captions (rep until 78.33%, then manager) */
.ent-apps__scene--use {
  animation: ent-apps-use var(--ent-apps-cycle) linear infinite;
}
.ent-apps__caption--rep {
  animation: ent-apps-caption-rep var(--ent-apps-cycle) linear infinite;
}
.ent-apps__caption--manager {
  animation: ent-apps-caption-manager var(--ent-apps-cycle) linear infinite;
}
@keyframes ent-apps-use {
  0%,
  57.88% {
    opacity: 0;
    transform: translateY(5px);
  }
  59.12%,
  97.5% {
    opacity: 1;
    transform: none;
  }
  98.74%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-caption-rep {
  0%,
  57.88% {
    opacity: 0;
    transform: translateY(5px);
  }
  59.12%,
  77.09% {
    opacity: 1;
    transform: none;
  }
  78.33%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-caption-manager {
  0%,
  78.33% {
    opacity: 0;
    transform: translateY(5px);
  }
  79.57%,
  97.5% {
    opacity: 1;
    transform: none;
  }
  98.74%,
  100% {
    opacity: 0;
    transform: none;
  }
}

/* Step 3: the app window, drawn at 920x390 and scaled to fit */
.ent-apps__app {
  width: 681px;
  height: 289px;
  flex-shrink: 0;
}
.ent-apps__window {
  position: relative;
  width: 920px;
  height: 390px;
  transform: scale(0.74);
  transform-origin: 0 0;
  border-radius: 14px;
  background: var(--paper);
  overflow: hidden;
  box-shadow:
    0 20px 50px var(--ent-ink-a12),
    inset 0 0 0 1px var(--rule);
  font-size: 13px;
}
.ent-apps__browser-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: var(--paper-3);
  border-bottom: 1px solid var(--rule);
}
.ent-apps__browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rule-strong);
}
.ent-apps__address {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 14px;
  border-radius: 6px;
  background: var(--paper);
  font:
    400 11px "Geist Mono",
    ui-monospace,
    monospace;
  color: var(--ent-zinc-650);
  transform: translateX(-20px);
}
.ent-apps__app-body {
  display: flex;
  height: 360px;
}

/* Step 3: sidebar with nav, the signed-in user and the "view as" menu */
.ent-apps__sidebar {
  position: relative;
  width: 176px;
  flex-shrink: 0;
  border-right: 1px solid var(--ent-zinc-60);
  padding: 14px 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--ent-zinc-25);
}
.ent-apps__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 14px;
}
.ent-apps__brand i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--ent-cyan-600));
}
.ent-apps__brand b {
  font-size: 14px;
  color: var(--ink);
}
.ent-apps__nav {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  height: 28px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 13px;
  background: transparent;
  color: var(--ent-zinc-650);
}
.ent-apps__nav--overview {
  animation: ent-apps-nav-overview var(--ent-apps-cycle) steps(1, end) infinite;
}
.ent-apps__nav--deals {
  animation: ent-apps-nav-deals var(--ent-apps-cycle) steps(1, end) infinite;
}
.ent-apps__user {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--ent-zinc-50);
  background: var(--paper);
}
.ent-apps__user-text {
  display: flex;
  flex-direction: column;
  line-height: 16px;
  min-width: 0;
}
.ent-apps__user b {
  font-size: 12px;
  color: var(--ink);
  height: 16px;
  position: relative;
}
.ent-apps__user em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}
.ent-apps__chevron {
  margin-left: auto;
  color: var(--ent-zinc-350);
  font-size: 11px;
}
.ent-apps__menu {
  position: absolute;
  left: 10px;
  width: 200px;
  bottom: 62px;
  padding: 8px;
  border-radius: 10px;
  background: var(--paper);
  box-shadow:
    0 10px 30px var(--ent-ink-a15),
    inset 0 0 0 1px var(--rule);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 3;
  opacity: 0;
  animation: ent-apps-menu var(--ent-apps-cycle) linear infinite;
}
.ent-apps__menu-option {
  position: relative;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--ent-zinc-750);
}
.ent-apps__menu-option--manager {
  background: transparent;
  animation: ent-apps-menu-manager var(--ent-apps-cycle) steps(1, end) infinite;
}
@keyframes ent-apps-nav-overview {
  0% {
    background: transparent;
    color: var(--ent-zinc-650);
  }
  57.88% {
    background: var(--ent-violet-100);
    color: var(--ent-violet-400);
  }
  66.11% {
    background: transparent;
    color: var(--ent-zinc-650);
  }
  88.23% {
    background: var(--ent-violet-100);
    color: var(--ent-violet-400);
  }
  97.5% {
    background: transparent;
    color: var(--ent-zinc-650);
  }
}
@keyframes ent-apps-nav-deals {
  0% {
    background: transparent;
    color: var(--ent-zinc-650);
  }
  66.11% {
    background: var(--ent-violet-100);
    color: var(--ent-violet-400);
  }
  88.23% {
    background: transparent;
    color: var(--ent-zinc-650);
  }
}
@keyframes ent-apps-menu {
  0%,
  75.01% {
    opacity: 0;
    transform: translateY(5px);
  }
  75.64%,
  78.12% {
    opacity: 1;
    transform: none;
  }
  78.75%,
  100% {
    opacity: 0;
    transform: none;
  }
}
/* hovered, then picked; the text stays violet while the menu fades out */
@keyframes ent-apps-menu-manager {
  76.46% {
    background: var(--ent-violet-100);
    color: var(--ent-violet-400);
  }
  78.33% {
    background: transparent;
    color: var(--ent-violet-400);
  }
}

/* Step 3: who is viewing. Rep parts show 57.88-78.33%, manager parts 78.33-98.53% */
.ent-apps__swap {
  position: relative;
  display: inline-block;
}
.ent-apps__as-rep,
.ent-apps__as-manager {
  white-space: nowrap;
  opacity: 0;
}
.ent-apps__as-rep {
  animation: ent-apps-as-rep var(--ent-apps-cycle) linear infinite;
}
.ent-apps__as-manager {
  position: absolute;
  left: 0;
  top: 0;
  animation: ent-apps-as-manager var(--ent-apps-cycle) linear infinite;
}
.ent-apps__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--on-accent);
  font:
    600 10px Inter,
    system-ui,
    sans-serif;
  font-style: normal;
  vertical-align: middle;
}
.ent-apps__avatar--jm {
  background: var(--accent);
}
.ent-apps__avatar--rm {
  background: var(--ent-zinc-900);
}
.ent-apps__avatar--sl {
  background: var(--ent-amber-500);
}
.ent-apps__avatar--ak {
  background: var(--ent-sky-500);
}
@keyframes ent-apps-as-rep {
  0%,
  57.88% {
    opacity: 0;
  }
  58.5%,
  77.7% {
    opacity: 1;
  }
  78.33%,
  100% {
    opacity: 0;
  }
}
@keyframes ent-apps-as-manager {
  0%,
  78.33% {
    opacity: 0;
  }
  79.36%,
  97.5% {
    opacity: 1;
  }
  98.53%,
  100% {
    opacity: 0;
  }
}

/* Step 3: four screens in turn: rep Overview, rep Deals, manager Deals, manager Overview */
.ent-apps__main {
  position: relative;
  flex: 1;
  min-width: 0;
}
.ent-apps__screen {
  position: absolute;
  inset: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
}
.ent-apps__screen--rep-overview {
  animation: ent-apps-screen-rep-overview var(--ent-apps-cycle) linear infinite;
}
.ent-apps__screen--rep-deals {
  animation: ent-apps-screen-rep-deals var(--ent-apps-cycle) linear infinite;
}
.ent-apps__screen--manager-deals {
  animation: ent-apps-screen-manager-deals var(--ent-apps-cycle) linear infinite;
}
.ent-apps__screen--manager-overview {
  animation: ent-apps-screen-manager-overview var(--ent-apps-cycle) linear
    infinite;
}
.ent-apps__screen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ent-apps__screen-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ent-apps__screen-title b {
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.ent-apps__scope {
  font-size: 11.5px;
  color: var(--ent-violet-400);
  background: var(--ent-violet-100);
  padding: 3px 9px;
  border-radius: 999px;
  height: 16px;
}
.ent-apps__scope .ent-apps__as-rep,
.ent-apps__scope .ent-apps__as-manager {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ent-apps__quarter,
.ent-apps__new-deal {
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--rule);
  color: var(--ent-zinc-750);
}
.ent-apps__new-deal {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
  font-weight: 500;
}
@keyframes ent-apps-screen-rep-overview {
  0%,
  57.88% {
    opacity: 0;
    transform: translateY(5px);
  }
  58.91%,
  65.49% {
    opacity: 1;
    transform: none;
  }
  66.53%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-screen-rep-deals {
  0%,
  66.11% {
    opacity: 0;
    transform: translateY(5px);
  }
  67.15%,
  77.7% {
    opacity: 1;
    transform: none;
  }
  78.75%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-screen-manager-deals {
  0%,
  78.33% {
    opacity: 0;
    transform: translateY(5px);
  }
  79.36%,
  87.62% {
    opacity: 1;
    transform: none;
  }
  88.65%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-screen-manager-overview {
  0%,
  88.23% {
    opacity: 0;
    transform: translateY(5px);
  }
  89.27%,
  97.5% {
    opacity: 1;
    transform: none;
  }
  98.53%,
  100% {
    opacity: 0;
    transform: none;
  }
}

/* Overview screens: KPI tiles, pipeline-by-stage bars and the top-deals table */
.ent-apps__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.ent-apps__kpi {
  padding: 11px 13px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--ent-zinc-50);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ent-apps__kpi em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
}
.ent-apps__kpi b {
  font-size: 21px;
  color: var(--ink);
  letter-spacing: -0.4px;
}
.ent-apps__kpi span {
  font-size: 11px;
  color: var(--ent-green-700);
}
.ent-apps__panels {
  display: flex;
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.ent-apps__panel {
  width: 250px;
  padding: 12px 14px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--ent-zinc-50);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ent-apps__panel--wide {
  flex: 1;
  width: auto;
}
.ent-apps__panel-title {
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink);
}
.ent-apps__bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.ent-apps__bar-row {
  display: grid;
  grid-template-columns: 78px 1fr 48px;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--ent-zinc-650);
}
.ent-apps__bar-track {
  height: 10px;
  border-radius: 5px;
  background: var(--paper-3);
  overflow: hidden;
}
.ent-apps__bar {
  display: block;
  height: 100%;
  border-radius: 5px;
}
.ent-apps__bar-row em {
  font-style: normal;
  text-align: right;
  font:
    500 11px "Geist Mono",
    ui-monospace,
    monospace;
  color: var(--ink);
}
.ent-apps__bar--discovery {
  background: var(--ent-sky-400);
}
.ent-apps__bar--proposal {
  background: var(--ent-amber-500);
  width: 100%;
}
.ent-apps__bar--negotiation {
  background: var(--accent);
}
.ent-apps__screen--rep-overview .ent-apps__bar--discovery {
  width: 53%;
}
.ent-apps__screen--rep-overview .ent-apps__bar--negotiation {
  width: 82%;
}
.ent-apps__screen--manager-overview .ent-apps__bar--discovery {
  width: 43%;
}
.ent-apps__screen--manager-overview .ent-apps__bar--negotiation {
  width: 70%;
}
.ent-apps__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.ent-apps__table th {
  text-align: left;
  font-weight: 500;
  font-size: 10.5px;
  color: var(--ent-zinc-350);
  padding: 0 4px 5px;
  border-bottom: 1px solid var(--ent-zinc-60);
}
.ent-apps__table td {
  padding: 0 4px;
  height: 27px;
  border-bottom: 1px solid var(--ent-zinc-80);
  color: var(--ink-2);
}
.ent-apps__table td:last-child,
.ent-apps__table th:last-child {
  text-align: right;
  font:
    500 11.5px "Geist Mono",
    ui-monospace,
    monospace;
}
.ent-apps__table .ent-apps__avatar {
  width: 20px;
  height: 20px;
  font-size: 8.5px;
}
.ent-apps__stage-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
}
.ent-apps__stage-tag--discovery {
  background: var(--ent-sky-50);
  color: var(--ent-sky-700);
}
.ent-apps__stage-tag--proposal {
  background: var(--ent-amber-100);
  color: var(--ent-amber-700);
}
.ent-apps__stage-tag--negotiation {
  background: var(--ent-violet-80);
  color: var(--ent-violet-400);
}

/* Deals screens: a board of stage columns; the rep's 3 deals land together, the manager's 7 row by row */
.ent-apps__board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
  min-height: 0;
}
.ent-apps__column {
  padding: 10px;
  border-radius: 10px;
  background: var(--ent-zinc-80);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ent-apps__column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ent-apps__column-head em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}
.ent-apps__deal {
  padding: 10px 11px;
  border-radius: 9px;
  background: var(--paper);
  box-shadow:
    0 1px 2px var(--ent-black-a5),
    inset 0 0 0 1px var(--ent-zinc-50);
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
}
.ent-apps__deal-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ent-apps__deal b {
  font-size: 13px;
  color: var(--ink);
}
.ent-apps__deal .ent-apps__avatar {
  width: 22px;
  height: 22px;
  font-size: 9px;
}
.ent-apps__deal em {
  font-style: normal;
  font:
    500 12px "Geist Mono",
    ui-monospace,
    monospace;
  color: var(--ink);
}
.ent-apps__deal span {
  font-size: 11px;
  color: var(--muted);
}
.ent-apps__screen--rep-deals .ent-apps__deal {
  animation: ent-apps-deal-rep var(--ent-apps-cycle) linear infinite;
}
.ent-apps__screen--manager-deals .ent-apps__deal:nth-child(2) {
  animation: ent-apps-deal-manager-row-1 var(--ent-apps-cycle) linear infinite;
}
.ent-apps__screen--manager-deals .ent-apps__deal:nth-child(3) {
  animation: ent-apps-deal-manager-row-2 var(--ent-apps-cycle) linear infinite;
}
.ent-apps__screen--manager-deals .ent-apps__deal:nth-child(4) {
  animation: ent-apps-deal-manager-row-3 var(--ent-apps-cycle) linear infinite;
}
@keyframes ent-apps-deal-rep {
  0%,
  66.94% {
    opacity: 0;
    transform: translateY(5px);
  }
  67.77%,
  77.7% {
    opacity: 1;
    transform: none;
  }
  78.54%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-deal-manager-row-1 {
  0%,
  78.74% {
    opacity: 0;
    transform: translateY(5px);
  }
  79.57%,
  97.5% {
    opacity: 1;
    transform: none;
  }
  98.32%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-deal-manager-row-2 {
  0%,
  79.24% {
    opacity: 0;
    transform: translateY(5px);
  }
  80.07%,
  97.5% {
    opacity: 1;
    transform: none;
  }
  98.32%,
  100% {
    opacity: 0;
    transform: none;
  }
}
@keyframes ent-apps-deal-manager-row-3 {
  0%,
  79.74% {
    opacity: 0;
    transform: translateY(5px);
  }
  80.57%,
  97.5% {
    opacity: 1;
    transform: none;
  }
  98.32%,
  100% {
    opacity: 0;
    transform: none;
  }
}

/* Step 3: "Now viewing as" toast after the switch to manager */
.ent-apps__toast {
  position: absolute;
  right: 16px;
  top: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--rule);
  font-size: 12px;
  box-shadow: 0 10px 30px var(--ent-ink-a20);
  z-index: 4;
  opacity: 0;
  animation: ent-apps-toast var(--ent-apps-cycle) linear infinite;
}
.ent-apps__toast b {
  color: var(--paper);
  font-weight: 600;
}
.ent-apps__toast .ent-apps__check {
  stroke: var(--ent-green-400);
}
@keyframes ent-apps-toast {
  0%,
  78.74% {
    opacity: 0;
    transform: translateY(5px);
  }
  79.78%,
  87.41% {
    opacity: 1;
    transform: none;
  }
  88.44%,
  100% {
    opacity: 0;
    transform: none;
  }
}

/* Step 3: the cursor's path and a click ripple at each stop (Deals, user, manager option, Overview) */
.ent-apps__cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 6;
  pointer-events: none;
  animation: ent-apps-cursor var(--ent-apps-cycle) ease-in-out infinite;
}
.ent-apps__cursor path {
  fill: var(--ink);
  stroke: var(--paper);
}
.ent-apps__click {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ent-accent-a25);
  z-index: 5;
  opacity: 0;
  animation: ent-apps-click var(--ent-apps-cycle) linear infinite;
}
.ent-apps__click--deals {
  left: 60px;
  top: 126px;
  animation-delay: calc(var(--ent-apps-cycle) * 0.659);
}
.ent-apps__click--user {
  left: 70px;
  top: 345px;
  animation-delay: calc(var(--ent-apps-cycle) * 0.7438);
}
.ent-apps__click--manager {
  left: 86px;
  top: 302px;
  animation-delay: calc(var(--ent-apps-cycle) * 0.7729);
}
.ent-apps__click--overview {
  left: 60px;
  top: 96px;
  animation-delay: calc(var(--ent-apps-cycle) * 0.8761);
}
@keyframes ent-apps-cursor {
  0% {
    transform: translate(640px, 250px);
    opacity: 0;
  }
  57.88%,
  63.21% {
    transform: translate(640px, 250px);
    opacity: 1;
  }
  65.7%,
  70.87% {
    transform: translate(70px, 136px);
    opacity: 1;
  }
  74.19%,
  75.43% {
    transform: translate(80px, 355px);
    opacity: 1;
  }
  77.09%,
  82.85% {
    transform: translate(96px, 312px);
    opacity: 1;
  }
  87.41%,
  90.31% {
    transform: translate(70px, 106px);
    opacity: 1;
  }
  93.62%,
  97.5% {
    transform: translate(600px, 260px);
    opacity: 1;
  }
  98.74%,
  100% {
    opacity: 0;
  }
}
/* delayed per click */
@keyframes ent-apps-click {
  0% {
    opacity: 0;
  }
  0.42%,
  1.46% {
    opacity: 1;
  }
  1.87%,
  100% {
    opacity: 0;
  }
}

/* Phones: the card stands up at a fixed height, so the page never jumps through the loop, with room for two-line
   captions. Build & Ship: the three cards stack as an accordion, the working card open and the others folded to
   their heads (pending, then done). Use The App: the browser window gives way to a phone app (.ent-apps__phone,
   hidden on desktop) with its own screens, played on the same beats: the brand with who is signed in, one-column
   screens (the pipeline and its split by stage, three stats, the top deals; deals listed under their stages), a
   tab bar, "view as" as a bottom sheet, and taps instead of a cursor. Screens fade out before the next fades in. */
.ent-apps__phone {
  display: none;
}
@media (max-width: 599px) {
  .ent-apps {
    height: 548px;
    padding: 14px;
    gap: 10px;
  }
  .ent-apps__arrow {
    display: none;
  }
  .ent-apps__steps {
    gap: 6px;
  }
  .ent-apps__step {
    gap: 5px;
    padding: 6px 2px;
  }
  .ent-apps__scene {
    padding-top: 56px;
    justify-content: flex-start;
    gap: 10px;
  }
  .ent-apps__caption {
    font-size: 12.5px;
    line-height: 17px;
    text-align: center;
  }

  /* Describe */
  .ent-apps__chat {
    width: 100%;
    box-sizing: border-box;
  }
  .ent-apps__prompt {
    font-size: 14px;
    line-height: 21px;
  }

  /* Build & Ship: the plan line wraps to two lines; the cards fold */
  .ent-apps__plan {
    height: 34px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 17px;
  }
  .ent-apps__plan-text {
    top: 0;
    right: 0;
  }
  .ent-apps__cards {
    flex-direction: column;
    height: auto;
    gap: 8px;
  }
  .ent-apps__card {
    flex: none;
    height: 42px;
    overflow: hidden;
  }
  .ent-apps__card-head {
    margin-bottom: 8px;
  }
  .ent-apps__card--connect {
    animation:
      ent-apps-card-connect var(--ent-apps-cycle) steps(1, end) infinite,
      ent-apps-fold-connect var(--ent-apps-cycle) linear infinite;
  }
  .ent-apps__card--write {
    animation:
      ent-apps-card-write var(--ent-apps-cycle) steps(1, end) infinite,
      ent-apps-fold-write var(--ent-apps-cycle) linear infinite;
  }
  .ent-apps__card--deploy {
    animation:
      ent-apps-card-deploy var(--ent-apps-cycle) steps(1, end) infinite,
      ent-apps-fold-deploy var(--ent-apps-cycle) linear infinite;
  }
  @keyframes ent-apps-fold-connect {
    0%,
    16.64% {
      height: 42px;
    }
    17.88%,
    32.07% {
      height: 184px;
    }
    33.32%,
    100% {
      height: 42px;
    }
  }
  @keyframes ent-apps-fold-write {
    0%,
    32.07% {
      height: 42px;
    }
    33.32%,
    44.75% {
      height: 258px;
    }
    45.99%,
    100% {
      height: 42px;
    }
  }
  @keyframes ent-apps-fold-deploy {
    0%,
    44.75% {
      height: 42px;
    }
    45.99%,
    57.88% {
      height: 213px;
    }
    58.5%,
    100% {
      height: 42px;
    }
  }

  /* Use The App: the phone app and its status row */
  .ent-apps__app {
    display: none;
  }
  .ent-apps__phone {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 284px;
    flex: 1;
    min-height: 0;
    border-radius: 22px;
    background: var(--paper);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 8%, transparent);
    overflow: hidden;
  }
  .ent-apps__phone::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px var(--rule);
    pointer-events: none;
    z-index: 8;
  }
  .ent-apps__phone-status {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 26px;
    padding: 0 16px;
    font:
      500 10px "Geist Mono",
      ui-monospace,
      monospace;
    color: var(--ink);
  }
  .ent-apps__phone-host {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--paper-3);
    font-size: 9.5px;
    font-weight: 400;
    color: var(--ent-zinc-350);
  }

  /* The app bar: brand, who is signed in (swaps to the manager), their avatar */
  .ent-apps__phone-bar {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    height: 42px;
    padding: 0 14px;
    border-bottom: 1px solid var(--ent-zinc-60);
  }
  .ent-apps__phone-bar .ent-apps__brand {
    padding: 0;
  }
  .ent-apps__phone-bar .ent-apps__brand i {
    width: 22px;
    height: 22px;
    border-radius: 7px;
  }
  .ent-apps__phone-who {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  .ent-apps__phone-who b {
    font-size: 12.5px;
    line-height: 15px;
    color: var(--ink);
  }
  .ent-apps__phone-who .ent-apps__swap {
    font-size: 9.5px;
    line-height: 12px;
    color: var(--muted);
  }
  .ent-apps__phone-me .ent-apps__avatar {
    width: 26px;
    height: 26px;
    font-size: 9.5px;
  }

  /* Screens, one at a time */
  .ent-apps__phone-screens {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow: hidden;
  }
  .ent-apps__phone-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 11px 13px 0;
    opacity: 0;
  }
  .ent-apps__phone-screen--rep-overview {
    animation: ent-apps-phone-rep-overview var(--ent-apps-cycle) linear infinite;
  }
  .ent-apps__phone-screen--rep-deals {
    animation: ent-apps-phone-rep-deals var(--ent-apps-cycle) linear infinite;
  }
  /* The manager's list runs past the screen and fades into the tab bar, as if it scrolls on */
  .ent-apps__phone-screen--manager-deals {
    mask-image: linear-gradient(
      to bottom,
      var(--ink) calc(100% - 36px),
      transparent
    );
    animation: ent-apps-phone-manager-deals var(--ent-apps-cycle) linear
      infinite;
  }
  .ent-apps__phone-screen--manager-overview {
    animation: ent-apps-phone-manager-overview var(--ent-apps-cycle) linear
      infinite;
  }
  .ent-apps__phone-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .ent-apps__phone-title b {
    font-size: 15px;
    line-height: 20px;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .ent-apps__phone-scope {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--ent-violet-60);
    font-size: 9.5px;
    font-weight: 500;
    color: var(--ent-violet-400);
    white-space: nowrap;
  }

  /* Overview: the pipeline with its split by stage, three stats */
  .ent-apps__phone-hero {
    display: flex;
    flex-direction: column;
    padding: 8px 11px 10px;
    border-radius: 12px;
    background: var(--paper-2);
    box-shadow: inset 0 0 0 1px var(--rule);
  }
  .ent-apps__phone-hero em,
  .ent-apps__phone-stats em {
    font-size: 9.5px;
    font-style: normal;
    color: var(--muted);
    white-space: nowrap;
  }
  .ent-apps__phone-hero b {
    font-size: 19px;
    line-height: 24px;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .ent-apps__phone-split {
    display: flex;
    gap: 3px;
    height: 5px;
    margin-top: 5px;
  }
  .ent-apps__phone-split i {
    border-radius: 3px;
  }
  .ent-apps__phone-split--discovery {
    background: var(--ent-sky-500);
  }
  .ent-apps__phone-split--proposal {
    background: var(--ent-amber-500);
  }
  .ent-apps__phone-split--negotiation {
    background: var(--accent);
  }
  .ent-apps__phone-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ent-apps__phone-stats div {
    display: flex;
    flex-direction: column;
    padding: 0 4px;
  }
  .ent-apps__phone-stats div + div {
    padding-left: 10px;
    border-left: 1px solid var(--ent-zinc-60);
  }
  .ent-apps__phone-stats b {
    font-size: 12.5px;
    line-height: 17px;
    color: var(--ink);
  }

  /* Deal lists: a section head (a title, or a stage and its count), then rows */
  .ent-apps__phone-section {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink);
  }
  .ent-apps__phone-section .ent-apps__stage-tag {
    padding: 1px 7px;
    font-size: 9.5px;
  }
  .ent-apps__phone-section .ent-apps__stage-tag + * {
    color: var(--muted);
  }
  .ent-apps__phone-deals {
    display: flex;
    flex-direction: column;
    margin: -4px 0 0;
    padding: 0;
    list-style: none;
  }
  .ent-apps__phone-deal {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    border-bottom: 1px solid var(--ent-zinc-60);
  }
  .ent-apps__phone-deal:last-child {
    border-bottom: 0;
  }
  .ent-apps__phone-logo {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: var(--paper-3);
    font-size: 10px;
    font-weight: 600;
    color: var(--ink-2);
  }
  .ent-apps__phone-deal-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 13px;
  }
  .ent-apps__phone-deal-text b {
    font-size: 11px;
    color: var(--ink);
  }
  .ent-apps__phone-deal-text em {
    font-size: 9.5px;
    font-style: normal;
    color: var(--muted);
  }
  .ent-apps__phone-deal-text .ent-apps__phone-stage--discovery {
    color: var(--ent-sky-700);
  }
  .ent-apps__phone-deal-text .ent-apps__phone-stage--proposal {
    color: var(--ent-amber-700);
  }
  .ent-apps__phone-deal-text .ent-apps__phone-stage--negotiation {
    color: var(--ent-violet-400);
  }
  .ent-apps__phone-amount {
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
  }
  .ent-apps__phone-deal .ent-apps__avatar {
    width: 18px;
    height: 18px;
    font-size: 7.5px;
  }

  /* Tab bar: the active tab's icon sits in a pill */
  .ent-apps__phone-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    flex-shrink: 0;
    height: 48px;
    padding: 5px 4px 6px;
    box-sizing: border-box;
    border-top: 1px solid var(--ent-zinc-60);
    background: var(--paper);
  }
  .ent-apps__phone-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 9px;
    color: var(--ent-zinc-650);
  }
  .ent-apps__phone-tab svg {
    width: 14px;
    height: 14px;
  }
  .ent-apps__phone-tab span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 20px;
    border-radius: 999px;
  }
  .ent-apps__phone-tab--overview {
    animation: ent-apps-phone-tab-overview var(--ent-apps-cycle) steps(1, end)
      infinite;
  }
  .ent-apps__phone-tab--overview span {
    animation: ent-apps-phone-pill-overview var(--ent-apps-cycle) steps(1, end)
      infinite;
  }
  .ent-apps__phone-tab--deals {
    animation: ent-apps-phone-tab-deals var(--ent-apps-cycle) steps(1, end)
      infinite;
  }
  .ent-apps__phone-tab--deals span {
    animation: ent-apps-phone-pill-deals var(--ent-apps-cycle) steps(1, end)
      infinite;
  }

  /* "Now viewing as": a snackbar above the tabs */
  .ent-apps__phone-toast {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 56px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--ink);
    box-shadow: 0 10px 30px var(--ent-ink-a20);
    font-size: 10.5px;
    color: var(--rule);
    white-space: nowrap;
    opacity: 0;
    animation: ent-apps-toast var(--ent-apps-cycle) linear infinite;
  }
  .ent-apps__phone-toast b {
    font-weight: 600;
    color: var(--paper);
  }
  .ent-apps__phone-toast .ent-apps__check {
    stroke: var(--ent-green-400);
  }

  /* "View as": a bottom sheet over a scrim; the check moves to the manager when tapped */
  .ent-apps__phone-scrim {
    position: absolute;
    inset: 0;
    z-index: 5;
    background: color-mix(in srgb, var(--ink) 28%, transparent);
    opacity: 0;
    animation: ent-apps-phone-scrim var(--ent-apps-cycle) linear infinite;
  }
  .ent-apps__phone-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px 16px;
    border-radius: 18px 18px 0 0;
    background: var(--paper);
    box-shadow: 0 -8px 24px var(--ent-ink-a12);
    transform: translateY(105%);
    animation: ent-apps-phone-sheet var(--ent-apps-cycle) linear infinite;
  }
  .ent-apps__phone-sheet::before {
    content: "";
    align-self: center;
    width: 36px;
    height: 4px;
    margin-bottom: 6px;
    border-radius: 2px;
    background: var(--ent-zinc-60);
  }
  .ent-apps__phone-sheet .ent-apps__label {
    padding: 0 6px 4px;
  }
  .ent-apps__phone-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 6px;
    border-radius: 12px;
  }
  .ent-apps__phone-option .ent-apps__avatar {
    width: 26px;
    height: 26px;
    font-size: 9.5px;
  }
  .ent-apps__phone-option span {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 14px;
  }
  .ent-apps__phone-option b {
    font-size: 11.5px;
    color: var(--ink);
  }
  .ent-apps__phone-option em {
    font-size: 9.5px;
    font-style: normal;
    color: var(--muted);
  }
  .ent-apps__phone-option .ent-apps__check {
    stroke: var(--accent);
  }
  .ent-apps__phone-option--rep .ent-apps__check {
    animation: ent-apps-phone-check-rep var(--ent-apps-cycle) steps(1, end)
      infinite;
  }
  .ent-apps__phone-option--manager {
    animation: ent-apps-phone-option-manager var(--ent-apps-cycle) steps(1, end)
      infinite;
  }
  .ent-apps__phone-option--manager .ent-apps__check {
    animation: ent-apps-phone-check-manager var(--ent-apps-cycle) steps(1, end)
      infinite;
  }

  /* Taps: the Deals tab, the avatar, the manager option, the Overview tab (on the desktop clicks' beats) */
  .ent-apps__phone-tap {
    position: absolute;
    z-index: 7;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ent-accent-a25);
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: ent-apps-click var(--ent-apps-cycle) linear infinite;
  }
  .ent-apps__phone-tap--deals {
    left: 87px;
    bottom: 8px;
    animation-delay: calc(var(--ent-apps-cycle) * 0.659);
  }
  .ent-apps__phone-tap--me {
    left: 257px;
    top: 47px;
    animation-delay: calc(var(--ent-apps-cycle) * 0.7438);
  }
  .ent-apps__phone-tap--manager {
    left: 110px;
    bottom: 12px;
    animation-delay: calc(var(--ent-apps-cycle) * 0.7729);
  }
  .ent-apps__phone-tap--overview {
    left: 32px;
    bottom: 8px;
    animation-delay: calc(var(--ent-apps-cycle) * 0.8761);
  }

  /* Screens: rep Overview, (Deals tab) rep Deals, (view as manager) manager Deals, (Overview tab) manager
     Overview; each leaves before the next arrives */
  @keyframes ent-apps-phone-rep-overview {
    0%,
    57.88% {
      opacity: 0;
      transform: translateY(6px);
    }
    58.91%,
    65.7% {
      opacity: 1;
      transform: none;
    }
    66.11%,
    100% {
      opacity: 0;
      transform: none;
    }
  }
  @keyframes ent-apps-phone-rep-deals {
    0%,
    66.11% {
      opacity: 0;
      transform: translateX(12px);
    }
    66.94%,
    77.7% {
      opacity: 1;
      transform: none;
    }
    78.12%,
    100% {
      opacity: 0;
      transform: none;
    }
  }
  @keyframes ent-apps-phone-manager-deals {
    0%,
    78.12% {
      opacity: 0;
      transform: translateY(6px);
    }
    78.95%,
    87.82% {
      opacity: 1;
      transform: none;
    }
    88.23%,
    100% {
      opacity: 0;
      transform: none;
    }
  }
  @keyframes ent-apps-phone-manager-overview {
    0%,
    88.23% {
      opacity: 0;
      transform: translateX(-12px);
    }
    89.06%,
    97.5% {
      opacity: 1;
      transform: none;
    }
    98.53%,
    100% {
      opacity: 0;
      transform: none;
    }
  }
  /* Tabs: Overview until the Deals tap, Deals until the Overview tap, then Overview again */
  @keyframes ent-apps-phone-tab-overview {
    0% {
      color: var(--accent);
    }
    66.11% {
      color: var(--ent-zinc-650);
    }
    88.23% {
      color: var(--accent);
    }
  }
  @keyframes ent-apps-phone-pill-overview {
    0% {
      background: var(--ent-violet-100);
    }
    66.11% {
      background: transparent;
    }
    88.23% {
      background: var(--ent-violet-100);
    }
  }
  @keyframes ent-apps-phone-tab-deals {
    0% {
      color: var(--ent-zinc-650);
    }
    66.11% {
      color: var(--accent);
    }
    88.23% {
      color: var(--ent-zinc-650);
    }
  }
  @keyframes ent-apps-phone-pill-deals {
    0% {
      background: transparent;
    }
    66.11% {
      background: var(--ent-violet-100);
    }
    88.23% {
      background: transparent;
    }
  }
  /* View as: the sheet rises after the avatar tap and drops once the manager is picked */
  @keyframes ent-apps-phone-sheet {
    0%,
    75.01% {
      transform: translateY(105%);
    }
    75.85%,
    78.12% {
      transform: none;
    }
    78.95%,
    100% {
      transform: translateY(105%);
    }
  }
  @keyframes ent-apps-phone-scrim {
    0%,
    75.01% {
      opacity: 0;
    }
    75.85%,
    78.12% {
      opacity: 1;
    }
    78.95%,
    100% {
      opacity: 0;
    }
  }
  @keyframes ent-apps-phone-check-rep {
    0% {
      opacity: 1;
    }
    77.5% {
      opacity: 0;
    }
  }
  @keyframes ent-apps-phone-check-manager {
    0% {
      opacity: 0;
    }
    77.5% {
      opacity: 1;
    }
  }
  @keyframes ent-apps-phone-option-manager {
    0% {
      background: transparent;
    }
    77.29% {
      background: var(--ent-violet-60);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .ent-apps * {
    animation-delay: -17.32s !important;
    animation-play-state: paused !important;
  }
}
