/* Continuous navigation, quiet type hierarchy and disclosure motion.
   Interaction references: Animate UI accordion; original implementation. */
body[data-ui-shell="community"] .sidebar .nav-tree{margin:0 0 8px}
body[data-ui-shell="community"] .nav-tree-heading{display:flex;align-items:center;gap:3px}
body[data-ui-shell="community"] .sidebar .nav-tree .nav-parent{flex:1;min-width:0;border-radius:8px;font-size:14px;font-weight:600;min-height:44px;transition:color .18s,background .18s}
body[data-ui-shell="community"] .sidebar .nav-tree .nav-parent.active{background:#a14e3410;color:#92432f;box-shadow:inset 2px 0 #a14e34}
body[data-ui-shell="community"] .nav-tree-toggle{display:grid;place-items:center;width:32px;height:44px;flex:none;border:0;background:transparent;color:#9b7e6b;padding:0;border-radius:7px;cursor:pointer;transition:background .18s,transform .18s}
body[data-ui-shell="community"] .nav-tree-toggle svg{width:14px;height:14px;transition:transform .3s cubic-bezier(.22,1,.36,1)}
body[data-ui-shell="community"] .nav-tree-toggle[aria-expanded=true] svg{transform:rotate(90deg)}
body[data-ui-shell="community"] .nav-tree-panel{display:grid;grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows .32s cubic-bezier(.22,1,.36,1),opacity .2s,visibility .32s}
body[data-ui-shell="community"] .nav-tree-panel.is-open{grid-template-rows:1fr;opacity:1;visibility:visible}
body[data-ui-shell="community"] .nav-tree-content{min-height:0;overflow:hidden;display:block;margin:0 9px 0 22px}
body[data-ui-shell="community"] .nav-tree-content section{margin:0;padding:8px 0 9px}
body[data-ui-shell="community"] .nav-tree-content h3{margin:6px 0 6px;padding:0 8px;color:#aa9180;font-size:10px;font-weight:500;letter-spacing:.08em}
body[data-ui-shell="community"] .nav-tree-content a{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:7px 8px;min-height:33px;line-height:1.5;border:0;background:transparent;border-radius:5px;color:#745b4c;font-size:12px;font-weight:400;transition:color .18s,background .18s,transform .22s}
body[data-ui-shell="community"] .nav-tree-content a:is([aria-current=page],[aria-current=location]){color:#9b472f;font-weight:650}
body[data-ui-shell="community"] .nav-tree-content a i{width:4px;height:4px;background:currentColor;border-radius:50%;flex:none}
body[data-ui-shell="community"] .nav-tree :is(a,button):focus-visible,.finder-directory :is(a,button,input):focus-visible{outline:2px solid #ae6247;outline-offset:3px}
.mobile-feature-entry{display:none}
#dialog[data-kind="feature-finder"]{background:#fffcf7;width:min(740px,calc(100vw - 40px))}
#dialog[data-kind="feature-finder"] .dialog-header{border-bottom:0;padding-bottom:8px}
#dialog[data-kind="feature-finder"] .dialog-header h2{font-weight:650;letter-spacing:-.035em}
.finder-directory .experience-search{display:flex;gap:12px;border:0;border-radius:0;background:transparent;border-bottom:1px solid #ddcbbb;padding:10px 0 16px;box-shadow:none}
.finder-directory .experience-search input{background:transparent;border:0;box-shadow:none;font-size:17px;min-width:0;flex:1;outline-offset:4px}
.finder-directory .experience-search>svg{width:20px;height:20px;color:#a17f65;flex:none}
.finder-scopes{display:flex;gap:22px;overflow-x:auto;padding:18px 0 4px;scrollbar-width:none}
.finder-scopes button{position:relative;border:0;border-radius:0;box-shadow:none;background:transparent;padding:8px 0 11px;white-space:nowrap;font-size:13px;color:#9c8270;cursor:pointer;transition:color .2s,transform .2s}
.finder-scopes button::after{content:'';position:absolute;inset:auto 0 0;height:2px;background:#a14e34;transform:scaleX(0);transform-origin:center;transition:transform .25s cubic-bezier(.22,1,.36,1)}
.finder-scopes button[aria-pressed=true]{color:#91422e;font-weight:650}
.finder-scopes button[aria-pressed=true]::after{transform:scaleX(1)}
.finder-directory .experience-find-count{font-size:11px;color:#aa9381;padding:14px 0 6px}
.finder-directory .experience-results{display:block;padding:0 6px 0 0;max-height:49dvh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dcc6b3 transparent;overscroll-behavior:contain}
.finder-section{padding:15px 0 18px;border:0;background:transparent;box-shadow:none}
.finder-section h3{font-size:11px;letter-spacing:.04em;font-weight:500;color:#a38a76;margin:0 0 10px}
.finder-section>div{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.finder-section a{display:flex;align-items:center;gap:12px;padding:13px 0;color:#5d4435;min-width:0;border:0;border-radius:0;background:transparent;transition:color .2s,transform .25s cubic-bezier(.22,1,.36,1)}
.finder-section a>span{color:#ab6c4c;flex:none;display:grid;place-items:center;width:26px;background:transparent}
.finder-section a>div{min-width:0;flex:1}
.finder-section a strong{font-size:14px;font-weight:550;line-height:1.5}
.finder-section a small{display:block;color:#aa9381;font-size:11px;line-height:1.6;margin-top:3px;overflow-wrap:anywhere}
.finder-section a>svg{width:14px;height:14px;flex:none;opacity:0;transform:translateX(-4px);transition:opacity .2s,transform .2s}
.finder-directory .experience-no-result{padding:32px 4px;color:#927662;text-align:left}
.finder-directory .experience-no-result button{display:block;border:0;background:transparent;color:#984630;margin-top:14px;padding:8px 0;cursor:pointer}
@media(hover:hover){body[data-ui-shell="community"] .nav-tree-toggle:hover{background:#a14e3410}.nav-tree-content a:hover{background:#a14e3409!important;transform:translateX(2px)}.finder-section a:hover{color:#a14e34;transform:translateX(3px)}.finder-section a:hover>svg{opacity:1;transform:translateX(0)}}
.nav-tree-toggle:active,.finder-scopes button:active,.mobile-feature-entry:active{transform:scale(.94)}
@media(max-width:760px){body[data-ui-shell="community"] .mobile-feature-entry{display:grid;place-items:center;width:36px;height:40px;flex:none;border:0;background:transparent;color:#8c5842;padding:8px;cursor:pointer}.mobile-feature-entry svg{width:21px;height:21px}body[data-ui-shell="community"] #dialog[data-kind="feature-finder"]{width:100%;max-height:89dvh}.finder-directory .experience-search input{font-size:16px}.finder-scopes{gap:20px}.finder-section>div{grid-template-columns:1fr;gap:0}.finder-section a{min-height:65px;padding:12px 2px}.finder-section a strong{font-size:15px}.finder-section a small{font-size:12px}.finder-section a>svg{opacity:.5;transform:none}.finder-directory .experience-results{max-height:48dvh}.finder-section{padding:15px 0 10px}}
@media(prefers-reduced-motion:reduce){body[data-ui-shell="community"] .nav-tree *, .finder-directory *, .mobile-feature-entry{animation:none!important;transition:none!important}}

/* Purpose-led navigation: disclosure, not a wall of links. */
.nav-purpose-group{padding:7px 0;border:0;background:none}
.nav-purpose-group summary{display:flex;align-items:center;gap:8px;min-height:38px;cursor:pointer;list-style:none;color:#795b49;font-size:12px;font-weight:650}
.nav-purpose-group summary::-webkit-details-marker,.finder-purpose-group summary::-webkit-details-marker{display:none}
.nav-purpose-group summary small{margin-left:auto;color:#aa9280;font-size:10px;font-weight:400}
.nav-purpose-group summary svg{width:13px;height:13px;transition:transform .22s ease}
.nav-purpose-group[open]>summary svg,.finder-purpose-group[open]>summary svg{transform:rotate(90deg)}
.nav-purpose-group>div{padding:0 0 6px 8px}
.nav-purpose-group summary:hover{color:#a34830}
.finder-purpose-group{border:0;border-bottom:1px solid #93705220;background:none;padding:8px 0}
.finder-purpose-group>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;list-style:none;padding:16px 0;color:#6e4938}
.finder-purpose-group>summary strong{font-size:15px;font-weight:650}
.finder-purpose-group>summary>span{display:flex;align-items:center;gap:10px;font-size:12px;color:#9b8270}
.finder-purpose-group>summary svg{width:15px;height:15px;transition:transform .22s ease}
.finder-purpose-group>div{padding-bottom:14px}
.nav-purpose-group summary:focus-visible,.finder-purpose-group summary:focus-visible{outline:2px solid #a34b32;outline-offset:3px;border-radius:3px}
@media(prefers-reduced-motion:no-preference){.nav-purpose-group[open]>div,.finder-purpose-group[open]>div{animation:purpose-reveal .22s ease both}@keyframes purpose-reveal{from{opacity:.4;transform:translateY(-4px)}to{opacity:1;transform:none}}}
@media(max-width:760px){.finder-purpose-group>summary{min-height:52px;padding:12px 0}.finder-purpose-group>summary strong{font-size:14px}.finder-purpose-group>div{grid-template-columns:1fr}}

/* Purpose directory: choose an intent, then its destinations. */
.finder-purpose-index{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}
.finder-purpose-index>button{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:21px 0;border:0;border-bottom:1px solid #ac8a6424;border-radius:0;background:none;color:#654936;cursor:pointer}
.finder-purpose-index>button>span:nth-child(2){flex:1;min-width:0}
.finder-purpose-index strong{display:block;font-size:16px;line-height:1.5;font-weight:650}
.finder-purpose-index small{display:block;font-size:12px;line-height:1.8;color:#9a806b;margin-top:5px}
.finder-purpose-icon{width:28px;color:#a14c34;flex-shrink:0}
.finder-purpose-index svg{width:20px;height:20px;flex-shrink:0}
.finder-purpose-index>button>svg{width:15px;color:#ab8a6e;transition:transform .22s ease}
.finder-purpose-index>button:hover>svg{transform:translateX(4px)}
.finder-purpose-index>button:hover strong{color:#a14c34}
.finder-back{display:flex;align-items:center;gap:8px;border:0;background:none;padding:14px 0;color:#a14c34;font-size:13px;cursor:pointer}
.finder-back svg{width:16px;height:16px}
.finder-chosen>h3{font-size:23px!important;letter-spacing:-.025em;margin:10px 0 20px;color:#49382e!important}
.finder-section a[aria-current=page]{box-shadow:inset 2px 0 #a14c34;background:#f0e4d666}
.finder-section a>em{font-style:normal;font-size:11px;color:#a14c34;white-space:nowrap}
.finder-purpose-index>button:focus-visible,.finder-back:focus-visible{outline:2px solid #a14c34;outline-offset:3px}
@media(max-width:760px){.finder-purpose-index{grid-template-columns:1fr}.finder-purpose-index>button{padding:18px 0;min-height:76px}.finder-purpose-index strong{font-size:15px}.finder-chosen>h3{font-size:21px!important}.finder-back{min-height:44px}.finder-scopes{position:sticky;top:0;background:#fffaf3;z-index:2}}

/* Direct task navigation: shared by the sidebar, life hub and mobile directory. */
.purpose-launcher{--purpose-ink:#9d472f;--purpose-wash:#f2e6d9;color:#573f30}
.purpose-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.purpose-actions .purpose-action{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;min-width:0;padding:22px 18px;border:0;border-radius:0;background:none;box-shadow:none;text-decoration:none;color:#573f30;transition:background .2s,color .2s}
.purpose-drawing{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50% 50% 43% 57%;background:var(--purpose-wash);color:var(--purpose-ink);transition:transform .22s,background .22s}
.purpose-drawing svg{width:27px;height:27px;stroke-width:1.6;flex-shrink:0}
.purpose-copy{min-width:0}.purpose-copy strong{display:block;font-size:16px;font-weight:650;line-height:1.6}.purpose-copy small{display:block;font-size:12px;color:#947b67;line-height:1.7;margin-top:2px}
.purpose-action-work,.purpose-action-wrench{--purpose-ink:#736545;--purpose-wash:#eeeadc}.purpose-action-home{--purpose-ink:#9a6945;--purpose-wash:#f3e8d7}
.purpose-actions .purpose-action[aria-current]{background:#eee1d164;color:#9d472f;box-shadow:inset 0 -2px #a24d32}
.purpose-here{position:absolute;right:10px;top:10px;font-size:10px;color:#9d472f}
.purpose-action:focus-visible,.purpose-extras summary:focus-visible,.purpose-extras a:focus-visible{outline:2px solid #9d472f;outline-offset:-2px}
.purpose-actions .purpose-action:active .purpose-drawing{transform:scale(.92)}
.purpose-extras{margin-top:12px;border-top:1px solid #a68a6628}.purpose-extras summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:16px 8px;font-size:12px;color:#896b55}.purpose-extras summary::-webkit-details-marker{display:none}.purpose-extras summary>svg{width:17px;height:17px}.purpose-plus{margin-left:auto;font-size:20px;transition:transform .2s}.purpose-extras[open] .purpose-plus{transform:rotate(45deg)}
.purpose-extras>div{display:flex;flex-wrap:wrap;gap:4px 16px;padding:0 8px 12px}.purpose-extras>div>a{display:flex;align-items:center;gap:7px;min-height:42px;color:#795a44;font-size:12px;text-decoration:none}.purpose-extras>div>a svg{width:17px;height:17px}.purpose-extras a[aria-current]{color:#a34830;font-weight:650}
body[data-ui-shell="community"] .nav-tree-content:has(.purpose-launcher){margin:0 8px}
body[data-ui-shell="community"] .nav-tree-content .purpose-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-ui-shell="community"] .nav-tree-content .purpose-action{padding:15px 8px;gap:7px;min-height:104px;align-items:flex-start;justify-content:flex-start}
body[data-ui-shell="community"] .nav-tree-content .purpose-copy strong{font-size:13px}body[data-ui-shell="community"] .nav-tree-content .purpose-copy small{font-size:10px}
body[data-ui-shell="community"] .nav-tree-content .purpose-drawing{width:36px;height:36px}body[data-ui-shell="community"] .nav-tree-content .purpose-drawing svg{width:22px;height:22px}
body[data-ui-shell="community"] .nav-tree-content .purpose-extras>div>a{justify-content:flex-start;width:100%;padding:4px 0}
.nav-purpose-group summary>.nav-purpose-symbol{display:flex;color:#a14c34}.nav-purpose-group summary>.nav-purpose-symbol svg{width:18px;height:18px;transform:none!important}.nav-purpose-group>div>a>svg{width:16px;height:16px;flex-shrink:0;color:#9c7659}.nav-purpose-group>div>a>span{flex:1}
.life-purpose-entry{margin:28px 0!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.life-purpose-entry .purpose-actions{grid-template-columns:repeat(6,minmax(0,1fr))}.life-purpose-entry .purpose-action{padding:20px 12px}.life-purpose-entry .purpose-extras{margin-top:0}
@media(hover:hover){.purpose-actions .purpose-action:hover{background:#efe2d34f;color:#a34830}.purpose-action:hover .purpose-drawing{transform:translateY(-3px) rotate(-5deg)}.purpose-extras a:hover{text-decoration:underline}}
@media(max-width:760px){.purpose-actions,.life-purpose-entry .purpose-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.purpose-actions .purpose-action{flex-direction:row;align-items:center;padding:18px 8px;gap:10px;min-height:88px}.purpose-drawing{width:40px;height:40px;flex-shrink:0}.purpose-drawing svg{width:23px;height:23px}.purpose-copy strong{font-size:14px}.purpose-copy small{font-size:10px}.purpose-extras>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}.purpose-extras>div>a{min-height:44px}.life-purpose-entry{margin:22px 0!important}.purpose-here{top:2px;right:8px}}
@media(prefers-reduced-motion:reduce){.purpose-launcher *{transition:none!important;animation:none!important}}
