/* One shared return position, independent of each application's own navigation. */
.rs-portal-header{box-sizing:border-box;display:flex;align-items:center;position:relative;z-index:60;width:100%;height:96px;min-height:96px;margin:0;padding:8px 20px;background:#fff;color:#292723;border:0;border-bottom:1px solid #d8d3ca;box-shadow:none;font:16px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif;text-align:left}
.rs-portal-header .rs-portal-brand{display:flex;align-items:center;gap:16px;min-width:0;margin:0;padding:0}
.rs-portal-header .rs-portal-logo{display:block;width:96px;height:40px;max-width:none;margin:0;object-fit:contain}
.rs-portal-header .rs-portal-caption{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:0}
.rs-portal-header .rs-portal-title{display:block;margin:0;padding:0;color:#292723;font:700 16px/24px system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:0;text-transform:none}
.rs-portal-header .rs-portal-return{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:0;padding:0 3px;color:#165b41;background:transparent;border:0;border-radius:4px;font:600 14px/20px system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:0;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.rs-portal-header .rs-portal-return:hover{background:#e9f2ed;color:#123f2f}
.rs-portal-header .rs-portal-return:focus-visible{outline:3px solid #a96900;outline-offset:2px}
.rs-portal-header~.app-shell{min-height:calc(100vh - 96px);min-height:calc(100dvh - 96px)}
.rs-portal-header~.app-shell .sidebar{height:calc(100vh - 96px);height:calc(100dvh - 96px)}
.rs-portal-header~main>iframe{height:calc(100dvh - 264px);min-height:300px}
@media(min-width:801px){.rs-portal-header~.workspace{height:calc(100dvh - 188px);min-height:0}}
@media(max-width:600px){.rs-portal-header{padding:8px 12px}.rs-portal-header .rs-portal-brand{gap:12px}.rs-portal-header .rs-portal-logo{width:88px}}
@media(max-width:600px){.rs-portal-header~main>iframe{height:calc(100dvh - 306px)}}
@media(max-width:1050px){.rs-portal-header~.app-shell #main-navigation{top:96px;height:calc(100vh - 96px);height:calc(100dvh - 96px);overflow-y:auto}.rs-portal-header~.app-shell .mobile-header{position:relative;top:auto}}
@media(max-width:760px){.rs-portal-header~.app-shell .sidebar:not(#main-navigation){height:auto;overflow:visible;top:auto}}
@media print{.rs-portal-header{display:none!important}}
