.i18n-loading body {
  visibility: hidden;
}

.language-selector {
  display: flex;
  min-width: 270px;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.language-selector label {
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.language-selector select {
  min-width: 210px;
  height: 42px;
  padding: 0 38px 0 14px;
  color: #fff;
  color-scheme: dark;
  background-color: #241820;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  font: 700 13px/1 system-ui, sans-serif;
  letter-spacing: 0;
}

.u-footer .language-selector {
  grid-column: 1 / -1;
  justify-self: stretch;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-translation-note {
  padding: 14px 16px;
  color: #642037;
  background: #f7e9ed;
  border-left: 4px solid #ad3154;
  font-weight: 750;
}

[dir="rtl"] .legal-translation-note {
  border-right: 4px solid #ad3154;
  border-left: 0;
}

.localized-preview {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  color: #351823;
  background: #fff8f4;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0;
  text-align: start;
}

.localized-preview *,
.localized-preview *::before,
.localized-preview *::after {
  box-sizing: border-box;
}

.device-screen > .localized-preview,
.feature-device__screen > .localized-preview,
.feature-story__device > .localized-preview {
  width: 100%;
  height: 100%;
}

.feature-device--iphone .localized-preview,
.feature-story__device--iphone .localized-preview {
  border-radius: inherit;
}

.u-panel--app > .localized-preview {
  position: absolute;
  inset: 180px auto auto 50%;
  width: 64%;
  height: 78%;
  max-width: 330px;
  border: 6px solid rgba(255, 255, 255, 0.72);
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 30px 70px rgba(49, 15, 29, 0.3);
  transform: translateX(-50%) rotate(-2deg);
  transition: transform 700ms ease;
}

.u-panel--app:nth-child(even) > .localized-preview {
  transform: translateX(-50%) rotate(2deg);
}

.u-panel--app.is-active > .localized-preview {
  transform: translateX(-50%) rotate(0) scale(1.02);
}

.lp-phone-head,
.lp-wide-head,
.lp-report-head {
  display: flex;
  min-height: 10%;
  padding: 4% 5%;
  align-items: center;
  justify-content: space-between;
  gap: 4%;
  background: linear-gradient(110deg, #ffe9d9, #edf9f4);
}

.lp-phone-head > b,
.lp-wide-head > b,
.lp-report-head > b,
.lp-booking-brand > b {
  color: #a23254;
  font-family: Georgia, serif;
  font-size: 1.35em;
  font-style: italic;
}

.localized-preview small {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.52em;
  font-style: normal;
  letter-spacing: 0;
}

.lp-phone-head > span,
.lp-wide-head > em {
  min-width: 0;
  padding: 0.5em 0.8em;
  color: #8e2948;
  background: #fff;
  border-radius: 999px;
  font-size: 0.8em;
  font-style: normal;
  font-weight: 800;
}

.lp-wide-head p {
  display: grid;
  min-width: 0;
  margin: 0 auto 0 0;
  gap: 0.2em;
  overflow: hidden;
}

[dir="rtl"] .lp-wide-head p {
  margin: 0 0 0 auto;
}

.lp-wide-head p span {
  color: #887078;
  font-size: 0.65em;
}

.lp-wide-head p strong {
  font-size: 1.25em;
}

.lp-wide-head > em {
  min-width: 0;
  max-width: 34%;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.lp-search {
  margin: 4%;
  padding: 3.5%;
  color: #8a747c;
  background: #fff;
  border: 1px solid #f0dce2;
  border-radius: 1em;
  font-size: 0.85em;
  font-weight: 700;
}

.lp-tabs,
.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1%;
}

.lp-nav > span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-tabs {
  padding: 0 4% 3%;
  gap: 0;
  font-size: 0.52em;
}

.lp-tabs > * {
  min-width: 0;
  padding: 0.55em 0.25em;
  flex: 1;
  overflow: hidden;
  background: #fff;
  border-radius: 999px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-tabs b {
  color: #fff;
  background: #a83255;
}

.lp-message-list {
  display: grid;
  padding: 1% 4%;
  gap: 0.7em;
}

.lp-message-list > div {
  display: grid;
  padding: 3%;
  grid-template-columns: 2.8em 1fr auto;
  align-items: center;
  gap: 3%;
  background: #fff;
  border-radius: 1em;
}

.lp-message-list i,
.lp-profile i {
  display: grid;
  width: 2.8em;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  background: #bc4666;
  border-radius: 0.8em;
  font-style: normal;
  font-weight: 850;
}

.lp-message-list p,
.lp-profile p {
  display: grid;
  min-width: 0;
  margin: 0;
  gap: 0.15em;
}

.lp-message-list p span,
.lp-profile p span {
  overflow: hidden;
  color: #887078;
  font-size: 0.72em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-message-list em {
  display: grid;
  width: 1.6em;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  background: #a83255;
  border-radius: 50%;
  font-size: 0.7em;
  font-style: normal;
}

.lp-nav {
  position: absolute;
  right: auto;
  bottom: 2%;
  left: 5%;
  width: 90%;
  min-height: 6%;
  padding: 0.7em;
  color: #806a72;
  background: #fff;
  border-radius: 999px;
  font-size: 0.62em;
  font-weight: 750;
  box-shadow: 0 0.5em 2em rgba(80, 34, 50, 0.1);
  overflow: hidden;
}

.lp-profile {
  display: flex;
  margin: 4%;
  padding: 4%;
  align-items: center;
  gap: 4%;
  background: #fff;
  border-radius: 1.2em;
}

.localized-preview h3 {
  margin: 4% 5% 2%;
  font-size: 0.95em;
}

.lp-settings {
  display: grid;
  margin: 0 4%;
  background: #fff;
  border-radius: 1em;
}

.lp-settings span {
  padding: 3.5%;
  border-bottom: 1px solid #f1e4e7;
  font-size: 0.76em;
  font-weight: 750;
}

.lp-settings span:last-child {
  border-bottom: 0;
}

.lp-stats {
  display: grid;
  padding: 3%;
  grid-template-columns: repeat(4, 1fr);
  gap: 2%;
}

.lp-stats > div {
  display: grid;
  min-width: 0;
  min-height: 5em;
  padding: 9%;
  align-content: space-between;
  background: #fff;
  border-radius: 0.8em;
}

.lp-stats span {
  overflow: hidden;
  color: #866c75;
  font-size: 0.68em;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-stats b {
  color: #6e1e3a;
  font-size: 1.25em;
}

.lp-dashboard,
.lp-calendar-body {
  display: grid;
  padding: 0 3% 8%;
  grid-template-columns: minmax(0, 2.2fr) minmax(5em, 0.8fr);
  gap: 2%;
}

.lp-dashboard section,
.lp-dashboard aside,
.lp-calendar-body section,
.lp-calendar-body aside {
  min-width: 0;
  padding: 3%;
  background: #fff;
  border-radius: 0.9em;
}

.lp-dashboard h3,
.lp-calendar-body h3 {
  margin: 0 0 0.7em;
  font-size: 0.8em;
}

.lp-dashboard aside,
.lp-calendar-body aside {
  display: grid;
  align-content: start;
  gap: 0.55em;
  font-size: 0.7em;
}

.lp-dashboard aside span,
.lp-calendar-body aside span {
  color: #87717a;
}

.lp-appointments {
  display: grid;
  gap: 0.55em;
}

.lp-appointments > div {
  display: grid;
  padding: 0.7em;
  grid-template-columns: minmax(3.5em, 0.45fr) 1.8fr;
  gap: 0.6em;
  background: #f8e9ed;
  border-left: 0.35em solid #b43a5c;
  border-radius: 0.5em;
}

[dir="rtl"] .lp-appointments > div {
  border-right: 0.35em solid #b43a5c;
  border-left: 0;
}

.lp-appointments span {
  overflow: hidden;
  font-size: 0.75em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-days {
  display: grid;
  margin: 3%;
  padding: 2%;
  grid-template-columns: repeat(6, 1fr);
  gap: 2%;
  background: #fff;
  border-radius: 0.9em;
  text-align: center;
}

.lp-days > * {
  padding: 0.7em 0.2em;
  border-radius: 0.45em;
}

.lp-days b {
  color: #fff;
  background: #b33356;
}

.lp-report-summary {
  display: grid;
  margin: 4%;
  grid-template-columns: repeat(3, 1fr);
  gap: 2%;
}

.lp-report-summary > div {
  display: grid;
  padding: 8%;
  gap: 0.4em;
  background: #fff;
  border-radius: 0.8em;
}

.lp-report-summary span {
  color: #887078;
  font-size: 0.65em;
}

.lp-report-table {
  display: grid;
  margin: 0 4%;
  padding: 4%;
  grid-template-columns: 1fr auto;
  gap: 0.9em;
  background: #fff;
  border-radius: 0.9em;
  font-size: 0.78em;
}

.localized-preview button {
  margin: 4%;
  padding: 0.8em 1.2em;
  color: #fff;
  background: #a83255;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
}

.lp-customer-card {
  display: grid;
  margin: 5%;
  padding: 6%;
  gap: 0.6em;
  color: #fff;
  background: linear-gradient(135deg, #a63153, #ff7972);
  border-radius: 1.4em;
}

.lp-customer-card small {
  text-transform: uppercase;
}

.lp-customer-card b {
  font-size: 1.2em;
}

.lp-customer-card em {
  font-size: 0.75em;
}

.lp-booking-brand {
  display: flex;
  padding: 6%;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(110deg, #ffe9d9, #edf9f4);
}

.localized-preview--booking h2 {
  margin: 8% 6% 3%;
  font-size: 1.5em;
}

.lp-booking-steps {
  display: grid;
  margin: 4% 6%;
  gap: 0.8em;
}

.lp-booking-steps > div {
  display: grid;
  padding: 4%;
  grid-template-columns: 2em 1fr;
  align-items: center;
  gap: 0.7em;
  background: #fff;
  border-radius: 0.8em;
}

.lp-booking-steps b {
  display: grid;
  width: 2em;
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  background: #a83255;
  border-radius: 50%;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .u-hero-copy,
html[dir="rtl"] .u-manifesto-copy,
html[dir="rtl"] .u-platform-copy,
html[dir="rtl"] .u-everywhere-copy,
html[dir="rtl"] .feature-hero__copy,
html[dir="rtl"] .feature-story__content,
html[dir="rtl"] .legal-copy,
html[dir="rtl"] .legal-content {
  text-align: right;
}

html[dir="rtl"] .feature-breadcrumb,
html[dir="rtl"] .desktop-nav,
html[dir="rtl"] .u-footer nav {
  flex-direction: row-reverse;
}

html[data-i18n-density="compact"] .feature-hero h1,
html[data-i18n-density="compact"] .feature-index-hero h1,
html[data-i18n-density="compact"] .catalog-heading h2 {
  overflow-wrap: anywhere;
}

@media (max-width: 780px) {
  html:not([lang="de"]) .u-manifesto h2,
  html:not([lang="de"]) .u-manifesto strong {
    font-size: 43px;
    overflow-wrap: anywhere;
  }

  html:not([lang="de"]) .u-platform-copy h2 {
    font-size: 40px;
    overflow-wrap: anywhere;
  }

  html[data-i18n-density="compact"] .feature-section-heading,
  html[data-i18n-density="compact"] .feature-section-heading h2 {
    min-width: 0;
    max-width: 100%;
  }

  html[data-i18n-density="compact"] .feature-section-heading h2 {
    font-size: 38px;
    overflow-wrap: anywhere;
  }

  html:not([lang="de"]) .feature-index-hero h1 {
    font-size: 50px;
    line-height: 0.88;
    overflow-wrap: anywhere;
  }

  .language-selector,
  .u-footer .language-selector {
    display: grid;
    width: 100%;
    min-width: 0;
    justify-content: stretch;
    gap: 8px;
  }

  .language-selector select {
    width: 100%;
    min-width: 0;
  }

  .u-panel--app > .localized-preview {
    inset: 132px auto auto 50%;
    width: min(210px, 72%);
    height: calc(100% - 132px);
  }

  .localized-preview {
    font-size: 8px;
  }

  .localized-preview .lp-phone-head > span {
    max-width: 58%;
    font-size: 0.72em;
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-align: center;
    white-space: normal;
  }

  .lp-wide-head em {
    max-width: 34%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .u-panel--app > .localized-preview {
    transition: none;
  }
}
