:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#21352e;background:#f8f8f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(2rem,4vw,3.8rem);line-height:1.12}h2{font-size:1.35rem}.app{min-height:100vh;display:flex;flex-direction:column}header{min-height:82px;padding:12px max(24px,calc((100vw - 1180px)/2));display:flex;align-items:center;gap:40px;background:#fff;border-bottom:1px solid #e6e9e3}.brand{display:flex;align-items:center;gap:10px;font-weight:750;white-space:nowrap;font-size:1.2rem;color:#204e3f}.brand svg{color:#4b856c}nav{display:flex;gap:24px;flex:1}nav a{font-size:.92rem;color:#607168;padding:8px 0}nav a.active{color:#1c5b42;font-weight:700;border-bottom:2px solid #397354}.logout{border:0;background:transparent;color:#607168;display:flex;gap:8px;align-items:center;font-size:.88rem}.content{width:min(1120px,calc(100% - 48px));margin:0 auto;flex:1;padding:52px 0 90px}.eyebrow{font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;font-weight:800;color:#608874}.hero{background:#e8eee7;border-radius:20px;padding:clamp(30px,5vw,68px)}.hero h1{max-width:670px;color:#1f4637}.hero p:not(.eyebrow){max-width:600px;color:#52675a;line-height:1.7}.primary-link{display:inline-flex;align-items:center;gap:12px;padding:14px 20px;margin-top:12px;border-radius:9px;color:#fff;background:#235c43;font-weight:650}.stats{display:grid;grid-template-columns:repeat(3,1fr);margin:26px 0 42px;gap:14px}.stats>div{background:#fff;border:1px solid #e9eee7;border-radius:12px;padding:24px;display:flex;gap:12px;align-items:center;color:#648274}.stats strong{font-size:2rem;color:#214e38}.stats span{font-size:.89rem}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature{display:flex;flex-direction:column;background:#fff;border:1px solid #e9eee7;border-radius:13px;padding:28px;min-height:210px}.feature-icon{color:#42765c}.feature h3{margin:22px 0 9px}.feature p{font-size:.9rem;line-height:1.6;color:#67766b}.feature-arrow{margin-top:auto;color:#42765c}.intro,.muted{color:#6e7c71}.searchbox{display:flex;align-items:center;gap:12px;border:1px solid #dfe6dc;background:#fff;padding:13px 15px;border-radius:10px;margin:27px 0}.searchbox input{border:0;outline:0;flex:1;min-width:0}.records{background:#fff;border:1px solid #e5ebe3;border-radius:12px;overflow:hidden}.record{display:flex;align-items:center;gap:17px;padding:17px 22px;border-bottom:1px solid #edf1ec}.record:last-child{border-bottom:0}.record>svg{margin-left:auto;color:#71877a}.record h3{margin:0 0 4px;font-size:1rem}.record span{font-size:.83rem;color:#6b7b70}.avatar{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:50%;background:#e4efe8;color:#35664c;font-weight:700}.back{display:inline-block;margin-bottom:24px;color:#50735d}.details{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;margin:25px 0}.details>div{background:#fff;padding:20px;border:1px solid #e6eae4;border-radius:9px;display:grid;grid-template-columns:24px 1fr;column-gap:13px}.details svg{color:#5e856e;grid-row:span 2}.details span{font-size:.8rem;color:#76857a}.details strong{font-size:.94rem}.panel{background:#fff;border:1px solid #e5ebe3;border-radius:12px;padding:26px;margin-top:20px}.panel p{line-height:1.7}.source{padding:12px 0;border-bottom:1px solid #edf1ec}.source:last-child{border:0}.source p{margin:6px 0 0;font-size:.87rem;color:#64796c}.empty{text-align:center;padding:80px 20px;max-width:660px;margin:auto}.empty p{color:#66786a;line-height:1.7}footer{border-top:1px solid #e6e9e3;padding:22px;text-align:center;display:flex;align-items:center;justify-content:center;gap:10px;color:#839086;font-size:.85rem}.login-page{min-height:100vh;background:#e8eee9;display:grid;place-items:center;padding:22px}.login-card{background:#fff;border-radius:18px;padding:clamp(30px,5vw,52px);width:min(480px,100%);box-shadow:0 10px 40px #18342b14}.login-card h1{font-size:2.6rem;color:#204b37}.login-card p{color:#687c6d;line-height:1.65}.mark{width:55px;height:55px;border-radius:12px;background:#dceee0;color:#347757;display:grid;place-items:center;margin-bottom:22px}.login-card form{display:grid;gap:16px;margin-top:25px}.login-card label{display:grid;gap:7px;font-size:.85rem;font-weight:650}.login-card input{padding:12px 13px;border:1px solid #dbe3da;border-radius:8px;width:100%}.login-card button{background:#245d43;color:#fff;border:0;border-radius:9px;padding:14px;display:flex;justify-content:center;align-items:center;gap:10px}.login-card .small{font-size:.76rem;display:flex;align-items:center;gap:8px;margin-top:25px}.error{color:#aa3329!important;font-size:.88rem}.loading{min-height:100vh;display:grid;place-items:center;color:#476750}@media(max-width:720px){header{flex-wrap:wrap;gap:12px}.brand{flex:1}nav{order:3;flex-basis:100%;justify-content:space-between;gap:12px}nav a{font-size:.82rem}.logout span{display:none}.content{padding-top:32px}.stats,.features,.details{grid-template-columns:1fr}.hero{padding:32px}}.tree{text-align:center}.tree-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:16px 0 30px}.tree-node{display:flex;flex-direction:column;align-items:center;gap:6px;padding:16px 22px;border:1px solid #c8d8ce;border-radius:12px;background:#edf4ee;color:#204b39;cursor:pointer}.tree-node span{font-size:.85rem}select{max-width:100%;padding:10px;border:1px solid #c8d8ce;border-radius:8px;background:#fff;color:#204b39}.tree h2{font-size:1.15rem}.admin-form{display:grid;gap:18px}.admin-form label{display:grid;gap:7px;font-weight:600}.admin-form input,.admin-form textarea,.admin-form select{width:100%;min-width:0;padding:12px;border:1px solid #c8d8ce;border-radius:8px;font:inherit;color:inherit;background:#fff}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-form button{justify-self:start;border:0}.admin-form textarea{resize:vertical}nav{flex-wrap:wrap}.panel{overflow-wrap:anywhere}@media(max-width:720px){.admin-grid{grid-template-columns:1fr}nav a{padding:12px 0}.content{width:calc(100% - 32px)}}.transcription{white-space:pre-wrap;overflow-wrap:anywhere}.admin-form select,.admin-form textarea{min-width:0;max-width:100%}:focus-visible{outline:2px solid #27624d;outline-offset:3px}@media(max-width:480px){.admin-grid{grid-template-columns:minmax(0,1fr)}.source,.panel,.record{overflow-wrap:anywhere}}.review-check{display:flex!important;align-items:baseline;gap:.6rem}.review-check input{width:auto}.review-evidence{margin:.5rem 0 1rem;padding-inline-start:1.25rem}.review-evidence li{margin-block:.75rem}.review-evidence small{color:#475b51}.ancestry-filters{display:flex;flex-wrap:wrap;gap:.55rem;margin:0 0 1.5rem}.ancestry-toggle{padding:.5rem .85rem;border:1px solid #879e8e;border-radius:.6rem;color:#233c31;background:#fff;font:inherit;cursor:pointer}.ancestry-toggle[aria-pressed=true]{background:#244b3b;color:#fff;border-color:#244b3b}.ancestry-branches,.ancestry-roots{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,22rem),1fr));align-items:start}.ancestry-branch{min-width:0;padding:clamp(.85rem,2vw,1.25rem);background:#f0f3ed;border:1px solid #d5dfd4;border-radius:1rem}.ancestry-branch>h2{margin-block:0 1rem}.ancestry-roots{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr))}.ancestry-root,.ancestry-older{min-width:0}.ancestry-older{margin-top:1.15rem}.ancestry-card{min-width:0;background:#fff;border:1px solid #d5dfd4;border-radius:.65rem;padding:.8rem;overflow-wrap:anywhere}.ancestry-name{color:#214a3b;font-weight:700;text-decoration:underline;text-underline-offset:.15em}.ancestry-years,.ancestry-detail{margin:.35rem 0}.ancestry-detail{display:flex;gap:.45rem;align-items:baseline}.ancestry-detail svg{flex:0 0 1rem;align-self:flex-start;margin-top:.15rem}.ancestry-card details{margin-top:.65rem}.ancestry-card summary{cursor:pointer;color:#344f3f}.ancestry-parents{display:grid;gap:.55rem;margin:.55rem 0 0 .1rem;padding-left:.55rem;border-left:2px solid #97ad9a}.ancestry-journey{margin:1rem 0 0}.ancestry-map-controls{display:flex;flex-wrap:wrap;align-items:end;gap:.55rem;margin-bottom:.85rem}.ancestry-map-controls label{display:grid;gap:.25rem;max-width:100%}.ancestry-map-controls select{max-width:100%}.ancestry-map-layout{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr));gap:.9rem}.ancestry-map{margin:0}.ancestry-map svg{display:block;width:100%;height:15rem;background:#e4eef0;border-radius:.55rem}.ancestry-map figcaption{font-size:.82rem;margin-top:.35rem;color:#3e5548}.ancestry-land{fill:#cadac5;stroke:#66836d;stroke-width:.8}.ancestry-route{fill:none;stroke:#355a48;stroke-width:1.2;stroke-dasharray:2 2}.ancestry-pin{fill:#27563f;stroke:#fff;stroke-width:.65}.ancestry-pin-label{fill:#fff;text-anchor:middle;dominant-baseline:central;font-weight:700}.ancestry-stops{padding-left:1.25rem;margin:0}.ancestry-stops li{margin-bottom:.7rem}.ancestry-stops p{margin:.25rem 0}.ancestry-stops a{color:#214a3b;text-decoration:underline;font-size:.85rem}.ancestry-stop-title{display:flex;flex-wrap:wrap;gap:.35rem}.source-excerpts{margin:.55rem 0}.source-excerpts summary{cursor:pointer;color:#214a3b}.source-excerpts img{display:block;max-width:100%;max-height:34rem;object-fit:contain;margin:.65rem 0}.source-excerpt-nav{display:flex;flex-wrap:wrap;gap:.5rem}
