.member-workspace-dialog{width:min(1100px,96vw);height:92dvh;max-height:96dvh;max-width:96vw;border:1px solid #dce2e8;border-radius:16px;padding:0;background:#fff;box-shadow:0 20px 80px #0005;overflow:hidden}.member-workspace-dialog::backdrop{background:#18243188;backdrop-filter:blur(3px)}.member-workspace-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #ddd;height:64px;box-sizing:border-box}.member-workspace-dialog iframe{display:block;width:100%;height:calc(100% - 64px);border:0}.member-popup-body{background:#f4f6f8;font-size:16px}.member-popup-body .main{padding:18px 0}.member-popup-body .container.narrow{max-width:100%;padding:0 18px}.member-popup-body .page-head>a,.member-popup-body .form-actions>a{display:none}.member-popup-body .panel{padding:20px}.member-popup-body .form-actions{position:sticky;bottom:0;background:#fff;padding:14px;border-top:1px solid #ddd;z-index:4}.member-popup-body .alert-success{animation:none}.member-birth-summary{padding:12px 16px;border-radius:8px;background:#edf6fc;color:#234a68;font-weight:600;line-height:1.7}.popup-family-groups{display:grid;gap:16px;margin-bottom:24px}.popup-relatives{display:flex;flex-wrap:wrap;gap:8px}.popup-relatives a{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #ddd;border-radius:8px;background:#fff}.popup-relatives img{width:40px;height:40px;border-radius:50%;object-fit:cover}.member-relations-editor form>.btn{margin-top:16px}.member-relations-editor label{display:grid;gap:6px}.member-relations-editor [hidden]{display:none!important}.tree-node:not(.minimal){width:116px;min-height:132px}.couple-row{gap:0}.couple-row>.marriage-link{width:18px;flex-basis:18px}.tree-link-layer .tree-parent-pair{stroke-width:1.8}.member-popup-body .relationship-list{display:flex;flex-wrap:wrap;gap:8px}.member-popup-body .relationship-list-item{flex:0 1 240px}@media(max-width:600px){.member-workspace-dialog{width:98vw;max-width:98vw;height:96dvh}.member-popup-body .container.narrow{padding:0 8px}.member-popup-body .panel{padding:12px}.member-popup-body .form-grid{grid-template-columns:1fr}.member-workspace-dialog>header{padding:10px 12px}}
/* Unified controls and family actions within the member form. */
.member-popup-body{font-family:"Noto Sans","Noto Sans",sans-serif;color:#263849}.member-popup-body .member-edit-panel{background:#fff;border:1px solid #dce3ea;border-radius:14px}.member-popup-body .form-grid{gap:18px;align-items:start}.member-popup-body .field>label,.member-popup-body .family-form-grid>label{font-weight:600;color:#35465a}.member-popup-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.member-popup-body select,.member-popup-body .person-picker-trigger{box-sizing:border-box;width:100%;height:44px;min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #d1dae3;border-radius:10px;background:#fff;color:#263849;font:400 15px/1.4 "Noto Sans","Noto Sans",sans-serif;box-shadow:none}.member-popup-body textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #d1dae3;border-radius:10px;background:#fff;color:#263849;font:400 15px/1.5 "Noto Sans","Noto Sans",sans-serif}.member-popup-body input:focus,.member-popup-body select:focus,.member-popup-body textarea:focus,.member-popup-body .person-picker-trigger:focus{outline:2px solid #b5d8ed;outline-offset:1px;border-color:#4394bc}.member-popup-body .field{min-width:0}.member-popup-body .person-picker{width:100%;min-width:0}.member-popup-body .person-picker-popover{max-width:100%;box-sizing:border-box}.member-popup-body .form-actions{border-radius:0 0 12px 12px;margin:18px -4px -4px}.member-family-inline{margin-top:24px;min-width:0}.member-family-inline .profile-section-title{font-size:20px;margin:0 0 14px}.family-sections{border:1px solid #e0e6ec;border-radius:14px;padding:0 18px 18px;background:#fff}.family-section{padding:16px 0;border-bottom:1px solid #edf0f3}.family-section h3{font-size:15px;margin:0 0 10px;color:#435467}.family-section p{font-size:14px;margin:0;color:#7d8894}.popup-relative-card{display:flex;align-items:center;min-width:0;border:1px solid #e3e8ee;border-radius:10px}.popup-relative-card>a{border:0;padding:8px!important}.popup-relative-card form{padding:0 8px 0 0}.family-action-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px}.family-action-buttons>.btn{min-width:0;min-height:44px;border:1px dashed #cbd6e0;border-radius:10px;padding:10px 8px;white-space:normal;font-size:14px;background:#fff;color:#50677a}.family-action-buttons>.btn[aria-expanded=true]{background:#eaf5fc;border-color:#62a9d0;color:#2577a1}.family-inline-form{margin-top:18px;padding:18px;border:1px solid #dce3e9;border-radius:14px;background:#f8fafc}.family-inline-form[hidden]{display:none!important}.family-inline-form h3{font-size:17px;margin:0 0 18px}.family-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end}.family-form-grid>label,.family-child-fields>label{display:grid;gap:8px;min-width:0;font-size:14px}.family-form-grid>.field-full{grid-column:1/-1}.family-form-grid [hidden]{display:none!important}.family-form-actions{display:flex;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid #e1e8ee}.family-form-actions>.btn{height:44px;border-radius:10px}.family-form-actions>[type=submit]{flex:1}.family-children{background:#f5fbff;border-color:#bde2f6}.family-children h3,.family-child-heading strong{color:#278cbb}.family-spouse{background:#fff7fa;border-color:#f3cddc}.family-spouse h3{color:#b74674}.family-child-row{border:1px solid #e1e7ed;border-radius:12px;background:#fff;padding:14px;margin-top:14px}.family-child-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:14px}.family-remove-row{border:0;background:none;color:#748493;width:28px;height:28px;border-radius:6px;font-size:22px;cursor:pointer}.family-child-fields{display:grid;grid-template-columns:70px minmax(140px,1fr) 110px 110px;gap:10px;align-items:end}.family-add-row{width:100%;border:1px dashed #a9d6ec;border-radius:10px;margin-top:14px;height:44px;background:transparent;color:#278cbb}.member-popup-body .popup-relatives{gap:8px}.family-inline-form [data-relation-status]:empty{display:none}.family-inline-form [data-relation-status]{color:#a33c36;margin:12px 0 0;line-height:1.5}@media(max-width:700px){.family-child-fields{grid-template-columns:70px minmax(0,1fr)}.family-child-fields>label:nth-child(3){grid-column:1}.family-child-fields>label:nth-child(4){grid-column:2}}@media(max-width:520px){.family-form-grid{grid-template-columns:1fr}.family-sections{padding:0 12px 12px}.family-inline-form{padding:12px}.family-action-buttons{gap:6px}.family-action-buttons>.btn{font-size:12px;min-height:52px;padding:7px 4px}.member-popup-body .member-calendar-columns{grid-template-columns:1fr}.member-popup-body .member-calendar-arrow{display:none}.member-popup-body .family-child-fields input,.member-popup-body .family-child-fields select{padding-inline:8px}}
.member-popup-body .container.narrow{width:100%;max-width:100%;box-sizing:border-box}.member-popup-body .site-select{width:100%;min-width:0}.member-popup-body .site-select-trigger{box-sizing:border-box;width:100%;height:44px;min-height:44px;padding:9px 12px;border:1px solid #d1dae3;border-radius:10px;background:#fff;color:#263849;font:400 15px/1.4 "Noto Sans","Noto Sans",sans-serif;box-shadow:none}.member-popup-body .site-select-trigger-text{font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.member-popup-body .site-select-chevron{color:#6e8090}.member-popup-body .site-select-menu{border:1px solid #d1dae3;border-radius:10px;background:#fff;max-width:100%;box-sizing:border-box}.member-popup-body .site-select-option{font:400 15px/1.4 "Noto Sans","Noto Sans",sans-serif}

.family-birth-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px;min-width:0}.family-birth-fields>strong,.family-birth-fields>[data-date-parts-button]{grid-column:1/-1}.family-birth-fields>label{display:grid;gap:8px;min-width:0;font-size:14px}.family-relation-row{min-width:0;padding:14px;border:1px solid #d5dfe8;border-radius:12px;margin:14px 0;background:#fff}.family-relation-row legend{padding:0 6px;color:#28769c;font-weight:700}.family-relation-row>[data-relation-remove]{margin-top:12px}.family-child-fields{grid-template-columns:70px minmax(0,1fr) 110px}@media(max-width:520px){.family-child-fields{grid-template-columns:65px minmax(0,1fr)}.family-child-fields>label:nth-child(3){grid-column:1/-1}.family-birth-fields{gap:8px}}
