:root{color:#1d2524;background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #1d2524;--muted: #687371;--soft-muted: #89928f;--line: #e3e8e6;--surface: #fff;--canvas: #f7f9f8;--accent: #2d6557;--accent-dark: #214e43;--accent-soft: #e7f0ed;--focus: #8cb9ab;--radius: 8px}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink)}button,input,select,textarea{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer;transition:background-color .16s,border-color .16s,color .16s,box-shadow .16s,opacity .16s}button:disabled{opacity:.5;cursor:not-allowed}button:hover:not(:disabled){filter:brightness(.98)}input,textarea,select{min-width:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:2px}h1,h2,h3,p{margin-top:0}svg{flex-shrink:0;stroke-width:1.8}button svg{vertical-align:middle}.app{display:flex;width:100%;height:100dvh;min-height:640px;overflow:hidden;background:#fff}.sidebar{z-index:5;display:flex;flex:0 0 228px;flex-direction:column;padding:24px 12px 18px;border-right:1px solid var(--line);background:#fff}.brand{display:flex;align-items:center;gap:11px;padding:0 9px 27px;color:var(--ink);font-size:29px;font-weight:650;letter-spacing:-1.4px;text-decoration:none}.brand-mark{display:grid;flex:0 0 auto;grid-template-columns:repeat(2,11px);gap:3px}.brand-mark i{width:11px;height:11px;border-radius:2px;background:var(--accent)}.brand-mark i:nth-child(3){background:#6d9a8d}.family-picker{display:flex;align-items:center;gap:9px;margin:0 2px 20px;padding:13px 10px;border:1px solid var(--line);border-radius:var(--radius);color:var(--accent)}.family-picker select{width:100%;border:0;outline-offset:4px;background:transparent;color:var(--ink);font-size:13px;cursor:pointer}.sidebar nav{display:flex;flex-direction:column;gap:4px}.sidebar nav button{display:flex;align-items:center;gap:12px;min-height:46px;padding:11px 12px;border:0;border-radius:var(--radius);background:transparent;color:#3d4946;font-size:14px;text-align:left;white-space:nowrap}.sidebar nav button.active{background:var(--accent-soft);color:var(--accent-dark);font-weight:600}.sidebar nav button.active svg{stroke-width:2}.sidebar-bottom{margin-top:auto}.new-family,.export{display:flex;align-items:center;gap:10px;width:100%;padding:10px 9px;border:0;border-radius:7px;background:transparent;color:#45534f;font-size:12px;text-align:left}.new-family:hover,.export:hover{background:#f5f7f6}.demo-note{display:flex;gap:10px;margin:18px 9px 0;color:var(--soft-muted)}.demo-note p{margin:0;font-size:11px;line-height:1.65}.demo-note svg{margin-top:2px}main{display:flex;flex:1;flex-direction:column;min-width:0}header{z-index:2;padding:23px 30px 15px;border-bottom:1px solid var(--line);background:#fff}.heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.heading-row>div{min-width:0}h1{margin:0 0 5px;font-size:clamp(28px,2.6vw,40px);font-weight:650;line-height:1.14;letter-spacing:-1.5px}.heading-row p{margin:0;color:var(--muted);font-size:16px;line-height:1.45}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 15px;border:1px solid transparent;border-radius:7px;font-size:13px;font-weight:550;line-height:1.2;white-space:nowrap}.primary{background:var(--accent);color:#fff}.primary:hover:not(:disabled){background:var(--accent-dark)}.secondary{border-color:#d8e0dd;background:#fff;color:#31423d}.secondary:hover:not(:disabled){border-color:#b9c9c3;background:#f8faf9}.invite{margin-top:1px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:19px}.view-switch{display:flex;gap:2px;padding:3px;border:1px solid #e7ecea;border-radius:8px;background:#f7f9f8}.view-switch button{display:flex;align-items:center;gap:8px;min-height:35px;padding:8px 12px;border:0;border-radius:6px;background:transparent;color:#53605d;font-size:13px;font-weight:500}.view-switch button.active{background:#e2ece8;color:var(--accent-dark)}.toolbar-right{display:flex;align-items:center;gap:10px}.search{display:flex;align-items:center;gap:9px;width:255px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#77817e}.search input{width:100%;border:0;outline:none;background:transparent;color:var(--ink);font-size:13px}.search input::placeholder{color:#808a87;opacity:1}.search button{border:0;background:transparent;color:var(--muted);font-size:20px}.add-person{min-width:190px}.storage-error{padding:10px 24px;background:#fff4e7;color:#83551f;font-size:12px}.mobile-menu.icon-button{display:none}.workspace{position:relative;display:flex;flex:1;min-height:0;overflow:hidden}.canvas-shell{position:relative;flex:1;min-width:0;background:var(--canvas)}.canvas-scroll{height:100%;overflow:auto;padding:0 0 60px;scrollbar-width:thin;scrollbar-color:#cbd5d1 transparent}.scaled-space{position:relative;margin:0 auto}.graph{position:relative;transform-origin:top left}.connections{position:absolute;top:0;right:0;bottom:0;left:0;overflow:visible;pointer-events:none}.connections path{fill:none;stroke:#88a49b;stroke-width:1.5}.connections .partner{stroke-dasharray:4 5}.person-card{position:absolute;display:flex;flex-direction:column;align-items:center;gap:7px;padding:12px 9px 10px;border:1px solid #dfe5e2;border-radius:9px;background:#fff;box-shadow:0 1px 3px #233d3310}.person-card:hover{border-color:#aec2ba;box-shadow:0 5px 14px #233d3312}.person-card.selected{padding:11px 8px 9px;border:2px solid var(--accent);box-shadow:0 4px 14px #2d655718}.person-card.dim{opacity:.25}.person-card strong{display:-webkit-box;max-width:100%;overflow:hidden;font-size:16px;font-weight:600;line-height:1.15;text-align:center;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere}.person-card small{max-width:100%;margin-top:auto;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.avatar-shell{position:relative;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;overflow:hidden;padding:3px;border-radius:50%;background:#eceeef;vertical-align:middle}.avatar{display:inline-flex;width:100%;height:100%;flex-shrink:0;align-items:center;justify-content:center;overflow:hidden;border-radius:inherit;background-repeat:no-repeat;vertical-align:middle}.avatar.initials{background:#e7efeb;color:#315f53;font-size:23px;font-weight:600}.canvas-footer{position:absolute;right:16px;bottom:15px;left:16px;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none}.legend,.zoom{display:flex;align-items:center;border:1px solid #e2e8e5;border-radius:8px;background:#fff;box-shadow:0 1px 3px #233d3308;pointer-events:auto}.legend{gap:16px;padding:10px 12px;color:#65716d;font-size:10px}.legend span{display:flex;align-items:center;gap:7px}.legend i{width:20px;border-top:1.5px solid #688d80}.legend i.dashed{border-top-style:dashed}.zoom button{display:inline-flex;align-items:center;justify-content:center;min-width:37px;height:34px;padding:0 7px;border:0;border-right:1px solid #edf0ef;background:transparent;color:#46534f;font-size:11px}.zoom button:last-child{border-right:0}.zoom button:hover{background:#f5f8f6}.search-results{position:absolute;z-index:1;top:12px;left:16px;padding:8px 12px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#475550;font-size:12px}.person-panel{display:flex;flex:0 0 350px;flex-direction:column;overflow:auto;padding:14px 22px 18px;border-left:1px solid var(--line);background:#fff;scrollbar-width:thin}.panel-heading{display:flex;align-items:center;justify-content:space-between;color:#78827f;font-size:10px;font-weight:600;letter-spacing:.055em}.icon-button{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:7px;background:transparent;color:#586460}.icon-button:hover{background:#f3f6f5}.person-hero{padding:6px 0 18px;text-align:center}.person-hero h2{margin:10px 0 5px;font-size:24px;font-weight:650;line-height:1.2;letter-spacing:-.55px;overflow-wrap:anywhere}.person-hero p{margin:0;color:var(--muted);font-size:13px}.person-panel section{margin:0 0 14px;padding-top:14px;border-top:1px solid #e9edeb}.section-label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;color:#5e6a66;font-size:10px;font-weight:650;letter-spacing:.035em}.section-label button{display:flex;align-items:center;gap:5px;padding:3px 0;border:0;background:transparent;color:var(--accent);font-size:11px;font-weight:550;letter-spacing:0}.bio{margin-bottom:9px;color:#35413e;font-size:13px;line-height:1.58}.source-note{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:#697771;font-size:10px}.source-note small{display:block;width:100%;padding-left:11px;color:#87918d;font-size:10px}.dot{width:5px;height:5px;border-radius:50%;background:#73998a}.relative-list{display:flex;flex-direction:column;gap:6px}.relative-list button{display:flex;align-items:center;gap:9px;width:100%;padding:7px 8px;border:1px solid #e6ebe9;border-radius:7px;background:#fff;text-align:left}.relative-list button:hover{border-color:#bfd0ca;background:#f9fbfa}.relative-list button>span:nth-child(2){flex:1;min-width:0}.relative-list small{display:block;margin-bottom:2px;color:#77827e;font-size:10px}.relative-list b{display:block;overflow:hidden;font-size:12px;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.relative-list button>svg{color:#75817d}.panel-actions{display:flex;flex-direction:column;gap:7px;margin-top:auto;padding-top:8px}.panel-actions button{width:100%;font-size:12px}.mini-story{display:flex;align-items:center;gap:8px;margin:0 0 8px;color:#495651;font-size:12px}.muted{color:var(--muted);font-size:13px;line-height:1.6}.empty{display:flex;min-height:300px;flex-direction:column;align-items:center;justify-content:center;padding:80px 25px;color:#586963;text-align:center}.empty h2{margin:16px 0 10px;font-size:27px;font-weight:650;letter-spacing:-.6px}.empty h3{margin:18px 0 10px;font-size:22px;font-weight:650}.empty p{max-width:340px;margin-bottom:20px;color:var(--muted);font-size:13px;line-height:1.55}.list-page,.stories-page{flex:1;min-width:0;overflow:auto;padding:32px 34px 60px}.list-intro h2,.page-intro h2{margin-bottom:8px;font-size:28px;font-weight:650;letter-spacing:-.7px}.list-intro p,.page-intro p{color:var(--muted);font-size:13px}.people-table{margin-top:24px;border-top:1px solid var(--line)}.people-table button{display:flex;align-items:center;gap:16px;width:100%;padding:15px 3px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.people-table button:hover{background:#fafcfb}.people-table button>span:nth-child(2){flex:1}.people-table b{display:block;margin-bottom:4px;font-size:16px;font-weight:600}.people-table small{color:var(--muted);font-size:11px}.place{display:flex;align-items:center;gap:5px;margin-right:20px;color:var(--muted);font-size:12px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.story-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:start;gap:16px}.story-card{min-height:275px;padding:22px;border:1px solid #e3e8e6;border-radius:9px;background:#fff;color:#2e3a36;text-align:left}.story-card:hover{border-color:#b9cbc4;box-shadow:0 4px 14px #233d330b}.story-top{display:flex;justify-content:space-between;margin-bottom:28px;color:#73807b;font-size:11px}.story-card h3{margin-bottom:13px;font-size:23px;font-weight:650;line-height:1.2;letter-spacing:-.45px}.story-card p{display:-webkit-box;overflow:hidden;margin-bottom:0;color:#56625e;font-size:13px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:5}.story-card footer{display:flex;align-items:center;gap:9px;margin-top:20px;padding-top:12px;border-top:1px solid var(--line);color:#56625e;font-size:11px}.modal{width:520px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 36px);overflow:auto;padding:25px;border:1px solid #dfe6e3;border-radius:12px;background:#fff;color:var(--ink);box-shadow:0 24px 70px #172f2825}.modal.wide{width:640px}.modal::backdrop{background:#1d302b55;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:17px}.modal-heading h2{margin:3px 0 0;font-size:25px;font-weight:650;line-height:1.2;letter-spacing:-.6px}.modal form{display:flex;flex-direction:column;gap:13px}.modal label{display:flex;flex:1;flex-direction:column;gap:6px;color:#56635f;font-size:11px;font-weight:550}.modal input,.modal select,.modal textarea{width:100%;padding:10px 11px;border:1px solid #dbe3e0;border-radius:7px;background:#fff;color:#25322e;font-size:13px}.modal input::placeholder,.modal textarea::placeholder{color:#8b9692}.modal textarea{resize:vertical;line-height:1.55}.form-row{display:flex;gap:12px}.form-context{margin-bottom:16px;color:var(--muted);font-size:13px;line-height:1.55}.form-hint{margin:0;color:#77827e;font-size:11px;line-height:1.55}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:4px}.form-error{margin:0;padding:11px;border-radius:6px;background:#fff0ed;color:#983d2a;font-size:12px;line-height:1.45}.mode-switch{display:flex;gap:3px;padding:3px;border-radius:7px;background:#f1f5f3}.mode-switch button{width:50%;padding:9px;border:0;border-radius:5px;background:transparent;color:#56635f;font-size:12px}.mode-switch .active{background:#fff;color:#2c4f44;box-shadow:0 1px 4px #203c3215}.full{width:100%}.privacy-note{display:flex;align-items:center;gap:11px;padding:13px;border:1px solid #e3ebe7;border-radius:7px;background:#f7faf8;color:#4d695e}.privacy-note p{margin:0;color:#53655e;font-size:12px;line-height:1.5}.invite-success{padding:12px 8px;text-align:center}.invite-success svg{color:var(--accent)}.invite-success h3{margin:16px 0 10px;font-size:22px;font-weight:650}.invite-success p{margin-bottom:18px;color:var(--muted);font-size:13px;line-height:1.55}.drafts{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}.drafts h3{margin-bottom:9px;font-size:17px;font-weight:650}.drafts p{margin-bottom:5px;color:var(--muted);font-size:12px}.story-reading{position:relative;max-width:620px;max-height:85vh;overflow:auto;padding:10px 0 0}.story-reading small{color:var(--muted);font-size:12px}.story-reading h2{margin:15px 0 22px;font-size:29px;font-weight:650}.story-reading p{margin:18px 0 22px;color:#3e4c47;font-size:16px;line-height:1.8;white-space:pre-wrap}.story-reading footer{padding-top:15px;border-top:1px solid var(--line);color:#78837f;font-size:11px}.toast{position:fixed;z-index:30;bottom:22px;left:50%;display:flex;align-items:center;gap:10px;max-width:90vw;padding:12px 18px;transform:translate(-50%);border-radius:8px;background:#264e43;color:#fff;box-shadow:0 8px 30px #1d302a25;font-size:12px;line-height:1.5}@media(min-width:1450px){.sidebar{flex-basis:244px;padding-top:26px}.brand{font-size:31px;padding-bottom:29px}header{padding:25px 34px 16px}.person-panel{flex-basis:365px;padding:15px 24px 19px}.person-hero .avatar-shell{width:122px!important;height:122px!important}.person-hero h2{font-size:25px}}@media(min-width:901px)and (max-width:1449px){.person-panel{flex-basis:320px;padding-right:18px;padding-left:18px}.person-card{gap:4px;padding:8px 7px 7px}.person-card strong{font-size:14px;line-height:1.12}.person-card small{font-size:11px}}@media(max-width:1150px){.sidebar{flex-basis:200px;padding-right:9px;padding-left:9px}.brand{font-size:27px}.person-panel{flex-basis:300px;padding-right:17px;padding-left:17px}header{padding-right:20px;padding-left:20px}.search{width:205px}.add-person{min-width:auto}}@media(max-height:780px)and (min-width:641px){.modal{max-height:calc(100dvh - 20px);padding:18px}.modal-heading{margin-bottom:10px}.modal-heading h2{font-size:23px}.modal form{gap:9px}.modal label{gap:4px}.modal input,.modal select,.modal textarea{padding:8px 10px}.form-row{gap:10px}.form-context{margin-bottom:10px}.form-hint{line-height:1.35}.form-actions{margin-top:0}}@media(max-width:900px){.sidebar{flex-basis:190px}.person-panel{position:absolute;z-index:3;top:0;right:0;bottom:0;width:300px;box-shadow:-10px 0 35px #213b3210}h1{font-size:28px}.heading-row p{font-size:14px}.heading-row .invite span{display:none}.invite{min-width:42px;padding:9px}.search{width:175px}.view-switch button{padding-right:10px;padding-left:10px}.page-intro{align-items:flex-start;flex-direction:column}}@media(max-width:640px){.app{min-height:0;height:100dvh}.sidebar{position:fixed;z-index:12;top:0;bottom:0;left:0;display:none;width:238px;padding:25px 12px 18px;box-shadow:10px 0 40px #1f393020}.sidebar.open{display:flex}.mobile-menu.icon-button{display:inline-flex;flex-shrink:0;width:34px;height:34px;margin-left:-6px}header{padding:16px 15px 12px}.heading-row{align-items:center;gap:8px}.heading-row>div{flex:1}h1{margin:0;font-size:21px;line-height:1.13;letter-spacing:-.6px}.heading-row p{display:none}.invite{width:36px;min-width:36px;height:36px;min-height:36px;padding:7px}.invite svg{width:17px}.toolbar{flex-wrap:wrap;gap:10px;margin-top:14px}.view-switch button{min-height:34px;gap:6px;padding:7px 9px;font-size:11px}.view-switch svg{width:14px;height:14px}.toolbar-right{flex:1;min-width:150px;gap:7px}.search{flex:1;width:auto;min-width:0;height:38px;gap:6px;padding:0 9px}.search svg{width:15px}.search input{font-size:11px}.add-person{width:39px;min-width:39px;height:38px;min-height:38px;padding:7px}.add-person span{display:none}.workspace{overflow:hidden}.person-panel{position:fixed;z-index:8;top:auto;right:0;bottom:0;left:0;width:100%;height:74dvh;max-height:620px;padding:12px 21px 20px;border:1px solid var(--line);border-radius:18px 18px 0 0;box-shadow:0 -12px 40px #213b3212}.person-hero{padding:0 0 10px}.person-hero .avatar-shell{width:72px!important;height:72px!important}.person-hero h2{margin-top:8px;font-size:24px}.person-panel section{margin-bottom:10px;padding-top:10px}.bio{font-size:13px}.panel-actions{margin-top:6px;padding-top:0}.panel-actions button{min-height:38px;font-size:12px}.relative-list{gap:4px}.relative-list button{min-height:42px;padding:5px 7px}.relative-list b{font-size:12px}.relative-list small{font-size:10px}.canvas-scroll{padding-bottom:55px}.canvas-footer{right:10px;bottom:12px;left:10px}.legend{display:none}.zoom{margin-left:auto}.list-page,.stories-page{padding:23px 19px 55px}.list-intro h2,.page-intro h2{font-size:25px}.people-table button{gap:11px}.people-table b{font-size:15px}.place{display:none}.story-grid{grid-template-columns:1fr}.story-card{min-height:245px;padding:20px}.story-card h3{font-size:22px}.modal{padding:20px;max-height:90dvh}.modal-heading h2{font-size:23px}.modal input,.modal select,.modal textarea{padding:10px;font-size:16px}.modal .primary,.modal .secondary{min-height:42px}.form-row{gap:9px}.form-actions{flex-wrap:wrap}.story-reading h2{font-size:25px}.story-reading p{font-size:15px}.toast{bottom:16px;width:max-content}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}.auth-page,.state-page{display:flex;flex:1;align-items:center;justify-content:center;min-height:100dvh;padding:32px 20px;background:#f7f9f8}.auth-card,.state-card,.onboarding-card{width:min(100%,470px);padding:34px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 12px 36px #2038300c}.auth-brand{padding:0;margin-bottom:32px;font-size:26px}.auth-heading{margin-bottom:20px}.auth-heading h1,.auth-card>h1,.onboarding-card h1,.state-card h1{margin:0 0 8px;font-size:29px;line-height:1.18;letter-spacing:-.8px}.auth-heading p,.auth-card>p,.state-card p,.onboarding-card>p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}.auth-switch{display:grid;grid-template-columns:1fr 1fr;gap:3px;margin:22px 0 19px;padding:3px;border-radius:8px;background:#f1f4f2}.auth-switch button{min-height:38px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:13px}.auth-switch button.active{background:#fff;color:var(--accent-dark);box-shadow:0 1px 4px #1d302a14;font-weight:600}.auth-form,.onboarding-card form{display:flex;flex-direction:column;gap:14px}.auth-form label,.onboarding-card label{display:flex;flex-direction:column;gap:6px;color:#465450;font-size:12px;font-weight:550}.auth-form input,.onboarding-card input{width:100%;min-height:43px;padding:10px 12px;border:1px solid #dbe3e0;border-radius:7px;background:#fff;color:var(--ink);font-size:14px}.auth-form input::placeholder,.onboarding-card input::placeholder{color:#89928f}.auth-form .primary{margin-top:2px}.auth-footnote{display:flex;align-items:flex-start;gap:8px;margin:19px 0 0!important;color:var(--soft-muted)!important;font-size:11px!important}.auth-footnote svg{margin-top:1px}.auth-caption{margin:18px 0 0;color:var(--soft-muted);font-size:12px}.invite-preview{display:flex;align-items:flex-start;gap:10px;margin:-10px 0 24px;padding:12px 13px;border:1px solid #dbe7e2;border-radius:8px;background:#f6faf8;color:#41534d;font-size:13px;line-height:1.45}.invite-preview svg{color:var(--accent)}.optional-label{color:var(--soft-muted);font-weight:400}.text-button{min-height:34px;padding:6px 8px;border:0;border-radius:6px;background:transparent;color:var(--accent-dark);font-size:12px}.text-button:hover{background:var(--accent-soft)}.text-button.danger{color:#994d4b}.state-card{text-align:center}.state-card .form-actions{justify-content:center}.state-mark,.auth-icon,.onboarding-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;margin-bottom:18px;border-radius:12px;background:var(--accent-soft);color:var(--accent)}.state-mark{font-size:22px;font-weight:700}.spinner{display:inline-block;width:30px;height:30px;margin-bottom:18px;border:3px solid #dce7e3;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.workspace>.state-page{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;min-height:0;padding:20px;background:#ffffffed}.workspace>.state-page .state-card{box-shadow:none;border-color:transparent}.workspace .error-state{align-self:center;margin:auto}.onboarding-card{width:min(100%,650px);margin:auto;padding:clamp(24px,5vw,48px)}.onboarding-card>.form-context{margin-bottom:22px}.onboarding-card .form-hint{margin:0}.onboarding-wrap{display:flex;flex:1;align-items:center;justify-content:center;padding:24px}.profile-summary{display:flex;align-items:center;gap:12px;margin-bottom:22px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fafcfb}.profile-avatar{display:inline-flex;flex:0 0 36px;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:var(--accent-soft);color:var(--accent-dark)}.profile-summary b,.profile-summary small,.account-profile b,.account-profile small{display:block}.profile-summary b{font-size:14px}.profile-summary small,.account-profile small{margin-top:3px;color:var(--soft-muted);font-size:11px}.form-section-title{display:flex;align-items:center;gap:8px;margin:3px 0 0;color:#394844;font-size:14px;font-weight:600}.field-hint{margin:0;color:var(--soft-muted);font-size:11px;line-height:1.5}.conflict-notice{padding:12px;border:1px solid #e5d6ac;border-radius:8px;background:#fffaf0;color:#604c25;font-size:12px;line-height:1.5}.conflict-notice p{margin:4px 0 10px;color:#756443}.conflict-notice .secondary{min-height:36px;padding:8px 11px;white-space:normal;text-align:center}.account-actions{display:flex;align-items:center;gap:4px;margin-top:14px;padding-top:7px;border-top:0}.account-profile{display:flex;flex:1;align-items:center;gap:10px;min-width:0;padding:6px;border:0;border-radius:8px;background:transparent;text-align:left}.account-profile:hover{background:#f5f7f6}.account-profile .profile-avatar{flex-basis:32px;width:32px;height:32px}.account-profile b{overflow:hidden;max-width:135px;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.account-actions .sign-out{flex:0 0 auto}.invite-accept-card{text-align:center}.invite-accept-card .auth-brand{text-align:left}.invite-accept-card>p{margin-bottom:24px}.invite-accept-card .form-actions{justify-content:center}.invite-created{margin:16px 0 20px;padding:13px;border:1px solid #dbe7e2;border-radius:8px;background:#f7faf8}.invite-created-title{display:flex;align-items:center;gap:8px;margin-bottom:10px;color:var(--accent-dark);font-size:13px}.invite-link-row{display:flex;gap:7px}.invite-link-row input{flex:1;width:100%;min-width:0;padding:9px;border:1px solid #dbe3e0;border-radius:6px;background:#fff;color:var(--ink);font-size:12px}.invite-link-row button{min-height:38px;padding:7px 10px;font-size:12px}.invite-created .field-hint{margin-top:8px}.invite-list{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}.invite-list h3{margin-bottom:8px;font-size:14px}.invite-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:8px 0;border-bottom:1px solid #edf0ef}.invite-row b,.invite-row small{display:block}.invite-row b{font-size:13px}.invite-row small{margin-top:3px;color:var(--muted);font-size:11px}.error-state{max-width:520px}.error-state h2{margin:0 0 8px;font-size:22px}.error-state p{color:var(--muted);line-height:1.5}@media(max-width:640px){.auth-page,.state-page{min-height:100dvh;padding:18px 14px}.auth-card,.state-card{padding:24px 19px}.auth-brand{margin-bottom:26px}.auth-heading h1,.auth-card>h1,.state-card h1,.onboarding-card h1{font-size:25px}.onboarding-card{padding:24px 19px}.onboarding-wrap{padding:16px}.invite-link-row{flex-direction:column}.invite-link-row button{width:100%}.account-profile b{max-width:125px}}:root{--ink: #252525;--muted: #74777a;--soft-muted: #888b8e;--line: #e3e5e7;--surface: #fff;--canvas: #f1f2f3;--accent: #ec7c83;--accent-dark: #c85e69;--accent-soft: #fff0f0;--focus: #dc8b91;--radius: 12px;color:var(--ink);background:var(--canvas);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{color:var(--ink);background:var(--canvas)}button{transition:background-color .16s,border-color .16s,color .16s,box-shadow .16s,opacity .16s}.app{min-height:0;background:#fff}.sidebar{flex:0 0 68px;align-items:center;padding:15px 8px 12px;border-right-color:#e8e9ea}.brand{justify-content:center;width:48px;padding:7px 0 24px;font-size:0}.brand-mark{grid-template-columns:repeat(2,9px);gap:3px}.brand-mark i{width:9px;height:9px;border-radius:3px;background:#323438}.brand-mark i:nth-child(3){background:#8b8d90}.family-picker{margin:0;padding:0}.sidebar nav{width:100%;gap:8px}.sidebar nav button{justify-content:center;width:48px;min-height:46px;padding:0;border-radius:15px;color:#6b7074;font-size:0}.sidebar nav button span{display:none}.sidebar nav button.active{background:#f7eeee;color:#4e3d3f}.sidebar nav button.active svg{stroke-width:1.8}.sidebar nav button:not(.active) svg{color:#72777b}.sidebar-bottom{display:flex;flex-direction:column;align-items:center;gap:7px;width:100%}.new-family,.export{justify-content:center;width:46px;min-height:44px;padding:0;border-radius:14px;color:#55595d}.new-family span,.export span,.demo-note{display:none}.account-actions{flex-direction:column;gap:4px;width:100%;margin-top:8px;padding-top:4px;border-top:0}.account-actions .icon-button{width:44px;height:44px}.account-profile{justify-content:center;width:44px;min-height:44px;padding:5px}.account-profile>span:last-child{display:none}.account-profile .profile-avatar{flex-basis:31px;width:31px;height:31px;border-radius:12px;background:#f1f2f3;color:#45484b}.account-actions .sign-out{align-self:center}main{min-height:0}header{padding:15px 20px 13px;border-bottom:1px solid #e6e7e9}.heading-row{align-items:center;gap:14px}.heading-copy{min-width:0}h1{margin:0 0 4px;font-size:22px;font-weight:620;line-height:1.2;letter-spacing:-.55px}.heading-row p{color:var(--muted);font-size:13px;line-height:1.3}.header-family-picker{display:flex;flex:0 1 245px;align-items:center;gap:8px;min-height:40px;padding:0 11px;border:1px solid var(--line);border-radius:13px;color:var(--muted)}.header-family-picker select{width:100%;border:0;background:transparent;color:var(--ink);font-size:13px}.primary,.secondary{min-height:40px;padding:9px 14px;border-radius:12px;font-size:13px}.primary{background:#292b2e;color:#fff}.primary:hover:not(:disabled){background:#141517}.secondary{border-color:#e2e4e6;background:#fff;color:#34363a}.secondary:hover:not(:disabled){border-color:#caced1;background:#f8f9fa}.invite{margin:0}.toolbar{gap:12px;margin-top:13px}.view-switch{gap:3px;padding:3px;border:0;border-radius:12px;background:#f1f2f3}.view-switch button{min-height:35px;padding:8px 12px;border-radius:10px;color:#666a6e;font-size:12px}.view-switch button.active{background:#fff;color:#27292c;box-shadow:0 1px 4px #191c1f14}.toolbar-right{gap:8px}.search{width:220px;height:39px;padding:0 11px;border-color:#e4e6e8;border-radius:12px;color:#73777a}.search input{font-size:12px}.search input::placeholder{color:#8b8e91}.add-person{min-width:0}.workspace{background:#fff}.canvas-shell{background-color:var(--canvas);background-image:radial-gradient(#d9dcde .8px,transparent .8px);background-size:18px 18px}.canvas-scroll{padding:18px 22px 78px;scrollbar-color:#c5c8ca transparent;overscroll-behavior:contain}.graph{transform-origin:top left}.connections{z-index:0;overflow:visible}.connections path{fill:none;stroke:#96999c;stroke-width:1.5;vector-effect:non-scaling-stroke}.connections path.adoptive{stroke-dasharray:5 4}.connections path.guardian{stroke-dasharray:2 4}.connections path.partner{stroke:#b3b6b8;stroke-dasharray:4 5}.person-card{z-index:1;flex-direction:row;justify-content:flex-start;align-items:center;gap:13px;padding:12px 14px;border:1px solid #e2e4e6;border-radius:24px;background:#fff;box-shadow:0 6px 22px #1c1f2209;color:var(--ink);text-align:left}.person-card:hover{border-color:#c9cccf;box-shadow:0 9px 24px #1c1f2214}.person-card.selected{padding:12px 14px;border:1px solid #c5a5a8;box-shadow:0 5px 16px #1c1f220d}.person-card.is-self{border-color:#eb7d8454;background:radial-gradient(ellipse at 18% 0%,rgba(244,165,95,.19),transparent 58%),radial-gradient(ellipse at 92% 32%,rgba(233,155,182,.2),transparent 60%),#fff}.person-card.is-self.selected{border-color:#d58e93;box-shadow:0 5px 16px #e6818d1a}.person-card.dim{opacity:.3}.person-card .avatar-shell{border-radius:21px}.person-card .avatar{flex:0 0 auto;border-radius:18px;background-color:#eceeef}.person-card .avatar-shell.is-deceased:after{top:3px;right:3px;width:22px;height:22px}.person-card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0;gap:6px;text-align:left}.person-card strong{display:-webkit-box;max-width:100%;overflow:hidden;font-size:15px;font-weight:620;line-height:1.2;text-align:left;text-overflow:ellipsis;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2}.person-card small{display:flex;align-items:center;gap:4px;max-width:100%;margin:0;color:#777b7e;font-size:12px;line-height:1.15;white-space:nowrap}.person-card small.person-kinship{color:#5e6266;font-size:11px;font-weight:560}.person-card small.person-place{color:#85898c}.missing-parent-pill{position:absolute;z-index:3;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:56px;max-width:90px;height:24px;padding:0 8px;transform:translate(-50%);border:1px dashed #c4c7ca;border-radius:999px;background:#fffffff5;color:#64686c;font-size:10px;line-height:1;white-space:nowrap}.missing-parent-pill:hover:not(:disabled){border-color:#8d9195;background:#f9f9fa;color:#27292c}.missing-parent-pill svg{width:11px;height:11px}.self-badge{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 7px;border-radius:999px;background:#ed7e83;color:#fff;font-size:12px;font-weight:650;line-height:1}.person-card>.self-badge{position:absolute;top:8px;right:8px}.union-node{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;gap:0;width:34px;height:34px;transform:translate(-50%,-50%);border:1px solid #e7e8e9;border-radius:13px;background:#fff;box-shadow:0 5px 16px #1b1e2114}.union-node i{width:12px;height:12px;border:1.5px solid #5f6367;border-radius:50%}.union-node i+i{margin-left:-5px;background:#fff}.union-note{position:absolute;z-index:2;width:max-content;max-width:180px;transform:translate(-50%);color:#7b7e81;font-size:11px;text-align:center}.avatar.initials{background:#e8e9ea;color:#55595c}.avatar-shell.gender-male{background:#e5f1f9}.avatar-shell.gender-female{background:#f9e7eb}.avatar-shell.gender-unspecified{background:#eceeef}.avatar-shell.gender-male .avatar.initials{background:#dcecf7}.avatar-shell.gender-female .avatar.initials{background:#f5dce2}.avatar-shell.gender-unspecified .avatar.initials{background:#e5e7e9}.avatar-shell.is-deceased:after{position:absolute;top:3px;right:3px;width:25px;height:25px;background:#171819;clip-path:polygon(0 0,100% 0,100% 100%);content:""}.canvas-footer{right:0;bottom:13px;left:0;justify-content:center;pointer-events:none}.legend{position:absolute;left:13px;gap:12px;padding:8px 10px;border-color:#e5e6e8;border-radius:13px;color:#777b7e;font-size:11px;box-shadow:0 6px 22px #191c1e0d}.legend i{border-top-color:#909497}.zoom{gap:0;padding:5px;border-color:#e7e8ea;border-radius:16px;box-shadow:0 8px 26px #191c1e1a}.zoom button{min-width:39px;height:37px;border:0;border-radius:11px;color:#3f4245;font-size:12px}.zoom button:hover{background:#f2f3f4}.zoom button:nth-child(2){min-width:52px;font-variant-numeric:tabular-nums}.zoom button.zoom-add{margin-left:4px;border-left:1px solid #e7e8ea;border-radius:0 11px 11px 0;color:#282a2d}.search-results{top:14px;left:14px;padding:8px 12px;border-color:#e2e4e6;border-radius:12px;color:#65696c}.person-panel{flex:0 0 344px;padding:14px 19px 19px;border-left-color:#e7e8ea;background:#fff}.panel-heading{min-height:32px;color:#818589;font-size:10px;letter-spacing:.07em}.icon-button{width:34px;height:34px;border-radius:12px;color:#62666a}.icon-button:hover{background:#f1f2f3}.person-hero{display:flex;align-items:center;gap:15px;min-height:122px;margin:2px 0 12px;padding:13px;border-radius:21px;text-align:left}.person-hero.is-self{background:radial-gradient(ellipse at 14% 0%,rgba(244,165,95,.24),transparent 58%),radial-gradient(ellipse at 92% 30%,rgba(233,155,182,.26),transparent 64%),#fff}.person-hero>.avatar-shell{flex:0 0 auto;border-radius:20px}.person-hero-copy{min-width:0}.person-hero h2{margin:0 0 6px;font-size:21px;font-weight:640;line-height:1.18;letter-spacing:-.45px}.person-hero p{margin:0;color:#73777a;font-size:12px;line-height:1.4}.person-hero p.person-kinship-label{margin-bottom:4px;color:#55595d;font-size:13px;font-weight:560}.person-self-label{display:inline-flex;margin-top:8px;padding:4px 9px;border-radius:99px;background:#ed7e83;color:#fff;font-size:11px;font-weight:600}.person-panel section{margin:0 0 16px;padding-top:0;border-top:0}.section-label{margin-bottom:8px;color:#65696c;font-size:11px;font-weight:650;letter-spacing:.045em}.section-label button{color:#55595c;font-size:12px}.bio{margin:0 0 10px;color:#424649;font-size:13px;line-height:1.5}.profile-facts{display:grid;gap:8px;margin:0}.profile-facts>div{display:grid;grid-template-columns:minmax(100px,.78fr) 1.22fr;gap:9px;align-items:start}.profile-facts dt{color:#818589;font-size:12px}.profile-facts dd{margin:0;color:#35383b;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.relative-list{gap:4px}.relative-list button{min-height:44px;gap:9px;padding:5px 8px;border:0;border-radius:8px}.relative-list button:hover{background:#f4f5f5}.relative-list small{color:#85898c;font-size:11px}.relative-list b{color:#323538;font-size:13px;font-weight:560}.relative-list button>svg{color:#8b8e91}.relationship-list{display:flex;flex-direction:column;gap:4px}.relationship-list button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:5px 8px;border:0;border-radius:8px;background:transparent;text-align:left}.relationship-list button:hover{background:#f4f5f5}.relationship-list button>span{display:flex;flex-direction:column;min-width:0;gap:2px}.relationship-list b{overflow:hidden;color:#36393c;font-size:12px;font-weight:570;text-overflow:ellipsis;white-space:nowrap}.relationship-list small{color:#85898c;font-size:10px}.relationship-list button>svg{color:#898d90}.relationship-empty{margin:0}.section-tools{display:inline-flex;align-items:center;gap:10px}.section-tools button{display:inline-flex;align-items:center;gap:4px;min-height:36px;padding:2px 4px;border:0;border-radius:7px;background:transparent;color:#55595c;font-size:11px;letter-spacing:0}.person-extra-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:3px 0 8px}.person-extra-actions .text-button{display:inline-flex;flex:1 1 140px;justify-content:flex-start;min-width:0;min-height:36px;padding:6px 8px;color:#5b6063;text-align:left}.person-extra-actions .text-button:hover{background:#f4f5f5}.panel-actions{gap:7px;margin-top:8px;padding-top:4px}.panel-actions button{min-height:38px;font-size:12px}.panel-actions .self-current{display:flex;align-items:center;gap:8px;padding:5px 0;color:#666a6d;font-size:12px}.panel-top-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(95px,.55fr);gap:7px;margin:0 0 6px}.panel-top-actions>button{min-height:37px;padding:8px 9px;font-size:11px}.panel-top-actions .self-assign{grid-column:1 / -1;justify-content:flex-start;min-height:34px}.panel-top-actions .self-current{grid-column:1 / -1;display:flex;align-items:center;gap:8px;min-height:31px;color:#666a6d;font-size:12px}.mini-story{color:#43474a}.person-links{display:flex;flex-direction:column}.person-links>a{display:flex;align-items:flex-start;gap:9px;padding:10px 8px;border:0;border-radius:8px;color:inherit;text-decoration:none}.person-links>a:hover{background:#f4f5f5}.person-links>a:hover .person-link-copy b{text-decoration:underline}.person-link-icon{display:grid;flex:0 0 30px;place-items:center;width:30px;height:30px;border-radius:10px;background:#f1f2f3;color:#62666a}.person-link-copy{display:flex;flex:1;flex-direction:column;min-width:0;gap:3px}.person-link-copy b{color:#36393c;font-size:12px;font-weight:600;overflow-wrap:anywhere}.person-link-copy small{color:#85898c;font-size:11px}.person-link-copy>span{color:#666a6d;font-size:11px;line-height:1.4}.person-links>a>svg{margin:5px 2px 0 0;color:#898d90}.list-page,.stories-page{padding:28px 32px 60px}.story-card{border-color:#e5e6e8;border-radius:22px;box-shadow:0 5px 18px #191c1e09}.story-card:hover{border-color:#d0d2d4;box-shadow:0 8px 24px #191c1e14}.modal{border-color:#e1e3e5;border-radius:20px;box-shadow:0 24px 70px #14171933}.modal label{color:#4f5356;font-size:12px}.modal input,.modal select,.modal textarea{border-color:#e0e2e4;border-radius:11px;color:#292c2f;font-size:14px}.modal input:focus,.modal select:focus,.modal textarea:focus{border-color:#c7b2b4;outline-color:#ec7c836b}.form-hint,.field-hint{color:#777b7e;font-size:12px}.form-error{border-radius:11px}.auth-page,.state-page{background:#f1f2f3}.auth-card,.state-card,.onboarding-card{border-color:#e4e5e7;border-radius:22px;box-shadow:0 14px 42px #1b1e2012}.auth-form input,.onboarding-card input{border-color:#e0e2e4;border-radius:11px}.invite-preview,.invite-created{border-color:#e7e8ea;border-radius:13px;background:#f8f9fa;color:#494d50}.profile-summary{border-color:#e4e6e8;border-radius:13px;background:#f8f9fa}.date-field{display:flex;flex:1;flex-direction:column;gap:6px;min-width:0}.death-date-wrap{display:flex;flex:1;flex-direction:column;gap:7px;min-width:0}.modal .deceased-toggle{display:inline-flex;flex:0 0 auto;flex-direction:row;align-items:center;gap:8px;min-height:21px;color:#4f5356;font-size:12px;font-weight:550;cursor:pointer}.modal .deceased-toggle input{width:16px;min-width:16px;height:16px;min-height:16px;margin:0;padding:0;border:1px solid #c9cccf;border-radius:4px;accent-color:#383a3d}.date-field-label{color:#4f5356;font-size:12px;font-weight:550}.date-field-controls{display:flex;flex-direction:column;gap:6px}.date-field-controls>select{width:100%;min-height:36px;padding:7px 9px;border:1px solid #e0e2e4;border-radius:10px;background:#fff;color:#55595c;font-size:12px}.date-input{display:flex;align-items:center;justify-content:flex-start;gap:5px;min-height:42px;padding:5px 8px;border:1px solid #e0e2e4;border-radius:10px;background:#fff}.date-input:focus-within{border-color:#c7b2b4;outline:3px solid rgba(236,124,131,.18)}.date-input input{width:38px;min-height:30px;padding:2px 0;border:0;outline:0;background:transparent;color:#292c2f;font-size:14px;font-variant-numeric:tabular-nums;text-align:center}.date-input input:last-child{width:48px}.date-input-year input{width:74px}.date-input-year input:last-child{width:74px}.date-input-month input:last-child{width:65px}.date-input>span{color:#909497;font-size:14px}.date-input input::placeholder{color:#a0a3a6;opacity:1}.link-editor{display:flex;flex-direction:column;gap:10px;margin:3px 0 0;padding:12px 0 0;border:0;border-top:1px solid #eaebec}.link-editor-row{display:flex;flex-direction:column;gap:9px;padding:11px;border:1px solid #e7e8ea;border-radius:14px;background:#fbfbfc}.link-url-row{display:flex;align-items:center;gap:5px}.link-url-row input{flex:1;min-width:0}.link-url-row .text-button{flex:0 0 auto;font-size:11px}.link-url-row .icon-button{flex:0 0 34px}.link-editor-row label{gap:5px}.link-preview{display:flex;flex-direction:column;gap:3px;margin:0;padding:9px 10px;border-radius:10px;background:#f2f3f4;color:#55595d;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.link-preview b{color:#373a3d;font-size:11px;font-weight:650}.link-preview small{color:#777b7e;font-size:11px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.list-self{display:inline-flex;margin-left:7px;padding:3px 7px;border-radius:99px;background:#ed7e83;color:#fff;font-size:10px;vertical-align:middle}@media(max-width:1150px){.sidebar{flex-basis:64px}.person-panel{flex-basis:310px;padding-right:15px;padding-left:15px}header{padding-right:16px;padding-left:16px}.search{width:185px}}@media(max-width:900px){.person-panel{position:absolute;z-index:8;top:0;right:0;bottom:0;width:320px;box-shadow:-8px 0 24px #1a1d1f12}.heading-copy h1{font-size:20px}.heading-row p{font-size:12px}.search{width:170px}}@media(max-width:640px){.app{height:100dvh;min-height:0}.sidebar{position:fixed;z-index:12;top:auto;right:0;bottom:0;left:0;display:flex;flex-direction:row;width:100%;height:58px;padding:4px 7px;border-top:1px solid #e6e7e9;border-right:0;box-shadow:none}.sidebar .brand{display:none}.sidebar nav{flex:1;flex-direction:row;align-items:center;justify-content:space-around;gap:3px;width:auto}.sidebar nav button{width:44px;min-width:44px;min-height:44px;border-radius:13px}.sidebar-bottom{flex-direction:row;justify-content:flex-end;gap:2px;width:auto;margin:0}.new-family{width:44px;min-width:44px;min-height:44px}.export,.demo-note{display:none}.account-actions{flex-direction:row;gap:0;width:auto;margin:0;padding:0;border:0}.account-profile{width:44px;min-width:44px;min-height:44px}.account-actions .icon-button{width:44px;height:44px}.account-actions .sign-out{display:none}main{min-height:0;padding-bottom:58px}header{padding:13px 13px 10px}.heading-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.mobile-menu.icon-button{display:none}.heading-copy{grid-column:1}.heading-copy h1{margin:0;font-size:19px;line-height:1.2}.heading-row p{display:block;margin-top:3px;font-size:11px}.invite{grid-column:2;grid-row:1;width:38px;min-width:38px;min-height:38px;height:38px;padding:7px}.invite span{display:none}.header-family-picker{grid-column:1 / -1;width:100%;min-height:36px}.toolbar{flex-wrap:wrap;gap:8px;margin-top:10px}.view-switch{flex:0 0 auto}.view-switch button{min-height:33px;gap:6px;padding:7px 9px;font-size:11px}.view-switch svg{width:14px;height:14px}.toolbar-right{flex:1;min-width:120px;gap:6px}.search{flex:1;width:auto;min-width:0;height:36px;gap:6px;padding:0 8px}.search input{font-size:11px}.add-person{width:38px;min-width:38px;min-height:36px;height:36px;padding:6px}.add-person span{display:none}.workspace{overflow:hidden}.canvas-shell{min-height:0}.canvas-scroll{padding:14px 14px 70px}.canvas-footer{bottom:8px}.legend{display:none}.zoom{padding:4px}.zoom button{min-width:34px;height:34px}.zoom button:nth-child(2){min-width:43px}.person-panel{position:fixed;z-index:10;top:auto;right:0;bottom:58px;left:0;width:100%;height:min(72dvh,590px);max-height:calc(100dvh - 180px);padding:10px 16px 14px;border:1px solid #e1e3e5;border-bottom:0;border-radius:23px 23px 0 0;box-shadow:0 -6px 22px #1a1d1f12}.person-panel .panel-heading{min-height:26px}.person-panel .panel-heading .icon-button{width:44px;height:44px}.person-hero{min-height:94px;gap:12px;margin:0 0 8px;padding:9px}.person-hero>.avatar-shell{width:68px!important;height:68px!important;border-radius:17px}.person-hero h2{font-size:19px}.person-panel section{margin-bottom:14px;padding-top:0;border-top:0}.panel-top-actions{grid-template-columns:minmax(0,1fr) minmax(92px,.48fr);margin-bottom:2px}.panel-top-actions>button{min-height:44px;font-size:10px}.panel-top-actions .self-assign{grid-column:1 / -1}.profile-facts{gap:6px}.profile-facts dt,.profile-facts dd{font-size:11px}.bio{font-size:12px}.relative-list button{min-height:44px;padding:5px 8px}.relationship-list button{min-height:44px}.person-links>a{min-height:44px}.section-tools button,.person-extra-actions .text-button{min-height:44px}.panel-actions{flex-direction:row;flex-wrap:wrap;margin-top:2px}.panel-actions button{flex:1 1 auto;min-height:44px;font-size:11px}.panel-actions .self-current{flex:1 0 100%}.list-page,.stories-page{padding:20px 16px 48px}.list-intro h2,.page-intro h2{font-size:23px}.people-table button{gap:10px;padding:12px 2px}.people-table b{font-size:14px}.place{display:none}.story-grid{grid-template-columns:1fr;gap:11px}.story-card{min-height:220px;padding:18px;border-radius:18px}.story-card h3{font-size:20px}.modal{padding:20px;max-height:calc(100dvh - 24px);border-radius:20px}.modal-heading h2{font-size:22px}.modal input,.modal select,.modal textarea{min-height:42px;padding:9px 10px;font-size:16px}.modal textarea{min-height:82px}.modal .primary,.modal .secondary{min-height:42px}.date-fields{flex-direction:column}.date-field-controls{flex-direction:row;align-items:center}.date-field-controls>select{width:min(42%,150px)}.date-input{flex:1}.form-row{gap:9px}.form-actions{flex-wrap:wrap}.story-reading p{font-size:15px}.toast{bottom:70px;width:max-content;max-width:calc(100vw - 24px)}}@media(max-width:380px){.person-card{gap:9px;padding:8px}.person-card .avatar-shell{width:46px!important;height:46px!important;border-radius:17px}.person-card strong{font-size:13px}.person-card small{font-size:11px}.missing-parent-pill{max-width:86px;height:23px;padding:0 6px;font-size:9px}.zoom button{min-width:31px}.zoom button:nth-child(2){min-width:39px}}.missing-parent-pill{top:auto;height:28px;border-color:#c9cbcd;border-radius:11px;background:#fff;color:#55595d}.union-note{max-width:150px;padding:5px 8px;border-radius:8px;background:#fff;box-shadow:0 3px 12px #191c1f0f;text-align:left}.event-form-actions{flex-wrap:wrap}.event-form-actions .danger{margin-right:auto;color:#a44b52}.text-button.danger{color:#a44b52}.person-events-list{display:flex;flex-direction:column}.person-event-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:4px 8px;padding:7px 0;border-bottom:0}.person-event-open,.person-event-person,.person-event-remove{display:flex;align-items:center;border:0;background:transparent;color:#42464a;text-align:left}.person-event-open{gap:9px;min-width:0;min-height:44px;padding:4px 2px}.person-event-open>span{display:flex;flex:1;flex-direction:column;min-width:0;gap:2px}.person-event-open b{font-size:12px;font-weight:600}.person-event-open small{color:#85898c;font-size:11px}.person-event-open svg{color:#777b7f}.person-event-person{grid-column:1;gap:5px;max-width:100%;min-height:44px;padding:6px 2px 6px 26px;color:#686c70;font-size:11px}.person-event-person svg{width:13px;height:13px}.person-event-remove{grid-column:2;grid-row:1 / span 2;justify-content:center;width:36px;height:36px;border-radius:9px;color:#85898c}.person-event-remove:hover{background:#fff0f0;color:#a44b52}.calendar-page{flex:1;min-width:0;overflow:auto;padding:25px 30px 50px;color:#292b2e}.calendar-page>section{margin-top:19px}.calendar-page-heading,.calendar-period-heading,.calendar-month-heading,.calendar-section-heading,.calendar-month-heading>div,.calendar-section-heading>div{display:flex;align-items:center}.calendar-page-heading{justify-content:space-between;gap:18px;margin-bottom:19px}.calendar-page-heading h2{margin:0 0 5px;font-size:24px;font-weight:630;letter-spacing:-.55px}.calendar-page-heading p{margin:0;color:#777b7e;font-size:12px}.calendar-filters{display:flex;flex-wrap:wrap;gap:6px}.calendar-filters button{min-height:34px;padding:7px 11px;border:1px solid #e4e6e8;border-radius:11px;background:#fff;color:#62666a;font-size:11px}.calendar-filters button.active{border-color:#efb3b7;background:#fff3f3;color:#7a4045}.calendar-section-heading{justify-content:space-between;gap:12px;margin-bottom:9px}.calendar-section-heading>div,.calendar-month-heading>div{gap:8px;min-width:0}.calendar-section-heading svg,.calendar-month-heading>div>svg{color:#777b7e}.calendar-section-heading h3,.calendar-month-heading h3,.calendar-period-heading h3{margin:0;font-size:14px;font-weight:620;letter-spacing:-.15px}.calendar-section-heading>span{flex-shrink:0;color:#85898c;font-size:11px}.calendar-section-heading .text-button{padding:4px 0;border:0;background:transparent;color:#696d70;font-size:11px}.upcoming-dates{padding:13px 15px 15px;border:1px solid #e7e8ea;border-radius:16px;background:#fafafb}.upcoming-list{display:flex;gap:9px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.upcoming-list .calendar-event{flex:0 0 290px;border:1px solid #e7e8ea;border-radius:13px;background:#fff}.upcoming-list .calendar-event-copy b{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;white-space:normal}.calendar-period-heading{justify-content:space-between;gap:12px;margin-bottom:11px}.calendar-period-heading h3{color:#686d70}.calendar-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.calendar-month{min-width:0}.calendar-month-heading{justify-content:space-between;gap:12px;min-height:29px;margin-bottom:8px}.calendar-month-heading h3{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.calendar-month-actions{display:flex;flex:0 0 auto;align-items:center;gap:4px}.calendar-month-actions .secondary{min-height:34px;padding:7px 11px;font-size:11px}.calendar-month-actions .icon-button{width:34px;height:34px;border:1px solid #e7e8ea;border-radius:11px;background:#fff}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:0;overflow:hidden;border:1px solid #e6e7e9;border-radius:15px;background:#fff}.calendar-weekday{display:flex;min-height:34px;align-items:center;justify-content:center;border-bottom:1px solid #eceef0;color:#818589;font-size:10px;font-weight:550}.calendar-day{position:relative;display:flex;min-width:0;min-height:60px;flex-direction:column;align-items:flex-start;gap:7px;padding:8px 9px;border:0;border-right:1px solid #eff0f1;border-bottom:1px solid #eff0f1;border-radius:0;background:#fff;color:#4c5054;font-size:12px;text-align:left}.calendar-day:nth-child(7n){border-right:0}.calendar-day.empty-day{background:#fafafb}.calendar-day.today>span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin:-3px 0 -1px -4px;border-radius:8px;background:#292b2e;color:#fff}.calendar-day.has-events i{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border-radius:99px;background:#fbe1e3;color:#88484e;font-size:9px;font-style:normal;font-weight:600}.calendar-no-day{padding:15px 16px;border:1px solid #e7e8ea;border-radius:15px;background:#fff}.calendar-event{min-width:0;padding:8px 10px;border-bottom:1px solid #eff0f1}.calendar-event:last-child{border-bottom:0}.calendar-event-main{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:2px 0 5px;border:0;background:transparent;color:#35383b;text-align:left}.calendar-event-main>svg{margin-left:auto;color:#888c90}.calendar-event-date{flex:0 0 auto;min-width:75px;color:#74787c;font-size:11px;font-variant-numeric:tabular-nums}.calendar-event-copy{display:flex;flex:1;flex-direction:column;min-width:0;gap:3px}.calendar-event-copy b{overflow:hidden;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.calendar-event-copy small{color:#85898c;font-size:10px}.calendar-participants{display:flex;flex-wrap:wrap;gap:5px 13px;padding-left:85px}.calendar-participants button{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:2px 0;border:0;background:transparent;color:#666a6e;font-size:10px;text-align:left}.calendar-participants button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-participants .avatar-shell{width:25px!important;height:25px!important}.calendar-event-note{margin:6px 0 0 85px;color:#777b7e;font-size:10px;line-height:1.4}.calendar-event-wedding .calendar-event-copy b{color:#71434a}.calendar-no-day-mark{width:17px;color:#85898c;font-size:15px;font-weight:650;letter-spacing:1px;text-align:center}.calendar-empty-inline{margin:0;padding:10px 2px 2px;color:#85898c;font-size:11px;line-height:1.5}.calendar-loading{display:flex;min-height:210px;align-items:center;justify-content:center;gap:12px;color:#74787c;font-size:13px}@media(max-width:900px){.calendar-page{padding:22px 20px 44px}.calendar-page-heading{align-items:flex-start;flex-direction:column}}@media(max-width:640px){.missing-parent-pill{height:25px;padding:0 7px}.calendar-page{padding:18px 13px 38px}.calendar-page-heading{gap:12px}.calendar-page-heading h2{font-size:21px}.calendar-page-heading p{font-size:11px}.calendar-page>section{margin-top:14px}.upcoming-dates{padding:12px 11px}.upcoming-list .calendar-event{flex-basis:min(290px,82vw)}.calendar-period-heading h3{font-size:13px}.calendar-months{grid-template-columns:minmax(0,1fr);gap:15px}.calendar-month-heading h3{font-size:15px}.calendar-month-actions .secondary{min-height:32px;padding:6px 9px}.calendar-month-actions .icon-button{width:31px;height:32px}.calendar-weekday{min-height:30px;font-size:9px}.calendar-day{min-height:48px;align-items:center;gap:5px;padding:7px 1px 5px;font-size:11px}.calendar-day.today>span{width:22px;height:22px;margin:-3px 0 -1px}.calendar-day.has-events i{min-width:15px;height:15px;font-size:8px}.calendar-no-day{padding:13px 10px}.calendar-event{padding:8px 3px}.calendar-event-date{min-width:58px;font-size:10px}.calendar-event-copy b{font-size:11px}.calendar-participants{gap:4px 9px;padding-left:68px}.calendar-participants button{gap:5px;font-size:10px}.calendar-participants .avatar-shell{width:22px!important;height:22px!important}.calendar-event-note{margin-left:68px}.person-event-row{grid-template-columns:minmax(0,1fr) 44px}.person-event-remove{width:44px;height:44px}}@media(max-width:380px){.calendar-page{padding-right:10px;padding-left:10px}.calendar-day{min-height:43px}.calendar-event-date{min-width:52px}.calendar-participants{padding-left:60px}.calendar-event-note{margin-left:60px}}.graph.has-focus .connections path.focus-dim{stroke:#c7cacc;opacity:.78}.graph.has-focus .connections path.is-focus-route{stroke:#666b6e;stroke-width:1.5px;opacity:1;transition:stroke .14s ease,opacity .14s ease}.graph.has-focus .connections path.partner.is-focus-route{stroke:#666b6e}.graph.has-focus .person-card.focus-dim{opacity:1}.graph.has-focus .person-card.is-focus-related{outline:1px solid rgba(200,94,105,.28);outline-offset:2px}.graph.has-focus .person-card.is-focus-origin{outline-width:1px;outline-color:#c85e698c}.graph.has-focus .person-card:focus-visible{outline:3px solid #17191b;outline-offset:3px}.graph.has-focus .union-node{transition:background-color .14s ease,opacity .14s ease}.graph.has-focus .union-node.focus-dim{background:#c9cbce;opacity:.72}.graph.has-focus .union-node.is-focus-route{background:#17191b;opacity:1}.graph.has-focus .union-note.focus-dim{opacity:.55}.union-node{display:block;width:7px;height:7px;border:0;border-radius:50%;background:#36393c;box-shadow:none}.graph-focus-clear{position:absolute;z-index:4;top:12px;right:14px;display:inline-flex;align-items:center;justify-content:center;min-width:108px;min-height:44px;padding:0 12px;border:1px solid #d8dadd;border-radius:12px;background:#fff;box-shadow:0 5px 18px #191c1e17;color:#292c2f;font-size:12px;font-weight:560;touch-action:manipulation}.graph-focus-clear:hover{border-color:#aeb1b4;background:#f8f8f9}.graph-focus-clear:focus-visible{outline:3px solid #17191b;outline-offset:2px}@media(max-width:640px){.graph-focus-clear{top:8px;right:9px;min-width:108px;min-height:44px}}.heading-copy{flex:1 1 auto}.heading-copy h1,.heading-copy p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-family-picker,.header-family-picker select{min-width:0}.header-actions{display:flex;flex:0 0 auto;align-items:center;gap:8px}.header-actions .add-person{min-width:0}@media(max-width:900px){.header-actions .add-person,.header-actions .invite{width:44px;min-width:44px;height:44px;min-height:44px;padding:0}.header-actions .add-person span,.header-actions .invite span{display:none}}@media(max-width:640px){.heading-copy{grid-column:1;min-width:0}.header-actions{grid-column:2;grid-row:1;gap:6px}.header-family-picker{grid-column:1 / -1}}
