.profile-body { max-width: 960px; }
.profile-wizard [hidden], .profile-wizard[data-mode=zh] [data-profile-lang=en],
.profile-wizard[data-mode=en] [data-profile-lang=zh] { display: none !important; }
.profile-wizard[data-mode=bi] [data-profile-lang=en] { display: block; font-weight: 400; }
.profile-wizard .page-hero h1 span { display:block; }
.profile-wizard[data-mode=bi] .page-hero h1 [lang=en] { font-size:.62em; margin-top:.2em; }
.profile-tools, .profile-controls { display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; }
.profile-tools .profile-language { display:flex; align-items:center; gap:.5rem; font-size:.9rem; }
.profile-language select { width:auto; min-height:44px; }
.profile-progress { margin:1rem 0; display:flex; align-items:center; gap:1rem; font-size:.9rem; }
.profile-progress progress { flex:1; width:60%; height:.5rem; accent-color:#b95008; }
.profile-wizard fieldset { min-width:0; }
.profile-wizard legend { max-width:100%; }
.profile-number { display:inline-block; margin-right:.35rem; color:#9a440b; }
.profile-wizard .profile-label { font-weight:650; margin-bottom:.35rem; }
.profile-wizard .profile-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.4rem .9rem; }
.profile-wizard .profile-choice { display:flex; align-items:flex-start; gap:.65rem; padding:.55rem 0; line-height:1.5; margin:0; cursor:pointer; }
.profile-wizard .profile-choice input { width:1.15rem; min-width:1.15rem; height:1.15rem; padding:0; margin:.16rem 0 0; accent-color:#aa4b0d; }
.profile-wizard input,.profile-wizard select,.profile-wizard textarea { max-width:100%; min-width:0; }
.profile-controls { justify-content:flex-end; border-top:1px solid #dadfdc; padding-top:1rem; }
.profile-controls [data-profile-prev] { margin-right:auto; }
.profile-controls .btn { min-height:44px; }
.profile-wizard .profile-privacy { display:flex; gap:1rem; flex-wrap:wrap; }
.profile-review { display:none; border:1px solid #d5ddd7; border-radius:4px; margin:.8rem 0; padding:1rem; }
.profile-wizard[data-ready] .profile-review { display:block; }
.profile-review summary { font-weight:650; cursor:pointer; }
.profile-review dl { display:grid; grid-template-columns:minmax(100px,1fr) 2fr; gap:.25rem .9rem; }
.profile-review dt, .profile-review dd { margin:0; overflow-wrap:anywhere; }
.profile-review dd { white-space:pre-wrap; }
@media (max-width:700px) {
  .profile-wizard .form-grid, .profile-wizard .profile-choices { grid-template-columns:minmax(0,1fr); }
  .profile-wizard .form-panel { padding:clamp(.8rem,4vw,1.3rem); }
  .profile-wizard .page-hero h1 { font-size:clamp(1.9rem,8vw,3rem); }
  .profile-wizard .profile-controls .btn { white-space:normal; }
  .profile-review dl { grid-template-columns:minmax(0,1fr); }
  .profile-review dd { margin-bottom:.5rem; }
}
