/* Remote learning: subjects, lessons, player, notes and practice. Tokens and cards come from portal.css. */
.cl-total{font-size:14px;color:var(--slate)}
.cl-subject .tile-meta{margin-bottom:6px}
.cl-done{display:grid;place-items:center;color:var(--edge-strong);flex:none}
.cl-done .icon{width:22px;height:22px}
.cl-done.is-done{color:var(--navy)}
.cl-lessons a.is-current .row-icon{background:var(--navy);color:#fff}
.cl-subject-count{display:flex;align-items:center;gap:10px;margin-top:2px}
/* Remote learning opens with what is under way */
.cl-continue{margin-bottom:4px}
.cl-continue .rows>li>a{min-height:72px}
.cl-step-count{font-size:13px;color:var(--slate);white-space:nowrap}
.cl-go{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:var(--r-control);background:var(--navy);color:#fff;font-size:14px;font-weight:600;white-space:nowrap}
.cl-continue a:hover .cl-go{background:var(--navy-hover)}
.cl-study>.section-head{margin-top:22px}
/* the progress card: three steps, then the student's own mark */
.cl-steps{list-style:none;display:grid;gap:2px;margin:2px 0 8px}
.cl-steps li{display:flex;align-items:flex-start;gap:12px;padding:9px 0;color:var(--slate)}
.cl-steps li+li{border-top:1px solid var(--line)}
.cl-steps .icon{width:22px;height:22px;margin-top:1px;color:var(--edge-strong)}
.cl-steps li.is-done .icon{color:var(--navy)}
.cl-steps strong{display:block;font-weight:600;color:var(--navy);line-height:1.35}
.cl-steps small{display:block;font-size:13px}
.cl-steps.is-mini li{padding:7px 0;align-items:center}
.cl-steps.is-mini li+li{border-top:0}
.cl-steps.is-mini strong{font-weight:500;font-size:14px}
.cl-progress-mini>.btn{align-self:stretch;margin-top:2px}
/* the end of the lesson: steps across, then what is next and the two ways on */
.cl-finish:focus{outline:none}
.cl-finish .cl-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px;margin:0}
.cl-finish .cl-steps li+li{border-top:0}
.cl-finish-row{flex-direction:row;justify-content:space-between;align-items:center;gap:12px 24px;flex-wrap:wrap;padding-bottom:2px}
.cl-next span{display:block;font-size:13px;color:var(--slate)}
.cl-next strong{font-weight:600}
.cl-finish-actions{display:flex;gap:8px;flex-wrap:wrap}

/* lesson page */
.cl-lesson-head{align-items:center;margin-top:0}
.cl-complete .icon{width:20px;height:20px}
.cl-complete[aria-pressed=true]{background:var(--navy);color:#fff}
.btn.cl-complete[aria-pressed=true],.btn.cl-complete[aria-pressed=true]:hover{--_cell-bg:var(--paper);--_cell-ink:var(--navy)}
.cl-classroom{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:12px;align-items:start}
.cl-main{min-width:0;display:grid;gap:12px;justify-items:start}
.cl-main>*{width:100%}
.cl-player{position:relative;aspect-ratio:16/9;border-radius:var(--r-tile);background:#17121C;overflow:hidden}
.cl-player img{width:100%;height:100%;object-fit:cover}
.cl-player video{width:100%;height:100%;background:#000}
.cl-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:10px;min-height:56px;padding:0 26px 0 22px;border:0;border-radius:var(--r-inner);color:var(--navy);font-size:15px;font-weight:600;white-space:nowrap}
.cl-play:hover{background:var(--paper)}
.cl-play:focus-visible{outline-color:#fff;outline-offset:4px;box-shadow:0 0 0 4px var(--navy)}
.cl-video-error{position:absolute;left:12px;right:12px;bottom:12px;padding:12px 16px;border-radius:var(--r-inner);background:var(--paper);font-size:14px;font-weight:500}
.cl-download{color:var(--navy);font-weight:500;white-space:nowrap}
.cl-facts a{color:var(--navy)}
.cl-guide{flex-direction:row;justify-content:space-between;align-items:center;gap:16px 24px;flex-wrap:wrap}
.cl-guide .tile-statement{font-size:22px}
.cl-guide .btn{margin-top:0}
/* lesson cards: reading text keeps a measure of about 70 characters; the card itself runs full width */
.cl-section-inner{display:grid;gap:14px;max-width:44em}
.cl-prose,.cl-measure,.cl-points,.cl-check,.cl-facts,.cl-credit{max-width:44em}
.cl-prose{display:grid;gap:16px;padding:4px 0 6px}
.cl-lead,.cl-points li,.cl-goal dd{font-size:16px;line-height:1.6}
.cl-goal dt{font-size:13px;color:var(--slate)}
.cl-goal dd{font-weight:500}
.cl-points{display:grid;gap:0;list-style:none}
.cl-points li{position:relative;padding:9px 0 9px 22px}
.cl-points li+li{border-top:1px solid var(--line)}
.cl-points li::before{content:"";position:absolute;left:2px;top:19px;width:6px;height:6px;border-radius:50%;background:var(--navy)}
.cl-card .facts dd{font-weight:400}
.cl-card>.tile-part:last-child{padding-bottom:2px}
.cl-credit{font-size:14px}
.cl-credit summary{display:inline-block;min-height:28px;font-weight:500;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;cursor:pointer}
.cl-credit p{margin-top:8px;color:var(--slate)}
.cl-credit a{color:var(--navy)}
.cl-credit-links{display:flex;gap:6px 24px;flex-wrap:wrap}
.cl-save-row{display:flex;justify-content:space-between;align-items:center;gap:12px 16px;flex-wrap:wrap;font-size:13px;color:var(--slate)}
.cl-save-row .btn{background:var(--soft)}
.cl-check{display:grid;gap:12px;max-width:none}
.cl-check>*{max-width:44em}
.cl-check fieldset{display:grid;gap:6px;padding:0;border:0}
.cl-option{display:flex;align-items:flex-start;gap:12px;padding:13px 16px;border-radius:var(--r-control);background:var(--paper);cursor:pointer}
.cl-option input{width:20px;height:20px;margin:1px 0 0;flex:none;accent-color:var(--navy)}
.cl-option:has(input:checked){box-shadow:inset 0 0 0 2px var(--navy)}
.cl-check input[type=number]{max-width:220px}
.cl-check .btn{justify-self:start}
.cl-feedback{padding:12px 16px;border-radius:var(--r-control);background:var(--paper)}
.cl-feedback.correct{background:var(--ok-wash);color:var(--ok-ink)}
.cl-feedback p{margin-top:4px;font-size:14px}
.cl-footnote{font-size:13px;color:var(--slate)}
.cl-sidebar{display:grid;gap:12px;position:sticky;top:84px}
.cl-sidebar .cl-footnote{padding:0 8px}
.cl-sidebar .cl-wide,.cl-sidebar .cl-lessons .chev{display:none}
.cl-lesson-head{margin-bottom:14px}

@container main (max-width:900px){
  .cl-classroom{grid-template-columns:1fr}
  .cl-sidebar{position:static}
  .cl-progress-mini{display:none}
}
@container main (max-width:620px){
  .cl-finish .cl-steps{grid-template-columns:1fr}
  .cl-finish .cl-steps li+li{border-top:1px solid var(--line)}
  .cl-finish-actions,.cl-finish-actions .btn{width:100%}
  .cl-continue .segs,.cl-continue .cl-step-count{display:none}
  .cl-continue .rows>li>a{flex-wrap:wrap}
  .cl-continue .row-end{flex:1 1 100%}
  .cl-go{flex:1;justify-content:center;min-height:44px}
  .cl-lessons .chev,.cl-wide{display:none}
}
@media(max-width:700px){
  .cl-lesson-head{align-items:flex-start}
  .cl-complete{align-self:flex-start}
  .cl-play{min-height:48px;padding:0 20px 0 16px;font-size:14px}
  .cl-guide .btn,.cl-save-row .btn{width:100%}
}
@media(pointer:coarse){
  .cl-download{display:inline-flex;align-items:center;min-height:44px}
  .cl-credit summary{min-height:44px;display:inline-flex;align-items:center}
}
