/* Live /sign-up/ 2.0 form styles. Copied from /sign-up-test/phoenix-signup.css at the 2026-11-23 cutover. */
/* Phoenix sign-up test pages: only what the live /sign-up/ CSS doesn't already cover. */
.kxst-test-page .kixie-signup-field textarea.form-control,
.kxst-test-page .kixie-signup-field textarea {
  width: 100%; box-sizing: border-box; min-height: 2.75rem; padding: 0.6rem 0.75rem;
  border: 1px solid #e2e8f0; border-radius: 0.5rem; font: inherit; font-size: 0.9375rem; color: #1a1a2e; resize: vertical;
}
.kxst-test-page .kixie-signup-form textarea.is-invalid { border-color: #cf4f4f; box-shadow: 0 0 0 1px rgba(207, 79, 79, 0.2); }
.kxst-test-page .kixie-signup-consent .kixie-signup-error { display: none; margin: -4px 0 0 26px; }
.kxst-test-page .kixie-signup-consent .kixie-signup-error.is-visible { display: block; }
.kxst-test-page button.kixie-signup-btn { width: 100%; cursor: pointer; font-family: inherit; }
.kxst-test-page button.kixie-signup-btn:disabled { filter: grayscale(0.4) brightness(1.1); cursor: wait; transform: none; }

/* Outcome screens */
.kxst-outcome { text-align: center; padding: 40px 32px; }
.kxst-test-page form[hidden], .kxst-test-page .kxst-progress[hidden], .kxst-outcome[hidden], .kxst-screen[hidden], .kxst-rep[hidden], .kxst-step[hidden] { display: none !important; }
.kxst-outcome h2 { margin: 0 0 12px; font-size: 1.75rem; }
.kxst-outcome p { margin: 0 0 20px; }
.kxst-outcome .kixie-signup-btn { width: auto; min-width: 240px; }
.kxst-small { font-size: 0.8rem; word-break: break-all; }
.kxst-rep { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.kxst-rep img { width: 48px; height: 48px; border-radius: 999px; background: #f7f7fb; }
.kxst-rep-name { font-weight: 700; text-align: left; color: #241a44; }
.kxst-rep-email { font-size: 0.85rem; text-align: left; color: #6f6884; }

/* Multi-step */
.kxst-progress { margin-bottom: 4px; }
.kxst-progress-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.kxst-progress-step { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #6f6884; }
.kxst-progress-title { font-size: 1.15rem; font-weight: 700; color: #241a44; }
.kxst-progress-bar { height: 6px; border-radius: 999px; background: #ece9f3; overflow: hidden; }
.kxst-progress-bar span { display: block; height: 100%; width: 33.33%; background: #f10606; border-radius: 999px; transition: width 0.3s ease; }
.kxst-step { display: flex; flex-direction: column; gap: 1.5rem; }
.kxst-step[hidden] { display: none; }
.kxst-step-nav { display: flex; gap: 12px; }
.kxst-step-nav .kixie-signup-btn { flex: 1; }
.kxst-test-page .kxst-step-nav .kxst-back {
  flex: 0 0 auto; width: auto; background: #fff; color: #241a44; border: 1px solid #ddd9e7; padding-left: 1.4rem; padding-right: 1.4rem;
}
.kxst-test-page .kxst-step-nav .kxst-back:hover, .kxst-test-page .kxst-step-nav .kxst-back:focus { color: #241a44; background: #f7f7fb; }
.kxst-reassure { margin: -6px 0 0; font-size: 0.85rem; text-align: center; color: #6f6884; }

/* Internal harness: hidden unless ?debug=1 or ?mock=1 */
.kxst-dev[hidden] { display: none !important; }
.kxst-dev {
  margin-top: 28px; border: 1px dashed #c9c3d9; border-radius: 12px; padding: 10px 14px; background: #fff;
  font: 12.5px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; color: #43346d;
}
.kxst-dev summary { cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 13px; }
.kxst-dev table { border-collapse: collapse; margin: 6px 0; }
.kxst-dev td { padding: 1px 10px 1px 0; vertical-align: top; }
.kxst-dev pre { background: #f7f7fb; border-radius: 8px; padding: 10px; margin-top: 6px; max-height: 260px; overflow: auto; white-space: pre-wrap; word-break: break-all; }
.kxst-badge { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; margin-left: 6px; }
.kxst-badge.mock { background: #F59F0A; color: #2b2305; }
.kxst-badge.live { background: #2EB88A; color: #fff; }

/* Phones: Back collapses to an arrow so the main button label stays on one line */
@media (max-width: 480px) {
  .kxst-test-page .kxst-step-nav .kxst-back { font-size: 0; padding: 0; width: 52px; flex: 0 0 52px; letter-spacing: 0; }
  .kxst-test-page .kxst-step-nav .kxst-back::before { content: "\2190"; font-size: 1.25rem; line-height: 1; }
  .kxst-test-page .kxst-step-nav button.kixie-signup-btn:not(.kxst-back) { padding-left: 0.6rem; padding-right: 0.6rem; letter-spacing: 0.02em; }
}
@media (max-width: 374px) {
  .kxst-test-page .kxst-step-nav button.kixie-signup-btn:not(.kxst-back) { font-size: 0.82rem; }
}

/* email OTP step (2026-11-04) */
.kxst-otp { text-align: left; }
.kxst-otp-title { margin: 0 0 8px; font-size: 22px; }
.kxst-otp-sub { margin: 0 0 16px; }
.kxst-otp-input { width: 100%; box-sizing: border-box; font-size: 26px; letter-spacing: 8px; text-align: center; padding: 12px; border: 1px solid #cfcfd6; border-radius: 8px; margin-bottom: 10px; }
.kxst-otp-msg { min-height: 20px; font-size: 14px; margin-bottom: 10px; }
.kxst-otp-msg.err { color: #c62828; }
.kxst-otp-msg.ok { color: #2e7d32; }
.kxst-otp-links { margin-top: 12px; font-size: 14px; text-align: center; }

/* 2.0 spec fields (2026-11-06): phone prefix, Other boxes, website toggle, counters, industry picker */
.kxst-test-page .kixie-signup-form [hidden] { display: none !important; }
.kxst-test-page .kxst-phone { display: grid; grid-template-columns: 172px minmax(0, 1fr); gap: 8px; }
.kxst-test-page .kxst-other { margin-top: 8px; }
.kxst-test-page button.kxst-link { align-self: flex-start; background: none; border: 0; padding: 0; margin-top: 6px; font: inherit; font-size: 0.85rem; color: #6D28D9; text-decoration: underline; cursor: pointer; text-transform: none; letter-spacing: 0; width: auto; }
.kxst-test-page .kxst-count { font-size: 0.78rem; color: #6f6884; margin-top: 4px; }
.kxst-test-page .kxst-count.met { color: #241a44; }
.kxst-test-page .kxst-ind { position: relative; }
.kxst-test-page .kxst-dd { border: 1px solid #e2e8f0; border-radius: 0.5rem; margin-top: 4px; max-height: 200px; overflow-y: auto; background: #fff; }
.kxst-test-page .kxst-dd div { padding: 8px 12px; font-size: 0.9rem; cursor: pointer; border-bottom: 1px solid #f1eff6; color: #241a44; }
.kxst-test-page .kxst-dd div:hover, .kxst-test-page .kxst-dd div.act { background: #f1eff6; }

/* Terms line under the submit button (2.0 consent wording 2026-11-17) */
.kxst-test-page .kxst-submit-notice { margin: -0.5rem 0 0; font-size: 0.8rem; line-height: 1.4; text-align: center; color: #6f6884; }
.kxst-test-page .kxst-submit-notice a { color: inherit; text-decoration: underline; }
/* Show the full consent wording; the live /sign-up/ box is a short scroll area that hid the end of box 2 */
.kxst-test-page .kixie-signup-consent label span { max-height: none; overflow: visible; padding-right: 0; }
