@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Noto+Sans+Arabic:wght@400;500;600&display=swap');
:root{font-family:'DM Sans','Noto Sans Arabic',sans-serif;color:#26313b;background:#f6f7f9;font-size:14px;--blue:#367af5;--muted:#858d98;--border:#e9ecf0;--tint:#edf4ff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;background:white;border:1px solid var(--border);border-radius:9px;min-height:36px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .16s,box-shadow .16s}button:hover{background:#f1f4f8}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #97bdff;outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.45}.primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover{background:#2265dc}.soft{background:var(--tint);color:#326fd7;border-color:transparent}.ghost{border-color:transparent;background:transparent}.danger{color:#b95050}.icon{width:36px;padding:8px;flex-shrink:0}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:22px;letter-spacing:-.6px;font-weight:650}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:14px}.muted{color:var(--muted);font-size:12px}.shell{display:grid;grid-template-columns:204px minmax(0,1fr);height:100dvh}.sidebar{background:#fbfcfd;border-inline-end:1px solid var(--border);padding:28px 16px 18px;display:flex;flex-direction:column;gap:28px}.brand{font-size:20px;font-weight:700;letter-spacing:-.8px;display:flex;align-items:center;gap:9px;padding:0 10px}.brand svg{color:var(--blue);width:26px;height:26px}.family-name{padding:0 12px;display:flex;gap:10px;align-items:center}.family-icon{background:#e9eef4;border-radius:11px;padding:10px;display:flex}.side-nav{display:grid;gap:5px}.side-nav button{justify-content:flex-start;background:transparent;border:0;padding:11px 13px;color:#737d89}.side-nav button.active{background:#eaf1fd;color:#2f70db}.count{margin-inline-start:auto;background:#e6ecf6;min-width:21px;padding:2px 6px;border-radius:6px;font-size:11px}.side-caption{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#9aa2ad;padding:0 13px;margin-bottom:10px}.side-bottom{margin-top:auto;display:grid;gap:15px}.demo-tag{font-size:11px;padding:12px;border:1px dashed #d6dfe9;border-radius:9px;color:#8b949f;line-height:1.7}.account{display:flex;gap:9px;align-items:center;border-top:1px solid var(--border);padding:16px 8px 0}.avatar{width:43px;height:43px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#eaf0f8;color:#6484b0;font-weight:550;font-size:14px;flex-shrink:0;overflow:hidden}.avatar img{height:100%;width:100%;object-fit:cover}.workspace{min-width:0;display:flex;flex-direction:column}.topbar{background:white;min-height:92px;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border)}.subtitle{font-size:12px;color:var(--muted);margin-top:5px}.top-actions{display:flex;align-items:center;gap:8px}.mode{font-size:12px;max-width:170px;border:1px solid var(--border);border-radius:8px;padding:9px;background:white;color:#697482}.body{display:flex;flex:1;min-height:0}.main{flex:1;min-width:0;position:relative;display:flex;flex-direction:column}.toolbar{display:flex;align-items:center;gap:10px;padding:16px 22px;background:#fff;border-bottom:1px solid var(--border)}.search{position:relative;flex:1;max-width:320px}.search svg{position:absolute;inset-inline-start:12px;top:10px;color:#8c96a3}.search input{width:100%;border:1px solid var(--border);border-radius:8px;background:#f9fafb;padding:10px 13px;padding-inline-start:38px;font-size:12px}.search-results{position:absolute;top:42px;background:white;border:1px solid var(--border);box-shadow:0 12px 30px #182d5014;z-index:9;border-radius:10px;width:100%;max-height:300px;overflow:auto}.search-results button{display:flex;width:100%;border:0;justify-content:flex-start}.view-switch{display:flex;padding:3px;background:#f3f5f7;border-radius:8px;margin-inline-start:auto}.view-switch button{border:0;background:transparent;font-size:12px;min-height:30px;padding:5px 10px}.view-switch .active{background:white;box-shadow:0 1px 4px #12233b10}.canvas{position:relative;flex:1;overflow:hidden;background-color:#f8f9fb;background-image:radial-gradient(#dce2ea .8px,transparent .8px);background-size:22px 22px;touch-action:none;min-height:360px;cursor:grab}.canvas:active{cursor:grabbing}.tree-world{position:absolute;transform-origin:0 0;direction:ltr}.connections{position:absolute;inset:0;overflow:visible;pointer-events:none}.connections path{stroke:#c5ceda;stroke-width:1.5;fill:none}.connections .partner{stroke:#91aace;stroke-dasharray:4 4}.person{position:absolute;width:190px;height:104px;background:#fff;border:1px solid #e0e5ec;border-radius:12px;padding:16px 14px;display:flex;align-items:center;gap:11px;justify-content:flex-start;text-align:start;box-shadow:0 3px 8px #24384e04;direction:inherit}.person .avatar{width:39px;height:39px;font-size:12px}.person strong{font-size:12px;font-weight:600;display:block;line-height:1.5}.person small{font-size:11px;color:#99a2ad;display:block;margin-top:4px}.person.selected{border:1.5px solid var(--blue);box-shadow:0 0 0 4px #367af50b}.person.selected:after{content:'';position:absolute;width:7px;height:7px;background:var(--blue);border-radius:50%;top:9px;inset-inline-end:10px}.person:hover{background:#fff;box-shadow:0 5px 15px #24384e10}.tree-label{position:absolute;top:24px;inset-inline-start:26px;pointer-events:none;font-size:10px;color:#a2aab6;letter-spacing:1.7px;text-transform:uppercase}.canvas-footer{position:absolute;bottom:20px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;gap:12px}.canvas-footer>*{pointer-events:auto}.zoom-tools{display:flex;align-items:center;gap:2px;background:white;border:1px solid var(--border);border-radius:10px;padding:3px;box-shadow:0 4px 12px #24384e05}.zoom-tools span{font-size:11px;width:40px;text-align:center}.zoom-tools button{border:0}.return-button{font-size:11px;box-shadow:0 4px 12px #24384e05}.legend{position:absolute;bottom:76px;inset-inline-start:24px;font-size:10px;color:#929ba7;pointer-events:none}.inspector{width:318px;flex-shrink:0;background:#fff;border-inline-start:1px solid var(--border);overflow-y:auto;padding:20px 23px}.panel-top{display:flex;justify-content:space-between;align-items:center;color:#939ca8;font-size:10px;text-transform:uppercase;letter-spacing:1.2px}.profile{text-align:center;padding:23px 0 20px}.profile .avatar{width:76px;height:76px;font-size:24px;margin-bottom:13px;background:#edf3fc;color:#7192bd}.profile h2{font-size:19px}.arabic-name{font-size:14px;color:#9aa3af;margin-top:5px}.pill{display:inline-flex;border-radius:5px;background:#f4f6f9;padding:4px 7px;color:#7d8998;font-size:10px;margin-top:10px}.profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:17px}.profile-actions button{font-size:11px}.section{padding:21px 0;border-top:1px solid var(--border)}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-head h3{font-weight:600;font-size:12px}.detail{display:flex;gap:11px;align-items:flex-start;margin:14px 0;color:#8f9aa9}.detail svg{width:15px;margin-top:3px}.detail strong{display:block;font-size:12px;color:#596674;font-weight:450}.detail small{display:block;font-size:10px;margin-top:4px;color:#a0a8b3}.relative{display:flex;align-items:center;width:100%;border:0;padding:7px 0;background:transparent;text-align:start;justify-content:flex-start;font-size:12px}.relative .avatar{width:29px;height:29px;font-size:10px}.relative small{margin-inline-start:auto;color:#9aa3af;font-size:10px}.note{font-size:12px;color:#75808e;line-height:1.8;white-space:pre-wrap}.invite-card{padding:14px;background:#f5f8fe;border:1px solid #e6edf9;border-radius:10px;font-size:11px;line-height:1.7;color:#7e8fa7}.invite-card strong{display:block;color:#4d6d9a;margin-bottom:4px}.invite-card button{margin-top:10px;width:100%;background:white;border-color:#e1e9f6;color:#567cad;font-size:11px}.page{padding:26px;overflow:auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.list-person{justify-content:flex-start;padding:16px;text-align:start;background:white}.list-person small{display:block;color:#969fac;font-size:11px;margin-top:4px}.review-card{border:1px solid var(--border);background:#fff;border-radius:12px;padding:20px;margin-bottom:14px}.review-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.review-card .actions{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.diff{display:grid;grid-template-columns:120px 1fr 1fr;gap:10px;padding:9px 0;border-top:1px solid #f0f2f5;font-size:12px;overflow-wrap:anywhere}.diff .old{color:#9aa4b0}.diff .new{color:#32735c}.empty{text-align:center;padding:70px 25px;color:#8a95a3}.empty svg{width:32px;height:32px;margin-bottom:16px;color:#9eafc7}.empty h2{color:#546478;margin-bottom:9px}.badge{font-size:10px;background:#fff5e4;color:#ad8443;border-radius:6px;padding:5px 8px;white-space:nowrap}.intro-banner{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 22px;background:#eaf2ff;color:#5379b2;font-size:12px}.intro-banner button{font-size:11px}.mobile-menu{display:none}dialog{padding:0;border:1px solid var(--border);border-radius:16px;max-width:560px;width:calc(100% - 28px);max-height:90dvh;box-shadow:0 24px 100px #13274425;color:#293747}dialog::backdrop{background:#23355055;backdrop-filter:blur(3px)}.modal-head{padding:22px 24px 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.modal-body{padding:22px 24px}.modal-body>p{color:#8a95a3;font-size:12px;line-height:1.8;margin-bottom:17px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#6e7d8d}.field.full{grid-column:1/-1}.field input,.field textarea,.field select,.link-input{width:100%;border:1px solid #dfe5ed;border-radius:8px;padding:10px;background:white;color:#334457;min-width:0}.field textarea{resize:vertical;min-height:74px}.field input[type=file]{font-size:11px}.check{display:flex;align-items:center;gap:8px;font-size:12px;color:#758293;margin-top:12px}.modal-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:22px}.form-error{color:#b74e4e;font-size:12px;margin-top:12px}.share-person{display:flex;align-items:center;gap:12px;padding:15px;background:#f7f9fc;border-radius:10px;margin-bottom:18px}.share-person small{display:block;color:#93a0b0;margin-top:4px}.share-options{display:flex;gap:8px;margin:16px 0}.share-options button{flex:1;font-size:12px}.link-input{font-size:11px;background:#fafbfd;margin:10px 0}.share-row{padding:12px 0;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#26364c;color:white;padding:12px 20px;border-radius:10px;font-size:12px;box-shadow:0 8px 35px #18324930;z-index:99;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw}#toast.show{opacity:1}.hidden{display:none!important}a{color:#367af5}html[dir=rtl] .tree-world{direction:rtl}html[dir=rtl] .person{direction:rtl}@media(min-width:1500px){.inspector{width:350px}.sidebar{padding-inline:20px}.shell{grid-template-columns:220px 1fr}}@media(max-width:1150px){.shell{grid-template-columns:70px 1fr}.sidebar{padding:26px 10px}.brand{padding:0;justify-content:center}.brand span,.family-name,.side-caption,.side-nav .nav-label,.side-nav .count,.demo-tag,.account .account-text{display:none}.side-nav button{justify-content:center;padding:12px}.account{padding:16px 0}.side-bottom{align-items:center}.inspector{width:285px;padding:18px}.topbar{padding:18px 22px}.top-actions .share-top{display:none}}@media(max-width:760px){.shell{display:flex}.sidebar{display:none}.workspace{width:100%}.topbar{min-height:76px;padding:14px 16px}.topbar h1{font-size:18px}.topbar .subtitle{font-size:10px}.mode{font-size:10px;max-width:120px;padding:8px}.top-actions{gap:3px}.top-actions button{padding:7px;min-width:32px}.mobile-menu{display:flex}.body{position:relative}.inspector{position:absolute;z-index:11;bottom:0;left:0;right:0;width:100%;max-height:68%;border:1px solid var(--border);border-radius:18px 18px 0 0;box-shadow:0 -10px 35px #20345312;padding:15px 22px}.inspector.closed{display:none}.profile{padding:10px 0 15px}.profile .avatar{width:54px;height:54px;font-size:19px;margin-bottom:7px}.profile-actions{margin-top:12px}.section{padding:15px 0}.toolbar{padding:12px;gap:7px}.view-switch button{padding:5px 7px;font-size:10px}.toolbar .overview{display:none}.tree-label{font-size:9px;top:18px}.canvas-footer{left:12px;right:12px;bottom:14px}.return-button{font-size:10px;padding:8px}.page{padding:17px}.diff{grid-template-columns:75px 1fr 1fr;font-size:11px}.intro-banner{font-size:10px;padding:10px 12px}.legend{display:none}.form-grid{gap:12px}.modal-body{padding:18px}.modal-head{padding:16px 18px}.people-grid{grid-template-columns:1fr}.panel-top{letter-spacing:.7px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.inspector.closed{display:none}
/* Canvas-first preview: one contextual panel, no permanent navigation rail. */
.shell{display:flex}.workspace{width:100%}.topbar{min-height:80px;padding:17px 28px}.header-brand{display:flex;align-items:center;gap:12px}.brand-mark{display:flex;color:var(--blue);background:#edf3ff;padding:11px;border-radius:12px}.brand-mark svg{width:23px;height:23px}.header-brand h1{font-size:19px}.toolbar{padding:11px 24px}.prototype-footer{text-align:center;background:#fafbfd;border-top:1px solid var(--border);padding:7px;color:#a0a8b3;font-size:10px}.empty-canvas{display:flex;align-items:center;justify-content:center}.first-person{text-align:center;padding:24px;margin-top:-45px}.first-person-button{display:flex;flex-direction:column;margin:0 auto 22px;padding:25px 34px;border:1.5px dashed #9bbcf2;border-radius:17px;background:#fff;color:#4f79b8;min-width:236px;min-height:137px;box-shadow:0 5px 18px #355c9d06}.first-person-button svg{width:27px;height:27px;margin-bottom:7px}.first-person-button strong{font-size:13px;font-weight:550}.first-person p{font-size:12px;color:#7f8b9b;line-height:1.8}.first-person>span{display:block;font-size:11px;color:#a2aab6;margin-top:4px}.page-back{padding:10px 20px;background:white;border-bottom:1px solid var(--border)}.couple-frame{position:absolute;height:122px;background:#f0f4f9;border:1px solid #dce4ee;border-radius:17px;pointer-events:none}.selected-couple{background:#edf3fd;border-color:#a6c4f3}.couple-caption{position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);font-size:10px;white-space:nowrap;color:#95a2b5}.canvas-add{position:absolute;white-space:nowrap;z-index:2}.canvas-add button{font-size:11px;min-height:33px;border-radius:9px}.canvas-add button svg{width:14px;height:14px}.child-add,.parent-add{transform:translateX(-50%)}.child-add:before{content:'';height:13px;width:1px;background:#b7c9e3;position:absolute;left:50%;top:-13px}.spouse-add button{border:1px dashed #afc3df;background:#fafcff;color:#7894bc}.parent-add button{background:#f8f9fb;color:#91a0b3;font-size:10px}.optional-details{margin-top:20px;border-top:1px solid var(--border);padding-top:16px}.optional-details summary{cursor:pointer;color:#7a899b;font-size:12px}.optional-details[open] summary{margin-bottom:18px}.child-kind{margin-top:16px}.relation-summary{padding:11px 13px;background:#f3f7fe;border-radius:8px;font-size:11px;color:#7286a4;margin-bottom:18px}.relation-summary strong{font-weight:500;color:#4e6d9a}.workspace-switch{border-top:1px solid var(--border);margin-top:18px;padding-top:18px;display:grid;gap:8px}.workspace-switch p{margin-bottom:4px}.person small{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspector{box-shadow:-6px 0 25px #1b335504}
@media(max-width:760px){.topbar{padding:12px;gap:6px}.header-brand{gap:8px}.brand-mark{padding:8px}.brand-mark svg{width:19px;height:19px}.header-brand h1{font-size:15px}.header-brand .subtitle{display:none}.top-actions .mode{max-width:100px;font-size:10px}.review-top-button{display:none}.toolbar{padding:10px}.toolbar>.soft{font-size:0;gap:0}.toolbar>.soft svg{width:16px}.first-person{padding:15px}.first-person p{font-size:11px}.prototype-footer{font-size:9px}.inspector{max-height:51%}.canvas{min-height:260px}}
dialog .side-nav .nav-label,dialog .side-nav .count{display:inline}dialog .side-nav button{justify-content:flex-start}dialog .side-nav .count{margin-inline-start:auto}.optional-details>.check{margin-bottom:4px}
/* Shared identity system: subtle gender tint, outline symbols, and face fallbacks. */
:root{--male-bg:#eaf2fd;--male-ink:#668ab9;--female-bg:#fceef3;--female-ink:#bb7c96;--neutral-bg:#eef1f5;--neutral-ink:#8793a4}svg{stroke-width:1.8}.avatar.male,.profile .avatar.male{background:var(--male-bg);color:var(--male-ink)}.avatar.female,.profile .avatar.female{background:var(--female-bg);color:var(--female-ink)}.avatar.neutral{background:var(--neutral-bg);color:var(--neutral-ink)}.avatar .face-icon{width:32px;height:32px;stroke-width:1.4}.profile .avatar .face-icon{width:55px;height:55px}.relative .avatar .face-icon{width:25px;height:25px}.gender-mark{display:inline-flex;vertical-align:middle}.gender-mark svg{width:13px;height:13px}.gender-mark.male{color:var(--male-ink)}.gender-mark.female{color:var(--female-ink)}.person{width:218px;height:118px;padding:14px;gap:10px}.person .avatar{width:42px;height:42px}.person-text{min-width:0;text-align:start;flex:1}.person strong{font-size:12px;line-height:1.45;overflow-wrap:anywhere;white-space:normal}.person small{display:flex;align-items:center;gap:5px;max-width:none;overflow:visible}.person.male{border-color:#dce6f2}.person.female{border-color:#eddee5}.person.selected{border-color:var(--blue)}.person.selected:after{width:5px;height:5px;top:7px;inset-inline-end:7px}.couple-frame{height:136px}.couple-caption{bottom:-21px;font-size:10px}.spouse-count{display:flex;align-items:center;gap:4px;color:#8694a8;font-size:9px;margin-top:5px}.spouse-count svg{width:12px;height:12px}.another-spouse button{background:#fafbfd;color:#7b8ca5;font-size:10px;min-height:29px}.gender-options{border:0;margin:19px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}.gender-options legend{font-size:12px;color:#6e7d8d;margin-bottom:9px}.gender-choice{display:flex;align-items:center;gap:6px;padding:9px 11px;border:1px solid var(--border);border-radius:8px;cursor:pointer;font-size:11px;color:#7f8c9d;background:#fff}.gender-choice input{accent-color:var(--blue);margin:0;width:12px;height:12px}.gender-choice svg{width:15px;height:15px}.gender-choice:has(input:checked){background:#f2f5f9;border-color:#ccd7e6;color:#5a6b82}.gender-choice.male:has(input:checked){background:var(--male-bg);border-color:#b9cee9;color:#557aa9}.gender-choice.female:has(input:checked){background:var(--female-bg);border-color:#e6bfd0;color:#ab6b86}.surname-hint{font-size:10px;color:#8e9aab;margin-top:9px}.spouse-fields{border:1px solid var(--border);border-radius:9px;padding:12px;max-height:160px;overflow:auto}.spouse-fields legend{padding:0 5px}.spouse-fields .check{margin-top:4px;padding:4px 0}.existing-person{margin-bottom:18px}.union-section{padding:10px 0;border-bottom:1px solid #edf0f4;margin-bottom:10px}.union-status{font-size:10px;color:#9ba6b4;padding-inline-start:37px}.union-actions{display:flex;padding:4px 0;gap:6px}.union-actions button{font-size:10px;min-height:28px;padding:5px 8px;color:#72849e}.union-actions svg{width:13px;height:13px}.branch-switch{position:absolute;inset-inline-end:20px;top:17px;z-index:5;padding:10px 12px;background:#ffffffee;border:1px solid var(--border);border-radius:10px;max-width:290px;box-shadow:0 4px 12px #20334a05}.branch-switch label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:#8d9aaa}.branch-switch select{border:0;background:transparent;font-size:12px;color:#51667e;max-width:265px;cursor:pointer}.profile h2 .gender-mark{margin-inline-start:4px}.profile h2 .gender-mark svg{width:16px;height:16px}.identity-fields.hidden{display:none}.relative span:not(.avatar){overflow-wrap:anywhere}.relative small{white-space:nowrap}.relative .avatar{flex-shrink:0}
@media(max-width:760px){.gender-options{gap:5px}.gender-choice{padding:8px;font-size:10px}.branch-switch{top:12px;inset-inline-end:12px;max-width:205px;padding:8px}.branch-switch select{max-width:180px;font-size:11px}.tree-label{max-width:110px;line-height:1.6}.profile .avatar .face-icon{width:40px;height:40px}.inspector .profile h2{font-size:17px}}
.proposal-union{margin-top:14px;background:#f5f8fc;border:1px solid #e9eef6;border-radius:9px;padding:12px;font-size:12px;color:#6c7d93}.proposal-union p{margin-top:6px;font-size:11px}
/* One contextual add action and a shared minimal face system. */
.person.selected:after{display:none}.unified-add{z-index:4}.unified-add button{width:30px;height:30px;min-height:30px;border-radius:50%;padding:6px;background:#fff;color:#4d83d5;border:1px solid #a8c5f4;box-shadow:0 2px 5px #1b3b6a0a}.unified-add button:hover{background:#edf4ff;border-color:#367af5}.unified-add svg{width:16px;height:16px}.gender-choice.male{color:var(--male-ink)}.gender-choice.female{color:var(--female-ink)}.add-person-context{display:flex;align-items:center;gap:12px;font-size:13px;padding-bottom:17px;border-bottom:1px solid var(--border)}.relation-menu{display:grid;gap:5px;margin-top:12px}.relation-menu button{text-align:start;justify-content:flex-start;border-color:transparent;padding:13px 10px;gap:12px;background:white}.relation-menu button:hover:not(:disabled){background:#f5f8fd}.relation-menu button>svg:first-child{color:#7e9dc4;width:17px}.relation-menu button>svg:last-child{margin-inline-start:auto;color:#b1bccb;width:14px}.relation-menu strong{display:block;font-size:12px;font-weight:550}.relation-menu small{display:block;margin-top:5px;font-size:10px;color:#98a3b1}.relation-menu button:disabled{opacity:.5}.unlink-action{margin-top:14px;border-top:1px solid var(--border);padding-top:12px}.unlink-action button{font-size:11px;color:#8d7b7b}

/* Compact family rhythm and the shared editable outline avatar set. */
.person{height:104px;padding:12px;gap:10px}.couple-frame{height:122px}.person .avatar{width:36px;height:36px}.avatar .outline-face{width:85%;height:85%;fill:none;stroke:currentColor;stroke-width:2}.gender-choice .outline-face{width:26px;height:26px}

