
.academic-trajectory{background:#fff;border-bottom:1px solid #d8e2ea}
.trajectory-scroll{overflow-x:auto;padding:4px 2px 22px;scrollbar-color:#91a9ba #e5edf3}.trajectory-scroll:focus-visible{outline:2px solid #003a63;outline-offset:5px}
.hierarchy{min-width:1100px;--line:#91a8ba;--gap:8px;--label:130px}
.cycle-band{display:grid;grid-template-columns:var(--label) minmax(0,1fr);gap:12px;align-items:stretch;border-radius:8px;margin-bottom:12px;background:#e7eef4;padding:0 14px 0 0}
.basic-band{background:#dfe9f1}.intermediate-band{background:#edf1f5}.superior-band{background:#e7eef4}.orientation-band{background:#f2efE6}
.cycle-heading{padding:22px 14px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid #ccd8e2;color:#003a63;gap:5px;z-index:1}
.cycle-heading>span{color:#886000;font-size:.8125rem;font-weight:800}.cycle-heading>strong{font-size:.875rem;line-height:1.35}.cycle-heading>small{font-size:.8125rem;line-height:1.4;color:#52697b}
.band-content{position:relative;padding:28px 0}
.basic-content{display:flex;align-items:center;justify-content:center}.basic-root{background:#003a63;color:white;font-size:.75rem;font-weight:650;text-align:center;padding:15px 24px;min-width:210px;border-radius:7px;position:relative;z-index:1}
.basic-content:after{content:"";position:absolute;width:2px;height:40px;background:var(--line);left:50%;bottom:-12px}
.hierarchy-row{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:var(--gap)}
.intermediate-row:before{content:"";position:absolute;left:20%;right:5%;top:14px;height:2px;background:var(--line)}
.intermediate-row:after{content:"";position:absolute;left:50%;top:0;height:14px;width:2px;background:var(--line)}
.intermediate-group{position:relative;display:flex;justify-content:center}
.intermediate-group:before{content:"";position:absolute;left:50%;top:-14px;bottom:-28px;width:2px;background:var(--line)}
.tree-node{display:flex;align-items:center;justify-content:center;text-align:center;background:white;border:1px solid #c5d3de;border-radius:7px;padding:12px 6px;line-height:1.4;font-size:.75rem;font-weight:600;color:#003a63;position:relative;z-index:1;width:100%;min-width:0;box-sizing:border-box;overflow-wrap:anywhere}
.intermediate-group .tree-node{max-width:175px;border-top:3px solid #d9a21b;min-height:64px}
.intermediate-divider{border-top:2px dashed #a18a52;text-align:center;position:relative;margin:22px 0;height:0;z-index:2}
.intermediate-divider>span{position:relative;top:-12px;padding:0 15px;background:#fff;color:#785b16;font-size:.8125rem;font-weight:700}
.degree-group{display:grid;grid-template-columns:repeat(var(--leaves),minmax(0,1fr));gap:var(--gap);position:relative}
.degree-group:before{content:"";position:absolute;width:2px;height:58px;top:-72px;left:50%;background:var(--line)}
.degree-leaf{position:relative;display:flex}.degree-leaf:before{content:"";position:absolute;left:50%;top:-14px;bottom:-28px;width:2px;background:var(--line)}
.degree-leaf:after{content:"";position:absolute;top:-14px;left:-4px;right:-4px;height:2px;background:var(--line)}
.degree-leaf:first-child:after{left:50%}.degree-leaf:last-child:after{right:50%}.degree-leaf .tree-node{min-height:84px}
.orientation-leaf{position:relative;background:#fffdf7;border:1px solid #dfd0ac;border-radius:7px;padding:10px 5px;text-align:center;color:#003a63;z-index:1}
.orientation-leaf:before{content:"";position:absolute;left:50%;top:-41px;height:40px;width:2px;background:var(--line)}
.orientation-leaf:after{content:none}
.orientation-leaf p{font-size:.75rem;line-height:1.35;margin:0 0 9px}.orientation-leaf ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.orientation-leaf li{font-size:.75rem;line-height:1.4;border:1px solid #dfd0ac;border-radius:4px;background:white;padding:5px 2px}
.final-divider{margin-top:22px;margin-bottom:8px}
.trajectory-scroll-hint{display:none;color:#52697b;font-size:.875rem;margin:0 0 14px}
@media(max-width:1200px){.trajectory-scroll-hint{display:block}}

/* Keep compact labels inside the hierarchy without changing cycle headings. */
.tree-node>span{display:block;width:100%;min-width:0;overflow-wrap:anywhere}
.intermediate-group,.degree-group,.degree-leaf,.orientation-leaf{min-width:0}
.orientation-leaf p,.orientation-leaf li{overflow-wrap:anywhere}
.intermediate-divider{border-top:0;height:2px}
.intermediate-divider:before{content:"";position:absolute;inset:-5px 0;background:#fff}
.intermediate-divider:after{content:"";position:absolute;left:0;right:0;top:0;border-top:2px dashed #a18a52}
.intermediate-divider>span{z-index:1}

/* Compact top-down diagram; cycle labels retain their established type sizes. */
.hierarchy{min-width:1000px;--gap:6px;--label:130px}
.cycle-band{gap:8px;margin-bottom:10px;padding-right:10px}
.cycle-heading{padding:14px}
.academic-trajectory .cycle-heading{padding-left:10px;padding-right:10px}
.band-content{padding:22px 0}
.basic-root{min-width:175px;padding:11px 16px;font-size:.6875rem;font-weight:400}
.tree-node{padding:8px 4px;font-size:.6875rem;font-weight:400;line-height:1.35;border-radius:5px}
.intermediate-group .tree-node{max-width:150px;min-height:48px}
.degree-leaf .tree-node{min-height:64px}
.orientation-leaf{padding:7px 4px;border-radius:5px;font-weight:400}
.orientation-leaf p{font-size:.6875rem;line-height:1.3;margin-bottom:6px;font-weight:400}
.orientation-leaf ul{gap:4px}
.orientation-leaf li{font-size:.6875rem;line-height:1.3;padding:4px 2px;font-weight:400}
.intermediate-divider>span{font-weight:400}
.intermediate-group:before{top:-8px;bottom:-22px}
.degree-leaf:before{top:-12px;bottom:-22px}
.degree-leaf:after{top:-12px;left:-3px;right:-3px}
.degree-leaf:first-child:after{left:50%}.degree-leaf:last-child:after{right:50%}
.degree-group:before{top:-66px;height:54px}
.orientation-leaf:before{top:-33px;height:32px}
@media(min-width:1120px){.trajectory-scroll-hint{display:none}}

.word-fragment{white-space:nowrap}
/* Match Economics' responsive ten-track card width; distribute remaining space between paths. */
.spaced-hierarchy{container-type:inline-size}
.spaced-hierarchy .cycle-band{--card:calc((100cqw - 202px)/10);--gap:calc((100cqw - 148px - var(--columns)*var(--card))/(var(--columns) + 1))}
.spaced-hierarchy .hierarchy-row{grid-template-columns:repeat(var(--columns),var(--card));gap:var(--gap);justify-content:start;padding-left:var(--gap);padding-right:var(--gap)}
.spaced-hierarchy .intermediate-row:before{left:calc(var(--gap) + var(--card)/2);right:calc(var(--gap) + var(--card)/2)}
.spaced-hierarchy .degree-group{grid-template-columns:repeat(var(--leaves),var(--card));gap:var(--gap)}
.spaced-hierarchy .degree-leaf:after{left:calc(var(--gap)/-2);right:calc(var(--gap)/-2)}
.spaced-hierarchy .degree-leaf:first-child:after{left:50%}
.spaced-hierarchy .degree-leaf:last-child:after{right:50%}
/* Match the Economics horizontal connector to the centers of its outer columns. */
.academic-trajectory .hierarchy:not(.spaced-hierarchy) .intermediate-row:before{left:calc(20% - 1.8px);right:calc(5% - 2.7px)}
/* Join the basic card and let intermediate stems extend below their band. */
.academic-trajectory .basic-content:after{top:50%;bottom:-12px;height:auto}
.academic-trajectory .intermediate-group:before{bottom:-32px}

/* Use the Economics intermediate connector as the common 2px stroke. */
.academic-trajectory .hierarchy{--connector-stroke:2px}
.academic-trajectory .basic-content:after,
.academic-trajectory .intermediate-row:after,
.academic-trajectory .intermediate-group:before,
.academic-trajectory .degree-group:before,
.academic-trajectory .degree-leaf:before,
.academic-trajectory .orientation-leaf:before{width:var(--connector-stroke);transform:translateX(-50%)}
.academic-trajectory .intermediate-row:before,
.academic-trajectory .degree-leaf:after{height:var(--connector-stroke)}

.qualification-type{font:inherit;color:inherit}

/* Cycles 02 and 04 share the same warm color palette. */
.academic-trajectory .intermediate-band{background:#f2efe6}
.academic-trajectory .intermediate-group .tree-node{background:#fffdf7;border-color:#dfd0ac;color:#003a63}

.academic-trajectory .intermediate-group .tree-node{border:1px solid #dfd0ac}

/* The two degree milestones align with the cycle labels and sit over the dashed lines. */
.academic-trajectory .intermediate-divider{text-align:left}
.academic-trajectory .intermediate-divider>span{left:14px;top:-17px;display:inline-block;box-sizing:border-box;padding:6px 10px;background:#fff8e8;border:1px solid #c8aa63;border-radius:5px;color:#003a63;font-weight:600;line-height:1.3;white-space:nowrap}
.academic-trajectory .tree-node>span,.academic-trajectory .orientation-leaf li{hyphens:manual;overflow-wrap:normal;word-break:normal}
.academic-trajectory .tree-node abbr{text-decoration:none;border:0;cursor:help}

/* Both title markers are centered inside the same column as the cycle headings. */
.academic-trajectory .intermediate-divider>span{position:absolute;top:50%;left:14px;transform:translateY(-50%);width:calc(var(--label) - 28px);padding:4px 3px;text-align:center;font-size:.6875rem;line-height:1.2;white-space:normal}

.academic-trajectory .trajectory-ngo-note{margin:0 0 22px;color:#52697b;font-size:.75rem;line-height:1.5;text-align:left}

.academic-trajectory .trajectory-ngo-note{text-align:right}
.academic-trajectory .fixed-word-lines{font-size:.625rem;line-height:1.35;white-space:nowrap;overflow-wrap:normal;word-break:normal;hyphens:none}
.academic-trajectory .orientation-leaf li.fixed-word-lines{font-size:.625rem}

/* Trace one branch on desktop; show each career vertically on narrow screens. */
.academic-trajectory .hierarchy{container-type:inline-size}
.interactive-trajectory .trajectory-selection-hint{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;color:#52697b;font-size:.8125rem;line-height:1.45}
.interactive-trajectory .trajectory-clear{border:1px solid #c5d3de;border-radius:5px;background:#fff;color:#003a63;font:inherit;font-weight:600;padding:7px 10px;cursor:pointer;white-space:nowrap}
.interactive-trajectory .trajectory-clear:hover,.interactive-trajectory .trajectory-clear:focus-visible{background:#e7eef4;outline-color:#003a63}
.interactive-trajectory .tree-node[role="button"]{cursor:pointer}
.interactive-trajectory .basic-root[role="button"]{cursor:pointer}
.interactive-trajectory .orientation-leaf[role="button"]{cursor:pointer}
.interactive-trajectory .tree-node[role="button"]:focus-visible,.interactive-trajectory .basic-root[role="button"]:focus-visible,.interactive-trajectory .orientation-leaf[role="button"]:focus-visible{outline:3px solid #d9a21b;outline-offset:2px}
.interactive-trajectory .hierarchy .intermediate-group .tree-node,.interactive-trajectory .hierarchy .degree-leaf .tree-node,.interactive-trajectory .hierarchy .orientation-leaf>p,.interactive-trajectory .hierarchy .orientation-leaf>ul{transition:opacity .18s ease}
.interactive-trajectory .hierarchy.has-highlight .intermediate-group.is-dimmed .tree-node,.interactive-trajectory .hierarchy.has-highlight .degree-leaf.is-dimmed .tree-node,.interactive-trajectory .hierarchy.has-highlight .orientation-leaf.is-dimmed>p,.interactive-trajectory .hierarchy.has-highlight .orientation-leaf.is-dimmed>ul{opacity:.55}
.interactive-trajectory .hierarchy .is-active>.tree-node,.interactive-trajectory .hierarchy .orientation-leaf.is-active{border-color:#003a63;box-shadow:0 0 0 2px rgba(0,58,99,.2)}
.interactive-trajectory .hierarchy .basic-root{border:1px solid transparent;box-sizing:border-box;transition:background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
.interactive-trajectory .hierarchy .basic-root.is-active{background:#fff;color:#003a63;border-color:#003a63;box-shadow:0 0 0 2px rgba(0,58,99,.2)}
/* Selection hides connectors but retains the dashed lines marking the two degrees. */
.interactive-trajectory .hierarchy.has-highlight .basic-content:after,.interactive-trajectory .hierarchy.has-highlight .intermediate-row:before,.interactive-trajectory .hierarchy.has-highlight .intermediate-row:after,.interactive-trajectory .hierarchy.has-highlight .intermediate-group:before,.interactive-trajectory .hierarchy.has-highlight .degree-group:before,.interactive-trajectory .hierarchy.has-highlight .degree-leaf:before,.interactive-trajectory .hierarchy.has-highlight .degree-leaf:after,.interactive-trajectory .hierarchy.has-highlight .orientation-leaf:before{visibility:hidden}
.interactive-trajectory .basic-root,.interactive-trajectory .tree-node{font-size:.625rem}
.interactive-trajectory .tree-node .qualification-type{font-size:.53rem}
.interactive-trajectory .orientation-leaf{padding:10px 2px}
.interactive-trajectory .orientation-leaf p,.interactive-trajectory .orientation-leaf li{text-align:left;font-size:.625rem;line-height:1.4}
.interactive-trajectory .orientation-leaf p{font-weight:400;text-align:center}
.interactive-trajectory .orientation-leaf p sup{font-size:inherit}
.interactive-trajectory .orientation-leaf ul{gap:0}
.interactive-trajectory .orientation-leaf li{margin:0;padding:8px 1px;border:0;border-radius:0;background:transparent;font-size:calc(1.1726cqw - 3.307px);letter-spacing:-.085em;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none}
.interactive-trajectory .orientation-unbroken-long{white-space:nowrap;letter-spacing:inherit}
.interactive-trajectory .orientation-leaf li+li{border-top:1px solid #dfd0ac}
.interactive-trajectory .orientation-band{position:relative}
.interactive-trajectory .orientation-inline-note{position:absolute;right:12px;bottom:3px;margin:0;color:#52697b;font-size:.625rem;line-height:1.25;font-style:italic;text-align:right}
.interactive-trajectory .trajectory-notes{margin:0 0 22px;color:#52697b;font-size:.75rem;line-height:1.5;text-align:right}
.interactive-trajectory .trajectory-notes p{margin:0 0 3px}
.interactive-trajectory .intermediate-divider{height:36px;margin:0 0 10px}
.interactive-trajectory .intermediate-divider:after{top:50%;border-top-color:#003a63}
.interactive-trajectory .intermediate-divider>span{display:flex;align-items:center;justify-content:center;min-height:36px;background:#003a63;border-color:#003a63;color:#fff}
.interactive-trajectory .intermediate-divider:not(.final-divider)>span{background:#e7eef4;color:#003a63}
.interactive-trajectory .intermediate-divider.final-divider{margin-bottom:8px}
.interactive-trajectory .trajectory-mobile{display:none}
@media(max-width:700px){
  .interactive-trajectory.js-trajectory-ready .trajectory-scroll,.interactive-trajectory.js-trajectory-ready .trajectory-scroll-hint,.interactive-trajectory.js-trajectory-ready .trajectory-selection-hint,.interactive-trajectory.js-trajectory-ready .trajectory-notes{display:none}
  .interactive-trajectory.js-trajectory-ready .trajectory-mobile{display:block}
  .interactive-trajectory .trajectory-mobile>label{display:block;font-weight:700;color:#003a63;margin:0 0 8px}
  .interactive-trajectory .trajectory-mobile>select{display:block;box-sizing:border-box;width:100%;min-height:46px;padding:9px 36px 9px 12px;border:1px solid #91a8ba;border-radius:6px;background:#fff;color:#003a63;font:inherit;margin-bottom:20px}
  .interactive-trajectory .trajectory-mobile-panel{display:grid;gap:10px}
  .interactive-trajectory .trajectory-mobile-stage{border:1px solid #d4e0e8;border-radius:7px;background:#f5f8fa;padding:14px 16px}
  .interactive-trajectory .trajectory-mobile-stage.is-warm{background:#f7f4ea;border-color:#dfd0ac}
  .interactive-trajectory .trajectory-mobile-stage-heading{font-size:.8125rem;color:#52697b;margin:0 0 7px}
  .interactive-trajectory .trajectory-mobile-stage-content{color:#003a63;font-size:1rem;font-weight:600;line-height:1.45;margin:0}
  .interactive-trajectory .trajectory-mobile-milestone{margin:2px 0;border-left:4px solid #b18724;background:#fff8e8;color:#003a63;padding:9px 12px;font-weight:600;font-size:.875rem}
  .interactive-trajectory .trajectory-mobile-milestone.is-final{border-left-color:#003a63;background:#e7eef4}
  .interactive-trajectory .trajectory-mobile-orientations{border:1px solid #dfd0ac;border-radius:7px;background:#fffdf7;color:#003a63;padding:12px 16px}
  .interactive-trajectory .trajectory-mobile-orientations summary{cursor:pointer;font-weight:600}
  .interactive-trajectory .trajectory-mobile-orientations ul{list-style:none;margin:14px 0 0;padding:0;line-height:1.65}
  .interactive-trajectory .trajectory-mobile-orientations li{padding:9px 2px}
  .interactive-trajectory .trajectory-mobile-orientations li+li{border-top:1px solid #dfd0ac}
  .interactive-trajectory .trajectory-mobile-note{margin:0;font-size:.75rem;text-align:right;font-style:italic;color:#52697b}
}
