.profile-onboarding{
  position:fixed;
  inset:0;
  z-index:12000;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(16,31,52,.62);
}
.profile-onboarding.hidden{display:none!important}
.profile-onboarding-card{
  width:min(720px,100%);
  overflow:hidden;
  border:1px solid #dce2e9;
  border-top:4px solid #204f87;
  border-radius:20px;
  background:#fff;
  color:#183055;
  box-shadow:0 14px 38px rgba(7,25,55,.2);
}
.profile-onboarding-body{
  display:grid;
  grid-template-columns:minmax(205px,.72fr) minmax(340px,1.28fr);
}
.profile-onboarding-intro{
  display:flex;
  align-items:center;
  padding:38px 30px;
  background:#f2f3f5;
  border-right:1px solid #e2e6eb;
}
.profile-onboarding-kicker{
  color:#52677f;
  font-size:11px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.profile-onboarding-intro h2{
  margin:16px 0 0;
  color:#183055;
  font-size:31px;
  line-height:1.08;
  letter-spacing:-1px;
}
.profile-onboarding-form{
  display:flex;
  flex-direction:column;
  gap:22px;
  padding:36px 38px 32px;
}
.profile-onboarding-form h3{
  margin:0 0 4px;
  color:#183055;
  font-size:23px;
  letter-spacing:-.45px;
}
.profile-onboarding-form>p{
  margin:-17px 0 0;
  color:#71809a;
  font-size:13px;
  line-height:1.55;
}
.profile-onboarding-photo-row{display:flex;align-items:center;gap:18px}
.profile-onboarding-photo{
  display:grid;
  place-items:center;
  flex:0 0 88px;
  width:88px;
  height:88px;
  overflow:hidden;
  border:3px solid #fff;
  border-radius:50%;
  outline:1px solid #ccd5df;
  background:#e9edf2;
  color:#3d5f87;
  font-size:23px;
  font-weight:900;
}
.profile-onboarding-photo img{width:100%;height:100%;object-fit:cover}
.profile-onboarding-photo-copy{display:grid;gap:6px}
.profile-onboarding-photo-copy strong{font-size:14px}
.profile-onboarding-photo-copy small{color:#7b8aa1;font-size:11px;line-height:1.45}
.profile-onboarding-upload{
  width:max-content;
  padding:9px 13px;
  border:1px solid #c9d3df;
  border-radius:9px;
  background:#fff;
  color:#204f87;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.profile-onboarding-upload:hover{border-color:#839db9;background:#f7f8fa}
.profile-onboarding-field{display:grid;gap:8px}
.profile-onboarding-field>label{font-size:12px;font-weight:850;color:#314966}
.profile-onboarding-field>small{color:#7b8797;font-size:11px;line-height:1.4}
.profile-onboarding-location-wrap{display:block}
.profile-onboarding-location-control{position:relative;display:block}
.profile-onboarding-location-control svg{
  position:absolute;
  z-index:1;
  top:50%;
  left:14px;
  width:18px;
  height:18px;
  transform:translateY(-50%);
  fill:none;
  stroke:#6c83a7;
  stroke-width:2;
  pointer-events:none;
}
.profile-onboarding-field input{
  width:100%;
  min-height:48px;
  padding:11px 14px 11px 43px;
  border:1px solid #d3dbe5;
  border-radius:10px;
  outline:0;
  background:#fff;
  color:#1d365b;
  font:inherit;
  font-size:14px;
}
.profile-onboarding-field input:focus{border-color:#4b78aa;box-shadow:0 0 0 3px rgba(32,79,135,.1)}
.profile-onboarding-location-menu{
  width:100%;
  max-height:218px;
  margin-top:7px;
  overflow-y:auto;
  overscroll-behavior:contain;
  border:1px solid #d3dbe5;
  border-radius:11px;
  background:#fff;
  box-shadow:0 10px 26px rgba(16,40,72,.13);
}
.profile-onboarding-location-menu.hidden{display:none}
.profile-onboarding-location-option{
  display:grid;
  width:100%;
  gap:2px;
  padding:10px 13px;
  border:0;
  border-bottom:1px solid #edf0f3;
  background:#fff;
  color:#183055;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.profile-onboarding-location-option:last-child{border-bottom:0}
.profile-onboarding-location-option:hover,
.profile-onboarding-location-option.active{background:#f1f5f9}
.profile-onboarding-location-option strong{font-size:13px;line-height:1.35}
.profile-onboarding-location-option span{color:#6d7c90;font-size:11px;line-height:1.35}
.profile-onboarding-location-message{
  padding:13px;
  color:#66768b;
  font-size:12px;
  line-height:1.4;
  text-align:left;
}
.profile-onboarding-location-message.loading{color:#315d8f}
.profile-onboarding-location-fallback{
  display:block;
  width:calc(100% - 20px);
  margin:0 10px 10px;
  padding:9px 11px;
  border:1px solid #b8c9db;
  border-radius:8px;
  background:#f5f8fb;
  color:#204f87;
  font:inherit;
  font-size:12px;
  font-weight:850;
  text-align:left;
  cursor:pointer;
}
.profile-onboarding-location-fallback:hover{border-color:#7896b5;background:#edf3f8}
.profile-onboarding-status{min-height:18px;margin:-8px 0 0;color:#a04454;font-size:12px;font-weight:750}
.profile-onboarding-status[data-tone="success"]{color:#16815a}
.profile-onboarding-actions{display:flex;align-items:center;justify-content:flex-end;margin-top:auto}
.profile-onboarding-actions button{padding:11px 16px;border-radius:10px;font:inherit;font-size:12px;font-weight:900;cursor:pointer}
.profile-onboarding-save{min-width:142px;border:0;background:#204f87;color:#fff}
.profile-onboarding-save:hover{background:#183f6e}
.profile-onboarding-actions button:disabled{cursor:wait;opacity:.62}

@media(max-width:700px){
  .profile-onboarding{padding:12px;place-items:end center}
  .profile-onboarding-card{max-height:calc(100dvh - 24px);overflow-y:auto;border-radius:18px}
  .profile-onboarding-body{display:block}
  .profile-onboarding-intro{padding:24px;border-right:0;border-bottom:1px solid #e2e6eb}
  .profile-onboarding-intro h2{font-size:27px}
  .profile-onboarding-form{padding:25px 24px 24px;gap:20px}
  .profile-onboarding-photo{flex-basis:76px;width:76px;height:76px}
  .profile-onboarding-save{width:100%}
}

@media(prefers-reduced-motion:no-preference){
  .profile-onboarding:not(.hidden) .profile-onboarding-card{animation:profile-onboarding-in .22s ease-out both}
  @keyframes profile-onboarding-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
}
