.cx-showcase {
  padding: 104px 24px;
  background: #fff;
  color: #2e241a;
}
.cx-intro {
  max-width: 800px;
  margin: 0 auto 38px;
  text-align: center;
}
.cx-intro h2 {
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 18px 0;
}
.cx-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 7px;
  max-width: 1000px;
  margin: 0 auto 42px;
  border: 1px solid #e0e5e8;
  background: #f6f9fb;
  border-radius: 18px;
}
.cx-tabs button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #71675d;
  padding: 12px 17px;
  font: 500 12px var(--disp);
  cursor: pointer;
  transition:
    background 0.25s,
    box-shadow 0.25s,
    color 0.25s;
}
.cx-tabs button[aria-selected="true"] {
  background: #fff;
  color: #b4441c;
  border-color: #e7d8cc;
  box-shadow: 0 4px 12px #43352c0c;
}
.cx-tabs button:hover {
  color: #b4441c;
}
.cx-tabs button:focus-visible {
  outline: 2px solid #b4441c;
  outline-offset: 3px;
}
.cx-stage {
  max-width: 1260px;
  margin: auto;
}
.cx-panel[hidden] {
  display: none !important;
}
.cx-panel:not([hidden]) {
  animation: cx-enter 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes cx-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.cx-window {
  border: 1px solid #dce5e9;
  border-radius: 22px;
  background: #f0f8fa;
  overflow: hidden;
  box-shadow: 0 24px 64px -36px #3a4b5955;
}
.cx-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  padding: 18px 30px;
  border-bottom: 1px solid #d8e9ef;
  background: #fff;
  color: #253337;
}
.cx-merchant {
  font-size: 22px;
  letter-spacing: -0.06em;
  font-weight: 750;
}
.cx-powered {
  border-left: 1px solid #d9e4e8;
  padding-left: 16px;
  font-size: 8px;
  letter-spacing: 0.035em;
  color: #78878f;
}
.cx-progress {
  display: flex;
  align-items: center;
  gap: 23px;
  margin: auto;
  font-size: 9px;
}
.cx-progress > span {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #7a8b92;
}
.cx-progress b {
  font-weight: 400;
}
.cx-progress > .active {
  color: #194f5b;
}
.cx-menu {
  font-size: 16px;
  border: 1px solid #dce7eb;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
}
.cx-report,
.cx-routine-body {
  padding: 34px;
}
.cx-overline {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #65767d;
}
.cx-report h3,
.cx-routine-body h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.15;
  margin: 11px 0 24px;
  color: #1d2e32;
}
.cx-report-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 26px;
}
.cx-report-nav > span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 12px 17px;
  background: #fff;
  border: 1px solid #cfdee3;
  border-radius: 16px;
  font-size: 12px;
  color: #25363a;
}
.cx-report-nav > span.selected {
  background: #d8edf0;
  border-color: #58a1b0;
}
.cx-report-nav .chrome-glyph {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}
.cx-report-nav small {
  font-size: 8px;
  display: block;
  margin-bottom: 4px;
  color: #68777e;
}
.cx-report-nav b {
  font-weight: 400;
  margin-left: auto;
}
.cx-report-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.62fr;
  gap: 20px;
}
.cx-person {
  position: relative;
  aspect-ratio: 0.97;
  overflow: hidden;
  border-radius: 22px;
  isolation: isolate;
}
.cx-person > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cx-person:after {
  content: "";
  position: absolute;
  inset: 65% 0 0;
  background: linear-gradient(transparent, #273336b3);
  z-index: 1;
}
.cx-person-name {
  position: absolute;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  color: #fff;
}
.cx-person-name strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
}
.cx-person-name > span {
  display: block;
  font-size: 9px;
  margin-top: 6px;
}
.cx-point {
  display: grid;
  place-items: center;
  position: absolute;
  z-index: 2;
  width: 27px;
  height: 27px;
  background: #ffffffef;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #ffffff40;
  color: #233336;
  font-size: 10px;
}
.cx-point.one {
  top: 55%;
  left: 51%;
}
.cx-point.two {
  top: 56%;
  left: 23%;
}
.cx-stat-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.cx-score {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #d7edf0;
  border-radius: 20px;
  color: #203437;
}
.cx-score strong {
  font-size: 68px;
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 1;
}
.cx-score strong > span {
  font-size: 22px;
}
.cx-score > div {
  font-size: 12px;
}
.cx-score small,
.cx-age small {
  display: block;
  font-size: 9px;
  color: #6c7e84;
  margin-top: 8px;
}
.cx-age {
  position: relative;
  border-radius: 20px;
  padding: 22px;
  background: #fff;
  color: #253438;
}
.cx-age strong {
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}
.cx-age strong > span {
  font-size: 10px;
  letter-spacing: 0;
  margin-left: 8px;
  color: #718187;
}
.cx-age > b {
  font-size: 11px;
  font-weight: 400;
  display: block;
  margin-top: 14px;
}
.cx-age > .chrome-glyph {
  position: absolute;
  width: 32px;
  height: 32px;
  right: 20px;
  top: 30px;
}
.cx-skin-type {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #deeff2;
  border-radius: 16px;
  margin: 14px 0 20px;
  color: #253b40;
}
.cx-skin-type > .chrome-glyph {
  width: 28px;
  height: 28px;
}
.cx-skin-type small {
  display: block;
  font-size: 8px;
  color: #698087;
  margin-bottom: 4px;
}
.cx-skin-type b {
  font-size: 11px;
  font-weight: 500;
}
.cx-swatch {
  width: 10px;
  height: 10px;
  background: #8a5f43;
  border-radius: 50%;
  margin-left: 9px;
}
.cx-history {
  font-size: 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: auto;
}
.cx-report-info > h4 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  color: #24373b;
}
.cx-report-info > p {
  font-size: 17px;
  line-height: 1.45;
  letter-spacing: -0.025em;
  color: #62767c;
  margin: 0 0 18px;
}
.cx-finding-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: #304347;
  margin-bottom: 12px;
}
.cx-finding-label > span {
  font-size: 8px;
  color: #6b7e85;
}
.cx-finding {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 19px;
  padding: 12px;
  max-width: 430px;
}
.cx-crop {
  position: relative;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  overflow: hidden;
  border-radius: 13px;
}
.cx-crop img {
  width: 255px;
  height: 255px;
  max-width: none;
  position: absolute;
  left: -96px;
  top: -112px;
  object-fit: cover;
}
.cx-finding small {
  display: block;
  font-size: 8px;
  color: #73858a;
  letter-spacing: 0.04em;
}
.cx-finding b {
  display: block;
  font-size: 16px;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 9px 0;
}
.cx-finding span {
  font-size: 8px;
  color: #385963;
}
.cx-readings {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin-top: 17px;
}
.cx-readings > div {
  background: #fff;
  border: 1px solid #cfdee4;
  border-radius: 14px;
  padding: 13px 11px;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.cx-readings small {
  font-size: 8px;
  color: #637980;
  line-height: 1.3;
}
.cx-readings span {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #28525c;
}
.cx-readings b {
  font-weight: 400;
}
.cx-readings .fair {
  color: #99632a;
}
.cx-recommended {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px;
  margin-top: 18px;
  background: #e5f2f5;
  border-radius: 23px;
}
.cx-recommended > .chrome-glyph {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}
.cx-recommended h4 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 0 0 8px;
  color: #293b3f;
}
.cx-recommended p {
  font-size: 10px;
  margin: 0;
  color: #698087;
}
.cx-ui-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: #078fa2;
  border-radius: 10px;
  padding: 15px 22px;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
}
.cx-ui-cta b {
  font-weight: 400;
  font-size: 16px;
}
.cx-recommended .cx-ui-cta {
  margin-left: auto;
}
.cx-report-links {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  font-size: 8px;
  color: #526a73;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cx-caption {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 28px 5px 0;
  font-size: 12px;
}
.cx-caption > span {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #897c70;
}
.cx-caption p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: #655a50;
  max-width: 48ch;
}
.cx-caption a {
  padding-block: 10px;
  color: #b4441c;
  white-space: nowrap;
  border-bottom: 1px solid #dfb89f;
}
.cx-routine-body > p {
  font-size: 12px;
  color: #6e7d82;
  margin: 12px 0 24px;
}
.cx-routine-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cx-routine-levels > div {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #dce7ea;
  border-radius: 22px;
  padding: 22px;
}
.cx-routine-levels .selected {
  background: #d8edf0;
  border-color: #6aadb7;
}
.cx-routine-levels .chrome-glyph {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}
.cx-routine-levels b {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  display: block;
  color: #263a3f;
}
.cx-routine-levels small {
  font-size: 9px;
  display: block;
  margin: 6px 0 10px;
  color: #708389;
}
.cx-routine-levels em {
  font-style: normal;
  font-size: 8px;
  display: inline-block;
  padding: 5px 8px;
  background: #f4f9fa;
  border-radius: 20px;
  color: #48636a;
}
.cx-routine-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 16px;
  font-size: 11px;
  color: #63797f;
  gap: 15px;
}
.cx-routine-meta > span:first-child {
  display: flex;
  gap: 15px;
  align-items: center;
  background: #e0eef1;
  padding: 4px;
  border-radius: 24px;
}
.cx-routine-meta b {
  background: #fff;
  padding: 10px 16px;
  border-radius: 20px;
  font-weight: 400;
  color: #29434a;
}
.cx-routine-meta > span:first-child > span {
  padding-right: 13px;
}
.cx-routine-meta strong {
  color: #344d53;
  font-weight: 600;
}
.cx-routine-meta small {
  display: block;
  font-size: 10px;
  margin-top: 7px;
  text-align: right;
}
.cx-routine-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.cx-routine-products article {
  background: #fff;
  border: 1px solid #e8eff1;
  border-radius: 22px;
  position: relative;
  min-height: 157px;
  padding: 30px 14px 24px 88px;
  display: flex;
  align-items: center;
}
.cx-product-match {
  position: absolute;
  right: 13px;
  top: 12px;
  font-size: 7px;
  padding: 4px 6px;
  background: #edf6f7;
  border-radius: 20px;
  color: #54777f;
}
.cx-product-pack {
  position: absolute;
  width: 55px;
  height: 65px;
  left: 20px;
  top: 55px;
  background-image: url("/assets/product-ui/routine-source.webp");
  background-repeat: no-repeat;
  background-size: 1378px 1040px;
  mix-blend-mode: multiply;
}
.cx-routine-products article small {
  font-size: 8px;
  color: #7a898d;
  letter-spacing: 0.02em;
}
.cx-routine-products h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.3;
  color: #304348;
  margin: 8px 0;
}
.cx-routine-products p {
  font-size: 9px;
  color: #58727a;
  margin: 6px 0 10px;
}
.cx-routine-products strong {
  font-size: 12px;
  font-weight: 400;
  color: #30454b;
}
.cx-routine-body > .cx-routine-note {
  font-size: 9px;
  line-height: 1.6;
  margin: 25px 0 20px;
}
.cx-routine-footer {
  border-top: 1px solid #d8e5e9;
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  color: #5f777f;
  background: #f9fcfd;
}
.cx-widget-screens {
  background: linear-gradient(120deg, #f5f9fc, #f6f0e9);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  border: 1px solid #e5e6e4;
  border-radius: 26px;
  padding: 35px 30px;
  overflow: hidden;
}
.cx-widget-screens figure {
  margin: 0;
  min-width: 0;
}
.cx-widget-screens figcaption {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: #655746;
  margin-bottom: 16px;
}
.cx-widget-screens figcaption > span {
  font-size: 9px;
  color: #a67e49;
}
.cx-widget-screens img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid #dedccf;
  box-shadow: 0 16px 35px -22px #5f4b35aa;
}
.cx-widget-screens figure:nth-child(even) {
  padding-top: 30px;
}
.cx-existing-screen {
  background: #f3f7fa;
  padding: 45px;
  border: 1px solid #e2e8eb;
  border-radius: 25px;
}
.cx-existing-screen img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e3e6e8;
  border-radius: 14px;
  box-shadow: 0 20px 38px -25px #31404d66;
}
.cx-panel:nth-child(3) .cx-existing-screen,
.cx-panel:nth-child(8) .cx-existing-screen {
  background: #f8f3ed;
}
@media (max-width: 1000px) {
  .cx-caption {
    grid-template-columns: 150px 1fr;
  }
  .cx-caption a {
    grid-column: 2;
    justify-self: start;
  }
}
@container cx-screen (max-width:1000px) {
  .cx-toolbar {
    padding: 18px 22px;
  }
  .cx-progress {
    gap: 14px;
  }
  .cx-report,
  .cx-routine-body {
    padding: 25px;
  }
  .cx-score {
    gap: 10px;
    padding: 20px;
  }
  .cx-score strong {
    font-size: 53px;
  }
  .cx-stat-row {
    gap: 10px;
  }
  .cx-age {
    padding: 18px;
  }
  .cx-age > .chrome-glyph {
    right: 12px;
    width: 25px;
    height: 25px;
  }
  .cx-age strong {
    font-size: 37px;
  }
  .cx-report-grid {
    gap: 16px;
    grid-template-columns: 0.95fr 1.5fr;
  }
  .cx-person {
    aspect-ratio: 0.8;
  }
  .cx-report-info > p {
    font-size: 15px;
  }
  .cx-report-nav > span {
    gap: 9px;
    padding: 10px 12px;
  }
  .cx-routine-levels > div {
    padding: 17px;
    gap: 12px;
  }
  .cx-routine-levels b {
    font-size: 16px;
  }
  .cx-routine-products article {
    padding-left: 76px;
  }
  .cx-product-pack {
    left: 12px;
  }
  .cx-widget-screens {
    gap: 18px;
    padding: 25px;
  }
  .cx-readings {
    grid-template-columns: repeat(4, 1fr);
  }
  .cx-readings > div {
    min-height: 62px;
  }
}
@media (max-width: 740px) {
  .cx-showcase {
    padding: 72px 18px;
  }
  .cx-intro {
    margin-bottom: 28px;
  }
  .cx-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 6px;
    margin-bottom: 28px;
    border-radius: 15px;
  }
  .cx-tabs button {
    font-size: 10px;
    line-height: 1.3;
    padding: 10px 8px;
  }
  .cx-caption {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 22px 3px 0;
  }
  .cx-caption a {
    grid-column: 1;
  }
  .cx-caption p {
    font-size: 13px;
  }
}
@container cx-screen (max-width:740px) {
  .cx-toolbar {
    padding: 16px;
    gap: 10px;
    min-height: 60px;
  }
  .cx-merchant {
    font-size: 19px;
  }
  .cx-powered {
    font-size: 7px;
    padding-left: 10px;
  }
  .cx-progress {
    display: none;
  }
  .cx-menu {
    margin-left: auto;
    width: 29px;
    height: 29px;
    font-size: 13px;
  }
  .cx-report,
  .cx-routine-body {
    padding: 20px 16px;
  }
  .cx-report h3,
  .cx-routine-body h3 {
    font-size: 30px;
    margin-bottom: 22px;
  }
  .cx-report-nav {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-bottom: 19px;
  }
  .cx-report-nav > span {
    min-height: 55px;
    font-size: 10px;
    border-radius: 12px;
    padding: 10px;
  }
  .cx-report-nav .chrome-glyph {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }
  .cx-report-nav small {
    font-size: 7px;
  }
  .cx-report-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .cx-person {
    aspect-ratio: 1.08;
    max-height: 400px;
  }
  .cx-person > img {
    object-position: center 43%;
  }
  .cx-person-name {
    bottom: 18px;
    left: 18px;
  }
  .cx-stat-row {
    grid-template-columns: 1.25fr 1fr;
    gap: 10px;
  }
  .cx-score {
    padding: 20px 14px;
    gap: 12px;
    min-height: 126px;
  }
  .cx-score strong {
    font-size: 49px;
  }
  .cx-score > div {
    font-size: 10px;
  }
  .cx-score small {
    font-size: 8px;
    line-height: 1.4;
  }
  .cx-age {
    padding: 18px 14px;
  }
  .cx-age > .chrome-glyph {
    width: 21px;
    height: 21px;
    top: 22px;
    right: 12px;
  }
  .cx-age strong {
    font-size: 35px;
  }
  .cx-age strong > span {
    font-size: 8px;
    margin-left: 5px;
  }
  .cx-age small {
    font-size: 7px;
    max-width: 16ch;
    line-height: 1.5;
  }
  .cx-skin-type {
    gap: 10px;
    padding: 13px;
    margin: 12px 0 18px;
  }
  .cx-skin-type > .chrome-glyph {
    width: 24px;
    height: 24px;
  }
  .cx-history {
    display: none;
  }
  .cx-report-info > h4 {
    font-size: 18px;
  }
  .cx-report-info > p {
    font-size: 17px;
    line-height: 1.45;
  }
  .cx-finding-label {
    font-size: 10px;
  }
  .cx-finding-label > span {
    display: none;
  }
  .cx-finding {
    gap: 14px;
  }
  .cx-finding b {
    font-size: 15px;
  }
  .cx-readings {
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
  }
  .cx-readings > div {
    min-height: 62px;
  }
  .cx-readings small {
    font-size: 9px;
  }
  .cx-readings span {
    font-size: 12px;
  }
  .cx-recommended {
    padding: 18px 15px;
    gap: 12px;
    flex-wrap: wrap;
    border-radius: 18px;
  }
  .cx-recommended > .chrome-glyph {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .cx-recommended > div {
    flex: 1;
    min-width: 180px;
  }
  .cx-recommended h4 {
    font-size: 19px;
  }
  .cx-recommended p {
    font-size: 10px;
    line-height: 1.4;
  }
  .cx-recommended .cx-ui-cta {
    margin: 3px 0 0 46px;
  }
  .cx-report-links {
    flex-wrap: wrap;
    font-size: 8px;
    gap: 12px;
    line-height: 1.8;
  }
  .cx-routine-levels {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .cx-routine-levels > div {
    padding: 16px 20px;
    gap: 20px;
  }
  .cx-routine-levels b {
    font-size: 19px;
  }
  .cx-routine-levels small {
    font-size: 10px;
  }
  .cx-routine-levels em {
    font-size: 8px;
  }
  .cx-routine-meta {
    align-items: flex-start;
    font-size: 9px;
    gap: 9px;
  }
  .cx-routine-meta > span:first-child {
    gap: 4px;
  }
  .cx-routine-meta b {
    padding: 10px;
    font-size: 10px;
  }
  .cx-routine-meta > span:first-child > span {
    font-size: 9px;
    padding-right: 7px;
  }
  .cx-routine-meta small {
    font-size: 8px;
    line-height: 1.4;
    max-width: 18ch;
    margin-left: auto;
  }
  .cx-routine-products {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cx-routine-products article {
    min-height: 141px;
    padding: 26px 20px 22px 96px;
  }
  .cx-product-pack {
    left: 25px;
    top: 48px;
  }
  .cx-routine-products article small {
    font-size: 8px;
  }
  .cx-routine-products h4 {
    font-size: 17px;
  }
  .cx-routine-products p {
    font-size: 10px;
  }
  .cx-routine-products strong {
    font-size: 13px;
  }
  .cx-product-match {
    font-size: 8px;
  }
  .cx-routine-footer {
    padding: 16px;
    gap: 15px;
    align-items: flex-start;
  }
  .cx-routine-footer > span:first-child {
    max-width: 16ch;
    line-height: 1.6;
    font-size: 9px;
  }
  .cx-ui-cta {
    padding: 13px 16px;
    gap: 18px;
    font-size: 10px;
  }
  .cx-widget-screens {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    padding: 24px 20px;
    gap: 22px;
    border-radius: 20px;
  }
  .cx-widget-screens figure {
    width: min(76vw, 310px);
    flex: 0 0 min(76vw, 310px);
    scroll-snap-align: center;
  }
  .cx-widget-screens figure:nth-child(even) {
    padding-top: 0;
  }
  .cx-widget-screens figcaption {
    font-size: 12px;
  }
  .cx-existing-screen {
    padding: 14px;
    border-radius: 18px;
    overflow-x: auto;
  }
  .cx-existing-screen img {
    min-width: 640px;
    width: 100%;
    max-width: none;
    border-radius: 10px;
  }
  .cx-window {
    border-radius: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cx-panel:not([hidden]) {
    animation: none;
  }
  .cx-tabs button {
    transition: none;
  }
}

/* Equal presentation bounds across all eight tabs; the full screen scales to fit. */
.cx-stage {
  width: 100%;
  min-width: 0;
}
.cx-panel {
  min-width: 0;
}
.cx-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  max-height: 680px;
  background: #fff;
  border: 1px solid #e0e5e8;
  border-radius: 22px;
  overflow: hidden;
}
.cx-screen-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1260px;
  max-width: none;
  container-type: inline-size;
  container-name: cx-screen;
  transform: translate(-50%, -50%) scale(var(--cx-fit, 0));
  transform-origin: center;
  will-change: transform;
}
.cx-screen-canvas > .cx-window,
.cx-screen-canvas > .cx-widget-screens,
.cx-screen-canvas > .cx-existing-screen {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  box-shadow: none;
}
.cx-screen-canvas > .cx-existing-screen {
  padding: 24px;
}
.cx-screen-canvas .cx-existing-screen img {
  min-width: 0;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.cx-caption {
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  margin: 20px 4px 0;
  min-height: 42px;
}
.cx-caption p {
  max-width: none;
  font-size: 12px;
  white-space: normal;
}
.cx-caption > span {
  font-size: 8px;
  letter-spacing: 0.07em;
}
@media (max-width: 740px) {
  .cx-viewport {
    aspect-ratio: 4/3;
    border-radius: 16px;
  }
  .cx-caption {
    grid-template-columns: 1fr;
    gap: 7px;
    margin: 16px 2px 0;
    min-height: 0;
  }
  .cx-caption p {
    font-size: 12px;
    line-height: 1.5;
  }
  .cx-caption a {
    grid-column: 1;
    justify-self: start;
    padding-block: 6px;
  }
  .cx-caption > span {
    font-size: 8px;
  }
}
/* Workflow motion stays inside each retained product screen. */
.cx-screen-canvas > .cx-existing-screen { position:relative; }
.cx-workflow { position:absolute; inset:24px 24px 24px 17%; padding:34px; background:#f8f9fa; color:#29353a; border-radius:0 12px 12px 0; font-family:var(--body,sans-serif); overflow:hidden; }
.cx-workflow-7 { background:#fbf7f3; color:#4b3025; }
.cx-workflow-head { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:24px; }
.cx-workflow small { display:block; font-size:10px; letter-spacing:.1em; color:#748087; }
.cx-workflow h4 { font-size:28px; font-weight:500; letter-spacing:-.04em; margin:8px 0 0; }
.cx-flow-button { padding:12px 18px; border:1px solid #dce3e6; border-radius:24px; background:#fff; color:#345e7b; font-size:12px; white-space:nowrap; }
.cx-visit-tabs { display:flex; gap:8px; margin-bottom:20px; font-size:12px; }
.cx-visit-tabs span { padding:11px 18px; background:white; border:1px solid #dbe3e7; border-radius:22px; }
.cx-panel[data-scene="0"] .cx-visit-tabs span:first-child,.cx-panel[data-scene="1"] .cx-visit-tabs span:first-child,.cx-panel[data-scene="2"] .cx-visit-tabs span:last-child,.cx-panel[data-scene="3"] .cx-visit-tabs span:last-child { background:#347bb2; color:white; border-color:#347bb2; }
.cx-progress-chart { border-radius:20px; background:#347bb2; padding:26px 30px 20px; color:white; }
.cx-progress-chart > div:first-child { display:flex; align-items:center; gap:24px; }
.cx-progress-chart small { color:#d2e7f7; }
.cx-progress-chart strong { font-size:42px; letter-spacing:-.04em; font-weight:500; }
.cx-progress-chart strong span { opacity:.6; }
.cx-progress-chart > div > span { margin-left:auto; font-size:12px; }
.cx-progress-chart svg { display:block; width:100%; height:135px; margin:10px 0; }
.cx-chart-track { stroke:#ffffff30; stroke-width:3; }
.cx-chart-line { stroke:white; stroke-width:3; stroke-dasharray:1; stroke-dashoffset:0; }
.cx-progress-chart circle { fill:white; }
.cx-chart-dates { display:flex; justify-content:space-between; font-size:12px; opacity:.75; }
.cx-visit-result,.cx-insight,.cx-handoff,.cx-study-ready { display:flex; align-items:center; gap:17px; padding:21px; background:white; border:1px solid #e1e6e9; border-radius:17px; margin-top:20px; }
.cx-workflow b { font-size:14px; font-weight:600; }
.cx-workflow p { font-size:12px; line-height:1.6; color:#748087; margin:6px 0 0; }
.cx-visit-result .cx-flow-button,.cx-insight .cx-flow-button { margin-left:auto; }
.cx-flow-check,.cx-flow-avatar { display:grid; place-items:center; width:36px; height:36px; flex-shrink:0; border-radius:50%; background:#e2efea; color:#34705e; font-size:18px; }
.cx-flow-avatar { background:#eee2d9; color:#674833; }
.cx-metric-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; padding:23px; background:#347bb2; border-radius:18px; margin-bottom:20px; color:white; }
.cx-metric-strip small { color:#d2e7f7; }
.cx-metric-strip strong { display:block; font-size:36px; font-weight:500; margin-top:8px; }
.cx-concern-bars { background:white; border:1px solid #e1e6e9; border-radius:18px; padding:20px 24px; }
.cx-concern-bars h5 { font-size:15px; margin:0 0 18px; }
.cx-concern-bars > div { margin-top:14px; }
.cx-concern-bars > div > div { display:flex; justify-content:space-between; font-size:12px; margin-bottom:7px; }
.cx-concern-bars b { font-size:11px; color:#748087; font-weight:400; }
.cx-concern-bars i { display:block; background:#f1f4f6; border-radius:5px; height:6px; overflow:hidden; }
.cx-concern-bars em { display:block; width:var(--bar); height:100%; background:#347bb2; border-radius:5px; transform-origin:left; transition:transform 600ms cubic-bezier(.16,1,.3,1) var(--delay); }
.cx-customer-capture { display:grid; grid-template-columns:.8fr 1.2fr; gap:24px; }
.cx-capture-code { border-radius:20px; background:#e8f0f6; padding:30px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; }
.cx-capture-code svg { width:130px; height:130px; color:#345e7b; }
.cx-capture-code > span { color:#748087; font-size:11px; }
.cx-capture-form,.cx-study-form { padding:24px; background:white; border:1px solid #e1e6e9; border-radius:18px; }
.cx-workflow label { display:block; font-size:11px; color:#748087; margin:16px 0; }
.cx-workflow label > span { display:block; height:43px; box-sizing:border-box; margin-top:7px; padding:12px 14px; border:1px solid #dce3e6; border-radius:9px; color:#29353a; background:#fafcfd; font-size:14px; }
.cx-capture-form > .cx-flow-button,.cx-study-form > .cx-flow-button { display:inline-block; background:#347bb2; color:white; }
.cx-chat-status,.cx-recruiting { background:#e2efea; color:#34705e; border-radius:20px; padding:8px 14px; font-size:11px; }
.cx-chat-thread { display:flex; flex-direction:column; gap:18px; }
.cx-message { max-width:78%; padding:18px 22px; border-radius:16px; background:#fff; border:1px solid #e4e8eb; }
.cx-message p { font-size:14px; color:#34444c; margin-top:8px; }
.cx-message-customer { align-self:flex-end; background:#e7f1f7; }
.cx-message-reply { align-self:flex-start; }
.cx-handoff { margin-top:0; }
.cx-chat-compose { display:flex; justify-content:space-between; align-items:center; padding:15px 20px; border:1px solid #dce3e6; border-radius:14px; margin-top:20px; background:white; font-size:13px; color:#748087; }
.cx-chat-compose b { background:#347bb2; color:white; border-radius:50%; padding:8px 12px; }
.cx-study-form > div { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.cx-study-form label { margin-top:0; }
.cx-study-form > .cx-flow-button { background:#71351e; }
.cx-study-ready { background:#fff; }
.cx-study-ready b { display:block; font-size:20px; margin-top:5px; }
.cx-recruiting { margin-left:auto; }
.cx-workflow-4 { padding:26px 30px; }
.cx-workflow-4 .cx-workflow-head { margin-bottom:18px; }
.cx-workflow-4 .cx-insight { padding:15px 20px; margin-top:14px; }
.cx-workflow-6 { padding:26px 30px; }
.cx-store-film { display:flex; align-items:center; justify-content:center; gap:90px; height:800px; padding:35px 80px; box-sizing:border-box; border-radius:22px; background:linear-gradient(120deg,#f5f9fc,#f6f0e9); }
.cx-store-story { width:490px; }
.cx-store-story h3 { font-size:42px; line-height:1.15; letter-spacing:-.04em; font-weight:500; color:#4b3025; }
.cx-store-story ol { list-style:none; counter-reset:step; padding:0; margin:35px 0; }
.cx-store-story li { counter-increment:step; font-size:18px; padding:18px 0; color:#91857b; display:flex; align-items:center; gap:20px; }
.cx-store-story li:before { content:counter(step,decimal-leading-zero); font-size:11px; border:1px solid #d8d1c9; border-radius:50%; width:30px; height:30px; display:grid; place-items:center; }
.cx-store-story li.cx-step-active { color:#4b3025; }
.cx-store-story li.cx-step-active:before { background:#4b3025; color:white; border-color:#4b3025; }
.cx-workflow-video { width:360px; height:700px; object-fit:contain; border-radius:30px; background:#faf6ea; box-shadow:0 22px 60px #4b302522; }
.cx-action-label { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); padding:9px 16px; border:1px solid #ded8d4; border-radius:30px; color:#4b3025; background:#ffffffed; font-size:11px; white-space:nowrap; box-shadow:0 4px 16px #4b30250c; pointer-events:none; }
.cx-action-label:empty { display:none; }
.cx-scan-beam { position:absolute; z-index:3; inset:0 0 auto; height:3px; background:#e0ffff; box-shadow:0 0 22px 8px #a5efff60; opacity:0; pointer-events:none; }
.cx-panel .cx-reveal-one,.cx-panel .cx-reveal-two,.cx-panel .cx-reveal-three { transition:opacity 240ms cubic-bezier(.16,1,.3,1),transform 240ms cubic-bezier(.16,1,.3,1); }
.cx-panel[data-scene="0"] .cx-reveal-one,.cx-panel[data-scene="0"] .cx-reveal-two,.cx-panel[data-scene="0"] .cx-reveal-three,.cx-panel[data-scene="1"] .cx-reveal-two,.cx-panel[data-scene="1"] .cx-reveal-three,.cx-panel[data-scene="2"] .cx-reveal-three { opacity:0; transform:translateY(8px); }
.cx-panel[data-scene="0"] .cx-concern-bars em { transform:scaleX(0); }
.cx-panel[data-workflow="0"] .cx-stat-row,.cx-panel[data-workflow="0"] .cx-readings,.cx-panel[data-workflow="0"] .cx-finding,.cx-panel[data-workflow="0"] .cx-recommended { transition:opacity 400ms cubic-bezier(.16,1,.3,1),transform 400ms cubic-bezier(.16,1,.3,1); }
.cx-panel[data-workflow="0"][data-scene="0"] .cx-stat-row,.cx-panel[data-workflow="0"][data-scene="0"] .cx-readings,.cx-panel[data-workflow="0"][data-scene="0"] .cx-finding,.cx-panel[data-workflow="0"][data-scene="0"] .cx-recommended,.cx-panel[data-workflow="0"][data-scene="1"] .cx-recommended { opacity:0; transform:translateY(8px); }
.cx-routine-products article { transition:opacity 240ms cubic-bezier(.16,1,.3,1),transform 240ms cubic-bezier(.16,1,.3,1); }
.cx-panel[data-workflow="1"][data-scene="0"] .cx-routine-products article:nth-child(n+5) { opacity:.18; }
.cx-panel[data-workflow="1"][data-scene="3"] .cx-routine-apply { background:#34705e; }
@media(max-width:740px) { .cx-action-label { bottom:8px; padding:6px 10px; font-size:9px; max-width:90%; overflow:hidden; text-overflow:ellipsis; } }
@media(prefers-reduced-motion:reduce) { .cx-panel *, .cx-panel *:before { transition:none!important; animation:none!important; } }
.cx-screen-canvas > .cx-existing-screen { min-height:800px; }
.cx-screen-canvas > .cx-existing-screen > img { height:752px; object-fit:cover; object-position:left top; }

.cx-panel[data-scene="0"] .cx-chart-line { opacity:0; }
.cx-progress-chart .cx-chart-dates > span { margin-left:0; }
