/* Signup-only presentation. No inline styles, new host or member-page change. */
.join-header{align-items:flex-start;gap:24px}
.join-security{display:grid;grid-template-columns:repeat(2,minmax(0,333px));justify-content:end;gap:8px 16px;max-width:700px;margin-left:auto;overflow-x:auto}
.join-security>p,.join-security>button{grid-column:1/-1;margin:0}
.join-security>p{font-size:12px;line-height:1.45}
.join-security>section>p{font-size:12px;line-height:1.3;margin:0 0 6px}
.join-security>section{min-width:0}
.join-security.signup-security-completed{display:block;text-align:right;align-self:center}
.join-security .signup-security-complete{font-size:13px;font-weight:600;color:#35565f;margin:0}
.signup-current-v2 .signup-mailing-heading{margin-top:3.2em;margin-bottom:16px}
.signup-current-v2 .signup-mailing-fields>.full{grid-column:1/-1}
.signup-current-v2 .signup-country-notice{grid-column:1/-1;margin:0;color:#8b3323;font-size:13px;line-height:1.5}
@media(max-width:960px){.join-header{flex-wrap:wrap}.join-security{width:100%;max-width:100%;margin-left:0;justify-content:start}.join-security.signup-security-completed{width:auto;margin-left:auto}}
@media(max-width:700px){.join-security{grid-template-columns:minmax(0,333px);gap:12px}.join-security>p,.join-security>button{grid-column:1}.join-security.signup-security-completed{max-width:100%;text-align:right}.signup-current-v2 .signup-mailing-fields{grid-template-columns:1fr}}

/* Required-contact leaf: real checks after the divider, stacked left. */
.join-main{padding-top:10px}
.join-main .join-security{display:flex;flex-direction:column;gap:8px;max-width:333px;width:100%;margin:0 0 24px;justify-content:flex-start;align-items:stretch;text-align:left;overflow-x:auto}
.join-main .join-security.signup-security-completed{display:block;align-self:auto;text-align:left;margin-left:0}
.join-main .join-security>section{width:100%}
.join-main .join-security>p,.join-main .join-security>button{margin:0}

/* Signup-only professional layout: shared label row keeps both control tops aligned. */
.signup-current-v2 .signup-v2-work-email-field+.signup-v2-work-code-send{margin-top:8px}
@media(min-width:701px){
.signup-current-v2 #professional-profiler .signup-specialty-top-pair{grid-template-rows:auto auto auto auto;align-items:start;row-gap:8px}
.signup-current-v2 #professional-profiler .signup-specialty-top-pair>.signup-specialty-primary,.signup-current-v2 #professional-profiler .signup-specialty-top-pair>.signup-specialty-secondary-choice{display:grid;grid-template-rows:subgrid;grid-row:1/span 4;align-items:start;row-gap:8px}
.signup-current-v2 #professional-profiler .signup-specialty-primary{grid-column:1}
.signup-current-v2 #professional-profiler .signup-specialty-secondary-choice{grid-column:2}
.signup-current-v2 #professional-profiler .signup-specialty-top-pair>.field>label{grid-row:1}
.signup-current-v2 #professional-profiler .signup-specialty-top-pair>.field>.profiler-combobox,.signup-current-v2 #professional-profiler .signup-specialty-top-pair>.field>select{grid-row:2;align-self:start}
.signup-current-v2 #professional-profiler .signup-specialty-top-pair>.field>small:not(.field-error){grid-row:3}
.signup-current-v2 #professional-profiler .signup-specialty-top-pair>.field>.field-error{grid-row:4}
}
@media(max-width:700px){.signup-current-v2 #professional-profiler .signup-specialty-top-pair{grid-template-columns:1fr;align-items:start}}

/* NEW optional signup-only styles. The root must explicitly include these bytes. */
.signup-sms-pending{margin:24px 0;padding-top:16px;border-top:1px solid #d6dfe2}
.signup-sms-pending .signup-sms-phone-row{display:grid;grid-template-columns:64px minmax(0,260px);gap:8px;margin:6px 0 16px}
.signup-sms-pending .signup-sms-phone-prefix{text-align:center;background:#f1f4f5}
.signup-sms-pending .signup-sms-choice{display:flex;align-items:flex-start;gap:10px;line-height:1.5}
.signup-sms-pending .signup-sms-choice input{flex:none;margin-top:5px}
.signup-sms-pending .signup-sms-disclosure{padding-left:22px;font-size:13px;line-height:1.55}
.signup-sms-pending .signup-sms-disclosure li{margin:8px 0}
.signup-sms-pending .signup-sms-pending-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}

/* Industry control only, not card or label: half desktop/full mobile. */
.signup-current-v2 #professional-profiler .signup-industry-select{width:50%}
@media(max-width:700px){.signup-current-v2 #professional-profiler .signup-industry-select{width:100%}}

/* New signup-only refinements. Existing shared/member/consent styles are preserved. */
.signup-current-v2 .signup-email-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.signup-current-v2 .signup-email-pair>.card{min-width:0;margin-top:0}
.signup-current-v2 .signup-email-pair .signup-v2-email-code-field{width:50%;max-width:100%;min-width:0}
.signup-current-v2 .signup-verification-success{font-weight:700;color:#246046}
.signup-current-v2 .signup-stripe-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px}
.signup-current-v2 .signup-stripe-actions .signup-assistance-open{margin-left:auto}
.signup-current-v2 .signup-policy-links{display:flex;flex-wrap:wrap;gap:8px 18px;line-height:1.6}
.signup-current-v2 .signup-final-actions{display:flex;align-items:center;gap:14px;margin-top:24px}
.signup-current-v2 .signup-final-actions .signup-final-back{margin-left:auto}
.signup-current-v2 .signup-manual-information p{line-height:1.6;margin:12px 0}
.signup-current-v2 .signup-identity-options,.signup-current-v2 .signup-manual-options{margin:18px 0}
@media(max-width:800px){.signup-current-v2 .signup-email-pair{grid-template-columns:1fr}}
@media(max-width:480px){.signup-current-v2 .signup-stripe-actions{align-items:stretch}.signup-current-v2 .signup-stripe-actions>button{width:100%;margin-left:0}}

.signup-phone-verification{margin-top:1rem;padding-top:1rem;border-top:1px solid #d8dee5}
.signup-phone-verification button{margin:.25rem .5rem .25rem 0}
.signup-phone-code-row label{display:block}
.signup-phone-code{display:block;width:50%;box-sizing:border-box}
@media(max-width:640px){.signup-phone-code{width:100%}}

/* Signup SMS checkbox only: inherited full-width input rules must not stretch it. */
.signup-current-v2 .signup-sms-pending .signup-sms-choice{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;justify-items:start;gap:10px;width:100%;max-width:100%;box-sizing:border-box;text-align:left}
.signup-current-v2 .signup-sms-pending .signup-sms-choice>input[type=checkbox]{grid-column:1;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;margin:3px 0 0;padding:0;justify-self:start;align-self:start;flex:none}
.signup-current-v2 .signup-sms-pending .signup-sms-choice>strong{grid-column:2;display:block;min-width:0;width:auto;max-width:100%;white-space:normal;writing-mode:horizontal-tb;overflow-wrap:break-word;text-align:left}
.signup-current-v2 .signup-sms-introduction>p{margin:0 0 10px;line-height:1.55}
.signup-current-v2 .signup-registration-first .signup-v2-email-code-field{width:50%;max-width:100%}
@media(max-width:640px){.signup-current-v2 .signup-registration-first .signup-v2-email-code-field{width:100%}}

/* Only the assistance card: same inherited typography as the ordinary form. */
.signup-current-v2 .signup-manual-options .signup-manual-notice,.signup-current-v2 .signup-manual-options .signup-manual-notice p,.signup-current-v2 .signup-manual-options .signup-manual-choice{font:inherit;line-height:inherit}
.signup-current-v2 .signup-manual-options .signup-manual-notice p{margin:12px 0;white-space:pre-line}
.signup-current-v2 .signup-manual-options .signup-manual-choice{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start}
.signup-current-v2 .signup-manual-options .signup-manual-choice>input[type=checkbox]{width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;margin:3px 0 0;padding:0}
.signup-current-v2 .signup-manual-options .signup-manual-choice>span{min-width:0;white-space:normal;overflow-wrap:break-word}

/* Preserve semantic hidden state against author display:grid rules. */
.signup-current-v2 .signup-manual-options [hidden]{display:none!important}

/* Separate the actual staff-review request button from its consent text. */
.signup-current-v2 .signup-manual-options>button{margin-top:16px}

/* Preserve visibility of the stable Preferences SMS panel across render moves. */
.signup-current-v2 .signup-sms-pending [hidden]{display:none!important}

/* Display V11: consistent half-width code fields and an explicit confirmation gap. */
.signup-current-v2 .signup-v2-email-code-field,.signup-current-v2 .signup-phone-code-row{display:block;width:50%;max-width:50%;box-sizing:border-box}
.signup-current-v2 .signup-v2-email-code-field>label,.signup-current-v2 .signup-phone-code-row>label{display:block;width:100%}
.signup-current-v2 .signup-v2-email-code-field input,.signup-current-v2 .signup-phone-code-row input{width:100%;box-sizing:border-box}
.signup-current-v2 .signup-v2-email-code-field+button,.signup-current-v2 .signup-v2-email-code-field>button,.signup-current-v2 .signup-phone-code-row>button{display:block;margin-top:12px}
.signup-current-v2 .signup-v2-email-code-field[hidden],.signup-current-v2 .signup-phone-code-row[hidden],.signup-current-v2 button[hidden]{display:none!important}
@media(max-width:700px){.signup-current-v2 .signup-v2-email-code-field,.signup-current-v2 .signup-phone-code-row{width:100%;max-width:100%}}

/* Required answer is not required consent; preserve radio and hidden layout. */
.signup-current-v2 .signup-sms-participation{border:0;padding:0;margin:16px 0}.signup-current-v2 .signup-sms-participation>label{display:inline-grid;grid-template-columns:20px auto;gap:8px;margin-right:28px;align-items:center}.signup-current-v2 .signup-sms-participation input{width:auto;min-width:0;margin:0}.signup-current-v2 .signup-sms-pending [hidden]{display:none!important}

/* Feedback V13. Retain all existing verification/choice/hidden safeguards. */
.signup-current-v2 .signup-final-acknowledgments{display:grid;gap:10px;width:max-content;max-width:100%;margin:24px 0}
.signup-current-v2 .signup-final-acknowledgments>.choice{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;margin:0;text-align:left}
.signup-current-v2 .signup-final-acknowledgments input{width:auto;min-width:0;margin:2px 0 0}
.signup-current-v2 .signup-final-actions{justify-content:space-between}
.signup-current-v2 .signup-final-actions .signup-final-back{margin-left:0}
.signup-current-v2 .signup-final-actions>.primary{margin-left:auto}
.signup-current-v2 .signup-manual-feedback strong,.signup-current-v2 .signup-manual-support,.signup-current-v2 .signup-verification-success{font-weight:700}
.signup-current-v2 .signup-manual-feedback p{margin:12px 0}
.signup-current-v2 .signup-sms-pending [hidden]{display:none!important}

/* Signup primary position: role first; organization follows its applicable role answers. */
.join-header{max-width:1040px}
@media(min-width:701px){
.signup-current-v2 #professional-profiler .signup-primary-position-layout>.primary-role-details{grid-column:1}
.signup-current-v2 #professional-profiler .signup-primary-position-layout>.primary-organization-details{grid-column:2}
.signup-current-v2 #professional-profiler .signup-primary-position-layout:not(:has(>.primary-organization-details))::after{content:none}
}
@media(max-width:700px){
.signup-current-v2 #professional-profiler .signup-primary-position-layout>.primary-role-details{padding-top:0;border-top:0}
.signup-current-v2 #professional-profiler .signup-primary-position-layout>.primary-organization-details{padding-top:24px;border-top:1px solid #dfe5e7}
}

/* Visible inline errors precede their question, including subgrid-positioned fields. */
.signup-current-v2 #professional-profiler .field:has(>.field-error:not([hidden])){display:flex;flex-direction:column;gap:8px}
.signup-current-v2 #professional-profiler .field:has(>.field-error:not([hidden]))>.field-error{order:-1}
