.screen-8 {
  background: #d5e2f7;
  min-height: 2550px;
  position: relative;
  direction: rtl;
  padding-top: 121px;
  box-sizing: border-box;
}

/* Welcome-screen alignment overrides */
.header-inner {
  width: min(1129px, calc(100vw - 48px));
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  direction: ltr;
  gap: 24px;
}

.logo-icon {
  width: 46px;
  height: 33.35px;
}

.nav-links {
  justify-content: center;
  justify-self: center;
  margin: 0;
}

.EN-9 {
  justify-self: end;
  margin-inline-start: 0;
}

.preview-flow,
.preview-content,
#footer-placeholder {
  width: 1102px;
  max-width: calc(100vw - 164px);
}

html[dir="ltr"] .screen-8 {
  direction: ltr;
}

.screen-8 a {
  color: inherit;
}

.frame-64 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 121px;
  background: #d5e2f7b2;
  backdrop-filter: blur(14px) brightness(100%);
  -webkit-backdrop-filter: blur(14px) brightness(100%);
  z-index: 100;
}

.header-inner {
  width: min(1265px, 100%);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  direction: ltr;
  padding-inline: 72px;
  box-sizing: border-box;
  gap: 10px;
}

.group-24 {
  width: 35px;
  height: 33px;
  position: relative;
}

.logo-icon {
  display: block;
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.text-wrapper-329 {
  font-family: "Ploni ML v2 AAA", Helvetica;
  font-size: 26px;
  line-height: 15px;
  color: #212121;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-inline-start: auto;
  direction: rtl;
}

html[lang="en"] .nav-links {
  direction: ltr;
}

.text-wrapper-331,
.text-wrapper-332,
.text-wrapper-333,
.text-wrapper-334,
.text-wrapper-330 {
  font-family: "Ploni ML v2 AAA", Helvetica;
  font-size: 26px;
  line-height: 15px;
  color: var(--variable-collection-t2);
  white-space: nowrap;
}

.text-wrapper-334 {
  color: var(--variable-collection-455fd3);
}

.EN-9 {
  border: 0;
  background: transparent;
  padding: 0;
  margin-inline-start: 32px;
  cursor: pointer;
}

.mobile-header,
.mobile-drawer,
.stepper-mobile {
  display: none;
}

.preview-flow,
.preview-content,
#footer-placeholder {
  width: min(1102px, calc(100% - 164px));
  margin-inline: auto;
}

.preview-flow {
  margin-top: 37px;
}

.navbar-8 {
  position: relative;
  height: 43px;
  direction: rtl;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 13px;
  box-sizing: border-box;
}

html[lang="en"] .navbar-8 {
  direction: ltr;
}

.vector-14 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  object-fit: fill;
}

.text-wrapper-319,
.text-wrapper-320,
.text-wrapper-321,
.text-wrapper-322,
.text-wrapper-323,
.text-wrapper-324,
.text-wrapper-325 {
  position: relative;
  z-index: 1;
  font-family: "Ploni ML v2 AAA", Helvetica;
  color: #1e7c56;
  font-size: 26px;
  line-height: 15px;
  white-space: nowrap;
  font-weight: 900;
}

.text-wrapper-325 {
  font-weight: 400;
}

.preview-content {
  margin-top: 78px;
  min-height: 1860px;
  position: relative;
}

.text-wrapper-304 {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  font-family: "Ploni ML v2 AAA", Helvetica;
  font-weight: 900;
  color: #414141;
  font-size: 56px;
  line-height: 1;
  text-align: right;
}

.div-16 {
  position: absolute;
  top: 72px;
  right: 0;
  width: 929px;
  margin: 0;
  font-family: "Ploni ML v2 AAA", Helvetica;
  font-size: 40px;
  line-height: 45px;
  color: #212121;
  text-align: right;
}

.text-wrapper-305 {
  font-weight: 900;
  color: #c97a7a;
}

.text-wrapper-306 {
  font-weight: 400;
  color: #212121;
}

.text-wrapper-307 {
  position: absolute;
  top: 220px;
  right: 160px;
  font-family: "Ploni ML v2 AAA", Helvetica;
  font-weight: 900;
  color: #202020;
  font-size: 40px;
  line-height: 45px;
  white-space: nowrap;
}

#designStyleDisplay span:first-child {
  margin-inline-end: 10px;
}

.pencil {
  position: absolute;
  top: 202px;
  left: 173px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.pencil img {
  width: 42px;
  height: 42px;
  display: block;
}

.text-wrapper-308,
.text-wrapper-309 {
  position: absolute;
  z-index: 2;
  left: 102px;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Ploni ML v2 AAA", Helvetica;
  font-weight: 900;
  font-size: 40px;
  line-height: 45px;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: center;
}

.text-wrapper-308 {
  top: 332px;
  color: #455fd3;
}

.text-wrapper-309 {
  top: 860px;
  color: #c97a7a;
}

.line-7,
.line-8 {
  position: absolute;
  z-index: 1;
  left: 139px;
  width: 5px;
  height: 526px;
  object-fit: fill;
}

.line-8 {
  top: 279px;
}

.line-7 {
  top: 810px;
}

.screen-8 #dynamicCardPreview {
  position: absolute;
  z-index: 0;
  top: 279px;
  left: 173px;
  width: 767px;
  height: 1057px;
}

.action-link {
  position: absolute;
  left: 50%;
  width: 365px;
  height: 54px;
  transform: translateX(-50%);
  text-decoration: none;
}

.action-button {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 20px;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.action-link-finish {
  top: 1485px;
}

.frame-106 {
  background-color: #819fcd;
}

.action-link-back {
  top: 1567px;
}

.frame-107 {
  background: linear-gradient(0deg, rgba(65, 65, 65, 0.12) 0%, rgba(65, 65, 65, 0.12) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.12) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 1px rgba(0, 0, 0, 0.13);
}

.text-wrapper-326,
.text-wrapper-327 {
  font-family: "Ploni ML v2 AAA", Helvetica;
  font-weight: 400;
  color: #212121;
  font-size: 30px;
  letter-spacing: -0.6px;
  line-height: 1;
  white-space: nowrap;
}

.img-4 {
  width: 40px;
  height: 40px;
}

#footer-placeholder {
  margin-top: 60px;
}

html[lang="en"] .text-wrapper-304 {
  right: auto;
  left: 0;
  top: -36px;
  text-align: left;
  font-size: 48px;
}

html[lang="en"] .div-16 {
  right: auto;
  left: 0;
  top: 31px;
  width: 913px;
  text-align: left;
}

html[lang="en"] .text-wrapper-306 {
  color: #212121;
}

html[lang="en"] .text-wrapper-307 {
  right: auto;
  left: 96px;
  top: 216px;
  text-align: left;
}

html[lang="en"] .pencil {
  left: auto;
  right: 173px;
  top: 224px;
}

html[lang="en"] .text-wrapper-308,
html[lang="en"] .text-wrapper-309 {
  left: 99px;
}

html[lang="en"] .line-8 {
  top: 276px;
}

html[lang="en"] .line-7 {
  top: 807px;
}

html[lang="en"] .screen-8 #dynamicCardPreview {
  top: 276px;
  left: 165px;
}

html[lang="en"] .frame-106 {
  background-color: #819fcd;
}

html[lang="en"] .action-link {
  width: 488px;
}

html[lang="en"] .action-link-finish {
  top: 1439px;
}

html[lang="en"] .action-link-back {
  top: 1521px;
}

.screen-8 #dynamicCardPreview[data-theme="childish"] {
  left: 145px;
}

html[lang="en"] .screen-8 #dynamicCardPreview[data-theme="childish"] {
  left: 128px;
}

.text-wrapper-308,
.text-wrapper-309 {
  left: 84px;
}

.line-7,
.line-8 {
  left: 122px;
}

@media (max-width: 645px) {
  .screen-8 {
    min-height: 2099px;
    padding-top: 121px;
  }

  .frame-64,
  .stepper-desktop {
    display: none;
  }

  .mobile-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 121px;
    align-items: center;
    justify-content: space-between;
    padding-inline: 24px;
    background: #d5e2f7b2;
    backdrop-filter: blur(14px) brightness(100%);
    -webkit-backdrop-filter: blur(14px) brightness(100%);
    z-index: 110;
    box-sizing: border-box;
  }

  html[lang="en"] .mobile-header {
    flex-direction: row-reverse;
  }

  .mobile-menu-btn {
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0;
  }

  .mobile-menu-btn span {
    width: 22px;
    height: 1.6px;
    background: #667080;
    display: block;
  }

  .mobile-drawer {
    display: block;
    position: fixed;
    top: 121px;
    left: 0;
    right: 0;
    width: 100vw;
    background: #eef2f8;
    border: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-115%);
    transition: transform 0.2s ease;
    z-index: 109;
    padding: 16px 24px 22px;
    box-sizing: border-box;
  }

  body.mobile-drawer-open .mobile-drawer {
    transform: translateY(0);
  }

  .mobile-drawer-close {
    display: none;
  }

  .mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
  }

  html[lang="en"] .mobile-drawer-nav {
    align-items: flex-start;
  }

  .mobile-drawer-link {
    border: 0;
    background: transparent;
    color: #212121;
    font-family: "Ploni ML v2 AAA", Helvetica;
    font-size: 42px;
    line-height: 1.05;
    text-decoration: none;
    text-align: inherit;
    padding: 0;
    cursor: pointer;
  }

  .mobile-drawer-link-active {
    font-weight: 900;
  }

  .preview-flow,
  .preview-content,
  #footer-placeholder {
    width: calc(100vw - 48px);
    max-width: none;
    margin-inline: auto;
  }

  .preview-flow {
    margin-top: 26px;
  }

  .stepper-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-inline: auto;
  }

  .stepper-mobile-item {
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #98a7c1;
    color: #1e7c56;
    font-family: "Ploni ML v2 AAA", Helvetica;
    font-size: 20px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.4px;
    text-align: center;
    box-sizing: border-box;
  }

  .stepper-mobile-item-active {
    border: 1px solid #a2c7b7;
    background: rgba(162, 199, 183, 0.3);
    font-weight: 400;
  }

  .preview-content {
    margin-top: 40px;
    min-height: 1500px;
    position: relative;
  }

  .text-wrapper-304 {
    top: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    text-align: right;
    font-size: 44px;
    line-height: 0.98;
  }

  .div-16 {
    top: 131px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    text-align: right;
    font-size: 18px;
    line-height: 23px;
    border-top: 1px solid #98a7c1;
    border-bottom: 1px solid #98a7c1;
    padding: 18px 0 16px;
    box-sizing: border-box;
  }

  .text-wrapper-307 {
    top: 260px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    text-align: right;
    font-size: 18px;
    line-height: 22px;
  }

  .pencil {
    top: 275px;
    left: 40px;
    width: 20px;
    height: 20px;
  }

  .pencil img {
    width: 20px;
    height: 20px;
  }

  .text-wrapper-308,
  .text-wrapper-309 {
    left: 6px;
    font-size: 18px;
    line-height: 20px;
  }

  .text-wrapper-308 {
    top: 364px;
  }

  .text-wrapper-309 {
    top: 606px;
  }

  .line-8,
  .line-7 {
    left: 42px;
    width: 2px;
    height: 241px;
  }

  .line-8 {
    top: 310px;
  }

  .line-7 {
    top: 550px;
  }

  .screen-8 #dynamicCardPreview,
  .screen-8 #dynamicCardPreview[data-desktop-proportions="true"] {
    top: 310px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) scale(0.454);
    transform-origin: top center;
    width: 767px !important;
    height: 1057px !important;
    min-width: 767px !important;
    min-height: 1057px !important;
    overflow: visible !important;
    border-radius: 11.05px;
  }

  .action-link {
    width: 348px;
    height: 42px;
  }

  .action-button {
    border-radius: 5px;
  }

  .action-link-finish {
    top: 855px;
  }

  .action-link-back {
    top: 921px;
  }

  .text-wrapper-326,
  .text-wrapper-327 {
    font-size: 22px;
    letter-spacing: -0.44px;
  }

  .img-4 {
    width: 30px;
    height: 30px;
  }

  #footer-placeholder {
    margin-top: 92px;
  }

  html[lang="en"] .text-wrapper-304,
  html[lang="en"] .div-16,
  html[lang="en"] .text-wrapper-307 {
    text-align: left;
  }

  .text-wrapper-306 {
    color: #c97a7a;
  }

  html[lang="en"] .text-wrapper-304 {
    transform: translateX(-50%);
    font-size: 40px;
    top: 0;
  }

  html[lang="en"] .div-16 {
    top: 90px;
    font-size: 16px;
    line-height: 21px;
  }

  html[lang="en"] .text-wrapper-307 {
    top: 269px;
    font-size: 18px;
    line-height: 22px;
  }

  html[lang="en"] .pencil {
    left: auto;
    right: 40px;
    top: 267px;
  }

  html[lang="en"] .text-wrapper-308,
  html[lang="en"] .text-wrapper-309 {
    left: -16px;
  }

  html[lang="en"] .line-8,
  html[lang="en"] .screen-8 #dynamicCardPreview,
  html[lang="en"] .screen-8 #dynamicCardPreview[data-desktop-proportions="true"] {
    top: 318px !important;
  }

  html[lang="en"] .line-7 {
    top: 558px;
  }

  html[lang="en"] .action-link {
    width: 348px;
  }

  html[lang="en"] .action-link-finish {
    top: 905px;
  }

  html[lang="en"] .action-link-back {
    top: 971px;
  }

  /* Keep rotated side labels completely to the left of their guide lines. */
  .text-wrapper-308,
  .text-wrapper-309 {
    left: -12px;
  }
}

/* Compact phones need a smaller preview so the content stays inside the
   available screen width rather than relying on horizontal overflow. */
@media (max-width: 480px) {
  .preview-flow,
  .preview-content,
  #footer-placeholder {
    width: calc(100vw - 48px);
    max-width: 377px;
  }

  .text-wrapper-304,
  .div-16,
  .text-wrapper-307 {
    width: calc(100vw - 48px);
    max-width: 377px;
    box-sizing: border-box;
  }

  /* Figma: the mobile guide starts at x=45 while the scaled card starts at
     x=61, leaving the guide outside the card instead of across its edge. */
  .line-8,
  .line-7 {
    left: 19px;
  }

  html[lang="en"] .line-8,
  html[lang="en"] .line-7 {
    left: 9px;
  }

  html[lang="en"] .div-16,
  html[lang="en"] .div-16 .text-wrapper-305,
  html[lang="en"] .div-16 .text-wrapper-306 {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  html[lang="en"] .div-16 .text-wrapper-306 {
    color: #c97a7a;
  }

  html[lang="en"] .div-16,
  html[lang="en"] .text-wrapper-307 {
    left: 0;
    right: auto;
    transform: none;
  }

  html[lang="en"] .div-16 {
    width: 100%;
  }

  .text-wrapper-304 {
    font-size: 38px;
  }

  .div-16 {
    font-size: 16px;
    line-height: 21px;
  }

  .text-wrapper-307 {
    font-size: 16px;
    line-height: 20px;
  }

  .screen-8 #dynamicCardPreview,
  .screen-8 #dynamicCardPreview[data-desktop-proportions="true"] {
    transform: translateX(-50%) scale(0.4);
  }

  .line-8,
  .line-7 {
    height: 212px;
  }

  .line-7 {
    top: 522px;
  }

  .text-wrapper-309 {
    top: 578px;
  }

  .action-link-finish {
    top: 798px;
  }

  .action-link-back {
    top: 864px;
  }

  html[lang="en"] .text-wrapper-304 {
    font-size: 36px;
  }

  html[lang="en"] .div-16 {
    font-size: 15px;
    line-height: 20px;
  }

  html[lang="en"] .text-wrapper-307 {
    font-size: 16px;
    line-height: 20px;
  }

  html[lang="en"] .line-7 {
    top: 530px;
  }

  html[lang="en"] .text-wrapper-309 {
    top: 586px;
  }

  html[lang="en"] .action-link-finish {
    top: 848px;
  }

  html[lang="en"] .action-link-back {
    top: 914px;
  }
}

@media (max-width: 645px) {
  html[lang="en"] .text-wrapper-306 {
    color: #c97a7a;
  }
}

@media (min-width: 646px) {
  .frame-64 .header-inner {
    width: min(1129px, calc(100vw - 48px));
    height: 100%;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    align-items: center;
    direction: ltr;
    column-gap: 10px;
  }

  .frame-64 .header-inner > div:first-child,
  .frame-64 .header-inner > .link-wrapper:first-of-type {
    display: flex;
    align-items: center;
  }

  .frame-64 .logo-icon {
    width: 46px;
    height: 33.35px;
  }

  .frame-64 .nav-links {
    display: flex;
    align-items: center;
    gap: 42px;
    justify-content: center;
    justify-self: center;
    margin: 0;
  }

  html[dir="rtl"] .frame-64 .nav-links {
    direction: rtl;
  }

  html[dir="ltr"] .frame-64 .nav-links {
    direction: ltr;
  }

  .frame-64 .EN-9 {
    justify-self: end;
    margin: 0;
  }

  .preview-flow {
    width: 1102px;
    margin-inline: auto;
    margin-top: 37px;
  }

  html[dir="ltr"] .preview-flow,
  html[dir="ltr"] .navbar-8.stepper-desktop {
    width: 989px;
  }

  .navbar-8.stepper-desktop {
    width: 100%;
    height: 43px;
    position: relative;
    display: block;
    overflow: visible;
  }

  .vector-14 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 43px;
    object-fit: contain;
    pointer-events: none;
  }

  .navbar-8.stepper-desktop .text-wrapper-319,
  .navbar-8.stepper-desktop [class^="text-wrapper-32"] {
    position: absolute;
    top: 15px;
    z-index: 1;
    font-size: 26px;
    line-height: 15px;
    text-align: center;
    white-space: nowrap;
    padding: 0;
  }

  html[dir="rtl"] .navbar-8.stepper-desktop .text-wrapper-319 { right: 11px; width: 176px; }
  html[dir="rtl"] .navbar-8.stepper-desktop .text-wrapper-320 { right: 193px; width: 82px; }
  html[dir="rtl"] .navbar-8.stepper-desktop .text-wrapper-321 { right: 289px; width: 82px; }
  html[dir="rtl"] .navbar-8.stepper-desktop .text-wrapper-322 { right: 385px; width: 82px; }
  html[dir="rtl"] .navbar-8.stepper-desktop .text-wrapper-323 { right: 481px; width: 82px; }
  html[dir="rtl"] .navbar-8.stepper-desktop .text-wrapper-324 { right: 577px; width: 82px; }
  html[dir="rtl"] .navbar-8.stepper-desktop .text-wrapper-325 { right: 628px; width: 338px; }

  html[dir="ltr"] .navbar-8.stepper-desktop .text-wrapper-319 { left: 17px; width: 114px; }
  html[dir="ltr"] .navbar-8.stepper-desktop .text-wrapper-320 { left: 159px; width: 67px; }
  html[dir="ltr"] .navbar-8.stepper-desktop .text-wrapper-321 { left: 259px; width: 70px; }
  html[dir="ltr"] .navbar-8.stepper-desktop .text-wrapper-322 { left: 361px; width: 70px; }
  html[dir="ltr"] .navbar-8.stepper-desktop .text-wrapper-323 { left: 464px; width: 71px; }
  html[dir="ltr"] .navbar-8.stepper-desktop .text-wrapper-324 { left: 567px; width: 69px; }
  html[dir="ltr"] .navbar-8.stepper-desktop .text-wrapper-325 { left: 675px; width: 259px; }
}
