#smallProfileEditor{box-sizing:border-box;width:calc(100% - 24px);max-width:560px;max-height:90dvh;padding:0;border:1px solid #b5bfa6;border-radius:18px;background:#fffaf1;color:#263c2e;font:16px/1.45 system-ui,sans-serif;overflow:auto;box-shadow:0 20px 70px #172c3355}
#smallProfileEditor::backdrop{background:#12291f99}
#smallProfileEditor .small-profile-heading{position:sticky;top:0;z-index:3;display:block;padding:14px 20px;background:#fffaf1;border-bottom:1px solid #d8ddce}
#smallProfileEditor .small-profile-heading h2{font:700 24px/1.2 system-ui,sans-serif;margin:12px 0 0}
#smallProfileEditorBody{padding:18px 20px 0}
#smallProfileEditor #familyForm{margin:0;padding:0;border:0;background:none;box-shadow:none}
#smallProfileEditor #familyFormTitle,#smallProfileEditor .family-photo-editor>p.muted,#smallProfileEditor #familyLifeStatus+p,#smallProfileEditor #livingProfileFields>p.muted{display:none}
#smallProfileEditor label{display:block;font-size:15px;font-weight:650;margin:14px 0 6px}
#smallProfileEditor input:not([type=checkbox]):not([type=range]),#smallProfileEditor select,#smallProfileEditor textarea{box-sizing:border-box;width:100%;min-height:44px;margin:0;padding:10px 12px;border:1px solid #aebba5;border-radius:9px;background:#fffef9;color:#263c2e;font:16px/1.4 system-ui,sans-serif}
#smallProfileEditor input[type=file]{font-size:14px;padding:9px;overflow:hidden}
#smallProfileEditor button{font:650 15px/1.3 system-ui,sans-serif;min-height:44px;padding:10px 14px;border-radius:9px}
#smallProfileEditor .family-photo-editor{padding:12px;margin:16px 0;border:1px solid #d8ddce;border-radius:12px;background:#f0f3e8}
#smallProfileEditor .family-photo-editor>label{margin-top:12px}
#smallProfileEditor .family-photo-editor>label[for=familyPhotoFile]{font-size:0}
#smallProfileEditor .family-photo-editor>label[for=familyPhotoFile]::after{content:'Upload a profile photo';font-size:15px}
#smallProfileEditor .crop-viewport{margin:0 auto 10px;width:120px;height:120px;max-width:100%}
#smallProfileEditor #familyCropControls{margin:8px 0}
#smallProfileEditor #familyCropControls p{font-size:13px;margin:4px 0}
#smallProfileEditor #familyPhotoStatus:empty{display:none}
#smallProfileEditor details{margin:16px 0;padding:12px;border:1px solid #d8ddce;border-radius:10px;background:#f7f7ee}
#smallProfileEditor summary{font-size:16px;font-weight:650;cursor:pointer}
#smallProfileEditor fieldset{min-width:0;margin:14px 0;padding:12px}
#smallProfileEditor .small{font-size:13px}
#smallProfileEditor #familyForm>.actions{position:sticky;bottom:0;z-index:2;display:flex;gap:10px;flex-wrap:wrap;margin:18px -20px 0;padding:14px 20px;background:#fffaf1;border-top:1px solid #d8ddce}
#smallProfileEditor #familyForm>.actions>button:first-child{flex:1;font-size:0}
#smallProfileEditor #familyForm>.actions>button:first-child::after{content:'Save changes';font-size:15px}
#smallProfileEditor #familyForm>.actions>button[onclick="newFamilyMember()"]{display:none}
#smallProfileCancel{display:none}
#smallProfileEditor #smallProfileCancel{display:inline-block}
/* Parents are chosen once, using the direct mother/father questions. */
#smallProfileEditor #familyChildConnection,#smallProfileEditor #familyParentHelp{display:none}
#smallProfileEditor #familyParentIntro{margin-top:16px}
#smallProfileEditor #familySiblingList:empty{display:none}
#smallProfileEditor .small-profile-heading{padding:10px 16px}
#smallProfileEditor .small-profile-heading h2{font-size:21px;margin-top:8px}
