:root {
  --app-height: 100dvh;
  --customer-ink: #172033;
  --customer-text: #3d485b;
  --customer-muted: #778296;
  --customer-line: #dfe4eb;
  --customer-surface: #ffffff;
  --customer-soft: #f5f7fa;
  --customer-blue: #2864dc;
  --customer-green: #15845b;
  --customer-orange: #d56a14;
  --customer-red: #c53d43;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.customer-page {
  min-height: var(--app-height);
  overflow-x: hidden;
  color: var(--customer-ink);
  background: #eef1f4;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  touch-action: manipulation;
}

body.customer-page.has-seat-dialog {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

[hidden] {
  display: none !important;
}

.customer-shell {
  width: min(100%, 430px);
  min-height: var(--app-height);
  margin: 0 auto;
  overflow-x: clip;
  background: #f7f8fa;
}

.customer-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: max(18px, env(safe-area-inset-top)) 18px 18px;
  overflow: hidden;
  color: #fff;
  background-image:
    linear-gradient(180deg, rgba(16, 22, 31, 0.16) 0%, rgba(16, 22, 31, 0.12) 46%, rgba(16, 22, 31, 0.72) 100%),
    url("/assets/login-bead-store-straight.jpg");
  background-position: center 48%;
  background-size: cover;
}

.customer-brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 40px;
  padding: 5px 8px 5px 6px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 6px;
  background: rgba(18, 24, 34, 0.38);
  backdrop-filter: blur(8px);
}

.customer-brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 6px;
  color: #2160d2;
  background: #fff;
  box-shadow: 0 4px 12px rgba(7, 13, 25, 0.16);
}

.customer-brand-mark::before {
  content: "豆";
  font-size: 15px;
  font-weight: 900;
}

.customer-brand-line > div {
  display: grid;
  gap: 1px;
}

.customer-brand-line strong {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
}

.customer-brand-line small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
}

.customer-store-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.customer-store-line > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.customer-store-line > div > span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 650;
}

.customer-store-line strong {
  overflow: hidden;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 6px;
  color: #fff;
  background: rgba(17, 23, 34, 0.38);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.status-badge.is-online {
  border-color: rgba(111, 226, 172, 0.62);
  background: rgba(12, 102, 67, 0.76);
}

.status-badge.is-offline,
.status-badge.is-warning {
  border-color: rgba(255, 184, 167, 0.66);
  background: rgba(159, 48, 54, 0.8);
}

.customer-flow {
  padding: 16px 14px max(28px, env(safe-area-inset-bottom));
}

.customer-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 15px;
  padding: 0 6px;
  list-style: none;
}

.customer-steps::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 17%;
  left: 17%;
  height: 1px;
  background: #cfd6e1;
}

.customer-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #8a94a6;
  font-size: 10px;
  font-weight: 700;
}

.customer-step b {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid #ced6e2;
  border-radius: 50%;
  color: #7d8798;
  background: #f7f8fa;
  font-size: 10px;
}

.customer-step.is-done,
.customer-step.is-active {
  color: var(--customer-blue);
}

.customer-step.is-done b {
  border-color: var(--customer-green);
  color: #fff;
  background: var(--customer-green);
}

.customer-step.is-active b {
  border-color: var(--customer-blue);
  color: #fff;
  background: var(--customer-blue);
  box-shadow: 0 0 0 4px rgba(40, 100, 220, 0.1);
}

.customer-step.is-error {
  color: var(--customer-red);
}

.customer-step.is-error b {
  border-color: var(--customer-red);
  color: #fff;
  background: var(--customer-red);
}

.customer-form {
  padding: 17px;
  border: 1px solid var(--customer-line);
  border-radius: 8px;
  background: var(--customer-surface);
  box-shadow: 0 10px 28px rgba(25, 38, 58, 0.06);
}

.customer-form-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.customer-form-head > div {
  display: grid;
  gap: 2px;
}

.customer-form-head span {
  color: var(--customer-blue);
  font-size: 10px;
  font-weight: 800;
}

.customer-form-head h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.customer-form-head p {
  max-width: 150px;
  margin: 0;
  color: var(--customer-muted);
  font-size: 10px;
  line-height: 1.45;
  text-align: right;
}

.customer-upload-button {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  color: var(--customer-ink);
  background: #f9fafc;
  text-align: left;
}

.customer-upload-button:hover,
.customer-upload-button:focus-visible {
  border-color: #9cb8ee;
  outline: 0;
  background: #f4f7fd;
}

.customer-upload-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--customer-blue);
  font-size: 20px;
  font-weight: 800;
}

.customer-upload-button > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.customer-upload-button strong {
  font-size: 13px;
  font-weight: 820;
}

.customer-upload-button small {
  overflow: hidden;
  color: var(--customer-muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-upload-arrow {
  color: #8f9bae;
  font-size: 21px;
  text-align: right;
}

.customer-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: #929cad;
  font-size: 9px;
  white-space: nowrap;
}

.customer-divider::before,
.customer-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e4e8ee;
}

.h5-code-field {
  display: grid;
  gap: 7px;
}

.h5-code-field > span:first-child {
  color: var(--customer-text);
  font-size: 11px;
  font-weight: 780;
}

.customer-code-box {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #d8e0ea;
  border-radius: 6px;
  background: #fff;
}

.customer-code-box:focus-within {
  border-color: rgba(40, 100, 220, 0.62);
  box-shadow: 0 0 0 3px rgba(40, 100, 220, 0.1);
}

.customer-ticket-mark {
  position: relative;
  width: 18px;
  height: 14px;
  border: 2px solid #8a95a8;
  border-radius: 3px;
}

.customer-ticket-mark::after {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 6px;
  border-left: 1px dashed #8a95a8;
}

.customer-platform-mark {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #2463dc;
  font-size: 11px;
  font-weight: 800;
}

#customerVoucherCode,
#customerVoucherPlatform {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  color: var(--customer-ink);
  background: transparent;
  font-size: 16px;
  font-weight: 650;
}

#customerVoucherPlatform {
  appearance: none;
  cursor: pointer;
}

#customerVoucherCode::placeholder {
  color: #a3acba;
}

.h5-main-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--customer-blue);
  font-size: 15px;
  font-weight: 850;
  box-shadow: 0 10px 20px rgba(40, 100, 220, 0.18);
}

.customer-fee-notice {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #efd2a8;
  border-radius: 8px;
  color: #7a430f;
  background: #fff8ec;
  font-size: 12px;
  line-height: 1.45;
}

.customer-fee-notice strong {
  color: #9a4d0d;
  font-size: 12px;
}

.h5-main-action:disabled,
.h5-main-action[aria-disabled="true"],
.customer-upload-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.customer-result {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  margin-top: 14px;
  padding: 10px 11px;
  border: 1px solid #e1e6ed;
  border-radius: 6px;
  background: var(--customer-soft);
}

.customer-result-indicator {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #8d98aa;
}

.customer-result-indicator::before {
  content: "·";
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.customer-result.is-working .customer-result-indicator {
  background: var(--customer-blue);
}

.customer-result.is-working .customer-result-indicator::before {
  content: "…";
  font-size: 15px;
}

.customer-result.is-success {
  border-color: #cbe7da;
  background: #f1faf6;
}

.customer-result.is-success .customer-result-indicator {
  background: var(--customer-green);
}

.customer-result.is-success .customer-result-indicator::before {
  content: "✓";
  font-size: 14px;
}

.customer-result.is-error {
  border-color: #f0d0cd;
  background: #fff6f5;
}

.customer-result.is-error .customer-result-indicator {
  background: var(--customer-red);
}

.customer-result.is-error .customer-result-indicator::before {
  content: "!";
  font-size: 14px;
}

.customer-result-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.customer-result-copy small {
  color: var(--customer-muted);
  font-size: 8px;
  font-weight: 650;
}

.customer-result-copy strong {
  color: var(--customer-ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 850;
}

.customer-result-copy p {
  margin: 2px 0 0;
  color: var(--customer-muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.customer-result.is-error .customer-result-copy p {
  color: #8f2f34;
}

.customer-countdown {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border: 1px solid #bdd1f7;
  border-radius: 50%;
  color: var(--customer-blue);
  background: #fff;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  font-weight: 900;
}

.customer-seat-launcher {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 78px;
  margin-top: 12px;
  padding: 13px 15px 13px 18px;
  overflow: hidden;
  border: 1px solid rgba(21, 132, 91, 0.22);
  border-radius: 18px;
  color: var(--customer-ink);
  background:
    radial-gradient(circle at 92% 12%, rgba(71, 193, 144, 0.14), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f3fbf7 100%);
  box-shadow: 0 14px 34px rgba(21, 92, 65, 0.1);
  text-align: left;
}

.customer-seat-launcher::before {
  position: absolute;
  inset: 13px auto 13px 0;
  width: 4px;
  content: "";
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #29a979, #72d4af);
}

.customer-seat-launcher > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.customer-seat-launcher small {
  color: var(--customer-muted);
  font-size: 9px;
  font-weight: 700;
}

.customer-seat-launcher strong {
  color: var(--customer-green);
  font-size: 22px;
  line-height: 1.05;
  font-weight: 900;
}

.customer-seat-launcher time {
  min-width: 92px;
  padding: 8px 10px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #0e7452, #159267);
  box-shadow: 0 8px 18px rgba(14, 116, 82, 0.2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: 16px;
  letter-spacing: 0.02em;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.customer-seat-launcher em {
  color: var(--customer-blue);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.customer-seat-launcher.is-warning {
  border-color: #efd3aa;
  background:
    radial-gradient(circle at 92% 12%, rgba(231, 159, 52, 0.16), transparent 36%),
    linear-gradient(135deg, #fff 0%, #fff8ed 100%);
}

.customer-seat-launcher.is-warning strong {
  color: var(--customer-orange);
}

.customer-seat-launcher.is-warning::before,
.customer-seat-launcher.is-warning time {
  background: linear-gradient(135deg, #b86b12, #e49a32);
}

.customer-seat-launcher.is-expired {
  border-color: #efcbc8;
  background:
    radial-gradient(circle at 92% 12%, rgba(211, 72, 72, 0.14), transparent 36%),
    linear-gradient(135deg, #fff 0%, #fff4f3 100%);
}

.customer-seat-launcher.is-expired strong {
  color: var(--customer-red);
}

.customer-seat-launcher.is-expired::before,
.customer-seat-launcher.is-expired time {
  background: linear-gradient(135deg, #b8363e, #d95959);
}

.customer-seat-dialog {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: max(16px, env(safe-area-inset-top)) 0 0;
}

.customer-seat-dialog[hidden] {
  display: none;
}

.customer-seat-dialog-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(12, 19, 31, 0.58);
  backdrop-filter: blur(5px);
}

.customer-seat-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: calc(var(--app-height) - max(16px, env(safe-area-inset-top)));
  margin: 0;
  padding: 30px 20px max(20px, env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid rgba(21, 132, 91, 0.12);
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(64, 191, 140, 0.14), transparent 31%),
    linear-gradient(180deg, #fff 0%, #fbfefd 100%);
  box-shadow: 0 -24px 70px rgba(12, 43, 31, 0.26);
  animation: customer-seat-dialog-in 180ms ease-out;
}

.customer-seat-dialog-panel::before {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 38px;
  height: 4px;
  content: "";
  transform: translateX(-50%);
  border-radius: 999px;
  background: #d5e5de;
}

.customer-seat-success-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #1ba474, #117453);
  box-shadow: 0 12px 28px rgba(21, 132, 91, 0.24), 0 0 0 7px rgba(56, 180, 132, 0.09);
  font-size: 24px;
  font-weight: 900;
}

.customer-seat-dialog-copy {
  text-align: center;
}

.customer-seat-dialog-copy > span {
  color: var(--customer-green);
  font-size: 11px;
  font-weight: 850;
}

.customer-seat-dialog-copy h2 {
  margin: 5px 0 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.customer-seat-dialog-copy p {
  margin: 5px 0 18px;
  color: var(--customer-muted);
  font-size: 12px;
  font-weight: 650;
}

@keyframes customer-seat-dialog-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

.customer-seat-card {
  margin-top: 12px;
  padding: 16px;
  border: 1px solid rgba(21, 132, 91, 0.18);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(21, 92, 65, 0.1);
}

.customer-seat-dialog-panel .customer-seat-head {
  padding: 17px 18px;
  border: 1px solid rgba(21, 132, 91, 0.13);
  border-radius: 16px;
  background:
    radial-gradient(circle at 90% 10%, rgba(82, 198, 151, 0.18), transparent 42%),
    linear-gradient(135deg, #eefaf4, #f9fdfb);
}

.customer-seat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.customer-seat-head span,
.customer-seat-time span {
  color: var(--customer-muted);
  font-size: 10px;
  font-weight: 650;
}

.customer-seat-head strong {
  color: var(--customer-green);
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.customer-seat-card > p {
  margin: 6px 0 13px;
  color: var(--customer-text);
  font-size: 12px;
  font-weight: 720;
}

.customer-seat-time {
  display: grid;
  grid-template-areas:
    "remaining-label end-time"
    "timer timer";
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px 12px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #dce9e3;
  border-radius: 16px;
  background: #f7fbf9;
}

.customer-seat-time::before {
  grid-area: remaining-label;
  content: "剩余时间";
  color: #405449;
  font-size: 11px;
  font-weight: 850;
}

.customer-seat-time > div {
  grid-area: end-time;
  display: grid;
  gap: 3px;
  text-align: right;
}

.customer-seat-time strong {
  font-size: 16px;
}

.customer-seat-time time {
  grid-area: timer;
  width: 100%;
  min-width: 0;
  padding: 13px 10px 14px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(96, 225, 174, 0.2), transparent 34%),
    linear-gradient(135deg, #123b2e, #0d6f50);
  box-shadow: 0 12px 26px rgba(13, 74, 54, 0.2);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-variant-numeric: tabular-nums;
  font-size: clamp(38px, 12vw, 48px);
  line-height: 1;
  letter-spacing: 0.045em;
  font-weight: 900;
  text-align: center;
}

.customer-seat-alert {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(21, 132, 91, 0.1);
  border-radius: 12px;
  color: #116846;
  background: #edf8f3;
  font-size: 11px;
  font-weight: 760;
  text-align: center;
}

.customer-seat-alert::before {
  content: "◷ ";
  font-size: 12px;
}

.customer-end-session {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  border: 1px solid #d8e0ea;
  border-radius: 6px;
  color: var(--customer-text);
  background: #fff;
  font-size: 11px;
  font-weight: 750;
}

.customer-seat-dialog-close {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--customer-blue);
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 10px 20px rgba(40, 100, 220, 0.18);
}

.customer-seat-launcher:focus-visible,
.customer-upload-button:focus-visible,
.h5-main-action:focus-visible,
.customer-seat-dialog-close:focus-visible,
.customer-end-session:focus-visible {
  outline: 3px solid rgba(40, 100, 220, 0.2);
  outline-offset: 2px;
}

@media (max-width: 400px) {
  .customer-form-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .customer-form-head p {
    max-width: none;
    font-size: 12px;
    text-align: left;
  }

  .customer-upload-button small {
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
  }

  .customer-result-copy small {
    font-size: 10px;
  }
}

.customer-seat-card.is-warning {
  border-color: #efd3aa;
}

.customer-seat-card.is-warning .customer-seat-head strong,
.customer-seat-card.is-warning .customer-seat-time::before {
  color: var(--customer-orange);
}

.customer-seat-card.is-warning .customer-seat-time time {
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 222, 151, 0.22), transparent 34%),
    linear-gradient(135deg, #784208, #b86b12);
  box-shadow: 0 12px 26px rgba(140, 79, 12, 0.2);
}

.customer-seat-card.is-warning .customer-seat-alert {
  color: #8f4a0b;
  background: #fff6e9;
}

.customer-seat-card.is-expired {
  border-color: #efcbc8;
}

.customer-seat-card.is-expired .customer-seat-head strong,
.customer-seat-card.is-expired .customer-seat-time::before {
  color: var(--customer-red);
}

.customer-seat-card.is-expired .customer-seat-time time {
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 190, 190, 0.2), transparent 34%),
    linear-gradient(135deg, #772b31, #b8363e);
  box-shadow: 0 12px 26px rgba(128, 37, 45, 0.2);
}

.customer-seat-card.is-expired .customer-seat-alert {
  color: #a72f36;
  background: #fff1f0;
}

.customer-seat-card.is-ended {
  border-color: var(--customer-line);
  opacity: 0.82;
}

.customer-seat-card.is-ended .customer-seat-alert {
  color: var(--customer-text);
  background: var(--customer-soft);
}

.customer-help {
  display: grid;
  gap: 3px;
  margin-top: 13px;
  padding: 0 2px;
  color: var(--customer-muted);
  font-size: 9px;
  line-height: 1.5;
}

.customer-help strong {
  color: var(--customer-text);
  font-size: 10px;
}

@media (max-width: 340px) {
  .customer-flow {
    padding-right: 10px;
    padding-left: 10px;
  }

  .customer-form {
    padding: 14px;
  }

  .customer-form-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .customer-form-head p {
    max-width: none;
    text-align: left;
  }

  .customer-upload-button small {
    white-space: normal;
  }

  .customer-seat-dialog-panel {
    padding-right: 16px;
    padding-left: 16px;
  }

  .customer-seat-time time {
    font-size: 36px;
  }

  .customer-seat-launcher {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .customer-seat-launcher em {
    display: none;
  }
}

@media (min-width: 700px) {
  body.customer-page {
    display: flex;
    justify-content: center;
    min-height: max(var(--app-height), 860px);
    padding: 22px 0;
  }

  .customer-shell {
    min-height: 820px;
    border: 1px solid #d8dde5;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(25, 38, 58, 0.16);
  }

  .customer-seat-dialog {
    align-items: center;
    padding: 24px;
  }

  .customer-seat-dialog-panel {
    max-height: min(720px, calc(100vh - 48px));
    border-radius: 20px;
  }
}

/* Customer self service. Loaded after customer-human.css. */
:root {
  --customer-ink: #17263d;
  --customer-text: #354760;
  --customer-muted: #718198;
  --customer-line: #e4e9f0;
  --customer-surface: #fff;
  --customer-soft: #f5f7fa;
  --customer-blue: #2468d9;
  --customer-blue-dark: #1855bc;
  --customer-blue-soft: #edf4ff;
  --customer-green: #16805c;
  --customer-orange: #ad691f;
  --customer-red: #bf4b50;
  --customer-shadow: 0 4px 20px rgba(30, 54, 87, .045);
}

body.customer-page {
  color: var(--customer-ink);
  background: #eef1f5;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.customer-page .customer-shell {
  width: min(100%, 430px);
  min-height: var(--app-height);
  background: #f7f8fa;
}

body.customer-page [hidden] { display: none !important; }

button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

/* Store identity stays visible while the customer moves between services. */
body.customer-page .customer-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  min-height: 0;
  padding: max(18px, env(safe-area-inset-top)) 20px 19px;
  border-bottom: 1px solid #e9edf2;
  color: var(--customer-ink);
  background: #fff;
}

body.customer-page .customer-brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--customer-ink);
  background: transparent;
  backdrop-filter: none;
}

body.customer-page .customer-brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #fff;
  background: var(--customer-blue);
  box-shadow: none;
}

body.customer-page .customer-brand-mark::before {
  width: 14px;
  height: 16px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 3px;
  font-size: 0;
  box-shadow: inset -4px 0 0 rgba(255,255,255,.18);
}

body.customer-page .customer-brand-mark::after {
  position: absolute;
  top: 19px;
  right: 10px;
  width: 3px;
  height: 3px;
  content: "";
  border-radius: 50%;
  background: #fff;
}

body.customer-page .customer-brand-line strong {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 760;
}

body.customer-page .customer-brand-line small {
  margin-top: 2px;
  color: var(--customer-muted);
  font-size: 11px;
  line-height: 1.25;
}

body.customer-page .customer-store-line {
  align-items: center;
  gap: 10px;
}

body.customer-page .customer-store-line > div { flex: 1 1 auto; min-width: 0; }
body.customer-page .customer-store-line > div > span {
  color: var(--customer-muted);
  font-size: 11px;
  font-weight: 550;
}
body.customer-page .customer-store-line strong {
  color: var(--customer-ink);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 800;
}
body.customer-page .status-badge {
  flex: 0 0 auto;
  max-width: 44%;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #dbe6f7;
  border-radius: 999px;
  color: #426da7;
  background: #f1f6fd;
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}
body.customer-page .status-badge::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  content: "";
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
}
body.customer-page .status-badge.is-online {
  border-color: #cde8dc;
  color: var(--customer-green);
  background: #edf9f2;
}
body.customer-page .status-badge.is-offline,
body.customer-page .status-badge.is-warning {
  border-color: #efd9d8;
  color: var(--customer-red);
  background: #fff3f2;
}

body.customer-page .customer-flow {
  min-height: 0;
  padding: 23px 18px max(40px, env(safe-area-inset-bottom));
  background: #f7f8fa;
}

/* Home: two ways to start, then purchase and in-store tools. */
.customer-home-heading,
.customer-panel-heading { padding: 0 1px; }
.customer-eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--customer-blue);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .045em;
}
.customer-home-heading h1,
.customer-panel-heading h1 {
  margin: 0;
  color: var(--customer-ink);
  font-size: clamp(26px, 7vw, 30px);
  line-height: 1.18;
  letter-spacing: -.035em;
  font-weight: 840;
}
.customer-home-heading p,
.customer-panel-heading p {
  margin: 8px 0 0;
  color: var(--customer-muted);
  font-size: 13px;
  line-height: 1.55;
}

.customer-home-seat-shortcut {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr) auto 10px;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 70px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid #cbdffb;
  border-radius: 16px;
  color: var(--customer-ink);
  background: #eaf3ff;
  text-align: left;
}
.customer-home-seat-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: var(--customer-blue);
  background: #fff;
  font-size: 21px;
}
.customer-home-seat-copy { display: grid; min-width: 0; gap: 2px; }
.customer-home-seat-copy small { color: var(--customer-muted); font-size: 11px; }
.customer-home-seat-copy strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.customer-home-seat-shortcut time { color: var(--customer-blue); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.customer-home-seat-arrow { color: #8aa5c9; font-size: 20px; }
.customer-home-seat-shortcut.is-warning { border-color: #efd9b9; background: #fff7ea; }
.customer-home-seat-shortcut.is-warning time { color: var(--customer-orange); }
.customer-home-seat-shortcut.is-expired { border-color: #efd2d3; background: #fff3f2; }
.customer-home-seat-shortcut.is-expired time { color: var(--customer-red); }

.customer-service-menu { display: grid; gap: 24px; margin-top: 23px; }
.customer-menu-group { display: grid; gap: 10px; }
.customer-menu-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 2px; }
.customer-menu-group-heading h2 {
  margin: 0;
  color: var(--customer-text);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
}
.customer-menu-group-heading small { color: var(--customer-muted); font-size: 11px; line-height: 1.3; text-align: right; }
.customer-menu-items { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.customer-service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 128px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid var(--customer-line);
  border-radius: 17px;
  color: var(--customer-ink);
  background: #fff;
  box-shadow: var(--customer-shadow);
  text-align: left;
  transition: transform .16s ease, border-color .16s ease;
}
.customer-service-tile:active { transform: scale(.985); }
.customer-service-tile::after {
  position: absolute;
  top: 17px;
  right: 15px;
  content: "›";
  color: #9aaaBD;
  font-size: 24px;
  line-height: 1;
}
.customer-service-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  margin-bottom: auto;
  border-radius: 10px;
  color: var(--customer-blue);
  background: var(--customer-blue-soft);
  font-size: 17px;
  font-weight: 800;
}
.customer-service-tile strong {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 820;
}
.customer-service-tile small {
  display: block;
  margin-top: 4px;
  color: var(--customer-muted);
  font-size: 11px;
  line-height: 1.35;
}
.customer-menu-group[data-group="use"] .customer-service-tile--voucher {
  border-color: #bad4f8;
  background: #edf4ff;
}
.customer-menu-group[data-group="use"] .customer-service-tile--voucher .customer-service-icon {
  color: #fff;
  background: var(--customer-blue);
}
.customer-menu-group[data-group="package"] .customer-service-tile {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 14px;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 13px;
  min-height: 82px;
  padding: 15px 17px;
}
.customer-menu-group[data-group="package"] .customer-service-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 42px;
  height: 42px;
  margin: 0;
}
.customer-menu-group[data-group="package"] .customer-service-tile strong { grid-column: 2; grid-row: 1; margin: 0; }
.customer-menu-group[data-group="package"] .customer-service-tile small { grid-column: 2; grid-row: 2; margin-top: 3px; }
.customer-menu-group[data-group="package"] .customer-service-tile::after { top: 28px; }
.customer-menu-group[data-group="package"] .customer-service-tile--purchase {
  border-color: var(--customer-blue);
  color: #fff;
  background: var(--customer-blue);
  box-shadow: 0 9px 22px rgba(36, 104, 217, .16);
}
.customer-menu-group[data-group="package"] .customer-service-tile--purchase .customer-service-icon {
  color: var(--customer-blue);
  background: #fff;
}
.customer-menu-group[data-group="package"] .customer-service-tile--purchase small,
.customer-menu-group[data-group="package"] .customer-service-tile--purchase::after { color: #dceaff; }
.customer-menu-group[data-group="onsite"] .customer-service-tile { min-height: 104px; box-shadow: none; }
.customer-menu-group[data-group="onsite"] .customer-service-tile strong { margin-top: 10px; font-size: 14px; }
.customer-menu-group[data-group="onsite"] .customer-service-tile small { font-size: 10px; }
.customer-home-note { display: none; }

/* Shared panel structure. */
.customer-back-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -8px 0 15px -5px;
  padding: 0 5px;
  border: 0;
  color: var(--customer-blue);
  background: transparent;
  font-size: 13px;
  font-weight: 750;
}
.customer-back-button span { margin-right: 4px; font-size: 27px; line-height: 1; }
.customer-panel-heading { margin-bottom: 20px; }
.customer-service-panel { min-width: 0; }
.customer-service-panel > section,
.customer-service-panel > form { min-width: 0; }
.customer-service-panel .h5-main-action,
.customer-service-panel button:not(.customer-back-button) { min-height: 44px; }
.h5-main-action,
body.customer-page .h5-main-action {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 10px 16px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--customer-blue);
  box-shadow: none;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
}
body.customer-page .h5-main-action:active { background: var(--customer-blue-dark); }
.h5-main-action:disabled,
.h5-main-action[aria-disabled="true"] { opacity: .48; }

body.customer-page .customer-form,
.customer-pass-lookup,
.customer-pass-card,
.customer-catalog,
.customer-purchase-catalog,
.customer-purchase-confirm,
.customer-purchase-status,
.customer-empty-seat,
.customer-help-card {
  border: 1px solid var(--customer-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--customer-shadow);
}

/* Voucher redemption. */
body.customer-page .customer-steps { margin: 0 0 18px; }
body.customer-page .customer-steps::before { background: #dce3ec; }
body.customer-page .customer-step { color: var(--customer-muted); font-size: 11px; }
body.customer-page .customer-step b { width: 28px; height: 28px; border-color: #d9e1eb; background: #fff; font-size: 11px; }
body.customer-page .customer-step.is-done { color: var(--customer-green); }
body.customer-page .customer-step.is-done b { border-color: var(--customer-green); color: #fff; background: var(--customer-green); }
body.customer-page .customer-step.is-active { color: var(--customer-blue); }
body.customer-page .customer-step.is-active b { border-color: var(--customer-blue); color: #fff; background: var(--customer-blue); box-shadow: none; }
body.customer-page .customer-step.is-error { color: var(--customer-red); }
body.customer-page .customer-step.is-error b { border-color: var(--customer-red); color: #fff; background: var(--customer-red); }
body.customer-page .customer-form { padding: 19px; }
body.customer-page .customer-form-head { display: block; margin-bottom: 17px; }
body.customer-page .customer-form-head span { color: var(--customer-blue); font-size: 11px; }
body.customer-page .customer-form-head h2 { margin: 3px 0 0; font-size: 18px; line-height: 1.25; }
body.customer-page .customer-form-head p { max-width: none; margin: 5px 0 0; color: var(--customer-muted); font-size: 12px; text-align: left; }
body.customer-page .customer-upload-button {
  grid-template-columns: 40px minmax(0,1fr) 15px;
  min-height: 74px;
  border-color: #d9e5f4;
  border-radius: 13px;
  background: #f5f9ff;
}
body.customer-page .customer-upload-icon { border-radius: 11px; background: var(--customer-blue); }
body.customer-page .customer-upload-button strong { font-size: 14px; }
body.customer-page .customer-upload-button small { font-size: 11px; line-height: 1.3; white-space: normal; }
body.customer-page .customer-divider { margin: 18px 0; font-size: 11px; }
body.customer-page .h5-code-field { margin-bottom: 13px; }
body.customer-page .h5-code-field > span:first-child { font-size: 12px; }
body.customer-page .customer-code-box { min-height: 50px; border-color: #d9e1ec; border-radius: 12px; }
body.customer-page .customer-code-box:focus-within { border-color: var(--customer-blue); box-shadow: 0 0 0 3px rgba(36,104,217,.12); }
body.customer-page #customerVoucherCode,
body.customer-page #customerVoucherPlatform { height: 48px; font-size: 16px; }
body.customer-page .customer-result { min-height: 68px; margin-top: 17px; border-radius: 12px; background: #f6f8fb; }
body.customer-page .customer-result-copy small { font-size: 11px; }
body.customer-page .customer-result-copy strong { font-size: 14px; }
body.customer-page .customer-result-copy p { font-size: 12px; }

/* Existing pass and store catalog. */
.customer-pass-lookup,
.customer-pass-card,
.customer-catalog { padding: 19px; }
.customer-pass-lookup label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 800; }
.customer-pass-entry { display: flex; gap: 6px; }
.customer-pass-entry input {
  width: 100%;
  min-width: 0;
  height: 49px;
  padding: 0 11px;
  border: 1px solid #d9e2ed;
  border-radius: 11px;
  outline: 0;
  color: var(--customer-ink);
  background: #fff;
  font-size: 16px;
}
.customer-pass-entry input:focus { border-color: var(--customer-blue); box-shadow: 0 0 0 3px rgba(36,104,217,.12); }
.customer-pass-entry input::placeholder { color: #9aa8b9; }
.customer-pass-entry button {
  flex: 0 0 52px;
  min-height: 49px;
  padding: 0 6px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--customer-blue);
  font-size: 13px;
  font-weight: 780;
}
.customer-pass-entry .customer-pass-token-toggle {
  flex-basis: 47px;
  border: 1px solid #d4e1f2;
  color: var(--customer-blue);
  background: #fff;
}
.customer-pass-lookup p,
.customer-pass-use-note { margin: 10px 0 0; color: var(--customer-muted); font-size: 12px; line-height: 1.5; }
.customer-pass-forget {
  min-height: 44px;
  margin-top: 1px;
  padding: 8px 0;
  border: 0;
  color: var(--customer-blue);
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  text-align: left;
}
.customer-pass-state {
  margin: 14px 0;
  padding: 12px 13px;
  border: 1px solid #dbe6f6;
  border-radius: 11px;
  color: #42658f;
  background: #f1f6fd;
  font-size: 12px;
  line-height: 1.5;
}
.customer-pass-state.is-error { border-color: #efd5d4; color: #9e3d43; background: #fff2f1; }
.customer-pass-state.is-success { border-color: #cce8d9; color: var(--customer-green); background: #f0faf4; }
.customer-pass-card { margin-top: 14px; background: #fff; }
#customerPassPanel[data-phase="ready"] { display: flex; flex-direction: column; }
#customerPassPanel[data-phase="ready"] .customer-pass-lookup { display: none; }
#customerPassPanel[data-phase="ready"] .customer-pass-card { order: 1; margin-top: 0; }
#customerPassPanel[data-phase="ready"] .customer-pass-state { order: 2; }
#customerPassPanel[data-phase="ready"] .customer-pass-state:not(.is-error) { display: none; }
#customerPassPanel[data-phase="ready"] .customer-catalog { order: 3; }
#customerPassPanel[data-phase="change"] .customer-pass-lookup { display: block; }
.customer-pass-card-top,
.customer-pass-meta { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.customer-pass-card-top { color: var(--customer-muted); font-size: 12px; font-weight: 650; }
.customer-pass-card-top span:last-child { padding: 5px 9px; border-radius: 999px; color: var(--customer-green); background: #eaf8f0; font-size: 11px; }
.customer-pass-card h2 { margin: 13px 0 8px; font-size: 20px; line-height: 1.3; }
.customer-pass-balance { display: flex; align-items: baseline; gap: 5px; padding-bottom: 15px; border-bottom: 1px solid var(--customer-line); }
.customer-pass-balance strong { color: var(--customer-blue); font-size: 48px; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.customer-pass-balance span { color: var(--customer-muted); font-size: 13px; }
.customer-pass-meta { margin-top: 15px; color: var(--customer-muted); font-size: 13px; }
.customer-pass-meta strong { color: var(--customer-ink); }
.customer-pass-card .h5-main-action { margin-top: 20px; }
.customer-status-refresh,
.customer-catalog-contact {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid #d4e2f4;
  border-radius: 11px;
  color: var(--customer-blue);
  background: #fff;
  font-size: 13px;
  font-weight: 780;
}
.customer-pass-switch-button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  padding: 8px 10px;
  border: 0;
  color: var(--customer-muted);
  background: transparent;
  font-size: 12px;
  font-weight: 680;
}
.customer-catalog-contact span { font-size: 20px; line-height: 1; }
.customer-catalog { margin-top: 18px; }
.customer-catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.customer-catalog-head .customer-eyebrow { margin-bottom: 3px; }
.customer-catalog-head h2 { margin: 0; font-size: 17px; line-height: 1.3; }
.customer-catalog-head > small { color: var(--customer-muted); font-size: 11px; line-height: 1.3; text-align: right; }
.customer-catalog-list { display: grid; gap: 10px; margin-top: 16px; }
.customer-catalog-empty { margin: 0; padding: 18px 13px; border-radius: 11px; color: var(--customer-muted); background: var(--customer-soft); font-size: 13px; line-height: 1.5; }
.customer-catalog-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 5px 10px;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--customer-line);
  border-radius: 13px;
  background: #fff;
}
.customer-catalog-item strong { min-width: 0; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.customer-catalog-item small { grid-column: 1; color: var(--customer-muted); font-size: 12px; line-height: 1.35; }
.customer-catalog-item b { grid-column: 2; grid-row: 1 / span 2; color: var(--customer-ink); font-size: 18px; line-height: 1.2; white-space: nowrap; }
.customer-catalog-contact { margin-top: 13px; }

/* Offline purchase: selection is a shop view; pending is a handoff view. */
#customerPurchasePanel { display: flex; flex-direction: column; }
.customer-purchase-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -3px 0 15px;
  padding: 12px 13px;
  border: 1px solid #d9e5f5;
  border-radius: 12px;
  color: #405f87;
  background: #f0f6ff;
}
.customer-purchase-notice > span { display: grid; flex: 0 0 20px; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #fff; background: var(--customer-blue); font-size: 12px; font-weight: 800; }
.customer-purchase-notice p { margin: 0; font-size: 12px; line-height: 1.5; }
.customer-purchase-catalog,
.customer-purchase-confirm,
.customer-purchase-status { padding: 19px; }
.customer-purchase-catalog .customer-catalog-head { margin-bottom: 2px; }
.customer-purchase-catalog .customer-catalog-item { min-height: 94px; padding: 16px; }
.customer-purchase-item { width: 100%; cursor: pointer; text-align: left; }
.customer-purchase-item b { grid-column: 1; grid-row: 3; margin-top: 7px; color: var(--customer-ink); font-size: 20px; }
.customer-purchase-selector { display: grid; grid-column: 2; grid-row: 1 / span 3; width: 22px; height: 22px; place-items: center; border: 1.5px solid #bdc9d8; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 850; }
.customer-purchase-item[aria-pressed="true"] { border-color: #83b1ef; background: #f4f8ff; box-shadow: 0 0 0 2px rgba(36,104,217,.08); }
.customer-purchase-item[aria-pressed="true"] .customer-purchase-selector { border-color: var(--customer-blue); background: var(--customer-blue); }
.customer-purchase-item:disabled { cursor: not-allowed; opacity: .66; }
.customer-purchase-confirm { display: grid; gap: 8px; margin-top: 14px; }
.customer-purchase-confirm > strong { font-size: 20px; line-height: 1.3; }
.customer-purchase-confirm > p { margin: 0; color: var(--customer-muted); font-size: 13px; }
.customer-purchase-confirm > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 7px 0 2px;
  padding: 14px 0;
  border-top: 1px solid var(--customer-line);
  border-bottom: 1px solid var(--customer-line);
  color: var(--customer-muted);
  font-size: 12px;
}
.customer-purchase-confirm > div b { color: var(--customer-ink); font-size: 23px; line-height: 1; }
.customer-purchase-confirm > small { color: var(--customer-muted); font-size: 12px; line-height: 1.5; }
.customer-purchase-feedback { margin: 0; padding: 11px 12px; border-radius: 10px; color: #3c618f; background: #eff5ff; font-size: 12px; line-height: 1.5; }
.customer-purchase-feedback.is-error { color: #9e3d43; background: #fff1f0; }

#customerPurchasePanel[data-phase="pending"] .customer-purchase-notice,
#customerPurchasePanel[data-phase="pending"] .customer-purchase-catalog,
#customerPurchasePanel[data-phase="pending"] .customer-purchase-confirm,
#customerPurchasePanel[data-phase="confirmed"] .customer-purchase-notice,
#customerPurchasePanel[data-phase="confirmed"] .customer-purchase-catalog,
#customerPurchasePanel[data-phase="confirmed"] .customer-purchase-confirm,
#customerPurchasePanel[data-phase="rejected"] .customer-purchase-notice,
#customerPurchasePanel[data-phase="rejected"] .customer-purchase-catalog,
#customerPurchasePanel[data-phase="rejected"] .customer-purchase-confirm,
#customerPurchasePanel[data-phase="unknown"] .customer-purchase-notice,
#customerPurchasePanel[data-phase="unknown"] .customer-purchase-catalog,
#customerPurchasePanel[data-phase="unknown"] .customer-purchase-confirm { display: none; }

.customer-purchase-status { display: grid; gap: 13px; }
.customer-purchase-status h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.customer-purchase-status > p { margin: -4px 0 2px; color: var(--customer-muted); font-size: 13px; line-height: 1.55; }
.customer-purchase-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
  margin: 3px 0 4px;
  padding: 0;
  list-style: none;
}
.customer-purchase-progress-step {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 12px;
  border-top: 3px solid #e2e7ee;
  color: var(--customer-muted);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 650;
}
.customer-purchase-progress-step b { display: grid; flex: 0 0 18px; width: 18px; height: 18px; place-items: center; border: 1px solid #cfd8e4; border-radius: 50%; font-size: 10px; line-height: 1; }
.customer-purchase-progress-step.is-done { border-top-color: var(--customer-green); color: var(--customer-green); }
.customer-purchase-progress-step.is-active { border-top-color: var(--customer-blue); color: var(--customer-blue); font-weight: 800; }
.customer-purchase-progress-step.is-active b { border-color: var(--customer-blue); color: #fff; background: var(--customer-blue); }
.customer-purchase-progress-step.is-done b { border-color: var(--customer-green); color: #fff; background: var(--customer-green); }
.customer-purchase-progress-step.is-error { border-top-color: var(--customer-red); color: var(--customer-red); }
.customer-purchase-progress-step.is-error b { border-color: var(--customer-red); color: #fff; background: var(--customer-red); }
.customer-purchase-short-code {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 21px 13px;
  border: 1px solid #c5dbf7;
  border-radius: 14px;
  background: #f0f6ff;
}
.customer-purchase-short-code span { color: #547198; font-size: 12px; }
.customer-purchase-short-code strong { color: var(--customer-blue); font-size: clamp(28px, 8vw, 34px); line-height: 1.2; letter-spacing: .18em; text-indent: .18em; font-variant-numeric: tabular-nums; font-weight: 850; }
.customer-purchase-status-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 1px; border-bottom: 1px solid var(--customer-line); font-size: 13px; }
.customer-purchase-status-summary span { color: var(--customer-text); }
.customer-purchase-status-summary strong { color: var(--customer-ink); font-size: 16px; }
.customer-purchase-status .customer-status-refresh,
.customer-purchase-status .customer-catalog-contact { min-height: 44px; margin: 0; }
.customer-purchase-status .customer-status-refresh { border: 0; color: var(--customer-blue); background: transparent; }
.customer-purchase-status .customer-catalog-contact { border-color: #d6e2f2; background: #fff; }
.customer-purchase-status .h5-main-action { margin-top: 0; }
.customer-purchase-again { width: 100%; min-height: 44px; padding: 8px 10px; border: 0; color: var(--customer-blue); background: transparent; font-size: 13px; font-weight: 750; }
#customerPurchasePanel[data-phase="confirmed"] .customer-purchase-status { border-color: #cae6d8; }
#customerPurchasePanel[data-phase="confirmed"] .customer-purchase-short-code { border-color: #cce8db; background: #f0faf4; }
#customerPurchasePanel[data-phase="confirmed"] .customer-purchase-short-code strong { color: var(--customer-green); }
#customerPurchasePanel[data-phase="rejected"] .customer-purchase-status { border-color: #efd8d7; }
#customerPurchasePanel[data-phase="rejected"] .customer-purchase-short-code { border-color: #efd8d7; background: #fff3f2; }
#customerPurchasePanel[data-phase="rejected"] .customer-purchase-short-code strong { color: var(--customer-red); }

.customer-field-label { color: var(--customer-muted); font-size: 12px; font-weight: 670; }

/* Seat status, help and session sheet. */
body.customer-page .customer-seat-launcher {
  grid-template-columns: minmax(0,1fr) auto auto;
  min-height: 79px;
  margin-top: 0;
  padding: 14px 15px;
  border: 1px solid #d8e6f8;
  border-radius: 17px;
  background: #fff;
  box-shadow: var(--customer-shadow);
}
body.customer-page .customer-seat-launcher::before { background: var(--customer-blue); }
body.customer-page .customer-seat-launcher small { font-size: 11px; }
body.customer-page .customer-seat-launcher strong { color: var(--customer-blue); font-size: 22px; }
body.customer-page .customer-seat-launcher time { min-width: 91px; padding: 8px 10px; border-radius: 10px; background: var(--customer-blue); box-shadow: none; font-size: 15px; }
body.customer-page .customer-seat-launcher em { font-size: 11px; }
body.customer-page .customer-seat-launcher.is-warning { border-color: #efdbbe; background: #fff9f0; }
body.customer-page .customer-seat-launcher.is-warning::before,
body.customer-page .customer-seat-launcher.is-warning time { background: var(--customer-orange); }
body.customer-page .customer-seat-launcher.is-warning strong { color: var(--customer-orange); }
body.customer-page .customer-seat-launcher.is-expired { border-color: #efd5d5; background: #fff5f4; }
body.customer-page .customer-seat-launcher.is-expired::before,
body.customer-page .customer-seat-launcher.is-expired time { background: var(--customer-red); }
body.customer-page .customer-seat-launcher.is-expired strong { color: var(--customer-red); }
.customer-empty-seat { display: grid; justify-items: center; padding: 36px 20px; text-align: center; }
.customer-empty-seat > span { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 15px; border-radius: 17px; color: var(--customer-blue); background: var(--customer-blue-soft); font-size: 26px; }
.customer-empty-seat strong { font-size: 16px; }
.customer-empty-seat p { max-width: 235px; margin: 8px 0 0; color: var(--customer-muted); font-size: 13px; line-height: 1.55; }
.customer-help-card { display: grid; justify-items: center; padding: 32px 22px 22px; text-align: center; }
.customer-help-illustration { display: grid; width: 60px; height: 60px; place-items: center; margin-bottom: 16px; border-radius: 18px; color: var(--customer-blue); background: var(--customer-blue-soft); font-size: 28px; }
.customer-help-card strong { font-size: 17px; }
.customer-help-card p { margin: 8px 0 2px; color: var(--customer-muted); font-size: 13px; line-height: 1.55; }
.customer-help-card .h5-main-action { margin-top: 22px; }
#customerHelpStatus { width: 100%; min-height: 16px; margin-top: 12px; color: #4b688c; font-size: 12px; line-height: 1.5; }
#customerHelpStatus.is-error { color: var(--customer-red); }

.customer-seat-dialog { align-items: end; padding: max(16px, env(safe-area-inset-top)) 0 0; }
.customer-seat-dialog-backdrop { background: rgba(17,29,49,.52); backdrop-filter: blur(5px); }
.customer-seat-dialog-panel {
  width: min(100%,430px);
  max-height: calc(var(--app-height) - max(16px, env(safe-area-inset-top)));
  margin: 0;
  padding: 29px 20px max(20px, env(safe-area-inset-bottom));
  border: 0;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: 0 -16px 55px rgba(18,39,68,.2);
}
.customer-seat-dialog-panel::before { background: #d7dee8; }
.customer-seat-success-icon { width: 55px; height: 55px; margin: 0 auto 13px; color: var(--customer-blue); background: var(--customer-blue-soft); box-shadow: none; }
.customer-seat-dialog-copy > span { color: var(--customer-blue); font-size: 12px; }
.customer-seat-dialog-copy h2 { font-size: 23px; }
.customer-seat-dialog-copy p { margin: 7px 0 18px; font-size: 13px; }
.customer-seat-dialog-panel .customer-seat-head { padding: 18px; border: 1px solid #d7e6f9; border-radius: 16px; background: #f2f7ff; }
.customer-seat-head span,
.customer-seat-time span { font-size: 12px; }
.customer-seat-head strong { color: var(--customer-blue); font-size: 39px; }
.customer-seat-time { margin-top: 13px; padding: 14px; border: 1px solid #d9e6f7; border-radius: 15px; background: #f8fbff; }
.customer-seat-time::before { color: var(--customer-text); font-size: 12px; }
.customer-seat-time strong { font-size: 15px; }
.customer-seat-time time { padding: 13px 8px; border-radius: 12px; background: var(--customer-blue); box-shadow: none; font-size: clamp(34px, 11vw, 46px); }
.customer-seat-alert { margin-top: 12px; padding: 11px 12px; border: 1px solid #d9e6f7; border-radius: 11px; color: #3b6394; background: #f1f6ff; font-size: 12px; }
.customer-seat-dialog-close { min-height: 50px; margin-top: 14px; border-radius: 12px; background: var(--customer-blue); box-shadow: none; font-size: 15px; }
.customer-end-session { min-height: 46px; margin-top: 9px; border: 0; border-radius: 11px; color: var(--customer-muted); background: transparent; font-size: 13px; }
.customer-seat-card.is-warning .customer-seat-head strong,
.customer-seat-card.is-warning .customer-seat-time::before { color: var(--customer-orange); }
.customer-seat-card.is-warning .customer-seat-time time { background: var(--customer-orange); box-shadow: none; }
.customer-seat-card.is-warning .customer-seat-alert { color: #8b5c20; background: #fff8ec; }
.customer-seat-card.is-expired .customer-seat-head strong,
.customer-seat-card.is-expired .customer-seat-time::before { color: var(--customer-red); }
.customer-seat-card.is-expired .customer-seat-time time { background: var(--customer-red); box-shadow: none; }
.customer-seat-card.is-expired .customer-seat-alert { color: #a23e45; background: #fff3f2; }
.customer-seat-card.is-ended .customer-seat-alert { color: var(--customer-text); background: var(--customer-soft); }

/* Keyboard and responsive behavior. */
body.customer-page button:focus-visible,
body.customer-page input:focus-visible,
body.customer-page select:focus-visible { outline: 3px solid rgba(36,104,217,.28); outline-offset: 2px; }
@media (max-width: 350px) {
  body.customer-page .customer-hero { padding-right: 15px; padding-left: 15px; }
  body.customer-page .customer-flow { padding-right: 13px; padding-left: 13px; }
  .customer-service-tile { padding: 13px; }
  .customer-service-tile strong { font-size: 14px; }
  .customer-service-tile small { font-size: 10px; }
  .customer-menu-group[data-group="package"] .customer-service-tile { padding: 13px; }
  .customer-pass-entry button { flex-basis: 48px; }
  .customer-pass-entry .customer-pass-token-toggle { flex-basis: 43px; }
  .customer-pass-entry input { padding: 0 8px; }
  body.customer-page .customer-seat-launcher { grid-template-columns: minmax(0,1fr) auto; }
  body.customer-page .customer-seat-launcher em { display: none; }
}
@media (min-width: 700px) {
  body.customer-page { display: flex; justify-content: center; min-height: max(var(--app-height),860px); padding: 22px 0; }
  body.customer-page .customer-shell { min-height: 820px; border: 1px solid #dce2ea; border-radius: 20px; box-shadow: 0 22px 70px rgba(21,37,57,.12); }
  body.customer-page .customer-hero { border-radius: 20px 20px 0 0; }
  .customer-seat-dialog { align-items: center; padding: 24px; }
  .customer-seat-dialog-panel { max-height: min(720px, calc(100vh - 48px)); border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .customer-service-tile { transition: none; }
  .customer-seat-dialog-panel { animation: none; }
}

/* Unmanned bead shop: a warm, colorful layer over the customer flow. */
:root {
  --customer-ink: #1c2942;
  --customer-text: #34415b;
  --customer-muted: #66728a;
  --customer-line: #e8e3da;
  --customer-surface: #fff;
  --customer-soft: #fff9ef;
  --customer-blue: #3677d9;
  --customer-blue-dark: #245eb8;
  --customer-blue-soft: #eaf3ff;
  --customer-green: #198365;
  --customer-orange: #a96a1d;
  --customer-red: #bf4d4d;
  --customer-shadow: 0 8px 25px rgba(64, 54, 67, .055);
  --bead-coral: #ce514c;
  --bead-coral-light: #fff0e9;
  --bead-mint: #198365;
  --bead-mint-light: #e8f8f0;
  --bead-violet: #6955bf;
  --bead-violet-light: #f1edff;
  --bead-honey: #a96a1d;
  --bead-honey-light: #fff5df;
}

body.customer-page { background: #eee9e3; }
body.customer-page .customer-shell { background: #fffcf7; }
body.customer-page .customer-hero {
  position: relative;
  gap: 16px;
  padding-bottom: 20px;
  overflow: hidden;
  border-bottom-color: #f2dfd1;
  background: #fff4e9;
}
body.customer-page .customer-hero::after {
  position: absolute;
  top: 17px;
  right: 24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: #f36f62;
  box-shadow: 11px 0 #f5bc45, 22px 0 #4c8cf0,
    0 11px #2dbf9b, 11px 11px #8b79e8, 22px 11px #f36f62,
    0 22px #f5bc45, 11px 22px #4c8cf0, 22px 22px #2dbf9b;
  opacity: .5;
  pointer-events: none;
}
body.customer-page .customer-brand-line { position: relative; z-index: 1; }
body.customer-page .customer-brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid #f1d9ce;
  border-radius: 12px;
  color: transparent;
  background: #fff;
  box-shadow: 0 4px 10px rgba(186, 103, 87, .08);
}
body.customer-page .customer-brand-mark::before {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 6px;
  height: 6px;
  border: 0;
  border-radius: 50%;
  content: "";
  background: #f36f62;
  box-shadow: 10px 0 #f5bc45, 20px 0 #4c8cf0,
    0 10px #2dbf9b, 10px 10px #8b79e8, 20px 10px #f36f62,
    0 20px #f5bc45, 10px 20px #4c8cf0, 20px 20px #2dbf9b;
}
body.customer-page .customer-brand-mark::after { content: none; }
body.customer-page .customer-brand-line strong { font-size: 15px; letter-spacing: -.02em; }
body.customer-page .customer-brand-line small { color: #886e68; font-size: 11px; }
body.customer-page .customer-store-line > div > span { color: #8e7770; }
body.customer-page .customer-store-line strong { font-size: 20px; }
body.customer-page .status-badge {
  border-color: #f1d7c6;
  color: #925847;
  background: #fffaf2;
}
body.customer-page .customer-flow { padding-top: 18px; background: #fffcf7; }

.customer-home-heading {
  position: relative;
  min-height: 123px;
  padding: 21px 20px;
  overflow: hidden;
  border: 1px solid #f2d8ca;
  border-radius: 21px;
  background: #fff0e7;
}
.customer-home-heading::after {
  position: absolute;
  right: 27px;
  bottom: 24px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  content: "";
  background: #f36f62;
  box-shadow: 20px 0 #f5bc45, 40px 0 #4c8cf0,
    0 -20px #2dbf9b, 20px -20px #8b79e8, 40px -20px #f36f62;
  opacity: .82;
}
.customer-home-heading > * { position: relative; z-index: 1; }
.customer-home-heading .customer-eyebrow { color: var(--bead-coral); }
.customer-home-heading h1 { max-width: 75%; font-size: clamp(25px, 6.8vw, 29px); }
.customer-home-heading p { max-width: 74%; color: #745d5d; }
.customer-service-menu { gap: 20px; margin-top: 22px; }
.customer-menu-group-heading { align-items: center; }
.customer-menu-group-heading h2 { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.customer-menu-group-heading h2::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--bead-violet);
}
.customer-menu-group[data-group="package"] .customer-menu-group-heading h2::before { background: var(--bead-coral); }
.customer-menu-group[data-group="onsite"] .customer-menu-group-heading h2::before { background: var(--customer-blue); }
.customer-menu-group-heading small { color: #8b8790; }
.customer-service-tile { border-radius: 19px; box-shadow: 0 7px 18px rgba(54, 43, 64, .055); }
.customer-service-tile::after { color: currentColor; opacity: .5; }
.customer-service-tile strong { letter-spacing: -.02em; }
.customer-menu-group[data-group="use"] .customer-service-tile--voucher {
  border-color: #ded5fc;
  background: var(--bead-violet-light);
}
.customer-menu-group[data-group="use"] .customer-service-tile--voucher .customer-service-icon {
  color: #fff;
  background: var(--bead-violet);
}
.customer-menu-group[data-group="use"] .customer-service-tile--pass {
  border-color: #caeadc;
  background: var(--bead-mint-light);
}
.customer-menu-group[data-group="use"] .customer-service-tile--pass .customer-service-icon {
  color: #fff;
  background: var(--bead-mint);
}
.customer-menu-group[data-group="package"] .customer-service-tile--purchase {
  border-color: var(--bead-coral);
  background: var(--bead-coral);
  box-shadow: 0 10px 22px rgba(206, 81, 76, .15);
}
.customer-menu-group[data-group="package"] .customer-service-tile--purchase .customer-service-icon { color: var(--bead-coral); }
.customer-menu-group[data-group="package"] .customer-service-tile--purchase small,
.customer-menu-group[data-group="package"] .customer-service-tile--purchase::after { color: #fff1eb; }
.customer-menu-group[data-group="onsite"] .customer-service-tile--seat {
  border-color: #d5e5fb;
  background: #eaf3ff;
}
.customer-menu-group[data-group="onsite"] .customer-service-tile--seat .customer-service-icon {
  color: #fff;
  background: var(--customer-blue);
}
.customer-menu-group[data-group="onsite"] .customer-service-tile--help {
  border-color: #f3e4bd;
  background: var(--bead-honey-light);
}
.customer-menu-group[data-group="onsite"] .customer-service-tile--help .customer-service-icon {
  color: #fff;
  background: var(--bead-honey);
}
.customer-home-seat-shortcut { border-color: #cde7d9; background: #eaf9f0; }
.customer-home-seat-icon { color: var(--bead-mint); }
.customer-home-seat-shortcut time { color: var(--bead-mint); }

.customer-panel-heading .customer-eyebrow { color: var(--bead-coral); }
.customer-back-button { color: var(--bead-violet); }
body.customer-page .customer-form,
.customer-pass-lookup,
.customer-pass-card,
.customer-catalog,
.customer-purchase-catalog,
.customer-purchase-confirm,
.customer-purchase-status,
.customer-empty-seat,
.customer-help-card { border-color: #e9e3dc; border-radius: 19px; }
body.customer-page .h5-main-action { background: var(--bead-coral); }
body.customer-page .h5-main-action:active { background: #b9413d; }
#customerVoucherPanel .h5-main-action { background: var(--bead-violet); }
#customerVoucherPanel .h5-main-action:active { background: #53429f; }
#customerPassPanel .h5-main-action { background: var(--bead-mint); }
#customerPassPanel .h5-main-action:active { background: #106d54; }
#customerHelpPanel .h5-main-action { background: var(--bead-honey); }
#customerHelpPanel .h5-main-action:active { background: #89530e; }
.customer-pass-balance strong { color: var(--bead-mint); }
.customer-pass-card-top span:last-child { color: var(--bead-mint); background: #e8f8f0; }
.customer-pass-state { border-color: #d6e9dc; color: #326f57; background: #f0faf3; }
.customer-pass-state.is-error { border-color: #efd5d4; color: #9e3d43; background: #fff2f1; }
.customer-wechat-auth,
.customer-wechat-account,
.customer-owned-passes {
  padding: 20px;
  border: 1px solid #dbe8df;
  border-radius: 19px;
  background: #f0faf4;
  box-shadow: var(--customer-shadow);
}
.customer-wechat-auth {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.customer-wechat-auth-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--bead-mint);
  font-weight: 800;
}
.customer-wechat-auth h2,
.customer-owned-passes h2 { margin: 4px 0 7px; font-size: 19px; }
.customer-wechat-auth p { margin: 0; color: #537164; font-size: 12px; line-height: 1.6; }
.customer-wechat-auth .h5-main-action { grid-column: 1 / -1; margin-top: 6px; background: var(--bead-mint); }
.customer-wechat-auth .h5-main-action:disabled { background: #adc5b8; cursor: not-allowed; }
.customer-pending-pass {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #d0e6da;
  border-radius: 12px;
  color: #326f57;
  background: #fff;
  font-size: 11px;
  line-height: 1.5;
}
.customer-pending-pass button {
  flex: 0 0 auto;
  border: 0;
  color: #a24d50;
  background: transparent;
  font-size: 11px;
  font-weight: 750;
}
.customer-wechat-account {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  background: #f0faf4;
}
.customer-wechat-account strong { display: block; margin: 4px 0; font-size: 13px; }
.customer-wechat-account p { margin: 0; color: #537164; font-size: 11px; line-height: 1.5; }
.customer-wechat-account button {
  flex: 0 0 auto;
  border: 1px solid #bbd8c6;
  border-radius: 10px;
  padding: 8px 10px;
  color: #326f57;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
}
.customer-owned-passes { margin-top: 14px; background: #fff; border-color: #e9e3dc; }
.customer-owned-passes-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.customer-owned-passes-head h2 { margin-bottom: 0; }
.customer-owned-passes-head button {
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--bead-mint);
  background: #e8f8f0;
  font-size: 11px;
  font-weight: 750;
}
.customer-owned-pass-list { display: grid; gap: 8px; margin-top: 15px; }
.customer-owned-pass-list button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #e5e8e3;
  border-radius: 13px;
  color: var(--customer-ink);
  background: #fafcf9;
  text-align: left;
}
.customer-owned-pass-list button[aria-pressed="true"] { border-color: #9dd7ba; background: #effaf3; }
.customer-owned-pass-list button strong { display: block; font-size: 13px; }
.customer-owned-pass-list button small { display: block; margin-top: 3px; color: var(--customer-muted); font-size: 11px; }
.customer-owned-pass-list button b { flex: 0 0 auto; color: var(--bead-mint); font-size: 17px; }
.customer-owned-pass-list p { margin: 0; color: var(--customer-muted); font-size: 12px; line-height: 1.6; }
#customerPassPanel[data-phase="ready"] .customer-owned-passes { order: 0; margin-top: 0; margin-bottom: 14px; }
#customerPassPanel[data-phase="ready"] .customer-pass-card { order: 1; }
#customerPassPanel[data-phase="ready"] .customer-pass-state { order: 2; }
#customerPassPanel[data-phase="ready"] .customer-catalog { order: 3; }
#customerPassPanel[data-phase="ready"] .customer-pass-lookup { display: none; }
#customerPassPanel[data-phase="change"] .customer-pass-lookup { display: block; }
#customerWechatAuth[hidden],
#customerPendingPassNotice[hidden],
#customerWechatAccount[hidden],
#customerOwnedPasses[hidden],
#customerPassLookupForm[hidden] { display: none !important; }
.customer-purchase-notice { border-color: #f1ddcf; color: #785c4f; background: #fff5eb; }
.customer-purchase-notice > span { background: var(--bead-coral); }
.customer-purchase-item[aria-pressed="true"] { border-color: #e69c91; background: #fff4ef; box-shadow: 0 0 0 2px rgba(206,81,76,.09); }
.customer-purchase-item[aria-pressed="true"] .customer-purchase-selector { border-color: var(--bead-coral); background: var(--bead-coral); }
.customer-purchase-progress-step { border-top-color: #e9e2d9; }
.customer-purchase-progress-step.is-active { border-top-color: var(--bead-coral); color: var(--bead-coral); }
.customer-purchase-progress-step.is-active b { border-color: var(--bead-coral); background: var(--bead-coral); }
.customer-purchase-short-code { border-color: #f1d2c5; background: #fff3eb; }
.customer-purchase-short-code span { color: #8b615a; }
.customer-purchase-short-code strong { color: var(--bead-coral); }
#customerPurchasePanel[data-phase="confirmed"] .customer-purchase-short-code { border-color: #cce8d9; background: #f0faf4; }
#customerPurchasePanel[data-phase="confirmed"] .customer-purchase-short-code strong { color: var(--bead-mint); }
.customer-seat-success-icon { color: var(--bead-mint); background: #e8f8f0; }
.customer-seat-dialog-panel .customer-seat-head { border-color: #d9e9dd; background: #f2faf3; }
.customer-seat-head strong { color: var(--bead-mint); }
.customer-seat-time { border-color: #e7e2d9; background: #fffcf7; }
.customer-seat-time time,
.customer-seat-dialog-close { background: var(--bead-mint); }
.customer-seat-alert { border-color: #d8eadc; color: #326f57; background: #f1faf3; }
@media (min-width: 700px) {
  body.customer-page .customer-shell { border-color: #e7ded6; box-shadow: 0 22px 70px rgba(69, 51, 63, .12); }
}
@media (max-width: 350px) {
  .customer-home-heading { padding: 19px 16px; }
  .customer-home-heading h1,
  .customer-home-heading p { max-width: 78%; }
  .customer-home-heading::after { right: 20px; transform: scale(.75); transform-origin: right bottom; }
}

/* Shared visual language for the independent bead system. */
body.ui-workspace {
  --ui-bg: #f0f4f9;
  --ui-surface: #fff;
  --ui-ink: #20324b;
  --ui-text: #52647d;
  --ui-muted: #75839a;
  --ui-line: #dfe6f0;
  --ui-blue: #376de8;
  --ui-blue-soft: #edf3ff;
  --ui-green: #178770;
  --ui-green-soft: #eaf8f2;
  --ui-orange: #a96a15;
  --ui-orange-soft: #fff5df;
  --ui-red: #bc4b55;
  --ui-red-soft: #fff0f1;
  --ui-violet: #7860c6;
  --ui-radius: 8px;
  color: var(--ui-ink);
  background: var(--ui-bg);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ui-workspace *, .ui-workspace *::before, .ui-workspace *::after { box-sizing: border-box; }
.ui-workspace button, .ui-workspace input, .ui-workspace select, .ui-workspace textarea { font: inherit; }
.ui-workspace button { cursor: pointer; }
.ui-workspace button:disabled { cursor: not-allowed; }
.ui-workspace [hidden] { display: none !important; }
.ui-workspace [data-workspace-panel]:not([hidden]):not(.workspace-in-dialog) { display: none; }
.ui-workspace :is(button, a, input, select, textarea):focus-visible { outline: 3px solid #91b4ff; outline-offset: 2px; }
.ui-workspace :is(.primary-button, .secondary-button, .small-button, .text-button) { min-height: 36px; border-radius: 6px; font-size: 13px; box-shadow: none; }
.ui-workspace .primary-button { background: var(--ui-blue); color: #fff; border: 1px solid var(--ui-blue); }
.ui-workspace .secondary-button { background: #fff; color: var(--ui-text); border: 1px solid #cdd8e8; }
.ui-workspace :is(input:not([type=checkbox]):not([type=radio]), select, textarea) { min-width: 0; border-radius: 6px; }
.ui-workspace :is(.table-wrap, .admin-table-scroll, .workspace-table-scroll) { min-width: 0; max-width: 100%; overflow-x: auto; border: 1px solid var(--ui-line); border-radius: 8px; background: #fff; }
.ui-workspace :is(.table-wrap, .workspace-table-scroll) table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--ui-ink); }
.ui-workspace :is(.table-wrap, .workspace-table-scroll) th { padding: 12px 14px; color: #566a88; background: #f2f6fc; border-bottom: 1px solid var(--ui-line); text-align: left; white-space: nowrap; font-weight: 600; }
.ui-workspace :is(.table-wrap, .workspace-table-scroll) td { padding: 12px 14px; border-bottom: 1px solid #e9eef5; line-height: 1.6; vertical-align: middle; }
.ui-workspace :is(.table-wrap, .workspace-table-scroll) tbody tr:last-child td { border-bottom: 0; }
.ui-workspace :is(.table-wrap, .workspace-table-scroll) tbody tr:nth-child(even) { background: #fafcff; }
.ui-workspace :is(.table-wrap, .workspace-table-scroll) tbody tr:hover { background: #f1f6ff; }
.ui-workspace .workspace-empty { padding: 32px 16px; text-align: center; color: var(--ui-muted); }
.ui-workspace .workspace-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; font-size: 12px; border-radius: 5px; color: var(--ui-text); background: #eef2f7; white-space: nowrap; }
.ui-workspace .workspace-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ui-workspace .workspace-status.is-good { color: var(--ui-green); background: var(--ui-green-soft); }
.ui-workspace .workspace-status.is-warning { color: var(--ui-orange); background: var(--ui-orange-soft); }
.ui-workspace .workspace-status.is-error { color: var(--ui-red); background: var(--ui-red-soft); }
.ui-workspace .workspace-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ui-workspace .workspace-toolbar h2 { margin: 0; font-size: 16px; }
.ui-workspace .workspace-toolbar p { margin: 5px 0 0; color: var(--ui-muted); font-size: 12px; }
.ui-workspace .workspace-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ui-workspace .workspace-record-note { margin: 10px 0 0; font-size: 12px; color: var(--ui-muted); }
.workspace-dialog {
  width: min(680px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: min(86vh, 880px);
  margin: auto;
  padding: 0;
  border: 1px solid #dce4ef;
  border-radius: 12px;
  color: #20324b;
  background: #fff;
  box-shadow: 0 24px 80px #182f5140;
  overflow: auto;
}
.workspace-dialog:not([open]) { display: none !important; }
.workspace-dialog::backdrop { background: #14243e77; backdrop-filter: blur(2px); }
.workspace-dialog > .workspace-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: sticky; top: 0; z-index: 5; padding: 16px 20px; border-bottom: 1px solid #e2e9f2; background: #fff; }
.workspace-dialog-head h2 { margin: 0; font-size: 17px; font-weight: 600; }
.workspace-dialog-close { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid #e0e7f1; border-radius: 6px; color: #63758d; background: #f7f9fc; font-size: 23px; line-height: 1; }
.workspace-dialog > .workspace-dialog-body { padding: 20px; min-width: 0; }
.workspace-dialog-body > :is(section, form, .panel, .card) { width: 100%; max-width: none; margin: 0; box-shadow: none; }
.workspace-dialog-body :is(.panel, .card, .owner-ref-card) { border: 0; box-shadow: none; }
.workspace-dialog-body .workspace-dialog-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 10px; padding: 16px 0 0; background: #fff; }
.workspace-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 720px) {
  .workspace-dialog { width: calc(100vw - 20px); max-width: calc(100vw - 20px); max-height: 90dvh; border-radius: 10px; }
  .workspace-dialog > .workspace-dialog-head { padding: 14px 16px; }
  .workspace-dialog > .workspace-dialog-body { padding: 16px; }
  .ui-workspace :is(.primary-button, .secondary-button, .text-button) { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .ui-workspace *, .ui-workspace *::before, .ui-workspace *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

body.customer-workspace-page {
  --customer-ink: #20324b;
  --customer-muted: #718098;
  --customer-blue: #376de8;
  --customer-line: #dfe6f0;
  display: block;
  min-height: 100svh;
  padding: 0;
  background: #f0f4f9;
}
body.customer-workspace-page .customer-shell {
  width: min(100%, 760px);
  min-height: 100svh;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #f6f8fc;
}
body.customer-workspace-page .customer-hero { padding: max(16px, env(safe-area-inset-top)) 22px 16px; border-radius: 0; background: #fff; }
body.customer-workspace-page .customer-hero::before,
body.customer-workspace-page .customer-hero::after { content: none; }
body.customer-workspace-page .customer-brand-line strong { font-size: 16px; }
body.customer-workspace-page .customer-store-line strong { font-size: 18px; }
body.customer-workspace-page .customer-flow { padding: 22px; background: transparent; }
.customer-workspace-page .customer-home-heading { min-height: 0; padding: 0 0 20px; border: 0; border-radius: 0; background: transparent; }
.customer-workspace-page .customer-home-heading::after { content: none; }
.customer-workspace-page .customer-home-heading h1 { max-width: none; margin: 7px 0; font-size: 24px; letter-spacing: 0; }
.customer-workspace-page .customer-home-heading p { max-width: none; color: #718098; font-size: 13px; }
.customer-workspace-page .customer-eyebrow { font-size: 12px; letter-spacing: 0; }
.customer-workspace-page .customer-service-menu { display: grid; gap: 20px; margin-top: 0; }
.customer-workspace-page .customer-menu-group { gap: 8px; }
.customer-workspace-page .customer-menu-group-heading { padding: 0 2px; }
.customer-workspace-page .customer-menu-group-heading h2 { font-size: 13px; color: #667995; }
.customer-workspace-page .customer-menu-items { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; border: 1px solid #dfe6f0; border-radius: 8px; overflow: hidden; background: #fff; }
.customer-workspace-page .customer-menu-group .customer-service-tile {
  display: grid; grid-template-columns: 38px minmax(0,1fr) 20px; grid-template-rows: auto auto;
  align-items: center; column-gap: 12px; row-gap: 4px; width: 100%; min-height: 82px; padding: 15px 16px;
  border: 0; border-bottom: 1px solid #e7edf5; border-radius: 0; background: #fff; color: #20324b; box-shadow: none;
}
.customer-workspace-page .customer-menu-group .customer-service-tile:last-child { border-bottom: 0; }
.customer-workspace-page .customer-menu-group .customer-service-tile:hover { background: #f6f9ff; }
.customer-workspace-page .customer-menu-group .customer-service-tile strong { grid-column: 2; grid-row: 1; margin: 0; font-size: 15px; font-weight: 600; }
.customer-workspace-page .customer-menu-group .customer-service-tile small { grid-column: 2; grid-row: 2; margin: 0; color: #718098; font-size: 12px; line-height: 1.45; }
.customer-workspace-page .customer-menu-group .customer-service-tile::after { position: static; grid-column: 3; grid-row: 1 / 3; align-self: center; color: #93a2b9; font-size: 23px; }
.customer-workspace-page .customer-menu-group .customer-service-icon { grid-column: 1; grid-row: 1 / 3; width: 38px; height: 38px; margin: 0; border-radius: 8px; font-size: 19px; color: #376de8; background: #edf3ff; }
.customer-workspace-page .customer-menu-group .customer-service-tile--pass .customer-service-icon { color: #178770; background: #eaf8f2; }
.customer-workspace-page .customer-menu-group .customer-service-tile--voucher .customer-service-icon { color: #7860c6; background: #f2edff; }
.customer-workspace-page .customer-menu-group .customer-service-tile--purchase .customer-service-icon { color: #be5b45; background: #fff0e9; }
.customer-workspace-page .customer-menu-group .customer-service-tile--help .customer-service-icon { color: #a96a15; background: #fff5df; }
.customer-workspace-page .customer-back-button { margin-bottom: 18px; min-height: 38px; color: #376de8; font-size: 13px; }
.customer-workspace-page .customer-panel-heading { margin-bottom: 18px; }
.customer-workspace-page .customer-panel-heading h1 { font-size: 23px; letter-spacing: 0; }
.customer-workspace-page .customer-panel-heading p { font-size: 13px; }
body.customer-workspace-page .customer-form,
.customer-workspace-page :is(.customer-wechat-auth,.customer-wechat-account,.customer-owned-passes,.customer-pass-lookup,.customer-pass-card,.customer-catalog,.customer-purchase-catalog,.customer-purchase-confirm,.customer-purchase-status,.customer-empty-seat,.customer-help-card) {
  padding: 18px; border: 1px solid #dfe6f0; border-radius: 8px; background: #fff; box-shadow: none;
}
.customer-workspace-page .customer-wechat-auth { background: #f4fbf7; }
.customer-workspace-page :is(.customer-wechat-auth,.customer-owned-passes) h2 { font-size: 17px; }
.customer-workspace-page .customer-catalog-head h2 { font-size: 16px; }
.customer-workspace-page .customer-catalog-list,
.customer-workspace-page .customer-owned-pass-list { display: block; margin-top: 12px; }
.customer-workspace-page .customer-list-table { min-width: 0; table-layout: auto; }
.customer-workspace-page .customer-list-table th { font-size: 12px; padding: 10px 12px; }
.customer-workspace-page .customer-list-table td { padding: 12px; font-size: 13px; }
.customer-workspace-page .customer-list-table td strong { display: block; font-size: 14px; font-weight: 600; }
.customer-workspace-page .customer-list-table td small { display: block; margin-top: 4px; font-size: 11px; color: #718098; }
.customer-workspace-page .customer-list-table .customer-list-number { white-space: nowrap; font-variant-numeric: tabular-nums; color: #178770; }
.customer-workspace-page .customer-list-table .customer-list-action { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 52px; min-height: 38px; margin: 0; padding: 7px 10px; border: 1px solid #cad9f5; border-radius: 5px; color: #376de8; background: #f2f6ff; font-size: 12px; box-shadow: none; }
.customer-workspace-page .customer-list-table .customer-list-action[aria-pressed=true] { color: #fff; border-color: #376de8; background: #376de8; }
.customer-workspace-page .customer-list-table .customer-list-action:disabled { color: #8793a6; border-color: #e0e7f0; background: #f3f5f8; }
.customer-workspace-page .customer-purchase-notice { border-radius: 6px; background: #fff7e8; }
.customer-workspace-page .customer-steps,
.customer-workspace-page .customer-purchase-progress { border-radius: 6px; }
.customer-workspace-page .customer-seat-dialog-panel { border-radius: 12px; box-shadow: 0 24px 80px #182f5140; }
.customer-workspace-page .customer-seat-dialog-backdrop { background: #14243e77; }
.customer-workspace-page .customer-upload-button { border-radius: 6px; box-shadow: none; background: #f4f7fc; }
body.customer-workspace-page .h5-main-action { min-height: 46px; border-radius: 6px; box-shadow: none; }
.customer-workspace-page .customer-pass-balance strong { font-size: 38px; }
.customer-workspace-page .customer-home-seat-shortcut { border-radius: 8px; margin-bottom: 20px; }
@media(min-width:900px) {
  body.customer-workspace-page { padding: 24px; }
  body.customer-workspace-page .customer-shell { min-height: calc(100svh - 48px); border: 1px solid #dfe6f0; border-radius: 12px; }
  body.customer-workspace-page .customer-hero { border-radius: 12px 12px 0 0; }
  body.customer-workspace-page .customer-flow { padding: 26px; }
}
@media(max-width:480px) {
  body.customer-workspace-page .customer-flow { padding: 18px 14px; }
  body.customer-workspace-page .customer-hero { padding-right: 16px; padding-left: 16px; }
  .customer-workspace-page .customer-menu-group .customer-service-tile { padding: 14px; }
  .customer-workspace-page .customer-list-table th,
  .customer-workspace-page .customer-list-table td { padding: 10px 8px; }
  .customer-workspace-page .customer-list-table td strong { font-size: 13px; }
}

/* Rich three-role presentation. Controllers and permission rules remain in charge. */
body.ui-workspace {
  --ui-bg: #faf8f5;
  --ui-ink: #253044;
  --ui-text: #606b7e;
  --ui-muted: #7a8496;
  --ui-line: #ece9f1;
  --ui-blue: #6962d9;
  --ui-blue-soft: #eef1ff;
  --ui-green-soft: #e7f6ef;
  --ui-orange-soft: #fff0db;
  --ui-radius: 16px;
  background: var(--ui-bg);
}
.ui-workspace button { overflow-wrap: anywhere; }
.ui-workspace :is(.workspace-dialog,.account-modal-shell) { border-radius: 16px; }
.ui-workspace .workspace-dialog { max-height: calc(100dvh - 40px); }
.ui-workspace .workspace-dialog-head h2 { min-width: 0; overflow-wrap: anywhere; }
.ui-workspace .workspace-dialog-body { overflow-wrap: anywhere; }
.ui-workspace .rich-bead-art { position: relative; flex: 0 0 auto; width: 104px; height: 104px; padding: 5px; }
.ui-workspace .rich-bead-board { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); grid-template-rows: repeat(8,minmax(0,1fr)); gap: 2px; width: 100%; height: 100%; padding: 3px; border: 6px solid #fffdf9; border-radius: 9px; background: #fffdf9; box-shadow: 3px 6px 0 #d2bed22b,0 9px 15px #7c4d9614; transform: rotate(7deg); }
.ui-workspace .rich-bead-board i { display: block; min-width: 0; border-radius: 2px; background: radial-gradient(circle,#d8cfc0 0 18%,transparent 22%),#f1e9da; box-shadow: inset 0 -1px 1px #b2a88824; }
.ui-workspace .rich-bead-board i.is-pink { background: radial-gradient(circle,#b9658b 0 18%,transparent 22%),#edabc4; box-shadow: inset 0 -1px 1px #cf83a3; }
.ui-workspace .rich-bead-spark { position: absolute; right: -6px; top: -8px; color: #bb8bb5; font-size: 20px; }

/* Administrator: one navigation, tables for records, forms in existing dialogs. */
.ui-workspace.admin-page .sidebar { width: 194px; background: #fff; }
.ui-workspace.admin-page .app-shell { grid-template-columns: 194px minmax(0,1fr); }
.ui-workspace.admin-page .nav-tab { border-radius: 10px; }
.ui-workspace.admin-page .nav-tab.is-active { background: #eef1ff; color: #526bed; }
.ui-workspace.admin-page .quick-panel { display: none !important; }
.ui-workspace.admin-page .dashboard-hero { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 26px; isolation: isolate; overflow: hidden; margin-bottom: 22px; padding: 25px 28px !important; border: 1px solid #e6dff8 !important; border-radius: 18px !important; background: linear-gradient(112deg,#eee8ff 0%,#f5efff 56%,#fceee5 100%) !important; }
.ui-workspace.admin-page .dashboard-hero-copy { position: relative; z-index: 1; display: grid; width: auto; max-width: 78%; justify-content: start; gap: 7px; }
.ui-workspace.admin-page .dashboard-hero h2 { margin: 0; color: #39345a; font-size: 25px; font-weight: 700; overflow-wrap: anywhere; }
.ui-workspace.admin-page .dashboard-hero-eyebrow { color: #7b6c9d; font-size: 11px; font-weight: 600; letter-spacing: 2px; }
.ui-workspace.admin-page .dashboard-hero p { color: #766a88; }
.ui-workspace.admin-page .dashboard-hero-note { margin-top: 7px; color: #766a88; font-size: 12px; line-height: 1.8; }
.ui-workspace.admin-page .dashboard-hero::after { content: none; }
.ui-workspace.admin-page .dashboard-hero .rich-bead-art { width: 126px; height: 126px; margin-right: 24px; }
.ui-workspace.admin-page .dashboard-content-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) !important; align-items: start; }
.ui-workspace.admin-page .dashboard-main-column { display: block !important; }
.ui-workspace.admin-page .workspace-stat { border: 0; border-radius: 14px; background: #edeaff; }
.ui-workspace.admin-page .workspace-stat.is-green { background: #e7f6ef; }
.ui-workspace.admin-page .workspace-stat.is-amber { background: #fff0db; }
.ui-workspace.admin-page .workspace-stat.is-rose { background: #ffedf1; }
.ui-workspace.admin-page :is(.panel,.store-list-panel,.admin-table-scroll) { border-radius: 15px !important; }
.ui-workspace.admin-page .admin-data-table th { background: #fafbfe; }
.ui-workspace.admin-page .workspace-page-toolbar p,
.ui-workspace.admin-page .store-list-panel > .panel-head p { display: none; }
.ui-workspace.admin-page .primary-button { border-radius: 9px; }
.ui-workspace.admin-page .text-button { border: 0; padding: 7px 10px; background: transparent; color: var(--ui-blue); }
.ui-workspace.admin-page .account-modal-shell { width: min(520px,calc(100vw - 24px)); max-width: 520px; border-radius: 16px; }
.ui-workspace.admin-page .recent-activity-panel { display: block; }
.ui-workspace.admin-page .pending-panel > .panel-head { flex-wrap: wrap; gap: 12px; }

/* Owner: a phone surface at every width, with operations only in the dock. */
body.owner-workspace-page .owner-phone-shell { background: #faf8f5; }
body.owner-workspace-page .owner-app-top { border-bottom: 0; }
body.owner-workspace-page .owner-view { padding: 18px 20px calc(96px + env(safe-area-inset-bottom)); }
body.owner-workspace-page .owner-view-heading { gap: 8px; margin-bottom: 20px; }
body.owner-workspace-page .owner-view-heading > span { display: none; }
body.owner-workspace-page .owner-view-heading h1 { font-size: 22px; }
body.owner-workspace-page .owner-view-heading p { color: var(--ui-muted); font-size: 12px; line-height: 1.6; }
body.owner-workspace-page .owner-overview-intro { display: none; }
body.owner-workspace-page .has-no-store .owner-overview-intro { display: grid; }
body.owner-workspace-page .owner-store-card { position: relative; isolation: isolate; border: 1px solid #e6ddf7; border-radius: 18px; padding: 20px; min-height: 0; background: linear-gradient(120deg,#ece5ff,#f5eefc 65%,#fae8df); }
body.owner-workspace-page .owner-store-card > * { position: relative; z-index: 1; }
body.owner-workspace-page .owner-store-card:not(.owner-store-card-compact)::after { content: ''; position: absolute; display: block; z-index: 0; inset: auto 16px 17px auto; width: 73px; height: 73px; opacity: .5; transform: rotate(-10deg); background: radial-gradient(circle,#b5a0da 2px,transparent 3px) 0 0 / 12px 12px; }
body.owner-workspace-page .owner-store-welcome { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 12px; color: #827099; font-size: 11px; letter-spacing: 1px; }
body.owner-workspace-page .owner-store-welcome span:last-child { color: #8f7d9c; letter-spacing: 0; }
body.owner-workspace-page .owner-store-main { gap: 8px; }
body.owner-workspace-page .owner-store-main p { font-size: 21px; color: #3f355b; }
body.owner-workspace-page #mobileStoreAddress { color: #80728d; font-size: 11px; }
body.owner-workspace-page .owner-store-foot { padding-top: 13px; font-size: 11px; border-top: 1px solid #ddd3eb; }
body.owner-workspace-page .owner-store-foot .owner-store-message { max-width: 88%; color: #7c6d8b; }
body.owner-workspace-page #mobileStoreQr { display: none; }
body.owner-workspace-page #mobileStoreSwitchState { display: none; }
body.owner-workspace-page .owner-section-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 23px 2px 11px; }
body.owner-workspace-page .owner-section-caption strong { font-size: 15px; }
body.owner-workspace-page .owner-section-caption span { color: #807489; font-size: 11px; }
body.owner-workspace-page .owner-stat-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 0; margin: 0; border-radius: 0; background: transparent; }
body.owner-workspace-page .owner-stat-grid article { display: grid; justify-items: start; grid-column: auto !important; padding: 13px 10px; min-height: 130px; border: 1px solid #e5e0f3; border-radius: 14px; background: #eeebfa; text-align: left; }
body.owner-workspace-page .owner-stat-grid article:nth-child(2) { border-color: #dbeae1; background: #eaf5ed; }
body.owner-workspace-page .owner-stat-grid article:nth-child(3) { border-color: #f0e1cc; background: #fff1dd; }
body.owner-workspace-page .owner-stat-grid article > i { display: grid; place-items: center; width: 25px; height: 25px; margin-bottom: 11px; border-radius: 8px; background: #ffffffaa; color: #8173a9; font-size: 13px; font-style: normal; font-weight: 600; }
body.owner-workspace-page .owner-stat-grid article:nth-child(2) > i { color: #579573; }
body.owner-workspace-page .owner-stat-grid article:nth-child(3) > i { color: #bb945a; }
body.owner-workspace-page .owner-stat-grid article > small { margin-top: 8px; color: #7d7089; font-size: 11px; line-height: 1.5; }
body.owner-workspace-page .owner-stat-grid strong,
body.owner-workspace-page .owner-stat-grid article:first-child strong { margin-top: 7px; font-size: 21px; letter-spacing: -.7px; color: #3e3657; }
body.owner-workspace-page .owner-smart-hints,
body.owner-workspace-page .owner-help-queue { padding: 17px 15px; border: 1px solid var(--ui-line); border-radius: 16px; margin-top: 18px; background: #fff; }
body.owner-workspace-page .owner-smart-hints-head,
body.owner-workspace-page .owner-help-queue-head { margin-bottom: 12px; }
body.owner-workspace-page .owner-smart-hints-head span,
body.owner-workspace-page .owner-help-queue-head span { display: block; margin-top: 5px; color: #7d7089; font-size: 11px; line-height: 1.5; }
body.owner-workspace-page .owner-smart-hints-list { border: 0; border-radius: 11px; overflow: hidden; }
body.owner-workspace-page .owner-smart-hints-list button { margin: 0; padding: 15px; border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 0; background: #fff; }
body.owner-workspace-page .owner-smart-hints-list button:last-child { border-bottom: 0; }
body.owner-workspace-page :is(.owner-smart-hints-empty,.owner-help-queue-empty) { padding: 18px 14px; margin: 0; border-radius: 10px; background: #faf8fd; color: #80718e; font-size: 12px; line-height: 1.8; }
body.owner-workspace-page .owner-home-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 19px; padding: 16px; border: 1px solid #e9e0ec; border-radius: 15px; background: #f6f0f6; color: #7f6e8b; }
body.owner-workspace-page .owner-home-note > span { color: #b898b6; font-size: 20px; }
body.owner-workspace-page .owner-home-note strong { font-size: 12px; color: #7e6b8b; }
body.owner-workspace-page .owner-home-note p { margin: 5px 0 0; font-size: 11px; line-height: 1.8; }
body.owner-workspace-page .owner-dock { background: #fff; border-color: var(--ui-line); box-shadow: none; }
body.owner-workspace-page .owner-dock button.is-active { color: #526bed; }
body.owner-workspace-page .owner-view-title > div > span { display: none; }
body.owner-workspace-page .owner-view-title :is(#mobileOfflineRequestsSummary,#mobileOfflineIssuedHint) { display: block; }
body.owner-workspace-page .owner-popup-content.workspace-in-dialog > h2 { display: none; }
body.owner-workspace-page .owner-ref-card { border-radius: 13px; }
body.owner-workspace-page .owner-more-list { gap: 0; border: 1px solid var(--ui-line); border-radius: 13px; overflow: hidden; }
body.owner-workspace-page .owner-more-list .owner-module-button { border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 0; margin: 0; padding: 16px 14px; }
body.owner-workspace-page .owner-more-list .owner-module-button { grid-template-columns: 34px minmax(0,1fr) 16px; grid-template-rows: auto auto; gap: 4px 11px; min-height: 74px; }
body.owner-workspace-page .owner-more-list .owner-module-button:last-child { border-bottom: 0; }
body.owner-workspace-page .owner-more-list .owner-module-icon { width: 34px; height: 34px; border-radius: 10px; }
body.owner-workspace-page .owner-more-list .owner-module-icon { grid-column: 1; grid-row: 1 / 3; }
body.owner-workspace-page .owner-more-list .owner-task-copy { grid-column: 2; grid-row: 1; }
body.owner-workspace-page .owner-more-list .owner-task-copy strong { font-size: 14px; }
body.owner-workspace-page .owner-more-list .owner-task-copy small,
body.owner-workspace-page .owner-more-list .owner-module-action { display: none; }
body.owner-workspace-page .owner-more-list .owner-module-button::after { content: '›'; grid-column: 3; grid-row: 1 / 3; justify-self: end; color: #929aab; font-size: 20px; }
body.owner-workspace-page .owner-more-list .owner-module-button em { grid-column: 2; grid-row: 2; justify-self: start; max-width: 100%; margin: 0; padding: 0; background: transparent; color: var(--ui-muted); font-size: 11px; line-height: 1.5; white-space: normal; }
body.owner-workspace-page .owner-huifu-status-card::after { display: none; }
body.owner-workspace-page .owner-huifu-stage-title { font-size: 19px; line-height: 1.5; }
body.owner-workspace-page .owner-huifu-steps { margin-top: 20px; }
body.owner-workspace-page .owner-onboarding-sync { margin-top: 16px; }
body.owner-workspace-page .owner-onboarding-sync > div { padding: 10px 0; border-bottom: 1px solid var(--ui-line); }
body.owner-workspace-page .owner-onboarding-sync > div:last-child { border-bottom: 0; }
body.owner-workspace-page .owner-primary-button { background: #526bed; border-radius: 10px; }
body.owner-workspace-page .slim-payment-note { margin: 12px 0; color: var(--ui-muted); font-size: 12px; line-height: 1.7; }
body.owner-workspace-page .slim-payment-note summary { min-height: 32px; padding: 6px 0; cursor: pointer; }
body.owner-workspace-page .owner-wallet-card { border: 0; border-radius: 15px; background: #edeaff; }
body.owner-workspace-page .workspace-dialog { width: min(440px,calc(100vw - 24px)); max-width: calc(100vw - 24px); }

/* Customer: three choices, one live seat card, help at the bottom. */
body.customer-workspace-page { --customer-ink: #393249; --customer-muted: #8a8097; background: #f3eff3; }
body.customer-workspace-page .customer-shell { width: min(100%,480px); background: #fcfaf7; }
body.customer-workspace-page .customer-hero { padding: max(20px,env(safe-area-inset-top)) 22px 4px; background: transparent; }
body.customer-workspace-page .customer-brand-line { align-items: center; justify-content: flex-start; gap: 12px; }
body.customer-workspace-page .customer-brand-line > div { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
body.customer-workspace-page .customer-brand-line strong,
body.customer-workspace-page .customer-brand-line small { color: #8b809b; font-size: 12px; font-weight: 400; }
body.customer-workspace-page .customer-brand-line small::before { content: '· '; }
body.customer-workspace-page:has(#customerHome:not([hidden])) .customer-store-line { display: none; }
body.customer-workspace-page .customer-flow { padding: 16px 20px 28px; }
body.customer-workspace-page .customer-home-heading { position: relative; isolation: isolate; overflow: hidden; margin: 0; padding: 23px 22px; border: 1px solid #e7dff4; border-radius: 20px; background: linear-gradient(118deg,#eee7fb 0%,#f4eafd 54%,#fcebe1 100%); }
body.customer-workspace-page .customer-home-heading > * { position: relative; z-index: 1; }
body.customer-workspace-page .customer-home-heading::after { content: none; }
body.customer-workspace-page .customer-home-heading > .customer-eyebrow { display: block; max-width: 100%; margin-bottom: 11px; color: #7c5e8d; font-size: 11px; letter-spacing: .5px; }
body.customer-workspace-page .customer-home-heading h1 { margin: 0 0 12px; font-size: 25px; line-height: 1.35; color: #443357; overflow-wrap: anywhere; }
body.customer-workspace-page .customer-welcome-row { display: flex; align-items: center; gap: 10px; }
body.customer-workspace-page .customer-welcome-row p { flex: 1 1 auto; min-width: 0; max-width: none; margin: 0; color: #7c638d; font-size: 12px; line-height: 1.8; }
body.customer-workspace-page .customer-welcome-row .rich-bead-art { width: 94px; height: 94px; margin-right: 2px; }
body.customer-workspace-page .customer-creative-note { display: inline-block; max-width: 100%; margin-top: 18px; padding: 6px 9px; border: 1px solid #ffffffb3; border-radius: 7px; background: #ffffff6b; color: #7f608b; font-size: 11px; line-height: 1.5; }
body.customer-workspace-page .customer-arrival-guide { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; list-style: none; margin: 16px 0 25px; padding: 14px 10px; border: 1px solid #eee6e5; border-radius: 13px; background: #fff; }
body.customer-workspace-page .customer-arrival-guide li { display: flex; gap: 6px; align-items: flex-start; min-width: 0; }
body.customer-workspace-page .customer-arrival-guide b { display: grid; flex: 0 0 19px; place-items: center; height: 19px; border-radius: 50%; background: #f0e9f8; color: #9681b2; font-size: 11px; }
body.customer-workspace-page .customer-arrival-guide li > span { min-width: 0; padding-top: 1px; color: #75657e; font-size: 11px; font-weight: 600; line-height: 1.6; }
body.customer-workspace-page .customer-arrival-guide small { display: block; color: #817089; font-size: 11px; font-weight: 400; line-height: 1.7; }
body.customer-workspace-page .customer-service-menu { gap: 23px; }
body.customer-workspace-page .customer-menu-group { gap: 10px; }
body.customer-workspace-page .customer-menu-group-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; justify-content: space-between; padding: 0 2px; }
body.customer-workspace-page .customer-menu-group-heading h2 { margin: 0; color: #51425d; font-size: 15px; }
body.customer-workspace-page .customer-menu-group-heading small { color: #7d6d89; font-size: 11px; }
body.customer-workspace-page .customer-menu-items { gap: 10px; border: 0; border-radius: 0; background: transparent; overflow: visible; }
body.customer-workspace-page .customer-menu-group .customer-service-tile { grid-template-columns: 45px minmax(0,1fr) 14px; min-height: 96px; padding: 18px 17px; gap: 6px 13px; border: 1px solid #e4dcf5; border-radius: 16px; background: linear-gradient(108deg,#eee7fa,#f4effc); }
body.customer-workspace-page .customer-menu-group .customer-service-tile--pass { border-color: #daeade; background: linear-gradient(108deg,#e5f2e8,#eff7ed); }
body.customer-workspace-page .customer-menu-group .customer-service-tile--purchase { border-color: #f1e1cf; background: linear-gradient(108deg,#feefd9,#fff4e8); }
body.customer-workspace-page .customer-menu-group .customer-service-tile:hover { filter: brightness(.985); }
body.customer-workspace-page .customer-menu-group .customer-service-tile strong { color: #534261; font-size: 16px; }
body.customer-workspace-page .customer-menu-group .customer-service-icon { width: 45px; height: 45px; border: 1px solid #fff; border-radius: 13px; font-size: 23px; color: #8a70b3; background: #ffffff99; box-shadow: 0 4px 12px #9580b312; }
body.customer-workspace-page .customer-menu-group .customer-service-tile small { color: #7e6c8b; font-size: 11px; line-height: 1.7; }
body.customer-workspace-page .customer-home-seat-shortcut { margin: 22px 0 0; padding: 17px 18px; border: 1px solid #eaddec; border-radius: 15px; background: #f8edf3; box-shadow: none; }
body.customer-workspace-page .customer-home-seat-icon,
body.customer-workspace-page .customer-home-seat-arrow { display: none; }
body.customer-workspace-page .customer-home-seat-shortcut { grid-template-columns: minmax(0,1fr) auto; }
body.customer-workspace-page .customer-home-seat-shortcut time { font-size: 21px; color: #526bed; font-variant-numeric: tabular-nums; }
body.customer-workspace-page .customer-home-help { display: grid; grid-template-columns: 30px minmax(0,1fr) 12px; align-items: center; gap: 9px; width: 100%; min-height: 76px; margin-top: 22px; padding: 14px; border: 1px solid #ede7e8; border-radius: 14px; background: #fff; color: #9d90a7; font-size: 17px; text-align: left; }
body.customer-workspace-page .customer-home-help .customer-help-symbol { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f6f0f7; color: #af95b7; font-size: 14px; }
body.customer-workspace-page .customer-home-help strong { display: block; margin: 0 0 4px; color: #8b7798; font-size: 12px; font-weight: 600; }
body.customer-workspace-page .customer-home-help small { display: block; color: #82708f; font-size: 11px; line-height: 1.7; }
body.customer-workspace-page .customer-visit-tips { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 23px; }
body.customer-workspace-page .customer-visit-tips article { min-width: 0; padding: 15px 13px; border: 1px solid #e9e0ed; border-radius: 14px; background: #f5eef8; }
body.customer-workspace-page .customer-visit-tips article:nth-child(2) { border-color: #eee2d4; background: #faf2e7; }
body.customer-workspace-page .customer-visit-tips article > span { display: grid; place-items: center; width: 25px; height: 25px; margin-bottom: 9px; border: 1px solid #ffffffb3; border-radius: 8px; background: #ffffff80; color: #967aac; font-size: 14px; }
body.customer-workspace-page .customer-visit-tips strong { display: block; color: #7a608b; font-size: 12px; line-height: 1.6; }
body.customer-workspace-page .customer-visit-tips p { margin: 7px 0 0; color: #86748f; font-size: 11px; line-height: 1.8; }
body.customer-workspace-page .customer-visit-tips article:nth-child(2) :is(strong,p) { color: #8b775c; }
body.customer-workspace-page :is(.customer-wechat-auth,.customer-wechat-account,.customer-owned-passes,.customer-pass-lookup,.customer-pass-card,.customer-purchase-catalog,.customer-purchase-confirm,.customer-purchase-status,.customer-help-card,.customer-empty-seat) { border-radius: 13px; }
body.customer-workspace-page .h5-main-action { border-radius: 10px; }
body.customer-workspace-page .customer-steps,
body.customer-workspace-page .customer-form-head,
body.customer-workspace-page .customer-purchase-progress { display: none; }
body.customer-workspace-page .customer-back-button { min-height: 44px; }
body.customer-workspace-page .customer-seat-dialog-panel { max-height: calc(100dvh - 32px); overflow-y: auto; }
body.customer-workspace-page :is(input,select) { font-size: 16px; }
@media(max-width:1100px) {
  .ui-workspace.admin-page .dashboard-content-grid { grid-template-columns: minmax(0,1fr) !important; }
  .ui-workspace.admin-page .dashboard-hero .rich-bead-art { width: 104px; height: 104px; margin-right: 0; }
}
@media(max-width:720px) {
  .ui-workspace.admin-page .app-shell { grid-template-columns: minmax(0,1fr); }
  .ui-workspace.admin-page .sidebar { width: 100%; }
  .ui-workspace.admin-page .dashboard-content-grid { grid-template-columns: minmax(0,1fr) !important; }
  .ui-workspace.admin-page .dashboard-hero { padding: 21px !important; }
  .ui-workspace.admin-page .dashboard-hero-copy { max-width: 100%; }
  .ui-workspace.admin-page .dashboard-hero h2 { font-size: 21px; }
  .ui-workspace.admin-page .dashboard-hero .rich-bead-art { display: none; }
}
@media(max-width:350px) {
  body.owner-workspace-page .owner-view { padding-right: 14px; padding-left: 14px; }
  body.owner-workspace-page .owner-stat-grid strong,
  body.owner-workspace-page .owner-stat-grid article:first-child strong { font-size: 17px; }
  body.owner-workspace-page .owner-store-card { padding: 17px; }
  body.owner-workspace-page .owner-store-main p { font-size: 20px; }
  body.owner-workspace-page .owner-stat-grid { gap: 6px; }
  body.owner-workspace-page .owner-stat-grid article { padding: 12px 8px; }
  body.customer-workspace-page .customer-flow { padding-right: 17px; padding-left: 17px; }
  body.customer-workspace-page .customer-hero { padding-right: 17px; padding-left: 17px; }
  body.customer-workspace-page .customer-home-heading { padding: 20px 18px; }
  body.customer-workspace-page .customer-home-heading h1 { font-size: 23px; }
  body.customer-workspace-page .customer-welcome-row p { font-size: 11px; }
  body.customer-workspace-page .customer-welcome-row .rich-bead-art { width: 76px; height: 76px; padding: 3px; }
  body.customer-workspace-page .customer-welcome-row .rich-bead-board { gap: 1px; border-width: 4px; padding: 2px; }
  body.customer-workspace-page .customer-arrival-guide { padding: 12px 8px; gap: 4px; }
  body.customer-workspace-page .customer-arrival-guide li { gap: 4px; }
  body.customer-workspace-page .customer-menu-group .customer-service-tile { grid-template-columns: 39px minmax(0,1fr) 12px; padding: 16px 12px; gap: 4px 10px; }
  body.customer-workspace-page .customer-menu-group .customer-service-icon { width: 39px; height: 39px; }
  body.customer-workspace-page .customer-home-seat-shortcut { flex-wrap: wrap; gap: 8px; }
}

/* Account records stay inside the existing package entry; seat actions stay in its dialog. */
body.customer-workspace-page .customer-account-records {margin:16px 0;padding:18px 14px;border:1px solid #e7e0f0;border-radius:16px;background:linear-gradient(145deg,#fff 55%,#f7f3fd);color:#362d47;}
.customer-records-heading {display:flex;align-items:center;justify-content:space-between;gap:10px;}
.customer-records-heading h2 {margin:3px 0 0;font-size:17px;line-height:1.35;}
.customer-records-heading button,.customer-records-more {min-height:36px;padding:7px 12px;border:1px solid #ddd4ec;border-radius:10px;background:#fff;color:#70558c;font:inherit;font-size:12px;}
.customer-records-note {margin:11px 0 14px;color:#7c7486;font-size:12px;line-height:1.7;}
.customer-record-tabs {display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:5px;padding:4px;background:#f0eaf6;border-radius:11px;}
.customer-record-tabs button {min-width:0;min-height:39px;padding:7px 3px;border:0;border-radius:8px;background:transparent;color:#7c708b;font:inherit;font-size:12px;line-height:1.4;}
.customer-record-tabs button[aria-pressed="true"] {background:#fff;color:#644183;box-shadow:0 2px 6px #51406f10;font-weight:700;}
.customer-record-tabs span {display:inline-block;min-width:16px;padding:1px 3px;border-radius:5px;background:#e6ddf0;font-size:11px;}
.customer-records-feedback {margin:13px 0 0;color:#7c7486;font-size:12px;line-height:1.6;}
.customer-records-feedback.is-error {color:#a34745;}
.customer-record-list {display:grid;gap:10px;margin-top:12px;}
.customer-record-item {min-width:0;padding:13px;border:1px solid #e9e2ef;border-radius:12px;background:#fff;}
.customer-record-item-head {display:flex;align-items:flex-start;justify-content:space-between;gap:8px;}
.customer-record-item h3 {margin:0;font-size:14px;line-height:1.5;overflow-wrap:anywhere;}
.customer-record-badge {flex-shrink:0;max-width:48%;padding:3px 6px;border-radius:6px;background:#f0e9f8;color:#725489;font-size:11px;line-height:1.5;overflow-wrap:anywhere;}
.customer-record-badge.is-warning {background:#fff1df;color:#9a6d30;}
.customer-record-badge.is-success {background:#e7f4eb;color:#48745a;}
.customer-record-item p {margin:7px 0 0;color:#827889;font-size:12px;line-height:1.55;overflow-wrap:anywhere;}
.customer-record-item dl {display:grid;grid-template-columns:minmax(64px,.7fr) minmax(0,1fr);gap:7px 12px;margin:11px 0 0;font-size:12px;line-height:1.6;}
.customer-record-item dt {color:#8a7f92;}
.customer-record-item dd {margin:0;text-align:right;color:#51455c;overflow-wrap:anywhere;}
.customer-records-more {width:100%;margin-top:12px;}
body.customer-workspace-page .customer-seat-operations {margin:14px 0;padding:13px;background:#f6f1fb;border:1px solid #e5dcef;border-radius:12px;text-align:left;}
.customer-seat-announcement {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:12px;line-height:1.6;color:#83728e;}
.customer-seat-announcement strong {max-width:70%;font-weight:600;color:#685176;text-align:right;overflow-wrap:anywhere;}
.customer-seat-operation-note {margin:9px 0 12px;font-size:12px;line-height:1.7;color:#86758f;}
.customer-seat-operation-actions {display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.customer-seat-operations button:disabled {opacity:.55;cursor:default;}
@media(max-width:350px) {.customer-account-records{padding:14px 10px!important}.customer-record-item {padding:11px}.customer-record-tabs button {font-size:11px}.customer-seat-operation-actions button {font-size:12px;}}

#customerPassPanel[data-phase="ready"] .customer-account-records {order:3;}
.customer-records-claim {display:block;min-height:40px;margin:12px auto 0;padding:6px 12px;border:0;background:transparent;color:#795e8e;font:inherit;font-size:12px;}
.customer-seat-operation-actions button {min-height:40px;padding:8px;border:1px solid #d9cce6;border-radius:9px;background:#fff;color:#6d4c86;font:inherit;font-size:13px;line-height:1.4;}
#customerAccountRecords[hidden],#customerRecordsClaim[hidden],#customerRecordsMore[hidden],#customerRecordsFeedback[hidden] {display:none!important;}

body.customer-workspace-page .customer-credential-auth {margin:14px 0;padding:18px 15px;border:1px solid #d8e6dc;border-radius:15px;background:linear-gradient(145deg,#f2faf4,#fff);}
.customer-credential-auth h2 {margin:5px 0 8px;font-size:18px;color:#395e48;}
.customer-credential-auth > p {font-size:12px;line-height:1.7;color:#657c6d;}
.customer-credential-auth label {display:block;margin:13px 0 7px;font-size:13px;color:#466653;font-weight:600;}
.customer-credential-input {display:flex;align-items:stretch;min-width:0;border:1px solid #ccded1;border-radius:10px;overflow:hidden;background:#fff;}
.customer-credential-input input {flex:1;min-width:0;width:0;border:0!important;background:transparent;padding:12px;font-size:16px;box-shadow:none!important;color:#345641;}
.customer-credential-input button {flex-shrink:0;min-width:49px;border:0;border-left:1px solid #e0e9e2;background:#f7faf7;color:#466a52;font:inherit;font-size:12px;}
.customer-credential-auth .h5-main-action {width:100%;margin-top:12px;}
.customer-credential-auth .is-error {color:#a34745;}
.customer-payment-pause-note {margin:12px 0;padding:12px 14px;border:1px solid #eadbc5;border-radius:12px;background:#fff8ee;color:#806745;font-size:12px;line-height:1.7;}
#customerCredentialAuth[hidden],#customerCredentialClear[hidden],#customerPassAddButton[hidden],#customerPassSwitchButton[hidden],#customerPaymentPauseNote[hidden] {display:none!important;}

.customer-pass-active-seat {margin:14px 0;padding:13px;border:1px solid #cce3d7;border-radius:12px;background:#f0f8f3;color:#385e48;}
.customer-pass-active-seat > div {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:7px 12px;}
.customer-pass-active-seat strong {font-size:14px;line-height:1.6;overflow-wrap:anywhere;}
.customer-pass-active-seat span {font-size:12px;line-height:1.6;}
.customer-pass-active-seat time {font-weight:700;font-variant-numeric:tabular-nums;}
.customer-pass-active-seat p {margin:8px 0 10px;font-size:12px;line-height:1.6;color:#668271;}
.customer-pass-active-seat button {width:100%;min-height:40px;border:1px solid #bfd7c8;border-radius:9px;background:#fff;color:#3f7354;font:inherit;font-size:13px;}
#customerPassActiveSeat[hidden] {display:none!important;}

/* The four customer destinations sit around the existing anonymous visit flow. */
.customer-page [hidden] { display: none !important; }
body.customer-workspace-page .customer-shell { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
.customer-hub-view { display: grid; gap: 16px; min-width: 0; padding-bottom: 18px; color: #26344c; }
.customer-hub-heading { padding: 5px 2px 2px; }
.customer-hub-heading > span { color: #7965c8; font-size: 12px; font-weight: 750; letter-spacing: .04em; }
.customer-hub-heading h1 { margin: 6px 0 7px; font-size: clamp(26px, 7vw, 31px); line-height: 1.15; }
.customer-hub-heading p { margin: 0; color: #728099; font-size: 13px; line-height: 1.6; }
.customer-hub-card { min-width: 0; padding: 18px; border: 1px solid #e2e8f3; border-radius: 18px; background: #fff; box-shadow: 0 5px 0 #e4e9f2, 0 11px 24px #20324b0d; }
.customer-hub-card > p { color: #697891; font-size: 13px; line-height: 1.55; }
.customer-hub-card-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.customer-hub-card-heading h2 { margin: 0; font-size: 17px; }
.customer-hub-card-heading small { color: #8491a4; font-size: 11px; }
.customer-hub-segment, .customer-hub-category { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; padding: 5px; border: 1px solid #e1e8f2; border-radius: 15px; background: #edf1f7; }
.customer-hub-segment button, .customer-hub-category button { min-height: 42px; border: 0; border-radius: 11px; color: #687993; background: transparent; font-size: 14px; font-weight: 700; }
.customer-hub-segment button[aria-pressed=true], .customer-hub-category button[aria-pressed=true] { color: #344f93; background: #fff; box-shadow: 0 3px 0 #d9e1ed, 0 5px 12px #24365713; }
.customer-hub-category { margin: 16px 0 12px; background: #f4f6fa; }
.customer-hub-category button { min-height: 39px; }
.customer-hub-feedback { min-height: 18px; margin: 7px 0; color: #697891; font-size: 12px; line-height: 1.5; }
.customer-hub-feedback.is-error { color: #b84244; }
.customer-hub-feedback.is-success { color: #168165; }
.customer-hub-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.customer-hub-product { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e2e8f3; border-radius: 15px; background: #fff; box-shadow: 0 4px 0 #e4e9f2, 0 8px 19px #20324b0c; }
.customer-hub-product-image { display: grid; place-items: center; width: 100%; aspect-ratio: 1.18; object-fit: contain; color: #a38cc3; background: linear-gradient(135deg,#f8eefa,#edf5ff); font-size: 36px; }
.customer-hub-product-body { display: grid; flex: 1; gap: 7px; padding: 12px; }
.customer-hub-product-body h3 { min-height: 20px; margin: 0; overflow: hidden; font-size: 14px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.customer-hub-product-body p { display: -webkit-box; min-height: 31px; margin: 0; overflow: hidden; color: #748198; font-size: 11px; line-height: 1.45; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.customer-hub-product-body .customer-hub-price { color: #c15471; font-size: 17px; font-weight: 850; }
.customer-hub-product-body button, .customer-hub-actions button { min-height: 39px; border: 1px solid #d2ddf4; border-radius: 10px; color: #3f5dab; background: #f1f5ff; font-size: 12px; font-weight: 750; }
.customer-hub-product-body .customer-hub-product-detail-button { min-height: 28px; border: 0; color: #637bba; background: transparent; box-shadow: none; text-align: left; }
#customerHubCheckoutForm, #customerHubOrderResult { margin-top: 16px; }
.customer-hub-primary, .customer-hub-secondary { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 10px 16px; border-radius: 11px; font-size: 14px; font-weight: 800; text-align: center; }
.customer-hub-primary { border: 1px solid #5370c6; color: #fff; background: linear-gradient(#6583da,#4b67bf); box-shadow: 0 4px 0 #364f9c, 0 8px 16px #496ac02e; }
.customer-hub-secondary { border: 1px solid #cad8f2; color: #3c60aa; background: #f1f5ff; box-shadow: 0 3px 0 #d6e1f3; }
.customer-hub-primary:disabled, .customer-hub-secondary:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.customer-hub-card > .customer-hub-primary, .customer-hub-card > .customer-hub-secondary, .customer-hub-form > .customer-hub-primary, .customer-hub-form > .customer-hub-secondary { width: 100%; }
.customer-hub-warning { margin: 10px 0; padding: 10px 12px; border: 1px solid #f2dfbd; border-radius: 9px; color: #986521; background: #fff9ed; font-size: 12px; line-height: 1.5; }
.customer-hub-form { display: grid; gap: 13px; }
.customer-hub-form label { display: grid; gap: 6px; color: #465672; font-size: 12px; font-weight: 700; }
.customer-hub-form .customer-hub-auth-remember:not([hidden]) { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.customer-hub-form .customer-hub-auth-remember input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: #7445b2; }
.customer-hub-form :is(input,textarea,select) { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #d7dfec; border-radius: 9px; outline: none; color: #26344c; background: #fff; font: inherit; font-size: 14px; }
.customer-hub-form :is(input,textarea,select):focus { border-color: #6884cf; box-shadow: 0 0 0 3px #7089d42b; }
.customer-hub-form input[type=file] { min-height: 0; padding: 10px; }
.customer-hub-form h3 { margin: 6px 0 -2px; font-size: 14px; }
.customer-hub-text-button { padding: 5px; border: 0; color: #4467b9; background: transparent; font-size: 12px; font-weight: 700; }
.customer-hub-upload-preview { max-width: 100%; max-height: 220px; margin: 2px auto; border-radius: 10px; object-fit: contain; }
.customer-hub-intro { background: linear-gradient(145deg,#fff,#f7f3ff); }
.customer-hub-intro strong { font-size: 16px; }
.customer-hub-checkin-balance { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px 12px; background: linear-gradient(135deg,#f2ecff,#fff 70%); }
.customer-hub-checkin-balance > div { display: flex; align-items: baseline; gap: 5px; }
.customer-hub-checkin-balance small { align-self: center; color: #796a98; font-size: 12px; }
.customer-hub-checkin-balance strong { color: #574b9b; font-size: 33px; line-height: 1; }
.customer-hub-checkin-balance span { color: #75658f; font-size: 12px; }
.customer-hub-checkin-balance .customer-hub-primary { min-width: 96px; }
.customer-hub-checkin-balance p { grid-column: 1 / -1; margin: 0; color: #796a98; font-size: 12px; }
.customer-hub-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.customer-hub-stats > div { display: grid; gap: 2px; padding: 13px 6px; border: 1px solid #e2e8f3; border-radius: 13px; background: #fff; text-align: center; box-shadow: 0 3px 0 #e6ebf4; }
.customer-hub-stats small { color: #7a879d; font-size: 11px; }
.customer-hub-stats strong { color: #374c8b; font-size: 21px; }
.customer-hub-stats span { color: #8491a4; font-size: 10px; }
.customer-hub-calendar .customer-hub-card-heading { justify-content: center; }
.customer-hub-calendar .customer-hub-card-heading button { width: 34px; height: 34px; border: 0; border-radius: 9px; color: #516dc0; background: #eff3fc; font-size: 22px; }
.customer-hub-calendar h2 { min-width: 120px; text-align: center; }
.customer-hub-weekdays, .customer-hub-calendar-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; text-align: center; }
.customer-hub-weekdays { margin: 13px 0 6px; color: #8b97aa; font-size: 11px; }
.customer-hub-day { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; color: #4f607a; font-size: 12px; }
.customer-hub-day.is-today { outline: 1px solid #92a7e0; outline-offset: -2px; }
.customer-hub-day.is-signed { color: #fff; background: #6855b4; box-shadow: inset 0 -3px #4c3c93; font-weight: 800; }
.customer-hub-day.is-outside { opacity: .2; }
.customer-hub-rule { margin: 0 2px; color: #6e7990; font-size: 12px; line-height: 1.6; }
.customer-hub-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.customer-hub-request { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid #eff1f5; font-size: 12px; }
.customer-hub-request span { color: #718098; }
.customer-hub-invite img { display: block; width: min(220px,100%); margin: 16px auto 8px; }
#customerHubInviteUrl { overflow-wrap: anywhere; font-size: 11px; }
.customer-hub-profile-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.customer-hub-profile-head img, .customer-hub-profile-head > span { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 16px; object-fit: cover; }
.customer-hub-profile-head > span { display: grid; place-items: center; color: #fff; background: linear-gradient(140deg,#8a72dc,#5079c4); font-size: 21px; }
.customer-hub-profile-head strong, .customer-hub-profile-head small { display: block; }
.customer-hub-profile-head strong { margin-bottom: 3px; font-size: 17px; }
.customer-hub-profile-head small { color: #79879a; font-size: 12px; overflow-wrap: anywhere; }
#customerHubProfileEditor { display: grid; gap: 19px; margin-top: 18px; }
.customer-hub-order { padding: 13px 0; border-top: 1px solid #ebeff5; font-size: 12px; }
.customer-hub-order:first-child { border-top: 0; }
.customer-hub-order.is-current { margin: 8px -8px; padding: 13px 8px; border: 1px solid #cfdcf7; border-radius: 12px; background: #f7f9ff; }
.customer-hub-order strong { display: block; margin-bottom: 4px; font-size: 13px; }
.customer-hub-order p { margin: 3px 0; color: #6c7b92; overflow-wrap: anywhere; }
.customer-hub-order-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.customer-hub-order-actions :is(button,a) { min-height: 36px; padding: 7px 10px; font-size: 12px; }
.customer-hub-alipay-payment { display: grid; justify-items: center; gap: 8px; margin: 14px 0; padding: 14px; border: 1px solid #d7e8fb; border-radius: 14px; background: #f6fbff; text-align: center; }
.customer-hub-alipay-payment p { margin: 0; color: #44566e; font-size: 12px; line-height: 1.5; }
.customer-hub-alipay-qr { display: block; width: min(280px, 100%); height: auto; border: 8px solid #fff; border-radius: 10px; image-rendering: crisp-edges; }
.customer-hub-franchise img { width: 100%; max-height: 450px; border-radius: 12px; object-fit: contain; background: #f3f1fa; }
.customer-hub-franchise-template { position: relative; overflow: hidden; display: grid; align-content: center; min-height: 390px; margin: 13px 0 15px; padding: 30px 22px 26px; border: 1px solid #bed2e9; border-radius: 18px; color: #18385c; background: radial-gradient(circle at 85% 12%, #fbf2c8 0 9%, transparent 9.5%), radial-gradient(circle at 12% 90%, #c4e6e8 0 13%, transparent 13.5%), linear-gradient(145deg, #e5f3f3, #edf0ff 55%, #fdf0e9); box-shadow: inset 0 2px 0 #ffffffbb, 0 12px 24px #536d9926; }
.customer-hub-franchise-template[hidden] { display: none; }
.customer-hub-franchise-kicker { position: relative; z-index: 1; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.customer-hub-franchise-beads { position: absolute; top: 62px; right: -6px; transform: rotate(-16deg); color: #e68ba0; font-size: 37px; line-height: .76; letter-spacing: 4px; text-shadow: 3px 5px 0 #f5b6c4, -3px -3px 0 #fff8; opacity: .74; }
.customer-hub-franchise-template h3 { position: relative; z-index: 1; margin: 46px 0 12px; font-size: clamp(25px, 7vw, 34px); line-height: 1.25; letter-spacing: -.04em; }
.customer-hub-franchise-template p { position: relative; z-index: 1; margin: 0; color: #4e6685; font-size: 14px; line-height: 1.75; }
.customer-hub-franchise-tags { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin: 31px 0 30px; }
.customer-hub-franchise-tags span { padding: 7px 9px; border: 1px solid #ffffffbf; border-radius: 999px; background: #ffffffba; box-shadow: 0 3px 7px #607b9923; font-size: 10px; font-weight: 800; }
.customer-hub-franchise-template small { position: relative; z-index: 1; color: #627997; font-size: 10px; letter-spacing: .04em; }
.customer-hub-franchise a { color: #4467b9; font-size: 14px; font-weight: 750; }
.customer-hub-nav { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: min(100%,760px); min-height: calc(69px + env(safe-area-inset-bottom)); margin: 0 auto; padding: 7px 8px max(8px,env(safe-area-inset-bottom)); border: 1px solid #e2e7f0; border-bottom: 0; border-radius: 20px 20px 0 0; background: #fff; box-shadow: 0 -8px 24px #1d315122; }
.customer-hub-nav button { display: grid; justify-items: center; gap: 2px; min-width: 0; padding: 4px 2px; border: 0; border-radius: 12px; color: #8994a5; background: transparent; }
.customer-hub-nav button[aria-current=page] { color: #4d65b4; background: #eff3ff; box-shadow: inset 0 -3px #d4def7; }
.customer-hub-nav button span { font-size: 23px; line-height: 1.1; }
.customer-hub-nav button strong { overflow: hidden; font-size: 10px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.customer-hub-auth-overlay { position: fixed; z-index: 100; inset: 0; display: grid; align-items: end; }
dialog.customer-hub-auth-overlay { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: transparent; }
dialog.customer-hub-auth-overlay::backdrop { background: transparent; }
.customer-hub-detail-overlay { position: fixed; z-index: 95; inset: 0; display: grid; align-items: end; }
.customer-hub-auth-backdrop { position: absolute; inset: 0; background: #13203791; }
.customer-hub-auth-dialog { position: relative; width: min(100%,480px); max-height: 92svh; margin: 0 auto; padding: 25px 22px calc(24px + env(safe-area-inset-bottom)); overflow: auto; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -12px 36px #14203b2c; }
.customer-hub-detail-dialog { position: relative; width: min(100%,480px); max-height: 92svh; margin: 0 auto; padding: 25px 22px calc(24px + env(safe-area-inset-bottom)); overflow: auto; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -12px 36px #14203b2c; }
.customer-hub-detail-dialog img { display: block; width: 100%; max-height: 320px; margin-bottom: 16px; border-radius: 13px; object-fit: contain; background: #f5f3fa; }
.customer-hub-detail-dialog h2 { margin: 0 34px 8px 0; font-size: 21px; }
.customer-hub-detail-dialog p { color: #65748c; font-size: 13px; line-height: 1.6; }
.customer-hub-detail-dialog strong { display: block; margin: 12px 0; color: #be4f6a; font-size: 22px; }
.customer-hub-detail-dialog .customer-hub-primary { width: 100%; }
.customer-hub-auth-dialog > span { color: #7462bc; font-size: 12px; font-weight: 750; }
.customer-hub-auth-dialog h2 { margin: 7px 0; font-size: 23px; }
.customer-hub-auth-dialog > p { margin: 0 0 18px; color: #738096; font-size: 13px; }
.customer-hub-auth-dialog .customer-hub-form { margin-top: 18px; }
.customer-hub-auth-close { position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; border: 0; border-radius: 50%; color: #62718a; background: #f0f3f8; font-size: 24px; }
@media(max-width:360px) { .customer-hub-products { gap: 8px; } .customer-hub-product-body { padding: 9px; } .customer-hub-nav button strong { font-size: 9px; } }

/* Compact marketplace with a scrollable category rail on the left. */
.customer-hub-mall-intro { position: relative; overflow: hidden; display: grid; gap: 5px; margin: 15px 0 0; padding: 17px 18px; border: 1px solid #f0d7e0; border-radius: 18px; background: radial-gradient(circle at 90% 0%,#fff8c4 0 14%,transparent 15%),linear-gradient(135deg,#fff0f5,#f2f0ff 58%,#ebf7ff); box-shadow: inset 0 2px #fff9,0 5px 0 #e8e3f2,0 13px 24px #5a4c8520; }
.customer-hub-mall-intro span { color: #8265ad; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.customer-hub-mall-intro strong { color: #4c3c75; font-size: 20px; line-height: 1.2; }
.customer-hub-mall-intro p { max-width: 32ch; margin: 3px 0 0; color: #594b70; font-size: 14px; font-weight: 760; line-height: 1.5; }
.customer-hub-market-layout { display: grid; grid-template-columns: 102px minmax(0,1fr); align-items: start; gap: 10px; min-width: 0; margin-top: 15px; }
.customer-hub-market-layout .customer-hub-category { position: sticky; top: 8px; display: flex; flex-direction: column; gap: 6px; max-height: min(54vh,400px); margin: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; border-color: #e5e3f0; border-radius: 15px; background: #f3f2f9; box-shadow: 0 4px 0 #e4e2ee; }
.customer-hub-market-layout .customer-hub-category button { display: grid; align-content: center; gap: 2px; min-height: 63px; padding: 6px 4px; white-space: normal; text-align: center; }
.customer-hub-market-layout .customer-hub-category button span { font-size: 12px; font-weight: 850; line-height: 1.3; }
.customer-hub-market-layout .customer-hub-category button small { font-size: 9px; font-weight: 600; line-height: 1.2; }
.customer-hub-market-layout .customer-hub-category button[aria-pressed=true] { color: #74489c; background: #fff; box-shadow: 0 3px 0 #e0d7ed,0 5px 12px #4c376122; }
.customer-hub-market-main { min-width: 0; }
.customer-hub-photo-credit { margin: 13px 0 4px; text-align: right; font-size: 11px; }
.customer-hub-photo-credit a { color: #8f5b8e; text-decoration: underline; text-underline-offset: 2px; }
.customer-hub-market-heading { display: flex; align-items: end; justify-content: space-between; gap: 5px; min-width: 0; }
.customer-hub-market-heading small { display: block; color: #9278ad; font-size: 10px; }
.customer-hub-market-heading h2 { margin: 1px 0 0; color: #3a3551; font-size: 17px; }
.customer-hub-market-heading .customer-hub-text-button { flex: 0 0 auto; font-size: 10px; }
.customer-hub-market-main .customer-hub-feedback { margin: 5px 0 9px; font-size: 10px; }
.customer-hub-market-main .customer-hub-products { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
.customer-hub-market-main .customer-hub-product { border-color: #ebe4ed; border-radius: 10px; box-shadow: 0 3px 0 #ebe5ef,0 7px 13px #2f1b4210; }
.customer-hub-product-image-button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.customer-hub-product-image-button .customer-hub-product-image { width: 100%; aspect-ratio: 1; border-radius: 0; font-size: 22px; }
.customer-hub-market-main .customer-hub-product-body { gap: 3px; padding: 5px; }
.customer-hub-market-main .customer-hub-product-body h3 { display: -webkit-box; min-height: 2.6em; overflow: hidden; font-size: 10px; line-height: 1.3; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.customer-hub-market-main .customer-hub-product-body p { display: -webkit-box; min-height: 1.2em; overflow: hidden; font-size: 9px; line-height: 1.2; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.customer-hub-market-main .customer-hub-product-body .customer-hub-price { overflow: hidden; font-size: 11px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.customer-hub-market-main .customer-hub-product-body button { min-height: 28px; padding: 3px 0; border-color: #e8bed0; border-radius: 7px; color: #a23964; background: linear-gradient(#fff2f6,#fce4ed); font-size: 10px; font-weight: 850; }
.customer-hub-checkout-product { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid #e8dfe9; border-radius: 12px; background: #fbf8fc; }
.customer-hub-checkout-product > :first-child { display: grid; place-items: center; width: 66px; height: 66px; flex: 0 0 66px; border-radius: 9px; object-fit: contain; color: #9868a9; background: #f0eafa; }
.customer-hub-checkout-product > div { display: grid; gap: 4px; min-width: 0; }
.customer-hub-checkout-product strong { font-size: 13px; }
.customer-hub-checkout-product small { color: #7c8495; font-size: 11px; }
.customer-hub-checkout-product b { color: #bf4d72; font-size: 18px; }
.customer-hub-mine-list { display: grid; gap: 11px; }
.customer-hub-mine-product { display: flex; gap: 11px; min-width: 0; padding: 9px; border: 1px solid #e5e7ee; border-radius: 12px; background: #fff; box-shadow: 0 3px 0 #e6e9f1; }
.customer-hub-mine-product > :first-child { display: grid; place-items: center; width: 84px; height: 84px; flex: 0 0 84px; border-radius: 9px; object-fit: contain; color: #9b6bbb; background: #f4eef9; }
.customer-hub-mine-product > div { display: grid; align-content: start; gap: 4px; flex: 1; min-width: 0; }
.customer-hub-mine-heading, .customer-hub-mine-bottom { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.customer-hub-mine-heading strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.customer-hub-mine-heading span { flex: 0 0 auto; padding: 3px 6px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.customer-hub-mine-heading .is-active { color: #157257; background: #e7f5ee; }
.customer-hub-mine-heading .is-hidden { color: #786a79; background: #f1edf2; }
.customer-hub-mine-product p { display: -webkit-box; margin: 0; overflow: hidden; color: #7e8796; font-size: 11px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.customer-hub-mine-bottom b { color: #bc4c70; font-size: 16px; }
.customer-hub-mine-bottom button { min-height: 30px; padding: 4px 8px; border: 1px solid #d9d5eb; border-radius: 8px; color: #6953a4; background: #f5f1ff; font-size: 11px; font-weight: 750; }
@media(max-width:600px) { .customer-hub-market-layout { grid-template-columns: 76px minmax(0,1fr); gap: 6px; } .customer-hub-market-layout .customer-hub-category button { min-height: 58px; } .customer-hub-market-layout .customer-hub-category button span { font-size: 10px; } .customer-hub-market-layout .customer-hub-category button small { font-size: 8px; } }
@media(max-width:360px) { .customer-hub-market-layout { grid-template-columns: 69px minmax(0,1fr); gap: 5px; } .customer-hub-market-main .customer-hub-products { gap: 4px; } .customer-hub-market-main .customer-hub-product-body { padding: 3px; } .customer-hub-market-main .customer-hub-product-body .customer-hub-price { font-size: 10px; } }

/* The home brand is the only top bar; the other tabs begin with their own content. */
body.customer-workspace-page .customer-hero[hidden],
body.customer-workspace-page .customer-store-line { display: none !important; }
body.customer-workspace-page .customer-hero {
  margin: 7px 10px 0;
  padding: 8px 11px;
  border: 1px solid #f0d8eb;
  border-radius: 17px;
  background: linear-gradient(125deg, #fff7df, #fff0f5 46%, #e6f4ff);
  box-shadow: inset 0 2px 0 #fff, 0 4px 0 #e7cee2, 0 9px 17px #66508a20;
}
body.customer-workspace-page .customer-brand-line { min-height: 43px; gap: 10px; }
body.customer-workspace-page .customer-brand-line > div { display: block; min-width: 0; }
body.customer-workspace-page .customer-brand-line strong {
  display: block; overflow: hidden; color: #633773; font-size: 15px; font-weight: 900;
  line-height: 1.3; text-overflow: ellipsis; white-space: nowrap;
}
body.customer-workspace-page .customer-brand-mark,
body.customer-workspace-page .customer-brand-logo {
  box-sizing: border-box; display: block; width: 43px; height: 43px; flex: 0 0 43px;
  border: 3px solid #fff; border-radius: 13px; object-fit: cover;
  background-color: #fff; box-shadow: 0 3px 0 #e5b5d1, 0 5px 10px #ba8daa3d;
}
body.customer-workspace-page .customer-brand-mark[hidden],
body.customer-workspace-page .customer-brand-logo[hidden] { display: none !important; }
.customer-hub-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

#customerHubMarket { gap: 12px; }
#customerHubMarket .customer-hub-mall-intro {
  margin: 0; border-color: #ffc0d7;
  background: radial-gradient(circle at 92% 8%, #fff59f 0 12%, transparent 12.5%),
    radial-gradient(circle at 7% 92%, #bcf1ee 0 14%, transparent 14.5%),
    linear-gradient(128deg, #ffe3ef, #f5e8ff 54%, #dff4ff);
  box-shadow: inset 0 2px #fff, 0 5px 0 #e8c3e4, 0 12px 20px #a875a330;
}
#customerHubMarket .customer-hub-mall-intro strong { color: #773388; }
#customerHubMarket .customer-hub-mall-intro p { color: #623c74; }
#customerHubMarket .customer-hub-sell-intro {
  border-color: #ffc6a3;
  background: radial-gradient(circle at 90% 8%, #ffe474 0 12%, transparent 12.5%),
    radial-gradient(circle at 8% 95%, #f9a2cf 0 13%, transparent 13.5%),
    linear-gradient(130deg, #fff1bc, #ffe4da 50%, #ede1ff);
  box-shadow: inset 0 2px #fff, 0 5px 0 #f0c39f, 0 12px 20px #b9887430;
}
#customerHubMarket .customer-hub-segment { border-color: #ecd0e3; background: #f9eaf5; box-shadow: 0 3px 0 #ead5e8; }
#customerHubMarket .customer-hub-segment button[aria-pressed=true] { color: #a52c6f; box-shadow: 0 3px 0 #e7bfd8, 0 5px 10px #ad518540; }
.customer-hub-market-layout .customer-hub-category { border-color: #f0cfe8; background: linear-gradient(#ffe9f4, #eeeaff); box-shadow: 0 4px 0 #e1cce6, 0 9px 15px #85547b25; }
.customer-hub-market-layout .customer-hub-category-group { display: grid; gap: 4px; }
.customer-hub-market-layout .customer-hub-category-group > button[aria-pressed=true] { color: #8e2874; border: 1px solid #f8bfdf; background: #fff; box-shadow: 0 3px 0 #e4b5d8; }
.customer-hub-subcategories { display: grid; gap: 4px; padding-left: 3px; }
.customer-hub-subcategories[hidden] { display: none; }
.customer-hub-market-layout .customer-hub-subcategories button {
  min-height: 28px; padding: 5px 3px; border: 1px solid #f2d6e8; border-radius: 8px;
  color: #784e83; background: #fffbff; font-size: 10px; font-weight: 750; line-height: 1.25;
  overflow-wrap: anywhere; box-shadow: 0 2px 0 #e6d7e8;
}
.customer-hub-market-layout .customer-hub-subcategories button[aria-pressed=true] { color: #fff; border-color: #c34994; background: linear-gradient(#ee7eb6, #c64c95); box-shadow: 0 3px 0 #9f3679; }
.customer-hub-market-main .customer-hub-product,
.customer-hub-seller-showcase .customer-hub-product { border-color: #f2d3e3; box-shadow: 0 3px 0 #edcfe1, 0 8px 14px #af679126; }
.customer-hub-market-main .customer-hub-product-body button,
.customer-hub-seller-showcase .customer-hub-product-body button { border-color: #ec9dc5; color: #9d296a; background: linear-gradient(#ffe7f4, #ffcde3); box-shadow: 0 2px 0 #e9a8c9; }
.customer-hub-seller-showcase { margin-top: 13px; padding: 13px 9px; background: linear-gradient(#fff, #fff6fb); }
.customer-hub-seller-showcase .customer-hub-products { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 6px; }
.customer-hub-seller-showcase .customer-hub-product-body { gap: 3px; padding: 5px; }
.customer-hub-seller-showcase .customer-hub-product-body h3 { display: -webkit-box; min-height: 2.6em; overflow: hidden; font-size: 10px; line-height: 1.3; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.customer-hub-seller-showcase .customer-hub-product-body p { min-height: 1.2em; overflow: hidden; font-size: 9px; line-height: 1.2; white-space: nowrap; }
.customer-hub-seller-showcase .customer-hub-product-body .customer-hub-price { font-size: 11px; }
.customer-hub-seller-showcase .customer-hub-product-body button { min-height: 28px; padding: 3px 0; font-size: 10px; }
.customer-hub-seller-showcase > .customer-hub-secondary { width: 100%; margin: 7px 0 2px; }
.customer-hub-seller-product .customer-hub-product-image { width: 100%; aspect-ratio: 1; object-fit: contain; }
.customer-hub-seller-status { justify-self: start; padding: 2px 5px; border-radius: 999px; font-size: 9px; font-weight: 850; white-space: nowrap; }
.customer-hub-seller-status.is-active { color: #157257; background: #dff7e9; }
.customer-hub-seller-status.is-hidden { color: #786a79; background: #f0edf2; }
.customer-hub-seller-card-actions { display: grid; gap: 4px; }
.customer-hub-seller-showcase .customer-hub-seller-card-actions button { min-height: 25px; padding: 2px 1px; font-size: 9px; }
.customer-hub-seller-showcase .customer-hub-seller-status-action.is-unlist { border-color: #e7c2bb; color: #955a4b; background: linear-gradient(#fff8ed,#f9e3d8); box-shadow: 0 2px 0 #e8cabe; }
.customer-hub-seller-showcase .customer-hub-seller-status-action.is-relist { border-color: #91d8b9; color: #267458; background: linear-gradient(#effff2,#d7f6e3); box-shadow: 0 2px 0 #b2ddc7; }
.customer-hub-seller-status-action:disabled { opacity: .65; cursor: wait; }
.customer-hub-mine-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
.customer-hub-mine-actions button { min-height: 30px; padding: 4px 7px; border: 1px solid #d9d5eb; border-radius: 8px; color: #6953a4; background: #f5f1ff; font-size: 11px; font-weight: 750; }
.customer-hub-manage-button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 13px;
  padding: 15px 17px; border: 1px solid #e7bde3; border-radius: 16px; color: #633672;
  background: linear-gradient(125deg,#fff2f9,#fae8ff 55%,#e8f5ff);
  box-shadow: inset 0 2px #fff, 0 4px 0 #e4c3df, 0 9px 18px #9d60932b; text-align: left;
}
.customer-hub-manage-button span { display: grid; gap: 3px; }
.customer-hub-manage-button strong { font-size: 16px; }
.customer-hub-manage-button small { color: #866b8c; font-size: 11px; }
.customer-hub-manage-button b { color: #b94795; font-size: 28px; }
.customer-hub-seller-dialog { padding-top: 23px; background: linear-gradient(#fff9fe,#fff); }
.customer-hub-seller-dialog > h2 { margin: 5px 35px 16px 0; color: #673177; }
.customer-hub-seller-kicker { color: #c2509c; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.customer-hub-seller-dialog > .customer-hub-segment { margin-bottom: 16px; }
.customer-hub-seller-dialog .customer-hub-card { margin: 0 0 15px; }
.customer-hub-seller-dialog .customer-hub-card-heading h3 { margin: 0; font-size: 16px; }
.customer-hub-seller-dialog .customer-hub-form { gap: 12px; }
.customer-hub-fulfillment { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.customer-hub-fulfillment legend { margin-bottom: 7px; color: #465672; font-size: 12px; font-weight: 750; }
.customer-hub-fulfillment label { display: block; cursor: pointer; }
.customer-hub-fulfillment label[hidden] { display: none; }
.customer-hub-form .customer-hub-fulfillment input[type=radio] { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; opacity: 0; }
.customer-hub-fulfillment span { display: grid; place-items: center; min-height: 44px; border: 1px solid #e9cee6; border-radius: 11px; color: #765477; background: #fff8fd; box-shadow: 0 3px 0 #ebd8e7; font-size: 13px; font-weight: 800; }
.customer-hub-fulfillment label:has(input:checked) span { border-color: #d65a9f; color: #fff; background: linear-gradient(#f286bc,#d4569b); box-shadow: 0 3px 0 #ad3f83; }
.customer-hub-fulfillment label:has(input:focus-visible) span { outline: 3px solid #7a5bd2; outline-offset: 2px; }
#customerHubAddressField[hidden] { display: none; }
.customer-hub-primary {
  border-color: #c44c96; color: #fff;
  background: linear-gradient(145deg,#f78ab8,#da579b 62%,#b848a2);
  box-shadow: inset 0 2px #ffffff69, 0 4px 0 #a43b87, 0 8px 14px #a43b8740;
}
.customer-hub-secondary {
  border-color: #62bfc5; color: #286e82;
  background: linear-gradient(#ecfffb,#c8f4f0);
  box-shadow: inset 0 1px #fff, 0 3px 0 #8fd4d4;
}
.customer-hub-nav {
  border-color: #f1cfe3;
  background: linear-gradient(#fffefa,#fff2f9);
  box-shadow: inset 0 2px #fff, 0 -4px 0 #e9cfdf, 0 -9px 20px #9a6e9229;
}
.customer-hub-nav button[aria-current=page] {
  color: #a02b79; background: linear-gradient(#ffe9f4,#fbd3e9);
  box-shadow: inset 0 2px #fff, 0 3px 0 #e9a9cc;
}
.customer-hub-nav button:focus-visible,
.customer-hub-manage-button:focus-visible,
.customer-hub-market-layout .customer-hub-category button:focus-visible {
  outline: 3px solid #8f63d4; outline-offset: 2px;
}
@media(max-width:360px) { .customer-hub-seller-showcase .customer-hub-products { gap: 4px; } .customer-hub-seller-showcase .customer-hub-product-body { padding: 3px; } }

/* Sign-in campaign card, placed above the customer calendar. */
#customerHubCheckin .customer-hub-checkin-promo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: start;
  gap: 10px;
  min-height: 250px;
  padding: 25px 22px 23px;
  border: 1px solid #e8c5ff;
  border-radius: 25px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 17%, #ffc877 0 8%, transparent 8.4%),
    radial-gradient(circle at 77% 72%, #ffb6bd 0 5%, transparent 5.4%),
    radial-gradient(circle at 95% 89%, #f59ec7 0 11%, transparent 11.5%),
    linear-gradient(140deg, #7054c2 4%, #9870d5 48%, #c681bf 100%);
  box-shadow: inset 0 2px 0 #ffffff65, 0 7px 0 #614b9b, 0 19px 30px #5540854d;
}
#customerHubCheckin .customer-hub-checkin-promo::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -42px;
  right: -54px;
  width: 188px;
  height: 188px;
  border: 26px solid #ffffff22;
  border-radius: 50%;
  box-shadow: 0 0 0 18px #ffffff0d;
}
#customerHubCheckin .customer-hub-checkin-promo::after {
  content: "✦";
  position: absolute;
  right: 25px;
  bottom: 33px;
  color: #ffe7a9;
  font-size: 46px;
  text-shadow: 3px 5px 0 #67468a75;
  transform: rotate(-12deg);
  pointer-events: none;
}
#customerHubCheckin .customer-hub-checkin-promo > span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 10px;
  border: 1px solid #ffffff78;
  border-radius: 999px;
  background: #ffffff28;
  box-shadow: inset 0 1px 0 #ffffff56;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}
#customerHubCheckin .customer-hub-checkin-promo h2 {
  position: relative;
  max-width: 295px;
  margin: 0;
  font-size: clamp(27px, 7.5vw, 36px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.045em;
  text-shadow: 0 3px 0 #60448a70;
}
#customerHubCheckin .customer-hub-checkin-promo :is(h2, p) :is(strong, em) {
  color: #ffe59c;
  font-style: normal;
  font-weight: 900;
}
#customerHubCheckin .customer-hub-checkin-promo p {
  position: relative;
  max-width: 310px;
  margin: 0;
  color: #fff9;
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.55;
}
#customerHubCheckin .customer-hub-checkin-promo button {
  position: relative;
  z-index: 1;
  min-height: 43px;
  margin-top: 6px;
  padding: 9px 17px;
  border: 1px solid #fff;
  border-radius: 13px;
  color: #624582;
  background: linear-gradient(#fff, #f6e8ff);
  box-shadow: 0 4px 0 #d5addb, 0 8px 15px #4b326b4f;
  font-size: 14px;
  font-weight: 850;
  transition: transform .16s ease, box-shadow .16s ease;
}
#customerHubCheckin .customer-hub-checkin-promo button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #d5addb, 0 4px 9px #4b326b4f;
}
#customerHubCheckin .customer-hub-checkin-promo button:focus-visible {
  outline: 3px solid #ffe59c;
  outline-offset: 3px;
}
#customerHubCheckin .customer-hub-card,
#customerHubCheckin .customer-hub-stats > div {
  border-color: #e5def1;
  box-shadow: inset 0 1px 0 #fff, 0 5px 0 #e7dff1, 0 14px 24px #53437f1c;
}
#customerHubCheckin .customer-hub-checkin-balance {
  background: linear-gradient(145deg, #fff, #f5f0ff 73%, #eee4ff);
}
#customerHubCheckin .customer-hub-calendar {
  border-color: #e9c5f2;
  background: linear-gradient(180deg, #fff4fb, #f7efff 66%, #eef8ff);
  box-shadow: inset 0 2px #fff, 0 6px 0 #dfbee9, 0 14px 24px #ad72bd30;
}
#customerHubCheckin .customer-hub-calendar .customer-hub-card-heading button {
  border: 1px solid #dcade4; color: #8d3faa;
  background: linear-gradient(#fff, #f7dffa);
  box-shadow: 0 3px 0 #ddb8e6;
}
#customerHubCheckin .customer-hub-calendar h2 { color: #693288; font-weight: 900; }
#customerHubCheckin .customer-hub-weekdays { color: #9c5caa; font-weight: 850; }
#customerHubCheckin .customer-hub-day:not(.is-outside) {
  border: 1px solid #ead7f1;
  color: #703e7d;
  background: linear-gradient(#fff, #fff8fb);
  box-shadow: 0 2px 0 #e7d0ee;
  font-weight: 700;
}
#customerHubCheckin .customer-hub-day.is-today {
  outline: 2px solid #f7a849; outline-offset: 1px;
  color: #8e4769;
  background: linear-gradient(#fff8db, #ffe7b8);
}
#customerHubCheckin .customer-hub-day.is-signed {
  border-color: #9a60c6;
  color: #fff;
  background: linear-gradient(145deg, #a46fea, #754bc8);
  box-shadow: inset 0 2px 0 #ffffff66, 0 3px 0 #60329c, 0 5px 8px #6847a43d;
}
#customerHubCheckin .customer-hub-day.is-signed:nth-child(4n+1) {
  border-color: #e3739f; background: linear-gradient(#fa9cc7, #e75d9a); box-shadow: inset 0 2px #ffffff66, 0 3px 0 #b7447d;
}
#customerHubCheckin .customer-hub-day.is-signed:nth-child(4n+2) {
  border-color: #47b5b4; background: linear-gradient(#82e4da, #38b8bd); box-shadow: inset 0 2px #ffffff66, 0 3px 0 #268c98;
}
#customerHubCheckin .customer-hub-day.is-signed:nth-child(4n+3) {
  border-color: #eeae53; background: linear-gradient(#ffd37a, #f3a84b); box-shadow: inset 0 2px #ffffff66, 0 3px 0 #c27e31;
}
#customerHubCheckin .customer-hub-invite {
  background: linear-gradient(145deg, #fff, #fff7f9);
}
@media (max-width: 360px) {
  #customerHubCheckin .customer-hub-checkin-promo { padding: 22px 18px 21px; }
  #customerHubCheckin .customer-hub-checkin-promo h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  #customerHubCheckin .customer-hub-checkin-promo button { transition: none; }
}

.customer-hub-market-main .customer-hub-product-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}
.customer-hub-market-main .customer-hub-product-actions small {
  grid-column: 1 / -1;
  color: #695a77;
  font-size: 10px;
  line-height: 1.35;
}
.customer-hub-market-main .customer-hub-product-actions button {
  width: 100%;
  min-width: 0;
  min-height: 27px;
  padding: 2px 0;
  font-size: 9px;
  line-height: 1.2;
}
.customer-hub-market-main .customer-hub-product-actions .customer-hub-bargain-button {
  border-color: #b9b1ef;
  color: #6245ae;
  background: linear-gradient(#f8f4ff, #e8e0ff);
  box-shadow: 0 2px 0 #d0c4f4;
}
.customer-hub-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.customer-hub-detail-actions p {
  grid-column: 1 / -1;
  margin: 0;
  color: #695a77;
  line-height: 1.5;
}
.customer-hub-detail-actions button { min-width: 0; }
.customer-hub-detail-actions .customer-hub-bargain-button {
  border: 1px solid #afa3eb;
  border-radius: 11px;
  color: #5c3caa;
  background: linear-gradient(#f9f6ff, #e8deff);
  box-shadow: 0 3px 0 #d1c2f2;
  font-size: 14px;
  font-weight: 800;
}
.customer-hub-offer-overlay { z-index: 97; }
.customer-hub-offer-dialog {
  border: 1px solid #f0d0ec;
  background: radial-gradient(circle at 92% 4%, #fff5ad 0 42px, transparent 43px), linear-gradient(#fff7fd, #fff);
}
.customer-hub-offer-kicker { color: #a04eb4; font-size: 11px; font-weight: 850; letter-spacing: .06em; }
.customer-hub-offer-dialog h2 { margin: 6px 40px 15px 0; color: #66317d; }
.customer-hub-offer-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #e9d5ef;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 0 #eee3f4;
}
.customer-hub-offer-product strong { min-width: 0; color: #4d3567; font-size: 14px; overflow-wrap: anywhere; }
.customer-hub-offer-product span { flex: none; color: #b53877; font-weight: 850; white-space: nowrap; }
.customer-hub-offers {
  margin-top: 14px;
  padding: 15px;
  border-color: #e9cde8;
  background: linear-gradient(#fffaff, #fff);
  box-shadow: 0 4px 0 #e9e1f0, 0 10px 22px #8e56931c;
}
.customer-hub-offers .customer-hub-card-heading { margin-bottom: 7px; }
.customer-hub-offer-list { display: grid; gap: 9px; }
.customer-hub-offer-card {
  display: grid;
  gap: 5px;
  padding: 11px;
  border: 1px solid #e8d5ef;
  border-radius: 13px;
  background: linear-gradient(130deg, #fff, #faf3ff);
  box-shadow: 0 3px 0 #eae1f2;
}
.customer-hub-offer-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.customer-hub-offer-head strong { min-width: 0; color: #4a326a; font-size: 13px; overflow-wrap: anywhere; }
.customer-hub-offer-state { flex: none; padding: 3px 8px; border-radius: 999px; background: #eee7ff; color: #6b51aa; font-size: 11px; font-weight: 850; }
.customer-hub-offer-state.is-accepted { background: #d8f7e9; color: #197653; }
.customer-hub-offer-state.is-rejected,
.customer-hub-offer-state.is-expired { background: #f4e9ec; color: #8f6371; }
.customer-hub-offer-state.is-used { background: #e8eef9; color: #61728f; }
.customer-hub-offer-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 12px; color: #786681; font-size: 11px; }
.customer-hub-offer-prices b { color: #bf387f; font-size: 15px; }
.customer-hub-offer-note { margin: 0; color: #776985; font-size: 11px; line-height: 1.45; }
.customer-hub-offer-actions { display: flex; gap: 8px; margin-top: 3px; }
.customer-hub-offer-actions button { flex: 1; min-height: 33px; border: 1px solid #d6b8e7; border-radius: 9px; color: #71429b; background: #f7edff; font-size: 11px; font-weight: 800; }
.customer-hub-offer-actions button[data-hub-offer-decision="accept"] { border-color: #8bd9b3; color: #196f54; background: #e1faed; }
.customer-hub-offer-actions button[data-hub-checkout-offer] { border-color: #eaa1c9; color: #982d69; background: #ffebf5; }
.customer-hub-offer-actions button:disabled { opacity: .6; cursor: wait; }
.customer-hub-checkout-original { color: #8b7d91; font-size: 11px; text-decoration: line-through; }
@media (max-width: 360px) {
  .customer-hub-market-main .customer-hub-product-actions { gap: 2px; }
  .customer-hub-market-main .customer-hub-product-actions button { font-size: 8px; }
}

.customer-hub-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.customer-home-pattern-entry {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 92px;
  margin: 15px 0 96px;
  padding: 14px 17px;
  border: 1px solid #f188b6;
  border-radius: 19px;
  color: #681f69;
  background: radial-gradient(circle at 91% 15%, #ffdc73 0 29px, transparent 30px), linear-gradient(120deg, #ffe7f3, #f6d5ff 57%, #d7f7f2);
  box-shadow: inset 0 2px #fff9, 0 5px 0 #db8cc7, 0 12px 21px #a3488b35;
  text-align: left;
}
.customer-home-pattern-motif {
  flex: none;
  display: grid;
  grid-template-columns: repeat(3, 10px);
  gap: 3px;
  padding: 9px;
  border-radius: 13px;
  background: #fffdfa;
  box-shadow: 0 3px 0 #e9b8d6, 0 6px 10px #98477825;
  transform: rotate(-7deg);
}
.customer-home-pattern-motif i { width: 10px; height: 10px; border-radius: 50%; background: #ff6e9d; box-shadow: inset 1px 1px #fff8; }
.customer-home-pattern-motif i:nth-child(2), .customer-home-pattern-motif i:nth-child(8) { background: #ffc74d; }
.customer-home-pattern-motif i:nth-child(4), .customer-home-pattern-motif i:nth-child(6) { background: #61d3bd; }
.customer-home-pattern-motif i:nth-child(5) { background: #9467d7; }
.customer-home-pattern-copy { display: grid; gap: 2px; min-width: 0; }
.customer-home-pattern-copy small { color: #955290; font-size: 10px; font-weight: 800; }
.customer-home-pattern-copy strong { font-size: clamp(18px, 5.5vw, 24px); font-weight: 900; letter-spacing: .02em; }
.customer-home-pattern-copy > span { color: #81567e; font-size: 11px; }
.customer-home-pattern-entry b { margin-left: auto; color: #a3499d; font-size: 27px; }
.customer-home-pattern-entry:active { transform: translateY(3px); box-shadow: inset 0 2px #fff9, 0 2px 0 #db8cc7, 0 5px 10px #a3488b30; }
.customer-home-pattern-entry:focus-visible { outline: 3px solid #8f63d4; outline-offset: 3px; }
.customer-hub-pattern-back { margin: 12px 0 0; }
.customer-hub-pattern-layout, .customer-hub-pattern-main { min-width: 0; }
.customer-hub-pattern-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 9px 0 7px;
}
.customer-hub-pattern-categories button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 40px;
  padding: 5px 3px;
  border: 1px solid #e5d5e7;
  border-radius: 999px;
  color: #604268;
  background: #fff;
  font-family: inherit;
  font-size: clamp(10.5px, 3vw, 12px);
  font-weight: 700;
  cursor: pointer;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}
.customer-hub-pattern-categories button[aria-pressed="true"] {
  border-color: #754269;
  color: #fff;
  background: #754269;
}
.customer-hub-pattern-count {
  display: none;
  min-width: 1em;
  color: #78617d;
  font-size: 10px;
  font-weight: 650;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.customer-hub-pattern-categories button[aria-pressed="true"] .customer-hub-pattern-count { color: #faf0f7; }
.customer-hub-pattern-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
  min-height: 44px;
  margin: 2px 0 7px;
}
#customerHubPatternsStatus { flex: 1; margin: 0; color: #685575; font-size: 12px; line-height: 1.4; }
.customer-hub-pattern-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5d466d;
  font-size: 12px;
  font-weight: 750;
}
.customer-hub-pattern-filter select {
  min-height: 40px;
  max-width: 145px;
  padding: 5px 8px;
  border: 1px solid #decbe4;
  border-radius: 9px;
  color: #5d466d;
  background: #fff;
  font: inherit;
  font-size: 16px;
}
.customer-hub-pattern-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.customer-hub-pattern-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 0 0 8px;
  overflow: hidden;
  border: 1px solid #ead8ea;
  border-radius: 12px;
  color: #57385d;
  background: #fff;
  box-shadow: 0 2px 0 #f1e6f2;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.customer-hub-pattern-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fbf6fa; }
.customer-hub-pattern-card-missing { display: grid; place-items: center; width: 100%; aspect-ratio: 1; padding: 8px; background: #fbf6fa; color: #765981; font-size: 11px; text-align: center; }
.customer-hub-pattern-card strong { display: -webkit-box; margin: 3px 8px 0; overflow: hidden; font-size: 13px; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.customer-hub-pattern-card small { margin: 0 8px; overflow: hidden; color: #765981; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
@media(min-width:680px) {
  .customer-hub-pattern-categories { display: flex; flex-wrap: wrap; gap: 7px; }
  .customer-hub-pattern-categories button { padding-inline: 11px; }
  .customer-hub-pattern-count { display: block; }
  .customer-hub-pattern-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
}
.customer-hub-pattern-overlay { z-index: 98; }
.customer-hub-pattern-dialog { border: 1px solid #e9cef0; background: linear-gradient(#fff8fd, #fff); }
.customer-hub-pattern-dialog h2 { margin: 0 38px 12px 0; color: #753481; font-size: 20px; }
.customer-hub-pattern-zoom-area {
  max-height: min(64svh,680px); min-height: 180px; overflow: auto;
  overscroll-behavior: contain; border: 1px solid #e9dbea; border-radius: 12px; background: #fff;
  -webkit-overflow-scrolling: touch;
}
.customer-hub-pattern-zoom {
  display: block; min-width: 100%; width: 100%; padding: 0; border: 0; background: #fff;
  cursor: zoom-in;
}
.customer-hub-pattern-zoom.is-enlarged { cursor: zoom-in; }
.customer-hub-pattern-zoom img {
  display: block; width: 100%; height: auto; max-height: none; margin: 0;
  border-radius: 0; object-fit: contain; background: #fff;
}
.customer-hub-pattern-missing {
  display: grid; place-items: center; min-height: 140px; margin: 0 !important; padding: 14px;
  color: #92788d; background: #fff9fd; text-align: center;
}
.customer-hub-pattern-zoom-controls { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 0 10px; }
.customer-hub-pattern-zoom-controls button {
  min-width: 0; flex: 1; min-height: 36px; padding: 4px 7px; border: 1px solid #dccbe5; border-radius: 9px;
  color: #795889; background: #fff; font-size: 11px; font-weight: 850;
}
.customer-hub-pattern-zoom-controls button[aria-pressed="true"] {
  border-color: #cf7db8; color: #fff; background: linear-gradient(#ef9acb,#d55aa7);
  box-shadow: 0 3px 0 #af4788;
}
.customer-hub-pattern-download { margin: 0 0 10px; }
.customer-hub-pattern-download-button {
  width: 100%; min-height: 40px; padding: 8px 12px; border: 1px solid #dccbe5; border-radius: 9px;
  color: #795889; background: #fff; font: inherit; font-size: 13px; font-weight: 750;
}
.customer-hub-pattern-download-button:disabled { opacity: .6; }
.customer-hub-pattern-download [role="status"] { color: #806b8b; font-size: 11px; }
.customer-hub-pattern-stats { display: flex; flex-wrap: wrap; gap: 5px; margin: 3px 0 11px; }
.customer-hub-pattern-stats span {
  padding: 6px 8px; border: 1px solid #e7d7eb; border-radius: 8px;
  color: #754f80; background: #faf2ff; font-size: 10px; font-weight: 750;
}
.customer-hub-pattern-hint { margin: 7px 0 11px; color: #806b8b; font-size: 11px; }
.customer-hub-pattern-credit { display: grid; gap: 5px; padding: 10px; border-radius: 10px; background: #f7f1fc; color: #685479; font-size: 11px; }
.customer-hub-pattern-credit a { width: fit-content; color: #713da2; text-decoration: underline; }
.customer-hub-pattern-dialog p { margin: 7px 0; }
.customer-hub-pattern-dialog p { white-space: pre-line; }
.customer-hub-pattern-categories button:focus-visible,
.customer-hub-pattern-filter select:focus-visible,
.customer-hub-pattern-card:focus-visible,
.customer-hub-pattern-zoom:focus-visible,
.customer-hub-pattern-download-button:focus-visible,
.customer-hub-pattern-zoom-controls button:focus-visible { outline: 3px solid #8f63d4; outline-offset: 2px; }
@media(max-width:360px) {
  .customer-home-pattern-entry { gap: 9px; padding: 12px; }
  .customer-home-pattern-copy small { font-size: 9px; }
  .customer-hub-pattern-grid { gap: 6px; }
  .customer-hub-pattern-card strong { margin: 0 5px; font-size: 11px; }
  .customer-hub-pattern-card small { margin: 0 5px; font-size: 9px; }
  .customer-hub-nav button strong { font-size: 9px; }
  .customer-hub-pattern-dialog { padding: 20px 12px calc(18px + env(safe-area-inset-bottom)); }
}
@media(max-width:250px) {
  .customer-hub-pattern-dialog { padding: 14px 8px calc(14px + env(safe-area-inset-bottom)); }
  .customer-hub-pattern-zoom-controls button { padding: 4px; font-size: 10px; }
}

.customer-home-discover-rail {
  display: flex; gap: 12px; width: calc(100% + 16px); margin: 14px -8px 96px;
  padding: 2px 8px 15px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-color: #e2bbda transparent;
}
.customer-home-discover-rail > button {
  flex: 0 0 clamp(220px, 69%, 300px); min-width: 0; min-height: 115px;
  margin: 0; scroll-snap-align: start;
}
.customer-home-discover-rail .customer-home-pattern-copy strong { font-size: clamp(18px,4.8vw,21px); }
.customer-home-rental-entry {
  display: flex; align-items: center; gap: 11px; padding: 14px;
  border: 1px solid #72cbbf; border-radius: 19px; color: #306a78;
  background: radial-gradient(circle at 88% 16%, #ffd975 0 28px, transparent 29px),
    linear-gradient(120deg,#d8fff4,#d8ebff 58%,#f3e3ff);
  box-shadow: inset 0 2px #fff9, 0 5px 0 #8fcfca, 0 12px 20px #4b9da32c;
  text-align: left;
}
.customer-home-rental-motif {
  flex: none; display: grid; place-items: center; width: 45px; height: 45px;
  border: 2px dotted #d9a3de; border-radius: 13px; color: #bd60aa;
  background: #fffdf7; box-shadow: 0 3px 0 #bfd8e4; font-size: 29px;
}
.customer-home-rental-copy { display: grid; gap: 3px; min-width: 0; }
.customer-home-rental-copy small { color: #477d88; font-size: 10px; font-weight: 850; }
.customer-home-rental-copy strong { color: #426986; font-size: clamp(17px,5vw,22px); font-weight: 900; }
.customer-home-rental-copy > span { color: #5b8590; font-size: 10px; }
.customer-home-rental-entry b { margin-left: auto; color: #599c9b; font-size: 26px; }
.customer-home-rental-entry:active { transform: translateY(3px); box-shadow: inset 0 2px #fff9, 0 2px 0 #8fcfca, 0 5px 10px #4b9da32c; }
.customer-home-rental-entry:focus-visible { outline: 3px solid #8563d1; outline-offset: 3px; }

#customerHubBoardRentals { padding-bottom: 104px; }
.customer-hub-rental-back { margin: 12px 0 0; }
.customer-hub-rental-intro {
  display: grid; gap: 5px; margin: 15px 0 13px; padding: 17px 18px;
  border: 1px solid #91d8ce; border-radius: 18px;
  background: radial-gradient(circle at 92% 15%,#ffe58c 0 35px,transparent 36px),
    linear-gradient(125deg,#e4fff5,#e8f2ff 63%,#f7e9ff);
  box-shadow: inset 0 2px #fff9, 0 5px 0 #bee2db, 0 12px 22px #5f9ca025;
}
.customer-hub-rental-intro span { color: #518c8b; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.customer-hub-rental-intro strong { color: #397080; font-size: 22px; }
.customer-hub-rental-intro p { margin: 0; color: #587d86; font-size: 12px; line-height: 1.5; }
.customer-hub-rental-status { margin: 8px 0 12px; color: #66838d; font-size: 11px; }
.customer-hub-rental-models { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.customer-hub-rental-model {
  display: grid; align-content: start; gap: 5px; min-width: 0; padding: 6px 6px 9px;
  border: 1px solid #d7d7ea; border-radius: 13px; color: #4f607a;
  background: #fff; box-shadow: 0 3px 0 #dce5e9, 0 7px 12px #648b9f1c;
  text-align: left;
}
.customer-hub-rental-model[aria-pressed="true"] { border-color: #51bfad; background: #f6fffc; box-shadow: 0 3px 0 #8bcfc0, 0 7px 13px #5da69a2b; }
.customer-hub-rental-model:disabled { opacity: .62; }
.customer-hub-rental-model-visual {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1; overflow: hidden;
  border-radius: 9px; color: #af69bc; background: #f7f8ff; font-size: 40px;
}
.customer-hub-rental-model-visual img { display: block; width: 100%; height: 100%; object-fit: contain; }
.customer-hub-rental-model strong { display: block; min-height: 2.4em; font-size: 12px; line-height: 1.2; }
.customer-hub-rental-model small { display: -webkit-box; min-height: 2.5em; overflow: hidden; color: #748498; font-size: 9px; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.customer-hub-rental-model-rates { color: #c14884; font-size: 10px; font-weight: 850; line-height: 1.4; }
.customer-hub-rental-model-action { justify-self: stretch; padding: 5px 2px; border-radius: 7px; color: #26877a; background: #e2f8f1; font-size: 10px; font-weight: 850; text-align: center; }
.customer-hub-rental-selection {
  display: grid; gap: 10px; margin-top: 15px; padding: 15px;
  border: 1px solid #a3d8cb; border-radius: 16px; background: linear-gradient(#fff,#f3fff9);
  box-shadow: 0 4px 0 #bbe5d7, 0 10px 17px #6ba79223;
}
.customer-hub-rental-selection[hidden] { display: none; }
.customer-hub-rental-selection h2 { margin: 0; color: #427778; font-size: 17px; }
.customer-hub-rental-summary { display: flex; flex-wrap: wrap; gap: 7px; }
.customer-hub-rental-summary span { padding: 6px 8px; border-radius: 9px; color: #be4c80; background: #fff0f6; font-size: 12px; font-weight: 850; }
.customer-hub-rental-rule, .customer-hub-rental-balance, .customer-hub-rental-payment-message, .customer-hub-rental-feedback { margin: 0; font-size: 11px; line-height: 1.55; }
.customer-hub-rental-rule { color: #5d7181; }
.customer-hub-rental-balance { color: #337d6c; font-weight: 800; }
.customer-hub-rental-payment-message { padding: 7px 9px; border-radius: 8px; color: #9d6337; background: #fff4db; }
.customer-hub-rental-feedback { color: #8e517a; }
#customerHubRentalPay { min-height: 38px; border: 1px solid #d891b6; border-radius: 10px; color: #fff; background: linear-gradient(#f291bf,#d85a9c); box-shadow: 0 3px 0 #b94883; font-size: 12px; font-weight: 850; }
#customerHubRentalPay:disabled { border-color: #d8d5dd; color: #796f82; background: #e8e4ed; box-shadow: none; }
.customer-hub-rental-model:focus-visible, #customerHubRentalPay:focus-visible { outline: 3px solid #8563d1; outline-offset: 2px; }
@media(max-width:360px) {
  .customer-home-discover-rail > button { flex-basis: 235px; }
  .customer-hub-rental-models { gap: 5px; }
  .customer-hub-rental-model { padding: 4px 4px 7px; }
  .customer-hub-rental-model strong { font-size: 10px; }
  .customer-hub-rental-model-rates, .customer-hub-rental-model-action { font-size: 9px; }
}

.customer-home-seat-map-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 11px 0 0;
  padding: 12px 14px;
  border: 1px solid #cbbcec;
  border-radius: 16px;
  color: #5e378c;
  background: linear-gradient(120deg, #f6ecff, #e6f8ff 72%, #fff5df);
  box-shadow: inset 0 2px #fff, 0 4px 0 #dcd3ed, 0 9px 16px #644f8a1c;
  text-align: left;
}
.customer-home-seat-map-link > span:first-child {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: none;
  border-radius: 10px;
  color: #a02b79;
  background: #ffe0f2;
  box-shadow: 0 2px 0 #e8bad9;
  font-size: 22px;
}
.customer-home-seat-map-link > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.customer-home-seat-map-link strong { font-size: 14px; }
.customer-home-seat-map-link small { color: #7d6a95; font-size: 11px; }
.customer-home-seat-map-link b { margin-left: auto; font-size: 23px; }
.customer-seating-map-section {
  margin: 14px 0;
  padding: 14px 11px 17px;
  border: 1px solid #e5d4ed;
  border-radius: 18px;
  background: linear-gradient(#fffafd, #fff);
  box-shadow: inset 0 2px #fff, 0 4px 0 #e4dbea, 0 10px 21px #74558b1a;
}
.customer-seating-map-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.customer-seating-map-head small { color: #9a60b0; font-size: 10px; font-weight: 850; }
.customer-seating-map-head h2 { margin: 3px 0; color: #613978; font-size: 19px; }
.customer-seating-map-head button {
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid #c8b0e5;
  border-radius: 9px;
  color: #68429b;
  background: #f5edff;
  font-size: 11px;
  font-weight: 750;
}
.customer-seating-map-status { min-height: 18px; margin: 6px 0 9px; color: #6d607e; font-size: 11px; }
.customer-seating-map-status.is-error { color: #b33f62; }
.customer-seating-map-legend { display: flex; flex-wrap: wrap; gap: 7px 13px; margin-bottom: 9px; color: #786b85; font-size: 10px; }
.customer-seating-map-legend span { display: inline-flex; align-items: center; gap: 4px; }
.customer-seating-map-legend i { width: 10px; height: 10px; border-radius: 3px; }
.customer-seating-map-legend .is-free { background: #a8ebd0; }
.customer-seating-map-legend .is-busy { background: #e0d9e5; }
.customer-seating-map-legend .is-mine { background: #f49aca; }
.customer-seating-floor {
  position: relative;
  width: 100%;
  min-height: 350px;
  overflow: hidden;
  border: 2px solid #decfe7;
  border-radius: 17px;
  background: repeating-linear-gradient(0deg, transparent 0 31px, #f2eaf4 32px), repeating-linear-gradient(90deg, #fcfaff 0 31px, #f2eaf4 32px);
  box-shadow: inset 0 0 0 5px #fffcff, inset 0 5px 14px #b6a4c630;
}
.customer-seating-floor::after {
  content: "入口";
  position: absolute;
  right: 12px;
  bottom: 0;
  padding: 4px 10px;
  border-radius: 9px 9px 0 0;
  color: #715391;
  background: #e9dbfa;
  font-size: 10px;
  font-weight: 800;
}
.customer-seating-table {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 1px;
  width: clamp(38px, 11vw, 46px);
  height: 39px;
  min-height: 0;
  padding: 3px 1px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  border: 1px solid #72cca7;
  border-radius: 10px;
  color: #1c6e54;
  background: linear-gradient(#e9fff3, #bdf0d7);
  box-shadow: inset 0 1px #fff, 0 3px 0 #a4ddc5;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.05;
}
.customer-seating-table > span { max-width: 100%; overflow: hidden; text-overflow: clip; white-space: nowrap; font-size: 9px; letter-spacing: -.04em; }
.customer-seating-table small { max-width: 100%; overflow: hidden; font-size: 8px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.customer-seating-table.is-busy,
.customer-seating-table.is-disabled {
  border-color: #ccc2d3;
  color: #84788e;
  background: linear-gradient(#f5f3f7, #ded9e5);
  box-shadow: 0 2px 0 #cbc4d1;
}
.customer-seating-table.is-mine {
  border-color: #e077af;
  color: #9d286d;
  background: linear-gradient(#fff0f8, #ffc4e3);
  box-shadow: inset 0 1px #fff, 0 3px 0 #d997be;
}
.customer-seating-table.is-selected {
  outline: 3px solid #9c59d1;
  outline-offset: 2px;
}
.customer-seating-table:disabled { cursor: default; }
.customer-seating-selection { display: grid; gap: 8px; margin-top: 13px; }
.customer-seating-selection strong { color: #67437f; font-size: 13px; }
.customer-seating-selection button,
.customer-seat-choose {
  min-height: 42px;
  border: 1px solid #d288bd;
  border-radius: 11px;
  color: #8f236b;
  background: linear-gradient(#ffeaf5, #ffcde5);
  box-shadow: inset 0 1px #fff, 0 3px 0 #dca4c4;
  font-size: 13px;
  font-weight: 800;
}
.customer-seating-selection button:disabled { opacity: .62; box-shadow: none; }
.customer-seat-choose { display: block; width: 100%; margin: 10px 0; }
.customer-seating-table:focus-visible,
.customer-seating-selection button:focus-visible,
.customer-home-seat-map-link:focus-visible { outline: 3px solid #7843b5; outline-offset: 3px; }
@media(max-width:360px) {
  .customer-seating-map-section { padding-right: 8px; padding-left: 8px; }
  .customer-seating-table { width: 37px; font-size: 8px; }
  .customer-seating-table > span { font-size: 8px; }
  .customer-seating-table small { font-size: 7px; }
}

/* Conversation layout: identity controls alignment; photos remain separate media. */
#customerHubDiscussion {
  position: fixed; z-index: 30; top: var(--customer-chat-top, 0px); bottom: var(--customer-chat-bottom, 69px);
  left: 0; right: 0; display: flex; flex-direction: column; width: min(100%, 760px); min-height: 0;
  margin: 0 auto; padding: 0; overflow: hidden; color: #202020; background: #ededed;
  box-shadow: 0 0 0 1px #e3e3e3;
}
#customerHubDiscussion[hidden], #customerHubDiscussion [hidden], .customer-discussion-image-overlay[hidden] { display: none !important; }
.customer-discussion-chat-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 53px; padding: 8px 16px; border-bottom: 1px solid #ddd; background: #f5f5f5; }
.customer-discussion-chat-head > span { display: grid; gap: 2px; }
.customer-discussion-chat-head strong { font-size: 16px; font-weight: 650; }
.customer-discussion-chat-head small { color: #929292; font-size: 10px; }
.customer-discussion-chat-head button { display: grid; place-items: center; width: 34px; height: 34px; padding: 6px; border: 0; background: transparent; color: #555; }
.customer-discussion-chat-head svg { width: 22px; height: 22px; }
.customer-discussion-invite { display: none; }
#customerHubDiscussion .customer-discussion-feed { flex: 1; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
#customerHubDiscussionStatus { flex: none; margin: 4px 12px 0; color: #aaa; font-size: 10px; text-align: center; }
.customer-discussion-timeline { flex: 1; min-height: 0; padding: 8px 12px 18px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c8c8c8 transparent; }
.customer-discussion-load-more { display: block; margin: 5px auto 16px; padding: 5px 12px; border: 0; border-radius: 6px; color: #7c8995; background: transparent; font-size: 11px; }
#customerHubDiscussionMessages { display: grid; align-content: end; gap: 15px; min-height: 100%; }
.customer-discussion-time { justify-self: center; margin: 0 0 1px; color: #aaa; font-size: 11px; line-height: 1.5; }
.customer-discussion-message { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: start; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.customer-discussion-message.is-mine { grid-template-columns: minmax(0, 1fr) 38px; }
.customer-discussion-avatar { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; box-sizing: border-box; width: 38px; min-width: 38px; max-width: 38px; height: 38px; min-height: 38px; max-height: 38px; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 5px; color: #53716a; background: #d4e6df; font-size: 18px; font-weight: 650; }
button.customer-discussion-avatar { cursor: pointer; }
.customer-discussion-avatar img { display: block; box-sizing: border-box; grid-area: 1 / 1; width: 38px; min-width: 0; max-width: 38px; height: 38px; min-height: 0; max-height: 38px; aspect-ratio: 1; object-fit: cover; }
.customer-discussion-avatar .customer-avatar-fallback { grid-area: 1 / 1; }
.customer-discussion-message.is-mine .customer-discussion-avatar { grid-column: 2; grid-row: 1; }
.customer-discussion-message-content { display: grid; justify-items: start; gap: 5px; width: fit-content; max-width: calc(100% - 30px); min-width: 0; }
.customer-discussion-message.is-mine .customer-discussion-message-content { grid-column: 1; grid-row: 1; justify-self: end; justify-items: end; }
.customer-discussion-message-head { display: flex; align-items: center; gap: 5px; max-width: 100%; min-width: 0; }
.customer-discussion-author { max-width: 100%; overflow: hidden; color: #969696; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.customer-discussion-badge { color: #9b9b9b; font-size: 9px; white-space: nowrap; }
.customer-discussion-bubble { position: relative; max-width: 100%; min-width: 32px; padding: 9px 12px; border: 0; border-radius: 5px; color: #202020; background: #fff; overflow-wrap: anywhere; }
.customer-discussion-bubble::before { content: ""; position: absolute; top: 13px; left: -5px; width: 10px; height: 10px; border-radius: 1px; background: inherit; transform: rotate(45deg); }
.customer-discussion-message.is-mine .customer-discussion-bubble { background: #95ec69; }
.customer-discussion-message.is-mine .customer-discussion-bubble::before { right: -5px; left: auto; }
.customer-discussion-bubble p { position: relative; margin: 0; color: inherit; font-size: 16px; line-height: 1.5; white-space: pre-wrap; }
.customer-discussion-image-button { display: block; width: fit-content; max-width: 180px; padding: 0; overflow: hidden; border: 0; border-radius: 5px; background: transparent; box-shadow: none; cursor: zoom-in; }
.customer-discussion-image-button img { display: block; width: 156px; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f4eef9; }
.customer-discussion-reply { max-width: 100%; margin-top: 2px; padding: 2px 0 2px 7px; border-left: 2px solid #ccc; color: #999; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.customer-discussion-message-actions { min-height: 12px; margin: -1px 0 0; color: #aaa; font-size: 9px; }
.customer-discussion-message-actions button { padding: 0 2px; border: 0; color: #aaa; background: transparent; font-size: 9px; }
.customer-discussion-audio { display: flex; justify-content: space-between; align-items: center; gap: 30px; min-width: 112px; min-height: 42px; font-size: 14px; cursor: pointer; }
.customer-discussion-message.is-mine .customer-discussion-audio { flex-direction: row-reverse; }
.customer-discussion-audio-waves { color: #52634c; font-size: 16px; letter-spacing: -3px; }
.customer-discussion-audio.is-playing .customer-discussion-audio-waves { animation: chat-voice-wave 1s steps(3) infinite; }
@keyframes chat-voice-wave { 50% { opacity: .35; } }
.customer-discussion-compose { flex: none; margin: 0; padding: 8px 8px 7px; border: 0; border-top: 1px solid #dcdcdc; background: #f6f6f6; box-shadow: none; }
.customer-discussion-input-row { display: flex; align-items: center; gap: 6px; }
.customer-discussion-input-row textarea { flex: 1; width: 0; min-width: 0; min-height: 38px; max-height: 100px; margin: 0; padding: 8px; overflow-y: auto; resize: none; border: 0; border-radius: 5px; color: #222; background: #fff; font: inherit; font-size: 16px; line-height: 22px; }
.customer-discussion-icon-button { flex: none; display: grid; place-items: center; width: 30px; height: 36px; padding: 2px; border: 0; background: transparent; color: #363636; }
.customer-discussion-icon-button svg { width: 27px; height: 27px; }
.chat-keyboard-icon { display: none; }
.is-voice-mode .chat-keyboard-icon { display: block; }
.is-voice-mode .chat-mic-icon { display: none; }
.customer-discussion-hold { flex: 1; min-width: 0; height: 40px; padding: 7px 4px; border: 1px solid #ddd0f0; border-radius: 11px; color: #4f397c; background: #f5effc; font-size: 15px; font-weight: 650; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: none; }
.customer-discussion-hold.is-recording { border-color: #a7ddbc; color: #174932; background: #d9f3e2; }
#customerHubDiscussionSubmit { flex: none; min-width: 48px; height: 35px; padding: 6px 9px; border: 0; border-radius: 5px; color: #fff; background: #07c160; font-size: 14px; }
#customerHubDiscussion button:disabled { opacity: .45; }
.customer-discussion-restriction { margin: 0 0 7px; color: #a14545; font-size: 11px; line-height: 1.5; }
.customer-discussion-reply-preview { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 0 0 7px; padding: 6px 8px; border-left: 2px solid #bbb; color: #888; background: #ebebeb; font-size: 11px; }
.customer-discussion-reply-preview span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-discussion-reply-preview button { border: 0; color: #888; background: transparent; font-size: 19px; }
.customer-discussion-preview { position: relative; width: 58px; margin: 0 0 9px 36px; }
.customer-discussion-preview img { display: block; width: 58px; height: 58px; border-radius: 5px; object-fit: cover; }
.customer-discussion-preview button { position: absolute; top: -5px; right: -7px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: #666; font-size: 18px; }
#customerHubDiscussionFeedback { margin: 5px 4px 0; color: #8c8c8c; font-size: 10px; line-height: 1.5; }
#customerHubDiscussionFeedback:empty { display: none; }
#customerHubDiscussionSpeech { min-height: 32px; padding: 3px 6px; border: 0; color: #60468e; background: transparent; font-size: 12px; text-decoration: underline; }
.customer-discussion-drawer-head { display: flex; justify-content: space-between; align-items: center; margin: 8px 0; color: #999; font-size: 11px; }
.customer-discussion-drawer-head button { padding: 3px 7px; border: 0; color: #888; background: transparent; font-size: 11px; }
.customer-discussion-emoji-drawer, .customer-discussion-more-panel { padding: 2px 9px 10px; }
.customer-discussion-emoji-panel { display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap: 5px; max-height: 180px; padding: 3px 0; overflow-y: auto; overscroll-behavior: contain; }
.customer-discussion-emoji-panel button { min-width: 0; min-height: 33px; padding: 2px 0; border: 0; border-radius: 5px; background: transparent; font-size: 24px; }
.customer-discussion-emoji-panel button:active { background: #e4e4e4; }
.customer-discussion-tools { display: flex; gap: 18px; padding: 4px 5px 10px; }
.customer-discussion-tools button { display: grid; justify-items: center; gap: 6px; min-width: 60px; padding: 0; border: 0; color: #777; background: transparent; font-size: 11px; }
.customer-discussion-tools svg { width: 54px; height: 54px; padding: 12px; border: 1px solid #e9e9e9; border-radius: 12px; color: #555; background: #fff; }
.customer-discussion-recording {
  position: absolute;
  z-index: 6;
  inset: 0 0 60px;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 10px max(12px, env(safe-area-inset-right, 0px)) 12px max(12px, env(safe-area-inset-left, 0px));
  pointer-events: none;
  background: #14251eda;
}
.customer-discussion-recording-card { display: grid; justify-items: center; gap: 10px; width: min(100%, 430px); min-width: 0; }
.customer-discussion-recording-meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: min(100%, 246px);
  min-height: clamp(58px, 11dvh, 82px);
  padding: 12px 14px;
  border: 1px solid #c3f8d4;
  border-radius: 18px;
  color: #174932;
  background: linear-gradient(145deg, #b4f2c9, #83dfa8);
  box-shadow: 0 8px 24px #031b1552;
}
.customer-discussion-recording-meter strong {
  box-sizing: border-box;
  min-width: 36px;
  padding: 5px 6px;
  border-radius: 10px;
  background: #effff5a0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}
.customer-discussion-recording-card > span { min-height: 19px; color: #f4fff9; font-size: 14px; font-weight: 650; }
.customer-discussion-recording-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 11vw, 64px); width: 100%; }
.customer-discussion-recording-actions > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  min-width: 0;
  min-height: 46px;
  padding: 5px 6px;
  border: 1px solid #c2e4d063;
  border-radius: 13px;
  color: #f4fff9;
  background: #325447;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.customer-discussion-recording-actions b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; color: #1e5740; background: #d0efdb; font-size: 13px; }
.customer-discussion-recording.is-cancelling .customer-discussion-recording-meter { border-color: #f6cfd6; color: #7d3346; background: linear-gradient(145deg, #ffe9ed, #f4c6d0); }
.customer-discussion-recording.is-cancelling .customer-discussion-recording-meter strong { background: #fff7f9b0; }
#customerHubDiscussionVoiceCancel.is-selected { border-color: #f2afc0; color: #6e263d; background: #f4ced8; }
#customerHubDiscussionVoiceCancel.is-selected b { color: #6e263d; background: #fdf0f3; }
#customerHubDiscussionVoiceText.is-selected { border-color: #bff5d3; color: #164832; background: #a6edc0; }
#customerHubDiscussionVoiceText.is-selected b { color: #164832; background: #e6faed; }
.customer-discussion-recording-transcript {
  display: none;
  box-sizing: border-box;
  width: min(100%, 320px);
  min-height: 58px;
  max-height: min(124px, 24dvh);
  margin: 0;
  padding: 13px 15px;
  overflow: hidden;
  border-radius: 16px 16px 16px 5px;
  color: #16382a;
  background: #c0f4d0;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.customer-discussion-recording.is-transcribing .customer-discussion-recording-meter { display: none; }
.customer-discussion-recording.is-transcribing .customer-discussion-recording-transcript { display: block; }
.customer-discussion-voice-review {
  position: absolute;
  z-index: 9;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 10px;
  padding-bottom: calc(10px + var(--customer-chat-keyboard, 0px));
  background: #17251e9e;
}
.customer-discussion-voice-review > section {
  display: grid;
  gap: 8px;
  width: min(100%, 430px);
  max-height: 100%;
  padding: 11px 12px 12px;
  overflow: auto;
  border-radius: 17px;
  color: #18382a;
  background: #f4fbf6;
  box-shadow: 0 7px 22px #091f1852;
}
.customer-discussion-voice-review-head { display: flex; align-items: center; justify-content: space-between; }
.customer-discussion-voice-review-head h2 { margin: 0; font-size: 15px; font-weight: 700; }
.customer-discussion-voice-review-head button { min-width: 35px; min-height: 35px; padding: 0; border: 0; border-radius: 9px; color: #365549; background: #e3f1e8; font-size: 20px; }
.customer-discussion-voice-review textarea {
  box-sizing: border-box;
  width: 100%;
  height: clamp(55px, 15dvh, 110px);
  padding: 8px 9px;
  resize: none;
  border: 1px solid #b9d9c5;
  border-radius: 9px;
  color: #18382a;
  background: #fff;
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
}
.customer-discussion-voice-review p { margin: 0; color: #416756; font-size: 12px; }
.customer-discussion-voice-review p:empty { display: none; }
.customer-discussion-voice-review-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.customer-discussion-voice-review-actions button { min-height: 42px; padding: 4px 6px; border: 0; border-radius: 9px; color: #204c36; background: #dcefe3; font-size: 13px; font-weight: 650; }
.customer-discussion-voice-review-actions button:last-child { color: #fff; background: #217645; }
.customer-discussion-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 28px; }
.customer-discussion-wave i { width: 3px; height: 9px; border-radius: 3px; background: currentColor; animation: chat-record-wave .7s ease-in-out infinite alternate; }
.customer-discussion-wave i:nth-child(3n + 2) { height: 17px; animation-delay: -.4s; }
.customer-discussion-wave i:nth-child(4n) { height: 25px; animation-delay: -.2s; }
@keyframes chat-record-wave { to { transform: scaleY(.45); } }
.customer-discussion-image-overlay { position: fixed; z-index: 120; inset: 0; display: grid; place-items: center; padding: 44px 12px 12px; background: #151515f2; }
.customer-discussion-image-overlay img { max-width: 100%; max-height: 88svh; object-fit: contain; }
.customer-discussion-image-overlay button { position: absolute; top: 11px; right: 12px; width: 35px; height: 35px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: #ffffff29; font-size: 25px; }
#customerHubDiscussion :is(button, textarea):focus-visible { outline: 2px solid #07a953; outline-offset: 2px; }
@media (max-width: 360px) { .customer-discussion-input-row { gap: 4px; } .customer-discussion-timeline { padding-right: 10px; padding-left: 10px; } .customer-discussion-message-content { max-width: calc(100% - 15px); } }
@media (max-height: 450px) { .customer-discussion-chat-head small { display: none; } .customer-discussion-emoji-panel { max-height: 90px; } }
@media (prefers-reduced-motion: reduce) { .customer-discussion-wave i, .customer-discussion-audio.is-playing .customer-discussion-audio-waves { animation: none; } }

.customer-discussion-profile-overlay {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}
.customer-discussion-profile-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: #342b47a3;
}
.customer-discussion-profile-card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 9px;
  width: min(100%, 340px);
  padding: 25px 18px 22px;
  border: 1px solid #f4b8d6;
  border-radius: 23px;
  color: #633878;
  background: radial-gradient(circle at 90% 10%, #ffe88e 0 39px, transparent 40px),
    linear-gradient(145deg, #fffaf4, #ffe7f3 55%, #e8f6ff);
  box-shadow: inset 0 2px #fff, 0 7px 0 #d9aacb, 0 25px 45px #46324a61;
  text-align: center;
}
.customer-discussion-profile-close {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid #e5bad6;
  border-radius: 10px;
  color: #9c578b;
  background: #fff9;
  font-size: 21px;
  line-height: 1;
}
.customer-discussion-profile-kicker { color: #aa689b; font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.customer-discussion-profile-card img,
.customer-discussion-profile-fallback {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 5px solid #fff;
  border-radius: 30px;
  background: #ffe1ee;
  box-shadow: 0 5px 0 #dcb1d2, 0 13px 22px #9d679338;
  object-fit: cover;
}
.customer-discussion-profile-fallback { color: #af548d; font-size: 43px; font-weight: 900; }
.customer-discussion-profile-card h2 { max-width: 100%; margin: 5px 0 0; font-size: 22px; overflow-wrap: anywhere; }
.customer-discussion-profile-card p { margin: 0; color: #967099; font-size: 12px; }
#customerHubDiscussionProfileFriend { min-width: 120px; min-height: 40px; margin-top: 5px; }
#customerHubDiscussionProfileFriendStatus:empty { display: none; }
#customerHubDiscussionProfileFriendStatus.is-error { color: #8f323f; }

.customer-discussion-room { display: contents; }
.customer-discussion-gate {
  flex: 1;
  overflow: auto;
  padding: 18px 16px 24px;
  color: #292343;
  background:
    radial-gradient(ellipse at 88% 6%, #ffe4ef, transparent 46%),
    radial-gradient(ellipse at 0 52%, #e8e2ff, transparent 54%),
    #f8f7ff;
}
.customer-discussion-gate-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border: 1px solid #fff;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #eee3ff);
  box-shadow: 0 4px 12px #56377811;
}
.customer-discussion-gate h1 { margin: 0 0 4px; font-size: 22px; line-height: 1.3; font-weight: 850; }
#customerHubDiscussionGateTitle { margin: 0; color: #584268; font-size: 13px; line-height: 1.4; font-weight: 650; overflow-wrap: anywhere; }
#customerHubDiscussionScan {
  flex: none;
  min-height: 42px;
  padding: 7px 11px;
  border: 1px solid #b48bd5;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #7546b5, #894398);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}
.customer-discussion-gate-hint,
.customer-discussion-gate-status { margin: 10px 3px; color: #715884; font-size: 12px; line-height: 1.5; }
.customer-discussion-gate :is(.customer-discussion-gate-hint, .customer-discussion-gate-status):empty { display: none; }
.customer-discussion-gate-retry { min-height: 38px; padding: 6px 12px; border: 1px solid #e5d7ea; border-radius: 10px; color: #644389; background: #fff; }
.customer-discussion-store-list { display: grid; gap: 8px; margin-top: 12px; }
.customer-discussion-store-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  padding: 9px 12px;
  border: 1px solid #fff;
  border-radius: 15px;
  color: #392b4d;
  background: linear-gradient(135deg, #fff, #f5ecfc);
  box-shadow: 0 3px 10px #6745900e;
  text-align: left;
}
.customer-discussion-store-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 10px;
  color: #704ba1;
  background: #eee2fa;
  font-size: 17px;
  font-weight: 750;
}
.customer-discussion-store-avatar img { width: 100%; height: 100%; object-fit: cover; }
.customer-discussion-store-copy { flex: 1; display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.customer-discussion-store-copy strong { font-size: 14px; font-weight: 750; }
.customer-discussion-store-copy small { color: #775f89; font-size: 11px; line-height: 1.4; }
.customer-discussion-store-arrow { flex: none; color: #8460a7; font-size: 22px; }
.customer-discussion-chat-head .customer-discussion-room-back { flex: none; font-size: 28px; line-height: 1; }
.customer-discussion-room-name { flex: 1; min-width: 0; }
.customer-discussion-room-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-discussion-chat-head .customer-discussion-room-scan { flex: none; width: auto; min-height: 34px; padding: 4px 7px; white-space: nowrap; font-size: 12px; }
#customerHubDiscussion :is(.customer-discussion-gate button, .customer-discussion-room-back, .customer-discussion-room-scan):focus-visible { outline-color: #8c62c2; }

.customer-works-feed {
  --works-ink: #382448;
  --works-accent: #7845a5;
  --works-paper: #fff9fe;
  position: fixed;
  display: block;
  z-index: 39;
  inset: 0 0 auto;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: var(--works-stage-height, calc(var(--app-height, var(--layout-viewport-height, 100dvh)) - 69px - env(safe-area-inset-bottom, 0px)));
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--works-ink);
  background: #161022;
}
.customer-works-active { overscroll-behavior-y: none; }
.customer-works-active #deploymentStatusBanner { display: none; }
.works-feed-filters {
  position: absolute;
  z-index: 3;
  inset-block-start: max(9px, env(safe-area-inset-top, 0px));
  inset-inline-end: max(10px, calc((var(--layout-viewport-width, 100vw) - 740px) / 2), env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid #fff3;
  border-radius: 18px;
  background: #21172cdd;
}
.works-feed-filters button {
  min-height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 16px;
  color: #fffafd;
  background: transparent;
  font: 600 12px/1.2 system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.works-feed-filters button[aria-pressed="true"] { color: #382448; background: #f4e4ff; }
html[data-works-surface],
html[data-works-surface] body.customer-page { background: #161022 !important; }
html[data-works-surface]:not([data-works-ready]) :is(.customer-shell, .customer-hub-nav, #deploymentStatusBanner) {
  visibility: hidden;
}
html[data-works-surface="owner-frame"] .customer-hub-nav,
.customer-owner-works-embed .customer-hub-nav { display: none !important; }
html[data-works-surface="owner-frame"] .customer-works-feed { height: var(--works-stage-height, var(--app-height, 100dvh)); }
html[data-works-surface="owner-app"] body.customer-page .customer-hub-nav {
  gap: 2px;
  width: min(calc(100% - 12px), 460px);
  min-height: calc(64px + env(safe-area-inset-bottom));
  padding: 4px 4px max(4px, env(safe-area-inset-bottom));
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 12px #36234626;
}
html[data-works-surface="owner-app"] body.customer-page .customer-hub-nav button {
  min-height: 48px;
  padding-inline: 0;
  transition: none;
}
html[data-works-surface="owner-app"] body.customer-page .customer-hub-nav button strong { font-size: 10px; }
@media (width <= 360px) {
  html[data-works-surface="owner-app"] body.customer-page .customer-hub-nav button strong { font-size: 9px; }
}
.customer-owner-works-action {
  position: absolute;
  z-index: 2;
  inset: max(10px, env(safe-area-inset-top, 0px)) auto auto max(10px, env(safe-area-inset-left, 0px));
  padding: 6px 12px;
  min-height: 38px;
  border: 1px solid #fff6;
  border-radius: 18px;
  color: #fff9ff;
  background: #291c37dd;
  font: 600 13px/1.3 system-ui, sans-serif;
  cursor: pointer;
}
.works-reels {
  display: flex;
  flex-direction: column;
  position: relative;
  block-size: 100%;
  min-width: 0;
  margin: 0 auto;
  overflow: hidden auto;
  background: #161022;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
  isolation: isolate;
  touch-action: pan-y;
}
.customer-works-feed > .works-reels { width: 100%; max-width: 760px; }
.works-reels::-webkit-scrollbar { display: none; }
.works-reel {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  min-height: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  color: #fffafd;
  background: radial-gradient(ellipse at 55% 34%, #352643, #161022 71%);
}
.works-video, .works-video-poster, .works-reel-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.works-video { display: block; object-fit: contain; opacity: 0; }
.works-video.works-video-ready { opacity: 1; }
.works-video-poster { display: block; object-fit: scale-down; pointer-events: none; }
@media (max-width: 760px) and (orientation: portrait) {
  .works-video[data-fit="portrait"] { object-fit: cover; }
}
.works-comments-open .works-video[data-fit="portrait"] { object-fit: contain; }
.works-external-player {
  position: absolute;
  inset: 0 0 auto;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.works-video, .works-video-poster, .works-external-player {
  height: var(--works-comment-video-height, 100%);
  transition: height 240ms cubic-bezier(.22,.72,.26,1);
}
.works-external-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  border: 0;
  background: transparent;
  transition: opacity 140ms ease-out;
}
.works-external-player iframe:not(.works-external-ready) { opacity: 0; pointer-events: none; }
.works-cover-under-player .works-external-player { mix-blend-mode: lighten; }
.works-cover-under-player .works-video-poster {
  animation: works-cover-under-player 1.5s ease-out 650ms both;
}
@keyframes works-cover-under-player {
  from { opacity: 1; }
  to { opacity: .28; }
}
.works-external-player[data-provider="douyin"] { overflow: hidden; }
.works-external-player[data-provider="douyin"] iframe {
  position: absolute;
  top: var(--works-douyin-top, 0px);
  left: 50%;
  width: 324px;
  height: 720px;
  max-height: none;
  transform: translateX(-50%) scale(var(--works-douyin-scale, 1));
  transform-origin: 50% 0;
}
.works-external-player[data-provider="douyin"] iframe.works-external-ready {
  transition: top 240ms cubic-bezier(.22,.72,.26,1), transform 240ms cubic-bezier(.22,.72,.26,1);
}
.works-external-gestures {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  grid-template: "top top top" var(--works-direct-top, 1fr)
    "left . right" 96px "bottom bottom bottom" 1fr / 1fr 96px 1fr;
  pointer-events: none;
}
.works-external-player[data-provider="douyin"] .works-external-gestures {
  --works-direct-top: max(0px, calc(var(--works-douyin-top, 0px) + 312px * var(--works-douyin-scale, 1) - 48px));
}
.works-external-player[data-provider="bilibili"] .works-external-gestures span:nth-child(4) { margin-bottom: 46px; }
.works-external-gestures span { pointer-events: auto; }
.works-external-gestures span:nth-child(1) { grid-area: top; }
.works-external-gestures span:nth-child(2) { grid-area: left; }
.works-external-gestures span:nth-child(3) { grid-area: right; }
.works-external-gestures span:nth-child(4) { grid-area: bottom; }
.works-has-external .works-play-error { z-index: 1; pointer-events: none; }
.works-external-retry {
  z-index: 1;
  width: auto;
  height: auto;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
}
.works-reel-shade {
  pointer-events: none;
  background: linear-gradient(180deg, #1711224d, transparent 18%, transparent 58%, #171122dc 100%);
}
.works-caption {
  position: absolute;
  inset: auto 70px 17px max(15px, env(safe-area-inset-left, 0px));
  display: grid;
  justify-items: start;
  gap: 5px;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 4px #170e21;
  pointer-events: none;
}
.works-caption h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.works-caption p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  color: #fff4fc;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.works-caption-author { font-size: 15px; font-weight: 650; opacity: .96; }
.works-caption-author:empty { display: none; }
.works-views { font-size: 11px; color: #f5ddeb; }
.works-source-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  color: #fff4fd;
  font-size: 12px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  pointer-events: auto;
}
.works-state {
  padding: 5px 9px;
  border-radius: 20px;
  color: #392845;
  background: #fae3fb;
  font-size: 12px;
  font-weight: 750;
  text-shadow: none;
}
.works-video-play {
  position: absolute;
  border: 1px solid #fff6;
  background: #211827bd;
  color: #fff;
  cursor: pointer;
}
.works-video-play {
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  font-size: 23px;
}
.works-reel.is-playing .works-video-play {
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  transform: none;
  font-size: 14px;
}
.works-play-error {
  position: absolute;
  top: 22%;
  left: 50%;
  width: min(90%, 255px);
  margin: 0;
  padding: 10px;
  transform: translateX(-50%);
  border-radius: 9px;
  color: #fff;
  background: #4b3453ed;
  font-size: 13px;
  text-align: center;
}
.works-feedback {
  position: absolute;
  z-index: 2;
  bottom: 104px;
  left: 50%;
  max-width: 80%;
  margin: 0;
  padding: 7px 13px;
  transform: translateX(-50%);
  border-radius: 18px;
  color: #fff;
  background: #392944e8;
  font-size: 13px;
  pointer-events: none;
  text-align: center;
}
.works-feedback:empty { display: none; }
.works-actions {
  position: absolute;
  inset: auto max(10px, env(safe-area-inset-right, 0px)) 16px auto;
  display: grid;
  justify-items: center;
  gap: 2px;
}
.works-author-actions { position: relative; min-height: 63px; }
.works-creator, .works-comment-avatar {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  text-decoration: none;
}
.works-avatar {
  display: grid;
  position: relative;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 2px solid #fff4fb;
  border-radius: 50%;
  color: #55366f;
  background: linear-gradient(155deg,#f8ddea,#d7bdf0);
  font-weight: 850;
}
.works-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works-provider-avatar { min-width: 48px; min-height: 48px; margin-bottom: 5px; }
.works-provider-avatar .works-avatar { color: #533473; background: #eaddfb; font-size: 17px; }
.works-provider-avatar[data-provider="bilibili"] .works-avatar { color: #164976; background: #ccecff; }
.works-follow {
  position: absolute;
  top: 29px;
  right: -5px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 2px solid #3a2a4b;
  border-radius: 50%;
  color: #3b253e;
  background: #fec1dc;
  font-size: 18px;
  font-weight: 850;
}
.works-action {
  display: grid;
  min-width: 49px;
  min-height: 54px;
  align-content: center;
  justify-items: center;
  gap: 1px;
  padding: 4px 3px;
  border: 0;
  border-radius: 13px;
  color: #fff7fb;
  background: #241a2fa3;
  font: inherit;
  text-shadow: 0 1px 4px #1f162f;
}
.works-action-icon { display: block; width: 25px; height: 25px; }
.works-action-count { font-size: 11px; line-height: 1.3; }
.works-action[aria-pressed="true"] .works-action-icon { color: #ffc1df; fill: currentColor; }
.works-action[data-works-action="save"][aria-pressed="true"] .works-action-icon { color: #ffdf9d; }
.works-feed-status {
  position: absolute;
  inset: max(14px, env(safe-area-inset-top, 0px)) 0 auto;
  display: grid;
  width: max-content;
  max-width: calc(100% - 116px);
  min-height: 46px;
  margin: 0 auto;
  justify-items: center;
  align-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #34283fe8;
  text-align: center;
  color: #f6e7fb;
}
.works-feed-status p { margin: 0; font-size: 14px; }
.works-reels[hidden] + .works-feed-status {
  inset: 0;
  width: auto;
  max-width: none;
  border-radius: 0;
  background: transparent;
}
.works-neutral {
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid #e5d8ec;
  border-radius: 10px;
  color: #5e3979;
  background: #f8effb;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}
.works-neutral.works-primary { border-color: #73409a; color: #fff; background: #73409a; }
.works-neutral:disabled { opacity: .55; cursor: not-allowed; }
.customer-works-feed :focus-visible, .works-sheet :focus-visible {
  outline: 2px solid #a56bc8;
  outline-offset: 2px;
}
.works-reel :focus-visible { outline-color: #ffe0ed; }
.customer-page dialog.works-sheet {
  --customer-sheet-width: min(100%, 585px);
  width: var(--customer-sheet-width);
  max-height: min(calc(var(--app-height, var(--layout-viewport-height, 100dvh)) * .85), 760px);
  padding: 0;
  overflow: hidden;
  color: #39264b;
}
.works-sheet[open] { display: flex; flex-direction: column; }
.works-sheet-header {
  display: flex;
  min-height: 53px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 15px;
  border-bottom: 1px solid #f0e5f1;
}
.works-sheet-header h2 { margin: 0; font-size: 16px; }
.works-sheet-close {
  display: grid;
  flex: 0 0 40px;
  min-height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #634576;
  background: #f5edf7;
  font: inherit;
  font-size: 21px;
}
.works-sheet-body {
  min-height: 0;
  padding: 12px 15px max(15px, env(safe-area-inset-bottom, 0px));
  overflow: auto;
  overscroll-behavior: contain;
}
.works-sheet-status { margin: 6px 0; color: #6f5579; font-size: 13px; line-height: 1.45; }
.works-sheet-status:empty { display: none; }
.works-preview-sheet .works-sheet-body { padding: 0; overflow: hidden; }
.works-preview-sheet .works-reels { block-size: min(calc(var(--app-height, var(--layout-viewport-height, 100dvh)) * .74), 700px); }
.customer-page dialog.works-sheet.works-preview-sheet[open] { transition: transform 240ms cubic-bezier(.22,.72,.26,1); }
.customer-page dialog.works-sheet.works-preview-with-comments[open] { transform: translateY(var(--works-preview-shift)); }
.works-comments-open :is(.works-actions,.works-caption,.works-video-play,.works-feedback) { visibility: hidden; }
.customer-page dialog.works-comments-sheet[open] {
  height: min(calc(var(--app-height, var(--layout-viewport-height, 100dvh)) * .66), 620px);
  animation: works-comments-enter 240ms cubic-bezier(.22,.72,.26,1);
}
.customer-page dialog.works-comments-sheet.works-comments-closing[open] {
  animation: works-comments-exit 240ms cubic-bezier(.51,.05,.78,.52) both;
}
@keyframes works-comments-enter { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes works-comments-exit { from { transform: translateY(0); } to { transform: translateY(100%); } }
.customer-page dialog.works-sheet.works-comments-sheet[open]::backdrop {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.works-comments-sheet .works-sheet-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; overflow: hidden; }
.works-comments-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  margin: -4px 0 0;
}
.works-comments-list .works-sheet-status { margin: 16px 0; text-align: center; }
.works-comments-list .works-sheet-status:empty { display: none; }
.works-comment {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px solid #f4edf5;
}
.works-comment-avatar { min-height: 36px; min-width: 36px; }
.works-comment-avatar .works-avatar { width: 34px; height: 34px; font-size: 13px; }
.works-comment-copy { min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.works-comment-copy strong { font-size: 12px; color: #735f7c; }
.works-comment-copy p {
  margin: 4px 0 0;
  color: #3e2c50;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.works-comment-relation { margin-left: 5px; font-size: 11px; color: #795e85; }
.works-comment-meta { display: flex; gap: 5px; align-items: center; color: #776784; font-size: 11px; }
.works-comment-reply, .works-comment-like, .works-emoji-button, .works-reply-chip button {
  min-height: 32px;
  padding: 2px 6px;
  border: 0;
  border-radius: 9px;
  color: #68437a;
  background: transparent;
  font: inherit;
}
.works-comment-like { min-width: 41px; font-size: 13px; }
.works-comment-like[aria-pressed="true"] { color: #a92562; background: #fbe9f4; }
.works-comment-form { display: grid; flex: 0 0 auto; gap: 5px; }
.works-comment-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 5px;
}
.works-comment-input, .works-publish-form :is(input, textarea, select), .works-link-input {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 9px;
  border: 1px solid #e9dced;
  border-radius: 10px;
  color: #3b2949;
  background: #fcf8fd;
  font: inherit;
  font-size: 16px;
}
.works-comment-input { max-height: 100px; resize: vertical; }
.works-emoji-button { width: 37px; font-size: 20px; }
.works-emojis { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.works-emojis button {
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #f9effa;
  font: inherit;
  font-size: 19px;
}
.works-reply-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 0 7px;
  border-radius: 8px;
  background: #f8f0fc;
  font-size: 12px;
}
.works-share-actions {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 5px;
  margin-top: 8px;
}
.works-share-actions button { padding-inline: 4px; }
.works-publish-form { display: grid; gap: 11px; }
.works-publish-form label {
  display: grid;
  align-items: center;
  gap: 5px;
  color: #593a6b;
  font-size: 13px;
  font-weight: 700;
}
.works-publish-form small { font-weight: 500; }
.works-publish-form input[type="file"] { min-height: 44px; font-size: 13px; }
.works-upload-preview {
  width: 100%;
  max-height: 190px;
  border-radius: 10px;
  background: #2d2337;
}
.works-upload-success { color: #65477e; font-size: 14px; line-height: 1.5; }
@media (max-width: 360px), (max-height: 620px) {
  .works-caption { inset-inline: 12px 65px; }
  .works-actions { right: 7px; }
  .works-action { min-height: 46px; }
  .works-action-icon { width: 22px; height: 22px; }
  .works-author-actions { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .works-video, .works-video-poster, .works-external-player, .works-external-player[data-provider="douyin"] iframe.works-external-ready,
  .customer-page dialog.works-sheet.works-preview-sheet[open] { transition: none; }
  .works-cover-under-player .works-video-poster { opacity: .4; animation: none; }
  .customer-page dialog.works-comments-sheet[open],
  .customer-page dialog.works-comments-sheet.works-comments-closing[open] { animation: none; }
}

.works-profile-sheet {
  --works-profile-text: #3f3454;
  --works-profile-muted: #726583;
  --works-profile-line: #e9def2;
  --works-profile-accent: #70449a;
  color: var(--works-profile-text);
}
.works-profile-main { min-height: min(76dvh, 660px); }
.works-profile-sheet .works-profile-header { margin-bottom: 12px; }
.works-profile-header-controls { display: flex; align-items: center; gap: 6px; }
.works-profile-sheet .works-profile-refresh {
  width: auto;
  min-width: 44px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  background: #f6effb;
  color: #694e80;
  font-size: 13px;
  font-weight: 650;
}
.works-profile-hero {
  overflow: hidden;
  border: 1px solid var(--works-profile-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 15px #6b508710;
}
.works-profile-hero:empty { display: none; }
.works-profile-cover {
  overflow: hidden;
  height: clamp(90px, 27vw, 143px);
  background: radial-gradient(ellipse at 100% 0, #ffe3bc, transparent 61%),
    linear-gradient(122deg, #ddcff7, #f5dbef);
}
.works-profile-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works-profile-content { position: relative; display: grid; gap: 10px; padding: 0 13px 13px; }
.works-profile-identity {
  display: flex;
  align-items: end;
  gap: 10px;
  min-width: 0;
  margin-top: -24px;
}
.works-profile-avatar {
  flex: 0 0 66px;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  overflow: hidden;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 20px;
  background: linear-gradient(135deg, #b9a8f9, #e9abd3);
  box-shadow: 0 3px 10px #573d7222;
  color: #fff;
  font-size: 24px;
  font-weight: 750;
}
.works-profile-avatar .customer-avatar-image,.works-profile-person-avatar .customer-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.works-profile-avatar .customer-avatar-fallback,.works-profile-person-avatar .customer-avatar-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}
.works-profile-identity .works-profile-names { flex: 1; min-width: 0; padding-bottom: 1px; }
.works-profile-identity h3 {
  overflow: hidden;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.28;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.works-profile-names .works-profile-number,.works-profile-content .works-profile-bio {
  margin: 2px 0 0;
  color: var(--works-profile-muted);
  font-size: 12px;
  line-height: 1.5;
}
.works-profile-number-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; min-width: 0; }
.works-profile-names .works-profile-number {
  justify-self: start;
  min-height: 30px;
  margin: 0;
  padding: 2px 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}
.works-profile-number::after {
  content: "";
  display: inline-block;
  box-sizing: border-box;
  width: 7px;
  height: 8px;
  margin: 0 0 0 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  box-shadow: 2px -2px 0 -1px #fff, 2px -2px 0 currentColor;
}
.works-profile-copy-status { color: var(--works-profile-accent); font-size: 12px; }
.works-profile-copy-input {
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid var(--works-profile-line);
  border-radius: 7px;
  color: var(--works-profile-text);
  background: #fff;
  font: inherit;
  font-size: 16px;
  user-select: text;
  -webkit-user-select: text;
  -webkit-touch-callout: default;
}
.works-profile-copy-input[hidden] { display: none; }
.works-profile-content .works-profile-bio { white-space: pre-wrap; overflow-wrap: anywhere; }
.works-profile-stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 3px;
  padding: 5px 0;
  border-block: 1px solid #f1e8f5;
}
.works-profile-stat {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  min-width: 0;
  min-height: 41px;
  padding: 1px 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--works-profile-text);
  font: inherit;
}
button.works-profile-stat { cursor: pointer; }
button.works-profile-stat:hover { background: #f9f1fb; }
.works-profile-stat strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.works-profile-stat span { color: var(--works-profile-muted); font-size: 11px; }
.works-profile-actions,.works-profile-edit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.works-profile-button {
  min-height: 39px;
  padding: 5px 11px;
  border: 1px solid var(--works-profile-line);
  border-radius: 11px;
  background: #faf5fc;
  color: #5e4776;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
}
.works-profile-actions .works-profile-button { flex: 1 1 76px; }
.works-profile-primary {
  border-color: #ad8ccb;
  background: linear-gradient(135deg, #f2e5ff, #f9e4f0);
  color: #613684;
}
.works-profile-button:disabled { opacity: .65; cursor: wait; }
.works-profile-sheet :is(button,input,select,textarea):focus-visible {
  outline: 2px solid #8054ac;
  outline-offset: 2px;
}
.works-profile-tabs {
  display: flex;
  justify-content: flex-start;
  gap: 7px;
  margin: 13px 0 0;
  padding: 4px;
  border-radius: 12px;
  background: #f2ebf7;
}
.works-profile-tab {
  flex: 1 1 0;
  min-height: 35px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--works-profile-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.works-profile-tab[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 2px 5px #54376e17;
  color: #633f87;
}
.works-profile-sheet .works-profile-status {
  margin: 10px 0;
  color: var(--works-profile-muted);
  font-size: 12px;
}
.works-profile-status:empty { display: none; }
.works-profile-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: start;
  gap: 7px;
  margin-top: 11px;
}
.works-profile-tile {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  padding: 0 0 7px;
  border: 1px solid var(--works-profile-line);
  border-radius: 12px;
  background: #fff;
  color: var(--works-profile-text);
  text-align: left;
  cursor: pointer;
}
.works-profile-tile-cover {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4/5;
  margin-bottom: 5px;
  background: radial-gradient(ellipse at 120% 0,#ffe3d2,transparent 68%),linear-gradient(150deg,#e8def9,#f4e5fb);
}
.works-profile-tile-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
}
.works-profile-tile-cover.has-media .works-profile-tile-media { opacity: 1; }
.works-profile-tile-cover.has-media .works-profile-tile-source { display: none; }
.works-profile-tile-source {
  z-index: 1;
  color: #654780;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
}
.works-profile-play {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  padding-left: 2px;
  border-radius: 50%;
  background: #fffdf0;
  color: #684293;
  box-sizing: border-box;
  font-size: 13px;
}
.works-profile-status-badge {
  justify-self: start;
  margin: 1px 6px 4px;
  padding: 2px 5px;
  border-radius: 7px;
  background: #f3e9fa;
  color: #795399;
  font-size: 10px;
}
.works-profile-work-title,.works-profile-work-stats {
  min-width: 0;
  overflow: hidden;
  margin: 0 6px;
}
.works-profile-work-title {
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.works-profile-work-stats { color: var(--works-profile-muted); font-size: 10px; line-height: 1.45; word-break: keep-all; }
.works-profile-more { display: block; width: min(100%,220px); margin: 13px auto 0; }
.works-profile-edit { display: grid; gap: 11px; }
.works-profile-edit-cover {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--works-profile-line);
  border-radius: 15px;
}
.works-profile-file {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0 !important;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.works-profile-edit-fields { display: grid; gap: 8px; }
.works-profile-edit-fields label { display: grid; min-width: 0; gap: 4px; font-size: 12px; color: #5b496e; }
.works-profile-edit-fields :is(input,select,textarea) {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--works-profile-line);
  border-radius: 9px;
  background: #fff;
  color: var(--works-profile-text);
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
}
.works-profile-edit-fields textarea { min-height: 75px; resize: vertical; }
.works-profile-save { width: 100%; }
.works-profile-details { display: grid; gap: 3px; margin: 0; }
.works-profile-details > div {
  display: grid;
  grid-template-columns: 64px minmax(0,1fr);
  gap: 8px;
  padding: 8px 1px;
  border-bottom: 1px solid var(--works-profile-line);
  font-size: 13px;
  line-height: 1.5;
}
.works-profile-details dt { color: var(--works-profile-muted); }
.works-profile-details dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.works-profile-connections { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.works-profile-person {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 5px 7px;
  border: 1px solid #f0e8f5;
  border-radius: 11px;
  background: #fff;
  color: var(--works-profile-text);
  text-align: left;
}
.works-profile-person-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 12px;
  background: #e7dbf9;
  color: #724f98;
}
.works-profile-person :is(strong,small) { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.works-profile-person strong { font-size: 13px; }
.works-profile-person small,.works-profile-person-arrow { color: var(--works-profile-muted); }
.works-profile-person small { margin-top: 2px; font-size: 11px; }
@media (max-width: 354px) {
  .works-profile-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

dialog.works-profile-page[open],
.customer-page dialog.works-profile-sheet.works-profile-page[open] {
  --works-profile-text: #28242e;
  --works-profile-muted: #625d6c;
  --works-profile-line: #e9e5ed;
  --works-profile-accent: #67478c;
  --works-profile-page-width: 960px;
  --customer-sheet-width: 100%;
  --customer-sheet-cap: var(--layout-viewport-height, 100dvh);
  --customer-sheet-radius: 0;
  --customer-sheet-border-width: 0px;
  --customer-sheet-background: #fbfafd;
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  height: var(--customer-sheet-cap);
  min-height: 0;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: #fbfafd;
  box-shadow: none !important;
  overscroll-behavior: contain;
  scroll-padding-top: calc(55px + env(safe-area-inset-top));
  animation: none !important;
}
.works-profile-page .works-profile-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--works-profile-page-width);
  min-height: 54px;
  margin: 0 auto;
  padding: calc(5px + env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 5px max(8px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--works-profile-line);
  background: #fbfafd;
}
.works-profile-page .works-profile-heading {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.3;
}
.works-profile-page .works-profile-close,
.works-profile-page .works-profile-refresh,
.works-profile-page .works-profile-publish {
  min-width: 42px;
  min-height: 42px;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--works-profile-accent);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}
.works-profile-page .works-profile-close { padding-bottom: 3px; color: var(--works-profile-text); font-size: 29px; line-height: 1; }
.works-profile-page .works-profile-publish { padding: 0 12px; color: #fff; background: #67478c; }
.works-profile-page-content {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--works-profile-page-width);
  margin: 0 auto;
  padding: 10px max(12px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}
.works-profile-page .works-profile-hero { border-radius: 14px; box-shadow: none; }
.works-profile-page .works-profile-cover {
  height: clamp(72px, 21vw, 130px);
  background: linear-gradient(115deg,#ebe5f2,#f0eef3 65%,#f5ecee);
}
.works-profile-page .works-profile-content { gap: 7px; padding: 0 11px 10px; }
.works-profile-page .works-profile-identity { margin-top: -16px; }
.works-profile-page .works-profile-avatar {
  flex-basis: 56px;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: #7a5b9b;
  box-shadow: none;
  font-size: 20px;
  font-weight: 600;
}
.works-profile-page .works-profile-identity h3 { font-size: 16px; font-weight: 650; }
.works-profile-page .works-profile-stats { padding: 2px 0; border-color: var(--works-profile-line); }
.works-profile-page .works-profile-stat { min-height: 40px; }
.works-profile-page .works-profile-stat strong { font-weight: 650; }
.works-profile-page .works-profile-actions .works-profile-button {
  min-height: 38px;
  border-color: var(--works-profile-line);
  border-radius: 8px;
  color: var(--works-profile-text);
  background: #f7f5f8;
  font-weight: 550;
}
.works-profile-page .works-profile-tabs {
  margin-top: 10px;
  padding: 0;
  border-bottom: 1px solid var(--works-profile-line);
  border-radius: 0;
  background: transparent;
}
.works-profile-page .works-profile-tab {
  min-height: 42px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-weight: 550;
}
.works-profile-page .works-profile-tab[aria-pressed="true"] {
  border-bottom-color: var(--works-profile-accent);
  background: transparent;
  box-shadow: none;
  color: var(--works-profile-accent);
  font-weight: 650;
}
.works-profile-page .works-profile-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin-top: 8px; }
.works-profile-page .works-profile-tile { border-radius: 9px; }
.works-profile-page .works-profile-tile-cover { background: #f0ecf4; }
.works-profile-page .works-profile-play { background: #fff; }
.works-profile-page .works-profile-work-title { font-weight: 600; }
.works-profile-page .works-profile-status-badge { color: #59416f; background: #f0ebf4; }
@media (min-width: 700px) {
  .works-profile-page-content { padding-inline: 22px; }
  .works-profile-page .works-profile-header { padding-inline: 14px 22px; }
  .works-profile-page .works-profile-content { padding-inline: 16px; }
  .works-profile-page .works-profile-actions .works-profile-button { flex: 0 1 auto; min-width: 105px; }
  .works-profile-page .works-profile-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
}
@media (min-width: 980px) {
  .works-profile-page .works-profile-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
}

/* Review rewards and the three home shortcuts share the mobile page width. */
body.customer-workspace-page .customer-hero { display: none !important; }

body.customer-workspace-page .customer-home-heading {
  position: relative;
  display: grid;
  align-content: center;
  gap: 7px;
  min-height: 178px;
  padding: 20px 103px 22px 18px;
  overflow: hidden;
  border: 1px solid #ef9dc8;
  border-radius: 21px;
  color: #542b6d;
  background: radial-gradient(circle at 91% 8%, #ffe268 0 39px, transparent 40px),
    radial-gradient(circle at 7% 97%, #ff8fc3 0 37px, transparent 38px),
    linear-gradient(125deg, #ffcade 0%, #ffe7b5 48%, #baf3e8 100%);
  box-shadow: inset 0 2px #fff9, 0 5px 0 #e5a2c6, 0 13px 24px #a56d9c42;
}
body.customer-workspace-page .customer-home-heading::after {
  position: absolute;
  right: 20px;
  top: 16px;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: #fb79a6;
  box-shadow: -18px 13px #f9bb5c, 0 27px #a278dd, -17px 43px #57cdb5;
  opacity: .86;
}
body.customer-workspace-page .customer-home-heading .customer-eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid #ffffffb0;
  border-radius: 999px;
  color: #a04b89;
  background: #fff9;
  font-size: 9px;
  font-weight: 850;
  line-height: 1.35;
}
body.customer-workspace-page .customer-home-heading h1 {
  max-width: 100%;
  margin: 2px 0 0;
  color: #65306d;
  font-size: clamp(23px, 6.4vw, 28px);
  font-weight: 950;
  line-height: 1.22;
  overflow-wrap: anywhere;
}
body.customer-workspace-page .customer-home-heading .customer-home-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  width: fit-content;
  padding: 2px 7px;
  border-radius: 7px;
  color: #914675;
  background: #fff8;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body.customer-workspace-page .customer-home-heading .customer-home-store-badge img {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 6px;
  object-fit: cover;
}
body.customer-workspace-page .customer-home-heading .customer-home-store-badge > span { min-width: 0; overflow-wrap: anywhere; }
body.customer-workspace-page .customer-home-heading .customer-welcome-row {
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 18px;
  margin: 0;
  transform: rotate(6deg);
}
body.customer-workspace-page .customer-home-heading .rich-bead-art {
  width: 90px;
  height: 90px;
  padding: 3px;
  filter: drop-shadow(0 8px 10px #9d559545);
}

.customer-home-discover-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 16px 0 0;
  padding: 0 0 10px;
  overflow: visible;
  scroll-snap-type: none;
}
.customer-home-discover-rail > button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  text-align: left;
}
.customer-home-discover-rail > .customer-home-pattern-entry,
.customer-home-discover-rail > .customer-home-rental-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: start;
  align-items: start;
  gap: 9px 3px;
  min-height: 128px;
  padding: 12px;
  border-radius: 18px;
}
.customer-home-discover-rail .customer-home-pattern-motif,
.customer-home-discover-rail .customer-home-rental-motif {
  grid-column: 1 / -1;
  width: 40px;
  height: 40px;
  padding: 5px;
  margin: 0 0 2px;
}
.customer-home-discover-rail .customer-home-pattern-motif { grid-template-columns: repeat(3, 8px); gap: 2px; }
.customer-home-discover-rail .customer-home-pattern-motif i { width: 8px; height: 8px; }
.customer-home-discover-rail .customer-home-rental-motif { font-size: 25px; }
.customer-home-discover-rail .customer-home-pattern-copy,
.customer-home-discover-rail .customer-home-rental-copy { grid-column: 1; gap: 3px; }
.customer-home-discover-rail .customer-home-pattern-copy strong,
.customer-home-discover-rail .customer-home-rental-copy strong {
  font-size: clamp(15px, 4.1vw, 19px);
  line-height: 1.18;
  overflow-wrap: anywhere;
}
.customer-home-discover-rail .customer-home-pattern-copy small,
.customer-home-discover-rail .customer-home-rental-copy small { font-size: 9px; line-height: 1.3; }
.customer-home-discover-rail .customer-home-pattern-copy > span,
.customer-home-discover-rail .customer-home-rental-copy > span { font-size: 9px; line-height: 1.3; }
.customer-home-discover-rail > .customer-home-pattern-entry b,
.customer-home-discover-rail > .customer-home-rental-entry b {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  margin: 0;
  font-size: 21px;
}
.customer-home-review-entry {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid #f0a96c;
  border-radius: 20px;
  color: #763a65;
  background: radial-gradient(circle at 96% 8%, #ffdf7d 0 38px, transparent 39px),
    linear-gradient(117deg, #ffe8bb, #ffe1f0 53%, #e9e4ff);
  box-shadow: inset 0 2px #fff9, 0 5px 0 #e7ad97, 0 13px 22px #c5838f40;
}
.customer-home-review-motif {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #f6bc79;
  border-radius: 16px;
  color: #eaa530;
  background: #fffdf2;
  box-shadow: 0 4px 0 #f2c4a3, 0 7px 12px #b5847c38;
  font-size: 29px;
}
.customer-home-review-copy { flex: 1; display: grid; gap: 4px; min-width: 0; }
.customer-home-review-copy small { color: #a26070; font-size: 10px; font-weight: 800; }
.customer-home-review-copy strong { font-size: 23px; font-weight: 950; line-height: 1.1; }
.customer-home-review-copy > span { color: #815f74; font-size: 11px; line-height: 1.35; }
.customer-home-review-entry b { color: #a74b82; font-size: 25px; }
.customer-home-review-entry:active { transform: translateY(3px); box-shadow: inset 0 2px #fff9, 0 2px 0 #e7ad97, 0 5px 10px #c5838f40; }
.customer-home-review-entry:focus-visible { outline: 3px solid #8563d1; outline-offset: 3px; }

.customer-hub-review-view { gap: 15px; padding-bottom: 105px; }
.customer-review-hero {
  display: grid;
  gap: 6px;
  padding: 19px;
  border: 1px solid #efa678;
  border-radius: 19px;
  color: #713c68;
  background: radial-gradient(circle at 93% 8%, #ffdf73 0 41px, transparent 42px),
    linear-gradient(125deg, #ffead0, #ffe2f0 55%, #e8e4ff);
  box-shadow: inset 0 2px #fff9, 0 5px 0 #e6b397, 0 12px 21px #ab6e8640;
}
.customer-review-hero > span { color: #a46383; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.customer-review-hero strong { font-size: 25px; font-weight: 950; }
.customer-review-hero p { margin: 0; font-size: 12px; line-height: 1.55; }
.customer-review-attendance { margin: 0; padding: 10px 12px; border-radius: 11px; color: #855271; background: #fff5e6; font-size: 12px; font-weight: 700; line-height: 1.5; }
.customer-review-stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.customer-review-stats > div {
  display: grid; gap: 2px; justify-items: center; padding: 13px 5px;
  border: 1px solid #e7c9ed; border-radius: 15px; background: #fff;
  box-shadow: inset 0 2px #fff, 0 4px 0 #e7d7ee, 0 9px 13px #9474a621;
}
.customer-review-stats > div:nth-child(2) { border-color: #b4dfd2; box-shadow: inset 0 2px #fff, 0 4px 0 #c7e8db, 0 9px 13px #6da78f21; }
.customer-review-stats small, .customer-review-stats span { color: #927c9c; font-size: 10px; }
.customer-review-stats strong { color: #bc4b8a; font-size: 25px; line-height: 1.2; }
.customer-review-usage-line { margin: -3px 0 0; color: #8d6d91; font-size: 11px; text-align: center; }
.customer-review-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.customer-review-actions button {
  min-height: 43px; padding: 7px 5px; border: 1px solid #d778aa; border-radius: 12px;
  color: #fff; background: linear-gradient(#fa9bc6,#df5e9f);
  box-shadow: inset 0 1px #fff8, 0 4px 0 #b24888, 0 8px 13px #a3568430;
  font-size: 12px; font-weight: 850;
}
.customer-review-actions button:disabled { opacity: .52; box-shadow: none; }
.customer-review-records { display: grid; gap: 9px; }
.customer-review-record { display: grid; gap: 4px; padding: 11px; border: 1px solid #eadcec; border-radius: 12px; background: #fffaff; font-size: 12px; }
.customer-review-record-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.customer-review-record strong { color: #654773; }
.customer-review-record small { color: #997f9f; }
.customer-review-record p { margin: 0; color: #7d6987; line-height: 1.45; overflow-wrap: anywhere; }
.customer-review-record img { width: 78px; height: 78px; object-fit: contain; border-radius: 8px; background: #f8f4f9; }
.customer-review-state { flex: none; padding: 4px 7px; border-radius: 8px; color: #ad5779; background: #ffe5ee; font-size: 10px; font-weight: 850; }
.customer-review-state.is-approved, .customer-review-state.is-confirmed { color: #287e6b; background: #ddf8ec; }
.customer-review-state.is-rejected { color: #a84a51; background: #ffe6e2; }
.customer-review-upload .customer-hub-form { gap: 11px; }
#customerReviewPreview { width: min(100%, 180px); max-height: 250px; object-fit: contain; border: 1px solid #eed5e5; border-radius: 10px; }
.customer-review-upload textarea { min-height: 86px; resize: vertical; }

.customer-hub-nav {
  box-sizing: border-box;
  width: min(100%, 760px);
  padding: 8px 8px max(9px, env(safe-area-inset-bottom));
  border: 1px solid #ecc4dd;
  border-bottom: 0;
  border-radius: 19px 19px 0 0;
  box-shadow: inset 0 2px #fff, 0 -5px 0 #dfb5d0, 0 -10px 21px #9d719c36;
}
.customer-hub-nav button {
  min-width: 0;
  border: 1px solid #edd8ea;
  background: linear-gradient(#fff, #fff4fa);
  box-shadow: inset 0 1px #fff, 0 3px 0 #e5d7e5;
}
.customer-hub-nav button[aria-current=page] {
  border-color: #efa7cd;
  box-shadow: inset 0 2px #fff9, 0 4px 0 #d88bb9, 0 7px 12px #aa609a35;
}
.customer-hub-nav button:active { transform: translateY(2px); }

/* Parent merchandise sources read as headings; their nested categories remain smaller choices. */
#customerHubMarket .customer-hub-market-layout .customer-hub-category {
  gap: 10px;
  border-color: #e5c2db;
  background: linear-gradient(#fff0f8, #f0ebff);
}
#customerHubMarket .customer-hub-category-group { gap: 6px; padding-bottom: 7px; border-bottom: 1px dashed #d9bbd9; }
#customerHubMarket .customer-hub-category-group:last-child { border-bottom: 0; padding-bottom: 0; }
#customerHubMarket .customer-hub-category-group > button {
  position: relative;
  min-height: 66px;
  padding: 8px 3px;
  border: 1px solid #dfa0c6;
  border-left: 4px solid #d84f9c;
  border-radius: 13px;
  color: #8d3674;
  background: linear-gradient(#ffe0f0, #f6cce5);
  box-shadow: inset 0 1px #fff9, 0 4px 0 #d9a2c6, 0 7px 10px #aa6e9f2d;
}
#customerHubMarket .customer-hub-category-group > button::before {
  position: absolute;
  top: 2px;
  right: 4px;
  content: "✦";
  color: #bc4b91;
  font-size: 9px;
}
#customerHubMarket .customer-hub-category-group[data-hub-source-group="player"] > button {
  border-color: #9acbdc;
  border-left-color: #4d9fb8;
  color: #39728c;
  background: linear-gradient(#e5fbfb, #cfeafa);
  box-shadow: inset 0 1px #fff9, 0 4px 0 #a4ced8, 0 7px 10px #6da5b52d;
}
#customerHubMarket .customer-hub-category-group[data-hub-source-group="player"] > button::before { content: "✿"; color: #3d8da7; }
#customerHubMarket .customer-hub-category-group > button[aria-pressed="true"] {
  border-color: #bf4f94;
  color: #fff;
  background: linear-gradient(#eb7db5, #cb4693);
  box-shadow: inset 0 1px #ffcfe6, 0 4px 0 #a43b79, 0 7px 12px #a349813b;
}
#customerHubMarket .customer-hub-category-group > button[aria-pressed="true"]::before { color: #fff; }
#customerHubMarket .customer-hub-category-group[data-hub-source-group="player"] > button[aria-pressed="true"] {
  border-color: #4189aa;
  color: #fff;
  background: linear-gradient(#67b3cd, #3d89aa);
  box-shadow: inset 0 1px #c5f8ff, 0 4px 0 #2f6f8a, 0 7px 12px #538da43b;
}
#customerHubMarket .customer-hub-category-group > button span { font-size: 11px; font-weight: 950; letter-spacing: .01em; }
#customerHubMarket .customer-hub-category-group > button small { font-size: 8px; font-weight: 800; }
#customerHubMarket .customer-hub-subcategories {
  gap: 5px;
  margin-left: 7px;
  padding: 3px 0 2px 5px;
  border-left: 3px solid #db9dc6;
}
#customerHubMarket .customer-hub-category-group[data-hub-source-group="player"] .customer-hub-subcategories { border-left-color: #91c6d9; }
#customerHubMarket .customer-hub-subcategories button {
  min-height: 29px;
  padding: 5px 2px;
  border: 1px solid #ead7e7;
  border-radius: 8px;
  color: #785e81;
  background: #fffafc;
  box-shadow: 0 2px 0 #ead6e4;
  font-size: 10px;
  font-weight: 750;
}
#customerHubMarket .customer-hub-subcategories button[aria-pressed="true"] {
  border-color: #9d387b;
  color: #fff;
  background: linear-gradient(#d963a5, #aa3f82);
  box-shadow: 0 3px 0 #803063;
}
#customerHubMarket .customer-hub-category-group[data-hub-source-group="player"] .customer-hub-subcategories button[aria-pressed="true"] {
  border-color: #317a99;
  background: linear-gradient(#5aabc5, #327e9e);
  box-shadow: 0 3px 0 #29627b;
}
#customerHubMarket .customer-hub-active-category {
  display: inline-block;
  max-width: 100%;
  margin-top: 5px;
  padding: 3px 6px;
  border: 1px solid #e9accd;
  border-radius: 7px;
  color: #8c286b;
  background: #ffe9f5;
  font-size: 9px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

#customerHubDiscussion .customer-discussion-tools #customerHubDiscussionEmojiClose {
  margin-left: auto;
  color: #794c91;
  background: linear-gradient(#fff, #f5e9ff);
}
#customerHubDiscussion .customer-discussion-emoji-panel { max-height: min(27dvh, 150px); }
@media (max-width: 360px) {
  .customer-home-discover-rail { gap: 9px; }
  .customer-home-discover-rail > .customer-home-pattern-entry,
  .customer-home-discover-rail > .customer-home-rental-entry { padding: 10px; }
  .customer-home-review-copy strong { font-size: 20px; }
  .customer-hub-nav { padding-left: 5px; padding-right: 5px; }
  .customer-hub-nav button { padding-left: 0; padding-right: 0; }
}
@media (max-width: 350px) {
  #customerHubMarket .customer-hub-market-layout .customer-hub-category { padding: 5px 3px; }
  #customerHubMarket .customer-hub-category-group > button { padding-right: 1px; padding-left: 1px; }
  #customerHubMarket .customer-hub-category-group > button span { font-size: 10px; letter-spacing: 0; }
  #customerHubMarket .customer-hub-category-group > button small { font-size: 7px; }
  #customerHubMarket .customer-hub-subcategories { margin-left: 2px; padding-left: 2px; border-left-width: 2px; }
  #customerHubMarket .customer-hub-subcategories button { padding-right: 1px; padding-left: 1px; font-size: 9.5px; }
}

body.customer-workspace-page .customer-service-menu { margin-top: 16px; }
body.customer-workspace-page .customer-service-menu[hidden] { display: none; }
.customer-hub-detail-photo-credit {
  margin: 16px 0 2px;
  color: #8b7896;
  font-size: 11px;
  line-height: 1.5;
}
.customer-hub-detail-photo-credit a { color: inherit; text-underline-offset: 2px; }
body.customer-workspace-page .customer-menu-group .customer-service-tile {
  box-sizing: border-box;
  grid-template-columns: 44px minmax(0, 1fr) 14px;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 3px 13px;
  min-height: 76px;
  padding: 15px 16px;
  overflow: visible;
  border: 1px solid #ddc9f0;
  border-radius: 18px;
  background: linear-gradient(120deg, #f4ecff, #faf5ff);
  box-shadow: inset 0 2px 0 #fff9, 0 5px 0 #d8c5ec, 0 11px 19px #68467d24;
  transition: transform .16s ease, box-shadow .16s ease;
}
body.customer-workspace-page .customer-menu-group .customer-service-tile--pass {
  border-color: #bee7d7;
  background: linear-gradient(120deg, #e7faef, #f4fff7);
  box-shadow: inset 0 2px 0 #fff9, 0 5px 0 #b6dec9, 0 11px 19px #38795c21;
}
body.customer-workspace-page .customer-menu-group .customer-service-tile--purchase {
  border-color: #f4d5a6;
  background: linear-gradient(120deg, #fff0d5, #fff9ed);
  box-shadow: inset 0 2px 0 #fff9, 0 5px 0 #ecc99c, 0 11px 19px #a87a4124;
}
body.customer-workspace-page .customer-menu-group .customer-service-icon {
  box-sizing: border-box;
  grid-column: 1;
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 13px;
  background: #fff;
  box-shadow: inset 0 2px 0 #fff, 0 3px 0 #d8c5ea, 0 6px 10px #68467d1f;
}
body.customer-workspace-page .customer-menu-group .customer-service-tile--pass .customer-service-icon { box-shadow: inset 0 2px 0 #fff, 0 3px 0 #b9e2ce, 0 6px 10px #38795c1d; }
body.customer-workspace-page .customer-menu-group .customer-service-tile--purchase .customer-service-icon { box-shadow: inset 0 2px 0 #fff, 0 3px 0 #e9cba3, 0 6px 10px #a87a411f; }
body.customer-workspace-page .customer-menu-group .customer-service-tile strong,
body.customer-workspace-page .customer-menu-group .customer-service-tile small {
  grid-column: 2;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}
body.customer-workspace-page .customer-menu-group .customer-service-tile strong {
  grid-row: 1;
  align-self: end;
  color: #533669;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.35;
}
body.customer-workspace-page .customer-menu-group .customer-service-tile small {
  grid-row: 2;
  align-self: start;
  color: #785f88;
  font-size: 11px;
  line-height: 1.45;
}
body.customer-workspace-page .customer-menu-group .customer-service-tile--pass strong { color: #256c56; }
body.customer-workspace-page .customer-menu-group .customer-service-tile--purchase strong { color: #94543c; }
body.customer-workspace-page .customer-menu-group .customer-service-tile::after {
  position: static;
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
  color: #9a70b3;
}
body.customer-workspace-page .customer-menu-group .customer-service-tile:active,
body.customer-workspace-page .customer-home-help:active { transform: translateY(3px); }
body.customer-workspace-page .customer-menu-group .customer-service-tile:focus-visible,
body.customer-workspace-page .customer-home-help:focus-visible { outline: 3px solid #8f63d4; outline-offset: 3px; }
body.customer-workspace-page .customer-home-help {
  box-sizing: border-box;
  min-height: 76px;
  margin-top: 15px;
  padding: 14px 16px;
  border-radius: 18px;
  text-align: left;
  transition: transform .16s ease;
}
body.customer-workspace-page .customer-home-help {
  grid-template-columns: 32px minmax(0, 1fr) 14px;
  gap: 12px;
  border-color: #ead6e9;
  background: linear-gradient(120deg, #fffafd, #f8effb);
  box-shadow: inset 0 2px 0 #fff, 0 5px 0 #e7d2e5, 0 11px 19px #80628524;
}
body.customer-workspace-page .customer-home-help > span:nth-child(2) { min-width: 0; }
body.customer-workspace-page .customer-home-help strong { margin: 0; color: #784c80; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
body.customer-workspace-page .customer-home-help .customer-help-symbol { width: 32px; height: 32px; box-shadow: 0 3px 0 #e5cde5; }
@media (max-width: 350px) {
  body.customer-workspace-page .customer-menu-group .customer-service-tile { grid-template-columns: 39px minmax(0, 1fr) 12px; gap: 3px 10px; padding: 14px 12px; }
  body.customer-workspace-page .customer-menu-group .customer-service-icon { width: 39px; height: 39px; }
  body.customer-workspace-page .customer-home-help { gap: 9px; padding: 13px 12px; }
}

/* The notice expands with its contents, including on narrow phones. */
body.customer-workspace-page .customer-home-heading.customer-home-activity {
  min-height: clamp(192px, 57vw, 252px);
  height: auto;
  max-height: none;
  align-content: center;
  gap: 0;
  margin-inline: -7px;
  padding: clamp(22px, 6vw, 32px) clamp(17px, 5vw, 28px);
  overflow: visible;
}
body.customer-workspace-page .customer-home-heading.customer-home-activity::after { content: none; }
body.customer-workspace-page .customer-home-activity h1 { width: 100%; max-width: 100%; margin: 0 0 10px; text-align: center; font-size: clamp(19px, 5vw, 24px); font-weight: 850; line-height: 1.35; }
body.customer-workspace-page .customer-home-activity p { display: block; max-width: 100%; max-height: none; margin: 0; overflow: visible; color: #65425f; font-size: clamp(13.5px, 3.5vw, 15.5px); font-weight: 500; line-height: 1.75; letter-spacing: normal; white-space: pre-wrap; overflow-wrap: anywhere; -webkit-line-clamp: unset; -webkit-box-orient: initial; }
body.customer-workspace-page .customer-home-activity > button { display: none; }
.customer-activity-full { padding: 16px 1px 6px; }
.customer-activity-full h3 { margin: 0 0 12px; color: #654674; font-size: 17px; line-height: 1.6; overflow-wrap: anywhere; }
.customer-activity-full p { margin: 0; color: #806c88; font-size: 14px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.customer-activity-full small { display: block; margin-top: 12px; color: #a48fa8; font-size: 11px; }
.customer-activity-full small:empty { display: none; }

.customer-home-reservation-entry { position:relative;display:grid;grid-template-columns:54px minmax(0,1fr) 18px;align-items:center;gap:13px;width:100%;min-height:100px;margin:22px 0 24px;padding:18px 17px;border:1px solid #70c8e1;border-radius:21px;background:linear-gradient(118deg,#c6f7ec,#e5edff 62%,#f9d8f0);color:#294d76;text-align:left;box-shadow:inset 0 2px #fff,0 6px 0 #7cb5d2,0 13px 22px #4e74982b;cursor:pointer; }
.customer-home-reservation-entry::before { content:"";position:absolute;right:32px;top:8px;width:27px;height:9px;border-radius:50%;background:#ffffff8c;transform:rotate(-12deg); }
.customer-home-reservation-entry>span:first-child { display:grid;place-items:center;width:54px;height:54px;border:2px solid #fff;border-radius:16px;background:linear-gradient(#fff,#e3fcfa);font-size:28px;color:#3e9faf;box-shadow:0 4px 0 #79b8c6; }
.customer-home-reservation-entry small,.customer-home-reservation-entry strong,.customer-home-reservation-entry em { display:block;font-style:normal;overflow-wrap:anywhere; }
.customer-home-reservation-entry small { font-size:10px;color:#5b8196; }.customer-home-reservation-entry strong { margin:4px 0;font-size:21px;line-height:1.3; }.customer-home-reservation-entry em { font-size:11px;line-height:1.5;color:#4e6c88; }.customer-home-reservation-entry>b { font-size:25px; }
.customer-home-reservation-entry:active { transform:translateY(3px);box-shadow:inset 0 2px #fff,0 3px 0 #7cb5d2; }
#customerHubReservations { padding-bottom:35px; }#customerHubReservations [hidden] { display:none!important; }
.reservation-heading h1 { font-size:27px;color:#4e386e;margin:10px 0; }.reservation-heading>p,.reservation-note { color:#766283;font-size:12px;line-height:1.6; }
.reservation-login { padding:22px;border:1px solid #dccae9;border-radius:18px;background:linear-gradient(120deg,#f1e8ff,#fff3f7); }.reservation-login h2 { margin-top:0;font-size:20px; }
.reservation-form,.reservation-list-card { margin-top:18px;padding:17px;border:1px solid #ded2ed;border-radius:18px;background:#fffcff;box-shadow:0 4px 0 #e6dbea; }
.reservation-form fieldset { min-width:0;margin:0;padding:0;border:0; }.reservation-form label { display:grid;gap:7px;margin:0 0 14px;font-size:13px;font-weight:700;color:#594a72; }
.reservation-form input,.reservation-form select,.reservation-form textarea { box-sizing:border-box;min-width:0;width:100%;min-height:46px;padding:11px;border:1px solid #d4cae5;border-radius:10px;background:#fff;font:inherit;font-size:16px;color:#483c61; }.reservation-form textarea { min-height:75px;resize:vertical; }
.reservation-field-row { display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:12px; }.reservation-seats { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:12px 0 18px; }
.reservation-seat { display:grid;gap:5px;min-width:0;min-height:94px;padding:12px 5px;border:1px solid #a7d6c5;border-radius:13px;background:linear-gradient(#effff8,#dcf4ec);color:#2f715f;box-shadow:0 3px 0 #aed7c8;font:inherit;cursor:pointer; }.reservation-seat strong { font-size:16px; }.reservation-seat small,.reservation-seat-now { font-size:10px;line-height:1.4; }.reservation-seat.is-selected { outline:3px solid #795bd5;outline-offset:1px;border-color:#795bd5;background:#efe9ff;color:#5f429c; }.reservation-seat.is-unavailable { color:#897d8b;background:#f1edf1;border-color:#ddd5df;box-shadow:none; }.reservation-seat:disabled { cursor:default; }
.reservation-record { margin-top:12px;padding:14px;border:1px solid #ded4e8;border-radius:13px;background:#fff;overflow-wrap:anywhere; }.reservation-record-head { display:flex;justify-content:space-between;align-items:center;gap:8px; }.reservation-record p { font-size:12px;line-height:1.6;color:#6a5a77;margin:9px 0; }.reservation-record .reservation-time { font-weight:750;color:#4e396c; }.reservation-status { padding:4px 8px;border-radius:8px;background:#fff0d8;color:#9b6a20;font-size:11px;font-weight:750; }.reservation-record[data-status=approved] .reservation-status,.reservation-approved { color:#256c57!important;background:#e7f8ef; }.reservation-record[data-status=rejected] .reservation-status,.reservation-record[data-status=cancelled] .reservation-status { color:#7e6b83;background:#f1edf3; }
.reservation-list-head { display:flex;align-items:center;justify-content:space-between;gap:10px; }.reservation-list-head h2 { margin:0;font-size:19px;color:#5b437a; }.reservation-list-card>small { display:block;color:#8e7d99;font-size:10px;margin-top:8px; }.reservation-empty { color:#8a7c96;font-size:13px;line-height:1.6; }.reservation-feedback { min-height:22px;font-size:13px;line-height:1.6;color:#3a7a64;overflow-wrap:anywhere; }.reservation-feedback.is-error { color:#b24568; }.reservation-mine-open { width:100%;margin:0 0 15px;min-height:53px;padding:14px;border:1px solid #bad8e5;border-radius:14px;background:linear-gradient(110deg,#e5faf5,#eaeaff);color:#415b82;text-align:left;font-weight:750;font-size:15px; }
@media(max-width:380px) { .customer-home-reservation-entry { grid-template-columns:45px minmax(0,1fr) 12px;gap:10px;padding:16px 13px; }.customer-home-reservation-entry>span:first-child { width:43px;height:47px; }.customer-home-reservation-entry strong { font-size:19px; }.reservation-field-row { grid-template-columns:minmax(0,1fr);gap:0; }.reservation-form,.reservation-list-card { padding:13px; }.reservation-seats { gap:7px; } }
.reservation-seats>.reservation-empty { grid-column:1/-1; }
@media(max-width:600px) { .reservation-form .reservation-field-row { grid-template-columns:minmax(0,1fr);gap:0; } }

.huifu-checkout-page { margin:0; min-width:320px; min-height:100dvh; background:radial-gradient(ellipse at 0 0,#ffe8d8,transparent 50%),radial-gradient(ellipse at 100% 100%,#e9e0fc,transparent 50%),#faf6f3; color:#372c46; font:14px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
.huifu-checkout-page * { box-sizing:border-box; }
.huifu-checkout-shell { width:min(100%,620px); margin:auto; padding:25px 18px max(36px,env(safe-area-inset-bottom)); }
.huifu-checkout-brand { display:flex; align-items:center; gap:12px; margin:0 0 24px; }
.huifu-checkout-brand > span { display:grid; place-items:center; width:43px; height:43px; border:1px solid #e8d6ed; border-radius:14px; background:#fff; color:#9b71c6; box-shadow:0 3px 0 #e8d6e6; font-size:25px; }
.huifu-checkout-brand div { display:grid; gap:1px; }
.huifu-checkout-brand small { color:#8b728d; font-size:10px; }
.huifu-checkout-brand strong { font-size:17px; }
.huifu-checkout-brand a { margin-left:auto; color:#79608e; text-decoration:none; font-size:12px; }
.huifu-checkout-card { padding:27px; border:1px solid #e6daed; border-radius:25px; background:#fffdfd; box-shadow:0 5px 0 #e6dae9,0 22px 50px #624b7410; }
.huifu-checkout-eyebrow { width:fit-content; margin:0 0 9px; padding:3px 9px; border-radius:7px; background:#f5eafa; color:#8b5b98; font-size:11px; font-weight:700; }
.huifu-checkout-card h1 { margin:0; font-size:25px; line-height:1.5; }
.huifu-checkout-amount { display:block; margin:13px 0 4px; color:#d56b50; font-size:38px; font-weight:850; line-height:1.4; font-variant-numeric:tabular-nums; }
.huifu-checkout-order { margin:0; color:#8c7996; overflow-wrap:anywhere; font-size:11px; }
.huifu-checkout-method { margin:14px 0 0; color:#665270; font-weight:700; }
.huifu-checkout-status { margin:17px 0 0; padding:13px; border:1px solid #e9e0f1; border-radius:13px; color:#775a8d; background:#f8f3fc; font-size:13px; overflow-wrap:anywhere; }
.huifu-checkout-status.is-error { border-color:#f2d0d8; background:#fff1f3; color:#ad4660; }
.huifu-checkout-status.is-success { border-color:#c8e6d6; background:#eaf9f1; color:#29775b; }
.huifu-checkout-hint,.huifu-checkout-note { color:#89768f; font-size:12px; }
.huifu-checkout-note { margin:23px 0 0; padding-top:17px; border-top:1px solid #eee5f2; font-size:11px; }
.huifu-checkout-verification,.customer-hub-verification { width:fit-content; padding:4px 9px; border:1px solid #efd5ac; border-radius:8px; background:#fff5df; color:#9a6a2d; font-size:11px; font-weight:700; }
.huifu-checkout-page button,.huifu-checkout-page a.huifu-checkout-primary { min-height:45px; padding:10px 14px; border:1px solid #e2d4ed; border-radius:12px; background:#f8f2fe; color:#77558e; font:inherit; font-size:12px; font-weight:700; cursor:pointer; text-decoration:none; text-align:center; }
.huifu-checkout-page .huifu-checkout-primary:is(button,a) { display:block; width:100%; margin:17px 0 0; border-color:#da684b; color:#fff; background:linear-gradient(#ef8e6e,#e47758); box-shadow:inset 0 1px #ffffff70,0 4px 0 #c36149; font-weight:800; font-size:14px; }
.huifu-checkout-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:17px; }
.huifu-checkout-actions button { flex:1 1 130px; }
.huifu-checkout-page button:disabled { opacity:.55; cursor:wait; }
.huifu-checkout-page :is(button,a,[tabindex]):focus-visible { outline:3px solid #a585d1; outline-offset:3px; }
.huifu-sdk-slot { width:100%; min-width:0; margin:18px 0 0; overflow:hidden; }
.huifu-sdk-slot.is-busy { pointer-events:none; opacity:.65; }
.huifu-sdk-slot [class^="pay-button-"] { width:100% !important; height:auto !important; min-height:50px; padding:12px; font-size:16px !important; border-radius:13px !important; box-shadow:inset 0 1px #ffffff55,0 4px 0 #334a6b22; }
.huifu-sdk-slot [aria-disabled="true"] { opacity:.6; cursor:wait; }
.huifu-sdk-slot iframe { display:block; width:100% !important; height:420px !important; max-width:100%; border:0; }
.huifu-checkout-qr { margin-top:20px; text-align:center; }
.huifu-checkout-qr img { display:block; width:min(260px,100%); height:auto; margin:0 auto; border:1px solid #eee3f2; border-radius:15px; padding:10px; background:#fff; }
@media(max-width:360px) { .huifu-checkout-shell { padding:22px 14px 35px; } .huifu-checkout-card { padding:22px 18px; } .huifu-checkout-card h1 { font-size:23px; } }
@media(prefers-reduced-motion:reduce) { .huifu-checkout-page * { animation:none !important; transition:none !important; scroll-behavior:auto !important; } }
.huifu-checkout-page [hidden],.customer-page .customer-hub-verification[hidden] { display:none !important; }

.huifu-hosted-cashier{box-sizing:border-box;width:min(94vw,470px);max-height:90vh;max-height:90dvh;overflow:auto;margin:auto;padding:25px;border:1px solid #e5d5f0;border-radius:25px;color:#392649;background:#fffdfd;box-shadow:0 5px 0 #e3d1ed,0 24px 70px #44275228;font:14px/1.7 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
.huifu-hosted-cashier::backdrop{background:#2f193a88;backdrop-filter:blur(3px)}
.huifu-hosted-cashier *{box-sizing:border-box}.huifu-hosted-cashier header{display:flex;align-items:flex-start;gap:12px}.huifu-hosted-cashier header>div{flex:1;min-width:0}.huifu-hosted-cashier h2{margin:3px 0 0;font-size:23px;line-height:1.45}.huifu-hosted-cashier small{color:#8b619c;font-size:11px}.huifu-hosted-cashier button,.huifu-hosted-cashier a{font:inherit;cursor:pointer}.huifu-hosted-cashier header button{width:35px;height:35px;border:0;border-radius:11px;background:#f3eaf9;color:#705485;font-size:22px}.huifu-hosted-amount{display:block;margin-top:20px;color:#e36e4d;font-size:36px;line-height:1.3;font-weight:850}.huifu-hosted-order{overflow-wrap:anywhere;color:#8b7695;font-size:11px}.huifu-hosted-channel{font-weight:750}.huifu-hosted-status{padding:12px;border:1px solid #e8dbf2;border-radius:12px;background:#f7f0fc;color:#715388;overflow-wrap:anywhere}.huifu-hosted-status.is-error{background:#fff1f1;border-color:#f3c8c9;color:#a64555}.huifu-hosted-code{text-align:center}.huifu-hosted-code img{display:block;width:min(100%,276px);height:auto;margin:auto;padding:10px;border:1px solid #e9dcef;border-radius:15px;background:white}.huifu-hosted-code p,.huifu-hosted-note{font-size:11px;color:#89708e}.huifu-hosted-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.huifu-hosted-actions button,.huifu-hosted-primary{flex:1;min-height:45px;padding:10px 12px;border:1px solid #d9c6e7;border-radius:12px;color:#79538d;background:#f8f0fe;font-weight:750;text-align:center;text-decoration:none}.huifu-hosted-primary{display:block;margin-top:15px;border-color:#d76c4c;background:#ed825e;color:white;box-shadow:0 3px 0 #bd573b}.huifu-hosted-actions button[data-cashier-start]{border-color:#d76c4c;background:#ed825e;color:white}.huifu-hosted-cashier button:disabled{opacity:.5;cursor:wait}.huifu-hosted-cashier [hidden]{display:none!important}.huifu-hosted-verification{width:fit-content;padding:3px 9px;border:1px solid #efcc9e;border-radius:8px;background:#fff3de;color:#9b6829;font-size:11px}.huifu-hosted-note{margin-top:20px;padding-top:14px;border-top:1px solid #eee3f4}.huifu-hosted-channel-field{display:grid;gap:7px;margin:15px 0;font-size:13px;color:#715388}.huifu-hosted-channel-field select{width:100%;min-height:44px;padding:9px 12px;border:1px solid #dfcdeb;border-radius:11px;color:#493154;background:#fff;font:inherit}.huifu-hosted-cashier :is(button,a):focus-visible{outline:3px solid #9562bd;outline-offset:3px}@media(max-width:360px){.huifu-hosted-cashier{padding:20px 17px}.huifu-hosted-cashier h2{font-size:21px}}@media(prefers-reduced-motion:reduce){.huifu-hosted-cashier *{animation:none!important;transition:none!important}}

.huifu-hosted-cashier.is-inline{width:100%;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}

.member-page{--member-purple:#7351ee;--member-ink:#292343;display:block;padding:12px 16px 26px;color:var(--member-ink);background:radial-gradient(ellipse at 88% 6%,#ffe4ef 0,transparent 46%),radial-gradient(ellipse at 0 52%,#e8e2ff 0,transparent 54%),#f8f7ff;min-height:calc(100dvh - 120px)}
.member-dialog[open]{display:flex;flex-direction:column;max-height:min(calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom))),820px);box-sizing:border-box}.member-dialog .member-dialog-header{flex:none;min-width:0}.member-dialog .member-dialog-header>div{min-width:0;overflow-wrap:anywhere}.member-dialog .member-dialog-body{flex:0 1 auto;min-height:0;min-width:0;max-height:none;overflow-y:auto;overflow-wrap:anywhere;scroll-padding:12px 0 24px;-webkit-overflow-scrolling:touch}.member-dialog .member-dialog-body :is(input,select,textarea,button,a){scroll-margin-top:12px;scroll-margin-bottom:24px}
@media(max-width:699px){.customer-page .member-page{width:100%;max-width:none;margin:0;padding:max(8px,env(safe-area-inset-top)) max(clamp(12px,3.2vw,16px),env(safe-area-inset-right)) 24px max(clamp(12px,3.2vw,16px),env(safe-area-inset-left));min-height:calc(100dvh - 88px - env(safe-area-inset-bottom))}.customer-page .member-page-toolbar{margin-bottom:12px}.customer-page .member-page h1{font-size:clamp(25px,6.6vw,27px)}}
.member-package-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.member-package-shortcuts button{display:flex;align-items:center;gap:7px;padding:13px 10px;border:1px solid #fff;border-radius:16px;background:linear-gradient(135deg,#fff,#eee3ff);box-shadow:0 4px 0 #d8c5ef57;color:#7a4da5;text-align:left}.member-package-shortcuts button:nth-child(2){background:linear-gradient(135deg,#fff,#ffe9ee);color:#ae6787;box-shadow:0 4px 0 #e8c5d657}.member-package-shortcuts button>span:first-child{font-size:22px}.member-package-shortcuts button>span:nth-child(2){display:grid;gap:4px;flex:1}.member-package-shortcuts strong{font-size:12px}.member-package-shortcuts small{font-size:9px;color:#a18aaf}.member-package-shortcuts b{font-size:20px;font-weight:400;opacity:.5}.member-package-list{display:grid;gap:12px}.member-package-card{border:1px solid #eee1f6;border-radius:17px;padding:16px;background:linear-gradient(140deg,#fff,#f3ecfc);box-shadow:0 4px 0 #d8c8e92b}.member-package-card h3{font-size:15px;margin:0 0 7px}.member-package-card p{font-size:11px;color:#a08aaf;margin:0}.member-package-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}.member-package-card-foot>strong{font-size:16px;color:#9261b5}.member-package-card-foot>button{border:0;border-radius:20px;padding:8px 14px;background:linear-gradient(135deg,#a074d6,#bc82c5);box-shadow:0 3px 0 #9765a82c;color:#fff;font-size:11px;font-weight:700}.member-use-code{display:grid;place-items:center;gap:10px;margin:17px 0;padding:16px 5px;border-radius:16px;background:#fff;border:1px solid #ebdeef}.member-use-code img{width:190px;height:190px;max-width:100%;object-fit:contain}.member-use-code>strong{font:750 16px ui-monospace,monospace;letter-spacing:.05em;color:#765090}.member-use-code>small{font-size:10px;color:#ad96b8}.member-package-use-record{font-size:11px;line-height:1.8;color:#a18aac;padding:8px 10px;border-radius:10px;background:#f0e8f7}.member-package-refund{width:100%;border:1px solid #e4d3eb;border-radius:13px;padding:11px;background:#faf5fc;color:#a17ab4;font-size:11px;margin-top:10px}.member-package-refund-note{font-size:11px;line-height:1.9;border-radius:12px;padding:12px;background:#fff2dc;color:#ac8b58}
.member-page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}.member-page h1{margin:0;font-size:27px;line-height:1.3;font-weight:850;letter-spacing:-.04em}.member-page h1 span{display:inline-block;margin-left:8px;color:#f4b148;font-size:24px;vertical-align:top}.member-scan{display:grid;place-items:center;gap:2px;flex:none;width:44px;height:44px;padding:7px 6px 5px;border:1px solid #ffffff80;border-radius:16px;background:#ffffff3d;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 3px 10px #76628f0b,inset 0 1px 0 #ffffff59;color:#65508d;cursor:pointer}.member-scan>svg{display:block;width:23px;height:23px}.member-scan small{font-size:10px;line-height:12px;font-weight:650}.member-scan:active{background:#ffffff66}
.member-card{position:relative;overflow:hidden;isolation:isolate;border-radius:25px;background:linear-gradient(130deg,#6748d9 0%,#935be2 55%,#cf82bc 100%);padding:22px;color:#fff;box-shadow:0 14px 28px #6940a936,inset 0 1px 0 #ffffff9c,inset 0 -3px 0 #5130a838;transform:translateZ(0)}.member-card::after{position:absolute;right:-35px;top:26%;width:158px;height:158px;border-radius:42px;transform:rotate(35deg);border:24px solid #ffffff14;content:"";z-index:-1}.member-card-shine{position:absolute;inset:-80px -70px auto auto;width:230px;height:220px;background:radial-gradient(circle,#ffffff45,transparent 65%);pointer-events:none;z-index:-1}.member-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.member-card-brand{font-size:12px;letter-spacing:.1em;color:#fffc}.member-level{border:1px solid #ffe6ad80;border-radius:30px;padding:5px 10px;background:linear-gradient(135deg,#ffeab9,#ffd9a6);box-shadow:0 3px 0 #6a428f25;color:#6e4297;font-weight:850;font-size:13px;white-space:nowrap}.member-level span{margin-left:3px}.member-card-name{margin:16px 0 22px;font-size:14px;font-weight:650}.member-balance-label{font-size:12px;color:#f4eaff}.member-balance{display:flex;align-items:baseline;gap:12px;border:0;padding:0;background:none;color:#fff;font-size:44px;font-weight:850;letter-spacing:-.045em;line-height:1.3;font-variant-numeric:tabular-nums}.member-balance span{font-size:24px;font-weight:400;opacity:.7}.member-card-bottom{margin-top:17px;display:flex;align-items:center;justify-content:space-between;gap:7px}.member-card-account{font-size:10px;color:#f3e9ff;letter-spacing:.02em}.member-card-beads{font-size:11px;letter-spacing:2px;color:#ffda87;text-shadow:0 2px 0 #603c8e33}
.member-benefit{width:100%;display:flex;align-items:center;gap:11px;text-align:left;margin:17px 0 24px;padding:15px;border:1px solid #fff;border-radius:19px;background:linear-gradient(140deg,#fffefb,#fff2df);box-shadow:0 6px 0 #e4cead2e,0 10px 20px #b2824410;color:#593e27}.member-benefit-icon{display:grid;place-items:center;width:39px;height:39px;flex:none;border-radius:13px;background:linear-gradient(135deg,#ffc969,#eda649);box-shadow:inset 1px 1px 1px #fff9,0 4px 0 #cc8a393b;color:#fff;font-size:29px}.member-benefit>span:nth-child(2){display:grid;gap:4px;flex:1}.member-benefit strong{font-size:13px}.member-benefit small{font-size:10px;color:#a07d5e;line-height:1.5}.member-benefit-count{font-size:28px;color:#ae7040;white-space:nowrap}.member-benefit-count span{font-size:11px;margin-left:3px}
.member-section-title{display:flex;justify-content:space-between;align-items:end;gap:8px;margin-bottom:12px}.member-section-title small{color:#9a8da9;font-size:10px;letter-spacing:.08em}.member-section-title h2{font-size:19px;margin:4px 0 0;font-weight:800}.member-section-title>span{font-size:10px;color:#a297ac;padding-bottom:3px}.member-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.member-tier-benefit {
  text-align: center;
  line-height: 1.4;
}
.member-tier-benefits { display: grid; align-content: start; gap: 3px; min-width: 0; font-size: 11px; }
.member-tier-benefits small { font-size: inherit; }
.member-topup-benefits { display: grid; gap: 4px; font-size: 12px; line-height: 1.45; }
.member-topup-benefits small { color: #805e8f; }
.member-tier{display:grid;justify-items:center;gap:6px;padding:14px 5px 12px;border:1px solid #fff;border-radius:18px;background:linear-gradient(145deg,#fff,#eee6ff);box-shadow:0 5px 0 #d5c8ed8c,0 9px 16px #6a4c9110;color:#6950a3;cursor:pointer;transition:transform .15s}.member-tier:nth-child(2){background:linear-gradient(145deg,#fff5e1,#ffe4bd);box-shadow:0 5px 0 #e8bf8c88,0 9px 16px #b7803d0d;color:#8e582c}.member-tier:active{transform:translateY(3px)}.member-tier>small{font-size:11px}.member-tier>strong{font-size:29px;letter-spacing:-.045em;line-height:1.1}.member-tier>strong span{font-size:10px;font-weight:600;margin-left:3px}.member-tier-bonus{font-size:11px;font-weight:750;padding:4px 9px;border-radius:20px;background:#ffffffa6}.member-recharge{margin-bottom:14px}.member-pocket-entry{width:100%;padding:16px;display:flex;align-items:center;gap:12px;border:1px solid #fff;border-radius:18px;background:#ffffffbe;box-shadow:0 5px 12px #62487d08;color:#504064;text-align:left}.member-pocket-icon{font-size:25px;color:#a17ce6;background:#efe7fc;border-radius:12px;padding:3px 7px}.member-pocket-entry>span:nth-child(2){flex:1;display:grid;gap:4px}.member-pocket-entry strong{font-size:13px}.member-pocket-entry small{font-size:10px;color:#a197ac}.member-pocket-entry b{font-size:24px;color:#b7a8cb}.member-page-status{font-size:11px;color:#9b8cae;text-align:center;line-height:1.6;margin:17px 0 2px}.member-page-status.is-error{color:#bd4264}
.member-dialog-open{overflow:hidden}.member-dialog{padding:0;border:1px solid #fff;border-radius:24px;background:#fbf9ff;box-shadow:0 20px 80px #31223c4d;width:min(440px,calc(100vw - 28px));max-height:min(86dvh,820px);color:#3b2d51;overflow:hidden}.member-dialog::backdrop{background:#33274470;backdrop-filter:blur(4px)}.member-dialog-header{display:flex;align-items:start;justify-content:space-between;gap:14px;padding:20px 20px 15px;background:linear-gradient(120deg,#f2eaff,#fff0f5);border-bottom:1px solid #e9ddf2}.member-dialog-header h2{margin:0;font-size:20px}.member-dialog-header p{font-size:11px;line-height:1.6;color:#9482a5;margin:6px 0 0}.member-dialog-close{border:1px solid #fff;border-radius:50%;width:30px;height:30px;flex:none;background:#fff9;color:#8b73a6;font-size:23px;line-height:1}.member-dialog-body{padding:18px 20px 22px;overflow:auto;overscroll-behavior:contain;max-height:calc(86dvh - 110px)}.member-rules-hero{display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:17px;padding:15px;background:linear-gradient(135deg,#784fda,#b66cbd);color:#fff;box-shadow:0 6px 13px #8954be30}.member-rules-hero strong{font-size:27px}.member-rules-hero span{font-size:11px}.member-rules-intro{font-size:12px;line-height:1.9;color:#8e7c9e;margin:17px 0}.member-rules-levels{display:grid;gap:7px}.member-rules-levels>div{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:#f1ebf7;font-size:11px;color:#a08bb0}.member-rules-levels b{font-size:15px;color:#8965b7}.member-rules-levels span{flex:1}.member-rules-levels strong{font-size:11px}.member-rules-levels .is-current{background:#ebdcff;box-shadow:inset 0 0 0 1px #d6bdf8;color:#8556b4}.member-rule-note{padding:4px 0}.member-rule-note h3{font-size:13px;margin:15px 0 6px;color:#765299}.member-rule-note p{font-size:11px;line-height:1.9;margin:0;color:#9a86ab}.member-rules-expiry{font-size:10px;line-height:1.7;padding:10px;border-radius:11px;background:#fff2df;color:#aa8150}
.member-wallet-summary,.member-topup-summary{display:grid;gap:8px;padding:20px;text-align:center;border-radius:18px;background:linear-gradient(135deg,#f2e6ff,#ffe9f0);color:#8053a6}.member-wallet-summary small,.member-topup-summary small{font-size:11px}.member-wallet-summary strong{font-size:35px}.member-wallet-summary p{font-size:11px;margin:0}.member-topup-summary strong{font-size:27px}.member-topup-summary>span{font-size:12px;color:#a16f84}.member-record-tabs{display:flex;gap:7px;margin:18px 0 10px}.member-record-tabs button{border:0;background:#eee7f5;color:#9e8cab;border-radius:20px;flex:1;font-size:11px;padding:9px 4px}.member-record-tabs .is-active{background:#8e65d0;color:#fff;box-shadow:0 3px 7px #8757bb24}.member-record{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 1px;border-bottom:1px solid #eee6f3}.member-record>div{display:grid;gap:6px;min-width:0}.member-record strong{font-size:12px}.member-record small{font-size:10px;color:#ac9bb8}.member-record>b{font-size:14px;white-space:nowrap}.member-record-credit{color:#8b63bb}.member-record-continue{border:1px solid #e2ccee;border-radius:20px;background:#f4eafa;color:#9162b6;font-size:10px;padding:7px 9px;white-space:nowrap}.member-empty{font-size:12px;text-align:center;color:#ab99b7;padding:25px 0;line-height:1.8}.member-method-label{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;margin:20px 0}.member-method-select{border:1px solid #e7dcef;border-radius:11px;padding:10px 12px;background:#fff;color:#76558f;font:inherit;min-width:130px}.member-primary{width:100%;border:1px solid #b292df;border-radius:14px;padding:14px;background:linear-gradient(135deg,#9262e3,#b373ca);box-shadow:0 4px 0 #70439535;color:#fff;font-size:14px;font-weight:750;cursor:pointer}.member-primary:disabled{opacity:.5;cursor:default}.member-topup-status{font-size:11px;color:#947fa5;line-height:1.7}.member-topup-hint{font-size:10px;color:#ae9cba;line-height:1.8;margin-top:16px}
@media(min-width:700px){.member-page{max-width:620px;margin:auto;padding:25px 30px 35px;min-height:calc(100dvh - 120px)}.member-card{padding:27px}.member-tiers{gap:15px}.member-tier{padding:18px 9px}.member-benefit{padding:18px}.member-card-name{margin-bottom:25px}}@media(prefers-reduced-motion:reduce){.member-tier{transition:none}}.member-page button:focus-visible,.member-dialog button:focus-visible,.member-dialog select:focus-visible{outline:3px solid #d7a9fb;outline-offset:3px}

.member-package-cover {
  display: block;
  width: 100%;
  max-height: 160px;
  margin-bottom: 10px;
  border-radius: 13px;
  object-fit: cover;
}

.member-package-description {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.member-package-card p .deal-price, .member-package-order-total .deal-price { font-size: 15px; white-space: nowrap; }
.member-dialog .member-primary.deal-purchase-action {
  padding: 8px 14px;
  border: 0;
  border-radius: var(--deal-purchase-radius);
  background: var(--deal-purchase-button);
  color: var(--deal-purchase-button-ink);
  font-size: var(--deal-purchase-font);
  box-shadow: none;
}

#customerPurchasePanel :is(.customer-list-number, .customer-purchase-confirm, .customer-purchase-status-summary) .deal-price {
  color: var(--deal-purchase-price);
  font-size: 15px;
  white-space: nowrap;
}
#customerPurchasePanel .deal-purchase-action {
  min-height: 38px;
  padding: 6px 11px;
  font-size: var(--deal-purchase-font);
}
#customerPurchasePanel .customer-list-action.deal-purchase-action {
  min-width: 48px;
  min-height: var(--deal-card-action-height);
  padding: 3px 8px;
}
#customerPurchasePanel .deal-purchase-action:not(:disabled) {
  border-color: transparent;
  border-radius: var(--deal-purchase-radius);
  background: var(--deal-purchase-button);
  color: var(--deal-purchase-button-ink);
  box-shadow: none;
}
#customerPurchasePanel .deal-purchase-action[aria-pressed="true"] {
  background: #fcecf0;
  color: var(--deal-purchase-price);
}

.member-use-code > strong {
  font-variant-numeric: tabular-nums;
  text-align: center;
  overflow-wrap: anywhere;
}

.member-card-beads { margin-inline-start: auto; }
.member-board-use-qr { display: block; width: min(100%, 256px); height: auto; margin: 12px auto 8px; }
.member-board-use-actions { display: flex; gap: 8px; margin-top: 12px; }
.member-board-use-actions > button { flex: 1; min-width: 0; min-height: 44px; margin: 0; }
.member-dialog-body > .customer-coupon-card + .member-wallet-summary { margin-top: 10px; }
.member-rules-perks { margin-top: 16px; padding: 14px; border: 1px solid #e8daf6; border-radius: 14px; background: linear-gradient(125deg,#f1e8ff,#fff1f7); }
.member-rules-perks h3 { margin: 0 0 7px; color: #6b4399; font-size: 15px; line-height: 1.4; }
.member-rules-perks p { margin: 0; color: #665175; font-size: 12px; line-height: 1.65; }
.member-rules-perks p + p { margin-top: 6px; }

.member-card-store{position:relative;min-width:0;overflow-wrap:anywhere}
.member-card-store:has([data-member-store-switch]:not([hidden])){padding-left:11px}
.member-card-store [data-member-store-switch]{position:absolute;inset:-9px 0 -9px -4px;border:0;border-radius:8px;background:transparent;color:inherit;padding:0;box-shadow:none}
.member-card-store [data-member-store-switch]::before{content:"";position:absolute;top:50%;left:4px;transform:translateY(-30%);border-inline:3px solid transparent;border-top:4px solid rgb(255 255 255 / .46)}
.member-card-store [data-member-store-switch]:focus-visible{outline:2px solid #fff;outline-offset:2px}
.member-store-switch-list .member-store-choice{width:100%;background:none;border:0;border-bottom:1px solid #eee6f3;border-radius:0;text-align:left;color:inherit;box-shadow:none}
.member-store-choice-copy{display:grid;min-width:0;gap:4px}
.member-store-choice-state{flex:none;font-size:11px;color:#8e65be}
.member-package-refund[data-package-refund]{display:block;width:auto;margin:6px auto 0;padding:7px 4px;border:0;background:transparent;color:#795892;box-shadow:none}

.member-pocket-total {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f2e6ff, #ffe9f0);
  color: #67488c;
  text-align: center;
}
.member-pocket-total strong { font-size: 28px; font-variant-numeric: tabular-nums; }
.member-pocket-total small { font-size: 12px; }
.member-pocket-counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 0;
}
.member-pocket-counts div {
  padding: 10px;
  border: 1px solid #e8dcef;
  border-radius: 12px;
  background: #fff9;
  text-align: center;
}
.member-pocket-counts dt { color: #6d5a80; font-size: 12px; }
.member-pocket-counts dd { margin: 4px 0 0; font-size: 16px; font-weight: 700; }
.member-pocket-history-title { margin: 16px 0 2px; font-size: 14px; }
.member-record > .member-record-price {
  flex: none;
  justify-items: end;
  gap: 2px;
  white-space: nowrap;
}

body.customer-page {
  --customer-store-title-size: 20px;
  --customer-package-name-size: 15px;
  --customer-package-title-color: #292631;
  --customer-package-title-weight: 650;
  --customer-package-meta-size: 12px;
  --customer-package-meta-color: #65616b;
  --deal-purchase-price: #c91f4b;
  --deal-purchase-button: #cf1f4e;
  --deal-purchase-button-ink: #fff;
  --deal-purchase-font: 12px;
  --deal-purchase-radius: 9px;
  --deal-card-price-size: 17px;
  --deal-card-action-height: 32px;
}

.deal-storefront-dialog,
.deal-detail-dialog,
.deal-checkout-dialog,
.deal-share-dialog,
.deal-scanner-dialog,
.deal-share-entry,
.deal-home-storefront {
  --deal-ink: #262333;
  --deal-muted: #666371;
  --deal-line: #ebe7f0;
  --deal-accent: #6338ad;
  color: var(--deal-ink);
}

.deal-storefront-dialog,
.deal-detail-dialog,
.deal-checkout-dialog,
.deal-share-dialog,
.deal-scanner-dialog {
  background: #f7f5fa;
  width: min(620px, calc(100% - 28px));
}

.deal-storefront-dialog[open],
.deal-detail-dialog[open],
.deal-checkout-dialog[open] {
  display: flex;
  flex-direction: column;
}

.deal-storefront-dialog {
  height: min(92dvh, 1000px);
  max-height: min(92dvh, 1000px);
}

.deal-detail-dialog,
.deal-checkout-dialog {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
  max-height: 88dvh;
  border-radius: 22px 22px 0 0;
}

.deal-detail-dialog.is-expanded {
  height: min(100dvh, 1020px);
  max-height: 100dvh;
}

.deal-checkout-dialog.is-expanded {
  max-height: 100dvh;
}

.deal-storefront-dialog .member-dialog-header,
.deal-detail-dialog .member-dialog-header,
.deal-checkout-dialog .member-dialog-header {
  align-items: center;
  justify-content: flex-start;
  flex: none;
  background: #fff;
  border-bottom: 1px solid var(--deal-line);
  padding: 10px 16px;
  min-height: 54px;
  gap: 9px;
}

.deal-storefront-dialog .member-dialog-header > div,
.deal-detail-dialog .member-dialog-header > div,
.deal-checkout-dialog .member-dialog-header > div {
  flex: 1;
  min-width: 0;
}

.deal-storefront-dialog .member-dialog-header h2,
.deal-detail-dialog .member-dialog-header h2,
.deal-checkout-dialog .member-dialog-header h2 {
  font-size: 16px;
}

.deal-storefront-dialog .member-dialog-close,
.deal-detail-dialog .member-dialog-close,
.deal-checkout-dialog .member-dialog-close {
  order: -1;
  width: 36px;
  height: 36px;
  color: var(--deal-ink);
  background: #f3eff7;
  font-size: 23px;
}

.deal-storefront-dialog .member-dialog-body,
.deal-detail-dialog .member-dialog-body,
.deal-checkout-dialog .member-dialog-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  padding: 12px;
}

.deal-share-trigger {
  margin-left: auto;
}

.deal-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #ede6f5;
}

.deal-photo-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.deal-photo-track img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  display: block;
  object-fit: cover;
  scroll-snap-align: start;
}

img[data-deal-photo-source] { visibility: hidden; }

.deal-detail-dialog .deal-photo-track img {
  aspect-ratio: 5 / 4;
  object-fit: contain;
}

.deal-photo-pages {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 2px;
  inset: auto 9px 9px auto;
  border-radius: 18px;
  padding: 0 4px;
  background: #252036b8;
}

.deal-photo-dot {
  position: relative;
  background: transparent;
  width: 23px;
  height: 26px;
  border: 0;
  padding: 0;
}

.deal-photo-dot::after {
  content: "";
  position: absolute;
  inset: 10px 8px;
  border-radius: 8px;
  background: #ffffff85;
}

.deal-photo-dot[aria-current="true"]::after {
  background: #fff;
}

.deal-store-profile,
.deal-offers,
.deal-detail-section,
.deal-checkout-summary,
.deal-checkout-methods {
  margin-top: 10px;
  padding: 13px;
  background: #fff;
  border: 1px solid var(--deal-line);
  border-radius: 14px;
}

.deal-store-profile:first-child,
.deal-checkout-summary:first-child {
  margin-top: 0;
}

.deal-store-name,
.deal-offers-heading,
.deal-contact-actions,
.deal-offer-foot,
.deal-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.deal-store-name img {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.deal-store-name h3 {
  min-width: 0;
  margin: 0;
  color: var(--customer-package-title-color);
  font-size: var(--customer-store-title-size);
  font-weight: var(--customer-package-title-weight);
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.deal-secondary,
.deal-offer-description {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--deal-muted);
  overflow-wrap: anywhere;
}

.deal-store-rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  margin-top: 5px;
}

.deal-rating {
  margin: 0;
  font-weight: 550;
  white-space: nowrap;
}

.deal-rating-star,
.deal-rating-number {
  color: #a7431b;
}

.deal-rating-number {
  font-size: 15px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.deal-store-rank,
.deal-store-repeat {
  padding: 2px 6px;
  border-radius: 5px;
  background: #fff2d6;
  color: #795317;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.38;
  white-space: nowrap;
}

.deal-rating,
.deal-store-profile > .deal-secondary,
.deal-detail-summary > .deal-secondary,
.deal-offers .deal-offer-info > :is(.deal-secondary, .deal-offer-description),
.member-package-list .member-package-meta,
.member-package-summary > .member-package-meta,
.customer-coupon-card[data-coupon-source-kind="purchase"] .customer-coupon-store,
.customer-coupon-card[data-coupon-source-kind="purchase"] .customer-coupon-meta {
  color: var(--customer-package-meta-color);
  font-size: var(--customer-package-meta-size);
  line-height: 1.4;
}

.deal-store-profile > .deal-secondary {
  margin-top: 4px;
}

.deal-home-storefront .deal-rating {
  color: var(--deal-purchase-price);
}

.deal-home-storefront .deal-rating-star,
.deal-home-storefront .deal-rating-number {
  color: inherit;
}

.deal-home-storefront .deal-rating-number {
  font-size: 13px;
}

.deal-store-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 6px 0;
}

.deal-store-tags span {
  padding: 3px 7px;
  border-radius: 5px;
  background: #eee6fa;
  color: #513687;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.deal-contact-actions {
  flex-wrap: wrap;
  margin-top: 8px;
}

.deal-quiet-action,
.deal-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #e5d9f2;
  background: #f5effb;
  color: #553487;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.deal-primary-action:disabled {
  opacity: .65;
  cursor: wait;
}

.deal-detail-summary .deal-quiet-action {
  margin-top: 8px;
}

.deal-primary-action {
  border-color: transparent;
  color: #fff;
  background: var(--deal-accent);
}

button.deal-purchase-action {
  min-height: 38px;
  border-radius: var(--deal-purchase-radius);
  background: var(--deal-purchase-button);
  color: var(--deal-purchase-button-ink);
  font-size: var(--deal-purchase-font);
  font-weight: 700;
  line-height: 1.15;
}

.deal-offer-foot .deal-purchase-action {
  min-width: 48px;
  min-height: var(--deal-card-action-height);
  padding: 3px 8px;
}

.deal-quiet-action[aria-pressed="true"] {
  border-color: #9b79ca;
  background: #e6d7fb;
}

.deal-store-notice {
  padding: 10px 12px;
  margin: 9px 0 0;
  background: #fff2dd;
  border-radius: 10px;
  color: #75450d;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.deal-offers-heading {
  justify-content: space-between;
}

.deal-offers-heading h3,
.deal-detail-section h3 {
  font-size: 16px;
  margin: 0;
}

.deal-home-storefront .deal-offers-heading {
  --deal-home-offers-heading-size: clamp(13px, 4vw, 16px);
  flex-wrap: wrap;
  gap: 5px 6px;
}

.deal-home-storefront .deal-offers-heading h3,
.deal-home-storefront .deal-offers-heading-actions .deal-quiet-action {
  font-size: var(--deal-home-offers-heading-size);
  line-height: 1.2;
  white-space: nowrap;
}

.deal-offers-heading-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.deal-home-storefront .deal-offers-heading-actions .deal-quiet-action {
  min-height: 32px;
  padding: 3px 4px;
}

.deal-offer {
  display: grid;
  grid-template-columns: clamp(68px, 23vw, 96px) minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px 0;
}

.deal-offer + .deal-offer {
  border-top: 1px solid var(--deal-line);
}

.deal-offer:last-child {
  padding-bottom: 0;
}

.deal-offer-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 9px;
  background: #eee7f7;
  color: #694b96;
  font-size: 12px;
  cursor: pointer;
}

.deal-offer-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deal-offer-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  font-size: 14px;
  line-height: 1.38;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.deal-offers .deal-offer-name,
.deal-detail-summary > h3,
.member-package-list .member-package-card h3,
.member-package-summary > strong,
.customer-coupon-card[data-coupon-source-kind="purchase"] .deal-offer-name {
  color: var(--customer-package-title-color);
  font-size: var(--customer-package-name-size);
  font-weight: var(--customer-package-title-weight);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.member-package-list .member-package-card h3 {
  margin-bottom: 4px;
}

.deal-offer-description {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.deal-offer-foot {
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 5px;
}

.deal-price {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: var(--deal-purchase-price);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.deal-price-currency {
  margin-right: 1px;
  font-size: .58em;
}

.deal-price-fraction {
  font-size: .72em;
}

.deal-offer .deal-price,
.deal-checkout-summary .deal-price {
  font-size: var(--deal-card-price-size);
}

.deal-detail-summary .deal-price {
  font-size: 19px;
  margin-bottom: 5px;
}

.deal-toolbar {
  flex: none;
  justify-content: flex-end;
  padding: 9px 14px max(9px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--deal-line);
  background: #fff;
}

.deal-toolbar > * {
  min-height: 41px;
}

.deal-toolbar .deal-primary-action {
  flex: 1;
}

.deal-toolbar > .deal-purchase-action {
  min-height: 38px;
}

.deal-home-storefront:not(:empty) {
  min-width: 0;
  margin-block: 12px;
}

.deal-home-storefront > .deal-toolbar {
  flex-wrap: wrap;
  margin-top: 10px;
  padding-block: 9px;
  border: 1px solid var(--deal-line);
  border-radius: 14px;
}

.deal-sheet-handle {
  flex: none;
  border: 0;
  background: #fff;
  height: 25px;
  padding: 0;
  touch-action: none;
  cursor: ns-resize;
}

.deal-sheet-handle::after {
  display: block;
  content: "";
  margin: auto;
  width: 42px;
  height: 4px;
  border-radius: 10px;
  background: #b3a8bf;
}

.deal-detail-section > img {
  display: block;
  max-width: 100%;
  margin: 8px auto 0;
  border-radius: 8px;
}

.deal-paragraph,
.deal-rules dd,
.deal-feedback {
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.deal-rules {
  margin: 5px 0 0;
}

.deal-rules > div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
}

.deal-rules dt {
  padding-top: 1px;
  color: var(--deal-muted);
  font-size: 12px;
  font-weight: 700;
}

.deal-rules dd {
  margin: 0;
}

.deal-share-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.deal-share-actions .deal-quiet-action {
  min-height: 44px;
  padding-inline: 4px;
}

.deal-share-status {
  margin-top: 9px;
}

.deal-checkout-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.deal-checkout-cover {
  display: block;
  width: clamp(76px, 25vw, 100px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f6effb;
  cursor: zoom-in;
}

.deal-checkout-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deal-image-dialog img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.deal-checkout-summary h3 {
  font-size: 15px;
  margin: 0;
}

.deal-checkout-summary > div:only-child {
  grid-column: 1 / -1;
}

.deal-checkout-methods {
  margin: 10px 0 0;
  min-width: 0;
}

.deal-checkout-methods legend {
  font-weight: 700;
  font-size: 14px;
  padding: 0 4px;
}

.deal-checkout-method {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  min-height: 39px;
  font-size: 14px;
}

.deal-checkout-method + .deal-checkout-method {
  border-top: 1px solid var(--deal-line);
}

.deal-checkout-method input {
  accent-color: var(--deal-accent);
}

.deal-checkout-hint {
  color: var(--deal-muted);
  font-size: 12px;
  line-height: 1.6;
}

.deal-exit-actions {
  display: flex;
  gap: 8px;
}

.deal-exit-actions > * {
  flex: 1;
}

.deal-scan-gate,
.deal-scan-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.deal-scan-gate {
  padding: 16px 13px;
  border: 1px solid #e9def4;
  border-radius: 14px;
  background: #f5edfc;
}

.deal-scan-gate h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.deal-scan-gate button,
.deal-scan-actions button {
  min-height: 44px;
}

.deal-scan-actions button {
  flex: 1;
}

.deal-scan-frame {
  overflow: hidden;
  border-radius: 14px;
  background: #251b35;
}

.deal-scan-frame video {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.deal-directory-title {
  font-size: 16px;
  margin: 0;
}

.deal-directory-store {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 12px 0;
}

.deal-directory-store + .deal-directory-store {
  border-top: 1px solid var(--deal-line);
}

.deal-directory-photo {
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 10px;
  background: #eee7f7;
  color: #694b96;
  font-size: 12px;
}

.deal-directory-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-directory-copy h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  body.customer-page {
    --customer-store-title-size: 17px;
    --customer-package-name-size: 14px;
  }

  .deal-store-profile {
    padding: 10px 11px;
  }

  .deal-storefront-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .deal-detail-dialog,
  .deal-checkout-dialog {
    width: 100%;
    max-width: 100%;
    border-bottom: 0;
  }
}

.customer-page [hidden] { display: none !important; }
.customer-page .customer-shell { padding-top: max(6px,env(safe-area-inset-top)); }
@media (max-width: 699px) {
  body.customer-workspace-page:has(#customerHubMembership:not([hidden])) { background: #f8f7ff; }
  body.customer-workspace-page:has(#customerHubMembership:not([hidden])) .customer-shell { width: 100%; margin: 0; padding-top: 0; border: 0; border-radius: 0; background: #f8f7ff; }
  body.customer-workspace-page:has(#customerHubMembership:not([hidden])) .customer-flow { margin: 0; padding: 0; background: transparent; }
}
.customer-page .customer-hero { min-height: 0; margin: 0 0 8px; padding: 8px 12px; }
.customer-page .customer-brand-line { min-height: 34px; gap: 8px; }
.customer-page .customer-brand-mark,.customer-page .customer-brand-logo { width: 32px; height: 32px; }
.customer-page .customer-brand-line strong { font-size: 16px; }
.customer-page .customer-back-button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; margin: 0 0 10px; padding: 7px 13px; color: #5b35a0; border: 1px solid #dac8fb; border-radius: 13px; background: linear-gradient(#fff,#f1eaff); box-shadow: 0 3px 0 #d8c6f1; font-size: 13px; font-weight: 800; }
.customer-page .customer-back-button span { font-size: 25px; line-height: 20px; }
.customer-page .customer-panel-heading { margin: 6px 0 12px; padding: 0; }
.customer-page .customer-panel-heading h1 { margin: 4px 0; font-size: 25px; }
.customer-page .customer-panel-heading p { margin: 5px 0; font-size: 12px; }
.customer-page .customer-hub-nav { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 1px; padding: 6px 5px calc(6px + env(safe-area-inset-bottom)); }
.customer-page .customer-hub-nav button { min-width: 0; padding: 5px 1px; gap: 3px; }
.customer-page .customer-hub-nav strong { font-size: 10px; line-height: 1.2; white-space: nowrap; }
.customer-page .customer-hub-nav button>span { width: 30px; height: 25px; font-size: 22px; }
.customer-page .customer-hub-nav button[aria-current="page"] { border-radius: 13px; background: linear-gradient(145deg,#f6d8ff,#e8e4ff); box-shadow: inset 0 1px #fff; color: #8d41bb; }
.customer-page .customer-discussion-invite { display: none !important; }
.customer-page .customer-hub-profile { padding: 19px 17px; border-radius: 23px; background: radial-gradient(circle at 100% 0,#ffe4a9,transparent 45%),linear-gradient(125deg,#ffedf6,#e7e4ff); box-shadow: inset 0 2px #fff,0 5px 0 #d4c7ec,0 10px 24px #8d5ca71b; border-color: #e2d2ec; }
.account-avatar-button { flex: none; display: grid; place-items: center; width: 62px; height: 62px; padding: 0; border: 3px solid #fff; border-radius: 21px; background: linear-gradient(130deg,#b2a2ff,#fc9dc0); box-shadow: 0 4px 0 #c7b2df; overflow: hidden; cursor: pointer; }
.customer-page .customer-hub-profile-head .account-avatar-button img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.customer-page .customer-hub-profile-head .account-avatar-button span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 0; font-size: 27px; color: #fff; background: transparent; }
.account-greeting { display: block; margin-top: 6px; color: #866f97; font-size: 11px; }
.account-info-shortcut { margin-left: auto; padding: 9px; border: 0; background: transparent; color: #885baa; font-size: 30px; }
.account-menu { display: grid; gap: 6px; padding: 6px 0 14px; }
.account-menu-row { display: flex; align-items: center; gap: 10px; padding: 6px 10px; width: 100%; min-height: 44px; border: 1px solid #e7e0f0; border-radius: 13px; color: #443958; background: linear-gradient(130deg,#fff,#fcfaff); box-shadow: 0 2px 0 #e9e1ee,0 4px 9px #6d518708; text-align: left; cursor: pointer; }
.account-menu-row:active { transform: translateY(2px); box-shadow: 0 1px 0 #e9e1ee; }
.account-menu-row>span:nth-child(2) { flex: 1; min-width: 0; }
.account-menu-row strong { display: block; font-size: 13px; line-height: 1.2; }
.account-menu-row small { display: block; margin-top: 2px; color: #9a8aa7; font-size: 10px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-menu-row>b { color: #b1a1c3; font-size: 18px; }
.account-menu-icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg,#e6deff,#fce1f0); box-shadow: inset 0 1px #fff,0 2px 0 #d3c6ea; color: #9b60c1; font-size: 18px; }
.account-menu-row:nth-child(3n+1) .account-menu-icon { color: #e48655; background: linear-gradient(#ffe9bc,#ffdbb7); box-shadow: 0 2px 0 #eac3a2; }
.account-menu-row:nth-child(3n+2) .account-menu-icon { color: #4f9a91; background: linear-gradient(#d8faef,#c5e9ea); box-shadow: 0 2px 0 #add9d4; }
.account-gallery-row { border-color: #e2cfed; background: linear-gradient(120deg,#f9f2ff,#fff7e7); }
.account-sheet .customer-hub-franchise-template { isolation: isolate; display: flex; align-items: center; min-height: 280px; height: auto; margin: 0; padding: 24px 20px; }
.account-sheet #customerHubFranchiseCopy { position: relative; z-index: 2; min-width: 0; max-width: 100%; margin: 0; color: #59466c; font-size: clamp(15px,4vw,17px); line-height: 1.9; font-weight: 600; letter-spacing: .025em; overflow-wrap: anywhere; }
.account-sheet #customerHubFranchiseTemplate>#customerHubFranchisePoster { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-height: none; border-radius: inherit; object-fit: cover; opacity: .14; filter: saturate(.65); pointer-events: none; }
.account-sheet .customer-hub-franchise-template::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg,#ffffff66,#f7efff80); pointer-events: none; }
.account-sheet .customer-hub-franchise-beads { z-index: 0; top: 18px; right: -12px; opacity: .35; }
.account-sheet { position: fixed; inset: auto 0 0; margin: 0 auto; padding: 0 18px calc(22px + env(safe-area-inset-bottom)); width: min(100%,580px); max-width: 100%; max-height: min(calc(100dvh - max(12px,env(safe-area-inset-top))),850px); border: 1px solid #e4d6ed; border-radius: 27px 27px 0 0; color: #443858; background: #fffdfd; box-shadow: 0 -6px 40px #38234726; box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain; overflow-wrap: anywhere; scroll-padding: 88px 0 calc(24px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.account-sheet::backdrop,.account-gallery-viewer::backdrop { background: #251a36a6; backdrop-filter: blur(3px); }
.account-sheet-head,.account-gallery-viewer header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
.account-sheet-head { position: sticky; top: 0; z-index: 3; margin: 0 -18px 14px; padding: 16px 18px 12px; border-bottom: 1px solid #eee5f2; background: #fffdfd; }
.account-sheet-head>h2,.account-gallery-viewer header>h2 { min-width: 0; overflow-wrap: anywhere; }
.account-sheet-head h2 { margin: 0; font-size: 21px; }
.account-sheet-head button,.account-gallery-viewer header button { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2ecf7; color: #79668c; font-size: 25px; }
.account-avatar-preview { display: grid; place-items: center; width: min(100%,270px,56dvh); aspect-ratio: 1; margin: 0 auto; border-radius: 19px; overflow: hidden; background: #f5edf8; }
.account-avatar-preview > * { grid-area: 1 / 1; }
.account-avatar-preview > img,.account-avatar-preview > span { width: 100%; height: 100%; }
.account-avatar-preview > img { display: block; object-fit: contain; }
.account-avatar-preview > span { display: grid; place-items: center; background: linear-gradient(130deg,#b2a2ff,#fc9dc0); color: white; font-size: 76px; }
.account-avatar-edit { z-index: 1; display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: #fffc; box-shadow: 0 2px 10px #39234e3d; color: #573b73; font: 700 23px/1 system-ui,sans-serif; cursor: pointer; }
.account-avatar-edit:focus-visible { outline: 2px solid #573b73; outline-offset: 2px; }
.account-avatar-edit:disabled { opacity: .65; cursor: wait; }
.account-avatar-status { margin: 9px 0 0; text-align: center; }
.account-avatar-status:empty { display: none; }
.account-avatar-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.account-avatar-actions button { flex: 1 1 110px; max-width: 44%; min-height: 44px; margin: 0; }
.account-avatar-camera { display: block; width: min(100%,350px); max-height: 55dvh; margin: 0 auto 12px; border-radius: 14px; object-fit: contain; background: #2a2032; }
#customerAvatarCameraStatus:not(:empty) { margin-bottom: 10px; }
.account-sheet .customer-hub-form { padding: 0; margin-top: 10px; }
.account-sheet p { line-height: 1.7; font-size: 13px; }
.account-sheet input,.account-sheet select { min-height: 42px; box-sizing: border-box; }
.account-sheet :is(input,select,textarea,button,a) { scroll-margin-top: 88px; scroll-margin-bottom: calc(24px + env(safe-area-inset-bottom)); }
.account-sheet [data-account-panel] { min-width: 0; }
.customer-service-overlay { position: fixed; inset: 0; z-index: 90; display: grid; align-items: end; justify-items: center; padding-top: max(12px,env(safe-area-inset-top)); box-sizing: border-box; background: #251a36a6; backdrop-filter: blur(3px); }
.customer-service-overlay>.customer-service-sheet { position: relative; inset: auto; display: flex; flex-direction: column; height: auto; margin: 0; padding: 0; overflow: hidden; }
.customer-service-sheet>.account-sheet-head { position: static; flex: none; margin: 0 0 14px; }
.customer-service-sheet-body { flex: 0 1 auto; min-height: 0; min-width: 0; overflow-y: auto; padding: 0 18px calc(22px + env(safe-area-inset-bottom)); overscroll-behavior: contain; overflow-wrap: anywhere; scroll-padding: 12px 0 calc(24px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.customer-service-sheet-body :is(input,select,textarea,button,a) { scroll-margin-top: 12px; }
.customer-service-sheet-body>[data-floating-service],.customer-service-sheet-body :is(#customerHubReservations,#customerVoucherPanel,#customerHubBoardRentals,#customerHubReviews,#customerHelpPanel) { min-height: 0; margin: 0; padding: 0; }
.customer-service-sheet-body>section>.customer-back-button { display: none; }
.customer-service-sheet .reservation-heading>.customer-eyebrow,.customer-service-sheet .reservation-heading>h1 { display: none; }
.customer-service-sheet .reservation-heading>p { margin: 0 0 8px; font-size: 11px; line-height: 1.5; }
.customer-service-sheet :is(.reservation-form,.reservation-list-card) { margin-top: 8px; padding: 10px; border-radius: 13px; }
.customer-service-sheet #customerReservationForm .reservation-field-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.customer-service-sheet #customerReservationForm .reservation-field-row:first-child { grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); }
.customer-service-sheet #customerReservationForm label { min-width: 0; gap: 4px; margin-bottom: 8px; font-size: 11px; line-height: 1.3; }
.customer-service-sheet #customerReservationForm :is(input,select,textarea) { width: 100%; min-width: 0; max-width: 100%; min-height: 36px; height: 36px; padding: 6px; border-radius: 8px; font-size: 16px; line-height: 1.3; }
.customer-service-sheet #customerReservationStart::-webkit-datetime-edit { min-width: 0; padding: 0; }
.customer-service-sheet #customerReservationStart::-webkit-calendar-picker-indicator { flex: none; width: 16px; margin: 0; padding: 0; }
.customer-service-sheet #customerReservationForm textarea { max-height: 36px; resize: none; overflow-y: auto; }
.customer-service-sheet #customerReservationForm textarea:focus { height: 70px; max-height: 70px; }
.customer-service-sheet #customerReservationForm .reservation-note { margin: 5px 0 8px; font-size: 10px; line-height: 1.5; }
.customer-service-sheet #customerReservationSeats { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; margin: 8px 0 10px; }
.customer-service-sheet #customerReservationSeats .reservation-seat { min-width: 0; min-height: 44px; align-content: center; gap: 1px; padding: 3px 2px; border-radius: 8px; box-shadow: 0 2px 0 #aed7c8; }
.customer-service-sheet #customerReservationSeats .reservation-seat strong { min-width: 0; font-size: 12px; line-height: 14px; }
.customer-service-sheet #customerReservationSeats .reservation-seat small,.customer-service-sheet #customerReservationSeats .reservation-seat-now { min-width: 0; font-size: 9px; line-height: 10px; }
.customer-service-sheet #customerReservationSeats .reservation-seat.is-selected { outline-width: 2px; }
.customer-service-sheet .reservation-list-head h2 { font-size: 16px; }
body:has(.customer-service-overlay:not([hidden])) { overflow: hidden; overscroll-behavior: none; }
body:has(.customer-service-overlay:not([hidden])) #deploymentStatusBanner { z-index: 80 !important; }
@media (min-width:700px) { .customer-service-overlay { align-items: center; padding-bottom: max(12px,env(safe-area-inset-bottom)); } .customer-service-overlay>.customer-service-sheet { max-height: min(calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom))),850px); } }
.account-warm-copy { display: block; color: #95879f; line-height: 1.7; font-size: 12px; }
.account-logout { margin-top: 25px; width: 100%; text-align: center; }
.account-gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 15px 0; }
.account-gallery-grid button { padding: 0; border: 1px solid #e8def2; border-radius: 14px; background: #fbf8ff; overflow: hidden; min-width: 0; }
.account-gallery-add { display: flex; aspect-ratio: 1; flex-direction: column; align-items: center; justify-content: center; color: #b892cd; border-style: dashed !important; }
.account-gallery-add b { font-size: 38px; line-height: 1.2; font-weight: 400; }
.account-gallery-add span { font-size: 11px; margin-top: 6px; }
.account-gallery-image img { display: block; aspect-ratio: 1; width: 100%; object-fit: cover; }
.account-gallery-image span { display: block; padding: 7px; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; color: #8a7998; }
.account-gallery-viewer { width: min(96vw,950px); max-height: calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom))); padding: 16px; box-sizing: border-box; border: 0; border-radius: 22px; background: #fcfaff; color: #594565; overflow: hidden; overscroll-behavior: contain; }
.account-gallery-viewer[open] { display: flex; flex-direction: column; }
.account-gallery-viewer>header,.account-gallery-viewer>p { flex: none; }
.account-gallery-viewer h2 { font-size: 17px; margin: 0; }
.account-gallery-viewer p { font-size: 12px; color: #9c8ca9; }
.account-gallery-viewer>div { flex: 0 1 auto; min-height: 0; min-width: 0; overflow: auto; max-height: none; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.account-gallery-viewer img { width: 100%; display: block; touch-action: pinch-zoom; }
body:has(.account-sheet[open]),body:has(.account-gallery-viewer[open]) { overflow: hidden; }
.account-rental-method { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0; color: #816a95; font-size: 12px; }
.account-rental-method select { min-height: 39px; max-width: 72%; padding: 6px; border: 1px solid #dbcbec; border-radius: 10px; background: #fff; }
.account-rental-order { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 13px 0; border-bottom: 1px solid #f0e9f4; }
.account-rental-order strong { font-size: 14px; color: #5c4c71; }
.account-rental-order>span { font-size: 11px; color: #9b74ae; }
.account-rental-order p,.account-rental-order small { grid-column: 1/-1; margin: 0; color: #9987aa; font-size: 11px; word-break: break-all; }
.account-rental-order button { grid-column: 1/-1; }
#customerMemberScanVideo { width: 100%; max-height: 260px; border-radius: 17px; object-fit: cover; background: #241c31; }
#customerMemberCameraStart,#customerMemberDouyinOpen { display: block; margin: 12px 0; box-sizing: border-box; width: 100%; text-align: center; text-decoration: none; }
#customerMemberDouyinOpen { padding: 13px; border-radius: 13px; }
@media (min-width:700px) { .account-sheet { inset: 0; margin: auto; width: 520px; height: max-content; border-radius: 25px; } }

/* Keep the three check-in summaries compact without hiding their records. */
#customerHubCheckin{gap:10px}
#customerHubCheckin .customer-hub-checkin-balance{padding:9px 12px;min-height:0;gap:5px 9px;border-radius:16px}
#customerHubCheckin .customer-hub-checkin-balance strong{font-size:27px;line-height:1}
#customerHubCheckin .customer-hub-checkin-balance :is(small,span){font-size:11px}
#customerHubCheckin .customer-hub-checkin-balance .customer-hub-primary{min-height:34px;min-width:80px;margin:0;padding:6px 11px;font-size:13px;border-radius:11px;box-shadow:0 3px 0 #b66b9a55}
#customerHubCheckin .customer-hub-checkin-balance p{margin:0;font-size:10px;line-height:1.4}
#customerHubCheckin .customer-hub-stats{gap:6px}
#customerHubCheckin .customer-hub-stats>div{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:1px 3px;padding:7px 4px;min-height:0;border-radius:12px;box-shadow:0 3px 0 #e7dff1}
#customerHubCheckin .customer-hub-stats small{flex-basis:100%;font-size:10px;line-height:1.3}
#customerHubCheckin .customer-hub-stats strong{font-size:20px;line-height:1.1}
#customerHubCheckin .customer-hub-stats span{font-size:10px}
#customerHubCheckin .customer-checkin-use{padding:10px 12px;min-height:0;border-radius:15px;gap:6px}
#customerHubCheckin .customer-checkin-use .customer-hub-card-heading{margin:0;gap:8px}
#customerHubCheckin .customer-checkin-use h2{margin:0;font-size:14px}
#customerHubCheckin .customer-checkin-use .customer-hub-card-heading small{font-size:10px}
#customerHubCheckin .customer-checkin-use>p{margin:4px 0;font-size:11px;line-height:1.5;min-height:0}
#customerHubCheckin .customer-checkin-use .customer-hub-actions{gap:7px;margin:0}
#customerHubCheckin .customer-checkin-use .customer-hub-actions button{min-height:32px;padding:6px 8px;font-size:12px;border-radius:10px}
#customerHubCheckin .customer-checkin-use :is(#customerHubRequestStatus,#customerHubRequests):empty{display:none}

.account-profile-meta { display: grid; gap: 0; padding: 2px 0 9px; border-bottom: 1px solid #eee5f2; }
.account-profile-meta p { display: flex; align-items: center; gap: 11px; margin: 4px 0; color: #8c7697; font-size: 12px; }
.account-profile-meta p > span:first-child { min-width: 52px; }
.account-profile-meta strong { color: #654c76; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.account-profile-meta button { margin-left: auto; padding: 4px 0 4px 6px; border: 0; color: #9b7bb0; background: transparent; font-size: 11px; }
.account-profile-form h3 { margin: 7px 0 0; color: #705782; font-size: 14px; }
.account-profile-pair { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
.account-profile-pair label { min-width: 0; }
.account-profile-form :is(input,textarea) { box-sizing: border-box; max-width: 100%; min-width: 0; }
.account-profile-form textarea { min-height: 68px; resize: vertical; }

#customerAccountPasswordDialog #customerHubPasswordForm { padding-top: 15px; }
#customerAccountPasswordDialog #customerHubPasswordForm > h3 { display: none; }

.account-app-download { display: grid; gap: 13px; padding: 10px 0 8px; }
.account-app-download[hidden],.account-app-download [hidden] { display: none; }
.account-app-heading { display: flex; align-items: center; gap: 12px; }
.account-app-heading img { border-radius: 14px; object-fit: cover; flex: none; }
.account-app-heading h3 { margin: 0 0 3px; font-size: 17px; color: #59466e; }
.account-app-heading p,.account-app-hint { margin: 0; color: #725e84; font-size: 13px; line-height: 1.6; }
.account-app-actions { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.account-app-actions > :is(a,button) { display: grid; place-items: center; min-height: 42px; margin: 0; padding: 7px 9px; box-sizing: border-box; text-align: center; text-decoration: none; }
.account-app-download input { width: 100%; box-sizing: border-box; min-height: 36px; padding: 5px 8px; border: 1px solid #e2d7ee; border-radius: 8px; color: #5d4c70; background: #fff; }
.account-app-download .customer-hub-feedback { margin: 0; }

html.customer-commerce-lock,body.customer-commerce-lock{overflow:hidden!important;overscroll-behavior:none}
#customerHubBuyPoster,#customerHubSellPoster{display:none!important}
#customerHubMarket>.customer-hub-segment{margin-top:4px;position:sticky;top:0;z-index:3;box-shadow:0 3px 0 #e8dfee;background:#fff7fb}
#customerHubMarket .customer-hub-market-heading{align-items:center;gap:6px;padding:0 0 5px;min-height:0}
#customerHubMarket .customer-hub-market-heading>div{flex:1;min-width:0}
#customerHubMarket .customer-hub-market-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;min-width:0}
#customerHubMarket .customer-hub-market-title-row h2{flex:none}
#customerHubMarket .customer-hub-market-title-row .customer-hub-active-category{margin:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#customerHubMarket #customerHubProductsRefresh{flex:none;width:32px;min-width:32px;max-width:32px;min-height:28px;padding:3px 0;font-size:10px;line-height:1.4;white-space:nowrap}
#customerHubSourceEyebrow[hidden],#customerHubProductStatus[hidden]{display:none!important}
#customerHubMarket .customer-hub-market-heading h2{font-size:16px;margin:0}
#customerHubMarket .customer-hub-market-heading small,#customerHubMarket .customer-hub-active-category{font-size:10px}
.customer-account-offer-tabs{display:flex;gap:5px;margin:0 0 10px;padding:3px;border-radius:12px;background:#f3edf8}
.customer-account-offer-tabs button{flex:1;min-width:0;min-height:34px;margin:0;padding:6px 8px;border:0;border-radius:9px;background:transparent;color:#8a7299;font-family:inherit;font-size:12px;font-weight:650;line-height:1.4;box-shadow:none}
.customer-account-offer-tabs button[aria-selected="true"],.customer-account-offer-tabs button[aria-pressed="true"]{background:#fff;color:#754b94;box-shadow:0 2px 5px #74518c13}
.customer-account-offer-tabs button:focus-visible{outline:2px solid #b68bcf;outline-offset:1px}
#customerHubMarket .customer-hub-product-status{font-size:11px}
.customer-commerce-sales{display:block;color:#8d7c8d;font-size:11px;line-height:1.6;font-weight:500}
.customer-hub-market-main .customer-hub-product{align-self:start}
.customer-hub-market-main .customer-hub-product-body{flex:none;align-content:start;gap:2px;padding:5px}
.customer-hub-market-main .customer-hub-product-body h3{min-height:0;line-height:1.3}
.customer-hub-market-main .customer-hub-product-body .customer-hub-price{line-height:1.25}
.customer-hub-market-main .customer-hub-product-body>.customer-commerce-sales{font-size:9px;line-height:1.35;white-space:nowrap}
.customer-commerce-checkout-overlay{position:fixed;inset:0;z-index:99;display:grid;align-items:end;justify-items:center;isolation:isolate}
.customer-commerce-checkout-overlay[hidden]{display:none!important}
.customer-commerce-backdrop{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#1b173b8c;backdrop-filter:blur(3px);box-shadow:none!important}
#customerHubCheckoutForm,.customer-commerce-cart-panel{position:relative;z-index:1;width:min(100%,490px);box-sizing:border-box;max-height:88svh;overflow:auto;overscroll-behavior:contain;margin:0;padding:16px 18px calc(18px + env(safe-area-inset-bottom));border:1px solid #fff;border-radius:24px 24px 0 0;background:linear-gradient(155deg,#fff,#fff9fc 75%);box-shadow:0 -7px 30px #21164428}
#customerHubCheckoutForm .customer-hub-card-heading{margin-bottom:10px}
#customerHubCheckoutForm .customer-hub-card-heading h2{margin:0;font-size:19px}
#customerHubCheckoutForm .customer-hub-card-heading button,.customer-commerce-cart-panel header button{min-width:34px;min-height:34px;border:0;border-radius:50%;background:#f6edf6;color:#6a5277;font-size:24px}
#customerHubCheckoutForm>label{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:8px;margin:8px 0;font-size:12px}
#customerHubCheckoutForm input,#customerHubCheckoutForm select,#customerHubCheckoutForm textarea{min-width:0;min-height:38px;padding:8px 10px;border:1px solid #e7deef;border-radius:11px;font:inherit;font-size:16px;line-height:1.2;background:#fff;box-sizing:border-box}
#customerHubCheckoutForm input[type=radio]{min-height:0;padding:0}
#customerHubCheckoutForm textarea{resize:vertical;max-height:120px}
#customerHubCheckoutForm .customer-hub-fulfillment{margin:10px 0;padding:8px 10px;border:1px solid #eadfee;border-radius:13px}
#customerHubCheckoutForm .customer-hub-fulfillment legend{font-size:11px;color:#87718f}
#customerHubCheckoutForm .customer-hub-warning{font-size:11px;line-height:1.5;margin:8px 0}
#customerHubCheckoutProduct{padding:9px;border-radius:15px;background:#fff0f6}
#customerHubCheckoutProduct img,#customerHubCheckoutProduct>span{width:62px;height:62px;object-fit:cover;border-radius:10px;flex:none}
.customer-commerce-selections{display:grid;gap:5px;margin:10px 0}
.customer-commerce-selection-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;font-size:12px}
.customer-commerce-selection-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-commerce-selection-row label{display:flex;align-items:center;gap:4px;color:#8b7895;font-size:11px}
.customer-commerce-selection-row input{width:55px!important;min-height:32px!important;padding:5px!important}
.customer-commerce-selection-row select{max-width:110px;min-height:32px!important;padding:5px!important}
#customerHubProductOverlay .customer-hub-detail-dialog{padding:16px 16px calc(16px + env(safe-area-inset-bottom));max-height:93svh;overscroll-behavior:contain;scrollbar-width:thin}
#customerHubProductOverlay .customer-hub-auth-close{z-index:4;top:15px;right:15px;background:#ffffffed;border:1px solid #f0dfea;box-shadow:0 3px 10px #37163c28}
.customer-commerce-media-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:18px;background:#fff4f8;gap:8px;scrollbar-width:thin;overscroll-behavior-x:contain}
#customerHubProductDetail .customer-commerce-media-rail>img,#customerHubProductDetail .customer-commerce-media-rail>video{display:block;flex:0 0 100%;width:100%;max-height:none;aspect-ratio:1;object-fit:contain;scroll-snap-align:start;margin:0;border-radius:15px;background:#f8f3f8}
.customer-commerce-detail-info{padding:4px 3px 12px}
#customerHubProductDetail .customer-hub-detail-photo-credit{margin:6px 0 0;color:#998a9d;font-size:10px;line-height:1.4}
#customerHubProductDetail .customer-commerce-detail-info>strong{margin:4px 0 3px;color:#e65275;font-size:26px}
#customerHubProductDetail h2{font-size:20px;line-height:1.4;margin:0 0 6px}
.customer-commerce-specification{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:6px 0 14px;padding:10px 12px;border-radius:12px;background:#f7f1fc;font-size:13px;color:#735783}
.customer-commerce-specification select{max-width:65%;padding:8px;border:1px solid #e8d8ef;border-radius:10px;background:#fff;font:inherit}
#customerHubProductDetail>.customer-hub-detail-actions{position:sticky;bottom:-1px;display:grid;grid-template-columns:1fr 1.15fr;gap:8px;padding:12px 0 6px;background:#fffdfef2;backdrop-filter:blur(8px);z-index:2}
#customerHubProductDetail>.customer-hub-detail-actions .customer-hub-bargain-button{grid-column:1/-1;padding:4px;border:0;background:transparent;font-size:12px;color:#9d7c96}
.customer-commerce-detail-images img{max-height:none!important;height:auto!important;width:100%;margin:0!important;border-radius:0!important;background:#fff!important}
.customer-commerce-detail-images h3{padding:13px;margin:8px 0;text-align:center;font-size:15px;color:#9e6b85;background:#fff2f8;border-radius:12px}
.customer-commerce-upload-tile{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:62px;padding:12px!important;border:1px dashed #d5addc!important;border-radius:15px;background:linear-gradient(145deg,#fff7fc,#f2edff);box-shadow:0 3px 0 #e9dcea;color:#9b5da5!important;text-align:center;cursor:pointer;overflow:hidden;font-size:12px}
.customer-commerce-upload-tile input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;min-width:0}
.customer-commerce-upload-tile:focus-within{outline:3px solid #c495e1;outline-offset:2px}
.customer-commerce-cart-panel header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.customer-commerce-cart-panel h2{font-size:19px;margin:0}
.customer-commerce-cart-row{display:flex;align-items:center;gap:8px;padding:4px 0;border-bottom:1px solid #f0e5ee}
.customer-commerce-cart-row>img{width:40px;height:40px;object-fit:cover;border-radius:7px;flex:none}
.customer-commerce-cart-row>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:6px;row-gap:1px;min-width:0;flex:1}
.customer-commerce-cart-row strong{grid-column:1;font-size:13px;line-height:1.3;display:block;overflow-wrap:anywhere}
.customer-commerce-cart-row small{grid-column:1;color:#9d6f8d;font-size:11px;line-height:1.35;display:block;margin:0;overflow-wrap:anywhere}
.customer-commerce-quantity{grid-column:2;grid-row:1/3;display:flex;align-items:center;gap:4px;margin:0}
.customer-commerce-quantity button{min-width:28px;min-height:28px;padding:3px;border:1px solid #ead6e8;border-radius:7px;color:#996582;background:#fff7fc;font-size:12px;line-height:1.2}
.customer-commerce-quantity button:last-child{font-size:11px}
.customer-commerce-quantity span{min-width:14px;text-align:center;font-size:12px}
.customer-commerce-order-tabs{display:flex;gap:4px;margin:0 0 12px;padding:5px;border-radius:15px;background:#f8eef9;overflow-x:auto}
.customer-commerce-order-tabs button{flex:1;padding:8px 5px;min-width:46px;min-height:34px;border:0;border-radius:11px;background:transparent;color:#95798f;font:inherit;font-size:11px;white-space:nowrap}
.customer-commerce-order-tabs button[aria-pressed=true]{background:#fff;color:#b14d86;box-shadow:0 3px 7px #b2779b1d}
.customer-commerce-order-item{color:#746178!important;font-size:12px!important;padding:8px 10px;background:#fbf4fa;border-radius:10px}
.customer-commerce-action-dialog{width:min(88vw,390px);max-height:80svh;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:23px;border:1px solid #fff;border-radius:24px;background:#fffbff;box-shadow:0 15px 70px #321c4b3d}
.customer-commerce-action-dialog::backdrop{background:#251a3b80;backdrop-filter:blur(3px)}
.customer-commerce-action-dialog h3{font-size:18px;margin:0 0 10px;color:#6a466d}
.customer-commerce-action-dialog p{font-size:13px;line-height:1.7;color:#8b748c}
.customer-commerce-action-dialog textarea{width:100%;box-sizing:border-box;resize:vertical;padding:12px;border:1px solid #e9daed;border-radius:12px;font:inherit;font-size:13px;background:#fff}
.customer-commerce-action-dialog .customer-hub-detail-actions{display:flex;gap:8px}
@media(min-width:600px){.customer-commerce-checkout-overlay{align-items:center}#customerHubCheckoutForm,.customer-commerce-cart-panel{border-radius:24px}#customerHubProductOverlay{align-items:center}#customerHubProductOverlay .customer-hub-detail-dialog{border-radius:24px}}
@media(max-width:360px){#customerHubCheckoutForm{padding:13px 12px}.customer-commerce-selection-row{grid-template-columns:minmax(0,1fr) auto}.customer-commerce-selection-row>strong{grid-column:1/-1}.customer-commerce-order-tabs button{padding:7px 3px;font-size:10px}}

/* Keep product actions visible without making display-only stock purchasable. */
.customer-hub-market-main .customer-hub-product{container-type:inline-size}
.customer-hub-market-main .customer-hub-product-body{display:grid;grid-template-columns:minmax(0,1fr) 20px;gap:3px 4px;padding:6px}
.customer-hub-market-main .customer-hub-product-body h3{grid-column:1/-1;min-height:0;font-size:11px;line-height:1.3}
.customer-hub-market-main .customer-hub-product-body .customer-hub-price{grid-column:1;grid-row:2;align-self:end;margin:0;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;font-size:12px}
.customer-hub-market-main .customer-hub-product-body>.customer-commerce-sales{grid-column:1;grid-row:3;align-self:center;white-space:nowrap;overflow-wrap:normal}
.customer-hub-market-main .customer-hub-product-actions{grid-column:2;grid-row:2/4;display:grid;grid-template-columns:20px;gap:0;align-self:center;justify-self:end}
.customer-hub-market-main .customer-hub-product-actions button{box-sizing:border-box;display:grid;place-items:center;width:20px;height:20px;min-width:20px;max-width:20px;min-height:20px;max-height:20px;padding:0;margin:0;font-size:16px;line-height:1}
.customer-hub-market-main .customer-hub-product-actions .customer-commerce-card-cart{font-size:16px;line-height:1;font-weight:500;border-radius:6px}
@container(max-width:110px){.customer-hub-market-main .customer-hub-product-body .customer-hub-price{grid-column:1/-1}.customer-hub-market-main .customer-hub-product-body>.customer-commerce-sales{grid-column:1/-1;grid-row:4}.customer-hub-market-main .customer-hub-product-actions{grid-row:3}}
.customer-hub-market-main .customer-commerce-unavailable{grid-column:1/-1;color:#8b798a;font-size:9px;line-height:1.4;overflow-wrap:anywhere}
.customer-hub-market-main .customer-hub-product-actions button:disabled,#customerHubProductDetail>.customer-commerce-product-footer button:disabled{opacity:1;color:#958b99;border-color:#e3dbe5;background:#f1edf2;box-shadow:none;cursor:not-allowed}
#customerHubProductOverlay .customer-commerce-product-dialog{display:flex;flex-direction:column;width:min(100%,480px);height:min(93svh,860px);max-height:93svh;overflow:hidden;padding:0}
.customer-commerce-product-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:7px 12px 7px 16px;border-bottom:1px solid #f0e5ee;background:#fffafdf7;z-index:4}
#customerHubProductOverlay .customer-commerce-product-header>strong{margin:0;color:#74536f;font-size:15px;line-height:1.4}
#customerHubProductOverlay #customerHubProductClose{position:static;flex:none;width:44px;height:44px;min-height:44px;margin:0;border-radius:14px;display:grid;place-items:center;font-size:27px;line-height:1}
#customerHubProductDetail{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.customer-commerce-product-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:12px 16px 16px;scroll-padding:12px}
.customer-commerce-product-scroll:focus-visible{outline:2px solid #e7cdec;outline-offset:-2px}
#customerHubProductDetail>.customer-commerce-product-footer{position:relative;bottom:auto;flex:none;display:grid;grid-template-columns:64px minmax(0,1fr) minmax(0,1.15fr);gap:8px;margin:0;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #f0e4ed;background:#fffdfef7;z-index:3}
#customerHubProductDetail>.customer-commerce-product-footer>button{min-width:0;min-height:44px;margin:0;padding:8px 5px;border-radius:12px;font-size:13px;line-height:1.3;white-space:nowrap}
#customerHubProductDetail>.customer-commerce-product-footer>.customer-hub-bargain-button{grid-column:auto;padding:8px 5px;border:1px solid #d9c5eb;background:#f5edff;color:#8c5b9e;font-size:13px}
#customerHubProductDetail>.customer-commerce-product-footer>.customer-hub-secondary{font-size:11px}
#customerHubProductDetail>.customer-commerce-product-footer>.customer-commerce-unavailable{grid-column:1/-1;margin:0;color:#95778b;font-size:11px;line-height:1.45}
body:has(#customerHubProductOverlay:not([hidden])) #deploymentStatusBanner{z-index:80!important}
@media(max-width:600px){.customer-hub-market-main .customer-hub-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}}
@media(max-width:360px){.customer-hub-market-main .customer-hub-product-body{padding:5px;gap:3px}.customer-hub-market-main .customer-hub-product-body h3{font-size:10px}.customer-hub-market-main .customer-hub-product-body .customer-hub-price{font-size:11px}#customerHubProductDetail>.customer-commerce-product-footer{grid-template-columns:60px minmax(0,1fr) minmax(0,1.15fr);gap:6px;padding-left:12px;padding-right:12px}.customer-commerce-product-scroll{padding:10px 12px 14px}}

/* One compact order review remains before the explicit wallet payment action. */
#customerHubCheckoutForm { padding: 13px 14px calc(14px + env(safe-area-inset-bottom)); }
#customerHubCheckoutForm .customer-hub-card-heading { margin-bottom: 7px; }
#customerHubCheckoutForm .customer-hub-card-heading h2 { font-size: 18px; }
#customerHubCheckoutForm .customer-commerce-recipient-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); gap: 8px; }
#customerHubCheckoutForm .customer-commerce-recipient-row label { display: grid; min-width: 0; gap: 4px; margin: 5px 0; font-size: 11px; color: #8b7895; }
#customerHubCheckoutForm .customer-commerce-recipient-row input { width: 100%; }
#customerHubCheckoutForm > label { margin: 6px 0; }
#customerHubCheckoutForm :is(input,select,textarea) { font-size: 16px; }
#customerHubCheckoutForm .customer-hub-fulfillment { margin: 7px 0; padding: 5px 8px; }
#customerHubCheckoutForm .customer-commerce-selections { margin: 7px 0; }
#customerHubCheckoutForm #customerHubPlaceOrder { min-height: 43px; margin-top: 4px; }
#customerHubCheckoutForm { max-height: min(92dvh,900px); }
#customerHubCheckoutForm .customer-commerce-selection-row label { white-space: nowrap; }
#customerHubCheckoutForm .customer-hub-fulfillment label { min-height:34px; padding:6px 10px; font-size:12px; }
#customerHubCheckoutForm #customerHubPlaceOrder { position:sticky; bottom:0; z-index:2; }

/* Give both product-source groups the usable screen height, above the bottom navigation. */
#customerHubMarket .customer-hub-market-layout .customer-hub-category{top:58px;height:calc(100dvh - 184px - env(safe-area-inset-bottom));max-height:none;min-height:0;overflow-y:auto;overscroll-behavior-y:contain}
@media(min-width:900px){#customerHubMarket .customer-hub-market-layout .customer-hub-category{height:calc(100dvh - 209px - env(safe-area-inset-bottom))}}

.customer-payment-view-tabs,.customer-payment-type-tabs{display:flex;gap:4px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.customer-payment-view-tabs{padding:3px;margin:0 0 8px;border-radius:12px;background:#f0e9f6}
.customer-payment-view-tabs button,.customer-payment-type-tabs button{flex:1;min-width:0;border:0;border-radius:9px;white-space:nowrap;font-family:inherit;line-height:1.4;font-weight:650;box-shadow:none}
.customer-payment-view-tabs button{min-height:32px;padding:6px 9px;font-size:12px;color:#90779f;background:none}
.customer-payment-view-tabs button[aria-pressed=true]{background:#fff;color:#70488a;box-shadow:0 2px 5px #78568c15}
.customer-payment-type-tabs{margin:0 0 7px}
.customer-payment-type-tabs button{min-height:28px;padding:4px 7px;font-size:11px;background:#f6f0f9;color:#967fa0}
.customer-payment-type-tabs button[aria-pressed=true]{background:#e9d8f4;color:#72458a}
.customer-payment-record-note,.customer-payment-record-status,.customer-payment-record-empty{font-size:11px;line-height:1.5;color:#8f7b9d;margin:5px 0 8px}
.customer-payment-record-status.is-error{color:#b94768}
.customer-payment-record-status[hidden],.customer-payment-record-more[hidden],.customer-payment-record-view[hidden],#customerShopOrderRecords[hidden]{display:none!important}
.customer-payment-record-list{display:grid;gap:7px}
.customer-payment-record{padding:9px 10px;border:1px solid #eaddf0;border-radius:12px;background:#fff;min-width:0}
.customer-payment-record-head,.customer-payment-record-meta{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0}
.customer-payment-record-head strong{font-size:12px;line-height:1.4;min-width:0;overflow-wrap:anywhere}
.customer-payment-record-head b{flex:none;font-size:13px;color:#b64f87;white-space:nowrap}
.customer-payment-record-head b.deal-price{color:var(--deal-purchase-price)}
.customer-payment-record-meta{margin:4px 0}
.customer-payment-record-meta small{font-size:10px;color:#9c88a7}
.customer-payment-record-state{font-size:10px;line-height:1.4;color:#9b7d55;text-align:right}
.customer-payment-record-state.is-paid{color:#428a70}.customer-payment-record-state.is-failed{color:#bc4c6e}
.customer-payment-record-description{margin:4px 0;color:#8b7797;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.customer-payment-record-number{display:block;color:#aa99b2;font-size:9px;line-height:1.45;overflow-wrap:anywhere}
.customer-payment-record .customer-payment-record-action,.customer-payment-record-more{display:block;margin:7px 0 0 auto;min-height:29px;padding:5px 9px;border:1px solid #e2d1eb;border-radius:8px;background:#faf5fd;color:#855999;font:650 11px/1.4 sans-serif;box-shadow:none}
.customer-payment-record-more{width:100%;margin:8px 0 0}
.customer-payment-record-action:disabled,.customer-payment-record-more:disabled{opacity:.6}
.customer-payment-record button:focus-visible,.customer-payment-view-tabs button:focus-visible,.customer-payment-type-tabs button:focus-visible,.customer-payment-record-more:focus-visible{outline:2px solid #bd8fda;outline-offset:2px}

.photo-picker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-width: 0;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px dashed #acb5ca;
  border-radius: 10px;
  background: #f7f8fc;
  color: #34465e;
  font: 600 13px/1.3 system-ui, sans-serif;
}
.photo-picker > input[type="file"] {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  cursor: pointer;
}
.photo-picker:focus-within { outline: 2px solid #42629c; outline-offset: 2px; }
.photo-picker:has(input:disabled) { opacity: .55; }
.photo-picker:has(input:disabled) > input { cursor: default; }
.photo-picker-icon { font-size: 19px; line-height: 1; }
.photo-picker-label { flex: none; }
.photo-picker-status { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #5b687c; font-weight: 400; }
@media (hover: hover) {
  .photo-picker:hover { border-color: #526a9d; background: #eef2fa; }
}

/* Tone down the raised edge on existing customer controls. */
body.customer-workspace-page {
  --customer-button-shadow: 0 2px 6px rgb(55 34 71 / 11%);
}

.customer-workspace-page :is(
  .customer-menu-group button.customer-service-tile,
  button.customer-home-pattern-entry,
  button.customer-home-rental-entry,
  button.customer-home-review-entry,
  button.customer-back-button,
  button.account-menu-row,
  button.account-avatar-button,
  button.customer-hub-manage-button,
  .customer-hub-market-main .customer-hub-product-body button,
  .customer-hub-seller-showcase .customer-hub-seller-card-actions button,
  .customer-hub-market-main .customer-hub-product-actions .customer-hub-bargain-button,
  .customer-hub-detail-actions .customer-hub-bargain-button,
  .customer-hub-pattern-zoom-controls button[aria-pressed="true"],
  .customer-hub-segment button[aria-pressed="true"],
  .customer-review-actions button,
  .customer-seating-selection button,
  button.customer-seat-choose,
  button.member-tier,
  .huifu-hosted-primary
):not(:disabled, [aria-disabled="true"]),
.customer-workspace-page #customerHubMarket .customer-hub-segment button[aria-pressed="true"]:not(:disabled, [aria-disabled="true"]),
.customer-workspace-page #customerHubMarket .customer-hub-category-group > button[aria-pressed]:not(:disabled, [aria-disabled="true"]),
.customer-workspace-page #customerHubMarket .customer-hub-category-group .customer-hub-subcategories button[aria-pressed]:not(:disabled, [aria-disabled="true"]),
.customer-workspace-page #customerHubCheckin .customer-hub-checkin-promo button:not(:disabled),
.customer-workspace-page #customerHubCheckin .customer-hub-calendar .customer-hub-card-heading button:not(:disabled),
.customer-workspace-page #customerReservationSeats button.reservation-seat:not(:disabled, .is-unavailable),
.customer-workspace-page .customer-hub-fulfillment label:has(input:not(:disabled)) span,
.customer-workspace-page .customer-commerce-upload-tile:has(input:not(:disabled)) {
  box-shadow: var(--customer-button-shadow);
}

.customer-workspace-page :is(.customer-hub-primary, .customer-hub-secondary):not(:disabled, [aria-disabled="true"]),
.customer-workspace-page #customerHubCheckin .customer-hub-checkin-balance .customer-hub-primary:not(:disabled) {
  box-shadow: none;
}

.customer-workspace-page .customer-hub-nav > button:not([aria-current="page"]) {
  box-shadow: 0 1px 3px rgb(55 34 71 / 9%);
}

.customer-workspace-page .customer-hub-nav > button[aria-current="page"] {
  box-shadow: none;
}

.customer-workspace-page :is(
  .customer-menu-group button.customer-service-tile,
  button.customer-home-pattern-entry,
  button.customer-home-rental-entry,
  button.customer-home-review-entry,
  button.account-menu-row,
  button.member-tier,
  .customer-hub-nav > button
):active,
.customer-workspace-page #customerHubCheckin .customer-hub-checkin-promo button:active {
  transform: translateY(1px);
  box-shadow: none;
}

body.customer-workspace-page:has(#customerHome:not([hidden])) {
  background: #f8f7ff;
}

body.customer-workspace-page:has(#customerHome:not([hidden])) .customer-shell {
  background:
    radial-gradient(ellipse at 88% 6%, #ffe4ef 0, transparent 46%),
    radial-gradient(ellipse at 0 52%, #e8e2ff 0, transparent 54%),
    #f8f7ff;
}

body.customer-workspace-page:has(#customerHome:not([hidden])) .customer-flow {
  background: transparent;
}

#customerHome {
  --home-member-ink: #292343;
  --home-member-purple: #654994;
  --home-member-muted: #735d8b;
  --home-member-rose: #884e6c;
  --home-member-warm-ink: #593e27;
  --home-member-lavender: linear-gradient(135deg, #fff, #eee3ff);
  --home-member-blush: linear-gradient(135deg, #fff, #ffe9ee);
  --home-member-cream: linear-gradient(140deg, #fffefb, #fff2df);
  --home-member-card-shadow: 0 4px 12px #56377811;
  color: var(--home-member-ink);
}

#customerHome .customer-home-activity {
  color: #fff;
  border-color: #ffffff82;
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 94% 0%, #e3b3f517, transparent 52%),
    linear-gradient(130deg, #6748d9 0%, #7b48c9 55%, #a25599 100%);
  box-shadow: 0 8px 22px #6940a92a;
}

#customerHome .customer-home-activity h1 {
  color: inherit;
  font-size: clamp(25px, 6.6vw, 27px);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.3;
}

#customerHome .customer-home-activity p {
  color: inherit;
  font-size: clamp(13.5px, 3.5vw, 15px);
  font-weight: 500;
  line-height: 1.7;
}

#customerHome :is(
  .customer-service-tile,
  .customer-home-pattern-entry,
  .customer-home-rental-entry,
  .customer-home-review-entry,
  .customer-home-seat-shortcut:not(.is-warning, .is-expired)
) {
  border: 1px solid #fff;
  border-radius: 19px;
  box-shadow: var(--home-member-card-shadow);
}

#customerHome :is(.customer-service-tile, .customer-home-pattern-entry) {
  color: var(--home-member-purple);
  background: var(--home-member-lavender);
}

#customerHome .customer-home-rental-entry {
  color: var(--home-member-rose);
  background: var(--home-member-blush);
}

#customerHome .customer-home-review-entry {
  color: var(--home-member-warm-ink);
  background: var(--home-member-cream);
}

#customerHome :is(.customer-service-tile, .customer-home-discover-rail > button):active {
  box-shadow: none;
}

#customerHome :is(
  .customer-service-tile strong,
  .customer-home-rental-copy strong
) {
  color: inherit;
}

#customerHome :is(
  .customer-service-tile strong,
  .customer-home-pattern-copy strong,
  .customer-home-rental-copy strong
) {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1.3;
}

#customerHome .customer-home-review-copy strong {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

#customerHome :is(
  .customer-service-tile small,
  .customer-home-pattern-copy :is(small, span),
  .customer-home-rental-copy :is(small, span),
  .customer-home-review-copy :is(small, span)
) {
  color: var(--home-member-muted);
  font-size: 11px;
  letter-spacing: normal;
  line-height: 1.45;
}

#customerHome :is(.customer-home-pattern-copy, .customer-home-rental-copy) > span {
  font-size: 10px;
  text-wrap: pretty;
}

#customerHome .customer-home-rental-copy :is(small, span) {
  color: #80566b;
}

#customerHome .customer-home-review-copy :is(small, span) {
  color: #806044;
}

#customerHome .customer-service-tile::after,
#customerHome .customer-home-discover-rail > button > b {
  color: currentColor;
  opacity: .6;
  font-weight: 400;
}

#customerHome :is(
  .customer-service-icon,
  .customer-home-pattern-motif,
  .customer-home-rental-motif,
  .customer-home-review-motif
) {
  border: 1px solid #ffffffca;
  border-radius: 13px;
  box-shadow: none;
  transform: none;
}

#customerHome .customer-service-icon {
  color: #684a9d;
  background: #faf5ff;
}

#customerHome .customer-home-pattern-motif {
  background: #faf5ff;
}

#customerHome .customer-home-pattern-motif i {
  background: #cb82bd;
  box-shadow: none;
}

#customerHome .customer-home-pattern-motif i:nth-child(3n + 2) { background: #a984d4; }
#customerHome .customer-home-pattern-motif i:nth-child(4n) { background: #e0a973; }

#customerHome .customer-home-rental-motif {
  color: #9d5a80;
  background: #fff5f7;
}

#customerHome .customer-home-review-motif {
  color: #9b5d30;
  background: linear-gradient(135deg, #fff6df, #ffe1b0);
}

#customerHome .customer-home-seat-shortcut:not(.is-warning, .is-expired) {
  color: var(--home-member-purple);
  background: var(--home-member-blush);
}

#customerHome .customer-home-seat-shortcut:not(.is-warning, .is-expired) time {
  color: inherit;
}

body:not([data-customer-features~="reservations"]) [data-customer-feature="reservations"],
body:not([data-customer-features~="checkin"]) [data-customer-feature="checkin"],
body:not([data-customer-features~="market"]) [data-customer-feature="market"],
body:not([data-customer-features~="discussion"]) [data-customer-feature="discussion"],
body:not([data-customer-features~="patterns"]) [data-customer-feature="patterns"],
body:not([data-customer-features~="boardRentals"]) [data-customer-feature="boardRentals"],
body:not([data-customer-features~="reviews"]) [data-customer-feature="reviews"] {
  display: none !important;
}

body.customer-page .customer-hub-nav {
  grid-template-columns: repeat(var(--customer-hub-nav-count, 4), minmax(0, 1fr));
}


.customer-friends-coupons { color: #34294b; }
.customer-wallet-toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.customer-wallet-toolbar h3 { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.customer-wallet-subtitle { margin: 14px 0 7px; font-size: 13px; }
.customer-friend-list, .customer-coupon-list { display: grid; gap: 8px; }
.customer-coupon-groups { display: grid; gap: 14px; }
.customer-coupon-group-title { margin: 0 2px 1px; color: #4a365f; font-size: 13px; line-height: 1.4; }
.customer-friend-row {
  display: flex; align-items: center; gap: 9px; width: 100%; min-height: 54px; padding: 7px 10px;
  border: 1px solid #ece2f2; border-radius: 12px; color: #34294b; background: #fff; text-align: left;
}
.customer-gift-blocked { background: #f8f5fa; }
.customer-gift-blocked-copy { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.customer-gift-blocked-copy small { color: #6f5c7b; font-size: 12px; line-height: 1.45; }
.customer-friend-requests { margin-bottom: 10px; background: linear-gradient(135deg, #fbf8ff, #f0e6fb); }
.customer-friend-avatar {
  display: grid; flex: none; place-items: center; width: 40px; height: 40px; overflow: hidden;
  border-radius: 10px; color: #6c4c9e; background: #eee5fa; font-size: 17px; font-weight: 750;
}
.customer-friend-avatar img { width: 100%; height: 100%; object-fit: cover; }
.customer-friend-name { flex: 1; min-width: 0; font-size: 14px; line-height: 1.4; font-weight: 700; overflow-wrap: anywhere; }
.customer-friend-label { display: grid; flex: 1; min-width: 0; gap: 1px; }
.customer-friend-number { color: #735d81; font-size: 11px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.customer-wallet-arrow { color: #8f76a2; font-size: 22px; line-height: 1; }
.customer-friend-badge {
  display: inline-grid; flex: none; place-items: center; min-width: 20px; min-height: 20px; padding: 2px 5px;
  border-radius: 999px; color: #fff; background: #a13b75; font-size: 11px; font-weight: 750; line-height: 1;
}
.customer-wallet-button, .customer-wallet-add, .customer-wallet-back {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-height: 34px; padding: 6px 10px; border: 1px solid #ded0ed; border-radius: 9px; color: #68468a;
  background: #faf6ff; font: inherit; font-size: 12px; line-height: 1.3; font-weight: 700; white-space: nowrap;
}
.customer-wallet-button.is-primary, .customer-wallet-add { color: #fff; border-color: #7651a5; background: linear-gradient(135deg, #774ab6, #9145a2); }
.customer-wallet-add { min-width: 38px; min-height: 38px; padding: 3px; font-size: 22px; line-height: 1; }
.customer-wallet-back { padding-inline: 8px; }
.customer-wallet-button:disabled { opacity: .6; }
.customer-friend-actions { display: flex; flex: none; align-items: center; gap: 5px; }
.customer-wallet-muted { color: #735d81; font-size: 11px; line-height: 1.4; }
.customer-wallet-empty, .customer-wallet-status { margin: 9px 2px; color: #705d7f; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.customer-wallet-status:empty { display: none; }
.customer-wallet-status.is-error { color: #a33962; }
.customer-friend-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; margin-bottom: 10px; }
.customer-friend-search input { min-height: 40px; width: 100%; min-width: 0; height: auto; padding: 6px 9px; border: 1px solid #e1d6ec; border-radius: 9px; color: inherit; background: #fff; font: inherit; font-size: 16px; }
.customer-friend-code {
  display: grid; justify-items: center; gap: 9px; width: min(100%, 262px); margin: 0 auto;
  padding: 10px 9px 11px; box-sizing: border-box; border: 1px solid #e8daf2; border-radius: 12px;
  background: #fbf7ff; text-align: center;
}
.customer-friend-qr {
  display: block; width: min(100%, 166px); height: auto; aspect-ratio: 1; border-radius: 5px;
  -webkit-touch-callout: default;
}
.customer-friend-code :is(p, input), .customer-friend-invite p { margin: 0; }
.customer-friend-code-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.customer-friend-code-actions a { text-decoration: none; }
.customer-friend-invite-link {
  width: 100%; min-width: 0; box-sizing: border-box; padding: 6px;
  border: 1px solid #e1d6ec; border-radius: 7px; color: inherit; font-size: 12px;
}
.customer-friend-invite { display: grid; justify-items: start; gap: 8px; }
.customer-friend-invite .customer-friend-row { box-sizing: border-box; }
.customer-friend-invite > button { min-height: 38px; }
#customerHubAuthOverlay[data-friend-invite-auth] .customer-hub-auth-dialog {
  width: min(calc(100% - 18px), 360px);
  padding: 13px 12px calc(12px + env(safe-area-inset-bottom));
}
#customerHubAuthOverlay[data-friend-invite-auth] .customer-hub-auth-dialog > span { display: none; }
#customerHubAuthOverlay[data-friend-invite-auth] h2 { margin: 0 30px 4px 0; font-size: 18px; }
#customerHubAuthOverlay[data-friend-invite-auth] .customer-hub-auth-dialog > p { margin-bottom: 8px; }
#customerHubAuthOverlay[data-friend-invite-auth] .customer-hub-form { gap: 7px; margin-top: 8px; }
#customerHubAuthOverlay[data-friend-invite-auth] .customer-hub-form label { gap: 3px; }
#customerHubAuthOverlay[data-friend-invite-auth] .customer-hub-form input:not([type="checkbox"]) { min-height: 38px; padding-block: 5px; }
.customer-coupon-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; margin-bottom: 11px; border-radius: 12px; background: #f4eef8; }
.customer-coupon-tabs button { min-width: 0; border-color: transparent; background: transparent; }
.customer-coupon-tabs button[aria-pressed="true"] { border-color: #e4d5f0; background: #fff; color: #694595; }
.deal-offer.customer-coupon-card {
  --deal-ink: #262333;
  --deal-muted: #666371;
  --deal-line: #ebe7f0;
  --deal-accent: #6338ad;
  grid-template-columns: clamp(60px, 21vw, 86px) minmax(0, 1fr); gap: 8px;
  min-width: 0; padding: 8px; border: 1px solid var(--deal-line); border-radius: 12px;
  color: var(--deal-ink); background: #fff;
}
.customer-coupon-card:is(.is-used, .is-expired) { --deal-accent: #71647e; }
.customer-coupon-info { min-width: 0; }
.customer-coupon-card .deal-offer-name {
  display: block; cursor: inherit; color: var(--customer-package-title-color);
  font-size: var(--customer-package-name-size); font-weight: var(--customer-package-title-weight);
}
.customer-coupon-card div.deal-offer-photo { cursor: inherit; }
.customer-coupon-store, .customer-coupon-card .deal-secondary { font-size: 11px; line-height: 1.45; }
.customer-coupon-store { display: block; margin-top: 3px; color: var(--deal-muted); overflow-wrap: anywhere; }
.customer-coupon-card .customer-coupon-expiry { margin: 3px 0 0; color: #6b497b; font-size: 11px; line-height: 1.35; }
.customer-coupon-card .customer-coupon-facts { display: flex; flex-wrap: wrap; gap: 2px 7px; margin-top: 4px; min-width: 0; }
.customer-coupon-card .customer-coupon-rule { margin: 4px 0 0; color: #6f527e; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.customer-coupon-source { min-width: 0; overflow-wrap: anywhere; }
.customer-coupon-remaining { white-space: nowrap; font-variant-numeric: tabular-nums; }
.customer-coupon-store.customer-coupon-remaining { white-space: normal; }
.customer-coupon-card .deal-offer-foot { flex-wrap: wrap; gap: 4px 6px; }
.customer-coupon-amount { white-space: nowrap; }
.customer-coupon-card .customer-friend-actions { flex: 0 1 auto; flex-wrap: wrap; gap: 4px; min-width: 0; }
.customer-coupon-card :is(.deal-quiet-action, .deal-primary-action),
.member-board-use-actions :is(.deal-quiet-action, .deal-primary-action) {
  min-height: var(--deal-card-action-height); padding: 3px 8px; border-radius: var(--deal-purchase-radius);
  font-size: var(--deal-purchase-font); line-height: 1.15;
}
.member-board-use-actions { --deal-accent: #6338ad; }
.customer-coupon-card [data-coupon-action] { min-width: 44px; }
.member-use-code.customer-coupon-code { gap: 5px; margin: 8px 0; padding: 8px 8px 9px; }
.member-use-code.customer-coupon-code > img { display: block; width: min(100%, 170px); height: auto; margin: 0 auto; }
.member-use-code.customer-coupon-code .customer-coupon-number {
  display: block; color: #141414; font-weight: 730; font-size: clamp(16px, 4.7vw, 21px);
  line-height: 1.25; font-variant-numeric: tabular-nums; letter-spacing: normal; text-align: center; white-space: nowrap;
}
.customer-coupon-code-label, .customer-coupon-code small { color: #655775; font-size: 11px; text-align: center; }
.customer-coupon-code p { margin: 0; font-size: 12px; }
.customer-coupon-notes, .customer-gift-recipient { color: #6e577e; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.customer-coupon-notes h3 { margin: 10px 0 4px; font-size: 13px; color: #523873; }
.customer-coupon-notes p { margin-block: 4px; white-space: pre-line; }
.customer-gift-recipient { margin: 9px 0; }
.customer-gift-confirm-actions { display: flex; justify-content: end; gap: 8px; }
.customer-gift-confirm-actions button { min-height: 40px; }
.customer-friends-coupons :is(button, input):focus-visible { outline: 2px solid #956bc3; outline-offset: 2px; }
@media (max-width: 360px) {
  .customer-wallet-button, .customer-wallet-back { padding-inline: 7px; }
  .customer-friend-row { gap: 6px; }
}

.customer-coupon-notice-anchor { position: relative; }
.customer-coupon-notice-badge {
  position: absolute;
  inset: 4px 5px auto auto;
  display: inline-grid;
  min-width: 16px;
  min-height: 16px;
  padding-inline: 3px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #a63d74;
  font: 700 10px/1 system-ui, sans-serif;
  pointer-events: none;
}

.customer-coupon-notice {
  position: fixed;
  z-index: 51;
  inset: auto 0 calc(78px + env(safe-area-inset-bottom, 0px));
  display: flex;
  width: min(calc(100% - 24px), 380px);
  box-sizing: border-box;
  align-items: center;
  gap: 5px;
  margin-inline: auto;
  padding: 5px 5px 5px 12px;
  border: 1px solid #e6d2ec;
  border-radius: 14px;
  background: #fff9fc;
  color: #563d6c;
  box-shadow: 0 5px 20px #4a285632;
}
.customer-coupon-notice-message {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}
.customer-coupon-notice :is(.customer-coupon-notice-view, .customer-coupon-notice-dismiss) {
  flex: none;
  min-width: 36px;
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  padding-inline: 6px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.customer-coupon-notice .customer-coupon-notice-view { color: #66428a; background: #f1e6fb; }
.customer-coupon-notice .customer-coupon-notice-dismiss { color: #745d79; background: transparent; font-size: 21px; }
.customer-coupon-notice[hidden], .customer-coupon-notice-badge[hidden] { display: none; }

/* Keep new customer dialogs aligned with the account and coupon sheets. */
.customer-page {
  --customer-sheet-width: min(100%, 580px);
  --customer-sheet-cap: min(calc(100dvh - max(12px, env(safe-area-inset-top))), 850px);
  --customer-sheet-radius: 27px 27px 0 0;
  --customer-sheet-background: #fffdfd;
  --customer-sheet-border: #e4d6ed;
  --customer-sheet-dim: #251a36a6;
}

html.customer-sheet-active,
html.customer-sheet-active body.customer-page {
  overscroll-behavior: none;
}

.customer-page dialog[open]:not(.customer-hub-auth-overlay) {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
}

.customer-page :is(
  dialog[open]:not(.customer-hub-auth-overlay),
  .customer-service-sheet,
  .customer-hub-auth-dialog,
  .customer-hub-detail-dialog,
  .customer-discussion-profile-card,
  .customer-discussion-image-sheet,
  .customer-discussion-drawer-sheet,
  .customer-commerce-cart-panel,
  #customerHubCheckoutForm,
  .customer-seat-dialog-panel
) {
  box-sizing: border-box;
  width: var(--customer-sheet-width);
  max-width: 100%;
  max-height: var(--customer-sheet-cap);
  border: var(--customer-sheet-border-width, 1px) solid var(--customer-sheet-border);
  border-radius: var(--customer-sheet-radius);
  background: var(--customer-sheet-background);
  box-shadow: 0 -6px 40px #38234726;
  overscroll-behavior: contain;
  animation: customer-sheet-enter 220ms cubic-bezier(.21,.7,.28,1);
}

.customer-page dialog[open]:not(.customer-hub-auth-overlay)::backdrop,
.customer-page :is(
  .customer-service-overlay,
  .customer-discussion-image-overlay,
  .customer-hub-auth-backdrop,
  .customer-discussion-profile-backdrop,
  .customer-commerce-backdrop,
  .customer-seat-dialog-backdrop,
  .customer-sheet-backdrop
) {
  background: var(--customer-sheet-dim);
  backdrop-filter: blur(3px);
}

.customer-page dialog[open]::backdrop,
.customer-page :is(.customer-hub-auth-backdrop,.customer-discussion-profile-backdrop,
  .customer-commerce-backdrop,.customer-seat-dialog-backdrop,.customer-sheet-backdrop) {
  touch-action: none;
}

.customer-page :is(
  .customer-service-overlay,
  .customer-hub-auth-overlay[open],
  .customer-hub-detail-overlay,
  #customerHubProductOverlay,
  .customer-commerce-checkout-overlay,
  .customer-seat-dialog,
  .customer-discussion-profile-overlay,
  .customer-discussion-image-overlay,
  [data-customer-drawer]
):not([hidden]) {
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 0;
  overflow: hidden;
}

.customer-page :is(dialog.account-sheet, .customer-service-sheet) {
  height: auto;
}

.customer-page dialog.deal-storefront-dialog {
  height: min(92dvh, var(--customer-sheet-cap));
}

@media (max-width: 640px), (hover: none) and (pointer: coarse) and (max-height: 600px) {
  .customer-page dialog.deal-storefront-dialog:not(.deal-directory) {
    --customer-sheet-width: 100%;
    --customer-sheet-cap: 100dvh;
    --customer-sheet-radius: 0;
    --customer-sheet-border-width: 0px;
    height: 100dvh;
  }

  .customer-page dialog.deal-storefront-dialog:not(.deal-directory) > .member-dialog-header {
    padding: calc(10px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  }

  .customer-page dialog.deal-storefront-dialog:not(.deal-directory) > :is(.member-dialog-body, .deal-storefront-toolbar) {
    padding-left: max(14px, env(safe-area-inset-left));
    padding-right: max(14px, env(safe-area-inset-right));
  }
}

.customer-page dialog.deal-detail-dialog.is-expanded {
  height: var(--customer-sheet-cap);
}

.customer-page :is(.member-dialog-body,.deal-toolbar,.account-gallery-viewer,
  .huifu-hosted-cashier:not(.is-inline),.customer-commerce-action-dialog,
  .customer-discussion-image-sheet,.customer-discussion-profile-card,
  .customer-discussion-drawer-sheet) {
  padding-bottom: max(16px, calc(12px + env(safe-area-inset-bottom)));
}

.customer-page .member-dialog-header {
  background: var(--customer-sheet-background);
  border-bottom-color: #eee5f2;
}

.customer-page .member-dialog-close {
  background: #f2ecf7;
  color: #79668c;
}

.customer-page .customer-discussion-image-sheet,
.customer-page .customer-discussion-drawer-sheet {
  position: relative;
  z-index: 1;
  overflow-y: auto;
  padding-inline: 18px;
}

.customer-page .customer-discussion-image-sheet {
  display: grid;
  justify-items: center;
  padding-top: 48px;
}

.customer-page .customer-discussion-image-sheet img {
  display: block;
  max-height: min(78dvh, 730px);
  max-width: 100%;
  object-fit: contain;
}

.customer-page .customer-discussion-image-sheet button {
  background: #f2ecf7;
  color: #79668c;
}

.customer-page #customerHubDiscussion:has([data-customer-drawer]:not([hidden])) {
  z-index: 75;
}

.customer-page [data-customer-drawer] {
  position: fixed;
  inset: 0;
}

.customer-page .customer-sheet-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.customer-page .customer-discussion-drawer-sheet > small {
  color: #866f97;
  font-size: 11px;
}

@keyframes customer-sheet-enter {
  from { transform: translateY(max(0px, calc(100% - 64px))); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .customer-page :is(
    dialog[open], .customer-service-sheet, .customer-hub-auth-dialog, .customer-hub-detail-dialog,
    .customer-discussion-profile-card, .customer-discussion-image-sheet, .customer-discussion-drawer-sheet,
    .customer-commerce-cart-panel, #customerHubCheckoutForm, .customer-seat-dialog-panel
  ) { animation: none; }
}

@media (max-width: 699px) {
  body.customer-workspace-page select:not([multiple]),
  body.customer-workspace-page #customerVoucherPlatform,
  body.customer-workspace-page #customerHubCheckoutForm select,
  body.customer-workspace-page #customerReservationForm select {
    min-height: 44px;
    font-size: 14px;
  }

  body.customer-workspace-page .customer-commerce-selection-row select {
    min-height: 44px !important;
  }

  @supports (-webkit-touch-callout: none) {
    /* Keep the native picker’s focused font at the iOS zoom threshold. */
    body.customer-workspace-page select:not([multiple]):focus,
    body.customer-workspace-page #customerVoucherPlatform:focus,
    body.customer-workspace-page #customerHubCheckoutForm select:focus,
    body.customer-workspace-page #customerReservationForm select:focus {
      font-size: 16px;
    }
  }
}

.anchored-select-menu {
  position: fixed;
  z-index: 1200;
  inset: auto;
  box-sizing: border-box;
  margin: 0;
  padding: 3px;
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  border: 1px solid #e4daed;
  border-radius: 11px;
  color: #39294c;
  background: #fffafd;
  box-shadow: 0 8px 26px #43315238;
  font-family: inherit;
  font-size: 14px;
  text-align: start;
}
.anchored-select-menu::backdrop { background: transparent; pointer-events: none; }
.anchored-select-group-label { padding: 6px 8px 2px; color: #756681; font-size: 11px; }
.anchored-select-option {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 14px;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 8px;
  overflow-wrap: anywhere;
  border-radius: 7px;
  line-height: 1.3;
  cursor: pointer;
}
.anchored-select-option[aria-selected="true"] { color: #633b86; background: #f3eafb; font-weight: 650; }
.anchored-select-option[aria-selected="true"]::after { content: "✓"; text-align: end; }
.anchored-select-option.is-active { outline: 1px solid #bf9bdb; outline-offset: -1px; }
.anchored-select-option[aria-disabled="true"] { color: #827889; opacity: .65; cursor: default; }
@media (hover: hover) {
  .anchored-select-option:not([aria-disabled="true"]):hover { background: #f1e7f9; }
}
body:is(.customer-workspace-page, .owner-workspace-page) select:not([multiple]):is(:not([size]), [size="0"], [size="1"]) {
  font-size: 14px;
}

@supports (-webkit-touch-callout: none) {
  body:is(.customer-workspace-page, .owner-workspace-page) select:not([multiple]):is(:not([size]), [size="0"], [size="1"]):focus {
    font-size: 16px;
  }
}

/* Make phone typography and controls consistently compact, including dialogs rendered outside the page shell. */
:root {
  --phone-scale: 1;
  --layout-viewport-height: calc(100dvh / var(--phone-scale));
  --layout-viewport-width: calc(100vw / var(--phone-scale));
}

@media (max-width: 600px) and (any-pointer: coarse) {
  html:not([data-works-surface="owner-frame"]) { --phone-scale: .89; zoom: var(--phone-scale); }
}
@media (max-width: 375px) and (any-pointer: coarse) {
  html:not([data-works-surface="owner-frame"]) { --phone-scale: .86; }
}
@media (max-width: 350px) and (any-pointer: coarse) {
  html:not([data-works-surface="owner-frame"]) { --phone-scale: .84; }
}

@media (any-pointer: coarse) {
  html, body:is(.customer-page, .owner-workspace-page, .admin-page, .login-workspace-page) {
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    touch-action: pan-x pan-y;
  }
}

body.customer-page .member-scan {
  place-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
}

#customerHomeActivity[hidden] { display: none; }
body.customer-workspace-page #customerHomeActivity {
  height: auto;
  min-height: 0;
  align-content: start;
  padding: 16px 19px;
}
body.customer-workspace-page #customerHomeActivity h1 {
  margin: 0 0 8px;
  font-size: 22px;
}
body.customer-workspace-page #customerHomeActivity p {
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 430px) {
  :root { --phone-unit: clamp(.93px, .25641vw, 1px); }

  body.customer-page .member-page {
    padding-inline: max(calc(13 * var(--phone-unit)), env(safe-area-inset-left))
      max(calc(13 * var(--phone-unit)), env(safe-area-inset-right));
  }
  body.customer-page .member-page-toolbar { margin-bottom: calc(14 * var(--phone-unit)); }
  body.customer-page .member-page h1 { font-size: calc(25 * var(--phone-unit)); }
  body.customer-page .member-page h1 span { font-size: calc(24 * var(--phone-unit)); }
  body.customer-page .member-scan > svg { width: calc(24 * var(--phone-unit)); height: calc(24 * var(--phone-unit)); }

  body.customer-page .member-card {
    padding: calc(20 * var(--phone-unit));
    border-radius: calc(25 * var(--phone-unit));
  }
  body.customer-page .member-card-top { gap: calc(8 * var(--phone-unit)); }
  body.customer-page .member-card-brand { font-size: calc(11.5 * var(--phone-unit)); letter-spacing: normal; }
  body.customer-page .member-level { padding: calc(5 * var(--phone-unit)) calc(9 * var(--phone-unit)); font-size: calc(13 * var(--phone-unit)); }
  body.customer-page .member-card-name {
    margin: calc(16 * var(--phone-unit)) 0 calc(20 * var(--phone-unit));
    font-size: calc(14 * var(--phone-unit));
  }
  body.customer-page .member-balance-label { font-size: calc(12 * var(--phone-unit)); }

  body.customer-page .member-package-shortcuts { gap: calc(10 * var(--phone-unit)); margin-top: calc(16 * var(--phone-unit)); }
  body.customer-page .member-package-shortcuts button { padding: calc(13 * var(--phone-unit)) calc(10 * var(--phone-unit)); }
  body.customer-page .member-package-shortcuts button > span:first-child { font-size: calc(22 * var(--phone-unit)); }
  body.customer-page .member-package-shortcuts strong { font-size: calc(12 * var(--phone-unit)); }
  body.customer-page .member-package-shortcuts small { font-size: max(9px, calc(10 * var(--phone-unit))); }
  body.customer-page .member-benefit {
    gap: calc(11 * var(--phone-unit));
    margin: calc(17 * var(--phone-unit)) 0 calc(24 * var(--phone-unit));
    padding: calc(15 * var(--phone-unit));
  }
  body.customer-page .member-benefit-icon {
    width: calc(39 * var(--phone-unit)); height: calc(39 * var(--phone-unit)); font-size: calc(29 * var(--phone-unit));
  }
  body.customer-page .member-benefit strong { font-size: calc(13 * var(--phone-unit)); }
  body.customer-page .member-benefit-count { font-size: calc(28 * var(--phone-unit)); }
  body.customer-page .member-section-title { margin-bottom: calc(12 * var(--phone-unit)); }
  body.customer-page .member-section-title h2 { font-size: calc(19 * var(--phone-unit)); }
  body.customer-page .member-tier { gap: calc(6 * var(--phone-unit)); padding: calc(14 * var(--phone-unit)) 4px calc(12 * var(--phone-unit)); }
  body.customer-page .member-tier strong { font-size: calc(30 * var(--phone-unit)); }
  body.customer-page .member-tier-benefits { font-size: max(9px, calc(11 * var(--phone-unit))); }
  body.customer-page .member-pocket-entry { margin-top: calc(14 * var(--phone-unit)); padding: calc(14 * var(--phone-unit)); }

  body.customer-workspace-page #customerHomeActivity { padding: calc(16 * var(--phone-unit)) calc(19 * var(--phone-unit)); }
  body.customer-workspace-page #customerHomeActivity h1 { font-size: calc(22 * var(--phone-unit)); }
  body.customer-workspace-page #customerHomeActivity p { font-size: max(11px, calc(13 * var(--phone-unit))); }

  body.customer-page .customer-hub-nav {
    min-height: calc(69 * var(--phone-unit) + env(safe-area-inset-bottom));
    padding-top: calc(6 * var(--phone-unit));
  }
  body.customer-page .customer-hub-nav button { min-height: 42px; }
  body.customer-page .customer-hub-nav button > span { height: calc(25 * var(--phone-unit)); font-size: calc(22 * var(--phone-unit)); }
  body.customer-page .customer-hub-nav button strong { font-size: max(9px, calc(10 * var(--phone-unit))); }

  body.owner-workspace-page :is(.owner-overview-intro,.owner-view-heading) h1 { font-size: calc(22 * var(--phone-unit)); }
  body.owner-workspace-page :is(.owner-store-card,.owner-hub-card) { padding: calc(13 * var(--phone-unit)); }
  body.owner-workspace-page .owner-dock {
    min-height: calc(75 * var(--phone-unit));
    width: min(calc(var(--layout-viewport-width) - 24px), 560px);
  }
  body.owner-workspace-page .owner-dock button { min-height: max(44px, calc(53 * var(--phone-unit))); }
  body.owner-workspace-page .owner-dock button strong { font-size: max(9px, calc(11 * var(--phone-unit))); }

  body.admin-page.ui-workspace { --admin-phone-nav-height: max(51px, calc(62 * var(--phone-unit))); }
  html body.admin-page.ui-workspace .topbar #pageTitle { font-size: calc(21 * var(--phone-unit)) !important; }
  html body.admin-page.ui-workspace .app-shell > .main > .topbar { min-height: max(51px, calc(62 * var(--phone-unit))) !important; }
  body.admin-page .admin-mobile-dock > button { min-height: max(40px, calc(51 * var(--phone-unit))); }
  body.admin-page.ui-workspace .main .workspace-stat strong { font-size: calc(22 * var(--phone-unit)); }

  body.login-workspace-page .login-panel { padding: calc(24 * var(--phone-unit)) calc(22 * var(--phone-unit)); }
  body.login-workspace-page .login-brand h1 { font-size: calc(26 * var(--phone-unit)); }
  body.login-workspace-page .login-form { gap: calc(20 * var(--phone-unit)); margin-top: calc(24 * var(--phone-unit)); }
}

@media (max-width: 699px) {
  body.customer-page .member-page { min-height: calc(var(--layout-viewport-height) - 88px - env(safe-area-inset-bottom)); }
  body.customer-page .member-card {
    display: flex;
    flex-direction: column;
    min-height: min(calc(.48 * var(--layout-viewport-width)), calc(202px / var(--phone-scale)));
  }
  body.customer-page .member-balance {
    align-self: flex-start;
    gap: 9px;
    font-size: calc(clamp(14px, 4.45vw, 20px) / var(--phone-scale));
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.5;
  }
  body.customer-page .member-balance span { font-size: calc(clamp(13px, 4.2vw, 18px) / var(--phone-scale)); }
  body.customer-page .member-card-bottom { margin-top: auto; padding-top: 14px; }
  body.customer-page .deal-home-storefront :is(.deal-offers-heading-actions, .deal-storefront-toolbar) { gap: 5px; }
  body.customer-page .deal-home-storefront :is(.deal-offers-heading-actions, .deal-storefront-toolbar) .deal-quiet-action {
    min-height: 32px;
    padding: 4px 9px;
    border-radius: 8px;
    font-size: 12px;
  }
  body.customer-page .customer-service-sheet { --customer-sheet-cap: min(calc(var(--layout-viewport-height) - 12px), 850px); }
  body.customer-page .deal-storefront-dialog { height: var(--layout-viewport-height); }
  body.customer-page :is(.deal-storefront-dialog, .deal-detail-dialog.is-expanded, .deal-checkout-dialog.is-expanded) {
    max-height: var(--layout-viewport-height);
  }
  body.login-workspace-page .login-shell { min-height: var(--layout-viewport-height); }
}

@supports (-webkit-touch-callout: none) {
  @media (any-pointer: coarse) {
    body:is(.customer-page, .owner-workspace-page, .admin-page, .login-workspace-page)
      :is(input:not([type]), input[type="text"], input[type="password"], input[type="tel"], input[type="search"], textarea):focus {
      font-size: max(16px, calc(16px / var(--phone-scale)));
    }
  }
}
