.acct-shell {
  min-height: 100dvh;
  background: var(--fb-paper-0, #faf7f1);
  color: var(--fb-ink-900, #17130f);
  padding: 1.25rem 1rem 2.5rem;
}

.acct-shell--shop {
  padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
}

.acct-card,
.acct-wide {
  width: min(100%, 28rem);
  margin: 0 auto;
}

.acct-card--checkout {
  width: min(100%, 100%);
  max-width: 100%;
}

.acct-brand {
  margin: 0;
  font-family: var(--font-instrument), Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.acct-brand::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 0.2rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--burst, linear-gradient(120deg, #ffb347, #ff4d2e 40%, #e8206a));
}

.acct-title {
  margin: 1rem 0 0;
  font-family: var(--font-instrument), Georgia, serif;
  font-size: clamp(2.1rem, 8vw, 3.1rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.acct-lead,
.acct-note,
.acct-error,
.acct-hint,
.acct-quiet {
  margin: 0.75rem 0 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.acct-lead,
.acct-hint,
.acct-quiet {
  color: var(--fb-ink-700, #3d3832);
}

.acct-note {
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  background: var(--fb-paper-1, #f3eee5);
}

.acct-cash-note {
  margin: 0.75rem 0 0;
  padding: 1rem;
  border-radius: 0.85rem;
  background: var(--fb-paper-1, #f3eee5);
  color: var(--fb-ink-700, #3d3832);
  font-size: 0.98rem;
  line-height: 1.45;
}

.acct-error {
  color: var(--fb-danger, #c8321f);
}

.acct-shell--landing {
  padding: 0;
  background: #f3efe8;
  color: #1a1520;
}

.acct-entry {
  width: min(100%, 1120px);
  margin: 0 auto;
  min-height: 100dvh;
  padding:
    calc(16px + env(safe-area-inset-top, 0px))
    16px
    calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
}

.acct-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}

.acct-word {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #1a1520;
}

.acct-dots {
  display: grid;
  grid-template-columns: 7px 7px;
  gap: 3px;
  flex: 0 0 auto;
}

.acct-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.acct-dots i:nth-child(1) { background: #ff8a3d; }
.acct-dots i:nth-child(2) { background: #ff5c93; }
.acct-dots i:nth-child(3) { background: #7b5cff; }
.acct-dots i:nth-child(4) { background: #3dcf86; }

.acct-word-lockup {
  display: flex;
  flex-direction: column;
  font-family: var(--font-work-sans), var(--font-dm-sans), sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
}

.acct-help-btn,
.acct-find {
  border: 0;
  background: transparent;
  color: #1a1520;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.acct-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(26, 21, 32, 0.1);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.92);
  font-size: 0.92rem;
  letter-spacing: -0.015em;
  box-shadow: 0 8px 20px -16px rgba(26, 21, 32, 0.6);
}

.acct-chat-icon {
  display: grid;
  place-items: center;
  color: #1a1520;
}

.acct-stage {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
  padding: 20px 16px 16px;
  border-radius: 28px;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(255, 210, 224, 0.55), transparent 52%),
    radial-gradient(80% 60% at 0% 100%, rgba(255, 236, 214, 0.7), transparent 46%),
    #fffdfb;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 28px 60px -40px rgba(70, 32, 44, 0.55);
}

.acct-hero {
  margin: 0;
  font-family: var(--font-work-sans), var(--font-dm-sans), sans-serif;
  font-weight: 800;
  font-size: clamp(3.35rem, 15.2vw, 6.5rem);
  line-height: 0.82;
  letter-spacing: -0.058em;
  text-transform: uppercase;
  color: #1a1520;
}

.acct-hero span { display: block; }

.acct-sorted { color: #ee9eb6; }

.acct-support {
  margin: 14px 0 0;
  max-width: 34rem;
  color: #5e584f;
  font-size: 1.02rem;
  line-height: 1.45;
  letter-spacing: -0.012em;
}

.acct-paste-lead {
  margin: 0 0 12px;
  color: #1a1520;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.acct-helper,
.acct-reassure,
.acct-paynote {
  margin: 6px 0 0;
  color: #7a736a;
  font-size: 0.92rem;
  line-height: 1.4;
}

.acct-entry-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-top: 8px;
}

.acct-entry .acct-field span {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #3a342e;
}

.acct-entry .acct-field textarea {
  min-height: 104px;
}

.acct-order-text {
  width: 100%;
  min-height: 132px;
  margin-top: 8px;
  border: 1px solid rgba(26, 21, 32, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: #1a1520;
  resize: vertical;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.acct-entry .acct-review {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  margin-top: 12px;
  padding: 6px 18px 6px 6px;
  border: 0;
  border-radius: 999px;
  background: #1b1620;
  color: #fffaf7;
  font-weight: 650;
  letter-spacing: -0.015em;
  box-shadow: 0 16px 30px -18px rgba(27, 22, 32, 0.85);
}

.acct-review-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f3a8bc;
  color: #1b1620;
  flex: 0 0 auto;
}

.acct-entry .acct-find {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  padding: 8px 2px;
  color: #3d3640;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(26, 21, 32, 0.28);
}

.acct-entry .acct-text {
  align-self: flex-start;
  padding-left: 2px;
  padding-right: 2px;
}

.acct-art {
  position: relative;
  margin: 12px 0 2px;
  overflow: hidden;
  border-radius: 20px;
  pointer-events: none;
}

.acct-art img {
  display: block;
  width: 100%;
  height: clamp(156px, 42vw, 210px);
  object-fit: cover;
  object-position: 46% 42%;
}

.acct-service {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 18px 0 0;
  color: #8d867e;
  font-family: var(--font-manrope), var(--font-dm-sans), sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.acct-service-slash { color: #c8c1b8; }

.acct-help-btn:focus-visible,
.acct-entry .acct-review:focus-visible,
.acct-entry .acct-find:focus-visible,
.acct-entry .acct-text:focus-visible {
  outline: 2px solid #ee9eb6;
  outline-offset: 3px;
}

.acct-mist {
  position: absolute;
  inset: 0;
  background: url("/order/account/mist.webp") center / cover no-repeat;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.acct-mist--rear {
  opacity: 0.08;
  animation: acct-mist-rear 18s ease-in-out infinite alternate;
}

.acct-mist--front {
  opacity: 0.04;
  animation: acct-mist-front 24s ease-in-out infinite alternate;
  animation-delay: -8s;
}

.acct-entry .acct-mist { display: none; }

.acct-art[data-mist="off"] .acct-mist { animation-play-state: paused; opacity: 0.05; }

@keyframes acct-mist-rear {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(16px, -6px, 0); }
}

@keyframes acct-mist-front {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-12px, 4px, 0); }
}

.acct-more { margin-top: 12px; }
.acct-more summary { min-height: 44px; cursor: pointer; font-weight: 650; }

.acct-toast,
p.acct-toast[data-testid="receipt-copied-toast"],
p#receipt-copied-toast {
  display: block;
  visibility: visible;
  opacity: 1;
  position: fixed;
  left: 50%;
  top: calc(0.75rem + env(safe-area-inset-top, 0px));
  transform: translateX(-50%);
  z-index: 9999;
  margin: 0;
  max-width: min(22rem, calc(100vw - 1.5rem));
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: #ff4d2e;
  background-color: #ff4d2e;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 14px 30px -16px rgba(255, 77, 46, 0.95);
  pointer-events: none;
}

p#receipt-copied-toast:not([data-on="true"]),
p.acct-toast[data-testid="receipt-copied-toast"]:not([data-on="true"]) {
  display: none !important;
  visibility: hidden !important;
}

.acct-help-layer {
  position: fixed;
  inset: 0;
  background: rgba(23, 19, 15, 0.28);
  display: grid;
  place-items: end center;
  padding: 16px;
  z-index: 30;
}

.acct-help-panel {
  width: min(100%, 420px);
  background: #fffcf7;
  color: #17130f;
  border-radius: 20px;
  padding: 20px;
}

.acct-help-panel h2 {
  margin: 0;
  font-family: var(--font-instrument), Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 32px;
}

.acct-help-panel p {
  margin: 12px 0 16px;
  color: #6f675d;
  font-size: 16px;
  line-height: 24px;
}

@media (prefers-reduced-motion: reduce) {
  .acct-shell--landing .acct-mist {
    animation: none;
  }
}

.acct-shell--landing .acct-card {
  width: min(100%, 1120px);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

@media (min-width: 960px) {
  .acct-entry {
    padding:
      calc(22px + env(safe-area-inset-top, 0px))
      28px
      calc(36px + env(safe-area-inset-bottom, 0px));
  }

  .acct-stage {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
    grid-template-areas:
      "copy art"
      "form art"
      "note art"
      "service art";
    align-items: center;
    column-gap: 28px;
    row-gap: 0;
    min-height: 680px;
    padding: 48px 0 36px 48px;
    border-radius: 36px;
  }

  .acct-stage-copy { grid-area: copy; align-self: end; padding-bottom: 8px; }
  .acct-entry-form { grid-area: form; max-width: 34rem; margin-top: 18px; }
  .acct-paynote { grid-area: note; }
  .acct-service { grid-area: service; margin-top: 22px; }

  .acct-art {
    grid-area: art;
    align-self: stretch;
    height: auto;
    margin: 0;
    border-radius: 0 36px 36px 0;
  }

  .acct-art img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: 40% 46%;
  }

  .acct-entry .acct-review {
    width: auto;
    align-self: flex-start;
    min-width: 17.5rem;
  }
}


.acct-landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  margin: 0;
}

.acct-landing-copy {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.35rem 1.15rem 0.2rem;
}

.acct-kicker {
  margin: 0;
  font-family: var(--font-instrument), Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.acct-kicker::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 0.2rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--burst, linear-gradient(120deg, #ffb347, #ff4d2e 40%, #e8206a));
}

.acct-landing .acct-title {
  margin: 0.2rem 0 0;
  font-size: clamp(3.05rem, 14vw, 4.4rem);
  line-height: 0.92;
}

.acct-title-accent {
  display: block;
  color: #ff4d2e;
}

.acct-landing .acct-lead,
.acct-landing .acct-actions,
.acct-landing .acct-or,
.acct-landing .acct-error {
  margin-top: 0;
}

.acct-trust,
.acct-help {
  margin: 0;
  color: var(--fb-ink-500, #6f675d);
  font-size: 0.82rem;
  line-height: 1.4;
}

.acct-landing-art {
  display: block;
  margin-top: auto;
  line-height: 0;
}

.acct-landing-art img {
  display: block;
  width: 100%;
  height: min(42dvh, 24rem);
  object-fit: cover;
  object-position: center 70%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 100%);
}

.acct-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  margin: 0.15rem 0;
  color: var(--fb-ink-500, #6f675d);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.acct-or::before,
.acct-or::after {
  content: "";
  height: 1px;
  background: var(--fb-paper-2, #eae3d8);
}

.acct-progress {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.9rem;
  padding: 0;
  list-style: none;
}

.acct-progress li {
  flex: 1;
  height: 0.28rem;
  border-radius: 999px;
  background: var(--fb-paper-2, #eae3d8);
}

.acct-progress li[data-on="true"] {
  background: var(--fb-coral-500, #ff4d2e);
}

.acct-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.acct-checkout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.15rem;
}

.acct-checkout-main {
  flex: 1;
}

.acct-checkout-summary {
  border-top: 1px solid var(--fb-paper-2, #eae3d8);
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .acct-checkout {
    flex-direction: row;
    gap: 2rem;
  }

  .acct-checkout-main {
    flex: 0 1 55%;
  }

  .acct-checkout-summary {
    flex: 0 1 45%;
    border-top: 0;
    padding-top: 0;
    border-left: 1px solid var(--fb-paper-2, #eae3d8);
    padding-left: 2rem;
    max-height: 100vh;
    position: sticky;
    top: 0;
  }
}

.acct-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.acct-field span {
  color: var(--fb-ink-700, #3d3832);
}

.acct-field .acct-help {
  color: var(--fb-ink-500, #6f675d);
}

.acct-field input,
.acct-field textarea,
.acct-field select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--fb-paper-2, #eae3d8);
  border-radius: 0.8rem;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
}

.acct-field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.acct-field input:focus,
.acct-field textarea:focus,
.acct-field select:focus {
  outline: 2px solid var(--fb-coral-400, #ff7a5e);
  outline-offset: 1px;
}

.acct-field .fo-au-date {
  display: flex;
  width: 100%;
  min-height: 3rem;
  border-radius: 0.8rem;
  border-color: var(--fb-paper-2, #eae3d8);
  background: #fff;
}

.acct-field .fo-au-date__text {
  font-size: 1rem;
}

.acct-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.acct-primary,
.acct-ghost,
.acct-text {
  min-height: 3rem;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.acct-primary {
  border: 0;
  background: var(--fb-coral-500, #ff4d2e);
  color: var(--fb-ink-900, #17130f);
  font-weight: 600;
}

.acct-primary:disabled,
.acct-ghost:disabled {
  opacity: 0.55;
  cursor: wait;
}

.acct-ghost,
.acct-text {
  border: 1px solid var(--fb-paper-2, #eae3d8);
  background: transparent;
  color: inherit;
}

.acct-text {
  min-height: 2.5rem;
  border: 0;
  background: transparent;
  color: var(--fb-ink-700, #3d3832);
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.acct-filters {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 -0.15rem;
  padding: 0.35rem 0.15rem 0.55rem;
  background: var(--fb-paper-0, #faf7f1);
  scrollbar-width: none;
}

.acct-filters::-webkit-scrollbar {
  display: none;
}

.acct-filters button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--fb-paper-2, #eae3d8);
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
  scroll-snap-align: start;
}

.acct-filter-note {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  font-weight: 550;
  letter-spacing: 0;
  line-height: 1.2;
  opacity: 0.85;
}

.acct-filters button[data-on="true"] {
  border-color: var(--fb-ink-900, #17130f);
  background: var(--fb-ink-900, #17130f);
  color: var(--fb-paper-0, #faf7f1);
  font-weight: 600;
}

.acct-shelf {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.acct-group {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.acct-group-head {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.acct-group-title {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.acct-group-note {
  margin: 0;
  color: var(--fb-ink-700, #3d3832);
  font-size: 0.85rem;
  font-weight: 550;
  line-height: 1.3;
}

.acct-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acct-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 0.45rem 0.45rem 0.6rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-card, 0 8px 24px -12px rgba(23, 19, 15, 0.12));
}

.acct-product[data-on="true"] {
  box-shadow: 0 0 0 2px var(--fb-coral-500, #ff4d2e);
}

.acct-photo {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
  background: var(--fb-paper-1, #f3eee5);
}

.acct-name {
  margin: 0.5rem 0.15rem 0;
  min-height: 2.5em;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.acct-price {
  margin: 0.25rem 0.15rem 0;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.acct-atp {
  margin: 0.15rem 0 0;
  color: var(--fb-ink-500, #6f675d);
  font-size: 0.8rem;
}

.acct-product-foot {
  display: flex;
  margin-top: auto;
  padding-top: 0.45rem;
}

.acct-qty {
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  align-items: center;
  width: 100%;
  gap: 0.15rem;
}

.acct-qty button {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--fb-paper-2, #eae3d8);
  background: #fff;
  font: inherit;
  font-size: 1.05rem;
}

.acct-qty button:disabled {
  opacity: 0.4;
}

.acct-qty span {
  min-width: 1.25rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.acct-pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.acct-pay button {
  min-height: 3rem;
  border-radius: 0.8rem;
  border: 1px solid var(--fb-paper-2, #eae3d8);
  background: #fff;
  font: inherit;
}

.acct-pay button[data-on="true"] {
  border-color: var(--fb-ink-900, #17130f);
  background: var(--fb-ink-900, #17130f);
  color: var(--fb-paper-0, #faf7f1);
}

.acct-leave {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.acct-leave button {
  min-height: 3rem;
  border-radius: 0.8rem;
  border: 1px solid var(--fb-paper-2, #eae3d8);
  background: #fff;
  font: inherit;
  text-align: left;
  padding: 0 1rem;
}

.acct-leave button[data-suggested="true"] {
  font-weight: 600;
}

.acct-leave button[data-on="true"] {
  border-color: var(--fb-ink-900, #17130f);
  background: var(--fb-ink-900, #17130f);
  color: var(--fb-paper-0, #faf7f1);
}

.acct-leave button:focus-visible {
  outline: 2px solid var(--fb-coral-400, #ff7a5e);
  outline-offset: 1px;
}

.acct-total {
  display: flex;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.acct-summary {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  padding: 0.85rem;
  border-radius: 1rem;
  background: #fff;
}

.acct-summary dt {
  color: var(--fb-ink-500, #6f675d);
  font-size: 0.75rem;
}

.acct-summary dd {
  margin: 0 0 0.45rem;
}

.acct-lines {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.acct-line {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.acct-thumb {
  width: 3rem;
  height: 3rem;
  border-radius: 0.65rem;
  object-fit: cover;
  background: var(--fb-paper-1, #f3eee5);
}

.acct-line p {
  margin: 0.15rem 0 0;
  color: var(--fb-ink-500, #6f675d);
  font-size: 0.85rem;
}

.acct-cart {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(250, 247, 241, 0.94);
  border-top: 1px solid var(--fb-paper-2, #eae3d8);
  backdrop-filter: blur(10px);
}

.acct-cart p {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.acct-cart strong {
  display: block;
  font-weight: 600;
}

.acct-cart .acct-primary {
  min-width: 8.5rem;
  padding: 0 1.1rem;
}

.acct-order-id {
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

.acct-payid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  margin: 0;
  padding: 0.85rem;
  border-radius: 1rem;
  background: #fff;
}

.acct-payid p {
  margin: 0;
}

.acct-payid strong {
  font-variant-numeric: tabular-nums;
}

.acct-build {
  margin: 0.15rem 0 0;
  color: #a39b91;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: end;
}

.acct-receipt-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  align-items: stretch;
  align-self: stretch;
  width: auto;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.acct-copied-banner,
.acct-copied-banner[data-on="false"] {
  display: none !important;
  visibility: hidden !important;
  margin: 0;
  min-height: 0;
  height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1.1;
}

.acct-copied-banner[data-on="true"] {
  display: block !important;
  height: auto !important;
  min-height: 3.25rem !important;
  overflow: visible !important;
  padding: 1rem 1.15rem !important;
  background: #ff4d2e !important;
  background-color: #ff4d2e !important;
  color: #fff !important;
  font-size: 1.75rem;
  font-weight: 700;
  box-shadow: 0 14px 30px -16px rgba(255, 77, 46, 0.95);
}

.acct-copy-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  justify-self: stretch;
  width: auto;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
  gap: 0.4rem;
}

.acct-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  justify-self: stretch;
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 3.25rem;
  padding: 0.85rem 1.25rem;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid var(--fb-paper-2, #eae3d8);
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 650;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 2;
}

.acct-copy[data-copied="true"] {
  border-color: #ff4d2e;
  background: #ff4d2e;
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  min-height: 4.25rem;
  padding: 0.85rem 1.15rem;
}

.acct-copy .acct-copy-done {
  display: none;
}

.acct-copy:active,
.acct-copy[data-copied="true"],
.acct-copy.acct-copy--armed {
  border-color: #ff4d2e !important;
  background: #ff4d2e !important;
  background-color: #ff4d2e !important;
  color: #fff !important;
}

.acct-copy:active .acct-copy-idle,
.acct-copy[data-copied="true"] .acct-copy-idle {
  display: none !important;
}

.acct-copy.acct-copy--armed .acct-copy-idle {
  display: none !important;
}

.acct-copy:active .acct-copy-done,
.acct-copy[data-copied="true"] .acct-copy-done {
  display: inline !important;
  color: #fff !important;
  font-family: ui-sans-serif, system-ui, sans-serif !important;
}

.acct-copy.acct-copy--armed .acct-copy-done {
  display: inline !important;
  color: #fff !important;
  font-family: ui-sans-serif, system-ui, sans-serif !important;
}

/* Stretch receipt copy controls to the column. Percentage widths collapse to the label. */
.acct-shell .acct-card > .acct-form,
.acct-shell .acct-wide > .acct-form {
  width: auto;
  max-width: none;
  min-width: 0;
  align-items: stretch;
  align-self: stretch;
}

.acct-shell .acct-form .acct-receipt-copy {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-items: stretch !important;
  align-items: stretch !important;
  align-self: stretch !important;
}

.acct-shell .acct-form .acct-payid,
.acct-shell .acct-receipt-copy > .acct-copy-wrap,
.acct-shell .acct-receipt-copy > .acct-payid,
.acct-shell .acct-payid > .acct-copy-wrap,
.acct-shell .acct-copy-wrap > button.acct-copy,
.acct-shell button.acct-copy {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  justify-self: stretch !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
  flex-grow: 1 !important;
}

.acct-shell .acct-form .acct-payid {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.acct-shell button.acct-copy,
.acct-shell button.acct-copy[data-copied="false"],
.acct-shell button.acct-copy[data-copied="true"] {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 3.25rem;
}

.acct-shell button.acct-copy:active,
.acct-shell button.acct-copy[data-copied="true"],
.acct-shell button.acct-copy.acct-copy--armed {
  min-height: 4.25rem !important;
  border-color: #ff4d2e !important;
  background: #ff4d2e !important;
  background-color: #ff4d2e !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.35rem;
}

.acct-shell button.acct-copy:active .acct-copy-idle,
.acct-shell button.acct-copy[data-copied="true"] .acct-copy-idle,
.acct-shell button.acct-copy.acct-copy--armed .acct-copy-idle {
  display: none !important;
}

.acct-shell button.acct-copy:active .acct-copy-done,
.acct-shell button.acct-copy[data-copied="true"] .acct-copy-done,
.acct-shell button.acct-copy.acct-copy--armed .acct-copy-done {
  display: inline !important;
  color: #fff !important;
  font-family: ui-sans-serif, system-ui, sans-serif !important;
}

p#receipt-copied-banner.acct-copied-banner--float,
p#receipt-copied-banner.acct-copied-banner--float[data-on="false"] {
  display: none !important;
  pointer-events: none;
}

p#receipt-copied-banner.acct-copied-banner--float[data-on="true"] {
  display: block !important;
  position: fixed !important;
  z-index: 9999 !important;
  top: 4.6rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(22rem, calc(100vw - 1.5rem)) !important;
  height: auto !important;
  min-height: 3.25rem !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 1rem 1.15rem !important;
  background: #ff4d2e !important;
  background-color: #ff4d2e !important;
  color: #fff !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  pointer-events: none !important;
}

.acct-copied,
.acct-copied[data-on="true"],
.acct-copied[data-on="false"] {
  display: none !important;
}

.acct-copy-fallback {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--fb-paper-2, #eae3d8);
  border-radius: 0.8rem;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
}

.acct-upload {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.acct-upload span {
  color: var(--fb-ink-700, #3d3832);
}

.acct-upload input {
  font: inherit;
  font-size: 0.92rem;
}

.acct-steps {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.acct-steps li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--fb-ink-500, #6f675d);
}

.acct-steps li[data-on="true"] {
  color: var(--fb-ink-900, #17130f);
  font-weight: 600;
}

.acct-steps li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--fb-paper-2, #eae3d8);
  flex: 0 0 auto;
}

.acct-steps li[data-on="true"]::before {
  background: var(--fb-coral-500, #ff4d2e);
}

@media (min-width: 800px) {
  .acct-wide {
    width: min(100%, 52rem);
  }

  .acct-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

/* Pricing header · shop step */
.acct-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.acct-price {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--fo-radius-card);
  background: var(--fo-price-burst);
  color: var(--fo-on-ink);
  box-shadow: var(--fo-price-shadow);
  font-variant-numeric: tabular-nums;
}

.acct-price-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.acct-price-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.acct-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.3rem 0.7rem;
  border-radius: var(--fo-radius-pill);
  border: 1px solid var(--fo-price-glass-line);
  background: var(--fo-price-glass);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color var(--fo-move) var(--fo-ease-out);
}

.acct-price-pill[data-on="true"] {
  border-color: transparent;
  background: var(--fo-accent);
}

.acct-price-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: var(--fo-radius-pill);
  background: var(--fo-on-ink);
}

.acct-price-track {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.acct-price-rail {
  position: relative;
  height: 0.3rem;
  border-radius: var(--fo-radius-pill);
  background: var(--fo-price-glass);
  overflow: hidden;
}

.acct-price-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--fo-on-ink);
  transition: width var(--fo-move) var(--fo-ease-out);
}

.acct-price-stops {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fo-on-ink-muted);
}

.acct-price-stops li {
  transition: color var(--fo-move) var(--fo-ease-out);
}

.acct-price-stops li[data-on="true"] {
  color: var(--fo-on-ink);
}

.acct-price-stops li[data-current="true"] {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.acct-price-status {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
}

.acct-price-status-glyph {
  flex: none;
}

.acct-price-list {
  padding: 0 0.15rem;
  font-variant-numeric: tabular-nums;
}

.acct-price-list summary {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.acct-price-list[open] summary {
  margin-bottom: 0.4rem;
}

.acct-price-lead,
.acct-price-foot {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--fo-text-2);
  text-wrap: pretty;
}

.acct-price-tables {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.acct-price-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--fo-line-row);
  border-radius: var(--fo-radius-input);
  background: var(--fo-card);
  color: var(--fo-text);
}

.acct-price-table caption {
  padding: 0 0 0.35rem;
  caption-side: top;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fo-text-2);
}

.acct-price-table th,
.acct-price-table td {
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
  transition:
    background-color var(--fo-move) var(--fo-ease-out),
    color var(--fo-move) var(--fo-ease-out);
}

.acct-price-table tr + tr th,
.acct-price-table tr + tr td {
  border-top: 1px solid var(--fo-line-row);
}

.acct-price-table th {
  text-align: left;
  font-weight: 500;
  color: var(--fo-text-2);
}

.acct-price-table td {
  text-align: right;
  font-weight: 700;
}

.acct-price-table tr[data-on="true"] th,
.acct-price-table tr[data-on="true"] td {
  background: var(--fo-accent-soft);
  color: var(--fo-accent-text);
  font-weight: 700;
}

/* Shop step spacing, search and toolbar */
.acct-shell--shop .acct-form {
  gap: 1.25rem;
}

.acct-shell--shop .acct-title {
  margin-bottom: -0.25rem;
}

.acct-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 -0.15rem;
  padding: 0.5rem 0.15rem;
  background: var(--fo-canvas);
}

.acct-toolbar .acct-filters {
  position: static;
  margin: 0;
  padding: 0;
  background: transparent;
}

.acct-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0 0.9rem;
  border-radius: var(--fo-radius-pill);
  border: 1px solid var(--fo-line-row);
  background: var(--fo-card);
  color: var(--fo-text-2);
}

.acct-search:focus-within {
  border-color: var(--fo-text);
}

.acct-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--fo-text);
  font: inherit;
  font-size: 0.92rem;
}

.acct-shell--shop .acct-shelf {
  gap: 1.75rem;
}

.acct-shell--shop .acct-group {
  gap: 0.75rem;
}

.acct-shell--shop .acct-grid {
  gap: 0.75rem;
}

.acct-shell--shop .acct-product {
  padding: 0.5rem 0.5rem 0.7rem;
}

@media (min-width: 640px) {
  .acct-price {
    padding: 1.25rem 1.4rem;
  }

  .acct-price-tables {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .acct-toolbar {
    flex-direction: row;
    align-items: center;
  }

  .acct-search {
    flex: 0 0 15rem;
  }

  .acct-toolbar .acct-filters {
    flex: 1;
    min-width: 0;
  }
}

@media (min-width: 800px) {
  .acct-shell--shop .acct-grid {
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acct-price-pill,
  .acct-price-fill,
  .acct-price-stops li,
  .acct-price-table th,
  .acct-price-table td {
    transition: none;
  }
}
