.profile-editor.ui-modal{width:min(640px,100vw - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:hidden}.profile-editor[open]{flex-direction:column;display:flex}.profile-editor .ui-modal-header{border-bottom:1px solid var(--theme-line-subtle);flex:none;gap:16px;margin:0;padding:16px 24px}.profile-editor .ui-modal-header h1{overflow-wrap:anywhere;min-width:0;margin:0;font-size:20px;line-height:1.4}.profile-editor .ui-modal-header .ui-modal-close{flex:0 0 44px;position:static}.profile-editor form{flex-direction:column;min-height:0;display:flex}.profile-editor-body{overscroll-behavior:contain;min-height:0;padding:0 24px 24px;overflow-y:auto}.profile-editor-disclosure{color:var(--theme-text-secondary);margin:16px 0 20px;font-size:14px;line-height:1.65}.profile-editor-fields{border:0;gap:20px;min-width:0;margin:0;padding:0;display:grid}.profile-editor-image{align-items:center;gap:16px;display:flex}.profile-editor-image>div:first-child{flex-shrink:0}.profile-editor-image>div:last-child{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.profile-editor-image .ui-button{white-space:normal;min-height:44px;padding:10px 12px;font-size:14px}.profile-editor-image small{color:var(--theme-text-secondary);flex-basis:100%;font-size:13px;line-height:1.5}.profile-editor-field{gap:8px;min-width:0;display:grid}.profile-editor-field strong{font-size:16px;line-height:1.5}.profile-editor-field>span,.profile-editor-field small{color:var(--theme-text-secondary);overflow-wrap:anywhere;font-size:14px;line-height:1.5}.profile-editor-field input,.profile-editor-field textarea{width:100%;min-width:0;min-height:48px;font-size:16px}.profile-editor-field textarea{resize:vertical;min-height:120px;max-height:320px}.profile-editor-actions{padding:16px 24px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--theme-line-subtle);background:var(--theme-surface-0);flex:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.profile-editor-actions>button{white-space:normal;min-width:0;min-height:48px;font-size:16px}.profile-editor-error{color:var(--theme-error-text);overflow-wrap:anywhere}.profile-editor-image>img{object-fit:cover;border-radius:50%;flex-shrink:0;width:72px;height:72px}@media (max-width:600px){.profile-editor.ui-modal{border-radius:20px 20px 0 0;width:100%;max-width:100%;max-height:calc(100dvh - 16px);margin:auto 0 0}.profile-editor .ui-modal-header,.profile-editor-body,.profile-editor-actions{padding-inline:16px}.profile-editor-image{align-items:flex-start}}.profile-editor-label{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.profile-editor-label strong{color:var(--theme-text-primary)}.profile-editor-label small{font-variant-numeric:tabular-nums;flex:none}.profile-editor-field .profile-editor-validation{color:var(--theme-error-text)}
