.jr-nav,.jr-route,.jr-next,.jr-action,.jr-context{box-sizing:border-box;width:min(100%,72rem);margin:1.5rem auto;padding:1rem}
.jr-nav,.jr-route,.jr-next{background:#10233f;color:#fff;border:1px solid #546d92;border-radius:14px;min-width:0}
.jr-nav h2,.jr-route h2,.jr-next h2,.jr-route h3{color:#fff;margin:0 0 .7rem}
.jr-top{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}
.jr-controls:not([hidden]){display:flex;gap:.45rem;flex-wrap:wrap}
.jr-controls button,.jr-route a,.jr-next a,.jr-action a{display:inline-flex;align-items:center;min-height:44px;padding:.5rem .75rem;background:#f4f7ff;color:#142b4a;border:1px solid #8ba6ce;border-radius:8px;font:inherit;font-weight:700;text-decoration:none}
.jr-controls button{min-width:44px;cursor:pointer}
.jr-track{display:flex;gap:.65rem;max-width:100%;overflow-x:auto;scroll-snap-type:x mandatory;padding:.45rem .35rem .7rem;scroll-padding-inline:.35rem}
.jr-card{box-sizing:border-box;display:grid;gap:.2rem;align-content:center;flex:0 0 min(75%,13rem);min-height:84px;padding:.65rem;border-radius:8px;background:#1f385e;color:#fff;border:2px solid var(--jr-accent,#92c9ff);scroll-snap-align:start;text-decoration:none;overflow-wrap:anywhere}
.jr-card:nth-child(4n+2){--jr-accent:#f4dc86}.jr-card:nth-child(4n+3){--jr-accent:#91e9c1}.jr-card:nth-child(4n+4){--jr-accent:#dfb6ff}
.jr-card small{color:var(--jr-accent,#92c9ff)}
.jr-card[aria-current=page]{background:#e7f1ff;color:#142b4a;border-color:#fff}
.jr-card[aria-current=page] small{color:#28486c}
.jr-card:hover,.jr-next a:hover,.jr-action a:hover,.jr-route a:hover{text-decoration:underline}
.jr-nav :focus-visible,.jr-route a:focus-visible,.jr-next a:focus-visible,.jr-action a:focus-visible,.jr-context a:focus-visible{outline:2px solid #fff;outline-offset:2px;box-shadow:0 0 0 5px #124685}
.jr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:.75rem}
.jr-grid article{min-width:0;padding:.8rem;background:#1b3459;border-radius:8px}
.jr-grid small{color:#a8d7ff}.jr-grid p{color:#e0eafa}
.jr-next a{margin:.25rem .45rem .25rem 0}
.jr-context{background:#eef5ff;color:#152f51;border:1px solid #b8cbe4;border-radius:8px}
.jr-context a{color:#084578;text-decoration:underline;text-underline-offset:.15em}
.jr-action{text-align:center}.jr-action a{background:#154875;color:#fff}
.jr-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Shared WCAG contrast safeguards for every SAP MM page. */
.jr-card:not([aria-current="page"]),
.jr-card:not([aria-current="page"]) *{color:#fff!important}
.jr-card[aria-current="page"],
.jr-card[aria-current="page"] *{color:#142b4a!important}
.dark a:not(.btn):not(.button):not(.cta-course):not(.mm-course-cta),
.section.dark a:not(.btn):not(.button):not(.cta-course):not(.mm-course-cta){color:#bfe8ff!important;text-decoration-color:currentColor!important}
.band .buttons a:not(.button):not(.btn),
.topic .sources a,
.audit-links a:not(.button):not(.btn){color:#9ff6d7!important;text-decoration-color:currentColor!important}
.panel-label,
section:not(.dark) .label,
.section:not(.dark) .label,
.guide-roadmap .guide-eyebrow{color:#075b48!important}
.dark .panel-label,.hero .panel-label,
.hero .label,.dark .label,.section.dark .label,
.guide-practice .guide-eyebrow,.dark .guide-eyebrow{color:#b9f4e8!important}
.cta-panel .label,.cta-zone .label{color:#fff!important}
.section.guide-practice{background:#07131f!important;color:#fff!important}
.tool-result,.tool-result p,.tool-result li,.tool-result strong{color:#122a36!important}
.resource-youtube,.resource-program,.resource-career,
.resource-youtube *,.resource-program *,.resource-career *{color:#fff!important}
/* Mobile carousel: keep arrows in their columns and let the card rail own horizontal overflow. */
.jr-track,.guide-track,.carousel .track,.slider .track{box-sizing:border-box;min-width:0;width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x}
.jr-card,.guide-tile,.tile{min-width:0}
@media(max-width:600px){.jr-track{scroll-padding-inline:.35rem}.jr-card{flex:0 0 calc(100% - .7rem)!important;min-height:92px}.jr-controls button{min-width:44px;min-height:44px}.carousel,.guide-carousel,.slider{grid-template-columns:44px minmax(0,1fr) 44px!important;gap:6px!important}.carousel button,.guide-carousel button,.slider button{min-width:44px;min-height:44px}}/* Keep the shared panel vertical even on pages whose site-wide nav is flex. */
.jr-nav{display:block!important}
.jr-nav>.jr-top{width:100%;box-sizing:border-box}
.jr-nav{height:auto!important;max-height:none!important}
