.skill-tree{margin:24px 0 38px;border:1px solid #dedee5;border-radius:14px;background:#fff;overflow:hidden}
.tree-search .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#tree-detail-title,#tree-map-title{scroll-margin-top:100px}
.tree-heading{padding:28px 28px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.tree-heading h2{font-size:25px;margin:6px 0 8px}.tree-heading p:last-child{font-size:13px;color:#70707c;margin:0}.tree-total{font-size:11px;font-weight:750;white-space:nowrap;border:1px solid #e4e1eb;padding:9px 12px;border-radius:30px;background:#f6f3fb;color:#68567d}
.tree-toolbar{padding:0 28px 24px;display:flex;gap:20px;align-items:center;justify-content:space-between}.tree-search{display:flex;align-items:center;gap:10px;border:1px solid #dedee6;border-radius:8px;padding:0 12px;flex:1;max-width:360px;color:#8a8696}.tree-search svg{width:17px;height:17px;flex:none}.growth-app .tree-search input{border:0;background:transparent;min-height:44px;min-width:0;width:100%;font:inherit;font-size:13px;padding:6px 0;outline-offset:2px}
.tree-filters{display:flex;gap:3px;background:#f2f1f5;padding:4px;border-radius:8px}.tree-filters button{border:0;background:none;color:#73707e;font:inherit;font-size:12px;font-weight:750;padding:10px 13px;min-height:39px;border-radius:6px;cursor:pointer}.tree-filters button[aria-pressed=true]{background:#2b2933;color:#fff}
.tree-layout{display:grid;grid-template-columns:196px minmax(0,1fr);border-top:1px solid #e6e4ec}.tree-branch-nav{padding:20px 10px;background:#fcfbfe;border-right:1px solid #e6e4ec;display:flex;flex-direction:column;gap:4px;align-self:stretch}.tree-branch-nav button{display:flex;align-items:center;gap:9px;text-align:left;min-height:43px;border:1px solid transparent;background:none;padding:7px 9px;border-radius:7px;font:inherit;font-size:12px;color:#656171;cursor:pointer}.tree-branch-nav button>svg{width:17px;height:17px}.tree-branch-nav button>span:not(.tree-nav-icon){flex:1;min-width:0}.tree-branch-nav button small{color:#87808f;font-size:10px}.tree-branch-nav button:hover{background:#f1eef6}.tree-branch-nav button[aria-pressed=true]{background:#ebe6f3;border-color:#d6cbe4;color:#4d3968;font-weight:800}.tree-nav-icon{display:grid;place-items:center;width:28px;height:28px;flex:none;background:var(--tree-soft);color:var(--tree-ink);border-radius:7px}.tree-nav-icon svg{width:15px;height:15px}
.tree-tone-sage{--tree-soft:#e6f1e9;--tree-ink:#3e7255;--tree-line:#b6d4c0}.tree-tone-violet{--tree-soft:#eee7f8;--tree-ink:#745197;--tree-line:#d2bfeb}.tree-tone-blue{--tree-soft:#e6eff9;--tree-ink:#426f99;--tree-line:#b9d1e8}.tree-tone-peach{--tree-soft:#faece4;--tree-ink:#a36745;--tree-line:#e8c7b5}.tree-tone-gold{--tree-soft:#f7f0d8;--tree-ink:#8d752c;--tree-line:#e4d499}
.tree-map-area{min-width:0;padding:22px;background-color:#fcfcfe;background-image:radial-gradient(#dcd9e5 .8px,transparent .8px);background-size:18px 18px}.tree-legend{display:flex;align-items:center;gap:15px;flex-wrap:wrap;color:#797383;font-size:10px;margin-bottom:30px}.tree-legend>span{display:flex;align-items:center;gap:5px}.tree-legend small{margin-left:auto;font-size:10px}.legend-dot{display:block;width:8px;height:8px;border:1px solid #c0bacd;background:#fff;border-radius:50%}.legend-dot.is-complete{background:#609578;border-color:#609578}.legend-dot.is-started{background:#a38ac7;border-color:#a38ac7}
.tree-root{position:relative;display:flex;gap:14px;align-items:center;justify-content:center;max-width:480px;margin:0 auto 40px;text-align:left;padding:18px 20px;border:1px solid var(--tree-line);border-radius:12px;background:#fff;box-shadow:0 5px 0 var(--tree-soft)}.tree-root::after{content:'';position:absolute;width:2px;height:40px;background:#d6cde2;top:100%;left:50%}.tree-root-icon{height:58px;width:58px;display:grid;place-items:center;background:var(--tree-soft);border:1px solid var(--tree-line);border-radius:50%;color:var(--tree-ink);flex:none}.tree-root-icon svg{height:26px;width:26px}.tree-kicker{font-size:9px;font-weight:800;letter-spacing:1px!important;color:#8a7c99}.tree-root h3{font-size:20px;margin:5px 0}.tree-root p{font-size:11px;color:#89818f;margin:0;line-height:1.5}
.tree-branches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px;padding-top:20px;position:relative}.tree-branches::before{content:'';position:absolute;height:2px;background:#d6cde2;top:0;left:0;right:0}.tree-branch{position:relative;border:1px solid var(--tree-line);border-radius:10px;background:#fff;min-width:0;align-self:start;box-shadow:0 4px 0 var(--tree-soft)}.tree-branch::before{content:'';position:absolute;height:21px;width:2px;top:-22px;left:50%;background:var(--tree-line)}.tree-branch-heading{border:0;border-bottom:1px solid var(--tree-line);border-radius:9px 9px 0 0;display:flex;align-items:center;gap:10px;text-align:left;width:100%;min-height:73px;background:var(--tree-soft);color:var(--tree-ink);padding:13px;font:inherit;cursor:pointer}.tree-branch-heading>span:nth-child(2){flex:1;min-width:0}.tree-branch-heading strong{display:block;font-size:13px}.tree-branch-heading small{display:block;font-size:10px;margin-top:5px;font-weight:500}.tree-branch-heading>svg{width:16px;height:16px;flex:none}.tree-branch-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#ffffffa6;flex:none}.tree-branch-icon svg{width:18px;height:18px}
.tree-course-nodes{padding:13px 10px 15px;margin:0;list-style:none;display:flex;flex-direction:column;gap:2px}.tree-course-nodes li{position:relative;min-width:0}.tree-course-nodes li:not(:last-child)::after{content:'';position:absolute;left:22px;top:43px;bottom:-14px;width:2px;background:var(--tree-line);pointer-events:none}.tree-course-nodes button{position:relative;z-index:1;display:flex;gap:10px;align-items:center;width:100%;border:1px solid transparent;background:transparent;padding:10px 4px;text-align:left;font:inherit;border-radius:8px;cursor:pointer;color:#575160;transition:background .15s,transform .15s}.tree-course-nodes button:hover{background:var(--tree-soft);transform:translateX(2px)}.tree-course-nodes button[aria-pressed=true]{background:var(--tree-soft);border-color:var(--tree-line)}.tree-course-nodes button>svg{width:14px;height:14px;flex:none;color:#9b91a4}.tree-node{width:34px;height:34px;border:2px solid var(--tree-line);border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--tree-ink);flex:none}.tree-node svg{width:15px;height:15px}.is-started .tree-node{background:var(--tree-soft);box-shadow:0 0 0 4px #eee9f54d}.is-complete .tree-node{background:#54866a;border-color:#54866a;color:#fff}.tree-node-copy{flex:1;min-width:0}.tree-node-copy strong{font-size:13px;line-height:1.5;display:block;font-weight:750}.tree-node-copy small{display:block;font-size:10px;margin-top:3px;color:#8d8596}.tree-node-meter{height:3px;border-radius:3px;background:#eeebf2;display:block;overflow:hidden;margin-top:7px}.tree-node-meter>span{display:block;height:100%;background:#82a28d;transition:width .3s}
.tree-branches.is-focused{display:block;max-width:620px;margin:auto}.is-focused .tree-course-nodes{padding:22px}.is-focused .tree-course-nodes button{padding:15px 8px;gap:16px}.is-focused .tree-node{width:48px;height:48px}.is-focused .tree-node svg{width:22px;height:22px}.is-focused .tree-node-copy strong{font-size:14px}.is-focused .tree-node-copy small{font-size:11px}.is-focused .tree-course-nodes li:not(:last-child)::after{left:32px;top:55px;bottom:-20px}
.tree-detail{margin-top:34px;border:1px solid var(--tree-line);border-radius:12px;background:#fff;padding:25px;animation:tree-reveal .22s ease-out}.tree-detail-intro{display:flex;align-items:center;gap:18px}.tree-detail-intro>div{flex:1;min-width:0}.tree-detail h3{font-size:23px;line-height:1.25;margin:9px 0 11px}.tree-detail-intro p{color:#797180;font-size:13px;line-height:1.7;margin:0}.tree-course-emblem{height:70px;width:70px;display:grid;place-items:center;background:var(--tree-soft);border:1px solid var(--tree-line);border-radius:50%;color:var(--tree-ink);flex:none}.tree-course-emblem svg{height:30px;width:30px}.tree-course-emblem.is-earned{background:#e5f3e9;color:#487c5c;border-color:#a4c9b0}.tree-detail-meta{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0;color:#8a8193;font-size:10px}.tree-detail-meta span{display:flex;gap:6px;align-items:center}.tree-detail-meta svg{height:13px;width:13px}.tree-detail-action{padding-bottom:22px;border-bottom:1px solid #ece8f0}.tree-detail-action p{font-size:11px;color:#8c8195;line-height:1.7;margin:10px 0 0}.tree-stages{list-style:none;padding:22px 0 0;margin:0}.tree-stage{position:relative}.tree-stage:not(:last-child)::after{content:'';position:absolute;top:43px;bottom:-13px;left:19px;width:2px;background:#e1dbe9}.tree-stage.is-complete::after{background:#a8c6b2}.tree-stage button{position:relative;z-index:1;display:flex;gap:14px;align-items:center;width:100%;text-align:left;border:0;background:none;min-height:74px;padding:10px 0;font:inherit;color:#8f8699}.tree-stage button:enabled{cursor:pointer}.tree-stage button:enabled:hover strong{text-decoration:underline}.tree-stage button:disabled{opacity:1}.tree-stage-dot{width:40px;height:40px;display:grid;place-items:center;border:2px solid #ddd7e5;background:#f7f5fa;border-radius:50%;flex:none;font-size:14px;font-weight:800}.tree-stage-dot svg{height:16px;width:16px}.tree-stage.is-complete .tree-stage-dot{background:#e6f3e9;border-color:#92ba9f;color:#477653}.tree-stage.is-next .tree-stage-dot{background:var(--tree-soft);border-color:var(--tree-ink);color:var(--tree-ink);box-shadow:0 0 0 4px var(--tree-soft)}.tree-stage button>span:nth-child(2){min-width:0;flex:1}.tree-stage small{display:block;font-size:9px;margin-bottom:5px}.tree-stage strong{display:block;font-size:12px;line-height:1.6}.tree-stage.is-complete strong,.tree-stage.is-next strong{color:#494050}.tree-stage-xp{font-size:10px;white-space:nowrap;color:#588169}.tree-finish{display:flex;gap:12px;align-items:center;background:#f6f3fa;border-radius:8px;padding:17px;margin-top:18px;color:#9683ac}.tree-finish>svg{height:25px;width:25px;flex:none}.tree-finish strong{display:block;font-size:12px}.tree-finish span{display:block;font-size:11px;line-height:1.6;margin-top:4px}.tree-finish.is-earned{background:#e8f3eb;color:#548568}
.tree-save-status{border-top:1px solid #e6e4ec;margin:0;padding:16px 25px;color:#8d8397;font-size:11px;display:flex;gap:7px;align-items:center;flex-wrap:wrap;line-height:1.6}.tree-save-status svg{width:15px;height:15px;flex:none}.tree-save-status button{background:none;border:0;text-decoration:underline;color:#6f508f;font:inherit;cursor:pointer;min-height:30px}.tree-empty{text-align:center;padding:60px 20px;border:1px dashed #d6cde2;border-radius:10px;background:#ffffffb3}.tree-empty>svg{height:36px;width:36px;color:#9c85b7}.tree-empty h3{font-size:19px}.tree-empty p{font-size:13px;color:#8c8296;line-height:1.7}.tree-mobile-select{display:none}.growth-app .adventure-mini,.growth-app .account-avatar{display:grid;place-items:center;color:#77608f}.growth-app .adventure-mini svg{width:24px;height:24px}.growth-app .account-avatar svg{width:32px;height:32px}
@keyframes tree-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1450px){.tree-branches{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.tree-layout{grid-template-columns:165px minmax(0,1fr)}.tree-map-area{padding:20px 16px}.tree-heading,.tree-toolbar{padding-left:20px;padding-right:20px}.tree-branch-nav button{gap:6px;font-size:11px}.tree-branches{gap:25px 12px}.tree-branch-heading{padding:11px}.tree-branch-icon{display:none}}
@media(max-width:850px){.tree-layout{display:block}.tree-branch-nav{display:none}.tree-mobile-select{display:flex;align-items:center;gap:12px;padding:0 20px 20px;font-size:11px;color:#83798e}.tree-mobile-select select{flex:1;min-width:0;border:1px solid #ded7e8;border-radius:7px;padding:11px;background:#fff;font:inherit;font-size:14px;color:#4e405d}.tree-branch-icon{display:grid}}
@media(max-width:620px){.skill-tree{margin:14px 0 30px;border-radius:10px}.tree-heading{padding:22px 16px 17px;display:block}.tree-heading h2{font-size:22px}.tree-heading p:last-child{font-size:12px;line-height:1.7}.tree-total{display:inline-block;margin-top:13px;font-size:10px}.tree-toolbar{padding:0 16px 18px;flex-direction:column;gap:12px;align-items:stretch}.tree-search{max-width:none}.growth-app .tree-search input{font-size:16px}.tree-filters{justify-content:stretch}.tree-filters button{flex:1;font-size:11px;padding:9px 5px}.tree-mobile-select{padding:0 16px 18px;font-size:10px;gap:8px}.tree-mobile-select select{font-size:16px}.tree-map-area{padding:16px 12px 24px}.tree-legend{gap:10px;font-size:9px;margin-bottom:22px}.tree-legend small{width:100%;margin-left:0}.tree-root{padding:17px 12px;gap:10px}.tree-root-icon{height:44px;width:44px}.tree-root-icon svg{height:21px;width:21px}.tree-root h3{font-size:17px}.tree-root p{font-size:10px}.tree-kicker{font-size:8px}.tree-branches{grid-template-columns:1fr;gap:28px}.tree-branch-heading{padding:14px}.tree-branch-heading strong{font-size:14px}.tree-course-nodes{padding:12px}.tree-course-nodes button{padding:13px 4px;gap:12px;min-height:69px}.tree-node-copy strong{font-size:12px}.tree-node-copy small{font-size:10px}.tree-course-nodes li:not(:last-child)::after{top:44px;bottom:-18px}.is-focused .tree-course-nodes{padding:12px}.is-focused .tree-course-nodes button{padding:13px 4px;gap:12px}.is-focused .tree-node{height:38px;width:38px}.is-focused .tree-node-copy strong{font-size:12px}.is-focused .tree-course-nodes li:not(:last-child)::after{left:24px;top:44px}.tree-detail{padding:18px 12px;margin-top:26px}.tree-detail h3{font-size:21px}.tree-course-emblem{display:none}.tree-detail-intro p{font-size:12px}.tree-detail-action .button{width:100%;font-size:12px}.tree-detail-meta{font-size:10px;gap:10px}.tree-stage button{gap:10px}.tree-stage strong{font-size:11px}.tree-stage small{font-size:8px}.tree-stage-dot{height:34px;width:34px}.tree-stage:not(:last-child)::after{left:16px}.tree-stage-xp{font-size:8px}.tree-save-status{padding:14px 16px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.skill-tree *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
