
/* Phase 1.75 intentionally focuses on a calm, fast registration experience.
   The comprehensive marketing redesign is reserved for Phase 1.76. */
.phase175-layout{max-width:1150px;margin:30px auto 65px;padding:0 20px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);align-items:start;gap:24px}
.phase175-form{padding:clamp(20px,4vw,42px);border-radius:24px;border:1px solid #d8e2ef;background:#fff;box-shadow:0 16px 54px rgba(18,41,73,.09)}
.phase175-eyebrow{display:inline-flex;padding:7px 11px;border-radius:99px;background:#e9f4fc;color:#164e78;font-weight:800;font-size:12px;letter-spacing:.06em}
.phase175-form h1{font-size:clamp(29px,3.4vw,42px);line-height:1.12;margin:17px 0 10px;color:#12304c}
.phase175-form .intro{max-width:56ch;color:#4f6176;margin:0 0 18px;font-size:15px;line-height:1.6}
.phase175-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.phase175-fields .wide{grid-column:1/-1}
.phase175-fields label{display:block;margin-bottom:6px;color:#17314b;font-weight:700;font-size:13px}
.phase175-fields input,.phase175-fields select{width:100%;min-height:44px;border:1px solid #bccdde;background:#fff;color:#172c43;border-radius:10px;padding:11px 12px;box-sizing:border-box}
.phase175-fields input:focus-visible,.phase175-fields select:focus-visible{outline:3px solid #93caec;outline-offset:2px}
.phase175-privacy{margin:20px 0 14px;display:flex;align-items:flex-start;gap:11px;line-height:1.45;color:#31485e}
.phase175-privacy input{width:18px!important;height:18px!important;flex:0 0 18px;margin-top:3px;accent-color:#165787}
.phase175-actions{margin-top:16px}
.phase175-actions .btn{width:100%;justify-content:center;min-height:49px}
.phase175-foot{font-size:13px;color:#53677a;text-align:center;margin:15px 0 0;line-height:1.6}
.phase175-side{padding:25px;background:#fff;color:#0a2846;border:1px solid #d8e2ef;border-radius:22px;position:sticky;top:24px;box-shadow:0 14px 38px rgba(8,38,70,.12)}
.phase175-side h2{color:#0a2846;font-size:24px;line-height:1.22;margin:4px 0 13px}
.phase175-side p,.phase175-side li{color:#0a2846;line-height:1.55;font-size:14px}
.phase175-side ol{padding-left:22px;margin:14px 0 0}
.phase175-side li{margin:0 0 15px}
.phase175-commit{border-top:1px solid #d8e2ef;margin-top:17px;padding-top:15px;font-size:13px;color:#0a2846}
.confirmation-notice{border:1px solid #76bb9b!important;border-radius:12px!important;padding:14px!important;background:#ecf8f2!important;color:#123d2c!important}
.consent-modal{max-width:760px;width:min(760px,95vw)}.consent-actions{display:flex;gap:10px;flex-wrap:wrap}
.consent-modal .modal-body{padding:20px;line-height:1.55}
.phase175-onboarding{margin:17px 0;padding:20px;border:1px solid #b9d2eb;border-radius:16px;background:linear-gradient(130deg,#f2faff,#fff);color:#203950}
.phase175-onboarding h2{font-size:20px;margin:4px 0}.phase175-onboarding p{color:#486178;line-height:1.5;margin:8px 0}
.phase175-meter{height:9px;border-radius:90px;background:#d9e9f4;overflow:hidden;margin:13px 0 8px}.phase175-meter-fill{height:100%;background:linear-gradient(90deg,#1c658b,#35ac8b);border-radius:90px}
.phase175-checklist{display:grid;gap:7px;margin:13px 0}.phase175-checklist span{display:flex;align-items:center;gap:7px;font-size:13px}
.phase175-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.phase175-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.phase175-identity label{display:grid;gap:5px;font-size:13px;font-weight:700}.phase175-identity input{width:100%;min-height:44px;border:1px solid #bed0df;border-radius:9px;padding:9px;background:white;color:#183047}
.phase175-language{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:normal;margin:3px 0}
@media(max-width:820px){.phase175-layout{grid-template-columns:1fr;margin-top:16px}.phase175-side{position:static}}
@media(max-width:560px){.phase175-fields,.phase175-identity{grid-template-columns:1fr}.phase175-form{padding:20px}.phase175-layout{padding:0 12px}}

/* Registration information panel is permanently a white surface. Force the
   same deep-navy contrast in both light and midnight themes, including the
   contact link's legacy inline color:white from the shared registration markup. */
body.nacwo-os .phase175-layout > aside.phase175-side,
html[data-theme="midnight"] body.nacwo-os .phase175-layout > aside.phase175-side{
  background:#fff!important;color:#0a2846!important;border-color:#d8e2ef!important;
}
body.nacwo-os .phase175-layout > aside.phase175-side :is(h2,h3,p,ol,li,strong,.phase175-commit),
html[data-theme="midnight"] body.nacwo-os .phase175-layout > aside.phase175-side :is(h2,h3,p,ol,li,strong,.phase175-commit){
  color:#0a2846!important;
}
body.nacwo-os .phase175-layout > aside.phase175-side a,
html[data-theme="midnight"] body.nacwo-os .phase175-layout > aside.phase175-side a{
  color:#0a2846!important;text-decoration-color:#0a2846!important;
}

/* Phase 1.75 closing polish: compact, self-scrolling information panel.
   Scope only to public Member / Partner signup; both modes keep the white card. */
body.nacwo-os[data-registration-lane] .phase175-layout > aside.phase175-side,
html[data-theme="midnight"] body.nacwo-os[data-registration-lane] .phase175-layout > aside.phase175-side{
  box-sizing:border-box!important;
  height:auto!important;
  max-height:min(620px,calc(100dvh - 130px))!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#86aec7 #edf4f9;
  padding-bottom:28px!important;
  top:85px;
  background:#fff!important;
  color:#0a2846!important;
}
body.nacwo-os[data-registration-lane] .phase175-layout > aside.phase175-side::-webkit-scrollbar{width:7px}
body.nacwo-os[data-registration-lane] .phase175-layout > aside.phase175-side::-webkit-scrollbar-track{background:#edf4f9;border-radius:9px}
body.nacwo-os[data-registration-lane] .phase175-layout > aside.phase175-side::-webkit-scrollbar-thumb{background:#86aec7;border-radius:9px}
body.nacwo-os[data-registration-lane] .phase175-layout > aside.phase175-side .phase175-commit{
  overflow-wrap:anywhere;
  line-height:1.55!important;
}
body.nacwo-os[data-registration-lane] .phase175-layout > aside.phase175-side :is(p,li){
  overflow-wrap:anywhere;
  hyphens:auto;
}
body.nacwo-os[data-registration-lane] .phase175-layout > aside.phase175-side a:focus-visible{
  outline:3px solid #1666a5;outline-offset:3px;border-radius:3px;
}
/* Consistent portal-specific Login CTA in the registration top bar. */
body.nacwo-os[data-registration-lane] .public-header .top-actions{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end;
}
body.nacwo-os[data-registration-lane] .public-header .top-actions .phase175-login-link{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:9px 13px;
  border:1px solid rgba(169,224,255,.60)!important;
  background:rgba(8,39,67,.63)!important;
  color:#eaf8ff!important;
  border-radius:13px!important;
  font-size:13px;font-weight:850;white-space:normal;
  text-align:center;
}
body.nacwo-os[data-registration-lane] .public-header .top-actions .phase175-login-link:hover,
body.nacwo-os[data-registration-lane] .public-header .top-actions .phase175-login-link:focus-visible{
  background:#165f92!important;color:#fff!important;
  border-color:#92e0ff!important;
}
/* Only the registration pages' dynamic policy footer becomes dark in midnight mode.
   Light mode keeps its normal light footer. */
html[data-theme="midnight"] body.nacwo-os[data-registration-lane] > footer.policy-footer{
  background:#061a2b!important;
  background-image:none!important;
  color:#daeafa!important;
  border-top:1px solid #26516d!important;
  box-shadow:none!important;
}
html[data-theme="midnight"] body.nacwo-os[data-registration-lane] > footer.policy-footer :is(.policy-footer-inner,.policy-footer-copy){
  color:#c3d8e8!important;
}
html[data-theme="midnight"] body.nacwo-os[data-registration-lane] > footer.policy-footer a,
html[data-theme="midnight"] body.nacwo-os[data-registration-lane] > footer.policy-footer a:visited{
  color:#bde9ff!important;
  opacity:1!important;
}
html[data-theme="midnight"] body.nacwo-os[data-registration-lane] > footer.policy-footer a:hover,
html[data-theme="midnight"] body.nacwo-os[data-registration-lane] > footer.policy-footer a:focus-visible{
  color:#ffffff!important;text-decoration:underline;
}
@media(max-width:820px){
  body.nacwo-os[data-registration-lane] .phase175-layout > aside.phase175-side{
    position:relative;top:auto;
    max-height:min(570px,65dvh)!important;
  }
}
@media(max-width:620px){
  body.nacwo-os[data-registration-lane] .public-header .top-actions{gap:5px}
  body.nacwo-os[data-registration-lane] .public-header .top-actions .phase175-login-link{font-size:12px;padding:8px 10px}
}


/* Phase 1.76-E: registration footer must remain readable on its white form card. */
body.nacwo-os[data-registration-lane] .phase175-form .phase175-foot{
  color:#264458!important
}

/* 1.76-E: signup footer and its inline link stay high contrast in both themes. */
html body.nacwo-os[data-registration-lane] .phase175-form .phase175-foot{
 background:#fff!important;
 color:#143e54!important;
 padding:8px 10px;
 border-radius:8px
}
html body.nacwo-os[data-registration-lane] .phase175-form .phase175-foot a{
 color:#07526b!important;
 text-decoration:underline!important
}
