.ptum-registration-invitation { display:flex; flex-direction:column; align-items:flex-start; gap:16px; }
.ptum-registration-invitation p { margin:0; max-width:42ch; }
.ptum-create-account { display:inline-flex; align-items:center; justify-content:center; gap:24px; padding:12px 22px; min-height:48px; border-radius:10px; border:1px solid #67e8f9; background:#67e8f9; color:#071528; font-weight:700; text-decoration:none !important; }
.ptum-create-account:hover { background:#a5f3fc; color:#071528; }
.ptum-registration-page { width:100%; padding:40px 20px 64px; }
.ptum-registration-surface { max-width:720px; margin:auto; padding:clamp(24px,4vw,40px); background:linear-gradient(145deg,#142d4b,#0e2039); border:1px solid #385675; border-radius:20px; box-shadow:0 20px 56px #0003; }
.ptum-registration-heading { text-align:center; margin-bottom:28px; }
.ptum-registration-heading h1 { font-size:clamp(28px,4vw,36px); line-height:1.15; margin:12px 0 16px; }
.ptum-registration-heading p { font-size:16px; line-height:1.65; }
body .ptum-registration-surface .um.um-register { max-width:none !important; margin:0 !important; }
body .ptum-registration-surface .um.um-register .um-form { padding:0; border:0; border-radius:0; background:none; box-shadow:none; }
.ptum-registration-wizard .ptum-terms-field { clear:both; width:100%; margin:10px 0 18px; }
.ptum-registration-wizard .ptum-terms-label { display:flex; align-items:flex-start; gap:10px; color:#dce8f7; font-size:14px; line-height:1.55; cursor:pointer; }
.ptum-registration-wizard .ptum-terms-label input { flex:0 0 18px; width:18px; height:18px; margin:2px 0 0; accent-color:#22d3ee; }
.ptum-registration-wizard .ptum-terms-label a { color:#67e8f9; text-decoration:underline; text-underline-offset:3px; }
.ptum-registration-wizard .ptum-terms-label a:focus-visible { outline:2px solid #67e8f9; outline-offset:3px; }
.ptum-registration-login { margin:24px 0 0; text-align:center; font-size:14px; }
.ptum-registration-login a { color:#67e8f9; display:inline-flex; align-items:center; min-height:44px; padding-inline:4px; }
@media(max-width:600px) {
 .ptum-registration-page { padding:24px 16px 40px; }
 .ptum-registration-surface { padding:24px 20px; border-radius:16px; }
 .ptum-registration-invitation,.ptum-registration-invitation .ptum-create-account { width:100%; }
}
/* Progressive enhancement: the complete native form remains usable without JS. */
.ptum-registration-wizard .ptum-step-hidden, .ptum-registration-wizard [hidden] { display:none !important; }
.ptum-registration-progress { margin-bottom:24px; }
.ptum-registration-progress .ptum-step-status { color:#67e8f9; font-size:13px; margin:0 0 10px; }
.ptum-registration-progress ol { display:flex; gap:8px; padding:0; margin:0 0 24px; list-style:none; counter-reset:step; }
.ptum-registration-progress li { flex:1; border-top:3px solid #385675; padding-top:10px; color:#b9cbe0; font-size:13px; }
.ptum-registration-progress li[aria-current], .ptum-registration-progress li.is-complete { border-color:#67e8f9; }
.ptum-registration-progress li[aria-current] { color:#67e8f9; font-weight:700; }
body .ptum-registration-progress h2 { font-size:24px; line-height:1.3; margin:0 0 8px; color:#eff5ff; }
.ptum-registration-progress .ptum-step-note { font-size:14px; line-height:1.6; color:#b9cbe0; margin:0; }
.ptum-step-actions { display:flex; justify-content:space-between; gap:12px; clear:both; margin-top:24px; }
body .ptum-step-actions button { min-height:46px; padding:10px 22px; border:1px solid #67e8f9; border-radius:10px; font:inherit; font-weight:700; cursor:pointer; }
body .ptum-step-actions .ptum-step-back { color:#d5e5f5; background:#173750; border-color:#486581; }
body .ptum-step-actions .ptum-step-next { margin-left:auto; background:#67e8f9; color:#071528; }
.ptum-step-actions button:focus-visible { outline:3px solid #eff5ff; outline-offset:3px; }
body .ptum-step-error { background:#482d3b; border:1px solid #e6a5b4; color:#ffe4eb; border-radius:10px; padding:12px; font-size:14px; }
.ptum-registration-wizard [data-key="ptum_community_goals"] .um-field-area,
.ptum-registration-wizard [data-key="ptum_interest_topics"] .um-field-area { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 12px; }
.ptum-registration-wizard [data-key^="ptum_"] .um-field-checkbox { margin:0 !important; padding:10px !important; border:1px solid #385675; border-radius:10px; background:#142e48; }
.ptum-registration-wizard [data-key^="ptum_"] .um-field-checkbox.active { background:#19465b; border-color:#67e8f9; }
@media(max-width:480px) {
 .ptum-registration-wizard [data-key="ptum_community_goals"] .um-field-area,
 .ptum-registration-wizard [data-key="ptum_interest_topics"] .um-field-area { grid-template-columns:1fr; }
}
.ptum-registration-wizard [data-key^="ptum_"] .um-field-area > .um-clear { display:none; }
.ptum-registration-wizard [data-key^="ptum_"] .um-field-checkbox { float:none !important; width:100% !important; box-sizing:border-box; }

/* The password helper is injected outside UM's field wrapper, sometimes after setup. */
.ptum-registration-wizard[data-ptum-active-step]:not([data-ptum-active-step="0"]) [id^="pt-password-checks-"] { display:none !important; }
/* UM places its checkbox icon absolutely at (1px, 0); align it with the padded label. */
body .ptum-registration-wizard [data-key^="ptum_"] label.um-field-checkbox { display:flex; align-items:center; gap:10px; position:relative; min-height:46px; }
body .ptum-registration-wizard [data-key^="ptum_"] .um-field-checkbox-state { position:static; flex:0 0 24px; width:24px; height:24px; }
body .ptum-registration-wizard [data-key^="ptum_"] .um-field-checkbox-option { margin:0; flex:1; min-width:0; line-height:1.5; }
body .ptum-registration-wizard [data-key^="ptum_"] label.um-field-checkbox > input { position:absolute; }
body .ptum-registration-wizard [data-key^="ptum_"] label.um-field-checkbox:focus-within { outline:2px solid #67e8f9; outline-offset:2px; }

/* Keep Back and the native Register control on one row, including narrow screens. */
.ptum-step-actions { align-items:center; }
body .ptum-step-actions > .um-col-alt { flex:1; min-width:0; margin:0 !important; padding:0 !important; clear:none; }
body .ptum-step-actions > .um-col-alt .um-center { width:100% !important; }
body .ptum-step-actions > .um-col-alt .um-button { width:100% !important; margin:0 !important; min-width:0; }
.ptum-step-actions > [type="submit"] { flex:1; width:auto !important; min-width:0; }
