:root{--bg:#f7f6f0;--surface:#fffefa;--ink:#253d32;--muted:#626d64;--line:#d9ddd2;--primary:#34563e;--hover:#243e2d;--accent:#b3a06b;--warning:#77432e;--radius:6px;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:16px;line-height:1.6}*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0 0 1rem}h1,h2,h3{line-height:1.18}h1,h2,.brand,.sample-parents h3,.sample-child h3{font-family:Georgia,"Times New Roman",serif;font-weight:400}h1{font-size:clamp(2.5rem,4.7vw,4.6rem);letter-spacing:-.045em}h2{font-size:2rem;letter-spacing:-.025em}h3{font-size:1.1rem}em{font-weight:400;color:#637b51}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--hover)}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:1rem;background:var(--primary);color:white;border:1px solid var(--primary);border-radius:var(--radius);padding:.8rem 1.2rem;font:inherit;font-size:.9rem;font-weight:600;min-height:44px;text-decoration:none;cursor:pointer}button:hover,.button:hover{background:var(--hover);color:white}button:disabled{opacity:.5;cursor:not-allowed}.secondary{background:transparent;color:var(--ink);border-color:#b8c2b4}.secondary:hover{background:#e6ebdf;color:var(--ink)}.small{padding:.55rem 1rem}.text-button{background:none;border:0;color:inherit;font-weight:400;padding:.4rem}.text-button:hover{background:#e6ebdf;color:var(--ink)}:focus-visible{outline:3px solid #a2762c;outline-offset:4px}.site-header{padding:1.4rem max(5vw,24px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:1rem}.brand{font-size:1.5rem;letter-spacing:-.04em;display:flex;gap:.6rem;align-items:center;text-decoration:none}.brand-mark{font-size:2.2rem;line-height:1}.site-header nav{display:flex;gap:1.5rem;align-items:center;font-size:.9rem}.site-header nav>a:not(.button){text-decoration:none}.site-header form{margin:0}.hero{max-width:1320px;margin:auto;display:grid;grid-template-columns:1.15fr 1fr;gap:7%;padding:6rem 5vw}.eyebrow,.step{font-size:.69rem;letter-spacing:.14em;font-weight:700;color:var(--muted);text-decoration:none}.eyebrow{margin-bottom:1.4rem}.intro{font-size:1.05rem;max-width:36rem;line-height:1.8;color:var(--muted)}.actions{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;margin:2rem 0}.actions>a:not(.button){font-size:.9rem}.caption,.help{font-size:.8rem;color:var(--muted)}.caption{margin-top:2rem;letter-spacing:.04em}.family-illustration{background:#e9eddf;border:1px solid #dce2d0;border-radius:8px;padding:2rem;align-self:center;position:relative}.illustration-label{font-size:.65rem;letter-spacing:.16em;text-align:center;margin-bottom:2rem;color:#627155}.sample-parents{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.sample-parents article,.sample-child{padding:1.3rem;background:var(--surface);border:1px solid #ced6c4;border-radius:4px}.sample-parents span,.sample-child span{font-size:.6rem;letter-spacing:.12em;color:var(--muted)}.sample-parents h3{font-size:1.3rem;margin:.7rem 0}.sample-parents p,.sample-child p{font-size:.75rem;color:var(--muted);margin:0}.sample-stem{height:44px;width:53%;margin:auto;border-bottom:1px solid #809476;border-left:1px solid #809476;border-right:1px solid #809476;position:relative}.sample-stem:after{content:"";position:absolute;left:50%;top:100%;height:24px;border-left:1px solid #809476}.sample-child{max-width:270px;margin:24px auto 0;border-top:3px solid #647c50}.sample-child h3{font-size:1.3rem;margin:.7rem 0}.sample-child hr{border:0;border-top:1px solid var(--line);margin:1rem 0}.illustration-note{text-align:center;font:italic .9rem/1.6 Georgia,serif;color:#637155;margin:1.8rem 0 0}.principles{border-top:1px solid var(--line);max-width:1320px;margin:auto;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2.5rem;padding:3.5rem 5vw}.principles h2{font-size:1.7rem}.principles h3{margin:1rem 0 .6rem}.principles p,.honest-note p{font-size:.9rem;color:var(--muted)}.honest-note{max-width:850px;margin:1rem auto 4rem;padding:2rem 5vw;border-top:1px solid var(--line)}.honest-note h2{font-size:1.6rem}.site-footer{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding:1.5rem 5vw;font-size:.75rem;color:var(--muted)}.muted{color:var(--muted)}.auth-layout{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:8%;max-width:1100px;margin:5rem auto 7rem;padding:0 2rem}.auth-layout h1{font-size:3.7rem}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:2rem;align-self:start}.panel h2{font-size:1.6rem}.panel button{width:100%;margin-top:1rem}label{display:block;font-size:.82rem;font-weight:600;margin:1rem 0}input,select,textarea{display:block;width:100%;font:inherit;font-weight:400;font-size:1rem;padding:.7rem;border:1px solid #bac4b6;background:var(--surface);color:var(--ink);border-radius:4px;margin-top:.4rem;min-height:44px}input[type=file]{font-size:.8rem;padding:1rem .5rem}.alert{border-left:3px solid #a35738;padding:1rem;background:#f6e9df;color:var(--warning);font-size:.9rem}.notice{background:#eaf0e2;padding:1.5rem;border-left:3px solid #94a780;margin:1.5rem 0;font-size:.9rem}.notice p:last-child{margin-bottom:0}.workspace{max-width:1360px;margin:3rem auto 5rem;padding:0 5vw}.workspace>h1{font-size:3rem}.dashboard-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:4rem;margin-top:3rem}.tree-card{display:flex;gap:1.5rem;align-items:center;padding:1.5rem 0;border-bottom:1px solid var(--line);text-decoration:none}.tree-card div{flex:1}.tree-card h3{font-size:1.3rem;font-family:Georgia,serif;margin-bottom:.3rem}.tree-card p{margin:0;font-size:.85rem;color:var(--muted)}.tree-symbol{font-size:3rem;color:#73865f}.empty{padding:2rem;border:1px dashed #b8c2ac;border-radius:6px}.empty.large{padding:5rem 2rem;text-align:center;background:#edf0e6}.empty .actions{justify-content:center}.archive-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.archive-heading h1{font-size:2.5rem;margin:1rem 0 2rem}.tag{font-size:.75rem;border:1px solid #c7d1bc;padding:.4rem .7rem;border-radius:4px;white-space:nowrap}.tabs{display:flex;gap:2rem;border-bottom:1px solid var(--line);margin-bottom:2rem;overflow:auto;white-space:nowrap}.tabs a{text-decoration:none;font-size:.85rem;padding:.6rem 0 1rem}.tabs a:hover{box-shadow:inset 0 -2px var(--primary)}.graph-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.graph-toolbar p{margin:0}.graph-toolbar .eyebrow{margin-bottom:.4rem}.controls{display:flex;gap:.5rem;align-items:end;flex-wrap:wrap}.controls label{font-size:.65rem;margin:0}.controls select{font-size:.8rem;padding:.5rem;min-height:44px}.controls button{padding:.5rem .8rem;font-size:.8rem}.graph{height:510px;overflow:hidden;border:1px solid var(--line);border-radius:6px;background-color:#eef1e7;background-image:radial-gradient(#bfcab5 .7px,transparent .7px);background-size:20px 20px;touch-action:none}.graph svg{width:100%;height:100%;cursor:grab}.graph svg:active{cursor:grabbing}.graph rect{fill:var(--surface);stroke:#aaba9c;stroke-width:1}.graph .focus rect{stroke:#3d6140;stroke-width:3}.graph text{fill:var(--ink);font:13px system-ui,sans-serif}.graph .dates{font-size:10px;fill:var(--muted)}.graph .person-node{cursor:pointer}.graph .person-node:focus rect{stroke:#a2762c;stroke-width:3}.graph path{fill:none;stroke:#7d9070;stroke-width:1.5}.graph .partner{stroke-dasharray:5 4;stroke:#9b8764}.graph .pedigree{stroke-dasharray:3 3}.graph .edge-label{font-size:9px}.graph-legend{display:flex;gap:1.5rem;flex-wrap:wrap;font-size:.75rem;margin:1rem 0 2rem;color:var(--muted)}.graph-legend a{margin-left:auto}.graph-list{display:grid;grid-template-columns:repeat(3,1fr);list-style:none;padding:0;gap:1rem}.graph-list li{border-bottom:1px solid var(--line);padding:.5rem 0;display:flex;gap:.6rem;align-items:center;justify-content:space-between}.graph-list a{font-size:.85rem}.graph-list button{padding:.3rem .6rem;min-height:44px;font-size:.75rem}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.search{display:flex;align-items:end;gap:1rem;margin:1rem 0 2rem;max-width:600px}.search label{flex:1;margin:0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.9rem}th{text-align:left;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}td,th{padding:1.1rem 1rem;border-bottom:1px solid var(--line)}td:first-child{font-weight:600}.pagination{display:flex;justify-content:space-between;margin:2rem 0}.editor-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:5rem}.editor-layout section>p{max-width:40rem}.editor-layout h3{margin-top:2rem}.editor-layout p{color:var(--muted)}.record{padding-left:1.3rem;overflow-wrap:anywhere;font-size:.85rem}.record li{padding:.2rem 0}.record strong{font-size:.7rem;color:var(--muted);margin-right:.5rem}.summary{display:grid;grid-template-columns:repeat(7,1fr);gap:1rem;border-block:1px solid var(--line);padding:1.5rem 0}.summary dt{font-size:.75rem;color:var(--muted)}.summary dd{font:2rem Georgia,serif;margin:0}.narrow{max-width:800px;min-height:45vh}.skip{position:absolute;left:1rem;top:-100px;z-index:10;background:var(--surface);padding:1rem}.skip:focus{top:1rem}
@media(max-width:1000px){.hero{gap:2rem;padding-block:4rem}.family-illustration{padding:1.2rem}.principles{grid-template-columns:1fr 1fr}.editor-layout{gap:2rem}.graph-toolbar{align-items:start;flex-direction:column}.dashboard-grid{gap:2rem}.summary{grid-template-columns:repeat(4,1fr)}.graph-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.site-header{padding:1rem;flex-wrap:wrap}.brand{font-size:1.3rem}.site-header nav{gap:1rem}.hero{grid-template-columns:1fr;padding:3rem 1.5rem}.hero h1{font-size:3.5rem}.family-illustration{margin-top:1rem}.principles{grid-template-columns:1fr;padding:2rem 1.5rem;gap:1rem}.principles article{padding-block:1rem;border-top:1px solid var(--line)}.site-footer{flex-direction:column;padding:1.5rem}.auth-layout,.dashboard-grid,.editor-layout{grid-template-columns:1fr}.auth-layout{margin:3rem auto;gap:2rem;padding:0 1.5rem}.auth-layout h1{font-size:2.7rem}.workspace{padding:0 1.2rem;margin-block:2rem}.workspace>h1{font-size:2.5rem}.panel{padding:1.5rem}.archive-heading{align-items:start;flex-direction:column;gap:0}.archive-heading h1{margin-bottom:1rem;font-size:2rem}.archive-heading .tag{margin-bottom:1rem}.tabs{gap:1.5rem}.graph{height:440px}.graph-list{grid-template-columns:1fr}.graph-legend a{margin-left:0}.controls{gap:.5rem}.summary{grid-template-columns:repeat(3,1fr)}.editor-layout{gap:2rem}.actions{gap:1rem}.section-heading h2{font-size:1.6rem}.empty.large{padding:3rem 1rem}.search{align-items:stretch;flex-direction:column}}
.record-editor-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,3fr);gap:2rem;margin-block:2rem}.record-detail{min-width:0}.record-search{display:grid;gap:.5rem}.record-browser,.record-children{list-style:none;padding:0;margin-block:1rem}.record-browser li,.record-children li{border-bottom:1px solid var(--line)}.record-browser a{display:block;padding:.75rem;text-decoration:none;overflow-wrap:anywhere}.record-browser a[aria-current]{background:var(--surface);border-inline-start:3px solid var(--primary)}.record-browser .help{display:block;margin:0}.record-children a{display:flex;gap:1rem;align-items:start;padding:1rem 0;min-height:44px;text-decoration:none;overflow-wrap:anywhere}.record-children strong{min-width:4rem}.record-children a span:last-child{margin-inline-start:auto}.record-breadcrumb{margin-bottom:1rem;overflow-wrap:anywhere}.record-field-form{max-width:none;margin-bottom:2rem}.record-value{white-space:pre-wrap;overflow-wrap:anywhere}.validation-details{border-top:1px solid var(--line);padding-block:1rem}.validation-details summary{cursor:pointer;min-height:44px;font-weight:600}.validation-details p{max-width:75ch}@media(max-width:700px){.record-editor-layout{grid-template-columns:1fr}.record-browser{max-height:18rem;overflow:auto}.record-children a{flex-wrap:wrap}.record-field-form{padding:1rem}}
.validation-groups{list-style:none;padding:0;max-width:75ch}.validation-groups li{padding-block:1rem;border-bottom:1px solid var(--line)}.validation-groups p{margin-block:.5rem}.validation-details input[type=checkbox]{display:inline-block;width:1.25rem;height:1.25rem;min-height:1.25rem;vertical-align:middle;padding:0;margin-inline-end:.75rem}
.record-heading{display:flex;justify-content:space-between;align-items:start;gap:1.5rem;margin-bottom:1.5rem}.record-heading h3{font-family:Georgia,"Times New Roman",serif;font-size:1.8rem;overflow-wrap:anywhere}.record-heading .eyebrow{margin-bottom:.5rem}.editor-modes{display:flex;flex-wrap:wrap;gap:.5rem;flex-shrink:0}.editor-modes a{padding:.5rem .75rem;min-height:44px;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none}.editor-modes a[aria-current]{background:var(--primary);border-color:var(--primary);color:white}.record-overview-section{margin-block:1.5rem 2rem}.record-overview-section>h3{padding-bottom:.75rem;border-bottom:2px solid var(--line)}.record-overview,.overview-shortcuts{list-style:none;padding:0;margin:0}.record-overview>li{border-bottom:1px solid var(--line);padding-block:.5rem 1rem}.overview-fact{display:flex;align-items:start;gap:1rem}.overview-main{display:grid;grid-template-columns:minmax(7rem,1fr) minmax(0,3fr);gap:.5rem 1rem;padding-block:.5rem;min-height:44px;flex:1;text-decoration:none;overflow-wrap:anywhere}.overview-main .help{grid-column:2;margin:0}.gedcom-tag{font-size:.75rem;color:var(--muted);padding-block:.5rem;overflow-wrap:anywhere}.overview-shortcuts{display:flex;flex-wrap:wrap;gap:.5rem;margin-block:.5rem}.overview-shortcuts a{display:block;max-width:30rem;padding:.5rem .75rem;min-height:44px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);font-size:.9rem;text-decoration:none;overflow-wrap:anywhere}.overview-all{display:inline-block;min-height:44px;padding-block:.5rem}.quick-adds{display:flex;flex-wrap:wrap;gap:.5rem;margin-block:1rem 1.5rem}@media(max-width:1000px){.record-heading{flex-direction:column;gap:.5rem}}@media(max-width:700px){.overview-main{grid-template-columns:1fr}.overview-main .help{grid-column:1}.overview-shortcuts{display:block}.overview-shortcuts li{margin-block:.5rem}.overview-shortcuts a{max-width:none}.gedcom-tag{max-width:5rem}.record-heading h3{font-size:1.5rem}}
.trash-list{list-style:none;padding:0;margin-block:1.5rem}.trash-list>li{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-block:1rem;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.trash-list .help{margin:.5rem 0 0}.trash-list form{margin:0;flex-shrink:0}.trash-list button{max-width:24rem;overflow-wrap:anywhere}.trash-list~.validation-details{margin-top:2rem}#trash-confirmation input[type=checkbox]{display:inline-block;width:1.25rem;height:1.25rem;vertical-align:middle;margin-inline-end:.75rem}@media(max-width:700px){.trash-list>li{align-items:start;flex-direction:column}.trash-list form,.trash-list button{width:100%;max-width:none}}
.family-section{margin-block:2rem 3rem}.family-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));gap:1.25rem}.family-grid .panel{min-width:0;overflow-wrap:anywhere}.family-members{list-style:none;padding:0;margin:1rem 0}.family-members li{display:flex;align-items:baseline;gap:1rem;border-bottom:1px solid var(--line);padding-block:.5rem}.family-members a{display:inline-block;min-height:44px;padding-block:.5rem}.family-section .section-heading{flex-wrap:wrap;gap:1rem}.family-section .actions{flex-wrap:wrap}.family-grid .actions a{display:inline-block;min-height:44px;padding-block:.5rem}.family-section .tag{white-space:nowrap}details>summary{cursor:pointer;min-height:44px;padding-block:.5rem}select{max-width:100%}
.family-members li{flex-wrap:wrap}.family-members .unlink-action{margin-inline-start:auto;font-size:.85rem;color:var(--warning)}.unlink-confirmation{max-width:48rem}.unlink-check{margin-block:1.5rem}.unlink-check input[type=checkbox]{display:inline-block;width:1.25rem;height:1.25rem;min-height:1.25rem;vertical-align:middle;margin-inline-end:.75rem;padding:0}@media(max-width:700px){.family-members .unlink-action{flex-basis:100%;margin-inline-start:0}}
.access-list{list-style:none;padding:0;margin-block:1rem 2rem}.access-list>li{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-bottom:1px solid var(--line);padding-block:1rem;overflow-wrap:anywhere}.access-list form{margin:0}.danger-zone{margin-top:3rem;max-width:48rem;border-inline-start:4px solid var(--warning)}button.danger{background:var(--warning);border-color:var(--warning)}button.danger:hover{background:#5c3121}.check{display:flex;align-items:start;gap:.75rem}.check input[type=checkbox]{width:1.25rem;min-width:1.25rem;height:1.25rem;min-height:1.25rem;padding:0;margin-top:.25rem}.notice input[readonly]{max-width:100%}.table-wrap small{overflow-wrap:anywhere}.tabs{flex-wrap:wrap}@media(max-width:700px){.access-list>li{align-items:start;flex-direction:column}.access-list form,.access-list button{width:100%}}
@media print{.site-header,.site-footer,.tabs,.graph-toolbar .controls,.graph-list,.graph-legend a,.skip{display:none}.workspace{padding:0;margin:0}.graph{height:700px;break-inside:avoid;background:white}.graph svg{height:100%}a{text-decoration:none}.graph-toolbar{margin:0}body{background:white}}
