/* Basic grades 1–10: exactly two subjects per row, including small screens. */
#view-profile #profile-subjects>.subj-group{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-column:1/-1;gap:.7rem;width:100%;min-width:0}
#view-profile #profile-subjects>.subj-group>h4{grid-column:1/-1;margin:.25rem 0 .6rem}
#view-profile #profile-subjects>.subj-group>.profile-subject{display:flex!important;flex-direction:column!important;justify-content:space-between;align-items:stretch;gap:.6rem;min-width:0;min-height:112px;box-sizing:border-box;margin:0}
#view-profile #profile-subjects>.subj-group>.profile-subject>span{font-size:.9rem;font-weight:800;line-height:1.7;overflow-wrap:anywhere}
#view-profile #profile-subjects>.subj-group>.profile-subject>select{width:100%;min-width:0;max-width:100%;min-height:44px;box-sizing:border-box;font-size:.85rem;padding:.4rem}
@media(max-width:420px){#view-profile #profile-subjects>.subj-group{gap:.5rem}#view-profile #profile-subjects>.subj-group>.profile-subject{padding:.6rem .4rem;min-height:108px}#view-profile #profile-subjects>.subj-group>.profile-subject>span{font-size:.8rem}#view-profile #profile-subjects>.subj-group>.profile-subject>select{font-size:.76rem;padding:.3rem .15rem}}
