/* Profile controls must not inherit the two-column creator form or full-size checkbox. */
.account-dashboard, .account-profile, .account-profile>div, .account-profile-editor { min-width:0; }
.account-dashboard [hidden] { display:none !important; }
.account-profile>img { flex:0 0 58px; width:58px; height:58px; object-fit:cover; }
.account-profile p { overflow-wrap:anywhere; }
.account-profile-editor { margin:0 0 24px; border:1px solid var(--stroke,#e6e7eb); border-radius:14px; padding:16px; }
.account-profile-editor summary { cursor:pointer; font-size:14px; font-weight:600; line-height:1.6; }
.account-profile-editor form { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; margin-top:20px; }
.account-profile-editor form+form { border-top:1px solid var(--stroke,#e6e7eb); padding-top:20px; }
.account-profile-editor .form-field { min-width:0; margin:0; }
.account-profile-editor label { display:block; margin-bottom:7px; font-size:13px; }
.account-profile-editor input:not([type=checkbox]):not([type=hidden]) { box-sizing:border-box; width:100%; min-width:0; max-width:100%; font:inherit; font-size:14px; }
.account-profile-editor input[type=file] { padding:10px; height:auto; }
.account-profile-editor input[type=checkbox] { display:inline-block; vertical-align:middle; width:18px; height:18px; margin:0 7px 0 0; padding:0; accent-color:#f04425; }
.account-profile-editor p { margin:0; font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.account-profile-editor [data-avatar-preview] { margin-top:12px; }
.account-profile-editor [data-bind-code] { margin-top:8px; }
.account-profile-editor .site-btn { min-height:44px; max-width:100%; white-space:normal; }
@media(max-width:1000px) {
  .account-page .auth-panel.account-mode { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:600px) {
  .account-page .account-mode .account-dashboard { padding:24px 18px; }
  .account-profile-editor { padding:12px; }
}
