/* SAGE profile shell layout hardening — Stage 14.
   Guest state: logo left, quiet empty middle, compact Back to SAGE at right. */
.sage-site-shell__bar{
  display:grid!important;
  grid-template-columns:172px minmax(0,1fr) auto!important;
  align-items:center!important;
}
#sageProfileShellIdentity[hidden],.sage-site-shell__identity[hidden]{display:none!important}
.sage-site-shell__identity{grid-column:2;justify-self:end!important;width:auto!important;min-width:0!important}
.sage-site-shell__back{
  grid-column:3!important;
  justify-self:end!important;
  align-self:center!important;
  width:max-content!important;
  min-width:0!important;
  max-width:100%!important;
  flex:0 0 auto!important;
  white-space:nowrap!important;
}
@media(max-width:760px){
  .sage-site-shell__bar{grid-template-columns:92px minmax(0,1fr) auto!important;gap:10px!important}
  .sage-site-shell__back{padding-left:12px!important;padding-right:12px!important}
}
@media(max-width:430px){
  .sage-site-shell__bar{grid-template-columns:72px minmax(0,1fr) auto!important;gap:7px!important}
  .sage-site-shell__back{font-size:12px!important;padding-left:9px!important;padding-right:9px!important}
}

/* Stage 14 learner-facing assigned learning */
.sage-assigned-list{display:grid;gap:10px}
.sage-assigned-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px;border:1px solid #d8e2de;border-radius:14px;background:#fbfdfc}
.sage-assigned-row h4{margin:3px 0 5px}
.sage-assigned-row p{margin:0}
.sage-assigned-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:7px;color:#65736f;font-size:.84rem}
.sage-assigned-actions{display:flex;gap:7px;flex:0 0 auto}
.sage-assigned-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#edf7f5;color:#007a76;font-size:.76rem;font-weight:800;text-transform:capitalize}
@media(max-width:620px){.sage-assigned-row{flex-direction:column}.sage-assigned-actions{width:100%;flex-wrap:wrap}}


/* Stage 21.3 — authenticated quick navigation. Hidden by default; JS reveals it only after My SAGE authentication. */
.sage-site-shell__bar{grid-template-columns:172px minmax(330px,1fr) auto auto!important;gap:18px!important}
.sage-site-shell__quicknav{grid-column:2;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
.sage-site-shell__quicknav[hidden]{display:none!important}
.sage-site-shell__quicknav a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 13px;border-radius:11px;color:#0b716d;text-decoration:none;font-weight:800;white-space:nowrap}
.sage-site-shell__quicknav a:hover,.sage-site-shell__quicknav a:focus-visible,.sage-site-shell__quicknav a.is-active{background:#eef8f7;outline:none}
.sage-site-shell__identity{grid-column:3!important}.sage-site-shell__back{grid-column:4!important}
@media(max-width:980px){.sage-site-shell__bar{grid-template-columns:110px minmax(0,1fr) auto!important}.sage-site-shell__quicknav{grid-column:2;justify-content:flex-start;overflow-x:auto}.sage-site-shell__identity{display:none!important}.sage-site-shell__back{grid-column:3!important}}
@media(max-width:680px){.sage-site-shell__bar{grid-template-columns:76px minmax(0,1fr) auto!important}.sage-site-shell__quicknav{gap:2px}.sage-site-shell__quicknav a{padding:7px 9px;font-size:12px}}
@media(max-width:520px){.sage-site-shell__quicknav a:nth-child(3){display:none}}
