/* Student monitoring canvas view. Everything is scoped under .spmc-students.
   Palette: SPU red #e21937 (lead measure, selected controls), orange #ee5921, amber #ffab1f,
   beige #f1d5ab, warm wash #fbf6ee, ink #3d3838 for text only, muted #666, lines #e2e2e2 / #eeeeee.
   No gradients, shadows or faded colours. Headings and figures Montserrat; body Arial, 12px minimum. */
.spmc-students{display:flex; flex-direction:column; gap:0; min-width:0; color:#3d3838; font:14px/1.5 Arial,'Helvetica Neue',sans-serif; font-variant-numeric:tabular-nums}
.spmc-students *{box-sizing:border-box}
.spmc-students :is(h2,p){margin:0}
.spmc-students .spmc-h2{font:600 22px/normal Montserrat,Arial,sans-serif; letter-spacing:0; color:#3d3838; margin:0}
.spmc-students :is(button,a):focus-visible{outline:2px solid #3d3838; outline-offset:2px}
.spmc-students button{font:inherit; color:inherit; cursor:pointer}
.spmc-students button:disabled{opacity:1; cursor:not-allowed}
.spmc-students .spmc-muted{font-size:12px; color:#666}
.spmc-students .spmc-lede{margin-top:4px; font-size:13px; color:#666; max-width:80ch}
.spmc-students .spmc-locked{font-size:12px; color:#666; border-left:3px solid #f1d5ab; padding:2px 0 2px 10px}
.spmc-students .spmc-link{border:0; background:none; padding:0; color:#b5122c; font-size:13px; text-decoration:underline}
.spmc-students .spmc-link:hover{color:#e21937}
.spmc-students .spmc-fail{display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding:8px 12px; background:#ffffff; border:1px solid #e21937; border-radius:6px; font-size:13px}
.spmc-students .spmc-button{align-self:flex-start; height:40px; padding:0 16px; border:0; border-radius:20px; background:#e21937; color:#ffffff; font-size:13px; font-weight:700}
.spmc-students .spmc-button:hover{background:#b5122c; border-color:#b5122c}
.spmc-students .spmc-button.is-outline{background:#ffffff; color:#b5122c}
.spmc-students .spmc-button.is-outline:hover{background:#fbf6ee}

/* 1. The cohort an advisor is responsible for */
.spmc-students .spmc-cohort{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:64px; align-items:start; background:#fbf6ee; border:0; border-top:1px solid #f1d5ab; border-bottom:1px solid #f1d5ab; border-radius:0; padding:40px 48px 34px}
.spmc-students .spmc-cohort-main{display:flex; flex-direction:column; min-width:0}
.spmc-students .spmc-eyebrow{display:flex; align-items:center; gap:12px; flex-wrap:wrap}
.spmc-students .spmc-scope{font:600 15px Montserrat,Arial,sans-serif; color:#b5122c}
.spmc-students .spmc-pill{display:inline-flex; align-items:center; gap:6px; padding:2px 10px; background:#ffffff; border:1px solid #f1d5ab; border-radius:12px; font-size:12px}
.spmc-students .spmc-pill i{width:7px; height:7px; border-radius:50%; background:#ffab1f}
.spmc-students .spmc-big{margin-top:8px; font:600 clamp(60px,8vw,104px)/1.22 Montserrat,Arial,sans-serif; letter-spacing:-3px; min-height:1.22em}
.spmc-students .spmc-big.is-withheld,.spmc-students .spmc-big.is-unavailable{font-size:40px; letter-spacing:0; line-height:1.6; color:#666}
.spmc-students .spmc-big.is-withheld{text-decoration:underline dashed #666; text-underline-offset:6px}
.spmc-students .spmc-big-label{font-size:18px}
.spmc-students .spmc-cards{margin-top:30px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px}
.spmc-students .spmc-card{display:flex; flex-direction:column; gap:6px; padding:12px 12px 14px; border:1px solid #e2e2e2; border-radius:10px; background:#ffffff; min-width:0}
.spmc-students .spmc-card-label{font-size:13px; font-weight:700}
.spmc-students .spmc-card-sub{font-size:13px; color:#666}
.spmc-students .spmc-fig{font:600 44px/1 Montserrat,Arial,sans-serif; letter-spacing:-1px}
.spmc-students .spmc-fig.is-withheld,.spmc-students .spmc-fig.is-unavailable,.spmc-students .spmc-fig.is-wait{font-size:18px; line-height:1.4; letter-spacing:0; font-weight:600; color:#666; padding:10px 0 9px}
.spmc-students .spmc-fig.is-withheld{text-decoration:underline dashed #666; text-underline-offset:5px}
.spmc-students .spmc-big .spmc-fig.is-wait{font-size:20px; padding:0}
.spmc-students .spmc-review{display:flex; flex-direction:column; gap:14px; padding:26px 28px 24px; border:2px solid #e21937; border-radius:12px; background:#ffffff; min-width:0}
.spmc-students .spmc-review-head{display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap}
.spmc-students .spmc-review-count{display:flex; align-items:baseline; gap:14px; flex-wrap:wrap}
.spmc-students .spmc-review-n{font:600 clamp(56px,6.4vw,88px)/0.9 Montserrat,Arial,sans-serif; letter-spacing:-2px; color:#e21937}
.spmc-students .spmc-review-n.is-withheld,.spmc-students .spmc-review-n.is-unavailable,.spmc-students .spmc-review-n .is-wait{font-size:32px; letter-spacing:0; color:#666}
.spmc-students .spmc-review-n.is-withheld{text-decoration:underline dashed #666; text-underline-offset:6px}
.spmc-students .spmc-review-n .is-wait{font-size:20px; font-weight:600; padding:0}
.spmc-students .spmc-review-text{font-size:15px; line-height:1.4}
.spmc-students .spmc-mini{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px}
.spmc-students .spmc-mini>div{padding-top:10px; border-top:1px solid #e2e2e2}
.spmc-students .spmc-mini-v{font:600 26px Montserrat,Arial,sans-serif}
.spmc-students .spmc-mini-v.is-withheld,.spmc-students .spmc-mini-v.is-unavailable{font-size:16px; color:#666; padding:5px 0}
.spmc-students .spmc-mini-v.is-withheld{text-decoration:underline dashed #666; text-underline-offset:4px}
.spmc-students .spmc-review-action{display:flex; align-items:center; gap:14px; flex-wrap:wrap}
.spmc-students .spmc-note-inline{font-size:13px; color:#666}
.spmc-students .spmc-cohort>.spmc-fail{grid-column:1 / -1}

/* 2. Recommendations from last year's profile */
.spmc-students .spmc-recs{padding:44px 48px 36px; display:flex; flex-direction:column; gap:20px}
.spmc-students .spmc-recs-head{display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap}
.spmc-students .spmc-recs-head .spmc-lede{max-width:none}
.spmc-students .spmc-badge{color:#3d3838; font-size:12px; background:#fbf6ee; border:1px solid #f1d5ab; border-radius:12px; padding:4px 10px}
.spmc-students .spmc-pick{font-size:13px; padding:8px 12px; background:#fbf6ee; border:1px solid #f1d5ab; border-radius:6px}
.spmc-students .spmc-ladder-head,.spmc-students .spmc-row{display:grid; grid-template-columns:190px 230px 150px minmax(0,1fr); column-gap:20px}
.spmc-students .spmc-ladder-head{padding:0 12px 8px; font-size:12px; color:#666; border-bottom:1px solid #3d3838}
.spmc-students .spmc-ladder-list{list-style:none; margin:0; padding:0}
.spmc-students .spmc-row{align-items:center; width:100%; padding:9px 12px; border:0; border-bottom:1px solid #eeeeee; border-radius:0; background:transparent; text-align:left; font-size:13px; color:#3d3838}
.spmc-students button.spmc-row:hover{background:#fbf6ee}
.spmc-students .spmc-row.is-on{background:#fbf6ee; box-shadow:none; border-left:3px solid #e21937; padding-left:9px}
.spmc-students .spmc-c-profile{display:flex; align-items:center; gap:8px; line-height:1.25; min-width:0}
.spmc-students .spmc-swatch{width:12px; height:12px; flex:none}
.spmc-students .spmc-swatch.is-none{border:1px dotted #666; background:#ffffff}
.spmc-students .spmc-c-count{display:flex; align-items:center; gap:10px; min-width:0}
.spmc-students .spmc-track{position:relative; flex:none; width:120px; height:14px}
.spmc-students .spmc-bar{position:absolute; left:0; top:0; bottom:0; background:#bbbbbb}
.spmc-students .spmc-bar.is-withheld{background:transparent; border:1px dashed #666}
.spmc-students .spmc-bar.is-none{background:#ffffff; border:1px dotted #666}
.spmc-students .spmc-n{font:600 15px Montserrat,Arial,sans-serif}
.spmc-students .spmc-n.is-quiet{color:#666}
.spmc-students .spmc-c-when{display:flex; flex-direction:column; line-height:1.3}
/* Both lines sit on the 13px text's 1.3 line, as in the canvas's single inline block. */
.spmc-students .spmc-c-when>*{line-height:16.9px}
.spmc-students .spmc-urgency{font-weight:700}
.spmc-students .spmc-urgency.is-urgent{color:#b5122c}
.spmc-students .spmc-urgency.is-quiet{color:#666}
.spmc-students .spmc-cadence{font-size:12px; color:#666}
.spmc-students .spmc-c-step{line-height:1.4}
.spmc-students .spmc-foot{margin-top:10px; font-size:12px; color:#666}

/* 2b. Advising records for students with academic concern */

@media (max-width:1100px){
  .spmc-students .spmc-cohort{grid-template-columns:minmax(0,1fr); gap:28px; padding:28px 24px}
  .spmc-students .spmc-ladder-head{display:none}
  .spmc-students .spmc-row{grid-template-columns:minmax(0,1fr) auto; grid-template-areas:'profile count' 'when when' 'step step'; row-gap:4px; padding:12px}
  .spmc-students .spmc-c-profile{grid-area:profile}
  .spmc-students .spmc-c-count{grid-area:count; justify-content:flex-end}
  .spmc-students .spmc-c-when{grid-area:when; flex-direction:row; flex-wrap:wrap; gap:4px 10px; align-items:baseline}
  .spmc-students .spmc-c-step{grid-area:step}
}
@media (max-width:560px){
  .spmc-students .spmc-cohort{padding:20px 16px}
  .spmc-students .spmc-cards{grid-template-columns:minmax(0,1fr)}
  .spmc-students .spmc-mini{grid-template-columns:minmax(0,1fr)}
  .spmc-students .spmc-review{padding:18px 16px}
  .spmc-students .spmc-row{grid-template-columns:minmax(0,1fr); grid-template-areas:'profile' 'count' 'when' 'step'; row-gap:6px}
  .spmc-students .spmc-c-count{justify-content:flex-start}
  .spmc-students .spmc-track{width:96px}
}
@media (prefers-reduced-motion:reduce){.spmc-students *{transition:none!important; animation:none!important}}
