.flow-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  padding: 0.65rem 1rem;
  background: #eaf1f8;
  color: #19314b;
  font:
    15px/1.5 system-ui,
    sans-serif;
  position: relative;
  z-index: 20;
}
.flow-nav a,
.flow-nav summary {
  color: #143e72;
  text-underline-offset: 0.18em;
}
.flow-nav summary {
  cursor: pointer;
}
.flow-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-top: 0.35rem;
}
.flow-nav .flow-next,
.flow-action {
  display: inline-block;
  background: #173f69;
  color: #fff;
  border-radius: 0.45rem;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  font:
    600 15px/1.4 system-ui,
    sans-serif;
}
.flow-nav .flow-next {
  margin-left: auto;
}
.flow-action:focus-visible,
.flow-nav a:focus-visible,
.flow-nav summary:focus-visible {
  outline: 2px solid #286ca9;
  outline-offset: 0.25rem;
}
.flow-demo {
  margin: 0;
  background: #eff4f8;
  color: #142a3c;
  font:
    16px/1.55 system-ui,
    sans-serif;
}
.flow-card {
  max-width: 43rem;
  margin: 3rem auto;
  padding: 0 1.2rem;
}
.flow-card h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.flow-card p,
.flow-card li {
  max-width: 65ch;
}
.flow-card ul {
  padding-left: 1.3rem;
}
.flow-card .flow-action {
  margin: 0.35rem 0.35rem 0.35rem 0;
}
.flow-offer {
  padding: 0.65rem;
  color: inherit;
  font:
    15px/1.45 system-ui,
    sans-serif;
}
.flow-offer p {
  padding: 0;
  margin: 0 0 0.55rem;
}
.flow-offer .flow-action {
  color: #fff;
}
.vp-crop,
#vendepay-upsell-container {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  position: static !important;
}
.access-loader,
.scanner,
.typing-row,
.loading-row,
.vendepay-loading,
.integration-notice {
  display: none !important;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@media (max-width: 500px) {
  .phone-shell .app-nav:has(.header-balance.show) {
    grid-template-columns: 44px minmax(0, 1fr) 108px;
  }

  .phone-shell .app-nav:has(.header-balance.show) .model-switch {
    min-width: 0;
    min-height: 44px;
    padding-inline: 4px;
  }

  .feedback-card .reactions {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
  }

  .feedback-card .reaction {
    min-width: 0;
    min-height: 44px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .feedback-card .reasons button {
    min-height: 44px;
    max-width: 100%;
    padding: 8px 11px;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .advance-banner button {
    min-height: 44px;
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .flow-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .flow-offer,
  .comment-slide {
    overflow-wrap: anywhere;
  }

  .compact-hero h1 .highlight {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 500px) and (max-height: 720px) {
  .phone-shell:has(.evaluation-screen) {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .phone-shell:has(.evaluation-screen) .composer.locked {
    display: none;
  }
}
