/* Tree 2.0 story-first adaptive drawer */
:root{--t2-paper:#f4f0e7;--t2-ink:#20231f;--t2-muted:#6c6d66;--t2-line:#d8d1c4;--t2-green:#39734d}
.person-drawer{background:var(--t2-paper)!important;color:var(--t2-ink)!important;width:min(560px,44vw)!important;box-shadow:-18px 0 50px rgba(25,29,25,.14)!important}
.drawer-close{position:fixed!important;right:18px!important;top:18px!important;z-index:30!important;width:44px!important;height:44px!important;border:1px solid rgba(32,35,31,.18)!important;border-radius:50%!important;background:rgba(244,240,231,.94)!important;color:var(--t2-ink)!important;font-size:28px!important;line-height:1!important;cursor:pointer!important;backdrop-filter:blur(8px)}
.drawer-close:hover,.drawer-close:focus-visible{outline:3px solid rgba(57,115,77,.22);border-color:var(--t2-green)!important}
.drawer-hero{width:100%!important;max-height:390px!important;object-fit:cover!important;display:block!important}
.drawer-body{padding:34px 36px 48px!important;color:var(--t2-ink)!important}.drawer-body *{border-color:var(--t2-line)}
.drawer-body .eyebrow{color:var(--t2-green)!important;font-size:11px!important;letter-spacing:.14em!important;font-weight:800!important}.drawer-body h1,.drawer-body h2,.drawer-body h3,.drawer-body h4,.drawer-body strong,.drawer-body b{color:var(--t2-ink)!important}.drawer-body h2{font-size:clamp(34px,4vw,52px)!important;line-height:.98!important;margin:8px 0 12px!important}.drawer-body p,.drawer-body li,.drawer-body span,.drawer-body small{color:#444740}.drawer-body a,.canonical-profile-evidence a,.profile-evidence-card,.profile-evidence-card strong,.profile-evidence-card span,.profile-evidence-card small,.profile-evidence-card b,.canonical-profile-enrichment a,.canonical-profile-enrichment .source-link{color:#285f3d!important}.drawer-body a{text-decoration-color:rgba(40,95,61,.42)!important;text-underline-offset:3px}.drawer-body a:hover,.drawer-body a:focus-visible{color:#17482c!important;text-decoration-color:#17482c!important}.profile-evidence-card{background:#faf7ef!important;border-color:#cfc8ba!important}.profile-evidence-card:hover{background:#fffdf8!important;border-color:#7c927f!important}.profile-evidence-card small{color:#6a6b64!important}.profile-evidence-card span{color:#55584f!important}
.drawer-rel{display:inline-flex!important;margin:3px 0 9px!important;padding:7px 10px!important;border:1px solid rgba(57,115,77,.28)!important;border-radius:999px!important;background:#e8eee7!important;color:#285f3d!important;font-size:11px!important;font-weight:800!important;letter-spacing:.1em!important;text-transform:uppercase!important}.drawer-plain-rel,.relationship-common-language{color:#3f433d!important;font-size:15px!important;line-height:1.55!important;margin:0 0 13px!important}.drawer-trail{border-left:3px solid var(--t2-green)!important;background:#ebe7dc!important;padding:12px 14px!important;margin:14px 0 20px!important;color:var(--t2-ink)!important}.drawer-trail-label{display:block!important;color:var(--t2-green)!important;font-size:10px!important;font-weight:800!important;letter-spacing:.13em!important;margin-bottom:6px!important}.drawer-trail-path,.drawer-trail-path *{color:#42463f!important}.trail-person{color:#285f3d!important;font-weight:700!important}
.t2-profile-jump{position:sticky;top:0;z-index:12;display:flex;gap:5px;overflow-x:auto;margin:0 -36px 22px;padding:10px 36px;background:rgba(244,240,231,.96);border-top:1px solid var(--t2-line);border-bottom:1px solid var(--t2-line);backdrop-filter:blur(9px);scrollbar-width:none}.t2-profile-jump::-webkit-scrollbar{display:none}.t2-profile-jump button{flex:0 0 auto;border:0;background:transparent;padding:7px 8px;color:#555a52;font:800 10px Arial,sans-serif;letter-spacing:.1em;cursor:pointer}.t2-profile-jump button:hover,.t2-profile-jump button:focus-visible{color:var(--t2-green);outline:none;text-decoration:underline;text-underline-offset:4px}.t2-profile-stats{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 24px}.t2-profile-stats span{border:1px solid var(--t2-line);border-radius:999px;padding:6px 9px;color:#65675f!important;font:700 10px Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.drawer-section{border-top:1px solid var(--t2-line)!important;padding-top:25px!important;margin-top:25px!important}.drawer-section h3{font-family:Georgia,serif!important;color:var(--t2-ink)!important;font-size:26px!important;margin:0 0 14px!important}.drawer-section p{color:#444740!important;font-size:15px!important;line-height:1.68!important}.drawer-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.drawer-gallery img{width:100%!important;aspect-ratio:1/1!important;object-fit:cover!important;border-radius:4px!important;cursor:zoom-in!important}.drawer-gallery img:first-child:nth-last-child(n+3){grid-column:1/-1;aspect-ratio:16/10!important}.profile-story-map,.profile-map,.journey-map{border-radius:6px!important;overflow:hidden!important}.drawer-branch-link{border:1px solid var(--t2-line)!important;background:#f9f6ef!important;color:var(--t2-ink)!important;border-radius:8px!important;margin-bottom:8px!important}.drawer-branch-link:hover,.drawer-branch-link:focus-visible{border-color:var(--t2-green)!important;outline:2px solid rgba(57,115,77,.12)!important}.t2-utility-strip{display:flex;flex-wrap:wrap;gap:7px;margin:24px 0 4px;padding-top:18px;border-top:1px solid var(--t2-line)}.t2-utility-strip button,.t2-utility-strip a,.drawer-actions button,.upload-photo-btn{border:1px solid #bcb7ac!important;background:transparent!important;color:#353933!important;border-radius:999px!important;padding:9px 12px!important;font:700 11px Arial,sans-serif!important;cursor:pointer!important;text-decoration:none!important}.tree-node.current,.tree-node[aria-current=true],.tree-node.selected{outline:4px solid var(--t2-green)!important;outline-offset:4px!important;background:inherit!important;box-shadow:0 8px 28px rgba(57,115,77,.18)!important}
@media(max-width:760px){.person-drawer{width:100%!important;max-width:none!important;top:10vh!important;height:90vh!important;border-radius:18px 18px 0 0!important}.drawer-body{padding:28px 20px 44px!important}.t2-profile-jump{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}.drawer-close{top:calc(10vh + 12px)!important;right:12px!important}.drawer-gallery{grid-template-columns:1fr 1fr!important}}@media(prefers-reduced-motion:reduce){.person-drawer,.tree-world,.tree-node{transition:none!important;animation:none!important}}
