:root {
  --pt-green: #25d366;
  --pt-green-hover: #20bd5a;
  --pt-forest: #103928;
  --pt-ink: #111b21;
  --pt-muted: #667781;
  --pt-cream: #fcf5eb;
  --pt-line: #e9edef;
  --pt-radius: 16px;
  --pt-radius-pill: 50px;
}

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

body.pt-signup-page {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--pt-ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

.pt-signup-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pt-signup-aside {
  background: linear-gradient(160deg, var(--pt-cream) 0%, #fff 45%, rgba(37, 211, 102, 0.08) 100%);
  border-right: 1px solid var(--pt-line);
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pt-signup-aside-inner {
  max-width: 440px;
  margin: 0 auto;
}

.pt-signup-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pt-forest);
  background: rgba(37, 211, 102, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.pt-signup-aside h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--pt-ink);
}

.pt-signup-aside h1 span {
  color: var(--pt-forest);
}

.pt-signup-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 2rem;
}

.pt-signup-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.pt-signup-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #334155;
}

.pt-signup-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  color: var(--pt-forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}

.pt-signup-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.pt-signup-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.pt-signup-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pt-signup-logo {
  max-height: 60px;
  width: auto;
  max-width: 300px;
}

.pt-signup-back {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pt-forest);
  text-decoration: none;
}

.pt-signup-back:hover {
  color: var(--pt-ink);
  text-decoration: underline;
}

.pt-signup-card h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.pt-signup-sub {
  font-size: 0.95rem;
  color: var(--pt-muted);
  margin: 0 0 1.75rem;
}

.pt-alerts {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.pt-alert {
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid transparent;
}

.pt-alert--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.pt-alert--success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.pt-alert--info,
.pt-alert--warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.pt-field {
  margin-bottom: 1.1rem;
}

.pt-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

.pt-field label .req {
  color: #dc2626;
}

.pt-input {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--pt-ink);
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pt-input:focus {
  outline: none;
  border-color: var(--pt-green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}

.pt-phone-wrap {
  position: relative;
  overflow: visible;
}

.pt-phone-wrap .iti {
  width: 100%;
  display: block;
}

.pt-phone-wrap .iti__flag {
  background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .pt-phone-wrap .iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/img/flags@2x.png");
  }
}

/* Unified phone field — separate dial code layout */
.pt-phone-wrap .iti.iti--separate-dial-code {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid var(--pt-line);
  border-radius: 10px;
  background: #fff;
  overflow: visible;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pt-phone-wrap .iti.iti--separate-dial-code:focus-within {
  border-color: var(--pt-green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}

.pt-phone-wrap .iti.iti--separate-dial-code .iti__flag-container {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  flex: 0 0 auto;
  border-right: 1px solid var(--pt-line);
  background: #f8faf9;
  border-radius: 10px 0 0 10px;
  cursor: pointer;
}

.pt-phone-wrap .iti.iti--separate-dial-code .iti__selected-flag {
  height: 48px;
  padding: 0 12px;
  background: transparent !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pt-phone-wrap .iti.iti--separate-dial-code .iti__selected-dial-code {
  margin-left: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--pt-ink);
}

.pt-phone-wrap .iti.iti--separate-dial-code .iti__arrow {
  border-top-color: var(--pt-muted);
  margin-left: 4px;
}

.pt-phone-wrap .iti.iti--separate-dial-code .iti__flag-container:hover .iti__selected-flag {
  background-color: rgba(37, 211, 102, 0.06) !important;
}

.pt-phone-wrap .iti.iti--separate-dial-code input,
.pt-phone-wrap .iti.iti--separate-dial-code input[type="tel"] {
  flex: 1;
  min-width: 0;
  width: auto !important;
  height: 48px !important;
  margin-left: 0 !important;
  padding: 0 12px !important;
  border: none !important;
  border-radius: 0 10px 10px 0 !important;
  background: transparent !important;
  font-size: 1rem !important;
  box-shadow: none !important;
}

.pt-phone-wrap .iti.iti--separate-dial-code input:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

.pt-phone-wrap .iti__country-list {
  z-index: 10050;
  margin-top: 6px;
  border: 1px solid var(--pt-line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(17, 27, 33, 0.12);
  font-size: 0.95rem;
  max-height: min(280px, 50vh);
  width: 320px;
  max-width: calc(100vw - 2rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body > .iti--container {
  z-index: 10050;
}

body > .iti--container .iti__country-list {
  z-index: 10050;
  border: 1px solid var(--pt-line);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(17, 27, 33, 0.12);
  font-size: 0.95rem;
  max-height: min(280px, 50vh);
  width: 320px;
  max-width: calc(100vw - 2rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pt-phone-wrap .iti__country.iti__highlight {
  background-color: rgba(37, 211, 102, 0.1);
}

.pt-phone-wrap .iti__divider {
  border-bottom-color: var(--pt-line);
}

.pt-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pt-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #475569;
  margin: 1.25rem 0 1.5rem;
}

.pt-checkbox input {
  margin-top: 0.2rem;
  accent-color: var(--pt-green);
}

.pt-submit {
  width: 100%;
  height: 50px;
  border: 1px solid var(--pt-ink);
  border-radius: var(--pt-radius-pill);
  background: var(--pt-green);
  color: var(--pt-ink);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.pt-submit:hover {
  background: var(--pt-green-hover);
  opacity: 0.95;
}

.pt-submit:focus-visible {
  outline: 2px solid var(--pt-green);
  outline-offset: 2px;
}

.pt-signup-foot {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--pt-line);
  font-size: 0.92rem;
  color: var(--pt-muted);
  text-align: center;
}

.pt-signup-foot a {
  color: var(--pt-forest);
  font-weight: 600;
  text-decoration: none;
}

.pt-signup-foot a:hover {
  text-decoration: underline;
}

.pt-legal {
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #94a3b8;
  text-align: center;
}

.pt-legal a {
  color: var(--pt-forest);
}

.pt-note {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--pt-muted);
  margin: -0.75rem 0 1.5rem;
  padding: 0.75rem 0.9rem;
  background: rgba(37, 211, 102, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(37, 211, 102, 0.15);
}

.pt-password-wrap {
  position: relative;
}

.pt-password-wrap .pt-input {
  padding-right: 3rem;
}

.pt-password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--pt-muted);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  font-size: 0.85rem;
  font-weight: 500;
}

.pt-password-toggle:hover {
  color: var(--pt-ink);
}

.pt-form-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.25rem 0 1.5rem;
  font-size: 0.88rem;
}

.pt-form-extras label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}

.pt-form-extras input[type="checkbox"] {
  accent-color: var(--pt-green);
}

.pt-form-extras a {
  color: var(--pt-forest);
  font-weight: 600;
  text-decoration: none;
}

.pt-form-extras a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .pt-signup-shell {
    grid-template-columns: 1fr;
  }

  .pt-signup-aside {
    display: none;
  }

  .pt-signup-main {
    padding: 2rem 1.25rem 3rem;
  }
}

@media (max-width: 520px) {
  .pt-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------
   Onboarding — business profile (form left, visual right)
   ------------------------------------------------------------------ */
.pt-onboard-shell {
  grid-template-columns: 1fr 1fr;
}

.pt-onboard-main {
  order: 1;
}

.pt-onboard-visual {
  order: 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(165deg, var(--pt-cream) 0%, #fff 40%, rgba(37, 211, 102, 0.1) 100%);
  border-left: 1px solid var(--pt-line);
  overflow: hidden;
}

.pt-onboard-visual__inner {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pt-onboard-visual__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 280px;
  padding: 2rem;
  text-align: center;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.6) 10px,
    rgba(252, 245, 235, 0.9) 10px,
    rgba(252, 245, 235, 0.9) 20px
  );
  border: 2px dashed #c5cdd1;
  border-radius: var(--pt-radius);
}

.pt-onboard-visual__icon {
  color: var(--pt-muted);
  opacity: 0.75;
}

.pt-onboard-visual__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pt-ink);
}

.pt-onboard-visual__hint {
  font-size: 0.78rem;
  color: var(--pt-muted);
}

.pt-onboard-visual__copy h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  color: var(--pt-ink);
}

.pt-onboard-visual__copy h2 span {
  color: var(--pt-forest);
}

.pt-onboard-visual__copy .pt-signup-lead {
  margin-bottom: 1.25rem;
}

.pt-onboard-card {
  max-width: 480px;
}

.pt-onboard-progress {
  margin-bottom: 1.75rem;
}

.pt-onboard-steps {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.pt-onboard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  min-width: 72px;
}

.pt-onboard-step__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pt-muted);
  background: #fff;
  border: 2px solid var(--pt-line);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.pt-onboard-step.is-active .pt-onboard-step__dot {
  color: var(--pt-ink);
  background: var(--pt-green);
  border-color: var(--pt-ink);
}

.pt-onboard-step.is-complete .pt-onboard-step__dot {
  color: var(--pt-forest);
  background: rgba(37, 211, 102, 0.15);
  border-color: var(--pt-green);
}

.pt-onboard-step__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--pt-muted);
  text-align: center;
  line-height: 1.2;
}

.pt-onboard-step.is-active .pt-onboard-step__label {
  color: var(--pt-forest);
}

.pt-onboard-step__line {
  flex: 1 1 auto;
  height: 2px;
  min-width: 24px;
  margin: 0 0.35rem;
  margin-bottom: 1.1rem;
  background: var(--pt-line);
  border-radius: 1px;
}

.pt-select {
  width: 100%;
  height: 48px;
  padding: 0 2.25rem 0 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--pt-ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667781' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 1rem center;
  border: 1px solid var(--pt-line);
  border-radius: 10px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pt-select:focus {
  outline: none;
  border-color: var(--pt-green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}

.pt-onboard-hint {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--pt-muted);
  margin: 0.5rem 0 1.35rem;
}

@media (max-width: 960px) {
  .pt-onboard-shell {
    grid-template-columns: 1fr;
  }

  .pt-onboard-visual {
    display: none;
  }

  .pt-onboard-main {
    order: 1;
  }

  .pt-category-card {
    max-width: 100%;
  }

  .pt-category-page .pt-signup-main {
    padding: 0.85rem 1rem;
  }
}

/* ------------------------------------------------------------------
   Onboarding — business category selection (single viewport, one scroll)
   ------------------------------------------------------------------ */
html.pt-category-page,
body.pt-category-page {
  height: 100%;
  overflow: hidden;
}

.pt-category-page .pt-signup-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
  overflow: hidden;
  align-items: stretch;
}

.pt-category-page .pt-signup-main {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 1.25rem;
}

.pt-category-page .pt-category-card {
  max-width: 560px;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pt-category-page .pt-signup-top {
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.pt-category-page .pt-signup-logo {
  max-height: 48px;
}

.pt-category-page .pt-onboard-progress {
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.pt-category-page .pt-category-card > h2 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  flex-shrink: 0;
}

.pt-category-page .pt-signup-sub {
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.pt-category-page .pt-alerts {
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}

.pt-category-page #ptCategoryForm {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pt-category-page .pt-onboard-visual {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  position: static;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
}

.pt-category-page .pt-onboard-visual__inner {
  gap: 1rem;
  max-height: 100%;
  overflow: hidden;
}

.pt-category-page .pt-onboard-visual__copy .pt-signup-features {
  display: none;
}

.pt-category-page .pt-onboard-visual__copy h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.pt-category-page .pt-onboard-visual__copy .pt-signup-lead {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.pt-category-card {
  max-width: 560px;
}

.pt-optional {
  font-weight: 500;
  color: var(--pt-muted);
  font-size: 0.82rem;
}

.pt-category-groups {
  display: grid;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 0.35rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scroll-behavior: auto;
}

.pt-category-group__title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pt-forest);
}

.pt-category-grid {
  display: grid;
  gap: 0.65rem;
}

.pt-category-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.pt-category-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.pt-category-option__card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  position: relative;
  z-index: 1;
}

.pt-category-option__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.1);
}

.pt-category-option__body {
  flex: 1;
  min-width: 0;
}

.pt-category-option__label {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--pt-ink);
  margin-bottom: 0.15rem;
}

.pt-category-option__desc {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--pt-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pt-category-option__check {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border: 2px solid var(--pt-line);
  border-radius: 50%;
  position: relative;
}

.pt-category-option input:checked + .pt-category-option__card {
  border-color: var(--pt-green);
  background: rgba(37, 211, 102, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.12);
}

.pt-category-option input:checked + .pt-category-option__card .pt-category-option__check {
  border-color: var(--pt-forest);
  background: var(--pt-green);
}

.pt-category-option input:checked + .pt-category-option__card .pt-category-option__check::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.35rem;
  height: 0.6rem;
  border: solid var(--pt-ink);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -58%) rotate(45deg);
}

.pt-category-option input:focus-visible + .pt-category-option__card {
  outline: 2px solid var(--pt-green);
  outline-offset: 2px;
}

.pt-category-page .pt-field {
  margin-bottom: 0.65rem;
  flex-shrink: 0;
}

.pt-category-hint {
  margin: 0 0 0.75rem;
  flex-shrink: 0;
}

.pt-category-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
  flex-shrink: 0;
}

.pt-category-back {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pt-forest);
  text-decoration: none;
}

.pt-category-back:hover {
  text-decoration: underline;
}

.pt-category-submit {
  width: auto;
  min-width: 220px;
  padding: 0 1.5rem;
}

.pt-category-visual .pt-onboard-visual__inner {
  gap: 1.5rem;
}

.pt-category-preview__phone {
  width: 100%;
  border: 1px solid var(--pt-line);
  border-radius: 18px;
  overflow: hidden;
  background: #ece5dd;
  box-shadow: 0 12px 32px rgba(17, 27, 33, 0.08);
}

.pt-category-preview__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #fff;
  background: #075e54;
}

.pt-category-preview__online {
  opacity: 0.85;
}

.pt-category-preview__chat-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  background: #008069;
  color: #fff;
}

.pt-category-preview__avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
}

.pt-category-preview__chat-head strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
}

.pt-category-preview__chat-head span {
  display: block;
  font-size: 0.72rem;
  opacity: 0.85;
}

.pt-category-preview__screen {
  min-height: 0;
  padding: 0.85rem 0.85rem 1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.03) 0, transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(0, 0, 0, 0.03) 0, transparent 35%),
    #ece5dd;
}

.pt-category-preview__bubble {
  max-width: 92%;
  margin-left: auto;
  background: #fff;
  border-radius: 10px 10px 2px 10px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.pt-category-preview__bubble p {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--pt-ink);
}

.pt-category-preview__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pt-line);
}

.pt-category-preview__menu li {
  padding: 0.55rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.8rem;
  font-weight: 600;
  color: #008069;
}

.pt-category-preview__menu li:last-child {
  border-bottom: none;
}

.pt-category-preview__foot {
  margin: 0;
  padding: 0.55rem 0.85rem 0.75rem;
  font-size: 0.72rem;
  color: var(--pt-muted);
  background: #fff;
  border-top: 1px solid var(--pt-line);
}

.pt-category-preview__foot code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  color: var(--pt-forest);
}

@media (max-width: 520px) {
  .pt-category-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .pt-category-submit {
    width: 100%;
  }
}

/* ------------------------------------------------------------------
   Onboarding — signup complete
   ------------------------------------------------------------------ */
.pt-complete-page .pt-signup-shell {
  min-height: 100vh;
  min-height: 100dvh;
  align-items: stretch;
}

.pt-complete-page .pt-signup-main {
  justify-content: center;
  padding: 1.5rem 1.25rem;
}

.pt-complete-card {
  max-width: 520px;
}

.pt-onboard-step.is-active.is-complete .pt-onboard-step__dot {
  color: var(--pt-ink);
  background: var(--pt-green);
  border-color: var(--pt-ink);
}

.pt-complete-hero {
  text-align: center;
  margin-bottom: 1.35rem;
}

.pt-complete-hero__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.pt-complete-hero__ring {
  stroke: rgba(37, 211, 102, 0.25);
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: pt-complete-ring 0.65s ease forwards 0.1s;
}

.pt-complete-hero__check {
  stroke: var(--pt-forest);
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: pt-complete-check 0.45s ease forwards 0.55s;
}

@keyframes pt-complete-ring {
  to { stroke-dashoffset: 0; }
}

@keyframes pt-complete-check {
  to { stroke-dashoffset: 0; }
}

.pt-complete-hero h2 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
}

.pt-complete-sub {
  margin-bottom: 0;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.pt-complete-summary {
  border: 1px solid var(--pt-line);
  border-radius: 14px;
  background: #fafcfb;
  padding: 0.35rem 0;
  margin-bottom: 1.25rem;
}

.pt-complete-summary__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--pt-line);
  font-size: 0.88rem;
}

.pt-complete-summary__row:last-child {
  border-bottom: none;
}

.pt-complete-summary__label {
  color: var(--pt-muted);
  flex-shrink: 0;
}

.pt-complete-summary__row strong {
  text-align: right;
  font-weight: 650;
  color: var(--pt-ink);
}

.pt-complete-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  color: var(--pt-forest);
  background: rgba(37, 211, 102, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.pt-complete-host {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.pt-complete-host code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  color: var(--pt-forest);
  word-break: break-all;
}

.pt-complete-copy {
  border: 1px solid var(--pt-line);
  background: #fff;
  color: var(--pt-forest);
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pt-complete-copy:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: var(--pt-green);
}

.pt-complete-checklist {
  margin-bottom: 1.35rem;
}

.pt-complete-checklist__title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pt-forest);
}

.pt-complete-checklist__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.pt-complete-checklist__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--pt-line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.86rem;
  color: var(--pt-ink);
}

.pt-complete-checklist__item.is-done {
  background: rgba(37, 211, 102, 0.06);
  border-color: rgba(37, 211, 102, 0.25);
}

.pt-complete-checklist__mark {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  background: #f1f5f9;
  color: var(--pt-muted);
}

.pt-complete-checklist__item.is-done .pt-complete-checklist__mark {
  background: var(--pt-green);
  color: var(--pt-ink);
}

.pt-complete-checklist__link {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--pt-forest);
  text-decoration: none;
  white-space: nowrap;
}

.pt-complete-checklist__link:hover {
  text-decoration: underline;
}

.pt-complete-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.pt-complete-cta {
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pt-complete-secondary {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pt-forest);
  text-decoration: none;
}

.pt-complete-secondary:hover {
  text-decoration: underline;
}

.pt-complete-redirect {
  text-align: center;
  font-size: 0.82rem;
  color: var(--pt-muted);
  margin: 0 0 0.75rem;
}

.pt-complete-redirect__cancel {
  border: none;
  background: none;
  color: var(--pt-forest);
  font-weight: 650;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0 0.25rem;
}

.pt-complete-visual .pt-onboard-visual__inner {
  gap: 1.25rem;
}

.pt-complete-preview {
  width: 100%;
}

.pt-complete-features {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .pt-complete-page .pt-signup-main {
    padding: 1.25rem 1rem 2rem;
  }

  .pt-complete-hero h2 {
    font-size: 1.35rem;
  }

  .pt-complete-checklist__item {
    grid-template-columns: auto 1fr;
  }

  .pt-complete-checklist__link {
    grid-column: 2;
    justify-self: start;
    margin-top: -0.15rem;
  }
}
