@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&display=swap");
/* Scoped tree navigation, independent of page-specific footer layouts. */
html body footer#site-footer.site-footer-tree{display:block;position:relative;box-sizing:border-box;width:100%;max-width:none;margin:48px 0 0;padding:40px clamp(18px,4vw,64px) 24px;border:0;border-top:1px solid var(--line,#39424b);border-radius:0;background:var(--panel,#1a1d21);color:var(--ink,#eceeed);font-family:"Chakra Petch",system-ui,sans-serif;font-size:14px;line-height:1.5;text-align:left;box-shadow:none;}
html body #site-footer.site-footer-tree .footer-tree-inner{display:grid;grid-template-columns:minmax(190px,.85fr) minmax(0,3fr);gap:40px;min-width:0;max-width:1480px;margin:auto;}
html body #site-footer.site-footer-tree .footer-tree-brand{display:inline-block;position:relative;width:max-content;padding:0 16px 0 0;color:var(--ink,#eceeed);font-size:25px;font-weight:700;white-space:nowrap;letter-spacing:-.06em;text-decoration:none;line-height:1.1;}
html body #site-footer.site-footer-tree .footer-tree-brand span{display:inline;width:auto;color:var(--cyan,#79c5ce);}
html body #site-footer.site-footer-tree .footer-tree-brand sup{position:absolute;right:0;top:-3px;padding:0;margin:0;font:500 8px/1 monospace;letter-spacing:0;color:currentColor;}
html body #site-footer.site-footer-tree .footer-tree-intro p{font-size:14px;line-height:1.7;max-width:27ch;margin:16px 0 0;color:var(--muted,#a5afb5);}
html body #site-footer.site-footer-tree .footer-tree-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;min-width:0;gap:24px;margin:0;padding:0;border:0;background:transparent;}
html body #site-footer.site-footer-tree details.footer-branch{display:block;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;}
html body #site-footer.site-footer-tree .footer-branch summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;margin:0;padding:0 0 14px;font-size:14px;font-weight:600;overflow-wrap:anywhere;color:var(--ink,#eceeed);background:transparent;border:0;}
html body #site-footer.site-footer-tree summary::-webkit-details-marker{display:none;}
html body #site-footer.site-footer-tree summary:after{content:'+';font-size:18px;line-height:1;color:var(--muted,#a5afb5);}
html body #site-footer.site-footer-tree details[open]>summary:after{content:'−';}
html body #site-footer.site-footer-tree .footer-branch ul{display:grid;gap:4px;margin:0;padding:0 0 0 12px;border-left:1px solid var(--line,#39424b);list-style:none;}
html body #site-footer.site-footer-tree .footer-branch li{display:block;margin:0;padding:0;min-width:0;}
html body #site-footer.site-footer-tree .footer-branch li a{display:block;min-height:36px;box-sizing:border-box;width:auto;margin:0;padding:8px 0;border:0;border-radius:0;background:transparent;color:var(--muted,#a5afb5);font-size:13px;font-weight:400;line-height:1.5;letter-spacing:normal;text-decoration:none;overflow-wrap:anywhere;box-shadow:none;}
html body #site-footer.site-footer-tree .footer-branch li a:is(:hover,[aria-current=page]){color:var(--cyan,#79c5ce);text-decoration:underline;text-underline-offset:4px;}
html body #site-footer.site-footer-tree :is(a,summary,button):focus-visible{outline:2px solid var(--cyan,#79c5ce);outline-offset:4px;}
html body #site-footer.site-footer-tree .footer-tree-bottom{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between;max-width:1480px;margin:30px auto 0;padding-top:18px;border-top:1px solid var(--line,#39424b);color:var(--muted,#a5afb5);font-size:12px;}
html body #site-footer.site-footer-tree>.share-tools{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px;max-width:1480px;margin:18px auto 0;}
@media(max-width:1000px){html body #site-footer.site-footer-tree .footer-tree-inner{grid-template-columns:1fr;gap:28px;}html body #site-footer.site-footer-tree .footer-tree-intro p{max-width:none;}}
@media(max-width:680px){
 html body footer#site-footer.site-footer-tree{margin-top:32px;padding:28px 18px 22px;}
 html body #site-footer.site-footer-tree .footer-tree-nav{grid-template-columns:minmax(0,1fr);gap:0;}
 html body #site-footer.site-footer-tree details.footer-branch{border-top:1px solid var(--line,#39424b);}
 html body #site-footer.site-footer-tree .footer-branch summary{min-height:52px;box-sizing:border-box;padding:14px 0;}
 html body #site-footer.site-footer-tree .footer-branch ul{margin:0 0 18px 4px;padding-left:16px;}
 html body #site-footer.site-footer-tree .footer-branch li a{min-height:44px;padding:12px 0;}
 html body #site-footer.site-footer-tree .footer-tree-bottom{margin-top:14px;}
}

/* Standalone guides share Graphite footer colours without replacing their body layout. */
html[data-theme=dark]:not([data-palette=plum]) body:not(.aeqdb-theme) #site-footer{--ink:#eceeed;--muted:#a6abad;--panel:#1a1c1e;--panel-2:#222527;--line:#373b3e;--cyan:#79c5ce;--cyan-2:#60adb6;color-scheme:dark;}
