/* Retail niche: the shared industry sequence with product-specific illustrations. */
@media (min-width: 1024px) {
  .retail-niche .sector-flow h3 {
    min-height: 2em;
  }
}
.retail-niche .sector-hero__copy h1 {
  font-size: clamp(32px, 4.5vw, 58px) !important;
  overflow-wrap: break-word;
}
.retail-niche .sector-flow__image--phone img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.retail-niche .sector-flow__image--screen img {
  height: 100%;
  width: auto;
  object-fit: contain;
  border: 5px solid #272727;
  border-radius: 20px;
  background: #fff;
}
.retail-niche .sector-feature__image {
  object-fit: contain;
  padding: 12px;
  background: #f7f7f7;
}
.grocery-office-art {
  position: absolute;
  right: 3%;
  top: 36px;
  bottom: -80px;
  width: 38%;
  display: flex;
  justify-content: center;
}
.grocery-office-art img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.grocery-network-art {
  position: absolute;
  right: 4%;
  top: 30px;
  bottom: 0;
  width: 42%;
  display: flex;
  justify-content: center;
}
.grocery-network-art img {
  height: 100%;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  object-position: bottom;
  border: 7px solid #555;
  border-radius: 30px;
  background: #191919;
}
.grocery-list {
  padding-left: 22px;
  margin: 24px 0;
  line-height: 1.6;
  font-size: 18px;
}
.retail-niche .sector-price__main > p {
  color: inherit;
}
.retail-niche .sector-price__amount strong {
  font-size: clamp(38px, 4.5vw, 60px);
}
@media (max-width: 767px) {
  .retail-niche .sector-hero__copy h1 {
    font-size: clamp(26px, 8vw, 44px) !important;
  }
  .grocery-office-art {
    position: relative;
    inset: auto;
    width: 100%;
    height: 380px;
    margin-top: 20px;
  }
  .grocery-network-art {
    position: relative;
    inset: auto;
    width: 100%;
    height: 350px;
  }
  .retail-niche .sector-office__copy {
    min-height: 0;
  }
  .retail-niche .sector-extra--grocery-network .sector-extra__copy {
    min-height: 0;
  }
  .grocery-list {
    font-size: 16px;
  }
}

.retail-niche .sector-flow__image--pos img {
  border: 0;
  object-fit: contain;
}

@media (max-width: 767px) {
  .grocery-network-art {
    height: 440px;
    margin-top: 24px;
    padding-bottom: 24px;
  }
}

/* Reused Mobile Office AI demo, scoped to this page stylesheet. */
.mo-phone {
  position: relative;
  width: 300px;
  aspect-ratio: 604/1310;
  border: 7px solid #191919;
  border-radius: 48px;
  background: #191919;
  box-shadow:
    0 0 0 2px #9b9b9b,
    0 20px 35px #0002;
  overflow: hidden;
  flex-shrink: 0;
}
.mo-phone__screen {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.mo-phone__island {
  position: absolute;
  top: 8px;
  width: 30%;
  height: 3.4%;
  left: 35%;
  border-radius: 30px;
  background: #050505;
}
.mo-ai {
  margin-top: 100px;
  background: #191919;
  color: white;
  padding-block: 90px;
  background-image: radial-gradient(
    ellipse at 90% 70%,
    #40642b50,
    transparent 55%
  );
}
.mo-ai__heading h2 span {
  color: #85bd5f;
}
.mo-ai__heading > p:last-child {
  max-width: 740px;
  margin-top: 30px;
  color: #aaa;
}
.mo-ai__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 70px;
  align-items: center;
}
.mo-ai__controls > button {
  width: 100%;
  display: flex;
  gap: 24px;
  text-align: left;
  border: 0;
  border-top: 1px solid #3c3c3c;
  padding: 30px 0;
  background: transparent;
  color: #888;
  cursor: pointer;
  font: inherit;
}
.mo-ai__controls > button[aria-pressed="true"] {
  color: white;
}
.mo-ai__controls > button > span {
  font-size: 18px;
  padding-top: 3px;
}
.mo-ai__controls strong {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
}
.mo-ai__controls p {
  font-size: 19px;
  margin-top: 10px;
  max-width: 360px;
  color: #999;
}
.mo-ai__controls > button[aria-pressed="true"] > span {
  color: #85bd5f;
}
.mo-ai__hint {
  font-size: 15px !important;
  color: #888;
  margin-top: 25px !important;
}
.mo-ai__visual {
  display: grid;
  justify-items: center;
  gap: 20px;
}
.mo-phone--live {
  width: 330px;
  aspect-ratio: 390/844;
  border-width: 8px;
  border-radius: 48px;
  container-type: inline-size;
}
.mo-app {
  position: absolute;
  inset: 0;
  background: #f6f6f6;
  color: #272727;
  font-size: 3.59cqw;
  line-height: 1.4;
}
.mo-app__status {
  height: 6.3%;
  background: #050505;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6.9%;
  font-size: 4.36cqw;
  font-weight: 600;
}
.mo-app__status img {
  width: 20%;
  height: auto;
}
.mo-phone--live .mo-phone__island {
  top: 6px;
  height: 3%;
}
.mo-ai-screen {
  position: absolute;
  inset: 6.3% 0 0;
}
.mo-ai-screen[hidden] {
  display: none;
}
.mo-app__bar {
  height: 7%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 4.1cqw;
  color: #272727;
}
.mo-scan-photo {
  height: 78%;
  position: relative;
  overflow: hidden;
}
.mo-scan-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.mo-scan-line {
  position: absolute;
  top: 20%;
  left: 0;
  right: 0;
  height: 2px;
  background: #8dde51;
  box-shadow: 0 -15px 40px 8px #b2f28244;
}
.mo-ai.is-visible .mo-scan-line {
  animation: mo-scan 3s ease-in-out infinite alternate;
}
@keyframes mo-scan {
  to {
    top: 85%;
  }
}
.mo-scan-caption {
  position: absolute;
  bottom: 0;
  padding: 5%;
  border-radius: 6cqw 6cqw 0 0;
  background: white;
  height: 17%;
  width: 100%;
}
.mo-app .mo-scan-caption strong {
  font-size: 3.5cqw;
  display: block;
  line-height: 1.3;
}
.mo-app .mo-scan-caption p {
  font-size: 3.3cqw;
  line-height: 1.3;
  letter-spacing: 0;
  margin-top: 1.5cqw;
  color: #888;
}
.mo-app__home {
  position: absolute;
  bottom: 1%;
  width: 34%;
  height: 0.6%;
  left: 33%;
  background: #111;
  border-radius: 10px;
  z-index: 3;
}
.mo-match {
  padding: 5%;
  background: #272727;
  height: 100%;
  color: white;
}
.retail-niche main .mo-match h3 {
  font-size: 7cqw;
  letter-spacing: -0.02em;
  margin-bottom: 2cqw;
}
.retail-niche main .mo-match > p {
  font-size: 3.8cqw;
  line-height: 1.25;
  letter-spacing: 0;
  color: #999;
}
.mo-app-card {
  background: white;
  color: #272727;
  border-radius: 5cqw;
  padding: 4cqw;
  margin-top: 3cqw;
  position: relative;
}
.mo-app-card strong {
  font-size: 3.8cqw;
  display: block;
}
.retail-niche main .mo-app-card p {
  font-size: 3.3cqw;
  letter-spacing: 0;
  margin-top: 5cqw;
  display: flex;
  justify-content: space-between;
  color: #888;
}
.mo-match__actions {
  display: flex;
  gap: 2cqw;
  margin-top: 2cqw;
}
.mo-match__actions span {
  padding: 3cqw;
  border: 1px solid #777;
  border-radius: 3cqw;
  font-size: 3.4cqw;
}
.retail-niche main .mo-match__found {
  color: #65b63a;
  margin-top: 7cqw;
  font-size: 3.6cqw;
}
.mo-app-card--selected {
  border-right: 9cqw solid #65b63a;
}
.mo-app-card--selected b {
  position: absolute;
  right: -6cqw;
  top: 45%;
  color: white;
}
.mo-document {
  padding: 5%;
}
.mo-app-tabs {
  display: flex;
  justify-content: space-around;
  gap: 5%;
  padding: 4%;
  border-radius: 4cqw;
  background: #eaeaea;
  font-size: 3.5cqw;
}
.retail-niche main .mo-document h3 {
  font-size: 6cqw;
  margin: 6cqw 0 3cqw;
}
.retail-niche main .mo-document__total {
  font-size: 4cqw;
  display: flex;
  justify-content: space-between;
  margin-top: 8cqw;
}
.mo-document__save {
  margin-top: 5cqw;
  background: #272727;
  color: white;
  border-radius: 3cqw;
  padding: 4cqw;
  text-align: center;
}

.retail-niche main .mo-app p {
  font-size: 3.3cqw;
  line-height: 1.3;
}
.retail-niche main .mo-app h3 {
  font-size: 6cqw;
  line-height: 1.1;
}
.retail-niche .mo-ai {
  border-radius: 24px;
  margin: 160px auto 0;
  max-width: 1260px;
  width: calc(100% - 48px);
  padding: 48px 32px;
}
.retail-niche .mo-ai .home-container {
  width: 100%;
  margin: 0;
}
.retail-niche .mo-ai__heading > p:last-child {
  margin-top: 24px !important;
}
.retail-niche .mo-ai__heading h2 {
  font-size: 50px;
  margin-top: 16px;
}
.retail-niche .mo-ai__layout {
  gap: 40px;
  margin-top: 40px;
}
.retail-niche .mo-ai__controls p {
  margin-top: 12px !important;
}
.retail-niche .office-demo-toggle {
  border: 1px solid #777;
  border-radius: 12px;
  padding: 12px 18px;
  color: white;
  background: transparent;
  cursor: pointer;
  margin-top: 18px;
}
.retail-niche .mo-demo-label {
  color: #aaa;
  font-size: 13px;
}
@media (max-width: 767px) {
  .retail-niche .mo-ai {
    width: calc(100% - 32px);
    padding: 28px 24px;
    margin-top: 80px;
  }
  .retail-niche .mo-ai__heading h2 {
    font-size: 32px;
  }
  .retail-niche .mo-ai__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .retail-niche .mo-phone--live {
    width: min(100%, 280px);
  }
  .retail-niche .mo-ai__controls strong {
    font-size: 24px;
  }
  .retail-niche .mo-ai__controls > button {
    padding: 18px 0;
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .retail-niche .mo-scan-line {
    animation: none !important;
  }
}
.retail-niche main .mo-app p {
  font-size: 3.3cqw !important;
  line-height: 1.3 !important;
}
.retail-niche main .mo-app h3 {
  font-size: 6cqw !important;
  line-height: 1.1 !important;
}
.retail-niche .mo-ai {
  scroll-margin-top: 110px;
}

/* Figma 152883:112498 — retail template, 1260px content at 1920px. */
.retail-niche .sector-hero__copy h1 {
  font-size: 64px !important;
}
.retail-niche .sector-feature__image {
  padding: 0;
  background: transparent;
  object-fit: cover;
}
.retail-niche .sector-feature__image[src$="assortment.webp"] {
  object-position: 50% 46%;
}
.retail-niche .sector-flow__image--composition {
  height: auto;
  aspect-ratio: 412/236;
  margin: 28px -31px 40px;
}
.retail-niche .sector-flow__image--composition img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.retail-niche .sector-flow {
  min-height: 526px;
}
.retail-niche .sector-control__copy {
  width: 56%;
  min-height: 476px;
}
.retail-niche .sector-control p {
  max-width: 617px;
}
.retail-inventory-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.retail-inventory-art img {
  position: absolute;
  height: 100%;
  width: 110.16%;
  max-width: none;
  left: 0;
  object-fit: cover;
  object-position: right center;
}
.retail-niche .sector-office__background {
  display: none;
}
.retail-niche .sector-office__copy {
  width: 44.45%;
}
.retail-niche .grocery-office-art {
  display: block;
  top: -28px;
  right: 0;
  bottom: auto;
  width: 55.56%;
  height: 542px;
  margin: 0;
}
.retail-niche .grocery-office-art__photo {
  position: absolute;
  left: -3.19%;
  width: 103.24%;
  max-width: none;
  height: 100%;
  object-fit: fill;
}
.retail-niche .grocery-office-art__screen {
  position: absolute;
  left: 38%;
  top: 8.49%;
  width: 21.72%;
  height: 57.02%;
  object-fit: fill;
}
.retail-extra-phone {
  position: absolute;
  width: 19.29%;
  right: 19.05%;
  top: 40px;
  height: 495px;
}
.retail-extra-phone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
}
.retail-niche .mo-ai {
  margin: 200px 8px 0;
  padding: 40px 0;
  border-radius: 40px;
  background: #191919;
  overflow: hidden;
}
.retail-niche .mo-ai > .home-container {
  position: relative;
  width: calc(100% - 48px);
  max-width: 1260px;
  min-height: 630px;
  margin: auto;
}
.retail-niche .mo-ai__heading {
  width: 63%;
}
.retail-niche .mo-ai__heading h2 {
  max-width: 749px;
}
.retail-niche .mo-ai__heading > p:last-child {
  font-size: 20px;
  max-width: 634px;
  margin-top: 16px;
  color: #b3b3b3;
}
.retail-niche .mo-eyebrow {
  display: none;
}
.retail-niche .mo-ai__layout {
  display: block;
  margin-top: 40px;
}
.retail-niche .mo-ai__controls {
  width: 49.5%;
}
.retail-niche .mo-ai__controls > button {
  padding: 23px 0;
  gap: 40px;
}
.retail-niche .mo-ai__controls strong {
  font-size: 22px;
}
.retail-niche .mo-ai__controls p {
  font-size: 16px;
  margin-top: 8px !important;
}
.retail-niche .mo-ai__controls > button > span {
  font-size: 22px;
}
.retail-niche .mo-ai__visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 30.35%;
  display: block;
}
.retail-niche .mo-phone--live {
  width: 100%;
  aspect-ratio: 382.3/779;
}
.retail-niche .mo-ai__hint,
.retail-niche .mo-demo-label {
  display: none;
}
.retail-niche .mo-ai__controls > .office-demo-toggle {
  padding: 8px 0;
  font-size: 14px;
  min-height: 30px;
  border: 0;
  width: auto;
}
.retail-light-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 4px;
}
.retail-light-grid .sector-price__strip {
  margin: 0;
  padding: 24px;
  min-height: 124px;
}
.retail-light-grid h4 {
  max-width: 200px;
  line-height: 1.2;
}
.retail-light-art {
  height: 124px;
  position: relative;
  background: #f6f6f6;
  border-radius: 20px;
  overflow: hidden;
  padding: 24px;
}
.retail-light-art h4 {
  font-size: 22px;
  line-height: 1.2;
  max-width: 210px;
  position: relative;
  z-index: 1;
}
.retail-light-art img {
  position: absolute;
  right: 0;
  top: -50px;
  width: 49%;
  height: auto;
}
.retail-light-art img + img {
  right: 28%;
  top: 35px;
  width: 37%;
}
@media (max-width: 1100px) {
  .retail-niche .sector-hero__copy h1 {
    font-size: clamp(34px, 4.2vw, 54px) !important;
  }
  .retail-niche .sector-control h2,
  .retail-niche .sector-office h2 {
    font-size: 36px !important;
  }
  .retail-niche .sector-control__copy {
    width: 60%;
  }
  .retail-niche .sector-office__copy {
    width: 49%;
  }
  .retail-niche .sector-store-links {
    flex-wrap: wrap;
  }
  .retail-niche .mo-ai__heading h2 {
    font-size: 44px;
  }
  .retail-niche .mo-ai__heading {
    width: 65%;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .retail-niche .sector-control__copy,
  .retail-niche .sector-office__copy {
    width: 100%;
    min-height: 0;
  }
  .retail-inventory-art {
    position: relative;
    height: 360px;
  }
  .retail-inventory-art img {
    width: 140%;
    left: auto;
    right: 0;
  }
  .retail-niche .grocery-office-art {
    position: relative;
    top: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 700/542;
  }
}
@media (max-width: 767px) {
  .retail-niche .sector-hero__copy h1 {
    font-size: clamp(27px, 8vw, 44px) !important;
  }
  .retail-niche .sector-control__copy,
  .retail-niche .sector-office__copy {
    width: 100%;
    min-height: 0;
  }
  .retail-inventory-art {
    position: relative;
    height: 250px;
  }
  .retail-inventory-art img {
    width: 160%;
    height: 100%;
    left: auto;
    right: 0;
    object-fit: cover;
  }
  .retail-niche .sector-control h2,
  .retail-niche .sector-office h2 {
    font-size: clamp(25px, 7vw, 36px) !important;
  }
  .retail-niche .grocery-office-art {
    position: relative;
    top: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 700/542;
  }
  .retail-extra-phone {
    position: relative;
    top: 0;
    right: auto;
    width: 200px;
    max-width: 70%;
    height: 407px;
    margin: 28px auto -50px;
  }
  .retail-niche .mo-ai {
    margin: 80px 8px 0;
    padding: 28px 0;
    border-radius: 24px;
  }
  .retail-niche .mo-ai > .home-container {
    width: calc(100% - 32px);
  }
  .retail-niche .mo-ai__heading,
  .retail-niche .mo-ai__controls {
    width: 100%;
  }
  .retail-niche .mo-ai__heading h2 {
    font-size: clamp(26px, 7vw, 38px);
  }
  .retail-niche .mo-ai__heading > p:last-child {
    font-size: 17px;
  }
  .retail-niche .mo-ai__visual {
    position: relative;
    top: auto;
    right: auto;
    width: 260px;
    max-width: 90%;
    margin: 28px auto 0;
  }
  .retail-niche .mo-ai__controls > button {
    gap: 20px;
    padding: 18px 0;
  }
  .retail-niche .sector-flow__image--composition {
    margin-inline: -24px;
  }
  .retail-light-grid h4,
  .retail-light-art h4 {
    font-size: 18px !important;
  }
  .retail-light-grid .sector-price__strip {
    padding: 16px;
  }
  .retail-light-art h4 {
    max-width: 48%;
  }
}
.retail-niche .mo-ai {
  width: calc(100% - 16px);
  max-width: none;
}
@media (min-width: 1101px) {
  .retail-niche .sector-control__copy h2 {
    max-width: 560px;
  }
}
.retail-niche .mo-ai-screen--scan {
  inset: 0;
  z-index: 2;
}
.retail-scan-screen {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.retail-price-icon {
  position: absolute;
  right: 24px;
  top: 24px;
}
.retail-light-grid h4 {
  max-width: calc(100% - 32px);
}
@media (max-width: 767px) {
  .retail-price-icon {
    position: static;
    display: block;
    margin-top: 12px;
  }
  .retail-light-grid h4 {
    max-width: none;
  }
}
.retail-network-card {
  position: absolute;
  background: #212a1d;
  border: 1px solid #414141;
  border-radius: 20px;
  overflow: hidden;
  color: white;
  padding: 5px;
  font-size: 10px;
  z-index: 1;
}
.retail-network-card--one {
  left: 74.68%;
  top: 92px;
  width: 194px;
  height: 80px;
}
.retail-network-card--two {
  left: 57.22%;
  top: 237px;
  width: 241px;
  height: 100px;
  font-size: 12px;
  padding: 6px;
}
.retail-network-card > div {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #30382c;
  border-radius: 16px;
  padding: 0 8px;
  width: fit-content;
  height: 28px;
}
.retail-network-card--two > div {
  height: 35px;
  gap: 5px;
}
.retail-network-card > div span {
  height: 100%;
  border-left: 1px solid #414141;
  margin-inline: 3px;
}
.retail-network-card footer {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 14px 8px 0;
  background: none;
  margin: 0;
}
.retail-network-card b {
  font-size: 12.5px;
  white-space: nowrap;
}
.retail-network-card small {
  color: #62bb43;
  font-size: 9px;
  margin-left: auto;
}
.retail-network-card em {
  font-style: normal;
  color: #82db63;
  background: #144c00;
  padding: 2px 4px;
  border-radius: 5px;
  font-size: 9px;
  margin-left: auto;
}
.retail-network-card--two b {
  font-size: 15.6px;
}
.retail-network-card--two footer {
  padding: 20px 10px 0;
}
@media (max-width: 767px) {
  .retail-network-card--one {
    left: auto;
    right: 8px;
    top: auto;
    bottom: 220px;
    transform: scale(0.7);
    transform-origin: right center;
  }
  .retail-network-card--two {
    left: 8px;
    top: auto;
    bottom: 90px;
    transform: scale(0.7);
    transform-origin: left center;
  }
}

/* Invoice prototype 152886:93713. Native 390px canvas preserves motion distances. */
.invoice-device {
  position: relative;
  width: 100%;
  aspect-ratio: 382.3/779;
}
.invoice-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.invoice-viewport {
  position: absolute;
  left: 4.615%;
  top: 1.907%;
  width: 90.64%;
  height: 96.48%;
  overflow: hidden;
  border-radius: 12% / 5.5%;
  background: #fff;
  container-type: inline-size;
}
.invoice-canvas {
  position: absolute;
  width: 390px;
  height: 844px;
  transform: scale(var(--invoice-scale, 1));
  transform-origin: top left;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  color: #272727;
  letter-spacing: 0;
}
.invoice-island {
  position: absolute;
  top: 3.22%;
  left: 35.36%;
  width: 28.92%;
  height: 4.11%;
  border-radius: 999px;
  background: black;
  pointer-events: none;
}
.invoice-camera {
  position: absolute;
  top: 24.65%;
  left: 77.73%;
  width: 14.28%;
  height: 49.27%;
  border-radius: 50%;
  opacity: 0.6;
}
.invoice-scene {
  position: absolute;
  inset: 0;
  background: white;
  overflow: hidden;
}
.invoice-scene[hidden] {
  display: none;
}
.invoice-status {
  height: 47px;
  background: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  font-size: 17px;
}
.invoice-status img {
  width: 77px;
  height: 13px;
}
.invoice-sheets {
  height: 19px;
  background: #000
    url("../../media/invoice-motion/invoice-motion-background-sheets.svg")
    center bottom/390px 66px no-repeat;
}
.invoice-nav {
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  border-bottom: 1px solid #ebebeb;
  background: white;
  color: #272727;
}
.invoice-nav > span {
  position: absolute;
  left: 12px;
  font-size: 14px;
  color: #007aff;
}
.invoice-nav > strong {
  font-size: 16px;
}
.invoice-photo {
  position: absolute;
  top: 110px;
  bottom: 34px;
  left: 0;
  width: 390px;
  overflow: hidden;
  background: #272727;
}
.invoice-photo img {
  position: absolute;
  left: -312px;
  top: 0;
  width: 1014px;
  height: 676px;
  max-width: none;
  object-fit: cover;
}
.invoice-caption {
  position: absolute;
  left: 0;
  bottom: 34px;
  width: 390px;
  height: 82px;
  padding: 16px 20px;
  border-radius: 16px 16px 0 0;
  background: white;
}
.retail-niche main .invoice-caption p {
  font-size: 13px;
  line-height: 1.15;
  margin: 4px 0 0;
  color: #8b8884;
  letter-spacing: 0;
}
.invoice-caption strong {
  font-size: 14px;
}
.invoice-home {
  position: absolute;
  bottom: 8px;
  left: 128px;
  width: 134px;
  height: 5px;
  background: black;
  border-radius: 100px;
  pointer-events: none;
}
.invoice-match {
  background: #f6f6f6;
}
.invoice-match-body {
  background: #272727;
  padding: 20px 20px 16px;
  color: white;
}
.retail-niche main .invoice-match h3 {
  font-size: 26px;
  margin: 0 0 8px;
  line-height: 1.1;
  letter-spacing: -1px;
}
.retail-niche main .invoice-match p {
  font-size: 13px;
  line-height: 1.2;
  margin: 0 0 12px;
  color: #999;
  letter-spacing: 0;
}
.invoice-card {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 16px;
  color: #272727;
  overflow: hidden;
  font-size: 14px;
}
.invoice-card-title {
  display: flex;
  gap: 8px;
  align-items: start;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 12px;
  min-height: 31px;
}
.invoice-card-title strong {
  font-size: 16px;
  font-weight: 600;
  flex: 1;
  line-height: 1.1;
}
.invoice-card-title small {
  font-size: 13px;
  color: #999;
}
.invoice-sum {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  background: #f6f6f6;
  border-radius: 8px;
  padding: 8px;
  margin-top: 10px;
  color: #999;
}
.invoice-sum span {
  color: #b3b3b3;
}
.invoice-chips {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.invoice-chips > span {
  display: flex;
  gap: 4px;
  align-items: center;
  background: #f6f6f6;
  border-radius: 10px;
  padding: 5px 8px;
  color: #999;
}
.invoice-chips img {
  width: 22px;
  height: 22px;
}
.invoice-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.invoice-actions span {
  border: 1px solid #777;
  border-radius: 12px;
  padding: 12px 10px;
  font-size: 14px;
}
.invoice-recommend {
  padding: 16px 20px;
  border-radius: 24px 24px 0 0;
  background: #f6f6f6;
}
.retail-niche main .invoice-recommend > p {
  color: #62bb43;
  margin-bottom: 12px;
}
.invoice-swipe {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #62bb43;
}
.invoice-swipe + .invoice-card {
  margin-top: 12px;
}
.invoice-check,
.invoice-trash {
  position: absolute;
  inset: 0 0 0 auto;
  width: 52px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 24px;
}
.invoice-finish {
  position: absolute;
  bottom: 34px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  height: 44px;
}
.invoice-finish > span,
.invoice-finish > strong {
  display: grid;
  place-items: center;
  background: white;
  border-radius: 12px;
  font-size: 16px;
}
.invoice-finish > span {
  width: 44px;
}
.invoice-finish > strong {
  flex: 1;
}
.invoice-document {
  background: #f6f6f6;
}
.invoice-document .invoice-status {
  background: #fff;
  color: #272727;
}
.invoice-search {
  margin: 12px 20px;
  background: #ebebeb;
  border-radius: 12px;
  padding: 12px;
  color: #999;
  font-size: 13px;
}
.invoice-tabs {
  display: flex;
  margin: 0 20px;
  gap: 4px;
  background: #ebebeb;
  border-radius: 12px;
  padding: 4px;
  text-align: center;
}
.invoice-tabs > * {
  flex: 1;
  padding: 9px;
}
.invoice-tabs b {
  background: white;
  border-radius: 10px;
}
.invoice-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 20px 12px;
  font-size: 24px;
}
.invoice-toolbar strong {
  flex: 1;
}
.invoice-toolbar img {
  width: 24px;
  height: 24px;
}
.invoice-products {
  padding: 0 20px;
  display: grid;
  gap: 10px;
}
.invoice-products .invoice-card {
  padding: 12px 16px;
}
.invoice-products .invoice-card-title {
  padding-bottom: 8px;
}
.invoice-products .invoice-chips {
  margin-top: 8px;
}
.invoice-products .invoice-sum {
  margin-top: 8px;
  padding: 6px 8px;
}
.invoice-products .invoice-swipe {
  background: #f84a3e;
}
.invoice-trash img {
  width: 24px;
  height: 24px;
}
.invoice-document-footer {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 34px;
  font-size: 14px;
  background: #f6f6f6;
}
.invoice-document-footer > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.invoice-add {
  padding: 11px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.invoice-document-footer > strong {
  display: block;
  background: #272727;
  border-radius: 12px;
  color: white;
  padding: 14px;
  text-align: center;
}
.invoice-camera-motion {
  animation: invoice-camera 3s linear infinite;
}
.invoice-match-motion {
  animation: invoice-match 2s linear infinite;
}
.invoice-arrive-one {
  animation: invoice-first 3s linear infinite;
}
.invoice-arrive-two {
  animation: invoice-second 3s linear infinite;
}
.invoice-arrive-three {
  animation: invoice-third 3s linear infinite;
}
.invoice-remove-motion {
  animation: invoice-remove 3s linear infinite;
}
.mo-ai:not(.is-visible) .invoice-canvas * {
  animation-play-state: paused;
}
.mo-ai.is-manual .invoice-canvas * {
  animation: none;
}
@keyframes invoice-camera {
  0% {
    translate: 0 -12px;
    scale: 1.04;
    animation-timing-function: ease-in-out;
  }
  25% {
    translate: 32px -40px;
    scale: 1.065;
    animation-timing-function: ease-in-out;
  }
  50% {
    translate: -12px -52px;
    scale: 1.055;
    animation-timing-function: ease-in-out;
  }
  75% {
    translate: -32px -25px;
    scale: 1.03;
    animation-timing-function: ease-in-out;
  }
  100% {
    translate: 0 -12px;
    scale: 1.04;
  }
}
@keyframes invoice-match {
  0%,
  17.5% {
    translate: 0;
    animation-timing-function: ease-in-out;
  }
  42.5%,
  62.5% {
    translate: -52px;
    animation-timing-function: ease-in-out;
  }
  90%,
  100% {
    translate: 0;
  }
}
@keyframes invoice-first {
  0% {
    opacity: 0;
    translate: 0 14px;
    animation-timing-function: ease-out;
  }
  15%,
  100% {
    opacity: 1;
    translate: 0;
  }
}
@keyframes invoice-second {
  0%,
  7.333% {
    opacity: 0;
    translate: 0 14px;
    animation-timing-function: ease-out;
  }
  22.333%,
  100% {
    opacity: 1;
    translate: 0;
  }
}
@keyframes invoice-third {
  0%,
  14.667% {
    opacity: 0;
    translate: 0 14px;
    animation-timing-function: ease-out;
  }
  29.667%,
  100% {
    opacity: 1;
    translate: 0;
  }
}
@keyframes invoice-remove {
  0%,
  45% {
    translate: 0;
    animation-timing-function: ease-in-out;
  }
  61.667%,
  75% {
    translate: -52px;
    animation-timing-function: ease-in-out;
  }
  93.333%,
  100% {
    translate: 0;
  }
}
@media (min-width: 1101px) {
  .retail-niche .mo-ai__heading h2 {
    font-size: 64px;
    line-height: 1.04;
    margin-top: 0;
  }
  .retail-niche .mo-ai > .home-container {
    min-height: 739px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .invoice-canvas * {
    animation: none !important;
  }
}

.retail-niche main .invoice-caption p {
  font-size: 13px !important;
  line-height: 1.15 !important;
  margin: 4px 0 0 !important;
  letter-spacing: 0 !important;
}
.retail-niche main .invoice-match p {
  font-size: 13px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

/* Exact outer composition: Figma 152886:93714, 1904 × 710. */
@media (min-width: 1101px) {
  .retail-niche .mo-ai {
    height: 710px;
    padding-block: 40px;
  }
  .retail-niche .mo-ai > .home-container {
    min-height: 0;
    height: 630px;
  }
  .retail-niche .mo-ai__heading h2 {
    font-size: 64px;
    line-height: 1.05;
    letter-spacing: 0;
    margin: 0;
    max-width: 749px;
  }
  .retail-niche .mo-ai__heading > p:last-child {
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: 0;
    margin-top: 16px !important;
    max-width: 634px;
  }
  .retail-niche .mo-ai__layout {
    margin-top: 40px;
  }
  .retail-niche .mo-ai__controls {
    width: 624px;
  }
  .retail-niche .mo-ai__controls > button[data-ai-step] {
    height: 101px;
    padding: 24px 0;
    gap: 0;
    align-items: flex-start;
  }
  .retail-niche .mo-ai__controls > button[data-ai-step] > span {
    font-size: 28px;
    font-weight: 700;
    line-height: 0.95;
    padding: 0;
    width: 70px;
    flex-shrink: 0;
    color: inherit;
  }
  .retail-niche .mo-ai__controls > button[data-ai-step] strong {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0;
    font-weight: 600;
  }
  .retail-niche .mo-ai__controls > button[data-ai-step] p {
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0;
    margin-top: 8px !important;
    max-width: 347px;
    color: inherit;
  }
  .retail-niche .mo-ai__controls > button[data-ai-step="0"] p {
    max-width: 211px;
  }
  .retail-niche .mo-ai__controls > button[data-ai-step="2"] p {
    max-width: 240px;
  }
  .retail-niche .mo-ai__controls > button[data-ai-step] {
    color: #7f7f7f;
  }
  .retail-niche .mo-ai__controls > button[data-ai-step][aria-pressed="true"] {
    color: #fff;
  }
  .retail-niche .mo-ai__controls > .office-demo-toggle {
    margin-top: 16px;
  }
  .retail-niche .mo-ai__visual {
    width: 382.3px;
    right: 0;
    top: 0;
  }
}

/* Existing benefit slots: desktop Front / BackOffice alongside mobile tools. */
.retail-niche .sector-flow__image--desktop {
  height: auto;
  aspect-ratio: 412/236;
  margin: 28px -31px 40px;
  align-items: center;
}
.retail-niche .sector-flow__image--desktop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.retail-desktop-art {
  width: 100%;
  aspect-ratio: 412/267;
  position: relative;
  display: grid;
  place-items: start center;
  padding: 15px 12px 24px;
  background: linear-gradient(180deg, #fff, #f6f6f6);
  align-self: end;
}
.retail-desktop-monitor {
  position: relative;
  width: 100%;
  border: 6px solid #272727;
  border-radius: 10px;
  background: #272727;
  box-shadow: 0 8px 14px #0002;
}
.retail-desktop-monitor img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.retail-desktop-monitor:after {
  content: "";
  position: absolute;
  top: 100%;
  height: 14px;
  width: 18%;
  left: 41%;
  background: linear-gradient(90deg, #a4a4a4, #dedede, #aaa);
  border-radius: 0 0 4px 4px;
}
@media (max-width: 767px) {
  .retail-niche .sector-flow__image--desktop {
    margin-inline: -24px;
  }
  .retail-desktop-art {
    padding: 12px 12px 22px;
  }
}

/* AI demo navigation is omitted: the scene itself follows the status bar. */
.invoice-photo {
  top: 66px;
}
