
/* Keep plugin typography isolated from theme/mobile heading rules on standalone pages. */
body.ptq-stdp-standalone .ptq-stdp-save-label,
body.ptq-stdp-standalone .ptq-stdp-couple-names,
body.ptq-stdp-standalone .ptq-stdp-lead,
body.ptq-stdp-standalone .ptq-stdp-date,
body.ptq-stdp-standalone .ptq-stdp-weekday,
body.ptq-stdp-standalone .ptq-stdp-location,
body.ptq-stdp-standalone .ptq-stdp-countdown-value,
body.ptq-stdp-standalone .ptq-stdp-countdown-label {
  font-style: normal !important;
}

/* Create Flow SaaS Polish */
html.ptq-stdp-no-zoom,
body.ptq-stdp-standalone {
  width: 100%;
  overflow-x: clip !important;
}

body.ptq-stdp-standalone .ptq-stdp-create-layout,
body.ptq-stdp-standalone .ptq-stdp-create-stage,
body.ptq-stdp-standalone .ptq-stdp-create-step,
body.ptq-stdp-standalone .ptq-stdp-create-question,
body.ptq-stdp-standalone .ptq-stdp-create-question-inputs,
body.ptq-stdp-standalone .ptq-stdp-style-picker-grid {
  min-width: 0;
  max-width: 100%;
}

.ptq-stdp-form--account.ptq-stdp-create-flow {
  --ptq-flow-ink: #0f172a;
  --ptq-flow-muted: #64748b;
  --ptq-flow-line: #dbe3ee;
  --ptq-flow-line-strong: #c8d4e3;
  --ptq-flow-surface: #ffffff;
  --ptq-flow-surface-soft: #f8fbff;
  --ptq-flow-blue: #1696ff;
  --ptq-flow-blue-soft: #edf6ff;
  --ptq-flow-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
  position: relative;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-stage {
  gap: 14px;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-status,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-rail-copy,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-tip,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-progress-item,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-picker {
  border-color: var(--ptq-flow-line);
  background: var(--ptq-flow-surface);
  box-shadow: var(--ptq-flow-shadow);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-section-title,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-title {
  letter-spacing: -0.03em;
  color: var(--ptq-flow-ink);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-section-title {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.02;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-subtitle,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-tip p,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-summary p,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-detail p {
  color: var(--ptq-flow-muted);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question {
  gap: 20px;
  border-radius: 28px;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-meta,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-inputs,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-panel,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-detail {
  gap: 12px;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-title {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.04;
}

.ptq-stdp-form--account.ptq-stdp-create-flow label > span,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-module-title,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-summary strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--ptq-flow-ink);
}

.ptq-stdp-form--account.ptq-stdp-create-flow input:not([type="radio"]):not([type="hidden"]),
.ptq-stdp-form--account.ptq-stdp-create-flow select,
.ptq-stdp-form--account.ptq-stdp-create-flow textarea {
  min-height: 54px;
  border: 1px solid var(--ptq-flow-line);
  border-radius: 16px;
  background: var(--ptq-flow-surface-soft);
  color: var(--ptq-flow-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.ptq-stdp-form--account.ptq-stdp-create-flow textarea {
  min-height: 108px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
}

.ptq-stdp-form--account.ptq-stdp-create-flow input:not([type="radio"]):not([type="hidden"]):focus,
.ptq-stdp-form--account.ptq-stdp-create-flow select:focus,
.ptq-stdp-form--account.ptq-stdp-create-flow textarea:focus {
  outline: none;
  border-color: var(--ptq-flow-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 150, 255, 0.12);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-card {
  min-height: 104px;
  padding: 18px;
  border-color: var(--ptq-flow-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-card strong {
  font-size: 15px;
  line-height: 1.22;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-card span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ptq-flow-muted);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice input:checked + .ptq-stdp-create-choice-card {
  border-color: var(--ptq-flow-blue);
  background: var(--ptq-flow-blue-soft);
  color: var(--ptq-flow-ink);
  box-shadow: 0 0 0 3px rgba(22, 150, 255, 0.1);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice input:checked + .ptq-stdp-create-choice-card span {
  color: #315a7d;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--announcements {
  gap: 10px;
  max-width: 520px;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--announcements .ptq-stdp-create-choice-card {
  min-height: 0;
  padding: 15px 16px;
  border-radius: 18px;
  justify-items: start;
  text-align: left;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--binary {
  max-width: 340px;
  gap: 10px;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--binary .ptq-stdp-create-choice-card {
  min-height: 74px;
  padding: 14px 12px;
  justify-items: center;
  text-align: center;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-module-card,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-timeline-row,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-custom-field-row {
  border: 1px solid var(--ptq-flow-line);
  border-radius: 18px;
  background: var(--ptq-flow-surface-soft);
  box-shadow: none;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-summary {
  padding: 16px 18px;
  border-color: rgba(22, 150, 255, 0.2);
  border-radius: 18px;
  background: var(--ptq-flow-blue-soft);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice-card {
  opacity: 1;
  filter: none;
  padding: 10px;
  border: 1px solid var(--ptq-flow-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice input:checked + .ptq-stdp-style-choice-card {
  transform: translateY(-2px);
  border-color: var(--ptq-flow-blue);
  box-shadow: 0 0 0 3px rgba(22, 150, 255, 0.1), 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice-thumb {
  border: 1px solid var(--ptq-flow-line);
}

@keyframes ptq-stdp-flow-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-status,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question:not([hidden]) {
  animation: ptq-stdp-flow-rise 0.22s ease-out;
}

@media (max-width: 767px) {
  .ptq-stdp-form--account.ptq-stdp-create-flow {
    background: transparent;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-status {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question {
    border-radius: 26px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-title {
    font-size: 26px;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-card {
    border-radius: 18px;
  }

  .ptq-stdp-create-nav-item.is-generate,
  .ptq-stdp-create-question-nav button[type="submit"].is-generate {
    display: inline-flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
}
.ptq-stdp-public-card,
.ptq-stdp-public-card * {
  text-rendering: auto;
  font-kerning: auto;
  font-optical-sizing: auto;
  font-synthesis: none;
}

body.ptq-stdp-standalone,
body.ptq-stdp-standalone * {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.ptq-stdp-shell,
.ptq-stdp-page-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.ptq-stdp-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(20, 20, 20, 0.08);
  padding: 28px;
}

.ptq-stdp-title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.1;
}

.ptq-stdp-subtitle {
  margin: 0 0 22px;
  color: #666;
}

.ptq-stdp-form {
  display: grid;
  gap: 16px;
}

.ptq-stdp-form label {
  display: grid;
  gap: 8px;
}

.ptq-stdp-form span {
  font-size: 14px;
  font-weight: 600;
}

.ptq-stdp-form input,
.ptq-stdp-form select,
.ptq-stdp-form textarea,
.ptq-stdp-form button {
  width: 100%;
  border-radius: 14px;
  min-height: 48px;
  border: 1px solid #d9d9d9;
  padding: 0 14px;
  box-sizing: border-box;
}

.ptq-stdp-form button {
  background: #111;
  color: #fff;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}

.ptq-stdp-style-picker {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.ptq-stdp-style-picker legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.ptq-stdp-style-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 200px));
  justify-content: flex-start;
  gap: 14px;
}

.ptq-stdp-style-choice {
  display: block;
}

.ptq-stdp-style-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ptq-stdp-style-choice-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  opacity: 0.52;
  filter: grayscale(1);
  transition: opacity .18s ease, transform .18s ease, filter .18s ease;
  cursor: pointer;
}

.ptq-stdp-style-choice input:checked + .ptq-stdp-style-choice-card {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-1px);
}

.ptq-stdp-style-choice-thumb {
  width: 200px;
  max-width: 100%;
  height: 300px;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f1ed;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ptq-stdp-style-choice-thumb img,
.ptq-stdp-style-choice-placeholder {
  width: 100%;
  height: 100%;
}

.ptq-stdp-style-choice-thumb img {
  object-fit: cover;
  display: block;
}

.ptq-stdp-style-choice-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  line-height: 1.1;
}

.ptq-stdp-style-choice-label {
  font-size: 14px;
  line-height: 1.25;
  color: #2b2b2b;
}

.ptq-stdp-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 20px;
}

.ptq-stdp-links a {
  text-decoration: none;
}

.ptq-stdp-notice {
  margin: 0 auto 18px;
}

.ptq-stdp-public-shell {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  justify-content: center;
  padding: 0;
  background: var(--ptq-page-bg, #f5efe7);
  border-radius: 28px;
  isolation: isolate;
}

.ptq-stdp-public-preview-shell {
  min-height: 720px;
  border-radius: 22px;
}

.ptq-stdp-background-overlay,
.ptq-stdp-background-frame {
  position: absolute;
  inset: 0;
}

.ptq-stdp-background-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateZ(0);
}

.ptq-stdp-public-preview-shell .ptq-stdp-background-layer {
  height: 100%;
}

.ptq-stdp-background-frame {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  background: transparent;
}

.ptq-stdp-background-overlay {
  pointer-events: none;
}

.ptq-stdp-background-layer.no-animation .ptq-stdp-background-frame {
  display: none;
}

.ptq-stdp-public-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: inherit;
  padding: var(--ptq-card-outer-gap, 16px);
  box-sizing: border-box;
}

.ptq-stdp-public-shell[data-content-position="center"] .ptq-stdp-public-stack {
  padding-top: max(150px, var(--ptq-card-outer-gap, 16px));
}

.ptq-stdp-public-shell[data-content-position="center-space-bottom"] .ptq-stdp-public-stack {
  padding-top: max(40px, var(--ptq-card-outer-gap, 16px));
  padding-bottom: max(clamp(90px, 14vh, 180px), var(--ptq-card-outer-gap, 16px));
}

.ptq-stdp-public-shell[data-content-position="bottom"] .ptq-stdp-public-stack {
  padding-top: max(clamp(220px, 28vh, 420px), var(--ptq-card-outer-gap, 16px));
  padding-bottom: var(--ptq-card-outer-gap, 16px);
}

.ptq-stdp-public-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 920px;
  background: var(--ptq-card-bg, #fff);
  border-radius: var(--ptq-card-radius, 32px);
  box-shadow: var(--ptq-card-shadow, none), var(--ptq-card-border-shadow, none);
  padding: var(--ptq-card-inner-padding, 48px);
  text-align: center;
  box-sizing: border-box;
}

.ptq-stdp-public-card::before,
.ptq-stdp-public-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.ptq-stdp-public-card::before {
  background-image: var(--ptq-card-texture-image, none);
  background-repeat: var(--ptq-card-texture-repeat, repeat);
  background-size: var(--ptq-card-texture-size, auto);
  background-position: center;
  opacity: 1;
  z-index: -1;
}

.ptq-stdp-public-card::after {
  box-shadow: var(--ptq-card-border-shadow, none);
}

.ptq-stdp-public-card > * {
  position: relative;
  z-index: 1;
}

.ptq-stdp-public-card--plain {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: min(var(--ptq-card-inner-padding, 48px), 26px);
}

.ptq-stdp-public-card--plain::before,
.ptq-stdp-public-card--plain::after {
  display: none;
}

.ptq-stdp-public-card--round {
  width: min(100%, 720px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ptq-stdp-public-card--pill {
  width: min(100%, 420px);
  aspect-ratio: 1 / 2;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--ptq-card-inner-padding, 48px) * 1.2) max(24px, calc(var(--ptq-card-inner-padding, 48px) * 0.65));
}

.ptq-stdp-save-label {
  margin-bottom: 18px;
  font-family: var(--ptq-eyebrow-font, serif);
  color: var(--ptq-eyebrow-color, #9d7a4b);
  font-size: clamp(18px, calc(var(--ptq-eyebrow-size, 24px) * 0.75), var(--ptq-eyebrow-size, 24px));
  font-weight: var(--ptq-eyebrow-weight, 600);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ptq-stdp-couple-names {
  margin: 0 0 18px;
  font-family: var(--ptq-names-font, serif);
  color: var(--ptq-names-color, #1f1f1f);
  font-size: clamp(34px, calc(var(--ptq-names-size, 56px) * 0.62), var(--ptq-names-size, 56px));
  font-weight: var(--ptq-names-weight, 600);
  line-height: 1.05;
}

.ptq-stdp-lead {
  margin-bottom: 32px;
  font-family: var(--ptq-lead-font, sans-serif);
  color: var(--ptq-lead-color, #5f5a55);
  font-size: clamp(18px, calc(var(--ptq-lead-size, 22px) * 0.85), var(--ptq-lead-size, 22px));
  font-weight: var(--ptq-lead-weight, 500);
}

.ptq-stdp-date-block {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.ptq-stdp-date {
  font-family: var(--ptq-date-font, serif);
  color: var(--ptq-date-color, #1f1f1f);
  font-size: clamp(22px, calc(var(--ptq-date-size, 28px) * 0.85), var(--ptq-date-size, 28px));
  font-weight: var(--ptq-date-weight, 600);
}

.ptq-stdp-weekday {
  font-family: var(--ptq-weekday-font, sans-serif);
  color: var(--ptq-weekday-color, #8e857d);
  font-size: clamp(14px, calc(var(--ptq-weekday-size, 18px) * 0.9), var(--ptq-weekday-size, 18px));
  font-weight: var(--ptq-weekday-weight, 500);
}

.ptq-stdp-location {
  font-family: var(--ptq-location-font, sans-serif);
  color: var(--ptq-location-color, #6f675f);
  font-size: clamp(14px, calc(var(--ptq-location-size, 18px) * 0.9), var(--ptq-location-size, 18px));
  font-weight: var(--ptq-location-weight, 500);
}

.ptq-stdp-countdown {
  --ptq-countdown-box-width: clamp(68px, 18vw, 104px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, var(--ptq-countdown-box-width)));
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.ptq-stdp-countdown--three {
  grid-template-columns: repeat(3, minmax(0, var(--ptq-countdown-box-width)));
}

.ptq-stdp-countdown--four {
  grid-template-columns: repeat(4, minmax(0, var(--ptq-countdown-box-width)));
}

.ptq-stdp-countdown-item {
  min-width: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
}

.ptq-stdp-countdown-item[hidden] {
  display: none !important;
}

.ptq-stdp-countdown-value {
  font-family: var(--ptq-count-value-font, serif);
  color: var(--ptq-count-value-color, #1f1f1f);
  font-size: clamp(18px, calc(var(--ptq-count-value-size, 36px) * 0.64), calc(var(--ptq-count-value-size, 36px) * 0.82));
  font-weight: var(--ptq-count-value-weight, 600);
  line-height: 1;
}

.ptq-stdp-countdown-label {
  margin-top: 6px;
  font-family: var(--ptq-count-label-font, sans-serif);
  color: var(--ptq-count-label-color, #8e857d);
  font-size: clamp(9px, calc(var(--ptq-count-label-size, 13px) * 0.82), calc(var(--ptq-count-label-size, 13px) * 0.96));
  font-weight: var(--ptq-count-label-weight, 600);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.ptq-stdp-standalone,
html:has(body.ptq-stdp-standalone) {
  margin: 0;
  min-height: 100%;
}

html.ptq-stdp-no-zoom,
body.ptq-stdp-standalone,
body.ptq-stdp-standalone .ptq-stdp-standalone-page,
body.ptq-stdp-standalone .ptq-stdp-shell,
body.ptq-stdp-standalone .ptq-stdp-public-shell,
body.ptq-stdp-standalone .ptq-stdp-shell-content,
body.ptq-stdp-standalone .ptq-stdp-account-content {
  touch-action: pan-y;
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-x: none;
}

body.ptq-stdp-standalone .ptq-stdp-standalone-page {
  min-height: 100vh;
}

body.ptq-stdp-standalone .ptq-stdp-public-shell {
  min-height: 100vh;
  border-radius: 0;
  padding: clamp(20px, 4vw, 48px);
}

body.ptq-stdp-standalone .ptq-stdp-public-card {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

body.ptq-stdp-standalone .ptq-stdp-public-card--round {
  width: min(100%, 760px);
}

body.ptq-stdp-standalone .ptq-stdp-public-card--pill {
  width: min(88vw, 420px);
}

@media (max-width: 680px) {
  .ptq-stdp-public-shell {
    min-height: auto;
  }

  .ptq-stdp-public-shell[data-content-position="center"] .ptq-stdp-public-stack {
    padding-top: 150px;
  }

  .ptq-stdp-public-card {
    border-radius: min(var(--ptq-card-radius, 32px), 24px);
    padding: 22px 16px;
  }

  .ptq-stdp-public-card--round,
  .ptq-stdp-public-card--pill {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ptq-stdp-public-card--round {
    aspect-ratio: auto;
    min-height: auto;
    border-radius: 34px;
  }

  .ptq-stdp-public-card--pill {
    width: min(88vw, 360px);
    aspect-ratio: 1 / 2;
    border-radius: 999px;
    padding: clamp(40px, 8vh, 72px) clamp(22px, 7vw, 34px);
  }

  .ptq-stdp-countdown {
    --ptq-countdown-box-width: clamp(60px, 21vw, 78px);
    grid-template-columns: repeat(4, minmax(0, var(--ptq-countdown-box-width)));
    justify-content: center;
    gap: 8px;
  }

  .ptq-stdp-countdown--three {
    grid-template-columns: repeat(3, minmax(0, var(--ptq-countdown-box-width)));
  }

  .ptq-stdp-countdown-item {
    border-radius: 14px;
    padding: 12px 6px;
  }

  .ptq-stdp-countdown-value {
    font-size: clamp(15px, calc(var(--ptq-count-value-size, 36px) * 0.48), 22px);
  }

  .ptq-stdp-countdown-label {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .ptq-stdp-save-label,
  .ptq-stdp-couple-names,
  .ptq-stdp-lead,
  .ptq-stdp-date,
  .ptq-stdp-weekday,
  .ptq-stdp-location,
  .ptq-stdp-countdown-value,
  .ptq-stdp-countdown-label {
    text-rendering: auto;
  }

  .ptq-stdp-save-label {
    letter-spacing: 0.12em;
    font-weight: var(--ptq-eyebrow-weight, 600);
  }

  .ptq-stdp-couple-names {
    font-weight: var(--ptq-names-weight, 600);
  }

  .ptq-stdp-lead,
  .ptq-stdp-date,
  .ptq-stdp-weekday,
  .ptq-stdp-location,
  .ptq-stdp-countdown-label {
    font-weight: 500;
  }

  .ptq-stdp-countdown-value {
    line-height: 1.05;
    font-weight: var(--ptq-count-value-weight, 600);
  }
}


.ptq-stdp-public-stack {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}


.ptq-stdp-event-meta {
  margin-top: 2px;
  color: var(--ptq-module-text-color, #5f5a55);
  font-size: clamp(14px, var(--ptq-module-text-size, 17px), 20px);
  letter-spacing: 0.04em;
}

.ptq-stdp-event-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

.ptq-stdp-event-time {
  color: var(--ptq-module-title-color, #111);
  font-size: clamp(18px, var(--ptq-date-size, 22px), 28px);
  margin-bottom: 10px;
}

.ptq-stdp-event-name {
  color: var(--ptq-module-text-color, #5f5a55);
  font-size: clamp(16px, var(--ptq-module-text-size, 17px), 22px);
  font-weight: 700;
}

.ptq-stdp-event-address {
  margin-top: 8px;
  color: var(--ptq-module-text-color, #5f5a55);
  font-size: clamp(15px, var(--ptq-module-text-size, 17px), 21px);
  line-height: 1.6;
}

.ptq-stdp-access-card {
  margin-top: 24px;
}

.ptq-stdp-module-divider {
  display: block;
  justify-content: center;
  margin: var(--ptq-block-spacing, 120px) auto;
  height: 0;
}

.ptq-stdp-module-divider span {
  display: none;
}

.ptq-stdp-module,
.ptq-stdp-page-footer {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.ptq-stdp-module-title {
  margin-bottom: 56px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: clamp(16px, var(--ptq-module-title-size, 20px), 28px);
  color: var(--ptq-module-title-color, #111);
}

.ptq-stdp-timeline {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 10px 0;
}

.ptq-stdp-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(0,0,0,0.18);
  transform: translateX(-50%);
}

.ptq-stdp-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 86px 1fr;
  align-items: center;
  margin: 0 0 28px;
}

.ptq-stdp-timeline-item.is-left .ptq-stdp-timeline-card {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

.ptq-stdp-timeline-item.is-right .ptq-stdp-timeline-card {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}

.ptq-stdp-timeline-dot {
  grid-column: 2;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.ptq-stdp-timeline-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ptq-module-title-color, #111);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  backdrop-filter: blur(6px);
  animation: ptqTimelinePulse 3.6s ease-in-out infinite;
}

.ptq-stdp-timeline-icon svg,
.ptq-stdp-timeline-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.ptq-stdp-timeline-card {
  width: min(100%, 340px);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 24px;
  padding: 18px 22px;
  box-sizing: border-box;
  box-shadow: 0 16px 36px rgba(0,0,0,0.06);
  backdrop-filter: blur(4px);
  position: relative;
}

.ptq-stdp-timeline-item.is-left .ptq-stdp-timeline-card::after,
.ptq-stdp-timeline-item.is-right .ptq-stdp-timeline-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 1px;
  background: rgba(0,0,0,0.18);
}

.ptq-stdp-timeline-item.is-left .ptq-stdp-timeline-card::after {
  right: -28px;
}

.ptq-stdp-timeline-item.is-right .ptq-stdp-timeline-card::after {
  left: -28px;
}

.ptq-stdp-timeline-time {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--ptq-date-color, #1f1f1f);
  margin-bottom: 6px;
}

.ptq-stdp-timeline-name {
  font-size: clamp(14px, var(--ptq-module-text-size, 17px), 20px);
  color: var(--ptq-module-text-color, #5f5a55);
}

@keyframes ptqTimelinePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.ptq-stdp-map-frame-wrap {
  width: 100%;
  margin: 0 auto;
  background: rgba(255,255,255,0.88);
  padding: 16px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

.ptq-stdp-map-frame {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 20px;
}

.ptq-stdp-map-address {
  margin-top: 20px;
  color: var(--ptq-module-text-color, #5f5a55);
  font-size: clamp(15px, var(--ptq-module-text-size, 17px), 20px);
}

.ptq-stdp-form-modules {
  display: grid;
  gap: 18px;
}

.ptq-stdp-module-toggle-card {
  border: 1px solid #e6e6e6;
  border-radius: 20px;
  padding: 18px;
  background: #fafafa;
}

.ptq-stdp-module-toggle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ptq-stdp-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.ptq-stdp-module-body {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.ptq-stdp-help {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.ptq-stdp-timeline-editor {
  display: grid;
  gap: 12px;
}

.ptq-stdp-timeline-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.8fr auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid #ececec;
  border-radius: 18px;
  background: #fff;
}

.ptq-stdp-timeline-row > label {
  display: grid;
  gap: 8px;
}

.ptq-stdp-timeline-row .button-link-delete {
  min-height: 48px;
  align-self: end;
}

.ptq-stdp-timeline-icon-preview {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
}

.ptq-stdp-timeline-icon-preview svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 780px) {
  
.ptq-stdp-event-meta {
  margin-top: 2px;
  color: var(--ptq-module-text-color, #5f5a55);
  font-size: clamp(14px, var(--ptq-module-text-size, 17px), 20px);
  letter-spacing: 0.04em;
}

.ptq-stdp-event-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

.ptq-stdp-event-time {
  color: var(--ptq-module-title-color, #111);
  font-size: clamp(18px, var(--ptq-date-size, 22px), 28px);
  margin-bottom: 10px;
}

.ptq-stdp-event-name {
  color: var(--ptq-module-text-color, #5f5a55);
  font-size: clamp(16px, var(--ptq-module-text-size, 17px), 22px);
  font-weight: 700;
}

.ptq-stdp-event-address {
  margin-top: 8px;
  color: var(--ptq-module-text-color, #5f5a55);
  font-size: clamp(15px, var(--ptq-module-text-size, 17px), 21px);
  line-height: 1.6;
}

.ptq-stdp-access-card {
  margin-top: 24px;
}

.ptq-stdp-module-divider {
    margin: 90px auto;
  }

  .ptq-stdp-timeline::before {
    left: 24px;
    transform: none;
  }

  .ptq-stdp-timeline-item {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .ptq-stdp-timeline-dot {
    grid-column: 1;
  }

  .ptq-stdp-timeline-item.is-left .ptq-stdp-timeline-card,
  .ptq-stdp-timeline-item.is-right .ptq-stdp-timeline-card {
    grid-column: 2;
    justify-self: stretch;
    text-align: left;
  }

  .ptq-stdp-timeline-item.is-left .ptq-stdp-timeline-card::after,
  .ptq-stdp-timeline-item.is-right .ptq-stdp-timeline-card::after {
    display: none;
  }

  .ptq-stdp-map-frame {
    min-height: 320px;
  }

  .ptq-stdp-timeline-row {
    grid-template-columns: 1fr;
  }
}


.ptq-stdp-form textarea,
.ptq-stdp-rsvp-form textarea {
  padding: 12px 14px;
  min-height: 120px;
  resize: vertical;
}

.ptq-stdp-gift-list-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 34px 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  color: var(--ptq-module-text-color, #5f5a55);
  font-size: clamp(16px, var(--ptq-module-text-size, 17px), 22px);
  line-height: 1.7;
  box-sizing: border-box;
}

.ptq-stdp-rsvp-form {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  text-align: left;
  box-sizing: border-box;
}

.ptq-stdp-rsvp-form label {
  display: block !important;
  gap: 8px;
}

.ptq-stdp-rsvp-form span,
.ptq-stdp-rsvp-form legend,
.ptq-stdp-rsvp-check-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  line-height: 1;
  font-size: clamp(14px, var(--ptq-module-text-size, 17px), 20px);
  font-weight: 600;
  color: var(--ptq-module-text-color, #5f5a55);
  margin: 12px;
}

.ptq-stdp-rsvp-form input,
.ptq-stdp-rsvp-form select,
.ptq-stdp-rsvp-form textarea {
  width: 100%;
  border-radius: 14px;
  min-height: 48px;
  border: 1px solid #d9d9d9;
  padding: 0 14px;
  box-sizing: border-box;
  background: #fff;
  color: var(--ptq-module-text-color, #5f5a55);
}

.ptq-stdp-rsvp-allergies {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 16px;
}

.ptq-stdp-rsvp-allergies legend {
  display: block;
  margin-bottom: 14px;
}

.ptq-stdp-rsvp-allergies-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.ptq-stdp-rsvp-check {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 24px;
  white-space: nowrap;
  line-height: 1.2;
}

.ptq-stdp-rsvp-check input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  margin: 0;
  flex: 0 0 18px;
}

.ptq-stdp-rsvp-submit {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  border: 0;
  background: #111;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.ptq-stdp-rsvp-feedback {
  margin: 0 auto 20px;
  max-width: 920px;
  border-radius: 18px;
  padding: 14px 18px;
  text-align: center;
  box-sizing: border-box;
  font-weight: 600;
}

.ptq-stdp-rsvp-feedback--success {
  background: rgba(224, 247, 233, 0.9);
  color: #165f34;
}

.ptq-stdp-rsvp-feedback--error {
  background: rgba(255, 233, 233, 0.92);
  color: #8b1e1e;
}


.ptq-stdp-page-footer {
  margin-top: 140px;
  background: var(--ptq-footer-bg, #efeee8);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.ptq-stdp-page-footer-inner {
  padding: 34px 20px;
  text-align: center;
}

.ptq-stdp-page-footer-names,
.ptq-stdp-page-footer-date {
  color: var(--ptq-footer-text-color, #1f1f1f);
  font-size: clamp(16px, var(--ptq-footer-text-size, 22px), 30px);
  line-height: 1.35;
}

.ptq-stdp-page-footer-date {
  margin-top: 8px;
  opacity: 0.82;
}

.ptq-stdp-responses-page {
  max-width: 1200px;
  margin: 0 auto;
}

.ptq-stdp-responses-table-wrap {
  overflow-x: auto;
}

.ptq-stdp-responses-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.ptq-stdp-responses-table th,
.ptq-stdp-responses-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #ececec;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.ptq-stdp-responses-table th {
  white-space: nowrap;
}

@media (max-width: 780px) {
  .ptq-stdp-event-card {
    padding: 22px 18px;
  }

  .ptq-stdp-rsvp-allergies-grid {
    grid-template-columns: 1fr;
  }

  .ptq-stdp-rsvp-form,
  .ptq-stdp-gift-list-content {
    padding: 22px 18px;
  }
}


/* v8.3.2 timeline left alignment hotfix */
@media (min-width: 780px) {
  .ptq-stdp-timeline-item.is-left {
    display: grid !important;
    align-items: center !important;
    column-gap: 18px !important;
  }

  .ptq-stdp-timeline-item.is-left .ptq-stdp-timeline-card {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    margin: 0 !important;
  }

  .ptq-stdp-timeline-item.is-left .ptq-stdp-timeline-dot {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: center !important;
    margin: 0 !important;
  }
}


/* v8.3.2.2 exact left timeline horizontal alignment fix */
@media (min-width: 780px) {
  .ptq-stdp-timeline-item.is-left {
    display: grid !important;
    grid-auto-flow: dense !important;
    align-items: center !important;
    column-gap: 18px !important;
  }

  .ptq-stdp-timeline-item.is-left .ptq-stdp-timeline-card {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    margin: 0 !important;
  }

  .ptq-stdp-timeline-item.is-left .ptq-stdp-timeline-dot {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: center !important;
    margin: 0 !important;
  }
}


.ptq-stdp-timeline-icon .bi,
.ptq-icon-config-preview-inner .bi {
  font-size: 1.7rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ptq-stdp-timeline-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}


@media (min-width: 780px) {
  .ptq-stdp-timeline-item.is-left {
    display: grid !important;
    align-items: center !important;
    column-gap: 18px !important;
  }

  .ptq-stdp-timeline-item.is-left .ptq-stdp-timeline-card {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    margin: 0 !important;
  }

  .ptq-stdp-timeline-item.is-left .ptq-stdp-timeline-dot {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: center !important;
    margin: 0 !important;
  }
}

@media (max-width: 640px) {
  .ptq-stdp-style-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* v0.8.6 refinement pass */
.ptq-stdp-shell .ptq-stdp-card > .ptq-stdp-form {
  gap: 60px;
}

.ptq-stdp-shell .ptq-stdp-card > .ptq-stdp-form > label,
.ptq-stdp-shell .ptq-stdp-card > .ptq-stdp-form > .ptq-stdp-event-panel > label,
.ptq-stdp-shell .ptq-stdp-card > .ptq-stdp-form > .ptq-stdp-event-panel > .ptq-stdp-module-toggle-card > .ptq-stdp-module-body > label,
.ptq-stdp-shell .ptq-stdp-card > .ptq-stdp-form > fieldset,
.ptq-stdp-shell .ptq-stdp-card > .ptq-stdp-form > .ptq-stdp-form-modules {
  display: grid;
  gap: 20px;
}

.ptq-stdp-public-stack {
  width: min(100%, 600px);
}

.ptq-stdp-public-card,
.ptq-stdp-event-card,
.ptq-stdp-gift-list-content,
.ptq-stdp-map-frame-wrap,
.ptq-stdp-timeline,
.ptq-stdp-module {
  max-width: 600px;
}

body.ptq-stdp-standalone .ptq-stdp-public-card {
  max-width: 600px;
}

.ptq-stdp-public-card {
  max-width: 600px;
  padding: clamp(34px, 6vw, 54px) clamp(24px, 5vw, 44px);
}

.ptq-stdp-save-label {
  margin-bottom: 22px;
}

.ptq-stdp-couple-names {
  margin-bottom: 22px;
  line-height: 0.98;
}

.ptq-stdp-lead {
  margin-bottom: 40px;
  line-height: 1.45;
}

.ptq-stdp-date-block {
  gap: 14px;
  margin-bottom: 42px;
}

.ptq-stdp-date {
  letter-spacing: 0.12em;
}

.ptq-stdp-event-meta,
.ptq-stdp-weekday,
.ptq-stdp-location {
  line-height: 1.5;
}

.ptq-stdp-countdown {
  grid-template-columns: repeat(4, minmax(0, var(--ptq-countdown-box-width)));
  gap: 12px;
  margin-top: 34px;
}

.ptq-stdp-countdown-item {
  padding: 14px 8px 12px;
}

.ptq-stdp-module-title {
  margin-bottom: 44px;
}

.ptq-stdp-module-divider {
  margin: var(--ptq-block-spacing, 120px) auto;
}

.ptq-stdp-public-shell[data-content-position="bottom"] .ptq-stdp-public-stack {
  padding-top: max(clamp(320px, 44vh, 560px), var(--ptq-card-outer-gap, 16px));
}

.ptq-stdp-timeline-icon {
  color: var(--ptq-icon-color, #9d7a4b);
  aspect-ratio: 1 / 1;
}

.ptq-stdp-rsvp-form {
  width: 350px;
  max-width: 350px;
  justify-self: center;
}

.ptq-stdp-rsvp-submit {
  background: var(--ptq-icon-color, #111);
}

.ptq-stdp-rsvp-allergies-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ptq-stdp-rsvp-allergies legend {
  margin-bottom: 18px;
}

.ptq-stdp-page-footer {
  width: 100vw;
  max-width: 100vw;
  margin-top: 140px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  box-shadow: none;
}

.ptq-stdp-page-footer-inner {
  padding: 34px 20px;
}

@media (max-width: 780px) {
  .ptq-stdp-public-card {
    max-width: 600px;
  }

  .ptq-stdp-timeline-item {
    grid-template-columns: 72px 1fr;
    gap: 16px;
    align-items: center;
  }

  .ptq-stdp-timeline-dot {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ptq-stdp-timeline-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-radius: 999px;
  }

  .ptq-stdp-rsvp-form {
    width: 350px;
    max-width: 350px;
  }
}

.ptq-stdp-event-panel {
  display: grid;
  gap: 60px;
}


/* v8.6.1 small fixes */
.ptq-stdp-public-stack {
  width: min(100%, var(--ptq-page-width, 600px));
}

.ptq-stdp-public-card,
.ptq-stdp-event-card,
.ptq-stdp-gift-list-content,
.ptq-stdp-dress-code-content,
.ptq-stdp-map-frame-wrap,
.ptq-stdp-timeline,
.ptq-stdp-module,
body.ptq-stdp-standalone .ptq-stdp-public-card {
  max-width: var(--ptq-page-width, 600px);
}

.ptq-stdp-event-card,
.ptq-stdp-gift-list-content,
.ptq-stdp-dress-code-content,
.ptq-stdp-map-frame-wrap,
.ptq-stdp-timeline-card,
.ptq-stdp-rsvp-form,
.ptq-stdp-rsvp-form input,
.ptq-stdp-rsvp-form select,
.ptq-stdp-rsvp-form textarea {
  background: var(--ptq-box-bg, #ffffff);
}

.ptq-stdp-rsvp-form {
  width: 400px;
  max-width: 400px;
}

.ptq-stdp-rsvp-form label {
  gap: 8px;
}

.ptq-stdp-rsvp-form > label,
.ptq-stdp-rsvp-form .ptq-stdp-rsvp-notes-label {
  display: block;
}

.ptq-stdp-rsvp-form > label > span,
.ptq-stdp-rsvp-form .ptq-stdp-rsvp-notes-label > span {
  display: block;
  margin-bottom: 8px;
}

.ptq-stdp-event-meta,
.ptq-stdp-event-time {
  color: var(--ptq-module-title-color, #111);
}

@media (max-width: 780px) {
  .ptq-stdp-rsvp-form {
    width: 400px;
    max-width: 400px;
  }
}

.ptq-stdp-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.ptq-stdp-choice-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ptq-stdp-choice-card,
.ptq-stdp-account-action {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid #ece7df;
  border-radius: 20px;
  background: #fffdf9;
}

.ptq-stdp-choice-card h3,
.ptq-stdp-account-action h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.ptq-stdp-choice-card p,
.ptq-stdp-account-action p {
  margin: 0;
  color: #5f5f5f;
}

.ptq-stdp-button,
.ptq-stdp-form .ptq-stdp-button,
.ptq-stdp-form button.ptq-stdp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 180px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid #111;
  background: #111;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  box-sizing: border-box;
}

.ptq-stdp-button--secondary,
.ptq-stdp-form .ptq-stdp-button--secondary,
.ptq-stdp-form button.ptq-stdp-button--secondary {
  background: #fff;
  color: #111 !important;
}

.ptq-stdp-button--buy,
.ptq-stdp-form .ptq-stdp-button--buy,
.ptq-stdp-form button.ptq-stdp-button--buy {
  min-width: 220px;
  font-size: 18px;
}

.ptq-stdp-account-project.is-highlighted {
  border: 2px solid #111;
}

.ptq-stdp-account-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3efe8;
  font-size: 13px;
  font-weight: 700;
}

.ptq-stdp-account-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .ptq-stdp-account-actions {
    grid-template-columns: 1fr;
  }

  .ptq-stdp-button,
  .ptq-stdp-form .ptq-stdp-button,
  .ptq-stdp-form button.ptq-stdp-button {
    width: 100%;
  }
}

.ptq-stdp-account-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  margin-top: 24px;
  align-items: start;
}

.ptq-stdp-account-sidebar {
  position: sticky;
  top: 24px;
}

.ptq-stdp-account-sidebar-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e7dfd4;
  border-radius: 24px;
  background: #f7f3ec;
}

.ptq-stdp-account-sidebar-title,
.ptq-stdp-account-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e655b;
}

.ptq-stdp-account-nav-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 0 18px;
  border: 2px solid #111;
  border-radius: 22px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  box-sizing: border-box;
}

.ptq-stdp-account-nav-button.is-active {
  background: #111;
  color: #fff;
}

.ptq-stdp-account-nav-button i,
.ptq-stdp-account-mobile-item i,
.ptq-stdp-account-mobile-buy-button i {
  font-size: 18px;
}

.ptq-stdp-account-buy-form {
  margin: 0;
}

.ptq-stdp-account-nav-button--buy {
  width: 100%;
  justify-content: center;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.ptq-stdp-account-content {
  display: grid;
  gap: 18px;
}

.ptq-stdp-account-hero,
.ptq-stdp-account-section-card,
.ptq-stdp-account-project-switcher {
  padding: 24px;
  border: 1px solid #ece7df;
  border-radius: 24px;
  background: #fffdf9;
}

.ptq-stdp-account-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.ptq-stdp-account-project-title {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.ptq-stdp-account-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.ptq-stdp-account-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f7f3ec;
  font-size: 13px;
  font-weight: 700;
}

.ptq-stdp-account-project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.ptq-stdp-account-project-chip {
  display: grid;
  gap: 4px;
  min-width: 180px;
  padding: 14px 16px;
  border: 1px solid #d8d0c4;
  border-radius: 18px;
  background: #fff;
  color: #111;
  text-decoration: none;
}

.ptq-stdp-account-project-chip.is-active {
  border-width: 2px;
  border-color: #111;
}

.ptq-stdp-account-project-chip-title {
  font-weight: 700;
}

.ptq-stdp-account-project-chip-status {
  font-size: 13px;
  color: #6b6258;
}

.ptq-stdp-account-section-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.ptq-stdp-account-section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #111;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.ptq-stdp-account-section-body {
  display: grid;
  gap: 14px;
}

.ptq-stdp-account-section-body h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.1;
}

.ptq-stdp-account-section-body p {
  margin: 0;
  color: #5f5f5f;
}

.ptq-stdp-account-mobilebar {
  display: none;
}

@media (max-width: 991px) {
  .ptq-stdp-account-layout {
    grid-template-columns: 1fr;
  }

  .ptq-stdp-account-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .ptq-stdp-account-sidebar {
    display: none;
  }

  .ptq-stdp-account-hero,
  .ptq-stdp-account-section-card,
  .ptq-stdp-account-project-switcher {
    padding: 18px;
    border-radius: 20px;
  }

  .ptq-stdp-account-project-title {
    font-size: 24px;
  }

  .ptq-stdp-account-hero {
    display: grid;
  }

  .ptq-stdp-account-section-card {
    grid-template-columns: 1fr;
  }

  .ptq-stdp-account-section-kicker {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 22px;
  }

  .ptq-stdp-account-section-body h3 {
    font-size: 24px;
  }

  .ptq-stdp-shell {
    padding-bottom: 110px;
  }

  .ptq-stdp-account-mobilebar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr 1fr;
    gap: 8px;
    padding: 10px;
    border: 1px solid #d8d0c4;
    border-radius: 24px;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    backdrop-filter: blur(8px);
  }

  .ptq-stdp-account-mobile-item,
  .ptq-stdp-account-mobile-buy {
    min-width: 0;
  }

  .ptq-stdp-account-mobile-item {
    display: grid;
    place-items: center;
    gap: 4px;
    min-height: 58px;
    padding: 6px;
    border-radius: 18px;
    color: #111;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
  }

  .ptq-stdp-account-mobile-item.is-active {
    background: #f3efe8;
  }

  .ptq-stdp-account-mobile-buy {
    margin: 0;
  }

  .ptq-stdp-account-mobile-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 58px;
    padding: 0 14px;
    border: 0;
    border-radius: 18px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
  }
}


body.ptq-stdp-account-page .woocommerce-MyAccount-navigation {
  display: none !important;
}

body.ptq-stdp-account-page .woocommerce-MyAccount-content {
  width: 100% !important;
  float: none !important;
}

body.ptq-stdp-account-page .woocommerce-MyAccount-content .ptq-stdp-shell {
  max-width: 1440px;
}

.ptq-stdp-card--embedded {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ptq-stdp-account-section-body > .ptq-stdp-shell {
  padding: 0;
}

.ptq-stdp-account-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ptq-stdp-account-home-buy {
  padding: 18px 20px;
  border-radius: 18px;
  background: #f7f3ec;
}

.ptq-stdp-account-section-card--welcome .ptq-stdp-account-section-kicker {
  font-size: 24px;
}

.ptq-stdp-account-preview-frame-wrap {
  width: 100%;
  border: 1px solid #e7dfd4;
  border-radius: 22px;
  overflow: hidden;
  background: #f7f3ec;
}

.ptq-stdp-account-preview-frame {
  display: block;
  width: 100%;
  min-height: 820px;
  border: 0;
  background: #fff;
}

@media (max-width: 767px) {
  .ptq-stdp-account-preview-frame {
    min-height: 540px;
  }
}


.ptq-stdp-form--embedded {
  gap: 20px !important;
}

.ptq-stdp-form--embedded > label,
.ptq-stdp-form--embedded > .ptq-stdp-event-panel > label,
.ptq-stdp-form--embedded > .ptq-stdp-event-panel > .ptq-stdp-module-toggle-card > .ptq-stdp-module-body > label,
.ptq-stdp-form--embedded > fieldset,
.ptq-stdp-form--embedded > .ptq-stdp-form-modules {
  gap: 12px !important;
}

.ptq-stdp-form--embedded .ptq-stdp-style-picker-grid {
  grid-template-columns: repeat(3, minmax(0, 200px));
  justify-content: flex-start;
  gap: 20px;
}

.ptq-stdp-form--embedded .ptq-stdp-style-choice {
  min-width: 0;
}

@media (max-width: 1024px) {
  .ptq-stdp-form--embedded .ptq-stdp-style-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ptq-stdp-form--embedded .ptq-stdp-module-toggle-card,
.ptq-stdp-form--embedded .ptq-stdp-form-modules > .ptq-stdp-module-toggle-card {
  margin-top: 4px;
}

.ptq-stdp-account-preview-embed {
  border: 1px solid #e7dfd4;
  border-radius: 22px;
  overflow: hidden;
  background: #f7f3ec;
}

.ptq-stdp-account-preview-embed .ptq-stdp-public-shell {
  min-height: 720px;
  border-radius: 0;
}

@media (max-width: 767px) {
  .ptq-stdp-account-preview-embed .ptq-stdp-public-shell {
    min-height: 540px;
  }
}


.ptq-stdp-account-nav-button.is-disabled,
.ptq-stdp-account-mobile-item.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.ptq-stdp-account-mobile-item.is-disabled {
  background: #f7f3ec;
}

.ptq-stdp-account-mobile-action-form {
  margin: 0;
  min-width: 0;
  display: block;
  width: 100%;
}

button.ptq-stdp-account-mobile-item {
  display: grid;
  place-items: center;
  gap: 4px;
  box-sizing: border-box;
  width: 100%;
  min-height: 62px;
  padding: 6px;
  border: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  line-height: 1.05;
  text-align: center;
}

.ptq-stdp-account-mobile-item--accent {
  border: 1px solid #c65d27;
  background: #c65d27;
  color: #fff;
  box-shadow: none;
}

.ptq-stdp-account-mobile-item--accent.is-copied {
  background: #2d6f4d;
}

.ptq-stdp-account-mobilebar > * {
  min-width: 0;
}

.ptq-stdp-standalone-page .ptq-stdp-account-layout {
  max-width: 1440px;
  margin: 0 auto;
}

.ptq-stdp-standalone-page .ptq-stdp-account-content > .ptq-stdp-public-shell,
.ptq-stdp-standalone-page .ptq-stdp-account-content > .ptq-stdp-shell {
  max-width: none;
}

.ptq-stdp-share-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #ece7df;
  border-radius: 24px;
  background: #fff;
}

.ptq-stdp-share-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.15;
}

.ptq-stdp-share-text {
  margin: 0 0 14px;
  color: #5f5f5f;
}

.ptq-stdp-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ptq-stdp-share-input {
  flex: 1 1 320px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #d8d0c4;
  border-radius: 16px;
  background: #fffdf9;
  font-size: 14px;
}

@media (max-width: 767px) {
  .ptq-stdp-share-card {
    padding: 18px;
    border-radius: 20px;
  }

  .ptq-stdp-share-title {
    font-size: 20px;
  }

  .ptq-stdp-share-row {
    display: grid;
    grid-template-columns: 1fr;
  }
}


/* v1.1.9 responsive polish */
.ptq-stdp-form label,
.ptq-stdp-form fieldset,
.ptq-stdp-form input,
.ptq-stdp-form select,
.ptq-stdp-form textarea,
.ptq-stdp-rsvp-form label,
.ptq-stdp-rsvp-form fieldset,
.ptq-stdp-rsvp-form input,
.ptq-stdp-rsvp-form select,
.ptq-stdp-rsvp-form textarea {
  min-width: 0;
  max-width: 100%;
}

.ptq-stdp-form input[type="date"],
.ptq-stdp-form input[type="time"],
.ptq-stdp-rsvp-form input[type="date"],
.ptq-stdp-rsvp-form input[type="time"] {
  width: 100%;
  min-width: 0;
}

@media (max-width: 767px) {
  .ptq-stdp-rsvp-form,
  .ptq-stdp-gift-list-content,
  .ptq-stdp-event-card,
  .ptq-stdp-form textarea,
  .ptq-stdp-rsvp-form textarea {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }

  .ptq-stdp-rsvp-form,
  .ptq-stdp-gift-list-content,
  .ptq-stdp-event-card {
    padding: 22px 5%;
    border-radius: 20px;
  }

  .ptq-stdp-rsvp-form label,
  .ptq-stdp-form label,
  .ptq-stdp-module-body label,
  .ptq-stdp-event-panel label {
    min-width: 0;
    width: 100%;
  }

  .ptq-stdp-form input,
  .ptq-stdp-form select,
  .ptq-stdp-form textarea,
  .ptq-stdp-rsvp-form input,
  .ptq-stdp-rsvp-form select,
  .ptq-stdp-rsvp-form textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ptq-stdp-form input[type="date"],
  .ptq-stdp-form input[type="time"],
  .ptq-stdp-rsvp-form input[type="date"],
  .ptq-stdp-rsvp-form input[type="time"] {
    display: block;
    inline-size: 100%;
  }

  .ptq-stdp-account-preview-embed {
    width: auto;
    max-width: none;
    margin-left: -5%;
    margin-right: -5%;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .ptq-stdp-account-preview-embed .ptq-stdp-public-shell,
  .ptq-stdp-account-preview-embed .ptq-stdp-public-preview-shell {
    min-height: auto;
    border-radius: 0;
  }

  .ptq-stdp-account-preview-embed .ptq-stdp-public-inner {
    padding-left: 0;
    padding-right: 0;
  }
}

/* v1.1.10 mobile hard-fixes */
@media (max-width: 767px) {
  .ptq-stdp-account-content,
  .ptq-stdp-shell-content {
    min-width: 0;
    overflow-x: clip;
  }
  .ptq-stdp-shell-content:not(.is-screen-view),
  .ptq-stdp-account-content:not(.is-screen-view) {
    padding: 30px;
    box-sizing: border-box;
  }

  .ptq-stdp-shell-content.is-screen-view,
  .ptq-stdp-account-content.is-screen-view {
    padding: 0;
  }

  /* Make preview truly edge-to-edge inside /app on mobile */
  .ptq-stdp-account-content > .ptq-stdp-public-shell,
  .ptq-stdp-account-content .ptq-stdp-public-shell.ptq-stdp-public-preview-shell,
  .ptq-stdp-shell-content > .ptq-stdp-public-shell,
  .ptq-stdp-shell-content .ptq-stdp-public-shell.ptq-stdp-public-preview-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  .ptq-stdp-account-content > .ptq-stdp-public-shell .ptq-stdp-public-inner,
  .ptq-stdp-account-content .ptq-stdp-public-shell.ptq-stdp-public-preview-shell .ptq-stdp-public-inner,
  .ptq-stdp-shell-content > .ptq-stdp-public-shell .ptq-stdp-public-inner,
  .ptq-stdp-shell-content .ptq-stdp-public-shell.ptq-stdp-public-preview-shell .ptq-stdp-public-inner {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .ptq-stdp-account-content > .ptq-stdp-public-shell .ptq-stdp-public-stack,
  .ptq-stdp-account-content .ptq-stdp-public-shell.ptq-stdp-public-preview-shell .ptq-stdp-public-stack,
  .ptq-stdp-shell-content > .ptq-stdp-public-shell .ptq-stdp-public-stack,
  .ptq-stdp-shell-content .ptq-stdp-public-shell.ptq-stdp-public-preview-shell .ptq-stdp-public-stack {
    width: 100% !important;
    max-width: none !important;
  }

  /* Stop date/time fields from overflowing on iOS / theme overrides */
  .ptq-stdp-form--embedded input[name="data_matrimonio"],
  .ptq-stdp-form--embedded input[name="ceremony_time"],
  .ptq-stdp-form--embedded input[name="reception_time"],
  .ptq-stdp-form input[type="date"],
  .ptq-stdp-form input[type="time"],
  .ptq-stdp-form--embedded input[type="date"],
  .ptq-stdp-form--embedded input[type="time"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    inline-size: 100% !important;
    box-sizing: border-box !important;
    -webkit-appearance: none;
    appearance: none;
  }

  .ptq-stdp-form--embedded label,
  .ptq-stdp-form--embedded .ptq-stdp-event-panel > label,
  .ptq-stdp-form--embedded .ptq-stdp-module-body > label,
  .ptq-stdp-form--embedded .ptq-stdp-module-toggle-card,
  .ptq-stdp-form--embedded .ptq-stdp-module-body,
  .ptq-stdp-form--embedded .ptq-stdp-event-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .ptq-stdp-form--embedded .ptq-stdp-module-toggle-head {
    flex-wrap: wrap;
  }

  .ptq-stdp-form--embedded,
  .ptq-stdp-form--account {
    min-width: 0 !important;
  }
}

/* v1.2.0 mobile RSVP allergies label fix */
@media (max-width: 780px) {
  .ptq-stdp-rsvp-allergies .ptq-stdp-rsvp-check {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    white-space: normal !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .ptq-stdp-rsvp-allergies .ptq-stdp-rsvp-check input[type="checkbox"] {
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
  }

  .ptq-stdp-rsvp-allergies .ptq-stdp-rsvp-check-label {
    display: block !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    line-height: 1.35 !important;
  }

  .ptq-stdp-rsvp-form .ptq-stdp-rsvp-allergies label.ptq-stdp-rsvp-check {
    display: flex !important;
  }
}


.ptq-stdp-create-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
}

.ptq-stdp-create-cta-button {
  min-width: 220px;
}

.ptq-stdp-statusbar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(17,17,17,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.ptq-stdp-statusbar-title {
  font-size: 18px;
  line-height: 1.1;
}

.ptq-stdp-statusbar-text {
  font-size: 15px;
  line-height: 1.45;
}


.ptq-stdp-create-step[hidden] {
  display: none !important;
}

.ptq-stdp-create-flow [data-stdp-step="content"] {
  display: grid;
  gap: 16px;
}


.ptq-stdp-design-actions {
  margin-top: 18px;
}

.ptq-stdp-create-step-head,
.ptq-stdp-create-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ptq-stdp-create-step-actions--design {
  justify-content: center;
  margin-top: 200px;
}

.ptq-stdp-design-form .ptq-stdp-style-picker,
.ptq-stdp-create-flow .ptq-stdp-style-picker {
  margin-top: 8px;
}

@media (max-width: 767px) {
  .ptq-stdp-statusbar {
    padding: 14px 16px;
    border-radius: 18px;
  }

  .ptq-stdp-create-step-head,
  .ptq-stdp-create-step-actions,
  .ptq-stdp-create-cta-wrap {
    align-items: stretch;
  }

  .ptq-stdp-create-step-head .ptq-stdp-button,
  .ptq-stdp-create-step-actions .ptq-stdp-button,
  .ptq-stdp-create-cta-button {
    width: 100%;
  }
}

.ptq-stdp-shell-rsvp-panel {
  min-height: 400px;
}


.ptq-stdp-custom-fields-editor {
  display: grid;
  gap: 18px;
}

.ptq-stdp-custom-field-row {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
}

.ptq-stdp-custom-field-remove {
  justify-self: start;
}

.ptq-stdp-custom-field-module + .ptq-stdp-module-divider,
.ptq-stdp-gift-list-module + .ptq-stdp-module-divider {
  margin-top: 0;
}

@media (max-width: 767px) {
  .ptq-stdp-custom-field-row {
    padding: 14px;
  }
}


.ptq-stdp-custom-field-module {
  max-width: 600px;
}

.ptq-stdp-custom-field-content {
  text-align: center;
  line-height: 1.6;
}

.ptq-stdp-app-public-stage {
  width: 100%;
}

.ptq-stdp-app-public-stage .ptq-stdp-public-shell {
  border-radius: 0;
}

@media (min-width: 768px) {
  .ptq-stdp-shell-content .ptq-stdp-app-public-stage {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .ptq-stdp-shell-content .ptq-stdp-app-public-stage .ptq-stdp-public-shell {
    min-height: 100vh;
    border-radius: 0;
  }
}

@media (max-width: 767px) {
  .ptq-stdp-style-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 0 20px;
    justify-content: stretch;
  }

  .ptq-stdp-style-choice-thumb {
    width: 100%;
    height: 300px;
  }

  .ptq-stdp-style-choice-card {
    justify-items: stretch;
  }
}


.ptq-stdp-custom-field-content {
  max-width: 920px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .ptq-stdp-style-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 20px;
  }

  .ptq-stdp-style-option,
  .ptq-stdp-style-card,
  .ptq-stdp-style-tile {
    width: 100%;
    min-width: 0;
  }

  .ptq-stdp-style-option img,
  .ptq-stdp-style-card img,
  .ptq-stdp-style-tile img,
  .ptq-stdp-style-preview {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
  }
}


/* v1.3.0 fixed module spacing and timeline bounds */
.ptq-stdp-module-title {
  margin-bottom: 40px !important;
}

.ptq-stdp-module-divider {
  margin: 120px auto 0 !important;
}

.ptq-stdp-public-card + .ptq-stdp-module-divider {
  margin-top: 250px !important;
}

.ptq-stdp-custom-field-module + .ptq-stdp-module-divider,
.ptq-stdp-gift-list-module + .ptq-stdp-module-divider {
  margin-top: 120px !important;
}

.ptq-stdp-timeline {
  --ptq-timeline-dot-size: 64px;
}

.ptq-stdp-timeline::before {
  top: calc(var(--ptq-timeline-dot-size, 64px) / 2) !important;
  bottom: calc(var(--ptq-timeline-dot-size, 64px) / 2) !important;
}

@media (max-width: 767px) {
  .ptq-stdp-module-title {
    margin-bottom: 40px !important;
  }

  .ptq-stdp-module-divider {
    margin: 120px auto 0 !important;
  }

  .ptq-stdp-public-card + .ptq-stdp-module-divider {
    margin-top: 250px !important;
  }

  .ptq-stdp-timeline::before {
    top: calc(var(--ptq-timeline-dot-size, 64px) / 2) !important;
    bottom: calc(var(--ptq-timeline-dot-size, 64px) / 2) !important;
  }
}


/* v1.3.1 timeline end cap + status share bar */
.ptq-stdp-timeline {
  padding-bottom: 0 !important;
}

.ptq-stdp-timeline-item:last-child {
  margin-bottom: 0 !important;
}

.ptq-stdp-statusbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.ptq-stdp-statusbar-copy {
  min-width: 160px;
}

@media (max-width: 767px) {
  .ptq-stdp-statusbar-actions {
    width: 100%;
  }

  .ptq-stdp-statusbar-copy {
    width: 100%;
  }
}


/* v1.3.2 mobile module toggle alignment */
@media (max-width: 767px) {
  .ptq-stdp-form--account .ptq-stdp-module-toggle-head,
  .ptq-stdp-form--embedded .ptq-stdp-module-toggle-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .ptq-stdp-form--account .ptq-stdp-module-toggle-head > strong,
  .ptq-stdp-form--embedded .ptq-stdp-module-toggle-head > strong {
    min-width: 0 !important;
  }

  .ptq-stdp-form--account .ptq-stdp-switch,
  .ptq-stdp-form--embedded .ptq-stdp-switch {
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    flex: 0 0 auto !important;
  }

  .ptq-stdp-form--account .ptq-stdp-switch span,
  .ptq-stdp-form--embedded .ptq-stdp-switch span {
    display: none !important;
  }

  .ptq-stdp-form--account .ptq-stdp-switch input[type="checkbox"],
  .ptq-stdp-form--embedded .ptq-stdp-switch input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    flex: 0 0 22px !important;
  }
}


/* v1.3.4 switch labels removed and aligned */
.ptq-stdp-form--account .ptq-stdp-module-toggle-head,
.ptq-stdp-form--embedded .ptq-stdp-module-toggle-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
}

.ptq-stdp-form--account .ptq-stdp-module-toggle-head > strong,
.ptq-stdp-form--embedded .ptq-stdp-module-toggle-head > strong {
  min-width: 0 !important;
}

.ptq-stdp-form--account .ptq-stdp-switch,
.ptq-stdp-form--embedded .ptq-stdp-switch {
  margin-left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0 !important;
  flex: 0 0 auto !important;
}

.ptq-stdp-form--account .ptq-stdp-switch span,
.ptq-stdp-form--embedded .ptq-stdp-switch span {
  display: none !important;
}

.ptq-stdp-form--account .ptq-stdp-switch input[type="checkbox"],
.ptq-stdp-form--embedded .ptq-stdp-switch input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  flex: 0 0 22px !important;
}

/* v1.3.6 robust button click fix */

/* v1.4.7 SaaS app shell */
.ptq-stdp-shell--app,
.ptq-stdp-launch-shell {
  max-width: 1460px;
  padding-top: 30px;
  padding-bottom: 72px;
}

.ptq-stdp-shell--app {
  --ptq-app-bg: #f4efe5;
  --ptq-app-panel: rgba(255, 255, 255, 0.84);
  --ptq-app-panel-strong: rgba(255, 255, 255, 0.94);
  --ptq-app-border: rgba(31, 24, 16, 0.1);
  --ptq-app-ink: #1f1810;
  --ptq-app-muted: #6e665c;
  --ptq-app-accent: #1a1713;
  --ptq-app-accent-soft: #efe4d4;
  --ptq-app-shadow: 0 20px 60px rgba(33, 24, 12, 0.08);
}

.ptq-stdp-launch-card,
.ptq-stdp-account-sidebar-card,
.ptq-stdp-app-toolbar,
.ptq-stdp-app-info-card,
.ptq-stdp-design-form,
.ptq-stdp-form--account.ptq-stdp-create-flow,
.ptq-stdp-form--embedded,
.ptq-stdp-shell-rsvp-panel {
  border: 1px solid var(--ptq-app-border, rgba(31, 24, 16, 0.1));
  background:
    radial-gradient(circle at top right, rgba(255, 243, 229, 0.7), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 237, 0.92));
  box-shadow: var(--ptq-app-shadow, 0 20px 60px rgba(33, 24, 12, 0.08));
}

.ptq-stdp-shell--app .ptq-stdp-button,
.ptq-stdp-launch-shell .ptq-stdp-button,
.ptq-stdp-create-flow .ptq-stdp-button,
.ptq-stdp-design-form .ptq-stdp-button,
.ptq-stdp-shell--app .ptq-stdp-form button,
.ptq-stdp-launch-shell .ptq-stdp-form button {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 18px;
  border: 1px solid rgba(26, 23, 19, 0.92);
  background: linear-gradient(135deg, #201c18 0%, #111111 100%);
  box-shadow: 0 16px 30px rgba(17, 17, 17, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ptq-stdp-shell--app .ptq-stdp-button:hover,
.ptq-stdp-launch-shell .ptq-stdp-button:hover,
.ptq-stdp-create-flow .ptq-stdp-button:hover,
.ptq-stdp-design-form .ptq-stdp-button:hover,
.ptq-stdp-shell--app .ptq-stdp-form button:hover,
.ptq-stdp-launch-shell .ptq-stdp-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(17, 17, 17, 0.18);
}

.ptq-stdp-shell--app .ptq-stdp-button--secondary,
.ptq-stdp-launch-shell .ptq-stdp-button--secondary,
.ptq-stdp-create-flow .ptq-stdp-button--secondary,
.ptq-stdp-design-form .ptq-stdp-button--secondary {
  border-color: rgba(31, 24, 16, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #1f1810 !important;
  box-shadow: none;
}

.ptq-stdp-app-inline-form {
  margin: 0;
}

.ptq-stdp-account-layout--saas {
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.ptq-stdp-account-sidebar {
  top: 18px;
}

.ptq-stdp-account-sidebar-card {
  gap: 18px;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top, rgba(255, 246, 235, 0.9), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 239, 229, 0.96));
}

.ptq-stdp-app-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ptq-stdp-app-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #201c18 0%, #8e7760 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ptq-stdp-app-brand-copy {
  display: grid;
  gap: 2px;
}

.ptq-stdp-app-brand-copy strong {
  font-size: 18px;
  line-height: 1.1;
  color: var(--ptq-app-ink, #1f1810);
}

.ptq-stdp-app-brand-copy span {
  font-size: 13px;
  color: var(--ptq-app-muted, #6e665c);
}

.ptq-stdp-app-sidebar-summary {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 24, 16, 0.08);
}

.ptq-stdp-app-sidebar-project {
  font-size: 24px;
  line-height: 1.1;
  color: var(--ptq-app-ink, #1f1810);
}

.ptq-stdp-app-sidebar-summary p,
.ptq-stdp-app-sidebar-empty {
  margin: 0;
  color: var(--ptq-app-muted, #6e665c);
}

.ptq-stdp-app-sidebar-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ptq-stdp-app-sidebar-primary {
  width: 100%;
}

.ptq-stdp-app-sidebar-nav {
  display: grid;
  gap: 10px;
}

.ptq-stdp-account-nav-button {
  min-height: 60px;
  padding: 0 18px;
  border-radius: 20px;
  border: 1px solid rgba(31, 24, 16, 0.08);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ptq-app-ink, #1f1810);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ptq-stdp-account-nav-button:hover {
  transform: translateX(2px);
  border-color: rgba(31, 24, 16, 0.18);
}

.ptq-stdp-account-nav-button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #201c18 0%, #8e7760 100%);
  color: #fff;
}

.ptq-stdp-account-project-list {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.ptq-stdp-account-project-chip {
  min-width: 0;
  padding: 15px 16px;
  border-radius: 20px;
  border: 1px solid rgba(31, 24, 16, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.ptq-stdp-account-project-chip.is-active {
  border-color: rgba(31, 24, 16, 0.2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(31, 24, 16, 0.08);
}

.ptq-stdp-account-content,
.ptq-stdp-shell-content {
  display: grid;
  gap: 22px;
}

.ptq-stdp-app-toolbar {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 32px;
}

.ptq-stdp-app-toolbar-row,
.ptq-stdp-app-toolbar-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.ptq-stdp-app-toolbar-actions,
.ptq-stdp-app-action-stack,
.ptq-stdp-app-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ptq-stdp-app-toolbar-copy {
  display: grid;
  gap: 10px;
}

.ptq-stdp-app-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b7258;
}

.ptq-stdp-app-title {
  margin: 0;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ptq-app-ink, #1f1810);
}

.ptq-stdp-app-subtitle {
  margin: 0;
  max-width: 720px;
  color: var(--ptq-app-muted, #6e665c);
  font-size: 16px;
  line-height: 1.55;
}

.ptq-stdp-app-project-card {
  display: grid;
  gap: 8px;
}

.ptq-stdp-app-project-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b7258;
}

.ptq-stdp-app-project-title {
  font-size: 26px;
  line-height: 1.05;
}

.ptq-stdp-app-project-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ptq-stdp-app-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ptq-stdp-app-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(31, 24, 16, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ptq-app-ink, #1f1810);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.ptq-stdp-app-tab.is-active {
  background: #201c18;
  color: #fff;
}

.ptq-stdp-app-tab.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.ptq-stdp-app-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ptq-stdp-app-progress-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(31, 24, 16, 0.06);
  color: var(--ptq-app-muted, #6e665c);
  font-size: 14px;
  font-weight: 700;
}

.ptq-stdp-app-progress-item.is-active {
  color: var(--ptq-app-ink, #1f1810);
  border-color: rgba(31, 24, 16, 0.16);
  background: rgba(255, 255, 255, 0.96);
}

.ptq-stdp-app-progress-item.is-done {
  color: #295436;
}

.ptq-stdp-app-progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(31, 24, 16, 0.15);
}

.ptq-stdp-app-progress-item.is-active .ptq-stdp-app-progress-dot {
  background: #201c18;
}

.ptq-stdp-app-progress-item.is-done .ptq-stdp-app-progress-dot {
  background: #46a36a;
}

.ptq-stdp-app-stage,
.ptq-stdp-app-dashboard {
  display: grid;
  gap: 20px;
}

.ptq-stdp-app-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ptq-stdp-app-info-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 28px;
}

.ptq-stdp-app-info-card h2,
.ptq-stdp-app-info-card h3 {
  margin: 0;
  color: var(--ptq-app-ink, #1f1810);
}

.ptq-stdp-app-info-card p {
  margin: 0;
  color: var(--ptq-app-muted, #6e665c);
  line-height: 1.55;
}

.ptq-stdp-app-info-card--hero {
  grid-column: span 2;
}

.ptq-stdp-app-checklist {
  margin: 0;
  padding-left: 18px;
  color: var(--ptq-app-muted, #6e665c);
  display: grid;
  gap: 10px;
}

.ptq-stdp-app-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ptq-stdp-app-stat {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.ptq-stdp-app-stat span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b7258;
}

.ptq-stdp-app-stat strong {
  font-size: 18px;
  line-height: 1.15;
}

.ptq-stdp-create-cta-wrap {
  display: block;
}

@keyframes ptq-stdp-button-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.ptq-stdp-create-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(31, 24, 16, 0.08);
}

.ptq-stdp-create-cta-copy {
  display: grid;
  gap: 8px;
}

.ptq-stdp-create-cta-copy h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
}

.ptq-stdp-create-cta-copy p {
  margin: 0;
  color: var(--ptq-app-muted, #6e665c);
}

.ptq-stdp-launch-card,
.ptq-stdp-account-sidebar-card,
.ptq-stdp-app-toolbar,
.ptq-stdp-app-info-card,
.ptq-stdp-design-form,
.ptq-stdp-form--account.ptq-stdp-create-flow,
.ptq-stdp-form--embedded,
.ptq-stdp-shell-rsvp-panel,
.ptq-stdp-create-cta-panel,
.ptq-stdp-create-rail-copy,
.ptq-stdp-create-tip,
.ptq-stdp-create-progress-item,
.ptq-stdp-create-question,
.ptq-stdp-create-choice-card,
.ptq-stdp-create-summary,
.ptq-stdp-module-toggle-card,
.ptq-stdp-custom-field-row,
.ptq-stdp-timeline-row {
  border: 1px solid #111;
  background: #fff;
  box-shadow: none;
}

.ptq-stdp-create-cta-copy {
  display: grid;
  justify-items: center;
  text-align: center;
}

.ptq-stdp-launch-card--cta {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 28px;
  min-height: min(72vh, 760px);
  text-align: center;
}

.ptq-stdp-launch-card--cta .ptq-stdp-launch-hero {
  margin-bottom: 0;
}

.ptq-stdp-launch-primary {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
}

.ptq-stdp-launch-primary-button {
  min-width: min(100%, 340px);
  justify-content: center;
  animation: ptq-stdp-button-float 2.8s ease-in-out infinite;
}

.ptq-stdp-launch-secondary-link {
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ptq-stdp-launch-secondary-link:hover {
  text-decoration: underline;
}

.ptq-stdp-form--account.ptq-stdp-create-flow {
  gap: 0;
  padding: 24px;
  border-radius: 32px;
}

.ptq-stdp-create-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
}

.ptq-stdp-create-rail,
.ptq-stdp-create-stage,
.ptq-stdp-create-step {
  display: grid;
  gap: 18px;
}

.ptq-stdp-create-rail {
  align-content: start;
}

.ptq-stdp-create-rail-copy,
.ptq-stdp-create-tip,
.ptq-stdp-create-progress-item,
.ptq-stdp-create-panel,
.ptq-stdp-form--embedded > label,
.ptq-stdp-form--embedded > .ptq-stdp-event-panel,
.ptq-stdp-form--embedded > fieldset,
.ptq-stdp-form--embedded > .ptq-stdp-form-modules,
.ptq-stdp-form--account .ptq-stdp-style-picker,
.ptq-stdp-design-form .ptq-stdp-style-picker {
  padding: 22px;
  border-radius: 26px;
  border: 1px solid #111;
  background: #fff;
  box-shadow: none;
}

.ptq-stdp-create-progress {
  display: grid;
  gap: 12px;
}

.ptq-stdp-create-progress-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.ptq-stdp-create-progress-item strong,
.ptq-stdp-create-progress-item p {
  margin: 0;
}

.ptq-stdp-create-progress-item p {
  color: var(--ptq-app-muted, #6e665c);
  font-size: 13px;
}

.ptq-stdp-create-progress-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--ptq-app-ink, #1f1810);
  border: 1px solid #111;
  font-weight: 800;
}

.ptq-stdp-create-progress-item.is-active {
  border-color: #111;
  background: #fff;
}

.ptq-stdp-create-progress-item.is-active .ptq-stdp-create-progress-index {
  background: #201c18;
  color: #fff;
}

.ptq-stdp-create-progress-item.is-complete .ptq-stdp-create-progress-index {
  background: #46a36a;
  color: #fff;
}

.ptq-stdp-create-tip strong,
.ptq-stdp-create-tip p {
  margin: 0;
}

.ptq-stdp-create-tip p {
  margin-top: 6px;
  color: var(--ptq-app-muted, #6e665c);
}

.ptq-stdp-create-flow--questions .ptq-stdp-create-step--details {
  gap: 18px;
}

.ptq-stdp-create-flow--questions .ptq-stdp-create-step-actions--design {
  justify-content: flex-end;
  margin-top: 8px;
}

.ptq-stdp-create-status {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid #111;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 12px;
  z-index: 3;
  backdrop-filter: blur(14px);
}

.ptq-stdp-create-status-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ptq-stdp-create-status-step,
.ptq-stdp-create-status-percent {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.ptq-stdp-create-status-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #efefef;
  overflow: hidden;
}

.ptq-stdp-create-status-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #111;
}

.ptq-stdp-create-status-title {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ptq-stdp-app-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ptq-stdp-create-panel h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.1;
}

.ptq-stdp-create-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ptq-stdp-create-grid--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ptq-stdp-create-grid-span-2 {
  grid-column: 1 / -1;
}

.ptq-stdp-create-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ptq-stdp-create-question[hidden] {
  display: none !important;
}

.ptq-stdp-create-question {
  display: grid;
  gap: 22px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid #111;
  background: #fff;
  box-shadow: none;
}

.ptq-stdp-create-question-meta,
.ptq-stdp-create-question-inputs,
.ptq-stdp-create-question-panel,
.ptq-stdp-create-question-detail,
.ptq-stdp-create-module-card {
  display: grid;
  gap: 14px;
}

.ptq-stdp-create-flow--questions .ptq-stdp-app-section-head,
.ptq-stdp-create-question-meta {
  justify-items: center;
  text-align: center;
}

.ptq-stdp-create-flow--questions .ptq-stdp-app-section-head .ptq-stdp-app-eyebrow,
.ptq-stdp-create-flow--questions .ptq-stdp-app-section-head .ptq-stdp-subtitle,
.ptq-stdp-create-question-meta .ptq-stdp-app-eyebrow,
.ptq-stdp-create-question-copy {
  display: none;
}

.ptq-stdp-create-question-title,
.ptq-stdp-create-question-copy {
  margin: 0;
}

.ptq-stdp-create-question-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.02;
  color: var(--ptq-app-ink, #1f1810);
}

.ptq-stdp-create-question-copy {
  color: var(--ptq-app-muted, #6e665c);
  max-width: 56ch;
}

.ptq-stdp-create-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ptq-stdp-create-choice-grid--announcements {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
  margin: 0 auto;
}

.ptq-stdp-create-choice-grid--binary {
  max-width: 420px;
  margin: 0 auto;
}

.ptq-stdp-create-choice {
  display: block;
}

.ptq-stdp-create-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ptq-stdp-create-choice-card {
  display: grid;
  gap: 10px;
  min-height: 144px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid #111;
  background: #fff;
  color: var(--ptq-app-ink, #1f1810);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.ptq-stdp-create-choice-card strong,
.ptq-stdp-create-choice-card span {
  display: block;
}

.ptq-stdp-create-choice-card span {
  color: var(--ptq-app-muted, #6e665c);
}

.ptq-stdp-create-choice-grid--announcements .ptq-stdp-create-choice-card {
  min-height: 0;
  padding: 16px 18px;
  border-radius: 18px;
  justify-items: start;
  text-align: left;
}

.ptq-stdp-create-choice-grid--announcements .ptq-stdp-create-choice-card strong {
  font-size: 15px;
  line-height: 1.2;
}

.ptq-stdp-create-choice input:checked + .ptq-stdp-create-choice-card {
  transform: none;
  border-color: #111;
  background: #111;
  color: #fff;
}

.ptq-stdp-create-choice input:checked + .ptq-stdp-create-choice-card span {
  color: rgba(255, 255, 255, 0.84);
}

.ptq-stdp-create-question-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.ptq-stdp-create-question-nav .ptq-stdp-button,
.ptq-stdp-create-question-nav button[type="submit"] {
  width: 100%;
}

.ptq-stdp-create-question-nav .ptq-stdp-button:last-child,
.ptq-stdp-create-question-nav button[type="submit"] {
  margin-left: 0;
}

.ptq-stdp-create-summary {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid #111;
  background: #fff;
}

.ptq-stdp-create-summary strong,
.ptq-stdp-create-summary p {
  margin: 0;
}

.ptq-stdp-create-summary p {
  color: var(--ptq-app-muted, #6e665c);
}

.ptq-stdp-create-question-detail[hidden] {
  display: none !important;
}

.ptq-stdp-create-question-detail p {
  margin: 0;
  color: #4e4e4e;
}

.ptq-stdp-create-module-card {
  padding: 18px;
  border: 1px solid #111;
  border-radius: 20px;
  background: #fff;
}

.ptq-stdp-create-module-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

.ptq-stdp-create-inline-button {
  justify-self: start;
}

.ptq-stdp-design-actions {
  margin-top: 0;
}

.ptq-stdp-form--embedded {
  padding: 24px;
  border-radius: 32px;
  gap: 18px !important;
}

.ptq-stdp-form--embedded .ptq-stdp-style-picker-grid,
.ptq-stdp-form--account .ptq-stdp-style-picker-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  justify-content: stretch;
}

.ptq-stdp-style-choice-card {
  gap: 12px;
  opacity: 0.72;
  filter: grayscale(0.15);
}

.ptq-stdp-style-choice input:checked + .ptq-stdp-style-choice-card {
  transform: translateY(-6px);
}

.ptq-stdp-style-choice-thumb {
  width: 100%;
  height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(31, 24, 16, 0.08);
}

.ptq-stdp-style-choice-label {
  font-size: 15px;
  font-weight: 700;
}

.ptq-stdp-module-toggle-card {
  border-radius: 24px;
  border-color: rgba(31, 24, 16, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

.ptq-stdp-module-body {
  margin-top: 18px;
}

.ptq-stdp-launch-card {
  padding: 32px;
  border-radius: 34px;
}

.ptq-stdp-launch-hero {
  display: grid;
  gap: 12px;
  margin-bottom: 26px;
}

.ptq-stdp-app-info-card--empty {
  min-height: 220px;
  place-content: center;
}

.ptq-stdp-account-mobilebar {
  left: 14px;
  right: 14px;
  bottom: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 26px;
  border-color: rgba(31, 24, 16, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.ptq-stdp-account-mobile-item {
  min-height: 62px;
  border-radius: 18px;
}

.ptq-stdp-account-mobile-item.is-active {
  background: rgba(32, 28, 24, 0.08);
}

@media (max-width: 1180px) {
  .ptq-stdp-app-toolbar-row,
  .ptq-stdp-app-toolbar-meta,
  .ptq-stdp-create-layout {
    grid-template-columns: 1fr;
  }

  .ptq-stdp-app-tabs {
    justify-content: flex-start;
  }

  .ptq-stdp-app-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ptq-stdp-account-layout--saas {
    grid-template-columns: 1fr;
  }

  .ptq-stdp-account-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  .ptq-stdp-shell,
  .ptq-stdp-shell--app,
  .ptq-stdp-launch-shell,
  .ptq-stdp-page-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .ptq-stdp-shell--app,
  .ptq-stdp-launch-shell,
  .ptq-stdp-page-wrap {
    padding-top: 0 !important;
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
  }

  .ptq-stdp-shell-content.is-screen-edit,
  .ptq-stdp-shell-content.is-screen-design,
  .ptq-stdp-shell-content.is-screen-rsvp {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.ptq-stdp-standalone .ptq-stdp-standalone-page,
  body.ptq-stdp-shell-page .ptq-stdp-standalone-page,
  .ptq-stdp-standalone-page .ptq-stdp-account-layout {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-x: hidden;
  }

  .ptq-stdp-app-toolbar,
  .ptq-stdp-create-rail,
  .ptq-stdp-design-form .ptq-stdp-app-section-head,
  .ptq-stdp-form--embedded .ptq-stdp-app-section-head,
  .ptq-stdp-shell-content.is-screen-home .ptq-stdp-app-dashboard {
    display: none !important;
  }

  .ptq-stdp-account-content,
  .ptq-stdp-shell-content,
  .ptq-stdp-app-stage,
  .ptq-stdp-app-public-stage,
  .ptq-stdp-shell-rsvp-panel,
  .ptq-stdp-design-form,
  .ptq-stdp-form--embedded,
  .ptq-stdp-form--account.ptq-stdp-create-flow {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .ptq-stdp-account-content,
  .ptq-stdp-shell-content {
    gap: 0 !important;
    padding: 0 !important;
  }

  .ptq-stdp-launch-card,
  .ptq-stdp-form--account.ptq-stdp-create-flow,
  .ptq-stdp-form--embedded,
  .ptq-stdp-app-info-card,
  .ptq-stdp-shell-rsvp-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .ptq-stdp-account-sidebar {
    display: none;
  }

  .ptq-stdp-launch-card--cta {
    min-height: calc(100vh - 160px);
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .ptq-stdp-launch-primary-button {
    min-width: 0;
    width: min(100%, 320px);
  }

  .ptq-stdp-form--embedded,
  .ptq-stdp-design-form,
  .ptq-stdp-shell-rsvp-panel,
  .ptq-stdp-form--account.ptq-stdp-create-flow {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ptq-stdp-shell-content.is-screen-edit .ptq-stdp-form--embedded,
  .ptq-stdp-shell-content.is-screen-design .ptq-stdp-design-form,
  .ptq-stdp-shell-content.is-screen-rsvp .ptq-stdp-shell-rsvp-panel {
    padding: 18px !important;
    border: 1px solid rgba(31, 24, 16, 0.08) !important;
    border-radius: 26px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: none !important;
  }

  .ptq-stdp-app-toolbar-actions,
  .ptq-stdp-app-action-stack,
  .ptq-stdp-create-step-actions,
  .ptq-stdp-app-share-row,
  .ptq-stdp-create-cta-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ptq-stdp-app-progress,
  .ptq-stdp-app-stat-grid,
  .ptq-stdp-app-dashboard-grid,
  .ptq-stdp-create-grid,
  .ptq-stdp-create-grid--compact {
    grid-template-columns: 1fr;
  }

  .ptq-stdp-create-grid-span-2 {
    grid-column: auto;
  }

  .ptq-stdp-app-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ptq-stdp-app-tab {
    justify-content: center;
  }

  .ptq-stdp-style-choice-thumb {
    height: 210px;
    border-radius: 16px;
    box-shadow: none;
  }

  .ptq-stdp-form--embedded .ptq-stdp-style-picker-grid,
  .ptq-stdp-form--account .ptq-stdp-style-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
    padding: 0 !important;
  }

  .ptq-stdp-create-choice-grid,
  .ptq-stdp-create-grid,
  .ptq-stdp-create-grid--compact {
    grid-template-columns: 1fr;
  }

  .ptq-stdp-create-choice-grid--binary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 320px;
  }

  .ptq-stdp-create-choice-grid--binary .ptq-stdp-create-choice-card {
    min-height: 0;
    padding: 14px 12px;
    border-radius: 16px;
    justify-items: center;
    text-align: center;
  }

  .ptq-stdp-create-choice-grid--binary .ptq-stdp-create-choice-card strong {
    white-space: nowrap;
  }

  .ptq-stdp-create-choice-grid--announcements {
    max-width: none;
    gap: 10px;
  }

  .ptq-stdp-create-choice-grid--announcements .ptq-stdp-create-choice-card {
    min-height: 0;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .ptq-stdp-style-choice-card {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    gap: 8px;
  }

  .ptq-stdp-style-choice input:checked + .ptq-stdp-style-choice-card .ptq-stdp-style-choice-thumb {
    border-color: #111;
    box-shadow: inset 0 0 0 2px #111;
  }

  .ptq-stdp-create-rail-copy,
  .ptq-stdp-create-tip,
  .ptq-stdp-create-progress-item,
  .ptq-stdp-create-panel,
  .ptq-stdp-form--embedded > label,
  .ptq-stdp-form--embedded > .ptq-stdp-event-panel,
  .ptq-stdp-form--embedded > fieldset,
  .ptq-stdp-form--embedded > .ptq-stdp-form-modules,
  .ptq-stdp-form--account .ptq-stdp-style-picker,
  .ptq-stdp-design-form .ptq-stdp-style-picker {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ptq-stdp-event-panel {
    gap: 16px !important;
  }

  .ptq-stdp-form--embedded > label,
  .ptq-stdp-form--embedded > .ptq-stdp-event-panel > label,
  .ptq-stdp-form--embedded > .ptq-stdp-event-panel > .ptq-stdp-module-toggle-card > .ptq-stdp-module-body > label,
  .ptq-stdp-form--embedded > fieldset,
  .ptq-stdp-form--embedded > .ptq-stdp-form-modules,
  .ptq-stdp-form--account > .ptq-stdp-create-stage > .ptq-stdp-create-step > .ptq-stdp-create-panel,
  .ptq-stdp-form--account > .ptq-stdp-create-stage > .ptq-stdp-create-step > .ptq-stdp-form-modules {
    margin: 0 !important;
  }

  .ptq-stdp-module-toggle-card,
  .ptq-stdp-timeline-row,
  .ptq-stdp-custom-field-row {
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    box-shadow: none;
  }

  .ptq-stdp-app-stage--editor,
  .ptq-stdp-app-stage--design,
  .ptq-stdp-app-stage--rsvp {
    padding: 0 !important;
  }

  .ptq-stdp-create-question {
    padding: 20px;
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
    border-radius: 24px;
    gap: 18px;
    max-width: 100%;
    overflow-x: clip;
  }

  .ptq-stdp-create-status {
    top: 8px;
    padding: 10px 12px;
    border-radius: 999px;
  }

  .ptq-stdp-create-question-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 30;
    margin-top: 0;
    padding: 8px;
    border: 1px solid rgba(31, 24, 16, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(18px);
  }

  .ptq-stdp-create-question-nav .ptq-stdp-button,
  .ptq-stdp-create-question-nav button[type="submit"] {
    min-height: 64px;
    margin-left: 0;
    padding: 6px 4px;
    border: 0;
    border-radius: 18px;
    display: grid;
    place-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    box-shadow: none;
  }

  .ptq-stdp-create-question-nav .ptq-stdp-button:not(.is-accent),
  .ptq-stdp-create-question-nav button[type="submit"]:not(.is-accent) {
    background: transparent;
    color: #111;
  }

  .ptq-stdp-create-nav-item.is-accent,
  .ptq-stdp-create-question-nav button[type="submit"] {
    border: 1px solid #c65d27;
    background: #c65d27;
    color: #fff;
  }

  .ptq-stdp-create-nav-item.is-generate,
  .ptq-stdp-create-question-nav button[type="submit"].is-generate {
    border: 1px solid #1696ff;
    background: #1696ff;
    color: #fff;
  }

  .ptq-stdp-create-nav-item i,
  .ptq-stdp-create-question-nav button[type="submit"] i {
    font-size: 16px;
  }

  .ptq-stdp-shell-content.is-screen-view {
    padding: 0 !important;
  }

  .ptq-stdp-shell-content.is-screen-home::before {
    content: "";
    display: none;
  }

  .ptq-stdp-account-mobile-item {
    min-height: 64px;
    padding: 6px 4px;
    font-size: 10px;
    line-height: 1.05;
  }

  .ptq-stdp-account-mobilebar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 8px;
  }

  .ptq-stdp-account-mobile-item--accent {
    border-radius: 18px;
  }

  button.ptq-stdp-account-mobile-item {
    min-height: 64px;
    padding: 6px 4px;
    font-size: 10px;
    line-height: 1.05;
  }
}

/* Create Flow refinement pass */
html.ptq-stdp-no-zoom,
body.ptq-stdp-standalone,
body.ptq-stdp-standalone .ptq-stdp-standalone-page,
body.ptq-stdp-standalone .ptq-stdp-shell,
body.ptq-stdp-standalone .ptq-stdp-page-wrap {
  overflow-x: hidden !important;
}

html.ptq-stdp-loading-active,
body.ptq-stdp-loading-active {
  overflow: hidden !important;
}

.ptq-stdp-shell--create-only {
  max-width: 1200px;
  padding: 18px 24px 112px;
}

.ptq-stdp-shell-content--create-only,
.ptq-stdp-app-stage--create-only {
  display: block;
}

.ptq-stdp-shell-content--create-only {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.ptq-stdp-form--account.ptq-stdp-create-flow,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-layout,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-stage,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-step,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-status,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-picker,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice-card,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice-thumb,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-card,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-summary,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-module-card,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-timeline-row,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-custom-field-row,
.ptq-stdp-form--account.ptq-stdp-create-flow input:not([type="radio"]):not([type="hidden"]),
.ptq-stdp-form--account.ptq-stdp-create-flow select,
.ptq-stdp-form--account.ptq-stdp-create-flow textarea,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav .ptq-stdp-button,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav button[type="submit"],
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-loading-card {
  border-radius: 5px !important;
}

.ptq-stdp-form--account.ptq-stdp-create-flow {
  --ptq-flow-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question {
  gap: 18px;
  padding: 22px;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.08;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question.is-complete .ptq-stdp-create-question-title::after {
  display: none;
}

.ptq-stdp-form--account.ptq-stdp-create-flow label:not(.ptq-stdp-create-choice):not(.ptq-stdp-style-choice).is-complete > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.ptq-stdp-form--account.ptq-stdp-create-flow label:not(.ptq-stdp-create-choice):not(.ptq-stdp-style-choice).is-complete > span:first-child::after {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #1696ff;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  flex: 0 0 16px;
}

.ptq-stdp-form--account.ptq-stdp-create-flow label.is-complete input:not([type="radio"]):not([type="hidden"]),
.ptq-stdp-form--account.ptq-stdp-create-flow label.is-complete select,
.ptq-stdp-form--account.ptq-stdp-create-flow label.is-complete textarea {
  border-color: #1696ff;
  box-shadow: 0 0 0 1px rgba(22, 150, 255, 0.16);
  background: #f9fcff;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-status {
  gap: 4px;
  padding: 9px 11px;
  border-color: var(--ptq-flow-line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-status-step,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-status-percent {
  font-size: 10px;
  letter-spacing: 0.02em;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-status-title {
  font-size: 11px;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-status-track {
  height: 3px;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-summary,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-module-card {
  padding: 14px 16px;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-timeline-row .button-link-delete {
  position: relative;
  z-index: 2;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--ptq-flow-line);
  background: #fff;
  color: #111;
  cursor: pointer;
  touch-action: manipulation;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-card {
  border-radius: 5px !important;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--binary {
  max-width: 336px;
  gap: 8px;
  align-items: stretch;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--binary .ptq-stdp-create-choice {
  min-width: 0;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--binary .ptq-stdp-create-choice-card {
  min-height: 52px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--binary .ptq-stdp-create-choice-card strong {
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] .ptq-stdp-create-question-inputs {
  justify-items: center;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] .ptq-stdp-create-question-detail,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] .ptq-stdp-create-summary {
  width: min(100%, 420px);
  margin: 0 auto;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--announcements {
  max-width: min(100%, 430px);
  gap: 8px;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--announcements .ptq-stdp-create-choice-card {
  padding: 14px 16px;
  justify-items: start;
  text-align: left;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-picker {
  padding: 0;
  overflow: hidden;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-picker-grid {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px !important;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-picker-grid::-webkit-scrollbar {
  display: none;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice {
  flex: 0 0 clamp(176px, 44vw, 214px);
  min-width: 0;
  scroll-snap-align: start;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice-card {
  gap: 8px;
  padding: 8px;
  box-shadow: none;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice input:checked + .ptq-stdp-style-choice-card {
  transform: translateY(-1px);
  box-shadow: 0 0 0 2px rgba(22, 150, 255, 0.14);
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice-thumb {
  height: 256px;
  border-radius: 5px !important;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice-label {
  font-size: 14px;
  line-height: 1.2;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-style-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  color: var(--ptq-flow-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-style-hint i {
  font-size: 14px;
  line-height: 1;
  animation: ptq-stdp-scroll-hint 1.6s ease-in-out infinite;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-loading[hidden] {
  display: none !important;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-loading {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fff;
  backdrop-filter: none;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-loading-card {
  width: min(100%, 320px);
  padding: 24px 22px;
  border: 0;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
  box-shadow: none;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-loading-card strong,
.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-loading-card p {
  margin: 0;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-loading-card p {
  color: var(--ptq-flow-muted);
  line-height: 1.45;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-loading-wand {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #111;
}

.ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-loading-wand i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  color: currentColor;
  animation: ptq-stdp-create-wand-float 4.2s ease-in-out infinite;
}

@keyframes ptq-stdp-scroll-hint {
  0% {
    transform: translateX(-3px);
  }
  50% {
    transform: translateX(3px);
  }
  100% {
    transform: translateX(-3px);
  }
}

@keyframes ptq-stdp-create-wand-float {
  0% {
    color: #111;
    transform: translateY(0);
  }
  20% {
    color: #1696ff;
    transform: translateY(-3px);
  }
  40% {
    color: #5f6b7a;
    transform: translateY(1px);
  }
  60% {
    color: #1d9a6c;
    transform: translateY(-2px);
  }
  80% {
    color: #d27c2c;
    transform: translateY(2px);
  }
  100% {
    color: #111;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .ptq-stdp-form--account.ptq-stdp-create-flow {
    width: min(100%, 980px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-rail {
    display: none !important;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-stage {
    width: 100%;
    gap: 14px;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-status,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-step,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question {
    width: 100%;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-app-section-head {
    justify-content: center;
    text-align: center;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-step-actions--design {
    justify-content: center;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-step-actions--design .ptq-stdp-button {
    width: min(100%, 480px);
    min-height: 54px;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question {
    padding: 26px;
    padding-bottom: 112px;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-grid,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid:not(.ptq-stdp-create-choice-grid--announcements):not(.ptq-stdp-create-choice-grid--binary) {
    max-width: 560px;
    margin: 0 auto;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--announcements {
    max-width: 560px;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice {
    flex-basis: 236px;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice-thumb {
    height: 248px;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100vw - 48px), 980px);
    bottom: 16px;
    z-index: 30;
    display: flex;
    gap: 10px;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    animation: none !important;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav > * {
    flex: 1 1 0;
    min-width: 0;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav .ptq-stdp-button,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav button[type="submit"] {
    min-height: 54px;
    padding: 0 16px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--ptq-flow-line-strong);
    background: #fff;
    color: var(--ptq-flow-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav .ptq-stdp-create-nav-item.is-accent {
    border-color: #111;
    background: #111;
    color: #fff;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav .ptq-stdp-create-nav-item.is-generate,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav button[type="submit"].is-generate {
    border-color: #1696ff;
    background: #1696ff;
    color: #fff;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-nav-item i,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav button[type="submit"] i {
    font-size: 18px;
    line-height: 1;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] {
    min-height: calc(100vh - 214px);
    align-content: center;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] .ptq-stdp-create-question-meta,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] .ptq-stdp-create-question-inputs {
    justify-items: center;
    align-content: center;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] .ptq-stdp-create-question-detail p,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] .ptq-stdp-create-summary p {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question {
    padding: 18px;
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice {
    flex-basis: min(72vw, 212px);
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-style-choice-thumb {
    height: 228px;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-style-hint {
    margin-top: 8px;
    margin-bottom: 2px;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 30;
    display: flex;
    gap: 10px;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav > * {
    flex: 1 1 0;
    min-width: 0;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav .ptq-stdp-button,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav button[type="submit"] {
    min-height: 54px;
    padding: 0 16px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--ptq-flow-line-strong);
    background: #fff;
    color: var(--ptq-flow-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav .ptq-stdp-create-nav-item.is-accent {
    border-color: #111;
    background: #111;
    color: #fff;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav .ptq-stdp-create-nav-item.is-generate,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav button[type="submit"].is-generate {
    border-color: #1696ff;
    background: #1696ff;
    color: #fff;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-nav-item i,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question-nav button[type="submit"] i {
    font-size: 18px;
    line-height: 1;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-choice-grid--binary {
    max-width: 100%;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] {
    min-height: calc(100svh - 176px - env(safe-area-inset-bottom));
    align-content: center;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] .ptq-stdp-create-question-meta,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] .ptq-stdp-create-question-inputs {
    justify-items: center;
    align-content: center;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] .ptq-stdp-create-question-detail p,
  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-question[data-stdp-toggle-question] .ptq-stdp-create-summary p {
    text-align: center;
  }

  .ptq-stdp-form--account.ptq-stdp-create-flow .ptq-stdp-create-loading-card {
    width: min(100%, 290px);
    padding: 22px 18px;
  }
}
