/* Journey origin is presentation context; it never grants clinical access. */
.journey-brand{display:inline-flex;align-items:center;flex-wrap:wrap;gap:12px;max-width:100%}
.journey-brand>.platform-brand{display:inline-flex;align-items:center;flex:none;width:168px;max-width:100%;height:76px;text-decoration:none}
.journey-brand>.platform-brand img{display:block;width:100%;height:100%;object-fit:contain}
/* Portal logo styles use a pseudo-element; keep it inside the wrapped link. */
body.secure-site .journey-brand>.platform-brand::before{width:100%!important;height:100%!important;background-size:contain!important}
.journey-brand-practice{display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:44px;padding:3px 0 3px 12px;border-left:1px solid #d9cbd1;color:#332631;text-decoration:none;line-height:1.2}
.journey-brand-practice strong{font:700 18px/1.2 var(--public-text,Arial,sans-serif)}
.journey-brand-practice span{font:400 13px/1.4 var(--public-text,Arial,sans-serif)}
.journey-brand-practice:focus-visible{outline:3px solid #b80d40;outline-offset:4px}
.journey-context{padding:.875rem 1rem;border-left:3px solid #b80d40;background:#fff2f5;color:#332631;font-size:.95rem;line-height:1.55}
/* A co-brand can make the sticky mobile menu taller; the secondary bar scrolls with its workspace. */
@media(max-width:820px){body.secure-site .layout:has(.sidebar-journey-brand)>.workspace>.topbar{position:static!important}}
@media(max-width:480px){.journey-brand{gap:8px}.journey-brand>.platform-brand{width:132px;height:66px}.journey-brand-practice{padding-left:9px}.journey-brand-practice strong{font-size:16px}}
