/* Scoped child-profile improvements only. */
#portal .children-gallery-grid,#portal .children-tile-grid{overflow:visible}
#portal .child-gallery-card:has(.row-action-menu[open]),#portal .child-tile:has(.row-action-menu[open]){position:relative;z-index:120;overflow:visible!important}
#portal .row-action-menu[open]{z-index:140}
#portal .row-action-menu[open]>div{z-index:150!important}
#portal .child-profile-photo-card{display:flex;align-items:center;gap:15px;padding:14px;border:1px solid var(--v27-line,#d9e2dc);border-radius:14px;background:linear-gradient(135deg,#f5faf7,#fff)}
#portal .child-profile-photo{width:96px;height:96px;flex:0 0 96px;border-radius:18px;overflow:hidden;display:grid;place-items:center;background:#dcecdf;color:#315f42;font-size:34px;font-weight:900}
#portal .child-profile-photo img,#portal .child-photo-live-preview img{width:100%;height:100%;object-fit:cover}
#portal .child-profile-photo-card>div:last-child{display:grid;gap:4px}
#portal .child-profile-photo-card small{font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:#78877e;font-weight:900}
#portal .child-profile-photo-card p{margin:0;color:var(--muted,#65736a);font-size:12px}
#portal .child-profile-edit-photo{display:flex;align-items:center;gap:13px;padding:11px;border:1px solid var(--v27-line,#d9e2dc);border-radius:12px;background:#f8fbf9}
#portal .child-profile-edit-photo>div:last-child{display:grid;gap:3px}
#portal .child-profile-edit-photo small{color:var(--muted,#65736a);font-weight:500}
#portal .child-photo-live-preview{width:72px;height:72px;flex:0 0 72px;border-radius:15px;overflow:hidden;display:grid;place-items:center;background:#dcecdf;color:#315f42;font-size:25px;font-weight:900}
@media(max-width:600px){#portal .child-profile-photo{width:78px;height:78px;flex-basis:78px}#portal .child-profile-photo-card{align-items:flex-start}}
