/* Home grade is read only; the authorized portal profile is the source of truth. */
body[data-portal-home] .home-alerts-header{align-items:center}
body[data-portal-home] .home-grade-control{display:flex;flex-direction:column;align-items:flex-end;gap:5px;min-width:0}
body[data-portal-home] .home-grade-control-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
body[data-portal-home] .home-grade-label{color:#536781;font-size:13px;font-weight:750;white-space:nowrap}
body[data-portal-home] .home-grade-value{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:7px 13px;border-radius:9px;border:1px solid #cfdced;background:#eef4fc;color:#153d80;font-size:15px;font-weight:800;line-height:1.4;white-space:nowrap}
body[data-portal-home] .home-grade-status{margin:0;color:#597088;font-size:12px;line-height:1.5;text-align:right;max-width:290px}
body[data-portal-home] .home-grade-action{font-size:12px;font-weight:750;color:#17528f;text-decoration:underline;text-underline-offset:3px}
body[data-portal-home] .dashboard-intro [data-grade-intro]{transition:none}
body[data-portal-home] .home-grade-action[hidden],
body[data-portal-home] .dashboard-start[hidden],
body[data-portal-home] .home-today[hidden],
body[data-portal-home] .home-alerts[hidden]{display:none!important}
@media(max-width:767px){
 body[data-portal-home] .home-alerts-header{align-items:stretch;flex-direction:column;gap:12px}
 body[data-portal-home] .home-grade-control{align-items:flex-start}
 body[data-portal-home] .home-grade-control-row{justify-content:flex-start}
 body[data-portal-home] .home-grade-status{text-align:left;max-width:none}
}

/* Administrator accounts are exempt from student grade registration. */
body[data-portal-home][data-home-persona="admin"] .home-grade-control{display:none!important}
