@font-face{font-family:Fraunces;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/fb526027db1fc1ae-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Fraunces;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/4da3161b738b07dd-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Fraunces;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/af4bf8399d1aacdf-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Fraunces Fallback;src:local("Times New Roman");ascent-override:84.71%;descent-override:22.09%;line-gap-override:0.00%;size-adjust:115.45%}.__className_482ce5{font-family:Fraunces,Fraunces Fallback;font-style:normal}.__variable_482ce5{--font-serif:"Fraunces","Fraunces Fallback"}@font-face{font-family:Outfit;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/98848575513c9742-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c4,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Outfit;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/7b0b24f36b1a6d0b-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Outfit Fallback;src:local("Arial");ascent-override:100.18%;descent-override:26.05%;line-gap-override:0.00%;size-adjust:99.82%}.__className_a80a2d{font-family:Outfit,Outfit Fallback;font-style:normal}.__variable_a80a2d{--font-sans:"Outfit","Outfit Fallback"}:root{--bg:#fbf7f1;--bg-deep:#e7e0d2;--ink:#1e1a16;--muted:#6f675e;--line:#e3d8c8;--card:#fffdf8;--accent:#1e4d3a;--accent-soft:#e5f0ea;--warn:#8a4b12;--warn-bg:#f8ecd8;--danger:#8d2f2f;--shadow:0 16px 40px rgba(70,48,20,0.08);--sans:var(--font-sans),"Avenir Next","Segoe UI",sans-serif;--serif:var(--font-serif),"Iowan Old Style",Palatino,Georgia,serif;color-scheme:light}*{box-sizing:border-box}body,html{margin:0;padding:0}body{min-height:100dvh;background:radial-gradient(circle at 8% 0,rgba(30,77,58,.06),transparent 28%),radial-gradient(circle at 100% 0,rgba(141,47,47,.05),transparent 26%),var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.45}a{color:inherit}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}.brand,.login-card h1,.person-row-name,.tree-name,h1,h2{font-family:var(--serif);font-weight:560;letter-spacing:-.02em}h1{font-size:2rem;line-height:1.1;margin:0}h2{font-size:1.15rem;margin:0 0 .4rem}p{margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.shell-main{flex:1 1;min-height:0;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;gap:18px;flex-wrap:nowrap;padding:max(12px,env(safe-area-inset-top)) 18px 12px;background:rgba(251,247,241,.92);border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:5}.centre-slot{flex:1 1 auto;min-width:0;display:flex;justify-content:center;overflow:hidden}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-size:1.35rem;color:var(--accent)}.mark{width:32px;height:32px;display:block}.nav{display:flex;gap:4px}.nav a{text-decoration:none;padding:8px 12px;border-radius:999px;color:var(--muted)}.nav a[aria-current=page]{background:var(--accent);color:#fbf7f1}.top-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:nowrap;flex:none}.btn,a.btn,button.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;border:1px solid var(--line);background:var(--card);padding:8px 14px;text-decoration:none;line-height:1.2}.btn.primary{background:var(--accent);color:#fbf7f1;border-color:var(--accent)}.btn.danger,.btn.ghost{background:transparent}.btn.danger{color:var(--danger);border-color:#e7c8c4}.btn.tiny{padding:4px 8px;font-size:.85rem}.btn:disabled{opacity:.6;cursor:wait}.sample-banner{background:var(--warn-bg);color:var(--warn);padding:8px 18px;font-size:.92rem;border-bottom:1px solid #efd7b4}.staging-banner{flex:none;background:var(--accent);color:#fbf7f1;text-align:center;padding:8px 16px;font-size:.92rem;font-weight:650;letter-spacing:.02em}body.is-staging{display:flex;flex-direction:column;height:100dvh;min-height:0}body.is-staging .login-screen,body.is-staging .shell{flex:1 1;min-height:0;height:auto}.people-layout{flex:1 1;min-height:0;display:grid;grid-template-columns:minmax(280px,380px) 1fr}.detail-pane,.people-list-pane{min-height:0;overflow:auto}.people-list-pane{border-right:1px solid var(--line);background:rgba(255,253,248,.45)}.list-wrap{padding:22px 18px 40px}.list-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.list-head h1{font-size:1.8rem}.hint,.lede,.muted,.person-row-meta,.places,.rel-label,.timestamps{color:var(--muted)}.search{display:block;margin:16px 0}.date-grid input,.date-grid select,.person-form input,.person-form select,.person-form textarea,.rel-row select,.search input{width:100%;border:1px solid var(--line);background:white;border-radius:12px;padding:10px 12px;font-size:16px}.person-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}.person-row{display:flex;gap:12px;align-items:center;padding:10px;border-radius:14px;text-decoration:none}.person-row:hover,.person-row[aria-current=page]{background:white}.person-row[aria-current=page]{box-shadow:inset 3px 0 0 var(--accent)}.avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);color:var(--accent);font-family:var(--serif);flex:none}.avatar.xl{width:84px;height:84px;font-size:1.6rem}.person-row-text{display:flex;flex-direction:column;min-width:0}.person-row-name{font-size:1.05rem}.person-row-name em{font-style:italic;color:var(--muted);font-weight:400}.empty-copy{margin-top:8px}.detail-view,.empty-state,.form-page{padding:28px 32px 64px;max-width:860px}.back-link{display:none;text-decoration:none;color:var(--accent);margin-bottom:12px}.detail-head{display:flex;gap:18px;align-items:flex-start}.detail-id{flex:1 1;min-width:0}.detail-actions{display:flex;gap:8px;flex-wrap:wrap}.kicker{text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;color:var(--warn);margin-bottom:4px}.nickname{font-family:var(--serif);font-style:italic;font-size:1.2rem;margin-top:4px}.lifespan{margin-top:8px;font-size:1.05rem}.portrait{width:96px;height:96px;object-fit:cover;border-radius:18px;border:1px solid var(--line)}.quick-row{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0 8px}.rel-section{margin-top:22px}.rel-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.rel-row{display:grid;grid-template-columns:minmax(140px,1.2fr) minmax(120px,1fr) auto auto;grid-gap:10px;gap:10px;align-items:center;padding:10px 12px;background:var(--card);border:1px solid var(--line);border-radius:14px}.rel-name{font-family:var(--serif);text-decoration:none;font-size:1.05rem}.rel-row button[data-testid=also-child-of]{grid-column:1/-1;justify-self:start}button[data-testid=also-child-of]{margin:8px 0}.notes{white-space:pre-wrap}.timestamps{margin-top:28px;font-size:.9rem}.empty-state{min-height:100%;justify-content:center;gap:8px}.empty-state,.person-form{display:flex;flex-direction:column}.person-form{gap:16px}.date-grid,.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.date-fields{border:1px solid var(--line);border-radius:16px;padding:12px;margin:0}.date-fields legend{padding:0 6px;color:var(--muted)}.date-fields.is-compact{display:flex;flex-wrap:wrap;align-items:center;gap:6px;border:0;border-radius:0;padding:0;min-width:0}.date-fields.is-compact legend{padding:0;font-size:.85rem}.date-fields.is-compact .date-grid{display:flex;flex-wrap:wrap;gap:4px;width:auto}.date-fields.is-compact label{width:auto;gap:0}.date-fields.is-compact .date-grid input,.date-fields.is-compact .date-grid select{width:auto;max-width:6.5rem;min-height:32px;padding:4px 8px;border-radius:8px;font-size:.92rem}.date-fields.is-compact .date-grid input{width:4.4rem}.date-fields.is-compact .date-grid input[aria-label$=day]{width:3.1rem}.partner-dates{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}.partner-dates>label{width:auto}.partner-dates>label select{width:auto;max-width:11rem}.partner-dates>.hint{flex:1 0 100%}.date-place{grid-column:1/-1}label{display:flex;flex-direction:column;gap:6px;font-size:.92rem}.check{flex-direction:row;align-items:center;gap:8px}.check input{width:auto}.dialog-actions,.form-actions{display:flex;gap:8px;flex-wrap:wrap}.photo-preview{display:flex;align-items:center;gap:12px;margin-top:8px}.photo-preview img{width:72px;height:72px;object-fit:cover;border-radius:12px}.form-error,.warning{background:var(--warn-bg);color:var(--warn);border-radius:12px;padding:12px 14px}.form-error{background:#f8e6e4;color:var(--danger)}.warning ul{margin:8px 0 0;padding-left:18px}.menu-scrim,.scrim{position:fixed;inset:0;background:rgba(40,30,18,.35);z-index:30;border:0;padding:0}.menu-scrim{background:transparent}.dialog{position:fixed;z-index:31;top:4dvh;left:50%;transform:translateX(-50%);width:min(720px,calc(100vw - 24px));max-height:min(92dvh,900px);overflow:auto;background:var(--bg);border-radius:20px;padding:22px;box-shadow:var(--shadow)}.rel-section h2{display:flex;align-items:center;gap:10px}.link-choices{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.link-results{list-style:none;margin:8px 0;padding:0;max-height:min(42dvh,280px);overflow:auto;display:flex;flex-direction:column;gap:6px}.link-results button{justify-content:flex-start;width:100%;min-height:44px}.filter-row{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.chip{min-height:44px;padding:8px 12px;border-radius:999px;border:1px solid var(--line);background:transparent;color:inherit}.chip.on{background:var(--ink,#243126);color:var(--bg,#f6f1e7)}.suggest-block h2{font-size:.95rem;margin:12px 0 4px}.picker-person{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left}.picker-person.is-disabled,.picker-person.is-unlikely{opacity:.55}.picker-reason{display:block;font-size:12px;font-weight:400;color:var(--muted,#6f675e)}.inline-parent{display:flex;flex-direction:column;gap:8px;padding-left:28px}.inline-parent .field{margin:0}.preview{margin:12px 0;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.45)}.preview ul{margin:0;padding-left:18px}.preview li{margin:4px 0}.warning-line{color:var(--warn,#8a4b12);margin:8px 0 0}.partner-years{display:flex;gap:8px 10px;align-items:center;flex-wrap:wrap;grid-column:1/-1}.partner-years>label{width:auto}.partner-years select{width:auto;max-width:11rem;min-height:32px;padding:4px 8px;border-radius:8px}.partner-years .hint{flex:1 0 100%;margin:0}.dialog.confirm{width:min(440px,calc(100vw - 24px));background:var(--card)}.dialog.confirm p{margin:10px 0 18px}.menu{position:fixed;z-index:32;background:white;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:6px;display:flex;flex-direction:column;min-width:160px}.menu button{background:transparent;border:0;text-align:left;padding:8px 10px;border-radius:10px}.menu button:hover{background:var(--bg)}.tree-page{flex:1 1;flex-direction:column}.tree-page,.tree-viewport{min-height:0;position:relative;display:flex}.tree-viewport{flex:1 1;overflow:hidden;flex-direction:row;touch-action:none;cursor:-webkit-grab;cursor:grab;background-color:#efe8da;background-image:radial-gradient(#e0d5c3 1.1px,transparent 0);background-size:22px 22px}.tree-viewport.is-panning{cursor:-webkit-grabbing;cursor:grabbing}.tree-stage{flex:1 1;min-width:0;touch-action:none}.gen-rail,.tree-stage{position:relative;overflow:hidden}.gen-rail{flex:none;width:36px;pointer-events:none;z-index:3;background-color:#efe8da;background-image:radial-gradient(#e0d5c3 1.1px,transparent 0);background-size:22px 22px}.tree-world{position:absolute;top:0;left:0;transform-origin:0 0;will-change:transform}.tree-svg{position:absolute;inset:0;overflow:visible;pointer-events:none}.row-label{fill:#8a7d6b;font-size:13px;font-family:var(--sans)}.gen-band{fill:rgba(31,74,56,.045)}.gen-band.alt{fill:rgba(138,75,18,.05)}.gen-label{fill:#6f675e;font-size:13px;font-family:var(--sans)}.child-path{fill:none;stroke:#8a6a45;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round}.child-path.is-half{stroke-dasharray:7 5}.child-path.kin-adoptive{stroke-dasharray:1 0;stroke-width:3.2}.child-path.kin-step{stroke-dasharray:3 4}.child-path.kin-foster{stroke-dasharray:1 4}.child-path.kin-non_biological{stroke:#3d6b8a;stroke-dasharray:6 4}.tree-card.is-see-also-target{outline:3px solid var(--accent);outline-offset:3px;z-index:5}.tree-standin.is-see-also{outline:2px dashed var(--accent);outline-offset:2px}.child-path.kin-mixed{stroke-dasharray:8 3 2 3}.partner-path{fill:none;stroke-width:2;stroke-linecap:round}.partner-path.distant{stroke-dasharray:4 4;opacity:.7}.household-panel{fill-opacity:.13;stroke:rgba(70,48,20,.08);stroke-width:1;filter:drop-shadow(0 8px 16px rgba(70,48,20,.05))}.tree-world.is-focused .child-path,.tree-world.is-focused .household-panel,.tree-world.is-focused .partner-dot,.tree-world.is-focused .partner-path,.tree-world.is-focused .tree-card,.tree-world.is-focused .tree-standin{opacity:.22;filter:blur(1.1px)}.tree-world.is-focused .child-path.is-focus,.tree-world.is-focused .household-panel.is-focus,.tree-world.is-focused .is-focus .partner-dot,.tree-world.is-focused .is-focus .partner-path,.tree-world.is-focused .tree-card.is-focus,.tree-world.is-focused .tree-standin.is-focus{opacity:1;filter:none}.tree-world.is-focused .child-path.is-focus{stroke-width:3.2}.tree-world.is-focused .child-path.is-line{stroke-width:4.6}.tree-world.is-focused .tree-card.is-focus{z-index:4;transform:translateY(-3px)}.tree-world.is-focused .tree-card.is-focus-kin,.tree-world.is-focused .tree-standin.is-focus-kin{opacity:var(--kin-strength,.92);filter:none;z-index:3}.tree-world.is-focused .tree-card.is-inlaw,.tree-world.is-focused .tree-standin.is-inlaw{outline:1px dashed rgba(80,60,40,.45);outline-offset:-4px}.tree-world.is-focused .child-path.is-hop,.tree-world.is-focused .tree-card.is-hop,.tree-world.is-focused .tree-standin.is-hop,.tree-world.is-focused g.is-hop .partner-dot,.tree-world.is-focused g.is-hop .partner-path{opacity:var(--hop-fade,.2);filter:none}.tree-world.is-focused .tree-card.is-focus-affinal,.tree-world.is-focused .tree-standin.is-focus-affinal{opacity:.82;filter:none;z-index:3;outline:1px dashed rgba(80,60,40,.45);outline-offset:-4px}.parent-choices{border:1px solid var(--line);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}.parent-choices legend{font-weight:600;padding:0 4px}.tree-card{position:absolute;background:var(--card);border:1px solid #e6dccb;border-radius:16px;box-shadow:0 10px 24px rgba(70,48,20,.06);overflow:hidden;cursor:pointer}.gender-band{position:absolute;top:0;left:0;right:0;height:7px}.gender-male{background:#2c6cb0}.gender-female{background:#c4537a}.gender-other,.gender-unspecified{background:#b7aa9a}.tree-card-body{display:flex;gap:8px;align-items:flex-start;padding:14px 48px 36px 12px;height:100%}.tree-avatar{width:40px;height:40px;border-radius:999px;object-fit:cover;flex:none;margin-top:2px;box-shadow:0 0 0 2px white}.tree-avatar.initials{display:grid;place-items:center;color:white;font-size:.78rem;font-weight:650;letter-spacing:.04em}.tree-card-text{min-width:0;max-width:100%;flex:1 1;display:flex;flex-direction:column;gap:4px;overflow:visible}.tree-open{position:absolute;left:12px;bottom:8px;min-width:64px;min-height:32px;padding:4px 10px;border-radius:999px;border:1px solid var(--line);background:white;font-size:.82rem}.tree-standin{position:absolute;border:1px dashed #8a7560;border-radius:16px;background:#fffdf8;color:var(--ink);text-align:left;padding:16px 12px 12px;display:flex;flex-direction:column;gap:4px;overflow:hidden}.tree-standin-label{font-size:.78rem;line-height:1.25}.tree-kicker{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.tree-kicker em{font-style:normal;color:var(--warn);letter-spacing:.08em}.tree-deceased,.tree-kicker,.tree-name,.tree-standin .tree-name,.tree-standin-label,.tree-years{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-name,.tree-standin .tree-name{font-size:clamp(18px,calc(11px / var(--tree-scale, 1)),64px);line-height:1.05}.tree-world[data-layout=compact] .tree-name,.tree-world[data-layout=compact] .tree-standin .tree-name{font-size:17px;line-height:1.1;letter-spacing:0}.tree-world[data-layout=compact] .tree-standin,.tree-world[data-layout=compact] .tree-standin .tree-name{color:var(--ink);font-weight:650}.tree-world[data-layout=compact] .tree-standin{padding:0 8px;gap:0;align-items:stretch;justify-content:center}.tree-world[data-layout=compact] .tree-standin .tree-name{flex:none;width:100%;line-height:1.15;height:auto}.tree-given{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.tree-initial{display:none}.tree-name.is-short{display:flex;align-items:baseline;gap:.3em}.tree-world[data-layout=compact] .tree-standin .tree-name.is-short{align-items:center}.tree-name.is-short .tree-initial{display:inline;flex:none;font-weight:750}.tree-name.is-short .tree-given{min-width:0}.tree-world[data-layout=compact] .tree-card,.tree-world[data-layout=compact] .tree-standin{border-radius:8px}.tree-world[data-layout=compact] .gender-band{height:3px}.tree-world[data-names=initials] .tree-name,.tree-world[data-names=initials] .tree-standin .tree-name{font-size:15px;text-align:center;letter-spacing:.04em}.tree-years{color:var(--muted);font-size:.78rem;line-height:1.25;margin-top:8px;max-width:none;width:calc(100% + 28px)}.tree-standin-label{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2}.deceased-flag,.tree-deceased{display:inline-block;align-self:flex-start;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:#6f4b3a;background:#f3e6dc;border-radius:999px;padding:1px 7px;font-weight:700}.deceased-flag{font-size:.78rem;margin:4px 0}.tree-plus,.tree-star{position:absolute;border-radius:999px;border:1px solid var(--line);background:white;line-height:1;padding:0}.tree-plus{top:12px;right:8px;width:32px;height:32px}.explain-mark{position:absolute;top:48px;right:8px;width:22px;height:22px;border-radius:999px;border:1px solid #c4b8a8;background:#fffdf8;color:#6f4b3a;font-family:Georgia,Iowan Old Style,Palatino,serif;font-style:italic;font-size:14px;line-height:1;padding:0;z-index:3}.explain-mark.on-union{z-index:3}.explain-popover{position:fixed;z-index:40;width:min(280px,calc(100% - 16px));max-width:280px;overflow:auto;background:#fffdf8;color:#3d3228;border:1px solid #e6dccb;border-radius:14px;box-shadow:0 12px 32px rgba(70,48,20,.16);padding:12px 12px 10px;font-size:.92rem;line-height:1.45}.explain-popover p{margin:0 0 8px}.explain-popover button{min-height:32px;border-radius:999px;border:1px solid var(--line);background:white;padding:4px 12px}.union-ended{font-size:11px;font-weight:700;fill:#6f4b3a}.tree-star{left:34px;top:40px;width:18px;height:18px;font-size:12px;z-index:2;color:#8a7d6b;opacity:0;visibility:hidden;pointer-events:none}.tree-star.is-on{color:#9a6b12;background:#fff6df}.tree-card.is-home .tree-star,.tree-card:focus-within .tree-star,.tree-card:hover .tree-star{opacity:1;visibility:visible;pointer-events:auto}.centre-chip{border:1px solid var(--line);background:#fffdf8;border-radius:999px;padding:6px 12px;font-weight:650;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.centre-fallback{display:flex;justify-content:center;padding:4px 12px 0;flex:none}.legend-inline{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;font-size:.82rem;color:var(--muted)}.legend-inline span{display:inline-flex;align-items:center;gap:6px}.swatch{width:14px;height:8px;border-radius:99px;display:inline-block}.swatch.male{background:#2c6cb0}.swatch.female{background:#c4537a}.swatch.unspecified{background:#b7aa9a}.legend-note{color:var(--ink)}.tree-controls{flex:none;display:flex;flex-wrap:nowrap;gap:8px;align-items:center;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:#fffdf8;border-top:1px solid var(--line);z-index:5;overflow-x:auto}.tree-controls>.tree-hint{position:static;margin:0;flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree-controls>.segmented,.tree-controls>.tree-toolbar,.tree-controls>button{flex-shrink:0}.segmented button,.tree-controls>button{min-height:44px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:white}.tree-controls>button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--accent)}.segmented{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden}.segmented button{border:0;border-radius:0}.segmented button[aria-pressed=true]{background:var(--accent);color:white}.tree-toolbar{position:static;margin-left:auto;display:flex;gap:6px;align-items:center;background:rgba(255,253,248,.94);border:1px solid var(--line);border-radius:999px;padding:4px}.tree-toolbar button{width:44px;height:44px;border-radius:999px;border:0;background:transparent}.tree-toolbar button[data-testid=fit-tree],.tree-toolbar button[data-testid=show-all]{width:auto;padding:0 12px}.zoom-label{min-width:48px;text-align:center;color:var(--muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.tree-search{position:relative;flex:1 1 180px;min-width:140px;max-width:280px}.tree-search input{width:100%;min-height:44px;border-radius:999px;border:1px solid var(--line);background:white;padding:0 14px}.tree-search-results{position:absolute;left:0;right:0;bottom:calc(100% + 6px);z-index:6;margin:0;padding:6px;list-style:none;max-height:min(42dvh,280px);overflow:auto;background:#fffdf8;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.tree-search-results button{width:100%;min-height:44px;text-align:left;border:0;background:transparent;border-radius:10px;padding:8px 10px}.tree-search-results button:hover{background:rgba(31,74,56,.06)}.minimap{position:absolute;right:12px;bottom:12px;width:180px;height:112px;z-index:4;background:rgba(255,253,248,.94);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden;touch-action:none}.minimap.docked{position:relative;right:auto;bottom:auto;left:auto;top:auto;width:100%;height:88px;flex:1 1 100%;visibility:visible}.minimap canvas{position:absolute;inset:0;width:100%;height:100%}.minimap-view{position:absolute;border:2px solid var(--accent);background:rgba(30,77,58,.12);border-radius:3px;pointer-events:none}.minimap-close{position:absolute;top:4px;right:4px;min-height:28px;padding:0 8px;border-radius:999px;border:1px solid var(--line);background:white;font-size:.75rem}.gen-stick-label{position:absolute;left:2px;right:2px;top:0;font-size:11px;line-height:1.2;font-weight:700;text-align:center;color:#243028;background:rgba(255,253,248,.94);border-radius:8px;padding:3px 0;white-space:nowrap}.tree-world[data-layout=compact] .explain-mark,.tree-world[data-zoom=compact] .explain-mark,.tree-world[data-zoom=compact] .tree-deceased,.tree-world[data-zoom=compact] .tree-kicker,.tree-world[data-zoom=compact] .tree-years{top:2px;right:2px;width:16px;height:16px;font-size:11px}.tree-world[data-layout=compact] .tree-star,.tree-world[data-zoom=compact] .tree-avatar,.tree-world[data-zoom=compact] .tree-open,.tree-world[data-zoom=compact] .tree-plus,.tree-world[data-zoom=compact] .tree-standin-label,.tree-world[data-zoom=compact] .tree-star{display:none}.tree-world[data-zoom=compact] .tree-card-body{padding:8px 10px;align-items:center;height:100%}.tree-world[data-layout=compact] .tree-card-body{padding:0 8px;align-items:center;justify-content:center;height:100%}.tree-card.is-pulse,.tree-standin.is-pulse{animation:card-pulse 1.5s ease}@keyframes card-pulse{0%{outline:4px solid rgba(31,74,56,.9);outline-offset:2px}to{outline:4px solid transparent;outline-offset:14px}}@media (max-width:760px){.tree-hint{display:none}.tree-search{flex:1 1 100%;max-width:none}.tree-controls{gap:8px;flex-wrap:wrap;overflow-x:visible}}.tree-hint{position:absolute;left:16px;bottom:18px;color:var(--muted);font-size:.85rem;pointer-events:none}.tree-empty{padding:48px 24px}.login-screen{min-height:100dvh;display:grid;place-items:center;padding:24px}.login-card{width:min(440px,100%);background:var(--card);border:1px solid var(--line);border-radius:24px;padding:32px 28px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:12px}.login-card .mark{width:64px;height:64px}.login-card h1{font-size:2.4rem}.login-privacy{font-size:.92rem}.login-privacy a,.privacy-note a,.privacy-settings-link a{color:var(--accent)}.privacy-settings-link{margin-top:18px}.sensitive-hint{color:var(--warn);margin:0}.privacy-screen{min-height:100dvh;padding:28px 18px 64px}.privacy-note{width:min(720px,100%);margin:0 auto;gap:22px}.privacy-head,.privacy-note{display:flex;flex-direction:column}.privacy-head{gap:12px;align-items:flex-start}.privacy-note section{display:flex;flex-direction:column;gap:8px}.privacy-note h2{margin:0}.privacy-note ul{margin:0;padding-left:1.2rem;display:flex;flex-direction:column;gap:4px}.privacy-foot{color:var(--muted)}.login-form{display:flex;flex-direction:column;gap:12px;margin-top:8px}.login-form input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px;font-size:16px;background:white}.error-block,.loading{padding:32px}.history-page{max-width:760px}.history-list{list-style:none;margin:0;padding:0;gap:12px}.history-item,.history-list{display:flex;flex-direction:column}.history-item{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:14px 16px;gap:6px}.history-text{font-family:var(--serif);font-size:1.15rem}.history-detail,.history-meta{color:var(--muted)}.history-meta{font-size:.85rem}.history-undo{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.label-line{display:inline-flex;align-items:center;gap:6px}.ai-hidden{display:inline-flex;color:var(--muted);vertical-align:middle}.private-badge{font-size:.75rem;letter-spacing:.02em;text-transform:uppercase;color:var(--warn);background:var(--warn-bg);border-radius:999px;padding:1px 7px}.portrait-wrap{position:relative;display:inline-flex}.portrait-wrap .ai-hidden{position:absolute;right:6px;bottom:6px;background:var(--card);border-radius:999px;padding:2px}.settings-page{max-width:760px;padding:28px 22px 64px;overflow:auto;flex:1 1;min-height:0}.setting-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.setting-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:14px;padding:10px 12px}.settings-add{margin-top:16px}.custom-fields{border:0;margin:12px 0;padding:0;display:flex;flex-direction:column;gap:12px}.custom-field.is-private,.custom-values .is-private{background:var(--warn-bg);border-radius:12px;padding:8px 10px}.custom-values{margin:0;display:flex;flex-direction:column;gap:8px}.custom-values dt{font-weight:600}.custom-values dd{margin:0}.contact-address{white-space:pre-wrap}.boundary-stubs,.not-recorded{color:var(--muted)}.boundary-stubs{list-style:none;margin:8px 0 0;padding:0}.boundary-stubs li{border:1px dashed var(--line);border-radius:12px;padding:8px 10px;background:#fbf7f1}@media (max-width:800px){.people-layout{display:block}.people-layout:has(.detail-view) .people-list-pane,.people-layout:has(.form-page) .people-list-pane{display:none}.people-layout:not(:has(.detail-view)):not(:has(.form-page)) .detail-pane{display:none}.back-link{display:inline-flex}.detail-view,.form-page{padding:18px 16px 48px}.detail-head{flex-wrap:wrap}.rel-row{grid-template-columns:1fr}.topbar{flex-wrap:wrap;gap:8px}.tree-hint{display:none}.date-grid,.form-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}