/* Course orientation uses the existing Greymatter palette and typefaces. */
.course-journey{--cj-ink:var(--ink,var(--gm-ink,#252529));--cj-accent:var(--purple,var(--gm-purple,#5350a1));--cj-paper:var(--paper,#fff);--cj-line:#e5e3e0;--cj-muted:#646469;--cj-tint:#f0eff8;color:var(--cj-ink);font-family:Manrope,"Segoe UI",sans-serif;margin:0 0 24px;min-width:0;background:var(--cj-paper)}
.course-journey *{box-sizing:border-box}
.course-journey .cj-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;min-width:0}
.course-journey .cj-position{display:block;font-size:.875rem;font-weight:600;line-height:1.5}
.course-journey .cj-current{display:none;font-size:.875rem;font-weight:500;line-height:1.5;margin-top:2px;color:var(--cj-accent)}
.course-journey .cj-toggle{display:none;border:1px solid var(--cj-line);border-radius:6px;background:var(--cj-paper);color:var(--cj-ink);font:500 .875rem/1.4 Manrope,"Segoe UI",sans-serif;padding:10px 12px;min-height:44px;cursor:pointer;flex-shrink:0}
.course-journey .cj-list{display:grid;grid-template-columns:repeat(var(--cj-count),minmax(0,1fr));gap:0;list-style:none;margin:0;padding:0}
.course-journey .cj-item{position:relative;min-width:0;list-style:none;margin:0;padding:0}
.course-journey .cj-item:not(:last-child)::after{content:"";position:absolute;top:25px;left:34px;right:-12px;height:1px;background:var(--cj-line);pointer-events:none}
.course-journey .cj-step{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;height:100%;min-height:44px;padding:10px 10px 12px 0;border:0;border-radius:0;background:transparent;color:var(--cj-ink);font:500 .875rem/1.45 Manrope,"Segoe UI",sans-serif;text-align:left;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}
.course-journey .cj-number{display:grid;place-items:center;position:relative;z-index:1;flex:0 0 30px;width:30px;height:30px;border:1px solid var(--cj-line);border-radius:50%;background:var(--cj-paper);color:var(--cj-ink);font-size:.8125rem;font-weight:600}
.course-journey .cj-label{display:block}
.course-journey .cj-status{display:block;color:var(--cj-muted);font-size:.75rem;font-weight:400;line-height:1.5;margin-top:3px}
.course-journey .cj-step[aria-current=step] .cj-number{background:var(--cj-accent);color:#fff;border-color:var(--cj-accent)}
.course-journey .cj-step[aria-current=step] .cj-label{color:var(--cj-accent);font-weight:700}
.course-journey .cj-step:hover .cj-label{text-decoration:underline;text-underline-offset:4px}
.course-journey .cj-step:focus-visible,.course-journey .cj-toggle:focus-visible{outline:3px solid var(--cj-accent);outline-offset:3px;border-radius:4px}
.course-journey .cj-step:disabled{cursor:default;color:var(--cj-muted)}
.course-journey .cj-step:disabled:hover .cj-label{text-decoration:none}
.course-journey .cj-note{margin:12px 0 0;font-family:inherit;font-size:.875rem;line-height:1.55;font-weight:400;color:var(--cj-muted)}
.course-journey.cj-vertical .cj-list{grid-template-columns:1fr}
.course-journey.cj-vertical .cj-step{flex-direction:row;align-items:center;padding:10px 4px 10px 0;gap:12px}
.course-journey.cj-vertical .cj-item:not(:last-child)::after{left:14px;right:auto;top:35px;bottom:-10px;width:1px;height:auto}
.course-journey.cj-sticky{position:sticky;top:var(--cj-offset,0px);z-index:30;padding-top:12px;padding-bottom:8px;border-bottom:1px solid var(--cj-line)}
.course-journey.cj-sticky .cj-head{margin-bottom:4px}
.cj-return-note{font-size:.9375rem;line-height:1.55;color:inherit;margin:16px 0 24px;padding-left:14px;border-left:3px solid var(--purple,var(--gm-purple,#5350a1))}
.cj-scroll-next{display:flex;justify-content:flex-end;margin-top:24px}
.cj-scroll-next a{font-family:Manrope,"Segoe UI",sans-serif;font-size:.9375rem;min-height:44px;display:inline-flex;align-items:center;gap:8px;text-underline-offset:5px}
@media(max-width:850px){
 .course-journey .cj-head{margin-bottom:0;align-items:center}
 .course-journey .cj-current,.course-journey .cj-toggle{display:block}
 .course-journey .cj-position{font-size:.8125rem}
 .course-journey .cj-toggle{max-width:45%;font-size:.8125rem}
 .course-journey .cj-list{grid-template-columns:1fr;margin-top:12px}
 .course-journey:not(.cj-expanded) .cj-list,.course-journey:not(.cj-expanded) .cj-note{display:none}
 .course-journey .cj-step,.course-journey.cj-vertical .cj-step{flex-direction:row;align-items:center;padding:9px 0;gap:12px}
 .course-journey .cj-item:not(:last-child)::after{left:14px;right:auto;top:35px;bottom:-9px;width:1px;height:auto}
 .course-journey.cj-sticky.cj-expanded{position:relative;top:auto}
 .course-journey.cj-sticky{padding-block:10px}
}
@media print{.course-journey,.cj-scroll-next{display:none!important}}

/* The course rail keeps a single column at narrow widths. */
.course-journey.course-journey{display:block;overflow:visible}
