/* =========================================================
   Growth Path page + shell additions (sidebar with six items)
   ========================================================= */

/* sidebar: six menu items with room to breathe (the profile card lives behind the top-right avatar) */
.side-nav { gap: 6px}
.cid-av { width: 130px; height: 130px; margin: 6px auto 0; border-radius: 50%; overflow: hidden; outline: 3px solid var(--accent); outline-offset: 0; box-shadow: none}
.cid-av img, .cid-av svg { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; box-shadow: none}

/* ---------- page frame ---------- */
.gp-head { position: absolute; inset-inline-start: 14px; top: 2px; width: 1026px; height: 84px; display: flex; align-items: center; justify-content: space-between}
.gp-head h1 { margin: 0; font-size: 38px; font-weight: 600; letter-spacing: -.01em; line-height: 1.05}
.gp-head p { margin: 6px 0 0; font-size: 17px; color: var(--text-2)}
.gp-season { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; align-items: center; width: 290px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel)}
.gp-season-ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #a78bfa; background: rgba(139, 92, 246, 0.12)}
.gp-season small { display: block; font-size: 12.5px; color: var(--muted)}
.gp-season b { display: block; font-size: 15px; font-weight: 600}
.gp-season .progress { grid-column: 2; height: 5px}
.gp-season .progress > i { background: #8b5cf6}

.gp-map, .gp-rd, .gp-weeks, .gp-car, .gp-next { position: absolute; border-radius: 16px; border: 1px solid var(--line); background: var(--panel)}
.gp-map { inset-inline-start: 14px; top: 96px; width: 1026px; height: 290px; padding: 14px 18px; overflow: hidden;
  background: var(--panel)}
.gp-map-h, .gp-sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 14px}
.gp-map-h h3, .gp-sec-h h3 { margin: 0; font-size: 19px; font-weight: 600}
.gp-sec-h small { font-size: 13px; color: var(--muted)}
.gp-legend { display: flex; align-items: center; gap: 6px 14px; font-size: 12.5px; color: var(--muted)}
.gp-legend i { width: 10px; height: 10px; border-radius: 50%; margin-inline-end: -8px}
.gp-legend i.d { background: #00FF6F}
.gp-legend i.c { background: #8b5cf6; outline: 3px solid rgba(139, 92, 246, 0.25); outline-offset: 0; box-shadow: none}
.gp-legend i.l { background: var(--line-3)}
.gp-canvas { position: relative; width: 990px; height: 206px; margin-top: 30px}
.gp-svg { position: absolute; inset: 0; overflow: visible}
.gp-road { fill: none; stroke: color-mix(in srgb, var(--text) 9%, transparent); stroke-width: 20; stroke-linecap: round}
.gp-road-dash { fill: none; stroke: color-mix(in srgb, var(--text) 28%, transparent); stroke-width: 2; stroke-dasharray: 1.2 1.6; stroke-linecap: round}
.gp-road-done { fill: none; stroke: #00FF6F; stroke-width: 10; stroke-linecap: round; filter: none}

.gp-st { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; z-index: 2}
.gp-med { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--rc); background: var(--panel); border: 3px solid var(--rc); outline: 5px solid var(--panel); outline-offset: 0; box-shadow: none; transition: transform .2s, box-shadow .2s}
.gp-st.done .gp-med { background: var(--accent-2); border-color: var(--accent-2); color: #ffffff}
.gp-st.cur .gp-med { width: 66px; height: 66px; outline: 5px solid var(--panel); outline-offset: 0; box-shadow: none; animation: gpPulse 2.4s ease-in-out infinite}
@keyframes gpPulse { 50% { outline: 5px solid var(--panel); outline-offset: 0; box-shadow: none} }
.gp-st.lock .gp-med { border-color: var(--line-3); color: var(--muted); background: var(--panel-2)}
.gp-st:hover .gp-med { transform: scale(1.07)}
.gp-st.picked .gp-lab b { color: var(--rc)}
.gp-st.picked.lock .gp-lab b { color: var(--text); text-decoration: underline; text-underline-offset: 4px}
.gp-lab { position: absolute; top: calc(100% + 8px); text-align: center; white-space: nowrap}
.gp-lab b { display: block; font-size: 15px; font-weight: 600}
.gp-lab small { display: block; font-size: 12.5px; color: var(--muted)}
.gp-me { position: absolute; inset-inline-start: 0; top: 0; z-index: 3; transform: translate(-50%, calc(-100% - 12px)); display: grid; justify-items: center; gap: 4px; pointer-events: none}
.gp-me.drop { animation: gpDrop .9s .9s cubic-bezier(.3,1.5,.5,1) both}
@keyframes gpDrop { from { opacity: 0; transform: translate(-50%, calc(-100% - 50px))} to { opacity: 1; transform: translate(-50%, calc(-100% - 12px))} }
.gp-me-av { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; border: 3px solid #ffffff; outline: 3px solid #00FF6F; outline-offset: 0; box-shadow: none; background: var(--panel-2)}
.gp-me-av img, .gp-me-av svg { width: 100%; height: 100%; object-fit: cover; display: block}
.gp-me span { order: -1; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #0a0a0b; background: #00FF6F; white-space: nowrap; box-shadow: none}
.gp-me::after { content: ""; position: absolute; bottom: -12px; left: 50%; width: 2px; height: 12px; margin-inline-start: -1px; background: #00FF6F}

/* rank detail */
.gp-rd { inset-inline-start: 14px; top: 398px; width: 1026px; height: 186px; padding: 18px 20px; display: grid; grid-template-columns: 380px 1fr 1fr; gap: 26px}
.gp-rd-id { display: flex; gap: 18px; align-items: flex-start}
.gp-med.big { width: 72px; height: 72px; border-width: 3px; flex: none; box-shadow: none}
.gp-rd-n { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted)}
.gp-rd h3 { margin: 2px 0 0; font-size: 28px; font-weight: 700; color: var(--rc)}
.gp-rd p { margin: 4px 0 10px; font-size: 14.5px; line-height: 1.4; color: var(--text-2)}
.gp-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500}
.gp-tag.cur { background: color-mix(in srgb, var(--rc) 16%, transparent); color: var(--rc); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent)}
.gp-tag.done { background: rgba(135, 135, 135, 0.1); color: var(--accent)}
.gp-tag.lock { background: var(--tile); color: var(--muted)}
.gp-rd-col h5 { margin: 4px 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500}
.gp-un { display: flex; align-items: center; gap: 10px; height: 36px; font-size: 15px; color: var(--text)}
.gp-un .ico { color: var(--rc)}
.gp-real { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; color: var(--text)}
.gp-real .ico { color: var(--rc)}
.gp-how { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13.5px; color: var(--text-2)}
.gp-how .ico { color: var(--muted)}

/* next 4 weeks */
.gp-weeks { inset-inline-start: 14px; top: 596px; width: 640px; height: 271px; padding: 16px 18px}
.gp-wk-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px}
.gp-wk { position: relative; height: 196px; padding: 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line)}
.gp-wk.now { border-color: var(--accent-line); background: var(--panel-2)}
.gp-wk-h b { display: block; font-size: 14.5px; font-weight: 600}
.gp-wk.now .gp-wk-h b { color: var(--accent)}
.gp-wk-h small { font-size: 12px; color: var(--muted)}
.gp-wk-i { display: flex; gap: 8px; align-items: flex-start; margin-top: 11px; font-size: 13px; line-height: 1.32; color: var(--text)}
.gp-wk-i .ico { flex: none; margin-top: 2px; color: var(--accent)}
.gp-wk-i small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px}

/* careers */
.gp-car { inset-inline-start: 666px; top: 596px; width: 374px; height: 271px; padding: 16px 16px}
.gp-car .gp-sec-h { display: block}
.gp-car .gp-sec-h small { display: block; margin-top: 2px}
.gp-car-i { display: grid; grid-template-columns: 26px 1fr 42px; gap: 12px; align-items: center; width: 100%; margin-top: 8px; padding: 8px 10px; border-radius: 12px; text-align: start; border: 1px solid transparent; transition: border-color .2s, background .2s}
.gp-car-i:hover { border-color: var(--line-2); background: var(--panel-2)}
.gp-car-i > .ico { color: var(--accent)}
.gp-car-i > span { min-width: 0}
.gp-car-i b { display: block; font-size: 14.5px; font-weight: 600}
.gp-car-i small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; margin: 1px 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.gp-car-i .progress { height: 5px}
.gp-car-i .progress > i { background: #00FF6F}
.gp-car-i em { font-style: normal; font-size: 15px; font-weight: 600; text-align: end; color: var(--text)}

/* what happens next */
.gp-next { inset-inline-start: 1054px; top: 2px; width: 374px; height: 865px; padding: 20px 20px 16px; overflow: hidden;
  background: var(--panel)}
.gp-me-card { display: flex; gap: 16px; align-items: center}
.gp-ring { position: relative; width: 136px; height: 136px; flex: none}
.gp-ring svg { position: absolute; inset: 0}
.gp-ring-bg { fill: none; stroke: var(--line-2); stroke-width: 7}
.gp-ring-fg { fill: none; stroke: #00FF6F; stroke-width: 7; stroke-linecap: round; filter: none}
.gp-ring-av { position: absolute; inset: 16px; border-radius: 50%; overflow: hidden; background: var(--panel-2)}
.gp-ring-av img, .gp-ring-av svg { width: 100%; height: 100%; object-fit: cover; display: block}
.gp-lvl { position: absolute; inset-inline-end: 2px; bottom: 6px; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; font-size: 16px; color: #0a0a0b; background: #00FF6F; border: 3px solid var(--panel)}
.gp-me-t b { display: block; font-size: 24px; font-weight: 600}
.gp-me-t span { display: block; font-size: 16px; font-weight: 600; margin-top: 2px}
.gp-me-t small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 4px}
.gp-nx-h { margin: 22px 0 12px; font-size: 19px; font-weight: 600}
.gp-nx { list-style: none; margin: 0; padding: 0; position: relative}
.gp-nx::before { content: ""; position: absolute; inset-inline-start: 19px; top: 20px; bottom: 30px; width: 2px; background: var(--accent)}
.gp-nx li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 16px}
.gp-nx-dot { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1.5px solid var(--line-3); color: var(--text-2)}
.gp-nx li.now .gp-nx-dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); outline: 6px solid var(--accent-soft); outline-offset: 0; box-shadow: none}
.gp-nx li.next .gp-nx-dot { border-color: #8b5cf6; color: #a78bfa}
.gp-nx small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted)}
.gp-nx li.now small { color: var(--accent)}
.gp-nx b { display: block; font-size: 16px; font-weight: 600; margin-top: 2px; line-height: 1.3}
.gp-nx p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--text-2)}
.gp-nx-prog { display: flex; align-items: center; gap: 10px; margin-top: 10px}
.gp-nx-prog .progress { flex: 1}
.gp-nx-prog em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent)}
.gp-nx-go { width: 100%; height: 42px; margin-top: 10px}
.gp-ai { --ai-bg: var(--panel-2); position: absolute; inset-inline-start: 20px; inset-inline-end: 20px; bottom: 16px; display: grid; grid-template-columns: 30px 1fr; gap: 6px 12px; align-items: start; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel-2)}
.gp-ai p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--text-2)}
.gp-ai p b { color: var(--text)}
.gp-ai .link { grid-column: 2; justify-self: start; font-size: 13.5px}

/* ---------- Growth XP: rewards for fixing and reflecting ---------- */
.gp-howxp { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #a78bfa; background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.35)}
.gp-howxp:hover { background: rgba(139, 92, 246, 0.2)}
.gp-xpchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px}
.gp-xpchips span { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; color: var(--text-2); background: var(--tile); border: 1px solid var(--line-2)}
.gp-xpchips span.a { color: #a78bfa; border-color: rgba(139, 92, 246, 0.45); background: rgba(139, 92, 246, 0.1)}
.gp-xpchips span.b { color: #AD8CF9; border-color: rgba(173,140,249,0.45); background: rgba(173,140,249,0.1)}
.xp-rules { display: grid; gap: 8px}
.xp-rule { display: grid; grid-template-columns: 40px 1fr 210px 76px; gap: 14px; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2)}
.xp-rule b { display: block; font-size: 15px; font-weight: 600; color: var(--text)}
.xp-rule b small { display: inline !important; font-size: 12px; font-weight: 500; color: var(--muted); margin-inline-start: 4px}
.xp-rule > div small { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 2px}
.xp-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(135, 135, 135, 0.1); color: var(--accent)}
.xp-bar { height: 10px; border-radius: 99px; background: var(--tile-hi); overflow: hidden}
.xp-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent)}
.xp-rule em { font-style: normal; font-weight: 700; font-size: 16px; text-align: end; color: var(--text); white-space: nowrap}
.xp-rule.fixed { border-color: rgba(139, 92, 246, 0.5); background: var(--panel-2)}
.xp-rule.fixed .xp-ic { background: rgba(139, 92, 246, 0.16); color: #a78bfa}
.xp-rule.fixed .xp-bar i { background: #8b5cf6}
.xp-rule.reflect .xp-ic, .xp-rule.deep .xp-ic { background: rgba(173,140,249,0.16); color: #AD8CF9}
.xp-rule.reflect .xp-bar i, .xp-rule.deep .xp-bar i { background: #AD8CF9}
.xp-rule.complete .xp-bar i { background: var(--muted)}
.xp-rule.none { opacity: .75}
.xp-rule.got .xp-ic { background: var(--accent); color: var(--accent-ink)}
.xp-rule em:has(+ *) { color: var(--muted)}
.xp-sum { display: flex; gap: 8px; align-items: center; margin: 14px 0 0 !important; font-size: 14.5px; color: var(--text-2)}
.xp-sum .ico { color: var(--accent-2-text)}
.xp-got { display: flex; gap: 8px; align-items: center; margin: 8px 0 0 !important; font-size: 14px}
.xp-got .ico { color: var(--accent)}
.xp-choice { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 4px}
.xp-choice > div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2)}
.xp-choice b { display: block; font-size: 14.5px; color: var(--text); font-weight: 500}
.xp-choice span { display: block; font-size: 22px; font-weight: 700; margin-top: 4px; color: var(--text-2)}
.xp-choice small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px}
.xp-choice .best { border-color: rgba(139, 92, 246, 0.55); background: var(--panel-2)}
.xp-choice .best span { color: #a78bfa}

/* ---------- what happens next: four steps across ---------- */
.gp-nx2 { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0 0; padding: 0}
.gp-nx2::before { content: ""; position: absolute; inset-inline-start: 20px; inset-inline-end: calc((100% - 42px) / 4 - 20px); top: 19px; height: 2px; background: var(--line-2)}
.gp-nx2 li { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0}
.gp-nx2 .gp-nx-dot { margin-bottom: 12px}
.gp-nx2 li.now .gp-nx-dot { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); outline: 6px solid rgba(0, 255, 111, .14); outline-offset: 0; box-shadow: none}
.gp-nx2 li.next .gp-nx-dot { border-color: #8b5cf6; color: #a78bfa}
.gp-nx2 small { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted)}
.gp-nx2 li.now small { color: var(--accent)}
.gp-nx2 b { margin-top: 3px; font-size: 15.5px; font-weight: 600; line-height: 1.3}
.gp-nx2 p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-2)}
.gp-nx2 .gp-nx-prog { width: 100%; margin-top: 12px}
.gp-nx2 .gp-nx-go { width: 100%; height: 40px; margin-top: 12px; gap: 8px; font-size: 14.5px}

/* ---------- the learner: level ring, XP and two quick links ---------- */
.gp-you-top { display: flex; align-items: center; gap: 18px}
.gp-you .gp-ring { width: 116px; height: 116px}
.gp-you .gp-ring-av { inset: 14px}
.gp-you .gp-lvl { inset-inline-end: -2px; bottom: 2px}
.gp-xp { margin-top: 0}
.gp-xp-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px}
.gp-xp-h b { font-size: 18px; font-weight: 700}
.gp-xp-h b small { font-size: 13px; font-weight: 500; color: var(--muted)}
.gp-xp-h span { font-size: 13px; color: var(--muted)}
.gp-xp .progress { display: block; height: 8px}
.gp-you-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0}
.gp-you-acts .gp-howxp { margin-top: 0}
.gp-why { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #AD8CF9; background: rgba(173, 140, 249, .1); border: 1px solid rgba(173, 140, 249, .3)}
.gp-why:hover { background: rgba(173, 140, 249, .18)}
