:root {
    --cpb-nav-height: 88px;
    --cpb-nav-breakpoint: 1180px;
    --cpb-nav-paper: #fffefa;
    --cpb-nav-soft: #fbfaff;
    --cpb-nav-ink: #17114d;
    --cpb-nav-muted: #706b7d;
    --cpb-nav-line: #e7e1ec;
    --cpb-nav-violet: #7042b6;
    --cpb-nav-gold: #c29b47;
    --cpb-nav-coral: #f04d43;
    --cpb-nav-shadow: 0 28px 72px rgba(31, 20, 79, 0.15), 0 4px 14px rgba(31, 20, 79, 0.06);
}

html {
    scroll-padding-top: calc(var(--cpb-nav-height) + 18px);
}

body {
    padding-top: var(--cpb-nav-height);
}

.site-header,
.site-header * {
    box-sizing: border-box;
}

.site-header {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    height: var(--cpb-nav-height);
    color: var(--cpb-nav-ink);
    background: rgba(255, 254, 250, 0.96);
    border-bottom: 1px solid rgba(23, 17, 77, 0.1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.site-header button,
.site-header a {
    -webkit-tap-highlight-color: transparent;
}

.site-header .navigation {
    width: min(1500px, calc(100% - 36px));
    max-width: none;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(13px, 1.5vw, 24px);
}

.site-header .brand {
    position: relative;
    z-index: 1010;
    flex: 0 0 auto;
    color: var(--cpb-nav-ink);
    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(1.16rem, 1.55vw, 1.48rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.site-header .brand small {
    display: block;
    margin-top: 7px;
    color: #817a90;
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.41rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.main-nav {
    min-width: 0;
    height: 100%;
    flex: 1 1 auto;
    color: #2f294e;
    font-family: "Inter", Arial, sans-serif;
}

.nav-list,
.journey-rail,
.journey-aspect-list,
.community-panel-group ul,
.profile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(7px, 0.75vw, 13px);
}

.site-header .main-nav a {
    width: auto;
    padding: 0;
    border: 0;
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.25;
}

.site-header .main-nav a::after {
    display: none;
}

.nav-home {
    flex: 0 0 auto;
}

.site-header .nav-home a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 5px;
    color: #5f596d;
    font-size: 0.7rem;
    font-weight: 750;
    transition: color 180ms ease;
}

.site-header .nav-home a:hover,
.site-header .nav-home a:focus-visible,
.site-header .nav-home a[aria-current="page"] {
    color: var(--cpb-nav-violet);
}

.journey-nav-group {
    position: relative;
    min-width: 470px;
    height: 100%;
    flex: 1 1 620px;
    display: flex;
    align-items: center;
}

.journey-nav-caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.journey-rail-shell {
    position: relative;
    width: 100%;
    height: 72px;
    isolation: isolate;
}

.journey-connection-line {
    position: absolute;
    z-index: -1;
    top: 24px;
    right: 8.333%;
    left: 8.333%;
    height: 1px;
    background: #d8d2e1;
}

.journey-connection-line::after {
    position: absolute;
    top: -1px;
    left: 0;
    width: var(--journey-fill, 0%);
    height: 3px;
    content: "";
    border-radius: 999px;
    background: linear-gradient(90deg, #172a78, #7042b6, #2864b8, #008f9d, #229443, #008ba0);
    transition: width 260ms ease;
}

.journey-rail {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.journey-stage-item {
    --stage-color: #172a78;
    --stage-soft: #eef1ff;
    --stage-rgb: 23, 42, 120;
    min-width: 0;
    height: 100%;
}

.journey-stage-item--reflect {
    --stage-color: #7042b6;
    --stage-soft: #f4effc;
    --stage-rgb: 112, 66, 182;
}

.journey-stage-item--choose {
    --stage-color: #2864b8;
    --stage-soft: #edf4ff;
    --stage-rgb: 40, 100, 184;
}

.journey-stage-item--try {
    --stage-color: #008f9d;
    --stage-soft: #eafafb;
    --stage-rgb: 0, 143, 157;
}

.journey-stage-item--track {
    --stage-color: #229443;
    --stage-soft: #edf9f0;
    --stage-rgb: 34, 148, 67;
}

.journey-stage-item--review {
    --stage-color: #008ba0;
    --stage-soft: #eaf8fa;
    --stage-rgb: 0, 139, 160;
}

.journey-stage-trigger {
    width: 100%;
    height: 70px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    padding: 2px 2px 0;
    color: #756f80;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.journey-stage-node {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #817a8c;
    background: var(--cpb-nav-paper);
    border: 1px solid #d7d1df;
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(255, 254, 250, 0.97);
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.journey-stage-node svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.journey-stage-label {
    color: inherit;
    font-size: clamp(0.49rem, 0.54vw, 0.61rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.journey-stage-trigger:hover,
.journey-stage-trigger:focus-visible,
.journey-stage-item.is-open .journey-stage-trigger,
.journey-stage-item.is-active-page .journey-stage-trigger {
    color: var(--stage-color);
    outline: 0;
}

.journey-stage-trigger:hover .journey-stage-node,
.journey-stage-trigger:focus-visible .journey-stage-node,
.journey-stage-item.is-open .journey-stage-node,
.journey-stage-item.is-active-page .journey-stage-node {
    color: #fff;
    background: var(--stage-color);
    border-color: var(--stage-color);
    box-shadow: 0 0 0 5px rgba(255, 254, 250, 0.98), 0 7px 18px rgba(var(--stage-rgb), 0.22);
    transform: translateY(-2px);
}

.journey-panel,
.community-panel,
.profile-panel {
    position: fixed;
    z-index: 1005;
    top: var(--cpb-nav-height);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 170ms ease, visibility 170ms ease, transform 210ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.journey-stage-item.is-open > .journey-panel,
.nav-community.is-open > .community-panel,
.nav-profile.is-open > .profile-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.journey-panel,
.community-panel {
    left: 50%;
    width: min(1450px, calc(100vw - 40px));
    height: min(600px, calc(70vh - var(--cpb-nav-height)));
    transform: translate(-50%, -8px);
}

.journey-stage-item.is-open > .journey-panel,
.nav-community.is-open > .community-panel {
    transform: translate(-50%, 0);
}

.journey-panel-shell,
.community-panel-shell {
    position: relative;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.985);
    border: 1px solid rgba(23, 17, 77, 0.12);
    border-top: 4px solid var(--stage-color);
    border-radius: 0 0 24px 24px;
    box-shadow: var(--cpb-nav-shadow);
}

.journey-panel-scroll,
.community-panel-scroll {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(23, 17, 77, 0.2) transparent;
}

@media (min-width: 1181px) {
    .journey-stage-item > .journey-panel {
        height: auto;
        max-height: calc(100vh - var(--cpb-nav-height) - 24px);
    }

    .journey-stage-item > .journey-panel .journey-panel-shell {
        height: auto;
        min-height: 0;
    }

    .journey-stage-item > .journey-panel .journey-panel-scroll {
        display: grid;
        grid-template-rows: auto auto;
        min-height: 0;
        overflow: visible;
        overscroll-behavior: none;
        scrollbar-width: none;
    }

    .journey-stage-item > .journey-panel .journey-panel-scroll::-webkit-scrollbar {
        display: none;
    }

    .journey-stage-item > .journey-panel .journey-theme-grid--progress {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .journey-stage-item > .journey-panel .journey-theme-card--progress {
        height: auto;
        min-height: 0;
    }
}

.journey-panel-heading {
    min-height: 88px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(170px, 0.42fr) minmax(275px, 0.68fr);
    align-items: center;
    gap: 19px;
    padding: 10px 24px 9px;
    background: var(--stage-soft);
    border-bottom: 1px solid var(--cpb-nav-line);
}

.journey-panel-intro {
    grid-column: 1;
}

.journey-kicker,
.community-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
    color: var(--stage-color);
    font-size: 0.55rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.journey-kicker::before,
.community-kicker::before {
    width: 22px;
    height: 1px;
    content: "";
    background: currentColor;
}

.community-kicker {
    margin-bottom: 5px;
}

.journey-panel-heading h2,
.community-panel-heading h2 {
    margin: 0 0 3px;
    color: var(--cpb-nav-ink);
    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(1.3rem, 1.65vw, 1.65rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.journey-panel-heading p,
.community-panel-heading p {
    max-width: 680px;
    margin: 0;
    color: #666073;
    font-size: 0.68rem;
    line-height: 1.35;
}

.community-panel-heading h2 {
    margin-bottom: 5px;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.community-panel-heading p {
    font-size: 0.73rem;
    line-height: 1.45;
}

.journey-progress {
    grid-column: 3;
    min-width: 0;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(var(--stage-rgb), 0.16);
    border-radius: 14px;
}

.journey-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
    color: var(--cpb-nav-muted);
    font-size: 0.58rem;
    font-weight: 750;
}

.journey-progress-top strong {
    color: var(--stage-color);
    text-align: right;
}

.journey-progress-track {
    height: 5px;
    display: block;
    overflow: hidden;
    background: #e7e3e9;
    border-radius: 999px;
}

.journey-progress-track > span {
    height: 100%;
    display: block;
    background: var(--stage-color);
    border-radius: inherit;
}

.journey-progress > small {
    display: block;
    margin-top: 5px;
    color: #7b7585;
    font-size: 0.52rem;
    line-height: 1.35;
}

.journey-loop-note {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--stage-color);
    font-size: 0.56rem;
    line-height: 1.35;
}

.journey-loop-note svg {
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.journey-loop-note strong {
    display: block;
}

.journey-theme-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 11px;
    padding: 8px 17px 10px;
}

.journey-theme-card {
    --theme-color: #223a91;
    min-width: 0;
    padding: 13px;
    background: #fff;
    border: 1px solid var(--cpb-nav-line);
    border-radius: 16px;
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.journey-theme-card--fulfillment {
    --theme-color: #7545b6;
}

.journey-theme-card--active-living {
    --theme-color: #2b6eb8;
}

.journey-theme-card--belonging {
    --theme-color: #8b4aae;
}

.journey-theme-grid--progress {
    height: auto;
    align-items: stretch;
}

.journey-theme-card--progress {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    border-top: 3px solid var(--theme-color);
}

.journey-theme-card--progress .journey-theme-heading {
    min-height: 64px;
}

.journey-domain-progress {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 7px;
    min-height: 0;
    padding: 9px 2px 8px;
}

.journey-domain-progress-copy strong,
.journey-domain-progress-copy small {
    display: block;
}

.journey-domain-progress-copy strong {
    color: var(--cpb-nav-ink);
    font-size: 0.75rem;
    line-height: 1.25;
}

.journey-domain-progress-copy small {
    margin-top: 4px;
    color: var(--cpb-nav-muted);
    font-size: 0.53rem;
    line-height: 1.4;
}

.journey-domain-progress-track {
    height: 7px;
    display: block;
    overflow: hidden;
    background: #ebe8ef;
    border-radius: 999px;
}

.journey-domain-progress-track > span {
    height: 100%;
    display: block;
    background: var(--theme-color);
    border-radius: inherit;
}

.journey-domain-progress-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: var(--cpb-nav-muted);
    font-size: 0.48rem;
}

.site-header .main-nav .journey-domain-action {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 11px;
    color: #fff;
    background: var(--theme-color);
    border-radius: 10px;
    font-size: 0.58rem;
    font-weight: 800;
}

.site-header .main-nav .journey-domain-action:hover,
.site-header .main-nav .journey-domain-action:focus-visible {
    color: #fff;
    filter: brightness(0.92);
    outline: 0;
    transform: translateY(-1px);
}

.journey-theme-card--progress:hover .journey-domain-progress-copy strong,
.journey-theme-card--progress:focus-within .journey-domain-progress-copy strong,
.journey-theme-card--progress:hover .journey-domain-progress-copy small,
.journey-theme-card--progress:focus-within .journey-domain-progress-copy small,
.journey-theme-card--progress:hover .journey-domain-progress-meta,
.journey-theme-card--progress:focus-within .journey-domain-progress-meta {
    color: #fff;
}

.journey-theme-card--progress:hover .journey-domain-progress-copy small,
.journey-theme-card--progress:focus-within .journey-domain-progress-copy small,
.journey-theme-card--progress:hover .journey-domain-progress-meta,
.journey-theme-card--progress:focus-within .journey-domain-progress-meta {
    opacity: 0.7;
}

.journey-theme-card--progress:hover .journey-domain-progress-track,
.journey-theme-card--progress:focus-within .journey-domain-progress-track {
    background: rgba(255, 255, 255, 0.14);
}

.journey-theme-heading {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 7px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--cpb-nav-line);
}

.journey-theme-heading small {
    display: block;
    margin-bottom: 3px;
    color: var(--theme-color);
    font-size: 0.48rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.journey-theme-heading h3 {
    margin: 0;
    color: var(--cpb-nav-ink);
    font-family: "Bodoni Moda", Georgia, serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.1;
}

.journey-theme-heading p {
    margin: 4px 0 0;
    color: var(--cpb-nav-muted);
    font-size: 0.52rem;
    line-height: 1.35;
}

.journey-theme-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    color: var(--theme-color);
}

.journey-theme-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.journey-aspect-list {
    display: grid;
    gap: 4px;
    margin-top: 9px;
}

.site-header .main-nav .journey-aspect-list a {
    min-height: 49px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    color: #302a58;
    background: var(--cpb-nav-soft);
    border-radius: 9px;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.journey-aspect-list a > span:first-child {
    min-width: 0;
}

.journey-aspect-list strong,
.journey-aspect-list small {
    display: block;
}

.journey-aspect-list strong {
    color: inherit;
    font-size: 0.62rem;
    font-weight: 760;
    line-height: 1.2;
}

.journey-aspect-list small {
    margin-top: 3px;
    color: #817b8b;
    font-size: 0.49rem;
    line-height: 1.3;
    transition: color 160ms ease;
}

.journey-aspect-list a > span:last-child {
    color: var(--stage-color);
    font-size: 0.78rem;
}

.site-header .main-nav .journey-aspect-list a:hover,
.site-header .main-nav .journey-aspect-list a:focus-visible {
    color: var(--stage-color);
    background: rgba(var(--stage-rgb), 0.1);
    outline: 0;
    transform: translateX(2px);
}

.journey-theme-status {
    min-height: 29px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: 7px;
    padding: 8px 4px 0;
    border-top: 1px solid var(--cpb-nav-line);
    color: var(--cpb-nav-muted);
    font-size: 0.47rem;
}

.journey-theme-status strong {
    color: var(--stage-color);
    font-size: 0.5rem;
}

.journey-theme-card:hover,
.journey-theme-card:focus-within {
    color: #fff;
    background: var(--cpb-nav-ink);
    border-color: var(--cpb-nav-ink);
    box-shadow: 0 16px 34px rgba(23, 17, 77, 0.16);
    transform: translateY(-2px);
}

.journey-theme-card:hover .journey-theme-heading,
.journey-theme-card:focus-within .journey-theme-heading,
.journey-theme-card:hover .journey-theme-status,
.journey-theme-card:focus-within .journey-theme-status {
    border-color: rgba(255, 255, 255, 0.15);
}

.journey-theme-card:hover h3,
.journey-theme-card:focus-within h3,
.journey-theme-card:hover .journey-theme-heading p,
.journey-theme-card:focus-within .journey-theme-heading p,
.journey-theme-card:hover .journey-theme-status,
.journey-theme-card:focus-within .journey-theme-status,
.journey-theme-card:hover .journey-theme-status strong,
.journey-theme-card:focus-within .journey-theme-status strong {
    color: #fff;
}

.journey-theme-card:hover .journey-theme-heading p,
.journey-theme-card:focus-within .journey-theme-heading p,
.journey-theme-card:hover .journey-theme-status,
.journey-theme-card:focus-within .journey-theme-status {
    opacity: 0.72;
}

.journey-theme-card:hover .journey-theme-icon,
.journey-theme-card:focus-within .journey-theme-icon,
.journey-theme-card:hover .journey-theme-heading small,
.journey-theme-card:focus-within .journey-theme-heading small {
    color: #d9cbff;
}

.journey-theme-card:hover .journey-aspect-list a,
.journey-theme-card:focus-within .journey-aspect-list a {
    color: #fff;
    background: rgba(255, 255, 255, 0.075);
}

.journey-theme-card:hover .journey-aspect-list small,
.journey-theme-card:focus-within .journey-aspect-list small {
    color: rgba(255, 255, 255, 0.58);
}

.journey-theme-card:hover .journey-aspect-list a > span:last-child,
.journey-theme-card:focus-within .journey-aspect-list a > span:last-child {
    color: #fff;
}

.journey-panel-footer,
.community-panel-footer {
    min-height: 52px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 7px 22px;
    background: #fcfbfd;
    border-top: 1px solid var(--cpb-nav-line);
}

.community-panel-footer {
    min-height: 62px;
    padding: 9px 22px;
}

.journey-next-prompt {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.journey-next-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: var(--stage-color);
    border-radius: 50%;
}

.journey-next-prompt strong,
.journey-next-prompt small,
.community-panel-footer strong,
.community-panel-footer small {
    display: block;
}

.journey-next-prompt strong,
.community-panel-footer strong {
    color: var(--cpb-nav-ink);
    font-size: 0.66rem;
}

.journey-next-prompt small,
.community-panel-footer small {
    margin-top: 2px;
    color: var(--cpb-nav-muted);
    font-size: 0.52rem;
}

.site-header .main-nav .journey-primary-action,
.site-header .main-nav .community-panel-footer > a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 8px 17px;
    color: #fff;
    background: var(--stage-color);
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-header .main-nav .community-panel-footer > a {
    min-height: 39px;
    padding: 10px 17px;
}

.nav-community {
    --stage-color: var(--cpb-nav-coral);
    --stage-soft: #fff3f1;
    --stage-rgb: 240, 77, 67;
    flex: 0 0 auto;
}

.nav-community-trigger {
    min-height: 38px;
    padding: 0 12px;
    color: #c6423c;
    background: #fff7f5;
    border: 1px solid rgba(240, 77, 67, 0.27);
    border-radius: 999px;
    font-size: 0.55rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.nav-community-trigger:hover,
.nav-community-trigger:focus-visible,
.nav-community.is-open .nav-community-trigger,
.nav-community.is-active-page .nav-community-trigger {
    color: #fff;
    background: var(--cpb-nav-coral);
    border-color: var(--cpb-nav-coral);
    box-shadow: 0 8px 18px rgba(240, 77, 67, 0.2);
    outline: 0;
}

.community-panel-shell {
    border-top-color: var(--cpb-nav-coral);
}

.community-panel-heading {
    min-height: 112px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.7fr);
    align-items: center;
    gap: 24px;
    padding: 17px 24px;
    background: #fff3f1;
    border-bottom: 1px solid #f1dedc;
}

.community-kicker {
    color: var(--cpb-nav-coral);
}

.community-support-note {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    color: #8b4946;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(240, 77, 67, 0.2);
    border-radius: 14px;
}

.community-support-note > span:first-child {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: var(--cpb-nav-coral);
    border-radius: 50%;
}

.community-support-note strong,
.community-support-note small {
    display: block;
}

.community-support-note strong {
    color: var(--cpb-nav-coral);
    font-size: 0.62rem;
}

.community-support-note small {
    margin-top: 3px;
    color: #7a7075;
    font-size: 0.52rem;
}

.community-panel-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.35fr 1fr;
    gap: 12px;
    padding: 15px 18px 17px;
}

.community-panel-group {
    min-width: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--cpb-nav-line);
    border-radius: 16px;
}

.community-panel-group h3 {
    margin: 0;
    color: var(--cpb-nav-ink);
    font-family: "Bodoni Moda", Georgia, serif;
    font-size: 1rem;
    font-weight: 500;
}

.community-panel-group > p {
    min-height: 29px;
    margin: 4px 0 10px;
    color: var(--cpb-nav-muted);
    font-size: 0.52rem;
    line-height: 1.4;
}

.community-panel-group ul {
    display: grid;
    gap: 5px;
}

.community-panel-group--2 ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-header .main-nav .community-panel-group a {
    min-height: 55px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 9px;
    color: #302a58;
    background: var(--cpb-nav-soft);
    border-radius: 9px;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.community-panel-group a strong,
.community-panel-group a small {
    display: block;
}

.community-panel-group a strong {
    font-size: 0.61rem;
}

.community-panel-group a small {
    margin-top: 3px;
    color: #817b8b;
    font-size: 0.48rem;
    line-height: 1.3;
}

.community-panel-group a > span:last-child {
    color: var(--cpb-nav-coral);
}

.site-header .main-nav .community-panel-group a:hover,
.site-header .main-nav .community-panel-group a:focus-visible {
    color: #fff;
    background: var(--cpb-nav-coral);
    outline: 0;
    transform: translateX(2px);
}

.community-panel-group a:hover small,
.community-panel-group a:focus-visible small,
.community-panel-group a:hover > span:last-child,
.community-panel-group a:focus-visible > span:last-child {
    color: rgba(255, 255, 255, 0.76);
}

.community-panel-footer {
    background: #fffaf9;
}

.site-header .main-nav .community-panel-footer > a {
    background: var(--cpb-nav-coral);
}

.nav-account-action {
    flex: 0 0 auto;
}

.site-header .main-nav .nav-account-action a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.58rem;
    font-weight: 800;
}

.site-header .main-nav .nav-account-action--login a {
    color: #60596d;
}

.site-header .main-nav .nav-account-action--join a {
    padding: 9px 12px;
    color: #fff;
    background: var(--cpb-nav-violet);
    border-radius: 999px;
    box-shadow: 0 7px 17px rgba(112, 66, 182, 0.17);
}

.nav-profile {
    flex: 0 0 auto;
}

.profile-trigger {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px 4px 4px;
    color: var(--cpb-nav-ink);
    background: #fff;
    border: 1px solid var(--cpb-nav-line);
    border-radius: 999px;
    cursor: pointer;
}

.profile-avatar {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, var(--cpb-nav-violet), var(--cpb-nav-ink));
    border-radius: 50%;
    font-size: 0.57rem;
    font-weight: 800;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.profile-trigger-label {
    font-size: 0.58rem;
    font-weight: 800;
}

.profile-chevron {
    width: 8px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.nav-profile.is-open .profile-chevron {
    transform: rotate(180deg);
}

.profile-panel {
    right: max(20px, calc((100vw - 1450px) / 2));
    width: min(380px, calc(100vw - 36px));
    max-height: calc(70vh - var(--cpb-nav-height));
    padding: 16px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid var(--cpb-nav-line);
    border-top: 3px solid var(--cpb-nav-violet);
    border-radius: 0 0 20px 20px;
    box-shadow: var(--cpb-nav-shadow);
}

.profile-summary {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--cpb-nav-line);
}

.profile-avatar--large {
    width: 46px;
    height: 46px;
}

.profile-identity {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.profile-identity strong,
.profile-identity small {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-identity strong {
    font-size: 0.82rem;
}

.profile-identity small {
    color: var(--cpb-nav-muted);
    font-size: 0.62rem;
}

.profile-identity > span:last-child {
    width: max-content;
    margin-top: 3px;
    padding: 3px 7px;
    color: var(--cpb-nav-violet);
    background: #f3effb;
    border-radius: 999px;
    font-size: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-completion {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 7px;
    padding: 12px 2px 4px;
    color: var(--cpb-nav-muted);
    font-size: 0.56rem;
    font-weight: 700;
}

.profile-completion > span:last-child {
    grid-column: 1 / -1;
    height: 4px;
    overflow: hidden;
    background: #e8e1f5;
    border-radius: 999px;
}

.profile-completion > span:last-child > span {
    width: 50%;
    height: 100%;
    display: block;
    background: var(--cpb-nav-violet);
}

.profile-menu-list {
    display: grid;
    gap: 4px;
    padding-top: 10px;
}

.site-header .main-nav .profile-menu-card {
    min-height: 55px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    color: var(--cpb-nav-ink);
    background: transparent;
    border-radius: 9px;
}

.profile-menu-card strong,
.profile-menu-card small {
    display: block;
}

.profile-menu-card strong {
    font-size: 0.66rem;
}

.profile-menu-card small {
    margin-top: 2px;
    color: var(--cpb-nav-muted);
    font-size: 0.52rem;
}

.site-header .main-nav .profile-menu-card:hover,
.site-header .main-nav .profile-menu-card:focus-visible {
    color: #fff;
    background: var(--cpb-nav-ink);
    outline: 0;
}

.profile-menu-card:hover small,
.profile-menu-card:focus-visible small {
    color: rgba(255, 255, 255, 0.7);
}

.profile-menu-card--priority {
    background: #f3effb !important;
}

.profile-menu-card--priority:hover,
.profile-menu-card--priority:focus-visible {
    background: var(--cpb-nav-ink) !important;
}

.profile-menu-list li:last-child {
    margin-top: 4px;
    padding-top: 7px;
    border-top: 1px solid var(--cpb-nav-line);
}

.nav-shop {
    flex: 0 0 auto;
}

.site-header .main-nav .nav-shop a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    color: var(--cpb-nav-ink);
    background: #fff;
    border: 1px solid var(--cpb-nav-line);
    border-radius: 999px;
    font-size: 0.57rem;
    font-weight: 800;
}

.nav-shop svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.nav-lens-switch {
    flex: 0 0 auto;
}

.nav-lens-switch form {
    margin: 0;
}

.lens-toggle {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 7px 5px 10px;
    color: var(--cpb-nav-ink);
    background: #fff;
    border: 1px solid var(--cpb-nav-line);
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lens-toggle:hover,
.lens-toggle:focus-visible {
    border-color: rgba(112, 66, 182, 0.45);
    box-shadow: 0 7px 20px rgba(40, 23, 83, 0.08);
}

.lens-toggle-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.08;
}

.lens-toggle-copy small {
    color: var(--cpb-nav-muted);
    font-size: 0.43rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.lens-toggle-copy strong {
    margin-top: 3px;
    font-size: 0.57rem;
}

.lens-toggle-track {
    position: relative;
    width: 31px;
    height: 18px;
    flex: 0 0 31px;
    background: #dcd6e5;
    border-radius: 999px;
    transition: background 180ms ease;
}

.lens-toggle-track span {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(23, 17, 77, 0.22);
    transition: transform 180ms ease;
}

.lens-toggle.is-professional .lens-toggle-track {
    background: var(--cpb-nav-violet);
}

.lens-toggle.is-professional .lens-toggle-track span {
    transform: translateX(13px);
}

.menu-toggle {
    display: none;
}

@media (max-width: 1180px) {
    :root {
        --cpb-nav-height: 72px;
    }

    .site-header .navigation {
        width: calc(100% - 30px);
        justify-content: space-between;
    }

    .site-header .brand {
        font-size: 1.25rem;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        color: var(--cpb-nav-ink);
        background: #fff;
        border: 1px solid var(--cpb-nav-line);
        border-radius: 50%;
        cursor: pointer;
    }

    .menu-icon,
    .menu-icon::before,
    .menu-icon::after {
        width: 17px;
        height: 1px;
        display: block;
        background: currentColor;
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-icon {
        position: relative;
    }

    .menu-icon::before,
    .menu-icon::after {
        position: absolute;
        left: 0;
        content: "";
    }

    .menu-icon::before {
        top: -5px;
    }

    .menu-icon::after {
        top: 5px;
    }

    .menu-toggle[aria-expanded="true"] .menu-icon {
        background: transparent;
    }

    .menu-toggle[aria-expanded="true"] .menu-icon::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] .menu-icon::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        z-index: 1003;
        top: var(--cpb-nav-height);
        right: 12px;
        left: 12px;
        width: auto;
        height: auto;
        max-height: calc(70vh - var(--cpb-nav-height));
        padding: 9px 15px 18px;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: rgba(255, 254, 250, 0.99);
        border: 1px solid var(--cpb-nav-line);
        border-top: 3px solid var(--cpb-nav-violet);
        border-radius: 0 0 20px 20px;
        box-shadow: var(--cpb-nav-shadow);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 170ms ease, visibility 170ms ease, transform 190ms ease;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-list {
        height: auto;
        display: block;
    }

    .nav-home,
    .journey-nav-group,
    .nav-community,
    .nav-account-action,
    .nav-profile,
    .nav-shop,
    .nav-lens-switch {
        width: 100%;
        height: auto;
        display: block;
        border-bottom: 1px solid var(--cpb-nav-line);
    }

    .site-header .nav-home a {
        width: 100%;
        min-height: 48px;
        padding: 8px 2px;
        font-family: "Bodoni Moda", Georgia, serif;
        font-size: 1.25rem;
        font-weight: 500;
    }

    .journey-nav-group {
        min-width: 0;
        padding: 11px 0 13px;
    }

    .journey-nav-caption {
        position: static;
        width: auto;
        height: auto;
        display: block;
        margin-bottom: 8px;
        overflow: visible;
        clip: auto;
        color: var(--cpb-nav-muted);
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .journey-rail-shell {
        height: auto;
    }

    .journey-connection-line {
        top: 19px;
        right: auto;
        bottom: 19px;
        left: 17px;
        width: 1px;
        height: auto;
        background: linear-gradient(#172a78, #7042b6, #2864b8, #008f9d, #229443, #008ba0);
    }

    .journey-connection-line::after {
        display: none;
    }

    .journey-rail {
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .journey-stage-item {
        height: auto;
    }

    .journey-stage-trigger {
        width: 100%;
        height: auto;
        min-height: 45px;
        display: grid;
        grid-template-columns: 36px 1fr auto;
        justify-items: start;
        align-items: center;
        gap: 10px;
        padding: 4px 8px 4px 0;
        text-align: left;
    }

    .journey-stage-trigger::after {
        content: "+";
        color: var(--stage-color);
        font-size: 1rem;
        transition: transform 180ms ease;
    }

    .journey-stage-item.is-open .journey-stage-trigger::after {
        transform: rotate(45deg);
    }

    .journey-stage-node {
        width: 36px;
        height: 36px;
        box-shadow: 0 0 0 4px var(--cpb-nav-paper);
    }

    .journey-stage-label {
        font-size: 0.72rem;
    }

    .journey-panel,
    .community-panel,
    .profile-panel {
        position: static;
        width: 100%;
        height: auto;
        max-height: 0;
        padding: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        transform: none;
        transition: max-height 380ms cubic-bezier(0.2, 0.75, 0.2, 1);
    }

    .journey-panel {
        height: auto;
    }

    .journey-stage-item.is-open > .journey-panel,
    .nav-community.is-open > .community-panel,
    .nav-profile.is-open > .profile-panel {
        max-height: 3200px;
        pointer-events: auto;
        transform: none;
    }

    .journey-panel-shell,
    .community-panel-shell {
        height: auto;
        margin: 4px 0 8px 46px;
        overflow: visible;
        border: 1px solid rgba(var(--stage-rgb), 0.17);
        border-top: 2px solid var(--stage-color);
        border-radius: 13px;
        box-shadow: none;
    }

    .journey-panel-scroll,
    .community-panel-scroll {
        overflow: visible;
    }

    .journey-panel-heading {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 13px;
    }

    .journey-panel-intro,
    .journey-progress,
    .journey-loop-note {
        grid-column: 1;
    }

    .journey-panel-heading h2,
    .community-panel-heading h2 {
        font-size: 1.2rem;
    }

    .journey-loop-note {
        order: 2;
    }

    .journey-progress {
        padding: 10px;
    }

    .journey-theme-grid {
        grid-template-columns: 1fr;
        padding: 9px;
    }

    .journey-theme-grid--progress {
        height: auto;
    }

    .journey-theme-card {
        padding: 11px;
    }

    .journey-theme-card:hover,
    .journey-theme-card:focus-within {
        transform: none;
    }

    .journey-panel-footer,
    .community-panel-footer {
        min-height: 0;
        align-items: stretch;
        flex-direction: column;
        padding: 11px;
    }

    .site-header .main-nav .journey-primary-action,
    .site-header .main-nav .community-panel-footer > a {
        width: 100%;
    }

    .nav-community {
        padding: 8px 0;
    }

    .nav-community-trigger {
        width: 100%;
        min-height: 45px;
        border-radius: 12px;
    }

    .community-panel-shell {
        margin-left: 0;
        border-top-color: var(--cpb-nav-coral);
    }

    .community-panel-heading {
        min-height: 0;
        grid-template-columns: 1fr;
        padding: 13px;
    }

    .community-panel-grid {
        grid-template-columns: 1fr;
        padding: 9px;
    }

    .community-panel-group--2 ul {
        grid-template-columns: 1fr;
    }

    .nav-account-action {
        padding: 7px 0;
    }

    .site-header .main-nav .nav-account-action a {
        width: 100%;
        min-height: 43px;
    }

    .nav-profile {
        padding: 7px 0;
    }

    .profile-trigger {
        width: 100%;
        justify-content: flex-start;
        border-radius: 12px;
    }

    .profile-chevron {
        margin-left: auto;
    }

    .profile-panel {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .nav-profile.is-open > .profile-panel {
        padding: 8px 0 5px;
    }

    .profile-menu-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header .main-nav .profile-menu-card {
        background: var(--cpb-nav-soft);
    }

    .nav-shop {
        padding: 11px 0 3px;
        border-bottom: 0;
    }

    .site-header .main-nav .nav-shop a {
        width: 100%;
        justify-content: center;
        color: #fff;
        background: var(--cpb-nav-ink);
        border-color: var(--cpb-nav-ink);
    }

    .nav-lens-switch {
        padding: 11px 0 3px;
        border-bottom: 0;
    }

    .lens-toggle {
        width: 100%;
        min-height: 49px;
        justify-content: space-between;
        padding-right: 14px;
        padding-left: 14px;
        border-radius: 13px;
    }

    .lens-toggle-copy small {
        font-size: 0.5rem;
    }

    .lens-toggle-copy strong {
        font-size: 0.68rem;
    }
}

@media (max-width: 620px) {
    .main-nav {
        right: 8px;
        left: 8px;
        padding-right: 11px;
        padding-left: 11px;
    }

    .journey-panel-shell {
        margin-left: 31px;
    }

    .journey-theme-heading {
        min-height: 65px;
    }

    .profile-menu-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journey-panel,
    .community-panel,
    .profile-panel,
    .main-nav,
    .journey-stage-node,
    .journey-connection-line::after {
        transition-duration: 0.01ms !important;
    }
}

@media print {
    body {
        padding-top: 0;
    }

    .site-header {
        position: static;
        display: none;
    }
}

/* Control Plus B logo */
.brand .brand-logo {
    display: block;
    width: clamp(155px, 12vw, 220px);
    max-height: 64px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .brand .brand-logo {
        width: 145px;
        max-height: 48px;
    }
}

/* Journey edge rail: keeps the six stages out of the top navigation. */
.nav-home {
    margin-right: auto;
}

.journey-edge-nav {
    --journey-edge-width: 92px;
    position: fixed;
    z-index: 1004;
    top: calc(var(--cpb-nav-height) + 10px);
    bottom: 14px;
    left: calc(8px - var(--journey-edge-width));
    width: var(--journey-edge-width);
    color: var(--cpb-nav-ink);
    font-family: "Inter", Arial, sans-serif;
    transition: left 240ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.journey-edge-nav,
.journey-edge-nav * {
    box-sizing: border-box;
}

.journey-edge-nav:hover,
.journey-edge-nav.is-open {
    left: 0;
}

.journey-edge-surface {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 14px 9px 12px;
    background: rgba(255, 254, 250, 0.975);
    border: 1px solid rgba(23, 17, 77, 0.12);
    border-left: 0;
    border-radius: 0 24px 24px 0;
    box-shadow: 14px 18px 42px rgba(31, 20, 79, 0.13);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.journey-edge-caption {
    min-height: 38px;
    display: grid;
    place-items: center;
    color: #777181;
    font-size: 0.47rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
}

.journey-edge-handle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 0;
    width: 18px;
    height: 76px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: var(--cpb-nav-ink);
    border: 0;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 14px rgba(23, 17, 77, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
}

.journey-edge-handle span {
    font-size: 1rem;
    line-height: 1;
    transition: transform 200ms ease;
}

.journey-edge-nav:hover .journey-edge-handle span,
.journey-edge-nav.is-open .journey-edge-handle span {
    transform: rotate(180deg);
}

.journey-rail-shell--edge {
    min-height: 0;
    height: auto;
    flex: 1 1 auto;
}

.journey-edge-nav .journey-connection-line {
    z-index: 0;
    top: 7%;
    right: auto;
    bottom: 7%;
    left: 50%;
    width: 1px;
    height: auto;
    background: #d8d2e1;
    transform: translateX(-50%);
}

.journey-edge-nav .journey-connection-line::after {
    top: 0;
    left: -1px;
    width: 3px;
    height: var(--journey-fill, 0%);
    background: linear-gradient(180deg, #172a78, #7042b6, #2864b8, #008f9d, #229443, #008ba0);
    transition: height 260ms ease;
}

.journey-rail--edge {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, minmax(58px, 1fr));
    align-items: stretch;
}

.journey-edge-nav .journey-stage-item {
    min-width: 0;
    height: auto;
}

.journey-edge-nav .journey-stage-trigger {
    width: 100%;
    height: 100%;
    min-height: 58px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 4px;
    padding: 4px 2px;
    text-align: center;
}

.journey-edge-nav .journey-stage-trigger::after {
    display: none;
}

.journey-edge-nav .journey-stage-node {
    width: 38px;
    height: 38px;
    box-shadow: 0 0 0 4px rgba(255, 254, 250, 0.98);
}

.journey-edge-nav .journey-stage-label {
    max-width: 72px;
    font-size: 0.5rem;
    line-height: 1.15;
}

.journey-edge-nav .journey-panel {
    position: fixed;
    z-index: 1006;
    top: calc(var(--cpb-nav-height) + 12px);
    right: 16px;
    left: calc(var(--journey-edge-width) + 12px);
    width: auto;
    height: auto;
    max-height: calc(100vh - var(--cpb-nav-height) - 28px);
    padding: 0;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-12px);
}

.journey-edge-nav .journey-stage-item.is-open > .journey-panel {
    max-height: calc(100vh - var(--cpb-nav-height) - 28px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.journey-edge-nav .journey-panel-shell {
    height: auto;
    max-height: inherit;
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
}

.journey-edge-nav .journey-panel-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
}

@media (max-width: 1180px) {
    .journey-edge-nav {
        --journey-edge-width: 84px;
        top: calc(var(--cpb-nav-height) + 8px);
        bottom: 8px;
    }

    .journey-edge-nav .journey-panel {
        position: fixed;
        top: calc(var(--cpb-nav-height) + 8px);
        right: 8px;
        bottom: 8px;
        left: calc(var(--journey-edge-width) + 8px);
        width: auto;
        height: auto;
        max-height: none;
        padding: 0;
        overflow: visible;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-10px);
    }

    .journey-edge-nav .journey-stage-item.is-open > .journey-panel {
        max-height: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .journey-edge-nav .journey-panel-shell {
        height: 100%;
        max-height: none;
        margin: 0;
        overflow: hidden;
        border-radius: 20px;
    }

    .journey-edge-nav .journey-panel-scroll {
        height: 100%;
        overflow-y: auto;
    }
}

@media (max-width: 620px) {
    .journey-edge-nav {
        --journey-edge-width: 78px;
        left: calc(7px - var(--journey-edge-width));
    }

    .journey-edge-nav:hover,
    .journey-edge-nav.is-open {
        left: 0;
    }

    .journey-edge-nav .journey-panel,
    .journey-edge-nav .journey-stage-item.is-open > .journey-panel {
        right: 7px;
        left: 7px;
    }

    .journey-edge-nav .journey-panel-shell {
        border-radius: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .journey-edge-nav,
    .journey-edge-handle span,
    .journey-edge-nav .journey-connection-line::after {
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .journey-edge-nav {
        display: none;
    }
}
