/* Product pages. Container matches the business homepage. */
body.pp {
  overflow-x: clip;
  background: #fff;
  color: #0b1220;
}

.px [hidden] {
  display: none !important;
}

.px {
  --px-gutter: clamp(1.75rem, 6vw, 5rem);
}

.px-wrap {
  width: min(76rem, calc(100% - var(--px-gutter) * 2));
  margin-inline: auto;
}

.px-back {
  display: inline-block;
  margin: 1.25rem 0 1.5rem;
  color: rgba(11, 18, 32, 0.55);
  font-size: 0.92rem;
  text-decoration: none;
}

.px h1 {
  margin: 0 0 22px;
  font-family: "Noto Sans TC", "Sora", sans-serif;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.16;
  scroll-margin-top: calc(var(--about-nav-h, 64px) + 12px);
}

.px-a,
.px-b {
  white-space: nowrap;
}

.px-sub {
  margin: 0 0 32px;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: #374151;
}

.px-status {
  margin: 0 0 24px;
  max-width: 42rem;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

.px-status b {
  font-weight: 600;
  color: #0b1220;
}

.px-cta {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  margin-top: 0;
  padding: 0 1.35rem;
  border-radius: 999px;
  background: #7db5ff;
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

.px button:focus-visible,
.px a:focus-visible {
  outline: 2px solid #0b1220;
  outline-offset: 3px;
}

.px-note {
  margin: 0.8rem 0 0;
  font-size: 0.82rem;
  color: rgba(11, 18, 32, 0.45);
}

.px-sec {
  padding: 2.5rem 0;
}

.px-sec h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.px-sec p {
  margin: 0;
  max-width: 36rem;
  line-height: 1.65;
  color: rgba(11, 18, 32, 0.72);
}

.px-sec p.px-status {
  margin: 0 0 24px;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

.px-sec p.px-sub {
  margin: 0 0 32px;
  max-width: 36rem;
  color: #374151;
}

.px-stage {
  margin-top: 48px;
}

.px-sec p.px-status {
  margin: 0 0 24px;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.65;
  color: #4b5563;
}

.px-sec p.px-sub {
  margin: 0 0 32px;
  max-width: 36rem;
  color: #374151;
}

.px-stage {
  margin-top: 48px;
}

.px-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.px-split--flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.px-split--flip .px-copy {
  order: 2;
}

.px-end {
  border-top: 1px solid rgba(11, 18, 32, 0.1);
  padding: clamp(2rem, 5vh, 3rem) 0 clamp(3rem, 8vh, 4.5rem);
}

.px-end-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
}

.px-next {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  color: #0b1220;
  text-decoration: none;
}

.px-next-visual {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.9rem;
  background: #eef5ff;
  border: 1px solid rgba(11, 18, 32, 0.08);
}

.px-next strong {
  display: block;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.04em;
}

.px-next-arrow {
  font-size: 1.8rem;
  line-height: 1;
}

.px-next small {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(11, 18, 32, 0.45);
}

/* Phone */
.px-phone {
  width: min(100%, 23.5rem);
  margin-inline: auto;
  background: #10151c;
  border-radius: 2.2rem;
  padding: 0.7rem;
}

.px-screen {
  background: #fff;
  border-radius: 1.6rem;
  min-height: 36rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.px-screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem 0.4rem;
  font-size: 0.85rem;
  color: rgba(11, 18, 32, 0.5);
}

.px-screen-top strong {
  color: #0b1220;
  font-size: 1rem;
}

.px-langs {
  display: flex;
  gap: 0.8rem;
  padding: 0.2rem 1rem 0.6rem;
}

.px-langs button,
.px-textbtn {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 0.2rem 0;
  font: inherit;
  font-weight: 650;
  color: rgba(11, 18, 32, 0.45);
  cursor: pointer;
}

.px-langs button.is-on,
.px-textbtn.is-on {
  color: #0b1220;
  border-bottom-color: #7db5ff;
}

.px-dish {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 0;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.px-dish strong {
  display: block;
  font-size: 1.05rem;
}

.px-dish small,
.px-dish b {
  color: rgba(11, 18, 32, 0.5);
  font-weight: 600;
}

.px-list.is-swap {
  opacity: 0.35;
}

.px-cartline {
  margin-top: auto;
  padding: 1rem;
  background: #f4f7fb;
  font-weight: 650;
}

.px-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.px-guest {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: rgba(11, 18, 32, 0.5);
}

.px-draft {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.px-paper {
  min-height: 18rem;
  padding: 1.4rem;
  background:
    linear-gradient(#e7eef6, #e7eef6) 0 1.2rem / 100% 1px no-repeat,
    repeating-linear-gradient(#f7f9fc, #f7f9fc 2.1rem, #e4eaf2 2.1rem, #e4eaf2 2.15rem);
  border: 1px solid rgba(11, 18, 32, 0.1);
}

.px-paper strong {
  display: block;
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
}

.px-draft-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.px-draft-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(11, 18, 32, 0.1);
  font-size: 1.05rem;
}

/* Agent */
.px-thread {
  margin-top: 2rem;
  max-width: 44rem;
}

.px-ask {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.px-ask span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(11, 18, 32, 0.45);
}

.px-preview {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(11, 18, 32, 0.12);
}

.px-preview dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1rem;
}

.px-preview dt {
  font-size: 0.8rem;
  color: rgba(11, 18, 32, 0.45);
}

.px-preview dd {
  margin: 0.15rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.px-state {
  margin: 0.8rem 0 0;
  font-weight: 700;
}

.px-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.px-steps b {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  color: #7db5ff;
}

/* Floor */
.px-room {
  position: relative;
  min-height: 34rem;
  background:
    linear-gradient(rgba(11, 18, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 32, 0.04) 1px, transparent 1px),
    #f6f8fb;
  background-size: 2rem 2rem;
  border: 1px solid rgba(11, 18, 32, 0.08);
}

.px-table {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.7rem;
  border: 2px solid #d5dee8;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: #0b1220;
}

.px-table strong {
  font-size: 1.05rem;
}

.px-table em {
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(11, 18, 32, 0.5);
}

.px-table.is-busy {
  background: #e7eef6;
  cursor: default;
}

.px-table.is-on {
  background: #7db5ff;
  border-color: #7db5ff;
  color: #fff;
}

.px-table.is-on em {
  color: rgba(255, 255, 255, 0.85);
}

.px-t1 { left: 8%; top: 10%; width: 28%; height: 28%; border-radius: 1.2rem; }
.px-t2 { left: 42%; top: 8%; width: 22%; height: 22%; border-radius: 50%; }
.px-t3 { right: 8%; top: 14%; width: 22%; height: 36%; border-radius: 0.4rem; }
.px-t4 { left: 12%; bottom: 12%; width: 34%; height: 24%; border-radius: 1.4rem; }
.px-t5 { right: 14%; bottom: 14%; width: 30%; height: 22%; border-radius: 50% 50% 1rem 1rem; }

.px-scroll {
  overflow-x: auto;
  max-width: 100%;
}

.px-desk {
  min-width: 44rem;
  display: grid;
  grid-template-columns: 5.5rem repeat(8, minmax(4.2rem, 1fr));
  gap: 0;
  border-top: 1px solid rgba(11, 18, 32, 0.1);
}

.px-desk span,
.px-desk b {
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
}

.px-desk b {
  color: rgba(11, 18, 32, 0.45);
}

.px-desk .is-booked {
  background: rgba(125, 181, 255, 0.45);
  color: #0b1220;
}

.px-hours {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.px-check {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  align-items: center;
}

.px-qr {
  width: 8rem;
  height: 8rem;
  background:
    linear-gradient(#0b1220 0 0) 0 0 / 18% 18% no-repeat,
    linear-gradient(#0b1220 0 0) 100% 0 / 18% 18% no-repeat,
    linear-gradient(#0b1220 0 0) 0 100% / 18% 18% no-repeat,
    repeating-linear-gradient(90deg, #0b1220 0 4px, transparent 4px 8px),
    repeating-linear-gradient(#0b1220 0 4px, transparent 4px 8px);
  background-blend-mode: normal;
}

/* POS tablet */
.px-tablet {
  background: #10151c;
  border-radius: 1.6rem;
  padding: 0.8rem;
}

.px-till {
  display: grid;
  grid-template-columns: 6.5rem 1fr 15rem;
  min-height: 32rem;
  background: #f6f8fb;
  border-radius: 1rem;
  overflow: hidden;
}

.px-rail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 0.4rem;
  background: #fff;
  border-right: 1px solid rgba(11, 18, 32, 0.08);
}

.px-rail button {
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.7rem 0.6rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  color: rgba(11, 18, 32, 0.55);
}

.px-rail button.is-on {
  color: #0b1220;
  box-shadow: inset 3px 0 0 #7db5ff;
}

.px-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  padding: 0.9rem;
  align-content: start;
}

.px-tile {
  appearance: none;
  min-height: 6.5rem;
  border: 1px solid rgba(11, 18, 32, 0.08);
  background: #fff;
  text-align: left;
  padding: 0.8rem;
  font: inherit;
  cursor: pointer;
}

.px-tile b {
  display: block;
  font-size: 1.15rem;
}

.px-tile small {
  color: rgba(11, 18, 32, 0.5);
}

.px-swatch {
  display: block;
  height: 2.4rem;
  margin-bottom: 0.55rem;
  background: #d7ebff;
}

.px-swatch--2 { background: #c5d7ee; }
.px-swatch--3 { background: #efe4d4; }

.px-ticket {
  background: #fff;
  border-left: 1px solid rgba(11, 18, 32, 0.08);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.px-ticket ul {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  flex: 1;
}

.px-ticket li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(11, 18, 32, 0.06);
}

.px-total {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.px-quiet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1rem;
}

.px-quiet h2 {
  font-size: 1.3rem;
}

.px-quiet ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  line-height: 1.8;
  color: rgba(11, 18, 32, 0.72);
}

/* Analytics */
.px-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.px-kpis b {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  letter-spacing: -0.05em;
}

.px-kpis span {
  color: rgba(11, 18, 32, 0.5);
}

.px-chart {
  margin-top: 1.2rem;
  min-height: 16rem;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: end;
  border-bottom: 1px solid rgba(11, 18, 32, 0.12);
  padding-bottom: 0.4rem;
}

.px-chart i {
  display: block;
  height: var(--h, 40%);
  background: linear-gradient(#7db5ff, rgba(125, 181, 255, 0.35));
  transform-origin: bottom;
  animation: px-rise 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.px-chart span {
  display: block;
  margin-top: 0.35rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(11, 18, 32, 0.45);
}

.px-ranges {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
}

@keyframes px-rise {
  from { transform: scaleY(0.15); }
  to { transform: scaleY(1); }
}

/* Storefront */
.px-browser {
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: #fff;
  min-height: 28rem;
}

.px-browser-bar {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  color: rgba(11, 18, 32, 0.45);
  font-size: 0.85rem;
}

.px-browser-bar i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #d5dee8;
}

.px-site {
  padding: 1.4rem 1.4rem 1.6rem;
}

.px-banner {
  height: 8rem;
  background: linear-gradient(120deg, #d7ebff, #f6f8fb 60%);
}

.px-site h3 {
  margin: 1rem 0 0.2rem;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.px-find {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.px-find li {
  padding: 0.9rem 0;
  border-top: 1px solid rgba(11, 18, 32, 0.1);
  font-size: 1.15rem;
}

.px-find small {
  display: block;
  color: rgba(11, 18, 32, 0.45);
  font-size: 0.85rem;
}

/* Member */
.px-card {
  min-height: 18rem;
  padding: 1.5rem;
  background: #7db5ff;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.px-card em {
  font-style: normal;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.px-card strong {
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.px-points {
  margin: 0.2rem 0;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.px-stamps {
  display: flex;
  gap: 0.5rem;
}

.px-stamps i {
  width: 1.8rem;
  height: 1.8rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  transition: background 200ms ease;
}

.px-stamps i.is-on {
  background: #fff;
}

/* Inventory */
.px-ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.05rem;
}

.px-ledger th {
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(11, 18, 32, 0.45);
  padding: 0.4rem 0.5rem 0.7rem 0;
}

.px-ledger td {
  padding: 0.95rem 0.5rem 0.95rem 0;
  border-top: 1px solid rgba(11, 18, 32, 0.1);
}

.px-meter {
  width: min(16rem, 40vw);
  height: 0.45rem;
  background: #eef2f6;
}

.px-meter i {
  display: block;
  height: 100%;
  width: var(--w);
  background: #7db5ff;
}

.px-meter i.is-low,
.px-qty.is-low {
  background: #c47a4a;
  color: #9a4d2a;
}

.px-qty {
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Workforce */
.px-week {
  display: grid;
  grid-template-columns: 3.2rem repeat(7, minmax(2.4rem, 1fr));
  gap: 0.35rem 0.4rem;
  min-width: 36rem;
}

.px-week b {
  font-size: 0.8rem;
  color: rgba(11, 18, 32, 0.45);
}

.px-shift {
  appearance: none;
  min-height: 3rem;
  border: 0;
  border-bottom: 2px solid rgba(11, 18, 32, 0.1);
  background: transparent;
  font: inherit;
  text-align: left;
  color: rgba(11, 18, 32, 0.3);
  cursor: pointer;
}

.px-shift.is-on {
  color: #0b1220;
  font-weight: 700;
  border-bottom-color: #7db5ff;
  background: rgba(125, 181, 255, 0.18);
}

.px-clock {
  margin-top: 1.2rem;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

@media (max-width: 900px) {
  .px-split,
  .px-split--flip,
  .px-duo,
  .px-draft,
  .px-quiet,
  .px-kpis,
  .px-check,
  .px-till {
    grid-template-columns: 1fr;
  }

  .px-split--flip .px-copy {
    order: 0;
  }

  .px-ticket {
    border-left: 0;
    border-top: 1px solid rgba(11, 18, 32, 0.08);
  }

  .px-rail {
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  }

  .px-preview dl {
    grid-template-columns: 1fr 1fr;
  }

  .px-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .px-room {
    min-height: 26rem;
  }
}

@media (max-width: 520px) {
  .px-a,
  .px-b {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .px-chart i,
  .px-stamps i {
    animation: none;
    transition: none;
  }
}

/* Higher-fidelity product surfaces */
.px-tablet {
  background: #1c2128;
  border-radius: 28px;
  padding: 8px;
  box-shadow: 0 22px 50px rgba(11, 18, 32, 0.16);
}

.px-till {
  min-height: 38rem;
  grid-template-columns: 7.5rem 1fr 17rem;
}

.px-tiles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.px-tile {
  min-height: 7.2rem;
  border-radius: 0.7rem;
}

.px-food {
  display: block;
  width: 100%;
  height: 3.4rem;
  margin-bottom: 0.45rem;
}

.px-pay {
  width: 100%;
  margin-top: 0.8rem;
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  background: #7db5ff;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.px-room {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: 1rem;
  padding: 1.25rem;
  min-height: 0;
}

.px-t1, .px-t2, .px-t3, .px-t4, .px-t5,
.px-table {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: auto;
  height: auto;
  min-height: 8.5rem;
}

.px-round { border-radius: 999px; }
.px-rect { border-radius: 0.7rem; }
.px-booth { border-radius: 1.4rem 1.4rem 0.4rem 0.4rem; }

.px-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.35rem;
}

.px-dots i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #b7c3d0;
}

.px-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  margin: 0 0 0.8rem;
  font-size: 14px;
  color: #4b5563;
}

.px-legend i {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 0.3rem;
  border-radius: 2px;
  vertical-align: -1px;
  background: #fff;
  border: 1px solid #d5dee8;
}

.px-legend .is-booked { background: #b9d7ff; border-color: #b9d7ff; }
.px-legend .is-busy { background: #e7eef6; }
.px-legend .is-on { background: #7db5ff; border-color: #7db5ff; }

.px-gantt {
  min-width: 52rem;
  display: grid;
  grid-template-columns: 4.2rem repeat(12, minmax(2.6rem, 1fr));
  align-items: stretch;
}

.px-gantt b,
.px-gantt span {
  padding: 0.35rem 0.15rem;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  font-size: 11px;
  color: #6b7280;
}

.px-block {
  margin: 0.2rem;
  border-radius: 8px;
  background: #7db5ff;
  color: #0b1220;
  padding: 0.28rem 0.35rem;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.px-wallet-card {
  border-radius: 20px;
  padding: 1.15rem;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.38), transparent 42%),
    #6eabf8;
  min-height: 12.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.px-wallet-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.px-mark {
  width: 1.6rem;
  height: 1.6rem;
  background: #fff;
  -webkit-mask: url("/brand/mark.png") center / contain no-repeat;
  mask: url("/brand/mark.png") center / contain no-repeat;
}

.px-customers {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.px-customers th {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  padding-bottom: 0.5rem;
}

.px-customers td {
  padding: 0.8rem 0.6rem 0.8rem 0;
  border-top: 1px solid rgba(11, 18, 32, 0.1);
}

.px-linechart {
  width: 100%;
  height: 8rem;
  margin-top: 0.6rem;
}

.px-vis-phone { background: #10151c; }
.px-vis-agent { background: linear-gradient(#fff, #eef5ff); }
.px-vis-book { background: #f4f7fb; }
.px-vis-pos { background: #1c2128; }
.px-vis-chart { background: linear-gradient(#7db5ff, #eef5ff); }
.px-vis-site { background: #fff; border: 1px solid rgba(11, 18, 32, 0.08); }
.px-vis-card { background: #7db5ff; }
.px-vis-stock { background: #eef5ff; }
.px-vis-shift { background: repeating-linear-gradient(90deg, #eef5ff, #eef5ff 8px, #fff 8px, #fff 16px); }

@media (max-width: 900px) {
  .px-tiles { grid-template-columns: 1fr 1fr; }
  .px-till {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .px-rail {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid rgba(11, 18, 32, 0.08);
  }
  .px-room { grid-template-columns: 1fr 1fr; }
  .px-next { grid-template-columns: 3.2rem minmax(0, 1fr) auto; }
}

/* Motion and higher-fidelity surfaces */
.px-wrap > .px-tablet,
.px-wrap > .px-duo,
.px-wrap > .px-thread,
.px-wrap > .px-scroll {
  margin-top: 48px;
}

.px-cta,
.px-pay,
.px-textbtn,
.px-stamp-btn,
.px-tile,
.px-dish,
.px-spot,
.px-bar button,
.px-shift,
.px-next {
  transition: transform 160ms ease, background-color 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.px-cta:hover,
.px-pay:hover,
.px-stamp-btn:hover,
.px-next:hover {
  transform: translateY(-2px);
}

.px-cta:active,
.px-pay:active,
.px-stamp-btn:active,
.px-tile:active,
.px-dish:active,
.px-textbtn:active {
  transform: scale(0.98);
}

.px-next-arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.px-next:hover .px-next-arrow {
  transform: translateX(4px);
}

.px-list {
  transition: opacity 180ms ease;
}

.px-list.is-swap {
  opacity: 0;
}

.px-preview.is-in {
  animation: px-pop 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.px-bill li.is-new {
  animation: px-row 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.px-total.is-tick,
.px-clockline.is-tick,
[data-clockline].is-tick {
  animation: px-tick 280ms ease;
}

.px-tiles.is-in {
  animation: px-switch 200ms ease;
}

.px-hold {
  margin: 0.8rem 0 0;
}

.px-hold span {
  display: inline-block;
  transform-origin: left center;
  transform: scaleX(0.15);
  opacity: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: #7db5ff;
  color: #0b1220;
  font-weight: 700;
}

.px-hold.is-grow span {
  transform: scaleX(1);
  opacity: 1;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.px-spot.is-on,
.px-bar button.is-on,
.px-gantt button.is-on {
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.px-stamps i.is-press {
  animation: px-stamp 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.px-chart i {
  height: 12rem;
  flex: none;
  transform: scaleY(var(--h, 0.4));
  transform-origin: bottom;
  animation: none;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.px-chart > div {
  height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.px-linechart polyline {
  stroke-dasharray: 920;
  stroke-dashoffset: 920;
}

.px-linechart.is-draw polyline {
  animation: px-draw 700ms ease forwards;
}

.px-meter {
  overflow: hidden;
}

.px-meter i {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(var(--p, 0.5));
  transition: transform 280ms ease;
}

.px-floor {
  position: relative;
  min-height: 28rem;
  margin-top: 0.4rem;
  border: 1px solid rgba(11, 18, 32, 0.08);
  border-radius: 1.2rem;
  background:
    linear-gradient(#dfe7f0, #dfe7f0) 0 0 / 100% 12px no-repeat,
    linear-gradient(#dfe7f0, #dfe7f0) 0 100% / 100% 12px no-repeat,
    #f7f9fc;
  overflow: hidden;
}

.px-door {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  padding: 0.2rem 1.1rem 0.15rem;
  background: #fff;
  border: 1px solid #d5dee8;
  border-bottom: 0;
  font-size: 12px;
  color: #4b5563;
}

.px-spot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #fff;
  box-shadow: 0 0 0 1px #d5dee8;
  color: #0b1220;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.px-spot b,
.px-spot small {
  position: relative;
  z-index: 1;
  display: block;
}

.px-spot small {
  color: #6b7280;
  font-size: 12px;
}

.px-spot i {
  position: absolute;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #c5d0dc;
}

.spot-a { width: 5.6rem; height: 5.6rem; border-radius: 50%; left: 10%; top: 16%; }
.spot-a i:nth-child(1) { left: 50%; top: -0.4rem; transform: translateX(-50%); }
.spot-a i:nth-child(2) { left: 50%; bottom: -0.4rem; transform: translateX(-50%); }
.spot-b { width: 8.2rem; height: 8.2rem; border-radius: 50%; left: 36%; top: 12%; }
.spot-b i:nth-child(1) { left: 50%; top: -0.4rem; transform: translateX(-50%); }
.spot-b i:nth-child(2) { right: -0.4rem; top: 50%; transform: translateY(-50%); }
.spot-b i:nth-child(3) { left: 50%; bottom: -0.4rem; transform: translateX(-50%); }
.spot-b i:nth-child(4) { left: -0.4rem; top: 50%; transform: translateY(-50%); }
.spot-c { width: 7rem; height: 4.6rem; border-radius: 0.55rem; right: 8%; top: 18%; background: #e7eef6; }
.spot-d { width: 12rem; height: 4.4rem; border-radius: 0.45rem; left: 12%; top: 54%; }
.spot-d i:nth-child(1) { left: 18%; top: -0.4rem; }
.spot-d i:nth-child(2) { left: 46%; top: -0.4rem; }
.spot-d i:nth-child(3) { left: 74%; top: -0.4rem; }
.spot-d i:nth-child(4) { left: 18%; bottom: -0.4rem; }
.spot-d i:nth-child(5) { left: 46%; bottom: -0.4rem; }
.spot-d i:nth-child(6) { left: 74%; bottom: -0.4rem; }
.px-spot.is-on { background: #7db5ff; color: #fff; box-shadow: none; transform: scale(1.04); }
.px-spot.is-on small { color: #0b1220; }
.px-spot.is-busy { pointer-events: none; }

.px-bar {
  position: absolute;
  right: 7%;
  bottom: 16%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.px-bar > span {
  font-size: 12px;
  color: #4b5563;
  margin-right: 0.2rem;
}

.px-bar button {
  width: 1.7rem;
  height: 1.7rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px #d5dee8;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.px-bar button.is-on {
  background: #7db5ff;
  color: #fff;
  box-shadow: none;
  transform: scale(1.08);
}

.px-gantt button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 11px;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}

.px-gantt button.is-on {
  color: #0b1220;
  background: #eaf3ff;
}

.px-phone-card {
  width: min(100%, 17.5rem);
  aspect-ratio: 9 / 19.5;
}

.px-phone-card .px-screen {
  min-height: 0;
  height: 100%;
  background: #f4f7fb;
}

.px-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.8rem;
}

.px-stamp-btn {
  width: 100%;
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: #7db5ff;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.px-history {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.px-history li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
}

.px-next-visual {
  position: relative;
  overflow: hidden;
  background: #f4f7fb;
}

.px-next-visual svg {
  display: block;
  width: 100%;
  height: 100%;
}

.px-sec.pre-enter,
.px-end.pre-enter {
  opacity: 0;
  transform: translateY(18px);
}

.px-sec.pre-enter[data-enter="left"] { transform: translateX(-28px); }
.px-sec.pre-enter[data-enter="right"] { transform: translateX(28px); }
.px-sec.pre-enter[data-enter="scale"] { transform: scale(0.97); }

.px-sec.pre-enter.is-shown,
.px-end.pre-enter.is-shown,
.px-sec.is-shown,
.px-end.is-shown {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes px-pop {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes px-row {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes px-tick {
  from { opacity: 0.35; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

@keyframes px-switch {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes px-stamp {
  0% { transform: scale(1.45); }
  55% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

@keyframes px-draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .px-sec,
  .px-end,
  .px-cta,
  .px-pay,
  .px-textbtn,
  .px-stamp-btn,
  .px-tile,
  .px-dish,
  .px-next,
  .px-next-arrow,
  .px-list,
  .px-preview,
  .px-bill li,
  .px-hold span,
  .px-stamps i,
  .px-chart i,
  .px-linechart polyline,
  .px-meter i,
  .px-spot,
  .px-bar button {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }

  .px-linechart polyline {
    stroke-dashoffset: 0;
  }

  .px-chart i {
    transform: scaleY(var(--h, 0.4));
  }

  .px-meter i {
    transform: scaleX(var(--p, 0.5));
  }
}
